deepseek-coordination 0.10.0 → 0.10.1

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.md CHANGED
@@ -48,10 +48,12 @@ npm pack # prepack builds first; produces the installable tarball
48
48
  | Peer package | Range | Side |
49
49
  |---|---|---|
50
50
  | `@deepseek-ai/cordis` | `^4.0.1` | Host runtime |
51
- | `@deepseek-ai/dsh-host-webserver` | `^0.1.0-rc.7 \|\| ^0.2.0-rc.0` | Host route registration |
52
- | `@deepseek-ai/dsh-client-runtime`, `-locale`, `-ui-slots`, `-ui-settings` | `^0.1.0-rc.7 \|\| ^0.2.0-rc.0` | Browser module table |
51
+ | `@deepseek-ai/dsh-host-webserver` | `^0.1.0-rc.7 \|\| >=0.2.1-rc.2` | Host route registration |
52
+ | `@deepseek-ai/dsh-client-runtime`, `-locale`, `-ui-slots`, `-ui-settings` | `^0.1.0-rc.7 \|\| >=0.2.1-rc.2` | Browser module table |
53
53
  | `react` | `^18.2.0` | Browser module table; never bundled |
54
54
 
55
+ The client half is compiled against the 0.2.1-rc.2 client packages the desktop runtime ships (`-locale`, `-ui-settings`, `-ui-slots`, `-ui-conversation`). `@deepseek-ai/dsh-client-runtime` and `@deepseek-ai/dsh-host-webserver` publish no 0.2.x release, so their devDependencies stay on 0.1.0-rc.8 while their peer ranges accept the 0.2.1+ runtime the host provides. The open-ended `>=0.2.1-rc.2` accepts every later stable release; `^0.1.0-rc.7` keeps the 0.1 line installable.
56
+
55
57
  ### Install into a profile
56
58
 
57
59
  Install the packed tarball, not the GitHub source:
@@ -325,7 +327,7 @@ There is no `coordination_write`, `coordination_refresh`, `outline`, `findSymbol
325
327
  | `npm test` | **473 tests, 472 pass, 1 skipped (GC-only), 0 fail**, ~3.3 s on Node 24.21.0 |
326
328
  | `npm run typecheck` / `npm run test:tsc` | Clean |
327
329
  | `npm run build` | Host + client bundles green; MUI `"use client"` directive warnings are non-fatal |
328
- | `npm run pack:check` | OK: `deepseek-coordination-0.10.0.tgz` (538,358 B); four runtime files present |
330
+ | `npm run pack:check` | OK: `deepseek-coordination-0.10.0.tgz` (538,820 B); four runtime files present |
329
331
  | Release CI | `.github/workflows/release.yml` runs typecheck, test:tsc, tests, pack:check and attaches the tarball to a `v*` GitHub Release |
330
332
 
331
333
  Parser and structure numbers are guards, not promises: a 100k-character parse test stays under 3 s; the data-structure report records B+ tree 10k inserts at 8.3/9.8 ms, skip-list 10k inserts at 6.4 ms, red-black 10k random set/delete at 13.5 ms, sparse grid 10k cells at 5.1 ms, and `hashString` 100k calls at 4.3 ms on the audit machine. The complexity audit records the ordinal `COUNT(*)` → `MAX(ordinal)` change (≈65–69 ms → ≈12–14 ms for 2,000 statements) and route ranking (2,400 → 200 posterior statements for 200 × 12 routes).
package/README.zh-CN.md CHANGED
@@ -48,10 +48,12 @@ npm pack # 先执行 prepack,生成可安装 tarball
48
48
  | Peer 包 | 范围 | 端 |
49
49
  |---|---|---|
50
50
  | `@deepseek-ai/cordis` | `^4.0.1` | 宿主运行时 |
51
- | `@deepseek-ai/dsh-host-webserver` | `^0.1.0-rc.7 \|\| ^0.2.0-rc.0` | 宿主路由 |
52
- | `@deepseek-ai/dsh-client-runtime`、`-locale`、`-ui-slots`、`-ui-settings` | `^0.1.0-rc.7 \|\| ^0.2.0-rc.0` | 浏览器模块表 |
51
+ | `@deepseek-ai/dsh-host-webserver` | `^0.1.0-rc.7 \|\| >=0.2.1-rc.2` | 宿主路由 |
52
+ | `@deepseek-ai/dsh-client-runtime`、`-locale`、`-ui-slots`、`-ui-settings` | `^0.1.0-rc.7 \|\| >=0.2.1-rc.2` | 浏览器模块表 |
53
53
  | `react` | `^18.2.0` | 浏览器模块表;不会被打包 |
54
54
 
55
+ 客户端半针对桌面运行时携带的 0.2.1-rc.2 客户端包(`-locale`、`-ui-settings`、`-ui-slots`、`-ui-conversation`)编译。`@deepseek-ai/dsh-client-runtime` 与 `@deepseek-ai/dsh-host-webserver` 没有发布 0.2.x,因此它们的 devDependency 仍是 0.1.0-rc.8,而 peer 范围接受宿主提供的 0.2.1+ 运行时。`>=0.2.1-rc.2` 接受之后的所有稳定版本,`^0.1.0-rc.7` 让 0.1 线仍可安装。
56
+
55
57
  ### 安装到 profile
56
58
 
57
59
  安装打包后的 tarball,不要装 GitHub 源码:
@@ -325,7 +327,7 @@ P0 解析器是词法级、确定性的:JS/TS/JSX(import/export/`require`/
325
327
  | `npm test` | **473 tests,472 pass,1 skipped(仅 GC),0 fail**,Node 24.21.0 上约 3.3 s |
326
328
  | `npm run typecheck` / `npm run test:tsc` | 通过 |
327
329
  | `npm run build` | 宿主 + 客户端 bundle 通过;MUI 的 `"use client"` directive 警告不致命 |
328
- | `npm run pack:check` | OK:`deepseek-coordination-0.10.0.tgz`(538,358 B),四个运行时文件齐全 |
330
+ | `npm run pack:check` | OK:`deepseek-coordination-0.10.0.tgz`(538,820 B),四个运行时文件齐全 |
329
331
  | 发布 CI | `.github/workflows/release.yml` 运行 typecheck、test:tsc、测试、pack:check,并在 `v*` Release 附上 tarball |
330
332
 
331
333
  解析器与结构的数字是守卫,不是承诺:100k 字符解析测试保持在 3 秒内;数据结构报告记录 B+ 树 10k 插入 8.3/9.8 ms、skip list 10k 插入 6.4 ms、红黑树 10k 随机 set/delete 13.5 ms、稀疏网格 10k 单元 5.1 ms、`hashString` 100k 次 4.3 ms;复杂度审计记录 Turn 序号从 `COUNT(*)` 改为 `MAX(ordinal)`(2,000 条语句约 65–69 ms → 约 12–14 ms)以及路由排序(200 × 12 条路由的 2,400 次 posterior 查询降到 200 次)。
package/lib/index.mjs CHANGED
@@ -13454,7 +13454,11 @@ function serviceOf(context, name) {
13454
13454
  const value = get.call(context, name);
13455
13455
  if (isRecord(value) || typeof value === "function") return isRecord(value) ? value : { call: value };
13456
13456
  } catch {}
13457
- return asRecord$1(holder[name]);
13457
+ try {
13458
+ return asRecord$1(holder[name]);
13459
+ } catch {
13460
+ return;
13461
+ }
13458
13462
  }
13459
13463
  function makeLogger(context) {
13460
13464
  const logger = asRecord$1(context)?.["logger"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepseek-coordination",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "A dual-face Cordis plugin for DeepSeek Harness: the host half owns a coordination SQLite database, seven model-facing tools and an HTTP surface; the web half mounts five composer dropdowns, a settings catalog and the service-level takeover dialog.",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -67,21 +67,21 @@
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@deepseek-ai/cordis": "^4.0.1",
70
- "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.7 || ^0.2.0-rc.0",
71
- "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.7 || ^0.2.0-rc.0",
72
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.7 || ^0.2.0-rc.0",
73
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.7 || ^0.2.0-rc.0",
74
- "@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.7 || ^0.2.0-rc.0",
70
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.7 || >=0.2.1-rc.2",
71
+ "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.7 || >=0.2.1-rc.2",
72
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.7 || >=0.2.1-rc.2",
73
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.7 || >=0.2.1-rc.2",
74
+ "@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.7 || >=0.2.1-rc.2",
75
75
  "react": "^18.2.0"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@deepseek-ai/cordis": "^4.0.1",
79
- "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.7 || ^0.2.1-rc.2",
79
+ "@deepseek-ai/dsh-client-locale": "^0.2.1-rc.2",
80
80
  "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.7 || ^0.2.1-rc.2",
81
- "@deepseek-ai/dsh-client-ui-conversation": "0.1.0-rc.8",
82
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.7 || ^0.2.1-rc.2",
83
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.7",
84
- "@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.7 || ^0.2.1-rc.2",
81
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.2.1-rc.2",
82
+ "@deepseek-ai/dsh-client-ui-settings": "^0.2.1-rc.2",
83
+ "@deepseek-ai/dsh-client-ui-slots": "^0.2.1-rc.2",
84
+ "@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.7",
85
85
  "@types/node": "^26.2.0",
86
86
  "@types/react": "~18.3.1",
87
87
  "react": "^18.2.0",