mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-12-04 04:46:03 +00:00
IWorkspaceService.setPrimary swaps root with an additional dir
atomically — the workspace id, session bucket, and all sessions are
untouched — and POST /workspaces/{id}/primary exposes it with
in-set/existence validation (40001/40409/40410). After a swap the
workspace instance is closed so the next materialization runs on the
new primary (local.toml follows the primary per the dir-merge rules);
registry-driven dirs keep flowing to live scopes through the
persistence change event.
|
||
|---|---|---|
| .. | ||
| .vitepress | ||
| en | ||
| media | ||
| public | ||
| zh | ||
| .gitignore | ||
| AGENTS.md | ||
| index.md | ||
| package.json | ||