@deepseek-ai/dsh-subagent-codex 0.0.1-rc.2 → 0.0.1-rc.5

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 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/subagent/subagent-codex/README.md
5
5
  README.md: 3d59ca1eaf3db9dd9d9d2cd451692ebd2a956ef4
6
- README.zh.md: b60cb1bba9b2d7b3f61c544c1600862a0ad6ce5b
6
+ README.zh.md: abff7b569e2ce8261366c004ab6d03ea53300fdb
package/README.zh.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [English](README.md) | 中文
4
4
 
5
- 本包(package)注册固定的 `codex` subagent 提供方。每次接受运行请求后,它都会在发起委托的会话工作区中启动官方 `codex app-server --stdio` 命令,创建一个临时 Codex 线程,提交一个自包含的文本任务,并通过共享的 [`dsh-subagent`](../subagent/README.md) 结果约定仅返回最终答案。
5
+ 本包注册固定的 `codex` subagent 提供方。每次接受运行请求后,它都会在发起委托的会话工作区中启动官方 `codex app-server --stdio` 命令,创建一个临时 Codex 线程,提交一个自包含的文本任务,并通过共享的 [`dsh-subagent`](../subagent/README.md) 结果约定仅返回最终答案。
6
6
 
7
7
  ## 启动与所有权
8
8
 
@@ -12,7 +12,7 @@
12
12
 
13
13
  对于命令与文件审批,无人值守的提供方会从请求给出的决策选项中选择一项不予批准的决策,并优先选择 `cancel`;稳定的 0.147.0 请求形态没有决策选项列表,因此回退到 `decline`。它对权限请求返回作用域限于当前轮次的空权限集,不向用户输入请求提供任何答案,并拒绝 MCP elicitation。若请求在无人值守模式下没有合法响应,或是未知服务器请求,此次运行就会失败。
14
14
 
15
- 本地取消会在结果竞态中胜出并映射为 `aborted`。失败轮次的 `codexErrorInfo` 若为 `contextWindowExceeded`,则映射为 `max-tokens`;其他任何远端中断或失败轮次都映射为 `error`,且该提供方不会产生 `refusal`。`dispose()` 具有幂等性:如果当前的两个标识符均已知,它会尽力请求 `turn/interrupt`,关闭 JSON-RPC 通信链路,结束标准输入,调用共享的进程树逐级终止机制,并等待整棵进程树退出。结果失败与独立的清理失败仍彼此分离。
15
+ 本地取消会在结果竞态中胜出并映射为 `aborted`。失败轮次的 `codexErrorInfo` 若为 `contextWindowExceeded`,则映射为 `max-tokens`;其他任何远端中断或失败轮次都映射为 `error`,且该提供方不会产生 `refusal`。`dispose()`(资源释放)具有幂等性:如果当前的两个标识符均已知,它会尽力请求 `turn/interrupt`,关闭 JSON-RPC 通信链路,结束标准输入,调用共享的进程树逐级终止机制,并等待整棵进程树退出。结果失败与独立的清理失败仍彼此分离。
16
16
 
17
17
  ## 能力与上下文
18
18
 
@@ -52,15 +52,15 @@
52
52
 
53
53
  ## 模型体验
54
54
 
55
- ### 子任务请求
55
+ ### 子级请求
56
56
 
57
57
  #### 模型看到的内容
58
58
 
59
- Codex 子任务会在一个全新的临时线程中,以单个轮次接收这些独立文本块。它的工作区是父会话 cwd;其模型、系统指令、工具、沙箱和身份验证来自原生 Codex 安装与配置。
59
+ Codex 子级会在一个全新的临时线程中,以单个轮次接收这些独立文本块。它的工作区是父会话 cwd;其模型、系统指令、工具、沙箱和身份验证来自原生 Codex 安装与配置。
60
60
 
61
61
  #### 对 token 的影响
62
62
 
63
- 子任务需为独立的 Codex 上下文和轮次承担 token 开销。子任务 token 不会进入父级上下文。
63
+ 子级需为独立的 Codex 上下文和轮次承担 token 开销。子级 token 不会进入父级上下文。
64
64
 
65
65
  #### 对 KV Cache 的影响
66
66
 
@@ -70,7 +70,7 @@ Codex 子任务会在一个全新的临时线程中,以单个轮次接收这
70
70
 
71
71
  #### 模型看到的内容
72
72
 
73
- 通过 `dsh-tool-subagent`,父级模型只会看到选定的 Codex 最终答案,或者在结果未完成时看到消费方给出的原样错误。Codex 的过程说明、推理(reasoning)、工具活动、stderr、工作区差异和产品标识符均不会复制到父会话。
73
+ 通过 `dsh-tool-subagent`,父级模型只会看到选定的 Codex 最终答案,或者看到消费方针对未成功完成的结果给出的原样错误。Codex 的过程说明、推理(reasoning)、工具活动、stderr、工作区差异和产品标识符均不会复制到父会话。
74
74
 
75
75
  #### 对 token 的影响
76
76
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-subagent-codex",
3
3
  "description": "One-shot Codex subagent provider over the official app-server protocol",
4
- "version": "0.0.1-rc.2",
4
+ "version": "0.0.1-rc.5",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },
@@ -32,31 +32,31 @@
32
32
  ],
33
33
  "license": "BSD-3-Clause",
34
34
  "peerDependencies": {
35
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.2",
36
- "@deepseek-ai/dsh-sdk-protocol": "^0.0.1-rc.2",
37
- "@deepseek-ai/dsh-llm": "^0.0.1-rc.2",
38
- "@deepseek-ai/dsh-session": "^0.0.1-rc.2",
39
- "@deepseek-ai/dsh-subagent": "^0.0.1-rc.2",
40
- "@deepseek-ai/dsh-subprocess": "^0.0.1-rc.2",
41
- "@deepseek-ai/dsh-timeout": "^0.0.1-rc.2",
42
- "@deepseek-ai/cordis": "^4.0.1-rc.1"
35
+ "@deepseek-ai/dsh-invariants": "^0.0.1-rc.5",
36
+ "@deepseek-ai/dsh-session": "^0.0.1-rc.5",
37
+ "@deepseek-ai/dsh-subagent": "^0.0.1-rc.5",
38
+ "@deepseek-ai/dsh-subprocess": "^0.0.1-rc.5",
39
+ "@deepseek-ai/dsh-timeout": "^0.0.1-rc.5",
40
+ "@deepseek-ai/dsh-llm": "^0.0.1-rc.5",
41
+ "@deepseek-ai/dsh-sdk-protocol": "^0.0.1-rc.5",
42
+ "@deepseek-ai/cordis": "^4.0.1-rc.4"
43
43
  },
44
44
  "dependencies": {
45
- "@deepseek-ai/schemastery": "^3.18.1-rc.1"
45
+ "@deepseek-ai/schemastery": "^3.18.1-rc.4"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@openai/codex": "0.147.0",
49
- "@deepseek-ai/dsh-agent": "^0.0.1-rc.2",
50
- "@deepseek-ai/dsh-invariants": "^0.0.1-rc.2",
51
- "@deepseek-ai/dsh-llm": "^0.0.1-rc.2",
52
- "@deepseek-ai/cordis-plugin-loader": "^1.0.1-rc.1",
53
- "@deepseek-ai/dsh-loader-smoke": "^0.0.1-rc.2",
54
- "@deepseek-ai/dsh-session": "^0.0.1-rc.2",
55
- "@deepseek-ai/dsh-sdk-protocol": "^0.0.1-rc.2",
56
- "@deepseek-ai/dsh-subagent": "^0.0.1-rc.2",
57
- "@deepseek-ai/dsh-subprocess": "^0.0.1-rc.2",
58
- "@deepseek-ai/dsh-subprocess-local": "^0.0.1-rc.2",
59
- "@deepseek-ai/dsh-timeout": "^0.0.1-rc.2",
60
- "@deepseek-ai/cordis": "^4.0.1-rc.1"
49
+ "@deepseek-ai/dsh-agent": "^0.0.1-rc.5",
50
+ "@deepseek-ai/dsh-invariants": "^0.0.1-rc.5",
51
+ "@deepseek-ai/dsh-llm": "^0.0.1-rc.5",
52
+ "@deepseek-ai/dsh-loader-smoke": "^0.0.1-rc.5",
53
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.2-rc.4",
54
+ "@deepseek-ai/dsh-sdk-protocol": "^0.0.1-rc.5",
55
+ "@deepseek-ai/dsh-session": "^0.0.1-rc.5",
56
+ "@deepseek-ai/dsh-subagent": "^0.0.1-rc.5",
57
+ "@deepseek-ai/dsh-subprocess": "^0.0.1-rc.5",
58
+ "@deepseek-ai/dsh-subprocess-local": "^0.0.1-rc.5",
59
+ "@deepseek-ai/dsh-timeout": "^0.0.1-rc.5",
60
+ "@deepseek-ai/cordis": "^4.0.1-rc.4"
61
61
  }
62
62
  }