@deepseek-ai/dsh-subprocess-local 0.1.2-alpha.3 → 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/subprocess/subprocess-local/README.md
5
- README.md: 5e609bf96002c62d18684517bcd815e6f4fc0bb0
6
- README.zh.md: 9e53c9f9444c0c19ed4ec337357a9151d8f90328
5
+ README.md: dd9edbc99578f5411fad993cf88f93429dc9cab2
6
+ README.zh.md: 7bb43f7bbce5ef6b128edc9ef2104d35a5887845
package/README.md CHANGED
@@ -79,7 +79,7 @@ The provider treats the process tree as the unit of lifetime. POSIX children spa
79
79
  | [`src/terminal.ts`](src/terminal.ts) | `node-pty` terminal handle: foreground inspection, session cleanup, Windows teardown |
80
80
  | [`src/process-inspector.ts`](src/process-inspector.ts) | POSIX process-tree and session inspection |
81
81
  | [`src/windows-inspector.ts`](src/windows-inspector.ts) | Windows Toolhelp32 process-table inspection via koffi |
82
- | [`src/invariant.ts`](src/invariant.ts) | Invariant companion (no runtime invariant; the seam owns the contract) |
82
+ | | No runtime invariant companion is published; this package exposes no independent event sequence or mutable data relation beyond contracts enforced at its owning seam. |
83
83
 
84
84
  ### Main flow
85
85
 
package/README.zh.md CHANGED
@@ -79,7 +79,7 @@ kind: "package-reference"
79
79
  | [`src/terminal.ts`](src/terminal.ts) | `node-pty` 终端句柄:前台检查、会话清理、Windows 拆卸 |
80
80
  | [`src/process-inspector.ts`](src/process-inspector.ts) | POSIX 进程树与会话检查 |
81
81
  | [`src/windows-inspector.ts`](src/windows-inspector.ts) | 经 koffi 的 Windows Toolhelp32 进程表检查 |
82
- | [`src/invariant.ts`](src/invariant.ts) | 不变式伴生插件(无运行时不变式;约定归 seam 所有) |
82
+ | | 不发布运行时不变式伴生入口;约定归 seam 所有。 |
83
83
 
84
84
  ### 主流程
85
85
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-subprocess-local",
3
3
  "description": "Local-subprocess implementation of the DeepSeek Harness subprocess seam",
4
- "version": "0.1.2-alpha.3",
4
+ "version": "0.1.2-alpha.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -18,24 +18,18 @@
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
  "scripts/ensure-spawn-helper.mjs",
32
27
  "lib/types/**/*.d.ts"
33
28
  ],
34
29
  "license": "MIT",
35
30
  "peerDependencies": {
36
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
37
- "@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.3",
38
- "@deepseek-ai/dsh-timeout": "^0.1.2-alpha.3",
31
+ "@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.4",
32
+ "@deepseek-ai/dsh-timeout": "^0.1.2-alpha.4",
39
33
  "@deepseek-ai/cordis": "^4.0.2"
40
34
  },
41
35
  "dependencies": {
@@ -43,10 +37,9 @@
43
37
  "node-pty": "1.2.0-beta.15"
44
38
  },
45
39
  "devDependencies": {
46
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
47
- "@deepseek-ai/dsh-loader-smoke": "^0.1.2-alpha.3",
48
- "@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.3",
49
- "@deepseek-ai/dsh-timeout": "^0.1.2-alpha.3",
40
+ "@deepseek-ai/dsh-loader-smoke": "^0.1.2-alpha.4",
41
+ "@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.4",
42
+ "@deepseek-ai/dsh-timeout": "^0.1.2-alpha.4",
50
43
  "@deepseek-ai/cordis": "^4.0.2"
51
44
  },
52
45
  "scripts": {
package/lib/invariant.js DELETED
@@ -1,23 +0,0 @@
1
- //#region lib/types/invariant.js
2
- /**
3
- * Package-owned invariant companion for `@deepseek-ai/dsh-subprocess-local`.
4
- * @module @deepseek-ai/dsh-subprocess-local/invariant
5
- */
6
- const PACKAGE_NAME = "@deepseek-ai/dsh-subprocess-local";
7
- /** Cordis companion plugin name. */
8
- const name = "subprocess-local-invariant";
9
- /** Service required before the companion can reserve package ownership. */
10
- const inject = ["invariants"];
11
- /**
12
- * No runtime invariant: this package exposes no independent event sequence or mutable data relation
13
- * beyond contracts enforced at its owning seam.
14
- */
15
- const install = () => {};
16
- /**
17
- * Register this package's invariant companion.
18
- * @param ctx - Cordis context carrying the invariant service.
19
- * @returns the installed registration's disposer after setup succeeds.
20
- */
21
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
22
- //#endregion
23
- export { apply, inject, name };
@@ -1,16 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@deepseek-ai/dsh-subprocess-local`.
3
- * @module @deepseek-ai/dsh-subprocess-local/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "subprocess-local-invariant";
8
- /** Service required before the companion can reserve package ownership. */
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