autoremediator 0.21.2 → 0.22.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/LICENSE +21 -0
- package/README.md +5 -0
- package/dist/a2a/agent-card.d.ts +89 -0
- package/dist/a2a/agent-card.d.ts.map +1 -0
- package/dist/a2a/agent-card.js +127 -0
- package/dist/a2a/agent-card.js.map +1 -0
- package/dist/a2a/index.d.ts +7 -0
- package/dist/a2a/index.d.ts.map +1 -0
- package/dist/a2a/index.js +4 -0
- package/dist/a2a/index.js.map +1 -0
- package/dist/a2a/server.d.ts +46 -0
- package/dist/a2a/server.d.ts.map +1 -0
- package/dist/a2a/server.js +312 -0
- package/dist/a2a/server.js.map +1 -0
- package/dist/a2a/sign.d.ts +28 -0
- package/dist/a2a/sign.d.ts.map +1 -0
- package/dist/a2a/sign.js +123 -0
- package/dist/a2a/sign.js.map +1 -0
- package/dist/a2a/task-store.d.ts +55 -0
- package/dist/a2a/task-store.d.ts.map +1 -0
- package/dist/a2a/task-store.js +90 -0
- package/dist/a2a/task-store.js.map +1 -0
- package/dist/api/assess/index.d.ts +45 -0
- package/dist/api/assess/index.d.ts.map +1 -0
- package/dist/api/assess/index.js +21 -0
- package/dist/api/assess/index.js.map +1 -0
- package/dist/api/autonomy/index.d.ts +65 -0
- package/dist/api/autonomy/index.d.ts.map +1 -0
- package/dist/api/autonomy/index.js +166 -0
- package/dist/api/autonomy/index.js.map +1 -0
- package/dist/api/bisect/changes.d.ts +20 -0
- package/dist/api/bisect/changes.d.ts.map +1 -0
- package/dist/api/bisect/changes.js +47 -0
- package/dist/api/bisect/changes.js.map +1 -0
- package/dist/api/bisect/ddmin.d.ts +33 -0
- package/dist/api/bisect/ddmin.d.ts.map +1 -0
- package/dist/api/bisect/ddmin.js +91 -0
- package/dist/api/bisect/ddmin.js.map +1 -0
- package/dist/api/bisect/index.d.ts +20 -0
- package/dist/api/bisect/index.d.ts.map +1 -0
- package/dist/api/bisect/index.js +463 -0
- package/dist/api/bisect/index.js.map +1 -0
- package/dist/api/bisect/pins.d.ts +40 -0
- package/dist/api/bisect/pins.d.ts.map +1 -0
- package/dist/api/bisect/pins.js +83 -0
- package/dist/api/bisect/pins.js.map +1 -0
- package/dist/api/bisect/remedy.d.ts +25 -0
- package/dist/api/bisect/remedy.d.ts.map +1 -0
- package/dist/api/bisect/remedy.js +116 -0
- package/dist/api/bisect/remedy.js.map +1 -0
- package/dist/api/bisect/shell.d.ts +41 -0
- package/dist/api/bisect/shell.d.ts.map +1 -0
- package/dist/api/bisect/shell.js +155 -0
- package/dist/api/bisect/shell.js.map +1 -0
- package/dist/api/bisect/types.d.ts +130 -0
- package/dist/api/bisect/types.d.ts.map +1 -0
- package/dist/api/bisect/types.js +2 -0
- package/dist/api/bisect/types.js.map +1 -0
- package/dist/api/change-request/branch.d.ts +13 -0
- package/dist/api/change-request/branch.d.ts.map +1 -0
- package/dist/api/change-request/branch.js +78 -0
- package/dist/api/change-request/branch.js.map +1 -0
- package/dist/api/change-request/hosts.d.ts +83 -0
- package/dist/api/change-request/hosts.d.ts.map +1 -0
- package/dist/api/change-request/hosts.js +292 -0
- package/dist/api/change-request/hosts.js.map +1 -0
- package/dist/api/change-request/index.d.ts +3 -1
- package/dist/api/change-request/index.d.ts.map +1 -1
- package/dist/api/change-request/index.js +302 -56
- package/dist/api/change-request/index.js.map +1 -1
- package/dist/api/diet/analyze.d.ts +8 -0
- package/dist/api/diet/analyze.d.ts.map +1 -0
- package/dist/api/diet/analyze.js +214 -0
- package/dist/api/diet/analyze.js.map +1 -0
- package/dist/api/diet/apply.d.ts +31 -0
- package/dist/api/diet/apply.d.ts.map +1 -0
- package/dist/api/diet/apply.js +175 -0
- package/dist/api/diet/apply.js.map +1 -0
- package/dist/api/diet/duplicates.d.ts +9 -0
- package/dist/api/diet/duplicates.d.ts.map +1 -0
- package/dist/api/diet/duplicates.js +125 -0
- package/dist/api/diet/duplicates.js.map +1 -0
- package/dist/api/diet/files.d.ts +30 -0
- package/dist/api/diet/files.d.ts.map +1 -0
- package/dist/api/diet/files.js +182 -0
- package/dist/api/diet/files.js.map +1 -0
- package/dist/api/diet/index.d.ts +4 -0
- package/dist/api/diet/index.d.ts.map +1 -0
- package/dist/api/diet/index.js +3 -0
- package/dist/api/diet/index.js.map +1 -0
- package/dist/api/diet/lockfile.d.ts +65 -0
- package/dist/api/diet/lockfile.d.ts.map +1 -0
- package/dist/api/diet/lockfile.js +329 -0
- package/dist/api/diet/lockfile.js.map +1 -0
- package/dist/api/diet/replaceable.d.ts +46 -0
- package/dist/api/diet/replaceable.d.ts.map +1 -0
- package/dist/api/diet/replaceable.js +115 -0
- package/dist/api/diet/replaceable.js.map +1 -0
- package/dist/api/diet/replaceable.json +168 -0
- package/dist/api/diet/scan.d.ts +43 -0
- package/dist/api/diet/scan.d.ts.map +1 -0
- package/dist/api/diet/scan.js +357 -0
- package/dist/api/diet/scan.js.map +1 -0
- package/dist/api/diet/surface.d.ts +32 -0
- package/dist/api/diet/surface.d.ts.map +1 -0
- package/dist/api/diet/surface.js +130 -0
- package/dist/api/diet/surface.js.map +1 -0
- package/dist/api/diet/types.d.ts +205 -0
- package/dist/api/diet/types.d.ts.map +1 -0
- package/dist/api/diet/types.js +2 -0
- package/dist/api/diet/types.js.map +1 -0
- package/dist/api/diet/unused.d.ts +73 -0
- package/dist/api/diet/unused.d.ts.map +1 -0
- package/dist/api/diet/unused.js +342 -0
- package/dist/api/diet/unused.js.map +1 -0
- package/dist/api/evidence-pack/attest.d.ts +43 -0
- package/dist/api/evidence-pack/attest.d.ts.map +1 -0
- package/dist/api/evidence-pack/attest.js +140 -0
- package/dist/api/evidence-pack/attest.js.map +1 -0
- package/dist/api/evidence-pack/components.d.ts +49 -0
- package/dist/api/evidence-pack/components.d.ts.map +1 -0
- package/dist/api/evidence-pack/components.js +278 -0
- package/dist/api/evidence-pack/components.js.map +1 -0
- package/dist/api/evidence-pack/cra.d.ts +54 -0
- package/dist/api/evidence-pack/cra.d.ts.map +1 -0
- package/dist/api/evidence-pack/cra.js +234 -0
- package/dist/api/evidence-pack/cra.js.map +1 -0
- package/dist/api/evidence-pack/dsse.d.ts +53 -0
- package/dist/api/evidence-pack/dsse.d.ts.map +1 -0
- package/dist/api/evidence-pack/dsse.js +132 -0
- package/dist/api/evidence-pack/dsse.js.map +1 -0
- package/dist/api/evidence-pack/findings.d.ts +57 -0
- package/dist/api/evidence-pack/findings.d.ts.map +1 -0
- package/dist/api/evidence-pack/findings.js +232 -0
- package/dist/api/evidence-pack/findings.js.map +1 -0
- package/dist/api/evidence-pack/index.d.ts +70 -0
- package/dist/api/evidence-pack/index.d.ts.map +1 -0
- package/dist/api/evidence-pack/index.js +482 -0
- package/dist/api/evidence-pack/index.js.map +1 -0
- package/dist/api/evidence-pack/readme.d.ts +5 -0
- package/dist/api/evidence-pack/readme.d.ts.map +1 -0
- package/dist/api/evidence-pack/readme.js +55 -0
- package/dist/api/evidence-pack/readme.js.map +1 -0
- package/dist/api/evidence-pack/sbom.d.ts +87 -0
- package/dist/api/evidence-pack/sbom.d.ts.map +1 -0
- package/dist/api/evidence-pack/sbom.js +221 -0
- package/dist/api/evidence-pack/sbom.js.map +1 -0
- package/dist/api/evidence-pack/types.d.ts +62 -0
- package/dist/api/evidence-pack/types.d.ts.map +1 -0
- package/dist/api/evidence-pack/types.js +2 -0
- package/dist/api/evidence-pack/types.js.map +1 -0
- package/dist/api/evidence-pack/vex.d.ts +114 -0
- package/dist/api/evidence-pack/vex.d.ts.map +1 -0
- package/dist/api/evidence-pack/vex.js +197 -0
- package/dist/api/evidence-pack/vex.js.map +1 -0
- package/dist/api/freshness/deps.d.ts +27 -0
- package/dist/api/freshness/deps.d.ts.map +1 -0
- package/dist/api/freshness/deps.js +60 -0
- package/dist/api/freshness/deps.js.map +1 -0
- package/dist/api/freshness/distance.d.ts +42 -0
- package/dist/api/freshness/distance.d.ts.map +1 -0
- package/dist/api/freshness/distance.js +86 -0
- package/dist/api/freshness/distance.js.map +1 -0
- package/dist/api/freshness/index.d.ts +12 -0
- package/dist/api/freshness/index.d.ts.map +1 -0
- package/dist/api/freshness/index.js +11 -0
- package/dist/api/freshness/index.js.map +1 -0
- package/dist/api/freshness/path.d.ts +29 -0
- package/dist/api/freshness/path.d.ts.map +1 -0
- package/dist/api/freshness/path.js +103 -0
- package/dist/api/freshness/path.js.map +1 -0
- package/dist/api/freshness/report.d.ts +55 -0
- package/dist/api/freshness/report.d.ts.map +1 -0
- package/dist/api/freshness/report.js +334 -0
- package/dist/api/freshness/report.js.map +1 -0
- package/dist/api/freshness/step.d.ts +47 -0
- package/dist/api/freshness/step.d.ts.map +1 -0
- package/dist/api/freshness/step.js +286 -0
- package/dist/api/freshness/step.js.map +1 -0
- package/dist/api/freshness/types.d.ts +192 -0
- package/dist/api/freshness/types.d.ts.map +1 -0
- package/dist/api/freshness/types.js +2 -0
- package/dist/api/freshness/types.js.map +1 -0
- package/dist/api/guard/checks.d.ts +31 -0
- package/dist/api/guard/checks.d.ts.map +1 -0
- package/dist/api/guard/checks.js +101 -0
- package/dist/api/guard/checks.js.map +1 -0
- package/dist/api/guard/diff.d.ts +46 -0
- package/dist/api/guard/diff.d.ts.map +1 -0
- package/dist/api/guard/diff.js +89 -0
- package/dist/api/guard/diff.js.map +1 -0
- package/dist/api/guard/hook.d.ts +59 -0
- package/dist/api/guard/hook.d.ts.map +1 -0
- package/dist/api/guard/hook.js +179 -0
- package/dist/api/guard/hook.js.map +1 -0
- package/dist/api/guard/index.d.ts +32 -0
- package/dist/api/guard/index.d.ts.map +1 -0
- package/dist/api/guard/index.js +199 -0
- package/dist/api/guard/index.js.map +1 -0
- package/dist/api/guard/popular.d.ts +7 -0
- package/dist/api/guard/popular.d.ts.map +1 -0
- package/dist/api/guard/popular.js +206 -0
- package/dist/api/guard/popular.js.map +1 -0
- package/dist/api/guard/spec.d.ts +22 -0
- package/dist/api/guard/spec.d.ts.map +1 -0
- package/dist/api/guard/spec.js +124 -0
- package/dist/api/guard/spec.js.map +1 -0
- package/dist/api/guard/types.d.ts +34 -0
- package/dist/api/guard/types.d.ts.map +1 -0
- package/dist/api/guard/types.js +2 -0
- package/dist/api/guard/types.js.map +1 -0
- package/dist/api/hooks/detect.d.ts +28 -0
- package/dist/api/hooks/detect.d.ts.map +1 -0
- package/dist/api/hooks/detect.js +112 -0
- package/dist/api/hooks/detect.js.map +1 -0
- package/dist/api/hooks/index.d.ts +14 -0
- package/dist/api/hooks/index.d.ts.map +1 -0
- package/dist/api/hooks/index.js +77 -0
- package/dist/api/hooks/index.js.map +1 -0
- package/dist/api/hooks/merge.d.ts +35 -0
- package/dist/api/hooks/merge.d.ts.map +1 -0
- package/dist/api/hooks/merge.js +345 -0
- package/dist/api/hooks/merge.js.map +1 -0
- package/dist/api/hooks/plan.d.ts +18 -0
- package/dist/api/hooks/plan.d.ts.map +1 -0
- package/dist/api/hooks/plan.js +270 -0
- package/dist/api/hooks/plan.js.map +1 -0
- package/dist/api/hooks/scripts.d.ts +18 -0
- package/dist/api/hooks/scripts.d.ts.map +1 -0
- package/dist/api/hooks/scripts.js +193 -0
- package/dist/api/hooks/scripts.js.map +1 -0
- package/dist/api/hooks/types.d.ts +85 -0
- package/dist/api/hooks/types.d.ts.map +1 -0
- package/dist/api/hooks/types.js +5 -0
- package/dist/api/hooks/types.js.map +1 -0
- package/dist/api/incident/ci-secrets.d.ts +76 -0
- package/dist/api/incident/ci-secrets.d.ts.map +1 -0
- package/dist/api/incident/ci-secrets.js +420 -0
- package/dist/api/incident/ci-secrets.js.map +1 -0
- package/dist/api/incident/history.d.ts +81 -0
- package/dist/api/incident/history.d.ts.map +1 -0
- package/dist/api/incident/history.js +379 -0
- package/dist/api/incident/history.js.map +1 -0
- package/dist/api/incident/index.d.ts +36 -0
- package/dist/api/incident/index.d.ts.map +1 -0
- package/dist/api/incident/index.js +165 -0
- package/dist/api/incident/index.js.map +1 -0
- package/dist/api/incident/markdown.d.ts +8 -0
- package/dist/api/incident/markdown.d.ts.map +1 -0
- package/dist/api/incident/markdown.js +208 -0
- package/dist/api/incident/markdown.js.map +1 -0
- package/dist/api/incident/project.d.ts +28 -0
- package/dist/api/incident/project.d.ts.map +1 -0
- package/dist/api/incident/project.js +111 -0
- package/dist/api/incident/project.js.map +1 -0
- package/dist/api/incident/rollback.d.ts +50 -0
- package/dist/api/incident/rollback.d.ts.map +1 -0
- package/dist/api/incident/rollback.js +132 -0
- package/dist/api/incident/rollback.js.map +1 -0
- package/dist/api/incident/target.d.ts +18 -0
- package/dist/api/incident/target.d.ts.map +1 -0
- package/dist/api/incident/target.js +110 -0
- package/dist/api/incident/target.js.map +1 -0
- package/dist/api/incident/text.d.ts +3 -0
- package/dist/api/incident/text.d.ts.map +1 -0
- package/dist/api/incident/text.js +13 -0
- package/dist/api/incident/text.js.map +1 -0
- package/dist/api/incident/types.d.ts +118 -0
- package/dist/api/incident/types.d.ts.map +1 -0
- package/dist/api/incident/types.js +2 -0
- package/dist/api/incident/types.js.map +1 -0
- package/dist/api/index.d.ts +30 -2
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +24 -1
- package/dist/api/index.js.map +1 -1
- package/dist/api/init/assets.d.ts +47 -0
- package/dist/api/init/assets.d.ts.map +1 -0
- package/dist/api/init/assets.js +195 -0
- package/dist/api/init/assets.js.map +1 -0
- package/dist/api/init/detect.d.ts +8 -0
- package/dist/api/init/detect.d.ts.map +1 -0
- package/dist/api/init/detect.js +136 -0
- package/dist/api/init/detect.js.map +1 -0
- package/dist/api/init/diff.d.ts +3 -0
- package/dist/api/init/diff.d.ts.map +1 -0
- package/dist/api/init/diff.js +40 -0
- package/dist/api/init/diff.js.map +1 -0
- package/dist/api/init/guard-assets.d.ts +37 -0
- package/dist/api/init/guard-assets.d.ts.map +1 -0
- package/dist/api/init/guard-assets.js +173 -0
- package/dist/api/init/guard-assets.js.map +1 -0
- package/dist/api/init/index.d.ts +13 -0
- package/dist/api/init/index.d.ts.map +1 -0
- package/dist/api/init/index.js +50 -0
- package/dist/api/init/index.js.map +1 -0
- package/dist/api/init/merge.d.ts +43 -0
- package/dist/api/init/merge.d.ts.map +1 -0
- package/dist/api/init/merge.js +303 -0
- package/dist/api/init/merge.js.map +1 -0
- package/dist/api/init/plan.d.ts +4 -0
- package/dist/api/init/plan.d.ts.map +1 -0
- package/dist/api/init/plan.js +168 -0
- package/dist/api/init/plan.js.map +1 -0
- package/dist/api/init/plugin-files.d.ts +3 -0
- package/dist/api/init/plugin-files.d.ts.map +1 -0
- package/dist/api/init/plugin-files.js +80 -0
- package/dist/api/init/plugin-files.js.map +1 -0
- package/dist/api/init/types.d.ts +72 -0
- package/dist/api/init/types.d.ts.map +1 -0
- package/dist/api/init/types.js +10 -0
- package/dist/api/init/types.js.map +1 -0
- package/dist/api/maintain/index.d.ts +21 -0
- package/dist/api/maintain/index.d.ts.map +1 -0
- package/dist/api/maintain/index.js +367 -0
- package/dist/api/maintain/index.js.map +1 -0
- package/dist/api/maintain/package-files.d.ts +37 -0
- package/dist/api/maintain/package-files.d.ts.map +1 -0
- package/dist/api/maintain/package-files.js +156 -0
- package/dist/api/maintain/package-files.js.map +1 -0
- package/dist/api/maintain/types.d.ts +87 -0
- package/dist/api/maintain/types.d.ts.map +1 -0
- package/dist/api/maintain/types.js +2 -0
- package/dist/api/maintain/types.js.map +1 -0
- package/dist/api/maintain/vex-file.d.ts +33 -0
- package/dist/api/maintain/vex-file.d.ts.map +1 -0
- package/dist/api/maintain/vex-file.js +95 -0
- package/dist/api/maintain/vex-file.js.map +1 -0
- package/dist/api/maintainer-vex/index.d.ts +57 -0
- package/dist/api/maintainer-vex/index.d.ts.map +1 -0
- package/dist/api/maintainer-vex/index.js +107 -0
- package/dist/api/maintainer-vex/index.js.map +1 -0
- package/dist/api/memory/index.d.ts +88 -0
- package/dist/api/memory/index.d.ts.map +1 -0
- package/dist/api/memory/index.js +89 -0
- package/dist/api/memory/index.js.map +1 -0
- package/dist/api/options-schema.d.ts +9 -61
- package/dist/api/options-schema.d.ts.map +1 -1
- package/dist/api/options-schema.js +21 -315
- package/dist/api/options-schema.js.map +1 -1
- package/dist/api/patches/reconcile.d.ts.map +1 -1
- package/dist/api/patches/reconcile.js +4 -1
- package/dist/api/patches/reconcile.js.map +1 -1
- package/dist/api/policy-nl/apply-patch.d.ts +23 -0
- package/dist/api/policy-nl/apply-patch.d.ts.map +1 -0
- package/dist/api/policy-nl/apply-patch.js +153 -0
- package/dist/api/policy-nl/apply-patch.js.map +1 -0
- package/dist/api/policy-nl/compile.d.ts +98 -0
- package/dist/api/policy-nl/compile.d.ts.map +1 -0
- package/dist/api/policy-nl/compile.js +308 -0
- package/dist/api/policy-nl/compile.js.map +1 -0
- package/dist/api/policy-nl/explain.d.ts +33 -0
- package/dist/api/policy-nl/explain.d.ts.map +1 -0
- package/dist/api/policy-nl/explain.js +137 -0
- package/dist/api/policy-nl/explain.js.map +1 -0
- package/dist/api/policy-nl/index.d.ts +6 -0
- package/dist/api/policy-nl/index.d.ts.map +1 -0
- package/dist/api/policy-nl/index.js +6 -0
- package/dist/api/policy-nl/index.js.map +1 -0
- package/dist/api/policy-nl/prompt.d.ts +16 -0
- package/dist/api/policy-nl/prompt.d.ts.map +1 -0
- package/dist/api/policy-nl/prompt.js +45 -0
- package/dist/api/policy-nl/prompt.js.map +1 -0
- package/dist/api/policy-nl/proposal.d.ts +438 -0
- package/dist/api/policy-nl/proposal.d.ts.map +1 -0
- package/dist/api/policy-nl/proposal.js +105 -0
- package/dist/api/policy-nl/proposal.js.map +1 -0
- package/dist/api/policy-nl/request-match.d.ts +20 -0
- package/dist/api/policy-nl/request-match.d.ts.map +1 -0
- package/dist/api/policy-nl/request-match.js +94 -0
- package/dist/api/policy-nl/request-match.js.map +1 -0
- package/dist/api/policy-nl/sanitize.d.ts +21 -0
- package/dist/api/policy-nl/sanitize.d.ts.map +1 -0
- package/dist/api/policy-nl/sanitize.js +65 -0
- package/dist/api/policy-nl/sanitize.js.map +1 -0
- package/dist/api/policy-nl/vocabulary.d.ts +9 -0
- package/dist/api/policy-nl/vocabulary.d.ts.map +1 -0
- package/dist/api/policy-nl/vocabulary.js +118 -0
- package/dist/api/policy-nl/vocabulary.js.map +1 -0
- package/dist/api/premortem/index.d.ts +16 -0
- package/dist/api/premortem/index.d.ts.map +1 -0
- package/dist/api/premortem/index.js +274 -0
- package/dist/api/premortem/index.js.map +1 -0
- package/dist/api/premortem/playbook.d.ts +8 -0
- package/dist/api/premortem/playbook.d.ts.map +1 -0
- package/dist/api/premortem/playbook.js +131 -0
- package/dist/api/premortem/playbook.js.map +1 -0
- package/dist/api/premortem/types.d.ts +75 -0
- package/dist/api/premortem/types.d.ts.map +1 -0
- package/dist/api/premortem/types.js +2 -0
- package/dist/api/premortem/types.js.map +1 -0
- package/dist/api/prove/advisory.d.ts +26 -0
- package/dist/api/prove/advisory.d.ts.map +1 -0
- package/dist/api/prove/advisory.js +81 -0
- package/dist/api/prove/advisory.js.map +1 -0
- package/dist/api/prove/agent.d.ts +9 -0
- package/dist/api/prove/agent.d.ts.map +1 -0
- package/dist/api/prove/agent.js +203 -0
- package/dist/api/prove/agent.js.map +1 -0
- package/dist/api/prove/evidence.d.ts +108 -0
- package/dist/api/prove/evidence.d.ts.map +1 -0
- package/dist/api/prove/evidence.js +176 -0
- package/dist/api/prove/evidence.js.map +1 -0
- package/dist/api/prove/harness.d.ts +27 -0
- package/dist/api/prove/harness.d.ts.map +1 -0
- package/dist/api/prove/harness.js +148 -0
- package/dist/api/prove/harness.js.map +1 -0
- package/dist/api/prove/index.d.ts +84 -0
- package/dist/api/prove/index.d.ts.map +1 -0
- package/dist/api/prove/index.js +289 -0
- package/dist/api/prove/index.js.map +1 -0
- package/dist/api/prove/install.d.ts +24 -0
- package/dist/api/prove/install.d.ts.map +1 -0
- package/dist/api/prove/install.js +150 -0
- package/dist/api/prove/install.js.map +1 -0
- package/dist/api/prove/sandbox.d.ts +48 -0
- package/dist/api/prove/sandbox.d.ts.map +1 -0
- package/dist/api/prove/sandbox.js +269 -0
- package/dist/api/prove/sandbox.js.map +1 -0
- package/dist/api/prove/screen.d.ts +17 -0
- package/dist/api/prove/screen.d.ts.map +1 -0
- package/dist/api/prove/screen.js +256 -0
- package/dist/api/prove/screen.js.map +1 -0
- package/dist/api/prove/types.d.ts +105 -0
- package/dist/api/prove/types.d.ts.map +1 -0
- package/dist/api/prove/types.js +2 -0
- package/dist/api/prove/types.js.map +1 -0
- package/dist/api/radar/deps.d.ts +7 -0
- package/dist/api/radar/deps.d.ts.map +1 -0
- package/dist/api/radar/deps.js +263 -0
- package/dist/api/radar/deps.js.map +1 -0
- package/dist/api/radar/index.d.ts +16 -0
- package/dist/api/radar/index.d.ts.map +1 -0
- package/dist/api/radar/index.js +429 -0
- package/dist/api/radar/index.js.map +1 -0
- package/dist/api/radar/render.d.ts +6 -0
- package/dist/api/radar/render.d.ts.map +1 -0
- package/dist/api/radar/render.js +51 -0
- package/dist/api/radar/render.js.map +1 -0
- package/dist/api/radar/types.d.ts +162 -0
- package/dist/api/radar/types.d.ts.map +1 -0
- package/dist/api/radar/types.js +2 -0
- package/dist/api/radar/types.js.map +1 -0
- package/dist/api/reachability/index.d.ts.map +1 -1
- package/dist/api/reachability/index.js +35 -1
- package/dist/api/reachability/index.js.map +1 -1
- package/dist/api/recipes/index.d.ts +93 -0
- package/dist/api/recipes/index.d.ts.map +1 -0
- package/dist/api/recipes/index.js +159 -0
- package/dist/api/recipes/index.js.map +1 -0
- package/dist/api/remediate/index.d.ts.map +1 -1
- package/dist/api/remediate/index.js +25 -1
- package/dist/api/remediate/index.js.map +1 -1
- package/dist/api/remediate.evidence.d.ts.map +1 -1
- package/dist/api/remediate.evidence.js +1 -0
- package/dist/api/remediate.evidence.js.map +1 -1
- package/dist/api/reporting.d.ts +21 -0
- package/dist/api/reporting.d.ts.map +1 -1
- package/dist/api/reporting.js +39 -1
- package/dist/api/reporting.js.map +1 -1
- package/dist/api/runs/attempts.d.ts +86 -0
- package/dist/api/runs/attempts.d.ts.map +1 -0
- package/dist/api/runs/attempts.js +378 -0
- package/dist/api/runs/attempts.js.map +1 -0
- package/dist/api/runs/autonomy-events.d.ts +41 -0
- package/dist/api/runs/autonomy-events.d.ts.map +1 -0
- package/dist/api/runs/autonomy-events.js +130 -0
- package/dist/api/runs/autonomy-events.js.map +1 -0
- package/dist/api/runs/deps.d.ts +23 -0
- package/dist/api/runs/deps.d.ts.map +1 -0
- package/dist/api/runs/deps.js +51 -0
- package/dist/api/runs/deps.js.map +1 -0
- package/dist/api/runs/index.d.ts +167 -0
- package/dist/api/runs/index.d.ts.map +1 -0
- package/dist/api/runs/index.js +601 -0
- package/dist/api/runs/index.js.map +1 -0
- package/dist/api/runs/memory-events.d.ts +19 -0
- package/dist/api/runs/memory-events.d.ts.map +1 -0
- package/dist/api/runs/memory-events.js +78 -0
- package/dist/api/runs/memory-events.js.map +1 -0
- package/dist/api/runs/recipes.d.ts +40 -0
- package/dist/api/runs/recipes.d.ts.map +1 -0
- package/dist/api/runs/recipes.js +110 -0
- package/dist/api/runs/recipes.js.map +1 -0
- package/dist/api/runs/repair.d.ts +73 -0
- package/dist/api/runs/repair.d.ts.map +1 -0
- package/dist/api/runs/repair.js +226 -0
- package/dist/api/runs/repair.js.map +1 -0
- package/dist/api/trace/index.d.ts +6 -0
- package/dist/api/trace/index.d.ts.map +1 -0
- package/dist/api/trace/index.js +5 -0
- package/dist/api/trace/index.js.map +1 -0
- package/dist/api/update-outdated/index.d.ts.map +1 -1
- package/dist/api/update-outdated/index.js +13 -1
- package/dist/api/update-outdated/index.js.map +1 -1
- package/dist/api/vex/index.d.ts +44 -1
- package/dist/api/vex/index.d.ts.map +1 -1
- package/dist/api/vex/index.js +131 -3
- package/dist/api/vex/index.js.map +1 -1
- package/dist/autonomy/compute.d.ts +117 -0
- package/dist/autonomy/compute.d.ts.map +1 -0
- package/dist/autonomy/compute.js +346 -0
- package/dist/autonomy/compute.js.map +1 -0
- package/dist/autonomy/record.d.ts +21 -0
- package/dist/autonomy/record.d.ts.map +1 -0
- package/dist/autonomy/record.js +228 -0
- package/dist/autonomy/record.js.map +1 -0
- package/dist/autonomy/types.d.ts +78 -0
- package/dist/autonomy/types.d.ts.map +1 -0
- package/dist/autonomy/types.js +59 -0
- package/dist/autonomy/types.js.map +1 -0
- package/dist/catalog/adapters/http.d.ts +27 -0
- package/dist/catalog/adapters/http.d.ts.map +1 -0
- package/dist/catalog/adapters/http.js +190 -0
- package/dist/catalog/adapters/http.js.map +1 -0
- package/dist/catalog/adapters/mcp.d.ts +53 -0
- package/dist/catalog/adapters/mcp.d.ts.map +1 -0
- package/dist/catalog/adapters/mcp.js +105 -0
- package/dist/catalog/adapters/mcp.js.map +1 -0
- package/dist/catalog/api-deps.d.ts +64 -0
- package/dist/catalog/api-deps.d.ts.map +1 -0
- package/dist/catalog/api-deps.js +60 -0
- package/dist/catalog/api-deps.js.map +1 -0
- package/dist/catalog/define-operation.d.ts +59 -0
- package/dist/catalog/define-operation.d.ts.map +1 -0
- package/dist/catalog/define-operation.js +9 -0
- package/dist/catalog/define-operation.js.map +1 -0
- package/dist/catalog/evidence-pack-operations.d.ts +3 -0
- package/dist/catalog/evidence-pack-operations.d.ts.map +1 -0
- package/dist/catalog/evidence-pack-operations.js +93 -0
- package/dist/catalog/evidence-pack-operations.js.map +1 -0
- package/dist/catalog/freshness-operations.d.ts +3 -0
- package/dist/catalog/freshness-operations.d.ts.map +1 -0
- package/dist/catalog/freshness-operations.js +91 -0
- package/dist/catalog/freshness-operations.js.map +1 -0
- package/dist/catalog/incident-operations.d.ts +3 -0
- package/dist/catalog/incident-operations.d.ts.map +1 -0
- package/dist/catalog/incident-operations.js +125 -0
- package/dist/catalog/incident-operations.js.map +1 -0
- package/dist/catalog/index.d.ts +12 -0
- package/dist/catalog/index.d.ts.map +1 -0
- package/dist/catalog/index.js +7 -0
- package/dist/catalog/index.js.map +1 -0
- package/dist/catalog/maintainer-vex-operations.d.ts +3 -0
- package/dist/catalog/maintainer-vex-operations.d.ts.map +1 -0
- package/dist/catalog/maintainer-vex-operations.js +107 -0
- package/dist/catalog/maintainer-vex-operations.js.map +1 -0
- package/dist/catalog/memory-operations.d.ts +3 -0
- package/dist/catalog/memory-operations.d.ts.map +1 -0
- package/dist/catalog/memory-operations.js +128 -0
- package/dist/catalog/memory-operations.js.map +1 -0
- package/dist/catalog/operations.d.ts +4 -0
- package/dist/catalog/operations.d.ts.map +1 -0
- package/dist/catalog/operations.js +797 -0
- package/dist/catalog/operations.js.map +1 -0
- package/dist/catalog/policy-operations.d.ts +3 -0
- package/dist/catalog/policy-operations.d.ts.map +1 -0
- package/dist/catalog/policy-operations.js +87 -0
- package/dist/catalog/policy-operations.js.map +1 -0
- package/dist/catalog/prove-operations.d.ts +3 -0
- package/dist/catalog/prove-operations.d.ts.map +1 -0
- package/dist/catalog/prove-operations.js +87 -0
- package/dist/catalog/prove-operations.js.map +1 -0
- package/dist/catalog/radar-operations.d.ts +3 -0
- package/dist/catalog/radar-operations.d.ts.map +1 -0
- package/dist/catalog/radar-operations.js +82 -0
- package/dist/catalog/radar-operations.js.map +1 -0
- package/dist/catalog/responses.d.ts +229 -0
- package/dist/catalog/responses.d.ts.map +1 -0
- package/dist/catalog/responses.js +313 -0
- package/dist/catalog/responses.js.map +1 -0
- package/dist/catalog/schema.d.ts +11 -0
- package/dist/catalog/schema.d.ts.map +1 -0
- package/dist/catalog/schema.js +13 -0
- package/dist/catalog/schema.js.map +1 -0
- package/dist/cli/autonomy.d.ts +11 -0
- package/dist/cli/autonomy.d.ts.map +1 -0
- package/dist/cli/autonomy.js +80 -0
- package/dist/cli/autonomy.js.map +1 -0
- package/dist/cli/bisect.d.ts +19 -0
- package/dist/cli/bisect.d.ts.map +1 -0
- package/dist/cli/bisect.js +109 -0
- package/dist/cli/bisect.js.map +1 -0
- package/dist/cli/errors.d.ts +8 -0
- package/dist/cli/errors.d.ts.map +1 -0
- package/dist/cli/errors.js +23 -0
- package/dist/cli/errors.js.map +1 -0
- package/dist/cli/evidence-pack-commands.d.ts +21 -0
- package/dist/cli/evidence-pack-commands.d.ts.map +1 -0
- package/dist/cli/evidence-pack-commands.js +109 -0
- package/dist/cli/evidence-pack-commands.js.map +1 -0
- package/dist/cli/freshness-commands.d.ts +31 -0
- package/dist/cli/freshness-commands.d.ts.map +1 -0
- package/dist/cli/freshness-commands.js +241 -0
- package/dist/cli/freshness-commands.js.map +1 -0
- package/dist/cli/incident-commands.d.ts +29 -0
- package/dist/cli/incident-commands.d.ts.map +1 -0
- package/dist/cli/incident-commands.js +131 -0
- package/dist/cli/incident-commands.js.map +1 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +4 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/maintain-commands.d.ts +22 -0
- package/dist/cli/maintain-commands.d.ts.map +1 -0
- package/dist/cli/maintain-commands.js +161 -0
- package/dist/cli/maintain-commands.js.map +1 -0
- package/dist/cli/memory-commands.d.ts +23 -0
- package/dist/cli/memory-commands.d.ts.map +1 -0
- package/dist/cli/memory-commands.js +172 -0
- package/dist/cli/memory-commands.js.map +1 -0
- package/dist/cli/policy-commands.d.ts +29 -0
- package/dist/cli/policy-commands.d.ts.map +1 -0
- package/dist/cli/policy-commands.js +138 -0
- package/dist/cli/policy-commands.js.map +1 -0
- package/dist/cli/program.d.ts.map +1 -1
- package/dist/cli/program.js +254 -2
- package/dist/cli/program.js.map +1 -1
- package/dist/cli/prove-commands.d.ts +22 -0
- package/dist/cli/prove-commands.d.ts.map +1 -0
- package/dist/cli/prove-commands.js +65 -0
- package/dist/cli/prove-commands.js.map +1 -0
- package/dist/cli/radar-commands.d.ts +20 -0
- package/dist/cli/radar-commands.d.ts.map +1 -0
- package/dist/cli/radar-commands.js +60 -0
- package/dist/cli/radar-commands.js.map +1 -0
- package/dist/cli/recipes.d.ts +3 -0
- package/dist/cli/recipes.d.ts.map +1 -0
- package/dist/cli/recipes.js +124 -0
- package/dist/cli/recipes.js.map +1 -0
- package/dist/cli/runners.d.ts +95 -1
- package/dist/cli/runners.d.ts.map +1 -1
- package/dist/cli/runners.js +586 -157
- package/dist/cli/runners.js.map +1 -1
- package/dist/cli/trace.d.ts +12 -0
- package/dist/cli/trace.d.ts.map +1 -0
- package/dist/cli/trace.js +79 -0
- package/dist/cli/trace.js.map +1 -0
- package/dist/cli/types.d.ts +4 -2
- package/dist/cli/types.d.ts.map +1 -1
- package/dist/cli/types.js.map +1 -1
- package/dist/cli/validators.d.ts.map +1 -1
- package/dist/cli/validators.js +5 -0
- package/dist/cli/validators.js.map +1 -1
- package/dist/intelligence/sources/cisa-kev.d.ts +6 -0
- package/dist/intelligence/sources/cisa-kev.d.ts.map +1 -1
- package/dist/intelligence/sources/cisa-kev.js +27 -3
- package/dist/intelligence/sources/cisa-kev.js.map +1 -1
- package/dist/intelligence/sources/registry.d.ts +55 -6
- package/dist/intelligence/sources/registry.d.ts.map +1 -1
- package/dist/intelligence/sources/registry.js +182 -61
- package/dist/intelligence/sources/registry.js.map +1 -1
- package/dist/mcp/http.d.ts +23 -0
- package/dist/mcp/http.d.ts.map +1 -0
- package/dist/mcp/http.js +102 -0
- package/dist/mcp/http.js.map +1 -0
- package/dist/mcp/prompts.d.ts +25 -0
- package/dist/mcp/prompts.d.ts.map +1 -0
- package/dist/mcp/prompts.js +89 -0
- package/dist/mcp/prompts.js.map +1 -0
- package/dist/mcp/resources.d.ts +58 -0
- package/dist/mcp/resources.d.ts.map +1 -0
- package/dist/mcp/resources.js +131 -0
- package/dist/mcp/resources.js.map +1 -0
- package/dist/mcp/server.d.ts +19 -350
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +72 -423
- package/dist/mcp/server.js.map +1 -1
- package/dist/openapi/handlers/index.d.ts.map +1 -1
- package/dist/openapi/handlers/index.js +42 -35
- package/dist/openapi/handlers/index.js.map +1 -1
- package/dist/openapi/handlers/run-operation.d.ts +9 -0
- package/dist/openapi/handlers/run-operation.d.ts.map +1 -0
- package/dist/openapi/handlers/run-operation.js +46 -0
- package/dist/openapi/handlers/run-operation.js.map +1 -0
- package/dist/openapi/handlers/validators.d.ts +2 -3
- package/dist/openapi/handlers/validators.d.ts.map +1 -1
- package/dist/openapi/handlers/validators.js +1 -21
- package/dist/openapi/handlers/validators.js.map +1 -1
- package/dist/openapi/http-utils.d.ts +1 -14
- package/dist/openapi/http-utils.d.ts.map +1 -1
- package/dist/openapi/http-utils.js +1 -82
- package/dist/openapi/http-utils.js.map +1 -1
- package/dist/openapi/rbac.d.ts +1 -21
- package/dist/openapi/rbac.d.ts.map +1 -1
- package/dist/openapi/rbac.js +9 -135
- package/dist/openapi/rbac.js.map +1 -1
- package/dist/openapi/server.d.ts +7 -16
- package/dist/openapi/server.d.ts.map +1 -1
- package/dist/openapi/server.js +2 -16
- package/dist/openapi/server.js.map +1 -1
- package/dist/openapi/spec/index.d.ts +10 -1012
- package/dist/openapi/spec/index.d.ts.map +1 -1
- package/dist/openapi/spec/index.js +36 -2
- package/dist/openapi/spec/index.js.map +1 -1
- package/dist/platform/cooldown.d.ts +15 -0
- package/dist/platform/cooldown.d.ts.map +1 -0
- package/dist/platform/cooldown.js +136 -0
- package/dist/platform/cooldown.js.map +1 -0
- package/dist/platform/freshness-policy.d.ts +25 -0
- package/dist/platform/freshness-policy.d.ts.map +1 -0
- package/dist/platform/freshness-policy.js +25 -0
- package/dist/platform/freshness-policy.js.map +1 -0
- package/dist/platform/git-ref.d.ts +8 -0
- package/dist/platform/git-ref.d.ts.map +1 -0
- package/dist/platform/git-ref.js +35 -0
- package/dist/platform/git-ref.js.map +1 -0
- package/dist/platform/http-auth.d.ts +42 -0
- package/dist/platform/http-auth.d.ts.map +1 -0
- package/dist/platform/http-auth.js +151 -0
- package/dist/platform/http-auth.js.map +1 -0
- package/dist/platform/http-security.d.ts +25 -0
- package/dist/platform/http-security.d.ts.map +1 -0
- package/dist/platform/http-security.js +102 -0
- package/dist/platform/http-security.js.map +1 -0
- package/dist/platform/maintainer-vex/find.d.ts +25 -0
- package/dist/platform/maintainer-vex/find.d.ts.map +1 -0
- package/dist/platform/maintainer-vex/find.js +109 -0
- package/dist/platform/maintainer-vex/find.js.map +1 -0
- package/dist/platform/maintainer-vex/index.d.ts +5 -0
- package/dist/platform/maintainer-vex/index.d.ts.map +1 -0
- package/dist/platform/maintainer-vex/index.js +5 -0
- package/dist/platform/maintainer-vex/index.js.map +1 -0
- package/dist/platform/maintainer-vex/openvex.d.ts +91 -0
- package/dist/platform/maintainer-vex/openvex.d.ts.map +1 -0
- package/dist/platform/maintainer-vex/openvex.js +154 -0
- package/dist/platform/maintainer-vex/openvex.js.map +1 -0
- package/dist/platform/maintainer-vex/purl.d.ts +16 -0
- package/dist/platform/maintainer-vex/purl.d.ts.map +1 -0
- package/dist/platform/maintainer-vex/purl.js +46 -0
- package/dist/platform/maintainer-vex/purl.js.map +1 -0
- package/dist/platform/maintainer-vex/read.d.ts +78 -0
- package/dist/platform/maintainer-vex/read.d.ts.map +1 -0
- package/dist/platform/maintainer-vex/read.js +276 -0
- package/dist/platform/maintainer-vex/read.js.map +1 -0
- package/dist/platform/memory/consume.d.ts +35 -0
- package/dist/platform/memory/consume.d.ts.map +1 -0
- package/dist/platform/memory/consume.js +130 -0
- package/dist/platform/memory/consume.js.map +1 -0
- package/dist/platform/memory/entries.d.ts +119 -0
- package/dist/platform/memory/entries.d.ts.map +1 -0
- package/dist/platform/memory/entries.js +306 -0
- package/dist/platform/memory/entries.js.map +1 -0
- package/dist/platform/memory/format.d.ts +83 -0
- package/dist/platform/memory/format.d.ts.map +1 -0
- package/dist/platform/memory/format.js +285 -0
- package/dist/platform/memory/format.js.map +1 -0
- package/dist/platform/memory/index.d.ts +7 -0
- package/dist/platform/memory/index.d.ts.map +1 -0
- package/dist/platform/memory/index.js +7 -0
- package/dist/platform/memory/index.js.map +1 -0
- package/dist/platform/memory/path.d.ts +7 -0
- package/dist/platform/memory/path.d.ts.map +1 -0
- package/dist/platform/memory/path.js +7 -0
- package/dist/platform/memory/path.js.map +1 -0
- package/dist/platform/memory/propose.d.ts +30 -0
- package/dist/platform/memory/propose.d.ts.map +1 -0
- package/dist/platform/memory/propose.js +71 -0
- package/dist/platform/memory/propose.js.map +1 -0
- package/dist/platform/memory/store.d.ts +64 -0
- package/dist/platform/memory/store.d.ts.map +1 -0
- package/dist/platform/memory/store.js +206 -0
- package/dist/platform/memory/store.js.map +1 -0
- package/dist/platform/option-schemas.d.ts +1225 -0
- package/dist/platform/option-schemas.d.ts.map +1 -0
- package/dist/platform/option-schemas.js +484 -0
- package/dist/platform/option-schemas.js.map +1 -0
- package/dist/platform/package-manager/index.d.ts +11 -2
- package/dist/platform/package-manager/index.d.ts.map +1 -1
- package/dist/platform/package-manager/index.js +24 -1
- package/dist/platform/package-manager/index.js.map +1 -1
- package/dist/platform/package-manager/list-parser.d.ts +4 -2
- package/dist/platform/package-manager/list-parser.d.ts.map +1 -1
- package/dist/platform/package-manager/list-parser.js +13 -4
- package/dist/platform/package-manager/list-parser.js.map +1 -1
- package/dist/platform/package-name.d.ts +11 -0
- package/dist/platform/package-name.d.ts.map +1 -0
- package/dist/platform/package-name.js +18 -0
- package/dist/platform/package-name.js.map +1 -0
- package/dist/platform/path-guard.d.ts +29 -0
- package/dist/platform/path-guard.d.ts.map +1 -0
- package/dist/platform/path-guard.js +113 -0
- package/dist/platform/path-guard.js.map +1 -0
- package/dist/platform/policy-loosening.d.ts +31 -0
- package/dist/platform/policy-loosening.d.ts.map +1 -0
- package/dist/platform/policy-loosening.js +371 -0
- package/dist/platform/policy-loosening.js.map +1 -0
- package/dist/platform/policy.d.ts +248 -1
- package/dist/platform/policy.d.ts.map +1 -1
- package/dist/platform/policy.js +23 -51
- package/dist/platform/policy.js.map +1 -1
- package/dist/platform/redact.d.ts +7 -0
- package/dist/platform/redact.d.ts.map +1 -0
- package/dist/platform/redact.js +11 -0
- package/dist/platform/redact.js.map +1 -0
- package/dist/platform/registry-config.d.ts +27 -0
- package/dist/platform/registry-config.d.ts.map +1 -0
- package/dist/platform/registry-config.js +175 -0
- package/dist/platform/registry-config.js.map +1 -0
- package/dist/platform/repair-agent.d.ts +84 -0
- package/dist/platform/repair-agent.d.ts.map +1 -0
- package/dist/platform/repair-agent.js +7 -0
- package/dist/platform/repair-agent.js.map +1 -0
- package/dist/platform/rollback.d.ts.map +1 -1
- package/dist/platform/rollback.js +12 -0
- package/dist/platform/rollback.js.map +1 -1
- package/dist/platform/supply-chain.d.ts +2 -1
- package/dist/platform/supply-chain.d.ts.map +1 -1
- package/dist/platform/supply-chain.js +10 -4
- package/dist/platform/supply-chain.js.map +1 -1
- package/dist/platform/track-record-path.d.ts +8 -0
- package/dist/platform/track-record-path.d.ts.map +1 -0
- package/dist/platform/track-record-path.js +8 -0
- package/dist/platform/track-record-path.js.map +1 -0
- package/dist/platform/types.d.ts +97 -4
- package/dist/platform/types.d.ts.map +1 -1
- package/dist/platform/types.js +6 -1
- package/dist/platform/types.js.map +1 -1
- package/dist/recipes/capture.d.ts +36 -0
- package/dist/recipes/capture.d.ts.map +1 -0
- package/dist/recipes/capture.js +153 -0
- package/dist/recipes/capture.js.map +1 -0
- package/dist/recipes/discover.d.ts +42 -0
- package/dist/recipes/discover.d.ts.map +1 -0
- package/dist/recipes/discover.js +152 -0
- package/dist/recipes/discover.js.map +1 -0
- package/dist/recipes/engine.d.ts +38 -0
- package/dist/recipes/engine.d.ts.map +1 -0
- package/dist/recipes/engine.js +174 -0
- package/dist/recipes/engine.js.map +1 -0
- package/dist/recipes/schema.d.ts +53 -0
- package/dist/recipes/schema.d.ts.map +1 -0
- package/dist/recipes/schema.js +126 -0
- package/dist/recipes/schema.js.map +1 -0
- package/dist/recipes/store.d.ts +33 -0
- package/dist/recipes/store.d.ts.map +1 -0
- package/dist/recipes/store.js +114 -0
- package/dist/recipes/store.js.map +1 -0
- package/dist/remediation/evaluate-package.d.ts.map +1 -1
- package/dist/remediation/evaluate-package.js +4 -2
- package/dist/remediation/evaluate-package.js.map +1 -1
- package/dist/remediation/impact/api-diff.d.ts +51 -0
- package/dist/remediation/impact/api-diff.d.ts.map +1 -0
- package/dist/remediation/impact/api-diff.js +374 -0
- package/dist/remediation/impact/api-diff.js.map +1 -0
- package/dist/remediation/impact/assess.d.ts +51 -0
- package/dist/remediation/impact/assess.d.ts.map +1 -0
- package/dist/remediation/impact/assess.js +118 -0
- package/dist/remediation/impact/assess.js.map +1 -0
- package/dist/remediation/impact/ast.d.ts +37 -0
- package/dist/remediation/impact/ast.d.ts.map +1 -0
- package/dist/remediation/impact/ast.js +201 -0
- package/dist/remediation/impact/ast.js.map +1 -0
- package/dist/remediation/impact/dts-surface.d.ts +48 -0
- package/dist/remediation/impact/dts-surface.d.ts.map +1 -0
- package/dist/remediation/impact/dts-surface.js +658 -0
- package/dist/remediation/impact/dts-surface.js.map +1 -0
- package/dist/remediation/impact/fix-diff.d.ts +84 -0
- package/dist/remediation/impact/fix-diff.d.ts.map +1 -0
- package/dist/remediation/impact/fix-diff.js +493 -0
- package/dist/remediation/impact/fix-diff.js.map +1 -0
- package/dist/remediation/impact/impact.d.ts +96 -0
- package/dist/remediation/impact/impact.d.ts.map +1 -0
- package/dist/remediation/impact/impact.js +404 -0
- package/dist/remediation/impact/impact.js.map +1 -0
- package/dist/remediation/impact/js-exports.d.ts +63 -0
- package/dist/remediation/impact/js-exports.d.ts.map +1 -0
- package/dist/remediation/impact/js-exports.js +546 -0
- package/dist/remediation/impact/js-exports.js.map +1 -0
- package/dist/remediation/impact/manifest-diff.d.ts +23 -0
- package/dist/remediation/impact/manifest-diff.d.ts.map +1 -0
- package/dist/remediation/impact/manifest-diff.js +223 -0
- package/dist/remediation/impact/manifest-diff.js.map +1 -0
- package/dist/remediation/impact/package-index.d.ts +37 -0
- package/dist/remediation/impact/package-index.d.ts.map +1 -0
- package/dist/remediation/impact/package-index.js +313 -0
- package/dist/remediation/impact/package-index.js.map +1 -0
- package/dist/remediation/impact/tarball.d.ts +43 -0
- package/dist/remediation/impact/tarball.d.ts.map +1 -0
- package/dist/remediation/impact/tarball.js +216 -0
- package/dist/remediation/impact/tarball.js.map +1 -0
- package/dist/remediation/impact/types.d.ts +42 -0
- package/dist/remediation/impact/types.d.ts.map +1 -0
- package/dist/remediation/impact/types.js +3 -0
- package/dist/remediation/impact/types.js.map +1 -0
- package/dist/remediation/impact/usage-index.d.ts +28 -0
- package/dist/remediation/impact/usage-index.d.ts.map +1 -0
- package/dist/remediation/impact/usage-index.js +406 -0
- package/dist/remediation/impact/usage-index.js.map +1 -0
- package/dist/remediation/local/fallback.d.ts.map +1 -1
- package/dist/remediation/local/fallback.js +1 -0
- package/dist/remediation/local/fallback.js.map +1 -1
- package/dist/remediation/local/options.d.ts +3 -0
- package/dist/remediation/local/options.d.ts.map +1 -1
- package/dist/remediation/local/options.js +2 -0
- package/dist/remediation/local/options.js.map +1 -1
- package/dist/remediation/local/primary-strategy.d.ts +4 -0
- package/dist/remediation/local/primary-strategy.d.ts.map +1 -1
- package/dist/remediation/local/primary-strategy.js +61 -17
- package/dist/remediation/local/primary-strategy.js.map +1 -1
- package/dist/remediation/local/run.d.ts.map +1 -1
- package/dist/remediation/local/run.js +85 -6
- package/dist/remediation/local/run.js.map +1 -1
- package/dist/remediation/local/sbom.d.ts +3 -1
- package/dist/remediation/local/sbom.d.ts.map +1 -1
- package/dist/remediation/local/sbom.js +15 -9
- package/dist/remediation/local/sbom.js.map +1 -1
- package/dist/remediation/local/secops-preflight.d.ts +2 -1
- package/dist/remediation/local/secops-preflight.d.ts.map +1 -1
- package/dist/remediation/local/secops-preflight.js +1 -0
- package/dist/remediation/local/secops-preflight.js.map +1 -1
- package/dist/remediation/local/select-target.d.ts +53 -0
- package/dist/remediation/local/select-target.d.ts.map +1 -0
- package/dist/remediation/local/select-target.js +74 -0
- package/dist/remediation/local/select-target.js.map +1 -0
- package/dist/remediation/patch/llm-generator.d.ts.map +1 -1
- package/dist/remediation/patch/llm-generator.js +4 -4
- package/dist/remediation/patch/llm-generator.js.map +1 -1
- package/dist/remediation/radar/changelog.d.ts +38 -0
- package/dist/remediation/radar/changelog.d.ts.map +1 -0
- package/dist/remediation/radar/changelog.js +311 -0
- package/dist/remediation/radar/changelog.js.map +1 -0
- package/dist/remediation/radar/code-diff.d.ts +30 -0
- package/dist/remediation/radar/code-diff.d.ts.map +1 -0
- package/dist/remediation/radar/code-diff.js +512 -0
- package/dist/remediation/radar/code-diff.js.map +1 -0
- package/dist/remediation/radar/metadata.d.ts +14 -0
- package/dist/remediation/radar/metadata.d.ts.map +1 -0
- package/dist/remediation/radar/metadata.js +105 -0
- package/dist/remediation/radar/metadata.js.map +1 -0
- package/dist/remediation/radar/model.d.ts +40 -0
- package/dist/remediation/radar/model.d.ts.map +1 -0
- package/dist/remediation/radar/model.js +74 -0
- package/dist/remediation/radar/model.js.map +1 -0
- package/dist/remediation/radar/sanitize.d.ts +15 -0
- package/dist/remediation/radar/sanitize.d.ts.map +1 -0
- package/dist/remediation/radar/sanitize.js +47 -0
- package/dist/remediation/radar/sanitize.js.map +1 -0
- package/dist/remediation/radar/score.d.ts +12 -0
- package/dist/remediation/radar/score.d.ts.map +1 -0
- package/dist/remediation/radar/score.js +27 -0
- package/dist/remediation/radar/score.js.map +1 -0
- package/dist/remediation/radar/types.d.ts +74 -0
- package/dist/remediation/radar/types.d.ts.map +1 -0
- package/dist/remediation/radar/types.js +65 -0
- package/dist/remediation/radar/types.js.map +1 -0
- package/dist/remediation/repair/attempt.d.ts +74 -0
- package/dist/remediation/repair/attempt.d.ts.map +1 -0
- package/dist/remediation/repair/attempt.js +262 -0
- package/dist/remediation/repair/attempt.js.map +1 -0
- package/dist/remediation/repair/builtin-agent.d.ts +9 -0
- package/dist/remediation/repair/builtin-agent.d.ts.map +1 -0
- package/dist/remediation/repair/builtin-agent.js +139 -0
- package/dist/remediation/repair/builtin-agent.js.map +1 -0
- package/dist/remediation/repair/patch-apply.d.ts +12 -0
- package/dist/remediation/repair/patch-apply.d.ts.map +1 -0
- package/dist/remediation/repair/patch-apply.js +75 -0
- package/dist/remediation/repair/patch-apply.js.map +1 -0
- package/dist/remediation/repair/recipe-attempt.d.ts +56 -0
- package/dist/remediation/repair/recipe-attempt.d.ts.map +1 -0
- package/dist/remediation/repair/recipe-attempt.js +99 -0
- package/dist/remediation/repair/recipe-attempt.js.map +1 -0
- package/dist/remediation/repair/scope-guard.d.ts +18 -0
- package/dist/remediation/repair/scope-guard.d.ts.map +1 -0
- package/dist/remediation/repair/scope-guard.js +62 -0
- package/dist/remediation/repair/scope-guard.js.map +1 -0
- package/dist/remediation/repair/tools.d.ts +30 -0
- package/dist/remediation/repair/tools.d.ts.map +1 -0
- package/dist/remediation/repair/tools.js +370 -0
- package/dist/remediation/repair/tools.js.map +1 -0
- package/dist/remediation/tools/apply-package-override/helpers.d.ts +0 -1
- package/dist/remediation/tools/apply-package-override/helpers.d.ts.map +1 -1
- package/dist/remediation/tools/apply-package-override/helpers.js +0 -30
- package/dist/remediation/tools/apply-package-override/helpers.js.map +1 -1
- package/dist/remediation/tools/apply-package-override/index.d.ts.map +1 -1
- package/dist/remediation/tools/apply-package-override/index.js +51 -13
- package/dist/remediation/tools/apply-package-override/index.js.map +1 -1
- package/dist/remediation/tools/apply-package-override/pnpm-workspace.d.ts +19 -0
- package/dist/remediation/tools/apply-package-override/pnpm-workspace.d.ts.map +1 -0
- package/dist/remediation/tools/apply-package-override/pnpm-workspace.js +47 -0
- package/dist/remediation/tools/apply-package-override/pnpm-workspace.js.map +1 -0
- package/dist/remediation/tools/apply-patch-file/index.js +1 -1
- package/dist/remediation/tools/apply-patch-file/index.js.map +1 -1
- package/dist/remediation/tools/apply-version-bump.d.ts.map +1 -1
- package/dist/remediation/tools/apply-version-bump.js +20 -45
- package/dist/remediation/tools/apply-version-bump.js.map +1 -1
- package/dist/remediation/tools/check-inventory.d.ts +6 -0
- package/dist/remediation/tools/check-inventory.d.ts.map +1 -1
- package/dist/remediation/tools/check-inventory.js +39 -8
- package/dist/remediation/tools/check-inventory.js.map +1 -1
- package/dist/remediation/tools/check-reachability.d.ts +6 -0
- package/dist/remediation/tools/check-reachability.d.ts.map +1 -1
- package/dist/remediation/tools/check-reachability.js +32 -12
- package/dist/remediation/tools/check-reachability.js.map +1 -1
- package/dist/remediation/tools/fetch-package-source.d.ts +1 -0
- package/dist/remediation/tools/fetch-package-source.d.ts.map +1 -1
- package/dist/remediation/tools/fetch-package-source.js +29 -22
- package/dist/remediation/tools/fetch-package-source.js.map +1 -1
- package/dist/remediation/tools/manifest-format.d.ts +7 -0
- package/dist/remediation/tools/manifest-format.d.ts.map +1 -0
- package/dist/remediation/tools/manifest-format.js +14 -0
- package/dist/remediation/tools/manifest-format.js.map +1 -0
- package/dist/remediation/verify/changes.d.ts +33 -0
- package/dist/remediation/verify/changes.d.ts.map +1 -0
- package/dist/remediation/verify/changes.js +204 -0
- package/dist/remediation/verify/changes.js.map +1 -0
- package/dist/remediation/verify/checks.d.ts +30 -0
- package/dist/remediation/verify/checks.d.ts.map +1 -0
- package/dist/remediation/verify/checks.js +239 -0
- package/dist/remediation/verify/checks.js.map +1 -0
- package/dist/remediation/verify/command-check.d.ts +11 -0
- package/dist/remediation/verify/command-check.d.ts.map +1 -0
- package/dist/remediation/verify/command-check.js +26 -0
- package/dist/remediation/verify/command-check.js.map +1 -0
- package/dist/remediation/verify/types.d.ts +66 -0
- package/dist/remediation/verify/types.d.ts.map +1 -0
- package/dist/remediation/verify/types.js +4 -0
- package/dist/remediation/verify/types.js.map +1 -0
- package/dist/remediation/verify/verifier.d.ts +12 -0
- package/dist/remediation/verify/verifier.d.ts.map +1 -0
- package/dist/remediation/verify/verifier.js +56 -0
- package/dist/remediation/verify/verifier.js.map +1 -0
- package/dist/runs/fingerprint.d.ts +14 -0
- package/dist/runs/fingerprint.d.ts.map +1 -0
- package/dist/runs/fingerprint.js +55 -0
- package/dist/runs/fingerprint.js.map +1 -0
- package/dist/runs/hash.d.ts +4 -0
- package/dist/runs/hash.d.ts.map +1 -0
- package/dist/runs/hash.js +18 -0
- package/dist/runs/hash.js.map +1 -0
- package/dist/runs/ids.d.ts +6 -0
- package/dist/runs/ids.d.ts.map +1 -0
- package/dist/runs/ids.js +15 -0
- package/dist/runs/ids.js.map +1 -0
- package/dist/runs/ledger.d.ts +26 -0
- package/dist/runs/ledger.d.ts.map +1 -0
- package/dist/runs/ledger.js +61 -0
- package/dist/runs/ledger.js.map +1 -0
- package/dist/runs/plan.d.ts +67 -0
- package/dist/runs/plan.d.ts.map +1 -0
- package/dist/runs/plan.js +68 -0
- package/dist/runs/plan.js.map +1 -0
- package/dist/runs/run-store.d.ts +83 -0
- package/dist/runs/run-store.d.ts.map +1 -0
- package/dist/runs/run-store.js +161 -0
- package/dist/runs/run-store.js.map +1 -0
- package/dist/runs/snapshot-store.d.ts +13 -0
- package/dist/runs/snapshot-store.d.ts.map +1 -0
- package/dist/runs/snapshot-store.js +78 -0
- package/dist/runs/snapshot-store.js.map +1 -0
- package/dist/runs/worktree.d.ts +40 -0
- package/dist/runs/worktree.d.ts.map +1 -0
- package/dist/runs/worktree.js +144 -0
- package/dist/runs/worktree.js.map +1 -0
- package/dist/scanner/delta-scan.d.ts +10 -1
- package/dist/scanner/delta-scan.d.ts.map +1 -1
- package/dist/scanner/delta-scan.js +15 -3
- package/dist/scanner/delta-scan.js.map +1 -1
- package/dist/scanner/lock-graph/bun.d.ts +6 -0
- package/dist/scanner/lock-graph/bun.d.ts.map +1 -0
- package/dist/scanner/lock-graph/bun.js +116 -0
- package/dist/scanner/lock-graph/bun.js.map +1 -0
- package/dist/scanner/lock-graph/index.d.ts +32 -0
- package/dist/scanner/lock-graph/index.d.ts.map +1 -0
- package/dist/scanner/lock-graph/index.js +125 -0
- package/dist/scanner/lock-graph/index.js.map +1 -0
- package/dist/scanner/lock-graph/npm.d.ts +4 -0
- package/dist/scanner/lock-graph/npm.d.ts.map +1 -0
- package/dist/scanner/lock-graph/npm.js +119 -0
- package/dist/scanner/lock-graph/npm.js.map +1 -0
- package/dist/scanner/lock-graph/pnpm.d.ts +4 -0
- package/dist/scanner/lock-graph/pnpm.d.ts.map +1 -0
- package/dist/scanner/lock-graph/pnpm.js +101 -0
- package/dist/scanner/lock-graph/pnpm.js.map +1 -0
- package/dist/scanner/lock-graph/types.d.ts +44 -0
- package/dist/scanner/lock-graph/types.d.ts.map +1 -0
- package/dist/scanner/lock-graph/types.js +32 -0
- package/dist/scanner/lock-graph/types.js.map +1 -0
- package/dist/scanner/lock-graph/yarn.d.ts +4 -0
- package/dist/scanner/lock-graph/yarn.d.ts.map +1 -0
- package/dist/scanner/lock-graph/yarn.js +132 -0
- package/dist/scanner/lock-graph/yarn.js.map +1 -0
- package/dist/scanner/lockfile-diff.d.ts.map +1 -1
- package/dist/scanner/lockfile-diff.js +2 -2
- package/dist/scanner/lockfile-diff.js.map +1 -1
- package/dist/scanner/pnpm-lock-document.d.ts +8 -0
- package/dist/scanner/pnpm-lock-document.d.ts.map +1 -0
- package/dist/scanner/pnpm-lock-document.js +15 -0
- package/dist/scanner/pnpm-lock-document.js.map +1 -0
- package/dist/trace/esm-instrument.d.ts +26 -0
- package/dist/trace/esm-instrument.d.ts.map +1 -0
- package/dist/trace/esm-instrument.js +153 -0
- package/dist/trace/esm-instrument.js.map +1 -0
- package/dist/trace/fold.d.ts +24 -0
- package/dist/trace/fold.d.ts.map +1 -0
- package/dist/trace/fold.js +169 -0
- package/dist/trace/fold.js.map +1 -0
- package/dist/trace/locate.d.ts +18 -0
- package/dist/trace/locate.d.ts.map +1 -0
- package/dist/trace/locate.js +55 -0
- package/dist/trace/locate.js.map +1 -0
- package/dist/trace/register.d.ts +2 -0
- package/dist/trace/register.d.ts.map +1 -0
- package/dist/trace/register.js +15 -0
- package/dist/trace/register.js.map +1 -0
- package/dist/trace/run.d.ts +42 -0
- package/dist/trace/run.d.ts.map +1 -0
- package/dist/trace/run.js +97 -0
- package/dist/trace/run.js.map +1 -0
- package/dist/trace/runtime.d.ts +9 -0
- package/dist/trace/runtime.d.ts.map +1 -0
- package/dist/trace/runtime.js +341 -0
- package/dist/trace/runtime.js.map +1 -0
- package/dist/trace/types.d.ts +98 -0
- package/dist/trace/types.d.ts.map +1 -0
- package/dist/trace/types.js +16 -0
- package/dist/trace/types.js.map +1 -0
- package/dist/trace/verdict.d.ts +8 -0
- package/dist/trace/verdict.d.ts.map +1 -0
- package/dist/trace/verdict.js +111 -0
- package/dist/trace/verdict.js.map +1 -0
- package/dist/trace/wrap.d.ts +32 -0
- package/dist/trace/wrap.d.ts.map +1 -0
- package/dist/trace/wrap.js +151 -0
- package/dist/trace/wrap.js.map +1 -0
- package/llms.txt +21 -3
- package/package.json +23 -17
- package/dist/openapi/handlers/routes.d.ts +0 -6
- package/dist/openapi/handlers/routes.d.ts.map +0 -1
- package/dist/openapi/handlers/routes.js +0 -122
- package/dist/openapi/handlers/routes.js.map +0 -1
- package/dist/openapi/path-guard.d.ts +0 -12
- package/dist/openapi/path-guard.d.ts.map +0 -1
- package/dist/openapi/path-guard.js +0 -79
- package/dist/openapi/path-guard.js.map +0 -1
- package/dist/openapi/spec/paths.d.ts +0 -1053
- package/dist/openapi/spec/paths.d.ts.map +0 -1
- package/dist/openapi/spec/paths.js +0 -623
- package/dist/openapi/spec/paths.js.map +0 -1
- package/dist/openapi/spec/schemas.d.ts +0 -74
- package/dist/openapi/spec/schemas.d.ts.map +0 -1
- package/dist/openapi/spec/schemas.js +0 -32
- package/dist/openapi/spec/schemas.js.map +0 -1
|
@@ -0,0 +1,1225 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wire schemas for every option a caller can pass to remediation, as zod.
|
|
3
|
+
*
|
|
4
|
+
* This is the single definition behind the JSON Schemas that MCP tools, OpenAPI paths and CLI help
|
|
5
|
+
* advertise, and behind input validation on those surfaces. Option names follow the canonical
|
|
6
|
+
* naming in AGENTS.md. Fields that cannot travel over a wire (a `PatchGenerator` instance) are
|
|
7
|
+
* SDK-only and deliberately absent.
|
|
8
|
+
*/
|
|
9
|
+
import { z } from "zod";
|
|
10
|
+
import type { RemediateOptions, UnresolvedReason } from "./types.js";
|
|
11
|
+
export declare const PACKAGE_MANAGER_VALUES: readonly ["npm", "pnpm", "yarn", "bun", "deno"];
|
|
12
|
+
export declare const PROVENANCE_SOURCE_VALUES: readonly ["cli", "sdk", "mcp", "openapi", "unknown"];
|
|
13
|
+
export declare const SCAN_FORMAT_VALUES: readonly ["npm-audit", "yarn-audit", "sarif", "auto"];
|
|
14
|
+
export declare const INSTALL_MODE_VALUES: readonly ["deterministic", "prefer-offline", "standard"];
|
|
15
|
+
export declare const CHANGE_REQUEST_PROVIDER_VALUES: readonly ["github", "gitlab"];
|
|
16
|
+
export declare const CHANGE_REQUEST_GROUPING_VALUES: readonly ["all", "per-cve", "per-package", "by-severity"];
|
|
17
|
+
export declare const ESCALATION_ACTION_VALUES: readonly ["open-issue", "notify-channel", "create-draft-pr", "hold-branch", "none"];
|
|
18
|
+
export declare const SEVERITY_VALUES: readonly ["UNKNOWN", "LOW", "MEDIUM", "HIGH", "CRITICAL"];
|
|
19
|
+
/** Every reason a result can be unresolved, as a runtime list kept in step with the type. */
|
|
20
|
+
export declare const UNRESOLVED_REASON_VALUES: readonly ["constraint-blocked", "transitive-dependency", "transitive-override-unsupported-deno-native", "install-failed", "major-bump-required", "no-safe-version", "override-apply-failed", "package-json-not-found", "patch-apply-failed", "patch-confidence-too-low", "patch-generation-failed", "patch-validation-failed", "proof-of-fix-failed", "breaking-change-unresolved", "policy-blocked", "requires-llm-fallback", "source-fetch-failed", "validation-failed"];
|
|
21
|
+
type MissingReason = Exclude<UnresolvedReason, (typeof UNRESOLVED_REASON_VALUES)[number]>;
|
|
22
|
+
export declare const unresolvedReasonsAreComplete: MissingReason extends never ? true : never;
|
|
23
|
+
export declare const OPTION_DESCRIPTIONS: {
|
|
24
|
+
readonly cveId: "CVE ID, e.g. CVE-2021-23337";
|
|
25
|
+
readonly inputPath: "Absolute path to the scanner output file";
|
|
26
|
+
readonly cwd: "Absolute path to the project root (default: process.cwd())";
|
|
27
|
+
readonly packageManager: "Package manager override (auto-detected by default)";
|
|
28
|
+
readonly dryRun: "If true, plan changes but write nothing";
|
|
29
|
+
readonly preview: "If true, enforce non-mutating preview mode";
|
|
30
|
+
readonly simulationMode: "If true, attach deterministic simulation and rebuttal metadata for dry-run or preview execution";
|
|
31
|
+
readonly runTests: "Run package-manager test command after applying fix";
|
|
32
|
+
readonly model: 'Language model for the patch fallback as "<provider>:<model-id>", e.g. "anthropic:claude-sonnet-5-5" (default: AUTOREMEDIATOR_MODEL)';
|
|
33
|
+
readonly patchConfidenceThresholdLow: "Patch acceptance confidence threshold for low-risk patches (0..1)";
|
|
34
|
+
readonly patchConfidenceThresholdMedium: "Patch acceptance confidence threshold for medium-risk patches (0..1)";
|
|
35
|
+
readonly patchConfidenceThresholdHigh: "Patch acceptance confidence threshold for high-risk patches (0..1)";
|
|
36
|
+
readonly patchesDir: "Directory to write .patch files (default: ./patches)";
|
|
37
|
+
readonly policy: "Optional path to .github/autoremediator.yml policy file";
|
|
38
|
+
readonly requestId: "Request correlation ID";
|
|
39
|
+
readonly sessionId: "Session correlation ID";
|
|
40
|
+
readonly parentRunId: "Parent run correlation ID";
|
|
41
|
+
readonly idempotencyKey: "Idempotency key for replay-safe execution";
|
|
42
|
+
readonly resume: "Return cached result for matching idempotency key when available";
|
|
43
|
+
readonly actor: "Actor identity for evidence provenance";
|
|
44
|
+
readonly source: "Source system for provenance";
|
|
45
|
+
readonly format: "Scanner format (default: auto)";
|
|
46
|
+
readonly audit: "Run package-manager-native audit command instead of reading a scan file";
|
|
47
|
+
readonly evidence: "Write evidence JSON to .autoremediator/evidence/ (default: true)";
|
|
48
|
+
readonly directDependenciesOnly: "Restrict remediation to direct dependencies only";
|
|
49
|
+
readonly preferVersionBump: "Reject override and patch remediation when version-bump-only policy is required";
|
|
50
|
+
readonly installMode: "Install behavior profile: deterministic|prefer-offline|standard";
|
|
51
|
+
readonly installPreferOffline: "Override prefer-offline flag behavior for install commands";
|
|
52
|
+
readonly enforceFrozenLockfile: "Override frozen lockfile behavior for install commands";
|
|
53
|
+
readonly workspace: "Workspace/package selector for scoped remediation in monorepos";
|
|
54
|
+
readonly createChangeRequest: "Enable creation of native pull request / merge request after remediation";
|
|
55
|
+
readonly changeRequestProvider: "Change request provider (github|gitlab|bitbucket|azure-devops)";
|
|
56
|
+
readonly changeRequestGrouping: "Grouping strategy for change requests (all|per-cve|per-package)";
|
|
57
|
+
readonly changeRequestRepository: "Repository slug override for change request creation";
|
|
58
|
+
readonly changeRequestBaseBranch: "Base branch used for change request targeting";
|
|
59
|
+
readonly changeRequestBranchPrefix: "Branch prefix for generated change request branches";
|
|
60
|
+
readonly changeRequestTitlePrefix: "Title prefix for generated change requests";
|
|
61
|
+
readonly includeTransitive: "Include transitive dependencies in the outdated check. Default: false.";
|
|
62
|
+
readonly updateOutdated: "Run in update-outdated mode: bump all outdated npm packages without requiring a CVE.";
|
|
63
|
+
readonly kevMandatory: "If true, CVEs with active CISA KEV status bypass severity filtering and are treated as mandatory";
|
|
64
|
+
readonly epssThreshold: "EPSS probability threshold (0..1) above which a CVE is treated as mandatory regardless of severity";
|
|
65
|
+
readonly suppressionsFile: "Path to a YAML file containing additional VEX suppression entries to merge with policy-inline suppressions";
|
|
66
|
+
readonly slaCheck: "Compare CVE publication dates against configured SLA windows and include breach records in the report output";
|
|
67
|
+
readonly skipUnreachable: "Skip remediation for CVEs where the vulnerable package cannot be reached from any project entry point (requires static import analysis)";
|
|
68
|
+
readonly dispositionPolicy: "Autonomous disposition policy controlling when fixes are auto-applied, held, or escalated";
|
|
69
|
+
readonly dispositionPolicyMinConfidenceForAutoApply: "Minimum patch confidence (0–1) required for auto-apply disposition";
|
|
70
|
+
readonly dispositionPolicyHoldForTransitive: "Hold transitive dependency fixes for human review instead of auto-applying";
|
|
71
|
+
readonly dispositionPolicyEscalateOnSlaBreachSeverities: "CVE severities that trigger escalate disposition on SLA breach";
|
|
72
|
+
readonly dispositionPolicyEscalateOnKev: "Escalate disposition for CVEs with active CISA KEV status";
|
|
73
|
+
readonly containmentMode: "Roll back applied results whose disposition is hold-for-approval (low confidence, held transitive) so they await approval; urgent escalate fixes (KEV, SLA) are kept";
|
|
74
|
+
readonly campaignMode: "Enable portfolio campaign mode to risk-rank targets before execution";
|
|
75
|
+
readonly escalationGraph: "Optional mapping from unresolved reasons to intended escalation actions";
|
|
76
|
+
readonly offlineIntelligence: "Skip all network calls to intelligence sources. Only local inventory and npm-registry version resolution proceed.";
|
|
77
|
+
readonly intelligenceSnapshotPath: "Path to a local JSON snapshot of pre-fetched CVE intelligence (keyed by CVE ID) used when offline mode is active.";
|
|
78
|
+
readonly proofOfFix: "If true, enforce dual-stage exploit reproduction proof-of-fix verification (assert failure pre-patch, assert pass post-patch)";
|
|
79
|
+
readonly requireProofOfFix: "If true, reject patches and roll back if proof-of-fix verification fails";
|
|
80
|
+
readonly breakingChangeRefactor: "Experimental: when a major upgrade breaks type checking, rewrite consumer call sites using built-in codemods (currently rimraf and uuid only); reverted if checks still fail";
|
|
81
|
+
readonly typecheck: "Run the project's type checker after each change and roll back if it fails";
|
|
82
|
+
readonly supplyChainPolicy: "Supply-chain trust gate for candidate versions: minimum release age, install scripts, provenance";
|
|
83
|
+
readonly supplyChainMinPublishAgeHours: "Skip versions published more recently than this many hours";
|
|
84
|
+
readonly supplyChainBlockInstallScripts: "Skip versions that define preinstall, install or postinstall scripts";
|
|
85
|
+
readonly supplyChainRequireProvenance: "Require a provenance attestation on the chosen version";
|
|
86
|
+
readonly exploitSignalOverride: "Treat CVEs with an exploit signal as mandatory regardless of severity: CISA KEV status and/or an EPSS probability above a threshold";
|
|
87
|
+
readonly exploitSignalKevMandatory: "Treat CVEs with active CISA KEV status as mandatory";
|
|
88
|
+
readonly exploitSignalEpssMandatory: "Treat CVEs above the EPSS threshold as mandatory";
|
|
89
|
+
readonly exploitSignalEpssThreshold: "EPSS probability (0..1) above which a CVE is mandatory";
|
|
90
|
+
readonly reproductionTest: "Reproduction test script content or file path used by proof-of-fix";
|
|
91
|
+
readonly traceFile: "Path to a trace written by 'autoremediator trace run' (or the autoremediator/trace hook). Adds runtime evidence: whether the traced command loaded the package and, if calls were counted, called the symbol. A package that did not load is not proof that it is unreachable.";
|
|
92
|
+
readonly patchConfidenceThresholds: "Per-risk minimum confidence required to accept a generated patch";
|
|
93
|
+
readonly constraints: "Orchestration constraints that limit how remediation may change the project";
|
|
94
|
+
readonly changeRequest: "Native pull request / merge request creation controls";
|
|
95
|
+
readonly changeRequestEnabled: "Enable creation of native pull request / merge request after remediation";
|
|
96
|
+
readonly autonomy: "Earned autonomy: the policy sets a ceiling level (L0 observe, L1 suggest, L2 open pull request, L3 auto-merge-eligible, L4 autonomous with escalation) and the repository's own verified track record sets the level actually in force";
|
|
97
|
+
readonly autonomyCeiling: "Highest autonomy level this repository may ever act at (L0 to L4)";
|
|
98
|
+
readonly autonomyMinVerifiedRuns: "Verified runs in the recent window needed for L3 (twice as many for L4). Default 5";
|
|
99
|
+
readonly autonomyWindow: "How many of the most recent runs count as recent (a run with several changes is one run). Default 20";
|
|
100
|
+
readonly autonomyMinSuccessRate: "Share of recent runs that must be verified successes (0..1) for L3 and L4. Default 0.9";
|
|
101
|
+
readonly autonomyCooldownDays: "Days a rollback or verifier failure keeps the level capped (L1 after one, L0 after two). Default 7";
|
|
102
|
+
readonly autonomyRequireTestCoverage: "Require that recent verified runs also passed the project's tests (L3) and type check (L4). Default true";
|
|
103
|
+
readonly autonomyOptions: "Path to the project's policy file, whose autonomy key is read";
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* A string that names a filesystem path. The `x-path` keyword lands in the generated JSON Schema, so
|
|
107
|
+
* clients can see which arguments are paths and the path guard knows which fields to confine.
|
|
108
|
+
*/
|
|
109
|
+
export declare const pathField: (description: string) => z.ZodString;
|
|
110
|
+
export declare const supplyChainPolicySchema: z.ZodObject<{
|
|
111
|
+
minPublishAgeHours: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
blockInstallScripts: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
+
requireProvenance: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
}, z.core.$strict>;
|
|
115
|
+
export declare const constraintsSchema: z.ZodObject<{
|
|
116
|
+
directDependenciesOnly: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
preferVersionBump: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
+
installMode: z.ZodOptional<z.ZodEnum<{
|
|
119
|
+
deterministic: "deterministic";
|
|
120
|
+
"prefer-offline": "prefer-offline";
|
|
121
|
+
standard: "standard";
|
|
122
|
+
}>>;
|
|
123
|
+
installPreferOffline: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
+
enforceFrozenLockfile: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
126
|
+
typecheck: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
+
requireProofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
enableBreakingChangeRefactor: z.ZodOptional<z.ZodBoolean>;
|
|
129
|
+
supplyChainPolicy: z.ZodOptional<z.ZodObject<{
|
|
130
|
+
minPublishAgeHours: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
blockInstallScripts: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
+
requireProvenance: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
}, z.core.$strict>>;
|
|
134
|
+
}, z.core.$strict>;
|
|
135
|
+
export declare const AUTONOMY_LEVEL_VALUES: readonly ["L0", "L1", "L2", "L3", "L4"];
|
|
136
|
+
export type AutonomyLevel = (typeof AUTONOMY_LEVEL_VALUES)[number];
|
|
137
|
+
/**
|
|
138
|
+
* The `autonomy` key of the policy file. Only the policy file can set it: the ceiling is a trust
|
|
139
|
+
* decision, so no wire option (MCP, HTTP, CLI flag) can raise it.
|
|
140
|
+
*/
|
|
141
|
+
export declare const autonomyPolicySchema: z.ZodObject<{
|
|
142
|
+
ceiling: z.ZodEnum<{
|
|
143
|
+
L0: "L0";
|
|
144
|
+
L1: "L1";
|
|
145
|
+
L2: "L2";
|
|
146
|
+
L3: "L3";
|
|
147
|
+
L4: "L4";
|
|
148
|
+
}>;
|
|
149
|
+
minVerifiedRuns: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
window: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
minSuccessRate: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
cooldownDays: z.ZodOptional<z.ZodNumber>;
|
|
153
|
+
requireTestCoverage: z.ZodOptional<z.ZodBoolean>;
|
|
154
|
+
}, z.core.$strict>;
|
|
155
|
+
export type AutonomyPolicy = z.infer<typeof autonomyPolicySchema>;
|
|
156
|
+
export declare const patchConfidenceThresholdsSchema: z.ZodObject<{
|
|
157
|
+
low: z.ZodOptional<z.ZodNumber>;
|
|
158
|
+
medium: z.ZodOptional<z.ZodNumber>;
|
|
159
|
+
high: z.ZodOptional<z.ZodNumber>;
|
|
160
|
+
}, z.core.$strict>;
|
|
161
|
+
export declare const exploitSignalOverrideSchema: z.ZodObject<{
|
|
162
|
+
kev: z.ZodOptional<z.ZodObject<{
|
|
163
|
+
mandatory: z.ZodBoolean;
|
|
164
|
+
}, z.core.$strict>>;
|
|
165
|
+
epss: z.ZodOptional<z.ZodObject<{
|
|
166
|
+
mandatory: z.ZodBoolean;
|
|
167
|
+
threshold: z.ZodNumber;
|
|
168
|
+
}, z.core.$strict>>;
|
|
169
|
+
}, z.core.$strict>;
|
|
170
|
+
export declare const dispositionPolicySchema: z.ZodObject<{
|
|
171
|
+
minConfidenceForAutoApply: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
holdForTransitive: z.ZodOptional<z.ZodBoolean>;
|
|
173
|
+
escalateOnKev: z.ZodOptional<z.ZodBoolean>;
|
|
174
|
+
escalateOnSlaBreachSeverities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
175
|
+
CRITICAL: "CRITICAL";
|
|
176
|
+
HIGH: "HIGH";
|
|
177
|
+
LOW: "LOW";
|
|
178
|
+
MEDIUM: "MEDIUM";
|
|
179
|
+
UNKNOWN: "UNKNOWN";
|
|
180
|
+
}>>>;
|
|
181
|
+
}, z.core.$strict>;
|
|
182
|
+
/** Maps each unresolved reason to an intended follow-up action; unknown reasons are rejected. */
|
|
183
|
+
export declare const escalationGraphSchema: z.ZodObject<{
|
|
184
|
+
"breaking-change-unresolved": z.ZodOptional<z.ZodEnum<{
|
|
185
|
+
"create-draft-pr": "create-draft-pr";
|
|
186
|
+
"hold-branch": "hold-branch";
|
|
187
|
+
none: "none";
|
|
188
|
+
"notify-channel": "notify-channel";
|
|
189
|
+
"open-issue": "open-issue";
|
|
190
|
+
}>>;
|
|
191
|
+
"constraint-blocked": z.ZodOptional<z.ZodEnum<{
|
|
192
|
+
"create-draft-pr": "create-draft-pr";
|
|
193
|
+
"hold-branch": "hold-branch";
|
|
194
|
+
none: "none";
|
|
195
|
+
"notify-channel": "notify-channel";
|
|
196
|
+
"open-issue": "open-issue";
|
|
197
|
+
}>>;
|
|
198
|
+
"install-failed": z.ZodOptional<z.ZodEnum<{
|
|
199
|
+
"create-draft-pr": "create-draft-pr";
|
|
200
|
+
"hold-branch": "hold-branch";
|
|
201
|
+
none: "none";
|
|
202
|
+
"notify-channel": "notify-channel";
|
|
203
|
+
"open-issue": "open-issue";
|
|
204
|
+
}>>;
|
|
205
|
+
"major-bump-required": z.ZodOptional<z.ZodEnum<{
|
|
206
|
+
"create-draft-pr": "create-draft-pr";
|
|
207
|
+
"hold-branch": "hold-branch";
|
|
208
|
+
none: "none";
|
|
209
|
+
"notify-channel": "notify-channel";
|
|
210
|
+
"open-issue": "open-issue";
|
|
211
|
+
}>>;
|
|
212
|
+
"no-safe-version": z.ZodOptional<z.ZodEnum<{
|
|
213
|
+
"create-draft-pr": "create-draft-pr";
|
|
214
|
+
"hold-branch": "hold-branch";
|
|
215
|
+
none: "none";
|
|
216
|
+
"notify-channel": "notify-channel";
|
|
217
|
+
"open-issue": "open-issue";
|
|
218
|
+
}>>;
|
|
219
|
+
"override-apply-failed": z.ZodOptional<z.ZodEnum<{
|
|
220
|
+
"create-draft-pr": "create-draft-pr";
|
|
221
|
+
"hold-branch": "hold-branch";
|
|
222
|
+
none: "none";
|
|
223
|
+
"notify-channel": "notify-channel";
|
|
224
|
+
"open-issue": "open-issue";
|
|
225
|
+
}>>;
|
|
226
|
+
"package-json-not-found": z.ZodOptional<z.ZodEnum<{
|
|
227
|
+
"create-draft-pr": "create-draft-pr";
|
|
228
|
+
"hold-branch": "hold-branch";
|
|
229
|
+
none: "none";
|
|
230
|
+
"notify-channel": "notify-channel";
|
|
231
|
+
"open-issue": "open-issue";
|
|
232
|
+
}>>;
|
|
233
|
+
"patch-apply-failed": z.ZodOptional<z.ZodEnum<{
|
|
234
|
+
"create-draft-pr": "create-draft-pr";
|
|
235
|
+
"hold-branch": "hold-branch";
|
|
236
|
+
none: "none";
|
|
237
|
+
"notify-channel": "notify-channel";
|
|
238
|
+
"open-issue": "open-issue";
|
|
239
|
+
}>>;
|
|
240
|
+
"patch-confidence-too-low": z.ZodOptional<z.ZodEnum<{
|
|
241
|
+
"create-draft-pr": "create-draft-pr";
|
|
242
|
+
"hold-branch": "hold-branch";
|
|
243
|
+
none: "none";
|
|
244
|
+
"notify-channel": "notify-channel";
|
|
245
|
+
"open-issue": "open-issue";
|
|
246
|
+
}>>;
|
|
247
|
+
"patch-generation-failed": z.ZodOptional<z.ZodEnum<{
|
|
248
|
+
"create-draft-pr": "create-draft-pr";
|
|
249
|
+
"hold-branch": "hold-branch";
|
|
250
|
+
none: "none";
|
|
251
|
+
"notify-channel": "notify-channel";
|
|
252
|
+
"open-issue": "open-issue";
|
|
253
|
+
}>>;
|
|
254
|
+
"patch-validation-failed": z.ZodOptional<z.ZodEnum<{
|
|
255
|
+
"create-draft-pr": "create-draft-pr";
|
|
256
|
+
"hold-branch": "hold-branch";
|
|
257
|
+
none: "none";
|
|
258
|
+
"notify-channel": "notify-channel";
|
|
259
|
+
"open-issue": "open-issue";
|
|
260
|
+
}>>;
|
|
261
|
+
"policy-blocked": z.ZodOptional<z.ZodEnum<{
|
|
262
|
+
"create-draft-pr": "create-draft-pr";
|
|
263
|
+
"hold-branch": "hold-branch";
|
|
264
|
+
none: "none";
|
|
265
|
+
"notify-channel": "notify-channel";
|
|
266
|
+
"open-issue": "open-issue";
|
|
267
|
+
}>>;
|
|
268
|
+
"proof-of-fix-failed": z.ZodOptional<z.ZodEnum<{
|
|
269
|
+
"create-draft-pr": "create-draft-pr";
|
|
270
|
+
"hold-branch": "hold-branch";
|
|
271
|
+
none: "none";
|
|
272
|
+
"notify-channel": "notify-channel";
|
|
273
|
+
"open-issue": "open-issue";
|
|
274
|
+
}>>;
|
|
275
|
+
"requires-llm-fallback": z.ZodOptional<z.ZodEnum<{
|
|
276
|
+
"create-draft-pr": "create-draft-pr";
|
|
277
|
+
"hold-branch": "hold-branch";
|
|
278
|
+
none: "none";
|
|
279
|
+
"notify-channel": "notify-channel";
|
|
280
|
+
"open-issue": "open-issue";
|
|
281
|
+
}>>;
|
|
282
|
+
"source-fetch-failed": z.ZodOptional<z.ZodEnum<{
|
|
283
|
+
"create-draft-pr": "create-draft-pr";
|
|
284
|
+
"hold-branch": "hold-branch";
|
|
285
|
+
none: "none";
|
|
286
|
+
"notify-channel": "notify-channel";
|
|
287
|
+
"open-issue": "open-issue";
|
|
288
|
+
}>>;
|
|
289
|
+
"transitive-dependency": z.ZodOptional<z.ZodEnum<{
|
|
290
|
+
"create-draft-pr": "create-draft-pr";
|
|
291
|
+
"hold-branch": "hold-branch";
|
|
292
|
+
none: "none";
|
|
293
|
+
"notify-channel": "notify-channel";
|
|
294
|
+
"open-issue": "open-issue";
|
|
295
|
+
}>>;
|
|
296
|
+
"transitive-override-unsupported-deno-native": z.ZodOptional<z.ZodEnum<{
|
|
297
|
+
"create-draft-pr": "create-draft-pr";
|
|
298
|
+
"hold-branch": "hold-branch";
|
|
299
|
+
none: "none";
|
|
300
|
+
"notify-channel": "notify-channel";
|
|
301
|
+
"open-issue": "open-issue";
|
|
302
|
+
}>>;
|
|
303
|
+
"validation-failed": z.ZodOptional<z.ZodEnum<{
|
|
304
|
+
"create-draft-pr": "create-draft-pr";
|
|
305
|
+
"hold-branch": "hold-branch";
|
|
306
|
+
none: "none";
|
|
307
|
+
"notify-channel": "notify-channel";
|
|
308
|
+
"open-issue": "open-issue";
|
|
309
|
+
}>>;
|
|
310
|
+
}, z.core.$strict>;
|
|
311
|
+
export declare const changeRequestOptionsSchema: z.ZodObject<{
|
|
312
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
313
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
314
|
+
github: "github";
|
|
315
|
+
gitlab: "gitlab";
|
|
316
|
+
}>>;
|
|
317
|
+
grouping: z.ZodOptional<z.ZodEnum<{
|
|
318
|
+
all: "all";
|
|
319
|
+
"by-severity": "by-severity";
|
|
320
|
+
"per-cve": "per-cve";
|
|
321
|
+
"per-package": "per-package";
|
|
322
|
+
}>>;
|
|
323
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
324
|
+
baseBranch: z.ZodOptional<z.ZodString>;
|
|
325
|
+
branchPrefix: z.ZodOptional<z.ZodString>;
|
|
326
|
+
titlePrefix: z.ZodOptional<z.ZodString>;
|
|
327
|
+
}, z.core.$strict>;
|
|
328
|
+
/** Options shared by every operation that remediates; the wire form of `RemediateOptions`. */
|
|
329
|
+
export declare const remediateOptionsSchema: z.ZodObject<{
|
|
330
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
331
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
332
|
+
bun: "bun";
|
|
333
|
+
deno: "deno";
|
|
334
|
+
npm: "npm";
|
|
335
|
+
pnpm: "pnpm";
|
|
336
|
+
yarn: "yarn";
|
|
337
|
+
}>>;
|
|
338
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
339
|
+
preview: z.ZodOptional<z.ZodBoolean>;
|
|
340
|
+
simulationMode: z.ZodOptional<z.ZodBoolean>;
|
|
341
|
+
runTests: z.ZodOptional<z.ZodBoolean>;
|
|
342
|
+
typecheck: z.ZodOptional<z.ZodBoolean>;
|
|
343
|
+
supplyChainPolicy: z.ZodOptional<z.ZodObject<{
|
|
344
|
+
minPublishAgeHours: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
blockInstallScripts: z.ZodOptional<z.ZodBoolean>;
|
|
346
|
+
requireProvenance: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
+
}, z.core.$strict>>;
|
|
348
|
+
model: z.ZodOptional<z.ZodString>;
|
|
349
|
+
patchConfidenceThresholds: z.ZodOptional<z.ZodObject<{
|
|
350
|
+
low: z.ZodOptional<z.ZodNumber>;
|
|
351
|
+
medium: z.ZodOptional<z.ZodNumber>;
|
|
352
|
+
high: z.ZodOptional<z.ZodNumber>;
|
|
353
|
+
}, z.core.$strict>>;
|
|
354
|
+
patchesDir: z.ZodOptional<z.ZodString>;
|
|
355
|
+
policy: z.ZodOptional<z.ZodString>;
|
|
356
|
+
evidence: z.ZodOptional<z.ZodBoolean>;
|
|
357
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
358
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
359
|
+
parentRunId: z.ZodOptional<z.ZodString>;
|
|
360
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
361
|
+
resume: z.ZodOptional<z.ZodBoolean>;
|
|
362
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
363
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
364
|
+
cli: "cli";
|
|
365
|
+
mcp: "mcp";
|
|
366
|
+
openapi: "openapi";
|
|
367
|
+
sdk: "sdk";
|
|
368
|
+
unknown: "unknown";
|
|
369
|
+
}>>;
|
|
370
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
371
|
+
directDependenciesOnly: z.ZodOptional<z.ZodBoolean>;
|
|
372
|
+
preferVersionBump: z.ZodOptional<z.ZodBoolean>;
|
|
373
|
+
installMode: z.ZodOptional<z.ZodEnum<{
|
|
374
|
+
deterministic: "deterministic";
|
|
375
|
+
"prefer-offline": "prefer-offline";
|
|
376
|
+
standard: "standard";
|
|
377
|
+
}>>;
|
|
378
|
+
installPreferOffline: z.ZodOptional<z.ZodBoolean>;
|
|
379
|
+
enforceFrozenLockfile: z.ZodOptional<z.ZodBoolean>;
|
|
380
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
381
|
+
typecheck: z.ZodOptional<z.ZodBoolean>;
|
|
382
|
+
requireProofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
383
|
+
enableBreakingChangeRefactor: z.ZodOptional<z.ZodBoolean>;
|
|
384
|
+
supplyChainPolicy: z.ZodOptional<z.ZodObject<{
|
|
385
|
+
minPublishAgeHours: z.ZodOptional<z.ZodNumber>;
|
|
386
|
+
blockInstallScripts: z.ZodOptional<z.ZodBoolean>;
|
|
387
|
+
requireProvenance: z.ZodOptional<z.ZodBoolean>;
|
|
388
|
+
}, z.core.$strict>>;
|
|
389
|
+
}, z.core.$strict>>;
|
|
390
|
+
changeRequest: z.ZodOptional<z.ZodObject<{
|
|
391
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
392
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
393
|
+
github: "github";
|
|
394
|
+
gitlab: "gitlab";
|
|
395
|
+
}>>;
|
|
396
|
+
grouping: z.ZodOptional<z.ZodEnum<{
|
|
397
|
+
all: "all";
|
|
398
|
+
"by-severity": "by-severity";
|
|
399
|
+
"per-cve": "per-cve";
|
|
400
|
+
"per-package": "per-package";
|
|
401
|
+
}>>;
|
|
402
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
403
|
+
baseBranch: z.ZodOptional<z.ZodString>;
|
|
404
|
+
branchPrefix: z.ZodOptional<z.ZodString>;
|
|
405
|
+
titlePrefix: z.ZodOptional<z.ZodString>;
|
|
406
|
+
}, z.core.$strict>>;
|
|
407
|
+
exploitSignalOverride: z.ZodOptional<z.ZodObject<{
|
|
408
|
+
kev: z.ZodOptional<z.ZodObject<{
|
|
409
|
+
mandatory: z.ZodBoolean;
|
|
410
|
+
}, z.core.$strict>>;
|
|
411
|
+
epss: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
mandatory: z.ZodBoolean;
|
|
413
|
+
threshold: z.ZodNumber;
|
|
414
|
+
}, z.core.$strict>>;
|
|
415
|
+
}, z.core.$strict>>;
|
|
416
|
+
suppressionsFile: z.ZodOptional<z.ZodString>;
|
|
417
|
+
slaCheck: z.ZodOptional<z.ZodBoolean>;
|
|
418
|
+
skipUnreachable: z.ZodOptional<z.ZodBoolean>;
|
|
419
|
+
dispositionPolicy: z.ZodOptional<z.ZodObject<{
|
|
420
|
+
minConfidenceForAutoApply: z.ZodOptional<z.ZodNumber>;
|
|
421
|
+
holdForTransitive: z.ZodOptional<z.ZodBoolean>;
|
|
422
|
+
escalateOnKev: z.ZodOptional<z.ZodBoolean>;
|
|
423
|
+
escalateOnSlaBreachSeverities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
424
|
+
CRITICAL: "CRITICAL";
|
|
425
|
+
HIGH: "HIGH";
|
|
426
|
+
LOW: "LOW";
|
|
427
|
+
MEDIUM: "MEDIUM";
|
|
428
|
+
UNKNOWN: "UNKNOWN";
|
|
429
|
+
}>>>;
|
|
430
|
+
}, z.core.$strict>>;
|
|
431
|
+
containmentMode: z.ZodOptional<z.ZodBoolean>;
|
|
432
|
+
campaignMode: z.ZodOptional<z.ZodBoolean>;
|
|
433
|
+
escalationGraph: z.ZodOptional<z.ZodObject<{
|
|
434
|
+
"breaking-change-unresolved": z.ZodOptional<z.ZodEnum<{
|
|
435
|
+
"create-draft-pr": "create-draft-pr";
|
|
436
|
+
"hold-branch": "hold-branch";
|
|
437
|
+
none: "none";
|
|
438
|
+
"notify-channel": "notify-channel";
|
|
439
|
+
"open-issue": "open-issue";
|
|
440
|
+
}>>;
|
|
441
|
+
"constraint-blocked": z.ZodOptional<z.ZodEnum<{
|
|
442
|
+
"create-draft-pr": "create-draft-pr";
|
|
443
|
+
"hold-branch": "hold-branch";
|
|
444
|
+
none: "none";
|
|
445
|
+
"notify-channel": "notify-channel";
|
|
446
|
+
"open-issue": "open-issue";
|
|
447
|
+
}>>;
|
|
448
|
+
"install-failed": z.ZodOptional<z.ZodEnum<{
|
|
449
|
+
"create-draft-pr": "create-draft-pr";
|
|
450
|
+
"hold-branch": "hold-branch";
|
|
451
|
+
none: "none";
|
|
452
|
+
"notify-channel": "notify-channel";
|
|
453
|
+
"open-issue": "open-issue";
|
|
454
|
+
}>>;
|
|
455
|
+
"major-bump-required": z.ZodOptional<z.ZodEnum<{
|
|
456
|
+
"create-draft-pr": "create-draft-pr";
|
|
457
|
+
"hold-branch": "hold-branch";
|
|
458
|
+
none: "none";
|
|
459
|
+
"notify-channel": "notify-channel";
|
|
460
|
+
"open-issue": "open-issue";
|
|
461
|
+
}>>;
|
|
462
|
+
"no-safe-version": z.ZodOptional<z.ZodEnum<{
|
|
463
|
+
"create-draft-pr": "create-draft-pr";
|
|
464
|
+
"hold-branch": "hold-branch";
|
|
465
|
+
none: "none";
|
|
466
|
+
"notify-channel": "notify-channel";
|
|
467
|
+
"open-issue": "open-issue";
|
|
468
|
+
}>>;
|
|
469
|
+
"override-apply-failed": z.ZodOptional<z.ZodEnum<{
|
|
470
|
+
"create-draft-pr": "create-draft-pr";
|
|
471
|
+
"hold-branch": "hold-branch";
|
|
472
|
+
none: "none";
|
|
473
|
+
"notify-channel": "notify-channel";
|
|
474
|
+
"open-issue": "open-issue";
|
|
475
|
+
}>>;
|
|
476
|
+
"package-json-not-found": z.ZodOptional<z.ZodEnum<{
|
|
477
|
+
"create-draft-pr": "create-draft-pr";
|
|
478
|
+
"hold-branch": "hold-branch";
|
|
479
|
+
none: "none";
|
|
480
|
+
"notify-channel": "notify-channel";
|
|
481
|
+
"open-issue": "open-issue";
|
|
482
|
+
}>>;
|
|
483
|
+
"patch-apply-failed": z.ZodOptional<z.ZodEnum<{
|
|
484
|
+
"create-draft-pr": "create-draft-pr";
|
|
485
|
+
"hold-branch": "hold-branch";
|
|
486
|
+
none: "none";
|
|
487
|
+
"notify-channel": "notify-channel";
|
|
488
|
+
"open-issue": "open-issue";
|
|
489
|
+
}>>;
|
|
490
|
+
"patch-confidence-too-low": z.ZodOptional<z.ZodEnum<{
|
|
491
|
+
"create-draft-pr": "create-draft-pr";
|
|
492
|
+
"hold-branch": "hold-branch";
|
|
493
|
+
none: "none";
|
|
494
|
+
"notify-channel": "notify-channel";
|
|
495
|
+
"open-issue": "open-issue";
|
|
496
|
+
}>>;
|
|
497
|
+
"patch-generation-failed": z.ZodOptional<z.ZodEnum<{
|
|
498
|
+
"create-draft-pr": "create-draft-pr";
|
|
499
|
+
"hold-branch": "hold-branch";
|
|
500
|
+
none: "none";
|
|
501
|
+
"notify-channel": "notify-channel";
|
|
502
|
+
"open-issue": "open-issue";
|
|
503
|
+
}>>;
|
|
504
|
+
"patch-validation-failed": z.ZodOptional<z.ZodEnum<{
|
|
505
|
+
"create-draft-pr": "create-draft-pr";
|
|
506
|
+
"hold-branch": "hold-branch";
|
|
507
|
+
none: "none";
|
|
508
|
+
"notify-channel": "notify-channel";
|
|
509
|
+
"open-issue": "open-issue";
|
|
510
|
+
}>>;
|
|
511
|
+
"policy-blocked": z.ZodOptional<z.ZodEnum<{
|
|
512
|
+
"create-draft-pr": "create-draft-pr";
|
|
513
|
+
"hold-branch": "hold-branch";
|
|
514
|
+
none: "none";
|
|
515
|
+
"notify-channel": "notify-channel";
|
|
516
|
+
"open-issue": "open-issue";
|
|
517
|
+
}>>;
|
|
518
|
+
"proof-of-fix-failed": z.ZodOptional<z.ZodEnum<{
|
|
519
|
+
"create-draft-pr": "create-draft-pr";
|
|
520
|
+
"hold-branch": "hold-branch";
|
|
521
|
+
none: "none";
|
|
522
|
+
"notify-channel": "notify-channel";
|
|
523
|
+
"open-issue": "open-issue";
|
|
524
|
+
}>>;
|
|
525
|
+
"requires-llm-fallback": z.ZodOptional<z.ZodEnum<{
|
|
526
|
+
"create-draft-pr": "create-draft-pr";
|
|
527
|
+
"hold-branch": "hold-branch";
|
|
528
|
+
none: "none";
|
|
529
|
+
"notify-channel": "notify-channel";
|
|
530
|
+
"open-issue": "open-issue";
|
|
531
|
+
}>>;
|
|
532
|
+
"source-fetch-failed": z.ZodOptional<z.ZodEnum<{
|
|
533
|
+
"create-draft-pr": "create-draft-pr";
|
|
534
|
+
"hold-branch": "hold-branch";
|
|
535
|
+
none: "none";
|
|
536
|
+
"notify-channel": "notify-channel";
|
|
537
|
+
"open-issue": "open-issue";
|
|
538
|
+
}>>;
|
|
539
|
+
"transitive-dependency": z.ZodOptional<z.ZodEnum<{
|
|
540
|
+
"create-draft-pr": "create-draft-pr";
|
|
541
|
+
"hold-branch": "hold-branch";
|
|
542
|
+
none: "none";
|
|
543
|
+
"notify-channel": "notify-channel";
|
|
544
|
+
"open-issue": "open-issue";
|
|
545
|
+
}>>;
|
|
546
|
+
"transitive-override-unsupported-deno-native": z.ZodOptional<z.ZodEnum<{
|
|
547
|
+
"create-draft-pr": "create-draft-pr";
|
|
548
|
+
"hold-branch": "hold-branch";
|
|
549
|
+
none: "none";
|
|
550
|
+
"notify-channel": "notify-channel";
|
|
551
|
+
"open-issue": "open-issue";
|
|
552
|
+
}>>;
|
|
553
|
+
"validation-failed": z.ZodOptional<z.ZodEnum<{
|
|
554
|
+
"create-draft-pr": "create-draft-pr";
|
|
555
|
+
"hold-branch": "hold-branch";
|
|
556
|
+
none: "none";
|
|
557
|
+
"notify-channel": "notify-channel";
|
|
558
|
+
"open-issue": "open-issue";
|
|
559
|
+
}>>;
|
|
560
|
+
}, z.core.$strict>>;
|
|
561
|
+
offlineIntelligence: z.ZodOptional<z.ZodBoolean>;
|
|
562
|
+
intelligenceSnapshotPath: z.ZodOptional<z.ZodString>;
|
|
563
|
+
proofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
564
|
+
requireProofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
565
|
+
reproductionTest: z.ZodOptional<z.ZodString>;
|
|
566
|
+
breakingChangeRefactor: z.ZodOptional<z.ZodBoolean>;
|
|
567
|
+
}, z.core.$strict>;
|
|
568
|
+
export declare const scanOptionsSchema: z.ZodObject<{
|
|
569
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
570
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
571
|
+
bun: "bun";
|
|
572
|
+
deno: "deno";
|
|
573
|
+
npm: "npm";
|
|
574
|
+
pnpm: "pnpm";
|
|
575
|
+
yarn: "yarn";
|
|
576
|
+
}>>;
|
|
577
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
578
|
+
preview: z.ZodOptional<z.ZodBoolean>;
|
|
579
|
+
simulationMode: z.ZodOptional<z.ZodBoolean>;
|
|
580
|
+
runTests: z.ZodOptional<z.ZodBoolean>;
|
|
581
|
+
typecheck: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
+
supplyChainPolicy: z.ZodOptional<z.ZodObject<{
|
|
583
|
+
minPublishAgeHours: z.ZodOptional<z.ZodNumber>;
|
|
584
|
+
blockInstallScripts: z.ZodOptional<z.ZodBoolean>;
|
|
585
|
+
requireProvenance: z.ZodOptional<z.ZodBoolean>;
|
|
586
|
+
}, z.core.$strict>>;
|
|
587
|
+
model: z.ZodOptional<z.ZodString>;
|
|
588
|
+
patchConfidenceThresholds: z.ZodOptional<z.ZodObject<{
|
|
589
|
+
low: z.ZodOptional<z.ZodNumber>;
|
|
590
|
+
medium: z.ZodOptional<z.ZodNumber>;
|
|
591
|
+
high: z.ZodOptional<z.ZodNumber>;
|
|
592
|
+
}, z.core.$strict>>;
|
|
593
|
+
patchesDir: z.ZodOptional<z.ZodString>;
|
|
594
|
+
policy: z.ZodOptional<z.ZodString>;
|
|
595
|
+
evidence: z.ZodOptional<z.ZodBoolean>;
|
|
596
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
597
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
598
|
+
parentRunId: z.ZodOptional<z.ZodString>;
|
|
599
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
600
|
+
resume: z.ZodOptional<z.ZodBoolean>;
|
|
601
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
602
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
603
|
+
cli: "cli";
|
|
604
|
+
mcp: "mcp";
|
|
605
|
+
openapi: "openapi";
|
|
606
|
+
sdk: "sdk";
|
|
607
|
+
unknown: "unknown";
|
|
608
|
+
}>>;
|
|
609
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
610
|
+
directDependenciesOnly: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
+
preferVersionBump: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
installMode: z.ZodOptional<z.ZodEnum<{
|
|
613
|
+
deterministic: "deterministic";
|
|
614
|
+
"prefer-offline": "prefer-offline";
|
|
615
|
+
standard: "standard";
|
|
616
|
+
}>>;
|
|
617
|
+
installPreferOffline: z.ZodOptional<z.ZodBoolean>;
|
|
618
|
+
enforceFrozenLockfile: z.ZodOptional<z.ZodBoolean>;
|
|
619
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
620
|
+
typecheck: z.ZodOptional<z.ZodBoolean>;
|
|
621
|
+
requireProofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
622
|
+
enableBreakingChangeRefactor: z.ZodOptional<z.ZodBoolean>;
|
|
623
|
+
supplyChainPolicy: z.ZodOptional<z.ZodObject<{
|
|
624
|
+
minPublishAgeHours: z.ZodOptional<z.ZodNumber>;
|
|
625
|
+
blockInstallScripts: z.ZodOptional<z.ZodBoolean>;
|
|
626
|
+
requireProvenance: z.ZodOptional<z.ZodBoolean>;
|
|
627
|
+
}, z.core.$strict>>;
|
|
628
|
+
}, z.core.$strict>>;
|
|
629
|
+
changeRequest: z.ZodOptional<z.ZodObject<{
|
|
630
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
631
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
632
|
+
github: "github";
|
|
633
|
+
gitlab: "gitlab";
|
|
634
|
+
}>>;
|
|
635
|
+
grouping: z.ZodOptional<z.ZodEnum<{
|
|
636
|
+
all: "all";
|
|
637
|
+
"by-severity": "by-severity";
|
|
638
|
+
"per-cve": "per-cve";
|
|
639
|
+
"per-package": "per-package";
|
|
640
|
+
}>>;
|
|
641
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
642
|
+
baseBranch: z.ZodOptional<z.ZodString>;
|
|
643
|
+
branchPrefix: z.ZodOptional<z.ZodString>;
|
|
644
|
+
titlePrefix: z.ZodOptional<z.ZodString>;
|
|
645
|
+
}, z.core.$strict>>;
|
|
646
|
+
exploitSignalOverride: z.ZodOptional<z.ZodObject<{
|
|
647
|
+
kev: z.ZodOptional<z.ZodObject<{
|
|
648
|
+
mandatory: z.ZodBoolean;
|
|
649
|
+
}, z.core.$strict>>;
|
|
650
|
+
epss: z.ZodOptional<z.ZodObject<{
|
|
651
|
+
mandatory: z.ZodBoolean;
|
|
652
|
+
threshold: z.ZodNumber;
|
|
653
|
+
}, z.core.$strict>>;
|
|
654
|
+
}, z.core.$strict>>;
|
|
655
|
+
suppressionsFile: z.ZodOptional<z.ZodString>;
|
|
656
|
+
slaCheck: z.ZodOptional<z.ZodBoolean>;
|
|
657
|
+
skipUnreachable: z.ZodOptional<z.ZodBoolean>;
|
|
658
|
+
dispositionPolicy: z.ZodOptional<z.ZodObject<{
|
|
659
|
+
minConfidenceForAutoApply: z.ZodOptional<z.ZodNumber>;
|
|
660
|
+
holdForTransitive: z.ZodOptional<z.ZodBoolean>;
|
|
661
|
+
escalateOnKev: z.ZodOptional<z.ZodBoolean>;
|
|
662
|
+
escalateOnSlaBreachSeverities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
663
|
+
CRITICAL: "CRITICAL";
|
|
664
|
+
HIGH: "HIGH";
|
|
665
|
+
LOW: "LOW";
|
|
666
|
+
MEDIUM: "MEDIUM";
|
|
667
|
+
UNKNOWN: "UNKNOWN";
|
|
668
|
+
}>>>;
|
|
669
|
+
}, z.core.$strict>>;
|
|
670
|
+
containmentMode: z.ZodOptional<z.ZodBoolean>;
|
|
671
|
+
campaignMode: z.ZodOptional<z.ZodBoolean>;
|
|
672
|
+
escalationGraph: z.ZodOptional<z.ZodObject<{
|
|
673
|
+
"breaking-change-unresolved": z.ZodOptional<z.ZodEnum<{
|
|
674
|
+
"create-draft-pr": "create-draft-pr";
|
|
675
|
+
"hold-branch": "hold-branch";
|
|
676
|
+
none: "none";
|
|
677
|
+
"notify-channel": "notify-channel";
|
|
678
|
+
"open-issue": "open-issue";
|
|
679
|
+
}>>;
|
|
680
|
+
"constraint-blocked": z.ZodOptional<z.ZodEnum<{
|
|
681
|
+
"create-draft-pr": "create-draft-pr";
|
|
682
|
+
"hold-branch": "hold-branch";
|
|
683
|
+
none: "none";
|
|
684
|
+
"notify-channel": "notify-channel";
|
|
685
|
+
"open-issue": "open-issue";
|
|
686
|
+
}>>;
|
|
687
|
+
"install-failed": z.ZodOptional<z.ZodEnum<{
|
|
688
|
+
"create-draft-pr": "create-draft-pr";
|
|
689
|
+
"hold-branch": "hold-branch";
|
|
690
|
+
none: "none";
|
|
691
|
+
"notify-channel": "notify-channel";
|
|
692
|
+
"open-issue": "open-issue";
|
|
693
|
+
}>>;
|
|
694
|
+
"major-bump-required": z.ZodOptional<z.ZodEnum<{
|
|
695
|
+
"create-draft-pr": "create-draft-pr";
|
|
696
|
+
"hold-branch": "hold-branch";
|
|
697
|
+
none: "none";
|
|
698
|
+
"notify-channel": "notify-channel";
|
|
699
|
+
"open-issue": "open-issue";
|
|
700
|
+
}>>;
|
|
701
|
+
"no-safe-version": z.ZodOptional<z.ZodEnum<{
|
|
702
|
+
"create-draft-pr": "create-draft-pr";
|
|
703
|
+
"hold-branch": "hold-branch";
|
|
704
|
+
none: "none";
|
|
705
|
+
"notify-channel": "notify-channel";
|
|
706
|
+
"open-issue": "open-issue";
|
|
707
|
+
}>>;
|
|
708
|
+
"override-apply-failed": z.ZodOptional<z.ZodEnum<{
|
|
709
|
+
"create-draft-pr": "create-draft-pr";
|
|
710
|
+
"hold-branch": "hold-branch";
|
|
711
|
+
none: "none";
|
|
712
|
+
"notify-channel": "notify-channel";
|
|
713
|
+
"open-issue": "open-issue";
|
|
714
|
+
}>>;
|
|
715
|
+
"package-json-not-found": z.ZodOptional<z.ZodEnum<{
|
|
716
|
+
"create-draft-pr": "create-draft-pr";
|
|
717
|
+
"hold-branch": "hold-branch";
|
|
718
|
+
none: "none";
|
|
719
|
+
"notify-channel": "notify-channel";
|
|
720
|
+
"open-issue": "open-issue";
|
|
721
|
+
}>>;
|
|
722
|
+
"patch-apply-failed": z.ZodOptional<z.ZodEnum<{
|
|
723
|
+
"create-draft-pr": "create-draft-pr";
|
|
724
|
+
"hold-branch": "hold-branch";
|
|
725
|
+
none: "none";
|
|
726
|
+
"notify-channel": "notify-channel";
|
|
727
|
+
"open-issue": "open-issue";
|
|
728
|
+
}>>;
|
|
729
|
+
"patch-confidence-too-low": z.ZodOptional<z.ZodEnum<{
|
|
730
|
+
"create-draft-pr": "create-draft-pr";
|
|
731
|
+
"hold-branch": "hold-branch";
|
|
732
|
+
none: "none";
|
|
733
|
+
"notify-channel": "notify-channel";
|
|
734
|
+
"open-issue": "open-issue";
|
|
735
|
+
}>>;
|
|
736
|
+
"patch-generation-failed": z.ZodOptional<z.ZodEnum<{
|
|
737
|
+
"create-draft-pr": "create-draft-pr";
|
|
738
|
+
"hold-branch": "hold-branch";
|
|
739
|
+
none: "none";
|
|
740
|
+
"notify-channel": "notify-channel";
|
|
741
|
+
"open-issue": "open-issue";
|
|
742
|
+
}>>;
|
|
743
|
+
"patch-validation-failed": z.ZodOptional<z.ZodEnum<{
|
|
744
|
+
"create-draft-pr": "create-draft-pr";
|
|
745
|
+
"hold-branch": "hold-branch";
|
|
746
|
+
none: "none";
|
|
747
|
+
"notify-channel": "notify-channel";
|
|
748
|
+
"open-issue": "open-issue";
|
|
749
|
+
}>>;
|
|
750
|
+
"policy-blocked": z.ZodOptional<z.ZodEnum<{
|
|
751
|
+
"create-draft-pr": "create-draft-pr";
|
|
752
|
+
"hold-branch": "hold-branch";
|
|
753
|
+
none: "none";
|
|
754
|
+
"notify-channel": "notify-channel";
|
|
755
|
+
"open-issue": "open-issue";
|
|
756
|
+
}>>;
|
|
757
|
+
"proof-of-fix-failed": z.ZodOptional<z.ZodEnum<{
|
|
758
|
+
"create-draft-pr": "create-draft-pr";
|
|
759
|
+
"hold-branch": "hold-branch";
|
|
760
|
+
none: "none";
|
|
761
|
+
"notify-channel": "notify-channel";
|
|
762
|
+
"open-issue": "open-issue";
|
|
763
|
+
}>>;
|
|
764
|
+
"requires-llm-fallback": z.ZodOptional<z.ZodEnum<{
|
|
765
|
+
"create-draft-pr": "create-draft-pr";
|
|
766
|
+
"hold-branch": "hold-branch";
|
|
767
|
+
none: "none";
|
|
768
|
+
"notify-channel": "notify-channel";
|
|
769
|
+
"open-issue": "open-issue";
|
|
770
|
+
}>>;
|
|
771
|
+
"source-fetch-failed": z.ZodOptional<z.ZodEnum<{
|
|
772
|
+
"create-draft-pr": "create-draft-pr";
|
|
773
|
+
"hold-branch": "hold-branch";
|
|
774
|
+
none: "none";
|
|
775
|
+
"notify-channel": "notify-channel";
|
|
776
|
+
"open-issue": "open-issue";
|
|
777
|
+
}>>;
|
|
778
|
+
"transitive-dependency": z.ZodOptional<z.ZodEnum<{
|
|
779
|
+
"create-draft-pr": "create-draft-pr";
|
|
780
|
+
"hold-branch": "hold-branch";
|
|
781
|
+
none: "none";
|
|
782
|
+
"notify-channel": "notify-channel";
|
|
783
|
+
"open-issue": "open-issue";
|
|
784
|
+
}>>;
|
|
785
|
+
"transitive-override-unsupported-deno-native": z.ZodOptional<z.ZodEnum<{
|
|
786
|
+
"create-draft-pr": "create-draft-pr";
|
|
787
|
+
"hold-branch": "hold-branch";
|
|
788
|
+
none: "none";
|
|
789
|
+
"notify-channel": "notify-channel";
|
|
790
|
+
"open-issue": "open-issue";
|
|
791
|
+
}>>;
|
|
792
|
+
"validation-failed": z.ZodOptional<z.ZodEnum<{
|
|
793
|
+
"create-draft-pr": "create-draft-pr";
|
|
794
|
+
"hold-branch": "hold-branch";
|
|
795
|
+
none: "none";
|
|
796
|
+
"notify-channel": "notify-channel";
|
|
797
|
+
"open-issue": "open-issue";
|
|
798
|
+
}>>;
|
|
799
|
+
}, z.core.$strict>>;
|
|
800
|
+
offlineIntelligence: z.ZodOptional<z.ZodBoolean>;
|
|
801
|
+
intelligenceSnapshotPath: z.ZodOptional<z.ZodString>;
|
|
802
|
+
proofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
803
|
+
requireProofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
804
|
+
reproductionTest: z.ZodOptional<z.ZodString>;
|
|
805
|
+
breakingChangeRefactor: z.ZodOptional<z.ZodBoolean>;
|
|
806
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
807
|
+
auto: "auto";
|
|
808
|
+
"npm-audit": "npm-audit";
|
|
809
|
+
sarif: "sarif";
|
|
810
|
+
"yarn-audit": "yarn-audit";
|
|
811
|
+
}>>;
|
|
812
|
+
audit: z.ZodOptional<z.ZodBoolean>;
|
|
813
|
+
}, z.core.$strict>;
|
|
814
|
+
export declare const updateOutdatedOptionsSchema: z.ZodObject<{
|
|
815
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
816
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
817
|
+
bun: "bun";
|
|
818
|
+
deno: "deno";
|
|
819
|
+
npm: "npm";
|
|
820
|
+
pnpm: "pnpm";
|
|
821
|
+
yarn: "yarn";
|
|
822
|
+
}>>;
|
|
823
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
824
|
+
preview: z.ZodOptional<z.ZodBoolean>;
|
|
825
|
+
runTests: z.ZodOptional<z.ZodBoolean>;
|
|
826
|
+
typecheck: z.ZodOptional<z.ZodBoolean>;
|
|
827
|
+
supplyChainPolicy: z.ZodOptional<z.ZodObject<{
|
|
828
|
+
minPublishAgeHours: z.ZodOptional<z.ZodNumber>;
|
|
829
|
+
blockInstallScripts: z.ZodOptional<z.ZodBoolean>;
|
|
830
|
+
requireProvenance: z.ZodOptional<z.ZodBoolean>;
|
|
831
|
+
}, z.core.$strict>>;
|
|
832
|
+
model: z.ZodOptional<z.ZodString>;
|
|
833
|
+
patchConfidenceThresholds: z.ZodOptional<z.ZodObject<{
|
|
834
|
+
low: z.ZodOptional<z.ZodNumber>;
|
|
835
|
+
medium: z.ZodOptional<z.ZodNumber>;
|
|
836
|
+
high: z.ZodOptional<z.ZodNumber>;
|
|
837
|
+
}, z.core.$strict>>;
|
|
838
|
+
patchesDir: z.ZodOptional<z.ZodString>;
|
|
839
|
+
policy: z.ZodOptional<z.ZodString>;
|
|
840
|
+
evidence: z.ZodOptional<z.ZodBoolean>;
|
|
841
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
842
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
843
|
+
parentRunId: z.ZodOptional<z.ZodString>;
|
|
844
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
845
|
+
resume: z.ZodOptional<z.ZodBoolean>;
|
|
846
|
+
actor: z.ZodOptional<z.ZodString>;
|
|
847
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
848
|
+
cli: "cli";
|
|
849
|
+
mcp: "mcp";
|
|
850
|
+
openapi: "openapi";
|
|
851
|
+
sdk: "sdk";
|
|
852
|
+
unknown: "unknown";
|
|
853
|
+
}>>;
|
|
854
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
855
|
+
directDependenciesOnly: z.ZodOptional<z.ZodBoolean>;
|
|
856
|
+
preferVersionBump: z.ZodOptional<z.ZodBoolean>;
|
|
857
|
+
installMode: z.ZodOptional<z.ZodEnum<{
|
|
858
|
+
deterministic: "deterministic";
|
|
859
|
+
"prefer-offline": "prefer-offline";
|
|
860
|
+
standard: "standard";
|
|
861
|
+
}>>;
|
|
862
|
+
installPreferOffline: z.ZodOptional<z.ZodBoolean>;
|
|
863
|
+
enforceFrozenLockfile: z.ZodOptional<z.ZodBoolean>;
|
|
864
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
865
|
+
typecheck: z.ZodOptional<z.ZodBoolean>;
|
|
866
|
+
requireProofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
867
|
+
enableBreakingChangeRefactor: z.ZodOptional<z.ZodBoolean>;
|
|
868
|
+
supplyChainPolicy: z.ZodOptional<z.ZodObject<{
|
|
869
|
+
minPublishAgeHours: z.ZodOptional<z.ZodNumber>;
|
|
870
|
+
blockInstallScripts: z.ZodOptional<z.ZodBoolean>;
|
|
871
|
+
requireProvenance: z.ZodOptional<z.ZodBoolean>;
|
|
872
|
+
}, z.core.$strict>>;
|
|
873
|
+
}, z.core.$strict>>;
|
|
874
|
+
changeRequest: z.ZodOptional<z.ZodObject<{
|
|
875
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
876
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
877
|
+
github: "github";
|
|
878
|
+
gitlab: "gitlab";
|
|
879
|
+
}>>;
|
|
880
|
+
grouping: z.ZodOptional<z.ZodEnum<{
|
|
881
|
+
all: "all";
|
|
882
|
+
"by-severity": "by-severity";
|
|
883
|
+
"per-cve": "per-cve";
|
|
884
|
+
"per-package": "per-package";
|
|
885
|
+
}>>;
|
|
886
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
887
|
+
baseBranch: z.ZodOptional<z.ZodString>;
|
|
888
|
+
branchPrefix: z.ZodOptional<z.ZodString>;
|
|
889
|
+
titlePrefix: z.ZodOptional<z.ZodString>;
|
|
890
|
+
}, z.core.$strict>>;
|
|
891
|
+
exploitSignalOverride: z.ZodOptional<z.ZodObject<{
|
|
892
|
+
kev: z.ZodOptional<z.ZodObject<{
|
|
893
|
+
mandatory: z.ZodBoolean;
|
|
894
|
+
}, z.core.$strict>>;
|
|
895
|
+
epss: z.ZodOptional<z.ZodObject<{
|
|
896
|
+
mandatory: z.ZodBoolean;
|
|
897
|
+
threshold: z.ZodNumber;
|
|
898
|
+
}, z.core.$strict>>;
|
|
899
|
+
}, z.core.$strict>>;
|
|
900
|
+
suppressionsFile: z.ZodOptional<z.ZodString>;
|
|
901
|
+
slaCheck: z.ZodOptional<z.ZodBoolean>;
|
|
902
|
+
skipUnreachable: z.ZodOptional<z.ZodBoolean>;
|
|
903
|
+
dispositionPolicy: z.ZodOptional<z.ZodObject<{
|
|
904
|
+
minConfidenceForAutoApply: z.ZodOptional<z.ZodNumber>;
|
|
905
|
+
holdForTransitive: z.ZodOptional<z.ZodBoolean>;
|
|
906
|
+
escalateOnKev: z.ZodOptional<z.ZodBoolean>;
|
|
907
|
+
escalateOnSlaBreachSeverities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
908
|
+
CRITICAL: "CRITICAL";
|
|
909
|
+
HIGH: "HIGH";
|
|
910
|
+
LOW: "LOW";
|
|
911
|
+
MEDIUM: "MEDIUM";
|
|
912
|
+
UNKNOWN: "UNKNOWN";
|
|
913
|
+
}>>>;
|
|
914
|
+
}, z.core.$strict>>;
|
|
915
|
+
containmentMode: z.ZodOptional<z.ZodBoolean>;
|
|
916
|
+
campaignMode: z.ZodOptional<z.ZodBoolean>;
|
|
917
|
+
escalationGraph: z.ZodOptional<z.ZodObject<{
|
|
918
|
+
"breaking-change-unresolved": z.ZodOptional<z.ZodEnum<{
|
|
919
|
+
"create-draft-pr": "create-draft-pr";
|
|
920
|
+
"hold-branch": "hold-branch";
|
|
921
|
+
none: "none";
|
|
922
|
+
"notify-channel": "notify-channel";
|
|
923
|
+
"open-issue": "open-issue";
|
|
924
|
+
}>>;
|
|
925
|
+
"constraint-blocked": z.ZodOptional<z.ZodEnum<{
|
|
926
|
+
"create-draft-pr": "create-draft-pr";
|
|
927
|
+
"hold-branch": "hold-branch";
|
|
928
|
+
none: "none";
|
|
929
|
+
"notify-channel": "notify-channel";
|
|
930
|
+
"open-issue": "open-issue";
|
|
931
|
+
}>>;
|
|
932
|
+
"install-failed": z.ZodOptional<z.ZodEnum<{
|
|
933
|
+
"create-draft-pr": "create-draft-pr";
|
|
934
|
+
"hold-branch": "hold-branch";
|
|
935
|
+
none: "none";
|
|
936
|
+
"notify-channel": "notify-channel";
|
|
937
|
+
"open-issue": "open-issue";
|
|
938
|
+
}>>;
|
|
939
|
+
"major-bump-required": z.ZodOptional<z.ZodEnum<{
|
|
940
|
+
"create-draft-pr": "create-draft-pr";
|
|
941
|
+
"hold-branch": "hold-branch";
|
|
942
|
+
none: "none";
|
|
943
|
+
"notify-channel": "notify-channel";
|
|
944
|
+
"open-issue": "open-issue";
|
|
945
|
+
}>>;
|
|
946
|
+
"no-safe-version": z.ZodOptional<z.ZodEnum<{
|
|
947
|
+
"create-draft-pr": "create-draft-pr";
|
|
948
|
+
"hold-branch": "hold-branch";
|
|
949
|
+
none: "none";
|
|
950
|
+
"notify-channel": "notify-channel";
|
|
951
|
+
"open-issue": "open-issue";
|
|
952
|
+
}>>;
|
|
953
|
+
"override-apply-failed": z.ZodOptional<z.ZodEnum<{
|
|
954
|
+
"create-draft-pr": "create-draft-pr";
|
|
955
|
+
"hold-branch": "hold-branch";
|
|
956
|
+
none: "none";
|
|
957
|
+
"notify-channel": "notify-channel";
|
|
958
|
+
"open-issue": "open-issue";
|
|
959
|
+
}>>;
|
|
960
|
+
"package-json-not-found": z.ZodOptional<z.ZodEnum<{
|
|
961
|
+
"create-draft-pr": "create-draft-pr";
|
|
962
|
+
"hold-branch": "hold-branch";
|
|
963
|
+
none: "none";
|
|
964
|
+
"notify-channel": "notify-channel";
|
|
965
|
+
"open-issue": "open-issue";
|
|
966
|
+
}>>;
|
|
967
|
+
"patch-apply-failed": z.ZodOptional<z.ZodEnum<{
|
|
968
|
+
"create-draft-pr": "create-draft-pr";
|
|
969
|
+
"hold-branch": "hold-branch";
|
|
970
|
+
none: "none";
|
|
971
|
+
"notify-channel": "notify-channel";
|
|
972
|
+
"open-issue": "open-issue";
|
|
973
|
+
}>>;
|
|
974
|
+
"patch-confidence-too-low": z.ZodOptional<z.ZodEnum<{
|
|
975
|
+
"create-draft-pr": "create-draft-pr";
|
|
976
|
+
"hold-branch": "hold-branch";
|
|
977
|
+
none: "none";
|
|
978
|
+
"notify-channel": "notify-channel";
|
|
979
|
+
"open-issue": "open-issue";
|
|
980
|
+
}>>;
|
|
981
|
+
"patch-generation-failed": z.ZodOptional<z.ZodEnum<{
|
|
982
|
+
"create-draft-pr": "create-draft-pr";
|
|
983
|
+
"hold-branch": "hold-branch";
|
|
984
|
+
none: "none";
|
|
985
|
+
"notify-channel": "notify-channel";
|
|
986
|
+
"open-issue": "open-issue";
|
|
987
|
+
}>>;
|
|
988
|
+
"patch-validation-failed": z.ZodOptional<z.ZodEnum<{
|
|
989
|
+
"create-draft-pr": "create-draft-pr";
|
|
990
|
+
"hold-branch": "hold-branch";
|
|
991
|
+
none: "none";
|
|
992
|
+
"notify-channel": "notify-channel";
|
|
993
|
+
"open-issue": "open-issue";
|
|
994
|
+
}>>;
|
|
995
|
+
"policy-blocked": z.ZodOptional<z.ZodEnum<{
|
|
996
|
+
"create-draft-pr": "create-draft-pr";
|
|
997
|
+
"hold-branch": "hold-branch";
|
|
998
|
+
none: "none";
|
|
999
|
+
"notify-channel": "notify-channel";
|
|
1000
|
+
"open-issue": "open-issue";
|
|
1001
|
+
}>>;
|
|
1002
|
+
"proof-of-fix-failed": z.ZodOptional<z.ZodEnum<{
|
|
1003
|
+
"create-draft-pr": "create-draft-pr";
|
|
1004
|
+
"hold-branch": "hold-branch";
|
|
1005
|
+
none: "none";
|
|
1006
|
+
"notify-channel": "notify-channel";
|
|
1007
|
+
"open-issue": "open-issue";
|
|
1008
|
+
}>>;
|
|
1009
|
+
"requires-llm-fallback": z.ZodOptional<z.ZodEnum<{
|
|
1010
|
+
"create-draft-pr": "create-draft-pr";
|
|
1011
|
+
"hold-branch": "hold-branch";
|
|
1012
|
+
none: "none";
|
|
1013
|
+
"notify-channel": "notify-channel";
|
|
1014
|
+
"open-issue": "open-issue";
|
|
1015
|
+
}>>;
|
|
1016
|
+
"source-fetch-failed": z.ZodOptional<z.ZodEnum<{
|
|
1017
|
+
"create-draft-pr": "create-draft-pr";
|
|
1018
|
+
"hold-branch": "hold-branch";
|
|
1019
|
+
none: "none";
|
|
1020
|
+
"notify-channel": "notify-channel";
|
|
1021
|
+
"open-issue": "open-issue";
|
|
1022
|
+
}>>;
|
|
1023
|
+
"transitive-dependency": z.ZodOptional<z.ZodEnum<{
|
|
1024
|
+
"create-draft-pr": "create-draft-pr";
|
|
1025
|
+
"hold-branch": "hold-branch";
|
|
1026
|
+
none: "none";
|
|
1027
|
+
"notify-channel": "notify-channel";
|
|
1028
|
+
"open-issue": "open-issue";
|
|
1029
|
+
}>>;
|
|
1030
|
+
"transitive-override-unsupported-deno-native": z.ZodOptional<z.ZodEnum<{
|
|
1031
|
+
"create-draft-pr": "create-draft-pr";
|
|
1032
|
+
"hold-branch": "hold-branch";
|
|
1033
|
+
none: "none";
|
|
1034
|
+
"notify-channel": "notify-channel";
|
|
1035
|
+
"open-issue": "open-issue";
|
|
1036
|
+
}>>;
|
|
1037
|
+
"validation-failed": z.ZodOptional<z.ZodEnum<{
|
|
1038
|
+
"create-draft-pr": "create-draft-pr";
|
|
1039
|
+
"hold-branch": "hold-branch";
|
|
1040
|
+
none: "none";
|
|
1041
|
+
"notify-channel": "notify-channel";
|
|
1042
|
+
"open-issue": "open-issue";
|
|
1043
|
+
}>>;
|
|
1044
|
+
}, z.core.$strict>>;
|
|
1045
|
+
offlineIntelligence: z.ZodOptional<z.ZodBoolean>;
|
|
1046
|
+
intelligenceSnapshotPath: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
proofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
1048
|
+
requireProofOfFix: z.ZodOptional<z.ZodBoolean>;
|
|
1049
|
+
reproductionTest: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
breakingChangeRefactor: z.ZodOptional<z.ZodBoolean>;
|
|
1051
|
+
includeTransitive: z.ZodOptional<z.ZodBoolean>;
|
|
1052
|
+
}, z.core.$strict>;
|
|
1053
|
+
export declare const portfolioTargetSchema: z.ZodObject<{
|
|
1054
|
+
cwd: z.ZodString;
|
|
1055
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1056
|
+
cveId: z.ZodOptional<z.ZodString>;
|
|
1057
|
+
inputPath: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1059
|
+
auto: "auto";
|
|
1060
|
+
"npm-audit": "npm-audit";
|
|
1061
|
+
sarif: "sarif";
|
|
1062
|
+
"yarn-audit": "yarn-audit";
|
|
1063
|
+
}>>;
|
|
1064
|
+
audit: z.ZodOptional<z.ZodBoolean>;
|
|
1065
|
+
riskHint: z.ZodOptional<z.ZodObject<{
|
|
1066
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
1067
|
+
CRITICAL: "CRITICAL";
|
|
1068
|
+
HIGH: "HIGH";
|
|
1069
|
+
LOW: "LOW";
|
|
1070
|
+
MEDIUM: "MEDIUM";
|
|
1071
|
+
UNKNOWN: "UNKNOWN";
|
|
1072
|
+
}>>;
|
|
1073
|
+
exploitSignal: z.ZodOptional<z.ZodBoolean>;
|
|
1074
|
+
slaBreached: z.ZodOptional<z.ZodBoolean>;
|
|
1075
|
+
}, z.core.$strict>>;
|
|
1076
|
+
}, z.core.$strict>;
|
|
1077
|
+
export declare const patchArtifactQuerySchema: z.ZodObject<{
|
|
1078
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
patchesDir: z.ZodOptional<z.ZodString>;
|
|
1080
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
1081
|
+
bun: "bun";
|
|
1082
|
+
deno: "deno";
|
|
1083
|
+
npm: "npm";
|
|
1084
|
+
pnpm: "pnpm";
|
|
1085
|
+
yarn: "yarn";
|
|
1086
|
+
}>>;
|
|
1087
|
+
}, z.core.$strict>;
|
|
1088
|
+
export declare const reconcileOptionsSchema: z.ZodObject<{
|
|
1089
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
patchesDir: z.ZodOptional<z.ZodString>;
|
|
1091
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
1092
|
+
bun: "bun";
|
|
1093
|
+
deno: "deno";
|
|
1094
|
+
npm: "npm";
|
|
1095
|
+
pnpm: "pnpm";
|
|
1096
|
+
yarn: "yarn";
|
|
1097
|
+
}>>;
|
|
1098
|
+
autoApply: z.ZodOptional<z.ZodBoolean>;
|
|
1099
|
+
runTests: z.ZodOptional<z.ZodBoolean>;
|
|
1100
|
+
}, z.core.$strict>;
|
|
1101
|
+
export declare const patchFilePathSchema: z.ZodString;
|
|
1102
|
+
export declare const deltaScanOptionsSchema: z.ZodObject<{
|
|
1103
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
baseRef: z.ZodOptional<z.ZodString>;
|
|
1105
|
+
includeUnstaged: z.ZodOptional<z.ZodBoolean>;
|
|
1106
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
1107
|
+
bun: "bun";
|
|
1108
|
+
deno: "deno";
|
|
1109
|
+
npm: "npm";
|
|
1110
|
+
pnpm: "pnpm";
|
|
1111
|
+
yarn: "yarn";
|
|
1112
|
+
}>>;
|
|
1113
|
+
}, z.core.$strict>;
|
|
1114
|
+
export declare const evaluatePackageOptionsSchema: z.ZodObject<{
|
|
1115
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
1117
|
+
bun: "bun";
|
|
1118
|
+
deno: "deno";
|
|
1119
|
+
npm: "npm";
|
|
1120
|
+
pnpm: "pnpm";
|
|
1121
|
+
yarn: "yarn";
|
|
1122
|
+
}>>;
|
|
1123
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
enrichIntelligence: z.ZodOptional<z.ZodBoolean>;
|
|
1125
|
+
}, z.core.$strict>;
|
|
1126
|
+
export declare const getAutonomyOptionsSchema: z.ZodObject<{
|
|
1127
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
policy: z.ZodOptional<z.ZodString>;
|
|
1129
|
+
}, z.core.$strict>;
|
|
1130
|
+
/** A name that is safe in a registry path and under `node_modules/`; see `isValidPackageName`. */
|
|
1131
|
+
export declare const registryPackageName: () => z.ZodString;
|
|
1132
|
+
export declare const packageNameSchema: z.ZodString;
|
|
1133
|
+
export declare const RUN_STATUS_VALUES: readonly ["planned", "applying", "applied", "partial", "failed", "rolled-back"];
|
|
1134
|
+
/** Verification checks in the order they run (cheap and static first). */
|
|
1135
|
+
export declare const VERIFY_CHECK_VALUES: readonly ["scope", "policy", "supply-chain", "install", "vuln-gone", "typecheck", "tests", "proof-of-fix"];
|
|
1136
|
+
export declare const runIdSchema: z.ZodString;
|
|
1137
|
+
export declare const optionalRunIdSchema: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
export declare const planIdSchema: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
export declare const applyPlanOptionsSchema: z.ZodObject<{
|
|
1140
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1141
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
planId: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
itemIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1144
|
+
verify: z.ZodOptional<z.ZodBoolean>;
|
|
1145
|
+
repair: z.ZodOptional<z.ZodBoolean>;
|
|
1146
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
maxRepairRounds: z.ZodOptional<z.ZodNumber>;
|
|
1148
|
+
}, z.core.$strict>;
|
|
1149
|
+
export declare const runQuerySchema: z.ZodObject<{
|
|
1150
|
+
runId: z.ZodString;
|
|
1151
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
}, z.core.$strict>;
|
|
1153
|
+
export declare const rollbackRunOptionsSchema: z.ZodObject<{
|
|
1154
|
+
runId: z.ZodString;
|
|
1155
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1156
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
1157
|
+
reinstall: z.ZodOptional<z.ZodBoolean>;
|
|
1158
|
+
}, z.core.$strict>;
|
|
1159
|
+
export declare const itemIdSchema: z.ZodString;
|
|
1160
|
+
export declare const attemptIdSchema: z.ZodString;
|
|
1161
|
+
export declare const startAttemptOptionsSchema: z.ZodObject<{
|
|
1162
|
+
runId: z.ZodString;
|
|
1163
|
+
itemId: z.ZodString;
|
|
1164
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
}, z.core.$strict>;
|
|
1166
|
+
export declare const attemptQuerySchema: z.ZodObject<{
|
|
1167
|
+
runId: z.ZodString;
|
|
1168
|
+
attemptId: z.ZodString;
|
|
1169
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
}, z.core.$strict>;
|
|
1171
|
+
export declare const proposePatchOptionsSchema: z.ZodObject<{
|
|
1172
|
+
runId: z.ZodString;
|
|
1173
|
+
attemptId: z.ZodString;
|
|
1174
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1175
|
+
diff: z.ZodString;
|
|
1176
|
+
}, z.core.$strict>;
|
|
1177
|
+
export declare const verifyAttemptOptionsSchema: z.ZodObject<{
|
|
1178
|
+
runId: z.ZodString;
|
|
1179
|
+
attemptId: z.ZodString;
|
|
1180
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
checks: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1182
|
+
install: "install";
|
|
1183
|
+
policy: "policy";
|
|
1184
|
+
"proof-of-fix": "proof-of-fix";
|
|
1185
|
+
scope: "scope";
|
|
1186
|
+
"supply-chain": "supply-chain";
|
|
1187
|
+
tests: "tests";
|
|
1188
|
+
typecheck: "typecheck";
|
|
1189
|
+
"vuln-gone": "vuln-gone";
|
|
1190
|
+
}>>>;
|
|
1191
|
+
}, z.core.$strict>;
|
|
1192
|
+
export declare const verifyRunOptionsSchema: z.ZodObject<{
|
|
1193
|
+
runId: z.ZodString;
|
|
1194
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1195
|
+
checks: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1196
|
+
install: "install";
|
|
1197
|
+
policy: "policy";
|
|
1198
|
+
"proof-of-fix": "proof-of-fix";
|
|
1199
|
+
scope: "scope";
|
|
1200
|
+
"supply-chain": "supply-chain";
|
|
1201
|
+
tests: "tests";
|
|
1202
|
+
typecheck: "typecheck";
|
|
1203
|
+
"vuln-gone": "vuln-gone";
|
|
1204
|
+
}>>>;
|
|
1205
|
+
offline: z.ZodOptional<z.ZodBoolean>;
|
|
1206
|
+
}, z.core.$strict>;
|
|
1207
|
+
export declare const listRunsOptionsSchema: z.ZodObject<{
|
|
1208
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1210
|
+
applied: "applied";
|
|
1211
|
+
applying: "applying";
|
|
1212
|
+
failed: "failed";
|
|
1213
|
+
partial: "partial";
|
|
1214
|
+
planned: "planned";
|
|
1215
|
+
"rolled-back": "rolled-back";
|
|
1216
|
+
}>>;
|
|
1217
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1218
|
+
}, z.core.$strict>;
|
|
1219
|
+
type WireKeys = keyof z.input<typeof remediateOptionsSchema>;
|
|
1220
|
+
type SdkOnly = "patchGenerator" | "ignoreMemory";
|
|
1221
|
+
type NotOnTheWire = Exclude<keyof RemediateOptions, WireKeys | SdkOnly>;
|
|
1222
|
+
type NotInTheSdk = Exclude<WireKeys, keyof RemediateOptions>;
|
|
1223
|
+
export declare const wireOptionsMatchSdk: [NotOnTheWire, NotInTheSdk] extends [never, never] ? true : never;
|
|
1224
|
+
export {};
|
|
1225
|
+
//# sourceMappingURL=option-schemas.d.ts.map
|