@hearsay-tools/squawk 0.18.0-pr3722.6872 → 0.18.0-pr3725.6909
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 +5 -10
- package/dist/agent-config/account-identity.js +0 -1
- package/dist/agent-config/account-identity.js.map +1 -1
- package/dist/agent-config/catalog.d.ts +0 -2
- package/dist/agent-config/catalog.js +3 -41
- package/dist/agent-config/catalog.js.map +1 -1
- package/dist/agent-config/models.js +0 -4
- package/dist/agent-config/models.js.map +1 -1
- package/dist/automations/service.d.ts +14 -14
- package/dist/ci-wait/controller.d.ts +57 -42
- package/dist/ci-wait/errors.js +2 -0
- package/dist/ci-wait/errors.js.map +1 -1
- package/dist/ci-wait/tool-catalog.js +1 -1
- package/dist/ci-wait/tool-catalog.js.map +1 -1
- package/dist/ci-wait/tools.d.ts +16 -1
- package/dist/config.d.ts +0 -2
- package/dist/config.js +0 -1
- package/dist/config.js.map +1 -1
- package/dist/contract/activity.d.ts +0 -7
- package/dist/contract/agent-config.d.ts +0 -2
- package/dist/contract/agent-profiles.d.ts +0 -15
- package/dist/contract/automation-requests.d.ts +0 -6
- package/dist/contract/automation-storage.d.ts +0 -6
- package/dist/contract/automations.d.ts +0 -18
- package/dist/contract/config-requests.d.ts +0 -2
- package/dist/contract/delegation.d.ts +0 -8
- package/dist/contract/discovery.d.ts +0 -8
- package/dist/contract/health.d.ts +0 -3
- package/dist/contract/index.d.ts +1 -0
- package/dist/contract/index.js +50 -42
- package/dist/contract/per-runner-optional-strings.d.ts +1 -2
- package/dist/contract/provider-requests.d.ts +0 -5
- package/dist/contract/query-requests.d.ts +0 -1
- package/dist/contract/run-predicates.d.ts +8 -2
- package/dist/contract/run-requests.d.ts +0 -1
- package/dist/contract/runner-facts.d.ts +2 -42
- package/dist/contract/runner.d.ts +4 -1
- package/dist/contract/runs.d.ts +42 -44
- package/dist/contract/waits.d.ts +37 -0
- package/dist/contract/workflow-file.d.ts +0 -1
- package/dist/contract/workflows.d.ts +0 -6
- package/dist/contract/workspace-events.d.ts +2 -4
- package/dist/contract/workspace.d.ts +1 -20
- package/dist/core/agent-env.js +0 -1
- package/dist/core/agent-env.js.map +1 -1
- package/dist/core/agent-profiles.js +0 -3
- package/dist/core/agent-profiles.js.map +1 -1
- package/dist/core/agent-runner.d.ts +22 -16
- package/dist/core/agent-runner.js +17 -2
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/backend-detect.js +0 -14
- package/dist/core/backend-detect.js.map +1 -1
- package/dist/core/claude-cli-runner.js +5 -3
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/codex-app-server-runner.js +8 -5
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/codex-app-server-transport.d.ts +4 -3
- package/dist/core/codex-app-server-transport.js +7 -6
- package/dist/core/codex-app-server-transport.js.map +1 -1
- package/dist/core/host-model-catalog.js +0 -2
- package/dist/core/host-model-catalog.js.map +1 -1
- package/dist/core/model-identity.js +0 -3
- package/dist/core/model-identity.js.map +1 -1
- package/dist/core/model-presets.js +0 -4
- package/dist/core/model-presets.js.map +1 -1
- package/dist/core/model-probe-spawn.d.ts +9 -0
- package/dist/core/model-probe-spawn.js +7 -0
- package/dist/core/model-probe-spawn.js.map +1 -0
- package/dist/core/omp-model-catalog.d.ts +3 -5
- package/dist/core/omp-model-catalog.js +3 -8
- package/dist/core/omp-model-catalog.js.map +1 -1
- package/dist/core/omp-runner.js +2 -2
- package/dist/core/omp-runner.js.map +1 -1
- package/dist/core/opencode-server-runner.js +5 -2
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/pi-model-catalog.d.ts +3 -5
- package/dist/core/pi-model-catalog.js +3 -7
- package/dist/core/pi-model-catalog.js.map +1 -1
- package/dist/core/pi-runner.js +2 -2
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/core/process-usage.d.ts +1 -1
- package/dist/core/process-usage.js +1 -1
- package/dist/core/process-usage.js.map +1 -1
- package/dist/core/product-env.d.ts +0 -4
- package/dist/core/product-env.js +0 -6
- package/dist/core/product-env.js.map +1 -1
- package/dist/core/provider-auth.d.ts +1 -1
- package/dist/core/provider-auth.js +0 -29
- package/dist/core/provider-auth.js.map +1 -1
- package/dist/core/runner-cli.js +0 -2
- package/dist/core/runner-cli.js.map +1 -1
- package/dist/core/runner-factory.d.ts +1 -4
- package/dist/core/runner-factory.js +1 -4
- package/dist/core/runner-factory.js.map +1 -1
- package/dist/core/runner-facts.d.ts +5 -28
- package/dist/core/runner-facts.js +0 -20
- package/dist/core/runner-facts.js.map +1 -1
- package/dist/core/runner-model-catalog.d.ts +0 -3
- package/dist/core/runner-model-catalog.js +1 -25
- package/dist/core/runner-model-catalog.js.map +1 -1
- package/dist/core/session-process.d.ts +1 -6
- package/dist/core/session-process.js +2 -20
- package/dist/core/session-process.js.map +1 -1
- package/dist/core/ui-events.d.ts +1 -1
- package/dist/delegation/conversations.d.ts +24 -8
- package/dist/delegation/execution-identity.d.ts +3 -9
- package/dist/delegation/execution-identity.js +7 -1
- package/dist/delegation/execution-identity.js.map +1 -1
- package/dist/delegation/provision.js +2 -1
- package/dist/delegation/provision.js.map +1 -1
- package/dist/delegation/routes.d.ts +19 -19
- package/dist/delegation/transport.d.ts +19 -19
- package/dist/discovery/cli.js +2 -1
- package/dist/discovery/cli.js.map +1 -1
- package/dist/home/identity.d.ts +2 -6
- package/dist/home/identity.js +0 -2
- package/dist/home/identity.js.map +1 -1
- package/dist/managed-install/layout.d.ts +2 -3
- package/dist/managed-install/layout.js.map +1 -1
- package/dist/paths.js +1 -4
- package/dist/paths.js.map +1 -1
- package/dist/runs/legacy-run-rows.d.ts +13 -0
- package/dist/runs/legacy-run-rows.js +60 -0
- package/dist/runs/legacy-run-rows.js.map +1 -1
- package/dist/runs/outcome-commit.d.ts +24 -1
- package/dist/runs/outcome-commit.js +15 -0
- package/dist/runs/outcome-commit.js.map +1 -1
- package/dist/runs/run-exits.d.ts +68 -20
- package/dist/runs/run-summary-page.js +2 -0
- package/dist/runs/run-summary-page.js.map +1 -1
- package/dist/runs/store.d.ts +25 -19
- package/dist/runs/store.js +3 -3
- package/dist/runs/store.js.map +1 -1
- package/dist/serve-boot.d.ts +1 -1
- package/dist/serve-boot.js +1 -1
- package/dist/serve-command.d.ts +0 -2
- package/dist/serve-command.js +1 -2
- package/dist/serve-command.js.map +1 -1
- package/dist/serve-stop.d.ts +0 -1
- package/dist/serve-stop.js +0 -1
- package/dist/serve-stop.js.map +1 -1
- package/dist/server/activity-routes.d.ts +2 -2
- package/dist/server/fs-browse.js +2 -3
- package/dist/server/fs-browse.js.map +1 -1
- package/dist/server/open-in-app.js +0 -1
- package/dist/server/open-in-app.js.map +1 -1
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/server.d.ts +363 -234
- package/dist/server/server.js +10 -37
- package/dist/server/server.js.map +1 -1
- package/dist/server-install/steps.js +0 -1
- package/dist/server-install/steps.js.map +1 -1
- package/dist/skills-remote.d.ts +1 -1
- package/dist/skills-remote.js +1 -1
- package/dist/skills-remote.js.map +1 -1
- package/dist/workflows/continuation-admission.d.ts +26 -13
- package/dist/workflows/continuation-admission.js +16 -13
- package/dist/workflows/continuation-admission.js.map +1 -1
- package/dist/workflows/run/continuation-session.d.ts +1 -2
- package/dist/workflows/run/continuation-session.js +1 -5
- package/dist/workflows/run/continuation-session.js.map +1 -1
- package/dist/workflows/run/done-accepted.d.ts +36 -0
- package/dist/workflows/run/done-accepted.js +123 -0
- package/dist/workflows/run/done-accepted.js.map +1 -0
- package/dist/workflows/run/input-delivery.d.ts +19 -9
- package/dist/workflows/run/input-delivery.js +55 -17
- package/dist/workflows/run/input-delivery.js.map +1 -1
- package/dist/workflows/run/launch-read-resolver.d.ts +11 -14
- package/dist/workflows/run/launch-read-resolver.js +8 -22
- package/dist/workflows/run/launch-read-resolver.js.map +1 -1
- package/dist/workflows/run/queued-revival.d.ts +2 -2
- package/dist/workflows/run/queued-revival.js +17 -6
- package/dist/workflows/run/queued-revival.js.map +1 -1
- package/dist/workflows/run/run-finish.d.ts +11 -7
- package/dist/workflows/run/run-finish.js +33 -10
- package/dist/workflows/run/run-finish.js.map +1 -1
- package/dist/workflows/run/run-skills.d.ts +2 -2
- package/dist/workflows/run/run-skills.js +3 -4
- package/dist/workflows/run/run-skills.js.map +1 -1
- package/dist/workflows/run/session-events.js +1 -2
- package/dist/workflows/run/session-events.js.map +1 -1
- package/dist/workflows/run/turn-boundary.d.ts +6 -5
- package/dist/workflows/run/turn-boundary.js +8 -11
- package/dist/workflows/run/turn-boundary.js.map +1 -1
- package/dist/workflows/run/turn-nudges.d.ts +1 -1
- package/dist/workflows/run/turn-nudges.js +2 -2
- package/dist/workflows/run/turn-nudges.js.map +1 -1
- package/dist/workflows/run/turn-settler.d.ts +45 -4
- package/dist/workflows/run/turn-settler.js +85 -9
- package/dist/workflows/run/turn-settler.js.map +1 -1
- package/dist/workflows/run/types.d.ts +3 -1
- package/dist/workflows/run/wait-engine.d.ts +12 -4
- package/dist/workflows/run/wait-kinds.d.ts +5 -0
- package/dist/workflows/run/wait-kinds.js +13 -0
- package/dist/workflows/run/wait-kinds.js.map +1 -1
- package/dist/workflows/run-scheduling.js +4 -0
- package/dist/workflows/run-scheduling.js.map +1 -1
- package/dist/workflows/run-states.js +1 -1
- package/dist/workflows/run-states.js.map +1 -1
- package/dist/workflows/run.js +12 -0
- package/dist/workflows/run.js.map +1 -1
- package/dist/workflows/turn-end.d.ts +8 -1
- package/dist/workflows/turn-end.js +6 -0
- package/dist/workflows/turn-end.js.map +1 -1
- package/dist/workflows/types.js +0 -1
- package/dist/workflows/types.js.map +1 -1
- package/dist/workspace/agent-accounts.d.ts +1 -5
- package/dist/workspace/agent-accounts.js +0 -1
- package/dist/workspace/agent-accounts.js.map +1 -1
- package/dist/workspace/config.d.ts +1 -3
- package/dist/workspace/config.js +0 -1
- package/dist/workspace/config.js.map +1 -1
- package/package.json +4 -4
- package/scripts/mock-ci-tool.mjs +2 -15
- package/scripts/mock-deferred-turn-start.mjs +1 -1
- package/scripts/mock-provider-failures.mjs +0 -9
- package/scripts/mock-scenario.d.mts +1 -1
- package/scripts/mock-scenario.mjs +2 -2
- package/web/dist/assets/activity-motion-DXtoOkpz.js +2 -0
- package/web/dist/assets/{activity-route-rhYVhpXu.js → activity-route-r-em7Y-G.js} +1 -1
- package/web/dist/assets/agent-accounts-DuMsyDoO.js +18 -0
- package/web/dist/assets/attention-CB_z05E7.js +1 -0
- package/web/dist/assets/{cez-idle-BqmM5iRr.js → cez-idle-D49bY6KR.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-CZAQ_wMQ.js → commit-diff-panel-BGLQaKRb.js} +1 -1
- package/web/dist/assets/diff-BRFJnYsC.js +3 -0
- package/web/dist/assets/{diff-view-Bn7tV6S7.js → diff-view-JWqbvzMs.js} +3 -3
- package/web/dist/assets/{file-preview-1f8vPVsK.js → file-preview-BW__Krxm.js} +1 -1
- package/web/dist/assets/{git-toolbar-BbY7l1x9.js → git-toolbar-DoXf_s-G.js} +1 -1
- package/web/dist/assets/{github-CTdrVztq.js → github-CijmslJ6.js} +1 -1
- package/web/dist/assets/{global-activity-route-xvY0P60v.js → global-activity-route-B2EeYnAW.js} +1 -1
- package/web/dist/assets/index-BHoqo9RG.js +17 -0
- package/web/dist/assets/{index-DTIPJ2b8.css → index-Ci54Zqis.css} +1 -1
- package/web/dist/assets/{live-protocol-BmbbwF5R.js → live-protocol-DHEBTIRD.js} +1 -1
- package/web/dist/assets/preview-pane-connected-D6vrA6hJ.js +3 -0
- package/web/dist/assets/{project-router-BqAKGSaS.js → project-router-C5EZmTkk.js} +1 -1
- package/web/dist/assets/project-scope-context-HUq7jkZN.js +4 -0
- package/web/dist/assets/{prompt-template-menu-DpCrLDWG.js → prompt-template-menu-DOYsMTKv.js} +1 -1
- package/web/dist/assets/queries-BXHx1ZPw.js +1 -0
- package/web/dist/assets/{reference-chip-Dd_YU2KX.js → reference-chip-CjJnlcQb.js} +1 -1
- package/web/dist/assets/{repo-git-BrkR6pTH.js → repo-git-CyRoQgtr.js} +1 -1
- package/web/dist/assets/{report-reader-BeZdoVhf.js → report-reader-BJiEbYfZ.js} +1 -1
- package/web/dist/assets/reports-Ddn-WBxa.js +1 -0
- package/web/dist/assets/run-header-B7qHisMu.js +2 -0
- package/web/dist/assets/runner-facts-BpvNgJqf.js +1 -0
- package/web/dist/assets/skills-D2wzJWpY.js +1 -0
- package/web/dist/assets/{tab-link-CGzPcVvS.js → tab-link-B_gKjZgM.js} +1 -1
- package/web/dist/assets/{task-changes-f9ldtHuA.js → task-changes-CqKQIYHP.js} +1 -1
- package/web/dist/assets/{task-commits-CLjEhkFM.js → task-commits-CY7XFJBU.js} +1 -1
- package/web/dist/assets/{task-files-BEKlg0dR.js → task-files-CW1gWAY3.js} +1 -1
- package/web/dist/assets/{task-github-item-CbdPCKot.js → task-github-item-Djq-z2As.js} +1 -1
- package/web/dist/assets/task-thread-DyZ9WjLc.js +9 -0
- package/web/dist/assets/{thread-state-ZdBez7Ij.js → thread-state-Dbru_dO3.js} +1 -1
- package/web/dist/assets/use-desktop-BCMH-x7R.js +1 -0
- package/web/dist/assets/{use-hand-to-agent-state-BOD9cT6o.js → use-hand-to-agent-state-C94Si0KS.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-DYAQvmMU.js → useInfiniteQuery-O53uZ95W.js} +1 -1
- package/web/dist/assets/useQuery-C9ErlZEv.js +1 -0
- package/web/dist/assets/workflows-CwS6zbSa.js +7 -0
- package/web/dist/assets/{ws-BXpZYApG.js → ws-CRnL5yIc.js} +1 -1
- package/web/dist/index.html +16 -15
- package/web/dist/live-worker.js +1 -1
- package/dist/core/cursor-cli-flags.d.ts +0 -19
- package/dist/core/cursor-cli-flags.js +0 -47
- package/dist/core/cursor-cli-flags.js.map +0 -1
- package/dist/core/cursor-config-options.d.ts +0 -18
- package/dist/core/cursor-config-options.js +0 -31
- package/dist/core/cursor-config-options.js.map +0 -1
- package/dist/core/cursor-model-catalog.d.ts +0 -50
- package/dist/core/cursor-model-catalog.js +0 -306
- package/dist/core/cursor-model-catalog.js.map +0 -1
- package/dist/core/cursor-print-capabilities.d.ts +0 -14
- package/dist/core/cursor-print-capabilities.js +0 -169
- package/dist/core/cursor-print-capabilities.js.map +0 -1
- package/dist/core/cursor-print-process.d.ts +0 -36
- package/dist/core/cursor-print-process.js +0 -117
- package/dist/core/cursor-print-process.js.map +0 -1
- package/dist/core/cursor-print-runner.d.ts +0 -50
- package/dist/core/cursor-print-runner.js +0 -579
- package/dist/core/cursor-print-runner.js.map +0 -1
- package/dist/core/cursor-print-tool-catalog.d.ts +0 -3
- package/dist/core/cursor-print-tool-catalog.js +0 -13
- package/dist/core/cursor-print-tool-catalog.js.map +0 -1
- package/dist/core/cursor-print-ui-mapper.d.ts +0 -47
- package/dist/core/cursor-print-ui-mapper.js +0 -574
- package/dist/core/cursor-print-ui-mapper.js.map +0 -1
- package/dist/core/cursor-provider-error.d.ts +0 -9
- package/dist/core/cursor-provider-error.js +0 -15
- package/dist/core/cursor-provider-error.js.map +0 -1
- package/dist/core/cursor-runner.d.ts +0 -53
- package/dist/core/cursor-runner.js +0 -145
- package/dist/core/cursor-runner.js.map +0 -1
- package/dist/core/disclaim-spawn.d.ts +0 -11
- package/dist/core/disclaim-spawn.js +0 -60
- package/dist/core/disclaim-spawn.js.map +0 -1
- package/dist/desktop-supervisor.d.ts +0 -10
- package/dist/desktop-supervisor.js +0 -52
- package/dist/desktop-supervisor.js.map +0 -1
- package/scripts/mock-cursor-hang-stdin-late.mjs +0 -35
- package/scripts/mock-cursor-hang-stdin.mjs +0 -30
- package/scripts/mock-cursor-print.mjs +0 -237
- package/scripts/probe-cursor-print.mjs +0 -699
- package/web/dist/assets/activity-motion-awuRigEi.js +0 -2
- package/web/dist/assets/agent-accounts-D3q1WLxk.js +0 -18
- package/web/dist/assets/attention-CdwMIvQG.js +0 -1
- package/web/dist/assets/diff-BDJ4xGSd.js +0 -3
- package/web/dist/assets/index-MgNz22Tg.js +0 -17
- package/web/dist/assets/preview-pane-connected-D6TfZFTU.js +0 -3
- package/web/dist/assets/project-scope-context-B0yKt2yI.js +0 -4
- package/web/dist/assets/queries-DoYRza8s.js +0 -1
- package/web/dist/assets/reports-D93WfzdD.js +0 -1
- package/web/dist/assets/run-header-FB4j_Fjm.js +0 -2
- package/web/dist/assets/skills-BV3eF6mC.js +0 -1
- package/web/dist/assets/task-thread-BPSL3OMS.js +0 -9
- package/web/dist/assets/use-desktop-BwkqVHep.js +0 -1
- package/web/dist/assets/useQuery-CnVG8NoC.js +0 -1
- package/web/dist/assets/workflows-Driy32Xn.js +0 -7
|
@@ -207,7 +207,6 @@ export declare const workerCreationReceiptSchema: z.ZodObject<{
|
|
|
207
207
|
export declare const workerBackendSchema: z.ZodEnum<{
|
|
208
208
|
claude: "claude";
|
|
209
209
|
codex: "codex";
|
|
210
|
-
cursor: "cursor";
|
|
211
210
|
omp: "omp";
|
|
212
211
|
opencode: "opencode";
|
|
213
212
|
pi: "pi";
|
|
@@ -312,7 +311,6 @@ export declare const workerCollectedResultSchema: z.ZodObject<{
|
|
|
312
311
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
313
312
|
claude: "claude";
|
|
314
313
|
codex: "codex";
|
|
315
|
-
cursor: "cursor";
|
|
316
314
|
omp: "omp";
|
|
317
315
|
opencode: "opencode";
|
|
318
316
|
pi: "pi";
|
|
@@ -473,7 +471,6 @@ export declare const workerResultFileSchema: z.ZodObject<{
|
|
|
473
471
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
474
472
|
claude: "claude";
|
|
475
473
|
codex: "codex";
|
|
476
|
-
cursor: "cursor";
|
|
477
474
|
omp: "omp";
|
|
478
475
|
opencode: "opencode";
|
|
479
476
|
pi: "pi";
|
|
@@ -1075,7 +1072,6 @@ export declare const workerSpawnRequestSchema: z.ZodObject<{
|
|
|
1075
1072
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
1076
1073
|
claude: "claude";
|
|
1077
1074
|
codex: "codex";
|
|
1078
|
-
cursor: "cursor";
|
|
1079
1075
|
omp: "omp";
|
|
1080
1076
|
opencode: "opencode";
|
|
1081
1077
|
pi: "pi";
|
|
@@ -1174,7 +1170,6 @@ export declare const workerInspectionSchema: z.ZodObject<{
|
|
|
1174
1170
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
1175
1171
|
claude: "claude";
|
|
1176
1172
|
codex: "codex";
|
|
1177
|
-
cursor: "cursor";
|
|
1178
1173
|
omp: "omp";
|
|
1179
1174
|
opencode: "opencode";
|
|
1180
1175
|
pi: "pi";
|
|
@@ -1566,7 +1561,6 @@ export declare const runRelationshipsSchema: z.ZodObject<{
|
|
|
1566
1561
|
backend: z.ZodOptional<z.ZodEnum<{
|
|
1567
1562
|
claude: "claude";
|
|
1568
1563
|
codex: "codex";
|
|
1569
|
-
cursor: "cursor";
|
|
1570
1564
|
omp: "omp";
|
|
1571
1565
|
opencode: "opencode";
|
|
1572
1566
|
pi: "pi";
|
|
@@ -1761,7 +1755,6 @@ export declare const delegationErrorResponseSchema: z.ZodObject<{
|
|
|
1761
1755
|
runner: z.ZodEnum<{
|
|
1762
1756
|
claude: "claude";
|
|
1763
1757
|
codex: "codex";
|
|
1764
|
-
cursor: "cursor";
|
|
1765
1758
|
omp: "omp";
|
|
1766
1759
|
opencode: "opencode";
|
|
1767
1760
|
pi: "pi";
|
|
@@ -1782,7 +1775,6 @@ export declare const delegationErrorResponseSchema: z.ZodObject<{
|
|
|
1782
1775
|
otherRunners: z.ZodArray<z.ZodEnum<{
|
|
1783
1776
|
claude: "claude";
|
|
1784
1777
|
codex: "codex";
|
|
1785
|
-
cursor: "cursor";
|
|
1786
1778
|
omp: "omp";
|
|
1787
1779
|
opencode: "opencode";
|
|
1788
1780
|
pi: "pi";
|
|
@@ -7,7 +7,6 @@ export declare const hostDiscoveryRequestSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
7
7
|
runner: z.ZodEnum<{
|
|
8
8
|
claude: "claude";
|
|
9
9
|
codex: "codex";
|
|
10
|
-
cursor: "cursor";
|
|
11
10
|
omp: "omp";
|
|
12
11
|
opencode: "opencode";
|
|
13
12
|
pi: "pi";
|
|
@@ -20,7 +19,6 @@ export declare const discoveryRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
20
19
|
runner: z.ZodEnum<{
|
|
21
20
|
claude: "claude";
|
|
22
21
|
codex: "codex";
|
|
23
|
-
cursor: "cursor";
|
|
24
22
|
omp: "omp";
|
|
25
23
|
opencode: "opencode";
|
|
26
24
|
pi: "pi";
|
|
@@ -44,7 +42,6 @@ export declare const discoveredRunnerSchema: z.ZodObject<{
|
|
|
44
42
|
runner: z.ZodEnum<{
|
|
45
43
|
claude: "claude";
|
|
46
44
|
codex: "codex";
|
|
47
|
-
cursor: "cursor";
|
|
48
45
|
omp: "omp";
|
|
49
46
|
opencode: "opencode";
|
|
50
47
|
pi: "pi";
|
|
@@ -65,7 +62,6 @@ export declare const discoveredRunnersSchema: z.ZodObject<{
|
|
|
65
62
|
runner: z.ZodEnum<{
|
|
66
63
|
claude: "claude";
|
|
67
64
|
codex: "codex";
|
|
68
|
-
cursor: "cursor";
|
|
69
65
|
omp: "omp";
|
|
70
66
|
opencode: "opencode";
|
|
71
67
|
pi: "pi";
|
|
@@ -80,7 +76,6 @@ export declare const discoveredTasksSchema: z.ZodObject<{
|
|
|
80
76
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
81
77
|
claude: "claude";
|
|
82
78
|
codex: "codex";
|
|
83
|
-
cursor: "cursor";
|
|
84
79
|
omp: "omp";
|
|
85
80
|
opencode: "opencode";
|
|
86
81
|
pi: "pi";
|
|
@@ -124,7 +119,6 @@ export declare const discoveryResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
124
119
|
runner: z.ZodEnum<{
|
|
125
120
|
claude: "claude";
|
|
126
121
|
codex: "codex";
|
|
127
|
-
cursor: "cursor";
|
|
128
122
|
omp: "omp";
|
|
129
123
|
opencode: "opencode";
|
|
130
124
|
pi: "pi";
|
|
@@ -134,7 +128,6 @@ export declare const discoveryResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
134
128
|
runner: z.ZodEnum<{
|
|
135
129
|
claude: "claude";
|
|
136
130
|
codex: "codex";
|
|
137
|
-
cursor: "cursor";
|
|
138
131
|
omp: "omp";
|
|
139
132
|
opencode: "opencode";
|
|
140
133
|
pi: "pi";
|
|
@@ -165,7 +158,6 @@ export declare const discoveryResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
165
158
|
runner: z.ZodOptional<z.ZodEnum<{
|
|
166
159
|
claude: "claude";
|
|
167
160
|
codex: "codex";
|
|
168
|
-
cursor: "cursor";
|
|
169
161
|
omp: "omp";
|
|
170
162
|
opencode: "opencode";
|
|
171
163
|
pi: "pi";
|
|
@@ -6,7 +6,6 @@ export declare const backendCheckSchema: z.ZodObject<{
|
|
|
6
6
|
name: z.ZodEnum<{
|
|
7
7
|
claude: "claude";
|
|
8
8
|
codex: "codex";
|
|
9
|
-
cursor: "cursor";
|
|
10
9
|
gh: "gh";
|
|
11
10
|
git: "git";
|
|
12
11
|
omp: "omp";
|
|
@@ -53,7 +52,6 @@ export declare const healthResponseSchema: z.ZodObject<{
|
|
|
53
52
|
name: z.ZodEnum<{
|
|
54
53
|
claude: "claude";
|
|
55
54
|
codex: "codex";
|
|
56
|
-
cursor: "cursor";
|
|
57
55
|
gh: "gh";
|
|
58
56
|
git: "git";
|
|
59
57
|
omp: "omp";
|
|
@@ -67,7 +65,6 @@ export declare const healthResponseSchema: z.ZodObject<{
|
|
|
67
65
|
defaultRunner: z.ZodEnum<{
|
|
68
66
|
claude: "claude";
|
|
69
67
|
codex: "codex";
|
|
70
|
-
cursor: "cursor";
|
|
71
68
|
omp: "omp";
|
|
72
69
|
opencode: "opencode";
|
|
73
70
|
pi: "pi";
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './delegation.ts';
|
|
|
9
9
|
export * from './effort.ts';
|
|
10
10
|
export * from './health.ts';
|
|
11
11
|
export * from './runner-facts.ts';
|
|
12
|
+
export { removedRunnerLabel, removedRunnerMessage } from './runner.ts';
|
|
12
13
|
export * from './runs.ts';
|
|
13
14
|
export * from './task-options.ts';
|
|
14
15
|
export * from './run-labels.ts';
|
package/dist/contract/index.js
CHANGED
|
@@ -155,7 +155,14 @@ var stepKindSchema = z4.enum(["agent", "check"]);
|
|
|
155
155
|
|
|
156
156
|
// ../contract/src/runner.ts
|
|
157
157
|
import { z as z5 } from "zod";
|
|
158
|
-
var runnerSchema = z5.enum(["claude", "codex", "opencode", "pi", "
|
|
158
|
+
var runnerSchema = z5.enum(["claude", "codex", "opencode", "pi", "omp"]);
|
|
159
|
+
function removedRunnerLabel(runner) {
|
|
160
|
+
return `${runner.charAt(0).toUpperCase()}${runner.slice(1)} (removed)`;
|
|
161
|
+
}
|
|
162
|
+
function removedRunnerMessage(runner) {
|
|
163
|
+
const name = runner.charAt(0).toUpperCase() + runner.slice(1);
|
|
164
|
+
return `The ${name} runner is no longer supported. Pick another runner to continue this task in a new session.`;
|
|
165
|
+
}
|
|
159
166
|
|
|
160
167
|
// ../contract/src/workspace.ts
|
|
161
168
|
import { z as z8 } from "zod";
|
|
@@ -168,7 +175,6 @@ function perRunnerOptionalStrings() {
|
|
|
168
175
|
codex: z6.string().optional(),
|
|
169
176
|
opencode: z6.string().optional(),
|
|
170
177
|
pi: z6.string().optional(),
|
|
171
|
-
cursor: z6.string().optional(),
|
|
172
178
|
omp: z6.string().optional()
|
|
173
179
|
});
|
|
174
180
|
}
|
|
@@ -232,7 +238,6 @@ var setWorkspaceConfigInputSchema = z8.object({
|
|
|
232
238
|
codex: z8.string().trim().min(1).max(200).nullable().optional(),
|
|
233
239
|
opencode: z8.string().trim().min(1).max(200).nullable().optional(),
|
|
234
240
|
pi: z8.string().trim().min(1).max(200).nullable().optional(),
|
|
235
|
-
cursor: z8.string().trim().min(1).max(200).nullable().optional(),
|
|
236
241
|
omp: z8.string().trim().min(1).max(200).nullable().optional()
|
|
237
242
|
}).optional()
|
|
238
243
|
}).optional(),
|
|
@@ -434,7 +439,6 @@ var setConfigInputSchema = z8.object({
|
|
|
434
439
|
codex: z8.string().trim().max(200).nullable().optional(),
|
|
435
440
|
opencode: z8.string().trim().max(200).nullable().optional(),
|
|
436
441
|
pi: z8.string().trim().max(200).nullable().optional(),
|
|
437
|
-
cursor: z8.string().trim().max(200).nullable().optional(),
|
|
438
442
|
omp: z8.string().trim().max(200).nullable().optional()
|
|
439
443
|
}).optional(),
|
|
440
444
|
maxParallel: z8.number().int().min(1).max(16).optional(),
|
|
@@ -1123,50 +1127,27 @@ var RUNNER_COCKPIT_FACTS = {
|
|
|
1123
1127
|
claude: {
|
|
1124
1128
|
displayName: "Claude Code",
|
|
1125
1129
|
modelListName: "Claude",
|
|
1126
|
-
|
|
1127
|
-
effortLevels: "catalog-or-generic",
|
|
1128
|
-
modelIdScope: "own",
|
|
1129
|
-
inputMode: "steer"
|
|
1130
|
+
modelIdScope: "own"
|
|
1130
1131
|
},
|
|
1131
1132
|
codex: {
|
|
1132
1133
|
displayName: "Codex",
|
|
1133
1134
|
modelListName: "Codex",
|
|
1134
|
-
|
|
1135
|
-
effortLevels: "catalog-or-generic",
|
|
1136
|
-
modelIdScope: "own",
|
|
1137
|
-
inputMode: "steer"
|
|
1135
|
+
modelIdScope: "own"
|
|
1138
1136
|
},
|
|
1139
1137
|
opencode: {
|
|
1140
1138
|
displayName: "OpenCode",
|
|
1141
1139
|
modelListName: "OpenCode",
|
|
1142
|
-
|
|
1143
|
-
effortLevels: "catalog-or-generic",
|
|
1144
|
-
modelIdScope: "provider-spanning",
|
|
1145
|
-
inputMode: "steer"
|
|
1140
|
+
modelIdScope: "provider-spanning"
|
|
1146
1141
|
},
|
|
1147
1142
|
pi: {
|
|
1148
1143
|
displayName: "pi",
|
|
1149
1144
|
modelListName: "Pi",
|
|
1150
|
-
|
|
1151
|
-
effortLevels: "catalog-or-generic",
|
|
1152
|
-
modelIdScope: "provider-spanning",
|
|
1153
|
-
inputMode: "steer"
|
|
1154
|
-
},
|
|
1155
|
-
cursor: {
|
|
1156
|
-
displayName: "Cursor",
|
|
1157
|
-
modelListName: "Cursor",
|
|
1158
|
-
modelCatalogDelivery: "pushed",
|
|
1159
|
-
effortLevels: "catalog-only",
|
|
1160
|
-
modelIdScope: "any-provider",
|
|
1161
|
-
inputMode: "boundary"
|
|
1145
|
+
modelIdScope: "provider-spanning"
|
|
1162
1146
|
},
|
|
1163
1147
|
omp: {
|
|
1164
1148
|
displayName: "OMP",
|
|
1165
1149
|
modelListName: "OMP",
|
|
1166
|
-
|
|
1167
|
-
effortLevels: "catalog-or-generic",
|
|
1168
|
-
modelIdScope: "provider-spanning",
|
|
1169
|
-
inputMode: "steer"
|
|
1150
|
+
modelIdScope: "provider-spanning"
|
|
1170
1151
|
}
|
|
1171
1152
|
};
|
|
1172
1153
|
function runnerDisplayName(runner) {
|
|
@@ -1175,9 +1156,6 @@ function runnerDisplayName(runner) {
|
|
|
1175
1156
|
function runnerModelListName(runner) {
|
|
1176
1157
|
return RUNNER_COCKPIT_FACTS[runner].modelListName;
|
|
1177
1158
|
}
|
|
1178
|
-
function cockpitRunnersWhere(matches) {
|
|
1179
|
-
return Object.keys(RUNNER_COCKPIT_FACTS).filter((runner) => matches(RUNNER_COCKPIT_FACTS[runner]));
|
|
1180
|
-
}
|
|
1181
1159
|
|
|
1182
1160
|
// ../contract/src/runs.ts
|
|
1183
1161
|
import { z as z20 } from "zod";
|
|
@@ -2252,7 +2230,14 @@ var doneErrorCodeSchema = z17.enum([
|
|
|
2252
2230
|
"finish_requested",
|
|
2253
2231
|
"generation_mismatch",
|
|
2254
2232
|
"invalid_request",
|
|
2255
|
-
"unavailable"
|
|
2233
|
+
"unavailable",
|
|
2234
|
+
"input_pending"
|
|
2235
|
+
]);
|
|
2236
|
+
var doneOwedInputSchema = z17.discriminatedUnion("kind", [
|
|
2237
|
+
z17.object({ kind: z17.literal("wait_result"), wait_id: z17.string(), wait_kind: z17.string() }).strict(),
|
|
2238
|
+
z17.object({ kind: z17.literal("queued"), input_id: z17.string().optional(), source: z17.string() }).strict(),
|
|
2239
|
+
z17.object({ kind: z17.literal("in_flight"), input_id: z17.string() }).strict(),
|
|
2240
|
+
z17.object({ kind: z17.literal("unread"), input_id: z17.string() }).strict()
|
|
2256
2241
|
]);
|
|
2257
2242
|
var doneAccepted = {
|
|
2258
2243
|
ok: z17.literal(true),
|
|
@@ -2273,7 +2258,9 @@ var squawkDoneAnswerSchema = z17.discriminatedUnion("ok", [
|
|
|
2273
2258
|
worker_id: z17.string(),
|
|
2274
2259
|
reason: z17.enum(["outstanding", "uncollected", "question"])
|
|
2275
2260
|
}).strict()).max(64).optional(),
|
|
2276
|
-
open_waits: z17.array(openWaitSchema).max(WAIT_LIMIT).optional()
|
|
2261
|
+
open_waits: z17.array(openWaitSchema).max(WAIT_LIMIT).optional(),
|
|
2262
|
+
/** `input_pending` (hearsay-tools/squawk#2587): what the run still owes the agent. */
|
|
2263
|
+
owed: z17.array(doneOwedInputSchema).max(64).optional()
|
|
2277
2264
|
}).strict()
|
|
2278
2265
|
]);
|
|
2279
2266
|
var waitingOnUnionSchema = z17.discriminatedUnion("kind", [
|
|
@@ -2494,7 +2481,6 @@ var completionActionSchema = z20.object({
|
|
|
2494
2481
|
phase: z20.enum(["pending", "blocked", "complete"]),
|
|
2495
2482
|
message: z20.string().optional()
|
|
2496
2483
|
});
|
|
2497
|
-
var sessionTransportSchema = z20.enum(["cursor-acp", "cursor-print"]);
|
|
2498
2484
|
var usageCounterSchema = z20.number().finite().nonnegative();
|
|
2499
2485
|
var stepStateSchema = z20.object({
|
|
2500
2486
|
id: z20.string(),
|
|
@@ -2517,9 +2503,10 @@ var stepStateSchema = z20.object({
|
|
|
2517
2503
|
error: z20.string().optional(),
|
|
2518
2504
|
/** Latest agent session id — `claude --resume <id>` and friends. */
|
|
2519
2505
|
sessionId: z20.string().optional(),
|
|
2520
|
-
sessionTransport: sessionTransportSchema.optional(),
|
|
2521
2506
|
/** Backend that owns `sessionId`; absent on records written before backend affinity. */
|
|
2522
2507
|
backend: runnerSchema.optional(),
|
|
2508
|
+
/** A runner Squawk no longer ships that this step ran on; its session is gone (hearsay-tools/squawk#3715). */
|
|
2509
|
+
removedBackend: z20.string().optional(),
|
|
2523
2510
|
/** Agent account (spec 2026-07-29-agent-profiles) that owns `sessionId` — `default`, or a
|
|
2524
2511
|
* stored profile id. The two are a PAIR: a session id only resolves inside the config dir
|
|
2525
2512
|
* that created it, so resume and Continue read this rather than the project's current
|
|
@@ -2589,6 +2576,7 @@ var runPullRequestSchema = z20.object({
|
|
|
2589
2576
|
source: z20.enum(["declared", "created"])
|
|
2590
2577
|
}).refine((entry) => entry.url === void 0 || Number(/\/pull\/(\d+)/i.exec(entry.url)?.[1]) === entry.number, { message: "PR URL and number must agree" });
|
|
2591
2578
|
var workflowCursorSchema = z20.object({ stepId: z20.string(), mode: z20.enum(["resume", "start"]) });
|
|
2579
|
+
var doneAcceptedSchema = z20.object({ session: z20.string(), at: z20.string(), seq: z20.number().int().nonnegative(), summary: z20.string().optional(), freeTurn: z20.literal(true).optional() });
|
|
2592
2580
|
var runRecordSchema = z20.object({
|
|
2593
2581
|
id: z20.string(),
|
|
2594
2582
|
title: z20.string(),
|
|
@@ -2610,6 +2598,10 @@ var runRecordSchema = z20.object({
|
|
|
2610
2598
|
* failed attempt awaiting CI recovery or a provider retry), `start` runs it after a Continue
|
|
2611
2599
|
* completed the step before it. Only the run exits write it (`runs/run-exits.ts`). */
|
|
2612
2600
|
workflowCursor: workflowCursorSchema.optional(),
|
|
2601
|
+
/** An accepted `cezar_done` (ADR 0064): the run finishes at the end of a turn with no new wait or
|
|
2602
|
+
* question, also one that delivered input after it (hearsay-tools/squawk#2587). `run-finish.ts`
|
|
2603
|
+
* records it and `turn-settler.ts` retires it, through `commitOutcome`; a final run keeps it. */
|
|
2604
|
+
doneAccepted: doneAcceptedSchema.optional(),
|
|
2613
2605
|
/** The last turn carried a malformed explicit structured question. */
|
|
2614
2606
|
invalidAsk: z20.boolean().optional(),
|
|
2615
2607
|
/** Owned-run authority; absence is legacy, invalid is explicitly quarantined. */
|
|
@@ -2640,6 +2632,8 @@ var runRecordSchema = z20.object({
|
|
|
2640
2632
|
/** Normalized provider/model identity used for attribution and reproducible replay. */
|
|
2641
2633
|
modelIdentity: z20.string().optional(),
|
|
2642
2634
|
runner: runnerSchema.optional(),
|
|
2635
|
+
/** A runner Squawk no longer ships that this run ran on; it continues only on a named runner (hearsay-tools/squawk#3715). */
|
|
2636
|
+
removedRunner: z20.string().optional(),
|
|
2643
2637
|
/** The composer's per-task agent account (spec 2026-07-29-agent-profiles), applying to steps
|
|
2644
2638
|
* on `runner`. Absent = the run follows the project's own selection. */
|
|
2645
2639
|
agentProfile: z20.string().optional(),
|
|
@@ -2905,6 +2899,7 @@ var runSummarySchema = z20.object({
|
|
|
2905
2899
|
* task no automation launched; the sidebar files the task under Automations when present. */
|
|
2906
2900
|
automationId: z20.string().optional(),
|
|
2907
2901
|
runner: runRecordSchema.shape.runner,
|
|
2902
|
+
removedRunner: runRecordSchema.shape.removedRunner,
|
|
2908
2903
|
model: z20.string().optional(),
|
|
2909
2904
|
notify: z20.boolean().optional(),
|
|
2910
2905
|
diffStat: diffStatSchema.optional(),
|
|
@@ -2947,6 +2942,7 @@ var SUMMARY_OPTIONAL_KEYS = [
|
|
|
2947
2942
|
"variant",
|
|
2948
2943
|
"pinned",
|
|
2949
2944
|
"runner",
|
|
2945
|
+
"removedRunner",
|
|
2950
2946
|
"model",
|
|
2951
2947
|
"notify",
|
|
2952
2948
|
"diffStat",
|
|
@@ -4594,8 +4590,17 @@ function latestSessionStep(steps, except) {
|
|
|
4594
4590
|
function sessionRunner(step, run) {
|
|
4595
4591
|
return step?.backend ?? run?.runner ?? "claude";
|
|
4596
4592
|
}
|
|
4593
|
+
function removedRunnerStepAfter(steps, sessionId) {
|
|
4594
|
+
let latest;
|
|
4595
|
+
for (const step of steps) {
|
|
4596
|
+
if (step.removedBackend === void 0 && (sessionId === void 0 || step.sessionId !== sessionId)) continue;
|
|
4597
|
+
if (!latest || !step.startedAt || !latest.startedAt || step.startedAt >= latest.startedAt) latest = step;
|
|
4598
|
+
}
|
|
4599
|
+
return latest?.removedBackend !== void 0 ? latest : void 0;
|
|
4600
|
+
}
|
|
4597
4601
|
function latestSession(run) {
|
|
4598
|
-
const
|
|
4602
|
+
const latest = latestSessionStep(run.steps);
|
|
4603
|
+
const step = removedRunnerStepAfter(run.steps, latest?.sessionId) ? void 0 : latest;
|
|
4599
4604
|
return { sessionId: step?.sessionId, backend: sessionRunner(step, run), profileId: step?.profileId };
|
|
4600
4605
|
}
|
|
4601
4606
|
var LIVE_STATUSES = /* @__PURE__ */ new Set(["queued", "running", "waiting"]);
|
|
@@ -6109,7 +6114,6 @@ export {
|
|
|
6109
6114
|
ciWaitRequestSchema,
|
|
6110
6115
|
ciWaitResultSchema,
|
|
6111
6116
|
ciWaitSchema,
|
|
6112
|
-
cockpitRunnersWhere,
|
|
6113
6117
|
commitQuerySchema,
|
|
6114
6118
|
completionActionSchema,
|
|
6115
6119
|
completionControlsShape,
|
|
@@ -6163,7 +6167,9 @@ export {
|
|
|
6163
6167
|
discoveredTasksSchema,
|
|
6164
6168
|
discoveryRequestSchema,
|
|
6165
6169
|
discoveryResponseSchema,
|
|
6170
|
+
doneAcceptedSchema,
|
|
6166
6171
|
doneErrorCodeSchema,
|
|
6172
|
+
doneOwedInputSchema,
|
|
6167
6173
|
editQueuedMessageResponseSchema,
|
|
6168
6174
|
effortFieldSchema,
|
|
6169
6175
|
effortLevelSchema,
|
|
@@ -6387,6 +6393,9 @@ export {
|
|
|
6387
6393
|
removeProjectResponseSchema,
|
|
6388
6394
|
removeQueuedMessageResponseSchema,
|
|
6389
6395
|
removeWorktreeResponseSchema,
|
|
6396
|
+
removedRunnerLabel,
|
|
6397
|
+
removedRunnerMessage,
|
|
6398
|
+
removedRunnerStepAfter,
|
|
6390
6399
|
repoBranchCountsResponseSchema,
|
|
6391
6400
|
repoBranchEntrySchema,
|
|
6392
6401
|
repoBranchResponseSchema,
|
|
@@ -6463,7 +6472,6 @@ export {
|
|
|
6463
6472
|
sendAgentReportInputSchema,
|
|
6464
6473
|
sendAgentReportResponseSchema,
|
|
6465
6474
|
sessionRunner,
|
|
6466
|
-
sessionTransportSchema,
|
|
6467
6475
|
setAgentConfigInputSchema,
|
|
6468
6476
|
setAgentConfigSchema,
|
|
6469
6477
|
setConfigInputSchema,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
/** Optional string values keyed by the
|
|
2
|
+
/** Optional string values keyed by the runners, each independently optional. */
|
|
3
3
|
export declare function perRunnerOptionalStrings(): z.ZodObject<{
|
|
4
4
|
claude: z.ZodOptional<z.ZodString>;
|
|
5
5
|
codex: z.ZodOptional<z.ZodString>;
|
|
6
6
|
opencode: z.ZodOptional<z.ZodString>;
|
|
7
7
|
pi: z.ZodOptional<z.ZodString>;
|
|
8
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
9
8
|
omp: z.ZodOptional<z.ZodString>;
|
|
10
9
|
}, z.core.$strip>;
|
|
@@ -3,7 +3,6 @@ export declare const providerConnectSchema: z.ZodObject<{
|
|
|
3
3
|
provider: z.ZodEnum<{
|
|
4
4
|
claude: "claude";
|
|
5
5
|
codex: "codex";
|
|
6
|
-
cursor: "cursor";
|
|
7
6
|
omp: "omp";
|
|
8
7
|
opencode: "opencode";
|
|
9
8
|
pi: "pi";
|
|
@@ -17,7 +16,6 @@ export declare const createAgentProfileSchema: z.ZodObject<{
|
|
|
17
16
|
provider: z.ZodEnum<{
|
|
18
17
|
claude: "claude";
|
|
19
18
|
codex: "codex";
|
|
20
|
-
cursor: "cursor";
|
|
21
19
|
omp: "omp";
|
|
22
20
|
opencode: "opencode";
|
|
23
21
|
pi: "pi";
|
|
@@ -41,7 +39,6 @@ export declare const selectAgentProfileSchema: z.ZodObject<{
|
|
|
41
39
|
provider: z.ZodEnum<{
|
|
42
40
|
claude: "claude";
|
|
43
41
|
codex: "codex";
|
|
44
|
-
cursor: "cursor";
|
|
45
42
|
omp: "omp";
|
|
46
43
|
opencode: "opencode";
|
|
47
44
|
pi: "pi";
|
|
@@ -51,7 +48,6 @@ export declare const selectAgentProfileSchema: z.ZodObject<{
|
|
|
51
48
|
export declare const providerParamSchema: z.ZodEnum<{
|
|
52
49
|
claude: "claude";
|
|
53
50
|
codex: "codex";
|
|
54
|
-
cursor: "cursor";
|
|
55
51
|
omp: "omp";
|
|
56
52
|
opencode: "opencode";
|
|
57
53
|
pi: "pi";
|
|
@@ -66,7 +62,6 @@ export declare const providerRouteParamsSchema: z.ZodObject<{
|
|
|
66
62
|
provider: z.ZodEnum<{
|
|
67
63
|
claude: "claude";
|
|
68
64
|
codex: "codex";
|
|
69
|
-
cursor: "cursor";
|
|
70
65
|
omp: "omp";
|
|
71
66
|
opencode: "opencode";
|
|
72
67
|
pi: "pi";
|
|
@@ -30,7 +30,6 @@ export declare const modelDiscoveryQuerySchema: z.ZodObject<{
|
|
|
30
30
|
runner: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>]>, z.ZodEnum<{
|
|
31
31
|
claude: "claude";
|
|
32
32
|
codex: "codex";
|
|
33
|
-
cursor: "cursor";
|
|
34
33
|
omp: "omp";
|
|
35
34
|
opencode: "opencode";
|
|
36
35
|
pi: "pi";
|
|
@@ -16,10 +16,16 @@ export declare function latestSessionStep<S extends Pick<StepState, 'id' | 'sess
|
|
|
16
16
|
/** The runner that owns a step's session. A step saved before backend affinity belongs to the
|
|
17
17
|
* run's runner, and a run with none to Claude. */
|
|
18
18
|
export declare function sessionRunner(step: Pick<StepState, 'backend'> | undefined, run: Pick<RunRecord, 'runner'> | undefined): NonNullable<RunRecord['runner']>;
|
|
19
|
+
/** The latest step that ran on a runner Squawk no longer ships, when it started after every step
|
|
20
|
+
* holding `sessionId` (any such step when there is none), by the same start-time order as
|
|
21
|
+
* `latestSessionStep`: that work's session is gone, so nothing older resumes in its place
|
|
22
|
+
* (hearsay-tools/squawk#3715). */
|
|
23
|
+
export declare function removedRunnerStepAfter<S extends Pick<StepState, 'id' | 'sessionId' | 'startedAt' | 'removedBackend'>>(steps: readonly S[], sessionId: string | undefined): S | undefined;
|
|
19
24
|
/** The latest session's id, the runner that owns it (`sessionRunner`) and the account it was opened
|
|
20
|
-
* under. Every step with a session counts, with or without a saved backend.
|
|
25
|
+
* under. Every step with a session counts, with or without a saved backend. Work on a removed
|
|
26
|
+
* runner after it leaves no session to hand off. */
|
|
21
27
|
export declare function latestSession(run: {
|
|
22
|
-
steps: readonly Pick<StepState, 'id' | 'sessionId' | 'startedAt' | 'backend' | 'profileId'>[];
|
|
28
|
+
steps: readonly Pick<StepState, 'id' | 'sessionId' | 'startedAt' | 'backend' | 'profileId' | 'removedBackend'>[];
|
|
23
29
|
runner?: RunRecord['runner'];
|
|
24
30
|
}): {
|
|
25
31
|
sessionId: string | undefined;
|
|
@@ -11,81 +11,41 @@ export interface CockpitRunnerFacts {
|
|
|
11
11
|
readonly displayName: string;
|
|
12
12
|
/** The runner's name in model discovery messages and in the model picker's status line. */
|
|
13
13
|
readonly modelListName: string;
|
|
14
|
-
/**
|
|
15
|
-
* `pushed`: the server refreshes the model catalog in the background, serves the cached copy on
|
|
16
|
-
* request and pushes each change on the `models:<runner>` topic. `on-request`: each request
|
|
17
|
-
* discovers the catalog, through the server's short cache.
|
|
18
|
-
*/
|
|
19
|
-
readonly modelCatalogDelivery: 'pushed' | 'on-request';
|
|
20
|
-
/**
|
|
21
|
-
* `catalog-only`: the effort levels come only from the runner's own discovered catalog; without
|
|
22
|
-
* them the picker offers only auto. `catalog-or-generic`: without catalog levels the picker
|
|
23
|
-
* offers every generic level.
|
|
24
|
-
*/
|
|
25
|
-
readonly effortLevels: 'catalog-only' | 'catalog-or-generic';
|
|
26
14
|
/**
|
|
27
15
|
* Which model ids the runner serves. `own`: its own provider's ids, so another runner's known
|
|
28
16
|
* preset conflicts with it. `provider-spanning`: `provider/model` ids of every configured
|
|
29
|
-
* provider, so an id it lists belongs to no runner alone.
|
|
30
|
-
* provider, so no id conflicts with it.
|
|
17
|
+
* provider, so an id it lists belongs to no runner alone.
|
|
31
18
|
*/
|
|
32
|
-
readonly modelIdScope: 'own' | 'provider-spanning'
|
|
33
|
-
/** `steer`: input reaches the agent during its turn. `boundary`: input waits for the turn to end. */
|
|
34
|
-
readonly inputMode: 'steer' | 'boundary';
|
|
19
|
+
readonly modelIdScope: 'own' | 'provider-spanning';
|
|
35
20
|
}
|
|
36
21
|
export declare const RUNNER_COCKPIT_FACTS: {
|
|
37
22
|
readonly claude: {
|
|
38
23
|
readonly displayName: 'Claude Code';
|
|
39
24
|
readonly modelListName: 'Claude';
|
|
40
|
-
readonly modelCatalogDelivery: 'on-request';
|
|
41
|
-
readonly effortLevels: 'catalog-or-generic';
|
|
42
25
|
readonly modelIdScope: 'own';
|
|
43
|
-
readonly inputMode: 'steer';
|
|
44
26
|
};
|
|
45
27
|
readonly codex: {
|
|
46
28
|
readonly displayName: 'Codex';
|
|
47
29
|
readonly modelListName: 'Codex';
|
|
48
|
-
readonly modelCatalogDelivery: 'on-request';
|
|
49
|
-
readonly effortLevels: 'catalog-or-generic';
|
|
50
30
|
readonly modelIdScope: 'own';
|
|
51
|
-
readonly inputMode: 'steer';
|
|
52
31
|
};
|
|
53
32
|
readonly opencode: {
|
|
54
33
|
readonly displayName: 'OpenCode';
|
|
55
34
|
readonly modelListName: 'OpenCode';
|
|
56
|
-
readonly modelCatalogDelivery: 'on-request';
|
|
57
|
-
readonly effortLevels: 'catalog-or-generic';
|
|
58
35
|
readonly modelIdScope: 'provider-spanning';
|
|
59
|
-
readonly inputMode: 'steer';
|
|
60
36
|
};
|
|
61
37
|
readonly pi: {
|
|
62
38
|
readonly displayName: 'pi';
|
|
63
39
|
readonly modelListName: 'Pi';
|
|
64
|
-
readonly modelCatalogDelivery: 'on-request';
|
|
65
|
-
readonly effortLevels: 'catalog-or-generic';
|
|
66
40
|
readonly modelIdScope: 'provider-spanning';
|
|
67
|
-
readonly inputMode: 'steer';
|
|
68
|
-
};
|
|
69
|
-
readonly cursor: {
|
|
70
|
-
readonly displayName: 'Cursor';
|
|
71
|
-
readonly modelListName: 'Cursor';
|
|
72
|
-
readonly modelCatalogDelivery: 'pushed';
|
|
73
|
-
readonly effortLevels: 'catalog-only';
|
|
74
|
-
readonly modelIdScope: 'any-provider';
|
|
75
|
-
readonly inputMode: 'boundary';
|
|
76
41
|
};
|
|
77
42
|
readonly omp: {
|
|
78
43
|
readonly displayName: 'OMP';
|
|
79
44
|
readonly modelListName: 'OMP';
|
|
80
|
-
readonly modelCatalogDelivery: 'on-request';
|
|
81
|
-
readonly effortLevels: 'catalog-or-generic';
|
|
82
45
|
readonly modelIdScope: 'provider-spanning';
|
|
83
|
-
readonly inputMode: 'steer';
|
|
84
46
|
};
|
|
85
47
|
};
|
|
86
48
|
/** The display name of a runner. */
|
|
87
49
|
export declare function runnerDisplayName(runner: Runner): string;
|
|
88
50
|
/** The runner's name in model discovery messages. */
|
|
89
51
|
export declare function runnerModelListName(runner: Runner): string;
|
|
90
|
-
/** The runners whose cockpit facts match, in the table's order. */
|
|
91
|
-
export declare function cockpitRunnersWhere(matches: (facts: CockpitRunnerFacts) => boolean): Runner[];
|
|
@@ -7,9 +7,12 @@ import { z } from 'zod';
|
|
|
7
7
|
export declare const runnerSchema: z.ZodEnum<{
|
|
8
8
|
claude: "claude";
|
|
9
9
|
codex: "codex";
|
|
10
|
-
cursor: "cursor";
|
|
11
10
|
omp: "omp";
|
|
12
11
|
opencode: "opencode";
|
|
13
12
|
pi: "pi";
|
|
14
13
|
}>;
|
|
15
14
|
export type Runner = z.infer<typeof runnerSchema>;
|
|
15
|
+
/** How the cockpit names a runner Squawk no longer ships, on a run saved on it (hearsay-tools/squawk#3715). */
|
|
16
|
+
export declare function removedRunnerLabel(runner: string): string;
|
|
17
|
+
/** Why a run saved on a removed runner cannot resume its session, and what continues it instead. */
|
|
18
|
+
export declare function removedRunnerMessage(runner: string): string;
|