@deepseek-ai/dsh-lsp 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/lsp/lsp/README.md
5
- README.md: 807f9301784423553c11b6b544f9e1eaee60e78b
6
- README.zh.md: 8674132e2de58c7327db7431d658872a17589309
5
+ README.md: 119ddf8775e37fa32e4db123ea2418d0d8c8bbb2
6
+ README.zh.md: 138dc9599c3e41710f5fcfc4cc62452cab378bbe
package/README.md CHANGED
@@ -87,7 +87,7 @@ This section explains the design decisions behind the seam and where the code re
87
87
  | [`src/index.ts`](src/index.ts) | Plugin entry: `Lsp` service, `registerProvider`/`query`, `finalExtension`, `LspError` codes |
88
88
  | [`src/types.ts`](src/types.ts) | Seam vocabulary: request, result, provider, and service contracts |
89
89
  | [`src/brand.ts`](src/brand.ts) | `LspProviderId` branded-id type and factory |
90
- | [`src/invariant.ts`](src/invariant.ts) | Invariant companion (no runtime invariant; routes are private atomic state) |
90
+ | | No runtime invariant companion is published; provider ids and extension routes are private, atomically updated state; the seam exposes neither an enumerable snapshot nor lifecycle events to compare independently. |
91
91
 
92
92
  ### Registration and selection lifecycle
93
93
 
package/README.zh.md CHANGED
@@ -87,7 +87,7 @@ seam 需要提供方与消费方才能发挥作用。最小组合挂载服务、
87
87
  | [`src/index.ts`](src/index.ts) | 插件入口:`Lsp` 服务、`registerProvider`/`query`、`finalExtension`、`LspError` code |
88
88
  | [`src/types.ts`](src/types.ts) | seam 词汇:请求、结果、提供方与服务约定 |
89
89
  | [`src/brand.ts`](src/brand.ts) | `LspProviderId` 品牌化 id 类型与工厂 |
90
- | [`src/invariant.ts`](src/invariant.ts) | 不变式伴生插件(无运行时不变式;路由是私有原子状态) |
90
+ | | 不发布运行时不变式伴生入口;路由是私有原子状态。 |
91
91
 
92
92
  ### 注册与选择生命周期
93
93
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-lsp",
3
3
  "description": "Abstract LSP capability seam (ctx.lsp) for the DeepSeek Harness — language-server provider registry keyed by branded id and extension mapping, order-independent per-query selection, normalized definition/references/implementation/hover requests and results, and the LspError taxonomy",
4
- "version": "0.1.2-alpha.3",
4
+ "version": "0.1.2-alpha.5",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -18,29 +18,22 @@
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
  "lib/types/**/*.d.ts"
32
27
  ],
33
28
  "license": "MIT",
34
29
  "peerDependencies": {
35
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
36
- "@deepseek-ai/dsh-brand": "^0.1.2-alpha.3",
37
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.3",
30
+ "@deepseek-ai/dsh-brand": "^0.1.2-alpha.5",
31
+ "@deepseek-ai/dsh-llm": "^0.1.2-alpha.5",
38
32
  "@deepseek-ai/cordis": "^4.0.2"
39
33
  },
40
34
  "devDependencies": {
41
- "@deepseek-ai/dsh-brand": "^0.1.2-alpha.3",
42
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
43
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.3",
35
+ "@deepseek-ai/dsh-llm": "^0.1.2-alpha.5",
36
+ "@deepseek-ai/dsh-brand": "^0.1.2-alpha.5",
44
37
  "@deepseek-ai/cordis": "^4.0.2"
45
38
  }
46
39
  }
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-lsp`.
4
- * @module @deepseek-ai/dsh-lsp/invariant
5
- */
6
- const PACKAGE_NAME = "@deepseek-ai/dsh-lsp";
7
- /** Cordis companion plugin name. */
8
- const name = "lsp-invariant";
9
- /** Service required before the companion can reserve package ownership. */
10
- const inject = ["invariants"];
11
- /**
12
- * No runtime invariant: provider ids and extension routes are private, atomically updated state;
13
- * the seam exposes neither an enumerable snapshot nor lifecycle events to compare independently.
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-lsp`.
3
- * @module @deepseek-ai/dsh-lsp/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "lsp-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