@isaacriehm/cairn 0.1.0 → 0.1.4
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/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/backprop/id.d.ts +0 -14
- package/dist/backprop/id.js +0 -40
- package/dist/backprop/id.js.map +0 -1
- package/dist/backprop/index.d.ts +0 -23
- package/dist/backprop/index.js +0 -21
- package/dist/backprop/index.js.map +0 -1
- package/dist/backprop/prompt.d.ts +0 -16
- package/dist/backprop/prompt.js +0 -101
- package/dist/backprop/prompt.js.map +0 -1
- package/dist/backprop/runner.d.ts +0 -18
- package/dist/backprop/runner.js +0 -95
- package/dist/backprop/runner.js.map +0 -1
- package/dist/backprop/schema.d.ts +0 -61
- package/dist/backprop/schema.js +0 -55
- package/dist/backprop/schema.js.map +0 -1
- package/dist/backprop/types.d.ts +0 -101
- package/dist/backprop/types.js +0 -24
- package/dist/backprop/types.js.map +0 -1
- package/dist/backprop/writer.d.ts +0 -27
- package/dist/backprop/writer.js +0 -301
- package/dist/backprop/writer.js.map +0 -1
- package/dist/claude/error.d.ts +0 -33
- package/dist/claude/error.js +0 -58
- package/dist/claude/error.js.map +0 -1
- package/dist/claude/index.d.ts +0 -3
- package/dist/claude/index.js +0 -3
- package/dist/claude/index.js.map +0 -1
- package/dist/claude/runner.d.ts +0 -11
- package/dist/claude/runner.js +0 -132
- package/dist/claude/runner.js.map +0 -1
- package/dist/claude/types.d.ts +0 -52
- package/dist/claude/types.js +0 -14
- package/dist/claude/types.js.map +0 -1
- package/dist/cli/daemon.d.ts +0 -54
- package/dist/cli/daemon.js +0 -351
- package/dist/cli/daemon.js.map +0 -1
- package/dist/cli/install.d.ts +0 -52
- package/dist/cli/install.js +0 -308
- package/dist/cli/install.js.map +0 -1
- package/dist/cli/mirror.d.ts +0 -1
- package/dist/cli/mirror.js +0 -97
- package/dist/cli/mirror.js.map +0 -1
- package/dist/cli/run.d.ts +0 -1
- package/dist/cli/run.js +0 -174
- package/dist/cli/run.js.map +0 -1
- package/dist/cli/task.d.ts +0 -18
- package/dist/cli/task.js +0 -137
- package/dist/cli/task.js.map +0 -1
- package/dist/cli/watch.d.ts +0 -1
- package/dist/cli/watch.js +0 -73
- package/dist/cli/watch.js.map +0 -1
- package/dist/decision-capture/capture.d.ts +0 -57
- package/dist/decision-capture/capture.js +0 -186
- package/dist/decision-capture/capture.js.map +0 -1
- package/dist/decision-capture/extractor.d.ts +0 -20
- package/dist/decision-capture/extractor.js +0 -103
- package/dist/decision-capture/extractor.js.map +0 -1
- package/dist/decision-capture/id.d.ts +0 -14
- package/dist/decision-capture/id.js +0 -44
- package/dist/decision-capture/id.js.map +0 -1
- package/dist/decision-capture/index.d.ts +0 -25
- package/dist/decision-capture/index.js +0 -21
- package/dist/decision-capture/index.js.map +0 -1
- package/dist/decision-capture/prompt.d.ts +0 -15
- package/dist/decision-capture/prompt.js +0 -68
- package/dist/decision-capture/prompt.js.map +0 -1
- package/dist/decision-capture/refinement-prompt.d.ts +0 -25
- package/dist/decision-capture/refinement-prompt.js +0 -146
- package/dist/decision-capture/refinement-prompt.js.map +0 -1
- package/dist/decision-capture/refinement-schema.d.ts +0 -52
- package/dist/decision-capture/refinement-schema.js +0 -61
- package/dist/decision-capture/refinement-schema.js.map +0 -1
- package/dist/decision-capture/refinement.d.ts +0 -60
- package/dist/decision-capture/refinement.js +0 -439
- package/dist/decision-capture/refinement.js.map +0 -1
- package/dist/decision-capture/schema.d.ts +0 -70
- package/dist/decision-capture/schema.js +0 -71
- package/dist/decision-capture/schema.js.map +0 -1
- package/dist/decision-capture/types.d.ts +0 -201
- package/dist/decision-capture/types.js +0 -20
- package/dist/decision-capture/types.js.map +0 -1
- package/dist/decision-capture/writer.d.ts +0 -90
- package/dist/decision-capture/writer.js +0 -267
- package/dist/decision-capture/writer.js.map +0 -1
- package/dist/frontend/discord/acl.d.ts +0 -6
- package/dist/frontend/discord/acl.js +0 -19
- package/dist/frontend/discord/acl.js.map +0 -1
- package/dist/frontend/discord/channels.d.ts +0 -29
- package/dist/frontend/discord/channels.js +0 -58
- package/dist/frontend/discord/channels.js.map +0 -1
- package/dist/frontend/discord/classifier.d.ts +0 -16
- package/dist/frontend/discord/classifier.js +0 -29
- package/dist/frontend/discord/classifier.js.map +0 -1
- package/dist/frontend/discord/index.d.ts +0 -118
- package/dist/frontend/discord/index.js +0 -1104
- package/dist/frontend/discord/index.js.map +0 -1
- package/dist/frontend/discord/slash.d.ts +0 -18
- package/dist/frontend/discord/slash.js +0 -90
- package/dist/frontend/discord/slash.js.map +0 -1
- package/dist/frontend/inbox.d.ts +0 -17
- package/dist/frontend/inbox.js +0 -30
- package/dist/frontend/inbox.js.map +0 -1
- package/dist/frontend/index.d.ts +0 -8
- package/dist/frontend/index.js +0 -6
- package/dist/frontend/index.js.map +0 -1
- package/dist/frontend/stub/index.d.ts +0 -58
- package/dist/frontend/stub/index.js +0 -144
- package/dist/frontend/stub/index.js.map +0 -1
- package/dist/frontend/types.d.ts +0 -247
- package/dist/frontend/types.js +0 -15
- package/dist/frontend/types.js.map +0 -1
- package/dist/gc/apply.d.ts +0 -26
- package/dist/gc/apply.js +0 -48
- package/dist/gc/apply.js.map +0 -1
- package/dist/gc/canary.d.ts +0 -42
- package/dist/gc/canary.js +0 -134
- package/dist/gc/canary.js.map +0 -1
- package/dist/gc/classify.d.ts +0 -25
- package/dist/gc/classify.js +0 -89
- package/dist/gc/classify.js.map +0 -1
- package/dist/gc/doc-gardening.d.ts +0 -29
- package/dist/gc/doc-gardening.js +0 -146
- package/dist/gc/doc-gardening.js.map +0 -1
- package/dist/gc/frontmatter.d.ts +0 -35
- package/dist/gc/frontmatter.js +0 -111
- package/dist/gc/frontmatter.js.map +0 -1
- package/dist/gc/generator-drift.d.ts +0 -28
- package/dist/gc/generator-drift.js +0 -53
- package/dist/gc/generator-drift.js.map +0 -1
- package/dist/gc/index.d.ts +0 -35
- package/dist/gc/index.js +0 -26
- package/dist/gc/index.js.map +0 -1
- package/dist/gc/quality-update.d.ts +0 -23
- package/dist/gc/quality-update.js +0 -69
- package/dist/gc/quality-update.js.map +0 -1
- package/dist/gc/stub-hits.d.ts +0 -31
- package/dist/gc/stub-hits.js +0 -125
- package/dist/gc/stub-hits.js.map +0 -1
- package/dist/gc/sweep.d.ts +0 -56
- package/dist/gc/sweep.js +0 -178
- package/dist/gc/sweep.js.map +0 -1
- package/dist/gc/types.d.ts +0 -129
- package/dist/gc/types.js +0 -26
- package/dist/gc/types.js.map +0 -1
- package/dist/ground/drift.d.ts +0 -8
- package/dist/ground/drift.js +0 -23
- package/dist/ground/drift.js.map +0 -1
- package/dist/ground/frontmatter.d.ts +0 -20
- package/dist/ground/frontmatter.js +0 -49
- package/dist/ground/frontmatter.js.map +0 -1
- package/dist/ground/glob.d.ts +0 -10
- package/dist/ground/glob.js +0 -46
- package/dist/ground/glob.js.map +0 -1
- package/dist/ground/index.d.ts +0 -14
- package/dist/ground/index.js +0 -10
- package/dist/ground/index.js.map +0 -1
- package/dist/ground/ledgers.d.ts +0 -18
- package/dist/ground/ledgers.js +0 -103
- package/dist/ground/ledgers.js.map +0 -1
- package/dist/ground/manifest.d.ts +0 -10
- package/dist/ground/manifest.js +0 -88
- package/dist/ground/manifest.js.map +0 -1
- package/dist/ground/paths.d.ts +0 -20
- package/dist/ground/paths.js +0 -61
- package/dist/ground/paths.js.map +0 -1
- package/dist/ground/quality-grades.d.ts +0 -11
- package/dist/ground/quality-grades.js +0 -98
- package/dist/ground/quality-grades.js.map +0 -1
- package/dist/ground/schemas.d.ts +0 -306
- package/dist/ground/schemas.js +0 -188
- package/dist/ground/schemas.js.map +0 -1
- package/dist/ground/walk.d.ts +0 -7
- package/dist/ground/walk.js +0 -53
- package/dist/ground/walk.js.map +0 -1
- package/dist/init/detect.d.ts +0 -25
- package/dist/init/detect.js +0 -336
- package/dist/init/detect.js.map +0 -1
- package/dist/init/index.d.ts +0 -14
- package/dist/init/index.js +0 -9
- package/dist/init/index.js.map +0 -1
- package/dist/init/init.d.ts +0 -68
- package/dist/init/init.js +0 -673
- package/dist/init/init.js.map +0 -1
- package/dist/init/mapper.d.ts +0 -160
- package/dist/init/mapper.js +0 -248
- package/dist/init/mapper.js.map +0 -1
- package/dist/init/prompts.d.ts +0 -70
- package/dist/init/prompts.js +0 -80
- package/dist/init/prompts.js.map +0 -1
- package/dist/init/secrets.d.ts +0 -18
- package/dist/init/secrets.js +0 -76
- package/dist/init/secrets.js.map +0 -1
- package/dist/init/seed.d.ts +0 -21
- package/dist/init/seed.js +0 -75
- package/dist/init/seed.js.map +0 -1
- package/dist/init/setup-runners.d.ts +0 -17
- package/dist/init/setup-runners.js +0 -70
- package/dist/init/setup-runners.js.map +0 -1
- package/dist/init/types.d.ts +0 -59
- package/dist/init/types.js +0 -10
- package/dist/init/types.js.map +0 -1
- package/dist/init/walker.d.ts +0 -53
- package/dist/init/walker.js +0 -460
- package/dist/init/walker.js.map +0 -1
- package/dist/init/workflow-block.d.ts +0 -34
- package/dist/init/workflow-block.js +0 -110
- package/dist/init/workflow-block.js.map +0 -1
- package/dist/logger.d.ts +0 -3
- package/dist/logger.js +0 -23
- package/dist/logger.js.map +0 -1
- package/dist/mcp/context.d.ts +0 -16
- package/dist/mcp/context.js +0 -8
- package/dist/mcp/context.js.map +0 -1
- package/dist/mcp/errors.d.ts +0 -17
- package/dist/mcp/errors.js +0 -23
- package/dist/mcp/errors.js.map +0 -1
- package/dist/mcp/index.d.ts +0 -10
- package/dist/mcp/index.js +0 -7
- package/dist/mcp/index.js.map +0 -1
- package/dist/mcp/path-allowlist.d.ts +0 -25
- package/dist/mcp/path-allowlist.js +0 -66
- package/dist/mcp/path-allowlist.js.map +0 -1
- package/dist/mcp/result.d.ts +0 -8
- package/dist/mcp/result.js +0 -18
- package/dist/mcp/result.js.map +0 -1
- package/dist/mcp/schemas.d.ts +0 -153
- package/dist/mcp/schemas.js +0 -135
- package/dist/mcp/schemas.js.map +0 -1
- package/dist/mcp/server.d.ts +0 -11
- package/dist/mcp/server.js +0 -58
- package/dist/mcp/server.js.map +0 -1
- package/dist/mcp/telemetry.d.ts +0 -15
- package/dist/mcp/telemetry.js +0 -13
- package/dist/mcp/telemetry.js.map +0 -1
- package/dist/mcp/tools/append.d.ts +0 -8
- package/dist/mcp/tools/append.js +0 -33
- package/dist/mcp/tools/append.js.map +0 -1
- package/dist/mcp/tools/archive.d.ts +0 -8
- package/dist/mcp/tools/archive.js +0 -49
- package/dist/mcp/tools/archive.js.map +0 -1
- package/dist/mcp/tools/ask-operator.d.ts +0 -34
- package/dist/mcp/tools/ask-operator.js +0 -93
- package/dist/mcp/tools/ask-operator.js.map +0 -1
- package/dist/mcp/tools/canonical-for-topic.d.ts +0 -6
- package/dist/mcp/tools/canonical-for-topic.js +0 -40
- package/dist/mcp/tools/canonical-for-topic.js.map +0 -1
- package/dist/mcp/tools/decision-get.d.ts +0 -6
- package/dist/mcp/tools/decision-get.js +0 -49
- package/dist/mcp/tools/decision-get.js.map +0 -1
- package/dist/mcp/tools/decisions-for-symbol.d.ts +0 -7
- package/dist/mcp/tools/decisions-for-symbol.js +0 -42
- package/dist/mcp/tools/decisions-for-symbol.js.map +0 -1
- package/dist/mcp/tools/decisions-in-scope.d.ts +0 -7
- package/dist/mcp/tools/decisions-in-scope.js +0 -47
- package/dist/mcp/tools/decisions-in-scope.js.map +0 -1
- package/dist/mcp/tools/drop-task.d.ts +0 -12
- package/dist/mcp/tools/drop-task.js +0 -47
- package/dist/mcp/tools/drop-task.js.map +0 -1
- package/dist/mcp/tools/get-full.d.ts +0 -7
- package/dist/mcp/tools/get-full.js +0 -46
- package/dist/mcp/tools/get-full.js.map +0 -1
- package/dist/mcp/tools/ground-get.d.ts +0 -7
- package/dist/mcp/tools/ground-get.js +0 -80
- package/dist/mcp/tools/ground-get.js.map +0 -1
- package/dist/mcp/tools/index.d.ts +0 -3
- package/dist/mcp/tools/index.js +0 -44
- package/dist/mcp/tools/index.js.map +0 -1
- package/dist/mcp/tools/invariant-get.d.ts +0 -6
- package/dist/mcp/tools/invariant-get.js +0 -49
- package/dist/mcp/tools/invariant-get.js.map +0 -1
- package/dist/mcp/tools/invariants-in-scope.d.ts +0 -7
- package/dist/mcp/tools/invariants-in-scope.js +0 -65
- package/dist/mcp/tools/invariants-in-scope.js.map +0 -1
- package/dist/mcp/tools/query-history.d.ts +0 -9
- package/dist/mcp/tools/query-history.js +0 -33
- package/dist/mcp/tools/query-history.js.map +0 -1
- package/dist/mcp/tools/record-decision.d.ts +0 -14
- package/dist/mcp/tools/record-decision.js +0 -101
- package/dist/mcp/tools/record-decision.js.map +0 -1
- package/dist/mcp/tools/record-run-event.d.ts +0 -10
- package/dist/mcp/tools/record-run-event.js +0 -28
- package/dist/mcp/tools/record-run-event.js.map +0 -1
- package/dist/mcp/tools/search.d.ts +0 -9
- package/dist/mcp/tools/search.js +0 -165
- package/dist/mcp/tools/search.js.map +0 -1
- package/dist/mcp/tools/supersedes-chain.d.ts +0 -6
- package/dist/mcp/tools/supersedes-chain.js +0 -66
- package/dist/mcp/tools/supersedes-chain.js.map +0 -1
- package/dist/mcp/tools/timeline.d.ts +0 -9
- package/dist/mcp/tools/timeline.js +0 -65
- package/dist/mcp/tools/timeline.js.map +0 -1
- package/dist/mcp/tools/types.d.ts +0 -9
- package/dist/mcp/tools/types.js +0 -2
- package/dist/mcp/tools/types.js.map +0 -1
- package/dist/mirror/clone.d.ts +0 -6
- package/dist/mirror/clone.js +0 -48
- package/dist/mirror/clone.js.map +0 -1
- package/dist/mirror/dirty-overlap.d.ts +0 -13
- package/dist/mirror/dirty-overlap.js +0 -77
- package/dist/mirror/dirty-overlap.js.map +0 -1
- package/dist/mirror/index.d.ts +0 -7
- package/dist/mirror/index.js +0 -7
- package/dist/mirror/index.js.map +0 -1
- package/dist/mirror/paths.d.ts +0 -18
- package/dist/mirror/paths.js +0 -45
- package/dist/mirror/paths.js.map +0 -1
- package/dist/mirror/push.d.ts +0 -9
- package/dist/mirror/push.js +0 -27
- package/dist/mirror/push.js.map +0 -1
- package/dist/mirror/state.d.ts +0 -4
- package/dist/mirror/state.js +0 -36
- package/dist/mirror/state.js.map +0 -1
- package/dist/mirror/sync.d.ts +0 -9
- package/dist/mirror/sync.js +0 -33
- package/dist/mirror/sync.js.map +0 -1
- package/dist/mirror/types.d.ts +0 -77
- package/dist/mirror/types.js +0 -2
- package/dist/mirror/types.js.map +0 -1
- package/dist/orchestrator/activity-summarizer.d.ts +0 -33
- package/dist/orchestrator/activity-summarizer.js +0 -120
- package/dist/orchestrator/activity-summarizer.js.map +0 -1
- package/dist/orchestrator/inbox.d.ts +0 -78
- package/dist/orchestrator/inbox.js +0 -115
- package/dist/orchestrator/inbox.js.map +0 -1
- package/dist/orchestrator/index.d.ts +0 -9
- package/dist/orchestrator/index.js +0 -7
- package/dist/orchestrator/index.js.map +0 -1
- package/dist/orchestrator/orchestrator.d.ts +0 -154
- package/dist/orchestrator/orchestrator.js +0 -2437
- package/dist/orchestrator/orchestrator.js.map +0 -1
- package/dist/orchestrator/prompt.d.ts +0 -19
- package/dist/orchestrator/prompt.js +0 -50
- package/dist/orchestrator/prompt.js.map +0 -1
- package/dist/orchestrator/queue.d.ts +0 -21
- package/dist/orchestrator/queue.js +0 -80
- package/dist/orchestrator/queue.js.map +0 -1
- package/dist/orchestrator/run-log.d.ts +0 -53
- package/dist/orchestrator/run-log.js +0 -92
- package/dist/orchestrator/run-log.js.map +0 -1
- package/dist/orchestrator/runner.d.ts +0 -56
- package/dist/orchestrator/runner.js +0 -172
- package/dist/orchestrator/runner.js.map +0 -1
- package/dist/orchestrator/tool-digest.d.ts +0 -35
- package/dist/orchestrator/tool-digest.js +0 -116
- package/dist/orchestrator/tool-digest.js.map +0 -1
- package/dist/orchestrator/types.d.ts +0 -263
- package/dist/orchestrator/types.js +0 -2
- package/dist/orchestrator/types.js.map +0 -1
- package/dist/orchestrator/workspace.d.ts +0 -21
- package/dist/orchestrator/workspace.js +0 -31
- package/dist/orchestrator/workspace.js.map +0 -1
- package/dist/profiles/index.d.ts +0 -3
- package/dist/profiles/index.js +0 -3
- package/dist/profiles/index.js.map +0 -1
- package/dist/profiles/registry.d.ts +0 -5
- package/dist/profiles/registry.js +0 -31
- package/dist/profiles/registry.js.map +0 -1
- package/dist/profiles/types.d.ts +0 -48
- package/dist/profiles/types.js +0 -11
- package/dist/profiles/types.js.map +0 -1
- package/dist/profiles/unknown.d.ts +0 -9
- package/dist/profiles/unknown.js +0 -17
- package/dist/profiles/unknown.js.map +0 -1
- package/dist/reviewer/index.d.ts +0 -6
- package/dist/reviewer/index.js +0 -5
- package/dist/reviewer/index.js.map +0 -1
- package/dist/reviewer/prompt.d.ts +0 -11
- package/dist/reviewer/prompt.js +0 -132
- package/dist/reviewer/prompt.js.map +0 -1
- package/dist/reviewer/remediation.d.ts +0 -15
- package/dist/reviewer/remediation.js +0 -61
- package/dist/reviewer/remediation.js.map +0 -1
- package/dist/reviewer/reviewer.d.ts +0 -9
- package/dist/reviewer/reviewer.js +0 -89
- package/dist/reviewer/reviewer.js.map +0 -1
- package/dist/reviewer/schema.d.ts +0 -45
- package/dist/reviewer/schema.js +0 -43
- package/dist/reviewer/schema.js.map +0 -1
- package/dist/reviewer/types.d.ts +0 -74
- package/dist/reviewer/types.js +0 -14
- package/dist/reviewer/types.js.map +0 -1
- package/dist/sensors/attestation.d.ts +0 -44
- package/dist/sensors/attestation.js +0 -262
- package/dist/sensors/attestation.js.map +0 -1
- package/dist/sensors/catalog.d.ts +0 -41
- package/dist/sensors/catalog.js +0 -123
- package/dist/sensors/catalog.js.map +0 -1
- package/dist/sensors/decisions.d.ts +0 -30
- package/dist/sensors/decisions.js +0 -393
- package/dist/sensors/decisions.js.map +0 -1
- package/dist/sensors/diff.d.ts +0 -27
- package/dist/sensors/diff.js +0 -148
- package/dist/sensors/diff.js.map +0 -1
- package/dist/sensors/index.d.ts +0 -13
- package/dist/sensors/index.js +0 -9
- package/dist/sensors/index.js.map +0 -1
- package/dist/sensors/remediation.d.ts +0 -20
- package/dist/sensors/remediation.js +0 -65
- package/dist/sensors/remediation.js.map +0 -1
- package/dist/sensors/runner.d.ts +0 -44
- package/dist/sensors/runner.js +0 -95
- package/dist/sensors/runner.js.map +0 -1
- package/dist/sensors/structural.d.ts +0 -30
- package/dist/sensors/structural.js +0 -204
- package/dist/sensors/structural.js.map +0 -1
- package/dist/sensors/stub-catalog.d.ts +0 -39
- package/dist/sensors/stub-catalog.js +0 -115
- package/dist/sensors/stub-catalog.js.map +0 -1
- package/dist/sensors/types.d.ts +0 -135
- package/dist/sensors/types.js +0 -14
- package/dist/sensors/types.js.map +0 -1
- package/dist/tier0/classify.d.ts +0 -5
- package/dist/tier0/classify.js +0 -91
- package/dist/tier0/classify.js.map +0 -1
- package/dist/tier0/index.d.ts +0 -3
- package/dist/tier0/index.js +0 -3
- package/dist/tier0/index.js.map +0 -1
- package/dist/tier0/ollama.d.ts +0 -22
- package/dist/tier0/ollama.js +0 -63
- package/dist/tier0/ollama.js.map +0 -1
- package/dist/tier0/types.d.ts +0 -24
- package/dist/tier0/types.js +0 -7
- package/dist/tier0/types.js.map +0 -1
- package/dist/tightener/index.d.ts +0 -4
- package/dist/tightener/index.js +0 -4
- package/dist/tightener/index.js.map +0 -1
- package/dist/tightener/prompt.d.ts +0 -3
- package/dist/tightener/prompt.js +0 -67
- package/dist/tightener/prompt.js.map +0 -1
- package/dist/tightener/schema.d.ts +0 -68
- package/dist/tightener/schema.js +0 -44
- package/dist/tightener/schema.js.map +0 -1
- package/dist/tightener/tighten.d.ts +0 -2
- package/dist/tightener/tighten.js +0 -66
- package/dist/tightener/tighten.js.map +0 -1
- package/dist/tightener/types.d.ts +0 -74
- package/dist/tightener/types.js +0 -6
- package/dist/tightener/types.js.map +0 -1
- package/dist/uat/bundle.d.ts +0 -68
- package/dist/uat/bundle.js +0 -168
- package/dist/uat/bundle.js.map +0 -1
- package/dist/uat/index.d.ts +0 -15
- package/dist/uat/index.js +0 -10
- package/dist/uat/index.js.map +0 -1
- package/dist/uat/persistent.d.ts +0 -64
- package/dist/uat/persistent.js +0 -206
- package/dist/uat/persistent.js.map +0 -1
- package/dist/uat/probes/cli.d.ts +0 -11
- package/dist/uat/probes/cli.js +0 -107
- package/dist/uat/probes/cli.js.map +0 -1
- package/dist/uat/probes/http.d.ts +0 -12
- package/dist/uat/probes/http.js +0 -139
- package/dist/uat/probes/http.js.map +0 -1
- package/dist/uat/probes/index.d.ts +0 -21
- package/dist/uat/probes/index.js +0 -30
- package/dist/uat/probes/index.js.map +0 -1
- package/dist/uat/probes/integration.d.ts +0 -18
- package/dist/uat/probes/integration.js +0 -188
- package/dist/uat/probes/integration.js.map +0 -1
- package/dist/uat/probes/sql/config.d.ts +0 -14
- package/dist/uat/probes/sql/config.js +0 -57
- package/dist/uat/probes/sql/config.js.map +0 -1
- package/dist/uat/probes/sql/index.d.ts +0 -29
- package/dist/uat/probes/sql/index.js +0 -43
- package/dist/uat/probes/sql/index.js.map +0 -1
- package/dist/uat/probes/sql/mysql.d.ts +0 -12
- package/dist/uat/probes/sql/mysql.js +0 -96
- package/dist/uat/probes/sql/mysql.js.map +0 -1
- package/dist/uat/probes/sql/pg.d.ts +0 -20
- package/dist/uat/probes/sql/pg.js +0 -102
- package/dist/uat/probes/sql/pg.js.map +0 -1
- package/dist/uat/probes/sql/sqlite.d.ts +0 -9
- package/dist/uat/probes/sql/sqlite.js +0 -58
- package/dist/uat/probes/sql/sqlite.js.map +0 -1
- package/dist/uat/probes/sql/types.d.ts +0 -46
- package/dist/uat/probes/sql/types.js +0 -10
- package/dist/uat/probes/sql/types.js.map +0 -1
- package/dist/uat/probes/sql.d.ts +0 -9
- package/dist/uat/probes/sql.js +0 -119
- package/dist/uat/probes/sql.js.map +0 -1
- package/dist/uat/probes/ui.d.ts +0 -19
- package/dist/uat/probes/ui.js +0 -244
- package/dist/uat/probes/ui.js.map +0 -1
- package/dist/uat/prompt.d.ts +0 -10
- package/dist/uat/prompt.js +0 -85
- package/dist/uat/prompt.js.map +0 -1
- package/dist/uat/question.d.ts +0 -50
- package/dist/uat/question.js +0 -139
- package/dist/uat/question.js.map +0 -1
- package/dist/uat/rejection.d.ts +0 -58
- package/dist/uat/rejection.js +0 -163
- package/dist/uat/rejection.js.map +0 -1
- package/dist/uat/runner.d.ts +0 -6
- package/dist/uat/runner.js +0 -96
- package/dist/uat/runner.js.map +0 -1
- package/dist/uat/schema.d.ts +0 -322
- package/dist/uat/schema.js +0 -189
- package/dist/uat/schema.js.map +0 -1
- package/dist/uat/types.d.ts +0 -268
- package/dist/uat/types.js +0 -18
- package/dist/uat/types.js.map +0 -1
- package/dist/uat/uat.d.ts +0 -89
- package/dist/uat/uat.js +0 -256
- package/dist/uat/uat.js.map +0 -1
- package/dist/voice/index.d.ts +0 -4
- package/dist/voice/index.js +0 -4
- package/dist/voice/index.js.map +0 -1
- package/dist/voice/model.d.ts +0 -23
- package/dist/voice/model.js +0 -46
- package/dist/voice/model.js.map +0 -1
- package/dist/voice/pipe.d.ts +0 -9
- package/dist/voice/pipe.js +0 -47
- package/dist/voice/pipe.js.map +0 -1
- package/dist/voice/transcribe.d.ts +0 -3
- package/dist/voice/transcribe.js +0 -43
- package/dist/voice/transcribe.js.map +0 -1
- package/dist/voice/types.d.ts +0 -26
- package/dist/voice/types.js +0 -9
- package/dist/voice/types.js.map +0 -1
- package/dist/watch/daemon.d.ts +0 -21
- package/dist/watch/daemon.js +0 -143
- package/dist/watch/daemon.js.map +0 -1
- package/dist/watch/index.d.ts +0 -4
- package/dist/watch/index.js +0 -3
- package/dist/watch/index.js.map +0 -1
- package/dist/watch/regenerate.d.ts +0 -25
- package/dist/watch/regenerate.js +0 -51
- package/dist/watch/regenerate.js.map +0 -1
package/dist/uat/schema.d.ts
DELETED
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* JSON Schema enforced by `claude --json-schema` for the UAT-runner output.
|
|
3
|
-
* Mirrors `UatRunnerOutput` exactly. Keep in sync with types.ts.
|
|
4
|
-
*/
|
|
5
|
-
export declare const UAT_RUNNER_OUTPUT_SCHEMA: {
|
|
6
|
-
readonly type: "object";
|
|
7
|
-
readonly additionalProperties: false;
|
|
8
|
-
readonly properties: {
|
|
9
|
-
readonly acceptance_checks: {
|
|
10
|
-
readonly type: "array";
|
|
11
|
-
readonly items: {
|
|
12
|
-
readonly type: "object";
|
|
13
|
-
readonly additionalProperties: false;
|
|
14
|
-
readonly properties: {
|
|
15
|
-
readonly id: {
|
|
16
|
-
readonly type: "string";
|
|
17
|
-
};
|
|
18
|
-
readonly text: {
|
|
19
|
-
readonly type: "string";
|
|
20
|
-
};
|
|
21
|
-
readonly probe: {
|
|
22
|
-
readonly oneOf: readonly [{
|
|
23
|
-
readonly type: "object";
|
|
24
|
-
readonly additionalProperties: false;
|
|
25
|
-
readonly properties: {
|
|
26
|
-
readonly kind: {
|
|
27
|
-
readonly const: "http";
|
|
28
|
-
};
|
|
29
|
-
readonly id: {
|
|
30
|
-
readonly type: "string";
|
|
31
|
-
};
|
|
32
|
-
readonly description: {
|
|
33
|
-
readonly type: "string";
|
|
34
|
-
};
|
|
35
|
-
readonly request: {
|
|
36
|
-
readonly type: "object";
|
|
37
|
-
readonly additionalProperties: false;
|
|
38
|
-
readonly properties: {
|
|
39
|
-
readonly method: {
|
|
40
|
-
readonly enum: readonly ["GET", "POST", "PUT", "PATCH", "DELETE"];
|
|
41
|
-
};
|
|
42
|
-
readonly url: {
|
|
43
|
-
readonly type: "string";
|
|
44
|
-
};
|
|
45
|
-
readonly headers: {
|
|
46
|
-
readonly type: "object";
|
|
47
|
-
readonly additionalProperties: {
|
|
48
|
-
readonly type: "string";
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
readonly body: {
|
|
52
|
-
readonly type: "string";
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
readonly required: readonly ["method", "url"];
|
|
56
|
-
};
|
|
57
|
-
readonly expect: {
|
|
58
|
-
readonly type: "object";
|
|
59
|
-
readonly additionalProperties: false;
|
|
60
|
-
readonly properties: {
|
|
61
|
-
readonly status: {
|
|
62
|
-
readonly type: "integer";
|
|
63
|
-
};
|
|
64
|
-
readonly status_in: {
|
|
65
|
-
readonly type: "array";
|
|
66
|
-
readonly items: {
|
|
67
|
-
readonly type: "integer";
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
readonly body_contains: {
|
|
71
|
-
readonly type: "array";
|
|
72
|
-
readonly items: {
|
|
73
|
-
readonly type: "string";
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
readonly body_matches_regex: {
|
|
77
|
-
readonly type: "string";
|
|
78
|
-
};
|
|
79
|
-
readonly json_path_equals: {
|
|
80
|
-
readonly type: "array";
|
|
81
|
-
readonly items: {
|
|
82
|
-
readonly type: "object";
|
|
83
|
-
readonly additionalProperties: false;
|
|
84
|
-
readonly properties: {
|
|
85
|
-
readonly path: {
|
|
86
|
-
readonly type: "string";
|
|
87
|
-
};
|
|
88
|
-
readonly value: {};
|
|
89
|
-
};
|
|
90
|
-
readonly required: readonly ["path", "value"];
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
readonly header_present: {
|
|
94
|
-
readonly type: "array";
|
|
95
|
-
readonly items: {
|
|
96
|
-
readonly type: "string";
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
readonly timeout_ms: {
|
|
102
|
-
readonly type: "integer";
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
readonly required: readonly ["kind", "id", "description", "request", "expect"];
|
|
106
|
-
}, {
|
|
107
|
-
readonly type: "object";
|
|
108
|
-
readonly additionalProperties: false;
|
|
109
|
-
readonly properties: {
|
|
110
|
-
readonly kind: {
|
|
111
|
-
readonly const: "cli";
|
|
112
|
-
};
|
|
113
|
-
readonly id: {
|
|
114
|
-
readonly type: "string";
|
|
115
|
-
};
|
|
116
|
-
readonly description: {
|
|
117
|
-
readonly type: "string";
|
|
118
|
-
};
|
|
119
|
-
readonly command: {
|
|
120
|
-
readonly type: "string";
|
|
121
|
-
};
|
|
122
|
-
readonly args: {
|
|
123
|
-
readonly type: "array";
|
|
124
|
-
readonly items: {
|
|
125
|
-
readonly type: "string";
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
readonly cwd: {
|
|
129
|
-
readonly type: "string";
|
|
130
|
-
};
|
|
131
|
-
readonly env: {
|
|
132
|
-
readonly type: "object";
|
|
133
|
-
readonly additionalProperties: {
|
|
134
|
-
readonly type: "string";
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
readonly expect: {
|
|
138
|
-
readonly type: "object";
|
|
139
|
-
readonly additionalProperties: false;
|
|
140
|
-
readonly properties: {
|
|
141
|
-
readonly exit_code: {
|
|
142
|
-
readonly type: "integer";
|
|
143
|
-
};
|
|
144
|
-
readonly stdout_contains: {
|
|
145
|
-
readonly type: "array";
|
|
146
|
-
readonly items: {
|
|
147
|
-
readonly type: "string";
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
readonly stdout_matches_regex: {
|
|
151
|
-
readonly type: "string";
|
|
152
|
-
};
|
|
153
|
-
readonly stderr_empty: {
|
|
154
|
-
readonly type: "boolean";
|
|
155
|
-
};
|
|
156
|
-
readonly stderr_contains: {
|
|
157
|
-
readonly type: "array";
|
|
158
|
-
readonly items: {
|
|
159
|
-
readonly type: "string";
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
readonly timeout_ms: {
|
|
165
|
-
readonly type: "integer";
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
readonly required: readonly ["kind", "id", "description", "command", "args", "expect"];
|
|
169
|
-
}, {
|
|
170
|
-
readonly type: "object";
|
|
171
|
-
readonly additionalProperties: false;
|
|
172
|
-
readonly properties: {
|
|
173
|
-
readonly kind: {
|
|
174
|
-
readonly const: "ui";
|
|
175
|
-
};
|
|
176
|
-
readonly id: {
|
|
177
|
-
readonly type: "string";
|
|
178
|
-
};
|
|
179
|
-
readonly description: {
|
|
180
|
-
readonly type: "string";
|
|
181
|
-
};
|
|
182
|
-
readonly url: {
|
|
183
|
-
readonly type: "string";
|
|
184
|
-
};
|
|
185
|
-
readonly steps: {
|
|
186
|
-
readonly type: "array";
|
|
187
|
-
readonly items: {
|
|
188
|
-
readonly type: "object";
|
|
189
|
-
readonly additionalProperties: false;
|
|
190
|
-
readonly properties: {
|
|
191
|
-
readonly action: {
|
|
192
|
-
readonly enum: readonly ["goto", "click", "fill", "screenshot", "wait_for_selector", "wait_for_text"];
|
|
193
|
-
};
|
|
194
|
-
readonly selector: {
|
|
195
|
-
readonly type: "string";
|
|
196
|
-
};
|
|
197
|
-
readonly value: {
|
|
198
|
-
readonly type: "string";
|
|
199
|
-
};
|
|
200
|
-
readonly path: {
|
|
201
|
-
readonly type: "string";
|
|
202
|
-
};
|
|
203
|
-
readonly text: {
|
|
204
|
-
readonly type: "string";
|
|
205
|
-
};
|
|
206
|
-
readonly timeout_ms: {
|
|
207
|
-
readonly type: "integer";
|
|
208
|
-
};
|
|
209
|
-
};
|
|
210
|
-
readonly required: readonly ["action"];
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
readonly expect: {
|
|
214
|
-
readonly type: "object";
|
|
215
|
-
readonly additionalProperties: false;
|
|
216
|
-
readonly properties: {
|
|
217
|
-
readonly text_present: {
|
|
218
|
-
readonly type: "array";
|
|
219
|
-
readonly items: {
|
|
220
|
-
readonly type: "string";
|
|
221
|
-
};
|
|
222
|
-
};
|
|
223
|
-
readonly selector_visible: {
|
|
224
|
-
readonly type: "array";
|
|
225
|
-
readonly items: {
|
|
226
|
-
readonly type: "string";
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
readonly timeout_ms: {
|
|
232
|
-
readonly type: "integer";
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
readonly required: readonly ["kind", "id", "description", "url", "steps", "expect"];
|
|
236
|
-
}, {
|
|
237
|
-
readonly type: "object";
|
|
238
|
-
readonly additionalProperties: false;
|
|
239
|
-
readonly properties: {
|
|
240
|
-
readonly kind: {
|
|
241
|
-
readonly const: "sql";
|
|
242
|
-
};
|
|
243
|
-
readonly id: {
|
|
244
|
-
readonly type: "string";
|
|
245
|
-
};
|
|
246
|
-
readonly description: {
|
|
247
|
-
readonly type: "string";
|
|
248
|
-
};
|
|
249
|
-
readonly connection: {
|
|
250
|
-
readonly type: "string";
|
|
251
|
-
};
|
|
252
|
-
readonly query: {
|
|
253
|
-
readonly type: "string";
|
|
254
|
-
};
|
|
255
|
-
readonly expect: {
|
|
256
|
-
readonly type: "object";
|
|
257
|
-
readonly additionalProperties: false;
|
|
258
|
-
readonly properties: {
|
|
259
|
-
readonly rowcount: {
|
|
260
|
-
readonly type: "integer";
|
|
261
|
-
};
|
|
262
|
-
readonly rowcount_min: {
|
|
263
|
-
readonly type: "integer";
|
|
264
|
-
};
|
|
265
|
-
readonly rowcount_max: {
|
|
266
|
-
readonly type: "integer";
|
|
267
|
-
};
|
|
268
|
-
readonly first_row_includes: {
|
|
269
|
-
readonly type: "object";
|
|
270
|
-
};
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
readonly required: readonly ["kind", "id", "description", "connection", "query", "expect"];
|
|
275
|
-
}, {
|
|
276
|
-
readonly type: "object";
|
|
277
|
-
readonly additionalProperties: false;
|
|
278
|
-
readonly properties: {
|
|
279
|
-
readonly kind: {
|
|
280
|
-
readonly const: "integration";
|
|
281
|
-
};
|
|
282
|
-
readonly id: {
|
|
283
|
-
readonly type: "string";
|
|
284
|
-
};
|
|
285
|
-
readonly description: {
|
|
286
|
-
readonly type: "string";
|
|
287
|
-
};
|
|
288
|
-
readonly compose_file: {
|
|
289
|
-
readonly type: "string";
|
|
290
|
-
};
|
|
291
|
-
readonly service: {
|
|
292
|
-
readonly type: "string";
|
|
293
|
-
};
|
|
294
|
-
readonly ready_check: {
|
|
295
|
-
readonly type: "object";
|
|
296
|
-
};
|
|
297
|
-
readonly test: {
|
|
298
|
-
readonly type: "object";
|
|
299
|
-
};
|
|
300
|
-
};
|
|
301
|
-
readonly required: readonly ["kind", "id", "description", "compose_file", "service", "ready_check", "test"];
|
|
302
|
-
}];
|
|
303
|
-
};
|
|
304
|
-
readonly is_high_stakes_required: {
|
|
305
|
-
readonly type: "boolean";
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
readonly required: readonly ["id", "text", "probe"];
|
|
309
|
-
};
|
|
310
|
-
};
|
|
311
|
-
readonly cold_start_smoke: {
|
|
312
|
-
readonly type: "boolean";
|
|
313
|
-
};
|
|
314
|
-
readonly backend_only: {
|
|
315
|
-
readonly type: "boolean";
|
|
316
|
-
};
|
|
317
|
-
readonly ungenerable_reason: {
|
|
318
|
-
readonly type: "string";
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
readonly required: readonly ["acceptance_checks", "cold_start_smoke", "backend_only"];
|
|
322
|
-
};
|
package/dist/uat/schema.js
DELETED
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* JSON Schema enforced by `claude --json-schema` for the UAT-runner output.
|
|
3
|
-
* Mirrors `UatRunnerOutput` exactly. Keep in sync with types.ts.
|
|
4
|
-
*/
|
|
5
|
-
const HTTP_PROBE_SCHEMA = {
|
|
6
|
-
type: "object",
|
|
7
|
-
additionalProperties: false,
|
|
8
|
-
properties: {
|
|
9
|
-
kind: { const: "http" },
|
|
10
|
-
id: { type: "string" },
|
|
11
|
-
description: { type: "string" },
|
|
12
|
-
request: {
|
|
13
|
-
type: "object",
|
|
14
|
-
additionalProperties: false,
|
|
15
|
-
properties: {
|
|
16
|
-
method: { enum: ["GET", "POST", "PUT", "PATCH", "DELETE"] },
|
|
17
|
-
url: { type: "string" },
|
|
18
|
-
headers: {
|
|
19
|
-
type: "object",
|
|
20
|
-
additionalProperties: { type: "string" },
|
|
21
|
-
},
|
|
22
|
-
body: { type: "string" },
|
|
23
|
-
},
|
|
24
|
-
required: ["method", "url"],
|
|
25
|
-
},
|
|
26
|
-
expect: {
|
|
27
|
-
type: "object",
|
|
28
|
-
additionalProperties: false,
|
|
29
|
-
properties: {
|
|
30
|
-
status: { type: "integer" },
|
|
31
|
-
status_in: { type: "array", items: { type: "integer" } },
|
|
32
|
-
body_contains: { type: "array", items: { type: "string" } },
|
|
33
|
-
body_matches_regex: { type: "string" },
|
|
34
|
-
json_path_equals: {
|
|
35
|
-
type: "array",
|
|
36
|
-
items: {
|
|
37
|
-
type: "object",
|
|
38
|
-
additionalProperties: false,
|
|
39
|
-
properties: {
|
|
40
|
-
path: { type: "string" },
|
|
41
|
-
value: {},
|
|
42
|
-
},
|
|
43
|
-
required: ["path", "value"],
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
header_present: { type: "array", items: { type: "string" } },
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
timeout_ms: { type: "integer" },
|
|
50
|
-
},
|
|
51
|
-
required: ["kind", "id", "description", "request", "expect"],
|
|
52
|
-
};
|
|
53
|
-
const CLI_PROBE_SCHEMA = {
|
|
54
|
-
type: "object",
|
|
55
|
-
additionalProperties: false,
|
|
56
|
-
properties: {
|
|
57
|
-
kind: { const: "cli" },
|
|
58
|
-
id: { type: "string" },
|
|
59
|
-
description: { type: "string" },
|
|
60
|
-
command: { type: "string" },
|
|
61
|
-
args: { type: "array", items: { type: "string" } },
|
|
62
|
-
cwd: { type: "string" },
|
|
63
|
-
env: { type: "object", additionalProperties: { type: "string" } },
|
|
64
|
-
expect: {
|
|
65
|
-
type: "object",
|
|
66
|
-
additionalProperties: false,
|
|
67
|
-
properties: {
|
|
68
|
-
exit_code: { type: "integer" },
|
|
69
|
-
stdout_contains: { type: "array", items: { type: "string" } },
|
|
70
|
-
stdout_matches_regex: { type: "string" },
|
|
71
|
-
stderr_empty: { type: "boolean" },
|
|
72
|
-
stderr_contains: { type: "array", items: { type: "string" } },
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
timeout_ms: { type: "integer" },
|
|
76
|
-
},
|
|
77
|
-
required: ["kind", "id", "description", "command", "args", "expect"],
|
|
78
|
-
};
|
|
79
|
-
const UI_PROBE_SCHEMA = {
|
|
80
|
-
type: "object",
|
|
81
|
-
additionalProperties: false,
|
|
82
|
-
properties: {
|
|
83
|
-
kind: { const: "ui" },
|
|
84
|
-
id: { type: "string" },
|
|
85
|
-
description: { type: "string" },
|
|
86
|
-
url: { type: "string" },
|
|
87
|
-
steps: {
|
|
88
|
-
type: "array",
|
|
89
|
-
items: {
|
|
90
|
-
type: "object",
|
|
91
|
-
additionalProperties: false,
|
|
92
|
-
properties: {
|
|
93
|
-
action: {
|
|
94
|
-
enum: ["goto", "click", "fill", "screenshot", "wait_for_selector", "wait_for_text"],
|
|
95
|
-
},
|
|
96
|
-
selector: { type: "string" },
|
|
97
|
-
value: { type: "string" },
|
|
98
|
-
path: { type: "string" },
|
|
99
|
-
text: { type: "string" },
|
|
100
|
-
timeout_ms: { type: "integer" },
|
|
101
|
-
},
|
|
102
|
-
required: ["action"],
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
expect: {
|
|
106
|
-
type: "object",
|
|
107
|
-
additionalProperties: false,
|
|
108
|
-
properties: {
|
|
109
|
-
text_present: { type: "array", items: { type: "string" } },
|
|
110
|
-
selector_visible: { type: "array", items: { type: "string" } },
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
|
-
timeout_ms: { type: "integer" },
|
|
114
|
-
},
|
|
115
|
-
required: ["kind", "id", "description", "url", "steps", "expect"],
|
|
116
|
-
};
|
|
117
|
-
const SQL_PROBE_SCHEMA = {
|
|
118
|
-
type: "object",
|
|
119
|
-
additionalProperties: false,
|
|
120
|
-
properties: {
|
|
121
|
-
kind: { const: "sql" },
|
|
122
|
-
id: { type: "string" },
|
|
123
|
-
description: { type: "string" },
|
|
124
|
-
connection: { type: "string" },
|
|
125
|
-
query: { type: "string" },
|
|
126
|
-
expect: {
|
|
127
|
-
type: "object",
|
|
128
|
-
additionalProperties: false,
|
|
129
|
-
properties: {
|
|
130
|
-
rowcount: { type: "integer" },
|
|
131
|
-
rowcount_min: { type: "integer" },
|
|
132
|
-
rowcount_max: { type: "integer" },
|
|
133
|
-
first_row_includes: { type: "object" },
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
required: ["kind", "id", "description", "connection", "query", "expect"],
|
|
138
|
-
};
|
|
139
|
-
// Integration probes nest a sub-probe; we keep the schema lenient (test: object)
|
|
140
|
-
// because nested oneOf in JSON-Schema is heavy and the runtime parser will
|
|
141
|
-
// validate by `kind`.
|
|
142
|
-
const INTEGRATION_PROBE_SCHEMA = {
|
|
143
|
-
type: "object",
|
|
144
|
-
additionalProperties: false,
|
|
145
|
-
properties: {
|
|
146
|
-
kind: { const: "integration" },
|
|
147
|
-
id: { type: "string" },
|
|
148
|
-
description: { type: "string" },
|
|
149
|
-
compose_file: { type: "string" },
|
|
150
|
-
service: { type: "string" },
|
|
151
|
-
ready_check: { type: "object" },
|
|
152
|
-
test: { type: "object" },
|
|
153
|
-
},
|
|
154
|
-
required: ["kind", "id", "description", "compose_file", "service", "ready_check", "test"],
|
|
155
|
-
};
|
|
156
|
-
const PROBE_SCHEMA = {
|
|
157
|
-
oneOf: [
|
|
158
|
-
HTTP_PROBE_SCHEMA,
|
|
159
|
-
CLI_PROBE_SCHEMA,
|
|
160
|
-
UI_PROBE_SCHEMA,
|
|
161
|
-
SQL_PROBE_SCHEMA,
|
|
162
|
-
INTEGRATION_PROBE_SCHEMA,
|
|
163
|
-
],
|
|
164
|
-
};
|
|
165
|
-
export const UAT_RUNNER_OUTPUT_SCHEMA = {
|
|
166
|
-
type: "object",
|
|
167
|
-
additionalProperties: false,
|
|
168
|
-
properties: {
|
|
169
|
-
acceptance_checks: {
|
|
170
|
-
type: "array",
|
|
171
|
-
items: {
|
|
172
|
-
type: "object",
|
|
173
|
-
additionalProperties: false,
|
|
174
|
-
properties: {
|
|
175
|
-
id: { type: "string" },
|
|
176
|
-
text: { type: "string" },
|
|
177
|
-
probe: PROBE_SCHEMA,
|
|
178
|
-
is_high_stakes_required: { type: "boolean" },
|
|
179
|
-
},
|
|
180
|
-
required: ["id", "text", "probe"],
|
|
181
|
-
},
|
|
182
|
-
},
|
|
183
|
-
cold_start_smoke: { type: "boolean" },
|
|
184
|
-
backend_only: { type: "boolean" },
|
|
185
|
-
ungenerable_reason: { type: "string" },
|
|
186
|
-
},
|
|
187
|
-
required: ["acceptance_checks", "cold_start_smoke", "backend_only"],
|
|
188
|
-
};
|
|
189
|
-
//# sourceMappingURL=schema.js.map
|
package/dist/uat/schema.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/uat/schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,iBAAiB,GAAG;IACxB,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,IAAI,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;QACvB,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACtB,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC/B,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,UAAU,EAAE;gBACV,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE;gBAC3D,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACvB,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,oBAAoB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBACzC;gBAC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