@hearsay-tools/squawk 0.19.0-dev.9110 → 0.19.0-dev.9112

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.
@@ -27,18 +27,6 @@ export declare function delegationFailure(error: unknown): {
27
27
  export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
28
28
  "/list": {
29
29
  $get: {
30
- output: {
31
- error: string;
32
- code?: "invalid_input" | undefined;
33
- };
34
- outputFormat: "json";
35
- status: 400;
36
- input: {
37
- query: {
38
- offset?: string | undefined;
39
- };
40
- };
41
- } | {
42
30
  output: {
43
31
  workers: {
44
32
  workerId: string;
@@ -91,6 +79,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
91
79
  offset?: string | undefined;
92
80
  };
93
81
  };
82
+ } | {
83
+ output: {
84
+ error: string;
85
+ code?: "invalid_input" | undefined;
86
+ };
87
+ outputFormat: "json";
88
+ status: 400;
89
+ input: {
90
+ query: {
91
+ offset?: string | undefined;
92
+ };
93
+ };
94
94
  };
95
95
  };
96
96
  } & {
@@ -677,18 +677,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
677
677
  } & {
678
678
  "/:workerId": {
679
679
  $get: {
680
- output: {
681
- error: string;
682
- code?: "invalid_input" | undefined;
683
- };
684
- outputFormat: "json";
685
- status: 400;
686
- input: {
687
- param: {
688
- workerId: string;
689
- };
690
- };
691
- } | {
692
680
  output: {
693
681
  workerId: string;
694
682
  settled: boolean;
@@ -813,11 +801,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
813
801
  workerId: string;
814
802
  };
815
803
  };
816
- };
817
- };
818
- } & {
819
- "/:workerId/collect": {
820
- $post: {
804
+ } | {
821
805
  output: {
822
806
  error: string;
823
807
  code?: "invalid_input" | undefined;
@@ -828,10 +812,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
828
812
  param: {
829
813
  workerId: string;
830
814
  };
831
- } & {
832
- json: Record<string, never>;
833
815
  };
834
- } | {
816
+ };
817
+ };
818
+ } & {
819
+ "/:workerId/collect": {
820
+ $post: {
835
821
  output: {
836
822
  workerId: string;
837
823
  parentRunId: string;
@@ -956,11 +942,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
956
942
  } & {
957
943
  json: Record<string, never>;
958
944
  };
959
- };
960
- };
961
- } & {
962
- "/:workerId/steer": {
963
- $post: {
945
+ } | {
964
946
  output: {
965
947
  error: string;
966
948
  code?: "invalid_input" | undefined;
@@ -972,11 +954,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
972
954
  workerId: string;
973
955
  };
974
956
  } & {
975
- json: {
976
- text: string;
977
- };
957
+ json: Record<string, never>;
978
958
  };
979
- } | {
959
+ };
960
+ };
961
+ } & {
962
+ "/:workerId/steer": {
963
+ $post: {
980
964
  output: {
981
965
  workerId: string;
982
966
  state: "delivered" | "queued";
@@ -992,11 +976,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
992
976
  text: string;
993
977
  };
994
978
  };
995
- };
996
- };
997
- } & {
998
- "/:workerId/stop": {
999
- $post: {
979
+ } | {
1000
980
  output: {
1001
981
  error: string;
1002
982
  code?: "invalid_input" | undefined;
@@ -1008,9 +988,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1008
988
  workerId: string;
1009
989
  };
1010
990
  } & {
1011
- json: Record<string, never>;
991
+ json: {
992
+ text: string;
993
+ };
1012
994
  };
1013
- } | {
995
+ };
996
+ };
997
+ } & {
998
+ "/:workerId/stop": {
999
+ $post: {
1014
1000
  output: {
1015
1001
  workerId: string;
1016
1002
  state: "stopping" | "terminated";
@@ -1024,11 +1010,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1024
1010
  } & {
1025
1011
  json: Record<string, never>;
1026
1012
  };
1027
- };
1028
- };
1029
- } & {
1030
- "/:workerId/destroy": {
1031
- $post: {
1013
+ } | {
1032
1014
  output: {
1033
1015
  error: string;
1034
1016
  code?: "invalid_input" | undefined;
@@ -1040,11 +1022,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1040
1022
  workerId: string;
1041
1023
  };
1042
1024
  } & {
1043
- json: {
1044
- discardWork?: true | undefined;
1045
- };
1025
+ json: Record<string, never>;
1046
1026
  };
1047
- } | {
1027
+ };
1028
+ };
1029
+ } & {
1030
+ "/:workerId/destroy": {
1031
+ $post: {
1048
1032
  output: {
1049
1033
  workerId: string;
1050
1034
  state: "complete" | "incomplete";
@@ -1073,6 +1057,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1073
1057
  discardWork?: true | undefined;
1074
1058
  };
1075
1059
  };
1060
+ } | {
1061
+ output: {
1062
+ error: string;
1063
+ code?: "invalid_input" | undefined;
1064
+ };
1065
+ outputFormat: "json";
1066
+ status: 400;
1067
+ input: {
1068
+ param: {
1069
+ workerId: string;
1070
+ };
1071
+ } & {
1072
+ json: {
1073
+ discardWork?: true | undefined;
1074
+ };
1075
+ };
1076
1076
  } | {
1077
1077
  output: {
1078
1078
  workerId: string;
@@ -1108,11 +1108,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1108
1108
  "/:workerId/summary": {
1109
1109
  $post: {
1110
1110
  output: {
1111
- error: string;
1112
- code?: "invalid_input" | undefined;
1111
+ workerId: string;
1112
+ revision: number;
1113
+ source: "assistant" | "failure";
1114
+ seq: number;
1115
+ totalLines: number;
1116
+ offset: number;
1117
+ lineCount: number;
1118
+ text: string;
1119
+ nextOffset?: number | undefined;
1113
1120
  };
1114
1121
  outputFormat: "json";
1115
- status: 400;
1122
+ status: 200;
1116
1123
  input: {
1117
1124
  param: {
1118
1125
  workerId: string;
@@ -1125,18 +1132,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1125
1132
  };
1126
1133
  } | {
1127
1134
  output: {
1128
- workerId: string;
1129
- revision: number;
1130
- source: "assistant" | "failure";
1131
- seq: number;
1132
- totalLines: number;
1133
- offset: number;
1134
- lineCount: number;
1135
- text: string;
1136
- nextOffset?: number | undefined;
1135
+ error: string;
1136
+ code?: "invalid_input" | undefined;
1137
1137
  };
1138
1138
  outputFormat: "json";
1139
- status: 200;
1139
+ status: 400;
1140
1140
  input: {
1141
1141
  param: {
1142
1142
  workerId: string;
@@ -1153,11 +1153,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1153
1153
  "/:workerId/diff": {
1154
1154
  $get: {
1155
1155
  output: {
1156
- error: string;
1157
- code?: "invalid_input" | undefined;
1156
+ workerId: string;
1157
+ baselineSha: string;
1158
+ diff: string;
1159
+ truncated: boolean;
1158
1160
  };
1159
1161
  outputFormat: "json";
1160
- status: 400;
1162
+ status: 200;
1161
1163
  input: {
1162
1164
  param: {
1163
1165
  workerId: string;
@@ -1165,13 +1167,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1165
1167
  };
1166
1168
  } | {
1167
1169
  output: {
1168
- workerId: string;
1169
- baselineSha: string;
1170
- diff: string;
1171
- truncated: boolean;
1170
+ error: string;
1171
+ code?: "invalid_input" | undefined;
1172
1172
  };
1173
1173
  outputFormat: "json";
1174
- status: 200;
1174
+ status: 400;
1175
1175
  input: {
1176
1176
  param: {
1177
1177
  workerId: string;
@@ -42,7 +42,7 @@ export declare function createReportsRoutes(): import("hono/hono-base").HonoBase
42
42
  error: string;
43
43
  };
44
44
  outputFormat: "json";
45
- status: 409;
45
+ status: 400;
46
46
  input: {
47
47
  query: {
48
48
  q?: string | undefined;
@@ -55,7 +55,7 @@ export declare function createReportsRoutes(): import("hono/hono-base").HonoBase
55
55
  error: string;
56
56
  };
57
57
  outputFormat: "json";
58
- status: 400;
58
+ status: 409;
59
59
  input: {
60
60
  query: {
61
61
  q?: string | undefined;
@@ -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;
@@ -542,10 +542,9 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
542
542
  $put: {
543
543
  output: {
544
544
  error: string;
545
- code: "no-boot-project";
546
545
  };
547
546
  outputFormat: "json";
548
- status: 409;
547
+ status: 400;
549
548
  input: {
550
549
  json: {
551
550
  projectId: string;
@@ -569,9 +568,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
569
568
  } | {
570
569
  output: {
571
570
  error: string;
571
+ code: "no-boot-project";
572
572
  };
573
573
  outputFormat: "json";
574
- status: 400;
574
+ status: 409;
575
575
  input: {
576
576
  json: {
577
577
  projectId: string;
@@ -635,7 +635,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
635
635
  error: string;
636
636
  };
637
637
  outputFormat: "json";
638
- status: 409;
638
+ status: 404;
639
639
  input: {
640
640
  param: {
641
641
  id: string;
@@ -646,7 +646,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
646
646
  error: string;
647
647
  };
648
648
  outputFormat: "json";
649
- status: 500;
649
+ status: 409;
650
650
  input: {
651
651
  param: {
652
652
  id: string;
@@ -657,7 +657,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
657
657
  error: string;
658
658
  };
659
659
  outputFormat: "json";
660
- status: 404;
660
+ status: 500;
661
661
  input: {
662
662
  param: {
663
663
  id: 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;
@@ -12303,20 +12303,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12303
12303
  } & {
12304
12304
  "/runs/:id/handoff": {
12305
12305
  $get: {
12306
- output: {
12307
- error: string;
12308
- };
12309
- outputFormat: "json";
12310
- status: 404;
12306
+ output: string;
12307
+ outputFormat: "text";
12308
+ status: 200;
12311
12309
  input: {
12312
12310
  param: {
12313
12311
  id: string;
12314
12312
  };
12315
12313
  };
12316
12314
  } | {
12317
- output: string;
12318
- outputFormat: "text";
12319
- status: 200;
12315
+ output: {
12316
+ error: string;
12317
+ };
12318
+ outputFormat: "json";
12319
+ status: 404;
12320
12320
  input: {
12321
12321
  param: {
12322
12322
  id: string;
@@ -12354,20 +12354,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12354
12354
  } & {
12355
12355
  "/runs/:id/diff": {
12356
12356
  $get: {
12357
- output: {
12358
- error: string;
12359
- };
12360
- outputFormat: "json";
12361
- status: 404 | 409;
12357
+ output: string;
12358
+ outputFormat: "text";
12359
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12362
12360
  input: {
12363
12361
  param: {
12364
12362
  id: string;
12365
12363
  };
12366
12364
  };
12367
12365
  } | {
12368
- output: string;
12369
- outputFormat: "text";
12370
- status: import("hono/utils/http-status").ContentfulStatusCode;
12366
+ output: {
12367
+ error: string;
12368
+ };
12369
+ outputFormat: "json";
12370
+ status: 404 | 409;
12371
12371
  input: {
12372
12372
  param: {
12373
12373
  id: string;
@@ -7,18 +7,18 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
7
7
  "/workspace/identity": {
8
8
  $get: {
9
9
  output: {
10
- error: string;
10
+ installId: string;
11
+ version: string;
11
12
  };
12
13
  outputFormat: "json";
13
- status: 503;
14
+ status: 200;
14
15
  input: {};
15
16
  } | {
16
17
  output: {
17
- installId: string;
18
- version: string;
18
+ error: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 200;
21
+ status: 503;
22
22
  input: {};
23
23
  };
24
24
  };
@@ -52,35 +52,10 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
52
52
  "/workspace/config": {
53
53
  $put: {
54
54
  output: {
55
- homeDir: string;
56
- browseRoot: string;
57
- projectsDir: string;
58
- archiveOnMerge: boolean | null;
59
- effectiveArchiveOnMerge: boolean;
60
- archiveOnMergeSource: "default" | "environment" | "global";
61
- composerDefaults: {
62
- autonomous: boolean | null;
63
- worktree: boolean | null;
64
- inheritedAutonomous: "source-dependent" | boolean;
65
- inheritedWorktree: boolean;
66
- };
67
- resources: {
68
- maxParallel: number;
69
- maxMonitoringSessions: number;
70
- monitoringWakeIntervalMinutes: number | null;
71
- autoResumeOnUsageLimit: boolean;
72
- memoryLimitMb: number | null;
73
- worktreeRetentionDefault: number;
74
- };
75
- agentDefaults: {
76
- runner?: string | undefined;
77
- models?: {
78
- [x: string]: string | undefined;
79
- } | undefined;
80
- };
55
+ error: string;
81
56
  };
82
57
  outputFormat: "json";
83
- status: import("hono/utils/http-status").ContentfulStatusCode;
58
+ status: 400;
84
59
  input: {
85
60
  json: {
86
61
  browseRoot?: string | undefined;
@@ -109,7 +84,7 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
109
84
  error: string;
110
85
  };
111
86
  outputFormat: "json";
112
- status: 400;
87
+ status: 500;
113
88
  input: {
114
89
  json: {
115
90
  browseRoot?: string | undefined;
@@ -135,10 +110,35 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
135
110
  };
136
111
  } | {
137
112
  output: {
138
- error: string;
113
+ homeDir: string;
114
+ browseRoot: string;
115
+ projectsDir: string;
116
+ archiveOnMerge: boolean | null;
117
+ effectiveArchiveOnMerge: boolean;
118
+ archiveOnMergeSource: "default" | "environment" | "global";
119
+ composerDefaults: {
120
+ autonomous: boolean | null;
121
+ worktree: boolean | null;
122
+ inheritedAutonomous: "source-dependent" | boolean;
123
+ inheritedWorktree: boolean;
124
+ };
125
+ resources: {
126
+ maxParallel: number;
127
+ maxMonitoringSessions: number;
128
+ monitoringWakeIntervalMinutes: number | null;
129
+ autoResumeOnUsageLimit: boolean;
130
+ memoryLimitMb: number | null;
131
+ worktreeRetentionDefault: number;
132
+ };
133
+ agentDefaults: {
134
+ runner?: string | undefined;
135
+ models?: {
136
+ [x: string]: string | undefined;
137
+ } | undefined;
138
+ };
139
139
  };
140
140
  outputFormat: "json";
141
- status: 500;
141
+ status: import("hono/utils/http-status").ContentfulStatusCode;
142
142
  input: {
143
143
  json: {
144
144
  browseRoot?: string | undefined;
@@ -210,41 +210,10 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
210
210
  "/workspace/ui-state": {
211
211
  $put: {
212
212
  output: {
213
- [x: string]: import("hono/utils/types").JSONValue;
214
- sidebar?: {
215
- [x: string]: import("hono/utils/types").JSONValue;
216
- collapsed?: {
217
- [x: string]: boolean;
218
- } | undefined;
219
- projectOrder?: string[] | undefined;
220
- } | undefined;
221
- dismissedProviderAuthFailures?: {
222
- [x: string]: string | undefined;
223
- } | undefined;
224
- appearance?: {
225
- accent?: "cezarion" | "lime" | "violet" | undefined;
226
- density?: "comfortable" | "compact" | "ultra" | undefined;
227
- width?: "narrow" | "wide" | undefined;
228
- } | undefined;
229
- notifications?: {
230
- [x: string]: import("hono/utils/types").JSONValue;
231
- enabled?: boolean | undefined;
232
- } | undefined;
233
- taskTable?: {
234
- [x: string]: import("hono/utils/types").JSONValue;
235
- expandedColumns?: {
236
- [x: string]: boolean;
237
- } | undefined;
238
- } | undefined;
239
- lastLocation?: {
240
- projectId: string;
241
- pathname: string;
242
- search?: string | undefined;
243
- hash?: string | undefined;
244
- } | undefined;
213
+ error: string;
245
214
  };
246
215
  outputFormat: "json";
247
- status: import("hono/utils/http-status").ContentfulStatusCode;
216
+ status: 500;
248
217
  input: {
249
218
  json: {
250
219
  [x: string]: unknown;
@@ -277,10 +246,41 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
277
246
  };
278
247
  } | {
279
248
  output: {
280
- error: string;
249
+ [x: string]: import("hono/utils/types").JSONValue;
250
+ sidebar?: {
251
+ [x: string]: import("hono/utils/types").JSONValue;
252
+ collapsed?: {
253
+ [x: string]: boolean;
254
+ } | undefined;
255
+ projectOrder?: string[] | undefined;
256
+ } | undefined;
257
+ dismissedProviderAuthFailures?: {
258
+ [x: string]: string | undefined;
259
+ } | undefined;
260
+ appearance?: {
261
+ accent?: "cezarion" | "lime" | "violet" | undefined;
262
+ density?: "comfortable" | "compact" | "ultra" | undefined;
263
+ width?: "narrow" | "wide" | undefined;
264
+ } | undefined;
265
+ notifications?: {
266
+ [x: string]: import("hono/utils/types").JSONValue;
267
+ enabled?: boolean | undefined;
268
+ } | undefined;
269
+ taskTable?: {
270
+ [x: string]: import("hono/utils/types").JSONValue;
271
+ expandedColumns?: {
272
+ [x: string]: boolean;
273
+ } | undefined;
274
+ } | undefined;
275
+ lastLocation?: {
276
+ projectId: string;
277
+ pathname: string;
278
+ search?: string | undefined;
279
+ hash?: string | undefined;
280
+ } | undefined;
281
281
  };
282
282
  outputFormat: "json";
283
- status: 500;
283
+ status: import("hono/utils/http-status").ContentfulStatusCode;
284
284
  input: {
285
285
  json: {
286
286
  [x: string]: unknown;
@@ -331,10 +331,17 @@ export declare function createFsBrowseRoutes(workspaceBrowseRoot: () => Promise<
331
331
  };
332
332
  } | {
333
333
  output: {
334
- error: string;
334
+ path: string;
335
+ parent: string | null;
336
+ dirs: {
337
+ name: string;
338
+ path: string;
339
+ isRepo: boolean;
340
+ }[];
341
+ truncated: boolean;
335
342
  };
336
343
  outputFormat: "json";
337
- status: 400 | 403 | 404;
344
+ status: import("hono/utils/http-status").ContentfulStatusCode;
338
345
  input: {
339
346
  query: {
340
347
  path?: string | undefined;
@@ -343,17 +350,10 @@ export declare function createFsBrowseRoutes(workspaceBrowseRoot: () => Promise<
343
350
  };
344
351
  } | {
345
352
  output: {
346
- path: string;
347
- parent: string | null;
348
- dirs: {
349
- name: string;
350
- path: string;
351
- isRepo: boolean;
352
- }[];
353
- truncated: boolean;
353
+ error: string;
354
354
  };
355
355
  outputFormat: "json";
356
- status: import("hono/utils/http-status").ContentfulStatusCode;
356
+ status: 400 | 403 | 404;
357
357
  input: {
358
358
  query: {
359
359
  path?: string | undefined;
@@ -372,15 +372,6 @@ export interface WorkspaceEventsRouteDeps {
372
372
  export declare function createWorkspaceEventsRoutes(deps: WorkspaceEventsRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
373
373
  "/workspace/events": {
374
374
  $get: {
375
- output: {};
376
- outputFormat: string;
377
- status: import("hono/utils/http-status").StatusCode;
378
- input: {
379
- query: {
380
- runs?: "summary" | undefined;
381
- };
382
- };
383
- } | {
384
375
  output: {
385
376
  error: string;
386
377
  code?: "invalid_input" | undefined;
@@ -392,6 +383,15 @@ export declare function createWorkspaceEventsRoutes(deps: WorkspaceEventsRouteDe
392
383
  runs?: "summary" | undefined;
393
384
  };
394
385
  };
386
+ } | {
387
+ output: {};
388
+ outputFormat: string;
389
+ status: import("hono/utils/http-status").StatusCode;
390
+ input: {
391
+ query: {
392
+ runs?: "summary" | undefined;
393
+ };
394
+ };
395
395
  };
396
396
  };
397
397
  }, "/", "/workspace/events">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.19.0-dev.9110",
3
+ "version": "0.19.0-dev.9112",
4
4
  "description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -69,8 +69,8 @@
69
69
  "devDependencies": {
70
70
  "@babel/parser": "^8.0.8",
71
71
  "@babel/types": "^8.0.8",
72
- "@open-mercato/cezar-api-client": "0.19.0-dev.9110",
73
- "@open-mercato/cezar-contract": "0.19.0-dev.9110",
72
+ "@open-mercato/cezar-api-client": "0.19.0-dev.9112",
73
+ "@open-mercato/cezar-contract": "0.19.0-dev.9112",
74
74
  "@types/node": "^24.19.1",
75
75
  "@types/ws": "^8.18.1",
76
76
  "esbuild": "^0.28.1",
@@ -87,5 +87,5 @@
87
87
  "publishConfig": {
88
88
  "access": "public"
89
89
  },
90
- "gitHead": "37c0769dbbabf52e4198788c6189dabdb449adec"
90
+ "gitHead": "41f09d548eb8e86d3231478c73110766951fd706"
91
91
  }