@deepseek-ai/dsh-client-ui-directory-picker-native 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/client/ui-directory-picker-native/README.md
5
- README.md: 56df434a1ddf386c44bb0818d3ca7c267b7e2695
6
- README.zh.md: 9b19ec76538df10fbfa6ede04b8c00d2e5f1ed0c
5
+ README.md: 4a7107e3cf4a6383eb975d3b75457fb471ac26b0
6
+ README.zh.md: 3e9363e4cebec59caa17f3dee61aa35f3a6eb2bb
package/README.md CHANGED
@@ -85,3 +85,5 @@ These limits define when the native chooser fits. They are current package const
85
85
  None.
86
86
 
87
87
  </details>
88
+
89
+ **Runtime invariant:** No companion is published. The plugin registers a renderless flow occupant into two workspace holes as one transactional effect, whose disposal the HMR-safety spec proves, and it retains no state between picks.
package/README.zh.md CHANGED
@@ -85,3 +85,5 @@ kind: "package-reference"
85
85
  无。
86
86
 
87
87
  </details>
88
+
89
+ **运行时不变式:** 不发布伴生入口。插件用一个事务性 effect 把无渲染 flow occupant 注册到两个 workspace hole,HMR 测试覆盖释放,pick 之间不保留状态。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-client-ui-directory-picker-native",
3
3
  "description": "Native directory-picker surface: the renderless workspace directory-flow occupant driving the host's OS chooser",
4
- "version": "0.1.2-alpha.3",
4
+ "version": "0.1.2-alpha.4",
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
  "./client": {
26
22
  "types": "./lib/types/client/index.d.ts",
27
23
  "default": "./lib/client.js"
@@ -47,14 +43,12 @@
47
43
  "@types/react": "~18.3.1",
48
44
  "react": "^18.2.0",
49
45
  "react-dom": "^18.2.0",
50
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.3",
51
- "@deepseek-ai/dsh-client-ui-workspace": "^0.1.2-alpha.3",
52
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
53
- "@deepseek-ai/cordis": "^4.0.2"
46
+ "@deepseek-ai/dsh-client-ui-workspace": "^0.1.2-alpha.4",
47
+ "@deepseek-ai/cordis": "^4.0.2",
48
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.4"
54
49
  },
55
50
  "files": [
56
51
  "lib/index.js",
57
- "lib/invariant.js",
58
52
  "lib/client.js",
59
53
  "lib/types/**/*.d.ts"
60
54
  ],
package/lib/invariant.js DELETED
@@ -1,24 +0,0 @@
1
- //#region lib/types/invariant.js
2
- /**
3
- * Package-owned invariant companion for `@deepseek-ai/dsh-client-ui-directory-picker-native`.
4
- * @module @deepseek-ai/dsh-client-ui-directory-picker-native/invariant
5
- */
6
- const PACKAGE_NAME = "@deepseek-ai/dsh-client-ui-directory-picker-native";
7
- /** Cordis companion plugin name. */
8
- const name = "client-ui-directory-picker-native-invariant";
9
- /** Service required before the companion can reserve package ownership. */
10
- const inject = ["invariants"];
11
- /**
12
- * No runtime invariant: the plugin registers a renderless flow occupant into
13
- * two workspace holes as one transactional effect, whose disposal the
14
- * HMR-safety spec proves, and it retains no state between picks.
15
- */
16
- const install = () => {};
17
- /**
18
- * Register this package's invariant companion.
19
- * @param ctx - Cordis context carrying the invariant service.
20
- * @returns the installed registration's disposer after setup succeeds.
21
- */
22
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
23
- //#endregion
24
- export { apply, inject, name };
@@ -1,16 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@deepseek-ai/dsh-client-ui-directory-picker-native`.
3
- * @module @deepseek-ai/dsh-client-ui-directory-picker-native/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "client-ui-directory-picker-native-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