@deepseek-ai/dsh-sdk-app 0.1.2-alpha.5 → 0.1.3-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: c83ff2178ebc3dd059c926270564306af0828b72
6
- README.zh.md: 9b25cbfde70f23309b2dc78a237043d0e8101528
5
+ README.md: 538e695e017b823b93ca8696f9e3202f33274ce4
6
+ README.zh.md: 50dfda2b4d5ccc8b7e2c2d67eb920a8e180d5d32
package/README.md CHANGED
@@ -31,6 +31,8 @@ The startup provider binds stdin EOF to the launcher's bounded successful shutdo
31
31
 
32
32
  `DSH_MAX_TOKENS_AS_SUCCESS` retains the SDK deployment mapping: unset or JSON `true` reports token-limited subagent completion as accepted, while JSON `false` reports it as an error. Provider/model and workspace cwd arrive through the SDK initialization request; the base profile owns adapters, tools, persistence, policy, settings, and credentials.
33
33
 
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
+
34
36
  -----
35
37
 
36
38
  <a id="model-experience"></a>
@@ -40,7 +42,7 @@ The startup provider binds stdin EOF to the launcher's bounded successful shutdo
40
42
 
41
43
  #### What the model sees
42
44
 
43
- The profile supplies `You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}.` before the base tool and context contributions. The exact SDK initialization route and session cwd resolve the placeholders.
45
+ The profile supplies `You are a coding agent powered by the {{model}} model.` before first-party guidance and `Your working directory is {{cwd}}.` in a separate persona suffix. The exact SDK initialization route and session cwd resolve the placeholders. Default file tool schemas include `read`, `write`, and `edit`; they omit `str_replace_editor`.
44
46
 
45
47
  #### Token effect
46
48
 
package/README.zh.md CHANGED
@@ -31,6 +31,8 @@ kind: "package-bundle"
31
31
 
32
32
  `DSH_MAX_TOKENS_AS_SUCCESS` 保留 SDK 部署映射:未设置或 JSON `true` 把 token 达限的 subagent 完成报告为已接受,JSON `false` 则报告为错误。模型提供方/模型与工作区 cwd 通过 SDK 初始化请求传入;base profile 拥有适配器、工具、持久化、策略、settings 与 credentials。
33
33
 
34
+ SDK 使用 base 默认提供的 `read`、`write` 和 `edit`。要添加 `str_replace_editor`,请使用 [base 配置指南](../base/README.zh.md#use-this-package)中的显式插入 patch。独立的 `sdk-minimal` profile 自行决定其工具选择。
35
+
34
36
  -----
35
37
 
36
38
  <a id="model-experience"></a>
@@ -40,7 +42,7 @@ kind: "package-bundle"
40
42
 
41
43
  #### 模型看到什么
42
44
 
43
- profile 会在 base 工具与上下文贡献之前提供 `You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}.`。确切的 SDK 初始化路由与会话 cwd 会解析其中的占位符。
45
+ profile 在第一方指导之前提供 `You are a coding agent powered by the {{model}} model.`,并在独立的 persona 后缀中提供 `Your working directory is {{cwd}}.`。确切的 SDK 初始化路由与会话 cwd 会解析其中的占位符。默认文件工具 schema 包含 `read`、`write` 和 `edit`,不包含 `str_replace_editor`。
44
46
 
45
47
  #### Token 影响
46
48
 
package/cordis.patch.yml CHANGED
@@ -2,8 +2,9 @@
2
2
 
3
3
  - id: system-prompt
4
4
  config:
5
- persona: >-
6
- You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}.
5
+ personaSuffix: Your working directory is {{cwd}}.
6
+ personaPrefix: >-
7
+ You are a coding agent powered by the {{model}} model.
7
8
 
8
9
  - id: session-title-llm
9
10
  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.2-alpha.5",
4
+ "version": "0.1.3-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -35,8 +35,8 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "commander": "^15.0.0",
38
- "@deepseek-ai/dsh-cmdline": "^0.1.2-alpha.5",
39
- "@deepseek-ai/dsh-sdk-jsonrpc-server": "^0.1.2-alpha.5",
38
+ "@deepseek-ai/dsh-cmdline": "^0.1.3-alpha.2",
39
+ "@deepseek-ai/dsh-sdk-jsonrpc-server": "^0.1.3-alpha.2",
40
40
  "@deepseek-ai/schemastery": "^3.18.2"
41
41
  },
42
42
  "peerDependencies": {