@vibe-agent-toolkit/cli 0.2.0-rc.10 → 0.2.0-rc.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/bin/supervise-cli.d.ts +45 -0
- package/dist/bin/supervise-cli.d.ts.map +1 -0
- package/dist/bin/supervise-cli.js +83 -0
- package/dist/bin/supervise-cli.js.map +1 -0
- package/dist/bin/vat +94 -40
- package/dist/bin/vat.d.ts +15 -4
- package/dist/bin/vat.d.ts.map +1 -1
- package/dist/bin/vat.js +94 -40
- package/dist/bin/vat.js.map +1 -1
- package/dist/bin.js +21 -29
- package/dist/bin.js.map +1 -1
- package/dist/command-tree.d.ts +45 -0
- package/dist/command-tree.d.ts.map +1 -0
- package/dist/command-tree.js +60 -0
- package/dist/command-tree.js.map +1 -0
- package/dist/commands/agent/build-schema.d.ts +100 -0
- package/dist/commands/agent/build-schema.d.ts.map +1 -0
- package/dist/commands/agent/build-schema.js +32 -0
- package/dist/commands/agent/build-schema.js.map +1 -0
- package/dist/commands/agent/build.d.ts +1 -0
- package/dist/commands/agent/build.d.ts.map +1 -1
- package/dist/commands/agent/build.js +63 -33
- package/dist/commands/agent/build.js.map +1 -1
- package/dist/commands/agent/import-schema.d.ts +75 -0
- package/dist/commands/agent/import-schema.d.ts.map +1 -0
- package/dist/commands/agent/import-schema.js +25 -0
- package/dist/commands/agent/import-schema.js.map +1 -0
- package/dist/commands/agent/import.d.ts.map +1 -1
- package/dist/commands/agent/import.js +33 -27
- package/dist/commands/agent/import.js.map +1 -1
- package/dist/commands/agent/index.d.ts.map +1 -1
- package/dist/commands/agent/index.js +132 -37
- package/dist/commands/agent/index.js.map +1 -1
- package/dist/commands/agent/install-path.d.ts.map +1 -1
- package/dist/commands/agent/install-path.js +2 -1
- package/dist/commands/agent/install-path.js.map +1 -1
- package/dist/commands/agent/install-schema.d.ts +89 -0
- package/dist/commands/agent/install-schema.d.ts.map +1 -0
- package/dist/commands/agent/install-schema.js +29 -0
- package/dist/commands/agent/install-schema.js.map +1 -0
- package/dist/commands/agent/install.d.ts +7 -1
- package/dist/commands/agent/install.d.ts.map +1 -1
- package/dist/commands/agent/install.js +78 -108
- package/dist/commands/agent/install.js.map +1 -1
- package/dist/commands/agent/installed-schema.d.ts +140 -0
- package/dist/commands/agent/installed-schema.d.ts.map +1 -0
- package/dist/commands/agent/installed-schema.js +36 -0
- package/dist/commands/agent/installed-schema.js.map +1 -0
- package/dist/commands/agent/installed.d.ts +1 -1
- package/dist/commands/agent/installed.d.ts.map +1 -1
- package/dist/commands/agent/installed.js +104 -75
- package/dist/commands/agent/installed.js.map +1 -1
- package/dist/commands/agent/list-schema.d.ts +128 -0
- package/dist/commands/agent/list-schema.d.ts.map +1 -0
- package/dist/commands/agent/list-schema.js +34 -0
- package/dist/commands/agent/list-schema.js.map +1 -0
- package/dist/commands/agent/list.d.ts +4 -3
- package/dist/commands/agent/list.d.ts.map +1 -1
- package/dist/commands/agent/list.js +50 -37
- package/dist/commands/agent/list.js.map +1 -1
- package/dist/commands/agent/run.d.ts +3 -0
- package/dist/commands/agent/run.d.ts.map +1 -1
- package/dist/commands/agent/run.js +8 -3
- package/dist/commands/agent/run.js.map +1 -1
- package/dist/commands/agent/uninstall-schema.d.ts +89 -0
- package/dist/commands/agent/uninstall-schema.d.ts.map +1 -0
- package/dist/commands/agent/uninstall-schema.js +29 -0
- package/dist/commands/agent/uninstall-schema.js.map +1 -0
- package/dist/commands/agent/uninstall.d.ts +5 -1
- package/dist/commands/agent/uninstall.d.ts.map +1 -1
- package/dist/commands/agent/uninstall.js +50 -38
- package/dist/commands/agent/uninstall.js.map +1 -1
- package/dist/commands/agent/validate-schema.d.ts +129 -0
- package/dist/commands/agent/validate-schema.d.ts.map +1 -0
- package/dist/commands/agent/validate-schema.js +35 -0
- package/dist/commands/agent/validate-schema.js.map +1 -0
- package/dist/commands/agent/validate.d.ts +6 -0
- package/dist/commands/agent/validate.d.ts.map +1 -1
- package/dist/commands/agent/validate.js +64 -36
- package/dist/commands/agent/validate.js.map +1 -1
- package/dist/commands/ard/emit-schema.d.ts +108 -0
- package/dist/commands/ard/emit-schema.d.ts.map +1 -0
- package/dist/commands/ard/emit-schema.js +37 -0
- package/dist/commands/ard/emit-schema.js.map +1 -0
- package/dist/commands/ard/emit.d.ts +31 -63
- package/dist/commands/ard/emit.d.ts.map +1 -1
- package/dist/commands/ard/emit.js +124 -68
- package/dist/commands/ard/emit.js.map +1 -1
- package/dist/commands/ard/index.d.ts.map +1 -1
- package/dist/commands/ard/index.js +17 -10
- package/dist/commands/ard/index.js.map +1 -1
- package/dist/commands/audit/compat-lane-findings.d.ts +65 -0
- package/dist/commands/audit/compat-lane-findings.d.ts.map +1 -0
- package/dist/commands/audit/compat-lane-findings.js +72 -0
- package/dist/commands/audit/compat-lane-findings.js.map +1 -0
- package/dist/commands/audit/distributed-tree.d.ts +2 -2
- package/dist/commands/audit/distributed-tree.d.ts.map +1 -1
- package/dist/commands/audit/distributed-tree.js +23 -12
- package/dist/commands/audit/distributed-tree.js.map +1 -1
- package/dist/commands/audit/git-url-clone.d.ts +15 -7
- package/dist/commands/audit/git-url-clone.d.ts.map +1 -1
- package/dist/commands/audit/git-url-clone.js +85 -42
- package/dist/commands/audit/git-url-clone.js.map +1 -1
- package/dist/commands/audit/hierarchical-output.d.ts +28 -4
- package/dist/commands/audit/hierarchical-output.d.ts.map +1 -1
- package/dist/commands/audit/hierarchical-output.js +44 -27
- package/dist/commands/audit/hierarchical-output.js.map +1 -1
- package/dist/commands/audit/scan-population.d.ts.map +1 -1
- package/dist/commands/audit/scan-population.js +2 -1
- package/dist/commands/audit/scan-population.js.map +1 -1
- package/dist/commands/audit-schema.d.ts +1247 -0
- package/dist/commands/audit-schema.d.ts.map +1 -0
- package/dist/commands/audit-schema.js +139 -0
- package/dist/commands/audit-schema.js.map +1 -0
- package/dist/commands/audit-settings-schema.d.ts +417 -0
- package/dist/commands/audit-settings-schema.d.ts.map +1 -0
- package/dist/commands/audit-settings-schema.js +77 -0
- package/dist/commands/audit-settings-schema.js.map +1 -0
- package/dist/commands/audit-settings.d.ts +28 -9
- package/dist/commands/audit-settings.d.ts.map +1 -1
- package/dist/commands/audit-settings.js +215 -151
- package/dist/commands/audit-settings.js.map +1 -1
- package/dist/commands/audit.d.ts +72 -33
- package/dist/commands/audit.d.ts.map +1 -1
- package/dist/commands/audit.js +415 -397
- package/dist/commands/audit.js.map +1 -1
- package/dist/commands/build.d.ts +61 -4
- package/dist/commands/build.d.ts.map +1 -1
- package/dist/commands/build.js +176 -190
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/cache/clear-schema.d.ts +111 -0
- package/dist/commands/cache/clear-schema.d.ts.map +1 -0
- package/dist/commands/cache/clear-schema.js +37 -0
- package/dist/commands/cache/clear-schema.js.map +1 -0
- package/dist/commands/cache/clear.d.ts +28 -26
- package/dist/commands/cache/clear.d.ts.map +1 -1
- package/dist/commands/cache/clear.js +108 -103
- package/dist/commands/cache/clear.js.map +1 -1
- package/dist/commands/cache/index.d.ts.map +1 -1
- package/dist/commands/cache/index.js +13 -7
- package/dist/commands/cache/index.js.map +1 -1
- package/dist/commands/claude/claude-config.d.ts +23 -6
- package/dist/commands/claude/claude-config.d.ts.map +1 -1
- package/dist/commands/claude/claude-config.js +29 -15
- package/dist/commands/claude/claude-config.js.map +1 -1
- package/dist/commands/claude/context.d.ts +87 -2
- package/dist/commands/claude/context.d.ts.map +1 -1
- package/dist/commands/claude/context.js +116 -57
- package/dist/commands/claude/context.js.map +1 -1
- package/dist/commands/claude/marketplace/changelog-utils.js +2 -2
- package/dist/commands/claude/marketplace/changelog-utils.js.map +1 -1
- package/dist/commands/claude/marketplace/git-publish.d.ts +14 -1
- package/dist/commands/claude/marketplace/git-publish.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/git-publish.js +135 -68
- package/dist/commands/claude/marketplace/git-publish.js.map +1 -1
- package/dist/commands/claude/marketplace/license-utils.d.ts +3 -5
- package/dist/commands/claude/marketplace/license-utils.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/license-utils.js +16 -7
- package/dist/commands/claude/marketplace/license-utils.js.map +1 -1
- package/dist/commands/claude/marketplace/publish-schema.d.ts +137 -0
- package/dist/commands/claude/marketplace/publish-schema.d.ts.map +1 -0
- package/dist/commands/claude/marketplace/publish-schema.js +32 -0
- package/dist/commands/claude/marketplace/publish-schema.js.map +1 -0
- package/dist/commands/claude/marketplace/publish-tree.d.ts +6 -0
- package/dist/commands/claude/marketplace/publish-tree.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/publish-tree.js +75 -17
- package/dist/commands/claude/marketplace/publish-tree.js.map +1 -1
- package/dist/commands/claude/marketplace/publish.d.ts +27 -0
- package/dist/commands/claude/marketplace/publish.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/publish.js +84 -50
- package/dist/commands/claude/marketplace/publish.js.map +1 -1
- package/dist/commands/claude/marketplace/validate-schema.d.ts +362 -0
- package/dist/commands/claude/marketplace/validate-schema.d.ts.map +1 -0
- package/dist/commands/claude/marketplace/validate-schema.js +67 -0
- package/dist/commands/claude/marketplace/validate-schema.js.map +1 -0
- package/dist/commands/claude/marketplace/validate.d.ts +40 -53
- package/dist/commands/claude/marketplace/validate.d.ts.map +1 -1
- package/dist/commands/claude/marketplace/validate.js +358 -214
- package/dist/commands/claude/marketplace/validate.js.map +1 -1
- package/dist/commands/claude/org/api-keys.d.ts +3 -0
- package/dist/commands/claude/org/api-keys.d.ts.map +1 -1
- package/dist/commands/claude/org/api-keys.js +4 -5
- package/dist/commands/claude/org/api-keys.js.map +1 -1
- package/dist/commands/claude/org/code-analytics.js +1 -1
- package/dist/commands/claude/org/code-analytics.js.map +1 -1
- package/dist/commands/claude/org/cost.d.ts.map +1 -1
- package/dist/commands/claude/org/cost.js +11 -33
- package/dist/commands/claude/org/cost.js.map +1 -1
- package/dist/commands/claude/org/helpers.d.ts +40 -27
- package/dist/commands/claude/org/helpers.d.ts.map +1 -1
- package/dist/commands/claude/org/helpers.js +61 -66
- package/dist/commands/claude/org/helpers.js.map +1 -1
- package/dist/commands/claude/org/index.d.ts.map +1 -1
- package/dist/commands/claude/org/index.js +10 -4
- package/dist/commands/claude/org/index.js.map +1 -1
- package/dist/commands/claude/org/info.d.ts.map +1 -1
- package/dist/commands/claude/org/info.js +2 -3
- package/dist/commands/claude/org/info.js.map +1 -1
- package/dist/commands/claude/org/invites.d.ts +3 -0
- package/dist/commands/claude/org/invites.d.ts.map +1 -1
- package/dist/commands/claude/org/invites.js +5 -7
- package/dist/commands/claude/org/invites.js.map +1 -1
- package/dist/commands/claude/org/skills.d.ts +76 -21
- package/dist/commands/claude/org/skills.d.ts.map +1 -1
- package/dist/commands/claude/org/skills.js +273 -246
- package/dist/commands/claude/org/skills.js.map +1 -1
- package/dist/commands/claude/org/stubs-schema.d.ts +56 -0
- package/dist/commands/claude/org/stubs-schema.d.ts.map +1 -0
- package/dist/commands/claude/org/stubs-schema.js +23 -0
- package/dist/commands/claude/org/stubs-schema.js.map +1 -0
- package/dist/commands/claude/org/stubs.d.ts +8 -3
- package/dist/commands/claude/org/stubs.d.ts.map +1 -1
- package/dist/commands/claude/org/stubs.js +9 -9
- package/dist/commands/claude/org/stubs.js.map +1 -1
- package/dist/commands/claude/org/usage.d.ts.map +1 -1
- package/dist/commands/claude/org/usage.js +1 -2
- package/dist/commands/claude/org/usage.js.map +1 -1
- package/dist/commands/claude/org/users.d.ts +3 -0
- package/dist/commands/claude/org/users.d.ts.map +1 -1
- package/dist/commands/claude/org/users.js +6 -8
- package/dist/commands/claude/org/users.js.map +1 -1
- package/dist/commands/claude/org/workspaces.d.ts +3 -0
- package/dist/commands/claude/org/workspaces.d.ts.map +1 -1
- package/dist/commands/claude/org/workspaces.js +10 -15
- package/dist/commands/claude/org/workspaces.js.map +1 -1
- package/dist/commands/claude/plugin/build-schema.d.ts +642 -0
- package/dist/commands/claude/plugin/build-schema.d.ts.map +1 -0
- package/dist/commands/claude/plugin/build-schema.js +51 -0
- package/dist/commands/claude/plugin/build-schema.js.map +1 -0
- package/dist/commands/claude/plugin/build.d.ts +220 -45
- package/dist/commands/claude/plugin/build.d.ts.map +1 -1
- package/dist/commands/claude/plugin/build.js +466 -249
- package/dist/commands/claude/plugin/build.js.map +1 -1
- package/dist/commands/claude/plugin/helpers.d.ts +186 -24
- package/dist/commands/claude/plugin/helpers.d.ts.map +1 -1
- package/dist/commands/claude/plugin/helpers.js +110 -68
- package/dist/commands/claude/plugin/helpers.js.map +1 -1
- package/dist/commands/claude/plugin/install-schema.d.ts +144 -0
- package/dist/commands/claude/plugin/install-schema.d.ts.map +1 -0
- package/dist/commands/claude/plugin/install-schema.js +36 -0
- package/dist/commands/claude/plugin/install-schema.js.map +1 -0
- package/dist/commands/claude/plugin/install.d.ts +191 -11
- package/dist/commands/claude/plugin/install.d.ts.map +1 -1
- package/dist/commands/claude/plugin/install.js +688 -628
- package/dist/commands/claude/plugin/install.js.map +1 -1
- package/dist/commands/claude/plugin/kept-findings.d.ts +19 -0
- package/dist/commands/claude/plugin/kept-findings.d.ts.map +1 -0
- package/dist/commands/claude/plugin/kept-findings.js +24 -0
- package/dist/commands/claude/plugin/kept-findings.js.map +1 -0
- package/dist/commands/claude/plugin/list-schema.d.ts +223 -0
- package/dist/commands/claude/plugin/list-schema.d.ts.map +1 -0
- package/dist/commands/claude/plugin/list-schema.js +34 -0
- package/dist/commands/claude/plugin/list-schema.js.map +1 -0
- package/dist/commands/claude/plugin/list.d.ts +18 -0
- package/dist/commands/claude/plugin/list.d.ts.map +1 -1
- package/dist/commands/claude/plugin/list.js +53 -45
- package/dist/commands/claude/plugin/list.js.map +1 -1
- package/dist/commands/claude/plugin/npm-pack.d.ts +15 -0
- package/dist/commands/claude/plugin/npm-pack.d.ts.map +1 -0
- package/dist/commands/claude/plugin/npm-pack.js +39 -0
- package/dist/commands/claude/plugin/npm-pack.js.map +1 -0
- package/dist/commands/claude/plugin/plugin-changelog.d.ts +5 -1
- package/dist/commands/claude/plugin/plugin-changelog.d.ts.map +1 -1
- package/dist/commands/claude/plugin/plugin-changelog.js +9 -5
- package/dist/commands/claude/plugin/plugin-changelog.js.map +1 -1
- package/dist/commands/claude/plugin/plugin-files.d.ts +21 -2
- package/dist/commands/claude/plugin/plugin-files.d.ts.map +1 -1
- package/dist/commands/claude/plugin/plugin-files.js +65 -32
- package/dist/commands/claude/plugin/plugin-files.js.map +1 -1
- package/dist/commands/claude/plugin/plugin-validators.d.ts +13 -0
- package/dist/commands/claude/plugin/plugin-validators.d.ts.map +1 -1
- package/dist/commands/claude/plugin/plugin-validators.js +64 -16
- package/dist/commands/claude/plugin/plugin-validators.js.map +1 -1
- package/dist/commands/claude/plugin/tree-copy.d.ts.map +1 -1
- package/dist/commands/claude/plugin/tree-copy.js +63 -37
- package/dist/commands/claude/plugin/tree-copy.js.map +1 -1
- package/dist/commands/claude/plugin/uninstall-schema.d.ts +112 -0
- package/dist/commands/claude/plugin/uninstall-schema.d.ts.map +1 -0
- package/dist/commands/claude/plugin/uninstall-schema.js +28 -0
- package/dist/commands/claude/plugin/uninstall-schema.js.map +1 -0
- package/dist/commands/claude/plugin/uninstall.d.ts +57 -0
- package/dist/commands/claude/plugin/uninstall.d.ts.map +1 -1
- package/dist/commands/claude/plugin/uninstall.js +176 -64
- package/dist/commands/claude/plugin/uninstall.js.map +1 -1
- package/dist/commands/consistency-check.d.ts.map +1 -1
- package/dist/commands/consistency-check.js +8 -6
- package/dist/commands/consistency-check.js.map +1 -1
- package/dist/commands/corpus/index.d.ts.map +1 -1
- package/dist/commands/corpus/index.js +26 -10
- package/dist/commands/corpus/index.js.map +1 -1
- package/dist/commands/corpus/report.d.ts +34 -16
- package/dist/commands/corpus/report.d.ts.map +1 -1
- package/dist/commands/corpus/report.js +36 -18
- package/dist/commands/corpus/report.js.map +1 -1
- package/dist/commands/corpus/runner.d.ts +25 -20
- package/dist/commands/corpus/runner.d.ts.map +1 -1
- package/dist/commands/corpus/runner.js +123 -67
- package/dist/commands/corpus/runner.js.map +1 -1
- package/dist/commands/corpus/scan-schema.d.ts +127 -0
- package/dist/commands/corpus/scan-schema.d.ts.map +1 -0
- package/dist/commands/corpus/scan-schema.js +31 -0
- package/dist/commands/corpus/scan-schema.js.map +1 -0
- package/dist/commands/corpus/scan.d.ts +31 -0
- package/dist/commands/corpus/scan.d.ts.map +1 -1
- package/dist/commands/corpus/scan.js +124 -50
- package/dist/commands/corpus/scan.js.map +1 -1
- package/dist/commands/corpus/seed.d.ts +11 -8
- package/dist/commands/corpus/seed.d.ts.map +1 -1
- package/dist/commands/corpus/seed.js +29 -11
- package/dist/commands/corpus/seed.js.map +1 -1
- package/dist/commands/doctor-render.d.ts +52 -0
- package/dist/commands/doctor-render.d.ts.map +1 -0
- package/dist/commands/doctor-render.js +110 -0
- package/dist/commands/doctor-render.js.map +1 -0
- package/dist/commands/doctor-schema.d.ts +191 -0
- package/dist/commands/doctor-schema.d.ts.map +1 -0
- package/dist/commands/doctor-schema.js +44 -0
- package/dist/commands/doctor-schema.js.map +1 -0
- package/dist/commands/doctor.d.ts +7 -62
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +126 -165
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/inventory-schema.d.ts +7297 -0
- package/dist/commands/inventory-schema.d.ts.map +1 -0
- package/dist/commands/inventory-schema.js +28 -0
- package/dist/commands/inventory-schema.js.map +1 -0
- package/dist/commands/inventory.d.ts +1 -1
- package/dist/commands/inventory.d.ts.map +1 -1
- package/dist/commands/inventory.js +89 -41
- package/dist/commands/inventory.js.map +1 -1
- package/dist/commands/mcp/index.d.ts.map +1 -1
- package/dist/commands/mcp/index.js +15 -0
- package/dist/commands/mcp/index.js.map +1 -1
- package/dist/commands/mcp/list-collections-schema.d.ts +101 -0
- package/dist/commands/mcp/list-collections-schema.d.ts.map +1 -0
- package/dist/commands/mcp/list-collections-schema.js +22 -0
- package/dist/commands/mcp/list-collections-schema.js.map +1 -0
- package/dist/commands/mcp/list-collections.d.ts +1 -1
- package/dist/commands/mcp/list-collections.d.ts.map +1 -1
- package/dist/commands/mcp/list-collections.js +19 -17
- package/dist/commands/mcp/list-collections.js.map +1 -1
- package/dist/commands/mcp/serve.d.ts +5 -0
- package/dist/commands/mcp/serve.d.ts.map +1 -1
- package/dist/commands/mcp/serve.js +29 -15
- package/dist/commands/mcp/serve.js.map +1 -1
- package/dist/commands/okf/index.d.ts.map +1 -1
- package/dist/commands/okf/index.js +13 -10
- package/dist/commands/okf/index.js.map +1 -1
- package/dist/commands/okf/validate-schema.d.ts +171 -0
- package/dist/commands/okf/validate-schema.d.ts.map +1 -0
- package/dist/commands/okf/validate-schema.js +44 -0
- package/dist/commands/okf/validate-schema.js.map +1 -0
- package/dist/commands/okf/validate.d.ts +16 -145
- package/dist/commands/okf/validate.d.ts.map +1 -1
- package/dist/commands/okf/validate.js +63 -52
- package/dist/commands/okf/validate.js.map +1 -1
- package/dist/commands/orchestrator-schema.d.ts +419 -0
- package/dist/commands/orchestrator-schema.d.ts.map +1 -0
- package/dist/commands/orchestrator-schema.js +91 -0
- package/dist/commands/orchestrator-schema.js.map +1 -0
- package/dist/commands/phase-utils.d.ts +188 -220
- package/dist/commands/phase-utils.d.ts.map +1 -1
- package/dist/commands/phase-utils.js +210 -258
- package/dist/commands/phase-utils.js.map +1 -1
- package/dist/commands/positional-args.d.ts +13 -11
- package/dist/commands/positional-args.d.ts.map +1 -1
- package/dist/commands/positional-args.js +16 -15
- package/dist/commands/positional-args.js.map +1 -1
- package/dist/commands/rag/admin-schema.d.ts +152 -0
- package/dist/commands/rag/admin-schema.d.ts.map +1 -0
- package/dist/commands/rag/admin-schema.js +31 -0
- package/dist/commands/rag/admin-schema.js.map +1 -0
- package/dist/commands/rag/clear-command.d.ts.map +1 -1
- package/dist/commands/rag/clear-command.js +30 -15
- package/dist/commands/rag/clear-command.js.map +1 -1
- package/dist/commands/rag/command-helpers.d.ts +31 -7
- package/dist/commands/rag/command-helpers.d.ts.map +1 -1
- package/dist/commands/rag/command-helpers.js +41 -21
- package/dist/commands/rag/command-helpers.js.map +1 -1
- package/dist/commands/rag/index-command.d.ts +37 -48
- package/dist/commands/rag/index-command.d.ts.map +1 -1
- package/dist/commands/rag/index-command.js +80 -65
- package/dist/commands/rag/index-command.js.map +1 -1
- package/dist/commands/rag/index-schema.d.ts +107 -0
- package/dist/commands/rag/index-schema.d.ts.map +1 -0
- package/dist/commands/rag/index-schema.js +34 -0
- package/dist/commands/rag/index-schema.js.map +1 -0
- package/dist/commands/rag/index.d.ts.map +1 -1
- package/dist/commands/rag/index.js +88 -41
- package/dist/commands/rag/index.js.map +1 -1
- package/dist/commands/rag/query-command.d.ts +18 -4
- package/dist/commands/rag/query-command.d.ts.map +1 -1
- package/dist/commands/rag/query-command.js +42 -27
- package/dist/commands/rag/query-command.js.map +1 -1
- package/dist/commands/rag/query-schema.d.ts +363 -0
- package/dist/commands/rag/query-schema.d.ts.map +1 -0
- package/dist/commands/rag/query-schema.js +59 -0
- package/dist/commands/rag/query-schema.js.map +1 -0
- package/dist/commands/rag/stats-command.d.ts.map +1 -1
- package/dist/commands/rag/stats-command.js +19 -18
- package/dist/commands/rag/stats-command.js.map +1 -1
- package/dist/commands/resources/check-progress.d.ts +79 -13
- package/dist/commands/resources/check-progress.d.ts.map +1 -1
- package/dist/commands/resources/check-progress.js +112 -11
- package/dist/commands/resources/check-progress.js.map +1 -1
- package/dist/commands/resources/check-schema.d.ts +335 -0
- package/dist/commands/resources/check-schema.d.ts.map +1 -0
- package/dist/commands/resources/check-schema.js +104 -0
- package/dist/commands/resources/check-schema.js.map +1 -0
- package/dist/commands/resources/check-supervisor.d.ts +329 -71
- package/dist/commands/resources/check-supervisor.d.ts.map +1 -1
- package/dist/commands/resources/check-supervisor.js +507 -107
- package/dist/commands/resources/check-supervisor.js.map +1 -1
- package/dist/commands/resources/check.d.ts +88 -254
- package/dist/commands/resources/check.d.ts.map +1 -1
- package/dist/commands/resources/check.js +537 -310
- package/dist/commands/resources/check.js.map +1 -1
- package/dist/commands/resources/index.d.ts.map +1 -1
- package/dist/commands/resources/index.js +189 -103
- package/dist/commands/resources/index.js.map +1 -1
- package/dist/commands/resources/query-schema.d.ts +188 -0
- package/dist/commands/resources/query-schema.d.ts.map +1 -0
- package/dist/commands/resources/query-schema.js +48 -0
- package/dist/commands/resources/query-schema.js.map +1 -0
- package/dist/commands/resources/query.d.ts +18 -13
- package/dist/commands/resources/query.d.ts.map +1 -1
- package/dist/commands/resources/query.js +61 -49
- package/dist/commands/resources/query.js.map +1 -1
- package/dist/commands/resources/scan-schema.d.ts +195 -0
- package/dist/commands/resources/scan-schema.d.ts.map +1 -0
- package/dist/commands/resources/scan-schema.js +53 -0
- package/dist/commands/resources/scan-schema.js.map +1 -0
- package/dist/commands/resources/scan.d.ts +26 -3
- package/dist/commands/resources/scan.d.ts.map +1 -1
- package/dist/commands/resources/scan.js +51 -53
- package/dist/commands/resources/scan.js.map +1 -1
- package/dist/commands/resources/validate-schema.d.ts +326 -0
- package/dist/commands/resources/validate-schema.d.ts.map +1 -0
- package/dist/commands/resources/validate-schema.js +60 -0
- package/dist/commands/resources/validate-schema.js.map +1 -0
- package/dist/commands/resources/validate.d.ts +45 -169
- package/dist/commands/resources/validate.d.ts.map +1 -1
- package/dist/commands/resources/validate.js +221 -485
- package/dist/commands/resources/validate.js.map +1 -1
- package/dist/commands/skill/review-checklist.d.ts.map +1 -1
- package/dist/commands/skill/review-checklist.js +0 -1
- package/dist/commands/skill/review-checklist.js.map +1 -1
- package/dist/commands/skill/review-schema.d.ts +278 -0
- package/dist/commands/skill/review-schema.d.ts.map +1 -0
- package/dist/commands/skill/review-schema.js +46 -0
- package/dist/commands/skill/review-schema.js.map +1 -0
- package/dist/commands/skill/review.d.ts +8 -234
- package/dist/commands/skill/review.d.ts.map +1 -1
- package/dist/commands/skill/review.js +54 -77
- package/dist/commands/skill/review.js.map +1 -1
- package/dist/commands/skill/test/auth-flags.d.ts +3 -0
- package/dist/commands/skill/test/auth-flags.d.ts.map +1 -1
- package/dist/commands/skill/test/auth-flags.js +6 -2
- package/dist/commands/skill/test/auth-flags.js.map +1 -1
- package/dist/commands/skill/test/configure-schema.d.ts +67 -0
- package/dist/commands/skill/test/configure-schema.d.ts.map +1 -0
- package/dist/commands/skill/test/configure-schema.js +27 -0
- package/dist/commands/skill/test/configure-schema.js.map +1 -0
- package/dist/commands/skill/test/configure.d.ts +12 -5
- package/dist/commands/skill/test/configure.d.ts.map +1 -1
- package/dist/commands/skill/test/configure.js +101 -31
- package/dist/commands/skill/test/configure.js.map +1 -1
- package/dist/commands/skill/test/run-schema.d.ts +107 -0
- package/dist/commands/skill/test/run-schema.d.ts.map +1 -0
- package/dist/commands/skill/test/run-schema.js +36 -0
- package/dist/commands/skill/test/run-schema.js.map +1 -0
- package/dist/commands/skill/test/run.d.ts +3 -2
- package/dist/commands/skill/test/run.d.ts.map +1 -1
- package/dist/commands/skill/test/run.js +316 -155
- package/dist/commands/skill/test/run.js.map +1 -1
- package/dist/commands/skills/build-schema.d.ts +199 -0
- package/dist/commands/skills/build-schema.d.ts.map +1 -0
- package/dist/commands/skills/build-schema.js +55 -0
- package/dist/commands/skills/build-schema.js.map +1 -0
- package/dist/commands/skills/build.d.ts +95 -298
- package/dist/commands/skills/build.d.ts.map +1 -1
- package/dist/commands/skills/build.js +415 -818
- package/dist/commands/skills/build.js.map +1 -1
- package/dist/commands/skills/command-helpers.d.ts +5 -11
- package/dist/commands/skills/command-helpers.d.ts.map +1 -1
- package/dist/commands/skills/command-helpers.js +7 -17
- package/dist/commands/skills/command-helpers.js.map +1 -1
- package/dist/commands/skills/index.js +12 -6
- package/dist/commands/skills/index.js.map +1 -1
- package/dist/commands/skills/install-schema.d.ts +153 -0
- package/dist/commands/skills/install-schema.d.ts.map +1 -0
- package/dist/commands/skills/install-schema.js +44 -0
- package/dist/commands/skills/install-schema.js.map +1 -0
- package/dist/commands/skills/install.d.ts +76 -8
- package/dist/commands/skills/install.d.ts.map +1 -1
- package/dist/commands/skills/install.js +230 -194
- package/dist/commands/skills/install.js.map +1 -1
- package/dist/commands/skills/list-schema.d.ts +145 -0
- package/dist/commands/skills/list-schema.d.ts.map +1 -0
- package/dist/commands/skills/list-schema.js +37 -0
- package/dist/commands/skills/list-schema.js.map +1 -0
- package/dist/commands/skills/list.d.ts +39 -8
- package/dist/commands/skills/list.d.ts.map +1 -1
- package/dist/commands/skills/list.js +110 -122
- package/dist/commands/skills/list.js.map +1 -1
- package/dist/commands/skills/package-schema.d.ts +98 -0
- package/dist/commands/skills/package-schema.d.ts.map +1 -0
- package/dist/commands/skills/package-schema.js +32 -0
- package/dist/commands/skills/package-schema.js.map +1 -0
- package/dist/commands/skills/package.d.ts +85 -14
- package/dist/commands/skills/package.d.ts.map +1 -1
- package/dist/commands/skills/package.js +288 -207
- package/dist/commands/skills/package.js.map +1 -1
- package/dist/commands/skills/scope-guard.d.ts +27 -20
- package/dist/commands/skills/scope-guard.d.ts.map +1 -1
- package/dist/commands/skills/scope-guard.js +43 -28
- package/dist/commands/skills/scope-guard.js.map +1 -1
- package/dist/commands/skills/skill-discovery.d.ts +1 -1
- package/dist/commands/skills/skill-discovery.d.ts.map +1 -1
- package/dist/commands/skills/skill-discovery.js +40 -19
- package/dist/commands/skills/skill-discovery.js.map +1 -1
- package/dist/commands/skills/source-resolvers.d.ts +58 -8
- package/dist/commands/skills/source-resolvers.d.ts.map +1 -1
- package/dist/commands/skills/source-resolvers.js +113 -38
- package/dist/commands/skills/source-resolvers.js.map +1 -1
- package/dist/commands/skills/validate-command.d.ts.map +1 -1
- package/dist/commands/skills/validate-command.js +31 -51
- package/dist/commands/skills/validate-command.js.map +1 -1
- package/dist/commands/skills/validate-schema.d.ts +199 -0
- package/dist/commands/skills/validate-schema.d.ts.map +1 -0
- package/dist/commands/skills/validate-schema.js +44 -0
- package/dist/commands/skills/validate-schema.js.map +1 -0
- package/dist/commands/skills/validate.d.ts +100 -136
- package/dist/commands/skills/validate.d.ts.map +1 -1
- package/dist/commands/skills/validate.js +257 -343
- package/dist/commands/skills/validate.js.map +1 -1
- package/dist/commands/validate.d.ts +17 -5
- package/dist/commands/validate.d.ts.map +1 -1
- package/dist/commands/validate.js +139 -94
- package/dist/commands/validate.js.map +1 -1
- package/dist/commands/verify.d.ts +121 -110
- package/dist/commands/verify.d.ts.map +1 -1
- package/dist/commands/verify.js +230 -294
- package/dist/commands/verify.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/report-schemas.d.ts +12398 -35
- package/dist/report-schemas.d.ts.map +1 -1
- package/dist/report-schemas.js +624 -66
- package/dist/report-schemas.js.map +1 -1
- package/dist/skill-resolution/packaging-config.js +2 -2
- package/dist/skill-resolution/packaging-config.js.map +1 -1
- package/dist/skill-resolution/resolve-skill-reference.d.ts.map +1 -1
- package/dist/skill-resolution/resolve-skill-reference.js +20 -13
- package/dist/skill-resolution/resolve-skill-reference.js.map +1 -1
- package/dist/utils/agent-discovery.d.ts +34 -1
- package/dist/utils/agent-discovery.d.ts.map +1 -1
- package/dist/utils/agent-discovery.js +80 -38
- package/dist/utils/agent-discovery.js.map +1 -1
- package/dist/utils/claude-context-lens.d.ts +13 -6
- package/dist/utils/claude-context-lens.d.ts.map +1 -1
- package/dist/utils/claude-context-lens.js +11 -12
- package/dist/utils/claude-context-lens.js.map +1 -1
- package/dist/utils/command-error-codes.d.ts +12 -0
- package/dist/utils/command-error-codes.d.ts.map +1 -0
- package/dist/utils/command-error-codes.js +12 -0
- package/dist/utils/command-error-codes.js.map +1 -0
- package/dist/utils/command-refusal.d.ts +58 -0
- package/dist/utils/command-refusal.d.ts.map +1 -0
- package/dist/utils/command-refusal.js +170 -0
- package/dist/utils/command-refusal.js.map +1 -0
- package/dist/utils/commander-ending.d.ts +40 -0
- package/dist/utils/commander-ending.d.ts.map +1 -0
- package/dist/utils/commander-ending.js +42 -0
- package/dist/utils/commander-ending.js.map +1 -0
- package/dist/utils/config-loader.d.ts +13 -8
- package/dist/utils/config-loader.d.ts.map +1 -1
- package/dist/utils/config-loader.js +84 -45
- package/dist/utils/config-loader.js.map +1 -1
- package/dist/utils/corpus-target.d.ts +1 -1
- package/dist/utils/corpus-target.d.ts.map +1 -1
- package/dist/utils/corpus-target.js +44 -5
- package/dist/utils/corpus-target.js.map +1 -1
- package/dist/utils/debug-diagnostics.d.ts +18 -0
- package/dist/utils/debug-diagnostics.d.ts.map +1 -0
- package/dist/utils/debug-diagnostics.js +23 -0
- package/dist/utils/debug-diagnostics.js.map +1 -0
- package/dist/utils/document-writer.d.ts +191 -0
- package/dist/utils/document-writer.d.ts.map +1 -0
- package/dist/utils/document-writer.js +319 -0
- package/dist/utils/document-writer.js.map +1 -0
- package/dist/utils/help-loader.d.ts +2 -2
- package/dist/utils/help-loader.js +2 -2
- package/dist/utils/install-plan.d.ts +99 -0
- package/dist/utils/install-plan.d.ts.map +1 -0
- package/dist/utils/install-plan.js +146 -0
- package/dist/utils/install-plan.js.map +1 -0
- package/dist/utils/issue-anchor.d.ts +1 -1
- package/dist/utils/issue-anchor.d.ts.map +1 -1
- package/dist/utils/issue-anchor.js.map +1 -1
- package/dist/utils/issue-rendering.d.ts +8 -3
- package/dist/utils/issue-rendering.d.ts.map +1 -1
- package/dist/utils/issue-rendering.js +4 -0
- package/dist/utils/issue-rendering.js.map +1 -1
- package/dist/utils/lens-population.d.ts +20 -0
- package/dist/utils/lens-population.d.ts.map +1 -0
- package/dist/utils/lens-population.js +15 -0
- package/dist/utils/lens-population.js.map +1 -0
- package/dist/utils/marketplace-io.d.ts +63 -0
- package/dist/utils/marketplace-io.d.ts.map +1 -0
- package/dist/utils/marketplace-io.js +63 -0
- package/dist/utils/marketplace-io.js.map +1 -0
- package/dist/utils/operator-notices.d.ts +97 -0
- package/dist/utils/operator-notices.d.ts.map +1 -0
- package/dist/utils/operator-notices.js +115 -0
- package/dist/utils/operator-notices.js.map +1 -0
- package/dist/utils/optional-backend.d.ts +18 -15
- package/dist/utils/optional-backend.d.ts.map +1 -1
- package/dist/utils/optional-backend.js +22 -33
- package/dist/utils/optional-backend.js.map +1 -1
- package/dist/utils/output.d.ts +5 -43
- package/dist/utils/output.d.ts.map +1 -1
- package/dist/utils/output.js +8 -63
- package/dist/utils/output.js.map +1 -1
- package/dist/utils/package-json.d.ts +3 -4
- package/dist/utils/package-json.d.ts.map +1 -1
- package/dist/utils/package-json.js +8 -8
- package/dist/utils/package-json.js.map +1 -1
- package/dist/utils/population-wiring.d.ts +31 -38
- package/dist/utils/population-wiring.d.ts.map +1 -1
- package/dist/utils/population-wiring.js +38 -32
- package/dist/utils/population-wiring.js.map +1 -1
- package/dist/utils/project-root-policy.d.ts +74 -1
- package/dist/utils/project-root-policy.d.ts.map +1 -1
- package/dist/utils/project-root-policy.js +146 -8
- package/dist/utils/project-root-policy.js.map +1 -1
- package/dist/utils/projection-lenses.d.ts +25 -7
- package/dist/utils/projection-lenses.d.ts.map +1 -1
- package/dist/utils/projection-lenses.js +20 -6
- package/dist/utils/projection-lenses.js.map +1 -1
- package/dist/utils/projection-query.d.ts +18 -11
- package/dist/utils/projection-query.d.ts.map +1 -1
- package/dist/utils/projection-query.js +47 -28
- package/dist/utils/projection-query.js.map +1 -1
- package/dist/utils/projection-store.d.ts +2 -2
- package/dist/utils/projection-store.d.ts.map +1 -1
- package/dist/utils/projection-store.js +74 -45
- package/dist/utils/projection-store.js.map +1 -1
- package/dist/utils/rag-database.d.ts +61 -0
- package/dist/utils/rag-database.d.ts.map +1 -0
- package/dist/utils/rag-database.js +178 -0
- package/dist/utils/rag-database.js.map +1 -0
- package/dist/utils/relation-limits.d.ts +7 -2
- package/dist/utils/relation-limits.d.ts.map +1 -1
- package/dist/utils/relation-limits.js +6 -1
- package/dist/utils/relation-limits.js.map +1 -1
- package/dist/utils/relativize-paths.d.ts +23 -0
- package/dist/utils/relativize-paths.d.ts.map +1 -1
- package/dist/utils/relativize-paths.js +32 -1
- package/dist/utils/relativize-paths.js.map +1 -1
- package/dist/utils/resource-loader.d.ts +78 -32
- package/dist/utils/resource-loader.d.ts.map +1 -1
- package/dist/utils/resource-loader.js +134 -66
- package/dist/utils/resource-loader.js.map +1 -1
- package/dist/utils/run-integrity.d.ts +64 -31
- package/dist/utils/run-integrity.d.ts.map +1 -1
- package/dist/utils/run-integrity.js +76 -35
- package/dist/utils/run-integrity.js.map +1 -1
- package/dist/utils/scope-locations.d.ts +7 -5
- package/dist/utils/scope-locations.d.ts.map +1 -1
- package/dist/utils/scope-locations.js +37 -12
- package/dist/utils/scope-locations.js.map +1 -1
- package/dist/utils/staging-dir.d.ts +7 -0
- package/dist/utils/staging-dir.d.ts.map +1 -0
- package/dist/utils/staging-dir.js +12 -0
- package/dist/utils/staging-dir.js.map +1 -0
- package/dist/utils/url-redact.d.ts +9 -0
- package/dist/utils/url-redact.d.ts.map +1 -1
- package/dist/utils/url-redact.js +13 -0
- package/dist/utils/url-redact.js.map +1 -1
- package/dist/utils/user-context-scanner.d.ts +3 -2
- package/dist/utils/user-context-scanner.d.ts.map +1 -1
- package/dist/utils/user-context-scanner.js +24 -4
- package/dist/utils/user-context-scanner.js.map +1 -1
- package/dist/utils/validate-help-files.d.ts.map +1 -1
- package/dist/utils/validate-help-files.js +8 -14
- package/dist/utils/validate-help-files.js.map +1 -1
- package/dist/utils/vat-bin-path.d.ts.map +1 -1
- package/dist/utils/vat-bin-path.js +3 -3
- package/dist/utils/vat-bin-path.js.map +1 -1
- package/dist/utils/verdict-helpers.d.ts.map +1 -1
- package/dist/utils/verdict-helpers.js +5 -5
- package/dist/utils/verdict-helpers.js.map +1 -1
- package/docs/agent.md +347 -2
- package/docs/audit.md +312 -89
- package/docs/doctor.md +65 -19
- package/docs/index.md +571 -20
- package/docs/mcp.md +64 -12
- package/docs/rag.md +176 -48
- package/docs/resources.md +257 -71
- package/docs/skill-test.md +148 -19
- package/docs/skills.md +459 -174
- package/package.json +17 -20
- package/schemas/agent-build.json +268 -0
- package/schemas/agent-import.json +252 -0
- package/schemas/agent-install.json +260 -0
- package/schemas/agent-installed.json +287 -0
- package/schemas/agent-list.json +279 -0
- package/schemas/agent-uninstall.json +260 -0
- package/schemas/agent-validate.json +279 -0
- package/schemas/ard-emit.json +228 -107
- package/schemas/audit-settings.json +472 -0
- package/schemas/audit.json +635 -0
- package/schemas/cache-clear.json +273 -0
- package/schemas/claude-marketplace-publish.json +286 -0
- package/schemas/claude-marketplace-validate.json +352 -0
- package/schemas/claude-org-not-implemented.json +239 -0
- package/schemas/claude-plugin-build.json +446 -0
- package/schemas/claude-plugin-install.json +291 -0
- package/schemas/claude-plugin-list.json +326 -0
- package/schemas/claude-plugin-uninstall.json +272 -0
- package/schemas/corpus-audit.json +635 -0
- package/schemas/corpus-scan.json +293 -0
- package/schemas/doctor.json +299 -0
- package/schemas/inventory.json +982 -0
- package/schemas/mcp-list-collections.json +268 -0
- package/schemas/okf-validate.json +224 -106
- package/schemas/orchestrator.json +299 -0
- package/schemas/rag-clear.json +253 -0
- package/schemas/rag-index.json +273 -0
- package/schemas/rag-query.json +365 -0
- package/schemas/rag-stats.json +269 -0
- package/schemas/resources-check.json +280 -118
- package/schemas/resources-query.json +333 -0
- package/schemas/resources-scan.json +321 -0
- package/schemas/resources-validate.json +332 -0
- package/schemas/skill-review.json +224 -106
- package/schemas/skill-test-configure.json +256 -0
- package/schemas/skill-test-run.json +296 -0
- package/schemas/skills-build.json +325 -0
- package/schemas/skills-install.json +287 -0
- package/schemas/skills-list.json +283 -0
- package/schemas/skills-package.json +270 -0
- package/schemas/skills-validate.json +285 -0
- package/dist/commands/skills/shared.d.ts +0 -29
- package/dist/commands/skills/shared.d.ts.map +0 -1
- package/dist/commands/skills/shared.js +0 -33
- package/dist/commands/skills/shared.js.map +0 -1
- package/dist/utils/command-error.d.ts +0 -189
- package/dist/utils/command-error.d.ts.map +0 -1
- package/dist/utils/command-error.js +0 -230
- package/dist/utils/command-error.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../src/commands/agent/validate.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../src/commands/agent/validate.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,aAAa,EAAyB,MAAM,kCAAkC,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACjG,OAAO,EAAE,YAAY,EAAe,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAQ3E,yEAAyE;AACzE,MAAM,IAAI,GAAG,EAAE,MAAM,EAAE,KAAK,EAAW,CAAC;AAExC;;;;;;;GAOG;AACH,SAAS,wBAAwB,CAAC,MAAwB,EAAE,IAAY,EAAE,UAAkB;IAC1F,OAAO,WAAW,CAAC;QACjB,QAAQ,EAAE,CAAC;QACX,QAAQ,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC;QACnC,IAAI,EAAE;YACJ,IAAI;YACJ,QAAQ,EAAE;gBACR,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,IAAI;gBAC1B,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,OAAO;gBAChC,IAAI,EAAE,wBAAwB,CAAC,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC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AAC,CAAC;QAEhD,2EAA2E;QAC3E,uEAAuE;QACvE,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC,UAAU,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;QACvE,kBAAkB,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,oBAAoB,CAAC,CAAC;QAExD,MAAM,GAAG,wBAAwB,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,CAAC,CAAC;IAC1E,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,mEAAmE;QACnE,+DAA+D;QAC/D,cAAc,CAAC,gBAAgB,EAAE,aAAa,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,CAAC,CAAC;IAChG,CAAC;IAED,UAAU,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3B,aAAa,CAAC,gBAAgB,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAClD,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The document `vat ard emit --format json` publishes, apart from the command.
|
|
3
|
+
*
|
|
4
|
+
* A sibling module because the published-shape registry imports it and the
|
|
5
|
+
* command imports the writer that imports the registry: a schema declared in
|
|
6
|
+
* the command module itself would be an import cycle, read before it is
|
|
7
|
+
* initialised.
|
|
8
|
+
*/
|
|
9
|
+
import { z } from 'zod';
|
|
10
|
+
/**
|
|
11
|
+
* What the run reports beyond its findings.
|
|
12
|
+
*
|
|
13
|
+
* 🪤 `entryCount: 0` is the empty manifest. A run that wrote `{"entries":[]}`
|
|
14
|
+
* and one that wrote a full catalogue both used to end at exit 0 with a
|
|
15
|
+
* cheerful line on stdout, and nothing a machine could read told them apart —
|
|
16
|
+
* so a CI step that emits and publishes was green over a discovery document
|
|
17
|
+
* advertising nothing. The envelope's `examined` is every configured surface
|
|
18
|
+
* the run considered, so "nothing declared" (`examined: 0`) and "everything
|
|
19
|
+
* declared was skipped" (`examined: N`, `entryCount: 0`) read differently too.
|
|
20
|
+
*/
|
|
21
|
+
declare const ArdEmitDataSchema: z.ZodObject<{
|
|
22
|
+
/** Where the manifest was written — `null` when the project produced none. */
|
|
23
|
+
outputPath: z.ZodNullable<z.ZodString>;
|
|
24
|
+
entryCount: z.ZodNumber;
|
|
25
|
+
/**
|
|
26
|
+
* Counts BESIDE the findings. The count is what a CI step gates on without
|
|
27
|
+
* a JSON path into an array; the finding is what the human it pages then
|
|
28
|
+
* acts on. Publishing only one of them answers "how many" or "which", never
|
|
29
|
+
* both.
|
|
30
|
+
*/
|
|
31
|
+
skippedCount: z.ZodNumber;
|
|
32
|
+
shadowedCount: z.ZodNumber;
|
|
33
|
+
}, "strict", z.ZodTypeAny, {
|
|
34
|
+
outputPath: string | null;
|
|
35
|
+
entryCount: number;
|
|
36
|
+
skippedCount: number;
|
|
37
|
+
shadowedCount: number;
|
|
38
|
+
}, {
|
|
39
|
+
outputPath: string | null;
|
|
40
|
+
entryCount: number;
|
|
41
|
+
skippedCount: number;
|
|
42
|
+
shadowedCount: number;
|
|
43
|
+
}>;
|
|
44
|
+
export type ArdEmitData = z.infer<typeof ArdEmitDataSchema>;
|
|
45
|
+
/** The document `--format json` publishes. */
|
|
46
|
+
export declare const ARD_EMIT_REPORT_SCHEMA: import("@vibe-agent-toolkit/schema").ReportZodSchema<z.ZodObject<{
|
|
47
|
+
/** Where the manifest was written — `null` when the project produced none. */
|
|
48
|
+
outputPath: z.ZodNullable<z.ZodString>;
|
|
49
|
+
entryCount: z.ZodNumber;
|
|
50
|
+
/**
|
|
51
|
+
* Counts BESIDE the findings. The count is what a CI step gates on without
|
|
52
|
+
* a JSON path into an array; the finding is what the human it pages then
|
|
53
|
+
* acts on. Publishing only one of them answers "how many" or "which", never
|
|
54
|
+
* both.
|
|
55
|
+
*/
|
|
56
|
+
skippedCount: z.ZodNumber;
|
|
57
|
+
shadowedCount: z.ZodNumber;
|
|
58
|
+
}, "strict", z.ZodTypeAny, {
|
|
59
|
+
outputPath: string | null;
|
|
60
|
+
entryCount: number;
|
|
61
|
+
skippedCount: number;
|
|
62
|
+
shadowedCount: number;
|
|
63
|
+
}, {
|
|
64
|
+
outputPath: string | null;
|
|
65
|
+
entryCount: number;
|
|
66
|
+
skippedCount: number;
|
|
67
|
+
shadowedCount: number;
|
|
68
|
+
}>, z.ZodObject<Omit<{
|
|
69
|
+
code: z.ZodString;
|
|
70
|
+
severity: z.ZodEnum<["error", "warning", "info", "ignore"]>;
|
|
71
|
+
message: z.ZodString;
|
|
72
|
+
location: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
73
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
field: z.ZodOptional<z.ZodString>;
|
|
75
|
+
link: z.ZodOptional<z.ZodString>;
|
|
76
|
+
fix: z.ZodOptional<z.ZodString>;
|
|
77
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
78
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, "severity"> & {
|
|
80
|
+
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
81
|
+
column: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
}, "strict", z.ZodTypeAny, {
|
|
83
|
+
code: string;
|
|
84
|
+
message: string;
|
|
85
|
+
severity: "error" | "warning" | "info";
|
|
86
|
+
fix?: string | undefined;
|
|
87
|
+
reference?: string | undefined;
|
|
88
|
+
location?: string | undefined;
|
|
89
|
+
line?: number | undefined;
|
|
90
|
+
field?: string | undefined;
|
|
91
|
+
link?: string | undefined;
|
|
92
|
+
suggestion?: string | undefined;
|
|
93
|
+
column?: number | undefined;
|
|
94
|
+
}, {
|
|
95
|
+
code: string;
|
|
96
|
+
message: string;
|
|
97
|
+
severity: "error" | "warning" | "info";
|
|
98
|
+
fix?: string | undefined;
|
|
99
|
+
reference?: string | undefined;
|
|
100
|
+
location?: string | undefined;
|
|
101
|
+
line?: number | undefined;
|
|
102
|
+
field?: string | undefined;
|
|
103
|
+
link?: string | undefined;
|
|
104
|
+
suggestion?: string | undefined;
|
|
105
|
+
column?: number | undefined;
|
|
106
|
+
}>>;
|
|
107
|
+
export {};
|
|
108
|
+
//# sourceMappingURL=emit-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emit-schema.d.ts","sourceRoot":"","sources":["../../../src/commands/ard/emit-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;GAUG;AACH,QAAA,MAAM,iBAAiB;IACrB,8EAA8E;;;IAG9E;;;;;OAKG;;;;;;;;;;;;;EAGM,CAAC;AAEZ,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,8CAA8C;AAC9C,eAAO,MAAM,sBAAsB;IAhBjC,8EAA8E;;;IAG9E;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQ+E,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The document `vat ard emit --format json` publishes, apart from the command.
|
|
3
|
+
*
|
|
4
|
+
* A sibling module because the published-shape registry imports it and the
|
|
5
|
+
* command imports the writer that imports the registry: a schema declared in
|
|
6
|
+
* the command module itself would be an import cycle, read before it is
|
|
7
|
+
* initialised.
|
|
8
|
+
*/
|
|
9
|
+
import { FindingSchema, reportSchema } from '@vibe-agent-toolkit/schema';
|
|
10
|
+
import { z } from 'zod';
|
|
11
|
+
/**
|
|
12
|
+
* What the run reports beyond its findings.
|
|
13
|
+
*
|
|
14
|
+
* 🪤 `entryCount: 0` is the empty manifest. A run that wrote `{"entries":[]}`
|
|
15
|
+
* and one that wrote a full catalogue both used to end at exit 0 with a
|
|
16
|
+
* cheerful line on stdout, and nothing a machine could read told them apart —
|
|
17
|
+
* so a CI step that emits and publishes was green over a discovery document
|
|
18
|
+
* advertising nothing. The envelope's `examined` is every configured surface
|
|
19
|
+
* the run considered, so "nothing declared" (`examined: 0`) and "everything
|
|
20
|
+
* declared was skipped" (`examined: N`, `entryCount: 0`) read differently too.
|
|
21
|
+
*/
|
|
22
|
+
const ArdEmitDataSchema = z.object({
|
|
23
|
+
/** Where the manifest was written — `null` when the project produced none. */
|
|
24
|
+
outputPath: z.string().nullable(),
|
|
25
|
+
entryCount: z.number().int().nonnegative(),
|
|
26
|
+
/**
|
|
27
|
+
* Counts BESIDE the findings. The count is what a CI step gates on without
|
|
28
|
+
* a JSON path into an array; the finding is what the human it pages then
|
|
29
|
+
* acts on. Publishing only one of them answers "how many" or "which", never
|
|
30
|
+
* both.
|
|
31
|
+
*/
|
|
32
|
+
skippedCount: z.number().int().nonnegative(),
|
|
33
|
+
shadowedCount: z.number().int().nonnegative(),
|
|
34
|
+
}).strict();
|
|
35
|
+
/** The document `--format json` publishes. */
|
|
36
|
+
export const ARD_EMIT_REPORT_SCHEMA = reportSchema(ArdEmitDataSchema, FindingSchema);
|
|
37
|
+
//# sourceMappingURL=emit-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emit-schema.js","sourceRoot":"","sources":["../../../src/commands/ard/emit-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;GAUG;AACH,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,8EAA8E;IAC9E,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC1C;;;;;OAKG;IACH,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;CAC9C,CAAC,CAAC,MAAM,EAAE,CAAC;AAIZ,8CAA8C;AAC9C,MAAM,CAAC,MAAM,sBAAsB,GAAG,YAAY,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC"}
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* this rule avoids.
|
|
8
8
|
*/
|
|
9
9
|
import { type ShadowedArdOverrideKey } from '@vibe-agent-toolkit/resources';
|
|
10
|
-
import { type
|
|
10
|
+
import { type FindingsReport, type Gate, type OkReport } from '@vibe-agent-toolkit/schema';
|
|
11
11
|
import { VatError } from '@vibe-agent-toolkit/utils';
|
|
12
|
-
import {
|
|
12
|
+
import type { ArdEmitData } from './emit-schema.js';
|
|
13
13
|
import { type SkippedArdSurface } from './surfaces.js';
|
|
14
14
|
/** Default destination, relative to the project root — the path ARD publishes at. */
|
|
15
15
|
export declare const DEFAULT_ARD_OUTPUT = ".well-known/ard.json";
|
|
@@ -70,13 +70,17 @@ export interface ArdEmitResult {
|
|
|
70
70
|
* @throws {ArdDerivationError} when a surface cannot be turned into a
|
|
71
71
|
* conformant entry — a missing `ard.baseUrl`, an unusable URN segment, or a
|
|
72
72
|
* trust identity that does not align with the publisher.
|
|
73
|
+
* @throws {FsFaultError} a `destination` fault (`RUN_INCOMPLETE`) when the OS refuses the manifest write.
|
|
73
74
|
*/
|
|
74
75
|
export declare function runArdEmit(options: ArdEmitOptions): Promise<ArdEmitResult>;
|
|
75
76
|
/**
|
|
76
|
-
* The codes this run's findings carry.
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
77
|
+
* The codes this run's findings carry. The two refusals — no `ard:` block, a
|
|
78
|
+
* surface that would not derive — are REGISTRY refusal codes (`satisfies
|
|
79
|
+
* RefusalCode` below), so this command has no private vocabulary for "could
|
|
80
|
+
* not produce a manifest". The other three are not registry codes: nothing
|
|
81
|
+
* about them is a validation an adopter tunes through `validation.severity` — a
|
|
82
|
+
* skipped surface is a fact about what the manifest could not advertise, and
|
|
83
|
+
* its severity is the run's to decide.
|
|
80
84
|
*/
|
|
81
85
|
export declare const ARD_EMIT_CODES: {
|
|
82
86
|
/** A configured surface that became no entry, and why — the thing `--strict` gates. */
|
|
@@ -87,67 +91,31 @@ export declare const ARD_EMIT_CODES: {
|
|
|
87
91
|
* losing block is dead config, and an author cannot see that from the file.
|
|
88
92
|
*/
|
|
89
93
|
readonly OVERRIDE_KEY_SHADOWED: "ARD_OVERRIDE_KEY_SHADOWED";
|
|
94
|
+
/**
|
|
95
|
+
* The project was read and declares no `ard:` block, so no manifest was
|
|
96
|
+
* built. A finding at `error` — exit 1 — because the PROJECT is the subject,
|
|
97
|
+
* not the invocation: it is fixed by editing config.
|
|
98
|
+
*/
|
|
99
|
+
readonly NOT_CONFIGURED: "ARD_NOT_CONFIGURED";
|
|
100
|
+
/** A declared surface could not be derived into a conformant entry, so no manifest was written. */
|
|
101
|
+
readonly DERIVATION_FAILED: "ARD_DERIVATION_FAILED";
|
|
102
|
+
/** `--strict` refused a manifest that leaves a declared surface (or everything) unadvertised. */
|
|
103
|
+
readonly STRICT_REFUSED: "ARD_STRICT_REFUSED";
|
|
90
104
|
};
|
|
91
105
|
/**
|
|
92
|
-
*
|
|
106
|
+
* The report this command's own builders produce — always a COMPLETED run
|
|
107
|
+
* (`ok` or `findings`). A run that could not finish ends through the shared
|
|
108
|
+
* failure path instead, so its `data` is never `null` here.
|
|
109
|
+
*/
|
|
110
|
+
export type ArdEmitReport = OkReport<ArdEmitData> | FindingsReport<ArdEmitData>;
|
|
111
|
+
/**
|
|
112
|
+
* Pure: the report a result becomes, so the status rule is unit-testable.
|
|
93
113
|
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* so a CI step that emits and publishes was green over a discovery document
|
|
98
|
-
* advertising nothing. The envelope's `examined` is every configured surface
|
|
99
|
-
* the run considered, so "nothing declared" (`examined: 0`) and "everything
|
|
100
|
-
* declared was skipped" (`examined: N`, `entryCount: 0`) read differently too.
|
|
114
|
+
* @param result - What the run built
|
|
115
|
+
* @param gate - The gate the run is judged by (`--strict`)
|
|
116
|
+
* @returns The report
|
|
101
117
|
*/
|
|
102
|
-
export declare
|
|
103
|
-
outputPath: z.ZodString;
|
|
104
|
-
entryCount: z.ZodNumber;
|
|
105
|
-
/**
|
|
106
|
-
* Counts BESIDE the findings. The count is what a CI step gates on without
|
|
107
|
-
* a JSON path into an array; the finding is what the human it pages then
|
|
108
|
-
* acts on. Publishing only one of them answers "how many" or "which", never
|
|
109
|
-
* both.
|
|
110
|
-
*/
|
|
111
|
-
skippedCount: z.ZodNumber;
|
|
112
|
-
shadowedCount: z.ZodNumber;
|
|
113
|
-
}, "strict", z.ZodTypeAny, {
|
|
114
|
-
outputPath: string;
|
|
115
|
-
entryCount: number;
|
|
116
|
-
skippedCount: number;
|
|
117
|
-
shadowedCount: number;
|
|
118
|
-
}, {
|
|
119
|
-
outputPath: string;
|
|
120
|
-
entryCount: number;
|
|
121
|
-
skippedCount: number;
|
|
122
|
-
shadowedCount: number;
|
|
123
|
-
}>;
|
|
124
|
-
export type ArdEmitData = z.infer<typeof ArdEmitDataSchema>;
|
|
125
|
-
/** The document `--format json` publishes. */
|
|
126
|
-
export declare const ARD_EMIT_REPORT_SCHEMA: import("@vibe-agent-toolkit/schema").ReportZodSchema<z.ZodObject<{
|
|
127
|
-
outputPath: z.ZodString;
|
|
128
|
-
entryCount: z.ZodNumber;
|
|
129
|
-
/**
|
|
130
|
-
* Counts BESIDE the findings. The count is what a CI step gates on without
|
|
131
|
-
* a JSON path into an array; the finding is what the human it pages then
|
|
132
|
-
* acts on. Publishing only one of them answers "how many" or "which", never
|
|
133
|
-
* both.
|
|
134
|
-
*/
|
|
135
|
-
skippedCount: z.ZodNumber;
|
|
136
|
-
shadowedCount: z.ZodNumber;
|
|
137
|
-
}, "strict", z.ZodTypeAny, {
|
|
138
|
-
outputPath: string;
|
|
139
|
-
entryCount: number;
|
|
140
|
-
skippedCount: number;
|
|
141
|
-
shadowedCount: number;
|
|
142
|
-
}, {
|
|
143
|
-
outputPath: string;
|
|
144
|
-
entryCount: number;
|
|
145
|
-
skippedCount: number;
|
|
146
|
-
shadowedCount: number;
|
|
147
|
-
}>>;
|
|
148
|
-
export type ArdEmitReport = Report<ArdEmitData>;
|
|
149
|
-
/** Pure: the report a result becomes, so the status rule is unit-testable. */
|
|
150
|
-
export declare function buildArdEmitReport(result: ArdEmitResult): ArdEmitReport;
|
|
118
|
+
export declare function buildArdEmitReport(result: ArdEmitResult, gate: Gate): ArdEmitReport;
|
|
151
119
|
/** Action handler for `vat ard emit`. */
|
|
152
120
|
export declare function ardEmitCommand(options: ArdEmitOptions): Promise<void>;
|
|
153
121
|
//# sourceMappingURL=emit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emit.d.ts","sourceRoot":"","sources":["../../../src/commands/ard/emit.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"emit.d.ts","sourceRoot":"","sources":["../../../src/commands/ard/emit.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAML,KAAK,sBAAsB,EAC5B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,IAAI,EACT,KAAK,QAAQ,EAEd,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAqC,QAAQ,EAAe,MAAM,2BAA2B,CAAC;AAQrG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAsB,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE3E,qFAAqF;AACrF,eAAO,MAAM,kBAAkB,yBAAyB,CAAC;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WAAW,CAAC,CAAC;AAwBhF;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,aAAa,CAcnF;AA+GD,yCAAyC;AACzC,wBAAsB,cAAc,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAmD3E"}
|
|
@@ -6,15 +6,12 @@
|
|
|
6
6
|
* v0.91, status Proposal, and wiring internals to a moving shape is the cost
|
|
7
7
|
* this rule avoids.
|
|
8
8
|
*/
|
|
9
|
-
import { existsSync } from 'node:fs';
|
|
10
9
|
import { ArdDerivationError, buildArdEntries, buildArdManifest, findShadowedArdOverrideKeys, writeArdManifest, } from '@vibe-agent-toolkit/resources';
|
|
11
|
-
import { buildReport,
|
|
12
|
-
import { safePath, VatError } from '@vibe-agent-toolkit/utils';
|
|
13
|
-
import {
|
|
14
|
-
import { handleReportCommandError, handleReportExpectedFailure } from '../../utils/command-error.js';
|
|
10
|
+
import { buildReport, exitCodeForReport, } from '@vibe-agent-toolkit/schema';
|
|
11
|
+
import { everywhere, pathPresent, safePath, VatError, withFsFault } from '@vibe-agent-toolkit/utils';
|
|
12
|
+
import { refusalCodeOf } from '../../utils/command-refusal.js';
|
|
15
13
|
import { loadConfig } from '../../utils/config-loader.js';
|
|
16
|
-
import {
|
|
17
|
-
import { writeJsonOutput } from '../../utils/output.js';
|
|
14
|
+
import { endWithRefusal, NOTHING_FINISHED, writeDocument } from '../../utils/document-writer.js';
|
|
18
15
|
import { readPackageJsonOrAbsent } from '../../utils/package-json.js';
|
|
19
16
|
import { discoverSkillsFromConfig } from '../skills/skill-discovery.js';
|
|
20
17
|
import { collectArdSurfaces } from './surfaces.js';
|
|
@@ -68,13 +65,17 @@ function readProjectVersion(projectRoot) {
|
|
|
68
65
|
* @throws {ArdDerivationError} when a surface cannot be turned into a
|
|
69
66
|
* conformant entry — a missing `ard.baseUrl`, an unusable URN segment, or a
|
|
70
67
|
* trust identity that does not align with the publisher.
|
|
68
|
+
* @throws {FsFaultError} a `destination` fault (`RUN_INCOMPLETE`) when the OS refuses the manifest write.
|
|
71
69
|
*/
|
|
72
70
|
export async function runArdEmit(options) {
|
|
73
71
|
const projectRoot = options.projectRoot ?? process.cwd();
|
|
74
|
-
|
|
72
|
+
// Absent is the invocation naming nothing; a stat the OS refuses is the
|
|
73
|
+
// input's refusal (INPUT_UNREADABLE), never read as absent.
|
|
74
|
+
// The project root is the operator's own (`--project-root` or cwd): its own `within`.
|
|
75
|
+
if (!pathPresent(projectRoot, { follow: projectRoot }, everywhere('source'), 'probe')) {
|
|
75
76
|
throw new ArdConfigMissingError(projectRoot, 'no-project-root');
|
|
76
77
|
}
|
|
77
|
-
const config = loadConfig(projectRoot);
|
|
78
|
+
const config = loadConfig(projectRoot, 'source');
|
|
78
79
|
if (config === undefined) {
|
|
79
80
|
throw new ArdConfigMissingError(projectRoot, 'no-config-file');
|
|
80
81
|
}
|
|
@@ -100,7 +101,9 @@ export async function runArdEmit(options) {
|
|
|
100
101
|
});
|
|
101
102
|
const manifest = buildArdManifest(buildArdEntries(surfaces, ard));
|
|
102
103
|
const outputPath = safePath.resolve(projectRoot, options.output ?? DEFAULT_ARD_OUTPUT);
|
|
103
|
-
|
|
104
|
+
// The OS refusing `--output` (read-only, full disk, a file where a directory
|
|
105
|
+
// must be) stopped the run: a fault on the output, not a VAT defect.
|
|
106
|
+
await withFsFault({ side: 'destination', action: `write ${outputPath}`, path: outputPath }, () => writeArdManifest(manifest, outputPath));
|
|
104
107
|
return {
|
|
105
108
|
outputPath,
|
|
106
109
|
entryCount: manifest.entries.length,
|
|
@@ -109,10 +112,13 @@ export async function runArdEmit(options) {
|
|
|
109
112
|
};
|
|
110
113
|
}
|
|
111
114
|
/**
|
|
112
|
-
* The codes this run's findings carry.
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
115
|
+
* The codes this run's findings carry. The two refusals — no `ard:` block, a
|
|
116
|
+
* surface that would not derive — are REGISTRY refusal codes (`satisfies
|
|
117
|
+
* RefusalCode` below), so this command has no private vocabulary for "could
|
|
118
|
+
* not produce a manifest". The other three are not registry codes: nothing
|
|
119
|
+
* about them is a validation an adopter tunes through `validation.severity` — a
|
|
120
|
+
* skipped surface is a fact about what the manifest could not advertise, and
|
|
121
|
+
* its severity is the run's to decide.
|
|
116
122
|
*/
|
|
117
123
|
export const ARD_EMIT_CODES = {
|
|
118
124
|
/** A configured surface that became no entry, and why — the thing `--strict` gates. */
|
|
@@ -123,32 +129,17 @@ export const ARD_EMIT_CODES = {
|
|
|
123
129
|
* losing block is dead config, and an author cannot see that from the file.
|
|
124
130
|
*/
|
|
125
131
|
OVERRIDE_KEY_SHADOWED: 'ARD_OVERRIDE_KEY_SHADOWED',
|
|
126
|
-
};
|
|
127
|
-
/**
|
|
128
|
-
* What the run reports beyond its findings.
|
|
129
|
-
*
|
|
130
|
-
* 🪤 `entryCount: 0` is the empty manifest. A run that wrote `{"entries":[]}`
|
|
131
|
-
* and one that wrote a full catalogue both used to end at exit 0 with a
|
|
132
|
-
* cheerful line on stdout, and nothing a machine could read told them apart —
|
|
133
|
-
* so a CI step that emits and publishes was green over a discovery document
|
|
134
|
-
* advertising nothing. The envelope's `examined` is every configured surface
|
|
135
|
-
* the run considered, so "nothing declared" (`examined: 0`) and "everything
|
|
136
|
-
* declared was skipped" (`examined: N`, `entryCount: 0`) read differently too.
|
|
137
|
-
*/
|
|
138
|
-
export const ArdEmitDataSchema = z.object({
|
|
139
|
-
outputPath: z.string(),
|
|
140
|
-
entryCount: z.number().int().nonnegative(),
|
|
141
132
|
/**
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
* both.
|
|
133
|
+
* The project was read and declares no `ard:` block, so no manifest was
|
|
134
|
+
* built. A finding at `error` — exit 1 — because the PROJECT is the subject,
|
|
135
|
+
* not the invocation: it is fixed by editing config.
|
|
146
136
|
*/
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
|
|
137
|
+
NOT_CONFIGURED: 'ARD_NOT_CONFIGURED',
|
|
138
|
+
/** A declared surface could not be derived into a conformant entry, so no manifest was written. */
|
|
139
|
+
DERIVATION_FAILED: 'ARD_DERIVATION_FAILED',
|
|
140
|
+
/** `--strict` refused a manifest that leaves a declared surface (or everything) unadvertised. */
|
|
141
|
+
STRICT_REFUSED: 'ARD_STRICT_REFUSED',
|
|
142
|
+
};
|
|
152
143
|
/** The finding one skipped surface becomes. Its text is the stderr line, so the two channels agree. */
|
|
153
144
|
function skippedFinding(item) {
|
|
154
145
|
return {
|
|
@@ -168,9 +159,16 @@ function shadowedFinding(item) {
|
|
|
168
159
|
field: `ard.entries.${item.shadowedKey}`,
|
|
169
160
|
};
|
|
170
161
|
}
|
|
171
|
-
/**
|
|
172
|
-
|
|
162
|
+
/**
|
|
163
|
+
* Pure: the report a result becomes, so the status rule is unit-testable.
|
|
164
|
+
*
|
|
165
|
+
* @param result - What the run built
|
|
166
|
+
* @param gate - The gate the run is judged by (`--strict`)
|
|
167
|
+
* @returns The report
|
|
168
|
+
*/
|
|
169
|
+
export function buildArdEmitReport(result, gate) {
|
|
173
170
|
return buildReport({
|
|
171
|
+
gate,
|
|
174
172
|
// Every configured surface the run considered: the ones that became
|
|
175
173
|
// entries and the ones it had to skip.
|
|
176
174
|
examined: result.entryCount + result.skipped.length,
|
|
@@ -206,33 +204,91 @@ function strictFailure(report) {
|
|
|
206
204
|
}
|
|
207
205
|
return undefined;
|
|
208
206
|
}
|
|
209
|
-
/**
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
207
|
+
/**
|
|
208
|
+
* The report for a project VAT read and could build no manifest for.
|
|
209
|
+
*
|
|
210
|
+
* 🚨 These endings used to publish the envelope's ERROR branch (`status:
|
|
211
|
+
* error`) and exit 1 — a document saying "could not do its job" beside a code
|
|
212
|
+
* saying "the project failed its gate". They are findings about the project,
|
|
213
|
+
* so they are published as findings and the code is derived from them.
|
|
214
|
+
*
|
|
215
|
+
* @param code - Which refusal
|
|
216
|
+
* @param message - What the operator must change
|
|
217
|
+
* @param gate - The gate the run is judged by (`--strict`)
|
|
218
|
+
* @returns The report, at `error` severity, with nothing written
|
|
219
|
+
*/
|
|
220
|
+
function buildArdRefusalReport(code, message, gate) {
|
|
221
|
+
return buildReport({
|
|
222
|
+
gate,
|
|
223
|
+
examined: 0,
|
|
224
|
+
findings: [{ code, severity: 'error', message }],
|
|
225
|
+
data: { outputPath: null, entryCount: 0, skippedCount: 0, shadowedCount: 0 },
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* The report `--strict` publishes: the same one, with the refusal as a finding.
|
|
230
|
+
*
|
|
231
|
+
* It used to be a stderr line beside a document that still said `status: ok`,
|
|
232
|
+
* and an exit 1 the document did not explain.
|
|
233
|
+
*
|
|
234
|
+
* @param report - What the run built
|
|
235
|
+
* @returns The report, with a `STRICT_REFUSED` error when `--strict` refuses it
|
|
236
|
+
*/
|
|
237
|
+
function withStrictVerdict(report) {
|
|
238
|
+
const failure = strictFailure(report);
|
|
239
|
+
if (failure === undefined)
|
|
240
|
+
return report;
|
|
241
|
+
return {
|
|
242
|
+
...buildReport({
|
|
243
|
+
gate: report.gate,
|
|
244
|
+
examined: report.examined,
|
|
245
|
+
findings: [...report.findings, { code: ARD_EMIT_CODES.STRICT_REFUSED, severity: 'error', message: failure }],
|
|
246
|
+
data: report.data,
|
|
247
|
+
}),
|
|
248
|
+
...(report.durationMs === undefined ? {} : { durationMs: report.durationMs }),
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* The refusal an absence is: no project root is the invocation naming nothing
|
|
253
|
+
* (`USAGE_INVALID`); no config file is a project with nothing to derive from
|
|
254
|
+
* (`CONFIG_INVALID`). A project without an `ard:` block is a FINDING, not a
|
|
255
|
+
* refusal — `null` here, and published as `ARD_NOT_CONFIGURED` above.
|
|
256
|
+
*/
|
|
257
|
+
const ABSENCE_REFUSALS = {
|
|
258
|
+
'no-project-root': 'USAGE_INVALID',
|
|
259
|
+
'no-config-file': 'CONFIG_INVALID',
|
|
260
|
+
'no-ard-block': null,
|
|
261
|
+
};
|
|
262
|
+
/** Which refusal a failure that is not a finding about the project is. */
|
|
263
|
+
function ardRefusalCode(error) {
|
|
264
|
+
const absence = error instanceof ArdConfigMissingError ? ABSENCE_REFUSALS[error.absence] : null;
|
|
265
|
+
return absence ?? refusalCodeOf(error);
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Publish a report in the operator's format and end on the code the WRITTEN
|
|
269
|
+
* document derives. In text mode the findings — including any the writer adds —
|
|
270
|
+
* go to stderr and the one summary line to stdout; in json the report carries
|
|
271
|
+
* them in full, so stderr would be the same facts twice.
|
|
272
|
+
*
|
|
273
|
+
* @param report - The document
|
|
274
|
+
* @param format - `json`, or the human rendering
|
|
275
|
+
*/
|
|
276
|
+
function publishArdReport(report, format) {
|
|
277
|
+
const written = writeDocument('ard emit', report, format);
|
|
278
|
+
if (format === 'text') {
|
|
279
|
+
for (const finding of written.findings)
|
|
280
|
+
process.stderr.write(`${finding.message}\n`);
|
|
213
281
|
}
|
|
214
|
-
|
|
215
|
-
process.stdout.write(`Wrote ${entryCount} ARD entr${entryCount === 1 ? 'y' : 'ies'} to ${outputPath}\n`);
|
|
282
|
+
process.exit(exitCodeForReport(written));
|
|
216
283
|
}
|
|
217
284
|
/** Action handler for `vat ard emit`. */
|
|
218
285
|
export async function ardEmitCommand(options) {
|
|
219
|
-
const logger = createLogger(options.debug === true ? { debug: true } : {});
|
|
220
286
|
const startTime = Date.now();
|
|
287
|
+
const gate = { strict: options.strict === true };
|
|
288
|
+
const format = options.format ?? 'text';
|
|
221
289
|
try {
|
|
222
|
-
const
|
|
223
|
-
|
|
224
|
-
// The report carries every skipped and shadowed surface in full, so the
|
|
225
|
-
// stderr lines would be the same facts twice on two channels.
|
|
226
|
-
writeJsonOutput(report);
|
|
227
|
-
}
|
|
228
|
-
else {
|
|
229
|
-
writeArdEmitText(report);
|
|
230
|
-
}
|
|
231
|
-
const failure = options.strict === true ? strictFailure(report) : undefined;
|
|
232
|
-
if (failure !== undefined) {
|
|
233
|
-
process.stderr.write(`${failure}\n`);
|
|
234
|
-
process.exit(ExitCode.FINDINGS);
|
|
235
|
-
}
|
|
290
|
+
const built = { ...buildArdEmitReport(await runArdEmit(options), gate), durationMs: Date.now() - startTime };
|
|
291
|
+
publishArdReport(options.strict === true ? withStrictVerdict(built) : built, format);
|
|
236
292
|
}
|
|
237
293
|
catch (error) {
|
|
238
294
|
// 🔑 THE RULE, in one sentence: **exit 1 means VAT read this project and
|
|
@@ -249,13 +305,13 @@ export async function ardEmitCommand(options) {
|
|
|
249
305
|
// repositories which have not opted into ARD keys on exactly that split.
|
|
250
306
|
//
|
|
251
307
|
// Exit 2 is also what `vat okf validate` documents for the same conditions,
|
|
252
|
-
// and what an invalid config already did here
|
|
308
|
+
// and what an invalid config already did here (`CONFIG_INVALID`).
|
|
253
309
|
// The old split had a missing config file exiting 1 and an invalid one
|
|
254
310
|
// exiting 2 while the help called 2 "Unexpected internal failure" — so a CI
|
|
255
311
|
// job reading 2 as a crash was paged for a typo.
|
|
256
312
|
//
|
|
257
|
-
// ⚠️ Both endings publish their document through
|
|
258
|
-
//
|
|
313
|
+
// ⚠️ Both endings publish their document through the writer, in the
|
|
314
|
+
// format the operator asked for. Written inline they published
|
|
259
315
|
// NOTHING — a `--format json` run of the commonest case of all, a
|
|
260
316
|
// repository that never opted into ARD, wrote zero bytes to stdout and left
|
|
261
317
|
// a CI wrapper parsing stderr for a fact the report is supposed to carry.
|
|
@@ -264,13 +320,13 @@ export async function ardEmitCommand(options) {
|
|
|
264
320
|
// is a spy that RETURNS, so a bare call falls through to the handler below
|
|
265
321
|
// and the run records a second exit — the same reason the inline endings
|
|
266
322
|
// this replaced each carried a `return`.
|
|
267
|
-
if (error instanceof ArdConfigMissingError) {
|
|
268
|
-
return
|
|
323
|
+
if (error instanceof ArdConfigMissingError && error.absence === 'no-ard-block') {
|
|
324
|
+
return publishArdReport({ ...buildArdRefusalReport(ARD_EMIT_CODES.NOT_CONFIGURED, error.message, gate), durationMs: Date.now() - startTime }, format);
|
|
269
325
|
}
|
|
270
326
|
if (error instanceof ArdDerivationError) {
|
|
271
|
-
return
|
|
327
|
+
return publishArdReport({ ...buildArdRefusalReport(ARD_EMIT_CODES.DERIVATION_FAILED, error.message, gate), durationMs: Date.now() - startTime }, format);
|
|
272
328
|
}
|
|
273
|
-
|
|
329
|
+
return endWithRefusal('ard emit', ardRefusalCode(error), error, format, gate, NOTHING_FINISHED);
|
|
274
330
|
}
|
|
275
331
|
}
|
|
276
332
|
//# sourceMappingURL=emit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emit.js","sourceRoot":"","sources":["../../../src/commands/ard/emit.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"emit.js","sourceRoot":"","sources":["../../../src/commands/ard/emit.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,2BAA2B,EAC3B,gBAAgB,GAEjB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,WAAW,EACX,iBAAiB,GAMlB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAErG,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,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