mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-12-05 13:50:50 +00:00
workspaces.json v2 adds optional additional_dirs (plus create-time idempotency keys) on top of v1 entries with zero migration, and the writer now preserves unknown fields so mixed-version round-trips only drop what they do not know. Workspace ids split into two namespaces: wd_ hash identities stay the implicit channel (TUI/CLI/VSCode via createOrTouch, idempotent and alias-folding as before), while explicit registry creates mint wm_ uuid identities that may share a root with a hash entry. Alias resolution and list dedupe only fold wd_ spellings, delete tombstones only the id's own wd_ alias chain, and wm_-bucket session lines no longer feed implicit registry rebuild. Session attribution follows the channel: SDK workspaceIdsFor is locked to the workDir hash bucket so directory views are unchanged, while POST /sessions with an explicit workspace_id lands in that bucket directly. WorkspaceDirsService gains a registry source, injecting the registry dir set minus cwd into every workspace scope alongside local.toml and ephemeral dirs. |
||
|---|---|---|
| .. | ||
| e2e | ||
| helpers | ||
| contract-parity.ts | ||
| contract.test.ts | ||
| facade.test.ts | ||
| ipc.test.ts | ||
| memory.test.ts | ||