@deepseek-ai/dsh-shell 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 +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +8 -15
- package/lib/invariant.js +0 -17
- package/lib/types/invariant.d.ts +0 -13
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/shell/shell/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: dd3eeb45af432e6fdbb9a0aa688d8a5c3c58bbb1
|
|
6
|
+
README.zh.md: 8767aad9795494c6a996c7063778b1a816362e16
|
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ The package is one role of a standard capability seam: the Service Definition th
|
|
|
83
83
|
| [`src/index.ts`](src/index.ts) | Plugin entry: abstract `ShellExecutor` service and the shared settings namespace |
|
|
84
84
|
| [`src/types.ts`](src/types.ts) | Request/spec vocabulary, `ShellRunResult`, `ShellProcess`, and sandbox facts |
|
|
85
85
|
| [`src/render.ts`](src/render.ts) | `parseExitStatus`: the exit-status marker contract the shell tools share |
|
|
86
|
-
|
|
|
86
|
+
| — | No runtime invariant companion is published; this stateless Service Definition owns request/result types, while executors and policy own observations. |
|
|
87
87
|
|
|
88
88
|
### Settings namespace
|
|
89
89
|
|
package/README.zh.md
CHANGED
|
@@ -83,7 +83,7 @@ seam 本身不是执行器:每个组合只挂载一个提供方,工具即可
|
|
|
83
83
|
| [`src/index.ts`](src/index.ts) | 插件入口:抽象 `ShellExecutor` 服务与共享设置命名空间 |
|
|
84
84
|
| [`src/types.ts`](src/types.ts) | 请求/spec 词汇、`ShellRunResult`、`ShellProcess` 与沙箱事实 |
|
|
85
85
|
| [`src/render.ts`](src/render.ts) | `parseExitStatus`:shell 工具共享的退出状态标记约定 |
|
|
86
|
-
|
|
|
86
|
+
| — | 不发布运行时不变式伴生入口;执行器与策略负责观察。 |
|
|
87
87
|
|
|
88
88
|
### 设置命名空间
|
|
89
89
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-shell",
|
|
3
3
|
"description": "Abstract bash executor seam (ctx.shell) for the DeepSeek Harness",
|
|
4
|
-
"version": "0.1.2-alpha.
|
|
4
|
+
"version": "0.1.2-alpha.4",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -18,31 +18,24 @@
|
|
|
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
|
"./src/*": "./src/*",
|
|
26
22
|
"./package.json": "./package.json"
|
|
27
23
|
},
|
|
28
24
|
"files": [
|
|
29
25
|
"lib/index.js",
|
|
30
|
-
"lib/invariant.js",
|
|
31
26
|
"lib/types/**/*.d.ts"
|
|
32
27
|
],
|
|
33
28
|
"license": "MIT",
|
|
34
29
|
"peerDependencies": {
|
|
35
|
-
"@deepseek-ai/dsh-
|
|
36
|
-
"@deepseek-ai/dsh-sandbox": "^0.1.2-alpha.
|
|
30
|
+
"@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.4",
|
|
31
|
+
"@deepseek-ai/dsh-sandbox": "^0.1.2-alpha.4",
|
|
37
32
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
38
|
-
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.
|
|
39
|
-
"@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.2"
|
|
33
|
+
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.4"
|
|
40
34
|
},
|
|
41
35
|
"devDependencies": {
|
|
42
|
-
"@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.
|
|
43
|
-
"@deepseek-ai/dsh-sandbox": "^0.1.2-alpha.
|
|
44
|
-
"@deepseek-ai/dsh-
|
|
45
|
-
"@deepseek-ai/cordis": "^4.0.2"
|
|
46
|
-
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.2"
|
|
36
|
+
"@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.4",
|
|
37
|
+
"@deepseek-ai/dsh-sandbox": "^0.1.2-alpha.4",
|
|
38
|
+
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.4",
|
|
39
|
+
"@deepseek-ai/cordis": "^4.0.2"
|
|
47
40
|
}
|
|
48
41
|
}
|
package/lib/invariant.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//#region lib/types/invariant.js
|
|
2
|
-
/** Package-owned invariant companion for the bash seam. @module @deepseek-ai/dsh-shell/invariant */
|
|
3
|
-
const PACKAGE_NAME = "@deepseek-ai/dsh-shell";
|
|
4
|
-
/** Cordis companion plugin name. */
|
|
5
|
-
const name = "shell-invariant";
|
|
6
|
-
/** Service required before the companion can reserve package ownership. */
|
|
7
|
-
const inject = ["invariants"];
|
|
8
|
-
/** No runtime invariant: this stateless Service Definition owns request/result types, while executors and policy own observations. */
|
|
9
|
-
const install = () => {};
|
|
10
|
-
/**
|
|
11
|
-
* Register the bash invariant companion.
|
|
12
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
13
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
14
|
-
*/
|
|
15
|
-
const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
16
|
-
//#endregion
|
|
17
|
-
export { apply, inject, name };
|
package/lib/types/invariant.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** Package-owned invariant companion for the bash seam. @module @deepseek-ai/dsh-shell/invariant */
|
|
2
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
3
|
-
/** Cordis companion plugin name. */
|
|
4
|
-
export declare const name = "shell-invariant";
|
|
5
|
-
/** Service required before the companion can reserve package ownership. */
|
|
6
|
-
export declare const inject: string[];
|
|
7
|
-
/**
|
|
8
|
-
* Register the bash invariant companion.
|
|
9
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
10
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
11
|
-
*/
|
|
12
|
-
export declare const apply: (ctx: Context) => Promise<() => void>;
|
|
13
|
-
//# sourceMappingURL=invariant.d.ts.map
|