@deepseek-ai/dsh-sdk-app 0.1.5-rc.2 → 0.1.6-alpha.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 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: 538e695e017b823b93ca8696f9e3202f33274ce4
6
- README.zh.md: 50dfda2b4d5ccc8b7e2c2d67eb920a8e180d5d32
5
+ README.md: 0bac09b5a7e355434e35b04f4e9abd3e816505af
6
+ README.zh.md: e0e0d7e1e147c0a2dfaed7014ea0b3a0a9028f2b
package/README.md CHANGED
@@ -58,7 +58,7 @@ Stable for a fixed profile, provider, model, and tool roster. Profile changes ta
58
58
 
59
59
  - **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
60
  - **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 shipped `sdk` profile uses `patchReload: startup` so one stdio connection never observes a replacement server or Agent dependency.
61
+ - **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
62
 
63
63
 
64
64
  <a id="dev-note"></a>
package/README.zh.md CHANGED
@@ -23,7 +23,7 @@ kind: "package-bundle"
23
23
  <a id="use-this-package"></a>
24
24
  ## 使用本包
25
25
 
26
- 启动提供方把 stdin EOF 接到启动器的有界成功关闭流程。SDK 协议 `shutdown`、SIGINT 与 SIGTERM 继续使用各自所属的 server 或启动器路径;dispose(资源释放)会排空根 profile 配置树与持久化。stdout 专用于按换行分隔的 JSON-RPC 帧。SDK 不提供 title 表层,因此本组合包禁用模型生成的 session title;确定性的 fallback title 仍会持久化,但不发起辅助模型请求。继承的投影缓存会为 SDK 创建的会话写入检查点,供后续消费方使用;其持久性屏障会在发布缓存行前 flush 所覆盖的日志前缀,因此可能拆分原本会合并的 JSONL 行。部署通过 profile 组合包与 patch 文件选择另一套完整组合,而不是使用另一个应用 bin。
26
+ 启动提供方把 stdin EOF 接到启动器的有界成功关闭流程。SDK 协议 `shutdown`、SIGINT 与 SIGTERM 继续使用各自所属的 server 或启动器路径;dispose(资源释放)会排空根 profile 配置树与持久化。stdout 专用于按换行分隔的 JSON-RPC 帧。SDK 不提供 title 表层,因此本组合包禁用模型生成的会话标题;确定性的 fallback title 仍会持久化,但不发起辅助模型请求。继承的投影缓存会为 SDK 创建的会话写入检查点,供后续消费方使用;其持久性屏障会在发布缓存行前 flush 所覆盖的日志前缀,因此可能拆分原本会合并的 JSONL 行。部署通过 profile 组合包与 patch 文件选择另一套完整组合,而不是使用另一个应用 bin。
27
27
 
28
28
  | 配置 | 默认值 | 行为 |
29
29
  |---|---|---|
@@ -56,9 +56,9 @@ profile 在第一方指导之前提供 `You are a coding agent powered by the {{
56
56
 
57
57
  <a id="known-limitations-and-deferred-work"></a>
58
58
 
59
- - **profile 可以省略 SDK server**:TypeScript client 选择的自定义 profile 必须保留本组合包或另一个 `dsh-sdk-jsonrpc-server` 配置项;没有 peer 响应时,client 初始化会失败。
59
+ - **profile 可能省略 SDK server**:TypeScript client 选择的自定义 profile 必须保留本组合包或另一个 `dsh-sdk-jsonrpc-server` 配置项;没有 peer 响应时,client 初始化会失败。
60
60
  - **用户插件可以破坏 stdout 纯净性**:profile 与逐次启动 patch 属于受信任应用组合。随附组合包不会向 stdout 写入非协议内容,但无法约束任意插入插件。
61
- - **配置变化需要重启**:随附 `sdk` profile 使用 `patchReload: startup`,因此一个 stdio 连接不会观察到 server 或 Agent 依赖被替换。
61
+ - **配置变化需要重启**:`sdk-app` 组合包在 YAML 中禁用 HMR,因此一个 stdio 连接不会观察到 server 或 agent 依赖被替换。
62
62
 
63
63
 
64
64
  <a id="dev-note"></a>
@@ -71,4 +71,4 @@ profile 在第一方指导之前提供 `You are a coding agent powered by the {{
71
71
 
72
72
  </details>
73
73
 
74
- **运行时不变式:** 不发布伴生入口。该 bundle 只增加进程传输与启动 latch;帧纯度、help 排除和关闭行为由源码及构建产物的 stdio 测试负责。
74
+ **运行时不变式:** 不发布伴生入口。该 bundle 增加进程传输与启动 latch;帧纯度、help 排除和关闭行为由源码及构建产物的 stdio 测试负责。
package/cordis.patch.yml CHANGED
@@ -20,3 +20,6 @@
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
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.5-rc.2",
4
+ "version": "0.1.6-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -35,9 +35,9 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "commander": "^15.0.0",
38
- "@deepseek-ai/dsh-sdk-jsonrpc-server": "^0.1.5-rc.2",
39
- "@deepseek-ai/dsh-cmdline": "^0.1.5-rc.2",
40
- "@deepseek-ai/schemastery": "^3.18.2"
38
+ "@deepseek-ai/dsh-cmdline": "^0.1.6-alpha.2",
39
+ "@deepseek-ai/schemastery": "^3.18.2",
40
+ "@deepseek-ai/dsh-sdk-jsonrpc-server": "^0.1.6-alpha.2"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@deepseek-ai/cordis": "^4.0.2"