Skip to content

feat(live-sessions): show running Kimi Code sessions in the Capacity Dock - #1354

Merged
iamtoruk merged 1 commit into
mainfrom
feat/kimi-live-sessions
Sep 13, 2026
Merged

feat(live-sessions): show running Kimi Code sessions in the Capacity Dock#1354
iamtoruk merged 1 commit into
mainfrom
feat/kimi-live-sessions

Conversation

@iamtoruk

@iamtoruk iamtoruk commented Sep 13, 2026

Copy link
Copy Markdown
Member

Live-session detection only scanned Claude transcripts, so a running Kimi Code session never appeared in the dock card or the app. This adds a Kimi Code collector next to the Claude one: every session directory whose agents/*/wire.jsonl was written inside the ten-minute window becomes a row with provider kimicode (the dock ring's id), project from the session's cwd, the last requested model from the tail of the main wire file, and sub-agent writes folded into the session the same way Claude sidechains are. A missing store is silent.

Verified on this machine with a live Kimi session: kimicode eywa-lab k3 idle 10s alongside the Claude rows. 64 tests across live-sessions, kimicode and menubar-json pass; tsc clean.

Scan the Kimi Code stores for session dirs whose agents/*/wire.jsonl was
written inside the liveness window and fold them into the menubar
liveSessions block as provider kimicode, with the project from state.cwd,
the model from the last llm.request in the main wire tail, and sub-agent
wire mtimes as the session's sub-agent activity.
@iamtoruk
iamtoruk merged commit aacd9cf into main Sep 13, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant