@deepseek-ai/dsh-shell-env 0.1.0-rc.8 → 0.1.1-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +1 -1
- package/README.zh.md +1 -1
- package/package.json +14 -14
package/README.i18n.yaml
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/shell/shell-env/README.md
|
|
5
5
|
README.md: b056289bd58e960e9fd36ee84ed20579e7bde42e
|
|
6
|
-
README.zh.md:
|
|
6
|
+
README.zh.md: 76d1af497b603d4df41fa1b65eaeddd38c0ae9b3
|
package/README.zh.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
## Managed environment
|
|
19
19
|
|
|
20
|
-
每次前台与后台模型 shell 调用都会收到一份新收集的受信任 `DSH_*` 环境。`DSH_HOME` 是由 [`@deepseek-ai/dsh-home-paths`](../../util/home-paths/README.md) 解析的 Harness 主目录绝对路径(`dshHome` 配置,然后环境变量 `$DSH_HOME`,然后 `~/.dsh`),`DSH_SHELL=1` 标识受管理的子进程。带 agent(智能体)的调用额外收到 `DSH_SESSION_ID=agent.session.header.id`;当活动的持久化 seam 定位到 JSONL 工件时,它们还会收到 `DSH_SESSION_JSONL=<绝对目标路径>`。JSONL 路径只是位置提示:首次 flush 之前它可能不存在,也不一定包含当前缓冲中的轮次,并且它不是授权凭据。
|
|
20
|
+
每次前台与后台模型 shell 调用都会收到一份新收集的受信任 `DSH_*` 环境。`DSH_HOME` 是由 [`@deepseek-ai/dsh-home-paths`](../../util/home-paths/README.zh.md) 解析的 Harness 主目录绝对路径(`dshHome` 配置,然后环境变量 `$DSH_HOME`,然后 `~/.dsh`),`DSH_SHELL=1` 标识受管理的子进程。带 agent(智能体)的调用额外收到 `DSH_SESSION_ID=agent.session.header.id`;当活动的持久化 seam 定位到 JSONL 工件时,它们还会收到 `DSH_SESSION_JSONL=<绝对目标路径>`。JSONL 路径只是位置提示:首次 flush 之前它可能不存在,也不一定包含当前缓冲中的轮次,并且它不是授权凭据。
|
|
21
21
|
|
|
22
22
|
`ctx.shellEnv` 负责收集。其他插件可以注册一个受 effect 作用域约束的 contributor,带有稳定名称、已声明的键/描述以及 `resolve(execution: ToolExecution)`;重复所有权与未声明的运行时键会响亮失败,而 `list()` 只枚举声明、不执行 provider。Harness 内置键保留 `DSH_HOME`、`DSH_SHELL` 与 `DSH_SESSION_ID`;本插件的持久化翻译器通过读取与后端无关的 `sessionPersistence.locate()` seam 拥有 `DSH_SESSION_JSONL`。
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-shell-env",
|
|
3
3
|
"description": "Tool-independent managed DSH_* shell environment registry",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -32,24 +32,24 @@
|
|
|
32
32
|
],
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@deepseek-ai/dsh-
|
|
36
|
-
"@deepseek-ai/dsh-home-paths": "^0.1.
|
|
37
|
-
"@deepseek-ai/dsh-
|
|
38
|
-
"@deepseek-ai/dsh-tools": "^0.1.
|
|
39
|
-
"@deepseek-ai/
|
|
40
|
-
"@deepseek-ai/
|
|
35
|
+
"@deepseek-ai/dsh-shell": "^0.1.1-rc.2",
|
|
36
|
+
"@deepseek-ai/dsh-home-paths": "^0.1.1-rc.2",
|
|
37
|
+
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
38
|
+
"@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
|
|
39
|
+
"@deepseek-ai/dsh-session-persistence": "^0.1.1-rc.2",
|
|
40
|
+
"@deepseek-ai/cordis": "^4.0.1"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@deepseek-ai/dsh-agent": "^0.1.
|
|
47
|
-
"@deepseek-ai/dsh-shell": "^0.1.
|
|
48
|
-
"@deepseek-ai/dsh-invariants": "^0.1.
|
|
49
|
-
"@deepseek-ai/dsh-llm": "^0.1.
|
|
50
|
-
"@deepseek-ai/dsh-home-paths": "^0.1.
|
|
51
|
-
"@deepseek-ai/dsh-session-persistence": "^0.1.
|
|
52
|
-
"@deepseek-ai/dsh-tools": "^0.1.
|
|
46
|
+
"@deepseek-ai/dsh-agent": "^0.1.1-rc.2",
|
|
47
|
+
"@deepseek-ai/dsh-shell": "^0.1.1-rc.2",
|
|
48
|
+
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
49
|
+
"@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
|
|
50
|
+
"@deepseek-ai/dsh-home-paths": "^0.1.1-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-session-persistence": "^0.1.1-rc.2",
|
|
52
|
+
"@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
|
|
53
53
|
"@deepseek-ai/cordis": "^4.0.1"
|
|
54
54
|
}
|
|
55
55
|
}
|