@jaimevalasek/aioson 1.4.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 +3 -1
- package/docs/en/squad-dashboard.md +372 -0
- package/docs/openclaw-bridge.md +308 -0
- package/docs/pt/agentes.md +124 -10
- package/docs/pt/cenarios.md +46 -2
- package/docs/pt/comandos-cli.md +60 -1
- package/docs/pt/inicio-rapido.md +18 -2
- package/docs/pt/squad-dashboard.md +373 -0
- package/docs/testing/genome-2.0-matrix.md +5 -5
- package/docs/testing/genome-2.0-rollout.md +9 -9
- package/package.json +2 -2
- package/src/backup-local.js +74 -0
- package/src/cli.js +98 -0
- package/src/commands/backup-local-cmd.js +25 -0
- package/src/commands/runtime.js +242 -0
- package/src/commands/setup-context.js +7 -2
- 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 +52 -0
- package/src/commands/squad-mcp.js +270 -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 +37 -1
- package/src/commands/squad-validate.js +62 -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/web-map.js +70 -0
- package/src/commands/web-scrape.js +71 -0
- package/src/constants.js +8 -0
- package/src/context-writer.js +45 -1
- package/src/i18n/messages/en.js +127 -1
- package/src/i18n/messages/es.js +117 -0
- package/src/i18n/messages/fr.js +117 -0
- package/src/i18n/messages/pt-BR.js +126 -1
- package/src/lib/webhook-server.js +328 -0
- package/src/mcp-connectors/registry.js +602 -0
- package/src/runtime-store.js +259 -2
- 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 +4 -0
- package/template/.aioson/agents/architect.md +4 -0
- package/template/.aioson/agents/dev.md +120 -11
- package/template/.aioson/agents/deyvin.md +8 -0
- package/template/.aioson/agents/neo.md +152 -0
- package/template/.aioson/agents/orache.md +17 -0
- package/template/.aioson/agents/orchestrator.md +26 -0
- package/template/.aioson/agents/product.md +60 -12
- package/template/.aioson/agents/qa.md +1 -0
- package/template/.aioson/agents/setup.md +63 -19
- package/template/.aioson/agents/sheldon.md +603 -0
- package/template/.aioson/agents/squad.md +191 -0
- package/template/.aioson/agents/tester.md +254 -0
- package/template/.aioson/agents/ux-ui.md +12 -0
- package/template/.aioson/config.md +6 -0
- package/template/.aioson/locales/en/agents/analyst.md +8 -0
- package/template/.aioson/locales/en/agents/architect.md +8 -0
- package/template/.aioson/locales/en/agents/dev.md +66 -7
- package/template/.aioson/locales/en/agents/deyvin.md +8 -0
- package/template/.aioson/locales/en/agents/neo.md +8 -0
- package/template/.aioson/locales/en/agents/orchestrator.md +26 -0
- package/template/.aioson/locales/en/agents/qa.md +49 -0
- package/template/.aioson/locales/en/agents/setup.md +2 -1
- package/template/.aioson/locales/en/agents/sheldon.md +340 -0
- package/template/.aioson/locales/en/agents/ux-ui.md +8 -0
- package/template/.aioson/locales/es/agents/analyst.md +8 -0
- package/template/.aioson/locales/es/agents/architect.md +8 -0
- package/template/.aioson/locales/es/agents/dev.md +66 -7
- package/template/.aioson/locales/es/agents/deyvin.md +8 -0
- package/template/.aioson/locales/es/agents/neo.md +48 -0
- package/template/.aioson/locales/es/agents/orchestrator.md +26 -0
- package/template/.aioson/locales/es/agents/qa.md +26 -0
- package/template/.aioson/locales/es/agents/setup.md +2 -1
- package/template/.aioson/locales/es/agents/sheldon.md +192 -0
- package/template/.aioson/locales/es/agents/squad.md +63 -0
- package/template/.aioson/locales/es/agents/ux-ui.md +8 -0
- package/template/.aioson/locales/fr/agents/analyst.md +8 -0
- package/template/.aioson/locales/fr/agents/architect.md +8 -0
- package/template/.aioson/locales/fr/agents/dev.md +66 -7
- package/template/.aioson/locales/fr/agents/deyvin.md +8 -0
- package/template/.aioson/locales/fr/agents/neo.md +48 -0
- package/template/.aioson/locales/fr/agents/orchestrator.md +26 -0
- package/template/.aioson/locales/fr/agents/qa.md +26 -0
- package/template/.aioson/locales/fr/agents/setup.md +2 -1
- package/template/.aioson/locales/fr/agents/sheldon.md +192 -0
- package/template/.aioson/locales/fr/agents/squad.md +63 -0
- package/template/.aioson/locales/fr/agents/ux-ui.md +8 -0
- package/template/.aioson/locales/pt-BR/agents/analyst.md +19 -0
- package/template/.aioson/locales/pt-BR/agents/architect.md +19 -0
- package/template/.aioson/locales/pt-BR/agents/dev.md +75 -12
- package/template/.aioson/locales/pt-BR/agents/deyvin.md +8 -0
- package/template/.aioson/locales/pt-BR/agents/neo.md +147 -0
- package/template/.aioson/locales/pt-BR/agents/orchestrator.md +26 -0
- package/template/.aioson/locales/pt-BR/agents/product.md +8 -3
- package/template/.aioson/locales/pt-BR/agents/qa.md +60 -0
- package/template/.aioson/locales/pt-BR/agents/setup.md +2 -1
- package/template/.aioson/locales/pt-BR/agents/sheldon.md +192 -0
- package/template/.aioson/locales/pt-BR/agents/squad.md +105 -0
- package/template/.aioson/locales/pt-BR/agents/ux-ui.md +8 -0
- package/template/.aioson/schemas/squad-blueprint.schema.json +21 -0
- package/template/.aioson/schemas/squad-manifest.schema.json +178 -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 +55 -9
- 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 +1 -1
- package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +100 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +43 -9
- package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +40 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +1 -1
- package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +99 -12
- 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/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/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/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/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 +19 -0
- package/template/.aioson/tasks/squad-design.md +28 -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/.claude/commands/aioson/agent/neo.md +5 -0
- package/template/.claude/commands/aioson/agent/tester.md +5 -0
- package/template/.gemini/GEMINI.md +1 -0
- package/template/.gemini/commands/aios-neo.toml +4 -0
- package/template/.gemini/commands/aios-tester.toml +6 -0
- package/template/AGENTS.md +3 -0
- package/template/CLAUDE.md +5 -2
- package/template/OPENCODE.md +2 -0
|
@@ -52,13 +52,17 @@ Proceed with detection and full onboarding below.
|
|
|
52
52
|
|
|
53
53
|
`@setup` must not make `@discovery-design-doc` mandatory.
|
|
54
54
|
|
|
55
|
-
After setup, recommend the next step contextually:
|
|
55
|
+
After setup, recommend the next step contextually using the routing table in section 4:
|
|
56
56
|
|
|
57
|
-
- **Go straight to `@dev`** when
|
|
58
|
-
- **Recommend `@
|
|
57
|
+
- **Go straight to `@dev`** only when a complete PRD already exists AND there is no detailed visual spec
|
|
58
|
+
- **Recommend `@product`** when no PRD exists yet — even for MICRO web_app projects
|
|
59
|
+
- **Recommend `@ux-ui`** when a PRD exists and it has a detailed visual spec (colors, typography, animations, custom theme)
|
|
60
|
+
- **Recommend `@discovery-design-doc`** when the scope is ambiguous, the feature is large, or rework risk is high
|
|
59
61
|
- **Recommend `@analyst`** when the main problem is domain modeling, entities, and business rules
|
|
60
62
|
- **Recommend `@architect`** when discovery is already mature and the main need is technical direction
|
|
61
63
|
|
|
64
|
+
Never route a `web_app` directly to `@dev` when the project has no PRD yet — even MICRO projects need at least a clear product definition before coding.
|
|
65
|
+
|
|
62
66
|
If the user asks for operational visualization or the local AIOSON dashboard:
|
|
63
67
|
|
|
64
68
|
- explain that the dashboard app is now installed separately from the CLI
|
|
@@ -82,6 +86,19 @@ Mandatory behavior:
|
|
|
82
86
|
- Never offer direct execution outside the workflow as a setup shortcut.
|
|
83
87
|
- Never silently bypass workflow after setup.
|
|
84
88
|
|
|
89
|
+
## Test runner detection (run after framework detection)
|
|
90
|
+
|
|
91
|
+
Scan for test runner config files in the project root:
|
|
92
|
+
- `phpunit.xml`, `pest.xml` → set `test_runner: pest`
|
|
93
|
+
- `jest.config.*`, `jest.config.js`, `jest.config.ts` → set `test_runner: jest`
|
|
94
|
+
- `vitest.config.*`, `vitest.config.js`, `vitest.config.ts` → set `test_runner: vitest`
|
|
95
|
+
- `pytest.ini`, `pyproject.toml` with `[tool.pytest.ini_options]` → set `test_runner: pytest`
|
|
96
|
+
- `.rspec`, `spec/spec_helper.rb` → set `test_runner: rspec`
|
|
97
|
+
- `foundry.toml` → set `test_runner: foundry`
|
|
98
|
+
|
|
99
|
+
If a test runner is detected: add `test_runner: "<runner>"` to `project.context.md` frontmatter.
|
|
100
|
+
If not detected: leave `test_runner` blank — @dev TDD Gate will ask at implementation time.
|
|
101
|
+
|
|
85
102
|
## Detection rules
|
|
86
103
|
Check current workspace before asking installation questions:
|
|
87
104
|
- Laravel: `artisan` or `composer.json` with `laravel/framework`
|
|
@@ -208,20 +225,36 @@ Before writing `project.context.md` for `site` or `web_app`, inspect `.aioson/sk
|
|
|
208
225
|
|
|
209
226
|
- If no packaged design skills are installed, keep `design_skill` as an empty string and state that UI agents must decide the visual system later.
|
|
210
227
|
- If exactly one design skill is installed, do not auto-select it. Ask for explicit confirmation before registering it.
|
|
211
|
-
- If multiple design skills are installed,
|
|
212
|
-
|
|
213
|
-
-
|
|
228
|
+
- If multiple design skills are installed, use the **signal-based recommendation logic** below before asking.
|
|
229
|
+
|
|
230
|
+
**Signal-based recommendation logic:**
|
|
231
|
+
|
|
232
|
+
Read the project description, PRD text, or any aesthetic signals the user provided. Then:
|
|
214
233
|
|
|
215
|
-
|
|
234
|
+
| If the user described… | Recommend |
|
|
235
|
+
|---|---|
|
|
236
|
+
| Dark theme, dashboard, admin panel, command center, inventory, analytics, control, monitoring, operational UI, mission control, "like Mentes Sintéticas", cyberpunk, futuristic, dark + ciano/teal/cyan accent, glassmorphism | **`cognitive-core-ui`** |
|
|
237
|
+
| Operational shell, tri-rail layout, premium dark software, "command center only" | **`premium-command-center-ui`** |
|
|
238
|
+
| Light theme, clean/minimal, custom brand, no preset aesthetic, content-heavy, e-commerce, institutional, "clean and modern" | **`interface-design`** |
|
|
239
|
+
| No aesthetic signals, or the description is purely functional | Ask without a recommendation |
|
|
240
|
+
|
|
241
|
+
When a signal match is found, lead with the recommendation:
|
|
242
|
+
> "Based on your description ([dark dashboard / futuristic UI / etc.]), `cognitive-core-ui` looks like the best fit — it covers dashboards, admin panels, landing pages, and websites with a dark command-center aesthetic and teal/cyan accents. Want to use it, or choose a different skill?"
|
|
243
|
+
|
|
244
|
+
If the user confirms the recommendation, register it immediately. Do not show the full skill list again.
|
|
245
|
+
|
|
246
|
+
If no clear signal, use the neutral question format:
|
|
216
247
|
> "For the visual system, which design skill should I register?
|
|
217
248
|
>
|
|
218
249
|
> Available skills:
|
|
219
|
-
> - **`cognitive-core-ui`** — Command-center aesthetic (Mentes Sintéticas style). Dark/light themes. Works for dashboards, admin panels, landing pages, and websites.
|
|
250
|
+
> - **`cognitive-core-ui`** — Command-center aesthetic (Mentes Sintéticas style). Dark/light themes. Works for dashboards, admin panels, landing pages, and websites. Best for dark, data-heavy, or futuristic UIs.
|
|
220
251
|
> - **`premium-command-center-ui`** — Dark operational shell. Tri-rail layout. Dashboards and command centers only.
|
|
221
|
-
> - **`interface-design`** — General craft package. Clean, intentional UI without a preset visual style.
|
|
252
|
+
> - **`interface-design`** — General craft package. Clean, intentional UI without a preset visual style. Best for light themes and custom brand directions.
|
|
222
253
|
>
|
|
223
254
|
> Choose one, or reply 'skip' to leave it blank (the next UI agent will ask before designing)."
|
|
224
255
|
|
|
256
|
+
- If the user does not want to choose yet, write `design_skill: ""` and state clearly that the visual system is still pending — `@ux-ui` will ask again before doing any design work.
|
|
257
|
+
|
|
225
258
|
For `api`, `script`, and non-UI-first scopes, keep `design_skill` empty unless the user explicitly asks to register one.
|
|
226
259
|
|
|
227
260
|
---
|
|
@@ -321,13 +354,14 @@ framework_installed: true
|
|
|
321
354
|
classification: "MICRO|SMALL|MEDIUM"
|
|
322
355
|
conversation_language: "en"
|
|
323
356
|
design_skill: ""
|
|
357
|
+
test_runner: ""
|
|
324
358
|
web3_enabled: false
|
|
325
359
|
web3_networks: ""
|
|
326
360
|
contract_framework: ""
|
|
327
361
|
wallet_provider: ""
|
|
328
362
|
indexer: ""
|
|
329
363
|
rpc_provider: ""
|
|
330
|
-
aioson_version: "
|
|
364
|
+
aioson_version: "1.5.1"
|
|
331
365
|
generated_at: "ISO-8601"
|
|
332
366
|
---
|
|
333
367
|
|
|
@@ -441,17 +475,27 @@ If `framework_installed=true` (code was detected in the workspace), always inclu
|
|
|
441
475
|
|
|
442
476
|
After setup is complete, always close with the recommended next step. Use the exact `@agent` name so the AI client (Codex, Claude Code, Gemini) can trigger it:
|
|
443
477
|
|
|
444
|
-
| project_type | classification | Next agent |
|
|
445
|
-
|
|
446
|
-
| `site` | any | **@ux-ui** |
|
|
447
|
-
| `web_app`
|
|
448
|
-
| `web_app`
|
|
449
|
-
| `web_app`
|
|
450
|
-
| `
|
|
478
|
+
| project_type | classification | PRD / visual spec? | Next agent |
|
|
479
|
+
|---|---|---|---|
|
|
480
|
+
| `site` | any | — | **@ux-ui** |
|
|
481
|
+
| `web_app` | MICRO | No PRD yet — requirements not defined | **@product** |
|
|
482
|
+
| `web_app` | MICRO | PRD exists, no detailed visual spec | **@dev** |
|
|
483
|
+
| `web_app` | MICRO | PRD exists, detailed visual spec (colors, typography, animations, custom theme) | **@ux-ui** → then @dev |
|
|
484
|
+
| `web_app` / `api` | SMALL | — | **@product** → then @analyst |
|
|
485
|
+
| `web_app` / `api` | MEDIUM | — | **@product** → then @analyst → @architect |
|
|
486
|
+
| `api` / `script` | MICRO | — | **@dev** |
|
|
487
|
+
| `dapp` | any | — | **@product** → then @analyst |
|
|
488
|
+
|
|
489
|
+
**Routing rules:**
|
|
490
|
+
- `@product` is NOT optional for `web_app` MICRO when there is no PRD yet. Skip it only when a clear, complete PRD already exists in `.aioson/context/`.
|
|
491
|
+
- A "detailed visual spec" means the PRD or user description includes 2+ of: specific color palette, typography choices, animation/motion requirements, depth effects (glassmorphism, shadows), or an overall aesthetic direction (futuristic, branded, etc.). "Clean and responsive" does NOT qualify.
|
|
492
|
+
- When in doubt between `@product` and `@dev`, prefer `@product` — an unclear PRD produces poor implementation.
|
|
451
493
|
|
|
452
494
|
Say it clearly at the end of setup, for example:
|
|
453
|
-
> "Setup complete. Next step: activate **@
|
|
495
|
+
> "Setup complete. Next step: activate **@product** to define what you're building."
|
|
496
|
+
> or
|
|
497
|
+
> "Setup complete. Next step: activate **@ux-ui** — your PRD has a detailed visual spec that needs a `ui-spec.md` before implementation."
|
|
454
498
|
> or
|
|
455
|
-
> "Setup complete. Next step: activate **@
|
|
499
|
+
> "Setup complete. Next step: activate **@dev** — your PRD is clear and no visual spec is needed."
|
|
456
500
|
|
|
457
501
|
This ensures the user knows exactly what to do next without having to remember the workflow sequence.
|