Skip to content

Fix Kimi Code usage for managed workspaces - #1934

Open
TheoDZzz wants to merge 1 commit into
getagentseal:mainfrom
TheoDZzz:fix/kimicode-managed-workspaces
Open

TheoDZzz wants to merge 1 commit into
getagentseal:mainfrom
TheoDZzz:fix/kimicode-managed-workspaces

Conversation

@TheoDZzz

Copy link
Copy Markdown

Fixes #1933.

Summary

Discover Kimi Code sessions under both wd_* and wm_*. Bump the daily-cache version so settled days are recalculated and include any surviving managed-workspace logs.

Testing / Verification

  • Verified the built CLI against the token totals in local Kimi Code usage records.
  • Confirmed the managed-workspace regression test fails before the fix and passes after it. Both workspace layouts count main-agent and subagent usage once.
  • Confirmed a settled day in a synthetic v79 cache picks up the missing session on upgrade and keeps the corrected totals on a warm run.
  • Typecheck and npm run build pass.
  • Ran the full npm test suite on main and this branch. All 19 failures on this branch also failed on main. No new failures.
  • No UI changes.

@TheoDZzz
TheoDZzz requested a review from iamtoruk as a code owner November 14, 2026 04:33

This branch has not been deployed

No deployments
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.

Kimi Code usage is missing for managed workspaces (wm_*)

1 participant