@probelabs/visor 0.1.106 → 0.1.107
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 +65 -2
- package/action.yml +1 -1
- package/defaults/code-refiner.yaml +114 -0
- package/defaults/{.visor.yaml → code-review.yaml} +35 -226
- package/defaults/override.yaml +52 -0
- package/defaults/task-refinement.yaml +620 -0
- package/defaults/visor.tests.yaml +674 -0
- package/defaults/visor.yaml +482 -0
- package/dist/663.index.js +2 -3
- package/dist/80.index.js +2 -3
- package/dist/action-cli-bridge.d.ts +11 -82
- package/dist/action-cli-bridge.d.ts.map +1 -1
- package/dist/ai-review-service.d.ts +15 -0
- package/dist/ai-review-service.d.ts.map +1 -1
- package/dist/check-execution-engine.d.ts +19 -331
- package/dist/check-execution-engine.d.ts.map +1 -1
- package/dist/cli-main.d.ts.map +1 -1
- package/dist/cli.d.ts +0 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/config.d.ts +16 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/cron-scheduler.d.ts +3 -3
- package/dist/cron-scheduler.d.ts.map +1 -1
- package/dist/debug-visualizer/ws-server.d.ts.map +1 -1
- package/dist/defaults/code-refiner.yaml +114 -0
- package/dist/defaults/{.visor.yaml → code-review.yaml} +35 -226
- package/dist/defaults/override.yaml +52 -0
- package/dist/defaults/task-refinement.yaml +620 -0
- package/dist/defaults/visor.tests.yaml +674 -0
- package/dist/defaults/visor.yaml +482 -0
- package/dist/docs/DEPLOYMENT.md +118 -0
- package/dist/docs/GITHUB_CHECKS.md +280 -0
- package/dist/docs/NPM_USAGE.md +208 -0
- package/dist/docs/action-reference.md +19 -0
- package/dist/docs/advanced-ai.md +178 -0
- package/dist/docs/ai-configuration.md +468 -0
- package/dist/docs/author-permissions.md +610 -0
- package/dist/docs/ci-cli-mode.md +34 -0
- package/dist/docs/claude-code.md +74 -0
- package/dist/docs/command-provider.md +559 -0
- package/dist/docs/commands.md +8 -0
- package/dist/docs/configuration.md +303 -0
- package/dist/docs/custom-tools.md +424 -0
- package/dist/docs/dashboards/README.md +23 -0
- package/dist/docs/dashboards/grafana-visor-diagrams.json +20 -0
- package/dist/docs/dashboards/grafana-visor-overview.json +33 -0
- package/dist/docs/debug-visualizer-progress.md +572 -0
- package/dist/docs/debug-visualizer-rfc.md +691 -0
- package/dist/docs/debug-visualizer.md +114 -0
- package/dist/docs/debugging.md +636 -0
- package/dist/docs/default-output-schema.md +28 -0
- package/dist/docs/dependencies.md +369 -0
- package/dist/docs/dev-playbook.md +9 -0
- package/dist/docs/engine-state-machine-plan.md +333 -0
- package/dist/docs/event-driven-github-integration-rfc.md +743 -0
- package/dist/docs/event-triggers.md +292 -0
- package/dist/docs/execution-statistics-rfc.md +290 -0
- package/dist/docs/fact-validator-gap-analysis.md +178 -0
- package/dist/docs/fact-validator-implementation-plan.md +1235 -0
- package/dist/docs/fail-if.md +95 -0
- package/dist/docs/failure-conditions-implementation.md +271 -0
- package/dist/docs/failure-conditions-schema.md +173 -0
- package/dist/docs/failure-routing-rfc.md +193 -0
- package/dist/docs/failure-routing.md +507 -0
- package/dist/docs/foreach-dependency-propagation.md +473 -0
- package/dist/docs/github-ops.md +89 -0
- package/dist/docs/goto-forward-run-plan.md +113 -0
- package/dist/docs/guides/criticality-modes.md +332 -0
- package/dist/docs/guides/fault-management-and-contracts.md +738 -0
- package/dist/docs/guides/workflow-style-guide.md +224 -0
- package/dist/docs/http.md +299 -0
- package/dist/docs/human-input-provider.md +372 -0
- package/dist/docs/limits.md +64 -0
- package/dist/docs/liquid-templates.md +347 -0
- package/dist/docs/loop-routing-refactor.md +89 -0
- package/dist/docs/mcp-provider.md +557 -0
- package/dist/docs/mcp.md +124 -0
- package/dist/docs/memory.md +903 -0
- package/dist/docs/observability.md +12 -0
- package/dist/docs/output-formats.md +20 -0
- package/dist/docs/output-formatting.md +29 -0
- package/dist/docs/output-history.md +383 -0
- package/dist/docs/performance.md +6 -0
- package/dist/docs/pluggable.md +124 -0
- package/dist/docs/proposals/snapshot-scope-execution.md +236 -0
- package/dist/docs/recipes.md +21 -0
- package/dist/docs/roadmap/criticality-implementation-tasks.md +92 -0
- package/dist/docs/schema-next-pr.md +10 -0
- package/dist/docs/schema-templates.md +68 -0
- package/dist/docs/script.md +34 -0
- package/dist/docs/sdk.md +222 -0
- package/dist/docs/security.md +7 -0
- package/dist/docs/suppressions.md +89 -0
- package/dist/docs/tag-filtering.md +258 -0
- package/dist/docs/telemetry-setup.md +119 -0
- package/dist/docs/telemetry-tracing-rfc.md +275 -0
- package/dist/docs/test-framework-rfc.md +680 -0
- package/dist/docs/testing/assertions.md +85 -0
- package/dist/docs/testing/ci.md +44 -0
- package/dist/docs/testing/cli.md +41 -0
- package/dist/docs/testing/cookbook.md +172 -0
- package/dist/docs/testing/dsl-reference.md +199 -0
- package/dist/docs/testing/fixtures-and-mocks.md +91 -0
- package/dist/docs/testing/flows.md +92 -0
- package/dist/docs/testing/getting-started.md +93 -0
- package/dist/docs/testing/troubleshooting.md +55 -0
- package/dist/docs/timeouts.md +50 -0
- package/dist/docs/troubleshooting.md +7 -0
- package/dist/docs/visor-sdk-rfc.md +186 -0
- package/dist/docs/workflows.md +569 -0
- package/dist/engine/on-finish/orchestrator.d.ts +19 -0
- package/dist/engine/on-finish/orchestrator.d.ts.map +1 -0
- package/dist/engine/on-finish/utils.d.ts +44 -0
- package/dist/engine/on-finish/utils.d.ts.map +1 -0
- package/dist/event-bus/event-bus.d.ts +13 -0
- package/dist/event-bus/event-bus.d.ts.map +1 -0
- package/dist/event-bus/types.d.ts +57 -0
- package/dist/event-bus/types.d.ts.map +1 -0
- package/dist/examples/.claude/agents/code-reviewer.md +69 -0
- package/dist/examples/.mcp.json +34 -0
- package/dist/examples/CALCULATOR-SDK.md +364 -0
- package/dist/examples/README.md +384 -0
- package/dist/examples/ai-retry-fallback-config.yaml +180 -0
- package/dist/examples/ai-with-bash.yaml +126 -0
- package/dist/examples/ai-with-mcp.yaml +82 -0
- package/dist/examples/basic-human-input.yaml +15 -0
- package/dist/examples/bedrock-config.yaml +77 -0
- package/dist/examples/calculator-config.yaml +133 -0
- package/dist/examples/calculator-json-output-guide.md +311 -0
- package/dist/examples/calculator-sdk-automated.ts +340 -0
- package/dist/examples/calculator-sdk-example.ts +275 -0
- package/dist/examples/calculator-sdk-json.ts +331 -0
- package/dist/examples/calculator-sdk-real.ts +374 -0
- package/dist/examples/calculator-sdk-test.ts +148 -0
- package/dist/examples/claude-code-config.yaml +191 -0
- package/dist/examples/cron-webhook-config.yaml +215 -0
- package/dist/examples/custom-template.liquid +57 -0
- package/dist/examples/custom-tools-example.yaml +281 -0
- package/dist/examples/enhanced-config.yaml +165 -0
- package/dist/examples/environments/visor.base.yaml +92 -0
- package/dist/examples/environments/visor.dev.yaml +33 -0
- package/dist/examples/environments/visor.prod.yaml +95 -0
- package/dist/examples/environments/visor.staging.yaml +46 -0
- package/dist/examples/fact-validator.yaml +361 -0
- package/dist/examples/fail-if-simple.yaml +90 -0
- package/dist/examples/failure-conditions-advanced.yaml +136 -0
- package/dist/examples/failure-conditions-basic.yaml +48 -0
- package/dist/examples/failure-conditions-github-style.yaml +119 -0
- package/dist/examples/failure-conditions-migration.yaml +74 -0
- package/dist/examples/for-loop-example.yaml +176 -0
- package/dist/examples/forEach-example.yaml +120 -0
- package/dist/examples/github-workflow-with-tags.yml +163 -0
- package/dist/examples/http-integration-config.yaml +240 -0
- package/dist/examples/https-server-config.yaml +209 -0
- package/dist/examples/human-input-example.yaml +63 -0
- package/dist/examples/if-conditions.yaml +173 -0
- package/dist/examples/jira-simple-example.yaml +56 -0
- package/dist/examples/jira-single-issue-workflow.yaml +166 -0
- package/dist/examples/jira-workflow-mcp.yaml +182 -0
- package/dist/examples/mcp/analyzer.py +119 -0
- package/dist/examples/mcp-provider-example.yaml +301 -0
- package/dist/examples/memory-counter.yaml +99 -0
- package/dist/examples/memory-error-collection.yaml +104 -0
- package/dist/examples/memory-exec-js.yaml +247 -0
- package/dist/examples/memory-namespace-isolation.yaml +184 -0
- package/dist/examples/memory-retry-counter.yaml +65 -0
- package/dist/examples/memory-state-machine.yaml +170 -0
- package/dist/examples/outputs-raw-basic.yaml +26 -0
- package/dist/examples/project-with-tools.yaml +174 -0
- package/dist/examples/prompts/architecture-analysis.liquid +116 -0
- package/dist/examples/prompts/security-comprehensive.liquid +107 -0
- package/dist/examples/quick-start-tags.yaml +53 -0
- package/dist/examples/routing-basic.yaml +35 -0
- package/dist/examples/routing-dynamic-js.yaml +46 -0
- package/dist/examples/routing-foreach.yaml +34 -0
- package/dist/examples/routing-goto-event.yaml +34 -0
- package/dist/examples/routing-on-success.yaml +25 -0
- package/dist/examples/run-calculator-demo.sh +71 -0
- package/dist/examples/sdk-basic.mjs +10 -0
- package/dist/examples/sdk-cjs.cjs +10 -0
- package/dist/examples/sdk-comprehensive.mjs +175 -0
- package/dist/examples/sdk-manual-config.mjs +65 -0
- package/dist/examples/sdk-typescript.js +81 -0
- package/dist/examples/sdk-typescript.ts +92 -0
- package/dist/examples/session-reuse-config.yaml +151 -0
- package/dist/examples/templates/security-report.liquid +137 -0
- package/dist/examples/tools-library.yaml +281 -0
- package/dist/examples/transform-example.yaml +199 -0
- package/dist/examples/visor-with-tags.yaml +198 -0
- package/dist/examples/webhook-pipeline-config.yaml +218 -0
- package/dist/examples/workflows/calculator-workflow.yaml +163 -0
- package/dist/examples/workflows/code-quality.yaml +222 -0
- package/dist/examples/workflows/quick-pr-check.yaml +90 -0
- package/dist/examples/workflows/workflow-composition-example.yaml +130 -0
- package/dist/failure-condition-evaluator.d.ts +1 -0
- package/dist/failure-condition-evaluator.d.ts.map +1 -1
- package/dist/frontends/github-frontend.d.ts +38 -0
- package/dist/frontends/github-frontend.d.ts.map +1 -0
- package/dist/frontends/host.d.ts +43 -0
- package/dist/frontends/host.d.ts.map +1 -0
- package/dist/frontends/ndjson-sink.d.ts +12 -0
- package/dist/frontends/ndjson-sink.d.ts.map +1 -0
- package/dist/generated/config-schema.d.ts +564 -22
- package/dist/generated/config-schema.d.ts.map +1 -1
- package/dist/generated/config-schema.json +612 -24
- package/dist/github-check-service.d.ts +4 -6
- package/dist/github-check-service.d.ts.map +1 -1
- package/dist/github-comments.d.ts +0 -4
- package/dist/github-comments.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +70335 -62514
- package/dist/liquid-extensions.d.ts.map +1 -1
- package/dist/logger.d.ts +1 -0
- package/dist/logger.d.ts.map +1 -1
- package/dist/memory-store.d.ts +6 -0
- package/dist/memory-store.d.ts.map +1 -1
- package/dist/output/assistant-json/template.liquid +0 -0
- package/dist/output/traces/run-2025-11-21T11-50-46-505Z.ndjson +138 -0
- package/dist/output/traces/run-2025-11-21T11-51-33-674Z.ndjson +839 -0
- package/dist/output-formatters.d.ts +1 -1
- package/dist/output-formatters.d.ts.map +1 -1
- package/dist/providers/ai-check-provider.d.ts.map +1 -1
- package/dist/providers/check-provider-registry.d.ts +6 -0
- package/dist/providers/check-provider-registry.d.ts.map +1 -1
- package/dist/providers/check-provider.interface.d.ts +34 -1
- package/dist/providers/check-provider.interface.d.ts.map +1 -1
- package/dist/providers/claude-code-check-provider.d.ts.map +1 -1
- package/dist/providers/command-check-provider.d.ts +1 -1
- package/dist/providers/command-check-provider.d.ts.map +1 -1
- package/dist/providers/custom-tool-executor.d.ts +61 -0
- package/dist/providers/custom-tool-executor.d.ts.map +1 -0
- package/dist/providers/github-ops-provider.d.ts.map +1 -1
- package/dist/providers/http-client-provider.d.ts +1 -4
- package/dist/providers/http-client-provider.d.ts.map +1 -1
- package/dist/providers/human-input-check-provider.d.ts +3 -0
- package/dist/providers/human-input-check-provider.d.ts.map +1 -1
- package/dist/providers/index.d.ts +1 -0
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/log-check-provider.d.ts +2 -5
- package/dist/providers/log-check-provider.d.ts.map +1 -1
- package/dist/providers/mcp-check-provider.d.ts +9 -3
- package/dist/providers/mcp-check-provider.d.ts.map +1 -1
- package/dist/providers/memory-check-provider.d.ts +2 -8
- package/dist/providers/memory-check-provider.d.ts.map +1 -1
- package/dist/providers/script-check-provider.d.ts +25 -0
- package/dist/providers/script-check-provider.d.ts.map +1 -0
- package/dist/providers/workflow-check-provider.d.ts +56 -0
- package/dist/providers/workflow-check-provider.d.ts.map +1 -0
- package/dist/reviewer.d.ts +2 -1
- package/dist/reviewer.d.ts.map +1 -1
- package/dist/sdk/chunk-37ZSCMFC.mjs +482 -0
- package/dist/sdk/chunk-37ZSCMFC.mjs.map +1 -0
- package/dist/sdk/chunk-6Y4YTKCF.mjs +197 -0
- package/dist/sdk/chunk-6Y4YTKCF.mjs.map +1 -0
- package/dist/sdk/chunk-CNX7V5JK.mjs +89 -0
- package/dist/sdk/chunk-CNX7V5JK.mjs.map +1 -0
- package/dist/sdk/chunk-IEO6CFLG.mjs +1215 -0
- package/dist/sdk/chunk-IEO6CFLG.mjs.map +1 -0
- package/dist/sdk/chunk-JEHPDJIF.mjs +223 -0
- package/dist/sdk/chunk-JEHPDJIF.mjs.map +1 -0
- package/dist/sdk/chunk-O5EZDNYL.mjs +274 -0
- package/dist/sdk/chunk-O5EZDNYL.mjs.map +1 -0
- package/dist/sdk/{chunk-TUTOLSFV.mjs → chunk-OOZITMRU.mjs} +1 -1
- package/dist/sdk/chunk-OOZITMRU.mjs.map +1 -0
- package/dist/sdk/chunk-OWUVOILT.mjs +557 -0
- package/dist/sdk/chunk-OWUVOILT.mjs.map +1 -0
- package/dist/sdk/chunk-OZJ263FM.mjs +986 -0
- package/dist/sdk/chunk-OZJ263FM.mjs.map +1 -0
- package/dist/sdk/chunk-PTL3K3PN.mjs +3128 -0
- package/dist/sdk/chunk-PTL3K3PN.mjs.map +1 -0
- package/dist/sdk/chunk-S2RUE2RG.mjs +145 -0
- package/dist/sdk/chunk-S2RUE2RG.mjs.map +1 -0
- package/dist/sdk/chunk-VMPLF6FT.mjs +127 -0
- package/dist/sdk/chunk-VMPLF6FT.mjs.map +1 -0
- package/dist/sdk/chunk-YSN4G6CI.mjs +146 -0
- package/dist/sdk/chunk-YSN4G6CI.mjs.map +1 -0
- package/dist/sdk/chunk-ZYAUYXSW.mjs +206 -0
- package/dist/sdk/chunk-ZYAUYXSW.mjs.map +1 -0
- package/dist/sdk/config-M4ZNO6NU.mjs +14 -0
- package/dist/sdk/config-merger-PX3WIT57.mjs +10 -0
- package/dist/sdk/event-bus-5BEVPQ6T.mjs +35 -0
- package/dist/sdk/event-bus-5BEVPQ6T.mjs.map +1 -0
- package/dist/sdk/failure-condition-evaluator-NBO5YRXW.mjs +16 -0
- package/dist/sdk/git-repository-analyzer-HJC4MYW4.mjs +458 -0
- package/dist/sdk/git-repository-analyzer-HJC4MYW4.mjs.map +1 -0
- package/dist/sdk/github-frontend-4AWRJT7D.mjs +1242 -0
- package/dist/sdk/github-frontend-4AWRJT7D.mjs.map +1 -0
- package/dist/sdk/host-7GBC3S7L.mjs +49 -0
- package/dist/sdk/host-7GBC3S7L.mjs.map +1 -0
- package/dist/sdk/{liquid-extensions-KVL4MKRH.mjs → liquid-extensions-C7EG3YKH.mjs} +7 -2
- package/dist/sdk/memory-store-GJACZC2A.mjs +11 -0
- package/dist/sdk/metrics-7PP3EJUH.mjs +29 -0
- package/dist/sdk/ndjson-sink-B4V4NTAQ.mjs +44 -0
- package/dist/sdk/ndjson-sink-B4V4NTAQ.mjs.map +1 -0
- package/dist/sdk/renderer-schema-6RF26VUS.mjs +50 -0
- package/dist/sdk/renderer-schema-6RF26VUS.mjs.map +1 -0
- package/dist/sdk/routing-RP56JTV2.mjs +23 -0
- package/dist/sdk/routing-RP56JTV2.mjs.map +1 -0
- package/dist/sdk/sdk.d.mts +326 -21
- package/dist/sdk/sdk.d.ts +326 -21
- package/dist/sdk/sdk.js +21403 -16366
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +13510 -2096
- package/dist/sdk/sdk.mjs.map +1 -1
- package/dist/sdk/session-registry-N5FFYFTM.mjs +10 -0
- package/dist/sdk/session-registry-N5FFYFTM.mjs.map +1 -0
- package/dist/sdk/trace-helpers-VP6QYVBX.mjs +23 -0
- package/dist/sdk/trace-helpers-VP6QYVBX.mjs.map +1 -0
- package/dist/sdk/{tracer-init-WC75N5NW.mjs → tracer-init-WP4X46IF.mjs} +2 -2
- package/dist/sdk/tracer-init-WP4X46IF.mjs.map +1 -0
- package/dist/sdk/workflow-registry-2YIIXQCK.mjs +11 -0
- package/dist/sdk/workflow-registry-2YIIXQCK.mjs.map +1 -0
- package/dist/sdk.d.ts.map +1 -1
- package/dist/snapshot-store.d.ts +59 -0
- package/dist/snapshot-store.d.ts.map +1 -0
- package/dist/state-machine/context/build-engine-context.d.ts +9 -0
- package/dist/state-machine/context/build-engine-context.d.ts.map +1 -0
- package/dist/state-machine/dispatch/dependency-gating.d.ts +12 -0
- package/dist/state-machine/dispatch/dependency-gating.d.ts.map +1 -0
- package/dist/state-machine/dispatch/execution-invoker.d.ts +14 -0
- package/dist/state-machine/dispatch/execution-invoker.d.ts.map +1 -0
- package/dist/state-machine/dispatch/foreach-processor.d.ts +8 -0
- package/dist/state-machine/dispatch/foreach-processor.d.ts.map +1 -0
- package/dist/state-machine/dispatch/history-snapshot.d.ts +8 -0
- package/dist/state-machine/dispatch/history-snapshot.d.ts.map +1 -0
- package/dist/state-machine/dispatch/renderer-schema.d.ts +8 -0
- package/dist/state-machine/dispatch/renderer-schema.d.ts.map +1 -0
- package/dist/state-machine/dispatch/stats-manager.d.ts +15 -0
- package/dist/state-machine/dispatch/stats-manager.d.ts.map +1 -0
- package/dist/state-machine/dispatch/template-renderer.d.ts +7 -0
- package/dist/state-machine/dispatch/template-renderer.d.ts.map +1 -0
- package/dist/state-machine/execution/summary.d.ts +8 -0
- package/dist/state-machine/execution/summary.d.ts.map +1 -0
- package/dist/state-machine/runner.d.ts +73 -0
- package/dist/state-machine/runner.d.ts.map +1 -0
- package/dist/state-machine/states/check-running.d.ts +14 -0
- package/dist/state-machine/states/check-running.d.ts.map +1 -0
- package/dist/state-machine/states/completed.d.ts +12 -0
- package/dist/state-machine/states/completed.d.ts.map +1 -0
- package/dist/state-machine/states/error.d.ts +11 -0
- package/dist/state-machine/states/error.d.ts.map +1 -0
- package/dist/state-machine/states/init.d.ts +11 -0
- package/dist/state-machine/states/init.d.ts.map +1 -0
- package/dist/state-machine/states/level-dispatch.d.ts +17 -0
- package/dist/state-machine/states/level-dispatch.d.ts.map +1 -0
- package/dist/state-machine/states/plan-ready.d.ts +12 -0
- package/dist/state-machine/states/plan-ready.d.ts.map +1 -0
- package/dist/state-machine/states/routing.d.ts +52 -0
- package/dist/state-machine/states/routing.d.ts.map +1 -0
- package/dist/state-machine/states/wave-planning.d.ts +14 -0
- package/dist/state-machine/states/wave-planning.d.ts.map +1 -0
- package/dist/state-machine/workflow-projection.d.ts +47 -0
- package/dist/state-machine/workflow-projection.d.ts.map +1 -0
- package/dist/state-machine-execution-engine.d.ts +147 -0
- package/dist/state-machine-execution-engine.d.ts.map +1 -0
- package/dist/telemetry/opentelemetry.d.ts.map +1 -1
- package/dist/test-runner/assertions.d.ts +59 -0
- package/dist/test-runner/assertions.d.ts.map +1 -0
- package/dist/test-runner/core/environment.d.ts +8 -0
- package/dist/test-runner/core/environment.d.ts.map +1 -0
- package/dist/test-runner/core/fixture.d.ts +3 -0
- package/dist/test-runner/core/fixture.d.ts.map +1 -0
- package/dist/test-runner/core/flow-stage.d.ts +32 -0
- package/dist/test-runner/core/flow-stage.d.ts.map +1 -0
- package/dist/test-runner/core/mocks.d.ts +8 -0
- package/dist/test-runner/core/mocks.d.ts.map +1 -0
- package/dist/test-runner/core/test-execution-wrapper.d.ts +18 -0
- package/dist/test-runner/core/test-execution-wrapper.d.ts.map +1 -0
- package/dist/test-runner/evaluators.d.ts +12 -0
- package/dist/test-runner/evaluators.d.ts.map +1 -0
- package/dist/test-runner/fixture-loader.d.ts +30 -0
- package/dist/test-runner/fixture-loader.d.ts.map +1 -0
- package/dist/test-runner/index.d.ts +120 -0
- package/dist/test-runner/index.d.ts.map +1 -0
- package/dist/test-runner/recorders/github-recorder.d.ts +23 -0
- package/dist/test-runner/recorders/github-recorder.d.ts.map +1 -0
- package/dist/test-runner/recorders/global-recorder.d.ts +4 -0
- package/dist/test-runner/recorders/global-recorder.d.ts.map +1 -0
- package/dist/test-runner/utils/selectors.d.ts +2 -0
- package/dist/test-runner/utils/selectors.d.ts.map +1 -0
- package/dist/test-runner/validator.d.ts +8 -0
- package/dist/test-runner/validator.d.ts.map +1 -0
- package/dist/traces/run-2025-11-21T11-50-46-505Z.ndjson +138 -0
- package/dist/traces/run-2025-11-21T11-51-33-674Z.ndjson +839 -0
- package/dist/types/cli.d.ts +4 -1
- package/dist/types/cli.d.ts.map +1 -1
- package/dist/types/config.d.ts +278 -5
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/engine.d.ts +172 -0
- package/dist/types/engine.d.ts.map +1 -0
- package/dist/types/execution.d.ts +73 -0
- package/dist/types/execution.d.ts.map +1 -0
- package/dist/types/github.d.ts +51 -0
- package/dist/types/github.d.ts.map +1 -0
- package/dist/types/workflow.d.ts +237 -0
- package/dist/types/workflow.d.ts.map +1 -0
- package/dist/utils/command-executor.d.ts +43 -0
- package/dist/utils/command-executor.d.ts.map +1 -0
- package/dist/utils/comment-metadata.d.ts +21 -0
- package/dist/utils/comment-metadata.d.ts.map +1 -0
- package/dist/utils/config-loader.d.ts.map +1 -1
- package/dist/utils/config-merger.d.ts.map +1 -1
- package/dist/utils/env-exposure.d.ts +3 -0
- package/dist/utils/env-exposure.d.ts.map +1 -0
- package/dist/utils/file-exclusion.d.ts.map +1 -1
- package/dist/utils/interactive-prompt.d.ts +1 -1
- package/dist/utils/interactive-prompt.d.ts.map +1 -1
- package/dist/utils/sandbox.d.ts.map +1 -1
- package/dist/utils/script-memory-ops.d.ts +21 -0
- package/dist/utils/script-memory-ops.d.ts.map +1 -0
- package/dist/utils/template-context.d.ts +7 -0
- package/dist/utils/template-context.d.ts.map +1 -0
- package/dist/webhook-server.d.ts +3 -3
- package/dist/webhook-server.d.ts.map +1 -1
- package/dist/workflow-executor.d.ts +81 -0
- package/dist/workflow-executor.d.ts.map +1 -0
- package/dist/workflow-registry.d.ts +79 -0
- package/dist/workflow-registry.d.ts.map +1 -0
- package/package.json +10 -5
- package/dist/output/traces/run-2025-10-22T18-22-56-873Z.ndjson +0 -218
- package/dist/sdk/check-execution-engine-2YYKUUSH.mjs +0 -11
- package/dist/sdk/check-execution-engine-6QJXYYON.mjs +0 -11
- package/dist/sdk/check-execution-engine-PJZ4ZOKG.mjs +0 -11
- package/dist/sdk/chunk-33QVZ2D4.mjs +0 -316
- package/dist/sdk/chunk-33QVZ2D4.mjs.map +0 -1
- package/dist/sdk/chunk-B5QBV2QJ.mjs +0 -752
- package/dist/sdk/chunk-B5QBV2QJ.mjs.map +0 -1
- package/dist/sdk/chunk-BVFNRCHT.mjs +0 -14129
- package/dist/sdk/chunk-BVFNRCHT.mjs.map +0 -1
- package/dist/sdk/chunk-KWZW23FG.mjs +0 -14129
- package/dist/sdk/chunk-KWZW23FG.mjs.map +0 -1
- package/dist/sdk/chunk-O4RP4BRH.mjs +0 -14092
- package/dist/sdk/chunk-O4RP4BRH.mjs.map +0 -1
- package/dist/sdk/chunk-TUTOLSFV.mjs.map +0 -1
- package/dist/sdk/chunk-U5D2LY66.mjs +0 -245
- package/dist/sdk/chunk-U5D2LY66.mjs.map +0 -1
- package/dist/sdk/chunk-U7X54EMV.mjs +0 -331
- package/dist/sdk/chunk-U7X54EMV.mjs.map +0 -1
- package/dist/sdk/config-merger-TWUBWFC2.mjs +0 -8
- package/dist/sdk/mermaid-telemetry-SN6A2TKW.mjs +0 -61
- package/dist/sdk/mermaid-telemetry-SN6A2TKW.mjs.map +0 -1
- package/dist/sdk/mermaid-telemetry-YCTIG76M.mjs +0 -61
- package/dist/sdk/mermaid-telemetry-YCTIG76M.mjs.map +0 -1
- package/dist/traces/run-2025-10-22T18-22-56-873Z.ndjson +0 -218
- /package/dist/sdk/{check-execution-engine-2YYKUUSH.mjs.map → config-M4ZNO6NU.mjs.map} +0 -0
- /package/dist/sdk/{check-execution-engine-6QJXYYON.mjs.map → config-merger-PX3WIT57.mjs.map} +0 -0
- /package/dist/sdk/{check-execution-engine-PJZ4ZOKG.mjs.map → failure-condition-evaluator-NBO5YRXW.mjs.map} +0 -0
- /package/dist/sdk/{config-merger-TWUBWFC2.mjs.map → liquid-extensions-C7EG3YKH.mjs.map} +0 -0
- /package/dist/sdk/{liquid-extensions-KVL4MKRH.mjs.map → memory-store-GJACZC2A.mjs.map} +0 -0
- /package/dist/sdk/{tracer-init-WC75N5NW.mjs.map → metrics-7PP3EJUH.mjs.map} +0 -0
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$ref": "#/definitions/
|
|
3
|
+
"$ref": "#/definitions/VisorConfigSchema",
|
|
4
4
|
"definitions": {
|
|
5
|
-
"
|
|
5
|
+
"VisorConfigSchema": {
|
|
6
6
|
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
7
8
|
"properties": {
|
|
9
|
+
"hooks": {
|
|
10
|
+
"$ref": "#/definitions/Record%3Cstring%2Cunknown%3E"
|
|
11
|
+
},
|
|
8
12
|
"version": {
|
|
9
13
|
"type": "string",
|
|
10
14
|
"description": "Configuration version"
|
|
@@ -23,6 +27,31 @@
|
|
|
23
27
|
],
|
|
24
28
|
"description": "Extends from other configurations - can be file path, HTTP(S) URL, or \"default\""
|
|
25
29
|
},
|
|
30
|
+
"include": {
|
|
31
|
+
"anyOf": [
|
|
32
|
+
{
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"description": "Alias for extends - include from other configurations (backward compatibility)"
|
|
43
|
+
},
|
|
44
|
+
"tools": {
|
|
45
|
+
"$ref": "#/definitions/Record%3Cstring%2CCustomToolDefinition%3E",
|
|
46
|
+
"description": "Custom tool definitions that can be used in MCP blocks"
|
|
47
|
+
},
|
|
48
|
+
"imports": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
"description": "Import workflow definitions from external files or URLs"
|
|
54
|
+
},
|
|
26
55
|
"steps": {
|
|
27
56
|
"$ref": "#/definitions/Record%3Cstring%2CCheckConfig%3E",
|
|
28
57
|
"description": "Step configurations (recommended)"
|
|
@@ -82,18 +111,143 @@
|
|
|
82
111
|
"routing": {
|
|
83
112
|
"$ref": "#/definitions/RoutingDefaults",
|
|
84
113
|
"description": "Optional routing defaults for retry/goto/run policies"
|
|
114
|
+
},
|
|
115
|
+
"limits": {
|
|
116
|
+
"$ref": "#/definitions/LimitsConfig",
|
|
117
|
+
"description": "Global execution limits"
|
|
118
|
+
},
|
|
119
|
+
"frontends": {
|
|
120
|
+
"type": "array",
|
|
121
|
+
"items": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"properties": {
|
|
124
|
+
"name": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "Frontend name, e.g., 'ndjson-sink', 'github'"
|
|
127
|
+
},
|
|
128
|
+
"config": {
|
|
129
|
+
"description": "Frontend-specific configuration"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"required": [
|
|
133
|
+
"name"
|
|
134
|
+
],
|
|
135
|
+
"additionalProperties": false
|
|
136
|
+
},
|
|
137
|
+
"description": "Optional integrations: event-driven frontends (e.g., ndjson-sink, github)"
|
|
85
138
|
}
|
|
86
139
|
},
|
|
87
140
|
"required": [
|
|
88
|
-
"
|
|
89
|
-
"
|
|
141
|
+
"output",
|
|
142
|
+
"version"
|
|
143
|
+
],
|
|
144
|
+
"patternProperties": {
|
|
145
|
+
"^x-": {}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"Record<string,unknown>": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"additionalProperties": {}
|
|
151
|
+
},
|
|
152
|
+
"Record<string,CustomToolDefinition>": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"additionalProperties": {
|
|
155
|
+
"$ref": "#/definitions/CustomToolDefinition"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"CustomToolDefinition": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": {
|
|
161
|
+
"name": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"description": "Tool name - used to reference the tool in MCP blocks"
|
|
164
|
+
},
|
|
165
|
+
"description": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"description": "Description of what the tool does"
|
|
168
|
+
},
|
|
169
|
+
"inputSchema": {
|
|
170
|
+
"type": "object",
|
|
171
|
+
"properties": {
|
|
172
|
+
"type": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"const": "object"
|
|
175
|
+
},
|
|
176
|
+
"properties": {
|
|
177
|
+
"$ref": "#/definitions/Record%3Cstring%2Cunknown%3E"
|
|
178
|
+
},
|
|
179
|
+
"required": {
|
|
180
|
+
"type": "array",
|
|
181
|
+
"items": {
|
|
182
|
+
"type": "string"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"additionalProperties": {
|
|
186
|
+
"type": "boolean"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"required": [
|
|
190
|
+
"type"
|
|
191
|
+
],
|
|
192
|
+
"additionalProperties": false,
|
|
193
|
+
"description": "Input schema for the tool (JSON Schema format)",
|
|
194
|
+
"patternProperties": {
|
|
195
|
+
"^x-": {}
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"exec": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"description": "Command to execute - supports Liquid template"
|
|
201
|
+
},
|
|
202
|
+
"stdin": {
|
|
203
|
+
"type": "string",
|
|
204
|
+
"description": "Optional stdin input - supports Liquid template"
|
|
205
|
+
},
|
|
206
|
+
"transform": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"description": "Transform the raw output - supports Liquid template"
|
|
209
|
+
},
|
|
210
|
+
"transform_js": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"description": "Transform the output using JavaScript - alternative to transform"
|
|
213
|
+
},
|
|
214
|
+
"cwd": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"description": "Working directory for command execution"
|
|
217
|
+
},
|
|
218
|
+
"env": {
|
|
219
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstring%3E",
|
|
220
|
+
"description": "Environment variables for the command"
|
|
221
|
+
},
|
|
222
|
+
"timeout": {
|
|
223
|
+
"type": "number",
|
|
224
|
+
"description": "Timeout in milliseconds"
|
|
225
|
+
},
|
|
226
|
+
"parseJson": {
|
|
227
|
+
"type": "boolean",
|
|
228
|
+
"description": "Whether to parse output as JSON automatically"
|
|
229
|
+
},
|
|
230
|
+
"outputSchema": {
|
|
231
|
+
"$ref": "#/definitions/Record%3Cstring%2Cunknown%3E",
|
|
232
|
+
"description": "Expected output schema for validation"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"required": [
|
|
236
|
+
"name",
|
|
237
|
+
"exec"
|
|
90
238
|
],
|
|
91
239
|
"additionalProperties": false,
|
|
92
|
-
"description": "
|
|
240
|
+
"description": "Custom tool definition for use in MCP blocks",
|
|
93
241
|
"patternProperties": {
|
|
94
242
|
"^x-": {}
|
|
95
243
|
}
|
|
96
244
|
},
|
|
245
|
+
"Record<string,string>": {
|
|
246
|
+
"type": "object",
|
|
247
|
+
"additionalProperties": {
|
|
248
|
+
"type": "string"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
97
251
|
"Record<string,CheckConfig>": {
|
|
98
252
|
"type": "object",
|
|
99
253
|
"additionalProperties": {
|
|
@@ -151,6 +305,10 @@
|
|
|
151
305
|
"type": "string",
|
|
152
306
|
"description": "Transform using JavaScript expressions (evaluated in secure sandbox) - optional"
|
|
153
307
|
},
|
|
308
|
+
"content": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"description": "Script content to execute for script checks"
|
|
311
|
+
},
|
|
154
312
|
"schedule": {
|
|
155
313
|
"type": "string",
|
|
156
314
|
"description": "Cron schedule expression (e.g., \"0 2 * * *\") - optional for any check type"
|
|
@@ -189,6 +347,22 @@
|
|
|
189
347
|
"type": "string",
|
|
190
348
|
"description": "AI provider to use for this check - overrides global setting"
|
|
191
349
|
},
|
|
350
|
+
"ai_persona": {
|
|
351
|
+
"type": "string",
|
|
352
|
+
"description": "Optional persona hint, prepended to the prompt as 'Persona: <value>'"
|
|
353
|
+
},
|
|
354
|
+
"ai_prompt_type": {
|
|
355
|
+
"type": "string",
|
|
356
|
+
"description": "Probe promptType for this check (underscore style)"
|
|
357
|
+
},
|
|
358
|
+
"ai_system_prompt": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"description": "System prompt for this check (underscore style)"
|
|
361
|
+
},
|
|
362
|
+
"ai_custom_prompt": {
|
|
363
|
+
"type": "string",
|
|
364
|
+
"description": "Legacy customPrompt (underscore style) — deprecated, use ai_system_prompt"
|
|
365
|
+
},
|
|
192
366
|
"ai_mcp_servers": {
|
|
193
367
|
"$ref": "#/definitions/Record%3Cstring%2CMcpServerConfig%3E",
|
|
194
368
|
"description": "MCP servers for this AI check - overrides global setting"
|
|
@@ -227,6 +401,10 @@
|
|
|
227
401
|
],
|
|
228
402
|
"description": "Schema type for template rendering (e.g., \"code-review\", \"markdown\") or inline JSON schema object - optional"
|
|
229
403
|
},
|
|
404
|
+
"output_schema": {
|
|
405
|
+
"$ref": "#/definitions/Record%3Cstring%2Cunknown%3E",
|
|
406
|
+
"description": "Optional JSON Schema to validate the produced output. If omitted and `schema` is an object, the engine will treat that object as the output_schema for validation purposes while still using string schemas (e.g., 'code-review') for template selection."
|
|
407
|
+
},
|
|
230
408
|
"template": {
|
|
231
409
|
"$ref": "#/definitions/CustomTemplateConfig",
|
|
232
410
|
"description": "Custom template configuration - optional"
|
|
@@ -265,10 +443,36 @@
|
|
|
265
443
|
},
|
|
266
444
|
"description": "Tags for categorizing and filtering checks (e.g., [\"local\", \"fast\", \"security\"])"
|
|
267
445
|
},
|
|
446
|
+
"criticality": {
|
|
447
|
+
"type": "string",
|
|
448
|
+
"enum": [
|
|
449
|
+
"external",
|
|
450
|
+
"internal",
|
|
451
|
+
"policy",
|
|
452
|
+
"info"
|
|
453
|
+
],
|
|
454
|
+
"description": "Operational criticality of this step. Drives default safety policies (contracts, retries, loop budgets) at load time. Behavior can still be overridden explicitly per step via on_*, fail_if, assume/guarantee, etc.\n\n- 'external': interacts with external systems (side effects). Highest safety.\n- 'internal': modifies CI/config/state but not prod. High safety.\n- 'policy': organizational checks (linting, style, doc). Moderate safety.\n- 'info': informational checks. Lowest safety."
|
|
455
|
+
},
|
|
456
|
+
"continue_on_failure": {
|
|
457
|
+
"type": "boolean",
|
|
458
|
+
"description": "Allow dependents to run even if this step fails. Defaults to false (dependents are gated when this step fails). Similar to GitHub Actions' continue-on-error."
|
|
459
|
+
},
|
|
268
460
|
"forEach": {
|
|
269
461
|
"type": "boolean",
|
|
270
462
|
"description": "Process output as array and run dependent checks for each item"
|
|
271
463
|
},
|
|
464
|
+
"fanout": {
|
|
465
|
+
"type": "string",
|
|
466
|
+
"enum": [
|
|
467
|
+
"map",
|
|
468
|
+
"reduce"
|
|
469
|
+
],
|
|
470
|
+
"description": "Control scheduling behavior when this check is triggered via routing (run/goto) from a forEach scope.\n- 'map': schedule once per item (fan-out) using item scopes.\n- 'reduce': schedule a single run at the parent scope (aggregation). If unset, the current default is a single run (reduce) for backward compatibility."
|
|
471
|
+
},
|
|
472
|
+
"reduce": {
|
|
473
|
+
"type": "boolean",
|
|
474
|
+
"description": "Alias for fanout: 'reduce'"
|
|
475
|
+
},
|
|
272
476
|
"on_fail": {
|
|
273
477
|
"$ref": "#/definitions/OnFailConfig",
|
|
274
478
|
"description": "Failure routing configuration for this check (retry/goto/run)"
|
|
@@ -277,6 +481,42 @@
|
|
|
277
481
|
"$ref": "#/definitions/OnSuccessConfig",
|
|
278
482
|
"description": "Success routing configuration for this check (post-actions and optional goto)"
|
|
279
483
|
},
|
|
484
|
+
"on_finish": {
|
|
485
|
+
"$ref": "#/definitions/OnFinishConfig",
|
|
486
|
+
"description": "Finish routing configuration for forEach checks (runs after ALL iterations complete)"
|
|
487
|
+
},
|
|
488
|
+
"assume": {
|
|
489
|
+
"anyOf": [
|
|
490
|
+
{
|
|
491
|
+
"type": "string"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"type": "array",
|
|
495
|
+
"items": {
|
|
496
|
+
"type": "string"
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
"description": "Preconditions that must hold before executing the check. If any expression evaluates to false, the check is skipped (skipReason='assume')."
|
|
501
|
+
},
|
|
502
|
+
"guarantee": {
|
|
503
|
+
"anyOf": [
|
|
504
|
+
{
|
|
505
|
+
"type": "string"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"type": "array",
|
|
509
|
+
"items": {
|
|
510
|
+
"type": "string"
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
],
|
|
514
|
+
"description": "Postconditions that should hold after executing the check. Expressions are evaluated against the produced result/output; violations are recorded as error issues with ruleId \"contract/guarantee_failed\"."
|
|
515
|
+
},
|
|
516
|
+
"max_runs": {
|
|
517
|
+
"type": "number",
|
|
518
|
+
"description": "Hard cap on how many times this check may execute within a single engine run. Overrides global limits.max_runs_per_check. Set to 0 or negative to disable for this step."
|
|
519
|
+
},
|
|
280
520
|
"message": {
|
|
281
521
|
"type": "string",
|
|
282
522
|
"description": "Message template for log checks"
|
|
@@ -303,6 +543,14 @@
|
|
|
303
543
|
"type": "boolean",
|
|
304
544
|
"description": "Include execution metadata in log output"
|
|
305
545
|
},
|
|
546
|
+
"output_format": {
|
|
547
|
+
"type": "string",
|
|
548
|
+
"enum": [
|
|
549
|
+
"json",
|
|
550
|
+
"text"
|
|
551
|
+
],
|
|
552
|
+
"description": "Output parsing hint for command provider (optional) When set to 'json', command stdout is expected to be JSON. When 'text', treat as plain text. Note: command provider attempts JSON parsing heuristically; this flag mainly suppresses schema warnings and may be used by providers to alter parsing behavior in the future."
|
|
553
|
+
},
|
|
306
554
|
"operation": {
|
|
307
555
|
"type": "string",
|
|
308
556
|
"enum": [
|
|
@@ -312,10 +560,9 @@
|
|
|
312
560
|
"increment",
|
|
313
561
|
"delete",
|
|
314
562
|
"clear",
|
|
315
|
-
"list"
|
|
316
|
-
"exec_js"
|
|
563
|
+
"list"
|
|
317
564
|
],
|
|
318
|
-
"description": "Memory operation to perform"
|
|
565
|
+
"description": "Memory operation to perform. Use `type: 'script'` for custom JavaScript."
|
|
319
566
|
},
|
|
320
567
|
"key": {
|
|
321
568
|
"type": "string",
|
|
@@ -328,10 +575,6 @@
|
|
|
328
575
|
"type": "string",
|
|
329
576
|
"description": "JavaScript expression to compute value dynamically"
|
|
330
577
|
},
|
|
331
|
-
"memory_js": {
|
|
332
|
-
"type": "string",
|
|
333
|
-
"description": "JavaScript code for exec_js operation with full memory access"
|
|
334
|
-
},
|
|
335
578
|
"namespace": {
|
|
336
579
|
"type": "string",
|
|
337
580
|
"description": "Override namespace for this check"
|
|
@@ -375,7 +618,7 @@
|
|
|
375
618
|
"type": "string",
|
|
376
619
|
"description": "Session ID for HTTP transport (optional, server may generate one)"
|
|
377
620
|
},
|
|
378
|
-
"
|
|
621
|
+
"command_args": {
|
|
379
622
|
"type": "array",
|
|
380
623
|
"items": {
|
|
381
624
|
"type": "string"
|
|
@@ -385,6 +628,38 @@
|
|
|
385
628
|
"workingDirectory": {
|
|
386
629
|
"type": "string",
|
|
387
630
|
"description": "Working directory (for stdio transport in MCP checks)"
|
|
631
|
+
},
|
|
632
|
+
"placeholder": {
|
|
633
|
+
"type": "string",
|
|
634
|
+
"description": "Placeholder text to show in input field"
|
|
635
|
+
},
|
|
636
|
+
"allow_empty": {
|
|
637
|
+
"type": "boolean",
|
|
638
|
+
"description": "Allow empty input (default: false)"
|
|
639
|
+
},
|
|
640
|
+
"multiline": {
|
|
641
|
+
"type": "boolean",
|
|
642
|
+
"description": "Support multiline input (default: false)"
|
|
643
|
+
},
|
|
644
|
+
"default": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"description": "Default value if timeout occurs or empty input when allow_empty is true"
|
|
647
|
+
},
|
|
648
|
+
"workflow": {
|
|
649
|
+
"type": "string",
|
|
650
|
+
"description": "Workflow ID or path to workflow file"
|
|
651
|
+
},
|
|
652
|
+
"args": {
|
|
653
|
+
"$ref": "#/definitions/Record%3Cstring%2Cunknown%3E",
|
|
654
|
+
"description": "Arguments/inputs for the workflow"
|
|
655
|
+
},
|
|
656
|
+
"overrides": {
|
|
657
|
+
"$ref": "#/definitions/Record%3Cstring%2CPartial%3Cinterface-src_types_config.ts-10692-20779-src_types_config.ts-0-34222%3E%3E",
|
|
658
|
+
"description": "Override specific step configurations in the workflow"
|
|
659
|
+
},
|
|
660
|
+
"output_mapping": {
|
|
661
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstring%3E",
|
|
662
|
+
"description": "Map workflow outputs to check outputs"
|
|
388
663
|
}
|
|
389
664
|
},
|
|
390
665
|
"additionalProperties": false,
|
|
@@ -398,6 +673,7 @@
|
|
|
398
673
|
"enum": [
|
|
399
674
|
"ai",
|
|
400
675
|
"command",
|
|
676
|
+
"script",
|
|
401
677
|
"http",
|
|
402
678
|
"http_input",
|
|
403
679
|
"http_client",
|
|
@@ -407,16 +683,11 @@
|
|
|
407
683
|
"github",
|
|
408
684
|
"claude-code",
|
|
409
685
|
"mcp",
|
|
410
|
-
"human-input"
|
|
686
|
+
"human-input",
|
|
687
|
+
"workflow"
|
|
411
688
|
],
|
|
412
689
|
"description": "Valid check types in configuration"
|
|
413
690
|
},
|
|
414
|
-
"Record<string,string>": {
|
|
415
|
-
"type": "object",
|
|
416
|
-
"additionalProperties": {
|
|
417
|
-
"type": "string"
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
691
|
"EventTrigger": {
|
|
421
692
|
"type": "string",
|
|
422
693
|
"enum": [
|
|
@@ -461,9 +732,60 @@
|
|
|
461
732
|
"type": "boolean",
|
|
462
733
|
"description": "Enable debug mode"
|
|
463
734
|
},
|
|
735
|
+
"prompt_type": {
|
|
736
|
+
"type": "string",
|
|
737
|
+
"description": "Probe promptType to use (e.g., engineer, code-review, architect)"
|
|
738
|
+
},
|
|
739
|
+
"system_prompt": {
|
|
740
|
+
"type": "string",
|
|
741
|
+
"description": "System prompt (baseline preamble). Replaces legacy custom_prompt."
|
|
742
|
+
},
|
|
743
|
+
"custom_prompt": {
|
|
744
|
+
"type": "string",
|
|
745
|
+
"description": "Probe customPrompt (baseline/system prompt) — deprecated, use system_prompt"
|
|
746
|
+
},
|
|
747
|
+
"skip_code_context": {
|
|
748
|
+
"type": "boolean",
|
|
749
|
+
"description": "Skip adding code context (diffs, files, PR info) to the prompt"
|
|
750
|
+
},
|
|
464
751
|
"mcpServers": {
|
|
465
752
|
"$ref": "#/definitions/Record%3Cstring%2CMcpServerConfig%3E",
|
|
466
753
|
"description": "MCP servers configuration"
|
|
754
|
+
},
|
|
755
|
+
"enableDelegate": {
|
|
756
|
+
"type": "boolean",
|
|
757
|
+
"description": "Enable the delegate tool for task distribution to subagents"
|
|
758
|
+
},
|
|
759
|
+
"retry": {
|
|
760
|
+
"$ref": "#/definitions/AIRetryConfig",
|
|
761
|
+
"description": "Retry configuration for this provider"
|
|
762
|
+
},
|
|
763
|
+
"fallback": {
|
|
764
|
+
"$ref": "#/definitions/AIFallbackConfig",
|
|
765
|
+
"description": "Fallback configuration for provider failures"
|
|
766
|
+
},
|
|
767
|
+
"allowEdit": {
|
|
768
|
+
"type": "boolean",
|
|
769
|
+
"description": "Enable Edit and Create tools for file modification (disabled by default for security)"
|
|
770
|
+
},
|
|
771
|
+
"allowedTools": {
|
|
772
|
+
"type": "array",
|
|
773
|
+
"items": {
|
|
774
|
+
"type": "string"
|
|
775
|
+
},
|
|
776
|
+
"description": "Filter allowed tools - supports whitelist, exclusion (!prefix), or raw AI mode (empty array)"
|
|
777
|
+
},
|
|
778
|
+
"disableTools": {
|
|
779
|
+
"type": "boolean",
|
|
780
|
+
"description": "Disable all tools for raw AI mode (alternative to allowedTools: [])"
|
|
781
|
+
},
|
|
782
|
+
"allowBash": {
|
|
783
|
+
"type": "boolean",
|
|
784
|
+
"description": "Enable bash command execution (shorthand for bashConfig.enabled)"
|
|
785
|
+
},
|
|
786
|
+
"bashConfig": {
|
|
787
|
+
"$ref": "#/definitions/BashConfig",
|
|
788
|
+
"description": "Advanced bash command execution configuration"
|
|
467
789
|
}
|
|
468
790
|
},
|
|
469
791
|
"additionalProperties": false,
|
|
@@ -506,6 +828,162 @@
|
|
|
506
828
|
"^x-": {}
|
|
507
829
|
}
|
|
508
830
|
},
|
|
831
|
+
"AIRetryConfig": {
|
|
832
|
+
"type": "object",
|
|
833
|
+
"properties": {
|
|
834
|
+
"maxRetries": {
|
|
835
|
+
"type": "number",
|
|
836
|
+
"description": "Maximum retry attempts (0-50)"
|
|
837
|
+
},
|
|
838
|
+
"initialDelay": {
|
|
839
|
+
"type": "number",
|
|
840
|
+
"description": "Initial delay in milliseconds (0-60000)"
|
|
841
|
+
},
|
|
842
|
+
"maxDelay": {
|
|
843
|
+
"type": "number",
|
|
844
|
+
"description": "Maximum delay cap in milliseconds (0-300000)"
|
|
845
|
+
},
|
|
846
|
+
"backoffFactor": {
|
|
847
|
+
"type": "number",
|
|
848
|
+
"description": "Exponential backoff multiplier (1-10)"
|
|
849
|
+
},
|
|
850
|
+
"retryableErrors": {
|
|
851
|
+
"type": "array",
|
|
852
|
+
"items": {
|
|
853
|
+
"type": "string"
|
|
854
|
+
},
|
|
855
|
+
"description": "Custom error patterns to retry on"
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
"additionalProperties": false,
|
|
859
|
+
"description": "Retry configuration for AI provider calls",
|
|
860
|
+
"patternProperties": {
|
|
861
|
+
"^x-": {}
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"AIFallbackConfig": {
|
|
865
|
+
"type": "object",
|
|
866
|
+
"properties": {
|
|
867
|
+
"strategy": {
|
|
868
|
+
"type": "string",
|
|
869
|
+
"enum": [
|
|
870
|
+
"same-model",
|
|
871
|
+
"same-provider",
|
|
872
|
+
"any",
|
|
873
|
+
"custom"
|
|
874
|
+
],
|
|
875
|
+
"description": "Fallback strategy: 'same-model', 'same-provider', 'any', or 'custom'"
|
|
876
|
+
},
|
|
877
|
+
"providers": {
|
|
878
|
+
"type": "array",
|
|
879
|
+
"items": {
|
|
880
|
+
"$ref": "#/definitions/AIFallbackProviderConfig"
|
|
881
|
+
},
|
|
882
|
+
"description": "Array of fallback provider configurations"
|
|
883
|
+
},
|
|
884
|
+
"maxTotalAttempts": {
|
|
885
|
+
"type": "number",
|
|
886
|
+
"description": "Maximum total attempts across all providers"
|
|
887
|
+
},
|
|
888
|
+
"auto": {
|
|
889
|
+
"type": "boolean",
|
|
890
|
+
"description": "Enable automatic fallback using available environment variables"
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
"additionalProperties": false,
|
|
894
|
+
"description": "Fallback configuration for AI providers",
|
|
895
|
+
"patternProperties": {
|
|
896
|
+
"^x-": {}
|
|
897
|
+
}
|
|
898
|
+
},
|
|
899
|
+
"AIFallbackProviderConfig": {
|
|
900
|
+
"type": "object",
|
|
901
|
+
"properties": {
|
|
902
|
+
"provider": {
|
|
903
|
+
"type": "string",
|
|
904
|
+
"enum": [
|
|
905
|
+
"google",
|
|
906
|
+
"anthropic",
|
|
907
|
+
"openai",
|
|
908
|
+
"bedrock"
|
|
909
|
+
],
|
|
910
|
+
"description": "AI provider to use"
|
|
911
|
+
},
|
|
912
|
+
"model": {
|
|
913
|
+
"type": "string",
|
|
914
|
+
"description": "Model name to use"
|
|
915
|
+
},
|
|
916
|
+
"apiKey": {
|
|
917
|
+
"type": "string",
|
|
918
|
+
"description": "API key for this provider"
|
|
919
|
+
},
|
|
920
|
+
"maxRetries": {
|
|
921
|
+
"type": "number",
|
|
922
|
+
"description": "Per-provider retry override"
|
|
923
|
+
},
|
|
924
|
+
"region": {
|
|
925
|
+
"type": "string",
|
|
926
|
+
"description": "AWS region (for Bedrock)"
|
|
927
|
+
},
|
|
928
|
+
"accessKeyId": {
|
|
929
|
+
"type": "string",
|
|
930
|
+
"description": "AWS access key ID (for Bedrock)"
|
|
931
|
+
},
|
|
932
|
+
"secretAccessKey": {
|
|
933
|
+
"type": "string",
|
|
934
|
+
"description": "AWS secret access key (for Bedrock)"
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"required": [
|
|
938
|
+
"provider",
|
|
939
|
+
"model"
|
|
940
|
+
],
|
|
941
|
+
"additionalProperties": false,
|
|
942
|
+
"description": "Fallback provider configuration",
|
|
943
|
+
"patternProperties": {
|
|
944
|
+
"^x-": {}
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
"BashConfig": {
|
|
948
|
+
"type": "object",
|
|
949
|
+
"properties": {
|
|
950
|
+
"allow": {
|
|
951
|
+
"type": "array",
|
|
952
|
+
"items": {
|
|
953
|
+
"type": "string"
|
|
954
|
+
},
|
|
955
|
+
"description": "Array of permitted command patterns (e.g., ['ls', 'git status'])"
|
|
956
|
+
},
|
|
957
|
+
"deny": {
|
|
958
|
+
"type": "array",
|
|
959
|
+
"items": {
|
|
960
|
+
"type": "string"
|
|
961
|
+
},
|
|
962
|
+
"description": "Array of blocked command patterns (e.g., ['rm -rf', 'sudo'])"
|
|
963
|
+
},
|
|
964
|
+
"noDefaultAllow": {
|
|
965
|
+
"type": "boolean",
|
|
966
|
+
"description": "Disable default safe command list (use with caution)"
|
|
967
|
+
},
|
|
968
|
+
"noDefaultDeny": {
|
|
969
|
+
"type": "boolean",
|
|
970
|
+
"description": "Disable default dangerous command blocklist (use with extreme caution)"
|
|
971
|
+
},
|
|
972
|
+
"timeout": {
|
|
973
|
+
"type": "number",
|
|
974
|
+
"description": "Execution timeout in milliseconds"
|
|
975
|
+
},
|
|
976
|
+
"workingDirectory": {
|
|
977
|
+
"type": "string",
|
|
978
|
+
"description": "Default working directory for command execution"
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
"additionalProperties": false,
|
|
982
|
+
"description": "Bash command execution configuration for ProbeAgent Note: Use 'allowBash: true' in AIProviderConfig to enable bash execution",
|
|
983
|
+
"patternProperties": {
|
|
984
|
+
"^x-": {}
|
|
985
|
+
}
|
|
986
|
+
},
|
|
509
987
|
"ClaudeCodeConfig": {
|
|
510
988
|
"type": "object",
|
|
511
989
|
"properties": {
|
|
@@ -532,6 +1010,10 @@
|
|
|
532
1010
|
"type": "string",
|
|
533
1011
|
"description": "Path to subagent script"
|
|
534
1012
|
},
|
|
1013
|
+
"enableDelegate": {
|
|
1014
|
+
"type": "boolean",
|
|
1015
|
+
"description": "Enable the delegate tool for task distribution to subagents"
|
|
1016
|
+
},
|
|
535
1017
|
"hooks": {
|
|
536
1018
|
"type": "object",
|
|
537
1019
|
"properties": {
|
|
@@ -572,10 +1054,6 @@
|
|
|
572
1054
|
},
|
|
573
1055
|
"description": "Environment variable reference configuration"
|
|
574
1056
|
},
|
|
575
|
-
"Record<string,unknown>": {
|
|
576
|
-
"type": "object",
|
|
577
|
-
"additionalProperties": {}
|
|
578
|
-
},
|
|
579
1057
|
"CustomTemplateConfig": {
|
|
580
1058
|
"type": "object",
|
|
581
1059
|
"properties": {
|
|
@@ -683,6 +1161,13 @@
|
|
|
683
1161
|
"run_js": {
|
|
684
1162
|
"type": "string",
|
|
685
1163
|
"description": "Dynamic remediation list: JS expression returning string[]"
|
|
1164
|
+
},
|
|
1165
|
+
"transitions": {
|
|
1166
|
+
"type": "array",
|
|
1167
|
+
"items": {
|
|
1168
|
+
"$ref": "#/definitions/TransitionRule"
|
|
1169
|
+
},
|
|
1170
|
+
"description": "Declarative transitions. Evaluated in order; first matching rule wins. If a rule's `to` is null, no goto occurs. When omitted or none match, the engine falls back to goto_js/goto for backward compatibility."
|
|
686
1171
|
}
|
|
687
1172
|
},
|
|
688
1173
|
"additionalProperties": false,
|
|
@@ -731,6 +1216,34 @@
|
|
|
731
1216
|
"^x-": {}
|
|
732
1217
|
}
|
|
733
1218
|
},
|
|
1219
|
+
"TransitionRule": {
|
|
1220
|
+
"type": "object",
|
|
1221
|
+
"properties": {
|
|
1222
|
+
"when": {
|
|
1223
|
+
"type": "string",
|
|
1224
|
+
"description": "JavaScript expression evaluated in the same sandbox as goto_js; truthy enables the rule."
|
|
1225
|
+
},
|
|
1226
|
+
"to": {
|
|
1227
|
+
"type": [
|
|
1228
|
+
"string",
|
|
1229
|
+
"null"
|
|
1230
|
+
],
|
|
1231
|
+
"description": "Target step ID, or null to explicitly prevent goto."
|
|
1232
|
+
},
|
|
1233
|
+
"goto_event": {
|
|
1234
|
+
"$ref": "#/definitions/EventTrigger",
|
|
1235
|
+
"description": "Optional event override when performing goto."
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"required": [
|
|
1239
|
+
"when"
|
|
1240
|
+
],
|
|
1241
|
+
"additionalProperties": false,
|
|
1242
|
+
"description": "Declarative transition rule for on_* blocks.",
|
|
1243
|
+
"patternProperties": {
|
|
1244
|
+
"^x-": {}
|
|
1245
|
+
}
|
|
1246
|
+
},
|
|
734
1247
|
"OnSuccessConfig": {
|
|
735
1248
|
"type": "object",
|
|
736
1249
|
"properties": {
|
|
@@ -756,6 +1269,13 @@
|
|
|
756
1269
|
"run_js": {
|
|
757
1270
|
"type": "string",
|
|
758
1271
|
"description": "Dynamic post-success steps: JS expression returning string[]"
|
|
1272
|
+
},
|
|
1273
|
+
"transitions": {
|
|
1274
|
+
"type": "array",
|
|
1275
|
+
"items": {
|
|
1276
|
+
"$ref": "#/definitions/TransitionRule"
|
|
1277
|
+
},
|
|
1278
|
+
"description": "Declarative transitions (see OnFailConfig.transitions)."
|
|
759
1279
|
}
|
|
760
1280
|
},
|
|
761
1281
|
"additionalProperties": false,
|
|
@@ -764,6 +1284,56 @@
|
|
|
764
1284
|
"^x-": {}
|
|
765
1285
|
}
|
|
766
1286
|
},
|
|
1287
|
+
"OnFinishConfig": {
|
|
1288
|
+
"type": "object",
|
|
1289
|
+
"properties": {
|
|
1290
|
+
"run": {
|
|
1291
|
+
"type": "array",
|
|
1292
|
+
"items": {
|
|
1293
|
+
"type": "string"
|
|
1294
|
+
},
|
|
1295
|
+
"description": "Post-finish steps to run"
|
|
1296
|
+
},
|
|
1297
|
+
"goto": {
|
|
1298
|
+
"type": "string",
|
|
1299
|
+
"description": "Optional jump back to ancestor step (by id)"
|
|
1300
|
+
},
|
|
1301
|
+
"goto_event": {
|
|
1302
|
+
"$ref": "#/definitions/EventTrigger",
|
|
1303
|
+
"description": "Simulate a different event when performing goto (e.g., 'pr_updated')"
|
|
1304
|
+
},
|
|
1305
|
+
"goto_js": {
|
|
1306
|
+
"type": "string",
|
|
1307
|
+
"description": "Dynamic goto: JS expression returning step id or null"
|
|
1308
|
+
},
|
|
1309
|
+
"run_js": {
|
|
1310
|
+
"type": "string",
|
|
1311
|
+
"description": "Dynamic post-finish steps: JS expression returning string[]"
|
|
1312
|
+
},
|
|
1313
|
+
"transitions": {
|
|
1314
|
+
"type": "array",
|
|
1315
|
+
"items": {
|
|
1316
|
+
"$ref": "#/definitions/TransitionRule"
|
|
1317
|
+
},
|
|
1318
|
+
"description": "Declarative transitions (see OnFailConfig.transitions)."
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
"additionalProperties": false,
|
|
1322
|
+
"description": "Finish routing configuration for forEach checks Runs once after ALL iterations of forEach and ALL dependent checks complete",
|
|
1323
|
+
"patternProperties": {
|
|
1324
|
+
"^x-": {}
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1327
|
+
"Record<string,Partial<interface-src_types_config.ts-10692-20779-src_types_config.ts-0-34222>>": {
|
|
1328
|
+
"type": "object",
|
|
1329
|
+
"additionalProperties": {
|
|
1330
|
+
"$ref": "#/definitions/Partial%3Cinterface-src_types_config.ts-10692-20779-src_types_config.ts-0-34222%3E"
|
|
1331
|
+
}
|
|
1332
|
+
},
|
|
1333
|
+
"Partial<interface-src_types_config.ts-10692-20779-src_types_config.ts-0-34222>": {
|
|
1334
|
+
"type": "object",
|
|
1335
|
+
"additionalProperties": false
|
|
1336
|
+
},
|
|
767
1337
|
"OutputConfig": {
|
|
768
1338
|
"type": "object",
|
|
769
1339
|
"properties": {
|
|
@@ -1155,6 +1725,24 @@
|
|
|
1155
1725
|
"patternProperties": {
|
|
1156
1726
|
"^x-": {}
|
|
1157
1727
|
}
|
|
1728
|
+
},
|
|
1729
|
+
"LimitsConfig": {
|
|
1730
|
+
"type": "object",
|
|
1731
|
+
"properties": {
|
|
1732
|
+
"max_runs_per_check": {
|
|
1733
|
+
"type": "number",
|
|
1734
|
+
"description": "Maximum number of executions per check within a single engine run. Applies to each distinct scope independently for forEach item executions. Set to 0 or negative to disable. Default: 50."
|
|
1735
|
+
},
|
|
1736
|
+
"max_workflow_depth": {
|
|
1737
|
+
"type": "number",
|
|
1738
|
+
"description": "Maximum nesting depth for workflows executed by the state machine engine. Nested workflows are invoked by the workflow provider; this limit prevents accidental infinite recursion. Default: 3."
|
|
1739
|
+
}
|
|
1740
|
+
},
|
|
1741
|
+
"additionalProperties": false,
|
|
1742
|
+
"description": "Global engine limits",
|
|
1743
|
+
"patternProperties": {
|
|
1744
|
+
"^x-": {}
|
|
1745
|
+
}
|
|
1158
1746
|
}
|
|
1159
1747
|
}
|
|
1160
1748
|
}
|