@hearsay-tools/squawk 0.18.0-pr4012.7669 → 0.18.0-pr4013.7673

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 (141) hide show
  1. package/dist/ci-wait/controller.d.ts +42 -42
  2. package/dist/contract/agent-profiles.d.ts +4 -0
  3. package/dist/contract/discovery.d.ts +3 -0
  4. package/dist/contract/index.js +16 -1
  5. package/dist/contract/provider-requests.d.ts +6 -0
  6. package/dist/contract/query-requests.d.ts +1 -0
  7. package/dist/contract/runners.d.ts +2 -0
  8. package/dist/contract/workspace.d.ts +19 -0
  9. package/dist/core/agent-profiles.js +5 -1
  10. package/dist/core/agent-profiles.js.map +1 -1
  11. package/dist/core/host-model-catalog.js +2 -1
  12. package/dist/core/host-model-catalog.js.map +1 -1
  13. package/dist/core/provider-auth.d.ts +1 -0
  14. package/dist/core/provider-auth.js +5 -2
  15. package/dist/core/provider-auth.js.map +1 -1
  16. package/dist/core/runner-definition.d.ts +19 -2
  17. package/dist/core/runner-definition.js.map +1 -1
  18. package/dist/core/runner-model-catalog.d.ts +7 -2
  19. package/dist/core/runner-model-catalog.js +45 -19
  20. package/dist/core/runner-model-catalog.js.map +1 -1
  21. package/dist/delegation/routes.d.ts +1 -0
  22. package/dist/delegation/transport.d.ts +66 -65
  23. package/dist/discovery/choices.js +4 -2
  24. package/dist/discovery/choices.js.map +1 -1
  25. package/dist/runners/antigravity/account-home.d.ts +2 -0
  26. package/dist/runners/antigravity/account-home.js +31 -0
  27. package/dist/runners/antigravity/account-home.js.map +1 -0
  28. package/dist/runners/antigravity/accounts.d.ts +6 -1
  29. package/dist/runners/antigravity/accounts.js +2 -2
  30. package/dist/runners/antigravity/accounts.js.map +1 -1
  31. package/dist/runners/antigravity/antigravity-model-catalog.d.ts +7 -2
  32. package/dist/runners/antigravity/antigravity-model-catalog.js +63 -3
  33. package/dist/runners/antigravity/antigravity-model-catalog.js.map +1 -1
  34. package/dist/runners/antigravity/antigravity-skill-catalog.js +2 -0
  35. package/dist/runners/antigravity/antigravity-skill-catalog.js.map +1 -1
  36. package/dist/runners/antigravity/browser-sign-in.d.ts +4 -0
  37. package/dist/runners/antigravity/browser-sign-in.js +133 -0
  38. package/dist/runners/antigravity/browser-sign-in.js.map +1 -0
  39. package/dist/runners/antigravity/build-label.d.ts +2 -0
  40. package/dist/runners/antigravity/build-label.js +32 -0
  41. package/dist/runners/antigravity/build-label.js.map +1 -0
  42. package/dist/runners/antigravity/definition.js +2 -0
  43. package/dist/runners/antigravity/definition.js.map +1 -1
  44. package/dist/runners/antigravity/login-probe.d.ts +1 -0
  45. package/dist/runners/antigravity/login-probe.js +13 -6
  46. package/dist/runners/antigravity/login-probe.js.map +1 -1
  47. package/dist/runners/antigravity/models.js +1 -0
  48. package/dist/runners/antigravity/models.js.map +1 -1
  49. package/dist/runners/antigravity/probe-process.d.ts +16 -0
  50. package/dist/runners/antigravity/probe-process.js +58 -0
  51. package/dist/runners/antigravity/probe-process.js.map +1 -0
  52. package/dist/runners/antigravity/runtime-env.d.ts +1 -0
  53. package/dist/runners/antigravity/runtime-env.js +11 -3
  54. package/dist/runners/antigravity/runtime-env.js.map +1 -1
  55. package/dist/server/models-routes.d.ts +78 -0
  56. package/dist/server/models-routes.js +26 -0
  57. package/dist/server/models-routes.js.map +1 -0
  58. package/dist/server/provider-sign-in-routes.d.ts +231 -0
  59. package/dist/server/provider-sign-in-routes.js +59 -0
  60. package/dist/server/provider-sign-in-routes.js.map +1 -0
  61. package/dist/server/provider-sign-ins.d.ts +12 -0
  62. package/dist/server/provider-sign-ins.js +61 -0
  63. package/dist/server/provider-sign-ins.js.map +1 -0
  64. package/dist/server/runners-routes.d.ts +1 -0
  65. package/dist/server/runners-routes.js +2 -1
  66. package/dist/server/runners-routes.js.map +1 -1
  67. package/dist/server/server.d.ts +581 -330
  68. package/dist/server/server.js +5 -12
  69. package/dist/server/server.js.map +1 -1
  70. package/package.json +4 -4
  71. package/scripts/mock-acp.mjs +4 -0
  72. package/scripts/mock-antigravity-auth.mjs +50 -0
  73. package/web/dist/assets/activity-motion-D9kDOQdA.js +2 -0
  74. package/web/dist/assets/{activity-route-C09Kigqg.js → activity-route-CZsGE2kr.js} +1 -1
  75. package/web/dist/assets/attention-zJ-ho5os.js +1 -0
  76. package/web/dist/assets/{button-RJMdCnZw.js → button-C1fD-ZFr.js} +1 -1
  77. package/web/dist/assets/{centered-state-dmABwupF.js → centered-state-CiiA8Vgw.js} +1 -1
  78. package/web/dist/assets/commit-diff-panel-BuON_M0j.js +1 -0
  79. package/web/dist/assets/{dialog-7Mg2IZCP.js → dialog-DSwzMeY3.js} +1 -1
  80. package/web/dist/assets/{diff-BRJ4rY5b.js → diff-Db5bcfH_.js} +2 -2
  81. package/web/dist/assets/diff-controls-C8aqhty4.js +1 -0
  82. package/web/dist/assets/{diff-view-MBeWLbGp.js → diff-view-DqlLiU5V.js} +1 -1
  83. package/web/dist/assets/{dist-FHKv_Ysh.js → dist-Du8mGhoH.js} +1 -1
  84. package/web/dist/assets/{dropdown-menu-Cr9RsmWG.js → dropdown-menu-DRFDwG2X.js} +1 -1
  85. package/web/dist/assets/{es2015-VrVcR1vD.js → es2015-Ch36azR0.js} +1 -1
  86. package/web/dist/assets/{file-preview-DGUs6xBL.js → file-preview-DSnLzP2A.js} +1 -1
  87. package/web/dist/assets/{git-toolbar-DZAI5UIs.js → git-toolbar-WHsIb3zj.js} +1 -1
  88. package/web/dist/assets/github-BZSy7bl0.js +1 -0
  89. package/web/dist/assets/{global-activity-route-Itwjh59Y.js → global-activity-route-BPvST6Do.js} +1 -1
  90. package/web/dist/assets/{image-preview-BmcpjY75.js → image-preview-2AnVvt0e.js} +1 -1
  91. package/web/dist/assets/{index-D6Jjh8b7.css → index-CSsMeh0Q.css} +1 -1
  92. package/web/dist/assets/index-DmUnZuj2.js +14 -0
  93. package/web/dist/assets/{markdown-CJcWCBe3.js → markdown-EqokmdNx.js} +1 -1
  94. package/web/dist/assets/{nav-row-styles-D4xk5Osn.js → nav-row-styles-CFjnD-9J.js} +1 -1
  95. package/web/dist/assets/picker-pill-DP8YY8yK.js +15 -0
  96. package/web/dist/assets/{preview-pane-connected-BRgt99wC.js → preview-pane-connected-DePVzNAm.js} +3 -3
  97. package/web/dist/assets/{project-router-DjS-QbSn.js → project-router-LT30LjzY.js} +1 -1
  98. package/web/dist/assets/project-scope-context-DMCS5p-N.js +4 -0
  99. package/web/dist/assets/{prompt-template-menu-Dc5UGoNy.js → prompt-template-menu-DhXONhoB.js} +1 -1
  100. package/web/dist/assets/queries-DHY6U3e_.js +1 -0
  101. package/web/dist/assets/reference-chip-BKeVxG_E.js +1 -0
  102. package/web/dist/assets/{repo-git-p0Ao3sNl.js → repo-git-CWn2Z4Un.js} +1 -1
  103. package/web/dist/assets/{report-reader-D4lQqrHu.js → report-reader-RkXaRhiv.js} +1 -1
  104. package/web/dist/assets/reports-CiU1cLpn.js +1 -0
  105. package/web/dist/assets/run-header-z48y-i75.js +2 -0
  106. package/web/dist/assets/runners-C-sPUQye.js +1 -0
  107. package/web/dist/assets/{skills-BDdDqO_5.js → skills-BeZ9naR_.js} +1 -1
  108. package/web/dist/assets/{tab-link-BBENZNt4.js → tab-link-C_0J92TF.js} +1 -1
  109. package/web/dist/assets/{task-changes-ZHEaIUYD.js → task-changes-R9UrXbyp.js} +1 -1
  110. package/web/dist/assets/task-commits-BgwKBJPa.js +1 -0
  111. package/web/dist/assets/{task-files-BNU0-6wZ.js → task-files-BuoYB5UQ.js} +1 -1
  112. package/web/dist/assets/{task-github-item-rhXaU_WN.js → task-github-item-DQ_suCNz.js} +1 -1
  113. package/web/dist/assets/task-thread-B7GO7yjQ.js +9 -0
  114. package/web/dist/assets/thread-state-DSb5VKd8.js +4 -0
  115. package/web/dist/assets/{toaster-BWMQArHJ.js → toaster-Cxgzn9ip.js} +1 -1
  116. package/web/dist/assets/{use-desktop-B7mmljQs.js → use-desktop-EnHXg46f.js} +1 -1
  117. package/web/dist/assets/use-hand-to-agent-state-C6FNQ2e0.js +1 -0
  118. package/web/dist/assets/{useInfiniteQuery-rVJeQWbw.js → useInfiniteQuery-CvdGA_PU.js} +1 -1
  119. package/web/dist/assets/useQuery-BJFZunTR.js +1 -0
  120. package/web/dist/assets/{workflows-Chj-NzXv.js → workflows-b6WsU1qg.js} +3 -3
  121. package/web/dist/assets/{ws-DfZahD6A.js → ws-BxsIvFCG.js} +1 -1
  122. package/web/dist/assets/{zoomable-image-DefjK4q5.js → zoomable-image-DrDnCL4V.js} +1 -1
  123. package/web/dist/index.html +22 -22
  124. package/web/dist/assets/activity-motion-1juRKhxE.js +0 -2
  125. package/web/dist/assets/attention-D8FpUd-j.js +0 -1
  126. package/web/dist/assets/commit-diff-panel-D3LsPb4F.js +0 -1
  127. package/web/dist/assets/diff-controls-BpQyN23g.js +0 -1
  128. package/web/dist/assets/github-CqzXvarK.js +0 -1
  129. package/web/dist/assets/index-DpdNh-zz.js +0 -14
  130. package/web/dist/assets/picker-pill-Cepev3cP.js +0 -15
  131. package/web/dist/assets/project-scope-context-DiW4iTxy.js +0 -4
  132. package/web/dist/assets/queries-CQwllVYy.js +0 -1
  133. package/web/dist/assets/reference-chip-8cCk87Nn.js +0 -1
  134. package/web/dist/assets/reports-DGIyky_8.js +0 -1
  135. package/web/dist/assets/run-header-CvQbLIsr.js +0 -2
  136. package/web/dist/assets/runners-sgn4gxWr.js +0 -1
  137. package/web/dist/assets/task-commits-BaPEsRht.js +0 -1
  138. package/web/dist/assets/task-thread-p6CxXiaW.js +0 -9
  139. package/web/dist/assets/thread-state-D6nbjkBx.js +0 -4
  140. package/web/dist/assets/use-hand-to-agent-state-kSX9JjM_.js +0 -1
  141. package/web/dist/assets/useQuery-BwAOxkhy.js +0 -1
@@ -182,6 +182,49 @@ 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
+ "/runners": {
186
+ $get: {
187
+ output: {
188
+ runners: {
189
+ id: string;
190
+ displayName: string;
191
+ modelListName: string;
192
+ modelIdScope: "own" | "provider-spanning";
193
+ pickerLabel: string;
194
+ pickerDescription: string;
195
+ icon: string;
196
+ installHint: string;
197
+ loginCommand: string;
198
+ terminalLogin?: boolean | undefined;
199
+ browserLogin?: boolean | undefined;
200
+ accountFolderExample?: string | undefined;
201
+ models: {
202
+ suggested: {
203
+ id: string;
204
+ label: string;
205
+ desc: string;
206
+ }[];
207
+ retired: string[];
208
+ };
209
+ agentConfig: {
210
+ label: string;
211
+ note?: string | undefined;
212
+ groups: {
213
+ id: "mcp" | "memory" | "settings";
214
+ label: string;
215
+ note?: string | undefined;
216
+ empty?: string | undefined;
217
+ showsUserMcp?: true | undefined;
218
+ }[];
219
+ };
220
+ }[];
221
+ };
222
+ outputFormat: "json";
223
+ status: import("hono/utils/http-status").ContentfulStatusCode;
224
+ input: {};
225
+ };
226
+ };
227
+ }, "/"> | import("hono/types").MergeSchemaPath<{
185
228
  "/health": {
186
229
  $get: {
187
230
  output: {
@@ -226,42 +269,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
226
269
  input: {};
227
270
  };
228
271
  };
229
- }, "/"> | import("hono/types").MergeSchemaPath<{
230
- "/models": {
231
- $get: {
232
- output: {
233
- error: string;
234
- code?: "invalid_input" | undefined;
235
- };
236
- outputFormat: "json";
237
- status: 400;
238
- input: {
239
- query: {
240
- runner: string | string[];
241
- };
242
- };
243
- } | {
244
- output: {
245
- runner: string;
246
- models: {
247
- id: string;
248
- label: string;
249
- description: string;
250
- effortLevels?: import('../contract/index.js').EffortLevel[];
251
- }[];
252
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
253
- stale: boolean;
254
- reason?: string;
255
- };
256
- outputFormat: "json";
257
- status: import("hono/utils/http-status").ContentfulStatusCode;
258
- input: {
259
- query: {
260
- runner: string | string[];
261
- };
262
- };
263
- };
264
- };
265
272
  }, "/"> | import("hono/types").MergeSchemaPath<{
266
273
  "/fs/browse": {
267
274
  $get: {
@@ -370,45 +377,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
370
377
  };
371
378
  };
372
379
  }, "/"> | import("hono/types").MergeSchemaPath<{
373
- "/runners": {
380
+ "/models": {
374
381
  $get: {
375
382
  output: {
376
- runners: {
383
+ error: string;
384
+ code?: "invalid_input" | undefined;
385
+ };
386
+ outputFormat: "json";
387
+ status: 400;
388
+ input: {
389
+ query: {
390
+ runner: string | string[];
391
+ profileId?: string | undefined;
392
+ };
393
+ };
394
+ } | {
395
+ output: {
396
+ runner: string;
397
+ models: {
377
398
  id: string;
378
- displayName: string;
379
- modelListName: string;
380
- modelIdScope: "own" | "provider-spanning";
381
- pickerLabel: string;
382
- pickerDescription: string;
383
- icon: string;
384
- installHint: string;
385
- loginCommand: string;
386
- terminalLogin?: boolean | undefined;
387
- accountFolderExample?: string | undefined;
388
- models: {
389
- suggested: {
390
- id: string;
391
- label: string;
392
- desc: string;
393
- }[];
394
- retired: string[];
395
- };
396
- agentConfig: {
397
- label: string;
398
- note?: string | undefined;
399
- groups: {
400
- id: "mcp" | "memory" | "settings";
401
- label: string;
402
- note?: string | undefined;
403
- empty?: string | undefined;
404
- showsUserMcp?: true | undefined;
405
- }[];
406
- };
399
+ label: string;
400
+ description: string;
401
+ effortLevels?: import('../contract/index.js').EffortLevel[];
407
402
  }[];
403
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
404
+ stale: boolean;
405
+ reason?: string;
408
406
  };
409
407
  outputFormat: "json";
410
408
  status: import("hono/utils/http-status").ContentfulStatusCode;
411
- input: {};
409
+ input: {
410
+ query: {
411
+ runner: string | string[];
412
+ profileId?: string | undefined;
413
+ };
414
+ };
415
+ } | {
416
+ output: {
417
+ error: string;
418
+ };
419
+ outputFormat: "json";
420
+ status: 409;
421
+ input: {
422
+ query: {
423
+ runner: string | string[];
424
+ profileId?: string | undefined;
425
+ };
426
+ };
427
+ } | {
428
+ output: {
429
+ error: string;
430
+ };
431
+ outputFormat: "json";
432
+ status: 400;
433
+ input: {
434
+ query: {
435
+ runner: string | string[];
436
+ profileId?: string | undefined;
437
+ };
438
+ };
412
439
  };
413
440
  };
414
441
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -981,6 +1008,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
981
1008
  } | {
982
1009
  output: {
983
1010
  providers: {
1011
+ requiresAccountHome?: boolean | undefined;
984
1012
  provider: string;
985
1013
  status: "connected" | "disconnected" | "not-installed" | "unknown";
986
1014
  enabled?: boolean | undefined;
@@ -1019,6 +1047,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1019
1047
  } | {
1020
1048
  output: {
1021
1049
  providers: {
1050
+ requiresAccountHome?: boolean | undefined;
1022
1051
  provider: string;
1023
1052
  status: "connected" | "disconnected" | "not-installed" | "unknown";
1024
1053
  enabled?: boolean | undefined;
@@ -1076,6 +1105,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1076
1105
  } | {
1077
1106
  output: {
1078
1107
  providers: {
1108
+ requiresAccountHome?: boolean | undefined;
1079
1109
  provider: string;
1080
1110
  status: "connected" | "disconnected" | "not-installed" | "unknown";
1081
1111
  enabled?: boolean | undefined;
@@ -1445,35 +1475,252 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1445
1475
  error: string;
1446
1476
  };
1447
1477
  outputFormat: "json";
1448
- status: 500;
1478
+ status: 500;
1479
+ input: {
1480
+ json: {
1481
+ [x: string]: unknown;
1482
+ appearance?: {
1483
+ accent?: "cezarion" | "lime" | "violet" | undefined;
1484
+ density?: "comfortable" | "compact" | "ultra" | undefined;
1485
+ width?: "narrow" | "wide" | undefined;
1486
+ } | undefined;
1487
+ notifications?: {
1488
+ [x: string]: unknown;
1489
+ enabled?: boolean | undefined;
1490
+ } | undefined;
1491
+ lastLocation?: {
1492
+ projectId: string;
1493
+ pathname: string;
1494
+ search?: string | undefined;
1495
+ hash?: string | undefined;
1496
+ } | undefined;
1497
+ sidebar?: {
1498
+ [x: string]: unknown;
1499
+ collapsed?: Record<string, boolean> | undefined;
1500
+ projectOrder?: string[] | undefined;
1501
+ } | undefined;
1502
+ dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1503
+ taskTable?: {
1504
+ [x: string]: unknown;
1505
+ expandedColumns?: Record<string, boolean> | undefined;
1506
+ } | undefined;
1507
+ };
1508
+ };
1509
+ };
1510
+ };
1511
+ }, "/"> | import("hono/types").MergeSchemaPath<{
1512
+ "/providers/sign-in/start": {
1513
+ $post: {
1514
+ output: {
1515
+ error: string;
1516
+ };
1517
+ outputFormat: "json";
1518
+ status: 409;
1519
+ input: {
1520
+ json: {
1521
+ provider: string;
1522
+ profileId?: string | undefined;
1523
+ };
1524
+ };
1525
+ } | {
1526
+ output: {
1527
+ error: string;
1528
+ };
1529
+ outputFormat: "json";
1530
+ status: 400;
1531
+ input: {
1532
+ json: {
1533
+ provider: string;
1534
+ profileId?: string | undefined;
1535
+ };
1536
+ };
1537
+ } | {
1538
+ output: {
1539
+ id: string;
1540
+ state: "waiting";
1541
+ url: string;
1542
+ } | {
1543
+ id: string;
1544
+ state: "cancelled" | "connected";
1545
+ } | {
1546
+ id: string;
1547
+ state: "failed";
1548
+ error: string;
1549
+ };
1550
+ outputFormat: "json";
1551
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1552
+ input: {
1553
+ json: {
1554
+ provider: string;
1555
+ profileId?: string | undefined;
1556
+ };
1557
+ };
1558
+ };
1559
+ };
1560
+ } & {
1561
+ "/providers/sign-in/:id": {
1562
+ $get: {
1563
+ output: {
1564
+ error: string;
1565
+ code?: "invalid_input" | undefined;
1566
+ };
1567
+ outputFormat: "json";
1568
+ status: 400;
1569
+ input: {
1570
+ param: {
1571
+ id: string;
1572
+ };
1573
+ };
1574
+ } | {
1575
+ output: {
1576
+ error: string;
1577
+ };
1578
+ outputFormat: "json";
1579
+ status: 404;
1580
+ input: {
1581
+ param: {
1582
+ id: string;
1583
+ };
1584
+ };
1585
+ } | {
1586
+ output: {
1587
+ id: string;
1588
+ state: "waiting";
1589
+ url: string;
1590
+ } | {
1591
+ id: string;
1592
+ state: "cancelled" | "connected";
1593
+ } | {
1594
+ id: string;
1595
+ state: "failed";
1596
+ error: string;
1597
+ };
1598
+ outputFormat: "json";
1599
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1600
+ input: {
1601
+ param: {
1602
+ id: string;
1603
+ };
1604
+ };
1605
+ };
1606
+ };
1607
+ } & {
1608
+ "/providers/sign-in/:id/redirect": {
1609
+ $post: {
1610
+ output: {
1611
+ error: string;
1612
+ code?: "invalid_input" | undefined;
1613
+ };
1614
+ outputFormat: "json";
1615
+ status: 400;
1616
+ input: {
1617
+ param: {
1618
+ id: string;
1619
+ };
1620
+ } & {
1621
+ json: {
1622
+ redirectUrl: string;
1623
+ };
1624
+ };
1625
+ } | {
1626
+ output: {
1627
+ error: string;
1628
+ };
1629
+ outputFormat: "json";
1630
+ status: 404;
1631
+ input: {
1632
+ param: {
1633
+ id: string;
1634
+ };
1635
+ } & {
1636
+ json: {
1637
+ redirectUrl: string;
1638
+ };
1639
+ };
1640
+ } | {
1641
+ output: {
1642
+ error: string;
1643
+ };
1644
+ outputFormat: "json";
1645
+ status: 409;
1646
+ input: {
1647
+ param: {
1648
+ id: string;
1649
+ };
1650
+ } & {
1651
+ json: {
1652
+ redirectUrl: string;
1653
+ };
1654
+ };
1655
+ } | {
1656
+ output: {
1657
+ id: string;
1658
+ state: "waiting";
1659
+ url: string;
1660
+ } | {
1661
+ id: string;
1662
+ state: "cancelled" | "connected";
1663
+ } | {
1664
+ id: string;
1665
+ state: "failed";
1666
+ error: string;
1667
+ };
1668
+ outputFormat: "json";
1669
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1670
+ input: {
1671
+ param: {
1672
+ id: string;
1673
+ };
1674
+ } & {
1675
+ json: {
1676
+ redirectUrl: string;
1677
+ };
1678
+ };
1679
+ };
1680
+ };
1681
+ } & {
1682
+ "/providers/sign-in/:id": {
1683
+ $delete: {
1684
+ output: {
1685
+ error: string;
1686
+ code?: "invalid_input" | undefined;
1687
+ };
1688
+ outputFormat: "json";
1689
+ status: 400;
1690
+ input: {
1691
+ param: {
1692
+ id: string;
1693
+ };
1694
+ };
1695
+ } | {
1696
+ output: {
1697
+ error: string;
1698
+ };
1699
+ outputFormat: "json";
1700
+ status: 404;
1701
+ input: {
1702
+ param: {
1703
+ id: string;
1704
+ };
1705
+ };
1706
+ } | {
1707
+ output: {
1708
+ id: string;
1709
+ state: "waiting";
1710
+ url: string;
1711
+ } | {
1712
+ id: string;
1713
+ state: "cancelled" | "connected";
1714
+ } | {
1715
+ id: string;
1716
+ state: "failed";
1717
+ error: string;
1718
+ };
1719
+ outputFormat: "json";
1720
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1449
1721
  input: {
1450
- json: {
1451
- [x: string]: unknown;
1452
- appearance?: {
1453
- accent?: "cezarion" | "lime" | "violet" | undefined;
1454
- density?: "comfortable" | "compact" | "ultra" | undefined;
1455
- width?: "narrow" | "wide" | undefined;
1456
- } | undefined;
1457
- notifications?: {
1458
- [x: string]: unknown;
1459
- enabled?: boolean | undefined;
1460
- } | undefined;
1461
- lastLocation?: {
1462
- projectId: string;
1463
- pathname: string;
1464
- search?: string | undefined;
1465
- hash?: string | undefined;
1466
- } | undefined;
1467
- sidebar?: {
1468
- [x: string]: unknown;
1469
- collapsed?: Record<string, boolean> | undefined;
1470
- projectOrder?: string[] | undefined;
1471
- } | undefined;
1472
- dismissedProviderAuthFailures?: Record<string, string | undefined> | undefined;
1473
- taskTable?: {
1474
- [x: string]: unknown;
1475
- expandedColumns?: Record<string, boolean> | undefined;
1476
- } | undefined;
1722
+ param: {
1723
+ id: string;
1477
1724
  };
1478
1725
  };
1479
1726
  };
@@ -1493,6 +1740,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1493
1740
  looksValid: boolean;
1494
1741
  isDefault: boolean;
1495
1742
  status?: {
1743
+ requiresAccountHome?: boolean | undefined;
1496
1744
  provider: string;
1497
1745
  status: "connected" | "disconnected" | "not-installed" | "unknown";
1498
1746
  enabled?: boolean | undefined;
@@ -1566,6 +1814,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1566
1814
  looksValid: boolean;
1567
1815
  isDefault: boolean;
1568
1816
  status?: {
1817
+ requiresAccountHome?: boolean | undefined;
1569
1818
  provider: string;
1570
1819
  status: "connected" | "disconnected" | "not-installed" | "unknown";
1571
1820
  enabled?: boolean | undefined;
@@ -1681,6 +1930,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1681
1930
  looksValid: boolean;
1682
1931
  isDefault: boolean;
1683
1932
  status?: {
1933
+ requiresAccountHome?: boolean | undefined;
1684
1934
  provider: string;
1685
1935
  status: "connected" | "disconnected" | "not-installed" | "unknown";
1686
1936
  enabled?: boolean | undefined;
@@ -1755,6 +2005,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1755
2005
  } | {
1756
2006
  output: {
1757
2007
  status: {
2008
+ requiresAccountHome?: boolean | undefined;
1758
2009
  provider: string;
1759
2010
  status: "connected" | "disconnected" | "not-installed" | "unknown";
1760
2011
  enabled?: boolean | undefined;
@@ -3056,6 +3307,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3056
3307
  };
3057
3308
  };
3058
3309
  };
3310
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3311
+ "/reports/state": {
3312
+ $get: {
3313
+ output: {
3314
+ error: string;
3315
+ };
3316
+ outputFormat: "json";
3317
+ status: 409;
3318
+ input: {};
3319
+ } | {
3320
+ output: {
3321
+ epoch: string;
3322
+ generation: number;
3323
+ metadataGeneration: number;
3324
+ };
3325
+ outputFormat: "json";
3326
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3327
+ input: {};
3328
+ };
3329
+ };
3330
+ } & {
3331
+ "/reports": {
3332
+ $get: {
3333
+ output: {
3334
+ error: string;
3335
+ code?: "invalid_input" | undefined;
3336
+ };
3337
+ outputFormat: "json";
3338
+ status: 400;
3339
+ input: {
3340
+ query: {
3341
+ q?: string | undefined;
3342
+ before?: string | undefined;
3343
+ limit?: number | undefined;
3344
+ };
3345
+ };
3346
+ } | {
3347
+ output: {
3348
+ error: string;
3349
+ };
3350
+ outputFormat: "json";
3351
+ status: 409;
3352
+ input: {
3353
+ query: {
3354
+ q?: string | undefined;
3355
+ before?: string | undefined;
3356
+ limit?: number | undefined;
3357
+ };
3358
+ };
3359
+ } | {
3360
+ output: {
3361
+ error: string;
3362
+ };
3363
+ outputFormat: "json";
3364
+ status: 400;
3365
+ input: {
3366
+ query: {
3367
+ q?: string | undefined;
3368
+ before?: string | undefined;
3369
+ limit?: number | undefined;
3370
+ };
3371
+ };
3372
+ } | {
3373
+ output: {
3374
+ reports: {
3375
+ id: string;
3376
+ runId: string;
3377
+ name: string;
3378
+ title: string;
3379
+ createdAt: string;
3380
+ size: number;
3381
+ taskTitle: string;
3382
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3383
+ }[];
3384
+ nextCursor: string | null;
3385
+ total: number;
3386
+ };
3387
+ outputFormat: "json";
3388
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3389
+ input: {
3390
+ query: {
3391
+ q?: string | undefined;
3392
+ before?: string | undefined;
3393
+ limit?: number | undefined;
3394
+ };
3395
+ };
3396
+ };
3397
+ };
3059
3398
  }, "/"> | import("hono/types").MergeSchemaPath<{
3060
3399
  "/ui-state": {
3061
3400
  $get: {
@@ -3544,94 +3883,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3544
3883
  };
3545
3884
  };
3546
3885
  };
3547
- }, "/"> | import("hono/types").MergeSchemaPath<{
3548
- "/reports/state": {
3549
- $get: {
3550
- output: {
3551
- error: string;
3552
- };
3553
- outputFormat: "json";
3554
- status: 409;
3555
- input: {};
3556
- } | {
3557
- output: {
3558
- epoch: string;
3559
- generation: number;
3560
- metadataGeneration: number;
3561
- };
3562
- outputFormat: "json";
3563
- status: import("hono/utils/http-status").ContentfulStatusCode;
3564
- input: {};
3565
- };
3566
- };
3567
- } & {
3568
- "/reports": {
3569
- $get: {
3570
- output: {
3571
- error: string;
3572
- code?: "invalid_input" | undefined;
3573
- };
3574
- outputFormat: "json";
3575
- status: 400;
3576
- input: {
3577
- query: {
3578
- q?: string | undefined;
3579
- before?: string | undefined;
3580
- limit?: number | undefined;
3581
- };
3582
- };
3583
- } | {
3584
- output: {
3585
- error: string;
3586
- };
3587
- outputFormat: "json";
3588
- status: 409;
3589
- input: {
3590
- query: {
3591
- q?: string | undefined;
3592
- before?: string | undefined;
3593
- limit?: number | undefined;
3594
- };
3595
- };
3596
- } | {
3597
- output: {
3598
- error: string;
3599
- };
3600
- outputFormat: "json";
3601
- status: 400;
3602
- input: {
3603
- query: {
3604
- q?: string | undefined;
3605
- before?: string | undefined;
3606
- limit?: number | undefined;
3607
- };
3608
- };
3609
- } | {
3610
- output: {
3611
- reports: {
3612
- id: string;
3613
- runId: string;
3614
- name: string;
3615
- title: string;
3616
- createdAt: string;
3617
- size: number;
3618
- taskTitle: string;
3619
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3620
- }[];
3621
- nextCursor: string | null;
3622
- total: number;
3623
- };
3624
- outputFormat: "json";
3625
- status: import("hono/utils/http-status").ContentfulStatusCode;
3626
- input: {
3627
- query: {
3628
- q?: string | undefined;
3629
- before?: string | undefined;
3630
- limit?: number | undefined;
3631
- };
3632
- };
3633
- };
3634
- };
3635
3886
  }, "/"> | import("hono/types").MergeSchemaPath<{
3636
3887
  "/worktrees": {
3637
3888
  $get: {
@@ -8127,22 +8378,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8127
8378
  };
8128
8379
  } | {
8129
8380
  output: {
8130
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8131
- readonly error: string;
8132
- readonly modelChoices?: {
8133
- runner: string;
8134
- requestedModel: string;
8135
- availableModels: {
8136
- id: string;
8137
- label: string;
8138
- description: string;
8139
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8140
- }[];
8141
- otherRunners: string[];
8381
+ workerId: string;
8382
+ state: "complete" | "incomplete";
8383
+ work?: {
8384
+ uncommittedFiles: number;
8385
+ commits: number;
8142
8386
  } | undefined;
8387
+ deleted?: ({
8388
+ kind: "worktree";
8389
+ path: string;
8390
+ } | {
8391
+ kind: "branch";
8392
+ ref: string;
8393
+ })[] | undefined;
8394
+ remaining: ("branch" | "process" | "worktree")[];
8395
+ error?: string | undefined;
8143
8396
  };
8144
8397
  outputFormat: "json";
8145
- status: 400 | 401 | 403 | 409 | 503;
8398
+ status: 200;
8146
8399
  input: {
8147
8400
  query: {
8148
8401
  [x: string]: string | string[];
@@ -8175,7 +8428,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8175
8428
  error?: string | undefined;
8176
8429
  };
8177
8430
  outputFormat: "json";
8178
- status: 200;
8431
+ status: 409;
8179
8432
  input: {
8180
8433
  query: {
8181
8434
  [x: string]: string | string[];
@@ -8191,24 +8444,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8191
8444
  };
8192
8445
  } | {
8193
8446
  output: {
8194
- workerId: string;
8195
- state: "complete" | "incomplete";
8196
- work?: {
8197
- uncommittedFiles: number;
8198
- commits: number;
8447
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8448
+ readonly error: string;
8449
+ readonly modelChoices?: {
8450
+ runner: string;
8451
+ requestedModel: string;
8452
+ availableModels: {
8453
+ id: string;
8454
+ label: string;
8455
+ description: string;
8456
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8457
+ }[];
8458
+ otherRunners: string[];
8199
8459
  } | undefined;
8200
- deleted?: ({
8201
- kind: "worktree";
8202
- path: string;
8203
- } | {
8204
- kind: "branch";
8205
- ref: string;
8206
- })[] | undefined;
8207
- remaining: ("branch" | "process" | "worktree")[];
8208
- error?: string | undefined;
8209
8460
  };
8210
8461
  outputFormat: "json";
8211
- status: 409;
8462
+ status: 400 | 401 | 403 | 409 | 503;
8212
8463
  input: {
8213
8464
  query: {
8214
8465
  [x: string]: string | string[];
@@ -19015,6 +19266,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19015
19266
  };
19016
19267
  };
19017
19268
  };
19269
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19270
+ "/reports/state": {
19271
+ $get: {
19272
+ output: {
19273
+ error: string;
19274
+ };
19275
+ outputFormat: "json";
19276
+ status: 409;
19277
+ input: {};
19278
+ } | {
19279
+ output: {
19280
+ epoch: string;
19281
+ generation: number;
19282
+ metadataGeneration: number;
19283
+ };
19284
+ outputFormat: "json";
19285
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19286
+ input: {};
19287
+ };
19288
+ };
19289
+ } & {
19290
+ "/reports": {
19291
+ $get: {
19292
+ output: {
19293
+ error: string;
19294
+ code?: "invalid_input" | undefined;
19295
+ };
19296
+ outputFormat: "json";
19297
+ status: 400;
19298
+ input: {
19299
+ query: {
19300
+ q?: string | undefined;
19301
+ before?: string | undefined;
19302
+ limit?: number | undefined;
19303
+ };
19304
+ };
19305
+ } | {
19306
+ output: {
19307
+ error: string;
19308
+ };
19309
+ outputFormat: "json";
19310
+ status: 409;
19311
+ input: {
19312
+ query: {
19313
+ q?: string | undefined;
19314
+ before?: string | undefined;
19315
+ limit?: number | undefined;
19316
+ };
19317
+ };
19318
+ } | {
19319
+ output: {
19320
+ error: string;
19321
+ };
19322
+ outputFormat: "json";
19323
+ status: 400;
19324
+ input: {
19325
+ query: {
19326
+ q?: string | undefined;
19327
+ before?: string | undefined;
19328
+ limit?: number | undefined;
19329
+ };
19330
+ };
19331
+ } | {
19332
+ output: {
19333
+ reports: {
19334
+ id: string;
19335
+ runId: string;
19336
+ name: string;
19337
+ title: string;
19338
+ createdAt: string;
19339
+ size: number;
19340
+ taskTitle: string;
19341
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19342
+ }[];
19343
+ nextCursor: string | null;
19344
+ total: number;
19345
+ };
19346
+ outputFormat: "json";
19347
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19348
+ input: {
19349
+ query: {
19350
+ q?: string | undefined;
19351
+ before?: string | undefined;
19352
+ limit?: number | undefined;
19353
+ };
19354
+ };
19355
+ };
19356
+ };
19018
19357
  }, "/"> | import("hono/types").MergeSchemaPath<{
19019
19358
  "/ui-state": {
19020
19359
  $get: {
@@ -19503,94 +19842,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19503
19842
  };
19504
19843
  };
19505
19844
  };
19506
- }, "/"> | import("hono/types").MergeSchemaPath<{
19507
- "/reports/state": {
19508
- $get: {
19509
- output: {
19510
- error: string;
19511
- };
19512
- outputFormat: "json";
19513
- status: 409;
19514
- input: {};
19515
- } | {
19516
- output: {
19517
- epoch: string;
19518
- generation: number;
19519
- metadataGeneration: number;
19520
- };
19521
- outputFormat: "json";
19522
- status: import("hono/utils/http-status").ContentfulStatusCode;
19523
- input: {};
19524
- };
19525
- };
19526
- } & {
19527
- "/reports": {
19528
- $get: {
19529
- output: {
19530
- error: string;
19531
- code?: "invalid_input" | undefined;
19532
- };
19533
- outputFormat: "json";
19534
- status: 400;
19535
- input: {
19536
- query: {
19537
- q?: string | undefined;
19538
- before?: string | undefined;
19539
- limit?: number | undefined;
19540
- };
19541
- };
19542
- } | {
19543
- output: {
19544
- error: string;
19545
- };
19546
- outputFormat: "json";
19547
- status: 409;
19548
- input: {
19549
- query: {
19550
- q?: string | undefined;
19551
- before?: string | undefined;
19552
- limit?: number | undefined;
19553
- };
19554
- };
19555
- } | {
19556
- output: {
19557
- error: string;
19558
- };
19559
- outputFormat: "json";
19560
- status: 400;
19561
- input: {
19562
- query: {
19563
- q?: string | undefined;
19564
- before?: string | undefined;
19565
- limit?: number | undefined;
19566
- };
19567
- };
19568
- } | {
19569
- output: {
19570
- reports: {
19571
- id: string;
19572
- runId: string;
19573
- name: string;
19574
- title: string;
19575
- createdAt: string;
19576
- size: number;
19577
- taskTitle: string;
19578
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19579
- }[];
19580
- nextCursor: string | null;
19581
- total: number;
19582
- };
19583
- outputFormat: "json";
19584
- status: import("hono/utils/http-status").ContentfulStatusCode;
19585
- input: {
19586
- query: {
19587
- q?: string | undefined;
19588
- before?: string | undefined;
19589
- limit?: number | undefined;
19590
- };
19591
- };
19592
- };
19593
- };
19594
19845
  }, "/"> | import("hono/types").MergeSchemaPath<{
19595
19846
  "/worktrees": {
19596
19847
  $get: {
@@ -24086,22 +24337,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24086
24337
  };
24087
24338
  } | {
24088
24339
  output: {
24089
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24090
- readonly error: string;
24091
- readonly modelChoices?: {
24092
- runner: string;
24093
- requestedModel: string;
24094
- availableModels: {
24095
- id: string;
24096
- label: string;
24097
- description: string;
24098
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24099
- }[];
24100
- otherRunners: string[];
24340
+ workerId: string;
24341
+ state: "complete" | "incomplete";
24342
+ work?: {
24343
+ uncommittedFiles: number;
24344
+ commits: number;
24101
24345
  } | undefined;
24346
+ deleted?: ({
24347
+ kind: "worktree";
24348
+ path: string;
24349
+ } | {
24350
+ kind: "branch";
24351
+ ref: string;
24352
+ })[] | undefined;
24353
+ remaining: ("branch" | "process" | "worktree")[];
24354
+ error?: string | undefined;
24102
24355
  };
24103
24356
  outputFormat: "json";
24104
- status: 400 | 401 | 403 | 409 | 503;
24357
+ status: 200;
24105
24358
  input: {
24106
24359
  query: {
24107
24360
  [x: string]: string | string[];
@@ -24134,7 +24387,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24134
24387
  error?: string | undefined;
24135
24388
  };
24136
24389
  outputFormat: "json";
24137
- status: 200;
24390
+ status: 409;
24138
24391
  input: {
24139
24392
  query: {
24140
24393
  [x: string]: string | string[];
@@ -24150,24 +24403,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24150
24403
  };
24151
24404
  } | {
24152
24405
  output: {
24153
- workerId: string;
24154
- state: "complete" | "incomplete";
24155
- work?: {
24156
- uncommittedFiles: number;
24157
- commits: number;
24406
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24407
+ readonly error: string;
24408
+ readonly modelChoices?: {
24409
+ runner: string;
24410
+ requestedModel: string;
24411
+ availableModels: {
24412
+ id: string;
24413
+ label: string;
24414
+ description: string;
24415
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24416
+ }[];
24417
+ otherRunners: string[];
24158
24418
  } | undefined;
24159
- deleted?: ({
24160
- kind: "worktree";
24161
- path: string;
24162
- } | {
24163
- kind: "branch";
24164
- ref: string;
24165
- })[] | undefined;
24166
- remaining: ("branch" | "process" | "worktree")[];
24167
- error?: string | undefined;
24168
24419
  };
24169
24420
  outputFormat: "json";
24170
- status: 409;
24421
+ status: 400 | 401 | 403 | 409 | 503;
24171
24422
  input: {
24172
24423
  query: {
24173
24424
  [x: string]: string | string[];