@hearsay-tools/squawk 0.19.0-dev.9071 → 0.19.0-dev.9082
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/artifacts/reports-index.js +2 -3
- package/dist/artifacts/reports-index.js.map +1 -1
- package/dist/boot.d.ts +1 -1
- package/dist/boot.js +1 -1
- package/dist/built-in-cli-commands.js +1 -1
- package/dist/built-in-cli-commands.js.map +1 -1
- package/dist/built-in-launch-parts.js +1 -1
- package/dist/built-in-launch-parts.js.map +1 -1
- package/dist/built-in-run-slots.d.ts +1 -1
- package/dist/built-in-run-slots.js +7 -3
- package/dist/built-in-run-slots.js.map +1 -1
- package/dist/delegation/results.js +4 -3
- package/dist/delegation/results.js.map +1 -1
- package/dist/delegation/routes.d.ts +93 -93
- package/dist/delegation/transport.d.ts +10 -10
- package/dist/features/automations/tools.d.ts +8 -8
- package/dist/runs/run-archive.d.ts +72 -72
- package/dist/{artifacts/resolve.js → server/file-link.js} +3 -3
- package/dist/server/file-link.js.map +1 -0
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/project-run-files.js +1 -1
- package/dist/server/project-run-files.js.map +1 -1
- package/dist/server/providers-routes.d.ts +58 -58
- package/dist/server/repo-routes.d.ts +13 -13
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +37 -37
- package/dist/server/runs-routes.js +2 -2
- package/dist/server/runs-routes.js.map +1 -1
- package/dist/server/server.d.ts +1395 -1395
- package/dist/server/workspace-live-routes.d.ts +11 -11
- package/dist/{artifacts/cli.js → task-files/artifact-cli.js} +2 -2
- package/dist/task-files/artifact-cli.js.map +1 -0
- package/dist/{artifacts/store.d.ts → task-files/artifact-kind.d.ts} +14 -17
- package/dist/task-files/artifact-kind.js +123 -0
- package/dist/task-files/artifact-kind.js.map +1 -0
- package/dist/task-files/kind.d.ts +55 -0
- package/dist/task-files/kind.js +68 -0
- package/dist/task-files/kind.js.map +1 -0
- package/dist/{artifacts → task-files}/lifecycle.d.ts +0 -1
- package/dist/{artifacts → task-files}/lifecycle.js +3 -28
- package/dist/task-files/lifecycle.js.map +1 -0
- package/dist/task-files/removal-slot.d.ts +3 -0
- package/dist/task-files/removal-slot.js +20 -0
- package/dist/task-files/removal-slot.js.map +1 -0
- package/dist/task-files/store.d.ts +37 -0
- package/dist/{artifacts → task-files}/store.js +150 -155
- package/dist/task-files/store.js.map +1 -0
- package/dist/workflows/continuation-admission.d.ts +72 -72
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/package.json +4 -4
- package/dist/artifacts/cli.js.map +0 -1
- package/dist/artifacts/lifecycle.js.map +0 -1
- package/dist/artifacts/removal-slot.d.ts +0 -3
- package/dist/artifacts/removal-slot.js +0 -7
- package/dist/artifacts/removal-slot.js.map +0 -1
- package/dist/artifacts/resolve.js.map +0 -1
- package/dist/artifacts/store.js.map +0 -1
- /package/dist/{artifacts/resolve.d.ts → server/file-link.d.ts} +0 -0
- /package/dist/{artifacts/cli.d.ts → task-files/artifact-cli.d.ts} +0 -0
|
@@ -70,18 +70,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
70
70
|
};
|
|
71
71
|
} | {
|
|
72
72
|
output: {
|
|
73
|
-
|
|
74
|
-
requiresAccountHome?: boolean | undefined;
|
|
75
|
-
provider: string;
|
|
76
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
77
|
-
enabled?: boolean | undefined;
|
|
78
|
-
hint?: string | undefined;
|
|
79
|
-
authFailureId?: string | undefined;
|
|
80
|
-
profileId?: string | undefined;
|
|
81
|
-
}[];
|
|
73
|
+
error: string;
|
|
82
74
|
};
|
|
83
75
|
outputFormat: "json";
|
|
84
|
-
status:
|
|
76
|
+
status: 500;
|
|
85
77
|
input: {
|
|
86
78
|
param: {
|
|
87
79
|
provider: string;
|
|
@@ -93,10 +85,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
93
85
|
};
|
|
94
86
|
} | {
|
|
95
87
|
output: {
|
|
96
|
-
|
|
88
|
+
providers: {
|
|
89
|
+
requiresAccountHome?: boolean | undefined;
|
|
90
|
+
provider: string;
|
|
91
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
92
|
+
enabled?: boolean | undefined;
|
|
93
|
+
hint?: string | undefined;
|
|
94
|
+
authFailureId?: string | undefined;
|
|
95
|
+
profileId?: string | undefined;
|
|
96
|
+
}[];
|
|
97
97
|
};
|
|
98
98
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
99
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
100
100
|
input: {
|
|
101
101
|
param: {
|
|
102
102
|
provider: string;
|
|
@@ -128,18 +128,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
128
128
|
};
|
|
129
129
|
} | {
|
|
130
130
|
output: {
|
|
131
|
-
|
|
132
|
-
requiresAccountHome?: boolean | undefined;
|
|
133
|
-
provider: string;
|
|
134
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
135
|
-
enabled?: boolean | undefined;
|
|
136
|
-
hint?: string | undefined;
|
|
137
|
-
authFailureId?: string | undefined;
|
|
138
|
-
profileId?: string | undefined;
|
|
139
|
-
}[];
|
|
131
|
+
error: string;
|
|
140
132
|
};
|
|
141
133
|
outputFormat: "json";
|
|
142
|
-
status:
|
|
134
|
+
status: 409;
|
|
143
135
|
input: {
|
|
144
136
|
param: {
|
|
145
137
|
provider: string;
|
|
@@ -151,10 +143,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
151
143
|
};
|
|
152
144
|
} | {
|
|
153
145
|
output: {
|
|
154
|
-
|
|
146
|
+
providers: {
|
|
147
|
+
requiresAccountHome?: boolean | undefined;
|
|
148
|
+
provider: string;
|
|
149
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
150
|
+
enabled?: boolean | undefined;
|
|
151
|
+
hint?: string | undefined;
|
|
152
|
+
authFailureId?: string | undefined;
|
|
153
|
+
profileId?: string | undefined;
|
|
154
|
+
}[];
|
|
155
155
|
};
|
|
156
156
|
outputFormat: "json";
|
|
157
|
-
status:
|
|
157
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
158
158
|
input: {
|
|
159
159
|
param: {
|
|
160
160
|
provider: string;
|
|
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
173
173
|
error: string;
|
|
174
174
|
};
|
|
175
175
|
outputFormat: "json";
|
|
176
|
-
status:
|
|
176
|
+
status: 400;
|
|
177
177
|
input: {
|
|
178
178
|
json: {
|
|
179
179
|
provider: string;
|
|
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
185
185
|
error: string;
|
|
186
186
|
};
|
|
187
187
|
outputFormat: "json";
|
|
188
|
-
status:
|
|
188
|
+
status: 409;
|
|
189
189
|
input: {
|
|
190
190
|
json: {
|
|
191
191
|
provider: string;
|
|
@@ -290,10 +290,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
290
290
|
"/workspace/agent-profiles": {
|
|
291
291
|
$post: {
|
|
292
292
|
output: {
|
|
293
|
-
|
|
293
|
+
profile: {
|
|
294
|
+
id: string;
|
|
295
|
+
provider: string;
|
|
296
|
+
label: string;
|
|
297
|
+
configDir?: string | undefined;
|
|
298
|
+
path?: string | undefined;
|
|
299
|
+
exists: boolean;
|
|
300
|
+
looksValid: boolean;
|
|
301
|
+
isDefault: boolean;
|
|
302
|
+
status?: {
|
|
303
|
+
requiresAccountHome?: boolean | undefined;
|
|
304
|
+
provider: string;
|
|
305
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
306
|
+
enabled?: boolean | undefined;
|
|
307
|
+
hint?: string | undefined;
|
|
308
|
+
authFailureId?: string | undefined;
|
|
309
|
+
profileId?: string | undefined;
|
|
310
|
+
} | undefined;
|
|
311
|
+
};
|
|
294
312
|
};
|
|
295
313
|
outputFormat: "json";
|
|
296
|
-
status:
|
|
314
|
+
status: 201;
|
|
297
315
|
input: {
|
|
298
316
|
json: {
|
|
299
317
|
provider: string;
|
|
@@ -319,7 +337,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
319
337
|
error: string;
|
|
320
338
|
};
|
|
321
339
|
outputFormat: "json";
|
|
322
|
-
status:
|
|
340
|
+
status: 409;
|
|
323
341
|
input: {
|
|
324
342
|
json: {
|
|
325
343
|
provider: string;
|
|
@@ -329,28 +347,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
329
347
|
};
|
|
330
348
|
} | {
|
|
331
349
|
output: {
|
|
332
|
-
|
|
333
|
-
id: string;
|
|
334
|
-
provider: string;
|
|
335
|
-
label: string;
|
|
336
|
-
configDir?: string | undefined;
|
|
337
|
-
path?: string | undefined;
|
|
338
|
-
exists: boolean;
|
|
339
|
-
looksValid: boolean;
|
|
340
|
-
isDefault: boolean;
|
|
341
|
-
status?: {
|
|
342
|
-
requiresAccountHome?: boolean | undefined;
|
|
343
|
-
provider: string;
|
|
344
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
345
|
-
enabled?: boolean | undefined;
|
|
346
|
-
hint?: string | undefined;
|
|
347
|
-
authFailureId?: string | undefined;
|
|
348
|
-
profileId?: string | undefined;
|
|
349
|
-
} | undefined;
|
|
350
|
-
};
|
|
350
|
+
error: string;
|
|
351
351
|
};
|
|
352
352
|
outputFormat: "json";
|
|
353
|
-
status:
|
|
353
|
+
status: 500;
|
|
354
354
|
input: {
|
|
355
355
|
json: {
|
|
356
356
|
provider: string;
|
|
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
384
384
|
error: string;
|
|
385
385
|
};
|
|
386
386
|
outputFormat: "json";
|
|
387
|
-
status:
|
|
387
|
+
status: 400;
|
|
388
388
|
input: {
|
|
389
389
|
param: {
|
|
390
390
|
id: string;
|
|
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
400
400
|
error: string;
|
|
401
401
|
};
|
|
402
402
|
outputFormat: "json";
|
|
403
|
-
status:
|
|
403
|
+
status: 404;
|
|
404
404
|
input: {
|
|
405
405
|
param: {
|
|
406
406
|
id: string;
|
|
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
416
416
|
error: string;
|
|
417
417
|
};
|
|
418
418
|
outputFormat: "json";
|
|
419
|
-
status:
|
|
419
|
+
status: 409;
|
|
420
420
|
input: {
|
|
421
421
|
param: {
|
|
422
422
|
id: string;
|
|
@@ -542,10 +542,9 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
542
542
|
$put: {
|
|
543
543
|
output: {
|
|
544
544
|
error: string;
|
|
545
|
-
code: "no-boot-project";
|
|
546
545
|
};
|
|
547
546
|
outputFormat: "json";
|
|
548
|
-
status:
|
|
547
|
+
status: 400;
|
|
549
548
|
input: {
|
|
550
549
|
json: {
|
|
551
550
|
projectId: string;
|
|
@@ -569,9 +568,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
569
568
|
} | {
|
|
570
569
|
output: {
|
|
571
570
|
error: string;
|
|
571
|
+
code: "no-boot-project";
|
|
572
572
|
};
|
|
573
573
|
outputFormat: "json";
|
|
574
|
-
status:
|
|
574
|
+
status: 409;
|
|
575
575
|
input: {
|
|
576
576
|
json: {
|
|
577
577
|
projectId: string;
|
|
@@ -635,7 +635,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
635
635
|
error: string;
|
|
636
636
|
};
|
|
637
637
|
outputFormat: "json";
|
|
638
|
-
status:
|
|
638
|
+
status: 404;
|
|
639
639
|
input: {
|
|
640
640
|
param: {
|
|
641
641
|
id: string;
|
|
@@ -646,7 +646,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
646
646
|
error: string;
|
|
647
647
|
};
|
|
648
648
|
outputFormat: "json";
|
|
649
|
-
status:
|
|
649
|
+
status: 409;
|
|
650
650
|
input: {
|
|
651
651
|
param: {
|
|
652
652
|
id: string;
|
|
@@ -657,7 +657,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
657
657
|
error: string;
|
|
658
658
|
};
|
|
659
659
|
outputFormat: "json";
|
|
660
|
-
status:
|
|
660
|
+
status: 500;
|
|
661
661
|
input: {
|
|
662
662
|
param: {
|
|
663
663
|
id: string;
|
|
@@ -344,19 +344,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
344
344
|
} & {
|
|
345
345
|
"/repo/commit/:sha": {
|
|
346
346
|
$get: {
|
|
347
|
-
output: string;
|
|
348
|
-
outputFormat: "text";
|
|
349
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
350
|
-
input: {
|
|
351
|
-
query: {
|
|
352
|
-
structured?: string | undefined;
|
|
353
|
-
};
|
|
354
|
-
} & {
|
|
355
|
-
param: {
|
|
356
|
-
sha: string;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
} | {
|
|
360
347
|
output: {
|
|
361
348
|
error: string;
|
|
362
349
|
code?: "invalid_input" | undefined;
|
|
@@ -420,6 +407,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
420
407
|
sha: string;
|
|
421
408
|
};
|
|
422
409
|
};
|
|
410
|
+
} | {
|
|
411
|
+
output: string;
|
|
412
|
+
outputFormat: "text";
|
|
413
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
414
|
+
input: {
|
|
415
|
+
query: {
|
|
416
|
+
structured?: string | undefined;
|
|
417
|
+
};
|
|
418
|
+
} & {
|
|
419
|
+
param: {
|
|
420
|
+
sha: string;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
} & {
|
|
@@ -52,11 +52,15 @@ export declare function createRunnerInstallRoutes(options: {
|
|
|
52
52
|
"/runner-install/:runner": {
|
|
53
53
|
$post: {
|
|
54
54
|
output: {
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
supported: boolean;
|
|
56
|
+
installedVersion: string | null;
|
|
57
|
+
latestVersion: string | null;
|
|
58
|
+
updateAvailable: boolean;
|
|
59
|
+
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
60
|
+
error: string | null;
|
|
57
61
|
};
|
|
58
62
|
outputFormat: "json";
|
|
59
|
-
status:
|
|
63
|
+
status: 202;
|
|
60
64
|
input: {
|
|
61
65
|
param: {
|
|
62
66
|
runner: string;
|
|
@@ -68,15 +72,11 @@ export declare function createRunnerInstallRoutes(options: {
|
|
|
68
72
|
};
|
|
69
73
|
} | {
|
|
70
74
|
output: {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
latestVersion: string | null;
|
|
74
|
-
updateAvailable: boolean;
|
|
75
|
-
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
76
|
-
error: string | null;
|
|
75
|
+
error: string;
|
|
76
|
+
code?: "invalid_input" | undefined;
|
|
77
77
|
};
|
|
78
78
|
outputFormat: "json";
|
|
79
|
-
status:
|
|
79
|
+
status: 400;
|
|
80
80
|
input: {
|
|
81
81
|
param: {
|
|
82
82
|
runner: string;
|
|
@@ -1727,22 +1727,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1727
1727
|
"/runs/:id/worker-destroy": {
|
|
1728
1728
|
$post: {
|
|
1729
1729
|
output: {
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
readonly modelChoices?: {
|
|
1733
|
-
runner: string;
|
|
1734
|
-
requestedModel: string;
|
|
1735
|
-
availableModels: {
|
|
1736
|
-
id: string;
|
|
1737
|
-
label: string;
|
|
1738
|
-
description: string;
|
|
1739
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
1740
|
-
}[];
|
|
1741
|
-
otherRunners: string[];
|
|
1742
|
-
} | undefined;
|
|
1730
|
+
error: string;
|
|
1731
|
+
code?: "invalid_input" | undefined;
|
|
1743
1732
|
};
|
|
1744
1733
|
outputFormat: "json";
|
|
1745
|
-
status: 400
|
|
1734
|
+
status: 400;
|
|
1746
1735
|
input: {
|
|
1747
1736
|
query: {
|
|
1748
1737
|
[x: string]: string | string[];
|
|
@@ -1758,11 +1747,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1758
1747
|
};
|
|
1759
1748
|
} | {
|
|
1760
1749
|
output: {
|
|
1761
|
-
|
|
1762
|
-
|
|
1750
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
1751
|
+
readonly error: string;
|
|
1752
|
+
readonly modelChoices?: {
|
|
1753
|
+
runner: string;
|
|
1754
|
+
requestedModel: string;
|
|
1755
|
+
availableModels: {
|
|
1756
|
+
id: string;
|
|
1757
|
+
label: string;
|
|
1758
|
+
description: string;
|
|
1759
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
1760
|
+
}[];
|
|
1761
|
+
otherRunners: string[];
|
|
1762
|
+
} | undefined;
|
|
1763
1763
|
};
|
|
1764
1764
|
outputFormat: "json";
|
|
1765
|
-
status: 400;
|
|
1765
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
1766
1766
|
input: {
|
|
1767
1767
|
query: {
|
|
1768
1768
|
[x: string]: string | string[];
|
|
@@ -12321,20 +12321,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12321
12321
|
} & {
|
|
12322
12322
|
"/runs/:id/handoff": {
|
|
12323
12323
|
$get: {
|
|
12324
|
-
output:
|
|
12325
|
-
|
|
12326
|
-
|
|
12324
|
+
output: {
|
|
12325
|
+
error: string;
|
|
12326
|
+
};
|
|
12327
|
+
outputFormat: "json";
|
|
12328
|
+
status: 404;
|
|
12327
12329
|
input: {
|
|
12328
12330
|
param: {
|
|
12329
12331
|
id: string;
|
|
12330
12332
|
};
|
|
12331
12333
|
};
|
|
12332
12334
|
} | {
|
|
12333
|
-
output:
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
outputFormat: "json";
|
|
12337
|
-
status: 404;
|
|
12335
|
+
output: string;
|
|
12336
|
+
outputFormat: "text";
|
|
12337
|
+
status: 200;
|
|
12338
12338
|
input: {
|
|
12339
12339
|
param: {
|
|
12340
12340
|
id: string;
|
|
@@ -12372,20 +12372,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12372
12372
|
} & {
|
|
12373
12373
|
"/runs/:id/diff": {
|
|
12374
12374
|
$get: {
|
|
12375
|
-
output:
|
|
12376
|
-
|
|
12377
|
-
|
|
12375
|
+
output: {
|
|
12376
|
+
error: string;
|
|
12377
|
+
};
|
|
12378
|
+
outputFormat: "json";
|
|
12379
|
+
status: 404 | 409;
|
|
12378
12380
|
input: {
|
|
12379
12381
|
param: {
|
|
12380
12382
|
id: string;
|
|
12381
12383
|
};
|
|
12382
12384
|
};
|
|
12383
12385
|
} | {
|
|
12384
|
-
output:
|
|
12385
|
-
|
|
12386
|
-
|
|
12387
|
-
outputFormat: "json";
|
|
12388
|
-
status: 404 | 409;
|
|
12386
|
+
output: string;
|
|
12387
|
+
outputFormat: "text";
|
|
12388
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12389
12389
|
input: {
|
|
12390
12390
|
param: {
|
|
12391
12391
|
id: string;
|
|
@@ -12478,9 +12478,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12478
12478
|
status: 404 | 409;
|
|
12479
12479
|
input: {
|
|
12480
12480
|
param: {
|
|
12481
|
-
id: string;
|
|
12482
|
-
} & {
|
|
12483
12481
|
sha: string;
|
|
12482
|
+
} & {
|
|
12483
|
+
id: string;
|
|
12484
12484
|
};
|
|
12485
12485
|
};
|
|
12486
12486
|
} | {
|
|
@@ -12509,9 +12509,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12509
12509
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12510
12510
|
input: {
|
|
12511
12511
|
param: {
|
|
12512
|
-
id: string;
|
|
12513
|
-
} & {
|
|
12514
12512
|
sha: string;
|
|
12513
|
+
} & {
|
|
12514
|
+
id: string;
|
|
12515
12515
|
};
|
|
12516
12516
|
};
|
|
12517
12517
|
};
|
|
@@ -15,8 +15,8 @@ import { latestSession } from '../contract/index.js';
|
|
|
15
15
|
import { archiveSchema, continueSchema, openInSchema, queuedMessagePatchSchema } from '../contract/index.js';
|
|
16
16
|
import { removedRunnerMessage } from '../contract/index.js';
|
|
17
17
|
import { archiveFinishedRequestSchema, archivedRunsQuerySchema, attachmentFileParamSchema, createRunInputSchema, markAllReadRequestSchema, messageInputSchema as messageSchema, notifyRunInputSchema, patchRunInputSchema as patchRunSchema, pinRunInputSchema, runSummariesQuerySchema, } from '../contract/index.js';
|
|
18
|
-
import { artifactPreview, loadFileLink, rasterMime } from '
|
|
19
|
-
import { listArtifacts, readArtifact, readArtifactMetadata } from '../
|
|
18
|
+
import { artifactPreview, loadFileLink, rasterMime } from './file-link.js';
|
|
19
|
+
import { listArtifacts, readArtifact, readArtifactMetadata } from '../task-files/artifact-kind.js';
|
|
20
20
|
import { loadConfig } from '../config.js';
|
|
21
21
|
import { AGENT_MODELS_LOCKED_ERROR, agentModelsLocked } from '../core/agent-model-policy.js';
|
|
22
22
|
import { profileEnv } from '../core/agent-profiles.js';
|