@xcanwin/manyoyo 6.0.1 → 6.0.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/lib/web/frontend/app.js +20 -0
- package/lib/web/frontend/codemirror.bundle.js +1173 -1034
- package/lib/web/server.js +20 -46
- package/package.json +15 -15
package/lib/web/frontend/app.js
CHANGED
|
@@ -423,6 +423,12 @@
|
|
|
423
423
|
} else if (event.status) {
|
|
424
424
|
bodyParts.push({ label: '状态', value: event.status });
|
|
425
425
|
}
|
|
426
|
+
if (event.result) {
|
|
427
|
+
bodyParts.push({ label: '结果', value: event.result });
|
|
428
|
+
}
|
|
429
|
+
if (event.error) {
|
|
430
|
+
bodyParts.push({ label: '错误', value: event.error });
|
|
431
|
+
}
|
|
426
432
|
}
|
|
427
433
|
if (event.kind === 'mcp') {
|
|
428
434
|
if (event.server || event.tool) {
|
|
@@ -444,6 +450,20 @@
|
|
|
444
450
|
if (event.kind === 'tool' && event.toolName) {
|
|
445
451
|
bodyParts.push({ label: '工具', value: event.toolName });
|
|
446
452
|
}
|
|
453
|
+
if (event.kind === 'tool' && (event.provider === 'codex' || event.provider === 'opencode')) {
|
|
454
|
+
if (event.argumentSummary) {
|
|
455
|
+
bodyParts.push({ label: '参数摘要', value: event.argumentSummary });
|
|
456
|
+
}
|
|
457
|
+
if (event.arguments) {
|
|
458
|
+
bodyParts.push({ label: '参数', value: event.arguments });
|
|
459
|
+
}
|
|
460
|
+
if (event.result) {
|
|
461
|
+
bodyParts.push({ label: '结果', value: event.result });
|
|
462
|
+
}
|
|
463
|
+
if (event.error) {
|
|
464
|
+
bodyParts.push({ label: '错误', value: event.error });
|
|
465
|
+
}
|
|
466
|
+
}
|
|
447
467
|
if ((event.kind === 'agent_message' || event.kind === 'status' || event.kind === 'error') && event.detail) {
|
|
448
468
|
bodyParts.push({ label: '详情', value: event.detail });
|
|
449
469
|
}
|