@nelsonlongxiang/dsh-open-a2a-net 0.6.25 → 0.6.26

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.
@@ -174,10 +174,14 @@ export interface WorldNode {
174
174
  name?: string
175
175
  live: boolean
176
176
  /** Peer node (PR D v1 ruling): a remote host entry rendered as a card.
177
- * Excluded from local content bounds; no memberships, ever. */
177
+ * Excluded from local content bounds; canvas memberships allowed since
178
+ * gh#20 W-B (the peer rides its zone/id8 handle at the server boundary). */
178
179
  remote?: boolean
179
180
  /** Full peer URL (identity is the bare host:port in the node id). */
180
181
  peerUrl?: string
182
+ /** gh#20 W-B: the peer's zone/id8 remote handle (its first remote team
183
+ * row) — the server's canvas member form for cross-host teams. */
184
+ remoteHandle?: string
181
185
  /** Reachability score from a2a_probe (peers only). */
182
186
  score?: number
183
187
  /** Declared roster teams (a2a/teams.json) — the network-declaration half
package/package.json CHANGED
@@ -1,218 +1,214 @@
1
- {
2
- "name": "@nelsonlongxiang/dsh-open-a2a-net",
3
- "version": "0.6.25",
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
- "type": "module",
6
- "main": "lib/index.js",
7
- "types": "lib/types/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./lib/types/index.d.ts",
11
- "default": "./lib/index.js"
12
- },
13
- "./invariant": {
14
- "types": "./lib/types/invariant.d.ts",
15
- "default": "./lib/invariant.js"
16
- },
17
- "./client": {
18
- "types": "./lib/types/client/index.d.ts",
19
- "default": "./lib/client.js"
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
- },
37
- "./cordis.patch.yml": "./cordis.patch.yml",
38
- "./package.json": "./package.json"
39
- },
40
- "files": [
41
- "lib",
42
- "assets/nexusDist",
43
- "assets/stageDist",
44
- "images",
45
- "README_zh.md",
46
- "cordis.patch.yml",
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"
54
- ],
55
- "packageManager": "pnpm@11.28.5",
56
- "engines": {
57
- "pnpm": ">=11.24 <12"
58
- },
59
- "dsh": {
60
- "bundle": {
61
- "patch": "./cordis.patch.yml"
62
- },
63
- "client": {
64
- "platform": "web",
65
- "inject": [
66
- "@deepseek-ai/dsh-client-runtime",
67
- "@deepseek-ai/dsh-client-locale",
68
- "@deepseek-ai/dsh-client-ui-slots",
69
- "@deepseek-ai/dsh-client-ui-sidebar"
70
- ]
71
- }
72
- },
73
- "scripts": {
74
- "prepare": "pnpm build",
75
- "build": "tsc -p tsconfig.json && tsc -p tsconfig.client.json && tsdown && node scripts/copy-skill.mjs",
76
- "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit",
77
- "test": "vitest run",
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"
85
- },
86
- "peerDependencies": {
87
- "@deepseek-ai/cordis": ">=4.0.1",
88
- "@deepseek-ai/cordis-plugin-loader": ">=1.0.2",
89
- "@deepseek-ai/cordis-plugin-timer": ">=1.1.3",
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",
105
- "@deepseek-ai/schemastery": ">=3.18.1",
106
- "react": "^18.2.0"
107
- },
108
- "peerDependenciesMeta": {
109
- "@deepseek-ai/cordis": {
110
- "optional": true
111
- },
112
- "@deepseek-ai/cordis-plugin-loader": {
113
- "optional": true
114
- },
115
- "@deepseek-ai/cordis-plugin-timer": {
116
- "optional": true
117
- },
118
- "@deepseek-ai/dsh-agent": {
119
- "optional": true
120
- },
121
- "@deepseek-ai/dsh-client-locale": {
122
- "optional": true
123
- },
124
- "@deepseek-ai/dsh-client-runtime": {
125
- "optional": true
126
- },
127
- "@deepseek-ai/dsh-client-ui-primitives": {
128
- "optional": true
129
- },
130
- "@deepseek-ai/dsh-client-ui-sidebar": {
131
- "optional": true
132
- },
133
- "@deepseek-ai/dsh-client-ui-slots": {
134
- "optional": true
135
- },
136
- "@deepseek-ai/dsh-api-session-controller": {
137
- "optional": true
138
- },
139
- "@deepseek-ai/dsh-home-paths": {
140
- "optional": true
141
- },
142
- "@deepseek-ai/dsh-host-webserver": {
143
- "optional": true
144
- },
145
- "@deepseek-ai/dsh-invariants": {
146
- "optional": true
147
- },
148
- "@deepseek-ai/dsh-llm": {
149
- "optional": true
150
- },
151
- "@deepseek-ai/dsh-session": {
152
- "optional": true
153
- },
154
- "@deepseek-ai/dsh-session-persistence": {
155
- "optional": true
156
- },
157
- "@deepseek-ai/dsh-session-title": {
158
- "optional": true
159
- },
160
- "@deepseek-ai/dsh-tools": {
161
- "optional": true
162
- },
163
- "@deepseek-ai/schemastery": {
164
- "optional": true
165
- },
166
- "react": {
167
- "optional": true
168
- }
169
- },
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",
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",
178
- "@testing-library/react": "^16.3.0",
179
- "@types/node": "^24.13.3",
180
- "@types/react": "~18.3.1",
181
- "@types/react-dom": "^18.3.7",
182
- "anser": "^2.3.5",
183
- "clsx": "^2.1.1",
184
- "diff": "^9.0.0",
185
- "jsdom": "^26.1.0",
186
- "katex": "^0.19.0",
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",
199
- "react": "^18.2.0",
200
- "react-dom": "^18.2.0",
201
- "shiki": "^4.5.0",
202
- "simple-icons": "^16.35.0",
203
- "tsdown": "0.22.2",
204
- "typescript": "^5.9.3",
205
- "vitest": "^4.1.8"
206
- },
207
- "pnpm": {
208
- "overrides": {
209
- "@deepseek-ai/cordis": "4.0.5",
210
- "@deepseek-ai/cordis-plugin-loader": "1.0.5"
211
- }
212
- },
213
- "license": "MIT",
214
- "repository": {
215
- "type": "git",
216
- "url": "git+https://gitee.com/NelsonLongXiang/dsh-open-a2a-net.git"
217
- }
218
- }
1
+ {
2
+ "name": "@nelsonlongxiang/dsh-open-a2a-net",
3
+ "version": "0.6.26",
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
+ "type": "module",
6
+ "main": "lib/index.js",
7
+ "types": "lib/types/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./lib/types/index.d.ts",
11
+ "default": "./lib/index.js"
12
+ },
13
+ "./invariant": {
14
+ "types": "./lib/types/invariant.d.ts",
15
+ "default": "./lib/invariant.js"
16
+ },
17
+ "./client": {
18
+ "types": "./lib/types/client/index.d.ts",
19
+ "default": "./lib/client.js"
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
+ },
37
+ "./cordis.patch.yml": "./cordis.patch.yml",
38
+ "./package.json": "./package.json"
39
+ },
40
+ "files": [
41
+ "lib",
42
+ "cli",
43
+ "assets/nexusDist",
44
+ "assets/stageDist",
45
+ "images",
46
+ "README_zh.md",
47
+ "cordis.patch.yml",
48
+ "README.md",
49
+ "nexus-stage/src",
50
+ "nexus-stage/scripts",
51
+ "nexus-stage/package.json",
52
+ "nexus-stage/package-lock.json",
53
+ "nexus-stage/tsconfig.json",
54
+ "nexus-stage/vite.config.ts"
55
+ ],
56
+ "bin": {
57
+ "a2a-net": "cli/a2a.mjs"
58
+ },
59
+ "engines": {
60
+ "pnpm": ">=11.24 <12"
61
+ },
62
+ "dsh": {
63
+ "bundle": {
64
+ "patch": "./cordis.patch.yml"
65
+ },
66
+ "client": {
67
+ "platform": "web",
68
+ "inject": [
69
+ "@deepseek-ai/dsh-client-runtime",
70
+ "@deepseek-ai/dsh-client-locale",
71
+ "@deepseek-ai/dsh-client-ui-slots",
72
+ "@deepseek-ai/dsh-client-ui-sidebar"
73
+ ]
74
+ }
75
+ },
76
+ "peerDependencies": {
77
+ "@deepseek-ai/cordis": ">=4.0.1",
78
+ "@deepseek-ai/cordis-plugin-loader": ">=1.0.2",
79
+ "@deepseek-ai/cordis-plugin-timer": ">=1.1.3",
80
+ "@deepseek-ai/dsh-agent": ">=0.1.7-alpha.2",
81
+ "@deepseek-ai/dsh-api-session-controller": ">=0.1.7-alpha.2",
82
+ "@deepseek-ai/dsh-client-locale": ">=0.1.7-alpha.2",
83
+ "@deepseek-ai/dsh-client-runtime": ">=0.1.1-rc.2",
84
+ "@deepseek-ai/dsh-client-ui-primitives": ">=0.1.7-alpha.2",
85
+ "@deepseek-ai/dsh-client-ui-sidebar": ">=0.1.7-alpha.2",
86
+ "@deepseek-ai/dsh-client-ui-slots": ">=0.1.7-alpha.2",
87
+ "@deepseek-ai/dsh-home-paths": ">=0.1.7-alpha.2",
88
+ "@deepseek-ai/dsh-host-webserver": ">=0.1.7-alpha.2",
89
+ "@deepseek-ai/dsh-invariants": ">=0.1.7-alpha.2",
90
+ "@deepseek-ai/dsh-llm": ">=0.1.7-alpha.2",
91
+ "@deepseek-ai/dsh-session": ">=0.1.7-alpha.2",
92
+ "@deepseek-ai/dsh-session-persistence": ">=0.1.7-alpha.2",
93
+ "@deepseek-ai/dsh-session-title": ">=0.1.7-alpha.2",
94
+ "@deepseek-ai/dsh-tools": ">=0.1.7-alpha.2",
95
+ "@deepseek-ai/schemastery": ">=3.18.1",
96
+ "react": "^18.2.0"
97
+ },
98
+ "peerDependenciesMeta": {
99
+ "@deepseek-ai/cordis": {
100
+ "optional": true
101
+ },
102
+ "@deepseek-ai/cordis-plugin-loader": {
103
+ "optional": true
104
+ },
105
+ "@deepseek-ai/cordis-plugin-timer": {
106
+ "optional": true
107
+ },
108
+ "@deepseek-ai/dsh-agent": {
109
+ "optional": true
110
+ },
111
+ "@deepseek-ai/dsh-client-locale": {
112
+ "optional": true
113
+ },
114
+ "@deepseek-ai/dsh-client-runtime": {
115
+ "optional": true
116
+ },
117
+ "@deepseek-ai/dsh-client-ui-primitives": {
118
+ "optional": true
119
+ },
120
+ "@deepseek-ai/dsh-client-ui-sidebar": {
121
+ "optional": true
122
+ },
123
+ "@deepseek-ai/dsh-client-ui-slots": {
124
+ "optional": true
125
+ },
126
+ "@deepseek-ai/dsh-api-session-controller": {
127
+ "optional": true
128
+ },
129
+ "@deepseek-ai/dsh-home-paths": {
130
+ "optional": true
131
+ },
132
+ "@deepseek-ai/dsh-host-webserver": {
133
+ "optional": true
134
+ },
135
+ "@deepseek-ai/dsh-invariants": {
136
+ "optional": true
137
+ },
138
+ "@deepseek-ai/dsh-llm": {
139
+ "optional": true
140
+ },
141
+ "@deepseek-ai/dsh-session": {
142
+ "optional": true
143
+ },
144
+ "@deepseek-ai/dsh-session-persistence": {
145
+ "optional": true
146
+ },
147
+ "@deepseek-ai/dsh-session-title": {
148
+ "optional": true
149
+ },
150
+ "@deepseek-ai/dsh-tools": {
151
+ "optional": true
152
+ },
153
+ "@deepseek-ai/schemastery": {
154
+ "optional": true
155
+ },
156
+ "react": {
157
+ "optional": true
158
+ }
159
+ },
160
+ "devDependencies": {
161
+ "@deepseek-ai/dsh-client-store": "0.2.0-rc.2",
162
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
163
+ "@deepseek-ai/dsh-scope": "0.0.1-rc.1",
164
+ "@deepseek-ai/dsh-system-prompt": "0.1.0-rc.6",
165
+ "@deepseek-ai/dsh-util-code-language": "0.1.7-rc.2",
166
+ "@deepseek-ai/dsh-util-workspace-path": "0.1.2-alpha.2",
167
+ "@shikijs/langs": "^4.5.0",
168
+ "@testing-library/react": "^16.3.0",
169
+ "@types/node": "^24.13.3",
170
+ "@types/react": "~18.3.1",
171
+ "@types/react-dom": "^18.3.7",
172
+ "anser": "^2.3.5",
173
+ "clsx": "^2.1.1",
174
+ "diff": "^9.0.0",
175
+ "jsdom": "^26.1.0",
176
+ "katex": "^0.19.0",
177
+ "lightningcss": "^1.33.0",
178
+ "mdast-util-from-markdown": "^2.1.0",
179
+ "mdast-util-gfm": "^3.1.0",
180
+ "mdast-util-math": "^3.0.0",
181
+ "micromark-core-commonmark": "^2.0.4",
182
+ "micromark-extension-gfm": "^3.0.0",
183
+ "micromark-extension-math": "^3.1.0",
184
+ "micromark-factory-space": "^2.1.0",
185
+ "micromark-util-character": "^2.1.1",
186
+ "micromark-util-classify-character": "^2.0.1",
187
+ "micromark-util-sanitize-uri": "^2.0.1",
188
+ "micromark-util-symbol": "^2.0.1",
189
+ "react": "^18.2.0",
190
+ "react-dom": "^18.2.0",
191
+ "shiki": "^4.5.0",
192
+ "simple-icons": "^16.35.0",
193
+ "tsdown": "0.22.2",
194
+ "typescript": "^5.9.3",
195
+ "vitest": "^4.1.8"
196
+ },
197
+ "license": "MIT",
198
+ "repository": {
199
+ "type": "git",
200
+ "url": "git+https://gitee.com/NelsonLongXiang/dsh-open-a2a-net.git"
201
+ },
202
+ "scripts": {
203
+ "build": "tsc -p tsconfig.json && tsc -p tsconfig.client.json && tsdown && node scripts/copy-skill.mjs",
204
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit",
205
+ "test": "vitest run",
206
+ "test:unit": "vitest run tests/unit",
207
+ "test:wire": "vitest run tests/wire",
208
+ "test:mesh": "vitest run tests/mesh",
209
+ "test:live": "vitest run tests/live",
210
+ "test:build-layout": "vitest run tests/gates/build-layout.spec.ts",
211
+ "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",
212
+ "verify": "pnpm typecheck && pnpm build && pnpm test && pnpm test:build-layout && pnpm verify:nexus"
213
+ }
214
+ }