@hearsay-tools/squawk 0.18.0-dev.7899 → 0.18.0-dev.7909
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/runs/project-run-connection.d.ts +2 -1
- package/dist/runs/project-run-connection.js +4 -1
- package/dist/runs/project-run-connection.js.map +1 -1
- package/dist/runs/project-run-sources.d.ts +2 -2
- package/dist/runs/project-run-sources.js +4 -3
- package/dist/runs/project-run-sources.js.map +1 -1
- package/dist/runs/run-database-migrations.js +41 -0
- package/dist/runs/run-database-migrations.js.map +1 -1
- package/dist/runs/run-database-version.d.ts +3 -2
- package/dist/runs/run-database-version.js +3 -2
- package/dist/runs/run-database-version.js.map +1 -1
- package/dist/runs/run-database.d.ts +1 -1
- package/dist/runs/run-database.js +60 -45
- package/dist/runs/run-database.js.map +1 -1
- package/dist/runs/run-index-cache.d.ts +10 -0
- package/dist/runs/run-index-cache.js +45 -0
- package/dist/runs/run-index-cache.js.map +1 -0
- package/dist/runs/run-index.js +12 -6
- package/dist/runs/run-index.js.map +1 -1
- package/dist/server/server.d.ts +477 -477
- package/package.json +4 -4
- package/web/dist/assets/accounts-section-C7qacMAX.js +1 -0
- package/web/dist/assets/activity-motion-CkAbct6K.js +2 -0
- package/web/dist/assets/activity-route-DkSc-BB_.js +1 -0
- package/web/dist/assets/agent-config-section-DBqtxqrI.js +4 -0
- package/web/dist/assets/agent-defaults-section-AHmatJKy.js +1 -0
- package/web/dist/assets/agents-settings-path-7X6_cvUg.js +1 -0
- package/web/dist/assets/appearance-Uyrw7pjm.js +1 -0
- package/web/dist/assets/archive-on-merge-field-w_cfxV6m.js +1 -0
- package/web/dist/assets/attention-BMiaqJnx.js +1 -0
- package/web/dist/assets/automation-format-1lHzRTbq.js +1 -0
- package/web/dist/assets/automations-route-BBzRefYM.js +1 -0
- package/web/dist/assets/badge-D9JrXe0o.js +1 -0
- package/web/dist/assets/bot-TkDIw4y-.js +1 -0
- package/web/dist/assets/bundle-mjs-rHxsej31.js +1 -0
- package/web/dist/assets/button-BQ2y4XRB.js +1 -0
- package/web/dist/assets/centered-state-V15AR_qo.js +1 -0
- package/web/dist/assets/chevron-down-CHGyCDBH.js +1 -0
- package/web/dist/assets/chevron-right-BENZ-1ZN.js +1 -0
- package/web/dist/assets/{chunk-BO2N2NFS-y7WHTKOf.js → chunk-BO2N2NFS-DQrpGzb-.js} +4 -4
- package/web/dist/assets/chunk-KS7C4IRE-Cg8l-LDN.js +3 -0
- package/web/dist/assets/collapsible-BEV4FO-1.js +1 -0
- package/web/dist/assets/command-CDt1BsZy.js +1 -0
- package/web/dist/assets/commit-diff-panel-Ba-6F5So.js +1 -0
- package/web/dist/assets/dialog-BVF6dIeS.js +1 -0
- package/web/dist/assets/diff-D3RVmX07.js +3 -0
- package/web/dist/assets/diff-controls-BSWICnsb.js +1 -0
- package/web/dist/assets/{diff-view-BG91xPpY.js → diff-view-CYIMlq04.js} +4 -4
- package/web/dist/assets/dist-BAoXdNsT.js +1 -0
- package/web/dist/assets/dist-BW234Kg5.js +1 -0
- package/web/dist/assets/dist-C28wFbz0.js +1 -0
- package/web/dist/assets/dist-C5mlVBmd.js +1 -0
- package/web/dist/assets/dist-DXO3xwbC.js +1 -0
- package/web/dist/assets/dist-Da4ckcJG.js +1 -0
- package/web/dist/assets/dropdown-menu-4e2iKSMT.js +1 -0
- package/web/dist/assets/es2015-CQth82uv.js +41 -0
- package/web/dist/assets/external-link-BE6y205O.js +1 -0
- package/web/dist/assets/file-preview-jj3RWAaW.js +2 -0
- package/web/dist/assets/folder-browser-CH0gdxd-.js +1 -0
- package/web/dist/assets/folder-o-AvL3y3.js +1 -0
- package/web/dist/assets/git-toolbar-BOaq9GcR.js +1 -0
- package/web/dist/assets/github-wkggyCqa.js +1 -0
- package/web/dist/assets/global-activity-route-BTrelHAD.js +1 -0
- package/web/dist/assets/{highlighted-body-OFNGDK62-D62LjTH2.js → highlighted-body-OFNGDK62-Cx8MiNVZ.js} +1 -1
- package/web/dist/assets/highlighter-DvLzHjjY.js +3 -0
- package/web/dist/assets/{image-preview-2AnVvt0e.js → image-preview-CNBuRrK5.js} +1 -1
- package/web/dist/assets/index-CRfojAQ1.js +21 -0
- package/web/dist/assets/index-F-X4qZSv.css +1 -0
- package/web/dist/assets/label-D6DhdNb7.js +1 -0
- package/web/dist/assets/markdown-i80v6qNq.js +4 -0
- package/web/dist/assets/mermaid-GHXKKRXX-lTc_AjAC.js +1 -0
- package/web/dist/assets/moon-CRE9nU5R.js +1 -0
- package/web/dist/assets/nav-row-styles-DqKjMToI.js +1 -0
- package/web/dist/assets/notifications-section-GGsdkedq.js +1 -0
- package/web/dist/assets/open-in-menu-DgScIVvr.js +1 -0
- package/web/dist/assets/own-lookup-DS54wXvD.js +1 -0
- package/web/dist/assets/popover-BPgUYFyu.js +1 -0
- package/web/dist/assets/preload-helper-Czpn1I53.js +1 -0
- package/web/dist/assets/preview-pane-connected-B3mexb-I.js +3 -0
- package/web/dist/assets/project-location-4UN0Eqf-.js +1 -0
- package/web/dist/assets/project-order-AcHI4Dcl.js +1 -0
- package/web/dist/assets/project-rail-sortable-BmVI4_-T.js +1 -0
- package/web/dist/assets/project-router-UyyzK1j2.js +1 -0
- package/web/dist/assets/project-scope-context-BRvkKGX1.js +4 -0
- package/web/dist/assets/projects-section-DjeKfkRK.js +1 -0
- package/web/dist/assets/prompt-templates-section-CPH3RU9O.js +1 -0
- package/web/dist/assets/queries-CQWAcH8p.js +1 -0
- package/web/dist/assets/reference-chip-DGOmeh0l.js +1 -0
- package/web/dist/assets/remote-settings-notice-BFDdo8X5.js +1 -0
- package/web/dist/assets/repo-git-PaJ9uJ6o.js +1 -0
- package/web/dist/assets/report-reader-DDDg-Iyz.js +1 -0
- package/web/dist/assets/reports-DRSGsu5b.js +1 -0
- package/web/dist/assets/resources-section-Dwx13rfP.js +1 -0
- package/web/dist/assets/run-header-q5egOxrK.js +2 -0
- package/web/dist/assets/{runners-CKrq5tR_.js → runners-BFhbiSKy.js} +1 -1
- package/web/dist/assets/settings-agent-picker-YO8UtetZ.js +1 -0
- package/web/dist/assets/settings-field-Bl6WuvGX.js +1 -0
- package/web/dist/assets/settings-shell-De1IxHYf.js +1 -0
- package/web/dist/assets/settings-shell-xK8txSJo.css +1 -0
- package/web/dist/assets/sidebar-section-CYKz48EO.js +1 -0
- package/web/dist/assets/skills-hTBIyeAr.js +1 -0
- package/web/dist/assets/smartphone-Lr8Ug2z_.js +1 -0
- package/web/dist/assets/sortable.esm-CAVTYaA3.js +5 -0
- package/web/dist/assets/square-terminal-B6RYYieR.js +1 -0
- package/web/dist/assets/status-dot-DtAOFiIi.js +1 -0
- package/web/dist/assets/switch-Bv2Zf1uU.js +1 -0
- package/web/dist/assets/tab-link-BmEGnV4R.js +1 -0
- package/web/dist/assets/task-changes-CvbqO0ug.js +1 -0
- package/web/dist/assets/task-commits-kVuYqkqB.js +1 -0
- package/web/dist/assets/task-files-DOFkMbFg.js +1 -0
- package/web/dist/assets/task-github-item-13sbVXYb.js +1 -0
- package/web/dist/assets/task-groups-Dc7pXgaS.js +1 -0
- package/web/dist/assets/task-thread-B0d0xyLV.js +9 -0
- package/web/dist/assets/tasks-table-lb5Dy-8O.js +1 -0
- package/web/dist/assets/textarea-vJt9undk.js +1 -0
- package/web/dist/assets/thread-state-BwzJmXzv.js +4 -0
- package/web/dist/assets/toaster-Bo5vCbz-.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-wRTXiZqE.js +1 -0
- package/web/dist/assets/{useInfiniteQuery-BdIIhzMI.js → useInfiniteQuery-rgb-nitU.js} +1 -1
- package/web/dist/assets/useQuery-SVV6EtG7.js +1 -0
- package/web/dist/assets/utils-DSMR_WLb.js +1 -0
- package/web/dist/assets/workflows-35bEvVkH.js +7 -0
- package/web/dist/assets/workspace-tools-Bw4MyHOW.js +1 -0
- package/web/dist/assets/worktrees-section-CLwPLrl2.js +4 -0
- package/web/dist/assets/{ws-DiWUfn_t.js → ws-D3-jE1IB.js} +1 -1
- package/web/dist/assets/zoomable-image-CIQl1Wpe.js +1 -0
- package/web/dist/index.html +49 -25
- package/web/dist/assets/activity-motion-DKY_Cd-w.js +0 -2
- package/web/dist/assets/activity-route-CFOKEc61.js +0 -1
- package/web/dist/assets/attention-B0IBc2_D.js +0 -1
- package/web/dist/assets/bundle-mjs-BT31bpU6.js +0 -1
- package/web/dist/assets/button-C1fD-ZFr.js +0 -3
- package/web/dist/assets/centered-state-CiiA8Vgw.js +0 -1
- package/web/dist/assets/commit-diff-panel-BiNUdbd8.js +0 -1
- package/web/dist/assets/dialog-B3EUmMBQ.js +0 -1
- package/web/dist/assets/diff-WtmvA0fu.js +0 -3
- package/web/dist/assets/diff-controls-CA6lS7Yp.js +0 -1
- package/web/dist/assets/dist-Du8mGhoH.js +0 -1
- package/web/dist/assets/dropdown-menu-Dso6iTId.js +0 -1
- package/web/dist/assets/es2015-Ch36azR0.js +0 -41
- package/web/dist/assets/file-preview-YCD-8e6S.js +0 -2
- package/web/dist/assets/git-toolbar-B5YAUWQ7.js +0 -1
- package/web/dist/assets/github-DHeSsbSc.js +0 -1
- package/web/dist/assets/global-activity-route-CMq49K4H.js +0 -1
- package/web/dist/assets/index-C3pMUosD.js +0 -14
- package/web/dist/assets/index-DXvh46tl.css +0 -1
- package/web/dist/assets/markdown-OTuqNLUj.js +0 -4
- package/web/dist/assets/mermaid-GHXKKRXX-C7OP146z.js +0 -1
- package/web/dist/assets/nav-row-styles-CFjnD-9J.js +0 -1
- package/web/dist/assets/picker-pill-BhCKGHAn.js +0 -15
- package/web/dist/assets/preview-pane-connected-BvOk8924.js +0 -3
- package/web/dist/assets/project-router-CcyPWtFH.js +0 -1
- package/web/dist/assets/project-scope-context-CX36ze1Q.js +0 -4
- package/web/dist/assets/prompt-template-menu-YN8kTo5-.js +0 -1
- package/web/dist/assets/queries-Cb76PEoL.js +0 -1
- package/web/dist/assets/reference-chip-BuUCKkhB.js +0 -1
- package/web/dist/assets/repo-git-B2M2bD92.js +0 -1
- package/web/dist/assets/report-reader-DeyzG6gC.js +0 -1
- package/web/dist/assets/reports-Ca8vCNah.js +0 -1
- package/web/dist/assets/run-header-DP7P0saA.js +0 -2
- package/web/dist/assets/skills-5ODbLwjd.js +0 -1
- package/web/dist/assets/sortable.esm-zp_qkYGV.js +0 -5
- package/web/dist/assets/tab-link-Dn7KFNYr.js +0 -1
- package/web/dist/assets/task-changes-BkeLycTI.js +0 -1
- package/web/dist/assets/task-commits-Db8B7L6o.js +0 -1
- package/web/dist/assets/task-files-CFVAB4Bl.js +0 -1
- package/web/dist/assets/task-github-item-z295iYNd.js +0 -1
- package/web/dist/assets/task-thread-UXl-CsYi.js +0 -9
- package/web/dist/assets/thread-state-BsbjdGGk.js +0 -4
- package/web/dist/assets/toaster-Cxgzn9ip.js +0 -1
- package/web/dist/assets/use-desktop-BqVEJ3dr.js +0 -1
- package/web/dist/assets/use-hand-to-agent-state-DXfR9R5L.js +0 -1
- package/web/dist/assets/useQuery-Dg1rzYtR.js +0 -1
- package/web/dist/assets/workflows-BCuRK6_a.js +0 -7
- package/web/dist/assets/zoomable-image-DrDnCL4V.js +0 -1
package/dist/server/server.d.ts
CHANGED
|
@@ -182,6 +182,220 @@ export declare class WorkspaceEventBus {
|
|
|
182
182
|
on(listener: (event: WorkspaceEventName, data: unknown) => void): () => void;
|
|
183
183
|
}
|
|
184
184
|
export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
185
|
+
"/models": {
|
|
186
|
+
$get: {
|
|
187
|
+
output: {
|
|
188
|
+
error: string;
|
|
189
|
+
code?: "invalid_input" | undefined;
|
|
190
|
+
};
|
|
191
|
+
outputFormat: "json";
|
|
192
|
+
status: 400;
|
|
193
|
+
input: {
|
|
194
|
+
query: {
|
|
195
|
+
runner: string | string[];
|
|
196
|
+
profileId?: string | undefined;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
} | {
|
|
200
|
+
output: {
|
|
201
|
+
runner: string;
|
|
202
|
+
models: {
|
|
203
|
+
id: string;
|
|
204
|
+
label: string;
|
|
205
|
+
description: string;
|
|
206
|
+
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
207
|
+
}[];
|
|
208
|
+
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
209
|
+
stale: boolean;
|
|
210
|
+
reason?: string;
|
|
211
|
+
};
|
|
212
|
+
outputFormat: "json";
|
|
213
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
214
|
+
input: {
|
|
215
|
+
query: {
|
|
216
|
+
runner: string | string[];
|
|
217
|
+
profileId?: string | undefined;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
} | {
|
|
221
|
+
output: {
|
|
222
|
+
error: string;
|
|
223
|
+
};
|
|
224
|
+
outputFormat: "json";
|
|
225
|
+
status: 409;
|
|
226
|
+
input: {
|
|
227
|
+
query: {
|
|
228
|
+
runner: string | string[];
|
|
229
|
+
profileId?: string | undefined;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
} | {
|
|
233
|
+
output: {
|
|
234
|
+
error: string;
|
|
235
|
+
};
|
|
236
|
+
outputFormat: "json";
|
|
237
|
+
status: 400;
|
|
238
|
+
input: {
|
|
239
|
+
query: {
|
|
240
|
+
runner: string | string[];
|
|
241
|
+
profileId?: string | undefined;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
247
|
+
"/health": {
|
|
248
|
+
$get: {
|
|
249
|
+
output: {
|
|
250
|
+
version: string;
|
|
251
|
+
latestVersion?: string | undefined;
|
|
252
|
+
repoRoot: string;
|
|
253
|
+
repo: {
|
|
254
|
+
root: string;
|
|
255
|
+
branch: string;
|
|
256
|
+
remote?: string | undefined;
|
|
257
|
+
} | null;
|
|
258
|
+
checks: {
|
|
259
|
+
name: string;
|
|
260
|
+
available: boolean;
|
|
261
|
+
version?: string;
|
|
262
|
+
hint?: string;
|
|
263
|
+
}[];
|
|
264
|
+
defaultRunner: string;
|
|
265
|
+
forge: {
|
|
266
|
+
available?: boolean | undefined;
|
|
267
|
+
reason?: string;
|
|
268
|
+
kind: "github";
|
|
269
|
+
} | null;
|
|
270
|
+
capabilities: {
|
|
271
|
+
localHandoff: boolean;
|
|
272
|
+
settingsAdmin: boolean;
|
|
273
|
+
remoteSettingsAdmin: boolean;
|
|
274
|
+
automations: boolean;
|
|
275
|
+
preview: boolean;
|
|
276
|
+
tokenMetrics: boolean;
|
|
277
|
+
tokenUsageMetrics: boolean;
|
|
278
|
+
costMetrics: boolean;
|
|
279
|
+
};
|
|
280
|
+
projects: {
|
|
281
|
+
id: string;
|
|
282
|
+
name: string;
|
|
283
|
+
}[];
|
|
284
|
+
bootProject: string;
|
|
285
|
+
};
|
|
286
|
+
outputFormat: "json";
|
|
287
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
288
|
+
input: {};
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
292
|
+
"/fs/browse": {
|
|
293
|
+
$get: {
|
|
294
|
+
output: {
|
|
295
|
+
error: string;
|
|
296
|
+
code?: "invalid_input" | undefined;
|
|
297
|
+
};
|
|
298
|
+
outputFormat: "json";
|
|
299
|
+
status: 400;
|
|
300
|
+
input: {
|
|
301
|
+
query: {
|
|
302
|
+
path?: string | undefined;
|
|
303
|
+
showHidden?: string | undefined;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
} | {
|
|
307
|
+
output: {
|
|
308
|
+
error: string;
|
|
309
|
+
};
|
|
310
|
+
outputFormat: "json";
|
|
311
|
+
status: 400 | 403 | 404;
|
|
312
|
+
input: {
|
|
313
|
+
query: {
|
|
314
|
+
path?: string | undefined;
|
|
315
|
+
showHidden?: string | undefined;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
} | {
|
|
319
|
+
output: {
|
|
320
|
+
path: string;
|
|
321
|
+
parent: string | null;
|
|
322
|
+
dirs: {
|
|
323
|
+
name: string;
|
|
324
|
+
path: string;
|
|
325
|
+
isRepo: boolean;
|
|
326
|
+
}[];
|
|
327
|
+
truncated: boolean;
|
|
328
|
+
};
|
|
329
|
+
outputFormat: "json";
|
|
330
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
331
|
+
input: {
|
|
332
|
+
query: {
|
|
333
|
+
path?: string | undefined;
|
|
334
|
+
showHidden?: string | undefined;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
340
|
+
"/automation-checks/:checkId": {
|
|
341
|
+
$get: {
|
|
342
|
+
output: {
|
|
343
|
+
id: string;
|
|
344
|
+
automationId: string;
|
|
345
|
+
mode: 'preview' | 'execute';
|
|
346
|
+
status: 'queued' | 'running' | 'complete' | 'error';
|
|
347
|
+
createdAt: string;
|
|
348
|
+
completedAt?: string;
|
|
349
|
+
matches?: number;
|
|
350
|
+
truncated?: boolean;
|
|
351
|
+
error?: string;
|
|
352
|
+
};
|
|
353
|
+
outputFormat: "json";
|
|
354
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
355
|
+
input: {
|
|
356
|
+
param: {
|
|
357
|
+
checkId: string;
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
} | {
|
|
361
|
+
output: {
|
|
362
|
+
error: string;
|
|
363
|
+
};
|
|
364
|
+
outputFormat: "json";
|
|
365
|
+
status: 404;
|
|
366
|
+
input: {
|
|
367
|
+
param: {
|
|
368
|
+
checkId: string;
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
374
|
+
"/workspace/events": {
|
|
375
|
+
$get: {
|
|
376
|
+
output: {};
|
|
377
|
+
outputFormat: string;
|
|
378
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
379
|
+
input: {
|
|
380
|
+
query: {
|
|
381
|
+
runs?: "summary" | undefined;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
} | {
|
|
385
|
+
output: {
|
|
386
|
+
error: string;
|
|
387
|
+
code?: "invalid_input" | undefined;
|
|
388
|
+
};
|
|
389
|
+
outputFormat: "json";
|
|
390
|
+
status: 400;
|
|
391
|
+
input: {
|
|
392
|
+
query: {
|
|
393
|
+
runs?: "summary" | undefined;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
185
399
|
"/workspace/activity": {
|
|
186
400
|
$get: {
|
|
187
401
|
output: {
|
|
@@ -386,269 +600,55 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
386
600
|
deadline: string;
|
|
387
601
|
detail: {
|
|
388
602
|
pid: number;
|
|
389
|
-
note?: string | undefined;
|
|
390
|
-
};
|
|
391
|
-
} | {
|
|
392
|
-
kind: "timer";
|
|
393
|
-
since: string;
|
|
394
|
-
deadline: string;
|
|
395
|
-
detail: {
|
|
396
|
-
wakeAt: string;
|
|
397
|
-
note?: string | undefined;
|
|
398
|
-
};
|
|
399
|
-
} | undefined;
|
|
400
|
-
tool?: {
|
|
401
|
-
title: string;
|
|
402
|
-
toolKind: "delete" | "edit" | "execute" | "fetch" | "move" | "other" | "plan" | "read" | "search" | "task" | "think";
|
|
403
|
-
status: "completed" | "declined" | "failed" | "pending" | "running";
|
|
404
|
-
startedAt: string;
|
|
405
|
-
endedAt?: string | undefined;
|
|
406
|
-
} | undefined;
|
|
407
|
-
rate: number[];
|
|
408
|
-
error?: string | undefined;
|
|
409
|
-
revision: number;
|
|
410
|
-
collected: boolean;
|
|
411
|
-
}[];
|
|
412
|
-
}[];
|
|
413
|
-
requests: {
|
|
414
|
-
requestId: string;
|
|
415
|
-
relationship: "family" | "peer";
|
|
416
|
-
senderRunId: string;
|
|
417
|
-
recipientRunId: string;
|
|
418
|
-
text: string;
|
|
419
|
-
senderTitle?: string | undefined;
|
|
420
|
-
recipientTitle?: string | undefined;
|
|
421
|
-
createdAt: string;
|
|
422
|
-
deadline?: string | undefined;
|
|
423
|
-
}[];
|
|
424
|
-
closed: {
|
|
425
|
-
requestId: string;
|
|
426
|
-
senderRunId: string;
|
|
427
|
-
recipientRunId: string;
|
|
428
|
-
status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
|
|
429
|
-
observedAt: string;
|
|
430
|
-
}[];
|
|
431
|
-
}[];
|
|
432
|
-
};
|
|
433
|
-
outputFormat: "json";
|
|
434
|
-
status: 200;
|
|
435
|
-
input: {
|
|
436
|
-
query: {
|
|
437
|
-
project?: string | undefined;
|
|
438
|
-
};
|
|
439
|
-
};
|
|
440
|
-
};
|
|
441
|
-
};
|
|
442
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
443
|
-
"/health": {
|
|
444
|
-
$get: {
|
|
445
|
-
output: {
|
|
446
|
-
version: string;
|
|
447
|
-
latestVersion?: string | undefined;
|
|
448
|
-
repoRoot: string;
|
|
449
|
-
repo: {
|
|
450
|
-
root: string;
|
|
451
|
-
branch: string;
|
|
452
|
-
remote?: string | undefined;
|
|
453
|
-
} | null;
|
|
454
|
-
checks: {
|
|
455
|
-
name: string;
|
|
456
|
-
available: boolean;
|
|
457
|
-
version?: string;
|
|
458
|
-
hint?: string;
|
|
459
|
-
}[];
|
|
460
|
-
defaultRunner: string;
|
|
461
|
-
forge: {
|
|
462
|
-
available?: boolean | undefined;
|
|
463
|
-
reason?: string;
|
|
464
|
-
kind: "github";
|
|
465
|
-
} | null;
|
|
466
|
-
capabilities: {
|
|
467
|
-
localHandoff: boolean;
|
|
468
|
-
settingsAdmin: boolean;
|
|
469
|
-
remoteSettingsAdmin: boolean;
|
|
470
|
-
automations: boolean;
|
|
471
|
-
preview: boolean;
|
|
472
|
-
tokenMetrics: boolean;
|
|
473
|
-
tokenUsageMetrics: boolean;
|
|
474
|
-
costMetrics: boolean;
|
|
475
|
-
};
|
|
476
|
-
projects: {
|
|
477
|
-
id: string;
|
|
478
|
-
name: string;
|
|
479
|
-
}[];
|
|
480
|
-
bootProject: string;
|
|
481
|
-
};
|
|
482
|
-
outputFormat: "json";
|
|
483
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
484
|
-
input: {};
|
|
485
|
-
};
|
|
486
|
-
};
|
|
487
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
488
|
-
"/fs/browse": {
|
|
489
|
-
$get: {
|
|
490
|
-
output: {
|
|
491
|
-
error: string;
|
|
492
|
-
code?: "invalid_input" | undefined;
|
|
493
|
-
};
|
|
494
|
-
outputFormat: "json";
|
|
495
|
-
status: 400;
|
|
496
|
-
input: {
|
|
497
|
-
query: {
|
|
498
|
-
path?: string | undefined;
|
|
499
|
-
showHidden?: string | undefined;
|
|
500
|
-
};
|
|
501
|
-
};
|
|
502
|
-
} | {
|
|
503
|
-
output: {
|
|
504
|
-
error: string;
|
|
505
|
-
};
|
|
506
|
-
outputFormat: "json";
|
|
507
|
-
status: 400 | 403 | 404;
|
|
508
|
-
input: {
|
|
509
|
-
query: {
|
|
510
|
-
path?: string | undefined;
|
|
511
|
-
showHidden?: string | undefined;
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
|
-
} | {
|
|
515
|
-
output: {
|
|
516
|
-
path: string;
|
|
517
|
-
parent: string | null;
|
|
518
|
-
dirs: {
|
|
519
|
-
name: string;
|
|
520
|
-
path: string;
|
|
521
|
-
isRepo: boolean;
|
|
522
|
-
}[];
|
|
523
|
-
truncated: boolean;
|
|
524
|
-
};
|
|
525
|
-
outputFormat: "json";
|
|
526
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
527
|
-
input: {
|
|
528
|
-
query: {
|
|
529
|
-
path?: string | undefined;
|
|
530
|
-
showHidden?: string | undefined;
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
|
-
};
|
|
534
|
-
};
|
|
535
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
536
|
-
"/automation-checks/:checkId": {
|
|
537
|
-
$get: {
|
|
538
|
-
output: {
|
|
539
|
-
id: string;
|
|
540
|
-
automationId: string;
|
|
541
|
-
mode: 'preview' | 'execute';
|
|
542
|
-
status: 'queued' | 'running' | 'complete' | 'error';
|
|
543
|
-
createdAt: string;
|
|
544
|
-
completedAt?: string;
|
|
545
|
-
matches?: number;
|
|
546
|
-
truncated?: boolean;
|
|
547
|
-
error?: string;
|
|
548
|
-
};
|
|
549
|
-
outputFormat: "json";
|
|
550
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
551
|
-
input: {
|
|
552
|
-
param: {
|
|
553
|
-
checkId: string;
|
|
554
|
-
};
|
|
555
|
-
};
|
|
556
|
-
} | {
|
|
557
|
-
output: {
|
|
558
|
-
error: string;
|
|
559
|
-
};
|
|
560
|
-
outputFormat: "json";
|
|
561
|
-
status: 404;
|
|
562
|
-
input: {
|
|
563
|
-
param: {
|
|
564
|
-
checkId: string;
|
|
565
|
-
};
|
|
566
|
-
};
|
|
567
|
-
};
|
|
568
|
-
};
|
|
569
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
570
|
-
"/workspace/events": {
|
|
571
|
-
$get: {
|
|
572
|
-
output: {};
|
|
573
|
-
outputFormat: string;
|
|
574
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
575
|
-
input: {
|
|
576
|
-
query: {
|
|
577
|
-
runs?: "summary" | undefined;
|
|
578
|
-
};
|
|
579
|
-
};
|
|
580
|
-
} | {
|
|
581
|
-
output: {
|
|
582
|
-
error: string;
|
|
583
|
-
code?: "invalid_input" | undefined;
|
|
584
|
-
};
|
|
585
|
-
outputFormat: "json";
|
|
586
|
-
status: 400;
|
|
587
|
-
input: {
|
|
588
|
-
query: {
|
|
589
|
-
runs?: "summary" | undefined;
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
};
|
|
593
|
-
};
|
|
594
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
595
|
-
"/models": {
|
|
596
|
-
$get: {
|
|
597
|
-
output: {
|
|
598
|
-
error: string;
|
|
599
|
-
code?: "invalid_input" | undefined;
|
|
600
|
-
};
|
|
601
|
-
outputFormat: "json";
|
|
602
|
-
status: 400;
|
|
603
|
-
input: {
|
|
604
|
-
query: {
|
|
605
|
-
runner: string | string[];
|
|
606
|
-
profileId?: string | undefined;
|
|
607
|
-
};
|
|
608
|
-
};
|
|
609
|
-
} | {
|
|
610
|
-
output: {
|
|
611
|
-
runner: string;
|
|
612
|
-
models: {
|
|
613
|
-
id: string;
|
|
614
|
-
label: string;
|
|
615
|
-
description: string;
|
|
616
|
-
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
603
|
+
note?: string | undefined;
|
|
604
|
+
};
|
|
605
|
+
} | {
|
|
606
|
+
kind: "timer";
|
|
607
|
+
since: string;
|
|
608
|
+
deadline: string;
|
|
609
|
+
detail: {
|
|
610
|
+
wakeAt: string;
|
|
611
|
+
note?: string | undefined;
|
|
612
|
+
};
|
|
613
|
+
} | undefined;
|
|
614
|
+
tool?: {
|
|
615
|
+
title: string;
|
|
616
|
+
toolKind: "delete" | "edit" | "execute" | "fetch" | "move" | "other" | "plan" | "read" | "search" | "task" | "think";
|
|
617
|
+
status: "completed" | "declined" | "failed" | "pending" | "running";
|
|
618
|
+
startedAt: string;
|
|
619
|
+
endedAt?: string | undefined;
|
|
620
|
+
} | undefined;
|
|
621
|
+
rate: number[];
|
|
622
|
+
error?: string | undefined;
|
|
623
|
+
revision: number;
|
|
624
|
+
collected: boolean;
|
|
625
|
+
}[];
|
|
626
|
+
}[];
|
|
627
|
+
requests: {
|
|
628
|
+
requestId: string;
|
|
629
|
+
relationship: "family" | "peer";
|
|
630
|
+
senderRunId: string;
|
|
631
|
+
recipientRunId: string;
|
|
632
|
+
text: string;
|
|
633
|
+
senderTitle?: string | undefined;
|
|
634
|
+
recipientTitle?: string | undefined;
|
|
635
|
+
createdAt: string;
|
|
636
|
+
deadline?: string | undefined;
|
|
637
|
+
}[];
|
|
638
|
+
closed: {
|
|
639
|
+
requestId: string;
|
|
640
|
+
senderRunId: string;
|
|
641
|
+
recipientRunId: string;
|
|
642
|
+
status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
|
|
643
|
+
observedAt: string;
|
|
644
|
+
}[];
|
|
617
645
|
}[];
|
|
618
|
-
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
619
|
-
stale: boolean;
|
|
620
|
-
reason?: string;
|
|
621
|
-
};
|
|
622
|
-
outputFormat: "json";
|
|
623
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
624
|
-
input: {
|
|
625
|
-
query: {
|
|
626
|
-
runner: string | string[];
|
|
627
|
-
profileId?: string | undefined;
|
|
628
|
-
};
|
|
629
|
-
};
|
|
630
|
-
} | {
|
|
631
|
-
output: {
|
|
632
|
-
error: string;
|
|
633
|
-
};
|
|
634
|
-
outputFormat: "json";
|
|
635
|
-
status: 409;
|
|
636
|
-
input: {
|
|
637
|
-
query: {
|
|
638
|
-
runner: string | string[];
|
|
639
|
-
profileId?: string | undefined;
|
|
640
|
-
};
|
|
641
|
-
};
|
|
642
|
-
} | {
|
|
643
|
-
output: {
|
|
644
|
-
error: string;
|
|
645
646
|
};
|
|
646
647
|
outputFormat: "json";
|
|
647
|
-
status:
|
|
648
|
+
status: 200;
|
|
648
649
|
input: {
|
|
649
650
|
query: {
|
|
650
|
-
|
|
651
|
-
profileId?: string | undefined;
|
|
651
|
+
project?: string | undefined;
|
|
652
652
|
};
|
|
653
653
|
};
|
|
654
654
|
};
|
|
@@ -3406,6 +3406,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3406
3406
|
};
|
|
3407
3407
|
};
|
|
3408
3408
|
};
|
|
3409
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3410
|
+
"/reports/state": {
|
|
3411
|
+
$get: {
|
|
3412
|
+
output: {
|
|
3413
|
+
error: string;
|
|
3414
|
+
};
|
|
3415
|
+
outputFormat: "json";
|
|
3416
|
+
status: 409;
|
|
3417
|
+
input: {};
|
|
3418
|
+
} | {
|
|
3419
|
+
output: {
|
|
3420
|
+
epoch: string;
|
|
3421
|
+
generation: number;
|
|
3422
|
+
metadataGeneration: number;
|
|
3423
|
+
};
|
|
3424
|
+
outputFormat: "json";
|
|
3425
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3426
|
+
input: {};
|
|
3427
|
+
};
|
|
3428
|
+
};
|
|
3429
|
+
} & {
|
|
3430
|
+
"/reports": {
|
|
3431
|
+
$get: {
|
|
3432
|
+
output: {
|
|
3433
|
+
error: string;
|
|
3434
|
+
code?: "invalid_input" | undefined;
|
|
3435
|
+
};
|
|
3436
|
+
outputFormat: "json";
|
|
3437
|
+
status: 400;
|
|
3438
|
+
input: {
|
|
3439
|
+
query: {
|
|
3440
|
+
q?: string | undefined;
|
|
3441
|
+
before?: string | undefined;
|
|
3442
|
+
limit?: number | undefined;
|
|
3443
|
+
};
|
|
3444
|
+
};
|
|
3445
|
+
} | {
|
|
3446
|
+
output: {
|
|
3447
|
+
error: string;
|
|
3448
|
+
};
|
|
3449
|
+
outputFormat: "json";
|
|
3450
|
+
status: 409;
|
|
3451
|
+
input: {
|
|
3452
|
+
query: {
|
|
3453
|
+
q?: string | undefined;
|
|
3454
|
+
before?: string | undefined;
|
|
3455
|
+
limit?: number | undefined;
|
|
3456
|
+
};
|
|
3457
|
+
};
|
|
3458
|
+
} | {
|
|
3459
|
+
output: {
|
|
3460
|
+
error: string;
|
|
3461
|
+
};
|
|
3462
|
+
outputFormat: "json";
|
|
3463
|
+
status: 400;
|
|
3464
|
+
input: {
|
|
3465
|
+
query: {
|
|
3466
|
+
q?: string | undefined;
|
|
3467
|
+
before?: string | undefined;
|
|
3468
|
+
limit?: number | undefined;
|
|
3469
|
+
};
|
|
3470
|
+
};
|
|
3471
|
+
} | {
|
|
3472
|
+
output: {
|
|
3473
|
+
reports: {
|
|
3474
|
+
id: string;
|
|
3475
|
+
runId: string;
|
|
3476
|
+
name: string;
|
|
3477
|
+
title: string;
|
|
3478
|
+
createdAt: string;
|
|
3479
|
+
size: number;
|
|
3480
|
+
taskTitle: string;
|
|
3481
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3482
|
+
}[];
|
|
3483
|
+
nextCursor: string | null;
|
|
3484
|
+
total: number;
|
|
3485
|
+
};
|
|
3486
|
+
outputFormat: "json";
|
|
3487
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3488
|
+
input: {
|
|
3489
|
+
query: {
|
|
3490
|
+
q?: string | undefined;
|
|
3491
|
+
before?: string | undefined;
|
|
3492
|
+
limit?: number | undefined;
|
|
3493
|
+
};
|
|
3494
|
+
};
|
|
3495
|
+
};
|
|
3496
|
+
};
|
|
3409
3497
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3410
3498
|
"/ui-state": {
|
|
3411
3499
|
$get: {
|
|
@@ -3814,100 +3902,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3814
3902
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3815
3903
|
"/agent-webhooks": {
|
|
3816
3904
|
$get: {
|
|
3817
|
-
output: {
|
|
3818
|
-
webhooks: {
|
|
3819
|
-
id: string;
|
|
3820
|
-
name: string;
|
|
3821
|
-
description?: string | undefined;
|
|
3822
|
-
}[];
|
|
3823
|
-
};
|
|
3824
|
-
outputFormat: "json";
|
|
3825
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3826
|
-
input: {};
|
|
3827
|
-
};
|
|
3828
|
-
};
|
|
3829
|
-
} & {
|
|
3830
|
-
"/agent-webhooks/:webhook": {
|
|
3831
|
-
$post: {
|
|
3832
|
-
output: {
|
|
3833
|
-
error: string;
|
|
3834
|
-
code?: "invalid_input" | undefined;
|
|
3835
|
-
};
|
|
3836
|
-
outputFormat: "json";
|
|
3837
|
-
status: 400;
|
|
3838
|
-
input: {
|
|
3839
|
-
param: {
|
|
3840
|
-
webhook: string;
|
|
3841
|
-
};
|
|
3842
|
-
} & {
|
|
3843
|
-
json: {
|
|
3844
|
-
runId?: string | undefined;
|
|
3845
|
-
title?: string | undefined;
|
|
3846
|
-
message: string;
|
|
3847
|
-
data?: Record<string, unknown> | undefined;
|
|
3848
|
-
};
|
|
3849
|
-
};
|
|
3850
|
-
} | {
|
|
3851
|
-
output: {
|
|
3852
|
-
error: string;
|
|
3853
|
-
};
|
|
3854
|
-
outputFormat: "json";
|
|
3855
|
-
status: 404;
|
|
3856
|
-
input: {
|
|
3857
|
-
param: {
|
|
3858
|
-
webhook: string;
|
|
3859
|
-
};
|
|
3860
|
-
} & {
|
|
3861
|
-
json: {
|
|
3862
|
-
runId?: string | undefined;
|
|
3863
|
-
title?: string | undefined;
|
|
3864
|
-
message: string;
|
|
3865
|
-
data?: Record<string, unknown> | undefined;
|
|
3866
|
-
};
|
|
3867
|
-
};
|
|
3868
|
-
} | {
|
|
3869
|
-
output: {
|
|
3870
|
-
ok: boolean;
|
|
3871
|
-
webhook: {
|
|
3872
|
-
id: string;
|
|
3873
|
-
name: string;
|
|
3874
|
-
};
|
|
3875
|
-
deliveryId: string;
|
|
3876
|
-
attempts: number;
|
|
3877
|
-
status?: number | undefined;
|
|
3878
|
-
error?: string | undefined;
|
|
3879
|
-
dryRun?: boolean | undefined;
|
|
3880
|
-
};
|
|
3881
|
-
outputFormat: "json";
|
|
3882
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3883
|
-
input: {
|
|
3884
|
-
param: {
|
|
3885
|
-
webhook: string;
|
|
3886
|
-
};
|
|
3887
|
-
} & {
|
|
3888
|
-
json: {
|
|
3889
|
-
runId?: string | undefined;
|
|
3890
|
-
title?: string | undefined;
|
|
3891
|
-
message: string;
|
|
3892
|
-
data?: Record<string, unknown> | undefined;
|
|
3893
|
-
};
|
|
3894
|
-
};
|
|
3895
|
-
};
|
|
3896
|
-
};
|
|
3897
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3898
|
-
"/reports/state": {
|
|
3899
|
-
$get: {
|
|
3900
|
-
output: {
|
|
3901
|
-
error: string;
|
|
3902
|
-
};
|
|
3903
|
-
outputFormat: "json";
|
|
3904
|
-
status: 409;
|
|
3905
|
-
input: {};
|
|
3906
|
-
} | {
|
|
3907
|
-
output: {
|
|
3908
|
-
epoch: string;
|
|
3909
|
-
generation: number;
|
|
3910
|
-
metadataGeneration: number;
|
|
3905
|
+
output: {
|
|
3906
|
+
webhooks: {
|
|
3907
|
+
id: string;
|
|
3908
|
+
name: string;
|
|
3909
|
+
description?: string | undefined;
|
|
3910
|
+
}[];
|
|
3911
3911
|
};
|
|
3912
3912
|
outputFormat: "json";
|
|
3913
3913
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -3915,8 +3915,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3915
3915
|
};
|
|
3916
3916
|
};
|
|
3917
3917
|
} & {
|
|
3918
|
-
"/
|
|
3919
|
-
$
|
|
3918
|
+
"/agent-webhooks/:webhook": {
|
|
3919
|
+
$post: {
|
|
3920
3920
|
output: {
|
|
3921
3921
|
error: string;
|
|
3922
3922
|
code?: "invalid_input" | undefined;
|
|
@@ -3924,23 +3924,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3924
3924
|
outputFormat: "json";
|
|
3925
3925
|
status: 400;
|
|
3926
3926
|
input: {
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
before?: string | undefined;
|
|
3930
|
-
limit?: number | undefined;
|
|
3927
|
+
param: {
|
|
3928
|
+
webhook: string;
|
|
3931
3929
|
};
|
|
3932
|
-
}
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
status: 409;
|
|
3939
|
-
input: {
|
|
3940
|
-
query: {
|
|
3941
|
-
q?: string | undefined;
|
|
3942
|
-
before?: string | undefined;
|
|
3943
|
-
limit?: number | undefined;
|
|
3930
|
+
} & {
|
|
3931
|
+
json: {
|
|
3932
|
+
runId?: string | undefined;
|
|
3933
|
+
title?: string | undefined;
|
|
3934
|
+
message: string;
|
|
3935
|
+
data?: Record<string, unknown> | undefined;
|
|
3944
3936
|
};
|
|
3945
3937
|
};
|
|
3946
3938
|
} | {
|
|
@@ -3948,36 +3940,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3948
3940
|
error: string;
|
|
3949
3941
|
};
|
|
3950
3942
|
outputFormat: "json";
|
|
3951
|
-
status:
|
|
3943
|
+
status: 404;
|
|
3952
3944
|
input: {
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3945
|
+
param: {
|
|
3946
|
+
webhook: string;
|
|
3947
|
+
};
|
|
3948
|
+
} & {
|
|
3949
|
+
json: {
|
|
3950
|
+
runId?: string | undefined;
|
|
3951
|
+
title?: string | undefined;
|
|
3952
|
+
message: string;
|
|
3953
|
+
data?: Record<string, unknown> | undefined;
|
|
3957
3954
|
};
|
|
3958
3955
|
};
|
|
3959
3956
|
} | {
|
|
3960
3957
|
output: {
|
|
3961
|
-
|
|
3958
|
+
ok: boolean;
|
|
3959
|
+
webhook: {
|
|
3962
3960
|
id: string;
|
|
3963
|
-
runId: string;
|
|
3964
3961
|
name: string;
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
nextCursor: string | null;
|
|
3972
|
-
total: number;
|
|
3962
|
+
};
|
|
3963
|
+
deliveryId: string;
|
|
3964
|
+
attempts: number;
|
|
3965
|
+
status?: number | undefined;
|
|
3966
|
+
error?: string | undefined;
|
|
3967
|
+
dryRun?: boolean | undefined;
|
|
3973
3968
|
};
|
|
3974
3969
|
outputFormat: "json";
|
|
3975
3970
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3976
3971
|
input: {
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3972
|
+
param: {
|
|
3973
|
+
webhook: string;
|
|
3974
|
+
};
|
|
3975
|
+
} & {
|
|
3976
|
+
json: {
|
|
3977
|
+
runId?: string | undefined;
|
|
3978
|
+
title?: string | undefined;
|
|
3979
|
+
message: string;
|
|
3980
|
+
data?: Record<string, unknown> | undefined;
|
|
3981
3981
|
};
|
|
3982
3982
|
};
|
|
3983
3983
|
};
|
|
@@ -19365,6 +19365,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19365
19365
|
};
|
|
19366
19366
|
};
|
|
19367
19367
|
};
|
|
19368
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19369
|
+
"/reports/state": {
|
|
19370
|
+
$get: {
|
|
19371
|
+
output: {
|
|
19372
|
+
error: string;
|
|
19373
|
+
};
|
|
19374
|
+
outputFormat: "json";
|
|
19375
|
+
status: 409;
|
|
19376
|
+
input: {};
|
|
19377
|
+
} | {
|
|
19378
|
+
output: {
|
|
19379
|
+
epoch: string;
|
|
19380
|
+
generation: number;
|
|
19381
|
+
metadataGeneration: number;
|
|
19382
|
+
};
|
|
19383
|
+
outputFormat: "json";
|
|
19384
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19385
|
+
input: {};
|
|
19386
|
+
};
|
|
19387
|
+
};
|
|
19388
|
+
} & {
|
|
19389
|
+
"/reports": {
|
|
19390
|
+
$get: {
|
|
19391
|
+
output: {
|
|
19392
|
+
error: string;
|
|
19393
|
+
code?: "invalid_input" | undefined;
|
|
19394
|
+
};
|
|
19395
|
+
outputFormat: "json";
|
|
19396
|
+
status: 400;
|
|
19397
|
+
input: {
|
|
19398
|
+
query: {
|
|
19399
|
+
q?: string | undefined;
|
|
19400
|
+
before?: string | undefined;
|
|
19401
|
+
limit?: number | undefined;
|
|
19402
|
+
};
|
|
19403
|
+
};
|
|
19404
|
+
} | {
|
|
19405
|
+
output: {
|
|
19406
|
+
error: string;
|
|
19407
|
+
};
|
|
19408
|
+
outputFormat: "json";
|
|
19409
|
+
status: 409;
|
|
19410
|
+
input: {
|
|
19411
|
+
query: {
|
|
19412
|
+
q?: string | undefined;
|
|
19413
|
+
before?: string | undefined;
|
|
19414
|
+
limit?: number | undefined;
|
|
19415
|
+
};
|
|
19416
|
+
};
|
|
19417
|
+
} | {
|
|
19418
|
+
output: {
|
|
19419
|
+
error: string;
|
|
19420
|
+
};
|
|
19421
|
+
outputFormat: "json";
|
|
19422
|
+
status: 400;
|
|
19423
|
+
input: {
|
|
19424
|
+
query: {
|
|
19425
|
+
q?: string | undefined;
|
|
19426
|
+
before?: string | undefined;
|
|
19427
|
+
limit?: number | undefined;
|
|
19428
|
+
};
|
|
19429
|
+
};
|
|
19430
|
+
} | {
|
|
19431
|
+
output: {
|
|
19432
|
+
reports: {
|
|
19433
|
+
id: string;
|
|
19434
|
+
runId: string;
|
|
19435
|
+
name: string;
|
|
19436
|
+
title: string;
|
|
19437
|
+
createdAt: string;
|
|
19438
|
+
size: number;
|
|
19439
|
+
taskTitle: string;
|
|
19440
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
19441
|
+
}[];
|
|
19442
|
+
nextCursor: string | null;
|
|
19443
|
+
total: number;
|
|
19444
|
+
};
|
|
19445
|
+
outputFormat: "json";
|
|
19446
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19447
|
+
input: {
|
|
19448
|
+
query: {
|
|
19449
|
+
q?: string | undefined;
|
|
19450
|
+
before?: string | undefined;
|
|
19451
|
+
limit?: number | undefined;
|
|
19452
|
+
};
|
|
19453
|
+
};
|
|
19454
|
+
};
|
|
19455
|
+
};
|
|
19368
19456
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19369
19457
|
"/ui-state": {
|
|
19370
19458
|
$get: {
|
|
@@ -19853,94 +19941,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19853
19941
|
};
|
|
19854
19942
|
};
|
|
19855
19943
|
};
|
|
19856
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19857
|
-
"/reports/state": {
|
|
19858
|
-
$get: {
|
|
19859
|
-
output: {
|
|
19860
|
-
error: string;
|
|
19861
|
-
};
|
|
19862
|
-
outputFormat: "json";
|
|
19863
|
-
status: 409;
|
|
19864
|
-
input: {};
|
|
19865
|
-
} | {
|
|
19866
|
-
output: {
|
|
19867
|
-
epoch: string;
|
|
19868
|
-
generation: number;
|
|
19869
|
-
metadataGeneration: number;
|
|
19870
|
-
};
|
|
19871
|
-
outputFormat: "json";
|
|
19872
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19873
|
-
input: {};
|
|
19874
|
-
};
|
|
19875
|
-
};
|
|
19876
|
-
} & {
|
|
19877
|
-
"/reports": {
|
|
19878
|
-
$get: {
|
|
19879
|
-
output: {
|
|
19880
|
-
error: string;
|
|
19881
|
-
code?: "invalid_input" | undefined;
|
|
19882
|
-
};
|
|
19883
|
-
outputFormat: "json";
|
|
19884
|
-
status: 400;
|
|
19885
|
-
input: {
|
|
19886
|
-
query: {
|
|
19887
|
-
q?: string | undefined;
|
|
19888
|
-
before?: string | undefined;
|
|
19889
|
-
limit?: number | undefined;
|
|
19890
|
-
};
|
|
19891
|
-
};
|
|
19892
|
-
} | {
|
|
19893
|
-
output: {
|
|
19894
|
-
error: string;
|
|
19895
|
-
};
|
|
19896
|
-
outputFormat: "json";
|
|
19897
|
-
status: 409;
|
|
19898
|
-
input: {
|
|
19899
|
-
query: {
|
|
19900
|
-
q?: string | undefined;
|
|
19901
|
-
before?: string | undefined;
|
|
19902
|
-
limit?: number | undefined;
|
|
19903
|
-
};
|
|
19904
|
-
};
|
|
19905
|
-
} | {
|
|
19906
|
-
output: {
|
|
19907
|
-
error: string;
|
|
19908
|
-
};
|
|
19909
|
-
outputFormat: "json";
|
|
19910
|
-
status: 400;
|
|
19911
|
-
input: {
|
|
19912
|
-
query: {
|
|
19913
|
-
q?: string | undefined;
|
|
19914
|
-
before?: string | undefined;
|
|
19915
|
-
limit?: number | undefined;
|
|
19916
|
-
};
|
|
19917
|
-
};
|
|
19918
|
-
} | {
|
|
19919
|
-
output: {
|
|
19920
|
-
reports: {
|
|
19921
|
-
id: string;
|
|
19922
|
-
runId: string;
|
|
19923
|
-
name: string;
|
|
19924
|
-
title: string;
|
|
19925
|
-
createdAt: string;
|
|
19926
|
-
size: number;
|
|
19927
|
-
taskTitle: string;
|
|
19928
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
19929
|
-
}[];
|
|
19930
|
-
nextCursor: string | null;
|
|
19931
|
-
total: number;
|
|
19932
|
-
};
|
|
19933
|
-
outputFormat: "json";
|
|
19934
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19935
|
-
input: {
|
|
19936
|
-
query: {
|
|
19937
|
-
q?: string | undefined;
|
|
19938
|
-
before?: string | undefined;
|
|
19939
|
-
limit?: number | undefined;
|
|
19940
|
-
};
|
|
19941
|
-
};
|
|
19942
|
-
};
|
|
19943
|
-
};
|
|
19944
19944
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19945
19945
|
"/worktrees": {
|
|
19946
19946
|
$get: {
|