@nelsonlongxiang/dsh-open-a2a-net 0.5.14 → 0.6.24

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.
Files changed (86) hide show
  1. package/README.md +243 -121
  2. package/README_zh.md +144 -84
  3. package/assets/nexusDist/assets/index-034h1cNc.js +3 -0
  4. package/assets/nexusDist/assets/index-PG9EieGX.css +1 -0
  5. package/assets/nexusDist/index.html +26 -0
  6. package/assets/stageDist/assets/index-Bj7S2pA1.css +1 -0
  7. package/assets/stageDist/assets/index-C-28k_o5.js +974 -0
  8. package/assets/stageDist/assets/interiors-CQGBjffT.png +0 -0
  9. package/assets/stageDist/assets/office-tileset-CHQT-uYL.png +0 -0
  10. package/assets/stageDist/index.html +13 -0
  11. package/lib/a2a-client.js +190 -13
  12. package/lib/canvas-store.js +218 -0
  13. package/lib/card.js +25 -0
  14. package/lib/client/A2aControl.js +45 -137
  15. package/lib/client/locales.js +16 -40
  16. package/lib/client.js +164 -467
  17. package/lib/client.js.map +1 -1
  18. package/lib/group-store.js +6 -0
  19. package/lib/idempotency-store.js +291 -0
  20. package/lib/index.js +4217 -259
  21. package/lib/joined-store.js +11 -0
  22. package/lib/layout-store.js +155 -0
  23. package/lib/peer-store.js +98 -13
  24. package/lib/receipt-ladder.js +35 -0
  25. package/lib/receipt.js +102 -0
  26. package/lib/self-suppress.js +62 -0
  27. package/lib/session-transcript.js +150 -0
  28. package/lib/skill/SKILL.md +77 -0
  29. package/lib/skill/references/discovery.md +38 -0
  30. package/lib/skill/references/membership.md +50 -0
  31. package/lib/skill/references/pitfalls.md +42 -0
  32. package/lib/skill/references/routing.md +43 -0
  33. package/lib/skill-registration.js +52 -0
  34. package/lib/stage-mount.js +32 -0
  35. package/lib/task-ledger.js +540 -0
  36. package/lib/team-store.js +122 -0
  37. package/lib/teams-bridge.js +18 -0
  38. package/lib/transport-caps.js +31 -0
  39. package/lib/types/a2a-client.d.ts +72 -1
  40. package/lib/types/canvas-store.d.ts +102 -0
  41. package/lib/types/client/A2aControl.d.ts +18 -28
  42. package/lib/types/client/locales.d.ts +1 -1
  43. package/lib/types/group-store.d.ts +6 -0
  44. package/lib/types/idempotency-store.d.ts +164 -0
  45. package/lib/types/index.d.ts +210 -6
  46. package/lib/types/joined-store.d.ts +9 -0
  47. package/lib/types/layout-store.d.ts +63 -0
  48. package/lib/types/peer-store.d.ts +45 -2
  49. package/lib/types/receipt-ladder.d.ts +25 -0
  50. package/lib/types/receipt.d.ts +51 -0
  51. package/lib/types/self-suppress.d.ts +41 -0
  52. package/lib/types/session-transcript.d.ts +37 -0
  53. package/lib/types/skill-registration.d.ts +3 -0
  54. package/lib/types/stage-mount.d.ts +29 -0
  55. package/lib/types/task-ledger.d.ts +308 -0
  56. package/lib/types/team-store.d.ts +55 -0
  57. package/lib/types/teams-bridge.d.ts +112 -0
  58. package/lib/types/transport-caps.d.ts +29 -0
  59. package/lib/types/types.d.ts +43 -0
  60. package/nexus-stage/package-lock.json +2262 -0
  61. package/nexus-stage/package.json +21 -0
  62. package/nexus-stage/scripts/__pycache__/mockhost.cpython-312.pyc +0 -0
  63. package/nexus-stage/scripts/mockhost.py +253 -0
  64. package/nexus-stage/src/canvas-ops.ts +175 -0
  65. package/nexus-stage/src/canvas-wire.ts +156 -0
  66. package/nexus-stage/src/edges.ts +72 -0
  67. package/nexus-stage/src/fault.ts +56 -0
  68. package/nexus-stage/src/federation.ts +234 -0
  69. package/nexus-stage/src/layout-doc.ts +143 -0
  70. package/nexus-stage/src/layout-wire.ts +158 -0
  71. package/nexus-stage/src/main.ts +361 -0
  72. package/nexus-stage/src/planning-menus.ts +352 -0
  73. package/nexus-stage/src/planning-nodelist.ts +294 -0
  74. package/nexus-stage/src/planning-types.ts +111 -0
  75. package/nexus-stage/src/planning-view.ts +1313 -0
  76. package/nexus-stage/src/planning.css +280 -0
  77. package/nexus-stage/src/seat.ts +35 -0
  78. package/nexus-stage/src/stage-name.ts +13 -0
  79. package/nexus-stage/src/tokens.ts +32 -0
  80. package/nexus-stage/src/viewport.ts +83 -0
  81. package/nexus-stage/src/workbench.css +267 -0
  82. package/nexus-stage/src/workbench.ts +1530 -0
  83. package/nexus-stage/src/world.ts +509 -0
  84. package/nexus-stage/tsconfig.json +25 -0
  85. package/nexus-stage/vite.config.ts +16 -0
  86. package/package.json +83 -22
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nelsonlongxiang/dsh-open-a2a-net",
3
- "version": "0.5.14",
3
+ "version": "0.6.24",
4
4
  "description": "Open A2A network plugin for DeepSeek Harness: signed agent cards, decentralized peer/zone discovery, direct routing model tools, and joinable session nodes with a sidebar control",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -18,16 +18,44 @@
18
18
  "types": "./lib/types/client/index.d.ts",
19
19
  "default": "./lib/client.js"
20
20
  },
21
+ "./card": {
22
+ "types": "./lib/types/card.d.ts",
23
+ "default": "./lib/card.js"
24
+ },
25
+ "./receipt": {
26
+ "types": "./lib/types/receipt.d.ts",
27
+ "default": "./lib/receipt.js"
28
+ },
29
+ "./transport-caps": {
30
+ "types": "./lib/types/transport-caps.d.ts",
31
+ "default": "./lib/transport-caps.js"
32
+ },
33
+ "./a2a-client": {
34
+ "types": "./lib/types/a2a-client.d.ts",
35
+ "default": "./lib/a2a-client.js"
36
+ },
21
37
  "./cordis.patch.yml": "./cordis.patch.yml",
22
38
  "./package.json": "./package.json"
23
39
  },
24
40
  "files": [
25
41
  "lib",
42
+ "assets/nexusDist",
43
+ "assets/stageDist",
26
44
  "images",
27
45
  "README_zh.md",
28
46
  "cordis.patch.yml",
29
- "README.md"
47
+ "README.md",
48
+ "nexus-stage/src",
49
+ "nexus-stage/scripts",
50
+ "nexus-stage/package.json",
51
+ "nexus-stage/package-lock.json",
52
+ "nexus-stage/tsconfig.json",
53
+ "nexus-stage/vite.config.ts"
30
54
  ],
55
+ "packageManager": "pnpm@11.28.5",
56
+ "engines": {
57
+ "pnpm": ">=11.24 <12"
58
+ },
31
59
  "dsh": {
32
60
  "bundle": {
33
61
  "patch": "./cordis.patch.yml"
@@ -44,31 +72,36 @@
44
72
  },
45
73
  "scripts": {
46
74
  "prepare": "pnpm build",
47
- "build": "tsc -p tsconfig.json && tsc -p tsconfig.client.json && tsdown",
75
+ "build": "tsc -p tsconfig.json && tsc -p tsconfig.client.json && tsdown && node scripts/copy-skill.mjs",
48
76
  "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit",
49
77
  "test": "vitest run",
50
- "test:build-layout": "vitest run tests/build-layout.spec.ts",
51
- "verify": "pnpm typecheck && pnpm build && pnpm test && pnpm test:build-layout"
78
+ "test:unit": "vitest run tests/unit",
79
+ "test:wire": "vitest run tests/wire",
80
+ "test:mesh": "vitest run tests/mesh",
81
+ "test:live": "vitest run tests/live",
82
+ "test:build-layout": "vitest run tests/gates/build-layout.spec.ts",
83
+ "verify:nexus": "node scripts/verify-nexus-ci.mjs && npm --prefix nexus-stage run build && npm --prefix nexus-stage run test && git diff --exit-code -- assets/nexusDist/assets && git diff --ignore-cr-at-eol --exit-code -- assets/nexusDist/index.html",
84
+ "verify": "pnpm typecheck && pnpm build && pnpm test && pnpm test:build-layout && pnpm verify:nexus"
52
85
  },
53
86
  "peerDependencies": {
54
87
  "@deepseek-ai/cordis": ">=4.0.1",
55
88
  "@deepseek-ai/cordis-plugin-loader": ">=1.0.2",
56
89
  "@deepseek-ai/cordis-plugin-timer": ">=1.1.3",
57
- "@deepseek-ai/dsh-agent": ">=0.1.0-rc.6",
58
- "@deepseek-ai/dsh-client-locale": ">=0.1.0-rc.6",
59
- "@deepseek-ai/dsh-client-runtime": ">=0.1.0-rc.6",
60
- "@deepseek-ai/dsh-client-ui-primitives": ">=0.1.0-rc.6",
61
- "@deepseek-ai/dsh-client-ui-sidebar": ">=0.1.0-rc.6",
62
- "@deepseek-ai/dsh-client-ui-slots": ">=0.1.0-rc.6",
63
- "@deepseek-ai/dsh-home-paths": ">=0.1.0-rc.6",
64
- "@deepseek-ai/dsh-host-apiproxy": ">=0.1.0-rc.6",
65
- "@deepseek-ai/dsh-host-webserver": ">=0.1.0-rc.6",
66
- "@deepseek-ai/dsh-invariants": ">=0.1.0-rc.6",
67
- "@deepseek-ai/dsh-llm": ">=0.1.0-rc.6",
68
- "@deepseek-ai/dsh-session": ">=0.1.0-rc.6",
69
- "@deepseek-ai/dsh-session-persistence": ">=0.1.0-rc.6",
70
- "@deepseek-ai/dsh-session-title": ">=0.1.0-rc.6",
71
- "@deepseek-ai/dsh-tools": ">=0.1.0-rc.6",
90
+ "@deepseek-ai/dsh-agent": ">=0.1.7-alpha.2",
91
+ "@deepseek-ai/dsh-api-session-controller": ">=0.1.7-alpha.2",
92
+ "@deepseek-ai/dsh-client-locale": ">=0.1.7-alpha.2",
93
+ "@deepseek-ai/dsh-client-runtime": ">=0.1.1-rc.2",
94
+ "@deepseek-ai/dsh-client-ui-primitives": ">=0.1.7-alpha.2",
95
+ "@deepseek-ai/dsh-client-ui-sidebar": ">=0.1.7-alpha.2",
96
+ "@deepseek-ai/dsh-client-ui-slots": ">=0.1.7-alpha.2",
97
+ "@deepseek-ai/dsh-home-paths": ">=0.1.7-alpha.2",
98
+ "@deepseek-ai/dsh-host-webserver": ">=0.1.7-alpha.2",
99
+ "@deepseek-ai/dsh-invariants": ">=0.1.7-alpha.2",
100
+ "@deepseek-ai/dsh-llm": ">=0.1.7-alpha.2",
101
+ "@deepseek-ai/dsh-session": ">=0.1.7-alpha.2",
102
+ "@deepseek-ai/dsh-session-persistence": ">=0.1.7-alpha.2",
103
+ "@deepseek-ai/dsh-session-title": ">=0.1.7-alpha.2",
104
+ "@deepseek-ai/dsh-tools": ">=0.1.7-alpha.2",
72
105
  "@deepseek-ai/schemastery": ">=3.18.1",
73
106
  "react": "^18.2.0"
74
107
  },
@@ -100,10 +133,10 @@
100
133
  "@deepseek-ai/dsh-client-ui-slots": {
101
134
  "optional": true
102
135
  },
103
- "@deepseek-ai/dsh-home-paths": {
136
+ "@deepseek-ai/dsh-api-session-controller": {
104
137
  "optional": true
105
138
  },
106
- "@deepseek-ai/dsh-host-apiproxy": {
139
+ "@deepseek-ai/dsh-home-paths": {
107
140
  "optional": true
108
141
  },
109
142
  "@deepseek-ai/dsh-host-webserver": {
@@ -135,20 +168,48 @@
135
168
  }
136
169
  },
137
170
  "devDependencies": {
171
+ "@deepseek-ai/dsh-client-store": "0.2.0-rc.2",
172
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
173
+ "@deepseek-ai/dsh-scope": "0.0.1-rc.1",
138
174
  "@deepseek-ai/dsh-system-prompt": "0.1.0-rc.6",
175
+ "@deepseek-ai/dsh-util-code-language": "0.1.7-rc.2",
176
+ "@deepseek-ai/dsh-util-workspace-path": "0.1.2-alpha.2",
177
+ "@shikijs/langs": "^4.5.0",
139
178
  "@testing-library/react": "^16.3.0",
140
179
  "@types/node": "^24.13.3",
141
180
  "@types/react": "~18.3.1",
142
181
  "@types/react-dom": "^18.3.7",
182
+ "anser": "^2.3.5",
143
183
  "clsx": "^2.1.1",
184
+ "diff": "^9.0.0",
144
185
  "jsdom": "^26.1.0",
186
+ "katex": "^0.19.0",
145
187
  "lightningcss": "^1.33.0",
188
+ "mdast-util-from-markdown": "^2.1.0",
189
+ "mdast-util-gfm": "^3.1.0",
190
+ "mdast-util-math": "^3.0.0",
191
+ "micromark-core-commonmark": "^2.0.4",
192
+ "micromark-extension-gfm": "^3.0.0",
193
+ "micromark-extension-math": "^3.1.0",
194
+ "micromark-factory-space": "^2.1.0",
195
+ "micromark-util-character": "^2.1.1",
196
+ "micromark-util-classify-character": "^2.0.1",
197
+ "micromark-util-sanitize-uri": "^2.0.1",
198
+ "micromark-util-symbol": "^2.0.1",
146
199
  "react": "^18.2.0",
147
200
  "react-dom": "^18.2.0",
201
+ "shiki": "^4.5.0",
202
+ "simple-icons": "^16.35.0",
148
203
  "tsdown": "0.22.2",
149
204
  "typescript": "^5.9.3",
150
205
  "vitest": "^4.1.8"
151
206
  },
207
+ "pnpm": {
208
+ "overrides": {
209
+ "@deepseek-ai/cordis": "4.0.5",
210
+ "@deepseek-ai/cordis-plugin-loader": "1.0.5"
211
+ }
212
+ },
152
213
  "license": "MIT",
153
214
  "repository": {
154
215
  "type": "git",