@zhixuan92/multi-model-agent-core 3.12.7 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +135 -2
- package/dist/bounded-execution/activity-tracker-types.d.ts +77 -0
- package/dist/bounded-execution/activity-tracker-types.d.ts.map +1 -0
- package/dist/bounded-execution/activity-tracker-types.js +23 -0
- package/dist/bounded-execution/activity-tracker-types.js.map +1 -0
- package/dist/bounded-execution/activity-tracker.d.ts +67 -0
- package/dist/bounded-execution/activity-tracker.d.ts.map +1 -0
- package/dist/bounded-execution/activity-tracker.js +381 -0
- package/dist/bounded-execution/activity-tracker.js.map +1 -0
- package/dist/bounded-execution/cost-compute.d.ts +27 -0
- package/dist/bounded-execution/cost-compute.d.ts.map +1 -0
- package/dist/bounded-execution/cost-compute.js +72 -0
- package/dist/bounded-execution/cost-compute.js.map +1 -0
- package/dist/bounded-execution/cost-meter.d.ts +20 -0
- package/dist/bounded-execution/cost-meter.d.ts.map +1 -0
- package/dist/bounded-execution/cost-meter.js +21 -0
- package/dist/bounded-execution/cost-meter.js.map +1 -0
- package/dist/bounded-execution/cost-rollup.d.ts +17 -0
- package/dist/bounded-execution/cost-rollup.d.ts.map +1 -0
- package/dist/bounded-execution/cost-rollup.js +40 -0
- package/dist/bounded-execution/cost-rollup.js.map +1 -0
- package/dist/bounded-execution/error-classifier.d.ts +11 -0
- package/dist/bounded-execution/error-classifier.d.ts.map +1 -0
- package/dist/bounded-execution/error-classifier.js +23 -0
- package/dist/bounded-execution/error-classifier.js.map +1 -0
- package/dist/bounded-execution/file-artifact-check.d.ts.map +1 -0
- package/dist/bounded-execution/file-artifact-check.js.map +1 -0
- package/dist/bounded-execution/idle-guard.d.ts +8 -0
- package/dist/bounded-execution/idle-guard.d.ts.map +1 -0
- package/dist/bounded-execution/idle-guard.js +18 -0
- package/dist/bounded-execution/idle-guard.js.map +1 -0
- package/dist/bounded-execution/index.d.ts +7 -0
- package/dist/bounded-execution/index.d.ts.map +1 -0
- package/dist/bounded-execution/index.js +8 -0
- package/dist/bounded-execution/index.js.map +1 -0
- package/dist/bounded-execution/wall-clock-guard.d.ts +8 -0
- package/dist/bounded-execution/wall-clock-guard.d.ts.map +1 -0
- package/dist/bounded-execution/wall-clock-guard.js +27 -0
- package/dist/bounded-execution/wall-clock-guard.js.map +1 -0
- package/dist/cleanup/batch-retention-sweeper.d.ts +7 -0
- package/dist/cleanup/batch-retention-sweeper.d.ts.map +1 -0
- package/dist/cleanup/batch-retention-sweeper.js +10 -0
- package/dist/cleanup/batch-retention-sweeper.js.map +1 -0
- package/dist/cleanup/context-block-gc-sweeper.d.ts +8 -0
- package/dist/cleanup/context-block-gc-sweeper.d.ts.map +1 -0
- package/dist/cleanup/context-block-gc-sweeper.js +12 -0
- package/dist/cleanup/context-block-gc-sweeper.js.map +1 -0
- package/dist/cleanup/index.d.ts +5 -0
- package/dist/cleanup/index.d.ts.map +1 -0
- package/dist/cleanup/index.js +6 -0
- package/dist/cleanup/index.js.map +1 -0
- package/dist/cleanup/project-idle-cleanup.d.ts +7 -0
- package/dist/cleanup/project-idle-cleanup.d.ts.map +1 -0
- package/dist/cleanup/project-idle-cleanup.js +15 -0
- package/dist/cleanup/project-idle-cleanup.js.map +1 -0
- package/dist/cleanup/shutdown-coordinator.d.ts +7 -0
- package/dist/cleanup/shutdown-coordinator.d.ts.map +1 -0
- package/dist/cleanup/shutdown-coordinator.js +13 -0
- package/dist/cleanup/shutdown-coordinator.js.map +1 -0
- package/dist/config/canonical-model-identity.d.ts.map +1 -0
- package/dist/config/canonical-model-identity.js.map +1 -0
- package/dist/config/config-resolver.d.ts +47 -0
- package/dist/config/config-resolver.d.ts.map +1 -0
- package/dist/config/config-resolver.js +57 -0
- package/dist/config/config-resolver.js.map +1 -0
- package/dist/config/index.d.ts +8 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +9 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/load.d.ts +2 -7
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/load.js +4 -16
- package/dist/config/load.js.map +1 -1
- package/dist/config/model-profile-registry.d.ts +121 -0
- package/dist/config/model-profile-registry.d.ts.map +1 -0
- package/dist/config/model-profile-registry.js +382 -0
- package/dist/config/model-profile-registry.js.map +1 -0
- package/dist/config/pricing-table.d.ts +16 -0
- package/dist/config/pricing-table.d.ts.map +1 -0
- package/dist/config/pricing-table.js +51 -0
- package/dist/config/pricing-table.js.map +1 -0
- package/dist/config/schema.d.ts +8 -72
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +8 -12
- package/dist/config/schema.js.map +1 -1
- package/dist/config/tier-policy-registry.d.ts +12 -0
- package/dist/config/tier-policy-registry.d.ts.map +1 -0
- package/dist/config/tier-policy-registry.js +13 -0
- package/dist/config/tier-policy-registry.js.map +1 -0
- package/dist/error-codes.d.ts +36 -1
- package/dist/error-codes.d.ts.map +1 -1
- package/dist/error-codes.js +52 -1
- package/dist/error-codes.js.map +1 -1
- package/dist/escalation/agent-resolver.d.ts +7 -0
- package/dist/escalation/agent-resolver.d.ts.map +1 -0
- package/dist/escalation/agent-resolver.js +16 -0
- package/dist/escalation/agent-resolver.js.map +1 -0
- package/dist/escalation/delegate-with-escalation.d.ts +28 -0
- package/dist/escalation/delegate-with-escalation.d.ts.map +1 -0
- package/dist/escalation/delegate-with-escalation.js +205 -0
- package/dist/escalation/delegate-with-escalation.js.map +1 -0
- package/dist/escalation/escalation-policy.d.ts +18 -0
- package/dist/escalation/escalation-policy.d.ts.map +1 -0
- package/dist/escalation/escalation-policy.js +34 -0
- package/dist/escalation/escalation-policy.js.map +1 -0
- package/dist/escalation/fallback-helpers.d.ts +22 -0
- package/dist/escalation/fallback-helpers.d.ts.map +1 -0
- package/dist/escalation/fallback-helpers.js +46 -0
- package/dist/escalation/fallback-helpers.js.map +1 -0
- package/dist/escalation/fallback-types.d.ts +60 -0
- package/dist/escalation/fallback-types.d.ts.map +1 -0
- package/dist/escalation/fallback-types.js +11 -0
- package/dist/escalation/fallback-types.js.map +1 -0
- package/dist/escalation/fallback.d.ts +3 -85
- package/dist/escalation/fallback.d.ts.map +1 -1
- package/dist/escalation/fallback.js +26 -130
- package/dist/escalation/fallback.js.map +1 -1
- package/dist/escalation/index.d.ts +3 -0
- package/dist/escalation/index.d.ts.map +1 -0
- package/dist/escalation/index.js +4 -0
- package/dist/escalation/index.js.map +1 -0
- package/dist/escalation/types.d.ts.map +1 -0
- package/dist/escalation/types.js.map +1 -0
- package/dist/events/caller-response-channel.d.ts +17 -0
- package/dist/events/caller-response-channel.d.ts.map +1 -0
- package/dist/events/caller-response-channel.js +10 -0
- package/dist/events/caller-response-channel.js.map +1 -0
- package/dist/events/clamp.d.ts.map +1 -0
- package/dist/events/clamp.js.map +1 -0
- package/dist/events/cloud-events.d.ts +114 -0
- package/dist/events/cloud-events.d.ts.map +1 -0
- package/dist/events/cloud-events.js +59 -0
- package/dist/events/cloud-events.js.map +1 -0
- package/dist/events/concern-classifier.d.ts +9 -0
- package/dist/events/concern-classifier.d.ts.map +1 -0
- package/dist/events/concern-classifier.js.map +1 -0
- package/dist/events/consent-rules.d.ts.map +1 -0
- package/dist/events/consent-rules.js.map +1 -0
- package/dist/events/diagnostics-types.d.ts +65 -0
- package/dist/events/diagnostics-types.d.ts.map +1 -0
- package/dist/events/diagnostics-types.js +2 -0
- package/dist/events/diagnostics-types.js.map +1 -0
- package/dist/events/event-base.d.ts +14 -0
- package/dist/events/event-base.d.ts.map +1 -0
- package/dist/events/event-base.js +24 -0
- package/dist/events/event-base.js.map +1 -0
- package/dist/events/event-builder.d.ts +20 -0
- package/dist/events/event-builder.d.ts.map +1 -0
- package/dist/events/event-builder.js +347 -0
- package/dist/events/event-builder.js.map +1 -0
- package/dist/events/event-emitter.d.ts +30 -0
- package/dist/events/event-emitter.d.ts.map +1 -0
- package/dist/events/event-emitter.js +58 -0
- package/dist/events/event-emitter.js.map +1 -0
- package/dist/events/http-server-log.d.ts +63 -0
- package/dist/events/http-server-log.d.ts.map +1 -0
- package/dist/events/http-server-log.js.map +1 -0
- package/dist/events/index.d.ts +6 -0
- package/dist/events/index.d.ts.map +1 -0
- package/dist/events/index.js +7 -0
- package/dist/events/index.js.map +1 -0
- package/dist/events/jsonl-writer.d.ts.map +1 -0
- package/dist/events/jsonl-writer.js.map +1 -0
- package/dist/events/local-log-sink.d.ts +10 -0
- package/dist/events/local-log-sink.d.ts.map +1 -0
- package/dist/events/local-log-sink.js.map +1 -0
- package/dist/events/normalize.d.ts +18 -0
- package/dist/events/normalize.d.ts.map +1 -0
- package/dist/events/normalize.js +18 -0
- package/dist/events/normalize.js.map +1 -0
- package/dist/events/observability-events.d.ts +1196 -0
- package/dist/events/observability-events.d.ts.map +1 -0
- package/dist/events/observability-events.js +380 -0
- package/dist/events/observability-events.js.map +1 -0
- package/dist/events/privacy-filter.d.ts +2 -0
- package/dist/events/privacy-filter.d.ts.map +1 -0
- package/dist/events/privacy-filter.js +10 -0
- package/dist/events/privacy-filter.js.map +1 -0
- package/dist/events/request-spill.d.ts.map +1 -0
- package/dist/events/request-spill.js.map +1 -0
- package/dist/events/telemetry-channel.d.ts +9 -0
- package/dist/events/telemetry-channel.d.ts.map +1 -0
- package/dist/events/telemetry-channel.js +16 -0
- package/dist/events/telemetry-channel.js.map +1 -0
- package/dist/events/telemetry-sink.d.ts +12 -0
- package/dist/events/telemetry-sink.d.ts.map +1 -0
- package/dist/events/telemetry-sink.js +24 -0
- package/dist/events/telemetry-sink.js.map +1 -0
- package/dist/events/telemetry-types.d.ts +1509 -0
- package/dist/events/telemetry-types.d.ts.map +1 -0
- package/dist/events/telemetry-types.js +289 -0
- package/dist/events/telemetry-types.js.map +1 -0
- package/dist/events/verbose-line.d.ts.map +1 -0
- package/dist/events/verbose-line.js +99 -0
- package/dist/events/verbose-line.js.map +1 -0
- package/dist/events/verbose-log-channel.d.ts +9 -0
- package/dist/events/verbose-log-channel.d.ts.map +1 -0
- package/dist/events/verbose-log-channel.js +26 -0
- package/dist/events/verbose-log-channel.js.map +1 -0
- package/dist/identity/auth-token-store.d.ts +17 -0
- package/dist/identity/auth-token-store.d.ts.map +1 -0
- package/dist/identity/auth-token-store.js +67 -0
- package/dist/identity/auth-token-store.js.map +1 -0
- package/dist/identity/cwd-validator.d.ts +6 -0
- package/dist/identity/cwd-validator.d.ts.map +1 -0
- package/dist/identity/cwd-validator.js +16 -0
- package/dist/identity/cwd-validator.js.map +1 -0
- package/dist/identity/host-allowlist.d.ts +6 -0
- package/dist/identity/host-allowlist.d.ts.map +1 -0
- package/dist/identity/host-allowlist.js +11 -0
- package/dist/identity/host-allowlist.js.map +1 -0
- package/dist/identity/index.d.ts +6 -0
- package/dist/identity/index.d.ts.map +1 -0
- package/dist/identity/index.js +7 -0
- package/dist/identity/index.js.map +1 -0
- package/dist/identity/secret-redactor.d.ts +2 -0
- package/dist/identity/secret-redactor.d.ts.map +1 -0
- package/dist/identity/secret-redactor.js +35 -0
- package/dist/identity/secret-redactor.js.map +1 -0
- package/dist/identity/ssrf-guard.d.ts +4 -0
- package/dist/identity/ssrf-guard.d.ts.map +1 -0
- package/dist/identity/ssrf-guard.js +19 -0
- package/dist/identity/ssrf-guard.js.map +1 -0
- package/dist/index.d.ts +69 -46
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +48 -30
- package/dist/index.js.map +1 -1
- package/dist/intake/brief-compiler-slots/audit.d.ts +23 -0
- package/dist/intake/brief-compiler-slots/audit.d.ts.map +1 -0
- package/dist/intake/brief-compiler-slots/audit.js +61 -0
- package/dist/intake/brief-compiler-slots/audit.js.map +1 -0
- package/dist/intake/brief-compiler-slots/debug.d.ts +41 -0
- package/dist/intake/brief-compiler-slots/debug.d.ts.map +1 -0
- package/dist/intake/brief-compiler-slots/debug.js +49 -0
- package/dist/intake/brief-compiler-slots/debug.js.map +1 -0
- package/dist/intake/brief-compiler-slots/delegate.d.ts +29 -0
- package/dist/intake/brief-compiler-slots/delegate.d.ts.map +1 -0
- package/dist/intake/brief-compiler-slots/delegate.js +44 -0
- package/dist/intake/brief-compiler-slots/delegate.js.map +1 -0
- package/dist/intake/brief-compiler-slots/execute-plan.d.ts +49 -0
- package/dist/intake/brief-compiler-slots/execute-plan.d.ts.map +1 -0
- package/dist/intake/brief-compiler-slots/execute-plan.js +146 -0
- package/dist/intake/brief-compiler-slots/execute-plan.js.map +1 -0
- package/dist/intake/brief-compiler-slots/explore.d.ts +43 -0
- package/dist/intake/brief-compiler-slots/explore.d.ts.map +1 -0
- package/dist/intake/brief-compiler-slots/explore.js +116 -0
- package/dist/intake/brief-compiler-slots/explore.js.map +1 -0
- package/dist/intake/brief-compiler-slots/investigate.d.ts +26 -0
- package/dist/intake/brief-compiler-slots/investigate.d.ts.map +1 -0
- package/dist/intake/brief-compiler-slots/investigate.js +42 -0
- package/dist/intake/brief-compiler-slots/investigate.js.map +1 -0
- package/dist/intake/brief-compiler-slots/register-context-block.d.ts +17 -0
- package/dist/intake/brief-compiler-slots/register-context-block.d.ts.map +1 -0
- package/dist/intake/brief-compiler-slots/register-context-block.js +17 -0
- package/dist/intake/brief-compiler-slots/register-context-block.js.map +1 -0
- package/dist/intake/brief-compiler-slots/retry.d.ts +20 -0
- package/dist/intake/brief-compiler-slots/retry.d.ts.map +1 -0
- package/dist/intake/brief-compiler-slots/retry.js +37 -0
- package/dist/intake/brief-compiler-slots/retry.js.map +1 -0
- package/dist/intake/brief-compiler-slots/review.d.ts +34 -0
- package/dist/intake/brief-compiler-slots/review.d.ts.map +1 -0
- package/dist/intake/brief-compiler-slots/review.js +85 -0
- package/dist/intake/brief-compiler-slots/review.js.map +1 -0
- package/dist/intake/brief-compiler-slots/verify.d.ts +21 -0
- package/dist/intake/brief-compiler-slots/verify.d.ts.map +1 -0
- package/dist/intake/brief-compiler-slots/verify.js +62 -0
- package/dist/intake/brief-compiler-slots/verify.js.map +1 -0
- package/dist/intake/brief-compiler.d.ts +9 -0
- package/dist/intake/brief-compiler.d.ts.map +1 -0
- package/dist/intake/brief-compiler.js +8 -0
- package/dist/intake/brief-compiler.js.map +1 -0
- package/dist/intake/classify.d.ts.map +1 -1
- package/dist/intake/classify.js +3 -2
- package/dist/intake/classify.js.map +1 -1
- package/dist/intake/field-inferer.d.ts +10 -0
- package/dist/intake/field-inferer.d.ts.map +1 -0
- package/dist/intake/field-inferer.js +57 -0
- package/dist/intake/field-inferer.js.map +1 -0
- package/dist/intake/host-allowlist-builder.d.ts +25 -0
- package/dist/intake/host-allowlist-builder.d.ts.map +1 -0
- package/dist/intake/host-allowlist-builder.js +102 -0
- package/dist/intake/host-allowlist-builder.js.map +1 -0
- package/dist/intake/index.d.ts +5 -0
- package/dist/intake/index.d.ts.map +1 -0
- package/dist/intake/index.js +6 -0
- package/dist/intake/index.js.map +1 -0
- package/dist/intake/pipeline.d.ts +2 -2
- package/dist/intake/pipeline.d.ts.map +1 -1
- package/dist/intake/pipeline.js +7 -73
- package/dist/intake/pipeline.js.map +1 -1
- package/dist/intake/plan-extractor.d.ts +20 -0
- package/dist/intake/plan-extractor.d.ts.map +1 -0
- package/dist/intake/plan-extractor.js +87 -0
- package/dist/intake/plan-extractor.js.map +1 -0
- package/dist/intake/resolve.d.ts +2 -3
- package/dist/intake/resolve.d.ts.map +1 -1
- package/dist/intake/resolve.js +4 -12
- package/dist/intake/resolve.js.map +1 -1
- package/dist/intake/types.d.ts +3 -53
- package/dist/intake/types.d.ts.map +1 -1
- package/dist/intake/verify-referenced-blocks.d.ts +5 -0
- package/dist/intake/verify-referenced-blocks.d.ts.map +1 -0
- package/dist/intake/verify-referenced-blocks.js +9 -0
- package/dist/intake/verify-referenced-blocks.js.map +1 -0
- package/dist/lifecycle/auto-commit.d.ts +18 -0
- package/dist/lifecycle/auto-commit.d.ts.map +1 -0
- package/dist/lifecycle/auto-commit.js.map +1 -0
- package/dist/lifecycle/auto-register-context-block.d.ts +11 -0
- package/dist/lifecycle/auto-register-context-block.d.ts.map +1 -0
- package/dist/lifecycle/auto-register-context-block.js +18 -0
- package/dist/lifecycle/auto-register-context-block.js.map +1 -0
- package/dist/lifecycle/executor-output-types.d.ts +51 -0
- package/dist/lifecycle/executor-output-types.d.ts.map +1 -0
- package/dist/lifecycle/executor-output-types.js +2 -0
- package/dist/lifecycle/executor-output-types.js.map +1 -0
- package/dist/lifecycle/fallback-report.d.ts.map +1 -0
- package/dist/lifecycle/fallback-report.js.map +1 -0
- package/dist/lifecycle/handlers/baseline-handlers.d.ts +7 -0
- package/dist/lifecycle/handlers/baseline-handlers.d.ts.map +1 -0
- package/dist/lifecycle/handlers/baseline-handlers.js +193 -0
- package/dist/lifecycle/handlers/baseline-handlers.js.map +1 -0
- package/dist/lifecycle/handlers/commit-stage.d.ts +16 -0
- package/dist/lifecycle/handlers/commit-stage.d.ts.map +1 -0
- package/dist/lifecycle/handlers/commit-stage.js +52 -0
- package/dist/lifecycle/handlers/commit-stage.js.map +1 -0
- package/dist/lifecycle/handlers/derive-terminal-status.d.ts +10 -0
- package/dist/lifecycle/handlers/derive-terminal-status.d.ts.map +1 -0
- package/dist/lifecycle/handlers/derive-terminal-status.js +35 -0
- package/dist/lifecycle/handlers/derive-terminal-status.js.map +1 -0
- package/dist/lifecycle/handlers/execution-context-builder.d.ts +5 -0
- package/dist/lifecycle/handlers/execution-context-builder.d.ts.map +1 -0
- package/dist/lifecycle/handlers/execution-context-builder.js +16 -0
- package/dist/lifecycle/handlers/execution-context-builder.js.map +1 -0
- package/dist/lifecycle/handlers/git-commit-handler.d.ts +19 -0
- package/dist/lifecycle/handlers/git-commit-handler.d.ts.map +1 -0
- package/dist/lifecycle/handlers/git-commit-handler.js +52 -0
- package/dist/lifecycle/handlers/git-commit-handler.js.map +1 -0
- package/dist/lifecycle/handlers/prepare-execution-context-handler.d.ts +19 -0
- package/dist/lifecycle/handlers/prepare-execution-context-handler.d.ts.map +1 -0
- package/dist/lifecycle/handlers/prepare-execution-context-handler.js +38 -0
- package/dist/lifecycle/handlers/prepare-execution-context-handler.js.map +1 -0
- package/dist/lifecycle/handlers/quality-chain-handlers.d.ts +22 -0
- package/dist/lifecycle/handlers/quality-chain-handlers.d.ts.map +1 -0
- package/dist/lifecycle/handlers/quality-chain-handlers.js +189 -0
- package/dist/lifecycle/handlers/quality-chain-handlers.js.map +1 -0
- package/dist/lifecycle/handlers/register-context-block-handlers.d.ts +3 -0
- package/dist/lifecycle/handlers/register-context-block-handlers.d.ts.map +1 -0
- package/dist/lifecycle/handlers/register-context-block-handlers.js +18 -0
- package/dist/lifecycle/handlers/register-context-block-handlers.js.map +1 -0
- package/dist/lifecycle/handlers/review-diff-handler.d.ts +31 -0
- package/dist/lifecycle/handlers/review-diff-handler.d.ts.map +1 -0
- package/dist/lifecycle/handlers/review-diff-handler.js +107 -0
- package/dist/lifecycle/handlers/review-diff-handler.js.map +1 -0
- package/dist/lifecycle/handlers/run-verify-command-handler.d.ts +25 -0
- package/dist/lifecycle/handlers/run-verify-command-handler.d.ts.map +1 -0
- package/dist/lifecycle/handlers/run-verify-command-handler.js +75 -0
- package/dist/lifecycle/handlers/run-verify-command-handler.js.map +1 -0
- package/dist/lifecycle/handlers/spec-chain-handlers.d.ts +21 -0
- package/dist/lifecycle/handlers/spec-chain-handlers.d.ts.map +1 -0
- package/dist/lifecycle/handlers/spec-chain-handlers.js +158 -0
- package/dist/lifecycle/handlers/spec-chain-handlers.js.map +1 -0
- package/dist/lifecycle/handlers/task-executor.d.ts +10 -0
- package/dist/lifecycle/handlers/task-executor.d.ts.map +1 -0
- package/dist/lifecycle/handlers/task-executor.js +16 -0
- package/dist/lifecycle/handlers/task-executor.js.map +1 -0
- package/dist/lifecycle/handlers/terminal-handlers.d.ts +6 -0
- package/dist/lifecycle/handlers/terminal-handlers.d.ts.map +1 -0
- package/dist/lifecycle/handlers/terminal-handlers.js +106 -0
- package/dist/lifecycle/handlers/terminal-handlers.js.map +1 -0
- package/dist/lifecycle/handlers/verify-stage.d.ts +37 -0
- package/dist/lifecycle/handlers/verify-stage.d.ts.map +1 -0
- package/dist/lifecycle/handlers/verify-stage.js +208 -0
- package/dist/lifecycle/handlers/verify-stage.js.map +1 -0
- package/dist/lifecycle/index.d.ts +3 -0
- package/dist/lifecycle/index.d.ts.map +1 -0
- package/dist/lifecycle/index.js +4 -0
- package/dist/lifecycle/index.js.map +1 -0
- package/dist/lifecycle/lifecycle-context.d.ts +98 -0
- package/dist/lifecycle/lifecycle-context.d.ts.map +1 -0
- package/dist/lifecycle/lifecycle-context.js +2 -0
- package/dist/lifecycle/lifecycle-context.js.map +1 -0
- package/dist/lifecycle/lifecycle-dispatcher.d.ts +36 -0
- package/dist/lifecycle/lifecycle-dispatcher.d.ts.map +1 -0
- package/dist/lifecycle/lifecycle-dispatcher.js +51 -0
- package/dist/lifecycle/lifecycle-dispatcher.js.map +1 -0
- package/dist/lifecycle/lifecycle-driver.d.ts +9 -0
- package/dist/lifecycle/lifecycle-driver.d.ts.map +1 -0
- package/dist/lifecycle/lifecycle-driver.js +30 -0
- package/dist/lifecycle/lifecycle-driver.js.map +1 -0
- package/dist/lifecycle/metadata-repair.d.ts.map +1 -0
- package/dist/lifecycle/metadata-repair.js +33 -0
- package/dist/lifecycle/metadata-repair.js.map +1 -0
- package/dist/lifecycle/plan-extraction.d.ts.map +1 -0
- package/dist/lifecycle/plan-extraction.js.map +1 -0
- package/dist/lifecycle/shared-compute.d.ts +5 -0
- package/dist/lifecycle/shared-compute.d.ts.map +1 -0
- package/dist/lifecycle/shared-compute.js +19 -0
- package/dist/lifecycle/shared-compute.js.map +1 -0
- package/dist/lifecycle/stage-idle-tracker.d.ts.map +1 -0
- package/dist/lifecycle/stage-idle-tracker.js.map +1 -0
- package/dist/lifecycle/stage-plan-builder.d.ts +4 -0
- package/dist/lifecycle/stage-plan-builder.d.ts.map +1 -0
- package/dist/lifecycle/stage-plan-builder.js +173 -0
- package/dist/lifecycle/stage-plan-builder.js.map +1 -0
- package/dist/lifecycle/stage-plan-types.d.ts +102 -0
- package/dist/lifecycle/stage-plan-types.d.ts.map +1 -0
- package/dist/lifecycle/stage-plan-types.js +2 -0
- package/dist/lifecycle/stage-plan-types.js.map +1 -0
- package/dist/lifecycle/stage-stats.d.ts +88 -0
- package/dist/lifecycle/stage-stats.d.ts.map +1 -0
- package/dist/lifecycle/stage-stats.js +156 -0
- package/dist/lifecycle/stage-stats.js.map +1 -0
- package/dist/lifecycle/task-completion-summary.d.ts.map +1 -0
- package/dist/lifecycle/task-completion-summary.js +93 -0
- package/dist/lifecycle/task-completion-summary.js.map +1 -0
- package/dist/lifecycle/task-executor.d.ts +24 -0
- package/dist/lifecycle/task-executor.d.ts.map +1 -0
- package/dist/lifecycle/task-executor.js +207 -0
- package/dist/lifecycle/task-executor.js.map +1 -0
- package/dist/lifecycle/task-runner.d.ts +79 -0
- package/dist/lifecycle/task-runner.d.ts.map +1 -0
- package/dist/lifecycle/task-runner.js +254 -0
- package/dist/lifecycle/task-runner.js.map +1 -0
- package/dist/lifecycle/tool-config-types.d.ts +27 -0
- package/dist/lifecycle/tool-config-types.d.ts.map +1 -0
- package/dist/lifecycle/tool-config-types.js +2 -0
- package/dist/lifecycle/tool-config-types.js.map +1 -0
- package/dist/lifecycle/worker-status.d.ts +9 -0
- package/dist/lifecycle/worker-status.d.ts.map +1 -0
- package/dist/lifecycle/worker-status.js +19 -0
- package/dist/lifecycle/worker-status.js.map +1 -0
- package/dist/model-profiles.json +607 -125
- package/dist/providers/anthropic-messages-adapter.d.ts +18 -0
- package/dist/providers/anthropic-messages-adapter.d.ts.map +1 -0
- package/dist/providers/anthropic-messages-adapter.js +81 -0
- package/dist/providers/anthropic-messages-adapter.js.map +1 -0
- package/dist/providers/base/research-tools.d.ts.map +1 -0
- package/dist/providers/base/research-tools.js.map +1 -0
- package/dist/providers/base/result-builders.d.ts +82 -0
- package/dist/providers/base/result-builders.d.ts.map +1 -0
- package/dist/providers/base/result-builders.js +112 -0
- package/dist/providers/base/result-builders.js.map +1 -0
- package/dist/providers/base/time-check.d.ts.map +1 -0
- package/dist/providers/base/time-check.js.map +1 -0
- package/dist/providers/base/types.d.ts +53 -0
- package/dist/providers/base/types.d.ts.map +1 -0
- package/dist/providers/base/types.js.map +1 -0
- package/dist/providers/base/usage-accumulator.d.ts +9 -0
- package/dist/providers/base/usage-accumulator.d.ts.map +1 -0
- package/dist/providers/base/usage-accumulator.js +20 -0
- package/dist/providers/base/usage-accumulator.js.map +1 -0
- package/dist/providers/call-cache.d.ts.map +1 -0
- package/dist/providers/call-cache.js.map +1 -0
- package/dist/providers/error-classification.d.ts +49 -0
- package/dist/providers/error-classification.d.ts.map +1 -0
- package/dist/providers/error-classification.js +140 -0
- package/dist/providers/error-classification.js.map +1 -0
- package/dist/providers/file-tracker.d.ts +47 -0
- package/dist/providers/file-tracker.d.ts.map +1 -0
- package/dist/providers/file-tracker.js +71 -0
- package/dist/providers/file-tracker.js.map +1 -0
- package/dist/providers/index.d.ts +16 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +17 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/injection-type.d.ts.map +1 -0
- package/dist/providers/injection-type.js.map +1 -0
- package/dist/providers/make-runner-shell.d.ts +4 -0
- package/dist/providers/make-runner-shell.d.ts.map +1 -0
- package/dist/providers/make-runner-shell.js +69 -0
- package/dist/providers/make-runner-shell.js.map +1 -0
- package/dist/providers/openai-chat-adapter.d.ts +17 -0
- package/dist/providers/openai-chat-adapter.d.ts.map +1 -0
- package/dist/providers/openai-chat-adapter.js +87 -0
- package/dist/providers/openai-chat-adapter.js.map +1 -0
- package/dist/providers/openai-responses-adapter.d.ts +16 -0
- package/dist/providers/openai-responses-adapter.d.ts.map +1 -0
- package/dist/providers/openai-responses-adapter.js +109 -0
- package/dist/providers/openai-responses-adapter.js.map +1 -0
- package/dist/providers/openai-usage-interceptor.d.ts.map +1 -0
- package/dist/providers/openai-usage-interceptor.js +121 -0
- package/dist/providers/openai-usage-interceptor.js.map +1 -0
- package/dist/providers/prevention.d.ts.map +1 -0
- package/dist/providers/prevention.js +108 -0
- package/dist/providers/prevention.js.map +1 -0
- package/dist/providers/provider-factory.d.ts +13 -0
- package/dist/providers/provider-factory.d.ts.map +1 -0
- package/dist/providers/provider-factory.js +127 -0
- package/dist/providers/provider-factory.js.map +1 -0
- package/dist/providers/runner-adapter.d.ts +42 -0
- package/dist/providers/runner-adapter.d.ts.map +1 -0
- package/dist/providers/runner-adapter.js +2 -0
- package/dist/providers/runner-adapter.js.map +1 -0
- package/dist/providers/runner-shell-types.d.ts +37 -0
- package/dist/providers/runner-shell-types.d.ts.map +1 -0
- package/dist/providers/runner-shell-types.js +2 -0
- package/dist/providers/runner-shell-types.js.map +1 -0
- package/dist/providers/runner-shell.d.ts +8 -0
- package/dist/providers/runner-shell.d.ts.map +1 -0
- package/dist/providers/runner-shell.js +78 -0
- package/dist/providers/runner-shell.js.map +1 -0
- package/dist/providers/runner-types.d.ts +174 -0
- package/dist/providers/runner-types.d.ts.map +1 -0
- package/dist/providers/runner-types.js +2 -0
- package/dist/providers/runner-types.js.map +1 -0
- package/dist/providers/scratchpad-salvager.d.ts +19 -0
- package/dist/providers/scratchpad-salvager.d.ts.map +1 -0
- package/dist/providers/scratchpad-salvager.js +44 -0
- package/dist/providers/scratchpad-salvager.js.map +1 -0
- package/dist/providers/stall-detector.d.ts +22 -0
- package/dist/providers/stall-detector.d.ts.map +1 -0
- package/dist/providers/stall-detector.js +43 -0
- package/dist/providers/stall-detector.js.map +1 -0
- package/dist/providers/supervision.d.ts +108 -0
- package/dist/providers/supervision.d.ts.map +1 -0
- package/dist/providers/supervision.js +272 -0
- package/dist/providers/supervision.js.map +1 -0
- package/dist/providers/text-scratchpad.d.ts +28 -0
- package/dist/providers/text-scratchpad.d.ts.map +1 -0
- package/dist/providers/text-scratchpad.js +49 -0
- package/dist/providers/text-scratchpad.js.map +1 -0
- package/dist/providers/tool-definitions.d.ts +6 -0
- package/dist/providers/tool-definitions.d.ts.map +1 -0
- package/dist/providers/tool-definitions.js +236 -0
- package/dist/providers/tool-definitions.js.map +1 -0
- package/dist/providers/tool-implementations.d.ts +26 -0
- package/dist/providers/tool-implementations.d.ts.map +1 -0
- package/dist/providers/tool-implementations.js +221 -0
- package/dist/providers/tool-implementations.js.map +1 -0
- package/dist/providers/tool-tracker.d.ts +14 -0
- package/dist/providers/tool-tracker.d.ts.map +1 -0
- package/dist/providers/tool-tracker.js +13 -0
- package/dist/providers/tool-tracker.js.map +1 -0
- package/dist/reporting/batch-persister.d.ts +4 -0
- package/dist/reporting/batch-persister.d.ts.map +1 -0
- package/dist/reporting/batch-persister.js +11 -0
- package/dist/reporting/batch-persister.js.map +1 -0
- package/dist/reporting/commit-stage-runner.d.ts +12 -0
- package/dist/reporting/commit-stage-runner.d.ts.map +1 -0
- package/dist/reporting/commit-stage-runner.js +43 -0
- package/dist/reporting/commit-stage-runner.js.map +1 -0
- package/dist/reporting/compose-terminal-headline.d.ts +0 -1
- package/dist/reporting/compose-terminal-headline.d.ts.map +1 -1
- package/dist/reporting/compose-terminal-headline.js +2 -5
- package/dist/reporting/compose-terminal-headline.js.map +1 -1
- package/dist/reporting/derive-explore-status.d.ts +1 -1
- package/dist/reporting/derive-explore-status.d.ts.map +1 -1
- package/dist/reporting/derive-explore-status.js +2 -6
- package/dist/reporting/derive-explore-status.js.map +1 -1
- package/dist/reporting/derive-investigate-status.d.ts +2 -4
- package/dist/reporting/derive-investigate-status.d.ts.map +1 -1
- package/dist/reporting/derive-investigate-status.js +3 -10
- package/dist/reporting/derive-investigate-status.js.map +1 -1
- package/dist/reporting/headline-composer.d.ts +17 -0
- package/dist/reporting/headline-composer.d.ts.map +1 -0
- package/dist/reporting/headline-composer.js +10 -0
- package/dist/reporting/headline-composer.js.map +1 -0
- package/dist/reporting/headline-templates/audit.d.ts +3 -0
- package/dist/reporting/headline-templates/audit.d.ts.map +1 -0
- package/dist/reporting/headline-templates/audit.js +12 -0
- package/dist/reporting/headline-templates/audit.js.map +1 -0
- package/dist/reporting/headline-templates/debug.d.ts +8 -0
- package/dist/reporting/headline-templates/debug.d.ts.map +1 -0
- package/dist/reporting/headline-templates/debug.js +15 -0
- package/dist/reporting/headline-templates/debug.js.map +1 -0
- package/dist/reporting/headline-templates/delegate.d.ts +3 -0
- package/dist/reporting/headline-templates/delegate.d.ts.map +1 -0
- package/dist/reporting/headline-templates/delegate.js +12 -0
- package/dist/reporting/headline-templates/delegate.js.map +1 -0
- package/dist/reporting/headline-templates/execute-plan.d.ts +3 -0
- package/dist/reporting/headline-templates/execute-plan.d.ts.map +1 -0
- package/dist/reporting/headline-templates/execute-plan.js +14 -0
- package/dist/reporting/headline-templates/execute-plan.js.map +1 -0
- package/dist/reporting/headline-templates/explore.d.ts +3 -0
- package/dist/reporting/headline-templates/explore.d.ts.map +1 -0
- package/dist/reporting/headline-templates/explore.js +13 -0
- package/dist/reporting/headline-templates/explore.js.map +1 -0
- package/dist/reporting/headline-templates/investigate.d.ts +13 -0
- package/dist/reporting/headline-templates/investigate.d.ts.map +1 -0
- package/dist/reporting/headline-templates/investigate.js +53 -0
- package/dist/reporting/headline-templates/investigate.js.map +1 -0
- package/dist/reporting/headline-templates/register-context-block.d.ts +3 -0
- package/dist/reporting/headline-templates/register-context-block.d.ts.map +1 -0
- package/dist/reporting/headline-templates/register-context-block.js +6 -0
- package/dist/reporting/headline-templates/register-context-block.js.map +1 -0
- package/dist/reporting/headline-templates/retry.d.ts +3 -0
- package/dist/reporting/headline-templates/retry.d.ts.map +1 -0
- package/dist/reporting/headline-templates/retry.js +9 -0
- package/dist/reporting/headline-templates/retry.js.map +1 -0
- package/dist/reporting/headline-templates/review.d.ts +3 -0
- package/dist/reporting/headline-templates/review.d.ts.map +1 -0
- package/dist/reporting/headline-templates/review.js +15 -0
- package/dist/reporting/headline-templates/review.js.map +1 -0
- package/dist/reporting/headline-templates/verify.d.ts +3 -0
- package/dist/reporting/headline-templates/verify.d.ts.map +1 -0
- package/dist/reporting/headline-templates/verify.js +12 -0
- package/dist/reporting/headline-templates/verify.js.map +1 -0
- package/dist/reporting/index.d.ts +9 -0
- package/dist/reporting/index.d.ts.map +1 -0
- package/dist/reporting/index.js +10 -0
- package/dist/reporting/index.js.map +1 -0
- package/dist/reporting/report-parser-slots/audit-report.d.ts +13 -0
- package/dist/reporting/report-parser-slots/audit-report.d.ts.map +1 -0
- package/dist/reporting/report-parser-slots/audit-report.js +9 -0
- package/dist/reporting/report-parser-slots/audit-report.js.map +1 -0
- package/dist/reporting/report-parser-slots/debug-report.d.ts +9 -0
- package/dist/reporting/report-parser-slots/debug-report.d.ts.map +1 -0
- package/dist/reporting/report-parser-slots/debug-report.js +9 -0
- package/dist/reporting/report-parser-slots/debug-report.js.map +1 -0
- package/dist/reporting/report-parser-slots/delegate-report.d.ts +8 -0
- package/dist/reporting/report-parser-slots/delegate-report.d.ts.map +1 -0
- package/dist/reporting/report-parser-slots/delegate-report.js +19 -0
- package/dist/reporting/report-parser-slots/delegate-report.js.map +1 -0
- package/dist/reporting/report-parser-slots/execute-plan-report.d.ts +11 -0
- package/dist/reporting/report-parser-slots/execute-plan-report.d.ts.map +1 -0
- package/dist/reporting/report-parser-slots/execute-plan-report.js +9 -0
- package/dist/reporting/report-parser-slots/execute-plan-report.js.map +1 -0
- package/dist/reporting/report-parser-slots/explore-report.d.ts +17 -0
- package/dist/reporting/report-parser-slots/explore-report.d.ts.map +1 -0
- package/dist/reporting/report-parser-slots/explore-report.js +9 -0
- package/dist/reporting/report-parser-slots/explore-report.js.map +1 -0
- package/dist/reporting/report-parser-slots/investigate-report.d.ts +46 -0
- package/dist/reporting/report-parser-slots/investigate-report.d.ts.map +1 -0
- package/dist/reporting/report-parser-slots/investigate-report.js +159 -0
- package/dist/reporting/report-parser-slots/investigate-report.js.map +1 -0
- package/dist/reporting/report-parser-slots/register-context-block-report.d.ts +8 -0
- package/dist/reporting/report-parser-slots/register-context-block-report.d.ts.map +1 -0
- package/dist/reporting/report-parser-slots/register-context-block-report.js +9 -0
- package/dist/reporting/report-parser-slots/register-context-block-report.js.map +1 -0
- package/dist/reporting/report-parser-slots/retry-report.d.ts +8 -0
- package/dist/reporting/report-parser-slots/retry-report.d.ts.map +1 -0
- package/dist/reporting/report-parser-slots/retry-report.js +9 -0
- package/dist/reporting/report-parser-slots/retry-report.js.map +1 -0
- package/dist/reporting/report-parser-slots/review-report.d.ts +14 -0
- package/dist/reporting/report-parser-slots/review-report.d.ts.map +1 -0
- package/dist/reporting/report-parser-slots/review-report.js +9 -0
- package/dist/reporting/report-parser-slots/review-report.js.map +1 -0
- package/dist/reporting/report-parser-slots/verify-report.d.ts +10 -0
- package/dist/reporting/report-parser-slots/verify-report.d.ts.map +1 -0
- package/dist/reporting/report-parser-slots/verify-report.js +9 -0
- package/dist/reporting/report-parser-slots/verify-report.js.map +1 -0
- package/dist/reporting/response-envelope-builder.d.ts +32 -0
- package/dist/reporting/response-envelope-builder.d.ts.map +1 -0
- package/dist/reporting/response-envelope-builder.js +26 -0
- package/dist/reporting/response-envelope-builder.js.map +1 -0
- package/dist/reporting/structured-report-parser.d.ts +9 -0
- package/dist/reporting/structured-report-parser.d.ts.map +1 -0
- package/dist/reporting/structured-report-parser.js +8 -0
- package/dist/reporting/structured-report-parser.js.map +1 -0
- package/dist/reporting/structured-report.js +1 -1
- package/dist/reporting/terminal-block-registrar.d.ts +14 -0
- package/dist/reporting/terminal-block-registrar.d.ts.map +1 -0
- package/dist/reporting/terminal-block-registrar.js +17 -0
- package/dist/reporting/terminal-block-registrar.js.map +1 -0
- package/dist/reporting/terminal-status-deriver.d.ts +22 -0
- package/dist/reporting/terminal-status-deriver.d.ts.map +1 -0
- package/dist/reporting/terminal-status-deriver.js +38 -0
- package/dist/reporting/terminal-status-deriver.js.map +1 -0
- package/dist/reporting/verify-stage-runner.d.ts +21 -0
- package/dist/reporting/verify-stage-runner.d.ts.map +1 -0
- package/dist/reporting/verify-stage-runner.js +102 -0
- package/dist/reporting/verify-stage-runner.js.map +1 -0
- package/dist/research/explore-orchestrator.d.ts +14 -0
- package/dist/research/explore-orchestrator.d.ts.map +1 -0
- package/dist/research/explore-orchestrator.js +363 -0
- package/dist/research/explore-orchestrator.js.map +1 -0
- package/dist/research/index.d.ts +3 -0
- package/dist/research/index.d.ts.map +1 -0
- package/dist/research/index.js +4 -0
- package/dist/research/index.js.map +1 -0
- package/dist/research/web-fetch-helpers.d.ts +48 -0
- package/dist/research/web-fetch-helpers.d.ts.map +1 -0
- package/dist/research/web-fetch-helpers.js +225 -0
- package/dist/research/web-fetch-helpers.js.map +1 -0
- package/dist/research/web-fetch.d.ts.map +1 -1
- package/dist/research/web-fetch.js +1 -230
- package/dist/research/web-fetch.js.map +1 -1
- package/dist/review/annotator-engine.d.ts +30 -0
- package/dist/review/annotator-engine.d.ts.map +1 -0
- package/dist/review/annotator-engine.js +40 -0
- package/dist/review/annotator-engine.js.map +1 -0
- package/dist/review/annotator-output-parser.d.ts +13 -0
- package/dist/review/annotator-output-parser.d.ts.map +1 -0
- package/dist/review/annotator-output-parser.js +24 -0
- package/dist/review/annotator-output-parser.js.map +1 -0
- package/dist/review/annotator-prompt-builder.d.ts +9 -0
- package/dist/review/annotator-prompt-builder.d.ts.map +1 -0
- package/dist/review/annotator-prompt-builder.js +28 -0
- package/dist/review/annotator-prompt-builder.js.map +1 -0
- package/dist/review/default-engines.d.ts +5 -0
- package/dist/review/default-engines.d.ts.map +1 -0
- package/dist/review/default-engines.js +24 -0
- package/dist/review/default-engines.js.map +1 -0
- package/dist/review/index.d.ts +8 -0
- package/dist/review/index.d.ts.map +1 -0
- package/dist/review/index.js +9 -0
- package/dist/review/index.js.map +1 -0
- package/dist/review/review-types.d.ts +15 -0
- package/dist/review/review-types.d.ts.map +1 -0
- package/dist/review/review-types.js +3 -0
- package/dist/review/review-types.js.map +1 -0
- package/dist/review/review-verdict-aggregator.d.ts +17 -0
- package/dist/review/review-verdict-aggregator.d.ts.map +1 -0
- package/dist/review/review-verdict-aggregator.js +30 -0
- package/dist/review/review-verdict-aggregator.js.map +1 -0
- package/dist/review/review-verdict-mapping.d.ts +16 -0
- package/dist/review/review-verdict-mapping.d.ts.map +1 -0
- package/dist/review/review-verdict-mapping.js +24 -0
- package/dist/review/review-verdict-mapping.js.map +1 -0
- package/dist/review/reviewer-engine.d.ts +54 -0
- package/dist/review/reviewer-engine.d.ts.map +1 -0
- package/dist/review/reviewer-engine.js +58 -0
- package/dist/review/reviewer-engine.js.map +1 -0
- package/dist/review/reviewer-output-parser.d.ts +17 -0
- package/dist/review/reviewer-output-parser.d.ts.map +1 -0
- package/dist/review/reviewer-output-parser.js +62 -0
- package/dist/review/reviewer-output-parser.js.map +1 -0
- package/dist/review/reviewer-prompt-builder.d.ts +34 -0
- package/dist/review/reviewer-prompt-builder.d.ts.map +1 -0
- package/dist/review/reviewer-prompt-builder.js +28 -0
- package/dist/review/reviewer-prompt-builder.js.map +1 -0
- package/dist/review/templates/annotator-audit.d.ts +3 -0
- package/dist/review/templates/annotator-audit.d.ts.map +1 -0
- package/dist/review/templates/annotator-audit.js +5 -0
- package/dist/review/templates/annotator-audit.js.map +1 -0
- package/dist/review/templates/annotator-debug.d.ts +3 -0
- package/dist/review/templates/annotator-debug.d.ts.map +1 -0
- package/dist/review/templates/annotator-debug.js +5 -0
- package/dist/review/templates/annotator-debug.js.map +1 -0
- package/dist/review/templates/annotator-investigate.d.ts +3 -0
- package/dist/review/templates/annotator-investigate.d.ts.map +1 -0
- package/dist/review/templates/annotator-investigate.js +5 -0
- package/dist/review/templates/annotator-investigate.js.map +1 -0
- package/dist/review/templates/annotator-review.d.ts +3 -0
- package/dist/review/templates/annotator-review.d.ts.map +1 -0
- package/dist/review/templates/annotator-review.js +5 -0
- package/dist/review/templates/annotator-review.js.map +1 -0
- package/dist/review/templates/annotator-shared.d.ts +10 -0
- package/dist/review/templates/annotator-shared.d.ts.map +1 -0
- package/dist/review/templates/annotator-shared.js +62 -0
- package/dist/review/templates/annotator-shared.js.map +1 -0
- package/dist/review/templates/annotator-verify.d.ts +3 -0
- package/dist/review/templates/annotator-verify.d.ts.map +1 -0
- package/dist/review/templates/annotator-verify.js +5 -0
- package/dist/review/templates/annotator-verify.js.map +1 -0
- package/dist/review/templates/diff-review.d.ts +3 -0
- package/dist/review/templates/diff-review.d.ts.map +1 -0
- package/dist/review/templates/diff-review.js +7 -0
- package/dist/review/templates/diff-review.js.map +1 -0
- package/dist/review/templates/quality-review-artifact.d.ts +3 -0
- package/dist/review/templates/quality-review-artifact.d.ts.map +1 -0
- package/dist/review/templates/quality-review-artifact.js +8 -0
- package/dist/review/templates/quality-review-artifact.js.map +1 -0
- package/dist/review/templates/quality-review-audit.d.ts +3 -0
- package/dist/review/templates/quality-review-audit.d.ts.map +1 -0
- package/dist/review/templates/quality-review-audit.js +9 -0
- package/dist/review/templates/quality-review-audit.js.map +1 -0
- package/dist/review/templates/quality-review-debug.d.ts +3 -0
- package/dist/review/templates/quality-review-debug.d.ts.map +1 -0
- package/dist/review/templates/quality-review-debug.js +9 -0
- package/dist/review/templates/quality-review-debug.js.map +1 -0
- package/dist/review/templates/quality-review-investigate.d.ts +3 -0
- package/dist/review/templates/quality-review-investigate.d.ts.map +1 -0
- package/dist/review/templates/quality-review-investigate.js +9 -0
- package/dist/review/templates/quality-review-investigate.js.map +1 -0
- package/dist/review/templates/quality-review-review.d.ts +3 -0
- package/dist/review/templates/quality-review-review.d.ts.map +1 -0
- package/dist/review/templates/quality-review-review.js +9 -0
- package/dist/review/templates/quality-review-review.js.map +1 -0
- package/dist/review/templates/quality-review-verify.d.ts +3 -0
- package/dist/review/templates/quality-review-verify.d.ts.map +1 -0
- package/dist/review/templates/quality-review-verify.js +9 -0
- package/dist/review/templates/quality-review-verify.js.map +1 -0
- package/dist/review/templates/shared.d.ts +9 -0
- package/dist/review/templates/shared.d.ts.map +1 -0
- package/dist/review/templates/shared.js +2 -0
- package/dist/review/templates/shared.js.map +1 -0
- package/dist/review/templates/spec-review.d.ts +3 -0
- package/dist/review/templates/spec-review.d.ts.map +1 -0
- package/dist/review/templates/spec-review.js +8 -0
- package/dist/review/templates/spec-review.js.map +1 -0
- package/dist/stores/batch-cache.d.ts +29 -0
- package/dist/stores/batch-cache.d.ts.map +1 -0
- package/dist/stores/batch-cache.js +89 -0
- package/dist/stores/batch-cache.js.map +1 -0
- package/dist/stores/batch-registry.d.ts +101 -0
- package/dist/stores/batch-registry.d.ts.map +1 -0
- package/dist/stores/batch-registry.js +171 -0
- package/dist/stores/batch-registry.js.map +1 -0
- package/dist/stores/context-block-tool.d.ts +92 -0
- package/dist/stores/context-block-tool.d.ts.map +1 -0
- package/dist/stores/context-block-tool.js +137 -0
- package/dist/stores/context-block-tool.js.map +1 -0
- package/dist/stores/expand-context-blocks.d.ts +20 -0
- package/dist/stores/expand-context-blocks.d.ts.map +1 -0
- package/dist/stores/expand-context-blocks.js +46 -0
- package/dist/stores/expand-context-blocks.js.map +1 -0
- package/dist/stores/index.d.ts +4 -0
- package/dist/stores/index.d.ts.map +1 -0
- package/dist/stores/index.js +5 -0
- package/dist/stores/index.js.map +1 -0
- package/dist/stores/project-context-registry.d.ts +17 -0
- package/dist/stores/project-context-registry.d.ts.map +1 -0
- package/dist/stores/project-context-registry.js +16 -0
- package/dist/stores/project-context-registry.js.map +1 -0
- package/dist/tool-surface/discover.d.ts +27 -0
- package/dist/tool-surface/discover.d.ts.map +1 -0
- package/dist/tool-surface/discover.js +87 -0
- package/dist/tool-surface/discover.js.map +1 -0
- package/dist/tool-surface/include-utils.d.ts +27 -0
- package/dist/tool-surface/include-utils.d.ts.map +1 -0
- package/dist/tool-surface/include-utils.js +90 -0
- package/dist/tool-surface/include-utils.js.map +1 -0
- package/dist/tool-surface/index.d.ts +6 -0
- package/dist/tool-surface/index.d.ts.map +1 -0
- package/dist/tool-surface/index.js +7 -0
- package/dist/tool-surface/index.js.map +1 -0
- package/dist/tool-surface/manifest.d.ts +94 -0
- package/dist/tool-surface/manifest.d.ts.map +1 -0
- package/dist/tool-surface/manifest.js +234 -0
- package/dist/tool-surface/manifest.js.map +1 -0
- package/dist/tool-surface/openapi-generator.d.ts +15 -0
- package/dist/tool-surface/openapi-generator.d.ts.map +1 -0
- package/dist/tool-surface/openapi-generator.js +261 -0
- package/dist/tool-surface/openapi-generator.js.map +1 -0
- package/dist/tool-surface/register-all-tools.d.ts +4 -0
- package/dist/tool-surface/register-all-tools.d.ts.map +1 -0
- package/dist/tool-surface/register-all-tools.js +33 -0
- package/dist/tool-surface/register-all-tools.js.map +1 -0
- package/dist/tool-surface/skill-installer-common.d.ts +48 -0
- package/dist/tool-surface/skill-installer-common.d.ts.map +1 -0
- package/dist/tool-surface/skill-installer-common.js +195 -0
- package/dist/tool-surface/skill-installer-common.js.map +1 -0
- package/dist/tool-surface/skill-installer.d.ts +10 -0
- package/dist/tool-surface/skill-installer.d.ts.map +1 -0
- package/dist/tool-surface/skill-installer.js +20 -0
- package/dist/tool-surface/skill-installer.js.map +1 -0
- package/dist/tool-surface/skill-installers/claude-code.d.ts +43 -0
- package/dist/tool-surface/skill-installers/claude-code.d.ts.map +1 -0
- package/dist/tool-surface/skill-installers/claude-code.js +65 -0
- package/dist/tool-surface/skill-installers/claude-code.js.map +1 -0
- package/dist/tool-surface/skill-installers/codex-cli.d.ts +27 -0
- package/dist/tool-surface/skill-installers/codex-cli.d.ts.map +1 -0
- package/dist/tool-surface/skill-installers/codex-cli.js +84 -0
- package/dist/tool-surface/skill-installers/codex-cli.js.map +1 -0
- package/dist/tool-surface/skill-installers/cursor.d.ts +72 -0
- package/dist/tool-surface/skill-installers/cursor.d.ts.map +1 -0
- package/dist/tool-surface/skill-installers/cursor.js +81 -0
- package/dist/tool-surface/skill-installers/cursor.js.map +1 -0
- package/dist/tool-surface/skill-installers/gemini-cli.d.ts +66 -0
- package/dist/tool-surface/skill-installers/gemini-cli.d.ts.map +1 -0
- package/dist/tool-surface/skill-installers/gemini-cli.js +111 -0
- package/dist/tool-surface/skill-installers/gemini-cli.js.map +1 -0
- package/dist/tool-surface/skill-manifest-sync.d.ts +11 -0
- package/dist/tool-surface/skill-manifest-sync.d.ts.map +1 -0
- package/dist/tool-surface/skill-manifest-sync.js +65 -0
- package/dist/tool-surface/skill-manifest-sync.js.map +1 -0
- package/dist/tool-surface/tool-surface-registry.d.ts +34 -0
- package/dist/tool-surface/tool-surface-registry.d.ts.map +1 -0
- package/dist/tool-surface/tool-surface-registry.js +23 -0
- package/dist/tool-surface/tool-surface-registry.js.map +1 -0
- package/dist/tools/audit/schema.d.ts +67 -0
- package/dist/tools/audit/schema.d.ts.map +1 -0
- package/dist/tools/audit/schema.js +19 -0
- package/dist/tools/audit/schema.js.map +1 -0
- package/dist/tools/audit/tool-config.d.ts +17 -0
- package/dist/tools/audit/tool-config.d.ts.map +1 -0
- package/dist/tools/audit/tool-config.js +144 -0
- package/dist/tools/audit/tool-config.js.map +1 -0
- package/dist/tools/debug/schema.d.ts +57 -0
- package/dist/tools/debug/schema.d.ts.map +1 -0
- package/dist/tools/debug/schema.js +16 -0
- package/dist/tools/debug/schema.js.map +1 -0
- package/dist/tools/debug/tool-config.d.ts +7 -0
- package/dist/tools/debug/tool-config.d.ts.map +1 -0
- package/dist/tools/debug/tool-config.js +79 -0
- package/dist/tools/debug/tool-config.js.map +1 -0
- package/dist/tools/delegate/schema.d.ts +70 -0
- package/dist/tools/delegate/schema.d.ts.map +1 -0
- package/dist/tools/delegate/schema.js +18 -0
- package/dist/tools/delegate/schema.js.map +1 -0
- package/dist/tools/delegate/tool-config.d.ts +17 -0
- package/dist/tools/delegate/tool-config.d.ts.map +1 -0
- package/dist/tools/delegate/tool-config.js +56 -0
- package/dist/tools/delegate/tool-config.js.map +1 -0
- package/dist/tools/execute-plan/schema.d.ts +66 -0
- package/dist/tools/execute-plan/schema.d.ts.map +1 -0
- package/dist/tools/execute-plan/schema.js +34 -0
- package/dist/tools/execute-plan/schema.js.map +1 -0
- package/dist/tools/execute-plan/tool-config.d.ts +21 -0
- package/dist/tools/execute-plan/tool-config.d.ts.map +1 -0
- package/dist/tools/execute-plan/tool-config.js +76 -0
- package/dist/tools/execute-plan/tool-config.js.map +1 -0
- package/dist/tools/explore/schema.d.ts +9 -0
- package/dist/tools/explore/schema.d.ts.map +1 -0
- package/dist/tools/explore/schema.js +64 -0
- package/dist/tools/explore/schema.js.map +1 -0
- package/dist/tools/explore/tool-config.d.ts +7 -0
- package/dist/tools/explore/tool-config.d.ts.map +1 -0
- package/dist/tools/explore/tool-config.js +36 -0
- package/dist/tools/explore/tool-config.js.map +1 -0
- package/dist/tools/index.d.ts +11 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +16 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/investigate/schema.d.ts +59 -0
- package/dist/tools/investigate/schema.d.ts.map +1 -0
- package/dist/tools/investigate/schema.js +12 -0
- package/dist/tools/investigate/schema.js.map +1 -0
- package/dist/tools/investigate/tool-config.d.ts +23 -0
- package/dist/tools/investigate/tool-config.d.ts.map +1 -0
- package/dist/tools/investigate/tool-config.js +93 -0
- package/dist/tools/investigate/tool-config.js.map +1 -0
- package/dist/tools/register-context-block/schema.d.ts +8 -0
- package/dist/tools/register-context-block/schema.d.ts.map +1 -0
- package/dist/tools/register-context-block/schema.js +7 -0
- package/dist/tools/register-context-block/schema.js.map +1 -0
- package/dist/tools/register-context-block/tool-config.d.ts +6 -0
- package/dist/tools/register-context-block/tool-config.d.ts.map +1 -0
- package/dist/tools/register-context-block/tool-config.js +38 -0
- package/dist/tools/register-context-block/tool-config.js.map +1 -0
- package/dist/tools/retry/schema.d.ts +54 -0
- package/dist/tools/retry/schema.d.ts.map +1 -0
- package/dist/tools/retry/schema.js +12 -0
- package/dist/tools/retry/schema.js.map +1 -0
- package/dist/tools/retry/tool-config.d.ts +11 -0
- package/dist/tools/retry/tool-config.d.ts.map +1 -0
- package/dist/tools/retry/tool-config.js +60 -0
- package/dist/tools/retry/tool-config.js.map +1 -0
- package/dist/tools/review/schema.d.ts +61 -0
- package/dist/tools/review/schema.d.ts.map +1 -0
- package/dist/tools/review/schema.js +16 -0
- package/dist/tools/review/schema.js.map +1 -0
- package/dist/tools/review/tool-config.d.ts +7 -0
- package/dist/tools/review/tool-config.d.ts.map +1 -0
- package/dist/tools/review/tool-config.js +85 -0
- package/dist/tools/review/tool-config.js.map +1 -0
- package/dist/tools/shared-output.d.ts +56 -0
- package/dist/tools/shared-output.d.ts.map +1 -0
- package/dist/tools/shared-output.js +33 -0
- package/dist/tools/shared-output.js.map +1 -0
- package/dist/tools/verify/schema.d.ts +56 -0
- package/dist/tools/verify/schema.d.ts.map +1 -0
- package/dist/tools/verify/schema.js +16 -0
- package/dist/tools/verify/schema.js.map +1 -0
- package/dist/tools/verify/tool-config.d.ts +14 -0
- package/dist/tools/verify/tool-config.d.ts.map +1 -0
- package/dist/tools/verify/tool-config.js +112 -0
- package/dist/tools/verify/tool-config.js.map +1 -0
- package/dist/transport/http-listener.d.ts +37 -0
- package/dist/transport/http-listener.d.ts.map +1 -0
- package/dist/transport/http-listener.js +50 -0
- package/dist/transport/http-listener.js.map +1 -0
- package/dist/transport/index.d.ts +4 -0
- package/dist/transport/index.d.ts.map +1 -0
- package/dist/transport/index.js +4 -0
- package/dist/transport/index.js.map +1 -0
- package/dist/transport/loopback-enforcer.d.ts +29 -0
- package/dist/transport/loopback-enforcer.d.ts.map +1 -0
- package/dist/transport/loopback-enforcer.js +71 -0
- package/dist/transport/loopback-enforcer.js.map +1 -0
- package/dist/transport/route-dispatcher.d.ts +34 -0
- package/dist/transport/route-dispatcher.d.ts.map +1 -0
- package/dist/transport/route-dispatcher.js +62 -0
- package/dist/transport/route-dispatcher.js.map +1 -0
- package/dist/types/config.d.ts +138 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/config.js +2 -0
- package/dist/types/config.js.map +1 -0
- package/dist/types/enums.d.ts +168 -0
- package/dist/types/enums.d.ts.map +1 -0
- package/dist/types/enums.js +113 -0
- package/dist/types/enums.js.map +1 -0
- package/dist/types/run-result.d.ts +130 -0
- package/dist/types/run-result.d.ts.map +1 -0
- package/dist/types/run-result.js +2 -0
- package/dist/types/run-result.js.map +1 -0
- package/dist/types/stage-stats.d.ts +85 -0
- package/dist/types/stage-stats.d.ts.map +1 -0
- package/dist/types/stage-stats.js +6 -0
- package/dist/types/stage-stats.js.map +1 -0
- package/dist/types/task-spec.d.ts +48 -0
- package/dist/types/task-spec.d.ts.map +1 -0
- package/dist/types/task-spec.js +2 -0
- package/dist/types/task-spec.js.map +1 -0
- package/dist/types.d.ts +5 -405
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +5 -26
- package/dist/types.js.map +1 -1
- package/package.json +221 -204
- package/dist/auth/claude-oauth.d.ts +0 -6
- package/dist/auth/claude-oauth.d.ts.map +0 -1
- package/dist/auth/claude-oauth.js +0 -8
- package/dist/auth/claude-oauth.js.map +0 -1
- package/dist/auth/codex-oauth.d.ts +0 -6
- package/dist/auth/codex-oauth.d.ts.map +0 -1
- package/dist/auth/codex-oauth.js +0 -50
- package/dist/auth/codex-oauth.js.map +0 -1
- package/dist/auto-commit.d.ts +0 -18
- package/dist/auto-commit.d.ts.map +0 -1
- package/dist/auto-commit.js.map +0 -1
- package/dist/batch-cache.d.ts +0 -27
- package/dist/batch-cache.d.ts.map +0 -1
- package/dist/batch-cache.js +0 -71
- package/dist/batch-cache.js.map +0 -1
- package/dist/batch-registry.d.ts +0 -85
- package/dist/batch-registry.d.ts.map +0 -1
- package/dist/batch-registry.js +0 -170
- package/dist/batch-registry.js.map +0 -1
- package/dist/config/read-only-review-flag.d.ts +0 -8
- package/dist/config/read-only-review-flag.d.ts.map +0 -1
- package/dist/config/read-only-review-flag.js +0 -14
- package/dist/config/read-only-review-flag.js.map +0 -1
- package/dist/context/context-block-store.d.ts +0 -85
- package/dist/context/context-block-store.d.ts.map +0 -1
- package/dist/context/context-block-store.js +0 -114
- package/dist/context/context-block-store.js.map +0 -1
- package/dist/context/expand-context-blocks.d.ts +0 -20
- package/dist/context/expand-context-blocks.d.ts.map +0 -1
- package/dist/context/expand-context-blocks.js +0 -46
- package/dist/context/expand-context-blocks.js.map +0 -1
- package/dist/cost/compute.d.ts +0 -33
- package/dist/cost/compute.d.ts.map +0 -1
- package/dist/cost/compute.js +0 -67
- package/dist/cost/compute.js.map +0 -1
- package/dist/cost/cost-meter.d.ts +0 -13
- package/dist/cost/cost-meter.d.ts.map +0 -1
- package/dist/cost/cost-meter.js +0 -20
- package/dist/cost/cost-meter.js.map +0 -1
- package/dist/cost/rollup.d.ts +0 -18
- package/dist/cost/rollup.d.ts.map +0 -1
- package/dist/cost/rollup.js +0 -43
- package/dist/cost/rollup.js.map +0 -1
- package/dist/delegate-with-escalation.d.ts +0 -28
- package/dist/delegate-with-escalation.d.ts.map +0 -1
- package/dist/delegate-with-escalation.js +0 -205
- package/dist/delegate-with-escalation.js.map +0 -1
- package/dist/diagnostics/http-server-log.d.ts +0 -63
- package/dist/diagnostics/http-server-log.d.ts.map +0 -1
- package/dist/diagnostics/http-server-log.js.map +0 -1
- package/dist/diagnostics/jsonl-writer.d.ts.map +0 -1
- package/dist/diagnostics/jsonl-writer.js.map +0 -1
- package/dist/diagnostics/request-spill.d.ts.map +0 -1
- package/dist/diagnostics/request-spill.js.map +0 -1
- package/dist/diagnostics/types.d.ts +0 -65
- package/dist/diagnostics/types.d.ts.map +0 -1
- package/dist/diagnostics/types.js.map +0 -1
- package/dist/diagnostics/verbose-line.d.ts.map +0 -1
- package/dist/diagnostics/verbose-line.js +0 -99
- package/dist/diagnostics/verbose-line.js.map +0 -1
- package/dist/effort-inference.d.ts +0 -7
- package/dist/effort-inference.d.ts.map +0 -1
- package/dist/effort-inference.js +0 -22
- package/dist/effort-inference.js.map +0 -1
- package/dist/executors/_shared/findings-schema.d.ts +0 -103
- package/dist/executors/_shared/findings-schema.d.ts.map +0 -1
- package/dist/executors/_shared/findings-schema.js +0 -73
- package/dist/executors/_shared/findings-schema.js.map +0 -1
- package/dist/executors/_shared/review-verdict-mapping.d.ts +0 -16
- package/dist/executors/_shared/review-verdict-mapping.d.ts.map +0 -1
- package/dist/executors/_shared/review-verdict-mapping.js +0 -24
- package/dist/executors/_shared/review-verdict-mapping.js.map +0 -1
- package/dist/executors/audit.d.ts +0 -7
- package/dist/executors/audit.d.ts.map +0 -1
- package/dist/executors/audit.js +0 -181
- package/dist/executors/audit.js.map +0 -1
- package/dist/executors/debug.d.ts +0 -7
- package/dist/executors/debug.d.ts.map +0 -1
- package/dist/executors/debug.js +0 -88
- package/dist/executors/debug.js.map +0 -1
- package/dist/executors/delegate.d.ts +0 -40
- package/dist/executors/delegate.d.ts.map +0 -1
- package/dist/executors/delegate.js +0 -151
- package/dist/executors/delegate.js.map +0 -1
- package/dist/executors/execute-plan.d.ts +0 -11
- package/dist/executors/execute-plan.d.ts.map +0 -1
- package/dist/executors/execute-plan.js +0 -160
- package/dist/executors/execute-plan.js.map +0 -1
- package/dist/executors/execution-context.d.ts +0 -3
- package/dist/executors/execution-context.d.ts.map +0 -1
- package/dist/executors/execution-context.js +0 -25
- package/dist/executors/execution-context.js.map +0 -1
- package/dist/executors/explore.d.ts +0 -13
- package/dist/executors/explore.d.ts.map +0 -1
- package/dist/executors/explore.js +0 -352
- package/dist/executors/explore.js.map +0 -1
- package/dist/executors/index.d.ts +0 -10
- package/dist/executors/index.d.ts.map +0 -1
- package/dist/executors/index.js +0 -11
- package/dist/executors/index.js.map +0 -1
- package/dist/executors/investigate.d.ts +0 -11
- package/dist/executors/investigate.d.ts.map +0 -1
- package/dist/executors/investigate.js +0 -131
- package/dist/executors/investigate.js.map +0 -1
- package/dist/executors/retry.d.ts +0 -20
- package/dist/executors/retry.d.ts.map +0 -1
- package/dist/executors/retry.js +0 -99
- package/dist/executors/retry.js.map +0 -1
- package/dist/executors/review.d.ts +0 -7
- package/dist/executors/review.d.ts.map +0 -1
- package/dist/executors/review.js +0 -152
- package/dist/executors/review.js.map +0 -1
- package/dist/executors/shared-compute.d.ts +0 -5
- package/dist/executors/shared-compute.d.ts.map +0 -1
- package/dist/executors/shared-compute.js +0 -19
- package/dist/executors/shared-compute.js.map +0 -1
- package/dist/executors/types.d.ts +0 -129
- package/dist/executors/types.d.ts.map +0 -1
- package/dist/executors/types.js.map +0 -1
- package/dist/executors/verify.d.ts +0 -7
- package/dist/executors/verify.d.ts.map +0 -1
- package/dist/executors/verify.js +0 -163
- package/dist/executors/verify.js.map +0 -1
- package/dist/file-artifact-check.d.ts.map +0 -1
- package/dist/file-artifact-check.js.map +0 -1
- package/dist/heartbeat.d.ts +0 -139
- package/dist/heartbeat.d.ts.map +0 -1
- package/dist/heartbeat.js +0 -401
- package/dist/heartbeat.js.map +0 -1
- package/dist/intake/clarification-store.d.ts +0 -23
- package/dist/intake/clarification-store.d.ts.map +0 -1
- package/dist/intake/clarification-store.js +0 -106
- package/dist/intake/clarification-store.js.map +0 -1
- package/dist/intake/compilers/audit.d.ts +0 -8
- package/dist/intake/compilers/audit.d.ts.map +0 -1
- package/dist/intake/compilers/audit.js +0 -50
- package/dist/intake/compilers/audit.js.map +0 -1
- package/dist/intake/compilers/debug.d.ts +0 -9
- package/dist/intake/compilers/debug.d.ts.map +0 -1
- package/dist/intake/compilers/debug.js +0 -32
- package/dist/intake/compilers/debug.js.map +0 -1
- package/dist/intake/compilers/delegate.d.ts +0 -16
- package/dist/intake/compilers/delegate.d.ts.map +0 -1
- package/dist/intake/compilers/delegate.js +0 -32
- package/dist/intake/compilers/delegate.js.map +0 -1
- package/dist/intake/compilers/execute-plan.d.ts +0 -14
- package/dist/intake/compilers/execute-plan.d.ts.map +0 -1
- package/dist/intake/compilers/execute-plan.js +0 -49
- package/dist/intake/compilers/execute-plan.js.map +0 -1
- package/dist/intake/compilers/explore.d.ts +0 -29
- package/dist/intake/compilers/explore.d.ts.map +0 -1
- package/dist/intake/compilers/explore.js +0 -108
- package/dist/intake/compilers/explore.js.map +0 -1
- package/dist/intake/compilers/investigate.d.ts +0 -12
- package/dist/intake/compilers/investigate.d.ts.map +0 -1
- package/dist/intake/compilers/investigate.js +0 -34
- package/dist/intake/compilers/investigate.js.map +0 -1
- package/dist/intake/compilers/review.d.ts +0 -9
- package/dist/intake/compilers/review.d.ts.map +0 -1
- package/dist/intake/compilers/review.js +0 -51
- package/dist/intake/compilers/review.js.map +0 -1
- package/dist/intake/compilers/verify.d.ts +0 -8
- package/dist/intake/compilers/verify.d.ts.map +0 -1
- package/dist/intake/compilers/verify.js +0 -52
- package/dist/intake/compilers/verify.js.map +0 -1
- package/dist/intake/confirm.d.ts +0 -7
- package/dist/intake/confirm.d.ts.map +0 -1
- package/dist/intake/confirm.js +0 -109
- package/dist/intake/confirm.js.map +0 -1
- package/dist/intake/feature-flag.d.ts +0 -6
- package/dist/intake/feature-flag.d.ts.map +0 -1
- package/dist/intake/feature-flag.js +0 -13
- package/dist/intake/feature-flag.js.map +0 -1
- package/dist/intake/force-clarification.d.ts +0 -5
- package/dist/intake/force-clarification.d.ts.map +0 -1
- package/dist/intake/force-clarification.js +0 -44
- package/dist/intake/force-clarification.js.map +0 -1
- package/dist/intake/infer.d.ts +0 -3
- package/dist/intake/infer.d.ts.map +0 -1
- package/dist/intake/infer.js +0 -42
- package/dist/intake/infer.js.map +0 -1
- package/dist/observability/buckets.d.ts +0 -3
- package/dist/observability/buckets.d.ts.map +0 -1
- package/dist/observability/buckets.js +0 -21
- package/dist/observability/buckets.js.map +0 -1
- package/dist/observability/bus.d.ts +0 -11
- package/dist/observability/bus.d.ts.map +0 -1
- package/dist/observability/bus.js +0 -37
- package/dist/observability/bus.js.map +0 -1
- package/dist/observability/events.d.ts +0 -1276
- package/dist/observability/events.d.ts.map +0 -1
- package/dist/observability/events.js +0 -476
- package/dist/observability/events.js.map +0 -1
- package/dist/observability/local-log-sink.d.ts +0 -10
- package/dist/observability/local-log-sink.d.ts.map +0 -1
- package/dist/observability/local-log-sink.js.map +0 -1
- package/dist/observability/telemetry-sink.d.ts +0 -12
- package/dist/observability/telemetry-sink.d.ts.map +0 -1
- package/dist/observability/telemetry-sink.js +0 -24
- package/dist/observability/telemetry-sink.js.map +0 -1
- package/dist/project-context.d.ts +0 -19
- package/dist/project-context.d.ts.map +0 -1
- package/dist/project-context.js +0 -18
- package/dist/project-context.js.map +0 -1
- package/dist/provider.d.ts +0 -5
- package/dist/provider.d.ts.map +0 -1
- package/dist/provider.js +0 -127
- package/dist/provider.js.map +0 -1
- package/dist/readiness/readiness.d.ts +0 -14
- package/dist/readiness/readiness.d.ts.map +0 -1
- package/dist/readiness/readiness.js +0 -162
- package/dist/readiness/readiness.js.map +0 -1
- package/dist/reporting/compose-investigate-headline.d.ts +0 -11
- package/dist/reporting/compose-investigate-headline.d.ts.map +0 -1
- package/dist/reporting/compose-investigate-headline.js +0 -29
- package/dist/reporting/compose-investigate-headline.js.map +0 -1
- package/dist/reporting/parse-investigation-report.d.ts +0 -39
- package/dist/reporting/parse-investigation-report.d.ts.map +0 -1
- package/dist/reporting/parse-investigation-report.js +0 -150
- package/dist/reporting/parse-investigation-report.js.map +0 -1
- package/dist/research/allowlist.d.ts +0 -25
- package/dist/research/allowlist.d.ts.map +0 -1
- package/dist/research/allowlist.js +0 -102
- package/dist/research/allowlist.js.map +0 -1
- package/dist/review/aggregate-result.d.ts +0 -5
- package/dist/review/aggregate-result.d.ts.map +0 -1
- package/dist/review/aggregate-result.js +0 -35
- package/dist/review/aggregate-result.js.map +0 -1
- package/dist/review/diff-review.d.ts +0 -46
- package/dist/review/diff-review.d.ts.map +0 -1
- package/dist/review/diff-review.js +0 -65
- package/dist/review/diff-review.js.map +0 -1
- package/dist/review/evidence.d.ts +0 -15
- package/dist/review/evidence.d.ts.map +0 -1
- package/dist/review/evidence.js +0 -26
- package/dist/review/evidence.js.map +0 -1
- package/dist/review/fallback-extraction.d.ts +0 -17
- package/dist/review/fallback-extraction.d.ts.map +0 -1
- package/dist/review/fallback-extraction.js +0 -189
- package/dist/review/fallback-extraction.js.map +0 -1
- package/dist/review/parse-reviewer-findings.d.ts +0 -26
- package/dist/review/parse-reviewer-findings.d.ts.map +0 -1
- package/dist/review/parse-reviewer-findings.js +0 -73
- package/dist/review/parse-reviewer-findings.js.map +0 -1
- package/dist/review/quality-only-prompts.d.ts +0 -33
- package/dist/review/quality-only-prompts.d.ts.map +0 -1
- package/dist/review/quality-only-prompts.js +0 -106
- package/dist/review/quality-only-prompts.js.map +0 -1
- package/dist/review/quality-reviewer.d.ts +0 -67
- package/dist/review/quality-reviewer.d.ts.map +0 -1
- package/dist/review/quality-reviewer.js +0 -200
- package/dist/review/quality-reviewer.js.map +0 -1
- package/dist/review/reviewer-prompt.d.ts +0 -14
- package/dist/review/reviewer-prompt.d.ts.map +0 -1
- package/dist/review/reviewer-prompt.js +0 -54
- package/dist/review/reviewer-prompt.js.map +0 -1
- package/dist/review/spec-reviewer.d.ts +0 -26
- package/dist/review/spec-reviewer.d.ts.map +0 -1
- package/dist/review/spec-reviewer.js +0 -85
- package/dist/review/spec-reviewer.js.map +0 -1
- package/dist/routing/canonical-model-identity.d.ts.map +0 -1
- package/dist/routing/canonical-model-identity.js.map +0 -1
- package/dist/routing/canonical-model.d.ts +0 -7
- package/dist/routing/canonical-model.d.ts.map +0 -1
- package/dist/routing/canonical-model.js +0 -11
- package/dist/routing/canonical-model.js.map +0 -1
- package/dist/routing/model-profiles.d.ts +0 -126
- package/dist/routing/model-profiles.d.ts.map +0 -1
- package/dist/routing/model-profiles.js +0 -393
- package/dist/routing/model-profiles.js.map +0 -1
- package/dist/routing/resolve-agent.d.ts +0 -8
- package/dist/routing/resolve-agent.d.ts.map +0 -1
- package/dist/routing/resolve-agent.js +0 -45
- package/dist/routing/resolve-agent.js.map +0 -1
- package/dist/routing/types.d.ts.map +0 -1
- package/dist/routing/types.js +0 -2
- package/dist/routing/types.js.map +0 -1
- package/dist/run-tasks/commit-stage.d.ts +0 -16
- package/dist/run-tasks/commit-stage.d.ts.map +0 -1
- package/dist/run-tasks/commit-stage.js +0 -52
- package/dist/run-tasks/commit-stage.js.map +0 -1
- package/dist/run-tasks/derive-terminal-status.d.ts +0 -4
- package/dist/run-tasks/derive-terminal-status.d.ts.map +0 -1
- package/dist/run-tasks/derive-terminal-status.js +0 -25
- package/dist/run-tasks/derive-terminal-status.js.map +0 -1
- package/dist/run-tasks/execute-task.d.ts +0 -20
- package/dist/run-tasks/execute-task.d.ts.map +0 -1
- package/dist/run-tasks/execute-task.js +0 -30
- package/dist/run-tasks/execute-task.js.map +0 -1
- package/dist/run-tasks/fallback-report.d.ts.map +0 -1
- package/dist/run-tasks/fallback-report.js.map +0 -1
- package/dist/run-tasks/index.d.ts +0 -59
- package/dist/run-tasks/index.d.ts.map +0 -1
- package/dist/run-tasks/index.js +0 -119
- package/dist/run-tasks/index.js.map +0 -1
- package/dist/run-tasks/metadata-repair.d.ts.map +0 -1
- package/dist/run-tasks/metadata-repair.js +0 -29
- package/dist/run-tasks/metadata-repair.js.map +0 -1
- package/dist/run-tasks/plan-extraction.d.ts.map +0 -1
- package/dist/run-tasks/plan-extraction.js.map +0 -1
- package/dist/run-tasks/reviewed-lifecycle.d.ts +0 -113
- package/dist/run-tasks/reviewed-lifecycle.d.ts.map +0 -1
- package/dist/run-tasks/reviewed-lifecycle.js +0 -1899
- package/dist/run-tasks/reviewed-lifecycle.js.map +0 -1
- package/dist/run-tasks/stage-idle-tracker.d.ts.map +0 -1
- package/dist/run-tasks/stage-idle-tracker.js.map +0 -1
- package/dist/run-tasks/task-completion-summary.d.ts.map +0 -1
- package/dist/run-tasks/task-completion-summary.js +0 -70
- package/dist/run-tasks/task-completion-summary.js.map +0 -1
- package/dist/run-tasks/verify-stage.d.ts +0 -25
- package/dist/run-tasks/verify-stage.d.ts.map +0 -1
- package/dist/run-tasks/verify-stage.js +0 -168
- package/dist/run-tasks/verify-stage.js.map +0 -1
- package/dist/run-tasks/worker-status.d.ts +0 -9
- package/dist/run-tasks/worker-status.d.ts.map +0 -1
- package/dist/run-tasks/worker-status.js +0 -19
- package/dist/run-tasks/worker-status.js.map +0 -1
- package/dist/runners/base/research-tools.d.ts.map +0 -1
- package/dist/runners/base/research-tools.js.map +0 -1
- package/dist/runners/base/result-builders.d.ts +0 -94
- package/dist/runners/base/result-builders.d.ts.map +0 -1
- package/dist/runners/base/result-builders.js +0 -134
- package/dist/runners/base/result-builders.js.map +0 -1
- package/dist/runners/base/time-check.d.ts.map +0 -1
- package/dist/runners/base/time-check.js.map +0 -1
- package/dist/runners/base/types.d.ts +0 -53
- package/dist/runners/base/types.d.ts.map +0 -1
- package/dist/runners/base/types.js +0 -2
- package/dist/runners/base/types.js.map +0 -1
- package/dist/runners/base/usage-accumulator.d.ts +0 -10
- package/dist/runners/base/usage-accumulator.d.ts.map +0 -1
- package/dist/runners/base/usage-accumulator.js +0 -22
- package/dist/runners/base/usage-accumulator.js.map +0 -1
- package/dist/runners/claude-runner.d.ts +0 -17
- package/dist/runners/claude-runner.d.ts.map +0 -1
- package/dist/runners/claude-runner.js +0 -962
- package/dist/runners/claude-runner.js.map +0 -1
- package/dist/runners/codex-runner.d.ts +0 -32
- package/dist/runners/codex-runner.d.ts.map +0 -1
- package/dist/runners/codex-runner.js +0 -992
- package/dist/runners/codex-runner.js.map +0 -1
- package/dist/runners/error-classification.d.ts +0 -49
- package/dist/runners/error-classification.d.ts.map +0 -1
- package/dist/runners/error-classification.js +0 -140
- package/dist/runners/error-classification.js.map +0 -1
- package/dist/runners/injection-type.d.ts.map +0 -1
- package/dist/runners/injection-type.js.map +0 -1
- package/dist/runners/openai-runner.d.ts +0 -74
- package/dist/runners/openai-runner.d.ts.map +0 -1
- package/dist/runners/openai-runner.js +0 -934
- package/dist/runners/openai-runner.js.map +0 -1
- package/dist/runners/openai-usage-interceptor.d.ts.map +0 -1
- package/dist/runners/openai-usage-interceptor.js +0 -121
- package/dist/runners/openai-usage-interceptor.js.map +0 -1
- package/dist/runners/prevention.d.ts.map +0 -1
- package/dist/runners/prevention.js +0 -108
- package/dist/runners/prevention.js.map +0 -1
- package/dist/runners/supervision.d.ts +0 -129
- package/dist/runners/supervision.d.ts.map +0 -1
- package/dist/runners/supervision.js +0 -310
- package/dist/runners/supervision.js.map +0 -1
- package/dist/runners/types.d.ts +0 -174
- package/dist/runners/types.d.ts.map +0 -1
- package/dist/runners/types.js +0 -2
- package/dist/runners/types.js.map +0 -1
- package/dist/telemetry/bucketing.d.ts +0 -13
- package/dist/telemetry/bucketing.d.ts.map +0 -1
- package/dist/telemetry/bucketing.js +0 -61
- package/dist/telemetry/bucketing.js.map +0 -1
- package/dist/telemetry/clamp.d.ts.map +0 -1
- package/dist/telemetry/clamp.js.map +0 -1
- package/dist/telemetry/concern-classifier.d.ts +0 -9
- package/dist/telemetry/concern-classifier.d.ts.map +0 -1
- package/dist/telemetry/concern-classifier.js.map +0 -1
- package/dist/telemetry/consent-rules.d.ts.map +0 -1
- package/dist/telemetry/consent-rules.js.map +0 -1
- package/dist/telemetry/event-builder.d.ts +0 -15
- package/dist/telemetry/event-builder.d.ts.map +0 -1
- package/dist/telemetry/event-builder.js +0 -327
- package/dist/telemetry/event-builder.js.map +0 -1
- package/dist/telemetry/field-coverage.d.ts +0 -17
- package/dist/telemetry/field-coverage.d.ts.map +0 -1
- package/dist/telemetry/field-coverage.js +0 -110
- package/dist/telemetry/field-coverage.js.map +0 -1
- package/dist/telemetry/normalize.d.ts +0 -18
- package/dist/telemetry/normalize.d.ts.map +0 -1
- package/dist/telemetry/normalize.js +0 -18
- package/dist/telemetry/normalize.js.map +0 -1
- package/dist/telemetry/types.d.ts +0 -1517
- package/dist/telemetry/types.d.ts.map +0 -1
- package/dist/telemetry/types.js +0 -320
- package/dist/telemetry/types.js.map +0 -1
- package/dist/tool-schemas/audit.d.ts +0 -71
- package/dist/tool-schemas/audit.d.ts.map +0 -1
- package/dist/tool-schemas/audit.js +0 -19
- package/dist/tool-schemas/audit.js.map +0 -1
- package/dist/tool-schemas/debug.d.ts +0 -61
- package/dist/tool-schemas/debug.d.ts.map +0 -1
- package/dist/tool-schemas/debug.js +0 -16
- package/dist/tool-schemas/debug.js.map +0 -1
- package/dist/tool-schemas/delegate.d.ts +0 -71
- package/dist/tool-schemas/delegate.d.ts.map +0 -1
- package/dist/tool-schemas/delegate.js +0 -21
- package/dist/tool-schemas/delegate.js.map +0 -1
- package/dist/tool-schemas/execute-plan.d.ts +0 -70
- package/dist/tool-schemas/execute-plan.d.ts.map +0 -1
- package/dist/tool-schemas/execute-plan.js +0 -34
- package/dist/tool-schemas/execute-plan.js.map +0 -1
- package/dist/tool-schemas/explore.d.ts +0 -9
- package/dist/tool-schemas/explore.d.ts.map +0 -1
- package/dist/tool-schemas/explore.js +0 -64
- package/dist/tool-schemas/explore.js.map +0 -1
- package/dist/tool-schemas/index.d.ts +0 -8
- package/dist/tool-schemas/index.d.ts.map +0 -1
- package/dist/tool-schemas/index.js +0 -9
- package/dist/tool-schemas/index.js.map +0 -1
- package/dist/tool-schemas/investigate.d.ts +0 -63
- package/dist/tool-schemas/investigate.d.ts.map +0 -1
- package/dist/tool-schemas/investigate.js +0 -12
- package/dist/tool-schemas/investigate.js.map +0 -1
- package/dist/tool-schemas/retry.d.ts +0 -58
- package/dist/tool-schemas/retry.d.ts.map +0 -1
- package/dist/tool-schemas/retry.js +0 -12
- package/dist/tool-schemas/retry.js.map +0 -1
- package/dist/tool-schemas/review.d.ts +0 -65
- package/dist/tool-schemas/review.d.ts.map +0 -1
- package/dist/tool-schemas/review.js +0 -16
- package/dist/tool-schemas/review.js.map +0 -1
- package/dist/tool-schemas/shared-output.d.ts +0 -60
- package/dist/tool-schemas/shared-output.d.ts.map +0 -1
- package/dist/tool-schemas/shared-output.js +0 -31
- package/dist/tool-schemas/shared-output.js.map +0 -1
- package/dist/tool-schemas/verify.d.ts +0 -60
- package/dist/tool-schemas/verify.d.ts.map +0 -1
- package/dist/tool-schemas/verify.js +0 -16
- package/dist/tool-schemas/verify.js.map +0 -1
- package/dist/tools/call-cache.d.ts.map +0 -1
- package/dist/tools/call-cache.js.map +0 -1
- package/dist/tools/claude-adapter.d.ts +0 -4
- package/dist/tools/claude-adapter.d.ts.map +0 -1
- package/dist/tools/claude-adapter.js +0 -63
- package/dist/tools/claude-adapter.js.map +0 -1
- package/dist/tools/definitions.d.ts +0 -26
- package/dist/tools/definitions.d.ts.map +0 -1
- package/dist/tools/definitions.js +0 -221
- package/dist/tools/definitions.js.map +0 -1
- package/dist/tools/openai-adapter.d.ts +0 -13
- package/dist/tools/openai-adapter.d.ts.map +0 -1
- package/dist/tools/openai-adapter.js +0 -100
- package/dist/tools/openai-adapter.js.map +0 -1
- package/dist/tools/scratchpad.d.ts +0 -28
- package/dist/tools/scratchpad.d.ts.map +0 -1
- package/dist/tools/scratchpad.js +0 -49
- package/dist/tools/scratchpad.js.map +0 -1
- package/dist/tools/tracker.d.ts +0 -47
- package/dist/tools/tracker.d.ts.map +0 -1
- package/dist/tools/tracker.js +0 -71
- package/dist/tools/tracker.js.map +0 -1
- /package/dist/{file-artifact-check.d.ts → bounded-execution/file-artifact-check.d.ts} +0 -0
- /package/dist/{file-artifact-check.js → bounded-execution/file-artifact-check.js} +0 -0
- /package/dist/{routing → config}/canonical-model-identity.d.ts +0 -0
- /package/dist/{routing → config}/canonical-model-identity.js +0 -0
- /package/dist/{routing → escalation}/types.d.ts +0 -0
- /package/dist/{diagnostics → escalation}/types.js +0 -0
- /package/dist/{telemetry → events}/clamp.d.ts +0 -0
- /package/dist/{telemetry → events}/clamp.js +0 -0
- /package/dist/{telemetry → events}/concern-classifier.js +0 -0
- /package/dist/{telemetry → events}/consent-rules.d.ts +0 -0
- /package/dist/{telemetry → events}/consent-rules.js +0 -0
- /package/dist/{diagnostics → events}/http-server-log.js +0 -0
- /package/dist/{diagnostics → events}/jsonl-writer.d.ts +0 -0
- /package/dist/{diagnostics → events}/jsonl-writer.js +0 -0
- /package/dist/{observability → events}/local-log-sink.js +0 -0
- /package/dist/{diagnostics → events}/request-spill.d.ts +0 -0
- /package/dist/{diagnostics → events}/request-spill.js +0 -0
- /package/dist/{diagnostics → events}/verbose-line.d.ts +0 -0
- /package/dist/{auto-commit.js → lifecycle/auto-commit.js} +0 -0
- /package/dist/{run-tasks → lifecycle}/fallback-report.d.ts +0 -0
- /package/dist/{run-tasks → lifecycle}/fallback-report.js +0 -0
- /package/dist/{run-tasks → lifecycle}/metadata-repair.d.ts +0 -0
- /package/dist/{run-tasks → lifecycle}/plan-extraction.d.ts +0 -0
- /package/dist/{run-tasks → lifecycle}/plan-extraction.js +0 -0
- /package/dist/{run-tasks → lifecycle}/stage-idle-tracker.d.ts +0 -0
- /package/dist/{run-tasks → lifecycle}/stage-idle-tracker.js +0 -0
- /package/dist/{run-tasks → lifecycle}/task-completion-summary.d.ts +0 -0
- /package/dist/{runners → providers}/base/research-tools.d.ts +0 -0
- /package/dist/{runners → providers}/base/research-tools.js +0 -0
- /package/dist/{runners → providers}/base/time-check.d.ts +0 -0
- /package/dist/{runners → providers}/base/time-check.js +0 -0
- /package/dist/{executors → providers/base}/types.js +0 -0
- /package/dist/{tools → providers}/call-cache.d.ts +0 -0
- /package/dist/{tools → providers}/call-cache.js +0 -0
- /package/dist/{runners → providers}/injection-type.d.ts +0 -0
- /package/dist/{runners → providers}/injection-type.js +0 -0
- /package/dist/{runners → providers}/openai-usage-interceptor.d.ts +0 -0
- /package/dist/{runners → providers}/prevention.d.ts +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Options for installing a Claude Code skill.
|
|
3
|
+
*/
|
|
4
|
+
export interface ClaudeCodeInstallOpts {
|
|
5
|
+
/** Human-readable name of the skill (used in file path). */
|
|
6
|
+
skillName: string;
|
|
7
|
+
/**
|
|
8
|
+
* Raw skill content. May contain `@include _shared/<file>.md` directives
|
|
9
|
+
* which are inlined before writing.
|
|
10
|
+
*/
|
|
11
|
+
content: string;
|
|
12
|
+
/**
|
|
13
|
+
* Home directory — replaces `os.homedir()` in all file operations.
|
|
14
|
+
* Must NOT default to `os.homedir()`.
|
|
15
|
+
*/
|
|
16
|
+
homeDir: string;
|
|
17
|
+
/** Root of the skills directory for @include resolution. */
|
|
18
|
+
skillsRoot: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Write (or overwrite) the SKILL.md file for a Claude Code skill.
|
|
22
|
+
*
|
|
23
|
+
* Target path: `<homeDir>/.claude/skills/<skillName>/SKILL.md`
|
|
24
|
+
*
|
|
25
|
+
* @param opts Installation options (see `ClaudeCodeInstallOpts`).
|
|
26
|
+
*/
|
|
27
|
+
export declare function installClaudeCode(opts: ClaudeCodeInstallOpts): void;
|
|
28
|
+
/**
|
|
29
|
+
* Uninstall a Claude Code skill by removing its directory.
|
|
30
|
+
*
|
|
31
|
+
* Target: `<homeDir>/.claude/skills/<skillName>/`
|
|
32
|
+
*
|
|
33
|
+
* Security: `skillName` is validated against the expected skills directory
|
|
34
|
+
* boundary to prevent path traversal (e.g. `../other-dir`). If `skillName`
|
|
35
|
+
* resolves outside the skills directory, the function is a no-op.
|
|
36
|
+
*
|
|
37
|
+
* This is also a no-op when the directory does not exist (no error is thrown).
|
|
38
|
+
*
|
|
39
|
+
* @param skillName Name of the skill to uninstall.
|
|
40
|
+
* @param homeDir Home directory where the skill directory lives.
|
|
41
|
+
*/
|
|
42
|
+
export declare function uninstallClaudeCode(skillName: string, homeDir: string): void;
|
|
43
|
+
//# sourceMappingURL=claude-code.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claude-code.d.ts","sourceRoot":"","sources":["../../../src/tool-surface/skill-installers/claude-code.ts"],"names":[],"mappings":"AAsBA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,4DAA4D;IAC5D,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,qBAAqB,GAAG,IAAI,CAUnE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAe5E"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Claude Code skill writer for install-skill.
|
|
3
|
+
*
|
|
4
|
+
* Writes each skill's SKILL.md to `<homeDir>/.claude/skills/<skillName>/SKILL.md`.
|
|
5
|
+
*
|
|
6
|
+
* Before writing, inlines any `@include _shared/<file>.md` directives found in
|
|
7
|
+
* the content. The directive line is replaced with the full content of the
|
|
8
|
+
* corresponding shared file sourced from `<skillsRoot>/_shared/<file>.md`.
|
|
9
|
+
* The `@include` directive is NOT preserved in the written file.
|
|
10
|
+
*
|
|
11
|
+
* If a referenced shared file is missing (ENOENT):
|
|
12
|
+
* - A warning is logged to stderr.
|
|
13
|
+
* - The include line is removed from the output (not preserved).
|
|
14
|
+
* - Processing continues for remaining content.
|
|
15
|
+
*
|
|
16
|
+
* @module
|
|
17
|
+
*/
|
|
18
|
+
import fs from 'node:fs';
|
|
19
|
+
import path from 'node:path';
|
|
20
|
+
import { inlineIncludes } from '../include-utils.js';
|
|
21
|
+
/**
|
|
22
|
+
* Write (or overwrite) the SKILL.md file for a Claude Code skill.
|
|
23
|
+
*
|
|
24
|
+
* Target path: `<homeDir>/.claude/skills/<skillName>/SKILL.md`
|
|
25
|
+
*
|
|
26
|
+
* @param opts Installation options (see `ClaudeCodeInstallOpts`).
|
|
27
|
+
*/
|
|
28
|
+
export function installClaudeCode(opts) {
|
|
29
|
+
const { skillName, content, homeDir, skillsRoot } = opts;
|
|
30
|
+
// Inline @include directives before writing
|
|
31
|
+
const inlinedContent = inlineIncludes('Claude Code skill writer', content, skillsRoot);
|
|
32
|
+
// Determine target path: <homeDir>/.claude/skills/<skillName>/SKILL.md
|
|
33
|
+
const skillDir = path.join(homeDir, '.claude', 'skills', skillName);
|
|
34
|
+
fs.mkdirSync(skillDir, { recursive: true });
|
|
35
|
+
fs.writeFileSync(path.join(skillDir, 'SKILL.md'), inlinedContent, 'utf-8');
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Uninstall a Claude Code skill by removing its directory.
|
|
39
|
+
*
|
|
40
|
+
* Target: `<homeDir>/.claude/skills/<skillName>/`
|
|
41
|
+
*
|
|
42
|
+
* Security: `skillName` is validated against the expected skills directory
|
|
43
|
+
* boundary to prevent path traversal (e.g. `../other-dir`). If `skillName`
|
|
44
|
+
* resolves outside the skills directory, the function is a no-op.
|
|
45
|
+
*
|
|
46
|
+
* This is also a no-op when the directory does not exist (no error is thrown).
|
|
47
|
+
*
|
|
48
|
+
* @param skillName Name of the skill to uninstall.
|
|
49
|
+
* @param homeDir Home directory where the skill directory lives.
|
|
50
|
+
*/
|
|
51
|
+
export function uninstallClaudeCode(skillName, homeDir) {
|
|
52
|
+
const skillsBase = path.resolve(homeDir, '.claude', 'skills');
|
|
53
|
+
// Security: validate skillName does not escape the skills directory.
|
|
54
|
+
// Normalize skillName and verify the resolved path stays within the base.
|
|
55
|
+
const normalizedName = path.normalize(skillName);
|
|
56
|
+
const resolvedSkillDir = path.resolve(skillsBase, normalizedName);
|
|
57
|
+
const baseResolved = skillsBase + path.sep;
|
|
58
|
+
if (!resolvedSkillDir.startsWith(baseResolved)) {
|
|
59
|
+
// skillName traversal attempt — no-op rather than throwing, matching
|
|
60
|
+
// the "no error when directory does not exist" behaviour.
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
fs.rmSync(resolvedSkillDir, { recursive: true, force: true });
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=claude-code.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claude-code.js","sourceRoot":"","sources":["../../../src/tool-surface/skill-installers/claude-code.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAsBrD;;;;;;GAMG;AACH,MAAM,UAAU,iBAAiB,CAAC,IAA2B;IAC3D,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAEzD,4CAA4C;IAC5C,MAAM,cAAc,GAAG,cAAc,CAAC,0BAA0B,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IAEvF,uEAAuE;IACvE,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;IACpE,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC5C,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC;AAC7E,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,mBAAmB,CAAC,SAAiB,EAAE,OAAe;IACpE,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;IAE9D,qEAAqE;IACrE,0EAA0E;IAC1E,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;IACjD,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;IAClE,MAAM,YAAY,GAAG,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC;IAC3C,IAAI,CAAC,gBAAgB,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/C,qEAAqE;QACrE,0DAA0D;QAC1D,OAAO;IACT,CAAC;IAED,EAAE,CAAC,MAAM,CAAC,gBAAgB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAChE,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface CodexCliInstallOpts {
|
|
2
|
+
/** Human-readable name of the skill (used in file path). */
|
|
3
|
+
skillName: string;
|
|
4
|
+
/** Raw skill content, possibly containing @include directives. */
|
|
5
|
+
content: string;
|
|
6
|
+
/**
|
|
7
|
+
* Home directory — replaces `os.homedir()` in all file operations.
|
|
8
|
+
* Must NOT default to `os.homedir()`.
|
|
9
|
+
*/
|
|
10
|
+
homeDir: string;
|
|
11
|
+
/** Root of the skills directory for @include resolution. */
|
|
12
|
+
skillsRoot: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Write (or overwrite) the SKILL.md file for a Codex CLI skill.
|
|
16
|
+
*
|
|
17
|
+
* Target path: `<homeDir>/.codex/skills/<skillName>/SKILL.md`
|
|
18
|
+
*/
|
|
19
|
+
export declare function installCodexCli(opts: CodexCliInstallOpts): void;
|
|
20
|
+
/**
|
|
21
|
+
* Uninstall a Codex CLI skill by removing its directory.
|
|
22
|
+
*
|
|
23
|
+
* This is a no-op when the directory does not exist or when `skillName` would
|
|
24
|
+
* escape the Codex skills directory.
|
|
25
|
+
*/
|
|
26
|
+
export declare function uninstallCodexCli(skillName: string, homeDir: string): void;
|
|
27
|
+
//# sourceMappingURL=codex-cli.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codex-cli.d.ts","sourceRoot":"","sources":["../../../src/tool-surface/skill-installers/codex-cli.ts"],"names":[],"mappings":"AAqBA,MAAM,WAAW,mBAAmB;IAClC,4DAA4D;IAC5D,SAAS,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;CACpB;AAuCD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAW/D;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAK1E"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Codex CLI skill writer for install-skill.
|
|
3
|
+
*
|
|
4
|
+
* Writes each skill's SKILL.md to `<homeDir>/.codex/skills/<skillName>/SKILL.md`.
|
|
5
|
+
* Codex discovers skills from that directory on the next session start. Existing
|
|
6
|
+
* `AGENTS.md` instructions are user-owned and are not modified by this writer.
|
|
7
|
+
*
|
|
8
|
+
* Before writing, any `@include _shared/<file>.md` directives are inlined using
|
|
9
|
+
* the shared include utility. Missing shared files are warned about and omitted,
|
|
10
|
+
* matching the other client writers.
|
|
11
|
+
*
|
|
12
|
+
* @module
|
|
13
|
+
*/
|
|
14
|
+
import fs from 'node:fs';
|
|
15
|
+
import path from 'node:path';
|
|
16
|
+
import { inlineIncludes } from '../include-utils.js';
|
|
17
|
+
const LEGACY_MANAGED_BEGIN = '<!-- multi-model-agent:BEGIN -->';
|
|
18
|
+
const LEGACY_MANAGED_END = '<!-- multi-model-agent:END -->';
|
|
19
|
+
function codexSkillsBase(homeDir) {
|
|
20
|
+
return path.resolve(homeDir, '.codex', 'skills');
|
|
21
|
+
}
|
|
22
|
+
function resolveSkillDir(homeDir, skillName) {
|
|
23
|
+
const base = codexSkillsBase(homeDir);
|
|
24
|
+
const resolved = path.resolve(base, path.normalize(skillName));
|
|
25
|
+
if (!resolved.startsWith(base + path.sep))
|
|
26
|
+
return null;
|
|
27
|
+
return resolved;
|
|
28
|
+
}
|
|
29
|
+
function removeLegacyManagedAgentsBlock(homeDir) {
|
|
30
|
+
const agentsPath = path.join(homeDir, '.codex', 'AGENTS.md');
|
|
31
|
+
let content;
|
|
32
|
+
try {
|
|
33
|
+
content = fs.readFileSync(agentsPath, 'utf-8');
|
|
34
|
+
}
|
|
35
|
+
catch (err) {
|
|
36
|
+
if (err.code === 'ENOENT')
|
|
37
|
+
return;
|
|
38
|
+
throw err;
|
|
39
|
+
}
|
|
40
|
+
const beginIdx = content.indexOf(LEGACY_MANAGED_BEGIN);
|
|
41
|
+
const endIdx = content.indexOf(LEGACY_MANAGED_END);
|
|
42
|
+
if (beginIdx === -1 || endIdx === -1 || beginIdx > endIdx)
|
|
43
|
+
return;
|
|
44
|
+
const suffixStart = endIdx + LEGACY_MANAGED_END.length;
|
|
45
|
+
const prefix = content.slice(0, beginIdx);
|
|
46
|
+
const suffix = content.slice(suffixStart).replace(/^\n+/, '');
|
|
47
|
+
const nextContent = `${prefix}${suffix}`;
|
|
48
|
+
if (nextContent.trim() === '') {
|
|
49
|
+
fs.unlinkSync(agentsPath);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
fs.writeFileSync(agentsPath, nextContent, 'utf-8');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Write (or overwrite) the SKILL.md file for a Codex CLI skill.
|
|
57
|
+
*
|
|
58
|
+
* Target path: `<homeDir>/.codex/skills/<skillName>/SKILL.md`
|
|
59
|
+
*/
|
|
60
|
+
export function installCodexCli(opts) {
|
|
61
|
+
const { skillName, content, homeDir, skillsRoot } = opts;
|
|
62
|
+
const skillDir = resolveSkillDir(homeDir, skillName);
|
|
63
|
+
if (skillDir === null) {
|
|
64
|
+
throw new Error(`Invalid Codex CLI skill name: ${skillName}`);
|
|
65
|
+
}
|
|
66
|
+
removeLegacyManagedAgentsBlock(homeDir);
|
|
67
|
+
const inlinedContent = inlineIncludes('Codex CLI skill writer', content, skillsRoot);
|
|
68
|
+
fs.mkdirSync(skillDir, { recursive: true });
|
|
69
|
+
fs.writeFileSync(path.join(skillDir, 'SKILL.md'), inlinedContent, 'utf-8');
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Uninstall a Codex CLI skill by removing its directory.
|
|
73
|
+
*
|
|
74
|
+
* This is a no-op when the directory does not exist or when `skillName` would
|
|
75
|
+
* escape the Codex skills directory.
|
|
76
|
+
*/
|
|
77
|
+
export function uninstallCodexCli(skillName, homeDir) {
|
|
78
|
+
removeLegacyManagedAgentsBlock(homeDir);
|
|
79
|
+
const skillDir = resolveSkillDir(homeDir, skillName);
|
|
80
|
+
if (skillDir === null)
|
|
81
|
+
return;
|
|
82
|
+
fs.rmSync(skillDir, { recursive: true, force: true });
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=codex-cli.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codex-cli.js","sourceRoot":"","sources":["../../../src/tool-surface/skill-installers/codex-cli.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,MAAM,oBAAoB,GAAG,kCAAkC,CAAC;AAChE,MAAM,kBAAkB,GAAG,gCAAgC,CAAC;AAgB5D,SAAS,eAAe,CAAC,OAAe;IACtC,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;AACnD,CAAC;AAED,SAAS,eAAe,CAAC,OAAe,EAAE,SAAiB;IACzD,MAAM,IAAI,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IACtC,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;IAC/D,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IACvD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,8BAA8B,CAAC,OAAe;IACrD,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC;IAC7D,IAAI,OAAe,CAAC;IACpB,IAAI,CAAC;QACH,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,IAAK,GAA6B,CAAC,IAAI,KAAK,QAAQ;YAAE,OAAO;QAC7D,MAAM,GAAG,CAAC;IACZ,CAAC;IAED,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACvD,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACnD,IAAI,QAAQ,KAAK,CAAC,CAAC,IAAI,MAAM,KAAK,CAAC,CAAC,IAAI,QAAQ,GAAG,MAAM;QAAE,OAAO;IAElE,MAAM,WAAW,GAAG,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC;IACvD,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;IAC1C,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IAC9D,MAAM,WAAW,GAAG,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;IAEzC,IAAI,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;QAC9B,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IAC5B,CAAC;SAAM,CAAC;QACN,EAAE,CAAC,aAAa,CAAC,UAAU,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,IAAyB;IACvD,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IACzD,MAAM,QAAQ,GAAG,eAAe,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IACrD,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,iCAAiC,SAAS,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,8BAA8B,CAAC,OAAO,CAAC,CAAC;IACxC,MAAM,cAAc,GAAG,cAAc,CAAC,wBAAwB,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IACrF,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC5C,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC;AAC7E,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,SAAiB,EAAE,OAAe;IAClE,8BAA8B,CAAC,OAAO,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG,eAAe,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IACrD,IAAI,QAAQ,KAAK,IAAI;QAAE,OAAO;IAC9B,EAAE,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AACxD,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Options for installing a Cursor skill.
|
|
3
|
+
*
|
|
4
|
+
* NOTE: `homeDir` is accepted for API parity with other skill writers
|
|
5
|
+
* (Claude Code, Gemini CLI, etc.) but is intentionally not used by this
|
|
6
|
+
* writer. The Cursor rules target path is always CWD-relative under
|
|
7
|
+
* `<cwd>/.cursor/rules/`, not homeDir-relative. This is intentional to
|
|
8
|
+
* keep Cursor rules scoped to the project directory.
|
|
9
|
+
*/
|
|
10
|
+
export interface CursorInstallOpts {
|
|
11
|
+
/**
|
|
12
|
+
* Raw skill content. May contain `@include _shared/<file>.md` directives
|
|
13
|
+
* which are inlined before writing.
|
|
14
|
+
*/
|
|
15
|
+
content: string;
|
|
16
|
+
/**
|
|
17
|
+
* Working directory — replaces `process.cwd()`.
|
|
18
|
+
* Used to construct the CWD-relative target path:
|
|
19
|
+
* `<cwd>/.cursor/rules/multi-model-agent.mdc`
|
|
20
|
+
*/
|
|
21
|
+
cwd: string;
|
|
22
|
+
/**
|
|
23
|
+
* Home directory. Accepted for API signature compatibility with other
|
|
24
|
+
* skill writers, but NOT used by this writer. Cursor rules are always
|
|
25
|
+
* written relative to `cwd`, not `homeDir`.
|
|
26
|
+
*/
|
|
27
|
+
homeDir: string;
|
|
28
|
+
/**
|
|
29
|
+
* Where shared files live. The writer reads `<skillsRoot>/_shared/<path>`
|
|
30
|
+
* when inlining `@include` directives.
|
|
31
|
+
*/
|
|
32
|
+
skillsRoot: string;
|
|
33
|
+
/**
|
|
34
|
+
* If true, overwrite the existing file. If false (default), skip writing
|
|
35
|
+
* when the file already exists.
|
|
36
|
+
*/
|
|
37
|
+
force?: boolean;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Result of `installCursor`.
|
|
41
|
+
*/
|
|
42
|
+
export interface CursorInstallResult {
|
|
43
|
+
/**
|
|
44
|
+
* `true` if the file was written, `false` if it was skipped because it
|
|
45
|
+
* already exists and `force` was not set.
|
|
46
|
+
*/
|
|
47
|
+
written: boolean;
|
|
48
|
+
/** The full path that was (or would have been) written. */
|
|
49
|
+
targetPath: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Install the multi-model-agent skill for Cursor.
|
|
53
|
+
*
|
|
54
|
+
* - Target path is `<cwd>/.cursor/rules/multi-model-agent.mdc` (CWD-relative).
|
|
55
|
+
* - Creates `<cwd>/.cursor/rules/` if it does not exist.
|
|
56
|
+
* - Inlines `@include` directives before writing (see `inlineIncludes`).
|
|
57
|
+
* - If the file already exists and `force` is not set, skips writing and
|
|
58
|
+
* returns `written: false`.
|
|
59
|
+
*
|
|
60
|
+
* @param opts Installation options (see `CursorInstallOpts`).
|
|
61
|
+
*/
|
|
62
|
+
export declare function installCursor(opts: CursorInstallOpts): CursorInstallResult;
|
|
63
|
+
/**
|
|
64
|
+
* Uninstall the multi-model-agent Cursor skill.
|
|
65
|
+
*
|
|
66
|
+
* Removes `<cwd>/.cursor/rules/multi-model-agent.mdc`.
|
|
67
|
+
* This is a no-op when the file does not exist (no error is thrown).
|
|
68
|
+
*
|
|
69
|
+
* @param cwd Working directory (replaces `process.cwd()`).
|
|
70
|
+
*/
|
|
71
|
+
export declare function uninstallCursor(cwd: string): void;
|
|
72
|
+
//# sourceMappingURL=cursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../../src/tool-surface/skill-installers/cursor.ts"],"names":[],"mappings":"AA8BA;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB,2DAA2D;IAC3D,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,iBAAiB,GAAG,mBAAmB,CAmB1E;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAmBjD"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cursor skill writer.
|
|
3
|
+
*
|
|
4
|
+
* Writes the skill content to `<cwd>/.cursor/rules/multi-model-agent.mdc`.
|
|
5
|
+
*
|
|
6
|
+
* Before writing, inlines any `@include _shared/<file>.md` directives found in
|
|
7
|
+
* the content. The directive line is replaced with the full content of
|
|
8
|
+
* the corresponding shared file sourced from `<skillsRoot>/_shared/<path>`.
|
|
9
|
+
* The `@include` directive is NOT preserved in the written file.
|
|
10
|
+
*
|
|
11
|
+
* If a referenced shared file is missing (ENOENT):
|
|
12
|
+
* - A warning is logged to stderr.
|
|
13
|
+
* - The include line is removed from the output (not preserved).
|
|
14
|
+
* - Processing continues for remaining directives.
|
|
15
|
+
*
|
|
16
|
+
* Security constraints on `@include` directives:
|
|
17
|
+
* - Only paths beginning with `_shared/` are accepted.
|
|
18
|
+
* - The resolved path must stay within `<skillsRoot>/_shared/`.
|
|
19
|
+
* Path traversal attempts (e.g. `_shared/../secrets.txt`) are rejected
|
|
20
|
+
* with a warning and the directive line is dropped.
|
|
21
|
+
* - Non-`_shared/` paths are rejected with a warning and the directive
|
|
22
|
+
* line is dropped.
|
|
23
|
+
*
|
|
24
|
+
* @module
|
|
25
|
+
*/
|
|
26
|
+
import fs from 'node:fs';
|
|
27
|
+
import path from 'node:path';
|
|
28
|
+
import { inlineIncludes } from '../include-utils.js';
|
|
29
|
+
/**
|
|
30
|
+
* Install the multi-model-agent skill for Cursor.
|
|
31
|
+
*
|
|
32
|
+
* - Target path is `<cwd>/.cursor/rules/multi-model-agent.mdc` (CWD-relative).
|
|
33
|
+
* - Creates `<cwd>/.cursor/rules/` if it does not exist.
|
|
34
|
+
* - Inlines `@include` directives before writing (see `inlineIncludes`).
|
|
35
|
+
* - If the file already exists and `force` is not set, skips writing and
|
|
36
|
+
* returns `written: false`.
|
|
37
|
+
*
|
|
38
|
+
* @param opts Installation options (see `CursorInstallOpts`).
|
|
39
|
+
*/
|
|
40
|
+
export function installCursor(opts) {
|
|
41
|
+
const { content, cwd, skillsRoot, force } = opts;
|
|
42
|
+
const targetPath = path.join(cwd, '.cursor', 'rules', 'multi-model-agent.mdc');
|
|
43
|
+
if (!force && fs.existsSync(targetPath)) {
|
|
44
|
+
process.stderr.write(`Warning: Cursor skill writer: file already exists: ${targetPath} — skipping (use force: true to overwrite)\n`);
|
|
45
|
+
return { written: false, targetPath };
|
|
46
|
+
}
|
|
47
|
+
const rulesDir = path.join(cwd, '.cursor', 'rules');
|
|
48
|
+
fs.mkdirSync(rulesDir, { recursive: true, mode: 0o700 });
|
|
49
|
+
const finalContent = inlineIncludes('Cursor skill writer', content, skillsRoot);
|
|
50
|
+
fs.writeFileSync(targetPath, finalContent, 'utf-8');
|
|
51
|
+
return { written: true, targetPath };
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Uninstall the multi-model-agent Cursor skill.
|
|
55
|
+
*
|
|
56
|
+
* Removes `<cwd>/.cursor/rules/multi-model-agent.mdc`.
|
|
57
|
+
* This is a no-op when the file does not exist (no error is thrown).
|
|
58
|
+
*
|
|
59
|
+
* @param cwd Working directory (replaces `process.cwd()`).
|
|
60
|
+
*/
|
|
61
|
+
export function uninstallCursor(cwd) {
|
|
62
|
+
const targetPath = path.join(cwd, '.cursor', 'rules', 'multi-model-agent.mdc');
|
|
63
|
+
// Only remove the file if it exists and is a file (not a directory).
|
|
64
|
+
// This is a no-op when the path does not exist.
|
|
65
|
+
try {
|
|
66
|
+
const stat = fs.statSync(targetPath);
|
|
67
|
+
if (stat.isFile()) {
|
|
68
|
+
fs.unlinkSync(targetPath);
|
|
69
|
+
}
|
|
70
|
+
// If it's a directory or symlink to directory, do nothing — the brief
|
|
71
|
+
// specifies removing a file, not a directory tree.
|
|
72
|
+
}
|
|
73
|
+
catch (err) {
|
|
74
|
+
const nodeErr = err;
|
|
75
|
+
// ENOENT means the file doesn't exist — that's fine, we were asked to remove it
|
|
76
|
+
if (nodeErr.code !== 'ENOENT') {
|
|
77
|
+
throw err;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=cursor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursor.js","sourceRoot":"","sources":["../../../src/tool-surface/skill-installers/cursor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAsDrD;;;;;;;;;;GAUG;AACH,MAAM,UAAU,aAAa,CAAC,IAAuB;IACnD,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAEjD,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,uBAAuB,CAAC,CAAC;IAE/E,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QACxC,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,sDAAsD,UAAU,8CAA8C,CAC/G,CAAC;QACF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;IACxC,CAAC;IAED,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IACpD,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAEzD,MAAM,YAAY,GAAG,cAAc,CAAC,qBAAqB,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IAChF,EAAE,CAAC,aAAa,CAAC,UAAU,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;IAEpD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;AACvC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,eAAe,CAAC,GAAW;IACzC,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,uBAAuB,CAAC,CAAC;IAE/E,qEAAqE;IACrE,gDAAgD;IAChD,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QACrC,IAAI,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC;YAClB,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;QAC5B,CAAC;QACD,sEAAsE;QACtE,mDAAmD;IACrD,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,OAAO,GAAG,GAA4B,CAAC;QAC7C,gFAAgF;QAChF,IAAI,OAAO,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC9B,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Options for installing a skill via the Gemini CLI writer.
|
|
3
|
+
*/
|
|
4
|
+
export interface GeminiCliInstallOpts {
|
|
5
|
+
/** Skill name (currently informational; writes always go to multi-model-agent extension). */
|
|
6
|
+
skillName: string;
|
|
7
|
+
/**
|
|
8
|
+
* Raw SKILL.md content. May contain `@include _shared/<file>.md` directives
|
|
9
|
+
* which are inlined before writing.
|
|
10
|
+
*/
|
|
11
|
+
content: string;
|
|
12
|
+
/**
|
|
13
|
+
* Version string for the extension manifest's `version` field.
|
|
14
|
+
*/
|
|
15
|
+
skillVersion: string;
|
|
16
|
+
/**
|
|
17
|
+
* The "home directory" that replaces `os.homedir()`.
|
|
18
|
+
* Must NOT default to `os.homedir()` — always required explicitly.
|
|
19
|
+
*/
|
|
20
|
+
homeDir: string;
|
|
21
|
+
/**
|
|
22
|
+
* Where shared files live. The writer reads `<skillsRoot>/_shared/<file>.md`
|
|
23
|
+
* when inlining `@include` directives.
|
|
24
|
+
*/
|
|
25
|
+
skillsRoot: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Inline `@include _shared/<file>.md` directives in `content`.
|
|
29
|
+
*
|
|
30
|
+
* Each line matching `@include <path>` (space after `@include`) is replaced with
|
|
31
|
+
* the full content of `<skillsRoot>/_shared/<path>`.
|
|
32
|
+
*
|
|
33
|
+
* If a shared file is missing:
|
|
34
|
+
* - A warning is written to stderr.
|
|
35
|
+
* - The include line is removed from the output (not preserved).
|
|
36
|
+
* - Processing continues for remaining directives.
|
|
37
|
+
*
|
|
38
|
+
* @param content Raw SKILL.md content (may contain @include directives).
|
|
39
|
+
* @param skillsRoot Root directory containing `_shared/` sub-directory.
|
|
40
|
+
* @returns The content with directives inlined.
|
|
41
|
+
*/
|
|
42
|
+
export declare function inlineIncludes(content: string, skillsRoot: string): string;
|
|
43
|
+
/**
|
|
44
|
+
* Install a skill to the Gemini CLI extensions directory.
|
|
45
|
+
*
|
|
46
|
+
* Writes two files into `<homeDir>/.gemini/extensions/multi-model-agent/`:
|
|
47
|
+
* 1. `gemini-extension.json` — the extension manifest
|
|
48
|
+
* 2. `SKILL.md` — the skill content with @include directives inlined
|
|
49
|
+
*
|
|
50
|
+
* The directory (and any parent directories) are created with mode `0o700`.
|
|
51
|
+
* Calling this function multiple times overwrites the previous installation
|
|
52
|
+
* (idempotent).
|
|
53
|
+
*
|
|
54
|
+
* @param opts Installation options (see `GeminiCliInstallOpts`).
|
|
55
|
+
*/
|
|
56
|
+
export declare function installGeminiCli(opts: GeminiCliInstallOpts): void;
|
|
57
|
+
/**
|
|
58
|
+
* Uninstall the multi-model-agent Gemini CLI extension.
|
|
59
|
+
*
|
|
60
|
+
* Recursively removes `<homeDir>/.gemini/extensions/multi-model-agent/`.
|
|
61
|
+
* This is a no-op when the directory does not exist (no error is thrown).
|
|
62
|
+
*
|
|
63
|
+
* @param homeDir The "home directory" that replaces `os.homedir()`.
|
|
64
|
+
*/
|
|
65
|
+
export declare function uninstallGeminiCli(homeDir: string): void;
|
|
66
|
+
//# sourceMappingURL=gemini-cli.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gemini-cli.d.ts","sourceRoot":"","sources":["../../../src/tool-surface/skill-installers/gemini-cli.ts"],"names":[],"mappings":"AAwBA;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,6FAA6F;IAC7F,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CA6B1E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,GAAG,IAAI,CAuBjE;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAKxD"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gemini CLI skill writer.
|
|
3
|
+
*
|
|
4
|
+
* Writes to `<homeDir>/.gemini/extensions/multi-model-agent/`:
|
|
5
|
+
* - `gemini-extension.json` — extension manifest
|
|
6
|
+
* - `SKILL.md` — skill content (with @include directives inlined)
|
|
7
|
+
*
|
|
8
|
+
* The extension is always named `multi-model-agent` regardless of `skillName`
|
|
9
|
+
* (the extension loads whichever skill files are provided). This is a
|
|
10
|
+
* judgment call because the Gemini CLI extension format is not fully
|
|
11
|
+
* standardized; a minimal JSON schema is used.
|
|
12
|
+
*
|
|
13
|
+
* Before writing SKILL.md, any `@include _shared/<file>.md` directive lines
|
|
14
|
+
* are replaced with the file content from `<skillsRoot>/_shared/<file>.md`.
|
|
15
|
+
* Missing shared files → warning to stderr, line is dropped.
|
|
16
|
+
*
|
|
17
|
+
* @module
|
|
18
|
+
*/
|
|
19
|
+
import fs from 'node:fs';
|
|
20
|
+
import path from 'node:path';
|
|
21
|
+
/** Regex matching a line that starts with `@include ` followed by a relative path. */
|
|
22
|
+
const INCLUDE_RE = /^@include\s+(.+)$/;
|
|
23
|
+
/**
|
|
24
|
+
* Inline `@include _shared/<file>.md` directives in `content`.
|
|
25
|
+
*
|
|
26
|
+
* Each line matching `@include <path>` (space after `@include`) is replaced with
|
|
27
|
+
* the full content of `<skillsRoot>/_shared/<path>`.
|
|
28
|
+
*
|
|
29
|
+
* If a shared file is missing:
|
|
30
|
+
* - A warning is written to stderr.
|
|
31
|
+
* - The include line is removed from the output (not preserved).
|
|
32
|
+
* - Processing continues for remaining directives.
|
|
33
|
+
*
|
|
34
|
+
* @param content Raw SKILL.md content (may contain @include directives).
|
|
35
|
+
* @param skillsRoot Root directory containing `_shared/` sub-directory.
|
|
36
|
+
* @returns The content with directives inlined.
|
|
37
|
+
*/
|
|
38
|
+
export function inlineIncludes(content, skillsRoot) {
|
|
39
|
+
const lines = content.split('\n');
|
|
40
|
+
const result = [];
|
|
41
|
+
for (const line of lines) {
|
|
42
|
+
const match = INCLUDE_RE.exec(line);
|
|
43
|
+
if (!match) {
|
|
44
|
+
result.push(line);
|
|
45
|
+
continue;
|
|
46
|
+
}
|
|
47
|
+
const relativePath = match[1];
|
|
48
|
+
const sharedFilePath = path.join(skillsRoot, relativePath);
|
|
49
|
+
try {
|
|
50
|
+
const sharedContent = fs.readFileSync(sharedFilePath, 'utf-8');
|
|
51
|
+
result.push(sharedContent);
|
|
52
|
+
}
|
|
53
|
+
catch (err) {
|
|
54
|
+
// Log warning to stderr and drop the include line.
|
|
55
|
+
const detail = err instanceof Error ? err.message : String(err);
|
|
56
|
+
process.stderr.write(`Warning: Gemini CLI skill writer: shared file not found: ` +
|
|
57
|
+
`${sharedFilePath} (referenced by @include ${relativePath}) — ${detail}\n`);
|
|
58
|
+
// Line is dropped — do not push anything.
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return result.join('\n');
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Install a skill to the Gemini CLI extensions directory.
|
|
65
|
+
*
|
|
66
|
+
* Writes two files into `<homeDir>/.gemini/extensions/multi-model-agent/`:
|
|
67
|
+
* 1. `gemini-extension.json` — the extension manifest
|
|
68
|
+
* 2. `SKILL.md` — the skill content with @include directives inlined
|
|
69
|
+
*
|
|
70
|
+
* The directory (and any parent directories) are created with mode `0o700`.
|
|
71
|
+
* Calling this function multiple times overwrites the previous installation
|
|
72
|
+
* (idempotent).
|
|
73
|
+
*
|
|
74
|
+
* @param opts Installation options (see `GeminiCliInstallOpts`).
|
|
75
|
+
*/
|
|
76
|
+
export function installGeminiCli(opts) {
|
|
77
|
+
const { skillName: _skillName, content, skillVersion, homeDir, skillsRoot } = opts;
|
|
78
|
+
const extDir = path.join(homeDir, '.gemini', 'extensions', 'multi-model-agent');
|
|
79
|
+
fs.mkdirSync(extDir, { recursive: true, mode: 0o700 });
|
|
80
|
+
// Write the extension manifest.
|
|
81
|
+
// Shape is a minimal reasonable schema; Gemini CLI extension format is not
|
|
82
|
+
// fully standardized, so we document this judgment call.
|
|
83
|
+
const manifest = {
|
|
84
|
+
name: 'multi-model-agent',
|
|
85
|
+
version: skillVersion,
|
|
86
|
+
description: 'multi-model-agent skills for Gemini CLI',
|
|
87
|
+
schemaVersion: '1.0',
|
|
88
|
+
contextFiles: ['SKILL.md'],
|
|
89
|
+
};
|
|
90
|
+
const manifestPath = path.join(extDir, 'gemini-extension.json');
|
|
91
|
+
fs.writeFileSync(manifestPath, JSON.stringify(manifest, null, 2) + '\n', 'utf-8');
|
|
92
|
+
// Write the skill content with @include directives inlined.
|
|
93
|
+
const finalContent = inlineIncludes(content, skillsRoot);
|
|
94
|
+
const skillPath = path.join(extDir, 'SKILL.md');
|
|
95
|
+
fs.writeFileSync(skillPath, finalContent, 'utf-8');
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Uninstall the multi-model-agent Gemini CLI extension.
|
|
99
|
+
*
|
|
100
|
+
* Recursively removes `<homeDir>/.gemini/extensions/multi-model-agent/`.
|
|
101
|
+
* This is a no-op when the directory does not exist (no error is thrown).
|
|
102
|
+
*
|
|
103
|
+
* @param homeDir The "home directory" that replaces `os.homedir()`.
|
|
104
|
+
*/
|
|
105
|
+
export function uninstallGeminiCli(homeDir) {
|
|
106
|
+
const extDir = path.join(homeDir, '.gemini', 'extensions', 'multi-model-agent');
|
|
107
|
+
if (fs.existsSync(extDir)) {
|
|
108
|
+
fs.rmSync(extDir, { recursive: true, force: true });
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=gemini-cli.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gemini-cli.js","sourceRoot":"","sources":["../../../src/tool-surface/skill-installers/gemini-cli.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,sFAAsF;AACtF,MAAM,UAAU,GAAG,mBAAmB,CAAC;AA6BvC;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,cAAc,CAAC,OAAe,EAAE,UAAkB;IAChE,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAClC,MAAM,MAAM,GAAa,EAAE,CAAC;IAE5B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpC,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAClB,SAAS;QACX,CAAC;QAED,MAAM,YAAY,GAAG,KAAK,CAAC,CAAC,CAAE,CAAC;QAC/B,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAE3D,IAAI,CAAC;YACH,MAAM,aAAa,GAAG,EAAE,CAAC,YAAY,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;YAC/D,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC7B,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,mDAAmD;YACnD,MAAM,MAAM,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YAChE,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,2DAA2D;gBAC3D,GAAG,cAAc,4BAA4B,YAAY,OAAO,MAAM,IAAI,CAC3E,CAAC;YACF,0CAA0C;QAC5C,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC3B,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,gBAAgB,CAAC,IAA0B;IACzD,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAEnF,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,mBAAmB,CAAC,CAAC;IAChF,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAEvD,gCAAgC;IAChC,2EAA2E;IAC3E,yDAAyD;IACzD,MAAM,QAAQ,GAAG;QACf,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,YAAY;QACrB,WAAW,EAAE,yCAAyC;QACtD,aAAa,EAAE,KAAK;QACpB,YAAY,EAAE,CAAC,UAAU,CAAC;KAC3B,CAAC;IACF,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;IAChE,EAAE,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC,CAAC;IAElF,4DAA4D;IAC5D,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;IACzD,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAChD,EAAE,CAAC,aAAa,CAAC,SAAS,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;AACrD,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAAe;IAChD,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,mBAAmB,CAAC,CAAC;IAChF,IAAI,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACtD,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Client } from './manifest.js';
|
|
2
|
+
export interface DriftEntry {
|
|
3
|
+
skill: string;
|
|
4
|
+
client: Client;
|
|
5
|
+
issue: 'missing' | 'outdated' | 'orphan';
|
|
6
|
+
}
|
|
7
|
+
export interface SkillManifestSync {
|
|
8
|
+
driftReport(): DriftEntry[];
|
|
9
|
+
}
|
|
10
|
+
export declare function makeSkillManifestSync(perClientInstallDirs: Partial<Record<Client, string>>): SkillManifestSync;
|
|
11
|
+
//# sourceMappingURL=skill-manifest-sync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-manifest-sync.d.ts","sourceRoot":"","sources":["../../src/tool-surface/skill-manifest-sync.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;CAC1C;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,IAAI,UAAU,EAAE,CAAC;CAC7B;AAcD,wBAAgB,qBAAqB,CAAC,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAuC9G"}
|