@hearsay-tools/squawk 0.19.0-pr4504.8917 → 0.19.0-pr4504.8918

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.
@@ -113,42 +113,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
113
113
  "/ui-state": {
114
114
  $put: {
115
115
  output: {
116
- [x: string]: import("hono/utils/types").JSONValue;
117
- sidebarLimits?: {
118
- overall?: number | null | undefined;
119
- needsYou?: number | null | undefined;
120
- finished?: number | null | undefined;
121
- working?: number | null | undefined;
122
- } | undefined;
123
- lastTask?: {
124
- source: "skill" | "workflow";
125
- ref: string;
126
- } | null | undefined;
127
- recentSources?: {
128
- source: "skill" | "workflow";
129
- ref: string;
130
- }[] | undefined;
131
- lastWorktree?: boolean | undefined;
132
- lastAutonomous?: boolean | undefined;
133
- skillUsage?: {
134
- [x: string]: number;
135
- } | undefined;
136
- runsView?: "list" | "table" | undefined;
137
- githubView?: "issues" | "prs" | undefined;
138
- appearance?: {
139
- accent?: "cezarion" | "lime" | "violet" | undefined;
140
- density?: "comfortable" | "compact" | "ultra" | undefined;
141
- width?: "narrow" | "wide" | undefined;
142
- } | undefined;
143
- promptTemplates?: {
144
- id: string;
145
- label: string;
146
- text: string;
147
- skills?: string[] | undefined;
148
- }[] | undefined;
116
+ error: string;
149
117
  };
150
118
  outputFormat: "json";
151
- status: import("hono/utils/http-status").ContentfulStatusCode;
119
+ status: 500;
152
120
  input: {
153
121
  json: {
154
122
  [x: string]: unknown;
@@ -186,10 +154,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
186
154
  };
187
155
  } | {
188
156
  output: {
189
- error: string;
157
+ [x: string]: import("hono/utils/types").JSONValue;
158
+ sidebarLimits?: {
159
+ overall?: number | null | undefined;
160
+ needsYou?: number | null | undefined;
161
+ finished?: number | null | undefined;
162
+ working?: number | null | undefined;
163
+ } | undefined;
164
+ lastTask?: {
165
+ source: "skill" | "workflow";
166
+ ref: string;
167
+ } | null | undefined;
168
+ recentSources?: {
169
+ source: "skill" | "workflow";
170
+ ref: string;
171
+ }[] | undefined;
172
+ lastWorktree?: boolean | undefined;
173
+ lastAutonomous?: boolean | undefined;
174
+ skillUsage?: {
175
+ [x: string]: number;
176
+ } | undefined;
177
+ runsView?: "list" | "table" | undefined;
178
+ githubView?: "issues" | "prs" | undefined;
179
+ appearance?: {
180
+ accent?: "cezarion" | "lime" | "violet" | undefined;
181
+ density?: "comfortable" | "compact" | "ultra" | undefined;
182
+ width?: "narrow" | "wide" | undefined;
183
+ } | undefined;
184
+ promptTemplates?: {
185
+ id: string;
186
+ label: string;
187
+ text: string;
188
+ skills?: string[] | undefined;
189
+ }[] | undefined;
190
190
  };
191
191
  outputFormat: "json";
192
- status: 500;
192
+ status: import("hono/utils/http-status").ContentfulStatusCode;
193
193
  input: {
194
194
  json: {
195
195
  [x: string]: unknown;
@@ -275,10 +275,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
275
275
  "/workflows": {
276
276
  $post: {
277
277
  output: {
278
- error: string;
278
+ path: string;
279
+ name: string;
279
280
  };
280
281
  outputFormat: "json";
281
- status: 400;
282
+ status: 201;
282
283
  input: {
283
284
  json: {
284
285
  name: string;
@@ -311,10 +312,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
311
312
  } | {
312
313
  output: {
313
314
  error: string;
314
- exists: true;
315
315
  };
316
316
  outputFormat: "json";
317
- status: 409;
317
+ status: 400;
318
318
  input: {
319
319
  json: {
320
320
  name: string;
@@ -347,9 +347,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
347
347
  } | {
348
348
  output: {
349
349
  error: string;
350
+ exists: true;
350
351
  };
351
352
  outputFormat: "json";
352
- status: 500;
353
+ status: 409;
353
354
  input: {
354
355
  json: {
355
356
  name: string;
@@ -381,11 +382,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
381
382
  };
382
383
  } | {
383
384
  output: {
384
- path: string;
385
- name: string;
385
+ error: string;
386
386
  };
387
387
  outputFormat: "json";
388
- status: 201;
388
+ status: 500;
389
389
  input: {
390
390
  json: {
391
391
  name: string;
@@ -421,10 +421,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
421
421
  "/workflows/:name": {
422
422
  $delete: {
423
423
  output: {
424
- error: string;
424
+ ok: true;
425
+ path: string;
425
426
  };
426
427
  outputFormat: "json";
427
- status: 400 | 404 | 409 | 500;
428
+ status: import("hono/utils/http-status").ContentfulStatusCode;
428
429
  input: {
429
430
  param: {
430
431
  name: string;
@@ -432,11 +433,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
432
433
  };
433
434
  } | {
434
435
  output: {
435
- ok: true;
436
- path: string;
436
+ error: string;
437
437
  };
438
438
  outputFormat: "json";
439
- status: import("hono/utils/http-status").ContentfulStatusCode;
439
+ status: 400 | 404 | 409 | 500;
440
440
  input: {
441
441
  param: {
442
442
  name: string;
@@ -504,18 +504,6 @@ export interface PlanRouteDeps {
504
504
  export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
505
505
  "/plan": {
506
506
  $post: {
507
- output: {
508
- error: string;
509
- };
510
- outputFormat: "json";
511
- status: 400 | 404 | 409;
512
- input: {
513
- json: {
514
- task: string;
515
- agentProfile?: string | undefined;
516
- };
517
- };
518
- } | {
519
507
  output: {
520
508
  name?: string;
521
509
  steps: {
@@ -552,6 +540,18 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
552
540
  agentProfile?: string | undefined;
553
541
  };
554
542
  };
543
+ } | {
544
+ output: {
545
+ error: string;
546
+ };
547
+ outputFormat: "json";
548
+ status: 400 | 404 | 409;
549
+ input: {
550
+ json: {
551
+ task: string;
552
+ agentProfile?: string | undefined;
553
+ };
554
+ };
555
555
  };
556
556
  };
557
557
  }, "/", "/plan">;
@@ -599,34 +599,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
599
599
  "/config": {
600
600
  $put: {
601
601
  output: {
602
- archiveOnMerge: boolean | null;
603
- effectiveArchiveOnMerge: boolean;
604
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
605
- baseBranch: string | null;
606
- defaultRunner: string;
607
- systemPrompt: string | null;
608
- defaultModels: {
609
- [x: string]: string | undefined;
610
- };
611
- modelsLocked: boolean;
612
- maxParallel: number;
613
- memoryLimitMb: number | null;
614
- worktreeRetention: number;
615
- liveTitleUpdates: boolean | null;
616
- reviewGate: boolean | null;
617
- worktreeSetup: {
618
- commands: string[];
619
- timeoutSeconds: number;
620
- } | null;
621
- worktreeSetupIssue: string | null;
622
- worktreeTeardown: {
623
- commands: string[];
624
- timeoutSeconds: number;
625
- } | null;
626
- worktreeTeardownIssue: string | null;
602
+ error: string;
627
603
  };
628
604
  outputFormat: "json";
629
- status: import("hono/utils/http-status").ContentfulStatusCode;
605
+ status: 409;
630
606
  input: {
631
607
  json: {
632
608
  archiveOnMerge?: boolean | null | undefined;
@@ -654,7 +630,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
654
630
  error: string;
655
631
  };
656
632
  outputFormat: "json";
657
- status: 409;
633
+ status: 500;
658
634
  input: {
659
635
  json: {
660
636
  archiveOnMerge?: boolean | null | undefined;
@@ -679,10 +655,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
679
655
  };
680
656
  } | {
681
657
  output: {
682
- error: string;
658
+ archiveOnMerge: boolean | null;
659
+ effectiveArchiveOnMerge: boolean;
660
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
661
+ baseBranch: string | null;
662
+ defaultRunner: string;
663
+ systemPrompt: string | null;
664
+ defaultModels: {
665
+ [x: string]: string | undefined;
666
+ };
667
+ modelsLocked: boolean;
668
+ maxParallel: number;
669
+ memoryLimitMb: number | null;
670
+ worktreeRetention: number;
671
+ liveTitleUpdates: boolean | null;
672
+ reviewGate: boolean | null;
673
+ worktreeSetup: {
674
+ commands: string[];
675
+ timeoutSeconds: number;
676
+ } | null;
677
+ worktreeSetupIssue: string | null;
678
+ worktreeTeardown: {
679
+ commands: string[];
680
+ timeoutSeconds: number;
681
+ } | null;
682
+ worktreeTeardownIssue: string | null;
683
683
  };
684
684
  outputFormat: "json";
685
- status: 500;
685
+ status: import("hono/utils/http-status").ContentfulStatusCode;
686
686
  input: {
687
687
  json: {
688
688
  archiveOnMerge?: boolean | null | undefined;
@@ -796,14 +796,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
796
796
  "/agent-config/:id": {
797
797
  $put: {
798
798
  output: {
799
- id: string;
800
- path: string;
801
- exists: boolean;
802
- content: string;
803
- version: string | null;
799
+ error: string;
804
800
  };
805
801
  outputFormat: "json";
806
- status: import("hono/utils/http-status").ContentfulStatusCode;
802
+ status: 404;
807
803
  input: {
808
804
  json: {
809
805
  content: string;
@@ -816,10 +812,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
816
812
  };
817
813
  } | {
818
814
  output: {
819
- error: string;
815
+ id: string;
816
+ path: string;
817
+ exists: boolean;
818
+ content: string;
819
+ version: string | null;
820
820
  };
821
821
  outputFormat: "json";
822
- status: 404;
822
+ status: import("hono/utils/http-status").ContentfulStatusCode;
823
823
  input: {
824
824
  json: {
825
825
  content: string;
@@ -941,9 +941,12 @@ export declare function createAgentWebhooksRoutes(deps: AgentWebhooksRouteDeps):
941
941
  export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
942
942
  "/runs/:id/events": {
943
943
  $get: {
944
- output: {};
945
- outputFormat: string;
946
- status: import("hono/utils/http-status").StatusCode;
944
+ output: {
945
+ error: string;
946
+ code?: "invalid_input" | undefined;
947
+ };
948
+ outputFormat: "json";
949
+ status: 400;
947
950
  input: {
948
951
  param: {
949
952
  id: string;
@@ -955,12 +958,9 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
955
958
  };
956
959
  };
957
960
  } | {
958
- output: {
959
- error: string;
960
- code?: "invalid_input" | undefined;
961
- };
962
- outputFormat: "json";
963
- status: 400;
961
+ output: {};
962
+ outputFormat: string;
963
+ status: import("hono/utils/http-status").StatusCode;
964
964
  input: {
965
965
  param: {
966
966
  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;
@@ -58,11 +58,15 @@ export declare function createRunnersRoutes(options: {
58
58
  "/runner-install/:runner": {
59
59
  $post: {
60
60
  output: {
61
- error: string;
62
- code?: "invalid_input" | undefined;
61
+ supported: boolean;
62
+ installedVersion: string | null;
63
+ latestVersion: string | null;
64
+ updateAvailable: boolean;
65
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
66
+ error: string | null;
63
67
  };
64
68
  outputFormat: "json";
65
- status: 400;
69
+ status: 202;
66
70
  input: {
67
71
  param: {
68
72
  runner: string;
@@ -74,15 +78,11 @@ export declare function createRunnersRoutes(options: {
74
78
  };
75
79
  } | {
76
80
  output: {
77
- supported: boolean;
78
- installedVersion: string | null;
79
- latestVersion: string | null;
80
- updateAvailable: boolean;
81
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
82
- error: string | null;
81
+ error: string;
82
+ code?: "invalid_input" | undefined;
83
83
  };
84
84
  outputFormat: "json";
85
- status: 202;
85
+ status: 400;
86
86
  input: {
87
87
  param: {
88
88
  runner: string;
@@ -94,8 +94,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
94
94
  } | undefined;
95
95
  invalidAsk?: boolean | undefined;
96
96
  delegation?: {
97
- role: "invalid";
98
- } | {
99
97
  role: "root";
100
98
  conversation?: {
101
99
  messages: {
@@ -330,6 +328,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
330
328
  } | undefined;
331
329
  executionRevision?: number | undefined;
332
330
  executionStartSeq?: number | undefined;
331
+ } | {
332
+ role: "invalid";
333
333
  } | undefined;
334
334
  agentInputs?: {
335
335
  conversation?: {
@@ -1941,8 +1941,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1941
1941
  } | undefined;
1942
1942
  invalidAsk?: boolean | undefined;
1943
1943
  delegation?: {
1944
- role: "invalid";
1945
- } | {
1946
1944
  role: "root";
1947
1945
  conversation?: {
1948
1946
  messages: {
@@ -2177,6 +2175,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2177
2175
  } | undefined;
2178
2176
  executionRevision?: number | undefined;
2179
2177
  executionStartSeq?: number | undefined;
2178
+ } | {
2179
+ role: "invalid";
2180
2180
  } | undefined;
2181
2181
  agentInputs?: {
2182
2182
  conversation?: {
@@ -3156,8 +3156,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3156
3156
  } | undefined;
3157
3157
  invalidAsk?: boolean | undefined;
3158
3158
  delegation?: {
3159
- role: "invalid";
3160
- } | {
3161
3159
  role: "root";
3162
3160
  conversation?: {
3163
3161
  messages: {
@@ -3392,6 +3390,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3392
3390
  } | undefined;
3393
3391
  executionRevision?: number | undefined;
3394
3392
  executionStartSeq?: number | undefined;
3393
+ } | {
3394
+ role: "invalid";
3395
3395
  } | undefined;
3396
3396
  agentInputs?: {
3397
3397
  conversation?: {
@@ -5142,8 +5142,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5142
5142
  currentStepId?: string | undefined;
5143
5143
  error?: string | undefined;
5144
5144
  delegation?: {
5145
- role: "invalid";
5146
- } | {
5147
5145
  role: "root";
5148
5146
  conversation?: {
5149
5147
  messages: {
@@ -5378,6 +5376,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5378
5376
  } | undefined;
5379
5377
  executionRevision?: number | undefined;
5380
5378
  executionStartSeq?: number | undefined;
5379
+ } | {
5380
+ role: "invalid";
5381
5381
  } | undefined;
5382
5382
  lastWaitsError?: string | undefined;
5383
5383
  automaticWakes?: number | undefined;
@@ -5615,8 +5615,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5615
5615
  } | undefined;
5616
5616
  invalidAsk?: boolean | undefined;
5617
5617
  delegation?: {
5618
- role: "invalid";
5619
- } | {
5620
5618
  role: "root";
5621
5619
  conversation?: {
5622
5620
  messages: {
@@ -5851,6 +5849,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5851
5849
  } | undefined;
5852
5850
  executionRevision?: number | undefined;
5853
5851
  executionStartSeq?: number | undefined;
5852
+ } | {
5853
+ role: "invalid";
5854
5854
  } | undefined;
5855
5855
  agentInputs?: {
5856
5856
  conversation?: {
@@ -6806,8 +6806,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6806
6806
  } | undefined;
6807
6807
  invalidAsk?: boolean | undefined;
6808
6808
  delegation?: {
6809
- role: "invalid";
6810
- } | {
6811
6809
  role: "root";
6812
6810
  conversation?: {
6813
6811
  messages: {
@@ -7042,6 +7040,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7042
7040
  } | undefined;
7043
7041
  executionRevision?: number | undefined;
7044
7042
  executionStartSeq?: number | undefined;
7043
+ } | {
7044
+ role: "invalid";
7045
7045
  } | undefined;
7046
7046
  agentInputs?: {
7047
7047
  conversation?: {
@@ -8735,8 +8735,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8735
8735
  currentStepId?: string | undefined;
8736
8736
  error?: string | undefined;
8737
8737
  delegation?: {
8738
- role: "invalid";
8739
- } | {
8740
8738
  role: "root";
8741
8739
  conversation?: {
8742
8740
  messages: {
@@ -8971,6 +8969,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8971
8969
  } | undefined;
8972
8970
  executionRevision?: number | undefined;
8973
8971
  executionStartSeq?: number | undefined;
8972
+ } | {
8973
+ role: "invalid";
8974
8974
  } | undefined;
8975
8975
  lastWaitsError?: string | undefined;
8976
8976
  automaticWakes?: number | undefined;
@@ -9268,8 +9268,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9268
9268
  } | undefined;
9269
9269
  invalidAsk?: boolean | undefined;
9270
9270
  delegation?: {
9271
- role: "invalid";
9272
- } | {
9273
9271
  role: "root";
9274
9272
  conversation?: {
9275
9273
  messages: {
@@ -9504,6 +9502,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9504
9502
  } | undefined;
9505
9503
  executionRevision?: number | undefined;
9506
9504
  executionStartSeq?: number | undefined;
9505
+ } | {
9506
+ role: "invalid";
9507
9507
  } | undefined;
9508
9508
  agentInputs?: {
9509
9509
  conversation?: {
@@ -11327,8 +11327,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11327
11327
  currentStepId?: string | undefined;
11328
11328
  error?: string | undefined;
11329
11329
  delegation?: {
11330
- role: "invalid";
11331
- } | {
11332
11330
  role: "root";
11333
11331
  conversation?: {
11334
11332
  messages: {
@@ -11563,6 +11561,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11563
11561
  } | undefined;
11564
11562
  executionRevision?: number | undefined;
11565
11563
  executionStartSeq?: number | undefined;
11564
+ } | {
11565
+ role: "invalid";
11566
11566
  } | undefined;
11567
11567
  lastWaitsError?: string | undefined;
11568
11568
  automaticWakes?: number | undefined;