@hearsay-tools/squawk 0.19.0-pr4620.9206 → 0.19.0-pr4620.9207

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.
@@ -112,42 +112,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
112
112
  "/ui-state": {
113
113
  $put: {
114
114
  output: {
115
- [x: string]: import("hono/utils/types").JSONValue;
116
- sidebarLimits?: {
117
- overall?: number | null | undefined;
118
- needsYou?: number | null | undefined;
119
- finished?: number | null | undefined;
120
- working?: number | null | undefined;
121
- } | undefined;
122
- lastTask?: {
123
- source: "skill" | "workflow";
124
- ref: string;
125
- } | null | undefined;
126
- recentSources?: {
127
- source: "skill" | "workflow";
128
- ref: string;
129
- }[] | undefined;
130
- lastWorktree?: boolean | undefined;
131
- lastAutonomous?: boolean | undefined;
132
- skillUsage?: {
133
- [x: string]: number;
134
- } | undefined;
135
- runsView?: "list" | "table" | undefined;
136
- githubView?: "issues" | "prs" | undefined;
137
- appearance?: {
138
- accent?: "cezarion" | "lime" | "violet" | undefined;
139
- density?: "comfortable" | "compact" | "ultra" | undefined;
140
- width?: "narrow" | "wide" | undefined;
141
- } | undefined;
142
- promptTemplates?: {
143
- id: string;
144
- label: string;
145
- text: string;
146
- skills?: string[] | undefined;
147
- }[] | undefined;
115
+ error: string;
148
116
  };
149
117
  outputFormat: "json";
150
- status: import("hono/utils/http-status").ContentfulStatusCode;
118
+ status: 500;
151
119
  input: {
152
120
  json: {
153
121
  [x: string]: unknown;
@@ -185,10 +153,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
185
153
  };
186
154
  } | {
187
155
  output: {
188
- error: string;
156
+ [x: string]: import("hono/utils/types").JSONValue;
157
+ sidebarLimits?: {
158
+ overall?: number | null | undefined;
159
+ needsYou?: number | null | undefined;
160
+ finished?: number | null | undefined;
161
+ working?: number | null | undefined;
162
+ } | undefined;
163
+ lastTask?: {
164
+ source: "skill" | "workflow";
165
+ ref: string;
166
+ } | null | undefined;
167
+ recentSources?: {
168
+ source: "skill" | "workflow";
169
+ ref: string;
170
+ }[] | undefined;
171
+ lastWorktree?: boolean | undefined;
172
+ lastAutonomous?: boolean | undefined;
173
+ skillUsage?: {
174
+ [x: string]: number;
175
+ } | undefined;
176
+ runsView?: "list" | "table" | undefined;
177
+ githubView?: "issues" | "prs" | undefined;
178
+ appearance?: {
179
+ accent?: "cezarion" | "lime" | "violet" | undefined;
180
+ density?: "comfortable" | "compact" | "ultra" | undefined;
181
+ width?: "narrow" | "wide" | undefined;
182
+ } | undefined;
183
+ promptTemplates?: {
184
+ id: string;
185
+ label: string;
186
+ text: string;
187
+ skills?: string[] | undefined;
188
+ }[] | undefined;
189
189
  };
190
190
  outputFormat: "json";
191
- status: 500;
191
+ status: import("hono/utils/http-status").ContentfulStatusCode;
192
192
  input: {
193
193
  json: {
194
194
  [x: string]: unknown;
@@ -274,10 +274,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
274
274
  "/workflows": {
275
275
  $post: {
276
276
  output: {
277
- error: string;
277
+ path: string;
278
+ name: string;
278
279
  };
279
280
  outputFormat: "json";
280
- status: 400;
281
+ status: 201;
281
282
  input: {
282
283
  json: {
283
284
  name: string;
@@ -310,10 +311,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
310
311
  } | {
311
312
  output: {
312
313
  error: string;
313
- exists: true;
314
314
  };
315
315
  outputFormat: "json";
316
- status: 409;
316
+ status: 400;
317
317
  input: {
318
318
  json: {
319
319
  name: string;
@@ -346,9 +346,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
346
346
  } | {
347
347
  output: {
348
348
  error: string;
349
+ exists: true;
349
350
  };
350
351
  outputFormat: "json";
351
- status: 500;
352
+ status: 409;
352
353
  input: {
353
354
  json: {
354
355
  name: string;
@@ -380,11 +381,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
380
381
  };
381
382
  } | {
382
383
  output: {
383
- path: string;
384
- name: string;
384
+ error: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 201;
387
+ status: 500;
388
388
  input: {
389
389
  json: {
390
390
  name: string;
@@ -420,10 +420,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
420
420
  "/workflows/:name": {
421
421
  $delete: {
422
422
  output: {
423
- error: string;
423
+ ok: true;
424
+ path: string;
424
425
  };
425
426
  outputFormat: "json";
426
- status: 400 | 404 | 409 | 500;
427
+ status: import("hono/utils/http-status").ContentfulStatusCode;
427
428
  input: {
428
429
  param: {
429
430
  name: string;
@@ -431,11 +432,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
431
432
  };
432
433
  } | {
433
434
  output: {
434
- ok: true;
435
- path: string;
435
+ error: string;
436
436
  };
437
437
  outputFormat: "json";
438
- status: import("hono/utils/http-status").ContentfulStatusCode;
438
+ status: 400 | 404 | 409 | 500;
439
439
  input: {
440
440
  param: {
441
441
  name: string;
@@ -503,18 +503,6 @@ export interface PlanRouteDeps {
503
503
  export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
504
504
  "/plan": {
505
505
  $post: {
506
- output: {
507
- error: string;
508
- };
509
- outputFormat: "json";
510
- status: 400 | 404 | 409;
511
- input: {
512
- json: {
513
- task: string;
514
- agentProfile?: string | undefined;
515
- };
516
- };
517
- } | {
518
506
  output: {
519
507
  name?: string;
520
508
  steps: {
@@ -551,6 +539,18 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
551
539
  agentProfile?: string | undefined;
552
540
  };
553
541
  };
542
+ } | {
543
+ output: {
544
+ error: string;
545
+ };
546
+ outputFormat: "json";
547
+ status: 400 | 404 | 409;
548
+ input: {
549
+ json: {
550
+ task: string;
551
+ agentProfile?: string | undefined;
552
+ };
553
+ };
554
554
  };
555
555
  };
556
556
  }, "/", "/plan">;
@@ -598,34 +598,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
598
598
  "/config": {
599
599
  $put: {
600
600
  output: {
601
- archiveOnMerge: boolean | null;
602
- effectiveArchiveOnMerge: boolean;
603
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
604
- baseBranch: string | null;
605
- defaultRunner: string;
606
- systemPrompt: string | null;
607
- defaultModels: {
608
- [x: string]: string | undefined;
609
- };
610
- modelsLocked: boolean;
611
- maxParallel: number;
612
- memoryLimitMb: number | null;
613
- worktreeRetention: number;
614
- liveTitleUpdates: boolean | null;
615
- reviewGate: boolean | null;
616
- worktreeSetup: {
617
- commands: string[];
618
- timeoutSeconds: number;
619
- } | null;
620
- worktreeSetupIssue: string | null;
621
- worktreeTeardown: {
622
- commands: string[];
623
- timeoutSeconds: number;
624
- } | null;
625
- worktreeTeardownIssue: string | null;
601
+ error: string;
626
602
  };
627
603
  outputFormat: "json";
628
- status: import("hono/utils/http-status").ContentfulStatusCode;
604
+ status: 409;
629
605
  input: {
630
606
  json: {
631
607
  archiveOnMerge?: boolean | null | undefined;
@@ -653,7 +629,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
653
629
  error: string;
654
630
  };
655
631
  outputFormat: "json";
656
- status: 409;
632
+ status: 500;
657
633
  input: {
658
634
  json: {
659
635
  archiveOnMerge?: boolean | null | undefined;
@@ -678,10 +654,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
678
654
  };
679
655
  } | {
680
656
  output: {
681
- error: string;
657
+ archiveOnMerge: boolean | null;
658
+ effectiveArchiveOnMerge: boolean;
659
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
660
+ baseBranch: string | null;
661
+ defaultRunner: string;
662
+ systemPrompt: string | null;
663
+ defaultModels: {
664
+ [x: string]: string | undefined;
665
+ };
666
+ modelsLocked: boolean;
667
+ maxParallel: number;
668
+ memoryLimitMb: number | null;
669
+ worktreeRetention: number;
670
+ liveTitleUpdates: boolean | null;
671
+ reviewGate: boolean | null;
672
+ worktreeSetup: {
673
+ commands: string[];
674
+ timeoutSeconds: number;
675
+ } | null;
676
+ worktreeSetupIssue: string | null;
677
+ worktreeTeardown: {
678
+ commands: string[];
679
+ timeoutSeconds: number;
680
+ } | null;
681
+ worktreeTeardownIssue: string | null;
682
682
  };
683
683
  outputFormat: "json";
684
- status: 500;
684
+ status: import("hono/utils/http-status").ContentfulStatusCode;
685
685
  input: {
686
686
  json: {
687
687
  archiveOnMerge?: boolean | null | undefined;
@@ -795,14 +795,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
795
795
  "/agent-config/:id": {
796
796
  $put: {
797
797
  output: {
798
- id: string;
799
- path: string;
800
- exists: boolean;
801
- content: string;
802
- version: string | null;
798
+ error: string;
803
799
  };
804
800
  outputFormat: "json";
805
- status: import("hono/utils/http-status").ContentfulStatusCode;
801
+ status: 404;
806
802
  input: {
807
803
  json: {
808
804
  content: string;
@@ -815,10 +811,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
815
811
  };
816
812
  } | {
817
813
  output: {
818
- error: string;
814
+ id: string;
815
+ path: string;
816
+ exists: boolean;
817
+ content: string;
818
+ version: string | null;
819
819
  };
820
820
  outputFormat: "json";
821
- status: 404;
821
+ status: import("hono/utils/http-status").ContentfulStatusCode;
822
822
  input: {
823
823
  json: {
824
824
  content: string;
@@ -851,9 +851,12 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
851
851
  export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
852
852
  "/runs/:id/events": {
853
853
  $get: {
854
- output: {};
855
- outputFormat: string;
856
- status: import("hono/utils/http-status").StatusCode;
854
+ output: {
855
+ error: string;
856
+ code?: "invalid_input" | undefined;
857
+ };
858
+ outputFormat: "json";
859
+ status: 400;
857
860
  input: {
858
861
  param: {
859
862
  id: string;
@@ -865,12 +868,9 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
865
868
  };
866
869
  };
867
870
  } | {
868
- output: {
869
- error: string;
870
- code?: "invalid_input" | undefined;
871
- };
872
- outputFormat: "json";
873
- status: 400;
871
+ output: {};
872
+ outputFormat: string;
873
+ status: import("hono/utils/http-status").StatusCode;
874
874
  input: {
875
875
  param: {
876
876
  id: string;
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
18
18
  error: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 409;
21
+ status: 400;
22
22
  input: {
23
23
  json: {
24
24
  provider: string;
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
30
30
  error: string;
31
31
  };
32
32
  outputFormat: "json";
33
- status: 400;
33
+ status: 409;
34
34
  input: {
35
35
  json: {
36
36
  provider: string;
@@ -52,11 +52,15 @@ export declare function createRunnerInstallRoutes(options: {
52
52
  "/runner-install/:runner": {
53
53
  $post: {
54
54
  output: {
55
- error: string;
56
- code?: "invalid_input" | undefined;
55
+ supported: boolean;
56
+ installedVersion: string | null;
57
+ latestVersion: string | null;
58
+ updateAvailable: boolean;
59
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
60
+ error: string | null;
57
61
  };
58
62
  outputFormat: "json";
59
- status: 400;
63
+ status: 202;
60
64
  input: {
61
65
  param: {
62
66
  runner: string;
@@ -68,15 +72,11 @@ export declare function createRunnerInstallRoutes(options: {
68
72
  };
69
73
  } | {
70
74
  output: {
71
- supported: boolean;
72
- installedVersion: string | null;
73
- latestVersion: string | null;
74
- updateAvailable: boolean;
75
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
76
- error: string | null;
75
+ error: string;
76
+ code?: "invalid_input" | undefined;
77
77
  };
78
78
  outputFormat: "json";
79
- status: 202;
79
+ status: 400;
80
80
  input: {
81
81
  param: {
82
82
  runner: string;
@@ -92,8 +92,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
92
92
  } | undefined;
93
93
  invalidAsk?: boolean | undefined;
94
94
  delegation?: {
95
- role: "invalid";
96
- } | {
97
95
  role: "root";
98
96
  conversation?: {
99
97
  messages: {
@@ -328,6 +326,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
328
326
  } | undefined;
329
327
  executionRevision?: number | undefined;
330
328
  executionStartSeq?: number | undefined;
329
+ } | {
330
+ role: "invalid";
331
331
  } | undefined;
332
332
  agentInputs?: {
333
333
  conversation?: {
@@ -1939,8 +1939,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1939
1939
  } | undefined;
1940
1940
  invalidAsk?: boolean | undefined;
1941
1941
  delegation?: {
1942
- role: "invalid";
1943
- } | {
1944
1942
  role: "root";
1945
1943
  conversation?: {
1946
1944
  messages: {
@@ -2175,6 +2173,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2175
2173
  } | undefined;
2176
2174
  executionRevision?: number | undefined;
2177
2175
  executionStartSeq?: number | undefined;
2176
+ } | {
2177
+ role: "invalid";
2178
2178
  } | undefined;
2179
2179
  agentInputs?: {
2180
2180
  conversation?: {
@@ -3154,8 +3154,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3154
3154
  } | undefined;
3155
3155
  invalidAsk?: boolean | undefined;
3156
3156
  delegation?: {
3157
- role: "invalid";
3158
- } | {
3159
3157
  role: "root";
3160
3158
  conversation?: {
3161
3159
  messages: {
@@ -3390,6 +3388,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3390
3388
  } | undefined;
3391
3389
  executionRevision?: number | undefined;
3392
3390
  executionStartSeq?: number | undefined;
3391
+ } | {
3392
+ role: "invalid";
3393
3393
  } | undefined;
3394
3394
  agentInputs?: {
3395
3395
  conversation?: {
@@ -5124,8 +5124,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5124
5124
  currentStepId?: string | undefined;
5125
5125
  error?: string | undefined;
5126
5126
  delegation?: {
5127
- role: "invalid";
5128
- } | {
5129
5127
  role: "root";
5130
5128
  conversation?: {
5131
5129
  messages: {
@@ -5360,6 +5358,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5360
5358
  } | undefined;
5361
5359
  executionRevision?: number | undefined;
5362
5360
  executionStartSeq?: number | undefined;
5361
+ } | {
5362
+ role: "invalid";
5363
5363
  } | undefined;
5364
5364
  lastWaitsError?: string | undefined;
5365
5365
  automaticWakes?: number | undefined;
@@ -5597,8 +5597,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5597
5597
  } | undefined;
5598
5598
  invalidAsk?: boolean | undefined;
5599
5599
  delegation?: {
5600
- role: "invalid";
5601
- } | {
5602
5600
  role: "root";
5603
5601
  conversation?: {
5604
5602
  messages: {
@@ -5833,6 +5831,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5833
5831
  } | undefined;
5834
5832
  executionRevision?: number | undefined;
5835
5833
  executionStartSeq?: number | undefined;
5834
+ } | {
5835
+ role: "invalid";
5836
5836
  } | undefined;
5837
5837
  agentInputs?: {
5838
5838
  conversation?: {
@@ -6788,8 +6788,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6788
6788
  } | undefined;
6789
6789
  invalidAsk?: boolean | undefined;
6790
6790
  delegation?: {
6791
- role: "invalid";
6792
- } | {
6793
6791
  role: "root";
6794
6792
  conversation?: {
6795
6793
  messages: {
@@ -7024,6 +7022,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7024
7022
  } | undefined;
7025
7023
  executionRevision?: number | undefined;
7026
7024
  executionStartSeq?: number | undefined;
7025
+ } | {
7026
+ role: "invalid";
7027
7027
  } | undefined;
7028
7028
  agentInputs?: {
7029
7029
  conversation?: {
@@ -8717,8 +8717,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8717
8717
  currentStepId?: string | undefined;
8718
8718
  error?: string | undefined;
8719
8719
  delegation?: {
8720
- role: "invalid";
8721
- } | {
8722
8720
  role: "root";
8723
8721
  conversation?: {
8724
8722
  messages: {
@@ -8953,6 +8951,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8953
8951
  } | undefined;
8954
8952
  executionRevision?: number | undefined;
8955
8953
  executionStartSeq?: number | undefined;
8954
+ } | {
8955
+ role: "invalid";
8956
8956
  } | undefined;
8957
8957
  lastWaitsError?: string | undefined;
8958
8958
  automaticWakes?: number | undefined;
@@ -9250,8 +9250,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9250
9250
  } | undefined;
9251
9251
  invalidAsk?: boolean | undefined;
9252
9252
  delegation?: {
9253
- role: "invalid";
9254
- } | {
9255
9253
  role: "root";
9256
9254
  conversation?: {
9257
9255
  messages: {
@@ -9486,6 +9484,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9486
9484
  } | undefined;
9487
9485
  executionRevision?: number | undefined;
9488
9486
  executionStartSeq?: number | undefined;
9487
+ } | {
9488
+ role: "invalid";
9489
9489
  } | undefined;
9490
9490
  agentInputs?: {
9491
9491
  conversation?: {
@@ -11309,8 +11309,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11309
11309
  currentStepId?: string | undefined;
11310
11310
  error?: string | undefined;
11311
11311
  delegation?: {
11312
- role: "invalid";
11313
- } | {
11314
11312
  role: "root";
11315
11313
  conversation?: {
11316
11314
  messages: {
@@ -11545,6 +11543,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11545
11543
  } | undefined;
11546
11544
  executionRevision?: number | undefined;
11547
11545
  executionStartSeq?: number | undefined;
11546
+ } | {
11547
+ role: "invalid";
11548
11548
  } | undefined;
11549
11549
  lastWaitsError?: string | undefined;
11550
11550
  automaticWakes?: number | undefined;