@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.
- package/README.md +15 -11
- package/README_zh.md +3 -2
- package/assets/nexusDist/assets/index-DszoLz8i.js +5 -0
- package/assets/nexusDist/assets/index-uQf7NwjF.css +1 -0
- package/assets/nexusDist/index.html +2 -2
- package/cli/a2a.mjs +300 -0
- package/lib/card.js +17 -0
- package/lib/cli-deposit.js +141 -0
- package/lib/index.js +636 -25
- package/lib/owner-settings.js +100 -0
- package/lib/peer-store.js +65 -9
- package/lib/task-ledger.js +44 -3
- package/lib/types/cli-deposit.d.ts +53 -0
- package/lib/types/owner-settings.d.ts +19 -0
- package/lib/types/peer-store.d.ts +22 -3
- package/lib/types/task-ledger.d.ts +18 -0
- package/lib/types/types.d.ts +10 -0
- package/nexus-stage/src/canvas-ops.ts +2 -2
- package/nexus-stage/src/federation.ts +6 -0
- package/nexus-stage/src/main.ts +97 -4
- package/nexus-stage/src/planning-menus.ts +16 -4
- package/nexus-stage/src/planning-types.ts +3 -0
- package/nexus-stage/src/planning-view.ts +208 -18
- package/nexus-stage/src/planning.css +4 -0
- package/nexus-stage/src/wb-chat.ts +670 -0
- package/nexus-stage/src/wb-directory.ts +222 -0
- package/nexus-stage/src/wb-ledger.ts +266 -0
- package/nexus-stage/src/wb-rail.ts +147 -0
- package/nexus-stage/src/workbench.css +190 -84
- package/nexus-stage/src/workbench.ts +385 -721
- package/nexus-stage/src/world.ts +5 -1
- package/package.json +214 -218
- package/assets/nexusDist/assets/index-034h1cNc.js +0 -3
- package/assets/nexusDist/assets/index-PG9EieGX.css +0 -1
package/nexus-stage/src/world.ts
CHANGED
|
@@ -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;
|
|
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.
|
|
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
|
-
"
|
|
43
|
-
"assets/
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"nexus-stage/
|
|
50
|
-
"nexus-stage/
|
|
51
|
-
"nexus-stage/package
|
|
52
|
-
"nexus-stage/
|
|
53
|
-
"nexus-stage/
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
},
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"@deepseek-ai/dsh-client-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"@deepseek-ai/
|
|
88
|
-
"@deepseek-ai/
|
|
89
|
-
"@deepseek-ai/
|
|
90
|
-
"@deepseek-ai/dsh-
|
|
91
|
-
"@deepseek-ai/dsh-
|
|
92
|
-
"@deepseek-ai/dsh-
|
|
93
|
-
"@deepseek-ai/dsh-
|
|
94
|
-
"@deepseek-ai/dsh-
|
|
95
|
-
"@deepseek-ai/
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"@deepseek-ai/
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"@deepseek-ai/
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"@deepseek-ai/
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
"@deepseek-ai/
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
"@
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
"
|
|
204
|
-
"
|
|
205
|
-
"
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
"
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
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
|
+
}
|