@jaimevalasek/aioson 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +456 -0
- package/CODE_OF_CONDUCT.md +12 -0
- package/CONTRIBUTING.md +13 -0
- package/LICENSE +21 -0
- package/README.md +254 -0
- package/bin/aioson.js +4 -0
- package/docs/en/cli-reference.md +398 -0
- package/docs/en/i18n.md +52 -0
- package/docs/en/json-schemas.md +41 -0
- package/docs/en/mcp.md +56 -0
- package/docs/en/parallel.md +82 -0
- package/docs/en/qa-browser.md +339 -0
- package/docs/en/release-flow.md +22 -0
- package/docs/en/release-notes-template.md +41 -0
- package/docs/en/release.md +28 -0
- package/docs/en/schemas/agent-prompt.schema.json +17 -0
- package/docs/en/schemas/agents.schema.json +32 -0
- package/docs/en/schemas/context-validate.schema.json +36 -0
- package/docs/en/schemas/doctor.schema.json +89 -0
- package/docs/en/schemas/error.schema.json +24 -0
- package/docs/en/schemas/i18n-add.schema.json +15 -0
- package/docs/en/schemas/index.json +116 -0
- package/docs/en/schemas/info.schema.json +39 -0
- package/docs/en/schemas/init.schema.json +48 -0
- package/docs/en/schemas/install.schema.json +60 -0
- package/docs/en/schemas/locale-apply.schema.json +30 -0
- package/docs/en/schemas/mcp-doctor.schema.json +95 -0
- package/docs/en/schemas/mcp-init.schema.json +122 -0
- package/docs/en/schemas/package-test.schema.json +24 -0
- package/docs/en/schemas/parallel-assign.schema.json +57 -0
- package/docs/en/schemas/parallel-doctor.schema.json +86 -0
- package/docs/en/schemas/parallel-init.schema.json +53 -0
- package/docs/en/schemas/parallel-status.schema.json +94 -0
- package/docs/en/schemas/setup-context.schema.json +39 -0
- package/docs/en/schemas/smoke.schema.json +23 -0
- package/docs/en/schemas/update.schema.json +48 -0
- package/docs/en/schemas/workflow-plan.schema.json +30 -0
- package/docs/en/web3.md +54 -0
- package/docs/pt/README.md +46 -0
- package/docs/pt/advisor-spec.md +335 -0
- package/docs/pt/agentes.md +453 -0
- package/docs/pt/cenarios.md +1230 -0
- package/docs/pt/clientes-ai.md +224 -0
- package/docs/pt/comandos-cli.md +511 -0
- package/docs/pt/genome-3.0-spec.md +296 -0
- package/docs/pt/guia-engineer.md +226 -0
- package/docs/pt/inicio-rapido.md +138 -0
- package/docs/pt/profiler-system.md +214 -0
- package/docs/pt/runtime-observability.md +72 -0
- package/docs/pt/squad-genoma.md +777 -0
- package/docs/pt/web3.md +797 -0
- package/docs/testing/genome-2.0-manual-regression.md +23 -0
- package/docs/testing/genome-2.0-matrix.md +36 -0
- package/docs/testing/genome-2.0-rollout.md +184 -0
- package/package.json +50 -0
- package/src/agents.js +56 -0
- package/src/cli.js +497 -0
- package/src/commands/agents.js +142 -0
- package/src/commands/cloud.js +1767 -0
- package/src/commands/config.js +90 -0
- package/src/commands/context-validate.js +91 -0
- package/src/commands/doctor.js +123 -0
- package/src/commands/genome-doctor.js +41 -0
- package/src/commands/genome-migrate.js +49 -0
- package/src/commands/i18n-add.js +56 -0
- package/src/commands/info.js +41 -0
- package/src/commands/init.js +75 -0
- package/src/commands/install.js +68 -0
- package/src/commands/locale-apply.js +51 -0
- package/src/commands/locale-diff.js +126 -0
- package/src/commands/mcp-doctor.js +406 -0
- package/src/commands/mcp-init.js +379 -0
- package/src/commands/package-e2e.js +273 -0
- package/src/commands/parallel-assign.js +403 -0
- package/src/commands/parallel-doctor.js +437 -0
- package/src/commands/parallel-init.js +249 -0
- package/src/commands/parallel-status.js +290 -0
- package/src/commands/qa-doctor.js +185 -0
- package/src/commands/qa-init.js +161 -0
- package/src/commands/qa-report.js +58 -0
- package/src/commands/qa-run.js +873 -0
- package/src/commands/qa-scan.js +337 -0
- package/src/commands/runtime.js +948 -0
- package/src/commands/scan-project.js +1107 -0
- package/src/commands/setup-context.js +650 -0
- package/src/commands/smoke.js +426 -0
- package/src/commands/squad-doctor.js +358 -0
- package/src/commands/squad-export.js +46 -0
- package/src/commands/squad-pipeline.js +97 -0
- package/src/commands/squad-repair-genomes.js +39 -0
- package/src/commands/squad-status.js +424 -0
- package/src/commands/squad-validate.js +230 -0
- package/src/commands/test-agents.js +194 -0
- package/src/commands/update.js +55 -0
- package/src/commands/workflow-next.js +594 -0
- package/src/commands/workflow-plan.js +108 -0
- package/src/constants.js +314 -0
- package/src/context-parse-reason.js +22 -0
- package/src/context-writer.js +150 -0
- package/src/context.js +217 -0
- package/src/detector.js +261 -0
- package/src/doctor.js +289 -0
- package/src/execution-gateway.js +461 -0
- package/src/genome-files.js +198 -0
- package/src/genome-format.js +442 -0
- package/src/genome-schema.js +215 -0
- package/src/genomes/bindings.js +281 -0
- package/src/genomes.js +467 -0
- package/src/i18n/index.js +103 -0
- package/src/i18n/messages/en.js +784 -0
- package/src/i18n/messages/es.js +718 -0
- package/src/i18n/messages/fr.js +725 -0
- package/src/i18n/messages/pt-BR.js +818 -0
- package/src/i18n/scaffold.js +64 -0
- package/src/installer.js +232 -0
- package/src/lib/genomes/compat.js +206 -0
- package/src/lib/genomes/migrate.js +90 -0
- package/src/lib/squads/genome-repair.js +49 -0
- package/src/locales.js +84 -0
- package/src/onboarding.js +305 -0
- package/src/parser.js +53 -0
- package/src/prompt-tool.js +20 -0
- package/src/qa-html-report.js +472 -0
- package/src/runtime-store.js +1527 -0
- package/src/squads/apply-genome.js +21 -0
- package/src/squads/genome-binding-service.js +154 -0
- package/src/updater.js +32 -0
- package/src/utils.js +46 -0
- package/src/version.js +50 -0
- package/template/.aioson/advisors/.gitkeep +1 -0
- package/template/.aioson/agents/analyst.md +225 -0
- package/template/.aioson/agents/architect.md +221 -0
- package/template/.aioson/agents/dev.md +201 -0
- package/template/.aioson/agents/discovery-design-doc.md +196 -0
- package/template/.aioson/agents/genoma.md +300 -0
- package/template/.aioson/agents/orchestrator.md +107 -0
- package/template/.aioson/agents/pm.md +89 -0
- package/template/.aioson/agents/product.md +361 -0
- package/template/.aioson/agents/profiler-enricher.md +266 -0
- package/template/.aioson/agents/profiler-forge.md +188 -0
- package/template/.aioson/agents/profiler-researcher.md +245 -0
- package/template/.aioson/agents/qa.md +344 -0
- package/template/.aioson/agents/setup.md +381 -0
- package/template/.aioson/agents/squad.md +837 -0
- package/template/.aioson/agents/ux-ui.md +416 -0
- package/template/.aioson/config.md +56 -0
- package/template/.aioson/context/.gitkeep +0 -0
- package/template/.aioson/context/parallel/.gitkeep +0 -0
- package/template/.aioson/context/spec.md.template +37 -0
- package/template/.aioson/genomas/.gitkeep +0 -0
- package/template/.aioson/locales/en/agents/analyst.md +214 -0
- package/template/.aioson/locales/en/agents/architect.md +210 -0
- package/template/.aioson/locales/en/agents/dev.md +187 -0
- package/template/.aioson/locales/en/agents/discovery-design-doc.md +27 -0
- package/template/.aioson/locales/en/agents/genoma.md +212 -0
- package/template/.aioson/locales/en/agents/orchestrator.md +105 -0
- package/template/.aioson/locales/en/agents/pm.md +77 -0
- package/template/.aioson/locales/en/agents/product.md +310 -0
- package/template/.aioson/locales/en/agents/profiler-enricher.md +5 -0
- package/template/.aioson/locales/en/agents/profiler-forge.md +5 -0
- package/template/.aioson/locales/en/agents/profiler-researcher.md +5 -0
- package/template/.aioson/locales/en/agents/qa.md +214 -0
- package/template/.aioson/locales/en/agents/setup.md +342 -0
- package/template/.aioson/locales/en/agents/squad.md +247 -0
- package/template/.aioson/locales/en/agents/ux-ui.md +320 -0
- package/template/.aioson/locales/es/agents/analyst.md +203 -0
- package/template/.aioson/locales/es/agents/architect.md +208 -0
- package/template/.aioson/locales/es/agents/dev.md +183 -0
- package/template/.aioson/locales/es/agents/discovery-design-doc.md +19 -0
- package/template/.aioson/locales/es/agents/genoma.md +102 -0
- package/template/.aioson/locales/es/agents/orchestrator.md +108 -0
- package/template/.aioson/locales/es/agents/pm.md +81 -0
- package/template/.aioson/locales/es/agents/product.md +310 -0
- package/template/.aioson/locales/es/agents/profiler-enricher.md +5 -0
- package/template/.aioson/locales/es/agents/profiler-forge.md +5 -0
- package/template/.aioson/locales/es/agents/profiler-researcher.md +5 -0
- package/template/.aioson/locales/es/agents/qa.md +163 -0
- package/template/.aioson/locales/es/agents/setup.md +347 -0
- package/template/.aioson/locales/es/agents/squad.md +247 -0
- package/template/.aioson/locales/es/agents/ux-ui.md +201 -0
- package/template/.aioson/locales/fr/agents/analyst.md +203 -0
- package/template/.aioson/locales/fr/agents/architect.md +208 -0
- package/template/.aioson/locales/fr/agents/dev.md +183 -0
- package/template/.aioson/locales/fr/agents/discovery-design-doc.md +19 -0
- package/template/.aioson/locales/fr/agents/genoma.md +102 -0
- package/template/.aioson/locales/fr/agents/orchestrator.md +108 -0
- package/template/.aioson/locales/fr/agents/pm.md +81 -0
- package/template/.aioson/locales/fr/agents/product.md +310 -0
- package/template/.aioson/locales/fr/agents/profiler-enricher.md +5 -0
- package/template/.aioson/locales/fr/agents/profiler-forge.md +5 -0
- package/template/.aioson/locales/fr/agents/profiler-researcher.md +5 -0
- package/template/.aioson/locales/fr/agents/qa.md +163 -0
- package/template/.aioson/locales/fr/agents/setup.md +347 -0
- package/template/.aioson/locales/fr/agents/squad.md +247 -0
- package/template/.aioson/locales/fr/agents/ux-ui.md +201 -0
- package/template/.aioson/locales/pt-BR/agents/analyst.md +217 -0
- package/template/.aioson/locales/pt-BR/agents/architect.md +213 -0
- package/template/.aioson/locales/pt-BR/agents/dev.md +198 -0
- package/template/.aioson/locales/pt-BR/agents/discovery-design-doc.md +198 -0
- package/template/.aioson/locales/pt-BR/agents/genoma.md +297 -0
- package/template/.aioson/locales/pt-BR/agents/orchestrator.md +108 -0
- package/template/.aioson/locales/pt-BR/agents/pm.md +81 -0
- package/template/.aioson/locales/pt-BR/agents/product.md +316 -0
- package/template/.aioson/locales/pt-BR/agents/profiler-enricher.md +5 -0
- package/template/.aioson/locales/pt-BR/agents/profiler-forge.md +5 -0
- package/template/.aioson/locales/pt-BR/agents/profiler-researcher.md +5 -0
- package/template/.aioson/locales/pt-BR/agents/qa.md +217 -0
- package/template/.aioson/locales/pt-BR/agents/setup.md +371 -0
- package/template/.aioson/locales/pt-BR/agents/squad.md +772 -0
- package/template/.aioson/locales/pt-BR/agents/ux-ui.md +322 -0
- package/template/.aioson/mcp/servers.md +24 -0
- package/template/.aioson/profiler-reports/.gitkeep +1 -0
- package/template/.aioson/schemas/content-blueprint.schema.json +30 -0
- package/template/.aioson/schemas/genome-meta.schema.json +150 -0
- package/template/.aioson/schemas/genome.schema.json +115 -0
- package/template/.aioson/schemas/readiness.schema.json +27 -0
- package/template/.aioson/schemas/squad-blueprint.schema.json +172 -0
- package/template/.aioson/schemas/squad-manifest.schema.json +276 -0
- package/template/.aioson/skills/dynamic/README.md +30 -0
- package/template/.aioson/skills/dynamic/cardano-docs.md +16 -0
- package/template/.aioson/skills/dynamic/ethereum-docs.md +17 -0
- package/template/.aioson/skills/dynamic/flux-ui-docs.md +13 -0
- package/template/.aioson/skills/dynamic/laravel-docs.md +41 -0
- package/template/.aioson/skills/dynamic/npm-packages.md +16 -0
- package/template/.aioson/skills/dynamic/solana-docs.md +16 -0
- package/template/.aioson/skills/references/premium-command-center-ui/master-application-prompt.md +79 -0
- package/template/.aioson/skills/references/premium-command-center-ui/operational-ux-playbook.md +253 -0
- package/template/.aioson/skills/references/premium-command-center-ui/quality-validation-checklist.md +82 -0
- package/template/.aioson/skills/references/premium-command-center-ui/visual-system-and-component-patterns.md +270 -0
- package/template/.aioson/skills/static/django-patterns.md +342 -0
- package/template/.aioson/skills/static/fastapi-patterns.md +344 -0
- package/template/.aioson/skills/static/filament-patterns.md +267 -0
- package/template/.aioson/skills/static/flux-ui-components.md +262 -0
- package/template/.aioson/skills/static/git-conventions.md +227 -0
- package/template/.aioson/skills/static/interface-design.md +372 -0
- package/template/.aioson/skills/static/jetstream-setup.md +200 -0
- package/template/.aioson/skills/static/laravel-conventions.md +491 -0
- package/template/.aioson/skills/static/nextjs-patterns.md +321 -0
- package/template/.aioson/skills/static/node-express-patterns.md +317 -0
- package/template/.aioson/skills/static/node-typescript-patterns.md +282 -0
- package/template/.aioson/skills/static/premium-command-center-ui.md +190 -0
- package/template/.aioson/skills/static/rails-conventions.md +307 -0
- package/template/.aioson/skills/static/react-motion-patterns.md +577 -0
- package/template/.aioson/skills/static/static-html-patterns.md +1935 -0
- package/template/.aioson/skills/static/tall-stack-patterns.md +286 -0
- package/template/.aioson/skills/static/ui-ux-modern.md +75 -0
- package/template/.aioson/skills/static/web3-cardano-patterns.md +337 -0
- package/template/.aioson/skills/static/web3-ethereum-patterns.md +310 -0
- package/template/.aioson/skills/static/web3-security-checklist.md +284 -0
- package/template/.aioson/skills/static/web3-solana-patterns.md +324 -0
- package/template/.aioson/squads/.artisan/.gitkeep +0 -0
- package/template/.aioson/squads/.gitkeep +0 -0
- package/template/.aioson/squads/memory.md +5 -0
- package/template/.aioson/tasks/squad-analyze.md +83 -0
- package/template/.aioson/tasks/squad-create.md +99 -0
- package/template/.aioson/tasks/squad-design.md +100 -0
- package/template/.aioson/tasks/squad-export.md +20 -0
- package/template/.aioson/tasks/squad-extend.md +68 -0
- package/template/.aioson/tasks/squad-pipeline.md +122 -0
- package/template/.aioson/tasks/squad-repair.md +85 -0
- package/template/.aioson/tasks/squad-validate.md +58 -0
- package/template/.aioson/templates/squads/content-basic/template.json +21 -0
- package/template/.aioson/templates/squads/media-channel/template.json +24 -0
- package/template/.aioson/templates/squads/research-analysis/template.json +22 -0
- package/template/.aioson/templates/squads/software-delivery/template.json +21 -0
- package/template/.claude/commands/aioson/analyst.md +5 -0
- package/template/.claude/commands/aioson/architect.md +5 -0
- package/template/.claude/commands/aioson/dev.md +5 -0
- package/template/.claude/commands/aioson/orchestrator.md +5 -0
- package/template/.claude/commands/aioson/pm.md +5 -0
- package/template/.claude/commands/aioson/qa.md +5 -0
- package/template/.claude/commands/aioson/setup.md +5 -0
- package/template/.claude/commands/aioson/ux-ui.md +5 -0
- package/template/.gemini/GEMINI.md +10 -0
- package/template/.gemini/commands/aios-analyst.toml +4 -0
- package/template/.gemini/commands/aios-architect.toml +7 -0
- package/template/.gemini/commands/aios-dev.toml +8 -0
- package/template/.gemini/commands/aios-discovery-design-doc.toml +4 -0
- package/template/.gemini/commands/aios-orchestrator.toml +8 -0
- package/template/.gemini/commands/aios-pm.toml +8 -0
- package/template/.gemini/commands/aios-product.toml +4 -0
- package/template/.gemini/commands/aios-qa.toml +6 -0
- package/template/.gemini/commands/aios-setup.toml +3 -0
- package/template/.gemini/commands/aios-ux-ui.toml +8 -0
- package/template/AGENTS.md +67 -0
- package/template/CLAUDE.md +31 -0
- package/template/OPENCODE.md +24 -0
- package/template/aioson-models.json +40 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/agents.schema.json",
|
|
4
|
+
"title": "AIOSON agents --json output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["ok", "targetDir", "count", "agents", "locale"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"ok": { "type": "boolean", "const": true },
|
|
9
|
+
"targetDir": { "type": "string" },
|
|
10
|
+
"count": { "type": "integer", "minimum": 0 },
|
|
11
|
+
"locale": { "type": "string" },
|
|
12
|
+
"agents": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"required": ["id", "command", "path", "dependsOn", "output"],
|
|
17
|
+
"properties": {
|
|
18
|
+
"id": { "type": "string" },
|
|
19
|
+
"command": { "type": "string" },
|
|
20
|
+
"path": { "type": "string" },
|
|
21
|
+
"dependsOn": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"items": { "type": "string" }
|
|
24
|
+
},
|
|
25
|
+
"output": { "type": "string" }
|
|
26
|
+
},
|
|
27
|
+
"additionalProperties": true
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"additionalProperties": true
|
|
32
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/context-validate.schema.json",
|
|
4
|
+
"title": "AIOSON context:validate --json output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["ok", "reason", "targetDir", "exists", "parsed", "valid", "filePath", "data", "issues"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"ok": { "type": "boolean" },
|
|
9
|
+
"reason": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": ["missing_file", "invalid_frontmatter", "invalid_fields", "valid"]
|
|
12
|
+
},
|
|
13
|
+
"targetDir": { "type": "string" },
|
|
14
|
+
"exists": { "type": "boolean" },
|
|
15
|
+
"parsed": { "type": "boolean" },
|
|
16
|
+
"valid": { "type": "boolean" },
|
|
17
|
+
"filePath": { "type": "string" },
|
|
18
|
+
"data": { "type": ["object", "null"] },
|
|
19
|
+
"issues": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"required": ["id", "key", "params", "hintKey"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"id": { "type": "string" },
|
|
26
|
+
"key": { "type": "string" },
|
|
27
|
+
"params": { "type": "object" },
|
|
28
|
+
"hintKey": { "type": "string" }
|
|
29
|
+
},
|
|
30
|
+
"additionalProperties": true
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"parseError": { "type": "string" }
|
|
34
|
+
},
|
|
35
|
+
"additionalProperties": true
|
|
36
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/doctor.schema.json",
|
|
4
|
+
"title": "AIOSON doctor --json output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["ok", "targetDir", "fix", "report"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"ok": { "type": "boolean" },
|
|
9
|
+
"targetDir": { "type": "string" },
|
|
10
|
+
"fix": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"required": ["enabled", "dryRun"],
|
|
13
|
+
"properties": {
|
|
14
|
+
"enabled": { "type": "boolean" },
|
|
15
|
+
"dryRun": { "type": "boolean" },
|
|
16
|
+
"changedCount": { "type": "integer", "minimum": 0 },
|
|
17
|
+
"actions": {
|
|
18
|
+
"type": "array",
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"required": ["id", "applied", "count"],
|
|
22
|
+
"properties": {
|
|
23
|
+
"id": { "type": "string" },
|
|
24
|
+
"applied": { "type": "boolean" },
|
|
25
|
+
"count": { "type": "integer", "minimum": 0 },
|
|
26
|
+
"skipped": { "type": "boolean" },
|
|
27
|
+
"missingCount": { "type": "integer", "minimum": 0 },
|
|
28
|
+
"locale": { "type": "string" }
|
|
29
|
+
},
|
|
30
|
+
"additionalProperties": true
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"additionalProperties": true
|
|
35
|
+
},
|
|
36
|
+
"report": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"required": ["ok", "checks", "failedCount", "contextValidation"],
|
|
39
|
+
"properties": {
|
|
40
|
+
"ok": { "type": "boolean" },
|
|
41
|
+
"checks": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"required": ["id", "key", "params", "ok"],
|
|
46
|
+
"properties": {
|
|
47
|
+
"id": { "type": "string" },
|
|
48
|
+
"key": { "type": "string" },
|
|
49
|
+
"params": { "type": "object" },
|
|
50
|
+
"ok": { "type": "boolean" },
|
|
51
|
+
"hintKey": { "type": "string" }
|
|
52
|
+
},
|
|
53
|
+
"additionalProperties": true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"failedCount": { "type": "integer", "minimum": 0 },
|
|
57
|
+
"contextValidation": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"required": ["exists", "parsed", "valid", "filePath", "data", "issues"],
|
|
60
|
+
"properties": {
|
|
61
|
+
"exists": { "type": "boolean" },
|
|
62
|
+
"parsed": { "type": "boolean" },
|
|
63
|
+
"valid": { "type": "boolean" },
|
|
64
|
+
"filePath": { "type": "string" },
|
|
65
|
+
"data": { "type": ["object", "null"] },
|
|
66
|
+
"issues": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"required": ["id", "key", "params", "hintKey"],
|
|
71
|
+
"properties": {
|
|
72
|
+
"id": { "type": "string" },
|
|
73
|
+
"key": { "type": "string" },
|
|
74
|
+
"params": { "type": "object" },
|
|
75
|
+
"hintKey": { "type": "string" }
|
|
76
|
+
},
|
|
77
|
+
"additionalProperties": true
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"parseError": { "type": "string" }
|
|
81
|
+
},
|
|
82
|
+
"additionalProperties": true
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"additionalProperties": true
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"additionalProperties": true
|
|
89
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/error.schema.json",
|
|
4
|
+
"title": "AIOSON CLI --json error output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["ok", "error"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"ok": { "type": "boolean", "const": false },
|
|
9
|
+
"error": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"required": ["code", "message", "command"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"code": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": ["unknown_command", "command_error"]
|
|
16
|
+
},
|
|
17
|
+
"message": { "type": "string" },
|
|
18
|
+
"command": { "type": "string" }
|
|
19
|
+
},
|
|
20
|
+
"additionalProperties": true
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"additionalProperties": true
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/i18n-add.schema.json",
|
|
4
|
+
"title": "AIOSON i18n:add --json output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["ok", "locale", "filePath", "overwritten", "dryRun"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"ok": { "type": "boolean", "const": true },
|
|
9
|
+
"locale": { "type": "string" },
|
|
10
|
+
"filePath": { "type": "string" },
|
|
11
|
+
"overwritten": { "type": "boolean" },
|
|
12
|
+
"dryRun": { "type": "boolean" }
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": true
|
|
15
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "1.0.0",
|
|
3
|
+
"draft": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"compatibility_policy": {
|
|
5
|
+
"stable_keys": "Keys listed in each schema's required array are considered stable for automation.",
|
|
6
|
+
"additive_changes": "New optional fields may be added without breaking compatibility.",
|
|
7
|
+
"breaking_changes": "Removing or renaming required keys is breaking and must be announced in release notes."
|
|
8
|
+
},
|
|
9
|
+
"schemas": [
|
|
10
|
+
{
|
|
11
|
+
"id": "init",
|
|
12
|
+
"command": "aioson init <project-name> --json",
|
|
13
|
+
"file": "init.schema.json"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "install",
|
|
17
|
+
"command": "aioson install [path] --json",
|
|
18
|
+
"file": "install.schema.json"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "update",
|
|
22
|
+
"command": "aioson update [path] --json",
|
|
23
|
+
"file": "update.schema.json"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "info",
|
|
27
|
+
"command": "aioson info --json",
|
|
28
|
+
"file": "info.schema.json"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "agents",
|
|
32
|
+
"command": "aioson agents [path] --json",
|
|
33
|
+
"file": "agents.schema.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "agent_prompt",
|
|
37
|
+
"command": "aioson agent:prompt <agent> [path] --json",
|
|
38
|
+
"file": "agent-prompt.schema.json"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "locale_apply",
|
|
42
|
+
"command": "aioson locale:apply [path] --json",
|
|
43
|
+
"file": "locale-apply.schema.json"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "setup_context",
|
|
47
|
+
"command": "aioson setup:context [path] --defaults --json",
|
|
48
|
+
"file": "setup-context.schema.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "i18n_add",
|
|
52
|
+
"command": "aioson i18n:add <locale> --dry-run --json",
|
|
53
|
+
"file": "i18n-add.schema.json"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "doctor",
|
|
57
|
+
"command": "aioson doctor --json",
|
|
58
|
+
"file": "doctor.schema.json"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "context_validate",
|
|
62
|
+
"command": "aioson context:validate --json",
|
|
63
|
+
"file": "context-validate.schema.json"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "smoke",
|
|
67
|
+
"command": "aioson test:smoke --json",
|
|
68
|
+
"file": "smoke.schema.json"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "mcp_init",
|
|
72
|
+
"command": "aioson mcp:init --json",
|
|
73
|
+
"file": "mcp-init.schema.json"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "mcp_doctor",
|
|
77
|
+
"command": "aioson mcp:doctor --json",
|
|
78
|
+
"file": "mcp-doctor.schema.json"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "package_test",
|
|
82
|
+
"command": "aioson test:package --json",
|
|
83
|
+
"file": "package-test.schema.json"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "workflow_plan",
|
|
87
|
+
"command": "aioson workflow:plan --json",
|
|
88
|
+
"file": "workflow-plan.schema.json"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "parallel_init",
|
|
92
|
+
"command": "aioson parallel:init --json",
|
|
93
|
+
"file": "parallel-init.schema.json"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"id": "parallel_assign",
|
|
97
|
+
"command": "aioson parallel:assign --json",
|
|
98
|
+
"file": "parallel-assign.schema.json"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "parallel_status",
|
|
102
|
+
"command": "aioson parallel:status --json",
|
|
103
|
+
"file": "parallel-status.schema.json"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "parallel_doctor",
|
|
107
|
+
"command": "aioson parallel:doctor --json",
|
|
108
|
+
"file": "parallel-doctor.schema.json"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "cli_error",
|
|
112
|
+
"command": "aioson <unknown> --json",
|
|
113
|
+
"file": "error.schema.json"
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/info.schema.json",
|
|
4
|
+
"title": "AIOSON info --json output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["ok", "version", "targetDir", "installed", "detection"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"ok": { "type": "boolean", "const": true },
|
|
9
|
+
"version": { "type": "string" },
|
|
10
|
+
"targetDir": { "type": "string" },
|
|
11
|
+
"installed": { "type": "boolean" },
|
|
12
|
+
"detection": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"required": ["framework", "installed", "evidence", "confidence", "matches"],
|
|
15
|
+
"properties": {
|
|
16
|
+
"framework": { "type": ["string", "null"] },
|
|
17
|
+
"installed": { "type": "boolean" },
|
|
18
|
+
"evidence": { "type": ["string", "null"] },
|
|
19
|
+
"confidence": { "type": "string" },
|
|
20
|
+
"matches": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"required": ["framework", "installed", "evidence", "confidence"],
|
|
25
|
+
"properties": {
|
|
26
|
+
"framework": { "type": "string" },
|
|
27
|
+
"installed": { "type": "boolean" },
|
|
28
|
+
"evidence": { "type": ["string", "null"] },
|
|
29
|
+
"confidence": { "type": "string" }
|
|
30
|
+
},
|
|
31
|
+
"additionalProperties": true
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"additionalProperties": true
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"additionalProperties": true
|
|
39
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/init.schema.json",
|
|
4
|
+
"title": "AIOSON init --json output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["ok", "targetDir", "existingInstall", "copied", "skipped", "backedUp", "dryRun", "localeApply"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"ok": { "type": "boolean", "const": true },
|
|
9
|
+
"targetDir": { "type": "string" },
|
|
10
|
+
"existingInstall": { "type": "boolean" },
|
|
11
|
+
"copied": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": { "type": "string" }
|
|
14
|
+
},
|
|
15
|
+
"skipped": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"required": ["path", "reason"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"path": { "type": "string" },
|
|
22
|
+
"reason": { "type": "string" }
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": true
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"backedUp": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": { "type": "string" }
|
|
30
|
+
},
|
|
31
|
+
"dryRun": { "type": "boolean" },
|
|
32
|
+
"localeApply": {
|
|
33
|
+
"type": ["object", "null"],
|
|
34
|
+
"required": ["locale", "copied", "missing", "dryRun"],
|
|
35
|
+
"properties": {
|
|
36
|
+
"locale": { "type": "string" },
|
|
37
|
+
"copied": { "type": "array" },
|
|
38
|
+
"missing": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": { "type": "string" }
|
|
41
|
+
},
|
|
42
|
+
"dryRun": { "type": "boolean" }
|
|
43
|
+
},
|
|
44
|
+
"additionalProperties": true
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"additionalProperties": true
|
|
48
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/install.schema.json",
|
|
4
|
+
"title": "AIOSON install --json output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["ok", "targetDir", "detection", "existingInstall", "copied", "skipped", "backedUp", "dryRun", "localeApply"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"ok": { "type": "boolean", "const": true },
|
|
9
|
+
"targetDir": { "type": "string" },
|
|
10
|
+
"detection": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"required": ["framework", "installed", "evidence", "confidence", "matches"],
|
|
13
|
+
"properties": {
|
|
14
|
+
"framework": { "type": ["string", "null"] },
|
|
15
|
+
"installed": { "type": "boolean" },
|
|
16
|
+
"evidence": { "type": ["string", "null"] },
|
|
17
|
+
"confidence": { "type": "string" },
|
|
18
|
+
"matches": { "type": "array" }
|
|
19
|
+
},
|
|
20
|
+
"additionalProperties": true
|
|
21
|
+
},
|
|
22
|
+
"existingInstall": { "type": "boolean" },
|
|
23
|
+
"copied": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": { "type": "string" }
|
|
26
|
+
},
|
|
27
|
+
"skipped": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"required": ["path", "reason"],
|
|
32
|
+
"properties": {
|
|
33
|
+
"path": { "type": "string" },
|
|
34
|
+
"reason": { "type": "string" }
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": true
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"backedUp": {
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": { "type": "string" }
|
|
42
|
+
},
|
|
43
|
+
"dryRun": { "type": "boolean" },
|
|
44
|
+
"localeApply": {
|
|
45
|
+
"type": ["object", "null"],
|
|
46
|
+
"required": ["locale", "copied", "missing", "dryRun"],
|
|
47
|
+
"properties": {
|
|
48
|
+
"locale": { "type": "string" },
|
|
49
|
+
"copied": { "type": "array" },
|
|
50
|
+
"missing": {
|
|
51
|
+
"type": "array",
|
|
52
|
+
"items": { "type": "string" }
|
|
53
|
+
},
|
|
54
|
+
"dryRun": { "type": "boolean" }
|
|
55
|
+
},
|
|
56
|
+
"additionalProperties": true
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"additionalProperties": true
|
|
60
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/locale-apply.schema.json",
|
|
4
|
+
"title": "AIOSON locale:apply --json output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["ok", "targetDir", "locale", "copied", "missing", "dryRun"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"ok": { "type": "boolean", "const": true },
|
|
9
|
+
"targetDir": { "type": "string" },
|
|
10
|
+
"locale": { "type": "string" },
|
|
11
|
+
"dryRun": { "type": "boolean" },
|
|
12
|
+
"copied": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"required": ["source", "target"],
|
|
17
|
+
"properties": {
|
|
18
|
+
"source": { "type": "string" },
|
|
19
|
+
"target": { "type": "string" }
|
|
20
|
+
},
|
|
21
|
+
"additionalProperties": true
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"missing": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": { "type": "string" }
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"additionalProperties": true
|
|
30
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/mcp-doctor.schema.json",
|
|
4
|
+
"title": "AIOSON mcp:doctor --json output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["ok", "targetDir", "strictEnv", "context", "plan", "env", "presets", "checks", "summary"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"ok": { "type": "boolean" },
|
|
9
|
+
"targetDir": { "type": "string" },
|
|
10
|
+
"strictEnv": { "type": "boolean" },
|
|
11
|
+
"context": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"required": ["exists", "parsed", "filePath", "projectType", "framework", "conversationLanguage"],
|
|
14
|
+
"properties": {
|
|
15
|
+
"exists": { "type": "boolean" },
|
|
16
|
+
"parsed": { "type": "boolean" },
|
|
17
|
+
"filePath": { "type": "string" },
|
|
18
|
+
"projectType": { "type": "string" },
|
|
19
|
+
"framework": { "type": "string" },
|
|
20
|
+
"conversationLanguage": { "type": "string" }
|
|
21
|
+
},
|
|
22
|
+
"additionalProperties": true
|
|
23
|
+
},
|
|
24
|
+
"plan": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"required": ["filePath", "exists", "parsed", "serverCount", "enabledServers"],
|
|
27
|
+
"properties": {
|
|
28
|
+
"filePath": { "type": "string" },
|
|
29
|
+
"exists": { "type": "boolean" },
|
|
30
|
+
"parsed": { "type": "boolean" },
|
|
31
|
+
"serverCount": { "type": "integer", "minimum": 0 },
|
|
32
|
+
"enabledServers": {
|
|
33
|
+
"type": "array",
|
|
34
|
+
"items": { "type": "string" }
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"additionalProperties": true
|
|
38
|
+
},
|
|
39
|
+
"env": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"required": ["required", "missing"],
|
|
42
|
+
"properties": {
|
|
43
|
+
"required": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": { "type": "string" }
|
|
46
|
+
},
|
|
47
|
+
"missing": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": { "type": "string" }
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"additionalProperties": true
|
|
53
|
+
},
|
|
54
|
+
"presets": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"required": ["tool", "path", "exists"],
|
|
59
|
+
"properties": {
|
|
60
|
+
"tool": { "type": "string" },
|
|
61
|
+
"path": { "type": "string" },
|
|
62
|
+
"exists": { "type": "boolean" }
|
|
63
|
+
},
|
|
64
|
+
"additionalProperties": true
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"checks": {
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"required": ["id", "ok", "severity", "message", "hint"],
|
|
72
|
+
"properties": {
|
|
73
|
+
"id": { "type": "string" },
|
|
74
|
+
"ok": { "type": "boolean" },
|
|
75
|
+
"severity": { "type": "string", "enum": ["info", "warn", "error"] },
|
|
76
|
+
"message": { "type": "string" },
|
|
77
|
+
"hint": { "type": "string" }
|
|
78
|
+
},
|
|
79
|
+
"additionalProperties": true
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"summary": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"required": ["total", "passed", "failed", "warnings"],
|
|
85
|
+
"properties": {
|
|
86
|
+
"total": { "type": "integer", "minimum": 0 },
|
|
87
|
+
"passed": { "type": "integer", "minimum": 0 },
|
|
88
|
+
"failed": { "type": "integer", "minimum": 0 },
|
|
89
|
+
"warnings": { "type": "integer", "minimum": 0 }
|
|
90
|
+
},
|
|
91
|
+
"additionalProperties": true
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"additionalProperties": true
|
|
95
|
+
}
|