kimi-code/packages/node-sdk/test
qer 3503f7e58c feat(cli): add --default-workspace and expose the default workspace in the SDK
Add kimi --default-workspace to work in the shared default workspace instead
of the current directory. Both the interactive shell and print mode resolve
the folder through the engine before the session starts and change into it,
keeping PWD in sync; when the folder cannot be used, startup fails with its
path and reason. Resume hints become kimi --default-workspace -r <id> for
such sessions.

The session picker labels sessions in the default workspace as "Default
workspace" and copies a resume command without a cd for them. kimi doctor
reports the location and whether it can be used. The stty lookup excludes
both the launch directory and the new working directory, so a binary
planted in either is never executed.

The SDK gains KimiHarness.ensureDefaultWorkspace(), getDefaultWorkspacePath()
and getDefaultWorkspaceStatus(), maps default_workspace.unavailable to a
KimiError, and exports workspaceRootKey and DEFAULT_WORKSPACE_PROBLEM_MESSAGES.
2026-10-15 19:18:45 +08:00
..
catalog.test.ts refactor: remove the legacy agent-core v1 package (#3542) 2026-09-07 11:17:51 +08:00
config.test.ts feat: support model migration metadata (#4171) 2026-10-14 14:24:01 +08:00
kimi-code-model-provider.test.ts fix: classify OAuth token refresh errors by cause (#838) 2026-06-17 18:34:42 +08:00
list-sessions.test.ts feat: graduate remote-control, minidb read model and search worker from experimental flags (#3552) 2026-09-07 11:28:35 +08:00
mcp-auth-status-server.ts feat(agent-core): unify the v1 MCP management plane (#2858) 2026-08-17 13:19:51 +08:00
replay.test.ts feat(tui): unify skill prompts and steering (#4165) 2026-10-13 12:17:14 +08:00
sdk-rpc-client-v2.test.ts feat(cli): add --default-workspace and expose the default workspace in the SDK 2026-10-15 19:18:45 +08:00
session-approval-handler.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-event-types.test.ts perf(agent-core-v2): evict completed subagent scopes behind an LRU cache (#3778) 2026-09-15 20:33:24 +08:00
session-event-wiring.test.ts refactor(agent-core-v2): replace interaction DI services with a global human singleton (#3644) 2026-09-08 17:39:16 +08:00
session-goal.test.ts feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
session-prompt-events.test.ts feat: add NotifyUser progress display to desktop and web (#4159) 2026-10-12 17:01:36 +08:00
session-prompt-input.test.ts refactor: remove the legacy agent-core v1 package (#3542) 2026-09-07 11:17:51 +08:00
session-question-handler.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-runtime-helpers.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
session-skills.test.ts feat(tui): unify skill prompts and steering (#4165) 2026-10-13 12:17:14 +08:00
telemetry.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
test-identity.ts feat: unify the host identity across OAuth, telemetry, and kap-server (#2382) 2026-07-30 13:45:41 +08:00