@hearsay-tools/squawk 0.18.0-dev.6743 → 0.18.0-dev.6755
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contract/index.js +6 -2
- package/dist/contract/runs.d.ts +30 -3
- package/dist/delegation/conversations.d.ts +8 -2
- package/dist/delegation/execution-identity.js +2 -1
- package/dist/delegation/execution-identity.js.map +1 -1
- package/dist/delegation/routes.d.ts +9 -9
- package/dist/delegation/transport.d.ts +11 -11
- package/dist/runs/legacy-run-rows.d.ts +8 -0
- package/dist/runs/legacy-run-rows.js +19 -0
- package/dist/runs/legacy-run-rows.js.map +1 -1
- package/dist/runs/run-exits.d.ts +1366 -51
- package/dist/runs/run-exits.js +18 -7
- package/dist/runs/run-exits.js.map +1 -1
- package/dist/runs/store.d.ts +11 -2
- package/dist/runs/store.js +4 -4
- package/dist/runs/store.js.map +1 -1
- package/dist/serve-boot.js +1 -0
- package/dist/serve-boot.js.map +1 -1
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/server.d.ts +112 -58
- package/dist/workflows/continuation-admission.d.ts +4 -1
- package/dist/workflows/run/auto-resume.d.ts +9 -8
- package/dist/workflows/run/auto-resume.js +17 -27
- package/dist/workflows/run/auto-resume.js.map +1 -1
- package/dist/workflows/run/compose.d.ts +3 -0
- package/dist/workflows/run/compose.js +13 -12
- package/dist/workflows/run/compose.js.map +1 -1
- package/dist/workflows/run/continuation-session.js +2 -0
- package/dist/workflows/run/continuation-session.js.map +1 -1
- package/dist/workflows/run/family-reconciler.d.ts +4 -5
- package/dist/workflows/run/family-reconciler.js +9 -19
- package/dist/workflows/run/family-reconciler.js.map +1 -1
- package/dist/workflows/run/inbox-claims.d.ts +3 -4
- package/dist/workflows/run/inbox-claims.js +7 -17
- package/dist/workflows/run/inbox-claims.js.map +1 -1
- package/dist/workflows/run/input-delivery.d.ts +3 -1
- package/dist/workflows/run/input-delivery.js +14 -15
- package/dist/workflows/run/input-delivery.js.map +1 -1
- package/dist/workflows/run/input-timers.js +3 -2
- package/dist/workflows/run/input-timers.js.map +1 -1
- package/dist/workflows/run/launch-read-resolver.d.ts +4 -1
- package/dist/workflows/run/launch-read-resolver.js +24 -9
- package/dist/workflows/run/launch-read-resolver.js.map +1 -1
- package/dist/workflows/run/liveness-timers.d.ts +97 -0
- package/dist/workflows/run/liveness-timers.js +130 -0
- package/dist/workflows/run/liveness-timers.js.map +1 -0
- package/dist/workflows/run/run-memory.d.ts +11 -3
- package/dist/workflows/run/run-memory.js +34 -8
- package/dist/workflows/run/run-memory.js.map +1 -1
- package/dist/workflows/run/run-settlement.d.ts +9 -4
- package/dist/workflows/run/run-settlement.js +25 -12
- package/dist/workflows/run/run-settlement.js.map +1 -1
- package/dist/workflows/run/squawk-tools.js +2 -0
- package/dist/workflows/run/squawk-tools.js.map +1 -1
- package/dist/workflows/run/step-loop.d.ts +2 -2
- package/dist/workflows/run/step-loop.js +8 -3
- package/dist/workflows/run/step-loop.js.map +1 -1
- package/dist/workflows/run/subagent-waits.d.ts +3 -5
- package/dist/workflows/run/subagent-waits.js +13 -32
- package/dist/workflows/run/subagent-waits.js.map +1 -1
- package/dist/workflows/run/turn-nudges.d.ts +3 -1
- package/dist/workflows/run/turn-nudges.js +9 -6
- package/dist/workflows/run/turn-nudges.js.map +1 -1
- package/dist/workflows/run/turn-settler.d.ts +3 -1
- package/dist/workflows/run/turn-settler.js +7 -4
- package/dist/workflows/run/turn-settler.js.map +1 -1
- package/dist/workflows/run/wait-engine.d.ts +4 -1
- package/dist/workflows/run/wake-retries.d.ts +5 -7
- package/dist/workflows/run/wake-retries.js +17 -42
- package/dist/workflows/run/wake-retries.js.map +1 -1
- package/dist/workflows/run/worker-executions.js +2 -0
- package/dist/workflows/run/worker-executions.js.map +1 -1
- package/dist/workflows/run/workflow-position.d.ts +1 -0
- package/dist/workflows/run/workflow-position.js +1 -0
- package/dist/workflows/run/workflow-position.js.map +1 -1
- package/dist/workflows/run-scheduling.d.ts +4 -1
- package/dist/workflows/run-scheduling.js +10 -1
- package/dist/workflows/run-scheduling.js.map +1 -1
- package/dist/workflows/run-states.js +5 -2
- package/dist/workflows/run-states.js.map +1 -1
- package/dist/workflows/run.js +9 -2
- package/dist/workflows/run.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/{activity-motion-DMp6Uo_E.js → activity-motion-CjPL-sr2.js} +1 -1
- package/web/dist/assets/{activity-route-D04JxCzp.js → activity-route-C0tIKFED.js} +1 -1
- package/web/dist/assets/{agent-accounts-C48RdN3o.js → agent-accounts-Bfv01ivB.js} +1 -1
- package/web/dist/assets/attention-CVI366xV.js +1 -0
- package/web/dist/assets/{commit-diff-panel-Din879JP.js → commit-diff-panel-uIMnjowv.js} +1 -1
- package/web/dist/assets/{diff-Btt23N3M.js → diff-CUIYkwMG.js} +2 -2
- package/web/dist/assets/{diff-view-CfWaBIJu.js → diff-view-CH27Vgln.js} +1 -1
- package/web/dist/assets/{file-preview-DcznUbkx.js → file-preview-wrsPzzjz.js} +1 -1
- package/web/dist/assets/{git-toolbar-DUnmDIe8.js → git-toolbar-C1v8n8nd.js} +1 -1
- package/web/dist/assets/{github-C6OOf2Jp.js → github-0PYN1Ju2.js} +1 -1
- package/web/dist/assets/{global-activity-route-ko4iBoc3.js → global-activity-route-KDUFNxgb.js} +1 -1
- package/web/dist/assets/{index-C3YyGC-J.js → index-DgeV0f4H.js} +4 -4
- package/web/dist/assets/{preview-pane-connected-gIoE5-9m.js → preview-pane-connected-B1XJVVoo.js} +1 -1
- package/web/dist/assets/{project-router-oKsNlPN6.js → project-router-WQWd3UUn.js} +1 -1
- package/web/dist/assets/project-scope-context-bgdvGX9z.js +4 -0
- package/web/dist/assets/{prompt-template-menu-C3d8Xkvo.js → prompt-template-menu-DC5XoYEs.js} +1 -1
- package/web/dist/assets/{queries-Be8VyHam.js → queries-Ce9CPdRy.js} +1 -1
- package/web/dist/assets/{reference-chip-BliLpdSz.js → reference-chip-peKR_0El.js} +1 -1
- package/web/dist/assets/{repo-git-DGrhzyWR.js → repo-git-DU5eh5V8.js} +1 -1
- package/web/dist/assets/{report-reader-C2yXiPa9.js → report-reader-DsvVau4u.js} +1 -1
- package/web/dist/assets/{reports-mmONzYgk.js → reports-Brs9M380.js} +1 -1
- package/web/dist/assets/{run-header-Cin11tct.js → run-header-BYyz-dXB.js} +1 -1
- package/web/dist/assets/{skills-N0vkndca.js → skills-TJPEPrU2.js} +1 -1
- package/web/dist/assets/{tab-link-Buy1fRFO.js → tab-link-DiNYVlpl.js} +1 -1
- package/web/dist/assets/{task-changes-BhvqWHW7.js → task-changes-BMMqKQZQ.js} +1 -1
- package/web/dist/assets/{task-commits-RGVmBirX.js → task-commits-DzOQ_acm.js} +1 -1
- package/web/dist/assets/{task-files-B-W_PC8S.js → task-files-CqBxJ5lZ.js} +1 -1
- package/web/dist/assets/{task-github-item-csNEiMBa.js → task-github-item-DYZGczpf.js} +1 -1
- package/web/dist/assets/{task-thread-B23Uq5iQ.js → task-thread-DYEBHvdF.js} +1 -1
- package/web/dist/assets/{thread-state-DeDb0lsY.js → thread-state-VHo3TMiY.js} +1 -1
- package/web/dist/assets/{use-desktop-jIeTPw3K.js → use-desktop-DBpXK7UB.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-CIysCyMM.js → use-hand-to-agent-state-DiPruziF.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-Yn58_Fkn.js → useInfiniteQuery-s3lTx_YX.js} +1 -1
- package/web/dist/assets/useQuery-C0ee1rw5.js +1 -0
- package/web/dist/assets/{workflows-k0YtC-LB.js → workflows-DiURHZJ-.js} +1 -1
- package/web/dist/assets/{ws-DbXGHAke.js → ws-WW6DrfbT.js} +1 -1
- package/web/dist/index.html +12 -12
- package/web/dist/assets/attention-BF8NA1XM.js +0 -1
- package/web/dist/assets/project-scope-context-BBVJVcJp.js +0 -4
- package/web/dist/assets/useQuery-C1xFF0nd.js +0 -1
package/dist/serve-boot.js
CHANGED
|
@@ -94,6 +94,7 @@ export function printServeBanner(version, repoRoot, repo, checks, url) {
|
|
|
94
94
|
const detail = check.available ? (check.version ?? 'ok') : (check.hint ?? 'missing');
|
|
95
95
|
console.log(` ${mark} ${check.name.padEnd(6)} ${detail}`);
|
|
96
96
|
}
|
|
97
|
+
// .ai/scripts/test-env-up.sh starts the e2e server with --port 0 and reads its URL from this line.
|
|
97
98
|
console.log(`\n cockpit → ${url}\n`);
|
|
98
99
|
}
|
|
99
100
|
//# sourceMappingURL=serve-boot.js.map
|
package/dist/serve-boot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serve-boot.js","sourceRoot":"","sources":["../src/serve-boot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIhD,OAAO,EAAE,yCAAyC,EAAoC,MAAM,mCAAmC,CAAC;AAEhI,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAMpE,MAAM,iBAAiB,GAAG,EAAE,YAAY,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,GAAG,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;AAEtJ,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,QAAgB,EAChB,IAA6C,EAC7C,KAAe,EACf,OAAmB,EACnB,WAAoC,EACpC,KAAK,GAAG,iBAAiB,EACzB,IAAU;IAEV,+FAA+F;IAC/F,4FAA4F;IAC5F,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE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16,6 +16,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
16
16
|
output: {
|
|
17
17
|
generation: string;
|
|
18
18
|
results: ({
|
|
19
|
+
projectId: string;
|
|
20
|
+
runId: string;
|
|
21
|
+
type: "error" | "reset";
|
|
22
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
23
|
+
error: string;
|
|
24
|
+
} | {
|
|
19
25
|
projectId: string;
|
|
20
26
|
runId: string;
|
|
21
27
|
type: "batch";
|
|
@@ -29,12 +35,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
29
35
|
cursor: string;
|
|
30
36
|
afterSeq: number;
|
|
31
37
|
hasMore: boolean;
|
|
32
|
-
} | {
|
|
33
|
-
projectId: string;
|
|
34
|
-
runId: string;
|
|
35
|
-
type: "error" | "reset";
|
|
36
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
37
|
-
error: string;
|
|
38
38
|
})[];
|
|
39
39
|
};
|
|
40
40
|
outputFormat: "json";
|
package/dist/server/server.d.ts
CHANGED
|
@@ -2988,12 +2988,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2988
2988
|
output: {
|
|
2989
2989
|
generation: string;
|
|
2990
2990
|
results: ({
|
|
2991
|
-
projectId: string;
|
|
2992
|
-
runId: string;
|
|
2993
|
-
type: "error" | "reset";
|
|
2994
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
2995
|
-
error: string;
|
|
2996
|
-
} | {
|
|
2997
2991
|
projectId: string;
|
|
2998
2992
|
runId: string;
|
|
2999
2993
|
type: "batch";
|
|
@@ -3007,6 +3001,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3007
3001
|
cursor: string;
|
|
3008
3002
|
afterSeq: number;
|
|
3009
3003
|
hasMore: boolean;
|
|
3004
|
+
} | {
|
|
3005
|
+
projectId: string;
|
|
3006
|
+
runId: string;
|
|
3007
|
+
type: "error" | "reset";
|
|
3008
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
3009
|
+
error: string;
|
|
3010
3010
|
})[];
|
|
3011
3011
|
};
|
|
3012
3012
|
outputFormat: "json";
|
|
@@ -7084,7 +7084,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7084
7084
|
restarted?: true | undefined;
|
|
7085
7085
|
} | undefined;
|
|
7086
7086
|
} | undefined;
|
|
7087
|
-
|
|
7087
|
+
workflowCursor?: {
|
|
7088
|
+
stepId: string;
|
|
7089
|
+
mode: "resume" | "start";
|
|
7090
|
+
} | undefined;
|
|
7088
7091
|
invalidAsk?: boolean | undefined;
|
|
7089
7092
|
delegation?: {
|
|
7090
7093
|
role: "invalid";
|
|
@@ -8573,11 +8576,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8573
8576
|
"/runs/:id/worker-destroy": {
|
|
8574
8577
|
$post: {
|
|
8575
8578
|
output: {
|
|
8576
|
-
|
|
8577
|
-
|
|
8579
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8580
|
+
readonly error: string;
|
|
8581
|
+
readonly modelChoices?: {
|
|
8582
|
+
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
8583
|
+
requestedModel: string;
|
|
8584
|
+
availableModels: {
|
|
8585
|
+
id: string;
|
|
8586
|
+
label: string;
|
|
8587
|
+
description: string;
|
|
8588
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8589
|
+
}[];
|
|
8590
|
+
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
8591
|
+
} | undefined;
|
|
8578
8592
|
};
|
|
8579
8593
|
outputFormat: "json";
|
|
8580
|
-
status: 400;
|
|
8594
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8581
8595
|
input: {
|
|
8582
8596
|
query: {
|
|
8583
8597
|
[x: string]: string | string[];
|
|
@@ -8591,22 +8605,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8591
8605
|
};
|
|
8592
8606
|
} | {
|
|
8593
8607
|
output: {
|
|
8594
|
-
|
|
8595
|
-
|
|
8596
|
-
readonly modelChoices?: {
|
|
8597
|
-
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
8598
|
-
requestedModel: string;
|
|
8599
|
-
availableModels: {
|
|
8600
|
-
id: string;
|
|
8601
|
-
label: string;
|
|
8602
|
-
description: string;
|
|
8603
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8604
|
-
}[];
|
|
8605
|
-
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
8606
|
-
} | undefined;
|
|
8608
|
+
error: string;
|
|
8609
|
+
code?: "invalid_input" | undefined;
|
|
8607
8610
|
};
|
|
8608
8611
|
outputFormat: "json";
|
|
8609
|
-
status: 400
|
|
8612
|
+
status: 400;
|
|
8610
8613
|
input: {
|
|
8611
8614
|
query: {
|
|
8612
8615
|
[x: string]: string | string[];
|
|
@@ -8747,7 +8750,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8747
8750
|
restarted?: true | undefined;
|
|
8748
8751
|
} | undefined;
|
|
8749
8752
|
} | undefined;
|
|
8750
|
-
workflowResumeStepId?: string | undefined;
|
|
8751
8753
|
invalidAsk?: boolean | undefined;
|
|
8752
8754
|
agentInputs?: {
|
|
8753
8755
|
conversation?: {
|
|
@@ -9681,6 +9683,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9681
9683
|
durationMs?: number | undefined;
|
|
9682
9684
|
error?: string | undefined;
|
|
9683
9685
|
} | undefined;
|
|
9686
|
+
workflowCursor?: {
|
|
9687
|
+
stepId: string;
|
|
9688
|
+
mode: "resume" | "start";
|
|
9689
|
+
} | undefined;
|
|
9684
9690
|
archived: boolean;
|
|
9685
9691
|
workflowDef?: {
|
|
9686
9692
|
name: string;
|
|
@@ -9842,7 +9848,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9842
9848
|
restarted?: true | undefined;
|
|
9843
9849
|
} | undefined;
|
|
9844
9850
|
} | undefined;
|
|
9845
|
-
workflowResumeStepId?: string | undefined;
|
|
9846
9851
|
invalidAsk?: boolean | undefined;
|
|
9847
9852
|
agentInputs?: {
|
|
9848
9853
|
conversation?: {
|
|
@@ -10776,6 +10781,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10776
10781
|
durationMs?: number | undefined;
|
|
10777
10782
|
error?: string | undefined;
|
|
10778
10783
|
} | undefined;
|
|
10784
|
+
workflowCursor?: {
|
|
10785
|
+
stepId: string;
|
|
10786
|
+
mode: "resume" | "start";
|
|
10787
|
+
} | undefined;
|
|
10779
10788
|
archived: boolean;
|
|
10780
10789
|
workflowDef?: {
|
|
10781
10790
|
name: string;
|
|
@@ -10938,7 +10947,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10938
10947
|
restarted?: true | undefined;
|
|
10939
10948
|
} | undefined;
|
|
10940
10949
|
} | undefined;
|
|
10941
|
-
workflowResumeStepId?: string | undefined;
|
|
10942
10950
|
invalidAsk?: boolean | undefined;
|
|
10943
10951
|
agentInputs?: {
|
|
10944
10952
|
conversation?: {
|
|
@@ -11872,6 +11880,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11872
11880
|
durationMs?: number | undefined;
|
|
11873
11881
|
error?: string | undefined;
|
|
11874
11882
|
} | undefined;
|
|
11883
|
+
workflowCursor?: {
|
|
11884
|
+
stepId: string;
|
|
11885
|
+
mode: "resume" | "start";
|
|
11886
|
+
} | undefined;
|
|
11875
11887
|
archived: boolean;
|
|
11876
11888
|
workflowDef?: {
|
|
11877
11889
|
name: string;
|
|
@@ -12061,7 +12073,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12061
12073
|
restarted?: true | undefined;
|
|
12062
12074
|
} | undefined;
|
|
12063
12075
|
} | undefined;
|
|
12064
|
-
workflowResumeStepId?: string | undefined;
|
|
12065
12076
|
invalidAsk?: boolean | undefined;
|
|
12066
12077
|
agentInputs?: {
|
|
12067
12078
|
conversation?: {
|
|
@@ -12995,6 +13006,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12995
13006
|
durationMs?: number | undefined;
|
|
12996
13007
|
error?: string | undefined;
|
|
12997
13008
|
} | undefined;
|
|
13009
|
+
workflowCursor?: {
|
|
13010
|
+
stepId: string;
|
|
13011
|
+
mode: "resume" | "start";
|
|
13012
|
+
} | undefined;
|
|
12998
13013
|
archived: boolean;
|
|
12999
13014
|
workflowDef?: {
|
|
13000
13015
|
name: string;
|
|
@@ -13132,7 +13147,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13132
13147
|
restarted?: true | undefined;
|
|
13133
13148
|
} | undefined;
|
|
13134
13149
|
} | undefined;
|
|
13135
|
-
workflowResumeStepId?: string | undefined;
|
|
13136
13150
|
invalidAsk?: boolean | undefined;
|
|
13137
13151
|
agentInputs?: {
|
|
13138
13152
|
conversation?: {
|
|
@@ -14066,6 +14080,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
14066
14080
|
durationMs?: number | undefined;
|
|
14067
14081
|
error?: string | undefined;
|
|
14068
14082
|
} | undefined;
|
|
14083
|
+
workflowCursor?: {
|
|
14084
|
+
stepId: string;
|
|
14085
|
+
mode: "resume" | "start";
|
|
14086
|
+
} | undefined;
|
|
14069
14087
|
archived: boolean;
|
|
14070
14088
|
workflowDef?: {
|
|
14071
14089
|
name: string;
|
|
@@ -14203,7 +14221,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
14203
14221
|
restarted?: true | undefined;
|
|
14204
14222
|
} | undefined;
|
|
14205
14223
|
} | undefined;
|
|
14206
|
-
workflowResumeStepId?: string | undefined;
|
|
14207
14224
|
invalidAsk?: boolean | undefined;
|
|
14208
14225
|
agentInputs?: {
|
|
14209
14226
|
conversation?: {
|
|
@@ -15137,6 +15154,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
15137
15154
|
durationMs?: number | undefined;
|
|
15138
15155
|
error?: string | undefined;
|
|
15139
15156
|
} | undefined;
|
|
15157
|
+
workflowCursor?: {
|
|
15158
|
+
stepId: string;
|
|
15159
|
+
mode: "resume" | "start";
|
|
15160
|
+
} | undefined;
|
|
15140
15161
|
archived: boolean;
|
|
15141
15162
|
workflowDef?: {
|
|
15142
15163
|
name: string;
|
|
@@ -15347,7 +15368,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
15347
15368
|
restarted?: true | undefined;
|
|
15348
15369
|
} | undefined;
|
|
15349
15370
|
} | undefined;
|
|
15350
|
-
|
|
15371
|
+
workflowCursor?: {
|
|
15372
|
+
stepId: string;
|
|
15373
|
+
mode: "resume" | "start";
|
|
15374
|
+
} | undefined;
|
|
15351
15375
|
invalidAsk?: boolean | undefined;
|
|
15352
15376
|
delegation?: {
|
|
15353
15377
|
role: "invalid";
|
|
@@ -16546,7 +16570,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
16546
16570
|
restarted?: true | undefined;
|
|
16547
16571
|
} | undefined;
|
|
16548
16572
|
} | undefined;
|
|
16549
|
-
workflowResumeStepId?: string | undefined;
|
|
16550
16573
|
invalidAsk?: boolean | undefined;
|
|
16551
16574
|
agentInputs?: {
|
|
16552
16575
|
conversation?: {
|
|
@@ -17480,6 +17503,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17480
17503
|
durationMs?: number | undefined;
|
|
17481
17504
|
error?: string | undefined;
|
|
17482
17505
|
} | undefined;
|
|
17506
|
+
workflowCursor?: {
|
|
17507
|
+
stepId: string;
|
|
17508
|
+
mode: "resume" | "start";
|
|
17509
|
+
} | undefined;
|
|
17483
17510
|
archived: boolean;
|
|
17484
17511
|
workflowDef?: {
|
|
17485
17512
|
name: string;
|
|
@@ -22853,7 +22880,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
22853
22880
|
restarted?: true | undefined;
|
|
22854
22881
|
} | undefined;
|
|
22855
22882
|
} | undefined;
|
|
22856
|
-
|
|
22883
|
+
workflowCursor?: {
|
|
22884
|
+
stepId: string;
|
|
22885
|
+
mode: "resume" | "start";
|
|
22886
|
+
} | undefined;
|
|
22857
22887
|
invalidAsk?: boolean | undefined;
|
|
22858
22888
|
delegation?: {
|
|
22859
22889
|
role: "invalid";
|
|
@@ -24342,11 +24372,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24342
24372
|
"/runs/:id/worker-destroy": {
|
|
24343
24373
|
$post: {
|
|
24344
24374
|
output: {
|
|
24345
|
-
|
|
24346
|
-
|
|
24375
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
24376
|
+
readonly error: string;
|
|
24377
|
+
readonly modelChoices?: {
|
|
24378
|
+
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
24379
|
+
requestedModel: string;
|
|
24380
|
+
availableModels: {
|
|
24381
|
+
id: string;
|
|
24382
|
+
label: string;
|
|
24383
|
+
description: string;
|
|
24384
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24385
|
+
}[];
|
|
24386
|
+
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
24387
|
+
} | undefined;
|
|
24347
24388
|
};
|
|
24348
24389
|
outputFormat: "json";
|
|
24349
|
-
status: 400;
|
|
24390
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
24350
24391
|
input: {
|
|
24351
24392
|
query: {
|
|
24352
24393
|
[x: string]: string | string[];
|
|
@@ -24360,22 +24401,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24360
24401
|
};
|
|
24361
24402
|
} | {
|
|
24362
24403
|
output: {
|
|
24363
|
-
|
|
24364
|
-
|
|
24365
|
-
readonly modelChoices?: {
|
|
24366
|
-
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
24367
|
-
requestedModel: string;
|
|
24368
|
-
availableModels: {
|
|
24369
|
-
id: string;
|
|
24370
|
-
label: string;
|
|
24371
|
-
description: string;
|
|
24372
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24373
|
-
}[];
|
|
24374
|
-
otherRunners: ("claude" | "codex" | "cursor" | "omp" | "opencode" | "pi")[];
|
|
24375
|
-
} | undefined;
|
|
24404
|
+
error: string;
|
|
24405
|
+
code?: "invalid_input" | undefined;
|
|
24376
24406
|
};
|
|
24377
24407
|
outputFormat: "json";
|
|
24378
|
-
status: 400
|
|
24408
|
+
status: 400;
|
|
24379
24409
|
input: {
|
|
24380
24410
|
query: {
|
|
24381
24411
|
[x: string]: string | string[];
|
|
@@ -24516,7 +24546,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24516
24546
|
restarted?: true | undefined;
|
|
24517
24547
|
} | undefined;
|
|
24518
24548
|
} | undefined;
|
|
24519
|
-
workflowResumeStepId?: string | undefined;
|
|
24520
24549
|
invalidAsk?: boolean | undefined;
|
|
24521
24550
|
agentInputs?: {
|
|
24522
24551
|
conversation?: {
|
|
@@ -25450,6 +25479,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
25450
25479
|
durationMs?: number | undefined;
|
|
25451
25480
|
error?: string | undefined;
|
|
25452
25481
|
} | undefined;
|
|
25482
|
+
workflowCursor?: {
|
|
25483
|
+
stepId: string;
|
|
25484
|
+
mode: "resume" | "start";
|
|
25485
|
+
} | undefined;
|
|
25453
25486
|
archived: boolean;
|
|
25454
25487
|
workflowDef?: {
|
|
25455
25488
|
name: string;
|
|
@@ -25611,7 +25644,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
25611
25644
|
restarted?: true | undefined;
|
|
25612
25645
|
} | undefined;
|
|
25613
25646
|
} | undefined;
|
|
25614
|
-
workflowResumeStepId?: string | undefined;
|
|
25615
25647
|
invalidAsk?: boolean | undefined;
|
|
25616
25648
|
agentInputs?: {
|
|
25617
25649
|
conversation?: {
|
|
@@ -26545,6 +26577,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
26545
26577
|
durationMs?: number | undefined;
|
|
26546
26578
|
error?: string | undefined;
|
|
26547
26579
|
} | undefined;
|
|
26580
|
+
workflowCursor?: {
|
|
26581
|
+
stepId: string;
|
|
26582
|
+
mode: "resume" | "start";
|
|
26583
|
+
} | undefined;
|
|
26548
26584
|
archived: boolean;
|
|
26549
26585
|
workflowDef?: {
|
|
26550
26586
|
name: string;
|
|
@@ -26707,7 +26743,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
26707
26743
|
restarted?: true | undefined;
|
|
26708
26744
|
} | undefined;
|
|
26709
26745
|
} | undefined;
|
|
26710
|
-
workflowResumeStepId?: string | undefined;
|
|
26711
26746
|
invalidAsk?: boolean | undefined;
|
|
26712
26747
|
agentInputs?: {
|
|
26713
26748
|
conversation?: {
|
|
@@ -27641,6 +27676,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
27641
27676
|
durationMs?: number | undefined;
|
|
27642
27677
|
error?: string | undefined;
|
|
27643
27678
|
} | undefined;
|
|
27679
|
+
workflowCursor?: {
|
|
27680
|
+
stepId: string;
|
|
27681
|
+
mode: "resume" | "start";
|
|
27682
|
+
} | undefined;
|
|
27644
27683
|
archived: boolean;
|
|
27645
27684
|
workflowDef?: {
|
|
27646
27685
|
name: string;
|
|
@@ -27830,7 +27869,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
27830
27869
|
restarted?: true | undefined;
|
|
27831
27870
|
} | undefined;
|
|
27832
27871
|
} | undefined;
|
|
27833
|
-
workflowResumeStepId?: string | undefined;
|
|
27834
27872
|
invalidAsk?: boolean | undefined;
|
|
27835
27873
|
agentInputs?: {
|
|
27836
27874
|
conversation?: {
|
|
@@ -28764,6 +28802,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
28764
28802
|
durationMs?: number | undefined;
|
|
28765
28803
|
error?: string | undefined;
|
|
28766
28804
|
} | undefined;
|
|
28805
|
+
workflowCursor?: {
|
|
28806
|
+
stepId: string;
|
|
28807
|
+
mode: "resume" | "start";
|
|
28808
|
+
} | undefined;
|
|
28767
28809
|
archived: boolean;
|
|
28768
28810
|
workflowDef?: {
|
|
28769
28811
|
name: string;
|
|
@@ -28901,7 +28943,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
28901
28943
|
restarted?: true | undefined;
|
|
28902
28944
|
} | undefined;
|
|
28903
28945
|
} | undefined;
|
|
28904
|
-
workflowResumeStepId?: string | undefined;
|
|
28905
28946
|
invalidAsk?: boolean | undefined;
|
|
28906
28947
|
agentInputs?: {
|
|
28907
28948
|
conversation?: {
|
|
@@ -29835,6 +29876,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
29835
29876
|
durationMs?: number | undefined;
|
|
29836
29877
|
error?: string | undefined;
|
|
29837
29878
|
} | undefined;
|
|
29879
|
+
workflowCursor?: {
|
|
29880
|
+
stepId: string;
|
|
29881
|
+
mode: "resume" | "start";
|
|
29882
|
+
} | undefined;
|
|
29838
29883
|
archived: boolean;
|
|
29839
29884
|
workflowDef?: {
|
|
29840
29885
|
name: string;
|
|
@@ -29972,7 +30017,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
29972
30017
|
restarted?: true | undefined;
|
|
29973
30018
|
} | undefined;
|
|
29974
30019
|
} | undefined;
|
|
29975
|
-
workflowResumeStepId?: string | undefined;
|
|
29976
30020
|
invalidAsk?: boolean | undefined;
|
|
29977
30021
|
agentInputs?: {
|
|
29978
30022
|
conversation?: {
|
|
@@ -30906,6 +30950,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
30906
30950
|
durationMs?: number | undefined;
|
|
30907
30951
|
error?: string | undefined;
|
|
30908
30952
|
} | undefined;
|
|
30953
|
+
workflowCursor?: {
|
|
30954
|
+
stepId: string;
|
|
30955
|
+
mode: "resume" | "start";
|
|
30956
|
+
} | undefined;
|
|
30909
30957
|
archived: boolean;
|
|
30910
30958
|
workflowDef?: {
|
|
30911
30959
|
name: string;
|
|
@@ -31116,7 +31164,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
31116
31164
|
restarted?: true | undefined;
|
|
31117
31165
|
} | undefined;
|
|
31118
31166
|
} | undefined;
|
|
31119
|
-
|
|
31167
|
+
workflowCursor?: {
|
|
31168
|
+
stepId: string;
|
|
31169
|
+
mode: "resume" | "start";
|
|
31170
|
+
} | undefined;
|
|
31120
31171
|
invalidAsk?: boolean | undefined;
|
|
31121
31172
|
delegation?: {
|
|
31122
31173
|
role: "invalid";
|
|
@@ -32315,7 +32366,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
32315
32366
|
restarted?: true | undefined;
|
|
32316
32367
|
} | undefined;
|
|
32317
32368
|
} | undefined;
|
|
32318
|
-
workflowResumeStepId?: string | undefined;
|
|
32319
32369
|
invalidAsk?: boolean | undefined;
|
|
32320
32370
|
agentInputs?: {
|
|
32321
32371
|
conversation?: {
|
|
@@ -33249,6 +33299,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33249
33299
|
durationMs?: number | undefined;
|
|
33250
33300
|
error?: string | undefined;
|
|
33251
33301
|
} | undefined;
|
|
33302
|
+
workflowCursor?: {
|
|
33303
|
+
stepId: string;
|
|
33304
|
+
mode: "resume" | "start";
|
|
33305
|
+
} | undefined;
|
|
33252
33306
|
archived: boolean;
|
|
33253
33307
|
workflowDef?: {
|
|
33254
33308
|
name: string;
|
|
@@ -189,7 +189,6 @@ export declare class ContinuationChecks {
|
|
|
189
189
|
restarted?: true | undefined;
|
|
190
190
|
} | undefined;
|
|
191
191
|
} | undefined;
|
|
192
|
-
workflowResumeStepId?: string | undefined;
|
|
193
192
|
invalidAsk?: boolean | undefined;
|
|
194
193
|
agentInputs?: {
|
|
195
194
|
conversation?: {
|
|
@@ -1123,6 +1122,10 @@ export declare class ContinuationChecks {
|
|
|
1123
1122
|
durationMs?: number | undefined;
|
|
1124
1123
|
error?: string | undefined;
|
|
1125
1124
|
} | undefined;
|
|
1125
|
+
workflowCursor?: {
|
|
1126
|
+
stepId: string;
|
|
1127
|
+
mode: "resume" | "start";
|
|
1128
|
+
} | undefined;
|
|
1126
1129
|
archived: boolean;
|
|
1127
1130
|
workflowDef?: {
|
|
1128
1131
|
name: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { RunRecord, RunStore } from '../../runs/store.ts';
|
|
2
2
|
import type { ContinueRunOptions } from '../continuation-admission.ts';
|
|
3
|
-
import type { RunExitId } from '../../runs/run-exits.ts';
|
|
3
|
+
import type { ExitCall, RunExitId } from '../../runs/run-exits.ts';
|
|
4
4
|
import type { RunModuleContext } from './types.ts';
|
|
5
|
+
import { LivenessTimers } from './liveness-timers.ts';
|
|
5
6
|
interface AutoResumeHost {
|
|
6
|
-
move(runId: string, exit: RunExitId, patch: Omit<Parameters<RunStore['updateRun']>[1], 'status'
|
|
7
|
+
move(runId: string, exit: RunExitId, patch: Omit<Parameters<RunStore['updateRun']>[1], 'status'>, call?: ExitCall): RunRecord | undefined;
|
|
7
8
|
continueRun(runId: string, opts: ContinueRunOptions, deferForCapacity: boolean): {
|
|
8
9
|
ok: boolean;
|
|
9
10
|
error?: string;
|
|
@@ -48,13 +49,13 @@ export type HoldPlan = {
|
|
|
48
49
|
export declare class AutoResumeScheduler {
|
|
49
50
|
private readonly context;
|
|
50
51
|
private readonly host;
|
|
51
|
-
|
|
52
|
+
private readonly timers;
|
|
53
|
+
/** Armed resumes are `auto-resume` bounds, keyed by run id (spec
|
|
52
54
|
* 2026-08-03-auto-resume-after-usage-limit). The DEADLINE itself lives on the record
|
|
53
|
-
* (`autoResumeAt`) —
|
|
54
|
-
* from the record rather than losing the wait. Runs here are `
|
|
55
|
-
*
|
|
56
|
-
|
|
57
|
-
constructor(context: RunModuleContext, host: AutoResumeHost);
|
|
55
|
+
* (`autoResumeAt`) — the owner holds only the process-local timer, so a restart rebuilds it
|
|
56
|
+
* from the record rather than losing the wait. Runs here are not in `active`, which is why the
|
|
57
|
+
* bound has run scope, not execution scope like the monitoring one. */
|
|
58
|
+
constructor(context: RunModuleContext, host: AutoResumeHost, timers?: LivenessTimers);
|
|
58
59
|
dispose(): void;
|
|
59
60
|
/**
|
|
60
61
|
* The hold a failing run takes instead of `failed` (hearsay-tools/squawk#3337), or undefined when
|