Files
deepseek-harness/apps/cli/reference/README.i18n.yaml
T
LegGasai ed30d274f1 refactor(working-directory): move the workspace only through Host operations
Remove the model-facing working_directory tool and the cwd parameter of the
subagent tools, so only Host operations move a Session's directory. Every
change the service records carries `workspace: true`, and the workspace root
is the directory of the last marked change, or the original project. The
anchor field, the anchor list, relocate, inherit, and anchorsOf are gone;
get, ensure, set, and rootOf remain.

A change without the marker, recorded while the model could move the
directory, moves only the current directory, so stored Sessions keep the
root they had.

- worktree: create enters the checkout through set; exit returns the Session
  to the source checkout of the recorded worktree that contains its directory,
  and exit_worktree exposes it to the model.
- subagent: a child starts in the parent's workspace root or a Host-chosen
  directory through set.
- SDK: the working-directory methods return { cwd } again and
  getWorkspaceRoot / get_workspace_root are removed.
- Recorded sessions: the worktree scenario leaves through exit_worktree and
  covers recovery from a removed worktree; the two scenarios that only drove
  the removed tool are deleted; three compaction scenarios lower their tuned
  context window by the removed tool-schema tokens.
2026-11-11 20:10:17 +08:00

32 lines
1.1 KiB
YAML

# Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
# After editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write apps/cli/reference/README.md
/dsh-cli-behavior-reference:
en: abffba1bcc44698c
zh: d58c479481cfa5fe
/dsh-cli-behavior-reference/profile-boot:
en: b474a6fc3c98837d
zh: da9219f91177b6c8
/dsh-cli-behavior-reference/profile-boot/app-arguments:
en: 60b4e6837299427e
zh: 88eac566a2e63881
/dsh-cli-behavior-reference/profile-boot/config-schema-dump:
en: a356f8a68f3b3685
zh: c718713b5d709295
/dsh-cli-behavior-reference/startup-diagnostics:
en: d6368bf97a02bd57
zh: 2ab7888a108961ce
/dsh-cli-behavior-reference/plugin-management:
en: 8d2cfff9bab7327f
zh: 21515ab6e6798504
/dsh-cli-behavior-reference/web-profile:
en: f2a9b3506fc33673
zh: 8a972d5639f95a66
/dsh-cli-behavior-reference/shared-deployment-behavior:
en: f02219118dcec531
zh: fe2977628d7340da
/dsh-cli-behavior-reference/source-execution:
en: 0fd6c72ba9a7eb3b
zh: 011c0ac4008ee480