@hearsay-tools/squawk 0.18.0-pr4147.8005 → 0.18.0-pr4149.8007
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/ci-wait/controller.d.ts +4 -4
- package/dist/delegation/conversations.d.ts +2 -1
- package/dist/delegation/conversations.js +1 -1
- package/dist/delegation/conversations.js.map +1 -1
- package/dist/delegation/transport.d.ts +17 -17
- package/dist/project-migration/live.d.ts +1 -1
- package/dist/project-migration/live.js +1 -1
- package/dist/project-migration/live.js.map +1 -1
- package/dist/runs/archive-family.js +2 -2
- package/dist/runs/archive-family.js.map +1 -1
- package/dist/runs/outcome-commit.js +7 -6
- package/dist/runs/outcome-commit.js.map +1 -1
- package/dist/runs/run-decode.d.ts +3128 -0
- package/dist/runs/run-decode.js +132 -0
- package/dist/runs/run-decode.js.map +1 -0
- package/dist/runs/run-index.d.ts +5 -1
- package/dist/runs/run-index.js +6 -1
- package/dist/runs/run-index.js.map +1 -1
- package/dist/runs/store.d.ts +4 -3131
- package/dist/runs/store.js +4 -132
- package/dist/runs/store.js.map +1 -1
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/server.d.ts +700 -700
- package/dist/server/server.js +1 -2
- package/dist/server/server.js.map +1 -1
- package/dist/workflows/run/opening.d.ts +2 -2
- package/dist/workflows/run/wait-kinds.d.ts +5 -2
- package/dist/workflows/run/wait-kinds.js +21 -17
- package/dist/workflows/run/wait-kinds.js.map +1 -1
- package/dist/workflows/run/workflow-position.d.ts +6 -6
- package/dist/workflows/waits.d.ts +4 -4
- package/dist/workflows/waits.js +7 -4
- package/dist/workflows/waits.js.map +1 -1
- package/package.json +4 -4
- package/dist/runs/wait-helpers.d.ts +0 -28
- package/dist/runs/wait-helpers.js +0 -34
- package/dist/runs/wait-helpers.js.map +0 -1
package/dist/server/server.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { TaskWebhooks } from '../runs/webhook.ts';
|
|
|
12
12
|
import { type detectEnvironment } from '../core/backend-detect.ts';
|
|
13
13
|
import { ProviderAuthService } from '../core/provider-auth.ts';
|
|
14
14
|
import { RunnerModelCatalog } from '../core/runner-model-catalog.ts';
|
|
15
|
-
import {
|
|
15
|
+
import type { RunStore } from '../runs/store.ts';
|
|
16
16
|
import { type BranchForge } from './repo-branches.ts';
|
|
17
17
|
import { loadWorkspaceConfig, mergeWriteWorkspaceConfig } from '../workspace/config.ts';
|
|
18
18
|
import { WorkspaceSemaphore } from '../workspace/semaphore.ts';
|
|
@@ -182,220 +182,6 @@ 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<{
|
|
399
185
|
"/workspace/activity": {
|
|
400
186
|
$get: {
|
|
401
187
|
output: {
|
|
@@ -653,6 +439,220 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
653
439
|
};
|
|
654
440
|
};
|
|
655
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[];
|
|
617
|
+
}[];
|
|
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
|
+
outputFormat: "json";
|
|
647
|
+
status: 400;
|
|
648
|
+
input: {
|
|
649
|
+
query: {
|
|
650
|
+
runner: string | string[];
|
|
651
|
+
profileId?: string | undefined;
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
656
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
657
657
|
"/workspace/runs-index": {
|
|
658
658
|
$get: {
|
|
@@ -948,6 +948,223 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
948
948
|
};
|
|
949
949
|
};
|
|
950
950
|
};
|
|
951
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
952
|
+
"/providers/sign-in/start": {
|
|
953
|
+
$post: {
|
|
954
|
+
output: {
|
|
955
|
+
error: string;
|
|
956
|
+
};
|
|
957
|
+
outputFormat: "json";
|
|
958
|
+
status: 409;
|
|
959
|
+
input: {
|
|
960
|
+
json: {
|
|
961
|
+
provider: string;
|
|
962
|
+
profileId?: string | undefined;
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
} | {
|
|
966
|
+
output: {
|
|
967
|
+
error: string;
|
|
968
|
+
};
|
|
969
|
+
outputFormat: "json";
|
|
970
|
+
status: 400;
|
|
971
|
+
input: {
|
|
972
|
+
json: {
|
|
973
|
+
provider: string;
|
|
974
|
+
profileId?: string | undefined;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
} | {
|
|
978
|
+
output: {
|
|
979
|
+
id: string;
|
|
980
|
+
state: "waiting";
|
|
981
|
+
url: string;
|
|
982
|
+
} | {
|
|
983
|
+
id: string;
|
|
984
|
+
state: "cancelled" | "connected";
|
|
985
|
+
} | {
|
|
986
|
+
id: string;
|
|
987
|
+
state: "failed";
|
|
988
|
+
error: string;
|
|
989
|
+
};
|
|
990
|
+
outputFormat: "json";
|
|
991
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
992
|
+
input: {
|
|
993
|
+
json: {
|
|
994
|
+
provider: string;
|
|
995
|
+
profileId?: string | undefined;
|
|
996
|
+
};
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
} & {
|
|
1001
|
+
"/providers/sign-in/:id": {
|
|
1002
|
+
$get: {
|
|
1003
|
+
output: {
|
|
1004
|
+
error: string;
|
|
1005
|
+
code?: "invalid_input" | undefined;
|
|
1006
|
+
};
|
|
1007
|
+
outputFormat: "json";
|
|
1008
|
+
status: 400;
|
|
1009
|
+
input: {
|
|
1010
|
+
param: {
|
|
1011
|
+
id: string;
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
} | {
|
|
1015
|
+
output: {
|
|
1016
|
+
error: string;
|
|
1017
|
+
};
|
|
1018
|
+
outputFormat: "json";
|
|
1019
|
+
status: 404;
|
|
1020
|
+
input: {
|
|
1021
|
+
param: {
|
|
1022
|
+
id: string;
|
|
1023
|
+
};
|
|
1024
|
+
};
|
|
1025
|
+
} | {
|
|
1026
|
+
output: {
|
|
1027
|
+
id: string;
|
|
1028
|
+
state: "waiting";
|
|
1029
|
+
url: string;
|
|
1030
|
+
} | {
|
|
1031
|
+
id: string;
|
|
1032
|
+
state: "cancelled" | "connected";
|
|
1033
|
+
} | {
|
|
1034
|
+
id: string;
|
|
1035
|
+
state: "failed";
|
|
1036
|
+
error: string;
|
|
1037
|
+
};
|
|
1038
|
+
outputFormat: "json";
|
|
1039
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1040
|
+
input: {
|
|
1041
|
+
param: {
|
|
1042
|
+
id: string;
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
} & {
|
|
1048
|
+
"/providers/sign-in/:id/redirect": {
|
|
1049
|
+
$post: {
|
|
1050
|
+
output: {
|
|
1051
|
+
error: string;
|
|
1052
|
+
code?: "invalid_input" | undefined;
|
|
1053
|
+
};
|
|
1054
|
+
outputFormat: "json";
|
|
1055
|
+
status: 400;
|
|
1056
|
+
input: {
|
|
1057
|
+
param: {
|
|
1058
|
+
id: string;
|
|
1059
|
+
};
|
|
1060
|
+
} & {
|
|
1061
|
+
json: {
|
|
1062
|
+
redirectUrl: string;
|
|
1063
|
+
};
|
|
1064
|
+
};
|
|
1065
|
+
} | {
|
|
1066
|
+
output: {
|
|
1067
|
+
error: string;
|
|
1068
|
+
};
|
|
1069
|
+
outputFormat: "json";
|
|
1070
|
+
status: 404;
|
|
1071
|
+
input: {
|
|
1072
|
+
param: {
|
|
1073
|
+
id: string;
|
|
1074
|
+
};
|
|
1075
|
+
} & {
|
|
1076
|
+
json: {
|
|
1077
|
+
redirectUrl: string;
|
|
1078
|
+
};
|
|
1079
|
+
};
|
|
1080
|
+
} | {
|
|
1081
|
+
output: {
|
|
1082
|
+
error: string;
|
|
1083
|
+
};
|
|
1084
|
+
outputFormat: "json";
|
|
1085
|
+
status: 409;
|
|
1086
|
+
input: {
|
|
1087
|
+
param: {
|
|
1088
|
+
id: string;
|
|
1089
|
+
};
|
|
1090
|
+
} & {
|
|
1091
|
+
json: {
|
|
1092
|
+
redirectUrl: string;
|
|
1093
|
+
};
|
|
1094
|
+
};
|
|
1095
|
+
} | {
|
|
1096
|
+
output: {
|
|
1097
|
+
id: string;
|
|
1098
|
+
state: "waiting";
|
|
1099
|
+
url: string;
|
|
1100
|
+
} | {
|
|
1101
|
+
id: string;
|
|
1102
|
+
state: "cancelled" | "connected";
|
|
1103
|
+
} | {
|
|
1104
|
+
id: string;
|
|
1105
|
+
state: "failed";
|
|
1106
|
+
error: string;
|
|
1107
|
+
};
|
|
1108
|
+
outputFormat: "json";
|
|
1109
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1110
|
+
input: {
|
|
1111
|
+
param: {
|
|
1112
|
+
id: string;
|
|
1113
|
+
};
|
|
1114
|
+
} & {
|
|
1115
|
+
json: {
|
|
1116
|
+
redirectUrl: string;
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
};
|
|
1121
|
+
} & {
|
|
1122
|
+
"/providers/sign-in/:id": {
|
|
1123
|
+
$delete: {
|
|
1124
|
+
output: {
|
|
1125
|
+
error: string;
|
|
1126
|
+
code?: "invalid_input" | undefined;
|
|
1127
|
+
};
|
|
1128
|
+
outputFormat: "json";
|
|
1129
|
+
status: 400;
|
|
1130
|
+
input: {
|
|
1131
|
+
param: {
|
|
1132
|
+
id: string;
|
|
1133
|
+
};
|
|
1134
|
+
};
|
|
1135
|
+
} | {
|
|
1136
|
+
output: {
|
|
1137
|
+
error: string;
|
|
1138
|
+
};
|
|
1139
|
+
outputFormat: "json";
|
|
1140
|
+
status: 404;
|
|
1141
|
+
input: {
|
|
1142
|
+
param: {
|
|
1143
|
+
id: string;
|
|
1144
|
+
};
|
|
1145
|
+
};
|
|
1146
|
+
} | {
|
|
1147
|
+
output: {
|
|
1148
|
+
id: string;
|
|
1149
|
+
state: "waiting";
|
|
1150
|
+
url: string;
|
|
1151
|
+
} | {
|
|
1152
|
+
id: string;
|
|
1153
|
+
state: "cancelled" | "connected";
|
|
1154
|
+
} | {
|
|
1155
|
+
id: string;
|
|
1156
|
+
state: "failed";
|
|
1157
|
+
error: string;
|
|
1158
|
+
};
|
|
1159
|
+
outputFormat: "json";
|
|
1160
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1161
|
+
input: {
|
|
1162
|
+
param: {
|
|
1163
|
+
id: string;
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
951
1168
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
952
1169
|
"/providers/status": {
|
|
953
1170
|
$get: {
|
|
@@ -1465,223 +1682,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
1465
1682
|
};
|
|
1466
1683
|
};
|
|
1467
1684
|
};
|
|
1468
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
1469
|
-
"/providers/sign-in/start": {
|
|
1470
|
-
$post: {
|
|
1471
|
-
output: {
|
|
1472
|
-
error: string;
|
|
1473
|
-
};
|
|
1474
|
-
outputFormat: "json";
|
|
1475
|
-
status: 409;
|
|
1476
|
-
input: {
|
|
1477
|
-
json: {
|
|
1478
|
-
provider: string;
|
|
1479
|
-
profileId?: string | undefined;
|
|
1480
|
-
};
|
|
1481
|
-
};
|
|
1482
|
-
} | {
|
|
1483
|
-
output: {
|
|
1484
|
-
error: string;
|
|
1485
|
-
};
|
|
1486
|
-
outputFormat: "json";
|
|
1487
|
-
status: 400;
|
|
1488
|
-
input: {
|
|
1489
|
-
json: {
|
|
1490
|
-
provider: string;
|
|
1491
|
-
profileId?: string | undefined;
|
|
1492
|
-
};
|
|
1493
|
-
};
|
|
1494
|
-
} | {
|
|
1495
|
-
output: {
|
|
1496
|
-
id: string;
|
|
1497
|
-
state: "waiting";
|
|
1498
|
-
url: string;
|
|
1499
|
-
} | {
|
|
1500
|
-
id: string;
|
|
1501
|
-
state: "cancelled" | "connected";
|
|
1502
|
-
} | {
|
|
1503
|
-
id: string;
|
|
1504
|
-
state: "failed";
|
|
1505
|
-
error: string;
|
|
1506
|
-
};
|
|
1507
|
-
outputFormat: "json";
|
|
1508
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1509
|
-
input: {
|
|
1510
|
-
json: {
|
|
1511
|
-
provider: string;
|
|
1512
|
-
profileId?: string | undefined;
|
|
1513
|
-
};
|
|
1514
|
-
};
|
|
1515
|
-
};
|
|
1516
|
-
};
|
|
1517
|
-
} & {
|
|
1518
|
-
"/providers/sign-in/:id": {
|
|
1519
|
-
$get: {
|
|
1520
|
-
output: {
|
|
1521
|
-
error: string;
|
|
1522
|
-
code?: "invalid_input" | undefined;
|
|
1523
|
-
};
|
|
1524
|
-
outputFormat: "json";
|
|
1525
|
-
status: 400;
|
|
1526
|
-
input: {
|
|
1527
|
-
param: {
|
|
1528
|
-
id: string;
|
|
1529
|
-
};
|
|
1530
|
-
};
|
|
1531
|
-
} | {
|
|
1532
|
-
output: {
|
|
1533
|
-
error: string;
|
|
1534
|
-
};
|
|
1535
|
-
outputFormat: "json";
|
|
1536
|
-
status: 404;
|
|
1537
|
-
input: {
|
|
1538
|
-
param: {
|
|
1539
|
-
id: string;
|
|
1540
|
-
};
|
|
1541
|
-
};
|
|
1542
|
-
} | {
|
|
1543
|
-
output: {
|
|
1544
|
-
id: string;
|
|
1545
|
-
state: "waiting";
|
|
1546
|
-
url: string;
|
|
1547
|
-
} | {
|
|
1548
|
-
id: string;
|
|
1549
|
-
state: "cancelled" | "connected";
|
|
1550
|
-
} | {
|
|
1551
|
-
id: string;
|
|
1552
|
-
state: "failed";
|
|
1553
|
-
error: string;
|
|
1554
|
-
};
|
|
1555
|
-
outputFormat: "json";
|
|
1556
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1557
|
-
input: {
|
|
1558
|
-
param: {
|
|
1559
|
-
id: string;
|
|
1560
|
-
};
|
|
1561
|
-
};
|
|
1562
|
-
};
|
|
1563
|
-
};
|
|
1564
|
-
} & {
|
|
1565
|
-
"/providers/sign-in/:id/redirect": {
|
|
1566
|
-
$post: {
|
|
1567
|
-
output: {
|
|
1568
|
-
error: string;
|
|
1569
|
-
code?: "invalid_input" | undefined;
|
|
1570
|
-
};
|
|
1571
|
-
outputFormat: "json";
|
|
1572
|
-
status: 400;
|
|
1573
|
-
input: {
|
|
1574
|
-
param: {
|
|
1575
|
-
id: string;
|
|
1576
|
-
};
|
|
1577
|
-
} & {
|
|
1578
|
-
json: {
|
|
1579
|
-
redirectUrl: string;
|
|
1580
|
-
};
|
|
1581
|
-
};
|
|
1582
|
-
} | {
|
|
1583
|
-
output: {
|
|
1584
|
-
error: string;
|
|
1585
|
-
};
|
|
1586
|
-
outputFormat: "json";
|
|
1587
|
-
status: 404;
|
|
1588
|
-
input: {
|
|
1589
|
-
param: {
|
|
1590
|
-
id: string;
|
|
1591
|
-
};
|
|
1592
|
-
} & {
|
|
1593
|
-
json: {
|
|
1594
|
-
redirectUrl: string;
|
|
1595
|
-
};
|
|
1596
|
-
};
|
|
1597
|
-
} | {
|
|
1598
|
-
output: {
|
|
1599
|
-
error: string;
|
|
1600
|
-
};
|
|
1601
|
-
outputFormat: "json";
|
|
1602
|
-
status: 409;
|
|
1603
|
-
input: {
|
|
1604
|
-
param: {
|
|
1605
|
-
id: string;
|
|
1606
|
-
};
|
|
1607
|
-
} & {
|
|
1608
|
-
json: {
|
|
1609
|
-
redirectUrl: string;
|
|
1610
|
-
};
|
|
1611
|
-
};
|
|
1612
|
-
} | {
|
|
1613
|
-
output: {
|
|
1614
|
-
id: string;
|
|
1615
|
-
state: "waiting";
|
|
1616
|
-
url: string;
|
|
1617
|
-
} | {
|
|
1618
|
-
id: string;
|
|
1619
|
-
state: "cancelled" | "connected";
|
|
1620
|
-
} | {
|
|
1621
|
-
id: string;
|
|
1622
|
-
state: "failed";
|
|
1623
|
-
error: string;
|
|
1624
|
-
};
|
|
1625
|
-
outputFormat: "json";
|
|
1626
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1627
|
-
input: {
|
|
1628
|
-
param: {
|
|
1629
|
-
id: string;
|
|
1630
|
-
};
|
|
1631
|
-
} & {
|
|
1632
|
-
json: {
|
|
1633
|
-
redirectUrl: string;
|
|
1634
|
-
};
|
|
1635
|
-
};
|
|
1636
|
-
};
|
|
1637
|
-
};
|
|
1638
|
-
} & {
|
|
1639
|
-
"/providers/sign-in/:id": {
|
|
1640
|
-
$delete: {
|
|
1641
|
-
output: {
|
|
1642
|
-
error: string;
|
|
1643
|
-
code?: "invalid_input" | undefined;
|
|
1644
|
-
};
|
|
1645
|
-
outputFormat: "json";
|
|
1646
|
-
status: 400;
|
|
1647
|
-
input: {
|
|
1648
|
-
param: {
|
|
1649
|
-
id: string;
|
|
1650
|
-
};
|
|
1651
|
-
};
|
|
1652
|
-
} | {
|
|
1653
|
-
output: {
|
|
1654
|
-
error: string;
|
|
1655
|
-
};
|
|
1656
|
-
outputFormat: "json";
|
|
1657
|
-
status: 404;
|
|
1658
|
-
input: {
|
|
1659
|
-
param: {
|
|
1660
|
-
id: string;
|
|
1661
|
-
};
|
|
1662
|
-
};
|
|
1663
|
-
} | {
|
|
1664
|
-
output: {
|
|
1665
|
-
id: string;
|
|
1666
|
-
state: "waiting";
|
|
1667
|
-
url: string;
|
|
1668
|
-
} | {
|
|
1669
|
-
id: string;
|
|
1670
|
-
state: "cancelled" | "connected";
|
|
1671
|
-
} | {
|
|
1672
|
-
id: string;
|
|
1673
|
-
state: "failed";
|
|
1674
|
-
error: string;
|
|
1675
|
-
};
|
|
1676
|
-
outputFormat: "json";
|
|
1677
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1678
|
-
input: {
|
|
1679
|
-
param: {
|
|
1680
|
-
id: string;
|
|
1681
|
-
};
|
|
1682
|
-
};
|
|
1683
|
-
};
|
|
1684
|
-
};
|
|
1685
1685
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
1686
1686
|
"/workspace/agent-profiles": {
|
|
1687
1687
|
$get: {
|
|
@@ -3408,6 +3408,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3408
3408
|
};
|
|
3409
3409
|
};
|
|
3410
3410
|
};
|
|
3411
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3412
|
+
"/reports/state": {
|
|
3413
|
+
$get: {
|
|
3414
|
+
output: {
|
|
3415
|
+
error: string;
|
|
3416
|
+
};
|
|
3417
|
+
outputFormat: "json";
|
|
3418
|
+
status: 409;
|
|
3419
|
+
input: {};
|
|
3420
|
+
} | {
|
|
3421
|
+
output: {
|
|
3422
|
+
epoch: string;
|
|
3423
|
+
generation: number;
|
|
3424
|
+
metadataGeneration: number;
|
|
3425
|
+
};
|
|
3426
|
+
outputFormat: "json";
|
|
3427
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3428
|
+
input: {};
|
|
3429
|
+
};
|
|
3430
|
+
};
|
|
3431
|
+
} & {
|
|
3432
|
+
"/reports": {
|
|
3433
|
+
$get: {
|
|
3434
|
+
output: {
|
|
3435
|
+
error: string;
|
|
3436
|
+
code?: "invalid_input" | undefined;
|
|
3437
|
+
};
|
|
3438
|
+
outputFormat: "json";
|
|
3439
|
+
status: 400;
|
|
3440
|
+
input: {
|
|
3441
|
+
query: {
|
|
3442
|
+
q?: string | undefined;
|
|
3443
|
+
before?: string | undefined;
|
|
3444
|
+
limit?: number | undefined;
|
|
3445
|
+
};
|
|
3446
|
+
};
|
|
3447
|
+
} | {
|
|
3448
|
+
output: {
|
|
3449
|
+
error: string;
|
|
3450
|
+
};
|
|
3451
|
+
outputFormat: "json";
|
|
3452
|
+
status: 409;
|
|
3453
|
+
input: {
|
|
3454
|
+
query: {
|
|
3455
|
+
q?: string | undefined;
|
|
3456
|
+
before?: string | undefined;
|
|
3457
|
+
limit?: number | undefined;
|
|
3458
|
+
};
|
|
3459
|
+
};
|
|
3460
|
+
} | {
|
|
3461
|
+
output: {
|
|
3462
|
+
error: string;
|
|
3463
|
+
};
|
|
3464
|
+
outputFormat: "json";
|
|
3465
|
+
status: 400;
|
|
3466
|
+
input: {
|
|
3467
|
+
query: {
|
|
3468
|
+
q?: string | undefined;
|
|
3469
|
+
before?: string | undefined;
|
|
3470
|
+
limit?: number | undefined;
|
|
3471
|
+
};
|
|
3472
|
+
};
|
|
3473
|
+
} | {
|
|
3474
|
+
output: {
|
|
3475
|
+
reports: {
|
|
3476
|
+
id: string;
|
|
3477
|
+
runId: string;
|
|
3478
|
+
name: string;
|
|
3479
|
+
title: string;
|
|
3480
|
+
createdAt: string;
|
|
3481
|
+
size: number;
|
|
3482
|
+
taskTitle: string;
|
|
3483
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3484
|
+
}[];
|
|
3485
|
+
nextCursor: string | null;
|
|
3486
|
+
total: number;
|
|
3487
|
+
};
|
|
3488
|
+
outputFormat: "json";
|
|
3489
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3490
|
+
input: {
|
|
3491
|
+
query: {
|
|
3492
|
+
q?: string | undefined;
|
|
3493
|
+
before?: string | undefined;
|
|
3494
|
+
limit?: number | undefined;
|
|
3495
|
+
};
|
|
3496
|
+
};
|
|
3497
|
+
};
|
|
3498
|
+
};
|
|
3411
3499
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3412
3500
|
"/ui-state": {
|
|
3413
3501
|
$get: {
|
|
@@ -3896,94 +3984,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3896
3984
|
};
|
|
3897
3985
|
};
|
|
3898
3986
|
};
|
|
3899
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3900
|
-
"/reports/state": {
|
|
3901
|
-
$get: {
|
|
3902
|
-
output: {
|
|
3903
|
-
error: string;
|
|
3904
|
-
};
|
|
3905
|
-
outputFormat: "json";
|
|
3906
|
-
status: 409;
|
|
3907
|
-
input: {};
|
|
3908
|
-
} | {
|
|
3909
|
-
output: {
|
|
3910
|
-
epoch: string;
|
|
3911
|
-
generation: number;
|
|
3912
|
-
metadataGeneration: number;
|
|
3913
|
-
};
|
|
3914
|
-
outputFormat: "json";
|
|
3915
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3916
|
-
input: {};
|
|
3917
|
-
};
|
|
3918
|
-
};
|
|
3919
|
-
} & {
|
|
3920
|
-
"/reports": {
|
|
3921
|
-
$get: {
|
|
3922
|
-
output: {
|
|
3923
|
-
error: string;
|
|
3924
|
-
code?: "invalid_input" | undefined;
|
|
3925
|
-
};
|
|
3926
|
-
outputFormat: "json";
|
|
3927
|
-
status: 400;
|
|
3928
|
-
input: {
|
|
3929
|
-
query: {
|
|
3930
|
-
q?: string | undefined;
|
|
3931
|
-
before?: string | undefined;
|
|
3932
|
-
limit?: number | undefined;
|
|
3933
|
-
};
|
|
3934
|
-
};
|
|
3935
|
-
} | {
|
|
3936
|
-
output: {
|
|
3937
|
-
error: string;
|
|
3938
|
-
};
|
|
3939
|
-
outputFormat: "json";
|
|
3940
|
-
status: 409;
|
|
3941
|
-
input: {
|
|
3942
|
-
query: {
|
|
3943
|
-
q?: string | undefined;
|
|
3944
|
-
before?: string | undefined;
|
|
3945
|
-
limit?: number | undefined;
|
|
3946
|
-
};
|
|
3947
|
-
};
|
|
3948
|
-
} | {
|
|
3949
|
-
output: {
|
|
3950
|
-
error: string;
|
|
3951
|
-
};
|
|
3952
|
-
outputFormat: "json";
|
|
3953
|
-
status: 400;
|
|
3954
|
-
input: {
|
|
3955
|
-
query: {
|
|
3956
|
-
q?: string | undefined;
|
|
3957
|
-
before?: string | undefined;
|
|
3958
|
-
limit?: number | undefined;
|
|
3959
|
-
};
|
|
3960
|
-
};
|
|
3961
|
-
} | {
|
|
3962
|
-
output: {
|
|
3963
|
-
reports: {
|
|
3964
|
-
id: string;
|
|
3965
|
-
runId: string;
|
|
3966
|
-
name: string;
|
|
3967
|
-
title: string;
|
|
3968
|
-
createdAt: string;
|
|
3969
|
-
size: number;
|
|
3970
|
-
taskTitle: string;
|
|
3971
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
3972
|
-
}[];
|
|
3973
|
-
nextCursor: string | null;
|
|
3974
|
-
total: number;
|
|
3975
|
-
};
|
|
3976
|
-
outputFormat: "json";
|
|
3977
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
3978
|
-
input: {
|
|
3979
|
-
query: {
|
|
3980
|
-
q?: string | undefined;
|
|
3981
|
-
before?: string | undefined;
|
|
3982
|
-
limit?: number | undefined;
|
|
3983
|
-
};
|
|
3984
|
-
};
|
|
3985
|
-
};
|
|
3986
|
-
};
|
|
3987
3987
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3988
3988
|
"/worktrees": {
|
|
3989
3989
|
$get: {
|
|
@@ -4610,19 +4610,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4610
4610
|
} & {
|
|
4611
4611
|
"/repo/commit/:sha": {
|
|
4612
4612
|
$get: {
|
|
4613
|
-
output: string;
|
|
4614
|
-
outputFormat: "text";
|
|
4615
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4616
|
-
input: {
|
|
4617
|
-
query: {
|
|
4618
|
-
structured?: string | undefined;
|
|
4619
|
-
};
|
|
4620
|
-
} & {
|
|
4621
|
-
param: {
|
|
4622
|
-
sha: string;
|
|
4623
|
-
};
|
|
4624
|
-
};
|
|
4625
|
-
} | {
|
|
4626
4613
|
output: {
|
|
4627
4614
|
error: string;
|
|
4628
4615
|
code?: "invalid_input" | undefined;
|
|
@@ -4686,6 +4673,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4686
4673
|
sha: string;
|
|
4687
4674
|
};
|
|
4688
4675
|
};
|
|
4676
|
+
} | {
|
|
4677
|
+
output: string;
|
|
4678
|
+
outputFormat: "text";
|
|
4679
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4680
|
+
input: {
|
|
4681
|
+
query: {
|
|
4682
|
+
structured?: string | undefined;
|
|
4683
|
+
};
|
|
4684
|
+
} & {
|
|
4685
|
+
param: {
|
|
4686
|
+
sha: string;
|
|
4687
|
+
};
|
|
4688
|
+
};
|
|
4689
4689
|
};
|
|
4690
4690
|
};
|
|
4691
4691
|
} & {
|
|
@@ -8459,11 +8459,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8459
8459
|
"/runs/:id/worker-destroy": {
|
|
8460
8460
|
$post: {
|
|
8461
8461
|
output: {
|
|
8462
|
-
|
|
8463
|
-
|
|
8462
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8463
|
+
readonly error: string;
|
|
8464
|
+
readonly modelChoices?: {
|
|
8465
|
+
runner: string;
|
|
8466
|
+
requestedModel: string;
|
|
8467
|
+
availableModels: {
|
|
8468
|
+
id: string;
|
|
8469
|
+
label: string;
|
|
8470
|
+
description: string;
|
|
8471
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8472
|
+
}[];
|
|
8473
|
+
otherRunners: string[];
|
|
8474
|
+
} | undefined;
|
|
8464
8475
|
};
|
|
8465
8476
|
outputFormat: "json";
|
|
8466
|
-
status: 400;
|
|
8477
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8467
8478
|
input: {
|
|
8468
8479
|
query: {
|
|
8469
8480
|
[x: string]: string | string[];
|
|
@@ -8479,22 +8490,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8479
8490
|
};
|
|
8480
8491
|
} | {
|
|
8481
8492
|
output: {
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
readonly modelChoices?: {
|
|
8485
|
-
runner: string;
|
|
8486
|
-
requestedModel: string;
|
|
8487
|
-
availableModels: {
|
|
8488
|
-
id: string;
|
|
8489
|
-
label: string;
|
|
8490
|
-
description: string;
|
|
8491
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8492
|
-
}[];
|
|
8493
|
-
otherRunners: string[];
|
|
8494
|
-
} | undefined;
|
|
8493
|
+
error: string;
|
|
8494
|
+
code?: "invalid_input" | undefined;
|
|
8495
8495
|
};
|
|
8496
8496
|
outputFormat: "json";
|
|
8497
|
-
status: 400
|
|
8497
|
+
status: 400;
|
|
8498
8498
|
input: {
|
|
8499
8499
|
query: {
|
|
8500
8500
|
[x: string]: string | string[];
|
|
@@ -18487,20 +18487,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18487
18487
|
} & {
|
|
18488
18488
|
"/runs/:id/handoff": {
|
|
18489
18489
|
$get: {
|
|
18490
|
-
output:
|
|
18491
|
-
|
|
18492
|
-
|
|
18490
|
+
output: {
|
|
18491
|
+
error: string;
|
|
18492
|
+
};
|
|
18493
|
+
outputFormat: "json";
|
|
18494
|
+
status: 404;
|
|
18493
18495
|
input: {
|
|
18494
18496
|
param: {
|
|
18495
18497
|
id: string;
|
|
18496
18498
|
};
|
|
18497
18499
|
};
|
|
18498
18500
|
} | {
|
|
18499
|
-
output:
|
|
18500
|
-
|
|
18501
|
-
|
|
18502
|
-
outputFormat: "json";
|
|
18503
|
-
status: 404;
|
|
18501
|
+
output: string;
|
|
18502
|
+
outputFormat: "text";
|
|
18503
|
+
status: 200;
|
|
18504
18504
|
input: {
|
|
18505
18505
|
param: {
|
|
18506
18506
|
id: string;
|
|
@@ -18538,20 +18538,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18538
18538
|
} & {
|
|
18539
18539
|
"/runs/:id/diff": {
|
|
18540
18540
|
$get: {
|
|
18541
|
-
output:
|
|
18542
|
-
|
|
18543
|
-
|
|
18541
|
+
output: {
|
|
18542
|
+
error: string;
|
|
18543
|
+
};
|
|
18544
|
+
outputFormat: "json";
|
|
18545
|
+
status: 404 | 409;
|
|
18544
18546
|
input: {
|
|
18545
18547
|
param: {
|
|
18546
18548
|
id: string;
|
|
18547
18549
|
};
|
|
18548
18550
|
};
|
|
18549
18551
|
} | {
|
|
18550
|
-
output:
|
|
18551
|
-
|
|
18552
|
-
|
|
18553
|
-
outputFormat: "json";
|
|
18554
|
-
status: 404 | 409;
|
|
18552
|
+
output: string;
|
|
18553
|
+
outputFormat: "text";
|
|
18554
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18555
18555
|
input: {
|
|
18556
18556
|
param: {
|
|
18557
18557
|
id: string;
|
|
@@ -19369,6 +19369,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19369
19369
|
};
|
|
19370
19370
|
};
|
|
19371
19371
|
};
|
|
19372
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19373
|
+
"/reports/state": {
|
|
19374
|
+
$get: {
|
|
19375
|
+
output: {
|
|
19376
|
+
error: string;
|
|
19377
|
+
};
|
|
19378
|
+
outputFormat: "json";
|
|
19379
|
+
status: 409;
|
|
19380
|
+
input: {};
|
|
19381
|
+
} | {
|
|
19382
|
+
output: {
|
|
19383
|
+
epoch: string;
|
|
19384
|
+
generation: number;
|
|
19385
|
+
metadataGeneration: number;
|
|
19386
|
+
};
|
|
19387
|
+
outputFormat: "json";
|
|
19388
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19389
|
+
input: {};
|
|
19390
|
+
};
|
|
19391
|
+
};
|
|
19392
|
+
} & {
|
|
19393
|
+
"/reports": {
|
|
19394
|
+
$get: {
|
|
19395
|
+
output: {
|
|
19396
|
+
error: string;
|
|
19397
|
+
code?: "invalid_input" | undefined;
|
|
19398
|
+
};
|
|
19399
|
+
outputFormat: "json";
|
|
19400
|
+
status: 400;
|
|
19401
|
+
input: {
|
|
19402
|
+
query: {
|
|
19403
|
+
q?: string | undefined;
|
|
19404
|
+
before?: string | undefined;
|
|
19405
|
+
limit?: number | undefined;
|
|
19406
|
+
};
|
|
19407
|
+
};
|
|
19408
|
+
} | {
|
|
19409
|
+
output: {
|
|
19410
|
+
error: string;
|
|
19411
|
+
};
|
|
19412
|
+
outputFormat: "json";
|
|
19413
|
+
status: 409;
|
|
19414
|
+
input: {
|
|
19415
|
+
query: {
|
|
19416
|
+
q?: string | undefined;
|
|
19417
|
+
before?: string | undefined;
|
|
19418
|
+
limit?: number | undefined;
|
|
19419
|
+
};
|
|
19420
|
+
};
|
|
19421
|
+
} | {
|
|
19422
|
+
output: {
|
|
19423
|
+
error: string;
|
|
19424
|
+
};
|
|
19425
|
+
outputFormat: "json";
|
|
19426
|
+
status: 400;
|
|
19427
|
+
input: {
|
|
19428
|
+
query: {
|
|
19429
|
+
q?: string | undefined;
|
|
19430
|
+
before?: string | undefined;
|
|
19431
|
+
limit?: number | undefined;
|
|
19432
|
+
};
|
|
19433
|
+
};
|
|
19434
|
+
} | {
|
|
19435
|
+
output: {
|
|
19436
|
+
reports: {
|
|
19437
|
+
id: string;
|
|
19438
|
+
runId: string;
|
|
19439
|
+
name: string;
|
|
19440
|
+
title: string;
|
|
19441
|
+
createdAt: string;
|
|
19442
|
+
size: number;
|
|
19443
|
+
taskTitle: string;
|
|
19444
|
+
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
19445
|
+
}[];
|
|
19446
|
+
nextCursor: string | null;
|
|
19447
|
+
total: number;
|
|
19448
|
+
};
|
|
19449
|
+
outputFormat: "json";
|
|
19450
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19451
|
+
input: {
|
|
19452
|
+
query: {
|
|
19453
|
+
q?: string | undefined;
|
|
19454
|
+
before?: string | undefined;
|
|
19455
|
+
limit?: number | undefined;
|
|
19456
|
+
};
|
|
19457
|
+
};
|
|
19458
|
+
};
|
|
19459
|
+
};
|
|
19372
19460
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19373
19461
|
"/ui-state": {
|
|
19374
19462
|
$get: {
|
|
@@ -19857,94 +19945,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19857
19945
|
};
|
|
19858
19946
|
};
|
|
19859
19947
|
};
|
|
19860
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19861
|
-
"/reports/state": {
|
|
19862
|
-
$get: {
|
|
19863
|
-
output: {
|
|
19864
|
-
error: string;
|
|
19865
|
-
};
|
|
19866
|
-
outputFormat: "json";
|
|
19867
|
-
status: 409;
|
|
19868
|
-
input: {};
|
|
19869
|
-
} | {
|
|
19870
|
-
output: {
|
|
19871
|
-
epoch: string;
|
|
19872
|
-
generation: number;
|
|
19873
|
-
metadataGeneration: number;
|
|
19874
|
-
};
|
|
19875
|
-
outputFormat: "json";
|
|
19876
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19877
|
-
input: {};
|
|
19878
|
-
};
|
|
19879
|
-
};
|
|
19880
|
-
} & {
|
|
19881
|
-
"/reports": {
|
|
19882
|
-
$get: {
|
|
19883
|
-
output: {
|
|
19884
|
-
error: string;
|
|
19885
|
-
code?: "invalid_input" | undefined;
|
|
19886
|
-
};
|
|
19887
|
-
outputFormat: "json";
|
|
19888
|
-
status: 400;
|
|
19889
|
-
input: {
|
|
19890
|
-
query: {
|
|
19891
|
-
q?: string | undefined;
|
|
19892
|
-
before?: string | undefined;
|
|
19893
|
-
limit?: number | undefined;
|
|
19894
|
-
};
|
|
19895
|
-
};
|
|
19896
|
-
} | {
|
|
19897
|
-
output: {
|
|
19898
|
-
error: string;
|
|
19899
|
-
};
|
|
19900
|
-
outputFormat: "json";
|
|
19901
|
-
status: 409;
|
|
19902
|
-
input: {
|
|
19903
|
-
query: {
|
|
19904
|
-
q?: string | undefined;
|
|
19905
|
-
before?: string | undefined;
|
|
19906
|
-
limit?: number | undefined;
|
|
19907
|
-
};
|
|
19908
|
-
};
|
|
19909
|
-
} | {
|
|
19910
|
-
output: {
|
|
19911
|
-
error: string;
|
|
19912
|
-
};
|
|
19913
|
-
outputFormat: "json";
|
|
19914
|
-
status: 400;
|
|
19915
|
-
input: {
|
|
19916
|
-
query: {
|
|
19917
|
-
q?: string | undefined;
|
|
19918
|
-
before?: string | undefined;
|
|
19919
|
-
limit?: number | undefined;
|
|
19920
|
-
};
|
|
19921
|
-
};
|
|
19922
|
-
} | {
|
|
19923
|
-
output: {
|
|
19924
|
-
reports: {
|
|
19925
|
-
id: string;
|
|
19926
|
-
runId: string;
|
|
19927
|
-
name: string;
|
|
19928
|
-
title: string;
|
|
19929
|
-
createdAt: string;
|
|
19930
|
-
size: number;
|
|
19931
|
-
taskTitle: string;
|
|
19932
|
-
taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
19933
|
-
}[];
|
|
19934
|
-
nextCursor: string | null;
|
|
19935
|
-
total: number;
|
|
19936
|
-
};
|
|
19937
|
-
outputFormat: "json";
|
|
19938
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19939
|
-
input: {
|
|
19940
|
-
query: {
|
|
19941
|
-
q?: string | undefined;
|
|
19942
|
-
before?: string | undefined;
|
|
19943
|
-
limit?: number | undefined;
|
|
19944
|
-
};
|
|
19945
|
-
};
|
|
19946
|
-
};
|
|
19947
|
-
};
|
|
19948
19948
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
19949
19949
|
"/worktrees": {
|
|
19950
19950
|
$get: {
|
|
@@ -20571,19 +20571,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20571
20571
|
} & {
|
|
20572
20572
|
"/repo/commit/:sha": {
|
|
20573
20573
|
$get: {
|
|
20574
|
-
output: string;
|
|
20575
|
-
outputFormat: "text";
|
|
20576
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20577
|
-
input: {
|
|
20578
|
-
query: {
|
|
20579
|
-
structured?: string | undefined;
|
|
20580
|
-
};
|
|
20581
|
-
} & {
|
|
20582
|
-
param: {
|
|
20583
|
-
sha: string;
|
|
20584
|
-
};
|
|
20585
|
-
};
|
|
20586
|
-
} | {
|
|
20587
20574
|
output: {
|
|
20588
20575
|
error: string;
|
|
20589
20576
|
code?: "invalid_input" | undefined;
|
|
@@ -20647,6 +20634,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20647
20634
|
sha: string;
|
|
20648
20635
|
};
|
|
20649
20636
|
};
|
|
20637
|
+
} | {
|
|
20638
|
+
output: string;
|
|
20639
|
+
outputFormat: "text";
|
|
20640
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20641
|
+
input: {
|
|
20642
|
+
query: {
|
|
20643
|
+
structured?: string | undefined;
|
|
20644
|
+
};
|
|
20645
|
+
} & {
|
|
20646
|
+
param: {
|
|
20647
|
+
sha: string;
|
|
20648
|
+
};
|
|
20649
|
+
};
|
|
20650
20650
|
};
|
|
20651
20651
|
};
|
|
20652
20652
|
} & {
|
|
@@ -24420,11 +24420,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24420
24420
|
"/runs/:id/worker-destroy": {
|
|
24421
24421
|
$post: {
|
|
24422
24422
|
output: {
|
|
24423
|
-
|
|
24424
|
-
|
|
24423
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
24424
|
+
readonly error: string;
|
|
24425
|
+
readonly modelChoices?: {
|
|
24426
|
+
runner: string;
|
|
24427
|
+
requestedModel: string;
|
|
24428
|
+
availableModels: {
|
|
24429
|
+
id: string;
|
|
24430
|
+
label: string;
|
|
24431
|
+
description: string;
|
|
24432
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24433
|
+
}[];
|
|
24434
|
+
otherRunners: string[];
|
|
24435
|
+
} | undefined;
|
|
24425
24436
|
};
|
|
24426
24437
|
outputFormat: "json";
|
|
24427
|
-
status: 400;
|
|
24438
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
24428
24439
|
input: {
|
|
24429
24440
|
query: {
|
|
24430
24441
|
[x: string]: string | string[];
|
|
@@ -24440,22 +24451,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
24440
24451
|
};
|
|
24441
24452
|
} | {
|
|
24442
24453
|
output: {
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
readonly modelChoices?: {
|
|
24446
|
-
runner: string;
|
|
24447
|
-
requestedModel: string;
|
|
24448
|
-
availableModels: {
|
|
24449
|
-
id: string;
|
|
24450
|
-
label: string;
|
|
24451
|
-
description: string;
|
|
24452
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
24453
|
-
}[];
|
|
24454
|
-
otherRunners: string[];
|
|
24455
|
-
} | undefined;
|
|
24454
|
+
error: string;
|
|
24455
|
+
code?: "invalid_input" | undefined;
|
|
24456
24456
|
};
|
|
24457
24457
|
outputFormat: "json";
|
|
24458
|
-
status: 400
|
|
24458
|
+
status: 400;
|
|
24459
24459
|
input: {
|
|
24460
24460
|
query: {
|
|
24461
24461
|
[x: string]: string | string[];
|
|
@@ -34448,20 +34448,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34448
34448
|
} & {
|
|
34449
34449
|
"/runs/:id/handoff": {
|
|
34450
34450
|
$get: {
|
|
34451
|
-
output:
|
|
34452
|
-
|
|
34453
|
-
|
|
34451
|
+
output: {
|
|
34452
|
+
error: string;
|
|
34453
|
+
};
|
|
34454
|
+
outputFormat: "json";
|
|
34455
|
+
status: 404;
|
|
34454
34456
|
input: {
|
|
34455
34457
|
param: {
|
|
34456
34458
|
id: string;
|
|
34457
34459
|
};
|
|
34458
34460
|
};
|
|
34459
34461
|
} | {
|
|
34460
|
-
output:
|
|
34461
|
-
|
|
34462
|
-
|
|
34463
|
-
outputFormat: "json";
|
|
34464
|
-
status: 404;
|
|
34462
|
+
output: string;
|
|
34463
|
+
outputFormat: "text";
|
|
34464
|
+
status: 200;
|
|
34465
34465
|
input: {
|
|
34466
34466
|
param: {
|
|
34467
34467
|
id: string;
|
|
@@ -34499,20 +34499,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34499
34499
|
} & {
|
|
34500
34500
|
"/runs/:id/diff": {
|
|
34501
34501
|
$get: {
|
|
34502
|
-
output:
|
|
34503
|
-
|
|
34504
|
-
|
|
34502
|
+
output: {
|
|
34503
|
+
error: string;
|
|
34504
|
+
};
|
|
34505
|
+
outputFormat: "json";
|
|
34506
|
+
status: 404 | 409;
|
|
34505
34507
|
input: {
|
|
34506
34508
|
param: {
|
|
34507
34509
|
id: string;
|
|
34508
34510
|
};
|
|
34509
34511
|
};
|
|
34510
34512
|
} | {
|
|
34511
|
-
output:
|
|
34512
|
-
|
|
34513
|
-
|
|
34514
|
-
outputFormat: "json";
|
|
34515
|
-
status: 404 | 409;
|
|
34513
|
+
output: string;
|
|
34514
|
+
outputFormat: "text";
|
|
34515
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
34516
34516
|
input: {
|
|
34517
34517
|
param: {
|
|
34518
34518
|
id: string;
|