@deepseek-ai/dsh-typert-generator 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/typert/generator/README.md
5
- README.md: c6a419467f8f9da71c789dee2b969f69841b57cc
6
- README.zh.md: 196af16d97c9c6eb2774e615840bfaed2454e7f2
5
+ README.md: a3deccbb9ba0847d02b532732a87ec52da1a2d7c
6
+ README.zh.md: 5983a4d9ecc7914320718338931d354a8e85d032
package/README.md CHANGED
@@ -137,3 +137,5 @@ These limits define what the generator cannot model or emit; they are current pa
137
137
  None.
138
138
 
139
139
  </details>
140
+
141
+ **Runtime invariant:** No companion is published. This source-project analyzer and build-time emitter runs outside any cordis runtime; model snapshots, executable artifacts, and consuming-package typechecks enforce its output contract.
package/README.zh.md CHANGED
@@ -137,3 +137,5 @@ Host 与 Client 是两个独立的 TypeScript 程序。直接项目引用确定
137
137
  无。
138
138
 
139
139
  </details>
140
+
141
+ **运行时不变式:** 不发布伴生入口。这是运行于 Cordis 之外的源码分析器与构建时 emitter;model snapshot、可执行 artifact 与消费包 typecheck 强制其输出约定。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-typert-generator",
3
3
  "description": "TypeScript project analyzer and model-driven Typert artifact generator",
4
- "version": "0.1.2-alpha.3",
4
+ "version": "0.1.2-alpha.5",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -22,16 +22,11 @@
22
22
  "types": "./lib/types/tsdown-plugin.d.ts",
23
23
  "default": "./lib/types/tsdown-plugin.js"
24
24
  },
25
- "./invariant": {
26
- "types": "./lib/types/invariant.d.ts",
27
- "default": "./lib/invariant.js"
28
- },
29
25
  "./src/*": "./src/*",
30
26
  "./package.json": "./package.json"
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
  ],
@@ -41,14 +36,12 @@
41
36
  "typescript": "^6.0.3"
42
37
  },
43
38
  "peerDependencies": {
44
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
45
39
  "@deepseek-ai/cordis": "^4.0.2"
46
40
  },
47
41
  "devDependencies": {
48
42
  "zod": "^4.4.3",
49
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
50
- "@deepseek-ai/dsh-tool-cordis": "^0.1.2-alpha.3",
51
- "@deepseek-ai/dsh-typert-registry": "^0.1.2-alpha.3",
43
+ "@deepseek-ai/dsh-typert-registry": "^0.1.2-alpha.5",
44
+ "@deepseek-ai/dsh-tool-cordis": "^0.1.2-alpha.5",
52
45
  "@deepseek-ai/cordis": "^4.0.2"
53
46
  }
54
47
  }
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-generator`.
4
- * @module @deepseek-ai/dsh-typert-generator/invariant
5
- */
6
- const PACKAGE_NAME = "@deepseek-ai/dsh-typert-generator";
7
- /** Cordis companion plugin name. */
8
- const name = "typert-generator-invariant";
9
- /** Service required before the companion can reserve package ownership. */
10
- const inject = ["invariants"];
11
- /**
12
- * No runtime invariant: this source-project analyzer and build-time emitter
13
- * runs outside any cordis runtime; model snapshots, executable artifacts, and
14
- * consuming-package typechecks enforce its output contract.
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-generator`.
3
- * @module @deepseek-ai/dsh-typert-generator/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "typert-generator-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-generator`.
3
- * @module @deepseek-ai/dsh-typert-generator/invariant
4
- */
5
- const PACKAGE_NAME = '@deepseek-ai/dsh-typert-generator';
6
- /** Cordis companion plugin name. */
7
- export const name = 'typert-generator-invariant';
8
- /** Service required before the companion can reserve package ownership. */
9
- export const inject = ['invariants'];
10
- /**
11
- * No runtime invariant: this source-project analyzer and build-time emitter
12
- * runs outside any cordis runtime; model snapshots, executable artifacts, and
13
- * consuming-package typechecks enforce its output contract.
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