@ai_mind/dsh-a2a 1.1.2 → 1.1.3
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/client.js +2 -0
- package/lib/panel.js +3 -2
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -96,6 +96,7 @@ window.__ModuleLoader__.load({
|
|
|
96
96
|
fieldServerHost: '监听地址',
|
|
97
97
|
fieldServerPort: '监听端口',
|
|
98
98
|
fieldServerMountPath: '挂载路径',
|
|
99
|
+
fieldServerTrustProxy: '信任代理头(X-Forwarded-*)',
|
|
99
100
|
fieldServerStreaming: '流式 SSE',
|
|
100
101
|
fieldServerPushNotifications: '推送通知',
|
|
101
102
|
fieldServerExtendedCard: '扩展 Agent Card',
|
|
@@ -207,6 +208,7 @@ window.__ModuleLoader__.load({
|
|
|
207
208
|
fieldServerHost: 'Listen host',
|
|
208
209
|
fieldServerPort: 'Listen port',
|
|
209
210
|
fieldServerMountPath: 'Mount path',
|
|
211
|
+
fieldServerTrustProxy: 'Trust proxy headers (X-Forwarded-*)',
|
|
210
212
|
fieldServerStreaming: 'Streaming SSE',
|
|
211
213
|
fieldServerPushNotifications: 'Push notifications',
|
|
212
214
|
fieldServerExtendedCard: 'Extended Agent Card',
|
package/lib/panel.js
CHANGED
|
@@ -41,6 +41,7 @@ const FIELDS = [
|
|
|
41
41
|
placeholder: '留空 = 复用 DSH 端口',
|
|
42
42
|
},
|
|
43
43
|
{ path: 'server.mountPath', type: 'string', group: 'server' },
|
|
44
|
+
{ path: 'server.trustProxy', type: 'boolean', group: 'server' },
|
|
44
45
|
{ path: 'server.streaming', type: 'boolean', group: 'server' },
|
|
45
46
|
{ path: 'server.pushNotifications', type: 'boolean', group: 'server' },
|
|
46
47
|
{ path: 'server.extendedCard', type: 'boolean', group: 'server' },
|
|
@@ -286,7 +287,7 @@ export function createPanelRouter({ ctx, config, mountPath, logger, status, heal
|
|
|
286
287
|
res.setHeader('Cache-Control', 'no-store')
|
|
287
288
|
res.json({
|
|
288
289
|
ok: true,
|
|
289
|
-
plugin: { name: PLUGIN_NAME, version: '1.1.
|
|
290
|
+
plugin: { name: PLUGIN_NAME, version: '1.1.3' },
|
|
290
291
|
mountPath,
|
|
291
292
|
...payload,
|
|
292
293
|
...(typeof status === 'function' ? { server: status() } : {}),
|
|
@@ -383,7 +384,7 @@ export function createPanelRouter({ ctx, config, mountPath, logger, status, heal
|
|
|
383
384
|
logger.info('[a2a] configuration updated from the settings panel')
|
|
384
385
|
res.json({
|
|
385
386
|
ok: true,
|
|
386
|
-
plugin: { name: PLUGIN_NAME, version: '1.1.
|
|
387
|
+
plugin: { name: PLUGIN_NAME, version: '1.1.3' },
|
|
387
388
|
mountPath,
|
|
388
389
|
...describe(live, liveEntry, []),
|
|
389
390
|
...(typeof status === 'function' ? { server: status() } : {}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai_mind/dsh-a2a",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Production A2A (Agent2Agent) v1.0 server for DeepSeek Harness agents: JSON-RPC + HTTP+JSON bindings, streaming, tasks, push notifications and signed Agent Cards.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|