@xoxoai/checkmate 0.6.7 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -257
- package/dist/checkmate.js +13375 -0
- package/package.json +30 -94
- package/plugin/.claude-plugin/plugin.json +10 -0
- package/plugin/bin/checkmate.ts +3 -0
- package/plugin/contracts/finding.schema.json +78 -0
- package/plugin/contracts/gap.schema.json +56 -0
- package/plugin/contracts/plan-candidate.schema.json +103 -0
- package/plugin/contracts/plan-delta.schema.json +63 -0
- package/plugin/contracts/plan-patch.schema.json +116 -0
- package/plugin/contracts/plan-request.schema.json +108 -0
- package/plugin/contracts/plan.schema.json +313 -0
- package/plugin/contracts/profile.schema.json +154 -0
- package/plugin/contracts/response.schema.json +25 -0
- package/plugin/contracts/result.schema.json +410 -0
- package/plugin/dist/checkmate.js +13012 -0
- package/plugin/package.json +4 -0
- package/plugin/references/browser.md +35 -0
- package/plugin/references/http.md +30 -0
- package/plugin/references/workflow.md +122 -0
- package/plugin/skills/execute/SKILL.md +92 -0
- package/plugin/skills/plan/SKILL.md +94 -0
- package/plugin/skills/report/SKILL.md +28 -0
- package/plugin/skills/revise/SKILL.md +43 -0
- package/plugin/skills/setup/SKILL.md +82 -0
- package/plugin/skills/status/SKILL.md +20 -0
- package/plugin/skills/ui/SKILL.md +26 -0
- package/plugin/src/actor.ts +21 -0
- package/plugin/src/cli.ts +1133 -0
- package/plugin/src/contracts.ts +342 -0
- package/plugin/src/index.ts +52 -0
- package/plugin/src/plans.ts +1028 -0
- package/plugin/src/render.ts +544 -0
- package/plugin/src/runs.ts +868 -0
- package/plugin/src/store.ts +384 -0
- package/plugin/src/targets.ts +205 -0
- package/plugin/src/types.ts +319 -0
- package/plugin/src/ui/assets/client.js +501 -0
- package/plugin/src/ui/assets/favicon.svg +1 -0
- package/plugin/src/ui/assets/fonts/inter-OFL.txt +93 -0
- package/plugin/src/ui/assets/fonts/inter.woff2 +0 -0
- package/plugin/src/ui/assets/fonts/jetbrains-mono-OFL.txt +93 -0
- package/plugin/src/ui/assets/fonts/jetbrains-mono.woff2 +0 -0
- package/plugin/src/ui/assets/fonts/space-grotesk-OFL.txt +93 -0
- package/plugin/src/ui/assets/fonts/space-grotesk.woff2 +0 -0
- package/plugin/src/ui/assets/style.css +1926 -0
- package/plugin/src/ui/edit.ts +305 -0
- package/plugin/src/ui/forms.ts +209 -0
- package/plugin/src/ui/html.ts +130 -0
- package/plugin/src/ui/layout.ts +198 -0
- package/plugin/src/ui/lists.ts +645 -0
- package/plugin/src/ui/plan.ts +577 -0
- package/plugin/src/ui/run.ts +489 -0
- package/plugin/src/ui/server.ts +684 -0
- package/plugin/src/validators.d.ts +13 -0
- package/plugin/src/validators.js +1 -0
- package/plugin/src/views.ts +839 -0
- package/bin/checkmate.js +0 -13
- package/dist/ai/client.d.ts +0 -64
- package/dist/ai/client.d.ts.map +0 -1
- package/dist/ai/client.js +0 -313
- package/dist/ai/client.js.map +0 -1
- package/dist/ai/message-handler.d.ts +0 -9
- package/dist/ai/message-handler.d.ts.map +0 -1
- package/dist/ai/message-handler.js +0 -50
- package/dist/ai/message-handler.js.map +0 -1
- package/dist/ai/message-history.d.ts +0 -17
- package/dist/ai/message-history.d.ts.map +0 -1
- package/dist/ai/message-history.js +0 -45
- package/dist/ai/message-history.js.map +0 -1
- package/dist/ai/prompts.d.ts +0 -4
- package/dist/ai/prompts.d.ts.map +0 -1
- package/dist/ai/prompts.js +0 -24
- package/dist/ai/prompts.js.map +0 -1
- package/dist/ai/rate-limit-policy.d.ts +0 -9
- package/dist/ai/rate-limit-policy.d.ts.map +0 -1
- package/dist/ai/rate-limit-policy.js +0 -34
- package/dist/ai/rate-limit-policy.js.map +0 -1
- package/dist/ai/tool-response-handler.d.ts +0 -16
- package/dist/ai/tool-response-handler.d.ts.map +0 -1
- package/dist/ai/tool-response-handler.js +0 -85
- package/dist/ai/tool-response-handler.js.map +0 -1
- package/dist/ai/turn-processor.d.ts +0 -34
- package/dist/ai/turn-processor.d.ts.map +0 -1
- package/dist/ai/turn-processor.js +0 -107
- package/dist/ai/turn-processor.js.map +0 -1
- package/dist/api/allocate-run-identity.d.ts +0 -8
- package/dist/api/allocate-run-identity.d.ts.map +0 -1
- package/dist/api/allocate-run-identity.js +0 -10
- package/dist/api/allocate-run-identity.js.map +0 -1
- package/dist/api/execute-prepared-run.d.ts +0 -22
- package/dist/api/execute-prepared-run.d.ts.map +0 -1
- package/dist/api/execute-prepared-run.js +0 -184
- package/dist/api/execute-prepared-run.js.map +0 -1
- package/dist/api/index.d.ts +0 -25
- package/dist/api/index.d.ts.map +0 -1
- package/dist/api/index.js +0 -69
- package/dist/api/index.js.map +0 -1
- package/dist/api/prepare-run.d.ts +0 -44
- package/dist/api/prepare-run.d.ts.map +0 -1
- package/dist/api/prepare-run.js +0 -261
- package/dist/api/prepare-run.js.map +0 -1
- package/dist/cli/diagnostic-relay.d.ts +0 -6
- package/dist/cli/diagnostic-relay.d.ts.map +0 -1
- package/dist/cli/diagnostic-relay.js +0 -6
- package/dist/cli/diagnostic-relay.js.map +0 -1
- package/dist/cli/main.d.ts +0 -21
- package/dist/cli/main.d.ts.map +0 -1
- package/dist/cli/main.js +0 -166
- package/dist/cli/main.js.map +0 -1
- package/dist/cli/protocol.d.ts +0 -57
- package/dist/cli/protocol.d.ts.map +0 -1
- package/dist/cli/protocol.js +0 -116
- package/dist/cli/protocol.js.map +0 -1
- package/dist/cli/reconcile-result.d.ts +0 -13
- package/dist/cli/reconcile-result.d.ts.map +0 -1
- package/dist/cli/reconcile-result.js +0 -300
- package/dist/cli/reconcile-result.js.map +0 -1
- package/dist/cli/run-parent.d.ts +0 -37
- package/dist/cli/run-parent.d.ts.map +0 -1
- package/dist/cli/run-parent.js +0 -491
- package/dist/cli/run-parent.js.map +0 -1
- package/dist/cli/signals.d.ts +0 -36
- package/dist/cli/signals.d.ts.map +0 -1
- package/dist/cli/signals.js +0 -85
- package/dist/cli/signals.js.map +0 -1
- package/dist/cli/static-commands.d.ts +0 -11
- package/dist/cli/static-commands.d.ts.map +0 -1
- package/dist/cli/static-commands.js +0 -83
- package/dist/cli/static-commands.js.map +0 -1
- package/dist/cli/worker-stream-guard.d.ts +0 -20
- package/dist/cli/worker-stream-guard.d.ts.map +0 -1
- package/dist/cli/worker-stream-guard.js +0 -41
- package/dist/cli/worker-stream-guard.js.map +0 -1
- package/dist/cli/worker.d.ts +0 -3
- package/dist/cli/worker.d.ts.map +0 -1
- package/dist/cli/worker.js +0 -111
- package/dist/cli/worker.js.map +0 -1
- package/dist/config/ingestion.d.ts +0 -58
- package/dist/config/ingestion.d.ts.map +0 -1
- package/dist/config/ingestion.js +0 -283
- package/dist/config/ingestion.js.map +0 -1
- package/dist/config/manifest.d.ts +0 -20
- package/dist/config/manifest.d.ts.map +0 -1
- package/dist/config/manifest.js +0 -91
- package/dist/config/manifest.js.map +0 -1
- package/dist/config/model-egress.d.ts +0 -10
- package/dist/config/model-egress.d.ts.map +0 -1
- package/dist/config/model-egress.js +0 -62
- package/dist/config/model-egress.js.map +0 -1
- package/dist/config/package-resolution.d.ts +0 -4
- package/dist/config/package-resolution.d.ts.map +0 -1
- package/dist/config/package-resolution.js +0 -24
- package/dist/config/package-resolution.js.map +0 -1
- package/dist/config/policy.d.ts +0 -44
- package/dist/config/policy.d.ts.map +0 -1
- package/dist/config/policy.js +0 -141
- package/dist/config/policy.js.map +0 -1
- package/dist/config/record.d.ts +0 -4
- package/dist/config/record.d.ts.map +0 -1
- package/dist/config/record.js +0 -10
- package/dist/config/record.js.map +0 -1
- package/dist/config/secrets.d.ts +0 -11
- package/dist/config/secrets.d.ts.map +0 -1
- package/dist/config/secrets.js +0 -42
- package/dist/config/secrets.js.map +0 -1
- package/dist/contracts/diagnostics.d.ts +0 -4
- package/dist/contracts/diagnostics.d.ts.map +0 -1
- package/dist/contracts/diagnostics.js +0 -31
- package/dist/contracts/diagnostics.js.map +0 -1
- package/dist/contracts/serialize.d.ts +0 -2
- package/dist/contracts/serialize.d.ts.map +0 -1
- package/dist/contracts/serialize.js +0 -90
- package/dist/contracts/serialize.js.map +0 -1
- package/dist/contracts/types.d.ts +0 -316
- package/dist/contracts/types.d.ts.map +0 -1
- package/dist/contracts/types.js +0 -74
- package/dist/contracts/types.js.map +0 -1
- package/dist/contracts/validator.d.ts +0 -8
- package/dist/contracts/validator.d.ts.map +0 -1
- package/dist/contracts/validator.js +0 -71
- package/dist/contracts/validator.js.map +0 -1
- package/dist/driver.d.ts +0 -97
- package/dist/driver.d.ts.map +0 -1
- package/dist/driver.js +0 -24
- package/dist/driver.js.map +0 -1
- package/dist/drivers/descriptor.d.ts +0 -15
- package/dist/drivers/descriptor.d.ts.map +0 -1
- package/dist/drivers/descriptor.js +0 -122
- package/dist/drivers/descriptor.js.map +0 -1
- package/dist/drivers/loader.d.ts +0 -18
- package/dist/drivers/loader.d.ts.map +0 -1
- package/dist/drivers/loader.js +0 -97
- package/dist/drivers/loader.js.map +0 -1
- package/dist/drivers/web/checkmate-driver.json +0 -47
- package/dist/drivers/web/index.d.ts +0 -6
- package/dist/drivers/web/index.d.ts.map +0 -1
- package/dist/drivers/web/index.js +0 -27
- package/dist/drivers/web/index.js.map +0 -1
- package/dist/drivers/web/session.d.ts +0 -25
- package/dist/drivers/web/session.d.ts.map +0 -1
- package/dist/drivers/web/session.js +0 -132
- package/dist/drivers/web/session.js.map +0 -1
- package/dist/drivers/web/tools/network-request-recorder.d.ts +0 -46
- package/dist/drivers/web/tools/network-request-recorder.d.ts.map +0 -1
- package/dist/drivers/web/tools/network-request-recorder.js +0 -164
- package/dist/drivers/web/tools/network-request-recorder.js.map +0 -1
- package/dist/drivers/web/tools/screenshot-service.d.ts +0 -10
- package/dist/drivers/web/tools/screenshot-service.d.ts.map +0 -1
- package/dist/drivers/web/tools/screenshot-service.js +0 -23
- package/dist/drivers/web/tools/screenshot-service.js.map +0 -1
- package/dist/drivers/web/tools/snapshot-filter/index.d.ts +0 -4
- package/dist/drivers/web/tools/snapshot-filter/index.d.ts.map +0 -1
- package/dist/drivers/web/tools/snapshot-filter/index.js +0 -4
- package/dist/drivers/web/tools/snapshot-filter/index.js.map +0 -1
- package/dist/drivers/web/tools/snapshot-filter/semantic-scorer.d.ts +0 -15
- package/dist/drivers/web/tools/snapshot-filter/semantic-scorer.d.ts.map +0 -1
- package/dist/drivers/web/tools/snapshot-filter/semantic-scorer.js +0 -99
- package/dist/drivers/web/tools/snapshot-filter/semantic-scorer.js.map +0 -1
- package/dist/drivers/web/tools/snapshot-filter/snapshot-filter.d.ts +0 -5
- package/dist/drivers/web/tools/snapshot-filter/snapshot-filter.d.ts.map +0 -1
- package/dist/drivers/web/tools/snapshot-filter/snapshot-filter.js +0 -56
- package/dist/drivers/web/tools/snapshot-filter/snapshot-filter.js.map +0 -1
- package/dist/drivers/web/tools/snapshot-filter/tree-reconstructor.d.ts +0 -3
- package/dist/drivers/web/tools/snapshot-filter/tree-reconstructor.d.ts.map +0 -1
- package/dist/drivers/web/tools/snapshot-filter/tree-reconstructor.js +0 -85
- package/dist/drivers/web/tools/snapshot-filter/tree-reconstructor.js.map +0 -1
- package/dist/drivers/web/tools/snapshot-service.d.ts +0 -31
- package/dist/drivers/web/tools/snapshot-service.d.ts.map +0 -1
- package/dist/drivers/web/tools/snapshot-service.js +0 -96
- package/dist/drivers/web/tools/snapshot-service.js.map +0 -1
- package/dist/drivers/web/tools/tool.d.ts +0 -76
- package/dist/drivers/web/tools/tool.d.ts.map +0 -1
- package/dist/drivers/web/tools/tool.js +0 -562
- package/dist/drivers/web/tools/tool.js.map +0 -1
- package/dist/drivers/web/tools/transient-state-tracker.d.ts +0 -26
- package/dist/drivers/web/tools/transient-state-tracker.d.ts.map +0 -1
- package/dist/drivers/web/tools/transient-state-tracker.js +0 -301
- package/dist/drivers/web/tools/transient-state-tracker.js.map +0 -1
- package/dist/drivers/web/tools/types.d.ts +0 -11
- package/dist/drivers/web/tools/types.d.ts.map +0 -1
- package/dist/drivers/web/tools/types.js +0 -2
- package/dist/drivers/web/tools/types.js.map +0 -1
- package/dist/evidence/atomic-file.d.ts +0 -23
- package/dist/evidence/atomic-file.d.ts.map +0 -1
- package/dist/evidence/atomic-file.js +0 -104
- package/dist/evidence/atomic-file.js.map +0 -1
- package/dist/evidence/layout.d.ts +0 -30
- package/dist/evidence/layout.d.ts.map +0 -1
- package/dist/evidence/layout.js +0 -152
- package/dist/evidence/layout.js.map +0 -1
- package/dist/evidence/retention.d.ts +0 -5
- package/dist/evidence/retention.d.ts.map +0 -1
- package/dist/evidence/retention.js +0 -10
- package/dist/evidence/retention.js.map +0 -1
- package/dist/evidence/store.d.ts +0 -101
- package/dist/evidence/store.d.ts.map +0 -1
- package/dist/evidence/store.js +0 -375
- package/dist/evidence/store.js.map +0 -1
- package/dist/evidence/terminal-finalizer.d.ts +0 -19
- package/dist/evidence/terminal-finalizer.d.ts.map +0 -1
- package/dist/evidence/terminal-finalizer.js +0 -56
- package/dist/evidence/terminal-finalizer.js.map +0 -1
- package/dist/index.d.ts +0 -9
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -12
- package/dist/index.js.map +0 -1
- package/dist/logging/invocation-logger.d.ts +0 -4
- package/dist/logging/invocation-logger.d.ts.map +0 -1
- package/dist/logging/invocation-logger.js +0 -25
- package/dist/logging/invocation-logger.js.map +0 -1
- package/dist/logging/level-logger.d.ts +0 -11
- package/dist/logging/level-logger.d.ts.map +0 -1
- package/dist/logging/level-logger.js +0 -82
- package/dist/logging/level-logger.js.map +0 -1
- package/dist/logging/types.d.ts +0 -8
- package/dist/logging/types.d.ts.map +0 -1
- package/dist/logging/types.js +0 -7
- package/dist/logging/types.js.map +0 -1
- package/dist/redaction/diagnostic-sanitizer.d.ts +0 -7
- package/dist/redaction/diagnostic-sanitizer.d.ts.map +0 -1
- package/dist/redaction/diagnostic-sanitizer.js +0 -42
- package/dist/redaction/diagnostic-sanitizer.js.map +0 -1
- package/dist/redaction/redactor.d.ts +0 -40
- package/dist/redaction/redactor.d.ts.map +0 -1
- package/dist/redaction/redactor.js +0 -176
- package/dist/redaction/redactor.js.map +0 -1
- package/dist/redaction/scrub.d.ts +0 -29
- package/dist/redaction/scrub.d.ts.map +0 -1
- package/dist/redaction/scrub.js +0 -54
- package/dist/redaction/scrub.js.map +0 -1
- package/dist/runtime/config.d.ts +0 -16
- package/dist/runtime/config.d.ts.map +0 -1
- package/dist/runtime/config.js +0 -2
- package/dist/runtime/config.js.map +0 -1
- package/dist/runtime/driver-boundary.d.ts +0 -16
- package/dist/runtime/driver-boundary.d.ts.map +0 -1
- package/dist/runtime/driver-boundary.js +0 -71
- package/dist/runtime/driver-boundary.js.map +0 -1
- package/dist/runtime/driver-session.d.ts +0 -9
- package/dist/runtime/driver-session.d.ts.map +0 -1
- package/dist/runtime/driver-session.js +0 -64
- package/dist/runtime/driver-session.js.map +0 -1
- package/dist/runtime/internal-step-evidence.d.ts +0 -30
- package/dist/runtime/internal-step-evidence.d.ts.map +0 -1
- package/dist/runtime/internal-step-evidence.js +0 -82
- package/dist/runtime/internal-step-evidence.js.map +0 -1
- package/dist/runtime/result-adapter.d.ts +0 -9
- package/dist/runtime/result-adapter.d.ts.map +0 -1
- package/dist/runtime/result-adapter.js +0 -77
- package/dist/runtime/result-adapter.js.map +0 -1
- package/dist/runtime/runner.d.ts +0 -43
- package/dist/runtime/runner.d.ts.map +0 -1
- package/dist/runtime/runner.js +0 -72
- package/dist/runtime/runner.js.map +0 -1
- package/dist/runtime/scenario-control.d.ts +0 -40
- package/dist/runtime/scenario-control.d.ts.map +0 -1
- package/dist/runtime/scenario-control.js +0 -94
- package/dist/runtime/scenario-control.js.map +0 -1
- package/dist/runtime/scenario-runner.d.ts +0 -41
- package/dist/runtime/scenario-runner.d.ts.map +0 -1
- package/dist/runtime/scenario-runner.js +0 -274
- package/dist/runtime/scenario-runner.js.map +0 -1
- package/dist/runtime/scenario-state.d.ts +0 -55
- package/dist/runtime/scenario-state.d.ts.map +0 -1
- package/dist/runtime/scenario-state.js +0 -128
- package/dist/runtime/scenario-state.js.map +0 -1
- package/dist/runtime/step-execution.d.ts +0 -27
- package/dist/runtime/step-execution.d.ts.map +0 -1
- package/dist/runtime/step-execution.js +0 -143
- package/dist/runtime/step-execution.js.map +0 -1
- package/dist/runtime/text.d.ts +0 -10
- package/dist/runtime/text.d.ts.map +0 -1
- package/dist/runtime/text.js +0 -25
- package/dist/runtime/text.js.map +0 -1
- package/dist/runtime/types.d.ts +0 -53
- package/dist/runtime/types.d.ts.map +0 -1
- package/dist/runtime/types.js +0 -2
- package/dist/runtime/types.js.map +0 -1
- package/dist/runtime/usage-tracker.d.ts +0 -37
- package/dist/runtime/usage-tracker.d.ts.map +0 -1
- package/dist/runtime/usage-tracker.js +0 -110
- package/dist/runtime/usage-tracker.js.map +0 -1
- package/dist/tools/define-agent-tool.d.ts +0 -20
- package/dist/tools/define-agent-tool.d.ts.map +0 -1
- package/dist/tools/define-agent-tool.js +0 -30
- package/dist/tools/define-agent-tool.js.map +0 -1
- package/dist/tools/dispatcher.d.ts +0 -19
- package/dist/tools/dispatcher.d.ts.map +0 -1
- package/dist/tools/dispatcher.js +0 -91
- package/dist/tools/dispatcher.js.map +0 -1
- package/dist/tools/loop-detector.d.ts +0 -27
- package/dist/tools/loop-detector.d.ts.map +0 -1
- package/dist/tools/loop-detector.js +0 -76
- package/dist/tools/loop-detector.js.map +0 -1
- package/dist/tools/registry.d.ts +0 -19
- package/dist/tools/registry.d.ts.map +0 -1
- package/dist/tools/registry.js +0 -54
- package/dist/tools/registry.js.map +0 -1
- package/dist/tools/step/result-tool.d.ts +0 -7
- package/dist/tools/step/result-tool.d.ts.map +0 -1
- package/dist/tools/step/result-tool.js +0 -34
- package/dist/tools/step/result-tool.js.map +0 -1
- package/dist/tools/tool-contract.d.ts +0 -3
- package/dist/tools/tool-contract.d.ts.map +0 -1
- package/dist/tools/tool-contract.js +0 -2
- package/dist/tools/tool-contract.js.map +0 -1
- package/dist/tools/types.d.ts +0 -210
- package/dist/tools/types.d.ts.map +0 -1
- package/dist/tools/types.js +0 -4
- package/dist/tools/types.js.map +0 -1
- package/docs/CLI.md +0 -59
- package/docs/CONFIGURATION.md +0 -105
- package/docs/DRIVERS.md +0 -79
- package/docs/EVIDENCE.md +0 -64
- package/schemas/checkmate-config.v1.json +0 -176
- package/schemas/describe-result.v1.json +0 -414
- package/schemas/driver-descriptor.v1.json +0 -66
- package/schemas/run-request.v1.json +0 -67
- package/schemas/run-result.v1.json +0 -333
- package/schemas/validation-result.v1.json +0 -86
|
@@ -1,414 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://checkmate.dev/schemas/describe-result.v1.json",
|
|
4
|
-
"title": "Checkmate description result version 1",
|
|
5
|
-
"oneOf": [{ "$ref": "#/$defs/available" }, { "$ref": "#/$defs/unavailable" }],
|
|
6
|
-
"$defs": {
|
|
7
|
-
"diagnostic": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"additionalProperties": false,
|
|
10
|
-
"required": ["code", "path", "message"],
|
|
11
|
-
"properties": {
|
|
12
|
-
"code": { "type": "string", "minLength": 1 },
|
|
13
|
-
"path": { "type": "string", "pattern": "^(?:/(?:[^~/]|~[01])*)*$" },
|
|
14
|
-
"message": { "type": "string", "minLength": 1 }
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"effectiveLimits": {
|
|
18
|
-
"type": "object",
|
|
19
|
-
"additionalProperties": false,
|
|
20
|
-
"required": [
|
|
21
|
-
"scenarioTimeoutMs",
|
|
22
|
-
"stepTimeoutMs",
|
|
23
|
-
"turnsPerStep",
|
|
24
|
-
"requestTimeoutMs",
|
|
25
|
-
"maxRetries",
|
|
26
|
-
"loopMaxRepetitions",
|
|
27
|
-
"cleanupTimeoutMs"
|
|
28
|
-
],
|
|
29
|
-
"properties": {
|
|
30
|
-
"scenarioTimeoutMs": { "type": "integer", "minimum": 1 },
|
|
31
|
-
"stepTimeoutMs": { "type": "integer", "minimum": 1 },
|
|
32
|
-
"turnsPerStep": { "type": "integer", "minimum": 1 },
|
|
33
|
-
"requestTimeoutMs": { "type": "integer", "minimum": 1 },
|
|
34
|
-
"maxRetries": { "type": "integer", "minimum": 0 },
|
|
35
|
-
"loopMaxRepetitions": { "type": "integer", "minimum": 1 },
|
|
36
|
-
"cleanupTimeoutMs": { "type": "integer", "minimum": 1 },
|
|
37
|
-
"budgetTokens": { "type": "integer", "minimum": 1 }
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"contractReference": {
|
|
41
|
-
"enum": [
|
|
42
|
-
{
|
|
43
|
-
"id": "checkmate-config",
|
|
44
|
-
"schemaVersion": 1,
|
|
45
|
-
"schemaPath": "./schemas/checkmate-config.v1.json"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"id": "run-request",
|
|
49
|
-
"schemaVersion": 1,
|
|
50
|
-
"schemaPath": "./schemas/run-request.v1.json"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"id": "run-result",
|
|
54
|
-
"schemaVersion": 1,
|
|
55
|
-
"schemaPath": "./schemas/run-result.v1.json"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"id": "validation-result",
|
|
59
|
-
"schemaVersion": 1,
|
|
60
|
-
"schemaPath": "./schemas/validation-result.v1.json"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"id": "describe-result",
|
|
64
|
-
"schemaVersion": 1,
|
|
65
|
-
"schemaPath": "./schemas/describe-result.v1.json"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"id": "driver-descriptor",
|
|
69
|
-
"schemaVersion": 1,
|
|
70
|
-
"schemaPath": "./schemas/driver-descriptor.v1.json"
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"describedPolicy": {
|
|
75
|
-
"type": "object",
|
|
76
|
-
"additionalProperties": false,
|
|
77
|
-
"required": ["id", "limits", "evidence", "drivers", "requiredSecretBindings"],
|
|
78
|
-
"properties": {
|
|
79
|
-
"id": { "type": "string", "minLength": 1 },
|
|
80
|
-
"limits": { "$ref": "#/$defs/effectiveLimits" },
|
|
81
|
-
"evidence": {
|
|
82
|
-
"type": "object",
|
|
83
|
-
"additionalProperties": false,
|
|
84
|
-
"required": ["retention", "redaction", "allowOpaque"],
|
|
85
|
-
"properties": {
|
|
86
|
-
"retention": { "enum": ["on", "retain-on-failure", "off"] },
|
|
87
|
-
"redaction": { "enum": ["on", "off"] },
|
|
88
|
-
"allowOpaque": { "type": "boolean" }
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"drivers": {
|
|
92
|
-
"type": "array",
|
|
93
|
-
"items": {
|
|
94
|
-
"type": "object",
|
|
95
|
-
"additionalProperties": false,
|
|
96
|
-
"required": ["id", "allowedTools"],
|
|
97
|
-
"properties": {
|
|
98
|
-
"id": { "type": "string", "minLength": 1 },
|
|
99
|
-
"allowedTools": {
|
|
100
|
-
"oneOf": [
|
|
101
|
-
{ "const": "*" },
|
|
102
|
-
{
|
|
103
|
-
"type": "array",
|
|
104
|
-
"uniqueItems": true,
|
|
105
|
-
"items": { "type": "string", "minLength": 1 }
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"requiredSecretBindings": {
|
|
113
|
-
"type": "array",
|
|
114
|
-
"uniqueItems": true,
|
|
115
|
-
"items": { "type": "string", "minLength": 1 }
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"describedDriver": {
|
|
120
|
-
"type": "object",
|
|
121
|
-
"additionalProperties": false,
|
|
122
|
-
"required": [
|
|
123
|
-
"id",
|
|
124
|
-
"contractVersion",
|
|
125
|
-
"targetSchema",
|
|
126
|
-
"settingsSchema",
|
|
127
|
-
"requiredSecretSlots",
|
|
128
|
-
"tools",
|
|
129
|
-
"evidenceKinds"
|
|
130
|
-
],
|
|
131
|
-
"properties": {
|
|
132
|
-
"id": { "type": "string", "minLength": 1 },
|
|
133
|
-
"contractVersion": { "const": 1 },
|
|
134
|
-
"targetSchema": { "type": "object" },
|
|
135
|
-
"settingsSchema": { "type": "object" },
|
|
136
|
-
"requiredSecretSlots": {
|
|
137
|
-
"type": "array",
|
|
138
|
-
"uniqueItems": true,
|
|
139
|
-
"items": { "type": "string", "minLength": 1 }
|
|
140
|
-
},
|
|
141
|
-
"tools": {
|
|
142
|
-
"type": "array",
|
|
143
|
-
"items": {
|
|
144
|
-
"type": "object",
|
|
145
|
-
"additionalProperties": false,
|
|
146
|
-
"required": ["name"],
|
|
147
|
-
"properties": { "name": { "type": "string", "minLength": 1 } }
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"evidenceKinds": {
|
|
151
|
-
"type": "array",
|
|
152
|
-
"items": {
|
|
153
|
-
"type": "object",
|
|
154
|
-
"additionalProperties": false,
|
|
155
|
-
"required": ["kind", "mediaType", "content"],
|
|
156
|
-
"properties": {
|
|
157
|
-
"kind": { "type": "string", "minLength": 1 },
|
|
158
|
-
"mediaType": { "type": "string", "minLength": 1 },
|
|
159
|
-
"content": { "enum": ["text", "opaque"] }
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"routeRule": {
|
|
166
|
-
"enum": [
|
|
167
|
-
{
|
|
168
|
-
"reason": "scenario-complete",
|
|
169
|
-
"category": "passed",
|
|
170
|
-
"exitCode": 0,
|
|
171
|
-
"retry": "never",
|
|
172
|
-
"mutation": "read-result-target-mutation",
|
|
173
|
-
"nextAction": "continue"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"reason": "failed-expectation",
|
|
177
|
-
"category": "app",
|
|
178
|
-
"exitCode": 1,
|
|
179
|
-
"retry": "repair-then-new-run",
|
|
180
|
-
"mutation": "read-result-target-mutation",
|
|
181
|
-
"nextAction": "inspect-evidence-and-verify-sut-or-expectation"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"reason": "loop-detected",
|
|
185
|
-
"category": "model",
|
|
186
|
-
"exitCode": 2,
|
|
187
|
-
"retry": "repair-then-new-run",
|
|
188
|
-
"mutation": "read-result-target-mutation",
|
|
189
|
-
"nextAction": "repair-model-policy-or-egress"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"reason": "turn-cap-exceeded",
|
|
193
|
-
"category": "model",
|
|
194
|
-
"exitCode": 2,
|
|
195
|
-
"retry": "repair-then-new-run",
|
|
196
|
-
"mutation": "read-result-target-mutation",
|
|
197
|
-
"nextAction": "repair-model-policy-or-egress"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"reason": "step-timeout",
|
|
201
|
-
"category": "model",
|
|
202
|
-
"exitCode": 2,
|
|
203
|
-
"retry": "repair-then-new-run",
|
|
204
|
-
"mutation": "read-result-target-mutation",
|
|
205
|
-
"nextAction": "repair-model-policy-or-egress"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"reason": "scenario-timeout",
|
|
209
|
-
"category": "infra",
|
|
210
|
-
"exitCode": 3,
|
|
211
|
-
"retry": "repair-then-new-run",
|
|
212
|
-
"mutation": "read-result-target-mutation",
|
|
213
|
-
"nextAction": "repair-environment-and-inspect-target"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"reason": "tool-error",
|
|
217
|
-
"category": "infra",
|
|
218
|
-
"exitCode": 3,
|
|
219
|
-
"retry": "repair-then-new-run",
|
|
220
|
-
"mutation": "read-result-target-mutation",
|
|
221
|
-
"nextAction": "repair-environment-and-inspect-target"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"reason": "provider-error",
|
|
225
|
-
"category": "infra",
|
|
226
|
-
"exitCode": 3,
|
|
227
|
-
"retry": "repair-then-new-run",
|
|
228
|
-
"mutation": "read-result-target-mutation",
|
|
229
|
-
"nextAction": "repair-environment-and-inspect-target"
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"reason": "token-budget-exceeded",
|
|
233
|
-
"category": "infra",
|
|
234
|
-
"exitCode": 3,
|
|
235
|
-
"retry": "repair-then-new-run",
|
|
236
|
-
"mutation": "read-result-target-mutation",
|
|
237
|
-
"nextAction": "repair-environment-and-inspect-target"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"reason": "interrupted",
|
|
241
|
-
"category": "infra",
|
|
242
|
-
"exitCode": 3,
|
|
243
|
-
"retry": "repair-then-new-run",
|
|
244
|
-
"mutation": "read-result-target-mutation",
|
|
245
|
-
"nextAction": "repair-environment-and-inspect-target"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"reason": "driver-load-failed",
|
|
249
|
-
"category": "infra",
|
|
250
|
-
"exitCode": 3,
|
|
251
|
-
"retry": "repair-then-new-run",
|
|
252
|
-
"mutation": "read-result-target-mutation",
|
|
253
|
-
"nextAction": "repair-environment-and-inspect-target"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"reason": "driver-start-failed",
|
|
257
|
-
"category": "infra",
|
|
258
|
-
"exitCode": 3,
|
|
259
|
-
"retry": "repair-then-new-run",
|
|
260
|
-
"mutation": "read-result-target-mutation",
|
|
261
|
-
"nextAction": "repair-environment-and-inspect-target"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"reason": "driver-teardown-failed",
|
|
265
|
-
"category": "infra",
|
|
266
|
-
"exitCode": 3,
|
|
267
|
-
"retry": "repair-then-new-run",
|
|
268
|
-
"mutation": "read-result-target-mutation",
|
|
269
|
-
"nextAction": "repair-environment-and-inspect-target"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"reason": "evidence-write-failed",
|
|
273
|
-
"category": "infra",
|
|
274
|
-
"exitCode": 3,
|
|
275
|
-
"retry": "repair-then-new-run",
|
|
276
|
-
"mutation": "read-result-target-mutation",
|
|
277
|
-
"nextAction": "repair-output-and-inspect-target"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"reason": "result-write-failed",
|
|
281
|
-
"category": "infra",
|
|
282
|
-
"exitCode": 3,
|
|
283
|
-
"retry": "repair-then-new-run",
|
|
284
|
-
"mutation": "read-result-target-mutation",
|
|
285
|
-
"nextAction": "repair-output-and-inspect-target"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"reason": "internal-error",
|
|
289
|
-
"category": "infra",
|
|
290
|
-
"exitCode": 3,
|
|
291
|
-
"retry": "repair-then-new-run",
|
|
292
|
-
"mutation": "read-result-target-mutation",
|
|
293
|
-
"nextAction": "repair-environment-and-inspect-target"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"reason": "invalid-invocation",
|
|
297
|
-
"category": "invalid",
|
|
298
|
-
"exitCode": 4,
|
|
299
|
-
"retry": "repair-then-new-run",
|
|
300
|
-
"mutation": "not-attempted",
|
|
301
|
-
"nextAction": "repair-request-or-configuration"
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
"reason": "pre-execution-error",
|
|
305
|
-
"category": "infra",
|
|
306
|
-
"exitCode": 3,
|
|
307
|
-
"retry": "repair-then-new-run",
|
|
308
|
-
"mutation": "not-attempted",
|
|
309
|
-
"nextAction": "repair-environment-and-start-new-run"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"reason": "parent-containment",
|
|
313
|
-
"category": "infra",
|
|
314
|
-
"exitCode": 3,
|
|
315
|
-
"retry": "repair-then-new-run",
|
|
316
|
-
"mutation": "read-result-target-mutation",
|
|
317
|
-
"nextAction": "repair-environment-and-inspect-target"
|
|
318
|
-
}
|
|
319
|
-
]
|
|
320
|
-
},
|
|
321
|
-
"onboarding": {
|
|
322
|
-
"type": "object",
|
|
323
|
-
"additionalProperties": false,
|
|
324
|
-
"required": ["workflow", "commands", "routing", "evidence"],
|
|
325
|
-
"properties": {
|
|
326
|
-
"workflow": {
|
|
327
|
-
"type": "array",
|
|
328
|
-
"minItems": 5,
|
|
329
|
-
"maxItems": 5,
|
|
330
|
-
"prefixItems": [
|
|
331
|
-
{ "const": "describe" },
|
|
332
|
-
{ "const": "author-request" },
|
|
333
|
-
{ "const": "validate" },
|
|
334
|
-
{ "const": "run" },
|
|
335
|
-
{ "const": "route-result" }
|
|
336
|
-
],
|
|
337
|
-
"items": false
|
|
338
|
-
},
|
|
339
|
-
"commands": {
|
|
340
|
-
"type": "object",
|
|
341
|
-
"additionalProperties": false,
|
|
342
|
-
"required": ["validate", "runFile", "runStdin"],
|
|
343
|
-
"properties": {
|
|
344
|
-
"validate": { "const": "checkmate validate <request.json>" },
|
|
345
|
-
"runFile": { "const": "checkmate run <request.json>" },
|
|
346
|
-
"runStdin": { "const": "checkmate run -" }
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
"routing": {
|
|
350
|
-
"type": "array",
|
|
351
|
-
"minItems": 19,
|
|
352
|
-
"maxItems": 19,
|
|
353
|
-
"uniqueItems": true,
|
|
354
|
-
"items": { "$ref": "#/$defs/routeRule" }
|
|
355
|
-
},
|
|
356
|
-
"evidence": {
|
|
357
|
-
"type": "object",
|
|
358
|
-
"additionalProperties": false,
|
|
359
|
-
"required": ["pathBase", "followReferencesOnly", "retentionIsPolicyDependent", "inspectCompletenessState"],
|
|
360
|
-
"properties": {
|
|
361
|
-
"pathBase": { "const": "invocation-root" },
|
|
362
|
-
"followReferencesOnly": { "const": true },
|
|
363
|
-
"retentionIsPolicyDependent": { "const": true },
|
|
364
|
-
"inspectCompletenessState": { "const": true }
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
},
|
|
369
|
-
"available": {
|
|
370
|
-
"type": "object",
|
|
371
|
-
"additionalProperties": false,
|
|
372
|
-
"required": ["kind", "schemaVersion", "status", "contracts", "environment", "onboarding", "diagnostics"],
|
|
373
|
-
"properties": {
|
|
374
|
-
"kind": { "const": "describe-result" },
|
|
375
|
-
"schemaVersion": { "const": 1 },
|
|
376
|
-
"status": { "const": "available" },
|
|
377
|
-
"contracts": {
|
|
378
|
-
"type": "array",
|
|
379
|
-
"minItems": 6,
|
|
380
|
-
"maxItems": 6,
|
|
381
|
-
"uniqueItems": true,
|
|
382
|
-
"items": { "$ref": "#/$defs/contractReference" }
|
|
383
|
-
},
|
|
384
|
-
"environment": {
|
|
385
|
-
"type": "object",
|
|
386
|
-
"additionalProperties": false,
|
|
387
|
-
"required": ["defaultPolicy", "policies", "drivers"],
|
|
388
|
-
"properties": {
|
|
389
|
-
"defaultPolicy": { "type": "string", "minLength": 1 },
|
|
390
|
-
"policies": { "type": "array", "items": { "$ref": "#/$defs/describedPolicy" } },
|
|
391
|
-
"drivers": { "type": "array", "items": { "$ref": "#/$defs/describedDriver" } }
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
"onboarding": { "$ref": "#/$defs/onboarding" },
|
|
395
|
-
"diagnostics": { "type": "array", "maxItems": 0 }
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
"unavailable": {
|
|
399
|
-
"type": "object",
|
|
400
|
-
"additionalProperties": false,
|
|
401
|
-
"required": ["kind", "schemaVersion", "status", "diagnostics"],
|
|
402
|
-
"properties": {
|
|
403
|
-
"kind": { "const": "describe-result" },
|
|
404
|
-
"schemaVersion": { "const": 1 },
|
|
405
|
-
"status": { "enum": ["invalid", "error"] },
|
|
406
|
-
"diagnostics": {
|
|
407
|
-
"type": "array",
|
|
408
|
-
"minItems": 1,
|
|
409
|
-
"items": { "$ref": "#/$defs/diagnostic" }
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://checkmate.dev/schemas/driver-descriptor.v1.json",
|
|
4
|
-
"title": "Checkmate driver descriptor version 1",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": [
|
|
8
|
-
"schemaVersion",
|
|
9
|
-
"id",
|
|
10
|
-
"driverContractVersion",
|
|
11
|
-
"targetSchema",
|
|
12
|
-
"settingsSchema",
|
|
13
|
-
"requiredSecretSlots",
|
|
14
|
-
"tools",
|
|
15
|
-
"evidenceKinds"
|
|
16
|
-
],
|
|
17
|
-
"properties": {
|
|
18
|
-
"schemaVersion": { "const": 1 },
|
|
19
|
-
"id": { "$ref": "#/$defs/id" },
|
|
20
|
-
"driverContractVersion": { "const": 1 },
|
|
21
|
-
"targetSchema": { "type": "object" },
|
|
22
|
-
"settingsSchema": { "type": "object" },
|
|
23
|
-
"requiredSecretSlots": {
|
|
24
|
-
"type": "array",
|
|
25
|
-
"uniqueItems": true,
|
|
26
|
-
"items": { "$ref": "#/$defs/id" }
|
|
27
|
-
},
|
|
28
|
-
"tools": {
|
|
29
|
-
"type": "array",
|
|
30
|
-
"uniqueItems": true,
|
|
31
|
-
"items": {
|
|
32
|
-
"type": "object",
|
|
33
|
-
"additionalProperties": false,
|
|
34
|
-
"required": ["name"],
|
|
35
|
-
"properties": { "name": { "$ref": "#/$defs/id" } }
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"evidenceKinds": {
|
|
39
|
-
"type": "array",
|
|
40
|
-
"uniqueItems": true,
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "object",
|
|
43
|
-
"additionalProperties": false,
|
|
44
|
-
"required": ["kind", "mediaType", "content"],
|
|
45
|
-
"properties": {
|
|
46
|
-
"kind": { "$ref": "#/$defs/id" },
|
|
47
|
-
"mediaType": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"minLength": 1,
|
|
50
|
-
"maxLength": 256,
|
|
51
|
-
"pattern": "^(?!.*[\\u0000-\\u001f]).*$"
|
|
52
|
-
},
|
|
53
|
-
"content": { "enum": ["text", "opaque"] }
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"$defs": {
|
|
59
|
-
"id": {
|
|
60
|
-
"type": "string",
|
|
61
|
-
"minLength": 1,
|
|
62
|
-
"maxLength": 128,
|
|
63
|
-
"pattern": "^(?!.*[\\u0000-\\u001f]).*$"
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://checkmate.dev/schemas/run-request.v1.json",
|
|
4
|
-
"title": "Checkmate run request version 1",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": ["schemaVersion", "scenario"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"schemaVersion": { "const": 1 },
|
|
10
|
-
"scenario": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"additionalProperties": false,
|
|
13
|
-
"required": ["id", "driver", "steps"],
|
|
14
|
-
"properties": {
|
|
15
|
-
"id": { "$ref": "#/$defs/id" },
|
|
16
|
-
"name": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"minLength": 1,
|
|
19
|
-
"maxLength": 256,
|
|
20
|
-
"pattern": "^(?!.*[\\u0000-\\u001f]).*$"
|
|
21
|
-
},
|
|
22
|
-
"driver": {
|
|
23
|
-
"type": "object",
|
|
24
|
-
"additionalProperties": false,
|
|
25
|
-
"required": ["id", "target"],
|
|
26
|
-
"properties": {
|
|
27
|
-
"id": { "$ref": "#/$defs/id" },
|
|
28
|
-
"target": { "type": "object" }
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"policy": { "$ref": "#/$defs/id" },
|
|
32
|
-
"limits": {
|
|
33
|
-
"type": "object",
|
|
34
|
-
"additionalProperties": false,
|
|
35
|
-
"minProperties": 1,
|
|
36
|
-
"properties": {
|
|
37
|
-
"timeoutMs": { "type": "integer", "minimum": 1 },
|
|
38
|
-
"budgetTokens": { "type": "integer", "minimum": 1 }
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"steps": {
|
|
42
|
-
"type": "array",
|
|
43
|
-
"minItems": 1,
|
|
44
|
-
"maxItems": 100,
|
|
45
|
-
"items": {
|
|
46
|
-
"type": "object",
|
|
47
|
-
"additionalProperties": false,
|
|
48
|
-
"required": ["id", "action", "expect"],
|
|
49
|
-
"properties": {
|
|
50
|
-
"id": { "$ref": "#/$defs/id" },
|
|
51
|
-
"action": { "type": "string", "minLength": 1, "maxLength": 16384 },
|
|
52
|
-
"expect": { "type": "string", "minLength": 1, "maxLength": 16384 }
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"$defs": {
|
|
60
|
-
"id": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"minLength": 1,
|
|
63
|
-
"maxLength": 128,
|
|
64
|
-
"pattern": "^(?!.*[\\u0000-\\u001f]).*$"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|