Skip to content

Fix Kimi Code usage for managed workspaces - #1934

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

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.

@iamtoruk

Copy link
Copy Markdown
Member

Thanks @TheoDZzz. Your report and your fix were both right: the Kimi Code source confirms the wm_<uuid> folders, and we checked the change against real session data.

We land small changes from first-time contributors ourselves, so the same fix is in #1939 with credit to you there. Closing this one in its favour. The issue stays linked and will close when that lands.

@iamtoruk iamtoruk closed this Nov 19, 2026
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_*)

2 participants