@hearsay-tools/squawk 0.18.0-dev.7381 → 0.18.0-dev.7384
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 +42 -42
- package/dist/contract/delegation.d.ts +2 -0
- package/dist/contract/index.js +1 -0
- package/dist/delegation/conversations.d.ts +144 -144
- package/dist/delegation/provision.js +1 -0
- package/dist/delegation/provision.js.map +1 -1
- package/dist/delegation/results.js +6 -6
- package/dist/delegation/results.js.map +1 -1
- package/dist/delegation/routes.d.ts +1 -0
- package/dist/delegation/service.js +6 -3
- package/dist/delegation/service.js.map +1 -1
- package/dist/delegation/transport.d.ts +1 -0
- package/dist/delegation/worker-cleanup.js +3 -2
- package/dist/delegation/worker-cleanup.js.map +1 -1
- package/dist/runs/delegation-state.d.ts +6 -0
- package/dist/runs/delegation-state.js +6 -0
- package/dist/runs/delegation-state.js.map +1 -1
- package/dist/runs/store.js +1 -1
- package/dist/runs/store.js.map +1 -1
- package/dist/runs/worker-execution.d.ts +4 -1
- package/dist/runs/worker-execution.js +11 -4
- package/dist/runs/worker-execution.js.map +1 -1
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/server.d.ts +60 -58
- package/dist/server/server.js +6 -6
- package/dist/server/server.js.map +1 -1
- package/dist/workflows/run/worker-orphans.js +2 -3
- package/dist/workflows/run/worker-orphans.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/{activity-motion-BOQUCeCr.js → activity-motion-CgP40__E.js} +1 -1
- package/web/dist/assets/{activity-route-BHLXl8oV.js → activity-route-BtvFzWFR.js} +1 -1
- package/web/dist/assets/{agent-accounts-CrhI2D79.js → agent-accounts-Df00_4nt.js} +1 -1
- package/web/dist/assets/attention-DnkhRVYi.js +1 -0
- package/web/dist/assets/{cez-idle-Catc8I8F.js → cez-idle-C2a1bGFM.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-BaxN0Drk.js → commit-diff-panel-CgHoJCd0.js} +1 -1
- package/web/dist/assets/{diff-DsC9nsup.js → diff-DAzJjwNi.js} +2 -2
- package/web/dist/assets/{diff-view-DrIsymRS.js → diff-view-B0gEEQRk.js} +1 -1
- package/web/dist/assets/{file-preview-Bg9lwYd3.js → file-preview-BJXNrl8A.js} +1 -1
- package/web/dist/assets/{git-toolbar-BIMZxkIR.js → git-toolbar-1GsxjDzi.js} +1 -1
- package/web/dist/assets/{github-DLMIlW2E.js → github-BgpxzetM.js} +1 -1
- package/web/dist/assets/{global-activity-route-DLAEr5L8.js → global-activity-route-DF0LJ4yy.js} +1 -1
- package/web/dist/assets/{index-8QnR_MBI.js → index-l9xNCoqa.js} +4 -4
- package/web/dist/assets/{live-protocol-B8HJ-VW8.js → live-protocol-DATMWlI4.js} +1 -1
- package/web/dist/assets/{markdown-C24Y3Ede.js → markdown-DF-pvq4A.js} +1 -1
- package/web/dist/assets/{picker-pill-Dl5RK9pn.js → picker-pill-p-VKz2MC.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-BB6fiNz4.js → preview-pane-connected-BLOvS5Ae.js} +1 -1
- package/web/dist/assets/{project-router-4acCokGM.js → project-router-BC1rP-YL.js} +1 -1
- package/web/dist/assets/{project-scope-context-DhjdxoB5.js → project-scope-context-C8nBMvLL.js} +1 -1
- package/web/dist/assets/{prompt-template-menu-cd6UuIt4.js → prompt-template-menu-D8AmEuUD.js} +1 -1
- package/web/dist/assets/{queries-DQWq3QYH.js → queries-B9kcZt0T.js} +1 -1
- package/web/dist/assets/{reference-chip-S5_xQP1E.js → reference-chip-CqSRXBDz.js} +1 -1
- package/web/dist/assets/{repo-git-j1M9sjeL.js → repo-git-CvWZpHBx.js} +1 -1
- package/web/dist/assets/{report-reader-CH91jPJm.js → report-reader-CQ1WzJdV.js} +1 -1
- package/web/dist/assets/{reports-DJnKG8OO.js → reports-CJMZxPTJ.js} +1 -1
- package/web/dist/assets/{run-header-Bfg4NPUu.js → run-header-B6iuPEt1.js} +1 -1
- package/web/dist/assets/{skills-CdKwxQx-.js → skills-dp6fZ9Rx.js} +1 -1
- package/web/dist/assets/{tab-link-lLkoaQwJ.js → tab-link-GRSRI4GD.js} +1 -1
- package/web/dist/assets/{task-changes-jdt_D-1I.js → task-changes-Cr9nBTDb.js} +1 -1
- package/web/dist/assets/{task-commits-y2F7KSSy.js → task-commits-BVrixmRD.js} +1 -1
- package/web/dist/assets/{task-files-BgoBjf1S.js → task-files-C793KQkx.js} +1 -1
- package/web/dist/assets/{task-github-item-DRiO1MOT.js → task-github-item-hCSq4bHg.js} +1 -1
- package/web/dist/assets/{task-thread-DtmCMLAL.js → task-thread-CptBlW0g.js} +1 -1
- package/web/dist/assets/{thread-state-B4uGx4AQ.js → thread-state-deiplV_w.js} +1 -1
- package/web/dist/assets/{use-desktop-B27Z5VAz.js → use-desktop-BG9pRFWT.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-PIoC-vpx.js → use-hand-to-agent-state-CGSDi2SR.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-MTFj7KHp.js → useInfiniteQuery-BICP2NKv.js} +1 -1
- package/web/dist/assets/useQuery-s9cUNw6x.js +1 -0
- package/web/dist/assets/{workflows-DABi3xsS.js → workflows-CLl6Nvgl.js} +1 -1
- package/web/dist/assets/{ws-DSHRpUsm.js → ws-DMAJTDWo.js} +1 -1
- package/web/dist/index.html +15 -15
- package/web/dist/live-worker.js +1 -1
- package/web/dist/assets/attention-CJrUOS56.js +0 -1
- package/web/dist/assets/useQuery-pKaBf15T.js +0 -1
|
@@ -282,11 +282,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
282
282
|
"/api/v1/tools/ask": {
|
|
283
283
|
$post: {
|
|
284
284
|
output: {
|
|
285
|
-
|
|
285
|
+
ok: false;
|
|
286
|
+
code: 'unavailable';
|
|
286
287
|
message: string;
|
|
287
288
|
};
|
|
288
289
|
outputFormat: "json";
|
|
289
|
-
status:
|
|
290
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
290
291
|
input: {
|
|
291
292
|
json: {
|
|
292
293
|
questions: {
|
|
@@ -304,12 +305,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
304
305
|
};
|
|
305
306
|
} | {
|
|
306
307
|
output: {
|
|
307
|
-
|
|
308
|
-
code: 'unavailable';
|
|
308
|
+
code: 'capability_revoked';
|
|
309
309
|
message: string;
|
|
310
310
|
};
|
|
311
311
|
outputFormat: "json";
|
|
312
|
-
status:
|
|
312
|
+
status: 401;
|
|
313
313
|
input: {
|
|
314
314
|
json: {
|
|
315
315
|
questions: {
|
|
@@ -377,11 +377,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
377
377
|
"/api/v1/tools/cancel-wait": {
|
|
378
378
|
$post: {
|
|
379
379
|
output: {
|
|
380
|
-
|
|
380
|
+
cancelled: false;
|
|
381
|
+
code: 'unavailable';
|
|
381
382
|
message: string;
|
|
382
383
|
};
|
|
383
384
|
outputFormat: "json";
|
|
384
|
-
status:
|
|
385
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
385
386
|
input: {
|
|
386
387
|
json: {
|
|
387
388
|
wait_id: string;
|
|
@@ -389,12 +390,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
389
390
|
};
|
|
390
391
|
} | {
|
|
391
392
|
output: {
|
|
392
|
-
|
|
393
|
-
code: 'unavailable';
|
|
393
|
+
code: 'capability_revoked';
|
|
394
394
|
message: string;
|
|
395
395
|
};
|
|
396
396
|
outputFormat: "json";
|
|
397
|
-
status:
|
|
397
|
+
status: 401;
|
|
398
398
|
input: {
|
|
399
399
|
json: {
|
|
400
400
|
wait_id: string;
|
|
@@ -442,11 +442,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
442
442
|
"/api/v1/tools/done": {
|
|
443
443
|
$post: {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
445
|
+
ok: false;
|
|
446
|
+
code: 'unavailable';
|
|
446
447
|
message: string;
|
|
447
448
|
};
|
|
448
449
|
outputFormat: "json";
|
|
449
|
-
status:
|
|
450
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
450
451
|
input: {
|
|
451
452
|
json: {
|
|
452
453
|
summary?: string | undefined;
|
|
@@ -454,12 +455,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
454
455
|
};
|
|
455
456
|
} | {
|
|
456
457
|
output: {
|
|
457
|
-
|
|
458
|
-
code: 'unavailable';
|
|
458
|
+
code: 'capability_revoked';
|
|
459
459
|
message: string;
|
|
460
460
|
};
|
|
461
461
|
outputFormat: "json";
|
|
462
|
-
status:
|
|
462
|
+
status: 401;
|
|
463
463
|
input: {
|
|
464
464
|
json: {
|
|
465
465
|
summary?: string | undefined;
|
|
@@ -542,11 +542,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
542
542
|
"/api/v1/tools/preview-stop": {
|
|
543
543
|
$post: {
|
|
544
544
|
output: {
|
|
545
|
-
|
|
545
|
+
ok: boolean;
|
|
546
|
+
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
546
547
|
message: string;
|
|
548
|
+
hint: string;
|
|
547
549
|
};
|
|
548
550
|
outputFormat: "json";
|
|
549
|
-
status:
|
|
551
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
550
552
|
input: {
|
|
551
553
|
json: {
|
|
552
554
|
port: number;
|
|
@@ -555,13 +557,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
555
557
|
};
|
|
556
558
|
} | {
|
|
557
559
|
output: {
|
|
558
|
-
|
|
559
|
-
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
560
|
+
code: 'capability_revoked';
|
|
560
561
|
message: string;
|
|
561
|
-
hint: string;
|
|
562
562
|
};
|
|
563
563
|
outputFormat: "json";
|
|
564
|
-
status:
|
|
564
|
+
status: 401;
|
|
565
565
|
input: {
|
|
566
566
|
json: {
|
|
567
567
|
port: number;
|
|
@@ -574,11 +574,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
574
574
|
"/api/v1/tools/preview-serve": {
|
|
575
575
|
$post: {
|
|
576
576
|
output: {
|
|
577
|
-
|
|
577
|
+
ok: boolean;
|
|
578
|
+
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
578
579
|
message: string;
|
|
580
|
+
hint: string;
|
|
579
581
|
};
|
|
580
582
|
outputFormat: "json";
|
|
581
|
-
status:
|
|
583
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
582
584
|
input: {
|
|
583
585
|
json: {
|
|
584
586
|
command: string;
|
|
@@ -590,13 +592,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
590
592
|
};
|
|
591
593
|
} | {
|
|
592
594
|
output: {
|
|
593
|
-
|
|
594
|
-
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
595
|
+
code: 'capability_revoked';
|
|
595
596
|
message: string;
|
|
596
|
-
hint: string;
|
|
597
597
|
};
|
|
598
598
|
outputFormat: "json";
|
|
599
|
-
status:
|
|
599
|
+
status: 401;
|
|
600
600
|
input: {
|
|
601
601
|
json: {
|
|
602
602
|
command: string;
|
|
@@ -612,11 +612,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
612
612
|
"/api/v1/tools/automation": {
|
|
613
613
|
$post: {
|
|
614
614
|
output: {
|
|
615
|
-
|
|
615
|
+
ok: false;
|
|
616
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
616
617
|
message: string;
|
|
617
618
|
};
|
|
618
619
|
outputFormat: "json";
|
|
619
|
-
status:
|
|
620
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
620
621
|
input: {
|
|
621
622
|
json: {
|
|
622
623
|
action: "create";
|
|
@@ -696,12 +697,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
696
697
|
};
|
|
697
698
|
} | {
|
|
698
699
|
output: {
|
|
699
|
-
|
|
700
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
700
|
+
code: 'capability_revoked';
|
|
701
701
|
message: string;
|
|
702
702
|
};
|
|
703
703
|
outputFormat: "json";
|
|
704
|
-
status:
|
|
704
|
+
status: 401;
|
|
705
705
|
input: {
|
|
706
706
|
json: {
|
|
707
707
|
action: "create";
|
|
@@ -957,11 +957,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
957
957
|
"/api/v1/tools/schedule-task": {
|
|
958
958
|
$post: {
|
|
959
959
|
output: {
|
|
960
|
-
|
|
960
|
+
ok: false;
|
|
961
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
961
962
|
message: string;
|
|
962
963
|
};
|
|
963
964
|
outputFormat: "json";
|
|
964
|
-
status:
|
|
965
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
965
966
|
input: {
|
|
966
967
|
json: {
|
|
967
968
|
at?: string | undefined;
|
|
@@ -978,12 +979,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
978
979
|
};
|
|
979
980
|
} | {
|
|
980
981
|
output: {
|
|
981
|
-
|
|
982
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
982
|
+
code: 'capability_revoked';
|
|
983
983
|
message: string;
|
|
984
984
|
};
|
|
985
985
|
outputFormat: "json";
|
|
986
|
-
status:
|
|
986
|
+
status: 401;
|
|
987
987
|
input: {
|
|
988
988
|
json: {
|
|
989
989
|
at?: string | undefined;
|
|
@@ -1038,11 +1038,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1038
1038
|
"/api/v1/tools/scheduled-tasks": {
|
|
1039
1039
|
$post: {
|
|
1040
1040
|
output: {
|
|
1041
|
-
|
|
1041
|
+
ok: false;
|
|
1042
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1042
1043
|
message: string;
|
|
1043
1044
|
};
|
|
1044
1045
|
outputFormat: "json";
|
|
1045
|
-
status:
|
|
1046
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1046
1047
|
input: {
|
|
1047
1048
|
json: {
|
|
1048
1049
|
at?: string | undefined;
|
|
@@ -1075,12 +1076,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1075
1076
|
};
|
|
1076
1077
|
} | {
|
|
1077
1078
|
output: {
|
|
1078
|
-
|
|
1079
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1079
|
+
code: 'capability_revoked';
|
|
1080
1080
|
message: string;
|
|
1081
1081
|
};
|
|
1082
1082
|
outputFormat: "json";
|
|
1083
|
-
status:
|
|
1083
|
+
status: 401;
|
|
1084
1084
|
input: {
|
|
1085
1085
|
json: {
|
|
1086
1086
|
at?: string | undefined;
|
|
@@ -1148,6 +1148,7 @@ export declare const agentInputSchema: z.ZodObject<{
|
|
|
1148
1148
|
export type AgentInput = z.infer<typeof agentInputSchema>;
|
|
1149
1149
|
export declare const workerInspectionSchema: z.ZodObject<{
|
|
1150
1150
|
workerId: z.ZodUUID;
|
|
1151
|
+
settled: z.ZodBoolean;
|
|
1151
1152
|
parentRunId: z.ZodUUID;
|
|
1152
1153
|
status: z.ZodEnum<{
|
|
1153
1154
|
cancelled: "cancelled";
|
|
@@ -1539,6 +1540,7 @@ export declare const runRelationshipsSchema: z.ZodObject<{
|
|
|
1539
1540
|
parentRunId: z.ZodOptional<z.ZodUUID>;
|
|
1540
1541
|
workers: z.ZodArray<z.ZodObject<{
|
|
1541
1542
|
workerId: z.ZodUUID;
|
|
1543
|
+
settled: z.ZodBoolean;
|
|
1542
1544
|
parentRunId: z.ZodUUID;
|
|
1543
1545
|
status: z.ZodEnum<{
|
|
1544
1546
|
cancelled: "cancelled";
|
package/dist/contract/index.js
CHANGED
|
@@ -780,6 +780,7 @@ var agentInputSchema = z8.object({
|
|
|
780
780
|
}).strict();
|
|
781
781
|
var workerInspectionSchema = z8.object({
|
|
782
782
|
workerId: z8.uuid(),
|
|
783
|
+
settled: z8.boolean(),
|
|
783
784
|
parentRunId: z8.uuid(),
|
|
784
785
|
status: z8.enum(["queued", "running", "waiting", ...workerOutcomeSchema.shape.status.options]),
|
|
785
786
|
currentStepId: z8.string().optional(),
|
|
@@ -156,6 +156,30 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
156
156
|
deadline: string;
|
|
157
157
|
seconds: number;
|
|
158
158
|
note?: string | undefined;
|
|
159
|
+
} | {
|
|
160
|
+
id: string;
|
|
161
|
+
source: "agent" | "cezar";
|
|
162
|
+
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";
|
|
163
|
+
registeredAt: string;
|
|
164
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
165
|
+
resolvedAt?: string | undefined;
|
|
166
|
+
deliveredAt?: string | undefined;
|
|
167
|
+
cancelledAt?: string | undefined;
|
|
168
|
+
turnId: string;
|
|
169
|
+
kind: "process";
|
|
170
|
+
deadline: string;
|
|
171
|
+
timeoutSeconds: number;
|
|
172
|
+
pid: number;
|
|
173
|
+
startToken?: string | undefined;
|
|
174
|
+
exitFile?: string | undefined;
|
|
175
|
+
note?: string | undefined;
|
|
176
|
+
result?: {
|
|
177
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
178
|
+
observedAt: string;
|
|
179
|
+
exitCode?: number | undefined;
|
|
180
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
181
|
+
diagnostic?: string | undefined;
|
|
182
|
+
} | undefined;
|
|
159
183
|
} | {
|
|
160
184
|
id: string;
|
|
161
185
|
source: "agent" | "cezar";
|
|
@@ -216,30 +240,6 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
216
240
|
reason: "outcome" | "timeout";
|
|
217
241
|
} | undefined;
|
|
218
242
|
wakeInputId?: string | undefined;
|
|
219
|
-
} | {
|
|
220
|
-
id: string;
|
|
221
|
-
source: "agent" | "cezar";
|
|
222
|
-
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";
|
|
223
|
-
registeredAt: string;
|
|
224
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
225
|
-
resolvedAt?: string | undefined;
|
|
226
|
-
deliveredAt?: string | undefined;
|
|
227
|
-
cancelledAt?: string | undefined;
|
|
228
|
-
turnId: string;
|
|
229
|
-
kind: "process";
|
|
230
|
-
deadline: string;
|
|
231
|
-
timeoutSeconds: number;
|
|
232
|
-
pid: number;
|
|
233
|
-
startToken?: string | undefined;
|
|
234
|
-
exitFile?: string | undefined;
|
|
235
|
-
note?: string | undefined;
|
|
236
|
-
result?: {
|
|
237
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
238
|
-
observedAt: string;
|
|
239
|
-
exitCode?: number | undefined;
|
|
240
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
241
|
-
diagnostic?: string | undefined;
|
|
242
|
-
} | undefined;
|
|
243
243
|
} | {
|
|
244
244
|
id: string;
|
|
245
245
|
source: "agent" | "cezar";
|
|
@@ -350,6 +350,30 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
350
350
|
deadline: string;
|
|
351
351
|
seconds: number;
|
|
352
352
|
note?: string | undefined;
|
|
353
|
+
} | {
|
|
354
|
+
id: string;
|
|
355
|
+
source: "agent" | "cezar";
|
|
356
|
+
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";
|
|
357
|
+
registeredAt: string;
|
|
358
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
359
|
+
resolvedAt?: string | undefined;
|
|
360
|
+
deliveredAt?: string | undefined;
|
|
361
|
+
cancelledAt?: string | undefined;
|
|
362
|
+
turnId: string;
|
|
363
|
+
kind: "process";
|
|
364
|
+
deadline: string;
|
|
365
|
+
timeoutSeconds: number;
|
|
366
|
+
pid: number;
|
|
367
|
+
startToken?: string | undefined;
|
|
368
|
+
exitFile?: string | undefined;
|
|
369
|
+
note?: string | undefined;
|
|
370
|
+
result?: {
|
|
371
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
372
|
+
observedAt: string;
|
|
373
|
+
exitCode?: number | undefined;
|
|
374
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
375
|
+
diagnostic?: string | undefined;
|
|
376
|
+
} | undefined;
|
|
353
377
|
} | {
|
|
354
378
|
id: string;
|
|
355
379
|
source: "agent" | "cezar";
|
|
@@ -410,30 +434,6 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
410
434
|
reason: "outcome" | "timeout";
|
|
411
435
|
} | undefined;
|
|
412
436
|
wakeInputId?: string | undefined;
|
|
413
|
-
} | {
|
|
414
|
-
id: string;
|
|
415
|
-
source: "agent" | "cezar";
|
|
416
|
-
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";
|
|
417
|
-
registeredAt: string;
|
|
418
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
419
|
-
resolvedAt?: string | undefined;
|
|
420
|
-
deliveredAt?: string | undefined;
|
|
421
|
-
cancelledAt?: string | undefined;
|
|
422
|
-
turnId: string;
|
|
423
|
-
kind: "process";
|
|
424
|
-
deadline: string;
|
|
425
|
-
timeoutSeconds: number;
|
|
426
|
-
pid: number;
|
|
427
|
-
startToken?: string | undefined;
|
|
428
|
-
exitFile?: string | undefined;
|
|
429
|
-
note?: string | undefined;
|
|
430
|
-
result?: {
|
|
431
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
432
|
-
observedAt: string;
|
|
433
|
-
exitCode?: number | undefined;
|
|
434
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
435
|
-
diagnostic?: string | undefined;
|
|
436
|
-
} | undefined;
|
|
437
437
|
} | {
|
|
438
438
|
id: string;
|
|
439
439
|
source: "agent" | "cezar";
|
|
@@ -543,6 +543,30 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
543
543
|
deadline: string;
|
|
544
544
|
seconds: number;
|
|
545
545
|
note?: string | undefined;
|
|
546
|
+
} | {
|
|
547
|
+
id: string;
|
|
548
|
+
source: "agent" | "cezar";
|
|
549
|
+
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";
|
|
550
|
+
registeredAt: string;
|
|
551
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
552
|
+
resolvedAt?: string | undefined;
|
|
553
|
+
deliveredAt?: string | undefined;
|
|
554
|
+
cancelledAt?: string | undefined;
|
|
555
|
+
turnId: string;
|
|
556
|
+
kind: "process";
|
|
557
|
+
deadline: string;
|
|
558
|
+
timeoutSeconds: number;
|
|
559
|
+
pid: number;
|
|
560
|
+
startToken?: string | undefined;
|
|
561
|
+
exitFile?: string | undefined;
|
|
562
|
+
note?: string | undefined;
|
|
563
|
+
result?: {
|
|
564
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
565
|
+
observedAt: string;
|
|
566
|
+
exitCode?: number | undefined;
|
|
567
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
568
|
+
diagnostic?: string | undefined;
|
|
569
|
+
} | undefined;
|
|
546
570
|
} | {
|
|
547
571
|
id: string;
|
|
548
572
|
source: "agent" | "cezar";
|
|
@@ -603,30 +627,6 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
603
627
|
reason: "outcome" | "timeout";
|
|
604
628
|
} | undefined;
|
|
605
629
|
wakeInputId?: string | undefined;
|
|
606
|
-
} | {
|
|
607
|
-
id: string;
|
|
608
|
-
source: "agent" | "cezar";
|
|
609
|
-
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";
|
|
610
|
-
registeredAt: string;
|
|
611
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
612
|
-
resolvedAt?: string | undefined;
|
|
613
|
-
deliveredAt?: string | undefined;
|
|
614
|
-
cancelledAt?: string | undefined;
|
|
615
|
-
turnId: string;
|
|
616
|
-
kind: "process";
|
|
617
|
-
deadline: string;
|
|
618
|
-
timeoutSeconds: number;
|
|
619
|
-
pid: number;
|
|
620
|
-
startToken?: string | undefined;
|
|
621
|
-
exitFile?: string | undefined;
|
|
622
|
-
note?: string | undefined;
|
|
623
|
-
result?: {
|
|
624
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
625
|
-
observedAt: string;
|
|
626
|
-
exitCode?: number | undefined;
|
|
627
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
628
|
-
diagnostic?: string | undefined;
|
|
629
|
-
} | undefined;
|
|
630
630
|
} | {
|
|
631
631
|
id: string;
|
|
632
632
|
source: "agent" | "cezar";
|
|
@@ -1227,6 +1227,30 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
1227
1227
|
deadline: string;
|
|
1228
1228
|
seconds: number;
|
|
1229
1229
|
note?: string | undefined;
|
|
1230
|
+
} | {
|
|
1231
|
+
id: string;
|
|
1232
|
+
source: "agent" | "cezar";
|
|
1233
|
+
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";
|
|
1234
|
+
registeredAt: string;
|
|
1235
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
1236
|
+
resolvedAt?: string | undefined;
|
|
1237
|
+
deliveredAt?: string | undefined;
|
|
1238
|
+
cancelledAt?: string | undefined;
|
|
1239
|
+
turnId: string;
|
|
1240
|
+
kind: "process";
|
|
1241
|
+
deadline: string;
|
|
1242
|
+
timeoutSeconds: number;
|
|
1243
|
+
pid: number;
|
|
1244
|
+
startToken?: string | undefined;
|
|
1245
|
+
exitFile?: string | undefined;
|
|
1246
|
+
note?: string | undefined;
|
|
1247
|
+
result?: {
|
|
1248
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
1249
|
+
observedAt: string;
|
|
1250
|
+
exitCode?: number | undefined;
|
|
1251
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
1252
|
+
diagnostic?: string | undefined;
|
|
1253
|
+
} | undefined;
|
|
1230
1254
|
} | {
|
|
1231
1255
|
id: string;
|
|
1232
1256
|
source: "agent" | "cezar";
|
|
@@ -1287,30 +1311,6 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
1287
1311
|
reason: "outcome" | "timeout";
|
|
1288
1312
|
} | undefined;
|
|
1289
1313
|
wakeInputId?: string | undefined;
|
|
1290
|
-
} | {
|
|
1291
|
-
id: string;
|
|
1292
|
-
source: "agent" | "cezar";
|
|
1293
|
-
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";
|
|
1294
|
-
registeredAt: string;
|
|
1295
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
1296
|
-
resolvedAt?: string | undefined;
|
|
1297
|
-
deliveredAt?: string | undefined;
|
|
1298
|
-
cancelledAt?: string | undefined;
|
|
1299
|
-
turnId: string;
|
|
1300
|
-
kind: "process";
|
|
1301
|
-
deadline: string;
|
|
1302
|
-
timeoutSeconds: number;
|
|
1303
|
-
pid: number;
|
|
1304
|
-
startToken?: string | undefined;
|
|
1305
|
-
exitFile?: string | undefined;
|
|
1306
|
-
note?: string | undefined;
|
|
1307
|
-
result?: {
|
|
1308
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
1309
|
-
observedAt: string;
|
|
1310
|
-
exitCode?: number | undefined;
|
|
1311
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
1312
|
-
diagnostic?: string | undefined;
|
|
1313
|
-
} | undefined;
|
|
1314
1314
|
} | {
|
|
1315
1315
|
id: string;
|
|
1316
1316
|
source: "agent" | "cezar";
|
|
@@ -1421,6 +1421,30 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
1421
1421
|
deadline: string;
|
|
1422
1422
|
seconds: number;
|
|
1423
1423
|
note?: string | undefined;
|
|
1424
|
+
} | {
|
|
1425
|
+
id: string;
|
|
1426
|
+
source: "agent" | "cezar";
|
|
1427
|
+
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";
|
|
1428
|
+
registeredAt: string;
|
|
1429
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
1430
|
+
resolvedAt?: string | undefined;
|
|
1431
|
+
deliveredAt?: string | undefined;
|
|
1432
|
+
cancelledAt?: string | undefined;
|
|
1433
|
+
turnId: string;
|
|
1434
|
+
kind: "process";
|
|
1435
|
+
deadline: string;
|
|
1436
|
+
timeoutSeconds: number;
|
|
1437
|
+
pid: number;
|
|
1438
|
+
startToken?: string | undefined;
|
|
1439
|
+
exitFile?: string | undefined;
|
|
1440
|
+
note?: string | undefined;
|
|
1441
|
+
result?: {
|
|
1442
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
1443
|
+
observedAt: string;
|
|
1444
|
+
exitCode?: number | undefined;
|
|
1445
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
1446
|
+
diagnostic?: string | undefined;
|
|
1447
|
+
} | undefined;
|
|
1424
1448
|
} | {
|
|
1425
1449
|
id: string;
|
|
1426
1450
|
source: "agent" | "cezar";
|
|
@@ -1481,30 +1505,6 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
1481
1505
|
reason: "outcome" | "timeout";
|
|
1482
1506
|
} | undefined;
|
|
1483
1507
|
wakeInputId?: string | undefined;
|
|
1484
|
-
} | {
|
|
1485
|
-
id: string;
|
|
1486
|
-
source: "agent" | "cezar";
|
|
1487
|
-
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";
|
|
1488
|
-
registeredAt: string;
|
|
1489
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
1490
|
-
resolvedAt?: string | undefined;
|
|
1491
|
-
deliveredAt?: string | undefined;
|
|
1492
|
-
cancelledAt?: string | undefined;
|
|
1493
|
-
turnId: string;
|
|
1494
|
-
kind: "process";
|
|
1495
|
-
deadline: string;
|
|
1496
|
-
timeoutSeconds: number;
|
|
1497
|
-
pid: number;
|
|
1498
|
-
startToken?: string | undefined;
|
|
1499
|
-
exitFile?: string | undefined;
|
|
1500
|
-
note?: string | undefined;
|
|
1501
|
-
result?: {
|
|
1502
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
1503
|
-
observedAt: string;
|
|
1504
|
-
exitCode?: number | undefined;
|
|
1505
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
1506
|
-
diagnostic?: string | undefined;
|
|
1507
|
-
} | undefined;
|
|
1508
1508
|
} | {
|
|
1509
1509
|
id: string;
|
|
1510
1510
|
source: "agent" | "cezar";
|
|
@@ -1614,6 +1614,30 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
1614
1614
|
deadline: string;
|
|
1615
1615
|
seconds: number;
|
|
1616
1616
|
note?: string | undefined;
|
|
1617
|
+
} | {
|
|
1618
|
+
id: string;
|
|
1619
|
+
source: "agent" | "cezar";
|
|
1620
|
+
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";
|
|
1621
|
+
registeredAt: string;
|
|
1622
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
1623
|
+
resolvedAt?: string | undefined;
|
|
1624
|
+
deliveredAt?: string | undefined;
|
|
1625
|
+
cancelledAt?: string | undefined;
|
|
1626
|
+
turnId: string;
|
|
1627
|
+
kind: "process";
|
|
1628
|
+
deadline: string;
|
|
1629
|
+
timeoutSeconds: number;
|
|
1630
|
+
pid: number;
|
|
1631
|
+
startToken?: string | undefined;
|
|
1632
|
+
exitFile?: string | undefined;
|
|
1633
|
+
note?: string | undefined;
|
|
1634
|
+
result?: {
|
|
1635
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
1636
|
+
observedAt: string;
|
|
1637
|
+
exitCode?: number | undefined;
|
|
1638
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
1639
|
+
diagnostic?: string | undefined;
|
|
1640
|
+
} | undefined;
|
|
1617
1641
|
} | {
|
|
1618
1642
|
id: string;
|
|
1619
1643
|
source: "agent" | "cezar";
|
|
@@ -1674,30 +1698,6 @@ export declare function peerPair(sender: RunRecord | undefined, recipient: RunRe
|
|
|
1674
1698
|
reason: "outcome" | "timeout";
|
|
1675
1699
|
} | undefined;
|
|
1676
1700
|
wakeInputId?: string | undefined;
|
|
1677
|
-
} | {
|
|
1678
|
-
id: string;
|
|
1679
|
-
source: "agent" | "cezar";
|
|
1680
|
-
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";
|
|
1681
|
-
registeredAt: string;
|
|
1682
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
1683
|
-
resolvedAt?: string | undefined;
|
|
1684
|
-
deliveredAt?: string | undefined;
|
|
1685
|
-
cancelledAt?: string | undefined;
|
|
1686
|
-
turnId: string;
|
|
1687
|
-
kind: "process";
|
|
1688
|
-
deadline: string;
|
|
1689
|
-
timeoutSeconds: number;
|
|
1690
|
-
pid: number;
|
|
1691
|
-
startToken?: string | undefined;
|
|
1692
|
-
exitFile?: string | undefined;
|
|
1693
|
-
note?: string | undefined;
|
|
1694
|
-
result?: {
|
|
1695
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
1696
|
-
observedAt: string;
|
|
1697
|
-
exitCode?: number | undefined;
|
|
1698
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
1699
|
-
diagnostic?: string | undefined;
|
|
1700
|
-
} | undefined;
|
|
1701
1701
|
} | {
|
|
1702
1702
|
id: string;
|
|
1703
1703
|
source: "agent" | "cezar";
|
|
@@ -101,6 +101,7 @@ export function provisionDelegationSession(options) {
|
|
|
101
101
|
`Omitting --effort or using --effort auto applies the same rules: same-runner workers inherit the parent's effort; workers on another runner leave effort to that runner. Omission and auto do not clear an inherited effort pin.`,
|
|
102
102
|
`Accepted identity and grants remain fixed.`,
|
|
103
103
|
`Use list to find every worker you own, including incomplete cleanup with remaining resources. Use inspect <worker-id>, collect <worker-id>, steer <worker-id> '<text>', stop <worker-id>, destroy <worker-id>, diff <worker-id>, or wait <worker-id>... --mode <one|any|all> --timeout-seconds <1-7200>.`,
|
|
104
|
+
`Destroy also accepts a running worker: it requests stop, waits up to 30 seconds for termination, stops the worker scope, then removes the worktree and branch. Without termination proof, cleanup stays incomplete and retains the workspace. On a scoped host, a detached descendant can survive.`,
|
|
104
105
|
`Mode defaults to any; one requires one worker, all requires every selected worker to settle.`,
|
|
105
106
|
`cancel-wait <wait-id> stops one wait, is safe to retry, and never touches workers.`,
|
|
106
107
|
`Wait registers and returns immediately: end your turn to release capacity, then ${productName('Cezar')} resumes you on a selected terminal outcome or deadline (default 600 seconds).`,
|