You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I ran /compact command and it compacted the convo, then I tried to send some message to ensure ccstatusline is updated it's ctx, but it's not. Then I ran /context to see actual ctx size and see that ccstatusline is not updated ctx after the compact.
@timur-khakhalev That's expected, the context in the statusline won't update until you send another message and get a response. Doing /compact or /context doesn't send anything back that gets logged to the jsonl that I can parse the context usage off of. So unfortunately there's no way around this limitation at the moment.
@timur-khakhalev I see you have ccusage in the line as a custom command. I know that often takes a while to run, are you sure you waited long enough after getting a response for the status line to update? Did any other field update while the context remained the same?
Activity
sirmalloc commentedon Sep 25, 2025
@timur-khakhalev That's expected, the context in the statusline won't update until you send another message and get a response. Doing
/compactor/contextdoesn't send anything back that gets logged to the jsonl that I can parse the context usage off of. So unfortunately there's no way around this limitation at the moment.timurkhakhalev commentedon Sep 25, 2025
@sirmalloc I understand that, but I continued the convo and it ctx didn't updated still.
sirmalloc commentedon Sep 25, 2025
@timur-khakhalev I see you have ccusage in the line as a custom command. I know that often takes a while to run, are you sure you waited long enough after getting a response for the status line to update? Did any other field update while the context remained the same?
timurkhakhalev commentedon Sep 25, 2025
Yes, I worked in that convo for another 20 min at least. Didn't notice about update other fields
sirmalloc commentedon Sep 25, 2025
@timur-khakhalev Does this happen as well on any new conversations or just that one?
timurkhakhalev commentedon Sep 25, 2025
I didn't tried new convo but I think only on this one
feat: add compaction-counter widget
feat: add compaction-counter widget
feat: add compaction-counter widget
feat: add compaction-counter widget (#282)
feat: add compaction-counter widget (sirmalloc#282)