kimi-code/docs/en/reference
liruifengv 10cbac24ca feat: promote a source folder to workspace primary via REST
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.
2026-10-22 19:26:56 +08:00
..
keyboard.md
kimi-acp.md
kimi-command.md
server-api.md feat: promote a source folder to workspace primary via REST 2026-10-22 19:26:56 +08:00
slash-commands.md
tools.md