@hearsay-tools/squawk 0.18.0-dev.7351 → 0.18.0-dev.7355
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/ci-wait/controller.d.ts +4 -4
- package/dist/delegation/family-end.js +2 -2
- package/dist/delegation/family-end.js.map +1 -1
- package/dist/delegation/results.js +3 -5
- package/dist/delegation/results.js.map +1 -1
- package/dist/delegation/routes.d.ts +13 -13
- package/dist/delegation/service.d.ts +1 -1
- package/dist/delegation/service.js +10 -10
- package/dist/delegation/service.js.map +1 -1
- package/dist/delegation/transport.d.ts +16 -16
- package/dist/delegation/worker-cleanup.js +7 -6
- package/dist/delegation/worker-cleanup.js.map +1 -1
- package/dist/delegation/workspace-kinds.d.ts +49 -0
- package/dist/delegation/workspace-kinds.js +67 -0
- package/dist/delegation/workspace-kinds.js.map +1 -0
- package/dist/runs/store.d.ts +72 -72
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/server.d.ts +116 -116
- package/dist/workflows/continuation-admission.d.ts +72 -72
- package/dist/workflows/run/compose.d.ts +2 -0
- package/dist/workflows/run/compose.js +2 -2
- package/dist/workflows/run/compose.js.map +1 -1
- package/dist/workflows/run/continuation-session.d.ts +2 -0
- package/dist/workflows/run/continuation-session.js +1 -1
- package/dist/workflows/run/continuation-session.js.map +1 -1
- package/dist/workflows/run/run-workspace.d.ts +5 -7
- package/dist/workflows/run/run-workspace.js +15 -21
- package/dist/workflows/run/run-workspace.js.map +1 -1
- package/dist/workflows/run/step-loop.d.ts +2 -0
- package/dist/workflows/run/step-loop.js +3 -3
- package/dist/workflows/run/step-loop.js.map +1 -1
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/dist/workflows/run/worker-workspace-port.d.ts +26 -0
- package/dist/workflows/run/worker-workspace-port.js +7 -0
- package/dist/workflows/run/worker-workspace-port.js.map +1 -0
- package/dist/workflows/run.d.ts +3 -0
- package/dist/workflows/run.js +5 -0
- package/dist/workflows/run.js.map +1 -1
- package/package.json +4 -4
package/dist/server/server.d.ts
CHANGED
|
@@ -4326,19 +4326,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4326
4326
|
} & {
|
|
4327
4327
|
"/repo/commit/:sha": {
|
|
4328
4328
|
$get: {
|
|
4329
|
-
output: string;
|
|
4330
|
-
outputFormat: "text";
|
|
4331
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4332
|
-
input: {
|
|
4333
|
-
query: {
|
|
4334
|
-
structured?: string | undefined;
|
|
4335
|
-
};
|
|
4336
|
-
} & {
|
|
4337
|
-
param: {
|
|
4338
|
-
sha: string;
|
|
4339
|
-
};
|
|
4340
|
-
};
|
|
4341
|
-
} | {
|
|
4342
4329
|
output: {
|
|
4343
4330
|
error: string;
|
|
4344
4331
|
code?: "invalid_input" | undefined;
|
|
@@ -4402,6 +4389,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4402
4389
|
sha: string;
|
|
4403
4390
|
};
|
|
4404
4391
|
};
|
|
4392
|
+
} | {
|
|
4393
|
+
output: string;
|
|
4394
|
+
outputFormat: "text";
|
|
4395
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4396
|
+
input: {
|
|
4397
|
+
query: {
|
|
4398
|
+
structured?: string | undefined;
|
|
4399
|
+
};
|
|
4400
|
+
} & {
|
|
4401
|
+
param: {
|
|
4402
|
+
sha: string;
|
|
4403
|
+
};
|
|
4404
|
+
};
|
|
4405
4405
|
};
|
|
4406
4406
|
};
|
|
4407
4407
|
} & {
|
|
@@ -8129,35 +8129,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8129
8129
|
} & {
|
|
8130
8130
|
"/runs/:id/worker-destroy": {
|
|
8131
8131
|
$post: {
|
|
8132
|
-
output: {
|
|
8133
|
-
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8134
|
-
readonly error: string;
|
|
8135
|
-
readonly modelChoices?: {
|
|
8136
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
8137
|
-
requestedModel: string;
|
|
8138
|
-
availableModels: {
|
|
8139
|
-
id: string;
|
|
8140
|
-
label: string;
|
|
8141
|
-
description: string;
|
|
8142
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8143
|
-
}[];
|
|
8144
|
-
otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
|
|
8145
|
-
} | undefined;
|
|
8146
|
-
};
|
|
8147
|
-
outputFormat: "json";
|
|
8148
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
8149
|
-
input: {
|
|
8150
|
-
query: {
|
|
8151
|
-
[x: string]: string | string[];
|
|
8152
|
-
};
|
|
8153
|
-
} & {
|
|
8154
|
-
param: {
|
|
8155
|
-
id: string;
|
|
8156
|
-
};
|
|
8157
|
-
} & {
|
|
8158
|
-
json: Record<string, never>;
|
|
8159
|
-
};
|
|
8160
|
-
} | {
|
|
8161
8132
|
output: {
|
|
8162
8133
|
error: string;
|
|
8163
8134
|
code?: "invalid_input" | undefined;
|
|
@@ -8229,6 +8200,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8229
8200
|
} & {
|
|
8230
8201
|
json: Record<string, never>;
|
|
8231
8202
|
};
|
|
8203
|
+
} | {
|
|
8204
|
+
output: {
|
|
8205
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8206
|
+
readonly error: string;
|
|
8207
|
+
readonly modelChoices?: {
|
|
8208
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
8209
|
+
requestedModel: string;
|
|
8210
|
+
availableModels: {
|
|
8211
|
+
id: string;
|
|
8212
|
+
label: string;
|
|
8213
|
+
description: string;
|
|
8214
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8215
|
+
}[];
|
|
8216
|
+
otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
|
|
8217
|
+
} | undefined;
|
|
8218
|
+
};
|
|
8219
|
+
outputFormat: "json";
|
|
8220
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8221
|
+
input: {
|
|
8222
|
+
query: {
|
|
8223
|
+
[x: string]: string | string[];
|
|
8224
|
+
};
|
|
8225
|
+
} & {
|
|
8226
|
+
param: {
|
|
8227
|
+
id: string;
|
|
8228
|
+
};
|
|
8229
|
+
} & {
|
|
8230
|
+
json: Record<string, never>;
|
|
8231
|
+
};
|
|
8232
8232
|
};
|
|
8233
8233
|
};
|
|
8234
8234
|
} & {
|
|
@@ -17893,20 +17893,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17893
17893
|
} & {
|
|
17894
17894
|
"/runs/:id/handoff": {
|
|
17895
17895
|
$get: {
|
|
17896
|
-
output:
|
|
17897
|
-
|
|
17898
|
-
|
|
17896
|
+
output: {
|
|
17897
|
+
error: string;
|
|
17898
|
+
};
|
|
17899
|
+
outputFormat: "json";
|
|
17900
|
+
status: 404;
|
|
17899
17901
|
input: {
|
|
17900
17902
|
param: {
|
|
17901
17903
|
id: string;
|
|
17902
17904
|
};
|
|
17903
17905
|
};
|
|
17904
17906
|
} | {
|
|
17905
|
-
output:
|
|
17906
|
-
|
|
17907
|
-
|
|
17908
|
-
outputFormat: "json";
|
|
17909
|
-
status: 404;
|
|
17907
|
+
output: string;
|
|
17908
|
+
outputFormat: "text";
|
|
17909
|
+
status: 200;
|
|
17910
17910
|
input: {
|
|
17911
17911
|
param: {
|
|
17912
17912
|
id: string;
|
|
@@ -17944,20 +17944,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17944
17944
|
} & {
|
|
17945
17945
|
"/runs/:id/diff": {
|
|
17946
17946
|
$get: {
|
|
17947
|
-
output:
|
|
17948
|
-
|
|
17949
|
-
|
|
17947
|
+
output: {
|
|
17948
|
+
error: string;
|
|
17949
|
+
};
|
|
17950
|
+
outputFormat: "json";
|
|
17951
|
+
status: 404 | 409;
|
|
17950
17952
|
input: {
|
|
17951
17953
|
param: {
|
|
17952
17954
|
id: string;
|
|
17953
17955
|
};
|
|
17954
17956
|
};
|
|
17955
17957
|
} | {
|
|
17956
|
-
output:
|
|
17957
|
-
|
|
17958
|
-
|
|
17959
|
-
outputFormat: "json";
|
|
17960
|
-
status: 404 | 409;
|
|
17958
|
+
output: string;
|
|
17959
|
+
outputFormat: "text";
|
|
17960
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
17961
17961
|
input: {
|
|
17962
17962
|
param: {
|
|
17963
17963
|
id: string;
|
|
@@ -20001,19 +20001,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20001
20001
|
} & {
|
|
20002
20002
|
"/repo/commit/:sha": {
|
|
20003
20003
|
$get: {
|
|
20004
|
-
output: string;
|
|
20005
|
-
outputFormat: "text";
|
|
20006
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20007
|
-
input: {
|
|
20008
|
-
query: {
|
|
20009
|
-
structured?: string | undefined;
|
|
20010
|
-
};
|
|
20011
|
-
} & {
|
|
20012
|
-
param: {
|
|
20013
|
-
sha: string;
|
|
20014
|
-
};
|
|
20015
|
-
};
|
|
20016
|
-
} | {
|
|
20017
20004
|
output: {
|
|
20018
20005
|
error: string;
|
|
20019
20006
|
code?: "invalid_input" | undefined;
|
|
@@ -20077,6 +20064,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20077
20064
|
sha: string;
|
|
20078
20065
|
};
|
|
20079
20066
|
};
|
|
20067
|
+
} | {
|
|
20068
|
+
output: string;
|
|
20069
|
+
outputFormat: "text";
|
|
20070
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20071
|
+
input: {
|
|
20072
|
+
query: {
|
|
20073
|
+
structured?: string | undefined;
|
|
20074
|
+
};
|
|
20075
|
+
} & {
|
|
20076
|
+
param: {
|
|
20077
|
+
sha: string;
|
|
20078
|
+
};
|
|
20079
|
+
};
|
|
20080
20080
|
};
|
|
20081
20081
|
};
|
|
20082
20082
|
} & {
|
|
@@ -23804,35 +23804,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
23804
23804
|
} & {
|
|
23805
23805
|
"/runs/:id/worker-destroy": {
|
|
23806
23806
|
$post: {
|
|
23807
|
-
output: {
|
|
23808
|
-
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
23809
|
-
readonly error: string;
|
|
23810
|
-
readonly modelChoices?: {
|
|
23811
|
-
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
23812
|
-
requestedModel: string;
|
|
23813
|
-
availableModels: {
|
|
23814
|
-
id: string;
|
|
23815
|
-
label: string;
|
|
23816
|
-
description: string;
|
|
23817
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
23818
|
-
}[];
|
|
23819
|
-
otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
|
|
23820
|
-
} | undefined;
|
|
23821
|
-
};
|
|
23822
|
-
outputFormat: "json";
|
|
23823
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
23824
|
-
input: {
|
|
23825
|
-
query: {
|
|
23826
|
-
[x: string]: string | string[];
|
|
23827
|
-
};
|
|
23828
|
-
} & {
|
|
23829
|
-
param: {
|
|
23830
|
-
id: string;
|
|
23831
|
-
};
|
|
23832
|
-
} & {
|
|
23833
|
-
json: Record<string, never>;
|
|
23834
|
-
};
|
|
23835
|
-
} | {
|
|
23836
23807
|
output: {
|
|
23837
23808
|
error: string;
|
|
23838
23809
|
code?: "invalid_input" | undefined;
|
|
@@ -23904,6 +23875,35 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
23904
23875
|
} & {
|
|
23905
23876
|
json: Record<string, never>;
|
|
23906
23877
|
};
|
|
23878
|
+
} | {
|
|
23879
|
+
output: {
|
|
23880
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
23881
|
+
readonly error: string;
|
|
23882
|
+
readonly modelChoices?: {
|
|
23883
|
+
runner: "claude" | "codex" | "omp" | "opencode" | "pi";
|
|
23884
|
+
requestedModel: string;
|
|
23885
|
+
availableModels: {
|
|
23886
|
+
id: string;
|
|
23887
|
+
label: string;
|
|
23888
|
+
description: string;
|
|
23889
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
23890
|
+
}[];
|
|
23891
|
+
otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
|
|
23892
|
+
} | undefined;
|
|
23893
|
+
};
|
|
23894
|
+
outputFormat: "json";
|
|
23895
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
23896
|
+
input: {
|
|
23897
|
+
query: {
|
|
23898
|
+
[x: string]: string | string[];
|
|
23899
|
+
};
|
|
23900
|
+
} & {
|
|
23901
|
+
param: {
|
|
23902
|
+
id: string;
|
|
23903
|
+
};
|
|
23904
|
+
} & {
|
|
23905
|
+
json: Record<string, never>;
|
|
23906
|
+
};
|
|
23907
23907
|
};
|
|
23908
23908
|
};
|
|
23909
23909
|
} & {
|
|
@@ -33568,20 +33568,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33568
33568
|
} & {
|
|
33569
33569
|
"/runs/:id/handoff": {
|
|
33570
33570
|
$get: {
|
|
33571
|
-
output:
|
|
33572
|
-
|
|
33573
|
-
|
|
33571
|
+
output: {
|
|
33572
|
+
error: string;
|
|
33573
|
+
};
|
|
33574
|
+
outputFormat: "json";
|
|
33575
|
+
status: 404;
|
|
33574
33576
|
input: {
|
|
33575
33577
|
param: {
|
|
33576
33578
|
id: string;
|
|
33577
33579
|
};
|
|
33578
33580
|
};
|
|
33579
33581
|
} | {
|
|
33580
|
-
output:
|
|
33581
|
-
|
|
33582
|
-
|
|
33583
|
-
outputFormat: "json";
|
|
33584
|
-
status: 404;
|
|
33582
|
+
output: string;
|
|
33583
|
+
outputFormat: "text";
|
|
33584
|
+
status: 200;
|
|
33585
33585
|
input: {
|
|
33586
33586
|
param: {
|
|
33587
33587
|
id: string;
|
|
@@ -33619,20 +33619,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33619
33619
|
} & {
|
|
33620
33620
|
"/runs/:id/diff": {
|
|
33621
33621
|
$get: {
|
|
33622
|
-
output:
|
|
33623
|
-
|
|
33624
|
-
|
|
33622
|
+
output: {
|
|
33623
|
+
error: string;
|
|
33624
|
+
};
|
|
33625
|
+
outputFormat: "json";
|
|
33626
|
+
status: 404 | 409;
|
|
33625
33627
|
input: {
|
|
33626
33628
|
param: {
|
|
33627
33629
|
id: string;
|
|
33628
33630
|
};
|
|
33629
33631
|
};
|
|
33630
33632
|
} | {
|
|
33631
|
-
output:
|
|
33632
|
-
|
|
33633
|
-
|
|
33634
|
-
outputFormat: "json";
|
|
33635
|
-
status: 404 | 409;
|
|
33633
|
+
output: string;
|
|
33634
|
+
outputFormat: "text";
|
|
33635
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33636
33636
|
input: {
|
|
33637
33637
|
param: {
|
|
33638
33638
|
id: string;
|
|
@@ -283,30 +283,6 @@ export declare class ContinuationChecks {
|
|
|
283
283
|
deadline: string;
|
|
284
284
|
seconds: number;
|
|
285
285
|
note?: string | undefined;
|
|
286
|
-
} | {
|
|
287
|
-
id: string;
|
|
288
|
-
source: "agent" | "cezar";
|
|
289
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
290
|
-
registeredAt: string;
|
|
291
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
292
|
-
resolvedAt?: string | undefined;
|
|
293
|
-
deliveredAt?: string | undefined;
|
|
294
|
-
cancelledAt?: string | undefined;
|
|
295
|
-
turnId: string;
|
|
296
|
-
kind: "process";
|
|
297
|
-
deadline: string;
|
|
298
|
-
timeoutSeconds: number;
|
|
299
|
-
pid: number;
|
|
300
|
-
startToken?: string | undefined;
|
|
301
|
-
exitFile?: string | undefined;
|
|
302
|
-
note?: string | undefined;
|
|
303
|
-
result?: {
|
|
304
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
305
|
-
observedAt: string;
|
|
306
|
-
exitCode?: number | undefined;
|
|
307
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
308
|
-
diagnostic?: string | undefined;
|
|
309
|
-
} | undefined;
|
|
310
286
|
} | {
|
|
311
287
|
id: string;
|
|
312
288
|
source: "agent" | "cezar";
|
|
@@ -367,6 +343,30 @@ export declare class ContinuationChecks {
|
|
|
367
343
|
reason: "outcome" | "timeout";
|
|
368
344
|
} | undefined;
|
|
369
345
|
wakeInputId?: string | undefined;
|
|
346
|
+
} | {
|
|
347
|
+
id: string;
|
|
348
|
+
source: "agent" | "cezar";
|
|
349
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
350
|
+
registeredAt: string;
|
|
351
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
352
|
+
resolvedAt?: string | undefined;
|
|
353
|
+
deliveredAt?: string | undefined;
|
|
354
|
+
cancelledAt?: string | undefined;
|
|
355
|
+
turnId: string;
|
|
356
|
+
kind: "process";
|
|
357
|
+
deadline: string;
|
|
358
|
+
timeoutSeconds: number;
|
|
359
|
+
pid: number;
|
|
360
|
+
startToken?: string | undefined;
|
|
361
|
+
exitFile?: string | undefined;
|
|
362
|
+
note?: string | undefined;
|
|
363
|
+
result?: {
|
|
364
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
365
|
+
observedAt: string;
|
|
366
|
+
exitCode?: number | undefined;
|
|
367
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
368
|
+
diagnostic?: string | undefined;
|
|
369
|
+
} | undefined;
|
|
370
370
|
} | {
|
|
371
371
|
id: string;
|
|
372
372
|
source: "agent" | "cezar";
|
|
@@ -477,30 +477,6 @@ export declare class ContinuationChecks {
|
|
|
477
477
|
deadline: string;
|
|
478
478
|
seconds: number;
|
|
479
479
|
note?: string | undefined;
|
|
480
|
-
} | {
|
|
481
|
-
id: string;
|
|
482
|
-
source: "agent" | "cezar";
|
|
483
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
484
|
-
registeredAt: string;
|
|
485
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
486
|
-
resolvedAt?: string | undefined;
|
|
487
|
-
deliveredAt?: string | undefined;
|
|
488
|
-
cancelledAt?: string | undefined;
|
|
489
|
-
turnId: string;
|
|
490
|
-
kind: "process";
|
|
491
|
-
deadline: string;
|
|
492
|
-
timeoutSeconds: number;
|
|
493
|
-
pid: number;
|
|
494
|
-
startToken?: string | undefined;
|
|
495
|
-
exitFile?: string | undefined;
|
|
496
|
-
note?: string | undefined;
|
|
497
|
-
result?: {
|
|
498
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
499
|
-
observedAt: string;
|
|
500
|
-
exitCode?: number | undefined;
|
|
501
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
502
|
-
diagnostic?: string | undefined;
|
|
503
|
-
} | undefined;
|
|
504
480
|
} | {
|
|
505
481
|
id: string;
|
|
506
482
|
source: "agent" | "cezar";
|
|
@@ -561,6 +537,30 @@ export declare class ContinuationChecks {
|
|
|
561
537
|
reason: "outcome" | "timeout";
|
|
562
538
|
} | undefined;
|
|
563
539
|
wakeInputId?: string | undefined;
|
|
540
|
+
} | {
|
|
541
|
+
id: string;
|
|
542
|
+
source: "agent" | "cezar";
|
|
543
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
544
|
+
registeredAt: string;
|
|
545
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
546
|
+
resolvedAt?: string | undefined;
|
|
547
|
+
deliveredAt?: string | undefined;
|
|
548
|
+
cancelledAt?: string | undefined;
|
|
549
|
+
turnId: string;
|
|
550
|
+
kind: "process";
|
|
551
|
+
deadline: string;
|
|
552
|
+
timeoutSeconds: number;
|
|
553
|
+
pid: number;
|
|
554
|
+
startToken?: string | undefined;
|
|
555
|
+
exitFile?: string | undefined;
|
|
556
|
+
note?: string | undefined;
|
|
557
|
+
result?: {
|
|
558
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
559
|
+
observedAt: string;
|
|
560
|
+
exitCode?: number | undefined;
|
|
561
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
562
|
+
diagnostic?: string | undefined;
|
|
563
|
+
} | undefined;
|
|
564
564
|
} | {
|
|
565
565
|
id: string;
|
|
566
566
|
source: "agent" | "cezar";
|
|
@@ -670,30 +670,6 @@ export declare class ContinuationChecks {
|
|
|
670
670
|
deadline: string;
|
|
671
671
|
seconds: number;
|
|
672
672
|
note?: string | undefined;
|
|
673
|
-
} | {
|
|
674
|
-
id: string;
|
|
675
|
-
source: "agent" | "cezar";
|
|
676
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
677
|
-
registeredAt: string;
|
|
678
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
679
|
-
resolvedAt?: string | undefined;
|
|
680
|
-
deliveredAt?: string | undefined;
|
|
681
|
-
cancelledAt?: string | undefined;
|
|
682
|
-
turnId: string;
|
|
683
|
-
kind: "process";
|
|
684
|
-
deadline: string;
|
|
685
|
-
timeoutSeconds: number;
|
|
686
|
-
pid: number;
|
|
687
|
-
startToken?: string | undefined;
|
|
688
|
-
exitFile?: string | undefined;
|
|
689
|
-
note?: string | undefined;
|
|
690
|
-
result?: {
|
|
691
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
692
|
-
observedAt: string;
|
|
693
|
-
exitCode?: number | undefined;
|
|
694
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
695
|
-
diagnostic?: string | undefined;
|
|
696
|
-
} | undefined;
|
|
697
673
|
} | {
|
|
698
674
|
id: string;
|
|
699
675
|
source: "agent" | "cezar";
|
|
@@ -754,6 +730,30 @@ export declare class ContinuationChecks {
|
|
|
754
730
|
reason: "outcome" | "timeout";
|
|
755
731
|
} | undefined;
|
|
756
732
|
wakeInputId?: string | undefined;
|
|
733
|
+
} | {
|
|
734
|
+
id: string;
|
|
735
|
+
source: "agent" | "cezar";
|
|
736
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
737
|
+
registeredAt: string;
|
|
738
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
739
|
+
resolvedAt?: string | undefined;
|
|
740
|
+
deliveredAt?: string | undefined;
|
|
741
|
+
cancelledAt?: string | undefined;
|
|
742
|
+
turnId: string;
|
|
743
|
+
kind: "process";
|
|
744
|
+
deadline: string;
|
|
745
|
+
timeoutSeconds: number;
|
|
746
|
+
pid: number;
|
|
747
|
+
startToken?: string | undefined;
|
|
748
|
+
exitFile?: string | undefined;
|
|
749
|
+
note?: string | undefined;
|
|
750
|
+
result?: {
|
|
751
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
752
|
+
observedAt: string;
|
|
753
|
+
exitCode?: number | undefined;
|
|
754
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
755
|
+
diagnostic?: string | undefined;
|
|
756
|
+
} | undefined;
|
|
757
757
|
} | {
|
|
758
758
|
id: string;
|
|
759
759
|
source: "agent" | "cezar";
|
|
@@ -51,6 +51,7 @@ import type { CiWatcherSupervisor } from '../../ci-wait/supervisor.ts';
|
|
|
51
51
|
import type { SquawkToolHandlers } from '../../ci-wait/controller.ts';
|
|
52
52
|
import { type WorkerAccountBinding } from '../../delegation/execution-identity.ts';
|
|
53
53
|
import type { DelegationProvisioner } from '../../delegation/provision.ts';
|
|
54
|
+
import type { WorkerWorkspacePort } from './worker-workspace-port.ts';
|
|
54
55
|
import { WorkerScratchCleanup } from '../../delegation/scratch-cleanup.ts';
|
|
55
56
|
import type { RunnerId } from '../../core/agent-runner.ts';
|
|
56
57
|
import { type PastedContent, type PersistedAttachment } from '../pasted-content.ts';
|
|
@@ -124,6 +125,7 @@ export interface FacadeHost {
|
|
|
124
125
|
ciResources: CiResources;
|
|
125
126
|
squawkToolHandlers(runId: string, generation: string): SquawkToolHandlers;
|
|
126
127
|
delegationProvisioner?: DelegationProvisioner | undefined;
|
|
128
|
+
workerWorkspaces(): WorkerWorkspacePort | undefined;
|
|
127
129
|
move(runId: string, exit: RunExitId, patch?: Omit<Parameters<RunStore['updateRun']>[1], 'status'>, call?: ExitCall): RunRecord | undefined;
|
|
128
130
|
isActive(runId: string): boolean;
|
|
129
131
|
workerExecutionStopped(runId: string): boolean;
|
|
@@ -344,7 +344,7 @@ export function composeRunModules(context, host, memory) {
|
|
|
344
344
|
prepareWorktree: (...args) => modules.stepLoop.prepareWorktree(...args),
|
|
345
345
|
workerStep: (...args) => launchContext.workerStep(context, ...args),
|
|
346
346
|
latchAgentInputError: (...args) => modules.inputDelivery.latchAgentInputError(...args),
|
|
347
|
-
reconcileWorkerWaits: () => host.reconcileWorkerWaits(),
|
|
347
|
+
reconcileWorkerWaits: () => host.reconcileWorkerWaits(), workerWorkspaces: () => host.workerWorkspaces(),
|
|
348
348
|
holdContinuationForRootFinish: (...args) => modules.runFinish.holdContinuationForRootFinish(...args),
|
|
349
349
|
}, modules.line, modules.sessionHelperHost, modules.repoRootLease, modules.worktreeAutosave, modules.runSkills, sessionEventHost(), launchPreambleHost(), modules.inputReceiptHost, modules.inputReceiptSteps, modules.humanWaits, modules.queuedInput, modules.workerQuestions, modules.runSettlement);
|
|
350
350
|
modules.stepLoop = new WorkflowStepLoop(context, {
|
|
@@ -352,7 +352,7 @@ export function composeRunModules(context, host, memory) {
|
|
|
352
352
|
active: host.active, move: (id, exit, patch, call) => host.move(id, exit, patch, call), dropActive: id => host.dropActive(id),
|
|
353
353
|
closingWakeDecision: (id, holds, cancelled, error) => modules.wakeAdmission.closingWakeDecision(id, holds, cancelled, error),
|
|
354
354
|
cleanCloseFailsDelivery: (id, state) => modules.wakeAdmission.cleanCloseFailsDelivery(id, state),
|
|
355
|
-
workerExecutionStopped: id => host.workerExecutionStopped(id),
|
|
355
|
+
workerExecutionStopped: id => host.workerExecutionStopped(id), workerWorkspaces: () => host.workerWorkspaces(),
|
|
356
356
|
executionBlockedByRootFinish: run => host.executionBlockedByRootFinish(run),
|
|
357
357
|
}, modules.line, modules.worktreeAutosave, modules.humanWaits, modules.runSettlement, modules.stepSession, modules.completionGateHost, WAKE_SESSION_CLOSED_ERROR);
|
|
358
358
|
modules.runStart = new RunStart(context, {
|