@oh-my-dsh/dsh-better-subagent 0.5.3 → 0.5.4
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.md +4 -4
- package/docs/DEVELOPMENT.md +1 -1
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<p align="center">
|
|
13
13
|
<a href="https://www.npmjs.com/package/@oh-my-dsh/dsh-better-subagent"><img src="https://img.shields.io/npm/v/%40oh-my-dsh%2Fdsh-better-subagent.svg" alt="npm 版本"></a>
|
|
14
14
|
<a href="LICENSE"><img alt="Apache-2.0" src="https://img.shields.io/github/license/omdsh-dev/dsh-better-subagent?color=blue"></a>
|
|
15
|
-
<a href="package.json"><img alt="DSH 0.2.2-rc.
|
|
15
|
+
<a href="package.json"><img alt="DSH 0.2.2-rc.3" src="https://img.shields.io/badge/DSH-0.2.2--rc.3-4B32C3"></a>
|
|
16
16
|
<a href="https://github.com/omdsh-dev/dsh-better-dsh"><img alt="Part of Better DSH" src="https://img.shields.io/badge/part%20of-dsh--better--dsh-2F80B7"></a>
|
|
17
17
|
</p>
|
|
18
18
|
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
# 只安装这个插件
|
|
45
|
-
dsh plugin --profile <profile> add @oh-my-dsh/dsh-better-subagent@0.5.
|
|
45
|
+
dsh plugin --profile <profile> add @oh-my-dsh/dsh-better-subagent@0.5.4
|
|
46
46
|
|
|
47
47
|
# 或安装 Better DSH(会自动带上所有独立插件)
|
|
48
|
-
dsh plugin --profile <profile> add dsh-better-dsh@0.
|
|
48
|
+
dsh plugin --profile <profile> add dsh-better-dsh@0.11.7
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
> 安装 / 升级 / 换包后必须重启对应 profile;只刷新网页不够。
|
|
@@ -57,7 +57,7 @@ dsh plugin --profile <profile> add dsh-better-dsh@0.10.1
|
|
|
57
57
|
| 稳定行 id | `dsh-better-subagent` |
|
|
58
58
|
| 入口 / 工具 | `wait_subagent` · `/better-subagent/api/*` · 子代理设置页 |
|
|
59
59
|
| 设置 | `childExitGuard`、`delegation.prompt`、`tiers.*`、两个 CLI 后端、`trustedHosts` |
|
|
60
|
-
| npm 包 | `@oh-my-dsh/dsh-better-subagent@0.5.
|
|
60
|
+
| npm 包 | `@oh-my-dsh/dsh-better-subagent@0.5.4` |
|
|
61
61
|
| 仓库 | https://github.com/omdsh-dev/dsh-better-subagent |
|
|
62
62
|
|
|
63
63
|
## 设置
|
package/docs/DEVELOPMENT.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- 纯 ESM、无构建步骤;宿主入口 `src/index.js`,浏览器入口 `src/client.js`。
|
|
8
8
|
- `package.json` 的 `dsh.bundle.patch` 指向 `cordis.patch.yml`;`dsh.client.platform = "web"`。
|
|
9
9
|
- `files` 白名单:`src`、`docs`、`cordis.patch.yml`、`README.md`、`LICENSE`、`third-party`。测试、脚本、设计 Spec、凭据、临时 profile 都不进发布包。
|
|
10
|
-
- 依赖:运行时只直接 import `@deepseek-ai/schemastery`;其余 DSH
|
|
10
|
+
- 依赖:运行时只直接 import `@deepseek-ai/schemastery`;其余 DSH 包是 peer 范围(`>=0.2.2-rc.2 <0.3.0`),由宿主运行环境提供,服务全部经 `ctx` 获取。
|
|
11
11
|
- 浏览器半边只 `require('react')`,不 import 任何 DSH client 包;样式全部使用宿主主题 token(`--dsw-alias-*`),不写 DOM。
|
|
12
12
|
|
|
13
13
|
## 2. 宿主行与配置
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oh-my-dsh/dsh-better-subagent",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "Standalone DSH plugin: Codex/Claude continuable CLI subagents, wait_subagent, child exit guard and model tiers. Pure ESM, no build step.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"engines": {
|
|
18
18
|
"node": ">=24.9.0",
|
|
19
|
-
"dsh": "0.2.2-rc.2"
|
|
19
|
+
"dsh": ">=0.2.2-rc.2 <0.3.0"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"test": "node --test",
|
|
@@ -46,23 +46,23 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@deepseek-ai/schemastery": "~3.19.0",
|
|
49
|
-
"dsh-better-ptc": "0.2.
|
|
49
|
+
"dsh-better-ptc": "0.2.2"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@deepseek-ai/cordis": "~4.1.0",
|
|
53
|
-
"@deepseek-ai/dsh-agent": "0.2.2-rc.2",
|
|
54
|
-
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.2",
|
|
55
|
-
"@deepseek-ai/dsh-llm": "0.2.2-rc.2",
|
|
56
|
-
"@deepseek-ai/dsh-session": "0.2.2-rc.2",
|
|
57
|
-
"@deepseek-ai/dsh-session-projection": "0.2.2-rc.2",
|
|
58
|
-
"@deepseek-ai/dsh-session-query": "0.2.2-rc.2",
|
|
59
|
-
"@deepseek-ai/dsh-storage": "0.2.2-rc.2",
|
|
60
|
-
"@deepseek-ai/dsh-storage-json": "0.2.2-rc.2",
|
|
61
|
-
"@deepseek-ai/dsh-subagent": "0.2.2-rc.2",
|
|
62
|
-
"@deepseek-ai/dsh-subprocess": "0.2.2-rc.2",
|
|
63
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.2",
|
|
64
|
-
"@deepseek-ai/dsh-tools": "0.2.2-rc.2",
|
|
65
|
-
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.2",
|
|
53
|
+
"@deepseek-ai/dsh-agent": ">=0.2.2-rc.2 <0.3.0",
|
|
54
|
+
"@deepseek-ai/dsh-agent-preset-registry": ">=0.2.2-rc.2 <0.3.0",
|
|
55
|
+
"@deepseek-ai/dsh-llm": ">=0.2.2-rc.2 <0.3.0",
|
|
56
|
+
"@deepseek-ai/dsh-session": ">=0.2.2-rc.2 <0.3.0",
|
|
57
|
+
"@deepseek-ai/dsh-session-projection": ">=0.2.2-rc.2 <0.3.0",
|
|
58
|
+
"@deepseek-ai/dsh-session-query": ">=0.2.2-rc.2 <0.3.0",
|
|
59
|
+
"@deepseek-ai/dsh-storage": ">=0.2.2-rc.2 <0.3.0",
|
|
60
|
+
"@deepseek-ai/dsh-storage-json": ">=0.2.2-rc.2 <0.3.0",
|
|
61
|
+
"@deepseek-ai/dsh-subagent": ">=0.2.2-rc.2 <0.3.0",
|
|
62
|
+
"@deepseek-ai/dsh-subprocess": ">=0.2.2-rc.2 <0.3.0",
|
|
63
|
+
"@deepseek-ai/dsh-system-prompt": ">=0.2.2-rc.2 <0.3.0",
|
|
64
|
+
"@deepseek-ai/dsh-tools": ">=0.2.2-rc.2 <0.3.0",
|
|
65
|
+
"@deepseek-ai/dsh-working-directory": ">=0.2.2-rc.2 <0.3.0",
|
|
66
66
|
"react": "^18.2.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|