@deepseek-ai/dsh-subagent-codex 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 +3 -3
- package/package.json +19 -19
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: 975f353b9f1bc6fab61a4c0eb40ebaf50c436623
|
|
6
|
-
README.zh.md:
|
|
6
|
+
README.zh.md: 2ea256afb3bb8fdfe57fd555b6db10522a709a56
|
package/README.zh.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | 中文
|
|
4
4
|
|
|
5
|
-
本包注册由 Profile 命名、默认名称为 `codex` 的 Codex subagent 提供方。每次接受运行请求后,它都会在发起委托的会话工作区中使用 `app-server --stdio` 启动官方包内 Codex wrapper,创建一个临时 Codex 线程,提交一个自包含的文本任务,并通过共享的 [`dsh-subagent`](../subagent/README.md) 结果约定返回选定的最终答案或独立的安全失败诊断。
|
|
5
|
+
本包注册由 Profile 命名、默认名称为 `codex` 的 Codex subagent 提供方。每次接受运行请求后,它都会在发起委托的会话工作区中使用 `app-server --stdio` 启动官方包内 Codex wrapper,创建一个临时 Codex 线程,提交一个自包含的文本任务,并通过共享的 [`dsh-subagent`](../subagent/README.zh.md) 结果约定返回选定的最终答案或独立的安全失败诊断。
|
|
6
6
|
|
|
7
7
|
## 启动与所有权
|
|
8
8
|
|
|
9
|
-
`start(request)` 只接受非空的文本块序列,并根据父会话确定子级 cwd。随后,它通过 [`dsh-subprocess`](../../subprocess/subprocess/README.md) spawn 固定命令,依次执行 `initialize` → `initialized`,把 Profile 选择的模式映射为官方 `thread/start` approval/reviewer/sandbox 字段并与 `{ cwd, ephemeral: true }` 一起发送,且仅在 Codex 返回有效的临时线程后才发布此次运行。若在发布前发生失败或取消,它会关闭通信链路、终止受管进程树并等待其退出,然后拒绝 `start()` 调用。非取消拒绝只公开固定的 `initialize` 或 `thread-start` 阶段及已经观测到的进程结果;原始产品与 Host 错误只保留在内部 cause 链中。
|
|
9
|
+
`start(request)` 只接受非空的文本块序列,并根据父会话确定子级 cwd。随后,它通过 [`dsh-subprocess`](../../subprocess/subprocess/README.zh.md) spawn 固定命令,依次执行 `initialize` → `initialized`,把 Profile 选择的模式映射为官方 `thread/start` approval/reviewer/sandbox 字段并与 `{ cwd, ephemeral: true }` 一起发送,且仅在 Codex 返回有效的临时线程后才发布此次运行。若在发布前发生失败或取消,它会关闭通信链路、终止受管进程树并等待其退出,然后拒绝 `start()` 调用。非取消拒绝只公开固定的 `initialize` 或 `thread-start` 阶段及已经观测到的进程结果;原始产品与 Host 错误只保留在内部 cause 链中。
|
|
10
10
|
|
|
11
11
|
已发布的 `run.result` 恰好启动一个轮次。它只接受与此次运行的线程和轮次匹配的通知,随后等待权威的终止通知 `turn/completed`。以最后一条 `phase: "final_answer"` 的 `agentMessage` 为准;若 Codex 没有发出明确的最终阶段,则以最后一条 `phase: null` 的消息作为兼容性回退。过程说明绝不会取代上述任一答案;成功完成的轮次若没有非空白答案,结果也会判为错误。
|
|
12
12
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
| `providerName` | `codex` | `ctx.subagents` 中的非空注册名称;每个已挂载实例都需要唯一值。 |
|
|
28
28
|
| `env` | `{}` | 显式指定的子进程环境,叠加在由子进程 seam 清除凭证后的父环境之上。 |
|
|
29
29
|
| `permissionMode` | `never` | 为该提供方实例的每个线程固定原生非交互审批与沙箱模式。 |
|
|
30
|
-
| `disposeGraceMs` | `3000` | 共享进程树责任方各终止层级之间的宽限期,单位为毫秒且须为正有限值,并不得大于仓库共享的 [`MAX_TIMER_DELAY_MS`](../../util/timeout/README.md);随后资源释放会等待整棵进程树退出。 |
|
|
30
|
+
| `disposeGraceMs` | `3000` | 共享进程树责任方各终止层级之间的宽限期,单位为毫秒且须为正有限值,并不得大于仓库共享的 [`MAX_TIMER_DELAY_MS`](../../util/timeout/README.zh.md);随后资源释放会等待整棵进程树退出。 |
|
|
31
31
|
|
|
32
32
|
| `permissionMode` 值 | `thread/start` 字段 | 原生行为 |
|
|
33
33
|
|---|---|---|
|
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.1.
|
|
4
|
+
"version": "0.1.1-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -38,30 +38,30 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@deepseek-ai/dsh-invariants": "^0.1.
|
|
42
|
-
"@deepseek-ai/dsh-llm": "^0.1.
|
|
43
|
-
"@deepseek-ai/dsh-session": "^0.1.
|
|
44
|
-
"@deepseek-ai/dsh-subagent": "^0.1.
|
|
45
|
-
"@deepseek-ai/dsh-subprocess": "^0.1.
|
|
46
|
-
"@deepseek-ai/
|
|
47
|
-
"@deepseek-ai/
|
|
41
|
+
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
42
|
+
"@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
|
|
43
|
+
"@deepseek-ai/dsh-session": "^0.1.1-rc.2",
|
|
44
|
+
"@deepseek-ai/dsh-subagent": "^0.1.1-rc.2",
|
|
45
|
+
"@deepseek-ai/dsh-subprocess": "^0.1.1-rc.2",
|
|
46
|
+
"@deepseek-ai/dsh-timeout": "^0.1.1-rc.2",
|
|
47
|
+
"@deepseek-ai/cordis": "^4.0.1"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@openai/codex": "0.147.0",
|
|
51
|
-
"@deepseek-ai/dsh-sdk-protocol": "^0.1.
|
|
51
|
+
"@deepseek-ai/dsh-sdk-protocol": "^0.1.1-rc.2",
|
|
52
52
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
+
"@deepseek-ai/dsh-agent": "^0.1.1-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
|
|
55
58
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.2",
|
|
56
|
-
"@deepseek-ai/dsh-
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
58
|
-
"@deepseek-ai/dsh-
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/
|
|
63
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
64
|
-
"@deepseek-ai/dsh-timeout": "^0.1.0-rc.8",
|
|
65
|
-
"@deepseek-ai/dsh-subprocess": "^0.1.0-rc.8"
|
|
59
|
+
"@deepseek-ai/dsh-loader-smoke": "^0.1.1-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-session": "^0.1.1-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-subagent": "^0.1.1-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-subprocess": "^0.1.1-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-subprocess-local": "^0.1.1-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-timeout": "^0.1.1-rc.2",
|
|
65
|
+
"@deepseek-ai/cordis": "^4.0.1"
|
|
66
66
|
}
|
|
67
67
|
}
|