@jaimevalasek/aioson 1.4.0 → 1.6.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.
Files changed (301) hide show
  1. package/CHANGELOG.md +31 -1
  2. package/LICENSE +661 -21
  3. package/README.md +9 -1
  4. package/docs/design-previews/aurora-command-ui-website.html +884 -0
  5. package/docs/design-previews/aurora-command-ui.html +682 -0
  6. package/docs/design-previews/bold-editorial-ui-website.html +658 -0
  7. package/docs/design-previews/bold-editorial-ui.html +717 -0
  8. package/docs/design-previews/clean-saas-ui-website.html +1202 -0
  9. package/docs/design-previews/clean-saas-ui.html +549 -0
  10. package/docs/design-previews/cognitive-core-ui-website.html +1009 -0
  11. package/docs/design-previews/cognitive-core-ui.html +463 -0
  12. package/docs/design-previews/glassmorphism-ui-website.html +572 -0
  13. package/docs/design-previews/glassmorphism-ui.html +886 -0
  14. package/docs/design-previews/index.html +699 -0
  15. package/docs/design-previews/interface-design-website.html +1187 -0
  16. package/docs/design-previews/interface-design.html +513 -0
  17. package/docs/design-previews/neo-brutalist-ui-website.html +621 -0
  18. package/docs/design-previews/neo-brutalist-ui.html +797 -0
  19. package/docs/design-previews/premium-command-center-ui-website.html +1217 -0
  20. package/docs/design-previews/premium-command-center-ui.html +552 -0
  21. package/docs/design-previews/warm-craft-ui-website.html +684 -0
  22. package/docs/design-previews/warm-craft-ui.html +739 -0
  23. package/docs/en/cli-reference.md +20 -9
  24. package/docs/en/squad-dashboard.md +372 -0
  25. package/docs/openclaw-bridge.md +308 -0
  26. package/docs/pt/README.md +7 -0
  27. package/docs/pt/agent-sharding.md +132 -0
  28. package/docs/pt/agentes.md +131 -11
  29. package/docs/pt/busca-de-contexto.md +129 -0
  30. package/docs/pt/cache-de-contexto.md +156 -0
  31. package/docs/pt/cenarios.md +46 -2
  32. package/docs/pt/comandos-cli.md +88 -1
  33. package/docs/pt/design-hybrid-forge.md +107 -0
  34. package/docs/pt/inicio-rapido.md +72 -5
  35. package/docs/pt/inteligencia-adaptativa.md +324 -0
  36. package/docs/pt/monitor-de-contexto.md +104 -0
  37. package/docs/pt/recuperacao-de-sessao.md +125 -0
  38. package/docs/pt/sandbox.md +125 -0
  39. package/docs/pt/skills.md +98 -6
  40. package/docs/pt/squad-dashboard.md +373 -0
  41. package/docs/testing/genome-2.0-matrix.md +5 -5
  42. package/docs/testing/genome-2.0-rollout.md +9 -9
  43. package/package.json +2 -2
  44. package/src/agent-loader.js +280 -0
  45. package/src/backup-local.js +74 -0
  46. package/src/cli.js +192 -0
  47. package/src/commands/agent-loader.js +85 -0
  48. package/src/commands/backup-local-cmd.js +25 -0
  49. package/src/commands/context-cache.js +90 -0
  50. package/src/commands/context-monitor.js +92 -0
  51. package/src/commands/context-search.js +66 -0
  52. package/src/commands/design-hybrid-options.js +385 -0
  53. package/src/commands/health.js +214 -0
  54. package/src/commands/init.js +54 -13
  55. package/src/commands/install.js +52 -13
  56. package/src/commands/learning-evolve.js +355 -0
  57. package/src/commands/live.js +34 -0
  58. package/src/commands/recovery.js +43 -0
  59. package/src/commands/runtime.js +242 -0
  60. package/src/commands/sandbox.js +37 -0
  61. package/src/commands/setup-context.js +29 -4
  62. package/src/commands/setup.js +178 -0
  63. package/src/commands/skill.js +79 -32
  64. package/src/commands/squad-daemon.js +209 -0
  65. package/src/commands/squad-dashboard.js +39 -0
  66. package/src/commands/squad-deploy.js +64 -0
  67. package/src/commands/squad-doctor.js +52 -0
  68. package/src/commands/squad-mcp.js +270 -0
  69. package/src/commands/squad-processes.js +56 -0
  70. package/src/commands/squad-recovery.js +42 -0
  71. package/src/commands/squad-roi.js +291 -0
  72. package/src/commands/squad-score.js +250 -0
  73. package/src/commands/squad-status.js +37 -1
  74. package/src/commands/squad-validate.js +62 -1
  75. package/src/commands/squad-webhook.js +160 -0
  76. package/src/commands/squad-worker.js +191 -0
  77. package/src/commands/squad-worktrees.js +75 -0
  78. package/src/commands/tool-registry-cmd.js +232 -0
  79. package/src/commands/update.js +7 -0
  80. package/src/commands/web-map.js +70 -0
  81. package/src/commands/web-scrape.js +71 -0
  82. package/src/constants.js +17 -0
  83. package/src/context-cache.js +159 -0
  84. package/src/context-search.js +326 -0
  85. package/src/context-writer.js +45 -1
  86. package/src/design-variation-catalog.js +503 -0
  87. package/src/i18n/messages/en.js +159 -3
  88. package/src/i18n/messages/es.js +147 -2
  89. package/src/i18n/messages/fr.js +147 -2
  90. package/src/i18n/messages/pt-BR.js +158 -3
  91. package/src/install-animation.js +260 -0
  92. package/src/install-profile.js +143 -0
  93. package/src/install-wizard.js +474 -0
  94. package/src/installer.js +38 -10
  95. package/src/lib/webhook-server.js +328 -0
  96. package/src/mcp-connectors/registry.js +602 -0
  97. package/src/parser.js +7 -1
  98. package/src/recovery-context-session.js +154 -0
  99. package/src/runtime-store.js +355 -2
  100. package/src/sandbox.js +177 -0
  101. package/src/squad/external-session.js +180 -0
  102. package/src/squad/inter-squad.js +74 -0
  103. package/src/squad/recovery-context.js +201 -0
  104. package/src/squad/worktree-manager.js +114 -0
  105. package/src/squad-daemon.js +490 -0
  106. package/src/squad-dashboard/api.js +223 -0
  107. package/src/squad-dashboard/attachment-handler.js +93 -0
  108. package/src/squad-dashboard/context-monitor.js +157 -0
  109. package/src/squad-dashboard/execution-logs.js +115 -0
  110. package/src/squad-dashboard/hunk-review.js +209 -0
  111. package/src/squad-dashboard/metrics.js +133 -0
  112. package/src/squad-dashboard/process-monitor.js +125 -0
  113. package/src/squad-dashboard/renderer.js +858 -0
  114. package/src/squad-dashboard/server.js +232 -0
  115. package/src/squad-dashboard/styles.js +525 -0
  116. package/src/squad-dashboard/token-tracker.js +99 -0
  117. package/src/tool-executor.js +94 -0
  118. package/src/updater.js +11 -3
  119. package/src/web.js +284 -0
  120. package/src/worker-runner.js +339 -0
  121. package/template/.aioson/agents/analyst.md +62 -3
  122. package/template/.aioson/agents/architect.md +42 -0
  123. package/template/.aioson/agents/design-hybrid-forge.md +127 -0
  124. package/template/.aioson/agents/dev.md +223 -11
  125. package/template/.aioson/agents/deyvin.md +65 -0
  126. package/template/.aioson/agents/neo.md +152 -0
  127. package/template/.aioson/agents/orache.md +17 -0
  128. package/template/.aioson/agents/orchestrator.md +26 -0
  129. package/template/.aioson/agents/pm.md +58 -0
  130. package/template/.aioson/agents/product.md +88 -12
  131. package/template/.aioson/agents/qa.md +80 -0
  132. package/template/.aioson/agents/setup.md +128 -22
  133. package/template/.aioson/agents/sheldon.md +704 -0
  134. package/template/.aioson/agents/squad.md +191 -0
  135. package/template/.aioson/agents/tester.md +410 -0
  136. package/template/.aioson/agents/ux-ui.md +12 -0
  137. package/template/.aioson/config.md +21 -0
  138. package/template/.aioson/context/forensics/.gitkeep +0 -0
  139. package/template/.aioson/context/seeds/seed-example.md +27 -0
  140. package/template/.aioson/context/user-profile.md +42 -0
  141. package/template/.aioson/locales/en/agents/analyst.md +8 -0
  142. package/template/.aioson/locales/en/agents/architect.md +8 -0
  143. package/template/.aioson/locales/en/agents/dev.md +66 -7
  144. package/template/.aioson/locales/en/agents/deyvin.md +8 -0
  145. package/template/.aioson/locales/en/agents/neo.md +8 -0
  146. package/template/.aioson/locales/en/agents/orchestrator.md +26 -0
  147. package/template/.aioson/locales/en/agents/qa.md +49 -0
  148. package/template/.aioson/locales/en/agents/setup.md +35 -2
  149. package/template/.aioson/locales/en/agents/sheldon.md +340 -0
  150. package/template/.aioson/locales/en/agents/ux-ui.md +8 -0
  151. package/template/.aioson/locales/es/agents/analyst.md +8 -0
  152. package/template/.aioson/locales/es/agents/architect.md +8 -0
  153. package/template/.aioson/locales/es/agents/dev.md +66 -7
  154. package/template/.aioson/locales/es/agents/deyvin.md +8 -0
  155. package/template/.aioson/locales/es/agents/neo.md +48 -0
  156. package/template/.aioson/locales/es/agents/orchestrator.md +26 -0
  157. package/template/.aioson/locales/es/agents/qa.md +26 -0
  158. package/template/.aioson/locales/es/agents/setup.md +35 -2
  159. package/template/.aioson/locales/es/agents/sheldon.md +192 -0
  160. package/template/.aioson/locales/es/agents/squad.md +63 -0
  161. package/template/.aioson/locales/es/agents/ux-ui.md +8 -0
  162. package/template/.aioson/locales/fr/agents/analyst.md +8 -0
  163. package/template/.aioson/locales/fr/agents/architect.md +8 -0
  164. package/template/.aioson/locales/fr/agents/dev.md +66 -7
  165. package/template/.aioson/locales/fr/agents/deyvin.md +8 -0
  166. package/template/.aioson/locales/fr/agents/neo.md +48 -0
  167. package/template/.aioson/locales/fr/agents/orchestrator.md +26 -0
  168. package/template/.aioson/locales/fr/agents/qa.md +26 -0
  169. package/template/.aioson/locales/fr/agents/setup.md +35 -2
  170. package/template/.aioson/locales/fr/agents/sheldon.md +192 -0
  171. package/template/.aioson/locales/fr/agents/squad.md +63 -0
  172. package/template/.aioson/locales/fr/agents/ux-ui.md +8 -0
  173. package/template/.aioson/locales/pt-BR/agents/analyst.md +19 -0
  174. package/template/.aioson/locales/pt-BR/agents/architect.md +19 -0
  175. package/template/.aioson/locales/pt-BR/agents/dev.md +75 -12
  176. package/template/.aioson/locales/pt-BR/agents/deyvin.md +8 -0
  177. package/template/.aioson/locales/pt-BR/agents/neo.md +147 -0
  178. package/template/.aioson/locales/pt-BR/agents/orchestrator.md +26 -0
  179. package/template/.aioson/locales/pt-BR/agents/product.md +8 -3
  180. package/template/.aioson/locales/pt-BR/agents/qa.md +60 -0
  181. package/template/.aioson/locales/pt-BR/agents/setup.md +35 -2
  182. package/template/.aioson/locales/pt-BR/agents/sheldon.md +192 -0
  183. package/template/.aioson/locales/pt-BR/agents/squad.md +105 -0
  184. package/template/.aioson/locales/pt-BR/agents/ux-ui.md +8 -0
  185. package/template/.aioson/schemas/squad-blueprint.schema.json +21 -0
  186. package/template/.aioson/schemas/squad-manifest.schema.json +178 -1
  187. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +243 -0
  188. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -0
  189. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -0
  190. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -0
  191. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -0
  192. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -0
  193. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +482 -0
  194. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +387 -0
  195. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +205 -0
  196. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -0
  197. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -0
  198. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -0
  199. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -0
  200. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -0
  201. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -0
  202. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -0
  203. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +210 -0
  204. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -0
  205. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -0
  206. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -0
  207. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -0
  208. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -0
  209. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -0
  210. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -0
  211. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +55 -9
  212. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -0
  213. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +1 -1
  214. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +100 -0
  215. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +43 -9
  216. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +40 -0
  217. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +1 -1
  218. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +99 -12
  219. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +222 -0
  220. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -0
  221. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -0
  222. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -0
  223. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -0
  224. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -0
  225. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -0
  226. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -0
  227. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +213 -0
  228. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -0
  229. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -0
  230. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -0
  231. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -0
  232. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -0
  233. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -0
  234. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -0
  235. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +209 -0
  236. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -0
  237. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -0
  238. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -0
  239. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -0
  240. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -0
  241. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -0
  242. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -0
  243. package/template/.aioson/skills/premium-visual-design/SKILL.md +83 -0
  244. package/template/.aioson/skills/premium-visual-design/components/agent-badge.md +92 -0
  245. package/template/.aioson/skills/premium-visual-design/components/dependency-node.md +102 -0
  246. package/template/.aioson/skills/premium-visual-design/components/mention-autocomplete.md +136 -0
  247. package/template/.aioson/skills/premium-visual-design/components/notification-center.md +136 -0
  248. package/template/.aioson/skills/premium-visual-design/components/review-action-bar.md +188 -0
  249. package/template/.aioson/skills/premium-visual-design/components/team-switcher.md +131 -0
  250. package/template/.aioson/skills/premium-visual-design/patterns/agent-message-thread.md +198 -0
  251. package/template/.aioson/skills/premium-visual-design/patterns/notification-panel.md +275 -0
  252. package/template/.aioson/skills/premium-visual-design/patterns/review-workflow-ui.md +234 -0
  253. package/template/.aioson/skills/premium-visual-design/patterns/task-dependency-graph.md +147 -0
  254. package/template/.aioson/skills/premium-visual-design/tokens/status-extended.md +142 -0
  255. package/template/.aioson/skills/process/aioson-spec-driven/SKILL.md +45 -0
  256. package/template/.aioson/skills/process/aioson-spec-driven/references/approval-gates.md +109 -0
  257. package/template/.aioson/skills/process/aioson-spec-driven/references/artifact-map.md +44 -0
  258. package/template/.aioson/skills/process/aioson-spec-driven/references/classification-map.md +37 -0
  259. package/template/.aioson/skills/process/aioson-spec-driven/references/hardening-lane.md +49 -0
  260. package/template/.aioson/skills/process/aioson-spec-driven/references/maintenance-and-state.md +66 -0
  261. package/template/.aioson/skills/process/aioson-spec-driven/references/ui-language.md +75 -0
  262. package/template/.aioson/skills/process/design-hybrid-forge/SKILL.md +144 -0
  263. package/template/.aioson/skills/process/design-hybrid-forge/references/crossover-protocol.md +221 -0
  264. package/template/.aioson/skills/process/design-hybrid-forge/references/naming-registry.md +88 -0
  265. package/template/.aioson/skills/process/design-hybrid-forge/references/output-contract.md +291 -0
  266. package/template/.aioson/skills/process/design-hybrid-forge/references/pair-compatibility.md +117 -0
  267. package/template/.aioson/skills/process/design-hybrid-forge/references/quality-gates.md +188 -0
  268. package/template/.aioson/skills/process/design-hybrid-forge/references/variation-library.md +125 -0
  269. package/template/.aioson/skills/squad/formats/catalog.json +15 -0
  270. package/template/.aioson/skills/squad/formats/content/blog-post.md +47 -0
  271. package/template/.aioson/skills/squad/formats/content/newsletter.md +47 -0
  272. package/template/.aioson/skills/squad/formats/creative/podcast-script.md +43 -0
  273. package/template/.aioson/skills/squad/formats/creative/video-script.md +41 -0
  274. package/template/.aioson/skills/squad/formats/social/instagram-feed.md +42 -0
  275. package/template/.aioson/skills/squad/formats/social/linkedin-post.md +42 -0
  276. package/template/.aioson/skills/squad/formats/social/tiktok.md +39 -0
  277. package/template/.aioson/skills/squad/formats/social/twitter-thread.md +39 -0
  278. package/template/.aioson/skills/squad/formats/social/youtube-long.md +47 -0
  279. package/template/.aioson/skills/squad/formats/social/youtube-shorts.md +39 -0
  280. package/template/.aioson/skills/squad/patterns/multi-platform-pattern.md +108 -0
  281. package/template/.aioson/skills/squad/patterns/persona-based-pattern.md +98 -0
  282. package/template/.aioson/skills/squad/patterns/pipeline-pattern.md +106 -0
  283. package/template/.aioson/skills/squad/patterns/review-loop-pattern.md +81 -0
  284. package/template/.aioson/skills/squad/references/checklist-templates.md +122 -0
  285. package/template/.aioson/skills/squad/references/executor-archetypes.md +123 -0
  286. package/template/.aioson/skills/squad/references/workflow-templates.md +169 -0
  287. package/template/.aioson/skills/static/debugging-protocol.md +42 -0
  288. package/template/.aioson/skills/static/git-worktrees.md +36 -0
  289. package/template/.aioson/tasks/implementation-plan.md +19 -0
  290. package/template/.aioson/tasks/squad-design.md +28 -0
  291. package/template/.aioson/tasks/squad-profile.md +48 -0
  292. package/template/.aioson/tasks/squad-review.md +61 -0
  293. package/template/.aioson/tasks/squad-task-decompose.md +66 -0
  294. package/template/.claude/commands/aioson/agent/neo.md +5 -0
  295. package/template/.claude/commands/aioson/agent/tester.md +5 -0
  296. package/template/.gemini/GEMINI.md +1 -0
  297. package/template/.gemini/commands/aios-neo.toml +4 -0
  298. package/template/.gemini/commands/aios-tester.toml +6 -0
  299. package/template/AGENTS.md +26 -1
  300. package/template/CLAUDE.md +6 -2
  301. package/template/OPENCODE.md +2 -0
@@ -6,39 +6,50 @@ Complete reference for all `aioson` commands.
6
6
 
7
7
  ## init
8
8
 
9
- Create a new project directory and install AIOSON inside it.
9
+ Create a new project directory and install AIOSON inside it. In interactive terminals, an **install wizard** runs first so you choose which AI tools and modes to install.
10
10
 
11
11
  ```bash
12
12
  aioson init <project-name>
13
13
  aioson init my-app --lang=pt-BR
14
14
  aioson init my-app --tool=codex
15
- aioson init my-app --lang=es --tool=gemini --json
15
+ aioson init my-app --no-interactive
16
16
  ```
17
17
 
18
18
  **Options:**
19
19
  - `--lang=en|pt-BR|es|fr` — sets `conversation_language` in the generated context and applies the matching agent locale pack. Default: `en`.
20
20
  - `--tool=codex|claude|gemini|opencode` — configures the primary AI client. Affects which gateway file is used. Default: `codex`.
21
+ - `--no-interactive` — skip the wizard and install all files (CI / automation).
21
22
  - `--json` — prints structured JSON result instead of human-readable output.
22
23
 
23
24
  **What it does:**
24
25
  1. Creates `<project-name>/` directory.
25
- 2. Copies all template files into it.
26
- 3. Applies the selected locale pack.
27
- 4. Prints the recommended first command (`@setup`).
26
+ 2. Runs the install wizard (tools + mode selection).
27
+ 3. Copies only the files matching your profile.
28
+ 4. Shows the AIOSON reveal animation and install summary.
29
+ 5. Applies the selected locale pack.
28
30
 
29
31
  ---
30
32
 
31
33
  ## install
32
34
 
33
- Install AIOSON in an existing directory (or the current directory).
35
+ Install AIOSON in an existing directory (or the current directory). Runs the same wizard as `init` when in a TTY.
34
36
 
35
37
  ```bash
36
38
  aioson install
37
39
  aioson install ./my-project
38
40
  aioson install --lang=pt-BR --tool=claude
41
+ aioson install --reconfigure
42
+ aioson install --no-interactive
39
43
  ```
40
44
 
41
- **Options:** same as `init`.
45
+ **Options:**
46
+ - `--lang=en|pt-BR|es|fr` — sets locale pack.
47
+ - `--tool=codex|claude|gemini|opencode` — configures AI client.
48
+ - `--reconfigure` — re-run the wizard even if a profile already exists (e.g. to add Gemini later).
49
+ - `--no-interactive` — skip the wizard and install all files.
50
+ - `--force` — overwrite existing files.
51
+ - `--dry-run` — preview without writing.
52
+ - `--json` — prints structured JSON result.
42
53
 
43
54
  **Use this when:**
44
55
  - The project already exists (legacy codebase, existing repo).
@@ -48,7 +59,7 @@ aioson install --lang=pt-BR --tool=claude
48
59
 
49
60
  ## update
50
61
 
51
- Update managed files to the latest template version. Preserves context files and anything not in the managed file list.
62
+ Update managed files to the latest template version. Respects the saved install profile only updates files that were originally installed.
52
63
 
53
64
  ```bash
54
65
  aioson update
@@ -60,7 +71,7 @@ aioson update --lang=pt-BR
60
71
  - `--lang=en|pt-BR|es|fr` — re-applies the locale pack after updating. If omitted, re-applies whatever locale is currently active.
61
72
  - `--json` — prints structured JSON result.
62
73
 
63
- **What it updates:** all files in the `MANAGED_FILES` list (agents, config, gateway files, skills). Does not touch `project.context.md`, `discovery.md`, `architecture.md`, or other context files you created.
74
+ **What it updates:** all files in the `MANAGED_FILES` list that match your install profile (agents, config, gateway files, skills). Does not touch `project.context.md`, `discovery.md`, `architecture.md`, or other context files you created.
64
75
 
65
76
  ---
66
77
 
@@ -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
+ ```