agenthub-multiagent-mcp 1.51.0 → 1.52.0
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 +192 -192
- package/dist/channel.js +3 -3
- package/dist/client.d.ts +30 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +107 -4
- package/dist/client.js.map +1 -1
- package/dist/client.unit.test.js +50 -0
- package/dist/client.unit.test.js.map +1 -1
- package/dist/commands/setup-shell.js +11 -11
- package/dist/daemon.js +76 -1
- package/dist/daemon.js.map +1 -1
- package/dist/hooks/periodicReminder.js +9 -9
- package/dist/setup.js +56 -56
- package/dist/streamingRuntimeLib.d.ts +132 -0
- package/dist/streamingRuntimeLib.d.ts.map +1 -0
- package/dist/streamingRuntimeLib.js +155 -0
- package/dist/streamingRuntimeLib.js.map +1 -0
- package/dist/streamingRuntimeLib.test.d.ts +2 -0
- package/dist/streamingRuntimeLib.test.d.ts.map +1 -0
- package/dist/streamingRuntimeLib.test.js +147 -0
- package/dist/streamingRuntimeLib.test.js.map +1 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +141 -13
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/openspec-viz/diagram-generator.js +54 -54
- package/dist/tools/openspec-viz/html-generator.js +503 -503
- package/dist/tools/tools.test.js +3 -2
- package/dist/tools/tools.test.js.map +1 -1
- package/dist/tools/zohoAttachments.test.d.ts +10 -0
- package/dist/tools/zohoAttachments.test.d.ts.map +1 -0
- package/dist/tools/zohoAttachments.test.js +204 -0
- package/dist/tools/zohoAttachments.test.js.map +1 -0
- package/dist/worker.js +10 -10
- package/native/agenthub-memvid/agenthub-memvid.linux-x64-gnu.node +0 -0
- package/native/agenthub-memvid/index.d.ts +58 -58
- package/native/agenthub-memvid/index.js +319 -319
- package/package.json +77 -77
- package/skills/catalog.json +76 -76
- package/skills/commands/close-session.md +144 -144
- package/skills/commands/start-session.md +77 -77
- package/skills/manifest.json +50 -50
- package/skills/skills/code-brain-hook/SKILL.md +61 -61
- package/skills/skills/deploy-staging/SKILL.md +164 -164
- package/skills/skills/deploy-vps-openclaw/SKILL.md +97 -97
- package/skills/skills/file-bug/SKILL.md +75 -75
- package/skills/skills/karpathy-guidelines/SKILL.md +67 -67
- package/skills/skills/multiagent-brainstorm/SKILL.md +142 -142
|
@@ -522,62 +522,62 @@ function inferRoutesFromScenarios(parsed) {
|
|
|
522
522
|
// HTML template for diagrams page
|
|
523
523
|
// ---------------------------------------------------------------------------
|
|
524
524
|
function buildDiagramHTML(title, changeId, date, diagrams) {
|
|
525
|
-
return `<!DOCTYPE html>
|
|
526
|
-
<html lang="en">
|
|
527
|
-
<head>
|
|
528
|
-
<meta charset="UTF-8">
|
|
529
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
530
|
-
<title>${esc(title)} - Architecture Diagrams</title>
|
|
531
|
-
<style>
|
|
532
|
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
|
|
533
|
-
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
534
|
-
body { font-family: 'Inter', sans-serif; background: #FAF8F3; color: #1a2332; padding: 40px; }
|
|
535
|
-
h1 { font-size: 28px; margin-bottom: 8px; color: #1a2332; border-left: 6px solid #FF8F00; padding-left: 16px; }
|
|
536
|
-
.subtitle { color: #7a8a9a; font-size: 14px; margin-bottom: 40px; padding-left: 22px; }
|
|
537
|
-
.diagram-section { margin-bottom: 60px; }
|
|
538
|
-
.diagram-section h2 { font-size: 20px; color: #4A7C59; margin-bottom: 8px; }
|
|
539
|
-
.diagram-source { font-size: 12px; color: #7a8a9a; margin-bottom: 12px; font-style: italic; }
|
|
540
|
-
.mermaid { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
|
|
541
|
-
.no-diagrams { text-align: center; padding: 60px; color: #7a8a9a; }
|
|
542
|
-
.footer { text-align: center; color: #7a8a9a; font-size: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #e0ddd5; }
|
|
543
|
-
@media print { body { padding: 20px; } .mermaid { box-shadow: none; border: 1px solid #ddd; } }
|
|
544
|
-
</style>
|
|
545
|
-
</head>
|
|
546
|
-
<body>
|
|
547
|
-
<h1>${esc(title)}</h1>
|
|
548
|
-
<p class="subtitle">Architecture Diagrams | OpenSpec: ${esc(changeId)} | ${date}</p>
|
|
549
|
-
|
|
525
|
+
return `<!DOCTYPE html>
|
|
526
|
+
<html lang="en">
|
|
527
|
+
<head>
|
|
528
|
+
<meta charset="UTF-8">
|
|
529
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
530
|
+
<title>${esc(title)} - Architecture Diagrams</title>
|
|
531
|
+
<style>
|
|
532
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
|
|
533
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
534
|
+
body { font-family: 'Inter', sans-serif; background: #FAF8F3; color: #1a2332; padding: 40px; }
|
|
535
|
+
h1 { font-size: 28px; margin-bottom: 8px; color: #1a2332; border-left: 6px solid #FF8F00; padding-left: 16px; }
|
|
536
|
+
.subtitle { color: #7a8a9a; font-size: 14px; margin-bottom: 40px; padding-left: 22px; }
|
|
537
|
+
.diagram-section { margin-bottom: 60px; }
|
|
538
|
+
.diagram-section h2 { font-size: 20px; color: #4A7C59; margin-bottom: 8px; }
|
|
539
|
+
.diagram-source { font-size: 12px; color: #7a8a9a; margin-bottom: 12px; font-style: italic; }
|
|
540
|
+
.mermaid { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
|
|
541
|
+
.no-diagrams { text-align: center; padding: 60px; color: #7a8a9a; }
|
|
542
|
+
.footer { text-align: center; color: #7a8a9a; font-size: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #e0ddd5; }
|
|
543
|
+
@media print { body { padding: 20px; } .mermaid { box-shadow: none; border: 1px solid #ddd; } }
|
|
544
|
+
</style>
|
|
545
|
+
</head>
|
|
546
|
+
<body>
|
|
547
|
+
<h1>${esc(title)}</h1>
|
|
548
|
+
<p class="subtitle">Architecture Diagrams | OpenSpec: ${esc(changeId)} | ${date}</p>
|
|
549
|
+
|
|
550
550
|
${diagrams.length === 0
|
|
551
551
|
? '<div class="no-diagrams"><p>No diagrams could be auto-inferred from this spec.</p><p>Add API routes, data models, or frontend pages to design.md to generate diagrams.</p></div>'
|
|
552
|
-
: diagrams.map((d, i) => `
|
|
553
|
-
<div class="diagram-section">
|
|
554
|
-
<h2>${i + 1}. ${esc(d.title)}</h2>
|
|
555
|
-
<p class="diagram-source">${esc(d.source)}</p>
|
|
556
|
-
<pre class="mermaid">
|
|
557
|
-
${d.mermaid}
|
|
558
|
-
</pre>
|
|
559
|
-
</div>`).join("")}
|
|
560
|
-
|
|
561
|
-
<div class="footer">Generated by OpenSpec Visualizer · AgentHub · ${date}</div>
|
|
562
|
-
|
|
563
|
-
<script src="https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js"></script>
|
|
564
|
-
<script>
|
|
565
|
-
mermaid.initialize({
|
|
566
|
-
startOnLoad: true,
|
|
567
|
-
theme: 'base',
|
|
568
|
-
themeVariables: {
|
|
569
|
-
primaryColor: '#E8F0EB',
|
|
570
|
-
primaryBorderColor: '#4A7C59',
|
|
571
|
-
primaryTextColor: '#1a2332',
|
|
572
|
-
lineColor: '#7a8a9a',
|
|
573
|
-
secondaryColor: '#FFF3E0',
|
|
574
|
-
tertiaryColor: '#FAF8F3',
|
|
575
|
-
fontFamily: 'Inter, sans-serif',
|
|
576
|
-
fontSize: '13px'
|
|
577
|
-
}
|
|
578
|
-
});
|
|
579
|
-
</script>
|
|
580
|
-
</body>
|
|
552
|
+
: diagrams.map((d, i) => `
|
|
553
|
+
<div class="diagram-section">
|
|
554
|
+
<h2>${i + 1}. ${esc(d.title)}</h2>
|
|
555
|
+
<p class="diagram-source">${esc(d.source)}</p>
|
|
556
|
+
<pre class="mermaid">
|
|
557
|
+
${d.mermaid}
|
|
558
|
+
</pre>
|
|
559
|
+
</div>`).join("")}
|
|
560
|
+
|
|
561
|
+
<div class="footer">Generated by OpenSpec Visualizer · AgentHub · ${date}</div>
|
|
562
|
+
|
|
563
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js"></script>
|
|
564
|
+
<script>
|
|
565
|
+
mermaid.initialize({
|
|
566
|
+
startOnLoad: true,
|
|
567
|
+
theme: 'base',
|
|
568
|
+
themeVariables: {
|
|
569
|
+
primaryColor: '#E8F0EB',
|
|
570
|
+
primaryBorderColor: '#4A7C59',
|
|
571
|
+
primaryTextColor: '#1a2332',
|
|
572
|
+
lineColor: '#7a8a9a',
|
|
573
|
+
secondaryColor: '#FFF3E0',
|
|
574
|
+
tertiaryColor: '#FAF8F3',
|
|
575
|
+
fontFamily: 'Inter, sans-serif',
|
|
576
|
+
fontSize: '13px'
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
</script>
|
|
580
|
+
</body>
|
|
581
581
|
</html>`;
|
|
582
582
|
}
|
|
583
583
|
// ---------------------------------------------------------------------------
|