@hearsay-tools/squawk 0.18.0-dev.7303 → 0.18.0-dev.7310

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.
Files changed (101) hide show
  1. package/dist/ci-wait/controller.d.ts +42 -42
  2. package/dist/ci-wait/supervisor.d.ts +2 -1
  3. package/dist/ci-wait/supervisor.js +10 -3
  4. package/dist/ci-wait/supervisor.js.map +1 -1
  5. package/dist/ci-wait/tools.d.ts +4 -4
  6. package/dist/contract/agent-profiles.d.ts +3 -85
  7. package/dist/contract/index.js +9 -56
  8. package/dist/contract/provider-requests.d.ts +1 -6
  9. package/dist/contract/run-requests.d.ts +0 -1
  10. package/dist/core/agent-profiles.d.ts +7 -43
  11. package/dist/core/agent-profiles.js +15 -70
  12. package/dist/core/agent-profiles.js.map +1 -1
  13. package/dist/delegation/execution-identity.d.ts +1 -1
  14. package/dist/delegation/execution-identity.js +5 -30
  15. package/dist/delegation/execution-identity.js.map +1 -1
  16. package/dist/delegation/transport.d.ts +62 -62
  17. package/dist/home/legacy-account-paths.js +0 -4
  18. package/dist/home/legacy-account-paths.js.map +1 -1
  19. package/dist/home/migration-accounts.d.ts +0 -2
  20. package/dist/home/migration-accounts.js +1 -11
  21. package/dist/home/migration-accounts.js.map +1 -1
  22. package/dist/home/migration-plan.js +4 -5
  23. package/dist/home/migration-plan.js.map +1 -1
  24. package/dist/paths.d.ts +0 -6
  25. package/dist/paths.js +8 -8
  26. package/dist/paths.js.map +1 -1
  27. package/dist/planner.js +1 -3
  28. package/dist/planner.js.map +1 -1
  29. package/dist/server/activity-routes.d.ts +23 -23
  30. package/dist/server/open-in-targets.js +3 -7
  31. package/dist/server/open-in-targets.js.map +1 -1
  32. package/dist/server/server.d.ts +463 -727
  33. package/dist/server/server.js +22 -165
  34. package/dist/server/server.js.map +1 -1
  35. package/dist/workflows/continuation-admission.d.ts +1 -13
  36. package/dist/workflows/continuation-admission.js +4 -6
  37. package/dist/workflows/continuation-admission.js.map +1 -1
  38. package/dist/workflows/run/session-events.d.ts +1 -2
  39. package/dist/workflows/run/session-events.js +2 -4
  40. package/dist/workflows/run/session-events.js.map +1 -1
  41. package/dist/workspace/agent-accounts.d.ts +2 -15
  42. package/dist/workspace/agent-accounts.js +63 -35
  43. package/dist/workspace/agent-accounts.js.map +1 -1
  44. package/dist/workspace/agent-profiles.d.ts +2 -36
  45. package/dist/workspace/agent-profiles.js +4 -72
  46. package/dist/workspace/agent-profiles.js.map +1 -1
  47. package/package.json +4 -4
  48. package/web/dist/assets/{activity-motion-DUCV5L0w.js → activity-motion-YMvJpfC8.js} +2 -2
  49. package/web/dist/assets/{activity-route-DhR7Phxz.js → activity-route-C3nuQQR-.js} +1 -1
  50. package/web/dist/assets/{agent-accounts-Ck78cTaG.js → agent-accounts-C1IZE0uf.js} +1 -1
  51. package/web/dist/assets/attention-SAsrxB3a.js +1 -0
  52. package/web/dist/assets/{commit-diff-panel-DROIgIvc.js → commit-diff-panel-B78xqBBB.js} +1 -1
  53. package/web/dist/assets/{diff-DpxnwWWi.js → diff-CuoNLz3Q.js} +2 -2
  54. package/web/dist/assets/{diff-view-CT2koEmZ.js → diff-view-Dxt-xGXY.js} +1 -1
  55. package/web/dist/assets/{file-preview-DoN49plc.js → file-preview-D6fgR7rc.js} +1 -1
  56. package/web/dist/assets/{git-toolbar-BK3rzi1x.js → git-toolbar-B4gNpVK8.js} +1 -1
  57. package/web/dist/assets/github-D4IdDmEF.js +1 -0
  58. package/web/dist/assets/{global-activity-route-S7yzZmEr.js → global-activity-route-BQW6XCBZ.js} +1 -1
  59. package/web/dist/assets/index-CZSDjjxd.js +14 -0
  60. package/web/dist/assets/index-D6Jjh8b7.css +1 -0
  61. package/web/dist/assets/{markdown-B0anEsMd.js → markdown-CFpzsarc.js} +1 -1
  62. package/web/dist/assets/picker-pill-AQuDoa6t.js +15 -0
  63. package/web/dist/assets/{preview-pane-connected-BzekXFjg.js → preview-pane-connected-Divki4iS.js} +2 -2
  64. package/web/dist/assets/{project-router-BKoMKwmx.js → project-router-CuXiyyHq.js} +1 -1
  65. package/web/dist/assets/{project-scope-context-Cb2B_LxQ.js → project-scope-context-TjMvUo_E.js} +1 -1
  66. package/web/dist/assets/{prompt-template-menu-BBSaimz3.js → prompt-template-menu-DttDghYr.js} +1 -1
  67. package/web/dist/assets/queries-M7QM2Z_B.js +1 -0
  68. package/web/dist/assets/{reference-chip-AYFrAylA.js → reference-chip-C2uR5keT.js} +1 -1
  69. package/web/dist/assets/{repo-git-B7ZeLEvR.js → repo-git-Dl6O3hGA.js} +1 -1
  70. package/web/dist/assets/{report-reader-D3ClRGaS.js → report-reader-MmUDUBB6.js} +1 -1
  71. package/web/dist/assets/{reports-DY-sN7ya.js → reports-D5N5f1oD.js} +1 -1
  72. package/web/dist/assets/run-header-CWSg_ZYo.js +2 -0
  73. package/web/dist/assets/{skills-CvgUI4o3.js → skills-UhbdEQES.js} +1 -1
  74. package/web/dist/assets/{tab-link-CekOt2NF.js → tab-link-Bz7Tn_PW.js} +1 -1
  75. package/web/dist/assets/{task-changes-DI7U63bx.js → task-changes-Ciq3wQdC.js} +1 -1
  76. package/web/dist/assets/{task-commits-BHb8bDAK.js → task-commits-BYZEw7j8.js} +1 -1
  77. package/web/dist/assets/{task-files-C_JvFlH3.js → task-files-zvZu7yvk.js} +1 -1
  78. package/web/dist/assets/task-github-item-BYzml2gD.js +1 -0
  79. package/web/dist/assets/{task-thread-BcgJ2CLQ.js → task-thread-DSdn2fYx.js} +7 -7
  80. package/web/dist/assets/{thread-state-AfNliBC6.js → thread-state-BU_1o8aR.js} +1 -1
  81. package/web/dist/assets/{use-desktop-tg8hhNdq.js → use-desktop-Dc0-ZSdE.js} +1 -1
  82. package/web/dist/assets/use-hand-to-agent-state-C8jp_mTB.js +1 -0
  83. package/web/dist/assets/{useInfiniteQuery-De6BP_4x.js → useInfiniteQuery-BzvShKMo.js} +1 -1
  84. package/web/dist/assets/useQuery-BJvp3XYr.js +1 -0
  85. package/web/dist/assets/{workflows-C-sOpa7G.js → workflows-BdBF5bnk.js} +2 -2
  86. package/web/dist/assets/ws-BQRkvdhO.js +1 -0
  87. package/web/dist/index.html +14 -14
  88. package/dist/agent-config/account-identity.d.ts +0 -28
  89. package/dist/agent-config/account-identity.js +0 -132
  90. package/dist/agent-config/account-identity.js.map +0 -1
  91. package/web/dist/assets/attention-DLIMAzlf.js +0 -1
  92. package/web/dist/assets/github-C3NKXyls.js +0 -1
  93. package/web/dist/assets/index-BRcS2Xvy.css +0 -1
  94. package/web/dist/assets/index-DgjX4EGJ.js +0 -14
  95. package/web/dist/assets/picker-pill-Bd3Q9PFA.js +0 -15
  96. package/web/dist/assets/queries-Bb9GjWMQ.js +0 -1
  97. package/web/dist/assets/run-header-B2aqbtt8.js +0 -2
  98. package/web/dist/assets/task-github-item-Da601f-w.js +0 -1
  99. package/web/dist/assets/use-hand-to-agent-state-CFQoeO76.js +0 -1
  100. package/web/dist/assets/useQuery-BsOmvrd_.js +0 -1
  101. package/web/dist/assets/ws-2N3miuuZ.js +0 -1
@@ -115,8 +115,8 @@ export interface ServerDeps extends ActivityServerDeps {
115
115
  providerRuntimeAuth?: ProviderRuntimeAuthObserver;
116
116
  /** Local terminal handoff for provider-owned login. */
117
117
  openTerminal?: typeof openInTerminal | undefined;
118
- /** Hand a local FILE (or folder) to the OS default app. Injected so the account-file open route
119
- * is testable without actually launching an editor. */
118
+ /** Hand a local FILE (or folder) to the OS default app. Injected so the open routes are
119
+ * testable without actually launching an editor. */
120
120
  openFile?: typeof openFileInDefaultApp;
121
121
  /** Hand a folder to a detected app by target id — editor, file manager, or `terminal`, which
122
122
  * reaches `openInTerminal`. Injected for the same reason as the two above: a test that reaches
@@ -183,194 +183,6 @@ export declare class WorkspaceEventBus {
183
183
  on(listener: (event: WorkspaceEventName, data: unknown) => void): () => void;
184
184
  }
185
185
  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<{
186
- "/health": {
187
- $get: {
188
- output: {
189
- version: string;
190
- latestVersion?: string | undefined;
191
- repoRoot: string;
192
- repo: {
193
- root: string;
194
- branch: string;
195
- remote?: string | undefined;
196
- } | null;
197
- checks: {
198
- name: import("../core/agent-runner.ts").RunnerId | 'gh' | 'git';
199
- available: boolean;
200
- version?: string;
201
- hint?: string;
202
- }[];
203
- defaultRunner: "claude" | "codex" | "omp" | "opencode" | "pi";
204
- forge: {
205
- available?: boolean | undefined;
206
- reason?: string;
207
- kind: "github";
208
- } | null;
209
- capabilities: {
210
- localHandoff: boolean;
211
- settingsAdmin: boolean;
212
- remoteSettingsAdmin: boolean;
213
- automations: boolean;
214
- preview: boolean;
215
- tokenMetrics: boolean;
216
- tokenUsageMetrics: boolean;
217
- costMetrics: boolean;
218
- };
219
- projects: {
220
- id: string;
221
- name: string;
222
- }[];
223
- bootProject: string;
224
- };
225
- outputFormat: "json";
226
- status: import("hono/utils/http-status").ContentfulStatusCode;
227
- input: {};
228
- };
229
- };
230
- }, "/"> | import("hono/types").MergeSchemaPath<{
231
- "/models": {
232
- $get: {
233
- output: {
234
- error: string;
235
- code?: "invalid_input" | undefined;
236
- };
237
- outputFormat: "json";
238
- status: 400;
239
- input: {
240
- query: {
241
- runner: "claude" | "codex" | "omp" | "opencode" | "pi";
242
- };
243
- };
244
- } | {
245
- output: {
246
- runner: import("../core/agent-runner.ts").RunnerId;
247
- models: {
248
- id: string;
249
- label: string;
250
- description: string;
251
- effortLevels?: import('../contract/index.js').EffortLevel[];
252
- }[];
253
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
254
- stale: boolean;
255
- reason?: string;
256
- };
257
- outputFormat: "json";
258
- status: import("hono/utils/http-status").ContentfulStatusCode;
259
- input: {
260
- query: {
261
- runner: "claude" | "codex" | "omp" | "opencode" | "pi";
262
- };
263
- };
264
- };
265
- };
266
- }, "/"> | import("hono/types").MergeSchemaPath<{
267
- "/fs/browse": {
268
- $get: {
269
- output: {
270
- error: string;
271
- code?: "invalid_input" | undefined;
272
- };
273
- outputFormat: "json";
274
- status: 400;
275
- input: {
276
- query: {
277
- path?: string | undefined;
278
- showHidden?: string | undefined;
279
- };
280
- };
281
- } | {
282
- output: {
283
- error: string;
284
- };
285
- outputFormat: "json";
286
- status: 400 | 403 | 404;
287
- input: {
288
- query: {
289
- path?: string | undefined;
290
- showHidden?: string | undefined;
291
- };
292
- };
293
- } | {
294
- output: {
295
- path: string;
296
- parent: string | null;
297
- dirs: {
298
- name: string;
299
- path: string;
300
- isRepo: boolean;
301
- }[];
302
- truncated: boolean;
303
- };
304
- outputFormat: "json";
305
- status: import("hono/utils/http-status").ContentfulStatusCode;
306
- input: {
307
- query: {
308
- path?: string | undefined;
309
- showHidden?: string | undefined;
310
- };
311
- };
312
- };
313
- };
314
- }, "/"> | import("hono/types").MergeSchemaPath<{
315
- "/automation-checks/:checkId": {
316
- $get: {
317
- output: {
318
- id: string;
319
- automationId: string;
320
- mode: 'preview' | 'execute';
321
- status: 'queued' | 'running' | 'complete' | 'error';
322
- createdAt: string;
323
- completedAt?: string;
324
- matches?: number;
325
- truncated?: boolean;
326
- error?: string;
327
- };
328
- outputFormat: "json";
329
- status: import("hono/utils/http-status").ContentfulStatusCode;
330
- input: {
331
- param: {
332
- checkId: string;
333
- };
334
- };
335
- } | {
336
- output: {
337
- error: string;
338
- };
339
- outputFormat: "json";
340
- status: 404;
341
- input: {
342
- param: {
343
- checkId: string;
344
- };
345
- };
346
- };
347
- };
348
- }, "/"> | import("hono/types").MergeSchemaPath<{
349
- "/workspace/events": {
350
- $get: {
351
- output: {};
352
- outputFormat: string;
353
- status: import("hono/utils/http-status").StatusCode;
354
- input: {
355
- query: {
356
- runs?: "summary" | undefined;
357
- };
358
- };
359
- } | {
360
- output: {
361
- error: string;
362
- code?: "invalid_input" | undefined;
363
- };
364
- outputFormat: "json";
365
- status: 400;
366
- input: {
367
- query: {
368
- runs?: "summary" | undefined;
369
- };
370
- };
371
- };
372
- };
373
- }, "/"> | import("hono/types").MergeSchemaPath<{
374
186
  "/workspace/activity": {
375
187
  $get: {
376
188
  output: {
@@ -628,6 +440,194 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
628
440
  };
629
441
  };
630
442
  };
443
+ }, "/"> | import("hono/types").MergeSchemaPath<{
444
+ "/health": {
445
+ $get: {
446
+ output: {
447
+ version: string;
448
+ latestVersion?: string | undefined;
449
+ repoRoot: string;
450
+ repo: {
451
+ root: string;
452
+ branch: string;
453
+ remote?: string | undefined;
454
+ } | null;
455
+ checks: {
456
+ name: import("../core/agent-runner.ts").RunnerId | 'gh' | 'git';
457
+ available: boolean;
458
+ version?: string;
459
+ hint?: string;
460
+ }[];
461
+ defaultRunner: "claude" | "codex" | "omp" | "opencode" | "pi";
462
+ forge: {
463
+ available?: boolean | undefined;
464
+ reason?: string;
465
+ kind: "github";
466
+ } | null;
467
+ capabilities: {
468
+ localHandoff: boolean;
469
+ settingsAdmin: boolean;
470
+ remoteSettingsAdmin: boolean;
471
+ automations: boolean;
472
+ preview: boolean;
473
+ tokenMetrics: boolean;
474
+ tokenUsageMetrics: boolean;
475
+ costMetrics: boolean;
476
+ };
477
+ projects: {
478
+ id: string;
479
+ name: string;
480
+ }[];
481
+ bootProject: string;
482
+ };
483
+ outputFormat: "json";
484
+ status: import("hono/utils/http-status").ContentfulStatusCode;
485
+ input: {};
486
+ };
487
+ };
488
+ }, "/"> | import("hono/types").MergeSchemaPath<{
489
+ "/models": {
490
+ $get: {
491
+ output: {
492
+ error: string;
493
+ code?: "invalid_input" | undefined;
494
+ };
495
+ outputFormat: "json";
496
+ status: 400;
497
+ input: {
498
+ query: {
499
+ runner: "claude" | "codex" | "omp" | "opencode" | "pi";
500
+ };
501
+ };
502
+ } | {
503
+ output: {
504
+ runner: import("../core/agent-runner.ts").RunnerId;
505
+ models: {
506
+ id: string;
507
+ label: string;
508
+ description: string;
509
+ effortLevels?: import('../contract/index.js').EffortLevel[];
510
+ }[];
511
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
512
+ stale: boolean;
513
+ reason?: string;
514
+ };
515
+ outputFormat: "json";
516
+ status: import("hono/utils/http-status").ContentfulStatusCode;
517
+ input: {
518
+ query: {
519
+ runner: "claude" | "codex" | "omp" | "opencode" | "pi";
520
+ };
521
+ };
522
+ };
523
+ };
524
+ }, "/"> | import("hono/types").MergeSchemaPath<{
525
+ "/fs/browse": {
526
+ $get: {
527
+ output: {
528
+ error: string;
529
+ code?: "invalid_input" | undefined;
530
+ };
531
+ outputFormat: "json";
532
+ status: 400;
533
+ input: {
534
+ query: {
535
+ path?: string | undefined;
536
+ showHidden?: string | undefined;
537
+ };
538
+ };
539
+ } | {
540
+ output: {
541
+ error: string;
542
+ };
543
+ outputFormat: "json";
544
+ status: 400 | 403 | 404;
545
+ input: {
546
+ query: {
547
+ path?: string | undefined;
548
+ showHidden?: string | undefined;
549
+ };
550
+ };
551
+ } | {
552
+ output: {
553
+ path: string;
554
+ parent: string | null;
555
+ dirs: {
556
+ name: string;
557
+ path: string;
558
+ isRepo: boolean;
559
+ }[];
560
+ truncated: boolean;
561
+ };
562
+ outputFormat: "json";
563
+ status: import("hono/utils/http-status").ContentfulStatusCode;
564
+ input: {
565
+ query: {
566
+ path?: string | undefined;
567
+ showHidden?: string | undefined;
568
+ };
569
+ };
570
+ };
571
+ };
572
+ }, "/"> | import("hono/types").MergeSchemaPath<{
573
+ "/automation-checks/:checkId": {
574
+ $get: {
575
+ output: {
576
+ id: string;
577
+ automationId: string;
578
+ mode: 'preview' | 'execute';
579
+ status: 'queued' | 'running' | 'complete' | 'error';
580
+ createdAt: string;
581
+ completedAt?: string;
582
+ matches?: number;
583
+ truncated?: boolean;
584
+ error?: string;
585
+ };
586
+ outputFormat: "json";
587
+ status: import("hono/utils/http-status").ContentfulStatusCode;
588
+ input: {
589
+ param: {
590
+ checkId: string;
591
+ };
592
+ };
593
+ } | {
594
+ output: {
595
+ error: string;
596
+ };
597
+ outputFormat: "json";
598
+ status: 404;
599
+ input: {
600
+ param: {
601
+ checkId: string;
602
+ };
603
+ };
604
+ };
605
+ };
606
+ }, "/"> | import("hono/types").MergeSchemaPath<{
607
+ "/workspace/events": {
608
+ $get: {
609
+ output: {};
610
+ outputFormat: string;
611
+ status: import("hono/utils/http-status").StatusCode;
612
+ input: {
613
+ query: {
614
+ runs?: "summary" | undefined;
615
+ };
616
+ };
617
+ } | {
618
+ output: {
619
+ error: string;
620
+ code?: "invalid_input" | undefined;
621
+ };
622
+ outputFormat: "json";
623
+ status: 400;
624
+ input: {
625
+ query: {
626
+ runs?: "summary" | undefined;
627
+ };
628
+ };
629
+ };
630
+ };
631
631
  }, "/"> | import("hono/types").MergeSchemaPath<{
632
632
  "/workspace/runs-index": {
633
633
  $get: {
@@ -1505,12 +1505,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1505
1505
  authFailureId?: string;
1506
1506
  profileId?: string;
1507
1507
  };
1508
- files: {
1509
- id: string;
1510
- label: string;
1511
- path: string;
1512
- exists: boolean;
1513
- }[];
1514
1508
  } | {
1515
1509
  exists: boolean;
1516
1510
  looksValid: boolean;
@@ -1520,12 +1514,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1520
1514
  configDir: string;
1521
1515
  path: string;
1522
1516
  isDefault: boolean;
1523
- files: {
1524
- id: string;
1525
- label: string;
1526
- path: string;
1527
- exists: boolean;
1528
- }[];
1529
1517
  })[];
1530
1518
  profileCapableProviders: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
1531
1519
  selections: {
@@ -1538,14 +1526,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1538
1526
  omp?: string | undefined;
1539
1527
  };
1540
1528
  };
1541
- defaults: {
1542
- [x: string]: import("hono/utils/types").JSONValue;
1543
- claude?: string | undefined;
1544
- codex?: string | undefined;
1545
- opencode?: string | undefined;
1546
- pi?: string | undefined;
1547
- omp?: string | undefined;
1548
- };
1549
1529
  };
1550
1530
  outputFormat: "json";
1551
1531
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -1612,12 +1592,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1612
1592
  authFailureId?: string;
1613
1593
  profileId?: string;
1614
1594
  };
1615
- files: {
1616
- id: string;
1617
- label: string;
1618
- path: string;
1619
- exists: boolean;
1620
- }[];
1621
1595
  } | {
1622
1596
  exists: boolean;
1623
1597
  looksValid: boolean;
@@ -1627,12 +1601,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1627
1601
  configDir: string;
1628
1602
  path: string;
1629
1603
  isDefault: boolean;
1630
- files: {
1631
- id: string;
1632
- label: string;
1633
- path: string;
1634
- exists: boolean;
1635
- }[];
1636
1604
  };
1637
1605
  };
1638
1606
  outputFormat: "json";
@@ -1748,12 +1716,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1748
1716
  authFailureId?: string;
1749
1717
  profileId?: string;
1750
1718
  };
1751
- files: {
1752
- id: string;
1753
- label: string;
1754
- path: string;
1755
- exists: boolean;
1756
- }[];
1757
1719
  } | {
1758
1720
  exists: boolean;
1759
1721
  looksValid: boolean;
@@ -1763,12 +1725,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1763
1725
  configDir: string;
1764
1726
  path: string;
1765
1727
  isDefault: boolean;
1766
- files: {
1767
- id: string;
1768
- label: string;
1769
- path: string;
1770
- exists: boolean;
1771
- }[];
1772
1728
  };
1773
1729
  };
1774
1730
  outputFormat: "json";
@@ -1855,166 +1811,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1855
1811
  refresh?: "1" | undefined;
1856
1812
  };
1857
1813
  };
1858
- } | {
1859
- output: {
1860
- status: {
1861
- provider: "claude" | "codex" | "omp" | "opencode" | "pi";
1862
- status: 'unknown';
1863
- hint: string;
1864
- profileId: string;
1865
- };
1866
- };
1867
- outputFormat: "json";
1868
- status: import("hono/utils/http-status").ContentfulStatusCode;
1869
- input: {
1870
- param: {
1871
- id: string;
1872
- };
1873
- } & {
1874
- query: {
1875
- refresh?: "1" | undefined;
1876
- };
1877
- };
1878
- };
1879
- };
1880
- } & {
1881
- "/workspace/agent-profiles/:id/details": {
1882
- $get: {
1883
- output: {
1884
- error: string;
1885
- code?: "invalid_input" | undefined;
1886
- };
1887
- outputFormat: "json";
1888
- status: 400;
1889
- input: {
1890
- param: {
1891
- id: string;
1892
- };
1893
- };
1894
- } | {
1895
- output: {
1896
- error: string;
1897
- };
1898
- outputFormat: "json";
1899
- status: 409;
1900
- input: {
1901
- param: {
1902
- id: string;
1903
- };
1904
- };
1905
- } | {
1906
- output: {
1907
- error: string;
1908
- };
1909
- outputFormat: "json";
1910
- status: 404;
1911
- input: {
1912
- param: {
1913
- id: string;
1914
- };
1915
- };
1916
- } | {
1917
- output: {
1918
- available: boolean;
1919
- reason?: string;
1920
- fields: {
1921
- label: string;
1922
- value: string;
1923
- }[];
1924
- };
1925
- outputFormat: "json";
1926
- status: import("hono/utils/http-status").ContentfulStatusCode;
1927
- input: {
1928
- param: {
1929
- id: string;
1930
- };
1931
- };
1932
- };
1933
- };
1934
- } & {
1935
- "/workspace/agent-profiles/:id/open": {
1936
- $post: {
1937
- output: {
1938
- error: string;
1939
- code?: "invalid_input" | undefined;
1940
- };
1941
- outputFormat: "json";
1942
- status: 400;
1943
- input: {
1944
- param: {
1945
- id: string;
1946
- };
1947
- } & {
1948
- json: {
1949
- file: string;
1950
- target?: string | undefined;
1951
- };
1952
- };
1953
- } | {
1954
- output: {
1955
- error: string;
1956
- };
1957
- outputFormat: "json";
1958
- status: 409;
1959
- input: {
1960
- param: {
1961
- id: string;
1962
- };
1963
- } & {
1964
- json: {
1965
- file: string;
1966
- target?: string | undefined;
1967
- };
1968
- };
1969
- } | {
1970
- output: {
1971
- error: string;
1972
- };
1973
- outputFormat: "json";
1974
- status: 404;
1975
- input: {
1976
- param: {
1977
- id: string;
1978
- };
1979
- } & {
1980
- json: {
1981
- file: string;
1982
- target?: string | undefined;
1983
- };
1984
- };
1985
- } | {
1986
- output: {
1987
- error: string;
1988
- };
1989
- outputFormat: "json";
1990
- status: 400;
1991
- input: {
1992
- param: {
1993
- id: string;
1994
- };
1995
- } & {
1996
- json: {
1997
- file: string;
1998
- target?: string | undefined;
1999
- };
2000
- };
2001
- } | {
2002
- output: {
2003
- opened: true;
2004
- path: string;
2005
- };
2006
- outputFormat: "json";
2007
- status: import("hono/utils/http-status").ContentfulStatusCode;
2008
- input: {
2009
- param: {
2010
- id: string;
2011
- };
2012
- } & {
2013
- json: {
2014
- file: string;
2015
- target?: string | undefined;
2016
- };
2017
- };
2018
1814
  };
2019
1815
  };
2020
1816
  } & {
@@ -2027,7 +1823,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2027
1823
  status: 409;
2028
1824
  input: {
2029
1825
  json: {
2030
- projectId: string | null;
1826
+ projectId: string;
2031
1827
  provider: "claude" | "codex" | "omp" | "opencode" | "pi";
2032
1828
  profileId: string | null;
2033
1829
  };
@@ -2040,7 +1836,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2040
1836
  status: 404;
2041
1837
  input: {
2042
1838
  json: {
2043
- projectId: string | null;
1839
+ projectId: string;
2044
1840
  provider: "claude" | "codex" | "omp" | "opencode" | "pi";
2045
1841
  profileId: string | null;
2046
1842
  };
@@ -2053,7 +1849,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2053
1849
  status: 400;
2054
1850
  input: {
2055
1851
  json: {
2056
- projectId: string | null;
1852
+ projectId: string;
2057
1853
  provider: "claude" | "codex" | "omp" | "opencode" | "pi";
2058
1854
  profileId: string | null;
2059
1855
  };
@@ -2066,7 +1862,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2066
1862
  status: 500;
2067
1863
  input: {
2068
1864
  json: {
2069
- projectId: string | null;
1865
+ projectId: string;
2070
1866
  provider: "claude" | "codex" | "omp" | "opencode" | "pi";
2071
1867
  profileId: string | null;
2072
1868
  };
@@ -2083,20 +1879,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2083
1879
  omp?: string | undefined;
2084
1880
  };
2085
1881
  };
2086
- defaults: {
2087
- [x: string]: import("hono/utils/types").JSONValue;
2088
- claude?: string | undefined;
2089
- codex?: string | undefined;
2090
- opencode?: string | undefined;
2091
- pi?: string | undefined;
2092
- omp?: string | undefined;
2093
- };
2094
1882
  };
2095
1883
  outputFormat: "json";
2096
1884
  status: import("hono/utils/http-status").ContentfulStatusCode;
2097
1885
  input: {
2098
1886
  json: {
2099
- projectId: string | null;
1887
+ projectId: string;
2100
1888
  provider: "claude" | "codex" | "omp" | "opencode" | "pi";
2101
1889
  profileId: string | null;
2102
1890
  };
@@ -3310,94 +3098,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3310
3098
  };
3311
3099
  };
3312
3100
  };
3313
- }, "/"> | import("hono/types").MergeSchemaPath<{
3314
- "/reports/state": {
3315
- $get: {
3316
- output: {
3317
- error: string;
3318
- };
3319
- outputFormat: "json";
3320
- status: 409;
3321
- input: {};
3322
- } | {
3323
- output: {
3324
- epoch: string;
3325
- generation: number;
3326
- metadataGeneration: number;
3327
- };
3328
- outputFormat: "json";
3329
- status: import("hono/utils/http-status").ContentfulStatusCode;
3330
- input: {};
3331
- };
3332
- };
3333
- } & {
3334
- "/reports": {
3335
- $get: {
3336
- output: {
3337
- error: string;
3338
- code?: "invalid_input" | undefined;
3339
- };
3340
- outputFormat: "json";
3341
- status: 400;
3342
- input: {
3343
- query: {
3344
- q?: string | undefined;
3345
- before?: string | undefined;
3346
- limit?: number | undefined;
3347
- };
3348
- };
3349
- } | {
3350
- output: {
3351
- error: string;
3352
- };
3353
- outputFormat: "json";
3354
- status: 409;
3355
- input: {
3356
- query: {
3357
- q?: string | undefined;
3358
- before?: string | undefined;
3359
- limit?: number | undefined;
3360
- };
3361
- };
3362
- } | {
3363
- output: {
3364
- error: string;
3365
- };
3366
- outputFormat: "json";
3367
- status: 400;
3368
- input: {
3369
- query: {
3370
- q?: string | undefined;
3371
- before?: string | undefined;
3372
- limit?: number | undefined;
3373
- };
3374
- };
3375
- } | {
3376
- output: {
3377
- reports: {
3378
- id: string;
3379
- runId: string;
3380
- name: string;
3381
- title: string;
3382
- createdAt: string;
3383
- size: number;
3384
- taskTitle: string;
3385
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3386
- }[];
3387
- nextCursor: string | null;
3388
- total: number;
3389
- };
3390
- outputFormat: "json";
3391
- status: import("hono/utils/http-status").ContentfulStatusCode;
3392
- input: {
3393
- query: {
3394
- q?: string | undefined;
3395
- before?: string | undefined;
3396
- limit?: number | undefined;
3397
- };
3398
- };
3399
- };
3400
- };
3401
3101
  }, "/"> | import("hono/types").MergeSchemaPath<{
3402
3102
  "/ui-state": {
3403
3103
  $get: {
@@ -3912,6 +3612,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3912
3612
  };
3913
3613
  };
3914
3614
  };
3615
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3616
+ "/reports/state": {
3617
+ $get: {
3618
+ output: {
3619
+ error: string;
3620
+ };
3621
+ outputFormat: "json";
3622
+ status: 409;
3623
+ input: {};
3624
+ } | {
3625
+ output: {
3626
+ epoch: string;
3627
+ generation: number;
3628
+ metadataGeneration: number;
3629
+ };
3630
+ outputFormat: "json";
3631
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3632
+ input: {};
3633
+ };
3634
+ };
3635
+ } & {
3636
+ "/reports": {
3637
+ $get: {
3638
+ output: {
3639
+ error: string;
3640
+ code?: "invalid_input" | undefined;
3641
+ };
3642
+ outputFormat: "json";
3643
+ status: 400;
3644
+ input: {
3645
+ query: {
3646
+ q?: string | undefined;
3647
+ before?: string | undefined;
3648
+ limit?: number | undefined;
3649
+ };
3650
+ };
3651
+ } | {
3652
+ output: {
3653
+ error: string;
3654
+ };
3655
+ outputFormat: "json";
3656
+ status: 409;
3657
+ input: {
3658
+ query: {
3659
+ q?: string | undefined;
3660
+ before?: string | undefined;
3661
+ limit?: number | undefined;
3662
+ };
3663
+ };
3664
+ } | {
3665
+ output: {
3666
+ error: string;
3667
+ };
3668
+ outputFormat: "json";
3669
+ status: 400;
3670
+ input: {
3671
+ query: {
3672
+ q?: string | undefined;
3673
+ before?: string | undefined;
3674
+ limit?: number | undefined;
3675
+ };
3676
+ };
3677
+ } | {
3678
+ output: {
3679
+ reports: {
3680
+ id: string;
3681
+ runId: string;
3682
+ name: string;
3683
+ title: string;
3684
+ createdAt: string;
3685
+ size: number;
3686
+ taskTitle: string;
3687
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3688
+ }[];
3689
+ nextCursor: string | null;
3690
+ total: number;
3691
+ };
3692
+ outputFormat: "json";
3693
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3694
+ input: {
3695
+ query: {
3696
+ q?: string | undefined;
3697
+ before?: string | undefined;
3698
+ limit?: number | undefined;
3699
+ };
3700
+ };
3701
+ };
3702
+ };
3915
3703
  }, "/"> | import("hono/types").MergeSchemaPath<{
3916
3704
  "/worktrees": {
3917
3705
  $get: {
@@ -4538,6 +4326,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4538
4326
  } & {
4539
4327
  "/repo/commit/:sha": {
4540
4328
  $get: {
4329
+ output: string;
4330
+ outputFormat: "text";
4331
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4332
+ input: {
4333
+ query: {
4334
+ structured?: string | undefined;
4335
+ };
4336
+ } & {
4337
+ param: {
4338
+ sha: string;
4339
+ };
4340
+ };
4341
+ } | {
4541
4342
  output: {
4542
4343
  error: string;
4543
4344
  code?: "invalid_input" | undefined;
@@ -4601,19 +4402,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4601
4402
  sha: string;
4602
4403
  };
4603
4404
  };
4604
- } | {
4605
- output: string;
4606
- outputFormat: "text";
4607
- status: import("hono/utils/http-status").ContentfulStatusCode;
4608
- input: {
4609
- query: {
4610
- structured?: string | undefined;
4611
- };
4612
- } & {
4613
- param: {
4614
- sha: string;
4615
- };
4616
- };
4617
4405
  };
4618
4406
  };
4619
4407
  } & {
@@ -8341,11 +8129,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8341
8129
  "/runs/:id/worker-destroy": {
8342
8130
  $post: {
8343
8131
  output: {
8344
- error: string;
8345
- code?: "invalid_input" | undefined;
8132
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8133
+ readonly error: string;
8134
+ readonly modelChoices?: {
8135
+ runner: "claude" | "codex" | "omp" | "opencode" | "pi";
8136
+ requestedModel: string;
8137
+ availableModels: {
8138
+ id: string;
8139
+ label: string;
8140
+ description: string;
8141
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8142
+ }[];
8143
+ otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
8144
+ } | undefined;
8346
8145
  };
8347
8146
  outputFormat: "json";
8348
- status: 400;
8147
+ status: 400 | 401 | 403 | 409 | 503;
8349
8148
  input: {
8350
8149
  query: {
8351
8150
  [x: string]: string | string[];
@@ -8359,22 +8158,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8359
8158
  };
8360
8159
  } | {
8361
8160
  output: {
8362
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8363
- readonly error: string;
8364
- readonly modelChoices?: {
8365
- runner: "claude" | "codex" | "omp" | "opencode" | "pi";
8366
- requestedModel: string;
8367
- availableModels: {
8368
- id: string;
8369
- label: string;
8370
- description: string;
8371
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8372
- }[];
8373
- otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
8374
- } | undefined;
8161
+ error: string;
8162
+ code?: "invalid_input" | undefined;
8375
8163
  };
8376
8164
  outputFormat: "json";
8377
- status: 400 | 401 | 403 | 409 | 503;
8165
+ status: 400;
8378
8166
  input: {
8379
8167
  query: {
8380
8168
  [x: string]: string | string[];
@@ -17961,30 +17749,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17961
17749
  runner?: "claude" | "codex" | "omp" | "opencode" | "pi" | undefined;
17962
17750
  model?: string | undefined;
17963
17751
  effort?: string | undefined;
17964
- agentProfile?: string | undefined;
17965
- };
17966
- } & {
17967
- param: {
17968
- id: string;
17969
- };
17970
- };
17971
- } | {
17972
- output: {
17973
- error: string;
17974
- };
17975
- outputFormat: "json";
17976
- status: 400;
17977
- input: {
17978
- json: {
17979
- text?: string | undefined;
17980
- images?: {
17981
- mediaType: string;
17982
- data: string;
17983
- }[] | undefined;
17984
- runner?: "claude" | "codex" | "omp" | "opencode" | "pi" | undefined;
17985
- model?: string | undefined;
17986
- effort?: string | undefined;
17987
- agentProfile?: string | undefined;
17988
17752
  };
17989
17753
  } & {
17990
17754
  param: {
@@ -18007,7 +17771,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18007
17771
  runner?: "claude" | "codex" | "omp" | "opencode" | "pi" | undefined;
18008
17772
  model?: string | undefined;
18009
17773
  effort?: string | undefined;
18010
- agentProfile?: string | undefined;
18011
17774
  };
18012
17775
  } & {
18013
17776
  param: {
@@ -18030,7 +17793,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18030
17793
  runner?: "claude" | "codex" | "omp" | "opencode" | "pi" | undefined;
18031
17794
  model?: string | undefined;
18032
17795
  effort?: string | undefined;
18033
- agentProfile?: string | undefined;
18034
17796
  };
18035
17797
  } & {
18036
17798
  param: {
@@ -18122,20 +17884,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18122
17884
  } & {
18123
17885
  "/runs/:id/handoff": {
18124
17886
  $get: {
18125
- output: {
18126
- error: string;
18127
- };
18128
- outputFormat: "json";
18129
- status: 404;
17887
+ output: string;
17888
+ outputFormat: "text";
17889
+ status: 200;
18130
17890
  input: {
18131
17891
  param: {
18132
17892
  id: string;
18133
17893
  };
18134
17894
  };
18135
17895
  } | {
18136
- output: string;
18137
- outputFormat: "text";
18138
- status: 200;
17896
+ output: {
17897
+ error: string;
17898
+ };
17899
+ outputFormat: "json";
17900
+ status: 404;
18139
17901
  input: {
18140
17902
  param: {
18141
17903
  id: string;
@@ -18173,20 +17935,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18173
17935
  } & {
18174
17936
  "/runs/:id/diff": {
18175
17937
  $get: {
18176
- output: {
18177
- error: string;
18178
- };
18179
- outputFormat: "json";
18180
- status: 404 | 409;
17938
+ output: string;
17939
+ outputFormat: "text";
17940
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18181
17941
  input: {
18182
17942
  param: {
18183
17943
  id: string;
18184
17944
  };
18185
17945
  };
18186
17946
  } | {
18187
- output: string;
18188
- outputFormat: "text";
18189
- status: import("hono/utils/http-status").ContentfulStatusCode;
17947
+ output: {
17948
+ error: string;
17949
+ };
17950
+ outputFormat: "json";
17951
+ status: 404 | 409;
18190
17952
  input: {
18191
17953
  param: {
18192
17954
  id: string;
@@ -19002,94 +18764,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19002
18764
  };
19003
18765
  };
19004
18766
  };
19005
- }, "/"> | import("hono/types").MergeSchemaPath<{
19006
- "/reports/state": {
19007
- $get: {
19008
- output: {
19009
- error: string;
19010
- };
19011
- outputFormat: "json";
19012
- status: 409;
19013
- input: {};
19014
- } | {
19015
- output: {
19016
- epoch: string;
19017
- generation: number;
19018
- metadataGeneration: number;
19019
- };
19020
- outputFormat: "json";
19021
- status: import("hono/utils/http-status").ContentfulStatusCode;
19022
- input: {};
19023
- };
19024
- };
19025
- } & {
19026
- "/reports": {
19027
- $get: {
19028
- output: {
19029
- error: string;
19030
- code?: "invalid_input" | undefined;
19031
- };
19032
- outputFormat: "json";
19033
- status: 400;
19034
- input: {
19035
- query: {
19036
- q?: string | undefined;
19037
- before?: string | undefined;
19038
- limit?: number | undefined;
19039
- };
19040
- };
19041
- } | {
19042
- output: {
19043
- error: string;
19044
- };
19045
- outputFormat: "json";
19046
- status: 409;
19047
- input: {
19048
- query: {
19049
- q?: string | undefined;
19050
- before?: string | undefined;
19051
- limit?: number | undefined;
19052
- };
19053
- };
19054
- } | {
19055
- output: {
19056
- error: string;
19057
- };
19058
- outputFormat: "json";
19059
- status: 400;
19060
- input: {
19061
- query: {
19062
- q?: string | undefined;
19063
- before?: string | undefined;
19064
- limit?: number | undefined;
19065
- };
19066
- };
19067
- } | {
19068
- output: {
19069
- reports: {
19070
- id: string;
19071
- runId: string;
19072
- name: string;
19073
- title: string;
19074
- createdAt: string;
19075
- size: number;
19076
- taskTitle: string;
19077
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19078
- }[];
19079
- nextCursor: string | null;
19080
- total: number;
19081
- };
19082
- outputFormat: "json";
19083
- status: import("hono/utils/http-status").ContentfulStatusCode;
19084
- input: {
19085
- query: {
19086
- q?: string | undefined;
19087
- before?: string | undefined;
19088
- limit?: number | undefined;
19089
- };
19090
- };
19091
- };
19092
- };
19093
18767
  }, "/"> | import("hono/types").MergeSchemaPath<{
19094
18768
  "/ui-state": {
19095
18769
  $get: {
@@ -19604,6 +19278,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19604
19278
  };
19605
19279
  };
19606
19280
  };
19281
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19282
+ "/reports/state": {
19283
+ $get: {
19284
+ output: {
19285
+ error: string;
19286
+ };
19287
+ outputFormat: "json";
19288
+ status: 409;
19289
+ input: {};
19290
+ } | {
19291
+ output: {
19292
+ epoch: string;
19293
+ generation: number;
19294
+ metadataGeneration: number;
19295
+ };
19296
+ outputFormat: "json";
19297
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19298
+ input: {};
19299
+ };
19300
+ };
19301
+ } & {
19302
+ "/reports": {
19303
+ $get: {
19304
+ output: {
19305
+ error: string;
19306
+ code?: "invalid_input" | undefined;
19307
+ };
19308
+ outputFormat: "json";
19309
+ status: 400;
19310
+ input: {
19311
+ query: {
19312
+ q?: string | undefined;
19313
+ before?: string | undefined;
19314
+ limit?: number | undefined;
19315
+ };
19316
+ };
19317
+ } | {
19318
+ output: {
19319
+ error: string;
19320
+ };
19321
+ outputFormat: "json";
19322
+ status: 409;
19323
+ input: {
19324
+ query: {
19325
+ q?: string | undefined;
19326
+ before?: string | undefined;
19327
+ limit?: number | undefined;
19328
+ };
19329
+ };
19330
+ } | {
19331
+ output: {
19332
+ error: string;
19333
+ };
19334
+ outputFormat: "json";
19335
+ status: 400;
19336
+ input: {
19337
+ query: {
19338
+ q?: string | undefined;
19339
+ before?: string | undefined;
19340
+ limit?: number | undefined;
19341
+ };
19342
+ };
19343
+ } | {
19344
+ output: {
19345
+ reports: {
19346
+ id: string;
19347
+ runId: string;
19348
+ name: string;
19349
+ title: string;
19350
+ createdAt: string;
19351
+ size: number;
19352
+ taskTitle: string;
19353
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19354
+ }[];
19355
+ nextCursor: string | null;
19356
+ total: number;
19357
+ };
19358
+ outputFormat: "json";
19359
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19360
+ input: {
19361
+ query: {
19362
+ q?: string | undefined;
19363
+ before?: string | undefined;
19364
+ limit?: number | undefined;
19365
+ };
19366
+ };
19367
+ };
19368
+ };
19607
19369
  }, "/"> | import("hono/types").MergeSchemaPath<{
19608
19370
  "/worktrees": {
19609
19371
  $get: {
@@ -20230,6 +19992,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20230
19992
  } & {
20231
19993
  "/repo/commit/:sha": {
20232
19994
  $get: {
19995
+ output: string;
19996
+ outputFormat: "text";
19997
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19998
+ input: {
19999
+ query: {
20000
+ structured?: string | undefined;
20001
+ };
20002
+ } & {
20003
+ param: {
20004
+ sha: string;
20005
+ };
20006
+ };
20007
+ } | {
20233
20008
  output: {
20234
20009
  error: string;
20235
20010
  code?: "invalid_input" | undefined;
@@ -20293,19 +20068,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20293
20068
  sha: string;
20294
20069
  };
20295
20070
  };
20296
- } | {
20297
- output: string;
20298
- outputFormat: "text";
20299
- status: import("hono/utils/http-status").ContentfulStatusCode;
20300
- input: {
20301
- query: {
20302
- structured?: string | undefined;
20303
- };
20304
- } & {
20305
- param: {
20306
- sha: string;
20307
- };
20308
- };
20309
20071
  };
20310
20072
  };
20311
20073
  } & {
@@ -24033,11 +23795,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24033
23795
  "/runs/:id/worker-destroy": {
24034
23796
  $post: {
24035
23797
  output: {
24036
- error: string;
24037
- code?: "invalid_input" | undefined;
23798
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
23799
+ readonly error: string;
23800
+ readonly modelChoices?: {
23801
+ runner: "claude" | "codex" | "omp" | "opencode" | "pi";
23802
+ requestedModel: string;
23803
+ availableModels: {
23804
+ id: string;
23805
+ label: string;
23806
+ description: string;
23807
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
23808
+ }[];
23809
+ otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
23810
+ } | undefined;
24038
23811
  };
24039
23812
  outputFormat: "json";
24040
- status: 400;
23813
+ status: 400 | 401 | 403 | 409 | 503;
24041
23814
  input: {
24042
23815
  query: {
24043
23816
  [x: string]: string | string[];
@@ -24051,22 +23824,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24051
23824
  };
24052
23825
  } | {
24053
23826
  output: {
24054
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24055
- readonly error: string;
24056
- readonly modelChoices?: {
24057
- runner: "claude" | "codex" | "omp" | "opencode" | "pi";
24058
- requestedModel: string;
24059
- availableModels: {
24060
- id: string;
24061
- label: string;
24062
- description: string;
24063
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24064
- }[];
24065
- otherRunners: ("claude" | "codex" | "omp" | "opencode" | "pi")[];
24066
- } | undefined;
23827
+ error: string;
23828
+ code?: "invalid_input" | undefined;
24067
23829
  };
24068
23830
  outputFormat: "json";
24069
- status: 400 | 401 | 403 | 409 | 503;
23831
+ status: 400;
24070
23832
  input: {
24071
23833
  query: {
24072
23834
  [x: string]: string | string[];
@@ -33653,30 +33415,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33653
33415
  runner?: "claude" | "codex" | "omp" | "opencode" | "pi" | undefined;
33654
33416
  model?: string | undefined;
33655
33417
  effort?: string | undefined;
33656
- agentProfile?: string | undefined;
33657
- };
33658
- } & {
33659
- param: {
33660
- id: string;
33661
- };
33662
- };
33663
- } | {
33664
- output: {
33665
- error: string;
33666
- };
33667
- outputFormat: "json";
33668
- status: 400;
33669
- input: {
33670
- json: {
33671
- text?: string | undefined;
33672
- images?: {
33673
- mediaType: string;
33674
- data: string;
33675
- }[] | undefined;
33676
- runner?: "claude" | "codex" | "omp" | "opencode" | "pi" | undefined;
33677
- model?: string | undefined;
33678
- effort?: string | undefined;
33679
- agentProfile?: string | undefined;
33680
33418
  };
33681
33419
  } & {
33682
33420
  param: {
@@ -33699,7 +33437,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33699
33437
  runner?: "claude" | "codex" | "omp" | "opencode" | "pi" | undefined;
33700
33438
  model?: string | undefined;
33701
33439
  effort?: string | undefined;
33702
- agentProfile?: string | undefined;
33703
33440
  };
33704
33441
  } & {
33705
33442
  param: {
@@ -33722,7 +33459,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33722
33459
  runner?: "claude" | "codex" | "omp" | "opencode" | "pi" | undefined;
33723
33460
  model?: string | undefined;
33724
33461
  effort?: string | undefined;
33725
- agentProfile?: string | undefined;
33726
33462
  };
33727
33463
  } & {
33728
33464
  param: {
@@ -33814,20 +33550,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33814
33550
  } & {
33815
33551
  "/runs/:id/handoff": {
33816
33552
  $get: {
33817
- output: {
33818
- error: string;
33819
- };
33820
- outputFormat: "json";
33821
- status: 404;
33553
+ output: string;
33554
+ outputFormat: "text";
33555
+ status: 200;
33822
33556
  input: {
33823
33557
  param: {
33824
33558
  id: string;
33825
33559
  };
33826
33560
  };
33827
33561
  } | {
33828
- output: string;
33829
- outputFormat: "text";
33830
- status: 200;
33562
+ output: {
33563
+ error: string;
33564
+ };
33565
+ outputFormat: "json";
33566
+ status: 404;
33831
33567
  input: {
33832
33568
  param: {
33833
33569
  id: string;
@@ -33865,20 +33601,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
33865
33601
  } & {
33866
33602
  "/runs/:id/diff": {
33867
33603
  $get: {
33868
- output: {
33869
- error: string;
33870
- };
33871
- outputFormat: "json";
33872
- status: 404 | 409;
33604
+ output: string;
33605
+ outputFormat: "text";
33606
+ status: import("hono/utils/http-status").ContentfulStatusCode;
33873
33607
  input: {
33874
33608
  param: {
33875
33609
  id: string;
33876
33610
  };
33877
33611
  };
33878
33612
  } | {
33879
- output: string;
33880
- outputFormat: "text";
33881
- status: import("hono/utils/http-status").ContentfulStatusCode;
33613
+ output: {
33614
+ error: string;
33615
+ };
33616
+ outputFormat: "json";
33617
+ status: 404 | 409;
33882
33618
  input: {
33883
33619
  param: {
33884
33620
  id: string;