@deepseek-ai/dsh-sdk-app 0.1.6-alpha.1 → 0.1.7-alpha.1
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 +2 -2
- package/README.md +3 -1
- package/README.zh.md +3 -1
- package/cordis.patch.yml +18 -0
- package/package.json +9 -7
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/bundle/sdk-app/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 6d6106e6dd803cee5c51cee0a38f80705986ddfa
|
|
6
|
+
README.zh.md: 9de1fb6e17f3f83b7d8c2acbf87154b1cdfea38f
|
package/README.md
CHANGED
|
@@ -33,6 +33,8 @@ The startup provider binds stdin EOF to the launcher's bounded successful shutdo
|
|
|
33
33
|
|
|
34
34
|
The SDK uses the base `read`, `write`, and `edit` defaults. To add `str_replace_editor`, use the explicit insertion patch in the [base configuration guide](../base/README.md#use-this-package). The standalone `sdk-minimal` profile owns its separate tool selection.
|
|
35
35
|
|
|
36
|
+
The packaged Python runtime enables the [Office runtime query and skills](../../skill/tool-workspace-dependencies/README.md#use-this-package) by default. `DSH_PRIMARY_RUNTIME` overrides its bundled payload; an empty value disables both rows. Source launches without a carrier default remain opt-in. The tool reads the payload in place. Profile patches can disable `skill-office` or replace its `assetRoot` independently of `workspace-dependencies`; filesystem skills with the same name take precedence over bundled skills. See the [runtime package](../../../python/sdk-runtime/README.md) for packaging and configuration.
|
|
37
|
+
|
|
36
38
|
-----
|
|
37
39
|
|
|
38
40
|
<a id="model-experience"></a>
|
|
@@ -58,7 +60,7 @@ Stable for a fixed profile, provider, model, and tool roster. Profile changes ta
|
|
|
58
60
|
|
|
59
61
|
- **A profile can omit the SDK server** — a custom profile selected by the TypeScript client must retain this bundle or another `dsh-sdk-jsonrpc-server` row; client initialization fails when no peer answers.
|
|
60
62
|
- **User plugins can violate stdout purity** — profile and per-launch patches are trusted application composition. The shipped bundle writes no non-protocol stdout, but it cannot contain an arbitrary inserted plugin.
|
|
61
|
-
- **Configuration changes require restart** — the
|
|
63
|
+
- **Configuration changes require restart** — the `sdk-app` bundle disables HMR in YAML so one stdio connection never observes a replacement server or Agent dependency.
|
|
62
64
|
|
|
63
65
|
|
|
64
66
|
<a id="dev-note"></a>
|
package/README.zh.md
CHANGED
|
@@ -33,6 +33,8 @@ kind: "package-bundle"
|
|
|
33
33
|
|
|
34
34
|
SDK 使用 base 默认提供的 `read`、`write` 和 `edit`。要添加 `str_replace_editor`,请使用 [base 配置指南](../base/README.zh.md#use-this-package)中的显式插入 patch。独立的 `sdk-minimal` profile 自行决定其工具选择。
|
|
35
35
|
|
|
36
|
+
打包的 Python runtime 默认启用 [Office 运行时查询与 skills](../../skill/tool-workspace-dependencies/README.zh.md#use-this-package)。`DSH_PRIMARY_RUNTIME` 覆盖随包 payload;空值禁用两行。没有载体默认路径的源码启动仍需显式启用。工具原位读取 payload。profile patch 可独立于 `workspace-dependencies` 禁用 `skill-office` 或替换其 `assetRoot`;同名文件系统 skills 优先于随包 skills。打包与配置见 [runtime 包](../../../python/sdk-runtime/README.zh.md)。
|
|
37
|
+
|
|
36
38
|
-----
|
|
37
39
|
|
|
38
40
|
<a id="model-experience"></a>
|
|
@@ -58,7 +60,7 @@ profile 在第一方指导之前提供 `You are a coding agent powered by the {{
|
|
|
58
60
|
|
|
59
61
|
- **profile 可能省略 SDK server**:TypeScript client 选择的自定义 profile 必须保留本组合包或另一个 `dsh-sdk-jsonrpc-server` 配置项;没有 peer 响应时,client 初始化会失败。
|
|
60
62
|
- **用户插件可以破坏 stdout 纯净性**:profile 与逐次启动 patch 属于受信任应用组合。随附组合包不会向 stdout 写入非协议内容,但无法约束任意插入插件。
|
|
61
|
-
-
|
|
63
|
+
- **配置变化需要重启**:`sdk-app` 组合包在 YAML 中禁用 HMR,因此一个 stdio 连接不会观察到 server 或 agent 依赖被替换。
|
|
62
64
|
|
|
63
65
|
|
|
64
66
|
<a id="dev-note"></a>
|
package/cordis.patch.yml
CHANGED
|
@@ -20,3 +20,21 @@
|
|
|
20
20
|
inject: [sdkAppStartup, loader]
|
|
21
21
|
config:
|
|
22
22
|
maxTokensAsSuccess: !!js "process.env.DSH_MAX_TOKENS_AS_SUCCESS === undefined ? true : JSON.parse(process.env.DSH_MAX_TOKENS_AS_SUCCESS)"
|
|
23
|
+
|
|
24
|
+
- id: hmr
|
|
25
|
+
disabled: true
|
|
26
|
+
|
|
27
|
+
# The packaged carrier supplies a default; DSH_PRIMARY_RUNTIME overrides it,
|
|
28
|
+
# including an empty-string opt-out. Each row can be patched independently.
|
|
29
|
+
- insert:
|
|
30
|
+
- id: workspace-dependencies
|
|
31
|
+
name: '@deepseek-ai/dsh-tool-workspace-dependencies'
|
|
32
|
+
disabled: !!js "!(process.env.DSH_PRIMARY_RUNTIME ?? process.env.DSH_BUNDLED_PRIMARY_RUNTIME)"
|
|
33
|
+
config:
|
|
34
|
+
source: !!js "process.getBuiltinModule('node:path').resolve(process.env.DSH_PRIMARY_RUNTIME ?? process.env.DSH_BUNDLED_PRIMARY_RUNTIME ?? '')"
|
|
35
|
+
|
|
36
|
+
- id: skill-office
|
|
37
|
+
name: '@deepseek-ai/dsh-skill-office'
|
|
38
|
+
disabled: !!js "!(process.env.DSH_PRIMARY_RUNTIME ?? process.env.DSH_BUNDLED_PRIMARY_RUNTIME)"
|
|
39
|
+
config:
|
|
40
|
+
assetRoot: !!js "process.getBuiltinModule('node:path').resolve(process.env.DSH_PRIMARY_RUNTIME ?? process.env.DSH_BUNDLED_PRIMARY_RUNTIME ?? '', '..', 'office-skills')"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-sdk-app",
|
|
3
3
|
"description": "The dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-base",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.7-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -35,15 +35,17 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"commander": "^15.0.0",
|
|
38
|
-
"@deepseek-ai/dsh-cmdline": "^0.1.
|
|
39
|
-
"@deepseek-ai/
|
|
40
|
-
"@deepseek-ai/
|
|
38
|
+
"@deepseek-ai/dsh-cmdline": "^0.1.7-alpha.1",
|
|
39
|
+
"@deepseek-ai/dsh-sdk-jsonrpc-server": "^0.1.7-alpha.1",
|
|
40
|
+
"@deepseek-ai/schemastery": "^3.18.3",
|
|
41
|
+
"@deepseek-ai/dsh-skill-office": "^0.1.7-alpha.1",
|
|
42
|
+
"@deepseek-ai/dsh-tool-workspace-dependencies": "^0.1.7-alpha.1"
|
|
41
43
|
},
|
|
42
44
|
"peerDependencies": {
|
|
43
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
45
|
+
"@deepseek-ai/cordis": "^4.0.3"
|
|
44
46
|
},
|
|
45
47
|
"devDependencies": {
|
|
46
|
-
"@deepseek-ai/cordis-plugin-include": "^1.0.
|
|
47
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
48
|
+
"@deepseek-ai/cordis-plugin-include": "^1.0.8",
|
|
49
|
+
"@deepseek-ai/cordis": "^4.0.3"
|
|
48
50
|
}
|
|
49
51
|
}
|