@hearsay-tools/squawk 0.18.0-dev.8576 → 0.18.0-dev.8585

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.
@@ -58,29 +58,6 @@ export declare function ciProgressPlugs(): {
58
58
  export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
59
59
  "/workspace/activity": {
60
60
  $get: {
61
- output: {
62
- error: string;
63
- code?: "invalid_input" | undefined;
64
- };
65
- outputFormat: "json";
66
- status: 400;
67
- input: {
68
- query: {
69
- project?: string | undefined;
70
- };
71
- };
72
- } | {
73
- output: {
74
- error: string;
75
- };
76
- outputFormat: "json";
77
- status: 404 | 409 | 503;
78
- input: {
79
- query: {
80
- project?: string | undefined;
81
- };
82
- };
83
- } | {
84
61
  output: {
85
62
  generatedAt: string;
86
63
  projects: {
@@ -327,6 +304,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
327
304
  project?: string | undefined;
328
305
  };
329
306
  };
307
+ } | {
308
+ output: {
309
+ error: string;
310
+ code?: "invalid_input" | undefined;
311
+ };
312
+ outputFormat: "json";
313
+ status: 400;
314
+ input: {
315
+ query: {
316
+ project?: string | undefined;
317
+ };
318
+ };
319
+ } | {
320
+ output: {
321
+ error: string;
322
+ };
323
+ outputFormat: "json";
324
+ status: 404 | 409 | 503;
325
+ input: {
326
+ query: {
327
+ project?: string | undefined;
328
+ };
329
+ };
330
330
  };
331
331
  };
332
332
  }, "/", "/workspace/activity">;
@@ -22,6 +22,18 @@ export declare function createModelsRoutes(options: {
22
22
  profileId?: string | undefined;
23
23
  };
24
24
  };
25
+ } | {
26
+ output: {
27
+ error: string;
28
+ };
29
+ outputFormat: "json";
30
+ status: 400;
31
+ input: {
32
+ query: {
33
+ runner: string | string[];
34
+ profileId?: string | undefined;
35
+ };
36
+ };
25
37
  } | {
26
38
  output: {
27
39
  runner: string;
@@ -43,18 +55,6 @@ export declare function createModelsRoutes(options: {
43
55
  profileId?: string | undefined;
44
56
  };
45
57
  };
46
- } | {
47
- output: {
48
- error: string;
49
- };
50
- outputFormat: "json";
51
- status: 400;
52
- input: {
53
- query: {
54
- runner: string | string[];
55
- profileId?: string | undefined;
56
- };
57
- };
58
58
  };
59
59
  };
60
60
  }, "/", "/models">;
@@ -70,18 +70,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
70
70
  };
71
71
  } | {
72
72
  output: {
73
- providers: {
74
- requiresAccountHome?: boolean | undefined;
75
- provider: string;
76
- status: "connected" | "disconnected" | "not-installed" | "unknown";
77
- enabled?: boolean | undefined;
78
- hint?: string | undefined;
79
- authFailureId?: string | undefined;
80
- profileId?: string | undefined;
81
- }[];
73
+ error: string;
82
74
  };
83
75
  outputFormat: "json";
84
- status: import("hono/utils/http-status").ContentfulStatusCode;
76
+ status: 500;
85
77
  input: {
86
78
  param: {
87
79
  provider: string;
@@ -93,10 +85,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
93
85
  };
94
86
  } | {
95
87
  output: {
96
- error: string;
88
+ providers: {
89
+ requiresAccountHome?: boolean | undefined;
90
+ provider: string;
91
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
92
+ enabled?: boolean | undefined;
93
+ hint?: string | undefined;
94
+ authFailureId?: string | undefined;
95
+ profileId?: string | undefined;
96
+ }[];
97
97
  };
98
98
  outputFormat: "json";
99
- status: 500;
99
+ status: import("hono/utils/http-status").ContentfulStatusCode;
100
100
  input: {
101
101
  param: {
102
102
  provider: string;
@@ -128,18 +128,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
128
128
  };
129
129
  } | {
130
130
  output: {
131
- providers: {
132
- requiresAccountHome?: boolean | undefined;
133
- provider: string;
134
- status: "connected" | "disconnected" | "not-installed" | "unknown";
135
- enabled?: boolean | undefined;
136
- hint?: string | undefined;
137
- authFailureId?: string | undefined;
138
- profileId?: string | undefined;
139
- }[];
131
+ error: string;
140
132
  };
141
133
  outputFormat: "json";
142
- status: import("hono/utils/http-status").ContentfulStatusCode;
134
+ status: 409;
143
135
  input: {
144
136
  param: {
145
137
  provider: string;
@@ -151,10 +143,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
151
143
  };
152
144
  } | {
153
145
  output: {
154
- error: string;
146
+ providers: {
147
+ requiresAccountHome?: boolean | undefined;
148
+ provider: string;
149
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
150
+ enabled?: boolean | undefined;
151
+ hint?: string | undefined;
152
+ authFailureId?: string | undefined;
153
+ profileId?: string | undefined;
154
+ }[];
155
155
  };
156
156
  outputFormat: "json";
157
- status: 409;
157
+ status: import("hono/utils/http-status").ContentfulStatusCode;
158
158
  input: {
159
159
  param: {
160
160
  provider: string;
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
173
173
  error: string;
174
174
  };
175
175
  outputFormat: "json";
176
- status: 409;
176
+ status: 400;
177
177
  input: {
178
178
  json: {
179
179
  provider: string;
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
185
185
  error: string;
186
186
  };
187
187
  outputFormat: "json";
188
- status: 400;
188
+ status: 409;
189
189
  input: {
190
190
  json: {
191
191
  provider: string;
@@ -290,10 +290,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
290
290
  "/workspace/agent-profiles": {
291
291
  $post: {
292
292
  output: {
293
- error: string;
293
+ profile: {
294
+ id: string;
295
+ provider: string;
296
+ label: string;
297
+ configDir?: string | undefined;
298
+ path?: string | undefined;
299
+ exists: boolean;
300
+ looksValid: boolean;
301
+ isDefault: boolean;
302
+ status?: {
303
+ requiresAccountHome?: boolean | undefined;
304
+ provider: string;
305
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
306
+ enabled?: boolean | undefined;
307
+ hint?: string | undefined;
308
+ authFailureId?: string | undefined;
309
+ profileId?: string | undefined;
310
+ } | undefined;
311
+ };
294
312
  };
295
313
  outputFormat: "json";
296
- status: 409;
314
+ status: 201;
297
315
  input: {
298
316
  json: {
299
317
  provider: string;
@@ -319,7 +337,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
319
337
  error: string;
320
338
  };
321
339
  outputFormat: "json";
322
- status: 500;
340
+ status: 409;
323
341
  input: {
324
342
  json: {
325
343
  provider: string;
@@ -329,28 +347,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
329
347
  };
330
348
  } | {
331
349
  output: {
332
- profile: {
333
- id: string;
334
- provider: string;
335
- label: string;
336
- configDir?: string | undefined;
337
- path?: string | undefined;
338
- exists: boolean;
339
- looksValid: boolean;
340
- isDefault: boolean;
341
- status?: {
342
- requiresAccountHome?: boolean | undefined;
343
- provider: string;
344
- status: "connected" | "disconnected" | "not-installed" | "unknown";
345
- enabled?: boolean | undefined;
346
- hint?: string | undefined;
347
- authFailureId?: string | undefined;
348
- profileId?: string | undefined;
349
- } | undefined;
350
- };
350
+ error: string;
351
351
  };
352
352
  outputFormat: "json";
353
- status: 201;
353
+ status: 500;
354
354
  input: {
355
355
  json: {
356
356
  provider: string;
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
384
384
  error: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 409;
387
+ status: 400;
388
388
  input: {
389
389
  param: {
390
390
  id: string;
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
400
400
  error: string;
401
401
  };
402
402
  outputFormat: "json";
403
- status: 400;
403
+ status: 404;
404
404
  input: {
405
405
  param: {
406
406
  id: string;
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
416
416
  error: string;
417
417
  };
418
418
  outputFormat: "json";
419
- status: 404;
419
+ status: 409;
420
420
  input: {
421
421
  param: {
422
422
  id: string;
@@ -544,7 +544,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
544
544
  error: string;
545
545
  };
546
546
  outputFormat: "json";
547
- status: 404;
547
+ status: 400;
548
548
  input: {
549
549
  json: {
550
550
  projectId: string;
@@ -557,7 +557,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
557
557
  error: string;
558
558
  };
559
559
  outputFormat: "json";
560
- status: 400;
560
+ status: 404;
561
561
  input: {
562
562
  json: {
563
563
  projectId: string;
@@ -621,7 +621,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
621
621
  error: string;
622
622
  };
623
623
  outputFormat: "json";
624
- status: 409;
624
+ status: 404;
625
625
  input: {
626
626
  param: {
627
627
  id: string;
@@ -632,7 +632,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
632
632
  error: string;
633
633
  };
634
634
  outputFormat: "json";
635
- status: 500;
635
+ status: 409;
636
636
  input: {
637
637
  param: {
638
638
  id: string;
@@ -643,7 +643,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
643
643
  error: string;
644
644
  };
645
645
  outputFormat: "json";
646
- status: 404;
646
+ status: 500;
647
647
  input: {
648
648
  param: {
649
649
  id: string;
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
31
31
  error: string;
32
32
  };
33
33
  outputFormat: "json";
34
- status: 409;
34
+ status: 400;
35
35
  input: {
36
36
  json: {
37
37
  target: string;
@@ -42,7 +42,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
42
42
  error: string;
43
43
  };
44
44
  outputFormat: "json";
45
- status: 400;
45
+ status: 409;
46
46
  input: {
47
47
  json: {
48
48
  target: string;
@@ -120,10 +120,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
120
120
  };
121
121
  } | {
122
122
  output: {
123
- error: string;
123
+ runId: string;
124
+ worktreeReclaimedAt: string;
124
125
  };
125
126
  outputFormat: "json";
126
- status: 404 | 409;
127
+ status: import("hono/utils/http-status").ContentfulStatusCode;
127
128
  input: {
128
129
  param: {
129
130
  runId: string;
@@ -131,11 +132,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
131
132
  };
132
133
  } | {
133
134
  output: {
134
- runId: string;
135
- worktreeReclaimedAt: string;
135
+ error: string;
136
136
  };
137
137
  outputFormat: "json";
138
- status: import("hono/utils/http-status").ContentfulStatusCode;
138
+ status: 404 | 409;
139
139
  input: {
140
140
  param: {
141
141
  runId: string;
@@ -267,14 +267,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
267
267
  "/repo/branches/delete": {
268
268
  $post: {
269
269
  output: {
270
- error: string;
270
+ deleted: string[];
271
271
  refused: {
272
272
  name: string;
273
273
  reason: string;
274
274
  }[];
275
+ dropped?: {
276
+ sha: string;
277
+ subject: string;
278
+ }[] | undefined;
275
279
  };
276
280
  outputFormat: "json";
277
- status: 409;
281
+ status: 200;
278
282
  input: {
279
283
  json: {
280
284
  names: string[];
@@ -283,18 +287,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
283
287
  };
284
288
  } | {
285
289
  output: {
286
- deleted: string[];
290
+ error: string;
287
291
  refused: {
288
292
  name: string;
289
293
  reason: string;
290
294
  }[];
291
- dropped?: {
292
- sha: string;
293
- subject: string;
294
- }[] | undefined;
295
295
  };
296
296
  outputFormat: "json";
297
- status: 200;
297
+ status: 409;
298
298
  input: {
299
299
  json: {
300
300
  names: string[];
@@ -451,10 +451,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
451
451
  "/repo/pull": {
452
452
  $post: {
453
453
  output: {
454
- error: string;
454
+ branch: string;
455
+ pulled: true;
456
+ summary: string;
455
457
  };
456
458
  outputFormat: "json";
457
- status: 409;
459
+ status: 200;
458
460
  input: {
459
461
  json: {
460
462
  branch?: string | undefined;
@@ -463,12 +465,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
463
465
  };
464
466
  } | {
465
467
  output: {
466
- branch: string;
467
- pulled: true;
468
- summary: string;
468
+ error: string;
469
469
  };
470
470
  outputFormat: "json";
471
- status: 200;
471
+ status: 409;
472
472
  input: {
473
473
  json: {
474
474
  branch?: string | undefined;
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
40
40
  error: string;
41
41
  };
42
42
  outputFormat: "json";
43
- status: 409;
43
+ status: 400;
44
44
  input: {
45
45
  query: {
46
46
  q?: string | undefined;
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
53
53
  error: string;
54
54
  };
55
55
  outputFormat: "json";
56
- status: 400;
56
+ status: 409;
57
57
  input: {
58
58
  query: {
59
59
  q?: string | undefined;
@@ -12300,20 +12300,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12300
12300
  } & {
12301
12301
  "/runs/:id/handoff": {
12302
12302
  $get: {
12303
- output: {
12304
- error: string;
12305
- };
12306
- outputFormat: "json";
12307
- status: 404;
12303
+ output: string;
12304
+ outputFormat: "text";
12305
+ status: 200;
12308
12306
  input: {
12309
12307
  param: {
12310
12308
  id: string;
12311
12309
  };
12312
12310
  };
12313
12311
  } | {
12314
- output: string;
12315
- outputFormat: "text";
12316
- status: 200;
12312
+ output: {
12313
+ error: string;
12314
+ };
12315
+ outputFormat: "json";
12316
+ status: 404;
12317
12317
  input: {
12318
12318
  param: {
12319
12319
  id: string;
@@ -12351,20 +12351,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12351
12351
  } & {
12352
12352
  "/runs/:id/diff": {
12353
12353
  $get: {
12354
- output: {
12355
- error: string;
12356
- };
12357
- outputFormat: "json";
12358
- status: 404 | 409;
12354
+ output: string;
12355
+ outputFormat: "text";
12356
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12359
12357
  input: {
12360
12358
  param: {
12361
12359
  id: string;
12362
12360
  };
12363
12361
  };
12364
12362
  } | {
12365
- output: string;
12366
- outputFormat: "text";
12367
- status: import("hono/utils/http-status").ContentfulStatusCode;
12363
+ output: {
12364
+ error: string;
12365
+ };
12366
+ outputFormat: "json";
12367
+ status: 404 | 409;
12368
12368
  input: {
12369
12369
  param: {
12370
12370
  id: string;