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

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,10 +112,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
112
112
  "/ui-state": {
113
113
  $put: {
114
114
  output: {
115
- error: string;
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;
116
148
  };
117
149
  outputFormat: "json";
118
- status: 500;
150
+ status: import("hono/utils/http-status").ContentfulStatusCode;
119
151
  input: {
120
152
  json: {
121
153
  [x: string]: unknown;
@@ -153,42 +185,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
153
185
  };
154
186
  } | {
155
187
  output: {
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;
188
+ error: string;
189
189
  };
190
190
  outputFormat: "json";
191
- status: import("hono/utils/http-status").ContentfulStatusCode;
191
+ status: 500;
192
192
  input: {
193
193
  json: {
194
194
  [x: string]: unknown;
@@ -274,11 +274,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
274
274
  "/workflows": {
275
275
  $post: {
276
276
  output: {
277
- path: string;
278
- name: string;
277
+ error: string;
279
278
  };
280
279
  outputFormat: "json";
281
- status: 201;
280
+ status: 400;
282
281
  input: {
283
282
  json: {
284
283
  name: string;
@@ -311,9 +310,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
311
310
  } | {
312
311
  output: {
313
312
  error: string;
313
+ exists: true;
314
314
  };
315
315
  outputFormat: "json";
316
- status: 400;
316
+ status: 409;
317
317
  input: {
318
318
  json: {
319
319
  name: string;
@@ -346,10 +346,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
346
346
  } | {
347
347
  output: {
348
348
  error: string;
349
- exists: true;
350
349
  };
351
350
  outputFormat: "json";
352
- status: 409;
351
+ status: 500;
353
352
  input: {
354
353
  json: {
355
354
  name: string;
@@ -381,10 +380,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
381
380
  };
382
381
  } | {
383
382
  output: {
384
- error: string;
383
+ path: string;
384
+ name: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 500;
387
+ status: 201;
388
388
  input: {
389
389
  json: {
390
390
  name: string;
@@ -420,11 +420,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
420
420
  "/workflows/:name": {
421
421
  $delete: {
422
422
  output: {
423
- ok: true;
424
- path: string;
423
+ error: string;
425
424
  };
426
425
  outputFormat: "json";
427
- status: import("hono/utils/http-status").ContentfulStatusCode;
426
+ status: 400 | 404 | 409 | 500;
428
427
  input: {
429
428
  param: {
430
429
  name: string;
@@ -432,10 +431,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
432
431
  };
433
432
  } | {
434
433
  output: {
435
- error: string;
434
+ ok: true;
435
+ path: string;
436
436
  };
437
437
  outputFormat: "json";
438
- status: 400 | 404 | 409 | 500;
438
+ status: import("hono/utils/http-status").ContentfulStatusCode;
439
439
  input: {
440
440
  param: {
441
441
  name: string;
@@ -503,6 +503,18 @@ 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
+ } | {
506
518
  output: {
507
519
  name?: string;
508
520
  steps: {
@@ -539,18 +551,6 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
539
551
  agentProfile?: string | undefined;
540
552
  };
541
553
  };
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,10 +598,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
598
598
  "/config": {
599
599
  $put: {
600
600
  output: {
601
- error: string;
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;
602
626
  };
603
627
  outputFormat: "json";
604
- status: 409;
628
+ status: import("hono/utils/http-status").ContentfulStatusCode;
605
629
  input: {
606
630
  json: {
607
631
  archiveOnMerge?: boolean | null | undefined;
@@ -629,7 +653,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
629
653
  error: string;
630
654
  };
631
655
  outputFormat: "json";
632
- status: 500;
656
+ status: 409;
633
657
  input: {
634
658
  json: {
635
659
  archiveOnMerge?: boolean | null | undefined;
@@ -654,34 +678,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
654
678
  };
655
679
  } | {
656
680
  output: {
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;
681
+ error: string;
682
682
  };
683
683
  outputFormat: "json";
684
- status: import("hono/utils/http-status").ContentfulStatusCode;
684
+ status: 500;
685
685
  input: {
686
686
  json: {
687
687
  archiveOnMerge?: boolean | null | undefined;
@@ -795,10 +795,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
795
795
  "/agent-config/:id": {
796
796
  $put: {
797
797
  output: {
798
- error: string;
798
+ id: string;
799
+ path: string;
800
+ exists: boolean;
801
+ content: string;
802
+ version: string | null;
799
803
  };
800
804
  outputFormat: "json";
801
- status: 404;
805
+ status: import("hono/utils/http-status").ContentfulStatusCode;
802
806
  input: {
803
807
  json: {
804
808
  content: string;
@@ -811,14 +815,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
811
815
  };
812
816
  } | {
813
817
  output: {
814
- id: string;
815
- path: string;
816
- exists: boolean;
817
- content: string;
818
- version: string | null;
818
+ error: string;
819
819
  };
820
820
  outputFormat: "json";
821
- status: import("hono/utils/http-status").ContentfulStatusCode;
821
+ status: 404;
822
822
  input: {
823
823
  json: {
824
824
  content: string;
@@ -851,12 +851,9 @@ 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
- error: string;
856
- code?: "invalid_input" | undefined;
857
- };
858
- outputFormat: "json";
859
- status: 400;
854
+ output: {};
855
+ outputFormat: string;
856
+ status: import("hono/utils/http-status").StatusCode;
860
857
  input: {
861
858
  param: {
862
859
  id: string;
@@ -868,9 +865,12 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
868
865
  };
869
866
  };
870
867
  } | {
871
- output: {};
872
- outputFormat: string;
873
- status: import("hono/utils/http-status").StatusCode;
868
+ output: {
869
+ error: string;
870
+ code?: "invalid_input" | undefined;
871
+ };
872
+ outputFormat: "json";
873
+ status: 400;
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: 400;
21
+ status: 409;
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: 409;
33
+ status: 400;
34
34
  input: {
35
35
  json: {
36
36
  provider: string;
@@ -52,15 +52,11 @@ export declare function createRunnerInstallRoutes(options: {
52
52
  "/runner-install/:runner": {
53
53
  $post: {
54
54
  output: {
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;
55
+ error: string;
56
+ code?: "invalid_input" | undefined;
61
57
  };
62
58
  outputFormat: "json";
63
- status: 202;
59
+ status: 400;
64
60
  input: {
65
61
  param: {
66
62
  runner: string;
@@ -72,11 +68,15 @@ export declare function createRunnerInstallRoutes(options: {
72
68
  };
73
69
  } | {
74
70
  output: {
75
- error: string;
76
- code?: "invalid_input" | undefined;
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;
77
77
  };
78
78
  outputFormat: "json";
79
- status: 400;
79
+ status: 202;
80
80
  input: {
81
81
  param: {
82
82
  runner: string;
@@ -92,6 +92,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
92
92
  } | undefined;
93
93
  invalidAsk?: boolean | undefined;
94
94
  delegation?: {
95
+ role: "invalid";
96
+ } | {
95
97
  role: "root";
96
98
  conversation?: {
97
99
  messages: {
@@ -326,8 +328,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
326
328
  } | undefined;
327
329
  executionRevision?: number | undefined;
328
330
  executionStartSeq?: number | undefined;
329
- } | {
330
- role: "invalid";
331
331
  } | undefined;
332
332
  agentInputs?: {
333
333
  conversation?: {
@@ -1939,6 +1939,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1939
1939
  } | undefined;
1940
1940
  invalidAsk?: boolean | undefined;
1941
1941
  delegation?: {
1942
+ role: "invalid";
1943
+ } | {
1942
1944
  role: "root";
1943
1945
  conversation?: {
1944
1946
  messages: {
@@ -2173,8 +2175,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2173
2175
  } | undefined;
2174
2176
  executionRevision?: number | undefined;
2175
2177
  executionStartSeq?: number | undefined;
2176
- } | {
2177
- role: "invalid";
2178
2178
  } | undefined;
2179
2179
  agentInputs?: {
2180
2180
  conversation?: {
@@ -3154,6 +3154,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3154
3154
  } | undefined;
3155
3155
  invalidAsk?: boolean | undefined;
3156
3156
  delegation?: {
3157
+ role: "invalid";
3158
+ } | {
3157
3159
  role: "root";
3158
3160
  conversation?: {
3159
3161
  messages: {
@@ -3388,8 +3390,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3388
3390
  } | undefined;
3389
3391
  executionRevision?: number | undefined;
3390
3392
  executionStartSeq?: number | undefined;
3391
- } | {
3392
- role: "invalid";
3393
3393
  } | undefined;
3394
3394
  agentInputs?: {
3395
3395
  conversation?: {
@@ -5124,6 +5124,8 @@ 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
+ } | {
5127
5129
  role: "root";
5128
5130
  conversation?: {
5129
5131
  messages: {
@@ -5358,8 +5360,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5358
5360
  } | undefined;
5359
5361
  executionRevision?: number | undefined;
5360
5362
  executionStartSeq?: number | undefined;
5361
- } | {
5362
- role: "invalid";
5363
5363
  } | undefined;
5364
5364
  lastWaitsError?: string | undefined;
5365
5365
  automaticWakes?: number | undefined;
@@ -5597,6 +5597,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5597
5597
  } | undefined;
5598
5598
  invalidAsk?: boolean | undefined;
5599
5599
  delegation?: {
5600
+ role: "invalid";
5601
+ } | {
5600
5602
  role: "root";
5601
5603
  conversation?: {
5602
5604
  messages: {
@@ -5831,8 +5833,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5831
5833
  } | undefined;
5832
5834
  executionRevision?: number | undefined;
5833
5835
  executionStartSeq?: number | undefined;
5834
- } | {
5835
- role: "invalid";
5836
5836
  } | undefined;
5837
5837
  agentInputs?: {
5838
5838
  conversation?: {
@@ -6788,6 +6788,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6788
6788
  } | undefined;
6789
6789
  invalidAsk?: boolean | undefined;
6790
6790
  delegation?: {
6791
+ role: "invalid";
6792
+ } | {
6791
6793
  role: "root";
6792
6794
  conversation?: {
6793
6795
  messages: {
@@ -7022,8 +7024,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7022
7024
  } | undefined;
7023
7025
  executionRevision?: number | undefined;
7024
7026
  executionStartSeq?: number | undefined;
7025
- } | {
7026
- role: "invalid";
7027
7027
  } | undefined;
7028
7028
  agentInputs?: {
7029
7029
  conversation?: {
@@ -8717,6 +8717,8 @@ 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
+ } | {
8720
8722
  role: "root";
8721
8723
  conversation?: {
8722
8724
  messages: {
@@ -8951,8 +8953,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8951
8953
  } | undefined;
8952
8954
  executionRevision?: number | undefined;
8953
8955
  executionStartSeq?: number | undefined;
8954
- } | {
8955
- role: "invalid";
8956
8956
  } | undefined;
8957
8957
  lastWaitsError?: string | undefined;
8958
8958
  automaticWakes?: number | undefined;
@@ -9250,6 +9250,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9250
9250
  } | undefined;
9251
9251
  invalidAsk?: boolean | undefined;
9252
9252
  delegation?: {
9253
+ role: "invalid";
9254
+ } | {
9253
9255
  role: "root";
9254
9256
  conversation?: {
9255
9257
  messages: {
@@ -9484,8 +9486,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9484
9486
  } | undefined;
9485
9487
  executionRevision?: number | undefined;
9486
9488
  executionStartSeq?: number | undefined;
9487
- } | {
9488
- role: "invalid";
9489
9489
  } | undefined;
9490
9490
  agentInputs?: {
9491
9491
  conversation?: {
@@ -11309,6 +11309,8 @@ 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
+ } | {
11312
11314
  role: "root";
11313
11315
  conversation?: {
11314
11316
  messages: {
@@ -11543,8 +11545,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11543
11545
  } | undefined;
11544
11546
  executionRevision?: number | undefined;
11545
11547
  executionStartSeq?: number | undefined;
11546
- } | {
11547
- role: "invalid";
11548
11548
  } | undefined;
11549
11549
  lastWaitsError?: string | undefined;
11550
11550
  automaticWakes?: number | undefined;