The lower branch removed `rootOf` and the `workspaceRoot` projection: a Session
has one directory, read through `ctx.workingDirectory.get`. This merge moves the
consumers of this branch to that read.
- sandbox-policy, workspace-files, and workspace-changes read `get`; the
`recordedRootOf` read is removed. With the working-directory service mounted,
a Session without a header directory is bounded by that service's default
directory.
- The skill catalog, sidebar terminals, project instructions, `@` file
candidates, the LSP workspace, and skill lookup return to the lower branch's
code, which already reads the directory.
- The client helper exports `selectSessionDirectory` and `sessionDirectory`
in place of the `{ root, cwd }` pair; `WorkspaceChangesSummary` keeps `cwd`,
now the directory the turn started in.
- A stored `working-directory/change` inside the project moves the write
boundary and file views with the directory; one outside returns to the project.
67 lines
2.0 KiB
JSON
67 lines
2.0 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-working-directory",
|
|
"description": "Session working directories with durable changes and model context",
|
|
"version": "0.2.2-rc.3",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
"directory": "packages/session/working-directory"
|
|
},
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"types": "lib/types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/types/index.d.ts",
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./types": {
|
|
"types": "./lib/types/types.d.ts",
|
|
"default": "./lib/types/types.js"
|
|
},
|
|
"./src/*": "./src/*",
|
|
"./locale/*.json": "./locale/*.json",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"locale/*.json",
|
|
"lib/index.js",
|
|
"lib/types/**/*.js",
|
|
"lib/types/**/*.d.ts",
|
|
"lib/types/**/*.d.ts.map",
|
|
"lib/**/*.js.map",
|
|
"src"
|
|
],
|
|
"license": "MIT",
|
|
"peerDependencies": {
|
|
"@deepseek-ai/cordis": "workspace:~",
|
|
"@deepseek-ai/dsh-agent": "workspace:*",
|
|
"@deepseek-ai/dsh-fs": "workspace:*",
|
|
"@deepseek-ai/dsh-llm": "workspace:*",
|
|
"@deepseek-ai/dsh-session": "workspace:*",
|
|
"@deepseek-ai/dsh-session-projection": "workspace:*",
|
|
"@deepseek-ai/dsh-system-prompt": "workspace:*",
|
|
"@deepseek-ai/dsh-error": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@deepseek-ai/dsh-brand": "workspace:*",
|
|
"@deepseek-ai/cordis": "workspace:~",
|
|
"@deepseek-ai/dsh-agent": "workspace:*",
|
|
"@deepseek-ai/dsh-fs": "workspace:*",
|
|
"@deepseek-ai/dsh-llm": "workspace:*",
|
|
"@deepseek-ai/dsh-session": "workspace:*",
|
|
"@deepseek-ai/dsh-session-projection": "workspace:*",
|
|
"@deepseek-ai/dsh-system-prompt": "workspace:*",
|
|
"@deepseek-ai/dsh-agent-loop-testkit": "workspace:*",
|
|
"@deepseek-ai/dsh-fs-local": "workspace:*",
|
|
"@deepseek-ai/dsh-error": "workspace:*"
|
|
},
|
|
"dependencies": {
|
|
"@deepseek-ai/schemastery": "workspace:~",
|
|
"zod": "4.6.6"
|
|
}
|
|
}
|