@hearsay-tools/squawk 0.18.0-dev.8004 → 0.18.0-dev.8009
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/create-run-input.d.ts +59 -0
- package/dist/contract/discovery.d.ts +0 -1
- package/dist/contract/github.d.ts +0 -18
- package/dist/contract/index.d.ts +3 -0
- package/dist/contract/index.js +2305 -2294
- package/dist/contract/model-choices.d.ts +40 -0
- package/dist/contract/reference-status.d.ts +19 -0
- package/dist/contract/runs.d.ts +0 -57
- package/dist/contract/workspace.d.ts +0 -40
- package/dist/delegation/routes.d.ts +10 -10
- package/dist/runs/run-archive.d.ts +72 -72
- package/dist/runs/wait-phases.d.ts +9 -1
- package/dist/runs/wait-phases.js +17 -2
- package/dist/runs/wait-phases.js.map +1 -1
- package/dist/server/server.d.ts +58 -58
- package/dist/workflows/input-acknowledgement.d.ts +24 -24
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/dist/workflows/run-states.d.ts +1 -8
- package/dist/workflows/run-states.js +0 -16
- package/dist/workflows/run-states.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-BvrCdhB1.js → accounts-section-CJ1xR0FN.js} +1 -1
- package/web/dist/assets/activity-motion-C01GEN0y.js +2 -0
- package/web/dist/assets/{activity-route-BZPRmiNI.js → activity-route-BZ1NIKSY.js} +1 -1
- package/web/dist/assets/{agent-config-section-DEeDIcK_.js → agent-config-section-DvFcRRLD.js} +2 -2
- package/web/dist/assets/{agent-defaults-section-RYnao4vB.js → agent-defaults-section-BE88c2RN.js} +1 -1
- package/web/dist/assets/{appearance-obeD0TrH.js → appearance-B9Z6lNEm.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-DP12N-QW.js → archive-on-merge-field-DtR7twJI.js} +1 -1
- package/web/dist/assets/attention-B6NEiTGm.js +1 -0
- package/web/dist/assets/{automations-route-bJYe7JKX.js → automations-route-Dpa01C3j.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-yCI8kY--.js → commit-diff-panel-CGjhxIPJ.js} +1 -1
- package/web/dist/assets/{diff-B9wl20YA.js → diff-DQ18_bA-.js} +2 -2
- package/web/dist/assets/{diff-view-C-HieogW.js → diff-view-CMwe_Rx7.js} +1 -1
- package/web/dist/assets/{file-preview-BzialgZg.js → file-preview-_lAUlt5u.js} +1 -1
- package/web/dist/assets/{folder-browser-B8_lzQT7.js → folder-browser-Cy26Y6YK.js} +1 -1
- package/web/dist/assets/{git-toolbar-lvqVHT9o.js → git-toolbar-BJM3pWHY.js} +1 -1
- package/web/dist/assets/{github-CQhVzG31.js → github-aO7y0526.js} +1 -1
- package/web/dist/assets/{global-activity-route-Cnk7K6kB.js → global-activity-route-BWOfw2C5.js} +1 -1
- package/web/dist/assets/index-D-Y1olb1.js +21 -0
- package/web/dist/assets/label-CbEJ99h4.js +1 -0
- package/web/dist/assets/{markdown-BLWEExIH.js → markdown-BDWII3gy.js} +1 -1
- package/web/dist/assets/{notifications-section-Ci4iCnOt.js → notifications-section-Z_4IW83J.js} +1 -1
- package/web/dist/assets/{open-in-menu-JhT-c8K6.js → open-in-menu-21vcjK3t.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-COUwLzj1.js → preview-pane-connected-CxwvH4pt.js} +2 -2
- package/web/dist/assets/{project-location-BMreyTgv.js → project-location-CvJMe_Vp.js} +1 -1
- package/web/dist/assets/{project-router-DG3CwEiO.js → project-router-hhGBPlav.js} +1 -1
- package/web/dist/assets/project-scope-context-BiijuuWU.js +4 -0
- package/web/dist/assets/{projects-section-I4Umh57f.js → projects-section-CQ34YFnT.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-Byinr-jH.js → prompt-templates-section-UIxQCLJq.js} +1 -1
- package/web/dist/assets/queries-D6ioEk6c.js +1 -0
- package/web/dist/assets/{reference-chip-Bphmq8DU.js → reference-chip-B5br2cfV.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-CcYe1mbK.js → remote-settings-notice-BWDpTH5W.js} +1 -1
- package/web/dist/assets/{repo-git-tmqJIA3Y.js → repo-git-U12bPaG-.js} +1 -1
- package/web/dist/assets/{report-reader-GE7zBDlE.js → report-reader-B5vipU-m.js} +1 -1
- package/web/dist/assets/{reports-Dzd6o31r.js → reports-Cdk8Dc-w.js} +1 -1
- package/web/dist/assets/{resources-section-D6yjk2_7.js → resources-section-BCLu3v1Z.js} +1 -1
- package/web/dist/assets/run-header-gOqc0BKa.js +2 -0
- package/web/dist/assets/{runners-GyEIYtzT.js → runners-5cgs0qUY.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-gDWJBt2q.js → settings-agent-picker-CB7l8AW-.js} +1 -1
- package/web/dist/assets/{settings-shell-1kV0mCGg.js → settings-shell-BUHHoCDs.js} +1 -1
- package/web/dist/assets/{sidebar-section-bytwajV6.js → sidebar-section-8dTKLdQw.js} +1 -1
- package/web/dist/assets/{skills-oC915Joa.js → skills-thuBrq2s.js} +1 -1
- package/web/dist/assets/{tab-link-BrrGCBYJ.js → tab-link-DaFUyEhe.js} +1 -1
- package/web/dist/assets/{task-changes-CgEF750z.js → task-changes-DSpeg6sX.js} +1 -1
- package/web/dist/assets/{task-commits-CmewNVBz.js → task-commits-DRDRswBh.js} +1 -1
- package/web/dist/assets/{task-files-x0fUUNIG.js → task-files-Cevz9Mex.js} +1 -1
- package/web/dist/assets/{task-github-item-DuwLqcE4.js → task-github-item-DpLkKSKy.js} +1 -1
- package/web/dist/assets/{task-groups-Ccol3P2t.js → task-groups-CafTiSSz.js} +1 -1
- package/web/dist/assets/{task-thread-DkgKDQSG.js → task-thread-BvM4rEQe.js} +6 -6
- package/web/dist/assets/{tasks-table-CbfBNxAB.js → tasks-table-DYjfmofR.js} +1 -1
- package/web/dist/assets/{thread-state-Nzl4pHXB.js → thread-state-A3TSuI5v.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-BMWlCZBX.js → use-hand-to-agent-state-IepoiFbj.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-C8q14xTE.js → useInfiniteQuery-B20OnjTe.js} +1 -1
- package/web/dist/assets/useQuery-BTg3x78A.js +1 -0
- package/web/dist/assets/{workflows-BV5oZdB_.js → workflows-B0TaHAzz.js} +2 -2
- package/web/dist/assets/{workspace-tools-NWKvRhWg.js → workspace-tools-B8sP_p5c.js} +1 -1
- package/web/dist/assets/{worktrees-section--MUxuXUq.js → worktrees-section-BDfwadB6.js} +4 -4
- package/web/dist/assets/{ws-BYbBRDfC.js → ws-ExzR2_Yn.js} +1 -1
- package/web/dist/index.html +15 -15
- package/web/dist/assets/activity-motion-CyQUo8rH.js +0 -2
- package/web/dist/assets/attention-CSFsCoi5.js +0 -1
- package/web/dist/assets/index-D0DvUgTj.js +0 -21
- package/web/dist/assets/label-CYqEyapm.js +0 -1
- package/web/dist/assets/project-scope-context-BairiAvs.js +0 -4
- package/web/dist/assets/queries-bg9YtgmX.js +0 -1
- package/web/dist/assets/run-header-Cc5Flvc9.js +0 -2
- package/web/dist/assets/useQuery-Berjv5Ts.js +0 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* A runner whose model list is discovered from the host: every registered runner has a model
|
|
4
|
+
* catalog (its definition's `loadModelCatalog`). The route's query validator and the picker use it.
|
|
5
|
+
*/
|
|
6
|
+
export declare const modelDiscoveryRunnerSchema: z.ZodString;
|
|
7
|
+
export type ModelDiscoveryRunner = z.infer<typeof modelDiscoveryRunnerSchema>;
|
|
8
|
+
export declare const runnerModelOptionSchema: z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
label: z.ZodString;
|
|
11
|
+
description: z.ZodString;
|
|
12
|
+
effortLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13
|
+
high: "high";
|
|
14
|
+
low: "low";
|
|
15
|
+
max: "max";
|
|
16
|
+
medium: "medium";
|
|
17
|
+
xhigh: "xhigh";
|
|
18
|
+
}>>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export type RunnerModelOption = z.infer<typeof runnerModelOptionSchema>;
|
|
21
|
+
/** The models a spawn could pin instead of an unknown one, in a delegation error. It lives in its
|
|
22
|
+
* own leaf module so `delegation.ts` does not load `workspace.ts` (hearsay-tools/squawk#3935). */
|
|
23
|
+
export declare const modelChoicesSchema: z.ZodObject<{
|
|
24
|
+
runner: z.ZodString;
|
|
25
|
+
requestedModel: z.ZodString;
|
|
26
|
+
availableModels: z.ZodArray<z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
label: z.ZodString;
|
|
29
|
+
description: z.ZodString;
|
|
30
|
+
effortLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
31
|
+
high: "high";
|
|
32
|
+
low: "low";
|
|
33
|
+
max: "max";
|
|
34
|
+
medium: "medium";
|
|
35
|
+
xhigh: "xhigh";
|
|
36
|
+
}>>>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
otherRunners: z.ZodArray<z.ZodString>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
export type ModelChoices = z.infer<typeof modelChoicesSchema>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Shared reference-status vocabulary for PRs and issues. Closed PR and completed issue remain
|
|
4
|
+
* distinct outcomes. Server ranking describes the next action; merge conflict is independent.
|
|
5
|
+
*/
|
|
6
|
+
export declare const referenceStatusSchema: z.ZodEnum<{
|
|
7
|
+
"changes-requested": "changes-requested";
|
|
8
|
+
"checks-failing": "checks-failing";
|
|
9
|
+
"checks-pending": "checks-pending";
|
|
10
|
+
closed: "closed";
|
|
11
|
+
completed: "completed";
|
|
12
|
+
draft: "draft";
|
|
13
|
+
merged: "merged";
|
|
14
|
+
"not-planned": "not-planned";
|
|
15
|
+
open: "open";
|
|
16
|
+
ready: "ready";
|
|
17
|
+
"review-required": "review-required";
|
|
18
|
+
}>;
|
|
19
|
+
export type ReferenceStatus = z.infer<typeof referenceStatusSchema>;
|
package/dist/contract/runs.d.ts
CHANGED
|
@@ -7008,63 +7008,6 @@ export declare const attachmentFileParamSchema: z.ZodObject<{
|
|
|
7008
7008
|
file: z.ZodString;
|
|
7009
7009
|
}, z.core.$strip>;
|
|
7010
7010
|
export type AttachmentFileParam = z.infer<typeof attachmentFileParamSchema>;
|
|
7011
|
-
export declare const attachmentInputSchema: z.ZodObject<{
|
|
7012
|
-
mediaType: z.ZodString;
|
|
7013
|
-
data: z.ZodString;
|
|
7014
|
-
}, z.core.$strip>;
|
|
7015
|
-
export type AttachmentInput = z.input<typeof attachmentInputSchema>;
|
|
7016
|
-
/** @deprecated Attachments are no longer images only — use `attachmentInputSchema`. Kept because
|
|
7017
|
-
* the `images` key it validates is the wire contract and did not change name. */
|
|
7018
|
-
export declare const imageInputSchema: z.ZodObject<{
|
|
7019
|
-
mediaType: z.ZodString;
|
|
7020
|
-
data: z.ZodString;
|
|
7021
|
-
}, z.core.$strip>;
|
|
7022
|
-
export type ImageInput = AttachmentInput;
|
|
7023
|
-
/**
|
|
7024
|
-
* The KEYS of `POST /runs`' body, before the XOR refinement that `createRunInputSchema` adds.
|
|
7025
|
-
*
|
|
7026
|
-
* Split out for one reason: `./automations.ts` builds an automation's task on top of this shape
|
|
7027
|
-
* (a task IS a run-creation body minus the three keys an automation supplies itself), and zod
|
|
7028
|
-
* refuses `.omit()` on a schema that carries refinements. Validate with `createRunInputSchema`
|
|
7029
|
-
* below — this half accepts a body naming both `workflow` and `steps`, which the server does not.
|
|
7030
|
-
*/
|
|
7031
|
-
export declare const createRunInputBaseSchema: z.ZodObject<{
|
|
7032
|
-
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
7033
|
-
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
7034
|
-
allowWorkers: z.ZodOptional<z.ZodBoolean>;
|
|
7035
|
-
allowMessaging: z.ZodOptional<z.ZodBoolean>;
|
|
7036
|
-
workflow: z.ZodOptional<z.ZodString>;
|
|
7037
|
-
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7038
|
-
id: z.ZodString;
|
|
7039
|
-
name: z.ZodOptional<z.ZodString>;
|
|
7040
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
7041
|
-
skill: z.ZodOptional<z.ZodString>;
|
|
7042
|
-
model: z.ZodOptional<z.ZodString>;
|
|
7043
|
-
effort: z.ZodOptional<z.ZodString>;
|
|
7044
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
7045
|
-
runner: z.ZodOptional<z.ZodString>;
|
|
7046
|
-
agentProfile: z.ZodOptional<z.ZodString>;
|
|
7047
|
-
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7048
|
-
bashAllowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7049
|
-
command: z.ZodOptional<z.ZodString>;
|
|
7050
|
-
onFail: z.ZodOptional<z.ZodObject<{
|
|
7051
|
-
retry: z.ZodString;
|
|
7052
|
-
max: z.ZodDefault<z.ZodNumber>;
|
|
7053
|
-
}, z.core.$strip>>;
|
|
7054
|
-
}, z.core.$strip>>>;
|
|
7055
|
-
task: z.ZodString;
|
|
7056
|
-
model: z.ZodOptional<z.ZodString>;
|
|
7057
|
-
effort: z.ZodOptional<z.ZodString>;
|
|
7058
|
-
runner: z.ZodOptional<z.ZodString>;
|
|
7059
|
-
agentProfile: z.ZodOptional<z.ZodString>;
|
|
7060
|
-
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
7061
|
-
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
7062
|
-
systemPrompt: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
|
|
7063
|
-
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7064
|
-
mediaType: z.ZodString;
|
|
7065
|
-
data: z.ZodString;
|
|
7066
|
-
}, z.core.$strip>>>;
|
|
7067
|
-
}, z.core.$strip>;
|
|
7068
7011
|
/**
|
|
7069
7012
|
* `POST /runs`. Exactly one of `workflow` / `steps` — the server rejects both or neither.
|
|
7070
7013
|
*
|
|
@@ -446,25 +446,6 @@ export declare const providerSignInSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
446
446
|
error: z.ZodString;
|
|
447
447
|
}, z.core.$strip>], "state">;
|
|
448
448
|
export type ProviderSignIn = z.infer<typeof providerSignInSchema>;
|
|
449
|
-
/**
|
|
450
|
-
* A runner whose model list is discovered from the host: every registered runner has a model
|
|
451
|
-
* catalog (its definition's `loadModelCatalog`). The route's query validator and the picker use it.
|
|
452
|
-
*/
|
|
453
|
-
export declare const modelDiscoveryRunnerSchema: z.ZodString;
|
|
454
|
-
export type ModelDiscoveryRunner = z.infer<typeof modelDiscoveryRunnerSchema>;
|
|
455
|
-
export declare const runnerModelOptionSchema: z.ZodObject<{
|
|
456
|
-
id: z.ZodString;
|
|
457
|
-
label: z.ZodString;
|
|
458
|
-
description: z.ZodString;
|
|
459
|
-
effortLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
460
|
-
high: "high";
|
|
461
|
-
low: "low";
|
|
462
|
-
max: "max";
|
|
463
|
-
medium: "medium";
|
|
464
|
-
xhigh: "xhigh";
|
|
465
|
-
}>>>;
|
|
466
|
-
}, z.core.$strip>;
|
|
467
|
-
export type RunnerModelOption = z.infer<typeof runnerModelOptionSchema>;
|
|
468
449
|
/** `GET /api/v1/models?runner=codex|opencode|pi` — the models discovered from that runner's own
|
|
469
450
|
* host installation, plus how fresh the answer is. Never an error: an unavailable CLI degrades
|
|
470
451
|
* to `source: 'unavailable'` with a `reason`. Claude has no host-local catalog and is rejected. */
|
|
@@ -491,27 +472,6 @@ export declare const runnerModelCatalogResponseSchema: z.ZodObject<{
|
|
|
491
472
|
reason: z.ZodOptional<z.ZodString>;
|
|
492
473
|
}, z.core.$strip>;
|
|
493
474
|
export type RunnerModelCatalogResponse = z.infer<typeof runnerModelCatalogResponseSchema>;
|
|
494
|
-
/** The models a spawn could pin instead of an unknown one, in a delegation error. It lives here,
|
|
495
|
-
* beside its parts, so `delegation.ts` does not load `discovery.ts` (hearsay-tools/cezarion#3241);
|
|
496
|
-
* `discovery.ts` re-exports it. */
|
|
497
|
-
export declare const modelChoicesSchema: z.ZodObject<{
|
|
498
|
-
runner: z.ZodString;
|
|
499
|
-
requestedModel: z.ZodString;
|
|
500
|
-
availableModels: z.ZodArray<z.ZodObject<{
|
|
501
|
-
id: z.ZodString;
|
|
502
|
-
label: z.ZodString;
|
|
503
|
-
description: z.ZodString;
|
|
504
|
-
effortLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
505
|
-
high: "high";
|
|
506
|
-
low: "low";
|
|
507
|
-
max: "max";
|
|
508
|
-
medium: "medium";
|
|
509
|
-
xhigh: "xhigh";
|
|
510
|
-
}>>>;
|
|
511
|
-
}, z.core.$strip>>;
|
|
512
|
-
otherRunners: z.ZodArray<z.ZodString>;
|
|
513
|
-
}, z.core.$strip>;
|
|
514
|
-
export type ModelChoices = z.infer<typeof modelChoicesSchema>;
|
|
515
475
|
/** A local app a worktree can be opened in (#open-in): editor, file manager, or terminal. */
|
|
516
476
|
export declare const openTargetSchema: z.ZodObject<{
|
|
517
477
|
id: z.ZodString;
|
|
@@ -91,6 +91,16 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
91
91
|
"/discover": {
|
|
92
92
|
$post: {
|
|
93
93
|
output: {
|
|
94
|
+
scope: "host-default-account";
|
|
95
|
+
runners: {
|
|
96
|
+
requiresAccountHome?: boolean | undefined;
|
|
97
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
98
|
+
enabled?: boolean | undefined;
|
|
99
|
+
hint?: string | undefined;
|
|
100
|
+
authFailureId?: string | undefined;
|
|
101
|
+
runner: string;
|
|
102
|
+
}[];
|
|
103
|
+
} | {
|
|
94
104
|
runner: string;
|
|
95
105
|
models: {
|
|
96
106
|
id: string;
|
|
@@ -101,16 +111,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
101
111
|
source: "cache" | "live" | "unavailable";
|
|
102
112
|
stale: boolean;
|
|
103
113
|
reason?: string | undefined;
|
|
104
|
-
} | {
|
|
105
|
-
scope: "host-default-account";
|
|
106
|
-
runners: {
|
|
107
|
-
requiresAccountHome?: boolean | undefined;
|
|
108
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
109
|
-
enabled?: boolean | undefined;
|
|
110
|
-
hint?: string | undefined;
|
|
111
|
-
authFailureId?: string | undefined;
|
|
112
|
-
runner: string;
|
|
113
|
-
}[];
|
|
114
114
|
} | {
|
|
115
115
|
tasks: {
|
|
116
116
|
id: string;
|
|
@@ -228,6 +228,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
228
228
|
deadline: string;
|
|
229
229
|
seconds: number;
|
|
230
230
|
note?: string | undefined;
|
|
231
|
+
} | {
|
|
232
|
+
id: string;
|
|
233
|
+
source: "agent" | "cezar";
|
|
234
|
+
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";
|
|
235
|
+
registeredAt: string;
|
|
236
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
237
|
+
resolvedAt?: string | undefined;
|
|
238
|
+
deliveredAt?: string | undefined;
|
|
239
|
+
cancelledAt?: string | undefined;
|
|
240
|
+
turnId: string;
|
|
241
|
+
kind: "process";
|
|
242
|
+
deadline: string;
|
|
243
|
+
timeoutSeconds: number;
|
|
244
|
+
pid: number;
|
|
245
|
+
startToken?: string | undefined;
|
|
246
|
+
exitFile?: string | undefined;
|
|
247
|
+
note?: string | undefined;
|
|
248
|
+
result?: {
|
|
249
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
250
|
+
observedAt: string;
|
|
251
|
+
exitCode?: number | undefined;
|
|
252
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
253
|
+
diagnostic?: string | undefined;
|
|
254
|
+
} | undefined;
|
|
231
255
|
} | {
|
|
232
256
|
id: string;
|
|
233
257
|
source: "agent" | "cezar";
|
|
@@ -289,30 +313,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
289
313
|
reason: "outcome" | "timeout";
|
|
290
314
|
} | undefined;
|
|
291
315
|
wakeInputId?: string | undefined;
|
|
292
|
-
} | {
|
|
293
|
-
id: string;
|
|
294
|
-
source: "agent" | "cezar";
|
|
295
|
-
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";
|
|
296
|
-
registeredAt: string;
|
|
297
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
298
|
-
resolvedAt?: string | undefined;
|
|
299
|
-
deliveredAt?: string | undefined;
|
|
300
|
-
cancelledAt?: string | undefined;
|
|
301
|
-
turnId: string;
|
|
302
|
-
kind: "process";
|
|
303
|
-
deadline: string;
|
|
304
|
-
timeoutSeconds: number;
|
|
305
|
-
pid: number;
|
|
306
|
-
startToken?: string | undefined;
|
|
307
|
-
exitFile?: string | undefined;
|
|
308
|
-
note?: string | undefined;
|
|
309
|
-
result?: {
|
|
310
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
311
|
-
observedAt: string;
|
|
312
|
-
exitCode?: number | undefined;
|
|
313
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
314
|
-
diagnostic?: string | undefined;
|
|
315
|
-
} | undefined;
|
|
316
316
|
} | {
|
|
317
317
|
id: string;
|
|
318
318
|
source: "agent" | "cezar";
|
|
@@ -424,6 +424,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
424
424
|
deadline: string;
|
|
425
425
|
seconds: number;
|
|
426
426
|
note?: string | undefined;
|
|
427
|
+
} | {
|
|
428
|
+
id: string;
|
|
429
|
+
source: "agent" | "cezar";
|
|
430
|
+
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";
|
|
431
|
+
registeredAt: string;
|
|
432
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
433
|
+
resolvedAt?: string | undefined;
|
|
434
|
+
deliveredAt?: string | undefined;
|
|
435
|
+
cancelledAt?: string | undefined;
|
|
436
|
+
turnId: string;
|
|
437
|
+
kind: "process";
|
|
438
|
+
deadline: string;
|
|
439
|
+
timeoutSeconds: number;
|
|
440
|
+
pid: number;
|
|
441
|
+
startToken?: string | undefined;
|
|
442
|
+
exitFile?: string | undefined;
|
|
443
|
+
note?: string | undefined;
|
|
444
|
+
result?: {
|
|
445
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
446
|
+
observedAt: string;
|
|
447
|
+
exitCode?: number | undefined;
|
|
448
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
449
|
+
diagnostic?: string | undefined;
|
|
450
|
+
} | undefined;
|
|
427
451
|
} | {
|
|
428
452
|
id: string;
|
|
429
453
|
source: "agent" | "cezar";
|
|
@@ -485,30 +509,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
485
509
|
reason: "outcome" | "timeout";
|
|
486
510
|
} | undefined;
|
|
487
511
|
wakeInputId?: string | undefined;
|
|
488
|
-
} | {
|
|
489
|
-
id: string;
|
|
490
|
-
source: "agent" | "cezar";
|
|
491
|
-
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";
|
|
492
|
-
registeredAt: string;
|
|
493
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
494
|
-
resolvedAt?: string | undefined;
|
|
495
|
-
deliveredAt?: string | undefined;
|
|
496
|
-
cancelledAt?: string | undefined;
|
|
497
|
-
turnId: string;
|
|
498
|
-
kind: "process";
|
|
499
|
-
deadline: string;
|
|
500
|
-
timeoutSeconds: number;
|
|
501
|
-
pid: number;
|
|
502
|
-
startToken?: string | undefined;
|
|
503
|
-
exitFile?: string | undefined;
|
|
504
|
-
note?: string | undefined;
|
|
505
|
-
result?: {
|
|
506
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
507
|
-
observedAt: string;
|
|
508
|
-
exitCode?: number | undefined;
|
|
509
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
510
|
-
diagnostic?: string | undefined;
|
|
511
|
-
} | undefined;
|
|
512
512
|
} | {
|
|
513
513
|
id: string;
|
|
514
514
|
source: "agent" | "cezar";
|
|
@@ -619,6 +619,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
619
619
|
deadline: string;
|
|
620
620
|
seconds: number;
|
|
621
621
|
note?: string | undefined;
|
|
622
|
+
} | {
|
|
623
|
+
id: string;
|
|
624
|
+
source: "agent" | "cezar";
|
|
625
|
+
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";
|
|
626
|
+
registeredAt: string;
|
|
627
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
628
|
+
resolvedAt?: string | undefined;
|
|
629
|
+
deliveredAt?: string | undefined;
|
|
630
|
+
cancelledAt?: string | undefined;
|
|
631
|
+
turnId: string;
|
|
632
|
+
kind: "process";
|
|
633
|
+
deadline: string;
|
|
634
|
+
timeoutSeconds: number;
|
|
635
|
+
pid: number;
|
|
636
|
+
startToken?: string | undefined;
|
|
637
|
+
exitFile?: string | undefined;
|
|
638
|
+
note?: string | undefined;
|
|
639
|
+
result?: {
|
|
640
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
641
|
+
observedAt: string;
|
|
642
|
+
exitCode?: number | undefined;
|
|
643
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
644
|
+
diagnostic?: string | undefined;
|
|
645
|
+
} | undefined;
|
|
622
646
|
} | {
|
|
623
647
|
id: string;
|
|
624
648
|
source: "agent" | "cezar";
|
|
@@ -680,30 +704,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
680
704
|
reason: "outcome" | "timeout";
|
|
681
705
|
} | undefined;
|
|
682
706
|
wakeInputId?: string | undefined;
|
|
683
|
-
} | {
|
|
684
|
-
id: string;
|
|
685
|
-
source: "agent" | "cezar";
|
|
686
|
-
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";
|
|
687
|
-
registeredAt: string;
|
|
688
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
689
|
-
resolvedAt?: string | undefined;
|
|
690
|
-
deliveredAt?: string | undefined;
|
|
691
|
-
cancelledAt?: string | undefined;
|
|
692
|
-
turnId: string;
|
|
693
|
-
kind: "process";
|
|
694
|
-
deadline: string;
|
|
695
|
-
timeoutSeconds: number;
|
|
696
|
-
pid: number;
|
|
697
|
-
startToken?: string | undefined;
|
|
698
|
-
exitFile?: string | undefined;
|
|
699
|
-
note?: string | undefined;
|
|
700
|
-
result?: {
|
|
701
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
702
|
-
observedAt: string;
|
|
703
|
-
exitCode?: number | undefined;
|
|
704
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
705
|
-
diagnostic?: string | undefined;
|
|
706
|
-
} | undefined;
|
|
707
707
|
} | {
|
|
708
708
|
id: string;
|
|
709
709
|
source: "agent" | "cezar";
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import type { Wait } from '../contract/index.js';
|
|
1
|
+
import type { Wait, WaitPhase } from '../contract/index.js';
|
|
2
|
+
import type { FiredBy } from '../workflows/run-states.ts';
|
|
2
3
|
import type { RunRecord } from './store.ts';
|
|
4
|
+
/** The phases a wait entry moves through. Their writes go through RunStore.commitOutcome (hearsay-tools/cezarion#1805). */
|
|
5
|
+
export declare const WAIT_PHASES: {
|
|
6
|
+
readonly [P in WaitPhase]: readonly {
|
|
7
|
+
to: WaitPhase;
|
|
8
|
+
firedBy: readonly FiredBy[];
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
3
11
|
/** Check the entry a store write puts in place; an undeclared write still lands. */
|
|
4
12
|
export declare function checkWaitWrite(run: Pick<RunRecord, 'waits' | 'lastWaits'>, entry: Wait): void;
|
package/dist/runs/wait-phases.js
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
1
|
-
import { WAIT_PHASES } from '../workflows/run-states.js';
|
|
2
1
|
import { reportStoreViolation } from './run-exits.js';
|
|
2
|
+
/** The phases a wait entry moves through. Their writes go through RunStore.commitOutcome (hearsay-tools/cezarion#1805). */
|
|
3
|
+
export const WAIT_PHASES = {
|
|
4
|
+
open: [
|
|
5
|
+
{ to: 'open', firedBy: ['agent', 'human', 'engine', 'runner', 'worker'] },
|
|
6
|
+
{ to: 'delivered', firedBy: ['human'] },
|
|
7
|
+
{ to: 'resolved', firedBy: ['watcher', 'timer', 'worker', 'peer', 'human', 'parent', 'runner', 'recovery'] },
|
|
8
|
+
{ to: 'cancelled', firedBy: ['agent', 'human', 'engine', 'runner'] },
|
|
9
|
+
],
|
|
10
|
+
resolved: [
|
|
11
|
+
{ to: 'resolved', firedBy: ['recovery'] },
|
|
12
|
+
{ to: 'delivered', firedBy: ['runner'] },
|
|
13
|
+
{ to: 'cancelled', firedBy: ['human', 'engine'] },
|
|
14
|
+
],
|
|
15
|
+
delivered: [],
|
|
16
|
+
cancelled: [],
|
|
17
|
+
};
|
|
3
18
|
/** Check the entry a store write puts in place; an undeclared write still lands. */
|
|
4
19
|
export function checkWaitWrite(run, entry) {
|
|
5
20
|
const prior = run.waits?.find(wait => wait.id === entry.id);
|
|
6
21
|
const from = prior?.phase ?? (run.lastWaits?.some(wait => wait.id === entry.id) ? 'settled' : 'new');
|
|
7
22
|
if (prior ? WAIT_PHASES[prior.phase].some(row => row.to === entry.phase) : from === 'new' && entry.phase === 'open')
|
|
8
23
|
return;
|
|
9
|
-
reportStoreViolation(`undeclared wait transition: ${entry.kind} wait ${entry.id} from ${from} to ${entry.phase} (declare it in
|
|
24
|
+
reportStoreViolation(`undeclared wait transition: ${entry.kind} wait ${entry.id} from ${from} to ${entry.phase} (declare it in runs/wait-phases.ts WAIT_PHASES)`);
|
|
10
25
|
}
|
|
11
26
|
//# sourceMappingURL=wait-phases.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wait-phases.js","sourceRoot":"","sources":["../../src/runs/wait-phases.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wait-phases.js","sourceRoot":"","sources":["../../src/runs/wait-phases.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAGtD,2HAA2H;AAC3H,MAAM,CAAC,MAAM,WAAW,GAA6F;IACnH,IAAI,EAAE;QACJ,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE;QACzE,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE;QACvC,EAAE,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAC,EAAE;QAC5G,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE;KACrE;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE;QACzC,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE;QACxC,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE;KAClD;IACD,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;CACd,CAAC;AAEF,oFAAoF;AACpF,MAAM,UAAU,cAAc,CAAC,GAA2C,EAAE,KAAW;IACrF,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,KAAK,CAAC,EAAE,CAAC,CAAC;IAC5D,MAAM,IAAI,GAAG,KAAK,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IACrG,IAAI,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,IAAI,KAAK,CAAC,KAAK,KAAK,MAAM;QAAE,OAAO;IAC5H,oBAAoB,CAAC,+BAA+B,KAAK,CAAC,IAAI,SAAS,KAAK,CAAC,EAAE,SAAS,IAAI,OAAO,KAAK,CAAC,KAAK,kDAAkD,CAAC,CAAC;AACpK,CAAC"}
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4610,19 +4610,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4610
4610
|
} & {
|
|
4611
4611
|
"/repo/commit/:sha": {
|
|
4612
4612
|
$get: {
|
|
4613
|
-
output: string;
|
|
4614
|
-
outputFormat: "text";
|
|
4615
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4616
|
-
input: {
|
|
4617
|
-
query: {
|
|
4618
|
-
structured?: string | undefined;
|
|
4619
|
-
};
|
|
4620
|
-
} & {
|
|
4621
|
-
param: {
|
|
4622
|
-
sha: string;
|
|
4623
|
-
};
|
|
4624
|
-
};
|
|
4625
|
-
} | {
|
|
4626
4613
|
output: {
|
|
4627
4614
|
error: string;
|
|
4628
4615
|
code?: "invalid_input" | undefined;
|
|
@@ -4686,6 +4673,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4686
4673
|
sha: string;
|
|
4687
4674
|
};
|
|
4688
4675
|
};
|
|
4676
|
+
} | {
|
|
4677
|
+
output: string;
|
|
4678
|
+
outputFormat: "text";
|
|
4679
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4680
|
+
input: {
|
|
4681
|
+
query: {
|
|
4682
|
+
structured?: string | undefined;
|
|
4683
|
+
};
|
|
4684
|
+
} & {
|
|
4685
|
+
param: {
|
|
4686
|
+
sha: string;
|
|
4687
|
+
};
|
|
4688
|
+
};
|
|
4689
4689
|
};
|
|
4690
4690
|
};
|
|
4691
4691
|
} & {
|
|
@@ -18487,20 +18487,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18487
18487
|
} & {
|
|
18488
18488
|
"/runs/:id/handoff": {
|
|
18489
18489
|
$get: {
|
|
18490
|
-
output:
|
|
18491
|
-
|
|
18492
|
-
|
|
18490
|
+
output: {
|
|
18491
|
+
error: string;
|
|
18492
|
+
};
|
|
18493
|
+
outputFormat: "json";
|
|
18494
|
+
status: 404;
|
|
18493
18495
|
input: {
|
|
18494
18496
|
param: {
|
|
18495
18497
|
id: string;
|
|
18496
18498
|
};
|
|
18497
18499
|
};
|
|
18498
18500
|
} | {
|
|
18499
|
-
output:
|
|
18500
|
-
|
|
18501
|
-
|
|
18502
|
-
outputFormat: "json";
|
|
18503
|
-
status: 404;
|
|
18501
|
+
output: string;
|
|
18502
|
+
outputFormat: "text";
|
|
18503
|
+
status: 200;
|
|
18504
18504
|
input: {
|
|
18505
18505
|
param: {
|
|
18506
18506
|
id: string;
|
|
@@ -18538,20 +18538,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18538
18538
|
} & {
|
|
18539
18539
|
"/runs/:id/diff": {
|
|
18540
18540
|
$get: {
|
|
18541
|
-
output:
|
|
18542
|
-
|
|
18543
|
-
|
|
18541
|
+
output: {
|
|
18542
|
+
error: string;
|
|
18543
|
+
};
|
|
18544
|
+
outputFormat: "json";
|
|
18545
|
+
status: 404 | 409;
|
|
18544
18546
|
input: {
|
|
18545
18547
|
param: {
|
|
18546
18548
|
id: string;
|
|
18547
18549
|
};
|
|
18548
18550
|
};
|
|
18549
18551
|
} | {
|
|
18550
|
-
output:
|
|
18551
|
-
|
|
18552
|
-
|
|
18553
|
-
outputFormat: "json";
|
|
18554
|
-
status: 404 | 409;
|
|
18552
|
+
output: string;
|
|
18553
|
+
outputFormat: "text";
|
|
18554
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18555
18555
|
input: {
|
|
18556
18556
|
param: {
|
|
18557
18557
|
id: string;
|
|
@@ -20571,19 +20571,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20571
20571
|
} & {
|
|
20572
20572
|
"/repo/commit/:sha": {
|
|
20573
20573
|
$get: {
|
|
20574
|
-
output: string;
|
|
20575
|
-
outputFormat: "text";
|
|
20576
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20577
|
-
input: {
|
|
20578
|
-
query: {
|
|
20579
|
-
structured?: string | undefined;
|
|
20580
|
-
};
|
|
20581
|
-
} & {
|
|
20582
|
-
param: {
|
|
20583
|
-
sha: string;
|
|
20584
|
-
};
|
|
20585
|
-
};
|
|
20586
|
-
} | {
|
|
20587
20574
|
output: {
|
|
20588
20575
|
error: string;
|
|
20589
20576
|
code?: "invalid_input" | undefined;
|
|
@@ -20647,6 +20634,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20647
20634
|
sha: string;
|
|
20648
20635
|
};
|
|
20649
20636
|
};
|
|
20637
|
+
} | {
|
|
20638
|
+
output: string;
|
|
20639
|
+
outputFormat: "text";
|
|
20640
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20641
|
+
input: {
|
|
20642
|
+
query: {
|
|
20643
|
+
structured?: string | undefined;
|
|
20644
|
+
};
|
|
20645
|
+
} & {
|
|
20646
|
+
param: {
|
|
20647
|
+
sha: string;
|
|
20648
|
+
};
|
|
20649
|
+
};
|
|
20650
20650
|
};
|
|
20651
20651
|
};
|
|
20652
20652
|
} & {
|
|
@@ -34448,20 +34448,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34448
34448
|
} & {
|
|
34449
34449
|
"/runs/:id/handoff": {
|
|
34450
34450
|
$get: {
|
|
34451
|
-
output:
|
|
34452
|
-
|
|
34453
|
-
|
|
34451
|
+
output: {
|
|
34452
|
+
error: string;
|
|
34453
|
+
};
|
|
34454
|
+
outputFormat: "json";
|
|
34455
|
+
status: 404;
|
|
34454
34456
|
input: {
|
|
34455
34457
|
param: {
|
|
34456
34458
|
id: string;
|
|
34457
34459
|
};
|
|
34458
34460
|
};
|
|
34459
34461
|
} | {
|
|
34460
|
-
output:
|
|
34461
|
-
|
|
34462
|
-
|
|
34463
|
-
outputFormat: "json";
|
|
34464
|
-
status: 404;
|
|
34462
|
+
output: string;
|
|
34463
|
+
outputFormat: "text";
|
|
34464
|
+
status: 200;
|
|
34465
34465
|
input: {
|
|
34466
34466
|
param: {
|
|
34467
34467
|
id: string;
|
|
@@ -34499,20 +34499,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34499
34499
|
} & {
|
|
34500
34500
|
"/runs/:id/diff": {
|
|
34501
34501
|
$get: {
|
|
34502
|
-
output:
|
|
34503
|
-
|
|
34504
|
-
|
|
34502
|
+
output: {
|
|
34503
|
+
error: string;
|
|
34504
|
+
};
|
|
34505
|
+
outputFormat: "json";
|
|
34506
|
+
status: 404 | 409;
|
|
34505
34507
|
input: {
|
|
34506
34508
|
param: {
|
|
34507
34509
|
id: string;
|
|
34508
34510
|
};
|
|
34509
34511
|
};
|
|
34510
34512
|
} | {
|
|
34511
|
-
output:
|
|
34512
|
-
|
|
34513
|
-
|
|
34514
|
-
outputFormat: "json";
|
|
34515
|
-
status: 404 | 409;
|
|
34513
|
+
output: string;
|
|
34514
|
+
outputFormat: "text";
|
|
34515
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
34516
34516
|
input: {
|
|
34517
34517
|
param: {
|
|
34518
34518
|
id: string;
|