@jaimevalasek/aioson 1.3.0 → 1.5.1
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/CHANGELOG.md +31 -1
- package/LICENSE +661 -21
- package/README.md +22 -3
- package/docs/en/squad-dashboard.md +372 -0
- package/docs/openclaw-bridge.md +308 -0
- package/docs/pt/README.md +62 -2
- package/docs/pt/advisor-spec.md +5 -5
- package/docs/pt/agentes-customizados.md +670 -0
- package/docs/pt/agentes.md +235 -23
- package/docs/pt/automacao-squads.md +407 -0
- package/docs/pt/cenarios.md +49 -5
- package/docs/pt/clientes-ai.md +62 -0
- package/docs/pt/comandos-cli.md +226 -17
- package/docs/pt/deyvin.md +115 -0
- package/docs/pt/genome-3.0-spec.md +11 -11
- package/docs/pt/inicio-rapido.md +63 -2
- package/docs/pt/memoria-contexto.md +255 -0
- package/docs/pt/output-strategy-delivery.md +655 -0
- package/docs/pt/profiler-system.md +17 -17
- package/docs/pt/runtime-observability.md +5 -1
- package/docs/pt/skills.md +175 -0
- package/docs/pt/squad-dashboard.md +373 -0
- package/docs/pt/{squad-genoma.md → squad-genome.md} +81 -75
- package/docs/testing/genome-2.0-matrix.md +5 -5
- package/docs/testing/genome-2.0-rollout.md +10 -10
- package/package.json +4 -4
- package/src/agents.js +21 -5
- package/src/backup-local.js +74 -0
- package/src/backup-provider.js +303 -0
- package/src/cli.js +276 -2
- package/src/commands/agents.js +22 -4
- package/src/commands/backup-local-cmd.js +25 -0
- package/src/commands/backup.js +533 -0
- package/src/commands/cloud.js +17 -17
- package/src/commands/context-pack.js +45 -0
- package/src/commands/implementation-plan.js +340 -0
- package/src/commands/learning.js +134 -0
- package/src/commands/live.js +1583 -0
- package/src/commands/runtime.js +1075 -2
- package/src/commands/scan-project.js +288 -24
- package/src/commands/setup-context.js +30 -2
- package/src/commands/skill.js +558 -0
- package/src/commands/squad-agent-create.js +788 -0
- package/src/commands/squad-daemon.js +209 -0
- package/src/commands/squad-dashboard.js +39 -0
- package/src/commands/squad-deploy.js +64 -0
- package/src/commands/squad-doctor.js +103 -1
- package/src/commands/squad-investigate.js +261 -0
- package/src/commands/squad-learning.js +209 -0
- package/src/commands/squad-mcp.js +270 -0
- package/src/commands/squad-pipeline.js +247 -1
- package/src/commands/squad-plan.js +329 -0
- package/src/commands/squad-processes.js +56 -0
- package/src/commands/squad-recovery.js +42 -0
- package/src/commands/squad-roi.js +291 -0
- package/src/commands/squad-score.js +250 -0
- package/src/commands/squad-status.js +38 -2
- package/src/commands/squad-validate.js +118 -1
- package/src/commands/squad-webhook.js +160 -0
- package/src/commands/squad-worker.js +191 -0
- package/src/commands/squad-worktrees.js +75 -0
- package/src/commands/test-agents.js +6 -1
- package/src/commands/web-map.js +70 -0
- package/src/commands/web-scrape.js +71 -0
- package/src/commands/workflow-next.js +8 -1
- package/src/commands/workflow-status.js +250 -0
- package/src/constants.js +88 -16
- package/src/context-memory.js +837 -0
- package/src/context-writer.js +47 -1
- package/src/delivery-runner.js +319 -0
- package/src/genome-files.js +1 -1
- package/src/genome-format.js +1 -1
- package/src/i18n/messages/en.js +333 -8
- package/src/i18n/messages/es.js +240 -6
- package/src/i18n/messages/fr.js +239 -5
- package/src/i18n/messages/pt-BR.js +330 -12
- package/src/installer.js +30 -2
- package/src/lib/genomes/compat.js +1 -1
- package/src/lib/webhook-server.js +328 -0
- package/src/mcp-connectors/registry.js +602 -0
- package/src/runtime-store.js +1037 -42
- package/src/session-handoff.js +77 -0
- package/src/squad/external-session.js +180 -0
- package/src/squad/inter-squad.js +74 -0
- package/src/squad/recovery-context.js +201 -0
- package/src/squad/worktree-manager.js +114 -0
- package/src/squad-daemon.js +490 -0
- package/src/squad-dashboard/api.js +223 -0
- package/src/squad-dashboard/attachment-handler.js +93 -0
- package/src/squad-dashboard/context-monitor.js +157 -0
- package/src/squad-dashboard/execution-logs.js +115 -0
- package/src/squad-dashboard/hunk-review.js +209 -0
- package/src/squad-dashboard/metrics.js +133 -0
- package/src/squad-dashboard/process-monitor.js +125 -0
- package/src/squad-dashboard/renderer.js +858 -0
- package/src/squad-dashboard/server.js +232 -0
- package/src/squad-dashboard/styles.js +525 -0
- package/src/squad-dashboard/token-tracker.js +99 -0
- package/src/web.js +284 -0
- package/src/worker-runner.js +339 -0
- package/template/.aioson/agents/analyst.md +40 -9
- package/template/.aioson/agents/architect.md +24 -5
- package/template/.aioson/agents/dev.md +254 -25
- package/template/.aioson/agents/deyvin.md +174 -0
- package/template/.aioson/agents/discovery-design-doc.md +25 -1
- package/template/.aioson/agents/{genoma.md → genome.md} +20 -20
- package/template/.aioson/agents/neo.md +152 -0
- package/template/.aioson/agents/orache.md +388 -0
- package/template/.aioson/agents/orchestrator.md +63 -2
- package/template/.aioson/agents/pair.md +5 -0
- package/template/.aioson/agents/pm.md +17 -5
- package/template/.aioson/agents/product.md +113 -29
- package/template/.aioson/agents/profiler-enricher.md +1 -1
- package/template/.aioson/agents/profiler-forge.md +9 -9
- package/template/.aioson/agents/profiler-researcher.md +1 -1
- package/template/.aioson/agents/qa.md +18 -5
- package/template/.aioson/agents/setup.md +138 -18
- package/template/.aioson/agents/sheldon.md +603 -0
- package/template/.aioson/agents/squad.md +866 -28
- package/template/.aioson/agents/tester.md +254 -0
- package/template/.aioson/agents/ux-ui.md +289 -34
- package/template/.aioson/config.md +181 -0
- package/template/.aioson/context/spec.md.template +17 -0
- package/template/.aioson/genomes/.gitkeep +0 -0
- package/template/.aioson/installed-skills/.gitkeep +0 -0
- package/template/.aioson/locales/en/agents/analyst.md +34 -4
- package/template/.aioson/locales/en/agents/architect.md +18 -0
- package/template/.aioson/locales/en/agents/dev.md +155 -11
- package/template/.aioson/locales/en/agents/deyvin.md +137 -0
- package/template/.aioson/locales/en/agents/{genoma.md → genome.md} +14 -14
- package/template/.aioson/locales/en/agents/neo.md +8 -0
- package/template/.aioson/locales/en/agents/orchestrator.md +62 -2
- package/template/.aioson/locales/en/agents/pair.md +5 -0
- package/template/.aioson/locales/en/agents/pm.md +7 -0
- package/template/.aioson/locales/en/agents/product.md +35 -17
- package/template/.aioson/locales/en/agents/qa.md +56 -0
- package/template/.aioson/locales/en/agents/setup.md +53 -6
- package/template/.aioson/locales/en/agents/sheldon.md +340 -0
- package/template/.aioson/locales/en/agents/squad.md +203 -15
- package/template/.aioson/locales/en/agents/ux-ui.md +383 -35
- package/template/.aioson/locales/es/agents/analyst.md +24 -4
- package/template/.aioson/locales/es/agents/architect.md +18 -0
- package/template/.aioson/locales/es/agents/dev.md +136 -9
- package/template/.aioson/locales/es/agents/deyvin.md +97 -0
- package/template/.aioson/locales/es/agents/{genoma.md → genome.md} +13 -13
- package/template/.aioson/locales/es/agents/neo.md +48 -0
- package/template/.aioson/locales/es/agents/orache.md +103 -0
- package/template/.aioson/locales/es/agents/orchestrator.md +62 -2
- package/template/.aioson/locales/es/agents/pair.md +5 -0
- package/template/.aioson/locales/es/agents/pm.md +7 -0
- package/template/.aioson/locales/es/agents/product.md +13 -3
- package/template/.aioson/locales/es/agents/qa.md +33 -0
- package/template/.aioson/locales/es/agents/setup.md +30 -6
- package/template/.aioson/locales/es/agents/sheldon.md +192 -0
- package/template/.aioson/locales/es/agents/squad.md +284 -15
- package/template/.aioson/locales/es/agents/ux-ui.md +34 -25
- package/template/.aioson/locales/fr/agents/analyst.md +24 -4
- package/template/.aioson/locales/fr/agents/architect.md +18 -0
- package/template/.aioson/locales/fr/agents/dev.md +136 -9
- package/template/.aioson/locales/fr/agents/deyvin.md +97 -0
- package/template/.aioson/locales/fr/agents/{genoma.md → genome.md} +7 -7
- package/template/.aioson/locales/fr/agents/neo.md +48 -0
- package/template/.aioson/locales/fr/agents/orache.md +104 -0
- package/template/.aioson/locales/fr/agents/orchestrator.md +62 -2
- package/template/.aioson/locales/fr/agents/pair.md +5 -0
- package/template/.aioson/locales/fr/agents/pm.md +7 -0
- package/template/.aioson/locales/fr/agents/product.md +13 -3
- package/template/.aioson/locales/fr/agents/qa.md +33 -0
- package/template/.aioson/locales/fr/agents/setup.md +30 -6
- package/template/.aioson/locales/fr/agents/sheldon.md +192 -0
- package/template/.aioson/locales/fr/agents/squad.md +279 -10
- package/template/.aioson/locales/fr/agents/ux-ui.md +34 -25
- package/template/.aioson/locales/pt-BR/agents/analyst.md +45 -4
- package/template/.aioson/locales/pt-BR/agents/architect.md +29 -0
- package/template/.aioson/locales/pt-BR/agents/dev.md +167 -15
- package/template/.aioson/locales/pt-BR/agents/deyvin.md +137 -0
- package/template/.aioson/locales/pt-BR/agents/{genoma.md → genome.md} +49 -49
- package/template/.aioson/locales/pt-BR/agents/neo.md +147 -0
- package/template/.aioson/locales/pt-BR/agents/orache.md +137 -0
- package/template/.aioson/locales/pt-BR/agents/orchestrator.md +62 -2
- package/template/.aioson/locales/pt-BR/agents/pair.md +5 -0
- package/template/.aioson/locales/pt-BR/agents/pm.md +7 -0
- package/template/.aioson/locales/pt-BR/agents/product.md +43 -20
- package/template/.aioson/locales/pt-BR/agents/qa.md +67 -0
- package/template/.aioson/locales/pt-BR/agents/setup.md +53 -6
- package/template/.aioson/locales/pt-BR/agents/sheldon.md +192 -0
- package/template/.aioson/locales/pt-BR/agents/squad.md +591 -47
- package/template/.aioson/locales/pt-BR/agents/ux-ui.md +369 -22
- package/template/.aioson/my-agents/.gitkeep +0 -0
- package/template/.aioson/rules/.gitkeep +0 -0
- package/template/.aioson/rules/squad/.gitkeep +0 -0
- package/template/.aioson/rules/squad/README.md +50 -0
- package/template/.aioson/schemas/genome-meta.schema.json +1 -1
- package/template/.aioson/schemas/genome.schema.json +1 -1
- package/template/.aioson/schemas/squad-blueprint.schema.json +32 -0
- package/template/.aioson/schemas/squad-manifest.schema.json +434 -1
- package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +205 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -0
- package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +210 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -0
- package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +203 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +407 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +272 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +524 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +277 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +289 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +437 -0
- package/template/.aioson/skills/design/interface-design/SKILL.md +47 -0
- package/template/.aioson/skills/design/interface-design/references/components-and-states.md +105 -0
- package/template/.aioson/skills/design/interface-design/references/design-directions.md +101 -0
- package/template/.aioson/skills/design/interface-design/references/handoff-and-quality.md +71 -0
- package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +74 -0
- package/template/.aioson/skills/design/interface-design/references/tokens-and-depth.md +173 -0
- package/template/.aioson/skills/design/premium-command-center-ui/SKILL.md +62 -0
- package/template/.aioson/skills/design/premium-command-center-ui/references/operations.md +74 -0
- package/template/.aioson/skills/design/premium-command-center-ui/references/patterns.md +116 -0
- package/template/.aioson/skills/design/premium-command-center-ui/references/validation.md +47 -0
- package/template/.aioson/skills/design/premium-command-center-ui/references/visual-system.md +215 -0
- package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +209 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -0
- package/template/.aioson/skills/design-system/SKILL.md +92 -0
- package/template/.aioson/skills/design-system/cognitive-core-ui.skill +0 -0
- package/template/.aioson/skills/design-system/components/SKILL.md +274 -0
- package/template/.aioson/skills/design-system/components/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/dashboards/SKILL.md +184 -0
- package/template/.aioson/skills/design-system/dashboards/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/foundations/SKILL.md +250 -0
- package/template/.aioson/skills/design-system/foundations/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/motion/SKILL.md +197 -0
- package/template/.aioson/skills/design-system/motion/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/patterns/SKILL.md +231 -0
- package/template/.aioson/skills/design-system/patterns/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/premium-visual-design/SKILL.md +83 -0
- package/template/.aioson/skills/premium-visual-design/components/agent-badge.md +92 -0
- package/template/.aioson/skills/premium-visual-design/components/dependency-node.md +102 -0
- package/template/.aioson/skills/premium-visual-design/components/mention-autocomplete.md +136 -0
- package/template/.aioson/skills/premium-visual-design/components/notification-center.md +136 -0
- package/template/.aioson/skills/premium-visual-design/components/review-action-bar.md +188 -0
- package/template/.aioson/skills/premium-visual-design/components/team-switcher.md +131 -0
- package/template/.aioson/skills/premium-visual-design/patterns/agent-message-thread.md +198 -0
- package/template/.aioson/skills/premium-visual-design/patterns/notification-panel.md +275 -0
- package/template/.aioson/skills/premium-visual-design/patterns/review-workflow-ui.md +234 -0
- package/template/.aioson/skills/premium-visual-design/patterns/task-dependency-graph.md +147 -0
- package/template/.aioson/skills/premium-visual-design/tokens/status-extended.md +142 -0
- package/template/.aioson/skills/squad/SKILL.md +58 -0
- package/template/.aioson/skills/squad/domains/.gitkeep +0 -0
- package/template/.aioson/skills/squad/formats/.gitkeep +0 -0
- package/template/.aioson/skills/squad/formats/catalog.json +15 -0
- package/template/.aioson/skills/squad/formats/content/blog-post.md +47 -0
- package/template/.aioson/skills/squad/formats/content/newsletter.md +47 -0
- package/template/.aioson/skills/squad/formats/creative/podcast-script.md +43 -0
- package/template/.aioson/skills/squad/formats/creative/video-script.md +41 -0
- package/template/.aioson/skills/squad/formats/social/instagram-feed.md +42 -0
- package/template/.aioson/skills/squad/formats/social/linkedin-post.md +42 -0
- package/template/.aioson/skills/squad/formats/social/tiktok.md +39 -0
- package/template/.aioson/skills/squad/formats/social/twitter-thread.md +39 -0
- package/template/.aioson/skills/squad/formats/social/youtube-long.md +47 -0
- package/template/.aioson/skills/squad/formats/social/youtube-shorts.md +39 -0
- package/template/.aioson/skills/squad/patterns/.gitkeep +0 -0
- package/template/.aioson/skills/squad/patterns/multi-platform-pattern.md +108 -0
- package/template/.aioson/skills/squad/patterns/persona-based-pattern.md +98 -0
- package/template/.aioson/skills/squad/patterns/pipeline-pattern.md +106 -0
- package/template/.aioson/skills/squad/patterns/review-loop-pattern.md +81 -0
- package/template/.aioson/skills/squad/references/.gitkeep +0 -0
- package/template/.aioson/skills/squad/references/checklist-templates.md +122 -0
- package/template/.aioson/skills/squad/references/executor-archetypes.md +123 -0
- package/template/.aioson/skills/squad/references/workflow-templates.md +169 -0
- package/template/.aioson/skills/static/debugging-protocol.md +42 -0
- package/template/.aioson/skills/static/git-worktrees.md +36 -0
- package/template/.aioson/tasks/implementation-plan.md +307 -0
- package/template/.aioson/tasks/squad-create.md +1 -1
- package/template/.aioson/tasks/squad-design.md +28 -0
- package/template/.aioson/tasks/squad-execution-plan.md +279 -0
- package/template/.aioson/tasks/squad-export.md +1 -1
- package/template/.aioson/tasks/squad-investigate.md +44 -0
- package/template/.aioson/tasks/squad-learning-review.md +44 -0
- package/template/.aioson/tasks/squad-output-config.md +177 -0
- package/template/.aioson/tasks/squad-profile.md +48 -0
- package/template/.aioson/tasks/squad-review.md +61 -0
- package/template/.aioson/tasks/squad-task-decompose.md +66 -0
- package/template/.aioson/tasks/squad-validate.md +1 -1
- package/template/.claude/commands/aioson/agent/deyvin.md +5 -0
- package/template/.claude/commands/aioson/agent/discovery-design-doc.md +5 -0
- package/template/.claude/commands/aioson/agent/genome.md +5 -0
- package/template/.claude/commands/aioson/agent/neo.md +5 -0
- package/template/.claude/commands/aioson/agent/product.md +5 -0
- package/template/.claude/commands/aioson/agent/profiler-enricher.md +5 -0
- package/template/.claude/commands/aioson/agent/profiler-forge.md +5 -0
- package/template/.claude/commands/aioson/agent/profiler-researcher.md +5 -0
- package/template/.claude/commands/aioson/agent/squad.md +5 -0
- package/template/.claude/commands/aioson/agent/tester.md +5 -0
- package/template/.gemini/GEMINI.md +3 -0
- package/template/.gemini/commands/aios-deyvin.toml +6 -0
- package/template/.gemini/commands/aios-neo.toml +4 -0
- package/template/.gemini/commands/aios-pair.toml +6 -0
- package/template/.gemini/commands/aios-tester.toml +6 -0
- package/template/AGENTS.md +37 -6
- package/template/CLAUDE.md +34 -4
- package/template/OPENCODE.md +8 -2
- package/template/squad-searches/.gitkeep +0 -0
- package/template/.aioson/skills/static/interface-design.md +0 -372
- package/template/.aioson/skills/static/premium-command-center-ui.md +0 -190
- /package/template/.aioson/{genomas → docs}/.gitkeep +0 -0
- /package/template/.claude/commands/aioson/{analyst.md → agent/analyst.md} +0 -0
- /package/template/.claude/commands/aioson/{architect.md → agent/architect.md} +0 -0
- /package/template/.claude/commands/aioson/{dev.md → agent/dev.md} +0 -0
- /package/template/.claude/commands/aioson/{orchestrator.md → agent/orchestrator.md} +0 -0
- /package/template/.claude/commands/aioson/{pm.md → agent/pm.md} +0 -0
- /package/template/.claude/commands/aioson/{qa.md → agent/qa.md} +0 -0
- /package/template/.claude/commands/aioson/{setup.md → agent/setup.md} +0 -0
- /package/template/.claude/commands/aioson/{ux-ui.md → agent/ux-ui.md} +0 -0
package/README.md
CHANGED
|
@@ -67,6 +67,13 @@ The npm package is scoped as `@jaimevalasek/aioson`, but the installed CLI comma
|
|
|
67
67
|
- [`aioson agent:prompt`](docs/en/cli-reference.md#agentprompt) `<agent> [--tool=codex|claude|gemini|opencode]`
|
|
68
68
|
- [`aioson workflow:plan`](docs/en/cli-reference.md#workflowplan) `[path] [--classification=MICRO|SMALL|MEDIUM] [--json]`
|
|
69
69
|
|
|
70
|
+
**Tracked live sessions for external AI clients**
|
|
71
|
+
- `aioson live:start [path] --tool=codex|claude|gemini|opencode --agent=<agent> [--plan=<file>] [--no-launch]`
|
|
72
|
+
- `aioson runtime:emit [path] --agent=<agent> --type=task_started|task_completed|milestone|correction|block|plan_checkpoint --summary="..."`
|
|
73
|
+
- `aioson live:handoff [path] --agent=<agent> --to=<next-agent> --reason="..."`
|
|
74
|
+
- `aioson live:status [path] [--agent=<agent>] [--watch=2] [--json]`
|
|
75
|
+
- `aioson live:close [path] [--agent=<agent>] [--status=completed|failed] --summary="..."`
|
|
76
|
+
|
|
70
77
|
**Locale**
|
|
71
78
|
- [`aioson i18n:add`](docs/en/i18n.md#create-a-locale-scaffold) `<locale>`
|
|
72
79
|
- [`aioson locale:apply`](docs/en/i18n.md#apply-localized-agent-prompts) `[path] [--lang=en|pt-BR|es|fr]`
|
|
@@ -101,6 +108,14 @@ If your AI CLI does not show a visual agent picker, these commands let you inter
|
|
|
101
108
|
- [`aioson agent:prompt setup --tool=codex`](docs/en/cli-reference.md#agentprompt) — get activation prompt for any agent
|
|
102
109
|
- [`aioson workflow:plan --classification=SMALL`](docs/en/cli-reference.md#workflowplan) — see the recommended agent sequence
|
|
103
110
|
|
|
111
|
+
**Tracked live session flow**
|
|
112
|
+
- `aioson live:start . --tool=codex --agent=deyvin --plan=plan.md --no-launch` — open a tracked session envelope before the AI client starts working
|
|
113
|
+
- `aioson runtime:emit . --agent=deyvin --type=task_started --title="Fix stock modal"` — mark the start of a visible work slice
|
|
114
|
+
- `aioson runtime:emit . --agent=deyvin --type=task_completed --summary="Stock modal fixed" --refs="src/app.js,src/styles.css"` — register a completed slice
|
|
115
|
+
- `aioson live:handoff . --agent=deyvin --to=product --reason="Scope needs product decision"` — keep the same live session and switch active AIOSON agent
|
|
116
|
+
- `aioson live:status . --agent=product --watch=2` — monitor status, active agent, plan progress, and process liveness
|
|
117
|
+
- `aioson live:close . --agent=product --summary="Session closed"` — finish the session and generate `summary.md`
|
|
118
|
+
|
|
104
119
|
**Setup and locale**
|
|
105
120
|
- [`aioson init my-project --lang=pt-BR --tool=codex`](docs/en/cli-reference.md#init)
|
|
106
121
|
- [`aioson install --lang=es --tool=claude`](docs/en/cli-reference.md#install)
|
|
@@ -135,7 +150,7 @@ If your AI CLI does not show a visual agent picker, these commands let you inter
|
|
|
135
150
|
- [`aioson test:smoke --profile=parallel`](docs/en/cli-reference.md#testsmoke)
|
|
136
151
|
- [`aioson test:package --dry-run`](docs/en/cli-reference.md#testpackage)
|
|
137
152
|
|
|
138
|
-
Default planning includes `@product` → `@ux-ui` for SMALL/MEDIUM projects.
|
|
153
|
+
Default planning includes `@product` → UI/UX (`@ux-ui`) for SMALL/MEDIUM projects.
|
|
139
154
|
|
|
140
155
|
## JSON output for CI
|
|
141
156
|
Use `--json` on selected commands. See [JSON schemas](docs/en/json-schemas.md) for output contracts.
|
|
@@ -212,6 +227,9 @@ See the [Web3 guide](docs/en/web3.md) for the full reference.
|
|
|
212
227
|
- [Browser QA guide](docs/en/qa-browser.md) — `qa:init`, `qa:doctor`, `qa:run`, `qa:scan`, `qa:report`
|
|
213
228
|
- [Web3 guide](docs/en/web3.md) — `project_type=dapp`, framework detection, Web3 context fields
|
|
214
229
|
- [JSON schemas](docs/en/json-schemas.md) — `--json` output contracts for all commands
|
|
230
|
+
- [AI clients guide (PT-BR)](docs/pt/clientes-ai.md) — tracked usage with Codex, Claude, Gemini, and OpenCode
|
|
231
|
+
- [Runtime observability (PT-BR)](docs/pt/runtime-observability.md) — `live:start`, `runtime:emit`, `live:handoff`, `live:status`, `live:close`, and dashboard projections
|
|
232
|
+
- [Squad Dashboard](docs/en/squad-dashboard.md) — `squad:dashboard`, real-time monitoring of agents, context, tokens, logs and metrics
|
|
215
233
|
|
|
216
234
|
**Release (internal)**
|
|
217
235
|
- [Release guide](docs/en/release.md)
|
|
@@ -221,10 +239,11 @@ See the [Web3 guide](docs/en/web3.md) for the full reference.
|
|
|
221
239
|
**Portuguese guides**
|
|
222
240
|
- [Início rápido](docs/pt/inicio-rapido.md)
|
|
223
241
|
- [Guia de agentes](docs/pt/agentes.md)
|
|
224
|
-
- [Squad e
|
|
242
|
+
- [Squad e Genome](docs/pt/squad-genome.md)
|
|
225
243
|
- [Cenários de uso](docs/pt/cenarios.md)
|
|
226
244
|
- [Clientes AI](docs/pt/clientes-ai.md)
|
|
227
245
|
- [Guia do engenheiro](docs/pt/guia-engineer.md)
|
|
246
|
+
- [Squad Dashboard](docs/pt/squad-dashboard.md) — monitoramento em tempo real de agentes, contexto, tokens, logs e métricas
|
|
228
247
|
|
|
229
248
|
## MCP bootstrap
|
|
230
249
|
Generate a local MCP server recommendation file from `project.context.md`:
|
|
@@ -251,4 +270,4 @@ aioson mcp:doctor --strict-env
|
|
|
251
270
|
- context compatibility for database and Web3 (`chain-rpc`)
|
|
252
271
|
|
|
253
272
|
## License
|
|
254
|
-
|
|
273
|
+
GNU Affero General Public License v3.0 (`AGPL-3.0-only`)
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
# Squad Dashboard
|
|
2
|
+
|
|
3
|
+
The Squad Dashboard is a web panel built into the aioson CLI itself. It runs locally on the developer's machine and lets you monitor all squads in a project in real time — agents, active processes, context usage, tokens, execution logs, and metrics.
|
|
4
|
+
|
|
5
|
+
No additional installation required. It ships with aioson.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Prerequisites
|
|
10
|
+
|
|
11
|
+
- aioson installed globally (`npm install -g @jaimevalasek/aioson`)
|
|
12
|
+
- At least one squad created in the project (`aioson squad:create`)
|
|
13
|
+
- Node.js ≥ 18 (already required by aioson)
|
|
14
|
+
- A modern browser (Chrome, Firefox, Safari, Edge)
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Starting the Dashboard
|
|
19
|
+
|
|
20
|
+
From the project root (where `.aioson/` lives):
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
aioson squad:dashboard
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Expected output:
|
|
27
|
+
```
|
|
28
|
+
Squad Dashboard running at http://localhost:4180 (port 4180)
|
|
29
|
+
Press Ctrl+C to stop.
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Open `http://localhost:4180` in your browser. Press `Ctrl+C` in the terminal to shut it down.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Options
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
aioson squad:dashboard [path] [--port=4180] [--squad=<slug>] [--locale=en]
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
| Option | Default | Description |
|
|
43
|
+
|--------|---------|-------------|
|
|
44
|
+
| `path` | `.` (current directory) | Project root |
|
|
45
|
+
| `--port` | `4180` | HTTP port for the dashboard |
|
|
46
|
+
| `--squad` | — | Open directly on a specific squad page |
|
|
47
|
+
| `--locale` | `en` | Interface language |
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Examples
|
|
52
|
+
|
|
53
|
+
### Start in the current project
|
|
54
|
+
```bash
|
|
55
|
+
cd ~/projects/dental-clinic
|
|
56
|
+
aioson squad:dashboard
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Custom port
|
|
60
|
+
```bash
|
|
61
|
+
aioson squad:dashboard --port=4200
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Point to another directory
|
|
65
|
+
```bash
|
|
66
|
+
aioson squad:dashboard /home/user/projects/marketing
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Open directly on a specific squad
|
|
70
|
+
```bash
|
|
71
|
+
aioson squad:dashboard --squad=marketing-odonto
|
|
72
|
+
# → Redirects automatically to http://localhost:4180/squad/marketing-odonto
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Multiple projects at the same time (different ports)
|
|
76
|
+
```bash
|
|
77
|
+
# Terminal 1
|
|
78
|
+
aioson squad:dashboard ~/projects/clinic --port=4180
|
|
79
|
+
|
|
80
|
+
# Terminal 2
|
|
81
|
+
aioson squad:dashboard ~/projects/ecommerce --port=4181
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Navigating the Dashboard
|
|
87
|
+
|
|
88
|
+
### Home — Squad List
|
|
89
|
+
|
|
90
|
+
At `http://localhost:4180` you see all squads in the project with:
|
|
91
|
+
|
|
92
|
+
- Name and mode (`content`, `software`, `mixed`)
|
|
93
|
+
- Number of executors (agents)
|
|
94
|
+
- Current status
|
|
95
|
+
- Link to the squad detail page
|
|
96
|
+
|
|
97
|
+
If no squads appear, check that `.aioson/squads/*/squad.manifest.json` exists.
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
### Squad Page — Panels
|
|
102
|
+
|
|
103
|
+
Each squad has its own URL: `http://localhost:4180/squad/{slug}`
|
|
104
|
+
|
|
105
|
+
Available panels depend on squad configuration:
|
|
106
|
+
|
|
107
|
+
#### Panel: Overview
|
|
108
|
+
|
|
109
|
+
Summary of the squad:
|
|
110
|
+
- Total content items produced
|
|
111
|
+
- Number of registered sessions
|
|
112
|
+
- Accumulated learnings
|
|
113
|
+
- Delivery rate
|
|
114
|
+
- Execution plan (if defined)
|
|
115
|
+
- Pipeline information
|
|
116
|
+
|
|
117
|
+
#### Panel: Agents (Processes)
|
|
118
|
+
|
|
119
|
+
Lists active Claude/AI agents:
|
|
120
|
+
|
|
121
|
+
| Column | What it shows |
|
|
122
|
+
|--------|---------------|
|
|
123
|
+
| Agent | Executor slug |
|
|
124
|
+
| PID | OS process ID |
|
|
125
|
+
| Elapsed | Session duration (`HH:MM:SS`) |
|
|
126
|
+
| Context | Context window usage % |
|
|
127
|
+
| URL | Link to open the AI session (if available) |
|
|
128
|
+
| Action | Button to stop the process via SIGTERM |
|
|
129
|
+
|
|
130
|
+
> Process data auto-refreshes every 5 seconds via SSE (Server-Sent Events).
|
|
131
|
+
|
|
132
|
+
#### Panel: Context
|
|
133
|
+
|
|
134
|
+
Context window monitor per agent:
|
|
135
|
+
|
|
136
|
+
- **Visual gauge** showing % usage
|
|
137
|
+
- **Alert level**:
|
|
138
|
+
- Green: 0–84% → Normal
|
|
139
|
+
- Yellow: 85–94% → Warning
|
|
140
|
+
- Red: 95–99% → Critical
|
|
141
|
+
- Purple: 100%+ → Overflow
|
|
142
|
+
- Automatic compact detection (a drop > 30% indicates context was compacted)
|
|
143
|
+
- Breakdown by category (system prompt, conversation history, tool outputs, etc.)
|
|
144
|
+
|
|
145
|
+
#### Panel: Tokens
|
|
146
|
+
|
|
147
|
+
Token usage and estimated cost per agent:
|
|
148
|
+
|
|
149
|
+
- Total tokens consumed in the session
|
|
150
|
+
- Estimated cost in USD (based on Sonnet-class model pricing)
|
|
151
|
+
- **Waste flag**: appears when `tool_outputs > 60%` of total
|
|
152
|
+
- Breakdown by category (input, output, tool_use_input, tool_outputs, cache_write, cache_read)
|
|
153
|
+
|
|
154
|
+
#### Panel: Execution Logs
|
|
155
|
+
|
|
156
|
+
Detailed history of task executions:
|
|
157
|
+
|
|
158
|
+
- Entries filterable by type:
|
|
159
|
+
- `tool_call` — tool calls with input/output
|
|
160
|
+
- `reasoning` — agent reasoning
|
|
161
|
+
- `milestone` — important checkpoints
|
|
162
|
+
- `error` — errors with optional stack trace
|
|
163
|
+
- Timeline ordered by timestamp
|
|
164
|
+
- Filter by session
|
|
165
|
+
|
|
166
|
+
#### Panel: Hunk Review
|
|
167
|
+
|
|
168
|
+
Code review in hunks (for software squads):
|
|
169
|
+
|
|
170
|
+
- List of hunks pending review
|
|
171
|
+
- Available actions: **Approve**, **Reject** (comment required), **Comment**
|
|
172
|
+
- Progress: `approved / rejected / pending / revised`
|
|
173
|
+
- Re-submit: approved hunks keep their status; only rejected ones return to pending
|
|
174
|
+
|
|
175
|
+
#### Panel: Content
|
|
176
|
+
|
|
177
|
+
Content items produced by the squad (for content squads):
|
|
178
|
+
|
|
179
|
+
- List of indexed outputs
|
|
180
|
+
- Type and layout of each item
|
|
181
|
+
- Responsible agent
|
|
182
|
+
|
|
183
|
+
#### Panel: Learnings
|
|
184
|
+
|
|
185
|
+
Learnings accumulated by the squad:
|
|
186
|
+
|
|
187
|
+
- Active, stale, and archived learnings
|
|
188
|
+
- Type: preference, process, domain, quality
|
|
189
|
+
- Confidence: high, medium, low
|
|
190
|
+
|
|
191
|
+
#### Panel: Metrics
|
|
192
|
+
|
|
193
|
+
Custom metrics configured via `aioson squad:roi`:
|
|
194
|
+
|
|
195
|
+
- Current value vs. baseline vs. target
|
|
196
|
+
- Period
|
|
197
|
+
- Visual progress bar
|
|
198
|
+
- Calculated ROI (when configured)
|
|
199
|
+
|
|
200
|
+
#### Panel: Integrations
|
|
201
|
+
|
|
202
|
+
Status of MCPs configured in the squad:
|
|
203
|
+
|
|
204
|
+
- Active connectors (WhatsApp, Telegram, Webhook, etc.)
|
|
205
|
+
- Status: connected / unconfigured / error
|
|
206
|
+
- Total calls and failures
|
|
207
|
+
|
|
208
|
+
#### Panel: Recovery Context
|
|
209
|
+
|
|
210
|
+
Recovery context generated for each agent (post-compact injection):
|
|
211
|
+
|
|
212
|
+
- Content of `recovery-context.md`
|
|
213
|
+
- Token estimate
|
|
214
|
+
- Generation timestamp
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## Use Cases by Squad Type
|
|
219
|
+
|
|
220
|
+
### Content Squad (e.g. Dental Clinic Marketing)
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
# The squad is generating Instagram posts and blog content
|
|
224
|
+
aioson squad:dashboard --squad=marketing-odonto
|
|
225
|
+
|
|
226
|
+
# Most relevant panels:
|
|
227
|
+
# → Content: see generated posts
|
|
228
|
+
# → Agents: see copywriter and strategist running
|
|
229
|
+
# → Learnings: accumulated tone and format preferences
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### Software Squad (e.g. Scheduling Feature)
|
|
233
|
+
|
|
234
|
+
```bash
|
|
235
|
+
aioson squad:dashboard --squad=scheduling-v2
|
|
236
|
+
|
|
237
|
+
# Most relevant panels:
|
|
238
|
+
# → Hunk Review: review code before merging
|
|
239
|
+
# → Logs: follow agent tool_calls
|
|
240
|
+
# → Context: monitor if the agent is near the limit
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### Squad with Workers and Daemon
|
|
244
|
+
|
|
245
|
+
```bash
|
|
246
|
+
# First start the daemon (automated workers)
|
|
247
|
+
aioson squad:daemon start --squad=clinic
|
|
248
|
+
|
|
249
|
+
# In another terminal, start the dashboard
|
|
250
|
+
aioson squad:dashboard --squad=clinic
|
|
251
|
+
|
|
252
|
+
# Most relevant panels:
|
|
253
|
+
# → Metrics: no-show rate, ROI
|
|
254
|
+
# → Integrations: WhatsApp Business status
|
|
255
|
+
# → Agents: see live processes
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## Integration with Other Commands
|
|
261
|
+
|
|
262
|
+
The dashboard reads data generated by other aioson commands. For panels to show rich data:
|
|
263
|
+
|
|
264
|
+
| To see in the dashboard | Command that generates the data |
|
|
265
|
+
|-------------------------|---------------------------------|
|
|
266
|
+
| Metrics and ROI | `aioson squad:roi metric --squad=X` |
|
|
267
|
+
| MCP status | `aioson squad:mcp configure --squad=X` |
|
|
268
|
+
| Active processes | Agents running that write to `.aioson/squads/{slug}/processes/` |
|
|
269
|
+
| Context window | Agents that write to `.aioson/squads/{slug}/context-monitor.json` |
|
|
270
|
+
| Token usage | Agents that write to `.aioson/squads/{slug}/token-usage.json` |
|
|
271
|
+
| Learnings | `aioson squad:learning` and auto-registered sessions |
|
|
272
|
+
| Recovery context | `aioson squad:recovery --squad=X --agent=Y` |
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## Data Requirements
|
|
277
|
+
|
|
278
|
+
The dashboard works even without all data present. What each panel needs:
|
|
279
|
+
|
|
280
|
+
```
|
|
281
|
+
.aioson/
|
|
282
|
+
squads/
|
|
283
|
+
{slug}/
|
|
284
|
+
squad.manifest.json ← required (squad appears in the list)
|
|
285
|
+
context-monitor.json ← Context panel
|
|
286
|
+
token-usage.json ← Tokens panel
|
|
287
|
+
processes/
|
|
288
|
+
{agent}.json ← Agents panel
|
|
289
|
+
recovery-context.md ← Recovery panel
|
|
290
|
+
runtime/
|
|
291
|
+
aios.sqlite ← Content, Learnings, Metrics, Integrations panels
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
If the SQLite database doesn't exist, dependent panels appear empty but the dashboard does not crash.
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## Squad Dashboard vs. aioson-dashboard
|
|
299
|
+
|
|
300
|
+
| | Squad Dashboard | aioson-dashboard |
|
|
301
|
+
|---|---|---|
|
|
302
|
+
| **What it is** | HTTP server embedded in the CLI | Installable Next.js app (premium) |
|
|
303
|
+
| **How to access** | `aioson squad:dashboard` | Install and run separately |
|
|
304
|
+
| **Focus** | Project squads in real time | General management — projects, genomes, pipelines, cloud |
|
|
305
|
+
| **Port** | `localhost:4180` (configurable) | Defined by the app |
|
|
306
|
+
| **Extra install** | No — ships with aioson | Yes |
|
|
307
|
+
| **Cost** | Free | Premium |
|
|
308
|
+
|
|
309
|
+
When both are running, aioson-dashboard shows an **"Open Squad Dashboard"** button on each squad page, linking directly to the correct URL.
|
|
310
|
+
|
|
311
|
+
---
|
|
312
|
+
|
|
313
|
+
## Troubleshooting
|
|
314
|
+
|
|
315
|
+
### Dashboard won't start — port in use
|
|
316
|
+
|
|
317
|
+
```
|
|
318
|
+
Port 4180 is already in use. Try --port=<other>
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
Use a different port:
|
|
322
|
+
```bash
|
|
323
|
+
aioson squad:dashboard --port=4200
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
### No squads on the home page
|
|
327
|
+
|
|
328
|
+
Check that the manifest exists:
|
|
329
|
+
```bash
|
|
330
|
+
ls .aioson/squads/*/squad.manifest.json
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
If not, create the squad first:
|
|
334
|
+
```bash
|
|
335
|
+
aioson squad:create . --squad=my-squad
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
### Panels appear empty
|
|
339
|
+
|
|
340
|
+
Normal for new projects or squads without runtime data. Panels populate as agents run and write their data files.
|
|
341
|
+
|
|
342
|
+
### Process panel stops updating
|
|
343
|
+
|
|
344
|
+
The agents panel uses SSE with a 5-second interval. If it stops updating, refresh the page.
|
|
345
|
+
|
|
346
|
+
### Command not found after updating aioson in a project
|
|
347
|
+
|
|
348
|
+
The global binary may be outdated:
|
|
349
|
+
```bash
|
|
350
|
+
npm update -g @jaimevalasek/aioson
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
---
|
|
354
|
+
|
|
355
|
+
## Quick Reference
|
|
356
|
+
|
|
357
|
+
```bash
|
|
358
|
+
# Start
|
|
359
|
+
aioson squad:dashboard
|
|
360
|
+
|
|
361
|
+
# Custom port
|
|
362
|
+
aioson squad:dashboard --port=4200
|
|
363
|
+
|
|
364
|
+
# Specific squad
|
|
365
|
+
aioson squad:dashboard --squad=my-squad
|
|
366
|
+
|
|
367
|
+
# Project in another directory
|
|
368
|
+
aioson squad:dashboard /path/to/project
|
|
369
|
+
|
|
370
|
+
# Help
|
|
371
|
+
aioson squad:dashboard --help
|
|
372
|
+
```
|