cloving 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +329 -215
- package/dist/src/agent-harness-shell.d.ts +2 -1
- package/dist/src/agent-harness-shell.js +8 -5
- package/dist/src/authority/command-wait-checks.d.ts +8 -0
- package/dist/src/authority/command-wait-checks.js +88 -0
- package/dist/src/authority/command-wait-results.d.ts +15 -0
- package/dist/src/authority/command-wait-results.js +73 -0
- package/dist/src/authority/command-wait-view.d.ts +21 -0
- package/dist/src/authority/command-wait-view.js +34 -0
- package/dist/src/authority/command-waits.d.ts +39 -0
- package/dist/src/authority/command-waits.js +97 -0
- package/dist/src/authority/commands.js +22 -1
- package/dist/src/authority/dispatch-decision.d.ts +8 -0
- package/dist/src/authority/dispatch-decision.js +26 -1
- package/dist/src/authority/effect-requests.js +6 -3
- package/dist/src/authority/effect-results.js +4 -2
- package/dist/src/authority/history-state.d.ts +2 -0
- package/dist/src/authority/history-state.js +13 -1
- package/dist/src/authority/instants.d.ts +1 -0
- package/dist/src/authority/instants.js +21 -0
- package/dist/src/authority/reduction-state.d.ts +2 -0
- package/dist/src/authority/reduction-state.js +5 -0
- package/dist/src/authority/reduction.js +24 -0
- package/dist/src/authority/status-input.d.ts +2 -0
- package/dist/src/authority/status.d.ts +2 -0
- package/dist/src/authority/status.js +1 -0
- package/dist/src/authority/stop-sequence.d.ts +1 -0
- package/dist/src/authority/stop-sequence.js +2 -1
- package/dist/src/authority/transitions.d.ts +6 -4
- package/dist/src/authority/transitions.js +7 -0
- package/dist/src/broker/actor/authority-health.d.ts +9 -0
- package/dist/src/broker/actor/authority-health.js +24 -0
- package/dist/src/broker/actor/authority-queries.d.ts +2 -1
- package/dist/src/broker/actor/authority-queries.js +14 -5
- package/dist/src/broker/actor/authority-receipts.js +1 -1
- package/dist/src/broker/actor/authority-runtime.d.ts +4 -2
- package/dist/src/broker/actor/authority-runtime.js +29 -20
- package/dist/src/broker/actor/authority-session.d.ts +6 -19
- package/dist/src/broker/actor/authority-session.js +66 -88
- package/dist/src/broker/actor/authority-settings.d.ts +2 -1
- package/dist/src/broker/actor/authority-settings.js +6 -3
- package/dist/src/broker/actor/authority-upgrades.d.ts +23 -2
- package/dist/src/broker/actor/authority-upgrades.js +8 -2
- package/dist/src/broker/actor/authority-watchdog.d.ts +6 -2
- package/dist/src/broker/actor/authority-watchdog.js +31 -9
- package/dist/src/broker/actor/authority.js +3 -1
- package/dist/src/broker/actor/delivery-intents.js +2 -0
- package/dist/src/broker/actor/effect-delivery.d.ts +1 -1
- package/dist/src/broker/actor/effect-delivery.js +15 -2
- package/dist/src/broker/actor/effect-plan.js +11 -2
- package/dist/src/broker/actor/effect-queries.d.ts +4 -0
- package/dist/src/broker/actor/effect-queries.js +9 -1
- package/dist/src/broker/actor/effect-turn.js +2 -0
- package/dist/src/broker/actor/projection-memory.d.ts +43 -0
- package/dist/src/broker/actor/projection-memory.js +207 -0
- package/dist/src/broker/actor/runtime-parts.d.ts +5 -0
- package/dist/src/broker/actor/runtime-parts.js +8 -3
- package/dist/src/broker/actor/stop-plan.js +9 -3
- package/dist/src/broker/actor/stop-turn.d.ts +2 -0
- package/dist/src/broker/actor/stop-turn.js +24 -11
- package/dist/src/broker/actor/turn-draft.d.ts +1 -0
- package/dist/src/broker/actor/turn-draft.js +4 -0
- package/dist/src/broker/actor/turn-state.js +5 -1
- package/dist/src/broker/authority-admission.js +60 -0
- package/dist/src/broker/authority-restore.d.ts +2 -0
- package/dist/src/broker/authority-restore.js +35 -1
- package/dist/src/broker/command-wait-restore.d.ts +31 -0
- package/dist/src/broker/command-wait-restore.js +86 -0
- package/dist/src/broker/decision-restore.d.ts +1 -1
- package/dist/src/broker/decision-restore.js +1 -0
- package/dist/src/broker/effect-upgrade.d.ts +3 -0
- package/dist/src/broker/effect-upgrade.js +11 -2
- package/dist/src/cli/arguments.d.ts +13 -0
- package/dist/src/cli/arguments.js +43 -3
- package/dist/src/cli/chat-stores.d.ts +2 -0
- package/dist/src/cli/chat-stores.js +113 -0
- package/dist/src/cli/client.d.ts +7 -2
- package/dist/src/cli/client.js +13 -7
- package/dist/src/cli/command-requests.d.ts +46 -0
- package/dist/src/cli/command-requests.js +84 -0
- package/dist/src/cli/command-waits.d.ts +9 -0
- package/dist/src/cli/command-waits.js +51 -0
- package/dist/src/cli/commands.js +70 -88
- package/dist/src/cli/config-file.d.ts +2 -2
- package/dist/src/cli/config-file.js +4 -2
- package/dist/src/cli/config-notice.js +5 -2
- package/dist/src/cli/doctor-retention.d.ts +2 -0
- package/dist/src/cli/doctor-retention.js +93 -0
- package/dist/src/cli/doctor-workflows.d.ts +5 -2
- package/dist/src/cli/doctor-workflows.js +12 -7
- package/dist/src/cli/doctor.js +11 -9
- package/dist/src/cli/harness-probes.d.ts +2 -0
- package/dist/src/cli/harness-probes.js +1 -1
- package/dist/src/cli/harness-processes.d.ts +6 -0
- package/dist/src/cli/harness-processes.js +36 -0
- package/dist/src/cli/init-command.d.ts +9 -0
- package/dist/src/cli/init-command.js +52 -0
- package/dist/src/cli/init-prompt-command.d.ts +10 -0
- package/dist/src/cli/init-prompt-command.js +145 -0
- package/dist/src/cli/init-prompt.d.ts +35 -0
- package/dist/src/cli/init-prompt.js +74 -0
- package/dist/src/cli/init-selection.d.ts +13 -0
- package/dist/src/cli/init-selection.js +75 -0
- package/dist/src/cli/main.d.ts +2 -0
- package/dist/src/cli/main.js +37 -7
- package/dist/src/cli/mcp-server.d.ts +1 -0
- package/dist/src/cli/mcp-server.js +156 -0
- package/dist/src/cli/mcp-tools.d.ts +15 -0
- package/dist/src/cli/mcp-tools.js +242 -0
- package/dist/src/cli/queue-arguments.d.ts +15 -0
- package/dist/src/cli/queue-arguments.js +31 -0
- package/dist/src/cli/queue-render.d.ts +3 -0
- package/dist/src/cli/queue-render.js +26 -0
- package/dist/src/cli/reload-render.d.ts +2 -0
- package/dist/src/cli/reload-render.js +12 -0
- package/dist/src/cli/render.d.ts +1 -1
- package/dist/src/cli/render.js +54 -38
- package/dist/src/cli/report-ci-jobs.d.ts +23 -0
- package/dist/src/cli/report-ci-jobs.js +103 -0
- package/dist/src/cli/report-ci-usage.d.ts +9 -0
- package/dist/src/cli/report-ci-usage.js +185 -0
- package/dist/src/cli/report-ci.d.ts +13 -0
- package/dist/src/cli/report-ci.js +74 -0
- package/dist/src/cli/report-closures.d.ts +6 -0
- package/dist/src/cli/report-closures.js +97 -0
- package/dist/src/cli/report-flow.d.ts +7 -0
- package/dist/src/cli/report-flow.js +122 -0
- package/dist/src/cli/report-github-reader.d.ts +29 -0
- package/dist/src/cli/report-github-reader.js +157 -0
- package/dist/src/cli/report-github.d.ts +15 -8
- package/dist/src/cli/report-github.js +131 -150
- package/dist/src/cli/report-operator.d.ts +3 -0
- package/dist/src/cli/report-operator.js +40 -0
- package/dist/src/cli/report-ready.d.ts +3 -0
- package/dist/src/cli/report-ready.js +96 -0
- package/dist/src/cli/report-text.d.ts +9 -0
- package/dist/src/cli/report-text.js +33 -0
- package/dist/src/cli/report.d.ts +1 -0
- package/dist/src/cli/report.js +104 -27
- package/dist/src/cli/runtime-arguments.d.ts +18 -3
- package/dist/src/cli/runtime-arguments.js +29 -20
- package/dist/src/cli/schedule-arguments.d.ts +14 -0
- package/dist/src/cli/schedule-arguments.js +26 -0
- package/dist/src/cli/schedule-render.d.ts +22 -0
- package/dist/src/cli/schedule-render.js +73 -0
- package/dist/src/cli/terminal-text.d.ts +3 -0
- package/dist/src/cli/terminal-text.js +28 -0
- package/dist/src/cli/toolchain.d.ts +1 -0
- package/dist/src/cli/toolchain.js +1 -0
- package/dist/src/cli/usage-render.d.ts +1 -0
- package/dist/src/cli/usage-render.js +28 -1
- package/dist/src/cli/usage.d.ts +2 -2
- package/dist/src/cli/usage.js +89 -11
- package/dist/src/cli/watch-actions.js +2 -2
- package/dist/src/cli/watch-api-document.d.ts +430 -0
- package/dist/src/cli/watch-api-document.js +291 -0
- package/dist/src/cli/watch-api-run.d.ts +56 -0
- package/dist/src/cli/watch-api-run.js +112 -0
- package/dist/src/cli/watch-api.d.ts +17 -0
- package/dist/src/cli/watch-api.js +230 -0
- package/dist/src/cli/watch-board-view.js +19 -2
- package/dist/src/cli/watch-board.d.ts +4 -2
- package/dist/src/cli/watch-board.js +53 -43
- package/dist/src/cli/watch-card-forms.d.ts +1 -1
- package/dist/src/cli/watch-card-forms.js +11 -10
- package/dist/src/cli/watch-client.d.ts +1 -1
- package/dist/src/cli/watch-client.js +2 -11
- package/dist/src/cli/watch-header-view.d.ts +1 -5
- package/dist/src/cli/watch-header-view.js +17 -21
- package/dist/src/cli/watch-model.d.ts +5 -1
- package/dist/src/cli/watch-model.js +20 -11
- package/dist/src/cli/watch-page.js +15 -15
- package/dist/src/cli/watch-phases.d.ts +12 -3
- package/dist/src/cli/watch-phases.js +68 -11
- package/dist/src/cli/watch-pr-board.js +1 -1
- package/dist/src/cli/watch-pr-command.d.ts +1 -0
- package/dist/src/cli/watch-pull-request.js +18 -8
- package/dist/src/cli/watch-reads.d.ts +3 -0
- package/dist/src/cli/watch-reads.js +22 -20
- package/dist/src/cli/watch-render.d.ts +15 -0
- package/dist/src/cli/watch-run-input.d.ts +0 -1
- package/dist/src/cli/watch-run-input.js +0 -13
- package/dist/src/cli/watch-server.js +24 -10
- package/dist/src/cli/watch-view.d.ts +0 -3
- package/dist/src/cli/watch-view.js +13 -13
- package/dist/src/cli.js +73 -12
- package/dist/src/command-wait.d.ts +4 -0
- package/dist/src/command-wait.js +45 -0
- package/dist/src/configuration-change.d.ts +7 -0
- package/dist/src/configuration-change.js +14 -0
- package/dist/src/configuration-display.js +2 -0
- package/dist/src/configuration-schema.d.ts +14 -0
- package/dist/src/configuration-schema.js +6 -2
- package/dist/src/daemon/attachment-file.d.ts +6 -0
- package/dist/src/daemon/attachment-file.js +86 -0
- package/dist/src/daemon/attachments.d.ts +14 -0
- package/dist/src/daemon/attachments.js +17 -0
- package/dist/src/daemon/claude-recovery.d.ts +50 -0
- package/dist/src/daemon/claude-recovery.js +208 -0
- package/dist/src/daemon/claude-stream.d.ts +27 -0
- package/dist/src/daemon/claude-stream.js +63 -0
- package/dist/src/daemon/claude-turn.d.ts +11 -25
- package/dist/src/daemon/claude-turn.js +64 -81
- package/dist/src/daemon/claude-worker.d.ts +5 -4
- package/dist/src/daemon/claude-worker.js +127 -126
- package/dist/src/daemon/daemon-adapters.d.ts +9 -0
- package/dist/src/daemon/daemon-adapters.js +33 -5
- package/dist/src/daemon/daemon-loops.d.ts +5 -1
- package/dist/src/daemon/daemon-loops.js +18 -10
- package/dist/src/daemon/daemon.js +80 -61
- package/dist/src/daemon/github-attach.d.ts +2 -0
- package/dist/src/daemon/github-attach.js +222 -0
- package/dist/src/daemon/github-calls.js +1 -1
- package/dist/src/daemon/github-ci-filters.d.ts +6 -0
- package/dist/src/daemon/github-ci-filters.js +138 -0
- package/dist/src/daemon/github-ci-workflows.d.ts +10 -0
- package/dist/src/daemon/github-ci-workflows.js +148 -0
- package/dist/src/daemon/github-ci.js +22 -4
- package/dist/src/daemon/github-issue-methods.d.ts +2 -0
- package/dist/src/daemon/github-issue-methods.js +37 -2
- package/dist/src/daemon/github-merge-call.d.ts +2 -1
- package/dist/src/daemon/github-merge-call.js +10 -3
- package/dist/src/daemon/github-merge.js +52 -24
- package/dist/src/daemon/github-methods.js +18 -4
- package/dist/src/daemon/github-operation.d.ts +4 -0
- package/dist/src/daemon/github-operation.js +6 -0
- package/dist/src/daemon/github-worker.d.ts +4 -0
- package/dist/src/daemon/github-worker.js +6 -0
- package/dist/src/daemon/issue-queue.d.ts +4 -1
- package/dist/src/daemon/issue-queue.js +76 -78
- package/dist/src/daemon/merge-turns.d.ts +10 -0
- package/dist/src/daemon/merge-turns.js +37 -0
- package/dist/src/daemon/notify-events.d.ts +6 -0
- package/dist/src/daemon/notify-events.js +84 -0
- package/dist/src/daemon/notify-journal.js +1 -1
- package/dist/src/daemon/notify-message.d.ts +4 -1
- package/dist/src/daemon/notify-message.js +36 -0
- package/dist/src/daemon/notify.d.ts +1 -1
- package/dist/src/daemon/notify.js +5 -77
- package/dist/src/daemon/operation-journal.d.ts +1 -0
- package/dist/src/daemon/queue-control.d.ts +13 -0
- package/dist/src/daemon/queue-control.js +86 -0
- package/dist/src/daemon/queue-journal.d.ts +20 -0
- package/dist/src/daemon/queue-journal.js +89 -0
- package/dist/src/daemon/queue-status.d.ts +9 -3
- package/dist/src/daemon/queue-status.js +17 -4
- package/dist/src/daemon/record-archive.d.ts +19 -0
- package/dist/src/daemon/record-archive.js +82 -0
- package/dist/src/daemon/record-sweep.d.ts +24 -0
- package/dist/src/daemon/record-sweep.js +147 -0
- package/dist/src/daemon/resume-index-lock.d.ts +13 -0
- package/dist/src/daemon/resume-index-lock.js +160 -0
- package/dist/src/daemon/resume-worktree.d.ts +7 -0
- package/dist/src/daemon/resume-worktree.js +29 -0
- package/dist/src/daemon/retrying-turn.d.ts +2 -12
- package/dist/src/daemon/retrying-turn.js +98 -172
- package/dist/src/daemon/schedule-control.d.ts +26 -0
- package/dist/src/daemon/schedule-control.js +110 -0
- package/dist/src/daemon/schedule-journal.d.ts +2 -15
- package/dist/src/daemon/schedule-journal.js +67 -4
- package/dist/src/daemon/settings-reload.d.ts +26 -0
- package/dist/src/daemon/settings-reload.js +82 -0
- package/dist/src/daemon/ticket-registration.d.ts +2 -7
- package/dist/src/daemon/ticket-registration.js +15 -81
- package/dist/src/daemon/turn-attempt-journal.d.ts +38 -0
- package/dist/src/daemon/turn-attempt-journal.js +136 -0
- package/dist/src/daemon/turn-attempts.d.ts +47 -0
- package/dist/src/daemon/turn-attempts.js +166 -0
- package/dist/src/daemon/turn-details.d.ts +4 -0
- package/dist/src/daemon/turn-details.js +33 -0
- package/dist/src/daemon/turn-report.d.ts +8 -1
- package/dist/src/daemon/turn-report.js +39 -0
- package/dist/src/daemon/work-tree.d.ts +9 -0
- package/dist/src/daemon/work-tree.js +20 -0
- package/dist/src/daemon/worker-profile.d.ts +9 -0
- package/dist/src/daemon/worker-profile.js +44 -0
- package/dist/src/daemon/workflow-generations.d.ts +7 -4
- package/dist/src/daemon/workflow-generations.js +22 -14
- package/dist/src/daemon/workflow-reload.d.ts +41 -0
- package/dist/src/daemon/workflow-reload.js +244 -0
- package/dist/src/daemon/workflow-replay.d.ts +2 -1
- package/dist/src/daemon/workflow-replay.js +7 -3
- package/dist/src/daemon/workflow-schedules.d.ts +3 -0
- package/dist/src/daemon/workflow-schedules.js +98 -45
- package/dist/src/daemon/worktree-processes.d.ts +9 -0
- package/dist/src/daemon/worktree-processes.js +151 -0
- package/dist/src/doctor-report.d.ts +4 -6
- package/dist/src/doctor-report.js +8 -13
- package/dist/src/harness-start.d.ts +15 -0
- package/dist/src/harness-start.js +37 -0
- package/dist/src/host/command-wait.d.ts +38 -0
- package/dist/src/host/command-wait.js +115 -0
- package/dist/src/host/start-delivery.d.ts +5 -7
- package/dist/src/host/start-delivery.js +3 -15
- package/dist/src/host/step-bridge-host.d.ts +2 -0
- package/dist/src/host/step-bridge-host.js +21 -0
- package/dist/src/operation-identity.d.ts +1 -0
- package/dist/src/operation-identity.js +4 -0
- package/dist/src/private-config.schema.json +71 -0
- package/dist/src/project-config.schema.json +40 -0
- package/dist/src/project-settings.d.ts +16 -2
- package/dist/src/project-settings.js +35 -1
- package/dist/src/queue-spend.d.ts +4 -0
- package/dist/src/queue-spend.js +21 -0
- package/dist/src/queue-state.d.ts +26 -0
- package/dist/src/queue-state.js +34 -0
- package/dist/src/record-retention.d.ts +46 -0
- package/dist/src/record-retention.js +81 -0
- package/dist/src/relay/relay-service.d.ts +3 -0
- package/dist/src/relay/relay-service.js +5 -3
- package/dist/src/report-ci.d.ts +164 -0
- package/dist/src/report-ci.js +32 -0
- package/dist/src/report-effects.d.ts +15 -0
- package/dist/src/report-effects.js +212 -0
- package/dist/src/report-flow-types.d.ts +38 -0
- package/dist/src/report-flow-types.js +7 -0
- package/dist/src/report-flow.d.ts +43 -0
- package/dist/src/report-flow.js +193 -0
- package/dist/src/report-operator.d.ts +67 -0
- package/dist/src/report-operator.js +25 -0
- package/dist/src/report-quality.d.ts +221 -0
- package/dist/src/report-quality.js +94 -0
- package/dist/src/report-ready.d.ts +23 -0
- package/dist/src/report-ready.js +117 -0
- package/dist/src/report-statistics.d.ts +2 -1
- package/dist/src/report-statistics.js +40 -4
- package/dist/src/report.d.ts +588 -47
- package/dist/src/report.js +156 -41
- package/dist/src/schedule-progress.d.ts +33 -0
- package/dist/src/schedule-progress.js +45 -0
- package/dist/src/service/active-tickets.js +11 -6
- package/dist/src/service/command-waits.d.ts +34 -0
- package/dist/src/service/command-waits.js +86 -0
- package/dist/src/service/dispatcher.d.ts +4 -0
- package/dist/src/service/dispatcher.js +33 -0
- package/dist/src/service/expiry.js +2 -0
- package/dist/src/service/gateway.js +3 -1
- package/dist/src/service/queue-handlers.d.ts +4 -0
- package/dist/src/service/queue-handlers.js +32 -0
- package/dist/src/service/queue-spend.d.ts +6 -0
- package/dist/src/service/queue-spend.js +68 -0
- package/dist/src/service/registry.d.ts +28 -2
- package/dist/src/service/registry.js +48 -0
- package/dist/src/service/replies.d.ts +22 -8
- package/dist/src/service/replies.js +16 -2
- package/dist/src/service/run-handlers.js +37 -12
- package/dist/src/service/run-metadata.d.ts +15 -1
- package/dist/src/service/run-metadata.js +93 -8
- package/dist/src/service/service.d.ts +11 -3
- package/dist/src/service/service.js +22 -37
- package/dist/src/service/submission-handler.js +18 -4
- package/dist/src/service/worker-port.js +9 -1
- package/dist/src/service/worker-totals.d.ts +6 -0
- package/dist/src/service/worker-totals.js +8 -1
- package/dist/src/service/workflow-reload.d.ts +35 -0
- package/dist/src/service/workflow-reload.js +52 -0
- package/dist/src/step-bridge.d.ts +20 -0
- package/dist/src/steps/command-wait.d.ts +12 -0
- package/dist/src/steps/command-wait.js +26 -0
- package/dist/src/steps/open-decision-wait.d.ts +2 -0
- package/dist/src/steps/{decision-gate.js → open-decision-wait.js} +0 -7
- package/dist/src/steps/review-by-person.js +4 -1
- package/dist/src/steps/wait-for-command.d.ts +3 -0
- package/dist/src/steps/wait-for-command.js +17 -0
- package/dist/src/steps/wait-for-decision.js +1 -1
- package/dist/src/storage/command-wait-rows.d.ts +30 -0
- package/dist/src/storage/command-wait-rows.js +96 -0
- package/dist/src/storage/decision-snapshots.d.ts +8 -2
- package/dist/src/storage/decision-snapshots.js +16 -8
- package/dist/src/storage/domain-changes.d.ts +3 -1
- package/dist/src/storage/domain-changes.js +4 -0
- package/dist/src/storage/domain-schema.d.ts +16 -1
- package/dist/src/storage/domain-schema.js +35 -4
- package/dist/src/storage/effect-schema.d.ts +2 -0
- package/dist/src/storage/effect-schema.js +9 -0
- package/dist/src/storage/projection-changes.d.ts +12 -0
- package/dist/src/storage/projection-changes.js +194 -0
- package/dist/src/storage/projection-lookups.d.ts +7 -0
- package/dist/src/storage/projection-lookups.js +30 -0
- package/dist/src/testing-requests.d.ts +15 -0
- package/dist/src/testing-requests.js +93 -0
- package/dist/src/testing.d.ts +4 -10
- package/dist/src/testing.js +33 -86
- package/dist/src/worker-usage.d.ts +1 -0
- package/dist/src/worker-usage.js +3 -0
- package/dist/src/workflow-candidate.d.ts +1 -0
- package/dist/src/workflow-candidate.js +12 -1
- package/dist/src/workflow-contracts.d.ts +1 -0
- package/dist/src/workflow-contracts.js +9 -2
- package/dist/src/workflow-declaration.d.ts +1 -0
- package/dist/src/workflow-declaration.js +3 -0
- package/dist/src/workflow-discovery.d.ts +2 -13
- package/dist/src/workflow-discovery.js +1 -13
- package/dist/src/workflow-refusals.js +0 -1
- package/dist/src/workflows.d.ts +1 -1
- package/dist/src/workflows.js +1 -1
- package/dist/tools/compile-workflows.js +3 -0
- package/dist/tools/project-configuration.d.ts +7 -2
- package/dist/tools/project-configuration.js +30 -1
- package/dist/tools/red-green-command.d.ts +1 -0
- package/dist/tools/red-green-command.js +174 -0
- package/dist/tools/red-green-process.d.ts +10 -0
- package/dist/tools/red-green-process.js +59 -0
- package/dist/tools/self-host-processes.d.ts +2 -0
- package/dist/tools/self-host-processes.js +69 -26
- package/dist/tools/self-host-project.d.ts +2 -0
- package/dist/tools/self-host-project.js +30 -77
- package/dist/tools/self-host-runtime.js +1 -1
- package/dist/tools/self-host.js +76 -34
- package/dist/tools/template-command.d.ts +1 -0
- package/dist/tools/template-command.js +160 -0
- package/dist/tools/template-copy.d.ts +11 -0
- package/dist/tools/template-copy.js +130 -0
- package/dist/tools/template-files.d.ts +17 -0
- package/dist/tools/template-files.js +74 -0
- package/dist/tools/workflow-bundles.js +1 -0
- package/dist/tools/workflow-candidate-counts.js +2 -2
- package/dist/tools/workflow-candidate-program.d.ts +4 -2
- package/dist/tools/workflow-candidate-program.js +30 -11
- package/dist/tools/workflow-candidate-shape.d.ts +3 -0
- package/dist/tools/workflow-candidate-shape.js +90 -0
- package/dist/tools/workflow-candidate-source.d.ts +1 -0
- package/dist/tools/workflow-candidate-source.js +26 -4
- package/dist/tools/workflow-candidate-syntax.d.ts +2 -2
- package/dist/tools/workflow-candidate-syntax.js +24 -94
- package/dist/tools/workflow-command.js +1 -2
- package/dist/tools/workflow-folders.d.ts +2 -3
- package/dist/tools/workflow-folders.js +1 -1
- package/package.json +17 -9
- package/templates/develop/README.md +93 -4
- package/templates/develop/develop/flow-tests.ts +38 -1
- package/templates/develop/develop/interruption-tests.ts +157 -0
- package/templates/develop/develop/local.ts +1 -0
- package/templates/develop/develop/option-tests.ts +138 -9
- package/templates/develop/develop/pull.ts +5 -1
- package/templates/develop/develop/red-green.ts +55 -0
- package/templates/develop/develop/refusal-tests.ts +77 -0
- package/templates/develop/develop/report.ts +31 -11
- package/templates/develop/develop/round.ts +1 -0
- package/templates/develop/develop/scenarios.ts +27 -0
- package/templates/develop/develop/turn.ts +28 -7
- package/templates/develop/develop.declaration.json +1 -1
- package/templates/develop/develop.test.ts +4 -0
- package/templates/develop/template.json +29 -2
- package/templates/idea-to-issue/README.md +27 -0
- package/templates/idea-to-issue/idea-to-issue/effects.ts +52 -0
- package/templates/idea-to-issue/idea-to-issue/leave.ts +10 -0
- package/templates/idea-to-issue/idea-to-issue/next.ts +29 -0
- package/templates/idea-to-issue/idea-to-issue/post-person.ts +18 -0
- package/templates/idea-to-issue/idea-to-issue/post.ts +50 -0
- package/templates/idea-to-issue/idea-to-issue/queue.ts +27 -0
- package/templates/idea-to-issue/idea-to-issue/review.ts +42 -0
- package/templates/idea-to-issue/idea-to-issue/scenarios.ts +50 -0
- package/templates/idea-to-issue/idea-to-issue/turn.ts +40 -0
- package/templates/idea-to-issue/idea-to-issue.declaration.json +16 -0
- package/templates/idea-to-issue/idea-to-issue.test.ts +79 -0
- package/templates/idea-to-issue/idea-to-issue.ts +49 -0
- package/templates/idea-to-issue/template.json +81 -0
- package/templates/review-day/README.md +97 -0
- package/templates/review-day/review-day/critique.ts +58 -0
- package/templates/review-day/review-day/decision.ts +29 -0
- package/templates/review-day/review-day/facts.ts +69 -0
- package/templates/review-day/review-day/label.ts +29 -0
- package/templates/review-day/review-day/next.ts +28 -0
- package/templates/review-day/review-day/post.ts +27 -0
- package/templates/review-day/review-day/report.ts +98 -0
- package/templates/review-day/review-day/rules.ts +12 -0
- package/templates/review-day/review-day/scenarios.ts +76 -0
- package/templates/review-day/review-day/turn.ts +73 -0
- package/templates/review-day/review-day.declaration.json +16 -0
- package/templates/review-day/review-day.test.ts +362 -0
- package/templates/review-day/review-day.ts +37 -0
- package/templates/review-day/template.json +56 -0
- package/dist/src/cli/watch-start-view.d.ts +0 -18
- package/dist/src/cli/watch-start-view.js +0 -77
- package/dist/src/steps/decision-gate.d.ts +0 -3
- package/dist/workflows/develop-prd.d.ts +0 -7
- package/dist/workflows/develop-prd.js +0 -165
- package/dist/workflows/develop-ticket.d.ts +0 -9
- package/dist/workflows/develop-ticket.js +0 -207
- package/dist/workflows/issue-labels.d.ts +0 -16
- package/dist/workflows/issue-labels.js +0 -70
- package/dist/workflows/ticket-prompts.d.ts +0 -35
- package/dist/workflows/ticket-prompts.js +0 -147
package/dist/src/cli/usage.js
CHANGED
|
@@ -10,13 +10,54 @@ Fields use their default project or private file; --private selects the private
|
|
|
10
10
|
list and get show the effective source and hidden file values. Unconfigured values use defaults; null means no value.
|
|
11
11
|
Changes keep the previous file as .bak and replace the file atomically under a lock.
|
|
12
12
|
A live lock waits at most ten seconds, then exits with settings-locked.
|
|
13
|
-
Private files, backups and temporary files have mode 0600.
|
|
13
|
+
Private files, backups and temporary files have mode 0600.
|
|
14
|
+
cloving reload applies changes of profiles, fallbackModels, tokenPrices and workflows.folder. Other changes require a service restart.
|
|
14
15
|
`;
|
|
15
16
|
export const commandUsage = {
|
|
17
|
+
mcp: `Usage: cloving mcp [--repository <directory>]
|
|
18
|
+
|
|
19
|
+
Serves cloving_status, cloving_questions and cloving_events as read tools over stdio.
|
|
20
|
+
Serves cloving_run, cloving_answer, cloving_approve, cloving_deny, cloving_pause,
|
|
21
|
+
cloving_resume and cloving_drop to submit runs and decisions. Each of these tools
|
|
22
|
+
needs a commandId. After a lost reply, send the same commandId again.
|
|
23
|
+
The server binds to one repository at startup. It needs an existing Cloving service.
|
|
24
|
+
Standard output contains only JSON-RPC messages. Diagnostics use standard error.
|
|
25
|
+
`,
|
|
26
|
+
"red-green": `Usage: cloving red-green
|
|
27
|
+
|
|
28
|
+
Reads {"head":"<full commit ID>"} on standard input. Uses CLOVING_RED_GREEN to run
|
|
29
|
+
the changed tests on the merge base with origin/HEAD and then on the head.
|
|
30
|
+
Prints one JSON verdict. Verdicts exit with 0; invalid input and git errors exit with 1.
|
|
31
|
+
Uses temporary detached worktrees. CLOVING_COMMAND_SECONDS bounds each prepare or test command.
|
|
32
|
+
`,
|
|
33
|
+
init: `Usage: cloving init [--harness <name or path>] [--repository <directory>]
|
|
34
|
+
|
|
35
|
+
Starts the setup agent in the repository with the message "run \`cloving init-prompt\`".
|
|
36
|
+
Choose an installed harness at the terminal, or pass --harness to skip the question.
|
|
37
|
+
A name must have exactly one usable entry; shell:<name> selects a shell function or alias.
|
|
38
|
+
The selection is saved in private settings. The command returns the agent's exit status.
|
|
39
|
+
`,
|
|
40
|
+
"init-prompt": `Usage: cloving init-prompt [--repository <directory>]
|
|
41
|
+
|
|
42
|
+
Prints facts, rules and setup steps for an agent. Does not change settings, call a model or control the service.
|
|
43
|
+
`,
|
|
16
44
|
doctor: `Usage: cloving doctor [--json] [--repository <directory>]
|
|
17
45
|
|
|
18
46
|
Checks repository requirements without repairs, model turns or GitHub writes.
|
|
19
47
|
Required failures or skipped prerequisites exit with status 1.
|
|
48
|
+
`,
|
|
49
|
+
queue: `Usage: cloving queue [--json]
|
|
50
|
+
cloving queue resume [--command-id <id>] [--json]
|
|
51
|
+
cloving queue drain [--command-id <id>] [--json]
|
|
52
|
+
|
|
53
|
+
Shows the state of the queue: running, stopped, draining or drained, with the busy lanes.
|
|
54
|
+
A stopped queue shows the reason and the failed runs in a row.
|
|
55
|
+
resume sets the failure count to 0 and ends a stop or a drain. The next queue check can start a run.
|
|
56
|
+
drain starts no new queue run. The runs in work continue to their end.
|
|
57
|
+
When no lane is busy, the queue records the drain time, writes "Queue drained" one time and shows drained.
|
|
58
|
+
A drained queue is a safe point for a restart. A drain stays in place after a restart.
|
|
59
|
+
The queue keeps the newest 32 command IDs. A repeated kept ID does not apply the command again.
|
|
60
|
+
The reply shows the current state. A different command with a kept ID is refused.
|
|
20
61
|
`,
|
|
21
62
|
report: `Usage: cloving report [--since <hours>] [--json]
|
|
22
63
|
|
|
@@ -31,9 +72,19 @@ With --ticket, the daemon reads the ticket at admission. A declared ticket field
|
|
|
31
72
|
With --next (the same as --ticket next), ticket workflows select a ready ticket through CLOVING_NEXT_COMMAND.
|
|
32
73
|
Success means a committed receipt. It does not mean completed work.
|
|
33
74
|
`,
|
|
34
|
-
status: `Usage: cloving status [<run-id>] [--limit <n>] [--after <cursor>] [--json]
|
|
75
|
+
status: `Usage: cloving status [<run-id>] [--active] [--limit <n>] [--after <cursor>] [--json]
|
|
35
76
|
|
|
36
77
|
Lists the runs, or shows one run with its reason, evidence and next action.
|
|
78
|
+
With --active, lists only the runs that are not completed, failed or cancelled.
|
|
79
|
+
`,
|
|
80
|
+
schedule: `Usage: cloving schedule [--json]
|
|
81
|
+
cloving schedule pause <workflowId> [--json]
|
|
82
|
+
cloving schedule resume <workflowId> [--json]
|
|
83
|
+
|
|
84
|
+
Lists interval schedules and their state. Pause stops new runs; an active run continues.
|
|
85
|
+
Three consecutive failed or blocked scheduled runs stop a schedule.
|
|
86
|
+
Resume clears failures and starts the next run one interval later.
|
|
87
|
+
Paused and stopped schedules survive a service restart.
|
|
37
88
|
`,
|
|
38
89
|
questions: `Usage: cloving questions [<run-id>] [--json]
|
|
39
90
|
|
|
@@ -67,6 +118,17 @@ Cancels the run and its pending dispatch. It keeps the workspace and the evidenc
|
|
|
67
118
|
events: `Usage: cloving events [<run-id>] [--after <sequence>] [--limit <n>] [--follow] [--json]
|
|
68
119
|
|
|
69
120
|
Prints the committed events after a sequence. With --json, each line is one event.
|
|
121
|
+
`,
|
|
122
|
+
reload: `Usage: cloving reload [--json]
|
|
123
|
+
|
|
124
|
+
Checks and compiles the workflow files again while the service runs.
|
|
125
|
+
New runs use the new bundle. A run that started before the reload stays on the bundle of its pin.
|
|
126
|
+
A new refusal of a workflow file keeps the current workflows and shows the reason.
|
|
127
|
+
A change of the queue workflow or of a schedule needs a restart.
|
|
128
|
+
It also reads the settings files and the profiles file again, and applies changes of profiles, fallbackModels, tokenPrices and workflows.folder.
|
|
129
|
+
New turns use the new values. A turn in work keeps the values of its start.
|
|
130
|
+
The reply lists each other changed field as a field that needs a restart. The service keeps its old value.
|
|
131
|
+
An invalid settings file, an invalid profiles file or a profile harness with no worker at the start refuses the reload. Then nothing changes.
|
|
70
132
|
`,
|
|
71
133
|
watch: `Usage: cloving watch [--port <n>]
|
|
72
134
|
|
|
@@ -83,23 +145,28 @@ Stop it with Control-C.
|
|
|
83
145
|
|
|
84
146
|
The queue continues after unsuccessful runs and stops after three runs in a row
|
|
85
147
|
without a successful handoff. A successful handoff resets the count; ordinary restarts preserve the count.
|
|
86
|
-
|
|
148
|
+
Inspect the failures and reconcile affected issues. To clear the failure streak with no restart, run cloving queue resume.
|
|
149
|
+
Stop the service and start with --reset-queue and the same queue settings to clear the failure streak once at a restart; --reset-queue also ends a drain. Tracked commands are preserved.
|
|
87
150
|
|
|
88
151
|
The command reads these settings from the environment:
|
|
89
152
|
Settings files: .cloving/config.json in the repository and <config>/cloving/projects/<name>-<id>.json for private settings. Both require version 1. Precedence: environment, private, project, defaults. <config> is an absolute XDG_CONFIG_HOME or ~/.config. The start guide shows each configured field's source. See the packaged project-config.schema.json and private-config.schema.json in dist/src.
|
|
90
153
|
|
|
91
154
|
CLOVING_RUNTIME_DIR The path of the runtime directory. The default is ~/.local/state/cloving/<name>-<id>/run, if XDG_RUNTIME_DIR and XDG_STATE_HOME are not set. A recorded legacy adoption takes priority.
|
|
92
155
|
CLOVING_TICKET_COMMAND A JSON list of a command and its arguments. The command gets a ticket ID as its last argument and prints the ticket. The setting has no default, and a run with --ticket needs it.
|
|
93
|
-
CLOVING_NOTIFY_COMMAND A JSON list of a command and its arguments. Every 15 seconds, new decisions, blocked runs
|
|
156
|
+
CLOVING_NOTIFY_COMMAND A JSON list of a command and its arguments. Every 15 seconds, new decisions, blocked runs, failed runs and stopped schedules send JSON on standard input with no added argument. The setting has no default.
|
|
94
157
|
CLOVING_NEXT_COMMAND A JSON list of a command and its arguments. The command runs with no added argument and prints one ready ticket ID for --next. It must exclude the space-separated ticket IDs in CLOVING_SKIP_TICKETS. The setting has no default.
|
|
95
|
-
CLOVING_QUEUE_SECONDS A whole number from 10 to 3600 seconds between
|
|
158
|
+
CLOVING_QUEUE_SECONDS A whole number from 10 to 3600 seconds between checks for a declared workflow with queue: true; requires CLOVING_NEXT_COMMAND and CLOVING_TICKET_COMMAND when that workflow exists. Unset or no queue workflow means no queue. The queue stops after three runs in a row without a successful handoff; manual submissions to that workflow are refused with workflow-active when all lanes are busy.
|
|
96
159
|
CLOVING_QUEUE_LANES A whole number from 1 to 4; the default is 1. Requires CLOVING_QUEUE_SECONDS. Active tickets are refused with ticket-active. Needs #N sentences in the ticket's ## Dependencies section refuse admission with ticket-dependency-open while issue #N is open.
|
|
160
|
+
CLOVING_QUEUE_DAILY_SPEND_USD A positive finite USD number. Requires CLOVING_QUEUE_SECONDS. Holds new queue runs at 85 percent of the limit in the last 24 hours; active runs continue. Unset adds no spend limit.
|
|
97
161
|
CLOVING_WORKFLOW_FOLDER An absolute folder path; when set, it replaces the user workflow folder. The private setting workflows.folder sets it. The folder itself must not be a symbolic link.
|
|
98
162
|
CLOVING_SCHEDULES A JSON object mapping declared workflow IDs to {everySeconds, input}; replaces declaration schedules. Intervals are whole seconds from 60 to 86400. Unset keeps declaration schedules. Scheduled runs skip overlapping slots and retain their progress across restart.
|
|
99
163
|
CLOVING_SELF_UPDATE_SECONDS A whole number from 30 to 3600 seconds between checks of the own checkout; unset means no update. An update stops the daemon and restarts with new code. A change of package-lock.json needs the operator to update and install by hand.
|
|
164
|
+
CLOVING_RETENTION_DAYS A whole number of at least 1, or null. The default is 30. The daemon archives or deletes a journal or GitHub record folder of a completed, failed or cancelled run when the end of the run and the newest file of the folder are older than this count of days. It never touches the records of a run that is not finished. The value null keeps all records. The daemon sweeps once at start, before the watch page starts, and then each hour, with at most 200 folders in each pass.
|
|
165
|
+
CLOVING_RETENTION_ACTION archive or delete. The default is archive. An archive keeps the relative path of the folder in the archive folder.
|
|
166
|
+
CLOVING_RETENTION_ARCHIVE_FOLDER An absolute folder path, or null for <state>/archive. The folder can be on another volume. When the folder is not available, the sweep moves nothing, logs the reason and tries again in the next hour.
|
|
100
167
|
CLOVING_GROK_COMMAND A JSON list of a command and its arguments for Grok. The default uses streaming-messages-json, --always-approve and -p; the turn text follows -p or --single as one argument, or is appended if neither flag is present.
|
|
101
168
|
CLOVING_CLAUDE_COMMAND A JSON list of a command and its arguments for the Claude worker. The default is the claude command with a limit of 5 USD for each turn.
|
|
102
|
-
CLOVING_PROFILES The path of a JSON file of operator-defined Claude turn profiles, read
|
|
169
|
+
CLOVING_PROFILES The path of a JSON file of operator-defined Claude turn profiles, read at start and at each cloving reload. A relative path starts at the folder of cloving start. The setting has no default.
|
|
103
170
|
CLOVING_COMMANDS A JSON object mapping names to argument arrays with an absolute executable path. Invalid values refuse startup with invalid-commands. Unset means no commands. Command execution is not available yet.
|
|
104
171
|
CLOVING_COMMAND_SECONDS A whole number from 1 to 3600 seconds; the default is 60. Invalid values refuse startup with invalid-command-seconds. Reserved for command execution.
|
|
105
172
|
CLOVING_TOKEN_PRICES A JSON object from model names to input, cachedInput and output USD prices per million tokens for estimates; entries override matching built-in prices.
|
|
@@ -115,31 +182,41 @@ Settings files: .cloving/config.json in the repository and <config>/cloving/proj
|
|
|
115
182
|
CLOVING_RELAY_ORIGIN The origin of the phone relay server. Only https origins are accepted. The default is https://cloving.ai.
|
|
116
183
|
CLOVING_OWNERSHIP_LEASE_SECONDS The time in seconds of the ownership lease of a started workflow step. The default is 15.
|
|
117
184
|
CLOVING_HOST_BOUND The largest number of queue messages that the workflow host handles at one time, from 1 to 64. The default is 8.
|
|
118
|
-
CLOVING_GH_COMMAND A JSON list of a command and its arguments for the GitHub CLI,
|
|
119
|
-
CLOVING_CHECK_COMMAND A JSON list of a command and its arguments that
|
|
120
|
-
|
|
121
|
-
|
|
185
|
+
CLOVING_GH_COMMAND A JSON list of a command and its arguments for the GitHub CLI, used by workflows for pull requests and issues. The watch board also uses it to read pull request status. The default is gh.
|
|
186
|
+
CLOVING_CHECK_COMMAND A JSON list of a command and its arguments that a workflow runs in the work tree before a merge. A merge does not occur if the command fails. The setting has no default, and with no setting the merge occurs with no check.
|
|
187
|
+
CLOVING_RED_GREEN A JSON object with test and testFiles, optional prepare, assertionPattern and skipPattern for cloving red-green. The project setting is checks.redGreen.
|
|
188
|
+
CLOVING_REQUIRED_CHECKS A JSON list of required check run names before a workflow merge. Unset requires all GitHub Actions checks; a repository with no CI can merge after 60 seconds. The latest run of each name decides. The CI wait limit is 90 minutes.
|
|
189
|
+
CLOVING_PRIVATE_TEXTS A JSON list of texts that workflows do not push in a file or in a commit message. An issue-posting workflow can require the list. The list adds to the path of the home folder, and the case of the letters does not matter. The setting has no default.
|
|
122
190
|
`,
|
|
123
191
|
};
|
|
124
192
|
export const usage = `Usage: cloving [--help] [--version]
|
|
125
193
|
cloving workflows list [--json] [--repository <directory>]
|
|
126
194
|
cloving workflows test [<id>] [--repository <directory>]
|
|
127
195
|
cloving workflows validate <manifest-path> [--input <json-file>] [--json]
|
|
196
|
+
cloving init [--harness <name or path>] [--repository <directory>]
|
|
197
|
+
cloving init-prompt [--repository <directory>]
|
|
128
198
|
cloving templates list [--json]
|
|
129
199
|
cloving templates show <name> [--json]
|
|
130
200
|
cloving templates copy <name> [--id <workflow-id>] [--json] [--repository <directory>]
|
|
201
|
+
cloving red-green
|
|
131
202
|
cloving <command> [--help]
|
|
132
203
|
|
|
133
204
|
Commands:
|
|
134
|
-
workflows list List
|
|
205
|
+
workflows list List project and user workflows and refusal codes.
|
|
135
206
|
workflows test Run project and user workflow tests without a service.
|
|
136
207
|
workflows validate Check a compiled workflow manifest, its artifacts and optional runtime input.
|
|
137
208
|
templates list List the workflow templates of the package.
|
|
138
209
|
templates show Show the decision points and the files of one template.
|
|
139
210
|
templates copy Copy one template into .cloving/workflows of the repository.
|
|
211
|
+
red-green Check assertion failure on the base and success on the head.
|
|
212
|
+
init Start the setup agent
|
|
213
|
+
init-prompt Print setup instructions for an agent.
|
|
140
214
|
doctor Check repository requirements before starting or submitting work.
|
|
141
215
|
run Submit one run of an admitted workflow.
|
|
142
216
|
status List the runs or show one run.
|
|
217
|
+
mcp Serve the Cloving tools over stdio.
|
|
218
|
+
schedule List, pause and resume workflow schedules.
|
|
219
|
+
queue Show, resume and drain the queue.
|
|
143
220
|
report Report loop facts and seven-day baselines.
|
|
144
221
|
questions List the pending decisions.
|
|
145
222
|
answer Answer one design question.
|
|
@@ -150,6 +227,7 @@ Commands:
|
|
|
150
227
|
drop Cancel a run and keep its files.
|
|
151
228
|
events Print the committed events.
|
|
152
229
|
watch Serve a page that shows the runs live.
|
|
230
|
+
reload Check and compile the workflow files again.
|
|
153
231
|
phone Show, list, remove and reset the connected phones.
|
|
154
232
|
config Read and change repository settings.
|
|
155
233
|
start Start the service for a repository.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { randomBytes } from "node:crypto";
|
|
2
2
|
import { send } from "./client.js";
|
|
3
3
|
import { watchCardForms } from "./watch-card-forms.js";
|
|
4
|
-
import { join } from "node:path";
|
|
4
|
+
import { dirname, join } from "node:path";
|
|
5
5
|
import { cardRunRequest } from "./watch-run-input.js";
|
|
6
6
|
export async function watchActions(runtimeDirectory) {
|
|
7
7
|
return {
|
|
8
8
|
runtimeDirectory,
|
|
9
|
-
forms: await watchCardForms(join(
|
|
9
|
+
forms: await watchCardForms(join(dirname(runtimeDirectory), "project")),
|
|
10
10
|
token: randomBytes(32).toString("hex"),
|
|
11
11
|
};
|
|
12
12
|
}
|
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
export declare const runStates: readonly ["queued", "running", "waiting_gate", "paused", "completed", "failed", "cancelled"];
|
|
2
|
+
export declare const runLimit: {
|
|
3
|
+
readonly type: "integer";
|
|
4
|
+
readonly minimum: 1;
|
|
5
|
+
readonly maximum: 200;
|
|
6
|
+
readonly default: 50;
|
|
7
|
+
};
|
|
8
|
+
export declare const watchApiDocument: {
|
|
9
|
+
openapi: string;
|
|
10
|
+
info: {
|
|
11
|
+
title: string;
|
|
12
|
+
version: string;
|
|
13
|
+
};
|
|
14
|
+
servers: {
|
|
15
|
+
url: string;
|
|
16
|
+
}[];
|
|
17
|
+
tags: {
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
}[];
|
|
21
|
+
paths: {
|
|
22
|
+
"/": {
|
|
23
|
+
get: {
|
|
24
|
+
operationId: string;
|
|
25
|
+
tags: string[];
|
|
26
|
+
summary: string;
|
|
27
|
+
responses: {
|
|
28
|
+
"200": {
|
|
29
|
+
description: string;
|
|
30
|
+
content: {
|
|
31
|
+
"application/json": {
|
|
32
|
+
schema: unknown;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
"400": {
|
|
37
|
+
description: string;
|
|
38
|
+
content: {
|
|
39
|
+
"application/problem+json": {
|
|
40
|
+
schema: {
|
|
41
|
+
readonly $ref: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
"/openapi.json": {
|
|
50
|
+
get: {
|
|
51
|
+
operationId: string;
|
|
52
|
+
tags: string[];
|
|
53
|
+
summary: string;
|
|
54
|
+
responses: {
|
|
55
|
+
"200": {
|
|
56
|
+
description: string;
|
|
57
|
+
content: {
|
|
58
|
+
"application/json": {
|
|
59
|
+
schema: unknown;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
"400": {
|
|
64
|
+
description: string;
|
|
65
|
+
content: {
|
|
66
|
+
"application/problem+json": {
|
|
67
|
+
schema: {
|
|
68
|
+
readonly $ref: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
"/service": {
|
|
77
|
+
get: {
|
|
78
|
+
operationId: string;
|
|
79
|
+
tags: string[];
|
|
80
|
+
summary: string;
|
|
81
|
+
responses: {
|
|
82
|
+
"200": {
|
|
83
|
+
description: string;
|
|
84
|
+
content: {
|
|
85
|
+
"application/json": {
|
|
86
|
+
schema: unknown;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
"400": {
|
|
91
|
+
description: string;
|
|
92
|
+
content: {
|
|
93
|
+
"application/problem+json": {
|
|
94
|
+
schema: {
|
|
95
|
+
readonly $ref: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
"/workflows": {
|
|
104
|
+
get: {
|
|
105
|
+
operationId: string;
|
|
106
|
+
tags: string[];
|
|
107
|
+
summary: string;
|
|
108
|
+
responses: {
|
|
109
|
+
"200": {
|
|
110
|
+
description: string;
|
|
111
|
+
content: {
|
|
112
|
+
"application/json": {
|
|
113
|
+
schema: unknown;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
"400": {
|
|
118
|
+
description: string;
|
|
119
|
+
content: {
|
|
120
|
+
"application/problem+json": {
|
|
121
|
+
schema: {
|
|
122
|
+
readonly $ref: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
"503": {
|
|
128
|
+
description: string;
|
|
129
|
+
content: {
|
|
130
|
+
"application/problem+json": {
|
|
131
|
+
schema: {
|
|
132
|
+
readonly $ref: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
"/runs": {
|
|
141
|
+
get: {
|
|
142
|
+
operationId: string;
|
|
143
|
+
tags: string[];
|
|
144
|
+
summary: string;
|
|
145
|
+
parameters: ({
|
|
146
|
+
name: string;
|
|
147
|
+
in: string;
|
|
148
|
+
description: string;
|
|
149
|
+
schema: {
|
|
150
|
+
type: string;
|
|
151
|
+
};
|
|
152
|
+
} | {
|
|
153
|
+
name: string;
|
|
154
|
+
in: string;
|
|
155
|
+
description: string;
|
|
156
|
+
schema: {
|
|
157
|
+
type: string;
|
|
158
|
+
enum: readonly ["queued", "running", "waiting_gate", "paused", "completed", "failed", "cancelled"];
|
|
159
|
+
};
|
|
160
|
+
} | {
|
|
161
|
+
name: string;
|
|
162
|
+
in: string;
|
|
163
|
+
description: string;
|
|
164
|
+
schema: {
|
|
165
|
+
readonly type: "integer";
|
|
166
|
+
readonly minimum: 1;
|
|
167
|
+
readonly maximum: 200;
|
|
168
|
+
readonly default: 50;
|
|
169
|
+
};
|
|
170
|
+
})[];
|
|
171
|
+
responses: {
|
|
172
|
+
"200": {
|
|
173
|
+
description: string;
|
|
174
|
+
content: {
|
|
175
|
+
"application/json": {
|
|
176
|
+
schema: unknown;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
"400": {
|
|
181
|
+
description: string;
|
|
182
|
+
content: {
|
|
183
|
+
"application/problem+json": {
|
|
184
|
+
schema: {
|
|
185
|
+
readonly $ref: string;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
"503": {
|
|
191
|
+
description: string;
|
|
192
|
+
content: {
|
|
193
|
+
"application/problem+json": {
|
|
194
|
+
schema: {
|
|
195
|
+
readonly $ref: string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
"/runs/{runId}": {
|
|
204
|
+
get: {
|
|
205
|
+
operationId: string;
|
|
206
|
+
tags: string[];
|
|
207
|
+
summary: string;
|
|
208
|
+
parameters: {
|
|
209
|
+
name: string;
|
|
210
|
+
in: string;
|
|
211
|
+
required: boolean;
|
|
212
|
+
description: string;
|
|
213
|
+
schema: {
|
|
214
|
+
type: string;
|
|
215
|
+
};
|
|
216
|
+
}[];
|
|
217
|
+
responses: {
|
|
218
|
+
"200": {
|
|
219
|
+
description: string;
|
|
220
|
+
content: {
|
|
221
|
+
"application/json": {
|
|
222
|
+
schema: unknown;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
"400": {
|
|
227
|
+
description: string;
|
|
228
|
+
content: {
|
|
229
|
+
"application/problem+json": {
|
|
230
|
+
schema: {
|
|
231
|
+
readonly $ref: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
"404": {
|
|
237
|
+
description: string;
|
|
238
|
+
content: {
|
|
239
|
+
"application/problem+json": {
|
|
240
|
+
schema: {
|
|
241
|
+
readonly $ref: string;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
"503": {
|
|
247
|
+
description: string;
|
|
248
|
+
content: {
|
|
249
|
+
"application/problem+json": {
|
|
250
|
+
schema: {
|
|
251
|
+
readonly $ref: string;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
"/runs/{runId}/events": {
|
|
260
|
+
get: {
|
|
261
|
+
operationId: string;
|
|
262
|
+
tags: string[];
|
|
263
|
+
summary: string;
|
|
264
|
+
parameters: ({
|
|
265
|
+
name: string;
|
|
266
|
+
in: string;
|
|
267
|
+
required: boolean;
|
|
268
|
+
description: string;
|
|
269
|
+
schema: {
|
|
270
|
+
type: string;
|
|
271
|
+
};
|
|
272
|
+
} | {
|
|
273
|
+
name: string;
|
|
274
|
+
in: string;
|
|
275
|
+
description: string;
|
|
276
|
+
schema: {
|
|
277
|
+
type: string;
|
|
278
|
+
minimum: number;
|
|
279
|
+
default: number;
|
|
280
|
+
};
|
|
281
|
+
})[];
|
|
282
|
+
responses: {
|
|
283
|
+
"200": {
|
|
284
|
+
description: string;
|
|
285
|
+
content: {
|
|
286
|
+
"application/json": {
|
|
287
|
+
schema: unknown;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
"400": {
|
|
292
|
+
description: string;
|
|
293
|
+
content: {
|
|
294
|
+
"application/problem+json": {
|
|
295
|
+
schema: {
|
|
296
|
+
readonly $ref: string;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
"404": {
|
|
302
|
+
description: string;
|
|
303
|
+
content: {
|
|
304
|
+
"application/problem+json": {
|
|
305
|
+
schema: {
|
|
306
|
+
readonly $ref: string;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
"503": {
|
|
312
|
+
description: string;
|
|
313
|
+
content: {
|
|
314
|
+
"application/problem+json": {
|
|
315
|
+
schema: {
|
|
316
|
+
readonly $ref: string;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
"/stream": {
|
|
325
|
+
get: {
|
|
326
|
+
operationId: string;
|
|
327
|
+
tags: string[];
|
|
328
|
+
summary: string;
|
|
329
|
+
responses: {
|
|
330
|
+
"200": {
|
|
331
|
+
description: string;
|
|
332
|
+
content: {
|
|
333
|
+
"text/event-stream": {
|
|
334
|
+
schema: {
|
|
335
|
+
type: string;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
"400": {
|
|
341
|
+
description: string;
|
|
342
|
+
content: {
|
|
343
|
+
"application/problem+json": {
|
|
344
|
+
schema: {
|
|
345
|
+
readonly $ref: string;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
components: {
|
|
355
|
+
schemas: {
|
|
356
|
+
Service: {
|
|
357
|
+
type: string;
|
|
358
|
+
required: string[];
|
|
359
|
+
properties: Readonly<Record<string, unknown>>;
|
|
360
|
+
additionalProperties: boolean;
|
|
361
|
+
};
|
|
362
|
+
Workflow: {
|
|
363
|
+
type: string;
|
|
364
|
+
required: string[];
|
|
365
|
+
properties: Readonly<Record<string, unknown>>;
|
|
366
|
+
additionalProperties: boolean;
|
|
367
|
+
};
|
|
368
|
+
CardField: {
|
|
369
|
+
type: string;
|
|
370
|
+
required: string[];
|
|
371
|
+
properties: Readonly<Record<string, unknown>>;
|
|
372
|
+
additionalProperties: boolean;
|
|
373
|
+
};
|
|
374
|
+
RunSummary: {
|
|
375
|
+
type: string;
|
|
376
|
+
required: string[];
|
|
377
|
+
properties: Readonly<Record<string, unknown>>;
|
|
378
|
+
additionalProperties: boolean;
|
|
379
|
+
};
|
|
380
|
+
RunPage: {
|
|
381
|
+
type: string;
|
|
382
|
+
required: string[];
|
|
383
|
+
properties: Readonly<Record<string, unknown>>;
|
|
384
|
+
additionalProperties: boolean;
|
|
385
|
+
};
|
|
386
|
+
RunDetail: {
|
|
387
|
+
type: string;
|
|
388
|
+
required: string[];
|
|
389
|
+
properties: Readonly<Record<string, unknown>>;
|
|
390
|
+
additionalProperties: boolean;
|
|
391
|
+
};
|
|
392
|
+
Decision: {
|
|
393
|
+
type: string;
|
|
394
|
+
required: string[];
|
|
395
|
+
properties: Readonly<Record<string, unknown>>;
|
|
396
|
+
additionalProperties: boolean;
|
|
397
|
+
};
|
|
398
|
+
Phase: {
|
|
399
|
+
type: string;
|
|
400
|
+
required: string[];
|
|
401
|
+
properties: Readonly<Record<string, unknown>>;
|
|
402
|
+
additionalProperties: boolean;
|
|
403
|
+
};
|
|
404
|
+
Review: {
|
|
405
|
+
type: string;
|
|
406
|
+
required: string[];
|
|
407
|
+
properties: Readonly<Record<string, unknown>>;
|
|
408
|
+
additionalProperties: boolean;
|
|
409
|
+
};
|
|
410
|
+
Turn: {
|
|
411
|
+
type: string;
|
|
412
|
+
required: string[];
|
|
413
|
+
properties: Readonly<Record<string, unknown>>;
|
|
414
|
+
additionalProperties: boolean;
|
|
415
|
+
};
|
|
416
|
+
Event: {
|
|
417
|
+
type: string;
|
|
418
|
+
required: string[];
|
|
419
|
+
properties: Readonly<Record<string, unknown>>;
|
|
420
|
+
additionalProperties: boolean;
|
|
421
|
+
};
|
|
422
|
+
Problem: {
|
|
423
|
+
type: string;
|
|
424
|
+
required: string[];
|
|
425
|
+
properties: Readonly<Record<string, unknown>>;
|
|
426
|
+
additionalProperties: boolean;
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
};
|