@deepseek-ai/dsh-sdk-minimal 0.1.2-alpha.2 → 0.1.2-alpha.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.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-minimal/README.md
5
- README.md: cf9333cd4304f24344b79d54b4149dadf246c325
6
- README.zh.md: eeda31bff9e34fd20dae0e43c5678c0e398e0649
5
+ README.md: 3be71c7e319f70bddda716c92ade14336db0a065
6
+ README.zh.md: dff652f53d0a4fd6d50c216e564c46f81f4a188b
package/README.md CHANGED
@@ -46,7 +46,7 @@ The profile mounts exactly one persistent shell stack: Bash on Linux and macOS,
46
46
  <details>
47
47
  <summary>Implementation internals — click to expand</summary>
48
48
 
49
- The bundle's single insert is the complete application tree: SDK stdio startup and JSON-RPC serving, one environment-configured DeepSeek adapter, the executor-less agent spine, local subprocess and unrestricted filesystem providers, a platform-selected persistent shell PTY, the string-replace editor, and uncompressed JSONL persistence under `$DSH_HOME/sessions`. It does not inherit another bundle, so every extra row is an explicit profile change.
49
+ The bundle's single insert is the complete application tree: SDK stdio startup and JSON-RPC serving, one environment-configured DeepSeek adapter, the explicit agent core, local subprocess and unrestricted filesystem providers, a platform-selected persistent shell PTY, the string-replace editor, and uncompressed JSONL persistence under `$DSH_HOME/sessions`. It does not inherit another bundle, so every extra row is an explicit profile change.
50
50
 
51
51
  ### Source map
52
52
 
@@ -54,7 +54,7 @@ The bundle's single insert is the complete application tree: SDK stdio startup a
54
54
  |---|---|
55
55
  | [`cordis.patch.yml`](cordis.patch.yml) | Complete standalone profile tree and its environment-backed defaults |
56
56
  | [`src/index.ts`](src/index.ts) | Bundle package entry |
57
- | [`src/invariant.ts`](src/invariant.ts) | Invariant companion for the static composition |
57
+ | | No runtime invariant companion is published; the package is a static patch-list carrier whose inserted rows own their runtime relationships and invariant companions. |
58
58
  | [`tests/sdk-minimal.spec.ts`](tests/sdk-minimal.spec.ts) | Exact composition, profile-name, and platform-selection checks |
59
59
 
60
60
  </details>
package/README.zh.md CHANGED
@@ -46,7 +46,7 @@ dsh --profile sdk-minimal
46
46
  <details>
47
47
  <summary>实现细节——点击展开</summary>
48
48
 
49
- 该 bundle 的单个 insert 就是完整应用配置树:SDK stdio 启动与 JSON-RPC 服务、一个由环境配置的 DeepSeek 适配器、无执行器 agent 主干、本地子进程与不受限文件系统提供方、按平台选择的持久 shell PTY、字符串替换编辑器,以及位于 `$DSH_HOME/sessions` 的未压缩 JSONL 持久化。它不继承其他 bundle,因此每个额外配置项都是显式 profile 变更。
49
+ 该 bundle 的单个 insert 就是完整应用配置树:SDK stdio 启动与 JSON-RPC 服务、一个由环境配置的 DeepSeek 适配器、显式 agent 核心、本地子进程与不受限文件系统提供方、按平台选择的持久 shell PTY、字符串替换编辑器,以及位于 `$DSH_HOME/sessions` 的未压缩 JSONL 持久化。它不继承其他 bundle,因此每个额外配置项都是显式 profile 变更。
50
50
 
51
51
  ### 源码地图
52
52
 
@@ -54,7 +54,7 @@ dsh --profile sdk-minimal
54
54
  |---|---|
55
55
  | [`cordis.patch.yml`](cordis.patch.yml) | 完整独立 profile 配置树及其环境默认值 |
56
56
  | [`src/index.ts`](src/index.ts) | Bundle 包入口 |
57
- | [`src/invariant.ts`](src/invariant.ts) | 静态组合的不变式伴生插件 |
57
+ | | 不发布运行时不变式伴生入口;本包只是静态 patch 列表载体,插入的各行分别拥有自己的运行时关系和不变式。 |
58
58
  | [`tests/sdk-minimal.spec.ts`](tests/sdk-minimal.spec.ts) | 精确组合、profile 名称与平台选择检查 |
59
59
 
60
60
  </details>
package/cordis.patch.yml CHANGED
@@ -70,17 +70,62 @@
70
70
  config:
71
71
  cwd: !!js process.cwd()
72
72
 
73
- - id: agent-spine
74
- name: '@deepseek-ai/dsh-agent-spine-demo'
73
+ # Keep the minimal agent kernel explicit: unlike dsh-base, this profile
74
+ # owns each service row and omits every optional producer it does not use.
75
+ - id: timer
76
+ name: '@deepseek-ai/cordis-plugin-timer'
77
+
78
+ - id: llm
79
+ name: '@deepseek-ai/dsh-llm'
80
+
81
+ - id: session
82
+ name: '@deepseek-ai/dsh-session'
83
+
84
+ - id: session-title
85
+ name: '@deepseek-ai/dsh-session-title'
86
+ config:
87
+ fallbackMaxWords: 5
88
+ fallbackMaxBytes: 40
89
+ maxTitleBytes: 80
90
+
91
+ - id: system-prompt
92
+ name: '@deepseek-ai/dsh-system-prompt'
75
93
  config:
76
94
  includeHarnessIdentity: false
77
95
  includeRuntimeContext: false
78
96
  persona: !!js process.env.DSH_SYSTEM_PROMPT ?? 'You are a helpful software engineer assistant.'
79
- workspaceContext: false
80
- skills:
81
- enabled: false
82
- toolBash: false
83
- toolJobs: false
97
+
98
+ - id: tools
99
+ name: '@deepseek-ai/dsh-tools'
100
+
101
+ - id: agent
102
+ name: '@deepseek-ai/dsh-agent'
103
+
104
+ - id: llm-retry
105
+ name: '@deepseek-ai/dsh-llm-retry'
106
+
107
+ - id: jobs
108
+ name: '@deepseek-ai/dsh-jobs-local'
109
+
110
+ - id: invariants
111
+ name: '@deepseek-ai/dsh-invariants'
112
+
113
+ - id: session-invariant
114
+ name: '@deepseek-ai/dsh-session/invariant'
115
+
116
+ - id: agent-invariant
117
+ name: '@deepseek-ai/dsh-agent/invariant'
118
+
119
+ - id: scope-invariant
120
+ name: '@deepseek-ai/dsh-scope/invariant'
121
+
122
+ - id: agent-loop-invariant
123
+ name: '@deepseek-ai/dsh-agent-loop/invariant'
124
+
125
+ - id: agent-loop
126
+ name: '@deepseek-ai/dsh-agent-loop'
127
+ config:
128
+ agents: []
84
129
 
85
130
  - id: persistent-bash
86
131
  name: '@deepseek-ai/dsh-tool-bash-persistent'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-sdk-minimal",
3
3
  "description": "The standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, editor, and JSONL sessions",
4
- "version": "0.1.2-alpha.2",
4
+ "version": "0.1.2-alpha.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -18,17 +18,12 @@
18
18
  "types": "./lib/types/index.d.ts",
19
19
  "default": "./lib/index.js"
20
20
  },
21
- "./invariant": {
22
- "types": "./lib/types/invariant.d.ts",
23
- "default": "./lib/invariant.js"
24
- },
25
21
  "./cordis.patch.yml": "./cordis.patch.yml",
26
22
  "./src/*": "./src/*",
27
23
  "./package.json": "./package.json"
28
24
  },
29
25
  "files": [
30
26
  "lib/index.js",
31
- "lib/invariant.js",
32
27
  "cordis.patch.yml",
33
28
  "lib/types/**/*.d.ts"
34
29
  ],
@@ -39,31 +34,40 @@
39
34
  }
40
35
  },
41
36
  "dependencies": {
42
- "@deepseek-ai/dsh-agent-spine-demo": "^0.1.2-alpha.2",
43
- "@deepseek-ai/dsh-deepseek-llm-api-extensions": "^0.1.2-alpha.2",
44
- "@deepseek-ai/dsh-fs-local": "^0.1.2-alpha.2",
45
- "@deepseek-ai/dsh-llm-deepseek": "^0.1.2-alpha.2",
46
- "@deepseek-ai/dsh-plugin-package-inventory-deepseek": "^0.1.2-alpha.2",
47
- "@deepseek-ai/dsh-sandbox-local": "^0.1.2-alpha.2",
48
- "@deepseek-ai/dsh-sandbox-policy": "^0.1.2-alpha.2",
49
- "@deepseek-ai/dsh-sdk-app": "^0.1.2-alpha.2",
50
- "@deepseek-ai/dsh-sdk-jsonrpc-server": "^0.1.2-alpha.2",
51
- "@deepseek-ai/dsh-session-log-deepseek": "^0.1.2-alpha.2",
52
- "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.2-alpha.2",
53
- "@deepseek-ai/dsh-session-projection": "^0.1.2-alpha.2",
54
- "@deepseek-ai/dsh-subprocess-local": "^0.1.2-alpha.2",
55
- "@deepseek-ai/dsh-terminal": "^0.1.2-alpha.2",
56
- "@deepseek-ai/dsh-terminal-bash": "^0.1.2-alpha.2",
57
- "@deepseek-ai/dsh-tool-bash-persistent": "^0.1.2-alpha.2",
58
- "@deepseek-ai/dsh-tool-pwsh-persistent": "^0.1.2-alpha.2",
59
- "@deepseek-ai/dsh-tool-str-replace-editor": "^0.1.2-alpha.2"
37
+ "@deepseek-ai/cordis-plugin-timer": "^1.1.4",
38
+ "@deepseek-ai/dsh-agent": "^0.1.2-alpha.4",
39
+ "@deepseek-ai/dsh-agent-loop": "^0.1.2-alpha.4",
40
+ "@deepseek-ai/dsh-deepseek-llm-api-extensions": "^0.1.2-alpha.4",
41
+ "@deepseek-ai/dsh-fs-local": "^0.1.2-alpha.4",
42
+ "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.4",
43
+ "@deepseek-ai/dsh-llm": "^0.1.2-alpha.4",
44
+ "@deepseek-ai/dsh-llm-deepseek": "^0.1.2-alpha.4",
45
+ "@deepseek-ai/dsh-jobs-local": "^0.1.2-alpha.4",
46
+ "@deepseek-ai/dsh-llm-retry": "^0.1.2-alpha.4",
47
+ "@deepseek-ai/dsh-sandbox-local": "^0.1.2-alpha.4",
48
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.2-alpha.4",
49
+ "@deepseek-ai/dsh-scope": "^0.1.2-alpha.4",
50
+ "@deepseek-ai/dsh-sdk-app": "^0.1.2-alpha.4",
51
+ "@deepseek-ai/dsh-sdk-jsonrpc-server": "^0.1.2-alpha.4",
52
+ "@deepseek-ai/dsh-session": "^0.1.2-alpha.4",
53
+ "@deepseek-ai/dsh-session-log-deepseek": "^0.1.2-alpha.4",
54
+ "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.2-alpha.4",
55
+ "@deepseek-ai/dsh-session-title": "^0.1.2-alpha.4",
56
+ "@deepseek-ai/dsh-subprocess-local": "^0.1.2-alpha.4",
57
+ "@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.4",
58
+ "@deepseek-ai/dsh-terminal": "^0.1.2-alpha.4",
59
+ "@deepseek-ai/dsh-session-projection": "^0.1.2-alpha.4",
60
+ "@deepseek-ai/dsh-terminal-bash": "^0.1.2-alpha.4",
61
+ "@deepseek-ai/dsh-plugin-package-inventory-deepseek": "^0.1.2-alpha.4",
62
+ "@deepseek-ai/dsh-tool-pwsh-persistent": "^0.1.2-alpha.4",
63
+ "@deepseek-ai/dsh-tool-str-replace-editor": "^0.1.2-alpha.4",
64
+ "@deepseek-ai/dsh-tools": "^0.1.2-alpha.4",
65
+ "@deepseek-ai/dsh-tool-bash-persistent": "^0.1.2-alpha.4"
60
66
  },
61
67
  "peerDependencies": {
62
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.2",
63
68
  "@deepseek-ai/cordis": "^4.0.2"
64
69
  },
65
70
  "devDependencies": {
66
- "@deepseek-ai/cordis": "^4.0.2",
67
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.2"
71
+ "@deepseek-ai/cordis": "^4.0.2"
68
72
  }
69
73
  }
package/lib/invariant.js DELETED
@@ -1,19 +0,0 @@
1
- //#region lib/types/invariant.js
2
- /**
3
- * Package-owned invariant companion for `@deepseek-ai/dsh-sdk-minimal`.
4
- * @module @deepseek-ai/dsh-sdk-minimal/invariant
5
- */
6
- const PACKAGE_NAME = "@deepseek-ai/dsh-sdk-minimal";
7
- /** Cordis companion plugin name. */
8
- const name = "sdk-minimal-bundle-invariant";
9
- /** Service required before the companion can register. */
10
- const inject = ["invariants"];
11
- const install = () => {};
12
- /**
13
- * Register this package's invariant companion.
14
- * @param ctx - Cordis context carrying the invariant service.
15
- * @returns the installed registration's disposer after setup succeeds.
16
- */
17
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
18
- //#endregion
19
- export { apply, inject, name };
@@ -1,16 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@deepseek-ai/dsh-sdk-minimal`.
3
- * @module @deepseek-ai/dsh-sdk-minimal/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "sdk-minimal-bundle-invariant";
8
- /** Service required before the companion can register. */
9
- export declare const inject: string[];
10
- /**
11
- * Register this package's invariant companion.
12
- * @param ctx - Cordis context carrying the invariant service.
13
- * @returns the installed registration's disposer after setup succeeds.
14
- */
15
- export declare const apply: (ctx: Context) => Promise<() => void>;
16
- //# sourceMappingURL=invariant.d.ts.map