@deepseek-ai/dsh-typert-registry 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/typert/registry/README.md
5
- README.md: a19226addaa9512eaaefb621d0f5ae70653bf216
6
- README.zh.md: 8c909bb698f1b6658fe90f9d56f2c0d543957ec9
5
+ README.md: 8238ad1613367d04b44d0b87fb15a0cfde91e325
6
+ README.zh.md: fcba26636e9da42d84cb6c5ab426b6c0023c9a29
package/README.md CHANGED
@@ -81,7 +81,7 @@ Keys are stable: `<package>#<face>` for reflection, `<package>#<name>` for schem
81
81
  | [`src/service.ts`](src/service.ts) | `TypertRegistry` service, stores, validation, effect wiring |
82
82
  | [`src/types.ts`](src/types.ts) | Contribution, record, and filter types |
83
83
  | [`src/client/index.ts`](src/client/index.ts) | Client face installing the same registry |
84
- | [`src/invariant.ts`](src/invariant.ts) | Invariant companion |
84
+ | | No runtime invariant companion is published; schema and package-reflection records mutate together inside register/dispose, with no independent event or second data source to cross-check; duplicate identities fail at the owning operation boundary. |
85
85
 
86
86
  </details>
87
87
 
package/README.zh.md CHANGED
@@ -81,7 +81,7 @@ Remote 调用通过 `ctx.typert.lookups` 与 `ctx.typert.contexts` 解析 Host
81
81
  | [`src/service.ts`](src/service.ts) | `TypertRegistry` 服务、存储、校验、effect 接线 |
82
82
  | [`src/types.ts`](src/types.ts) | 贡献、记录与过滤器类型 |
83
83
  | [`src/client/index.ts`](src/client/index.ts) | 安装同一注册表的 Client face |
84
- | [`src/invariant.ts`](src/invariant.ts) | 不变式伴生插件 |
84
+ | | 不发布运行时不变式伴生入口;schema 与 package-reflection record 在 register/dispose 内一起变更,没有独立 event 或第二数据源可供交叉核对;重复 identity 在所属操作处失败。 |
85
85
 
86
86
  </details>
87
87
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-typert-registry",
3
3
  "description": "Runtime registry for generated package reflection and Zod schemas",
4
- "version": "0.1.2-alpha.2",
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"
@@ -42,7 +38,6 @@
42
38
  },
43
39
  "files": [
44
40
  "lib/index.js",
45
- "lib/invariant.js",
46
41
  "lib/client.js",
47
42
  "lib/types/**/*.js",
48
43
  "lib/types/**/*.d.ts"
@@ -55,9 +50,8 @@
55
50
  "@deepseek-ai/cordis": "^4.0.2"
56
51
  },
57
52
  "devDependencies": {
58
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.2",
59
- "@deepseek-ai/cordis": "^4.0.2",
60
- "@deepseek-ai/dsh-typert-protocol": "^0.1.2-alpha.2"
53
+ "@deepseek-ai/dsh-typert-protocol": "^0.1.2-alpha.4",
54
+ "@deepseek-ai/cordis": "^4.0.2"
61
55
  },
62
56
  "scripts": {
63
57
  "bundle": "tsdown",
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-typert-registry`.
4
- * @module @deepseek-ai/dsh-typert-registry/invariant
5
- */
6
- const PACKAGE_NAME = "@deepseek-ai/dsh-typert-registry";
7
- /** Cordis companion plugin name. */
8
- const name = "typert-registry-invariant";
9
- /** Service required before the companion can reserve package ownership. */
10
- const inject = ["invariants"];
11
- /**
12
- * No runtime invariant: schema and package-reflection records mutate together
13
- * inside register/dispose, with no independent event or second data source to
14
- * cross-check; duplicate identities fail at the owning operation boundary.
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-typert-registry`.
3
- * @module @deepseek-ai/dsh-typert-registry/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "typert-registry-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,23 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@deepseek-ai/dsh-typert-registry`.
3
- * @module @deepseek-ai/dsh-typert-registry/invariant
4
- */
5
- const PACKAGE_NAME = '@deepseek-ai/dsh-typert-registry';
6
- /** Cordis companion plugin name. */
7
- export const name = 'typert-registry-invariant';
8
- /** Service required before the companion can reserve package ownership. */
9
- export const inject = ['invariants'];
10
- /**
11
- * No runtime invariant: schema and package-reflection records mutate together
12
- * inside register/dispose, with no independent event or second data source to
13
- * cross-check; duplicate identities fail at the owning operation boundary.
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
- export const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
22
- /* jscpd:ignore-end */
23
- //# sourceMappingURL=invariant.js.map