@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
|
@@ -0,0 +1,642 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The document `vat claude plugin build` 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 (the cycle
|
|
6
|
+
* `report-schemas.ts` describes).
|
|
7
|
+
*
|
|
8
|
+
* `examined` counts the marketplaces the build reached. A project with no
|
|
9
|
+
* `claude.marketplaces` examines none, and the writer refuses that run.
|
|
10
|
+
*
|
|
11
|
+
* Every path is relative to the directory holding
|
|
12
|
+
* `vibe-agent-toolkit.config.yaml` — the root whose config the build read —
|
|
13
|
+
* so the document never carries `$HOME`.
|
|
14
|
+
*/
|
|
15
|
+
import { type Report } from '@vibe-agent-toolkit/schema';
|
|
16
|
+
import { z } from 'zod';
|
|
17
|
+
import type { ExaminedDeclaration } from '../../../utils/run-integrity.js';
|
|
18
|
+
/** What `examined` counts for `vat claude plugin build`, and the remedy when it is zero. */
|
|
19
|
+
export declare const PLUGIN_BUILD_EXAMINED: ExaminedDeclaration;
|
|
20
|
+
declare const PluginBuildDataSchema: z.ZodObject<{
|
|
21
|
+
/** Marketplaces whose every plugin was assembled and whose marketplace.json was written. */
|
|
22
|
+
marketplacesBuilt: z.ZodNumber;
|
|
23
|
+
pluginsBuilt: z.ZodNumber;
|
|
24
|
+
/** Plugins entered by `externalSource`: listed in marketplace.json, never built. */
|
|
25
|
+
pluginsReferenced: z.ZodNumber;
|
|
26
|
+
/** Pool skills copied into the built plugins. */
|
|
27
|
+
skillsPackaged: z.ZodNumber;
|
|
28
|
+
marketplaces: z.ZodArray<z.ZodObject<{
|
|
29
|
+
name: z.ZodString;
|
|
30
|
+
status: z.ZodEnum<["ok", "findings"]>;
|
|
31
|
+
/** Why the marketplace stopped short of its marketplace.json — a plugin failed the build gate. */
|
|
32
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
33
|
+
plugins: z.ZodArray<z.ZodObject<{
|
|
34
|
+
name: z.ZodString;
|
|
35
|
+
outputPath: z.ZodString;
|
|
36
|
+
skills: z.ZodArray<z.ZodString, "many">;
|
|
37
|
+
}, "strict", z.ZodTypeAny, {
|
|
38
|
+
name: string;
|
|
39
|
+
skills: string[];
|
|
40
|
+
outputPath: string;
|
|
41
|
+
}, {
|
|
42
|
+
name: string;
|
|
43
|
+
skills: string[];
|
|
44
|
+
outputPath: string;
|
|
45
|
+
}>, "many">;
|
|
46
|
+
externalPlugins: z.ZodArray<z.ZodObject<{
|
|
47
|
+
name: z.ZodString;
|
|
48
|
+
version: z.ZodOptional<z.ZodString>;
|
|
49
|
+
/** The same object marketplace.json carries as this entry's `source`. */
|
|
50
|
+
source: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
51
|
+
source: z.ZodLiteral<"github">;
|
|
52
|
+
repo: z.ZodString;
|
|
53
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
54
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, "strict", z.ZodTypeAny, {
|
|
56
|
+
source: "github";
|
|
57
|
+
repo: string;
|
|
58
|
+
ref?: string | undefined;
|
|
59
|
+
sha?: string | undefined;
|
|
60
|
+
}, {
|
|
61
|
+
source: "github";
|
|
62
|
+
repo: string;
|
|
63
|
+
ref?: string | undefined;
|
|
64
|
+
sha?: string | undefined;
|
|
65
|
+
}>, z.ZodObject<{
|
|
66
|
+
source: z.ZodLiteral<"url">;
|
|
67
|
+
url: z.ZodString;
|
|
68
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
69
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, "strict", z.ZodTypeAny, {
|
|
71
|
+
url: string;
|
|
72
|
+
source: "url";
|
|
73
|
+
ref?: string | undefined;
|
|
74
|
+
sha?: string | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
url: string;
|
|
77
|
+
source: "url";
|
|
78
|
+
ref?: string | undefined;
|
|
79
|
+
sha?: string | undefined;
|
|
80
|
+
}>, z.ZodObject<{
|
|
81
|
+
source: z.ZodLiteral<"npm">;
|
|
82
|
+
package: z.ZodString;
|
|
83
|
+
version: z.ZodOptional<z.ZodString>;
|
|
84
|
+
registry: z.ZodOptional<z.ZodString>;
|
|
85
|
+
}, "strict", z.ZodTypeAny, {
|
|
86
|
+
source: "npm";
|
|
87
|
+
package: string;
|
|
88
|
+
version?: string | undefined;
|
|
89
|
+
registry?: string | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
source: "npm";
|
|
92
|
+
package: string;
|
|
93
|
+
version?: string | undefined;
|
|
94
|
+
registry?: string | undefined;
|
|
95
|
+
}>, z.ZodObject<{
|
|
96
|
+
source: z.ZodLiteral<"pip">;
|
|
97
|
+
package: z.ZodString;
|
|
98
|
+
version: z.ZodOptional<z.ZodString>;
|
|
99
|
+
registry: z.ZodOptional<z.ZodString>;
|
|
100
|
+
}, "strict", z.ZodTypeAny, {
|
|
101
|
+
source: "pip";
|
|
102
|
+
package: string;
|
|
103
|
+
version?: string | undefined;
|
|
104
|
+
registry?: string | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
source: "pip";
|
|
107
|
+
package: string;
|
|
108
|
+
version?: string | undefined;
|
|
109
|
+
registry?: string | undefined;
|
|
110
|
+
}>]>;
|
|
111
|
+
}, "strict", z.ZodTypeAny, {
|
|
112
|
+
source: {
|
|
113
|
+
source: "github";
|
|
114
|
+
repo: string;
|
|
115
|
+
ref?: string | undefined;
|
|
116
|
+
sha?: string | undefined;
|
|
117
|
+
} | {
|
|
118
|
+
url: string;
|
|
119
|
+
source: "url";
|
|
120
|
+
ref?: string | undefined;
|
|
121
|
+
sha?: string | undefined;
|
|
122
|
+
} | {
|
|
123
|
+
source: "npm";
|
|
124
|
+
package: string;
|
|
125
|
+
version?: string | undefined;
|
|
126
|
+
registry?: string | undefined;
|
|
127
|
+
} | {
|
|
128
|
+
source: "pip";
|
|
129
|
+
package: string;
|
|
130
|
+
version?: string | undefined;
|
|
131
|
+
registry?: string | undefined;
|
|
132
|
+
};
|
|
133
|
+
name: string;
|
|
134
|
+
version?: string | undefined;
|
|
135
|
+
}, {
|
|
136
|
+
source: {
|
|
137
|
+
source: "github";
|
|
138
|
+
repo: string;
|
|
139
|
+
ref?: string | undefined;
|
|
140
|
+
sha?: string | undefined;
|
|
141
|
+
} | {
|
|
142
|
+
url: string;
|
|
143
|
+
source: "url";
|
|
144
|
+
ref?: string | undefined;
|
|
145
|
+
sha?: string | undefined;
|
|
146
|
+
} | {
|
|
147
|
+
source: "npm";
|
|
148
|
+
package: string;
|
|
149
|
+
version?: string | undefined;
|
|
150
|
+
registry?: string | undefined;
|
|
151
|
+
} | {
|
|
152
|
+
source: "pip";
|
|
153
|
+
package: string;
|
|
154
|
+
version?: string | undefined;
|
|
155
|
+
registry?: string | undefined;
|
|
156
|
+
};
|
|
157
|
+
name: string;
|
|
158
|
+
version?: string | undefined;
|
|
159
|
+
}>, "many">;
|
|
160
|
+
}, "strict", z.ZodTypeAny, {
|
|
161
|
+
name: string;
|
|
162
|
+
status: "ok" | "findings";
|
|
163
|
+
plugins: {
|
|
164
|
+
name: string;
|
|
165
|
+
skills: string[];
|
|
166
|
+
outputPath: string;
|
|
167
|
+
}[];
|
|
168
|
+
externalPlugins: {
|
|
169
|
+
source: {
|
|
170
|
+
source: "github";
|
|
171
|
+
repo: string;
|
|
172
|
+
ref?: string | undefined;
|
|
173
|
+
sha?: string | undefined;
|
|
174
|
+
} | {
|
|
175
|
+
url: string;
|
|
176
|
+
source: "url";
|
|
177
|
+
ref?: string | undefined;
|
|
178
|
+
sha?: string | undefined;
|
|
179
|
+
} | {
|
|
180
|
+
source: "npm";
|
|
181
|
+
package: string;
|
|
182
|
+
version?: string | undefined;
|
|
183
|
+
registry?: string | undefined;
|
|
184
|
+
} | {
|
|
185
|
+
source: "pip";
|
|
186
|
+
package: string;
|
|
187
|
+
version?: string | undefined;
|
|
188
|
+
registry?: string | undefined;
|
|
189
|
+
};
|
|
190
|
+
name: string;
|
|
191
|
+
version?: string | undefined;
|
|
192
|
+
}[];
|
|
193
|
+
reason?: string | undefined;
|
|
194
|
+
}, {
|
|
195
|
+
name: string;
|
|
196
|
+
status: "ok" | "findings";
|
|
197
|
+
plugins: {
|
|
198
|
+
name: string;
|
|
199
|
+
skills: string[];
|
|
200
|
+
outputPath: string;
|
|
201
|
+
}[];
|
|
202
|
+
externalPlugins: {
|
|
203
|
+
source: {
|
|
204
|
+
source: "github";
|
|
205
|
+
repo: string;
|
|
206
|
+
ref?: string | undefined;
|
|
207
|
+
sha?: string | undefined;
|
|
208
|
+
} | {
|
|
209
|
+
url: string;
|
|
210
|
+
source: "url";
|
|
211
|
+
ref?: string | undefined;
|
|
212
|
+
sha?: string | undefined;
|
|
213
|
+
} | {
|
|
214
|
+
source: "npm";
|
|
215
|
+
package: string;
|
|
216
|
+
version?: string | undefined;
|
|
217
|
+
registry?: string | undefined;
|
|
218
|
+
} | {
|
|
219
|
+
source: "pip";
|
|
220
|
+
package: string;
|
|
221
|
+
version?: string | undefined;
|
|
222
|
+
registry?: string | undefined;
|
|
223
|
+
};
|
|
224
|
+
name: string;
|
|
225
|
+
version?: string | undefined;
|
|
226
|
+
}[];
|
|
227
|
+
reason?: string | undefined;
|
|
228
|
+
}>, "many">;
|
|
229
|
+
}, "strict", z.ZodTypeAny, {
|
|
230
|
+
marketplaces: {
|
|
231
|
+
name: string;
|
|
232
|
+
status: "ok" | "findings";
|
|
233
|
+
plugins: {
|
|
234
|
+
name: string;
|
|
235
|
+
skills: string[];
|
|
236
|
+
outputPath: string;
|
|
237
|
+
}[];
|
|
238
|
+
externalPlugins: {
|
|
239
|
+
source: {
|
|
240
|
+
source: "github";
|
|
241
|
+
repo: string;
|
|
242
|
+
ref?: string | undefined;
|
|
243
|
+
sha?: string | undefined;
|
|
244
|
+
} | {
|
|
245
|
+
url: string;
|
|
246
|
+
source: "url";
|
|
247
|
+
ref?: string | undefined;
|
|
248
|
+
sha?: string | undefined;
|
|
249
|
+
} | {
|
|
250
|
+
source: "npm";
|
|
251
|
+
package: string;
|
|
252
|
+
version?: string | undefined;
|
|
253
|
+
registry?: string | undefined;
|
|
254
|
+
} | {
|
|
255
|
+
source: "pip";
|
|
256
|
+
package: string;
|
|
257
|
+
version?: string | undefined;
|
|
258
|
+
registry?: string | undefined;
|
|
259
|
+
};
|
|
260
|
+
name: string;
|
|
261
|
+
version?: string | undefined;
|
|
262
|
+
}[];
|
|
263
|
+
reason?: string | undefined;
|
|
264
|
+
}[];
|
|
265
|
+
marketplacesBuilt: number;
|
|
266
|
+
pluginsBuilt: number;
|
|
267
|
+
pluginsReferenced: number;
|
|
268
|
+
skillsPackaged: number;
|
|
269
|
+
}, {
|
|
270
|
+
marketplaces: {
|
|
271
|
+
name: string;
|
|
272
|
+
status: "ok" | "findings";
|
|
273
|
+
plugins: {
|
|
274
|
+
name: string;
|
|
275
|
+
skills: string[];
|
|
276
|
+
outputPath: string;
|
|
277
|
+
}[];
|
|
278
|
+
externalPlugins: {
|
|
279
|
+
source: {
|
|
280
|
+
source: "github";
|
|
281
|
+
repo: string;
|
|
282
|
+
ref?: string | undefined;
|
|
283
|
+
sha?: string | undefined;
|
|
284
|
+
} | {
|
|
285
|
+
url: string;
|
|
286
|
+
source: "url";
|
|
287
|
+
ref?: string | undefined;
|
|
288
|
+
sha?: string | undefined;
|
|
289
|
+
} | {
|
|
290
|
+
source: "npm";
|
|
291
|
+
package: string;
|
|
292
|
+
version?: string | undefined;
|
|
293
|
+
registry?: string | undefined;
|
|
294
|
+
} | {
|
|
295
|
+
source: "pip";
|
|
296
|
+
package: string;
|
|
297
|
+
version?: string | undefined;
|
|
298
|
+
registry?: string | undefined;
|
|
299
|
+
};
|
|
300
|
+
name: string;
|
|
301
|
+
version?: string | undefined;
|
|
302
|
+
}[];
|
|
303
|
+
reason?: string | undefined;
|
|
304
|
+
}[];
|
|
305
|
+
marketplacesBuilt: number;
|
|
306
|
+
pluginsBuilt: number;
|
|
307
|
+
pluginsReferenced: number;
|
|
308
|
+
skillsPackaged: number;
|
|
309
|
+
}>;
|
|
310
|
+
export type PluginBuildData = z.infer<typeof PluginBuildDataSchema>;
|
|
311
|
+
/** The document this command publishes. */
|
|
312
|
+
export declare const PLUGIN_BUILD_REPORT_SCHEMA: import("@vibe-agent-toolkit/schema").ReportZodSchema<z.ZodObject<{
|
|
313
|
+
/** Marketplaces whose every plugin was assembled and whose marketplace.json was written. */
|
|
314
|
+
marketplacesBuilt: z.ZodNumber;
|
|
315
|
+
pluginsBuilt: z.ZodNumber;
|
|
316
|
+
/** Plugins entered by `externalSource`: listed in marketplace.json, never built. */
|
|
317
|
+
pluginsReferenced: z.ZodNumber;
|
|
318
|
+
/** Pool skills copied into the built plugins. */
|
|
319
|
+
skillsPackaged: z.ZodNumber;
|
|
320
|
+
marketplaces: z.ZodArray<z.ZodObject<{
|
|
321
|
+
name: z.ZodString;
|
|
322
|
+
status: z.ZodEnum<["ok", "findings"]>;
|
|
323
|
+
/** Why the marketplace stopped short of its marketplace.json — a plugin failed the build gate. */
|
|
324
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
325
|
+
plugins: z.ZodArray<z.ZodObject<{
|
|
326
|
+
name: z.ZodString;
|
|
327
|
+
outputPath: z.ZodString;
|
|
328
|
+
skills: z.ZodArray<z.ZodString, "many">;
|
|
329
|
+
}, "strict", z.ZodTypeAny, {
|
|
330
|
+
name: string;
|
|
331
|
+
skills: string[];
|
|
332
|
+
outputPath: string;
|
|
333
|
+
}, {
|
|
334
|
+
name: string;
|
|
335
|
+
skills: string[];
|
|
336
|
+
outputPath: string;
|
|
337
|
+
}>, "many">;
|
|
338
|
+
externalPlugins: z.ZodArray<z.ZodObject<{
|
|
339
|
+
name: z.ZodString;
|
|
340
|
+
version: z.ZodOptional<z.ZodString>;
|
|
341
|
+
/** The same object marketplace.json carries as this entry's `source`. */
|
|
342
|
+
source: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
343
|
+
source: z.ZodLiteral<"github">;
|
|
344
|
+
repo: z.ZodString;
|
|
345
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
346
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
347
|
+
}, "strict", z.ZodTypeAny, {
|
|
348
|
+
source: "github";
|
|
349
|
+
repo: string;
|
|
350
|
+
ref?: string | undefined;
|
|
351
|
+
sha?: string | undefined;
|
|
352
|
+
}, {
|
|
353
|
+
source: "github";
|
|
354
|
+
repo: string;
|
|
355
|
+
ref?: string | undefined;
|
|
356
|
+
sha?: string | undefined;
|
|
357
|
+
}>, z.ZodObject<{
|
|
358
|
+
source: z.ZodLiteral<"url">;
|
|
359
|
+
url: z.ZodString;
|
|
360
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
361
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
362
|
+
}, "strict", z.ZodTypeAny, {
|
|
363
|
+
url: string;
|
|
364
|
+
source: "url";
|
|
365
|
+
ref?: string | undefined;
|
|
366
|
+
sha?: string | undefined;
|
|
367
|
+
}, {
|
|
368
|
+
url: string;
|
|
369
|
+
source: "url";
|
|
370
|
+
ref?: string | undefined;
|
|
371
|
+
sha?: string | undefined;
|
|
372
|
+
}>, z.ZodObject<{
|
|
373
|
+
source: z.ZodLiteral<"npm">;
|
|
374
|
+
package: z.ZodString;
|
|
375
|
+
version: z.ZodOptional<z.ZodString>;
|
|
376
|
+
registry: z.ZodOptional<z.ZodString>;
|
|
377
|
+
}, "strict", z.ZodTypeAny, {
|
|
378
|
+
source: "npm";
|
|
379
|
+
package: string;
|
|
380
|
+
version?: string | undefined;
|
|
381
|
+
registry?: string | undefined;
|
|
382
|
+
}, {
|
|
383
|
+
source: "npm";
|
|
384
|
+
package: string;
|
|
385
|
+
version?: string | undefined;
|
|
386
|
+
registry?: string | undefined;
|
|
387
|
+
}>, z.ZodObject<{
|
|
388
|
+
source: z.ZodLiteral<"pip">;
|
|
389
|
+
package: z.ZodString;
|
|
390
|
+
version: z.ZodOptional<z.ZodString>;
|
|
391
|
+
registry: z.ZodOptional<z.ZodString>;
|
|
392
|
+
}, "strict", z.ZodTypeAny, {
|
|
393
|
+
source: "pip";
|
|
394
|
+
package: string;
|
|
395
|
+
version?: string | undefined;
|
|
396
|
+
registry?: string | undefined;
|
|
397
|
+
}, {
|
|
398
|
+
source: "pip";
|
|
399
|
+
package: string;
|
|
400
|
+
version?: string | undefined;
|
|
401
|
+
registry?: string | undefined;
|
|
402
|
+
}>]>;
|
|
403
|
+
}, "strict", z.ZodTypeAny, {
|
|
404
|
+
source: {
|
|
405
|
+
source: "github";
|
|
406
|
+
repo: string;
|
|
407
|
+
ref?: string | undefined;
|
|
408
|
+
sha?: string | undefined;
|
|
409
|
+
} | {
|
|
410
|
+
url: string;
|
|
411
|
+
source: "url";
|
|
412
|
+
ref?: string | undefined;
|
|
413
|
+
sha?: string | undefined;
|
|
414
|
+
} | {
|
|
415
|
+
source: "npm";
|
|
416
|
+
package: string;
|
|
417
|
+
version?: string | undefined;
|
|
418
|
+
registry?: string | undefined;
|
|
419
|
+
} | {
|
|
420
|
+
source: "pip";
|
|
421
|
+
package: string;
|
|
422
|
+
version?: string | undefined;
|
|
423
|
+
registry?: string | undefined;
|
|
424
|
+
};
|
|
425
|
+
name: string;
|
|
426
|
+
version?: string | undefined;
|
|
427
|
+
}, {
|
|
428
|
+
source: {
|
|
429
|
+
source: "github";
|
|
430
|
+
repo: string;
|
|
431
|
+
ref?: string | undefined;
|
|
432
|
+
sha?: string | undefined;
|
|
433
|
+
} | {
|
|
434
|
+
url: string;
|
|
435
|
+
source: "url";
|
|
436
|
+
ref?: string | undefined;
|
|
437
|
+
sha?: string | undefined;
|
|
438
|
+
} | {
|
|
439
|
+
source: "npm";
|
|
440
|
+
package: string;
|
|
441
|
+
version?: string | undefined;
|
|
442
|
+
registry?: string | undefined;
|
|
443
|
+
} | {
|
|
444
|
+
source: "pip";
|
|
445
|
+
package: string;
|
|
446
|
+
version?: string | undefined;
|
|
447
|
+
registry?: string | undefined;
|
|
448
|
+
};
|
|
449
|
+
name: string;
|
|
450
|
+
version?: string | undefined;
|
|
451
|
+
}>, "many">;
|
|
452
|
+
}, "strict", z.ZodTypeAny, {
|
|
453
|
+
name: string;
|
|
454
|
+
status: "ok" | "findings";
|
|
455
|
+
plugins: {
|
|
456
|
+
name: string;
|
|
457
|
+
skills: string[];
|
|
458
|
+
outputPath: string;
|
|
459
|
+
}[];
|
|
460
|
+
externalPlugins: {
|
|
461
|
+
source: {
|
|
462
|
+
source: "github";
|
|
463
|
+
repo: string;
|
|
464
|
+
ref?: string | undefined;
|
|
465
|
+
sha?: string | undefined;
|
|
466
|
+
} | {
|
|
467
|
+
url: string;
|
|
468
|
+
source: "url";
|
|
469
|
+
ref?: string | undefined;
|
|
470
|
+
sha?: string | undefined;
|
|
471
|
+
} | {
|
|
472
|
+
source: "npm";
|
|
473
|
+
package: string;
|
|
474
|
+
version?: string | undefined;
|
|
475
|
+
registry?: string | undefined;
|
|
476
|
+
} | {
|
|
477
|
+
source: "pip";
|
|
478
|
+
package: string;
|
|
479
|
+
version?: string | undefined;
|
|
480
|
+
registry?: string | undefined;
|
|
481
|
+
};
|
|
482
|
+
name: string;
|
|
483
|
+
version?: string | undefined;
|
|
484
|
+
}[];
|
|
485
|
+
reason?: string | undefined;
|
|
486
|
+
}, {
|
|
487
|
+
name: string;
|
|
488
|
+
status: "ok" | "findings";
|
|
489
|
+
plugins: {
|
|
490
|
+
name: string;
|
|
491
|
+
skills: string[];
|
|
492
|
+
outputPath: string;
|
|
493
|
+
}[];
|
|
494
|
+
externalPlugins: {
|
|
495
|
+
source: {
|
|
496
|
+
source: "github";
|
|
497
|
+
repo: string;
|
|
498
|
+
ref?: string | undefined;
|
|
499
|
+
sha?: string | undefined;
|
|
500
|
+
} | {
|
|
501
|
+
url: string;
|
|
502
|
+
source: "url";
|
|
503
|
+
ref?: string | undefined;
|
|
504
|
+
sha?: string | undefined;
|
|
505
|
+
} | {
|
|
506
|
+
source: "npm";
|
|
507
|
+
package: string;
|
|
508
|
+
version?: string | undefined;
|
|
509
|
+
registry?: string | undefined;
|
|
510
|
+
} | {
|
|
511
|
+
source: "pip";
|
|
512
|
+
package: string;
|
|
513
|
+
version?: string | undefined;
|
|
514
|
+
registry?: string | undefined;
|
|
515
|
+
};
|
|
516
|
+
name: string;
|
|
517
|
+
version?: string | undefined;
|
|
518
|
+
}[];
|
|
519
|
+
reason?: string | undefined;
|
|
520
|
+
}>, "many">;
|
|
521
|
+
}, "strict", z.ZodTypeAny, {
|
|
522
|
+
marketplaces: {
|
|
523
|
+
name: string;
|
|
524
|
+
status: "ok" | "findings";
|
|
525
|
+
plugins: {
|
|
526
|
+
name: string;
|
|
527
|
+
skills: string[];
|
|
528
|
+
outputPath: string;
|
|
529
|
+
}[];
|
|
530
|
+
externalPlugins: {
|
|
531
|
+
source: {
|
|
532
|
+
source: "github";
|
|
533
|
+
repo: string;
|
|
534
|
+
ref?: string | undefined;
|
|
535
|
+
sha?: string | undefined;
|
|
536
|
+
} | {
|
|
537
|
+
url: string;
|
|
538
|
+
source: "url";
|
|
539
|
+
ref?: string | undefined;
|
|
540
|
+
sha?: string | undefined;
|
|
541
|
+
} | {
|
|
542
|
+
source: "npm";
|
|
543
|
+
package: string;
|
|
544
|
+
version?: string | undefined;
|
|
545
|
+
registry?: string | undefined;
|
|
546
|
+
} | {
|
|
547
|
+
source: "pip";
|
|
548
|
+
package: string;
|
|
549
|
+
version?: string | undefined;
|
|
550
|
+
registry?: string | undefined;
|
|
551
|
+
};
|
|
552
|
+
name: string;
|
|
553
|
+
version?: string | undefined;
|
|
554
|
+
}[];
|
|
555
|
+
reason?: string | undefined;
|
|
556
|
+
}[];
|
|
557
|
+
marketplacesBuilt: number;
|
|
558
|
+
pluginsBuilt: number;
|
|
559
|
+
pluginsReferenced: number;
|
|
560
|
+
skillsPackaged: number;
|
|
561
|
+
}, {
|
|
562
|
+
marketplaces: {
|
|
563
|
+
name: string;
|
|
564
|
+
status: "ok" | "findings";
|
|
565
|
+
plugins: {
|
|
566
|
+
name: string;
|
|
567
|
+
skills: string[];
|
|
568
|
+
outputPath: string;
|
|
569
|
+
}[];
|
|
570
|
+
externalPlugins: {
|
|
571
|
+
source: {
|
|
572
|
+
source: "github";
|
|
573
|
+
repo: string;
|
|
574
|
+
ref?: string | undefined;
|
|
575
|
+
sha?: string | undefined;
|
|
576
|
+
} | {
|
|
577
|
+
url: string;
|
|
578
|
+
source: "url";
|
|
579
|
+
ref?: string | undefined;
|
|
580
|
+
sha?: string | undefined;
|
|
581
|
+
} | {
|
|
582
|
+
source: "npm";
|
|
583
|
+
package: string;
|
|
584
|
+
version?: string | undefined;
|
|
585
|
+
registry?: string | undefined;
|
|
586
|
+
} | {
|
|
587
|
+
source: "pip";
|
|
588
|
+
package: string;
|
|
589
|
+
version?: string | undefined;
|
|
590
|
+
registry?: string | undefined;
|
|
591
|
+
};
|
|
592
|
+
name: string;
|
|
593
|
+
version?: string | undefined;
|
|
594
|
+
}[];
|
|
595
|
+
reason?: string | undefined;
|
|
596
|
+
}[];
|
|
597
|
+
marketplacesBuilt: number;
|
|
598
|
+
pluginsBuilt: number;
|
|
599
|
+
pluginsReferenced: number;
|
|
600
|
+
skillsPackaged: number;
|
|
601
|
+
}>, z.ZodObject<Omit<{
|
|
602
|
+
code: z.ZodString;
|
|
603
|
+
severity: z.ZodEnum<["error", "warning", "info", "ignore"]>;
|
|
604
|
+
message: z.ZodString;
|
|
605
|
+
location: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
606
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
607
|
+
field: z.ZodOptional<z.ZodString>;
|
|
608
|
+
link: z.ZodOptional<z.ZodString>;
|
|
609
|
+
fix: z.ZodOptional<z.ZodString>;
|
|
610
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
611
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
612
|
+
}, "severity"> & {
|
|
613
|
+
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
614
|
+
column: z.ZodOptional<z.ZodNumber>;
|
|
615
|
+
}, "strict", z.ZodTypeAny, {
|
|
616
|
+
code: string;
|
|
617
|
+
message: string;
|
|
618
|
+
severity: "error" | "warning" | "info";
|
|
619
|
+
fix?: string | undefined;
|
|
620
|
+
reference?: string | undefined;
|
|
621
|
+
location?: string | undefined;
|
|
622
|
+
line?: number | undefined;
|
|
623
|
+
field?: string | undefined;
|
|
624
|
+
link?: string | undefined;
|
|
625
|
+
suggestion?: string | undefined;
|
|
626
|
+
column?: number | undefined;
|
|
627
|
+
}, {
|
|
628
|
+
code: string;
|
|
629
|
+
message: string;
|
|
630
|
+
severity: "error" | "warning" | "info";
|
|
631
|
+
fix?: string | undefined;
|
|
632
|
+
reference?: string | undefined;
|
|
633
|
+
location?: string | undefined;
|
|
634
|
+
line?: number | undefined;
|
|
635
|
+
field?: string | undefined;
|
|
636
|
+
link?: string | undefined;
|
|
637
|
+
suggestion?: string | undefined;
|
|
638
|
+
column?: number | undefined;
|
|
639
|
+
}>>;
|
|
640
|
+
export type PluginBuildReport = Report<PluginBuildData>;
|
|
641
|
+
export {};
|
|
642
|
+
//# sourceMappingURL=build-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-schema.d.ts","sourceRoot":"","sources":["../../../../src/commands/claude/plugin/build-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAA+B,KAAK,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACtF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAE3E,4FAA4F;AAC5F,eAAO,MAAM,qBAAqB,EAAE,mBAGnC,CAAC;AAEF,QAAA,MAAM,qBAAqB;IACzB,4FAA4F;;;IAG5F,oFAAoF;;IAEpF,iDAAiD;;;;;QAK/C,kGAAkG;;;;;;;;;;;;;;;;;;YAUhG,yEAAyE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpE,CAAC;AAEZ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,2CAA2C;AAC3C,eAAO,MAAM,0BAA0B;IA7BrC,4FAA4F;;;IAG5F,oFAAoF;;IAEpF,iDAAiD;;;;;QAK/C,kGAAkG;;;;;;;;;;;;;;;;;;YAUhG,yEAAyE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASa,CAAC;AAE7F,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The document `vat claude plugin build` 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 (the cycle
|
|
6
|
+
* `report-schemas.ts` describes).
|
|
7
|
+
*
|
|
8
|
+
* `examined` counts the marketplaces the build reached. A project with no
|
|
9
|
+
* `claude.marketplaces` examines none, and the writer refuses that run.
|
|
10
|
+
*
|
|
11
|
+
* Every path is relative to the directory holding
|
|
12
|
+
* `vibe-agent-toolkit.config.yaml` — the root whose config the build read —
|
|
13
|
+
* so the document never carries `$HOME`.
|
|
14
|
+
*/
|
|
15
|
+
import { ExternalPluginSourceSchema } from '@vibe-agent-toolkit/resources';
|
|
16
|
+
import { FindingSchema, reportSchema } from '@vibe-agent-toolkit/schema';
|
|
17
|
+
import { z } from 'zod';
|
|
18
|
+
/** What `examined` counts for `vat claude plugin build`, and the remedy when it is zero. */
|
|
19
|
+
export const PLUGIN_BUILD_EXAMINED = {
|
|
20
|
+
unit: 'marketplaces',
|
|
21
|
+
whenZero: 'No marketplace was built — declare one under claude.marketplaces in vibe-agent-toolkit.config.yaml.',
|
|
22
|
+
};
|
|
23
|
+
const PluginBuildDataSchema = z.object({
|
|
24
|
+
/** Marketplaces whose every plugin was assembled and whose marketplace.json was written. */
|
|
25
|
+
marketplacesBuilt: z.number().int().nonnegative(),
|
|
26
|
+
pluginsBuilt: z.number().int().nonnegative(),
|
|
27
|
+
/** Plugins entered by `externalSource`: listed in marketplace.json, never built. */
|
|
28
|
+
pluginsReferenced: z.number().int().nonnegative(),
|
|
29
|
+
/** Pool skills copied into the built plugins. */
|
|
30
|
+
skillsPackaged: z.number().int().nonnegative(),
|
|
31
|
+
marketplaces: z.array(z.object({
|
|
32
|
+
name: z.string(),
|
|
33
|
+
status: z.enum(['ok', 'findings']),
|
|
34
|
+
/** Why the marketplace stopped short of its marketplace.json — a plugin failed the build gate. */
|
|
35
|
+
reason: z.string().optional(),
|
|
36
|
+
plugins: z.array(z.object({
|
|
37
|
+
name: z.string(),
|
|
38
|
+
outputPath: z.string(),
|
|
39
|
+
skills: z.array(z.string()),
|
|
40
|
+
}).strict()),
|
|
41
|
+
externalPlugins: z.array(z.object({
|
|
42
|
+
name: z.string(),
|
|
43
|
+
version: z.string().optional(),
|
|
44
|
+
/** The same object marketplace.json carries as this entry's `source`. */
|
|
45
|
+
source: ExternalPluginSourceSchema,
|
|
46
|
+
}).strict()),
|
|
47
|
+
}).strict()),
|
|
48
|
+
}).strict();
|
|
49
|
+
/** The document this command publishes. */
|
|
50
|
+
export const PLUGIN_BUILD_REPORT_SCHEMA = reportSchema(PluginBuildDataSchema, FindingSchema);
|
|
51
|
+
//# sourceMappingURL=build-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-schema.js","sourceRoot":"","sources":["../../../../src/commands/claude/plugin/build-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,YAAY,EAAe,MAAM,4BAA4B,CAAC;AACtF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,4FAA4F;AAC5F,MAAM,CAAC,MAAM,qBAAqB,GAAwB;IACxD,IAAI,EAAE,cAAc;IACpB,QAAQ,EAAE,qGAAqG;CAChH,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,4FAA4F;IAC5F,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACjD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5C,oFAAoF;IACpF,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACjD,iDAAiD;IACjD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC9C,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;QAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAClC,kGAAkG;QAClG,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;YACxB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;YAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;YACtB,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SAC5B,CAAC,CAAC,MAAM,EAAE,CAAC;QACZ,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;YAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;YAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC9B,yEAAyE;YACzE,MAAM,EAAE,0BAA0B;SACnC,CAAC,CAAC,MAAM,EAAE,CAAC;KACb,CAAC,CAAC,MAAM,EAAE,CAAC;CACb,CAAC,CAAC,MAAM,EAAE,CAAC;AAIZ,2CAA2C;AAC3C,MAAM,CAAC,MAAM,0BAA0B,GAAG,YAAY,CAAC,qBAAqB,EAAE,aAAa,CAAC,CAAC"}
|