@deepseek-ai/dsh-user-questions 0.1.2-alpha.3 → 0.1.2-alpha.5

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/interaction/user-questions/README.md
5
- README.md: f5b8c8f6d9d2d376a60d32d096cacf36fede5a7b
6
- README.zh.md: cbabec7f551ab2257e860c45bbd27b99321c6e05
5
+ README.md: 32093da6a319dbf473b28d29ddd60402785b5fce
6
+ README.zh.md: f8d1f1b8971d63c2569e59cdc0512e5c950dd2c6
package/README.md CHANGED
@@ -75,3 +75,5 @@ No direct invalidation; the named consumer owns any request-prefix changes.
75
75
  None.
76
76
 
77
77
  </details>
78
+
79
+ **Runtime invariant:** No companion is published. The single provider slot is validated at registration and asks return directly to their caller; the seam publishes no independent request/answer audit stream.
package/README.zh.md CHANGED
@@ -75,3 +75,5 @@ kind: "package-reference"
75
75
  无。
76
76
 
77
77
  </details>
78
+
79
+ **运行时不变式:** 不发布伴生入口。单个 provider slot 在注册时校验,ask 结果直接返回调用方;该 seam 不发布独立 request/answer 审计流。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-user-questions",
3
3
  "description": "Abstract user-questions seam (ctx.userQuestions) for asking the human during agent runs",
4
- "version": "0.1.2-alpha.3",
4
+ "version": "0.1.2-alpha.5",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -18,10 +18,6 @@
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
  "./types": {
26
22
  "types": "./lib/types/types.d.ts",
27
23
  "default": "./lib/types/types.js"
@@ -31,23 +27,20 @@
31
27
  },
32
28
  "files": [
33
29
  "lib/index.js",
34
- "lib/invariant.js",
35
30
  "lib/types/**/*.js",
36
31
  "lib/types/**/*.d.ts"
37
32
  ],
38
33
  "license": "MIT",
39
34
  "peerDependencies": {
40
- "@deepseek-ai/dsh-agent": "^0.1.2-alpha.3",
41
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
42
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.3",
43
- "@deepseek-ai/dsh-scope": "^0.1.2-alpha.3",
35
+ "@deepseek-ai/dsh-agent": "^0.1.2-alpha.5",
36
+ "@deepseek-ai/dsh-llm": "^0.1.2-alpha.5",
37
+ "@deepseek-ai/dsh-scope": "^0.1.2-alpha.5",
44
38
  "@deepseek-ai/cordis": "^4.0.2"
45
39
  },
46
40
  "devDependencies": {
47
- "@deepseek-ai/dsh-agent": "^0.1.2-alpha.3",
48
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
49
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.3",
50
- "@deepseek-ai/dsh-scope": "^0.1.2-alpha.3",
41
+ "@deepseek-ai/dsh-agent": "^0.1.2-alpha.5",
42
+ "@deepseek-ai/dsh-llm": "^0.1.2-alpha.5",
43
+ "@deepseek-ai/dsh-scope": "^0.1.2-alpha.5",
51
44
  "@deepseek-ai/cordis": "^4.0.2"
52
45
  }
53
46
  }
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-user-questions`.
4
- * @module @deepseek-ai/dsh-user-questions/invariant
5
- */
6
- const PACKAGE_NAME = "@deepseek-ai/dsh-user-questions";
7
- /** Cordis companion plugin name. */
8
- const name = "user-questions-invariant";
9
- /** Service required before the companion can reserve package ownership. */
10
- const inject = ["invariants"];
11
- /**
12
- * No runtime invariant: the single provider slot is validated at registration and asks return
13
- * directly to their caller; the seam publishes no independent request/answer audit stream.
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-user-questions`.
3
- * @module @deepseek-ai/dsh-user-questions/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "user-questions-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
@@ -1,22 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@deepseek-ai/dsh-user-questions`.
3
- * @module @deepseek-ai/dsh-user-questions/invariant
4
- */
5
- const PACKAGE_NAME = '@deepseek-ai/dsh-user-questions';
6
- /** Cordis companion plugin name. */
7
- export const name = 'user-questions-invariant';
8
- /** Service required before the companion can reserve package ownership. */
9
- export const inject = ['invariants'];
10
- /**
11
- * No runtime invariant: the single provider slot is validated at registration and asks return
12
- * directly to their caller; the seam publishes no independent request/answer audit stream.
13
- */
14
- const install = () => { };
15
- /**
16
- * Register this package's invariant companion.
17
- * @param ctx - Cordis context carrying the invariant service.
18
- * @returns the installed registration's disposer after setup succeeds.
19
- */
20
- export const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
21
- /* jscpd:ignore-end */
22
- //# sourceMappingURL=invariant.js.map