@hearsay-tools/squawk 0.18.0-dev.8446 → 0.18.0-dev.8449
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/automations/tools.d.ts +8 -8
- package/dist/autosave-cleanup.js +2 -1
- package/dist/autosave-cleanup.js.map +1 -1
- package/dist/built-in-cli-commands.js +0 -4
- package/dist/built-in-cli-commands.js.map +1 -1
- package/dist/built-in-launch-parts.d.ts +0 -2
- package/dist/built-in-launch-parts.js +1 -8
- package/dist/built-in-launch-parts.js.map +1 -1
- package/dist/built-in-run-slots.js +1 -2
- package/dist/built-in-run-slots.js.map +1 -1
- package/dist/ci-wait/tool-catalog.d.ts +2 -1
- package/dist/ci-wait/tool-catalog.js +22 -16
- package/dist/ci-wait/tool-catalog.js.map +1 -1
- package/dist/core/cli-registry.d.ts +3 -0
- package/dist/core/cli-registry.js +3 -0
- package/dist/core/cli-registry.js.map +1 -1
- package/dist/core/process-ownership.d.ts +12 -0
- package/dist/core/process-ownership.js +33 -0
- package/dist/core/process-ownership.js.map +1 -0
- package/dist/delegation/process-liveness.d.ts +6 -3
- package/dist/delegation/process-liveness.js +0 -16
- package/dist/delegation/process-liveness.js.map +1 -1
- package/dist/delegation/scratch-cleanup.js +5 -5
- package/dist/delegation/scratch-cleanup.js.map +1 -1
- package/dist/delegation/transport.d.ts +75 -75
- package/dist/{jobs → features/jobs}/cli.js +1 -1
- package/dist/features/jobs/cli.js.map +1 -0
- package/dist/{jobs → features/jobs}/command.js +2 -2
- package/dist/features/jobs/command.js.map +1 -0
- package/dist/features/jobs/index.d.ts +11 -0
- package/dist/features/jobs/index.js +20 -0
- package/dist/features/jobs/index.js.map +1 -0
- package/dist/{jobs → features/jobs}/job.js +9 -10
- package/dist/features/jobs/job.js.map +1 -0
- package/dist/features/jobs/removal-slot.d.ts +14 -0
- package/dist/features/jobs/removal-slot.js +50 -0
- package/dist/features/jobs/removal-slot.js.map +1 -0
- package/dist/legacy-runs.js.map +1 -1
- package/dist/pack-check.d.ts +4 -1
- package/dist/pack-check.js +9 -1
- package/dist/pack-check.js.map +1 -1
- package/dist/plugin/index.d.ts +1 -1
- package/dist/runs/agent-tmpdir.d.ts +5 -4
- package/dist/runs/agent-tmpdir.js +7 -5
- package/dist/runs/agent-tmpdir.js.map +1 -1
- package/dist/runs/removal-slots.d.ts +15 -3
- package/dist/runs/removal-slots.js +12 -2
- package/dist/runs/removal-slots.js.map +1 -1
- package/dist/runs/run-exits.d.ts +352 -352
- package/dist/runs/worker-execution.js.map +1 -1
- package/dist/server/project-settings-routes.d.ts +107 -107
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/runs-routes.d.ts +16 -16
- package/dist/server/server.d.ts +68 -68
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/dist/worker-scope/groups.d.ts +0 -9
- package/dist/worker-scope/groups.js +3 -18
- package/dist/worker-scope/groups.js.map +1 -1
- package/dist/workflows/input-acknowledgement.d.ts +24 -24
- package/dist/workflows/run/run-settlement.d.ts +0 -10
- package/dist/workflows/run/run-settlement.js +5 -38
- package/dist/workflows/run/run-settlement.js.map +1 -1
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/dist/workflows/run/wait-input-descriptors.js +11 -2
- package/dist/workflows/run/wait-input-descriptors.js.map +1 -1
- package/dist/workflows/run/wait-kinds.d.ts +52 -52
- package/package.json +4 -4
- package/scripts/check-pack.mjs +5 -2
- package/dist/jobs/cli.js.map +0 -1
- package/dist/jobs/command.js.map +0 -1
- package/dist/jobs/job.js.map +0 -1
- package/dist/jobs/removal-slot.d.ts +0 -4
- package/dist/jobs/removal-slot.js +0 -10
- package/dist/jobs/removal-slot.js.map +0 -1
- /package/dist/{jobs → features/jobs}/cli.d.ts +0 -0
- /package/dist/{jobs → features/jobs}/command.d.ts +0 -0
- /package/dist/{jobs → features/jobs}/job.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker-execution.js","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ED,4FAA4F;AAC5F,MAAM,UAAU,iBAAiB,CAAC,GAAW;IAC3C,OAAO,IAAI,sBAAsB,CAAC,2BAA2B,iBAAiB,CAAC,CAAC,GAAG,CAAC,CAAC,oCAAoC,EACvH,mFAAmF,CAAC,CAAC;AACzF,CAAC;AAED;0CAC0C;AAC1C,MAAM,UAAU,gBAAgB,CAAC,KAAc,EAAE,QAAgB;IAC/D,IAAI,KAAK,YAAY,sBAAsB;QAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;IAC1G,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;AAClG,CAAC"}
|
|
@@ -113,42 +113,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
113
113
|
"/ui-state": {
|
|
114
114
|
$put: {
|
|
115
115
|
output: {
|
|
116
|
-
|
|
117
|
-
sidebarLimits?: {
|
|
118
|
-
overall?: number | null | undefined;
|
|
119
|
-
needsYou?: number | null | undefined;
|
|
120
|
-
finished?: number | null | undefined;
|
|
121
|
-
working?: number | null | undefined;
|
|
122
|
-
} | undefined;
|
|
123
|
-
lastTask?: {
|
|
124
|
-
source: "skill" | "workflow";
|
|
125
|
-
ref: string;
|
|
126
|
-
} | null | undefined;
|
|
127
|
-
recentSources?: {
|
|
128
|
-
source: "skill" | "workflow";
|
|
129
|
-
ref: string;
|
|
130
|
-
}[] | undefined;
|
|
131
|
-
lastWorktree?: boolean | undefined;
|
|
132
|
-
lastAutonomous?: boolean | undefined;
|
|
133
|
-
skillUsage?: {
|
|
134
|
-
[x: string]: number;
|
|
135
|
-
} | undefined;
|
|
136
|
-
runsView?: "list" | "table" | undefined;
|
|
137
|
-
githubView?: "issues" | "prs" | undefined;
|
|
138
|
-
appearance?: {
|
|
139
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
140
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
141
|
-
width?: "narrow" | "wide" | undefined;
|
|
142
|
-
} | undefined;
|
|
143
|
-
promptTemplates?: {
|
|
144
|
-
id: string;
|
|
145
|
-
label: string;
|
|
146
|
-
text: string;
|
|
147
|
-
skills?: string[] | undefined;
|
|
148
|
-
}[] | undefined;
|
|
116
|
+
error: string;
|
|
149
117
|
};
|
|
150
118
|
outputFormat: "json";
|
|
151
|
-
status:
|
|
119
|
+
status: 500;
|
|
152
120
|
input: {
|
|
153
121
|
json: {
|
|
154
122
|
[x: string]: unknown;
|
|
@@ -186,10 +154,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
186
154
|
};
|
|
187
155
|
} | {
|
|
188
156
|
output: {
|
|
189
|
-
|
|
157
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
158
|
+
sidebarLimits?: {
|
|
159
|
+
overall?: number | null | undefined;
|
|
160
|
+
needsYou?: number | null | undefined;
|
|
161
|
+
finished?: number | null | undefined;
|
|
162
|
+
working?: number | null | undefined;
|
|
163
|
+
} | undefined;
|
|
164
|
+
lastTask?: {
|
|
165
|
+
source: "skill" | "workflow";
|
|
166
|
+
ref: string;
|
|
167
|
+
} | null | undefined;
|
|
168
|
+
recentSources?: {
|
|
169
|
+
source: "skill" | "workflow";
|
|
170
|
+
ref: string;
|
|
171
|
+
}[] | undefined;
|
|
172
|
+
lastWorktree?: boolean | undefined;
|
|
173
|
+
lastAutonomous?: boolean | undefined;
|
|
174
|
+
skillUsage?: {
|
|
175
|
+
[x: string]: number;
|
|
176
|
+
} | undefined;
|
|
177
|
+
runsView?: "list" | "table" | undefined;
|
|
178
|
+
githubView?: "issues" | "prs" | undefined;
|
|
179
|
+
appearance?: {
|
|
180
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
181
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
182
|
+
width?: "narrow" | "wide" | undefined;
|
|
183
|
+
} | undefined;
|
|
184
|
+
promptTemplates?: {
|
|
185
|
+
id: string;
|
|
186
|
+
label: string;
|
|
187
|
+
text: string;
|
|
188
|
+
skills?: string[] | undefined;
|
|
189
|
+
}[] | undefined;
|
|
190
190
|
};
|
|
191
191
|
outputFormat: "json";
|
|
192
|
-
status:
|
|
192
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
193
193
|
input: {
|
|
194
194
|
json: {
|
|
195
195
|
[x: string]: unknown;
|
|
@@ -275,10 +275,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
275
275
|
"/workflows": {
|
|
276
276
|
$post: {
|
|
277
277
|
output: {
|
|
278
|
-
|
|
278
|
+
path: string;
|
|
279
|
+
name: string;
|
|
279
280
|
};
|
|
280
281
|
outputFormat: "json";
|
|
281
|
-
status:
|
|
282
|
+
status: 201;
|
|
282
283
|
input: {
|
|
283
284
|
json: {
|
|
284
285
|
name: string;
|
|
@@ -311,10 +312,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
311
312
|
} | {
|
|
312
313
|
output: {
|
|
313
314
|
error: string;
|
|
314
|
-
exists: true;
|
|
315
315
|
};
|
|
316
316
|
outputFormat: "json";
|
|
317
|
-
status:
|
|
317
|
+
status: 400;
|
|
318
318
|
input: {
|
|
319
319
|
json: {
|
|
320
320
|
name: string;
|
|
@@ -347,9 +347,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
347
347
|
} | {
|
|
348
348
|
output: {
|
|
349
349
|
error: string;
|
|
350
|
+
exists: true;
|
|
350
351
|
};
|
|
351
352
|
outputFormat: "json";
|
|
352
|
-
status:
|
|
353
|
+
status: 409;
|
|
353
354
|
input: {
|
|
354
355
|
json: {
|
|
355
356
|
name: string;
|
|
@@ -381,11 +382,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
381
382
|
};
|
|
382
383
|
} | {
|
|
383
384
|
output: {
|
|
384
|
-
|
|
385
|
-
name: string;
|
|
385
|
+
error: string;
|
|
386
386
|
};
|
|
387
387
|
outputFormat: "json";
|
|
388
|
-
status:
|
|
388
|
+
status: 500;
|
|
389
389
|
input: {
|
|
390
390
|
json: {
|
|
391
391
|
name: string;
|
|
@@ -421,10 +421,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
421
421
|
"/workflows/:name": {
|
|
422
422
|
$delete: {
|
|
423
423
|
output: {
|
|
424
|
-
|
|
424
|
+
ok: true;
|
|
425
|
+
path: string;
|
|
425
426
|
};
|
|
426
427
|
outputFormat: "json";
|
|
427
|
-
status:
|
|
428
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
428
429
|
input: {
|
|
429
430
|
param: {
|
|
430
431
|
name: string;
|
|
@@ -432,11 +433,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
432
433
|
};
|
|
433
434
|
} | {
|
|
434
435
|
output: {
|
|
435
|
-
|
|
436
|
-
path: string;
|
|
436
|
+
error: string;
|
|
437
437
|
};
|
|
438
438
|
outputFormat: "json";
|
|
439
|
-
status:
|
|
439
|
+
status: 400 | 404 | 409 | 500;
|
|
440
440
|
input: {
|
|
441
441
|
param: {
|
|
442
442
|
name: string;
|
|
@@ -504,18 +504,6 @@ export interface PlanRouteDeps {
|
|
|
504
504
|
export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
505
505
|
"/plan": {
|
|
506
506
|
$post: {
|
|
507
|
-
output: {
|
|
508
|
-
error: string;
|
|
509
|
-
};
|
|
510
|
-
outputFormat: "json";
|
|
511
|
-
status: 400 | 404 | 409;
|
|
512
|
-
input: {
|
|
513
|
-
json: {
|
|
514
|
-
task: string;
|
|
515
|
-
agentProfile?: string | undefined;
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
} | {
|
|
519
507
|
output: {
|
|
520
508
|
name?: string;
|
|
521
509
|
steps: {
|
|
@@ -552,6 +540,18 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
|
|
|
552
540
|
agentProfile?: string | undefined;
|
|
553
541
|
};
|
|
554
542
|
};
|
|
543
|
+
} | {
|
|
544
|
+
output: {
|
|
545
|
+
error: string;
|
|
546
|
+
};
|
|
547
|
+
outputFormat: "json";
|
|
548
|
+
status: 400 | 404 | 409;
|
|
549
|
+
input: {
|
|
550
|
+
json: {
|
|
551
|
+
task: string;
|
|
552
|
+
agentProfile?: string | undefined;
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
555
|
};
|
|
556
556
|
};
|
|
557
557
|
}, "/", "/plan">;
|
|
@@ -599,34 +599,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
599
599
|
"/config": {
|
|
600
600
|
$put: {
|
|
601
601
|
output: {
|
|
602
|
-
|
|
603
|
-
effectiveArchiveOnMerge: boolean;
|
|
604
|
-
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
605
|
-
baseBranch: string | null;
|
|
606
|
-
defaultRunner: string;
|
|
607
|
-
systemPrompt: string | null;
|
|
608
|
-
defaultModels: {
|
|
609
|
-
[x: string]: string | undefined;
|
|
610
|
-
};
|
|
611
|
-
modelsLocked: boolean;
|
|
612
|
-
maxParallel: number;
|
|
613
|
-
memoryLimitMb: number | null;
|
|
614
|
-
worktreeRetention: number;
|
|
615
|
-
liveTitleUpdates: boolean | null;
|
|
616
|
-
reviewGate: boolean | null;
|
|
617
|
-
worktreeSetup: {
|
|
618
|
-
commands: string[];
|
|
619
|
-
timeoutSeconds: number;
|
|
620
|
-
} | null;
|
|
621
|
-
worktreeSetupIssue: string | null;
|
|
622
|
-
worktreeTeardown: {
|
|
623
|
-
commands: string[];
|
|
624
|
-
timeoutSeconds: number;
|
|
625
|
-
} | null;
|
|
626
|
-
worktreeTeardownIssue: string | null;
|
|
602
|
+
error: string;
|
|
627
603
|
};
|
|
628
604
|
outputFormat: "json";
|
|
629
|
-
status:
|
|
605
|
+
status: 409;
|
|
630
606
|
input: {
|
|
631
607
|
json: {
|
|
632
608
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -654,7 +630,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
654
630
|
error: string;
|
|
655
631
|
};
|
|
656
632
|
outputFormat: "json";
|
|
657
|
-
status:
|
|
633
|
+
status: 500;
|
|
658
634
|
input: {
|
|
659
635
|
json: {
|
|
660
636
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -679,10 +655,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
679
655
|
};
|
|
680
656
|
} | {
|
|
681
657
|
output: {
|
|
682
|
-
|
|
658
|
+
archiveOnMerge: boolean | null;
|
|
659
|
+
effectiveArchiveOnMerge: boolean;
|
|
660
|
+
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
661
|
+
baseBranch: string | null;
|
|
662
|
+
defaultRunner: string;
|
|
663
|
+
systemPrompt: string | null;
|
|
664
|
+
defaultModels: {
|
|
665
|
+
[x: string]: string | undefined;
|
|
666
|
+
};
|
|
667
|
+
modelsLocked: boolean;
|
|
668
|
+
maxParallel: number;
|
|
669
|
+
memoryLimitMb: number | null;
|
|
670
|
+
worktreeRetention: number;
|
|
671
|
+
liveTitleUpdates: boolean | null;
|
|
672
|
+
reviewGate: boolean | null;
|
|
673
|
+
worktreeSetup: {
|
|
674
|
+
commands: string[];
|
|
675
|
+
timeoutSeconds: number;
|
|
676
|
+
} | null;
|
|
677
|
+
worktreeSetupIssue: string | null;
|
|
678
|
+
worktreeTeardown: {
|
|
679
|
+
commands: string[];
|
|
680
|
+
timeoutSeconds: number;
|
|
681
|
+
} | null;
|
|
682
|
+
worktreeTeardownIssue: string | null;
|
|
683
683
|
};
|
|
684
684
|
outputFormat: "json";
|
|
685
|
-
status:
|
|
685
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
686
686
|
input: {
|
|
687
687
|
json: {
|
|
688
688
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -796,14 +796,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
796
796
|
"/agent-config/:id": {
|
|
797
797
|
$put: {
|
|
798
798
|
output: {
|
|
799
|
-
|
|
800
|
-
path: string;
|
|
801
|
-
exists: boolean;
|
|
802
|
-
content: string;
|
|
803
|
-
version: string | null;
|
|
799
|
+
error: string;
|
|
804
800
|
};
|
|
805
801
|
outputFormat: "json";
|
|
806
|
-
status:
|
|
802
|
+
status: 404;
|
|
807
803
|
input: {
|
|
808
804
|
json: {
|
|
809
805
|
content: string;
|
|
@@ -816,10 +812,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
816
812
|
};
|
|
817
813
|
} | {
|
|
818
814
|
output: {
|
|
819
|
-
|
|
815
|
+
id: string;
|
|
816
|
+
path: string;
|
|
817
|
+
exists: boolean;
|
|
818
|
+
content: string;
|
|
819
|
+
version: string | null;
|
|
820
820
|
};
|
|
821
821
|
outputFormat: "json";
|
|
822
|
-
status:
|
|
822
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
823
823
|
input: {
|
|
824
824
|
json: {
|
|
825
825
|
content: string;
|
|
@@ -941,9 +941,12 @@ export declare function createAgentWebhooksRoutes(deps: AgentWebhooksRouteDeps):
|
|
|
941
941
|
export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
942
942
|
"/runs/:id/events": {
|
|
943
943
|
$get: {
|
|
944
|
-
output: {
|
|
945
|
-
|
|
946
|
-
|
|
944
|
+
output: {
|
|
945
|
+
error: string;
|
|
946
|
+
code?: "invalid_input" | undefined;
|
|
947
|
+
};
|
|
948
|
+
outputFormat: "json";
|
|
949
|
+
status: 400;
|
|
947
950
|
input: {
|
|
948
951
|
param: {
|
|
949
952
|
id: string;
|
|
@@ -955,12 +958,9 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
|
|
|
955
958
|
};
|
|
956
959
|
};
|
|
957
960
|
} | {
|
|
958
|
-
output: {
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
};
|
|
962
|
-
outputFormat: "json";
|
|
963
|
-
status: 400;
|
|
961
|
+
output: {};
|
|
962
|
+
outputFormat: string;
|
|
963
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
964
964
|
input: {
|
|
965
965
|
param: {
|
|
966
966
|
id: string;
|
|
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
18
18
|
error: string;
|
|
19
19
|
};
|
|
20
20
|
outputFormat: "json";
|
|
21
|
-
status:
|
|
21
|
+
status: 400;
|
|
22
22
|
input: {
|
|
23
23
|
json: {
|
|
24
24
|
provider: string;
|
|
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
30
30
|
error: string;
|
|
31
31
|
};
|
|
32
32
|
outputFormat: "json";
|
|
33
|
-
status:
|
|
33
|
+
status: 409;
|
|
34
34
|
input: {
|
|
35
35
|
json: {
|
|
36
36
|
provider: string;
|
|
@@ -12273,20 +12273,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12273
12273
|
} & {
|
|
12274
12274
|
"/runs/:id/handoff": {
|
|
12275
12275
|
$get: {
|
|
12276
|
-
output:
|
|
12277
|
-
|
|
12278
|
-
|
|
12276
|
+
output: {
|
|
12277
|
+
error: string;
|
|
12278
|
+
};
|
|
12279
|
+
outputFormat: "json";
|
|
12280
|
+
status: 404;
|
|
12279
12281
|
input: {
|
|
12280
12282
|
param: {
|
|
12281
12283
|
id: string;
|
|
12282
12284
|
};
|
|
12283
12285
|
};
|
|
12284
12286
|
} | {
|
|
12285
|
-
output:
|
|
12286
|
-
|
|
12287
|
-
|
|
12288
|
-
outputFormat: "json";
|
|
12289
|
-
status: 404;
|
|
12287
|
+
output: string;
|
|
12288
|
+
outputFormat: "text";
|
|
12289
|
+
status: 200;
|
|
12290
12290
|
input: {
|
|
12291
12291
|
param: {
|
|
12292
12292
|
id: string;
|
|
@@ -12324,20 +12324,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12324
12324
|
} & {
|
|
12325
12325
|
"/runs/:id/diff": {
|
|
12326
12326
|
$get: {
|
|
12327
|
-
output:
|
|
12328
|
-
|
|
12329
|
-
|
|
12327
|
+
output: {
|
|
12328
|
+
error: string;
|
|
12329
|
+
};
|
|
12330
|
+
outputFormat: "json";
|
|
12331
|
+
status: 404 | 409;
|
|
12330
12332
|
input: {
|
|
12331
12333
|
param: {
|
|
12332
12334
|
id: string;
|
|
12333
12335
|
};
|
|
12334
12336
|
};
|
|
12335
12337
|
} | {
|
|
12336
|
-
output:
|
|
12337
|
-
|
|
12338
|
-
|
|
12339
|
-
outputFormat: "json";
|
|
12340
|
-
status: 404 | 409;
|
|
12338
|
+
output: string;
|
|
12339
|
+
outputFormat: "text";
|
|
12340
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12341
12341
|
input: {
|
|
12342
12342
|
param: {
|
|
12343
12343
|
id: string;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -3062,12 +3062,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3062
3062
|
output: {
|
|
3063
3063
|
generation: string;
|
|
3064
3064
|
results: ({
|
|
3065
|
-
projectId: string;
|
|
3066
|
-
runId: string;
|
|
3067
|
-
type: "error" | "reset";
|
|
3068
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
3069
|
-
error: string;
|
|
3070
|
-
} | {
|
|
3071
3065
|
projectId: string;
|
|
3072
3066
|
runId: string;
|
|
3073
3067
|
type: "batch";
|
|
@@ -3088,6 +3082,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3088
3082
|
cursor: string;
|
|
3089
3083
|
afterSeq: number;
|
|
3090
3084
|
hasMore: boolean;
|
|
3085
|
+
} | {
|
|
3086
|
+
projectId: string;
|
|
3087
|
+
runId: string;
|
|
3088
|
+
type: "error" | "reset";
|
|
3089
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
3090
|
+
error: string;
|
|
3091
3091
|
})[];
|
|
3092
3092
|
};
|
|
3093
3093
|
outputFormat: "json";
|
|
@@ -8596,6 +8596,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8596
8596
|
} & {
|
|
8597
8597
|
"/runs/:id/worker-destroy": {
|
|
8598
8598
|
$post: {
|
|
8599
|
+
output: {
|
|
8600
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8601
|
+
readonly error: string;
|
|
8602
|
+
readonly modelChoices?: {
|
|
8603
|
+
runner: string;
|
|
8604
|
+
requestedModel: string;
|
|
8605
|
+
availableModels: {
|
|
8606
|
+
id: string;
|
|
8607
|
+
label: string;
|
|
8608
|
+
description: string;
|
|
8609
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8610
|
+
}[];
|
|
8611
|
+
otherRunners: string[];
|
|
8612
|
+
} | undefined;
|
|
8613
|
+
};
|
|
8614
|
+
outputFormat: "json";
|
|
8615
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8616
|
+
input: {
|
|
8617
|
+
query: {
|
|
8618
|
+
[x: string]: string | string[];
|
|
8619
|
+
};
|
|
8620
|
+
} & {
|
|
8621
|
+
param: {
|
|
8622
|
+
id: string;
|
|
8623
|
+
};
|
|
8624
|
+
} & {
|
|
8625
|
+
json: {
|
|
8626
|
+
discardWork?: true | undefined;
|
|
8627
|
+
};
|
|
8628
|
+
};
|
|
8629
|
+
} | {
|
|
8599
8630
|
output: {
|
|
8600
8631
|
error: string;
|
|
8601
8632
|
code?: "invalid_input" | undefined;
|
|
@@ -8681,37 +8712,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8681
8712
|
discardWork?: true | undefined;
|
|
8682
8713
|
};
|
|
8683
8714
|
};
|
|
8684
|
-
} | {
|
|
8685
|
-
output: {
|
|
8686
|
-
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8687
|
-
readonly error: string;
|
|
8688
|
-
readonly modelChoices?: {
|
|
8689
|
-
runner: string;
|
|
8690
|
-
requestedModel: string;
|
|
8691
|
-
availableModels: {
|
|
8692
|
-
id: string;
|
|
8693
|
-
label: string;
|
|
8694
|
-
description: string;
|
|
8695
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8696
|
-
}[];
|
|
8697
|
-
otherRunners: string[];
|
|
8698
|
-
} | undefined;
|
|
8699
|
-
};
|
|
8700
|
-
outputFormat: "json";
|
|
8701
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
8702
|
-
input: {
|
|
8703
|
-
query: {
|
|
8704
|
-
[x: string]: string | string[];
|
|
8705
|
-
};
|
|
8706
|
-
} & {
|
|
8707
|
-
param: {
|
|
8708
|
-
id: string;
|
|
8709
|
-
};
|
|
8710
|
-
} & {
|
|
8711
|
-
json: {
|
|
8712
|
-
discardWork?: true | undefined;
|
|
8713
|
-
};
|
|
8714
|
-
};
|
|
8715
8715
|
};
|
|
8716
8716
|
};
|
|
8717
8717
|
} & {
|
|
@@ -25237,6 +25237,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
25237
25237
|
} & {
|
|
25238
25238
|
"/runs/:id/worker-destroy": {
|
|
25239
25239
|
$post: {
|
|
25240
|
+
output: {
|
|
25241
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
25242
|
+
readonly error: string;
|
|
25243
|
+
readonly modelChoices?: {
|
|
25244
|
+
runner: string;
|
|
25245
|
+
requestedModel: string;
|
|
25246
|
+
availableModels: {
|
|
25247
|
+
id: string;
|
|
25248
|
+
label: string;
|
|
25249
|
+
description: string;
|
|
25250
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
25251
|
+
}[];
|
|
25252
|
+
otherRunners: string[];
|
|
25253
|
+
} | undefined;
|
|
25254
|
+
};
|
|
25255
|
+
outputFormat: "json";
|
|
25256
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
25257
|
+
input: {
|
|
25258
|
+
query: {
|
|
25259
|
+
[x: string]: string | string[];
|
|
25260
|
+
};
|
|
25261
|
+
} & {
|
|
25262
|
+
param: {
|
|
25263
|
+
id: string;
|
|
25264
|
+
};
|
|
25265
|
+
} & {
|
|
25266
|
+
json: {
|
|
25267
|
+
discardWork?: true | undefined;
|
|
25268
|
+
};
|
|
25269
|
+
};
|
|
25270
|
+
} | {
|
|
25240
25271
|
output: {
|
|
25241
25272
|
error: string;
|
|
25242
25273
|
code?: "invalid_input" | undefined;
|
|
@@ -25322,37 +25353,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
25322
25353
|
discardWork?: true | undefined;
|
|
25323
25354
|
};
|
|
25324
25355
|
};
|
|
25325
|
-
} | {
|
|
25326
|
-
output: {
|
|
25327
|
-
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
25328
|
-
readonly error: string;
|
|
25329
|
-
readonly modelChoices?: {
|
|
25330
|
-
runner: string;
|
|
25331
|
-
requestedModel: string;
|
|
25332
|
-
availableModels: {
|
|
25333
|
-
id: string;
|
|
25334
|
-
label: string;
|
|
25335
|
-
description: string;
|
|
25336
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
25337
|
-
}[];
|
|
25338
|
-
otherRunners: string[];
|
|
25339
|
-
} | undefined;
|
|
25340
|
-
};
|
|
25341
|
-
outputFormat: "json";
|
|
25342
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
25343
|
-
input: {
|
|
25344
|
-
query: {
|
|
25345
|
-
[x: string]: string | string[];
|
|
25346
|
-
};
|
|
25347
|
-
} & {
|
|
25348
|
-
param: {
|
|
25349
|
-
id: string;
|
|
25350
|
-
};
|
|
25351
|
-
} & {
|
|
25352
|
-
json: {
|
|
25353
|
-
discardWork?: true | undefined;
|
|
25354
|
-
};
|
|
25355
|
-
};
|
|
25356
25356
|
};
|
|
25357
25357
|
};
|
|
25358
25358
|
} & {
|
|
@@ -7,6 +7,12 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
7
7
|
output: {
|
|
8
8
|
generation: string;
|
|
9
9
|
results: ({
|
|
10
|
+
projectId: string;
|
|
11
|
+
runId: string;
|
|
12
|
+
type: "error" | "reset";
|
|
13
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
14
|
+
error: string;
|
|
15
|
+
} | {
|
|
10
16
|
projectId: string;
|
|
11
17
|
runId: string;
|
|
12
18
|
type: "batch";
|
|
@@ -27,12 +33,6 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
|
|
|
27
33
|
cursor: string;
|
|
28
34
|
afterSeq: number;
|
|
29
35
|
hasMore: boolean;
|
|
30
|
-
} | {
|
|
31
|
-
projectId: string;
|
|
32
|
-
runId: string;
|
|
33
|
-
type: "error" | "reset";
|
|
34
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
35
|
-
error: string;
|
|
36
36
|
})[];
|
|
37
37
|
};
|
|
38
38
|
outputFormat: "json";
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
import { type RecordedProcess } from '../core/process-stat.ts';
|
|
2
2
|
/** A group leader at spawn: its pid is its group id. */
|
|
3
3
|
export declare function groupEntry(pid: number): RecordedProcess;
|
|
4
|
-
/** Whether the recorded group is the one Squawk started. A live leader must be the recorded
|
|
5
|
-
* incarnation. A group whose leader is gone keeps its number while it has members, and the kernel
|
|
6
|
-
* does not reuse a pid while a group of that number exists; a reused number needs the group to
|
|
7
|
-
* empty first. So a leaderless group counts only where the record proves this boot: on Linux the
|
|
8
|
-
* start token carries the boot id, and a token from another boot (or none) is refused. The
|
|
9
|
-
* remaining case, the pid space wrapping within one boot while the worker lives, is ADR 0032's
|
|
10
|
-
* stated residual. Elsewhere (macOS: no boot id, a small pid space) a leaderless group is never
|
|
11
|
-
* signalled. */
|
|
12
|
-
export declare function groupOwned(entry: RecordedProcess): boolean;
|
|
13
4
|
/** SIGKILL every recorded group that is still ours, and every recorded process outside a group
|
|
14
5
|
* that is still the recorded incarnation. */
|
|
15
6
|
export declare function killGroups(entries: readonly RecordedProcess[]): void;
|