@hearsay-tools/squawk 0.19.0-dev.9168 → 0.19.0-dev.9172

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.
@@ -11,18 +11,18 @@ export declare function createWorkspaceIdentityRoutes({ home, version }: Workspa
11
11
  "/workspace/identity": {
12
12
  $get: {
13
13
  output: {
14
- error: string;
14
+ installId: string;
15
+ version: string;
15
16
  };
16
17
  outputFormat: "json";
17
- status: 503;
18
+ status: 200;
18
19
  input: {};
19
20
  } | {
20
21
  output: {
21
- installId: string;
22
- version: string;
22
+ error: string;
23
23
  };
24
24
  outputFormat: "json";
25
- status: 200;
25
+ status: 503;
26
26
  input: {};
27
27
  };
28
28
  };
@@ -7,18 +7,18 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
7
7
  "/workspace/identity": {
8
8
  $get: {
9
9
  output: {
10
- installId: string;
11
- version: string;
10
+ error: string;
12
11
  };
13
12
  outputFormat: "json";
14
- status: 200;
13
+ status: 503;
15
14
  input: {};
16
15
  } | {
17
16
  output: {
18
- error: string;
17
+ installId: string;
18
+ version: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 503;
21
+ status: 200;
22
22
  input: {};
23
23
  };
24
24
  };
@@ -52,10 +52,35 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
52
52
  "/workspace/config": {
53
53
  $put: {
54
54
  output: {
55
- error: string;
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
+ };
56
81
  };
57
82
  outputFormat: "json";
58
- status: 400;
83
+ status: import("hono/utils/http-status").ContentfulStatusCode;
59
84
  input: {
60
85
  json: {
61
86
  browseRoot?: string | undefined;
@@ -84,7 +109,7 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
84
109
  error: string;
85
110
  };
86
111
  outputFormat: "json";
87
- status: 500;
112
+ status: 400;
88
113
  input: {
89
114
  json: {
90
115
  browseRoot?: string | undefined;
@@ -110,35 +135,10 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
110
135
  };
111
136
  } | {
112
137
  output: {
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
- };
138
+ error: string;
139
139
  };
140
140
  outputFormat: "json";
141
- status: import("hono/utils/http-status").ContentfulStatusCode;
141
+ status: 500;
142
142
  input: {
143
143
  json: {
144
144
  browseRoot?: string | undefined;
@@ -210,10 +210,41 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
210
210
  "/workspace/ui-state": {
211
211
  $put: {
212
212
  output: {
213
- error: string;
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;
214
245
  };
215
246
  outputFormat: "json";
216
- status: 500;
247
+ status: import("hono/utils/http-status").ContentfulStatusCode;
217
248
  input: {
218
249
  json: {
219
250
  [x: string]: unknown;
@@ -246,41 +277,10 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
246
277
  };
247
278
  } | {
248
279
  output: {
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;
280
+ error: string;
281
281
  };
282
282
  outputFormat: "json";
283
- status: import("hono/utils/http-status").ContentfulStatusCode;
283
+ status: 500;
284
284
  input: {
285
285
  json: {
286
286
  [x: string]: unknown;
@@ -331,17 +331,10 @@ export declare function createFsBrowseRoutes(workspaceBrowseRoot: () => Promise<
331
331
  };
332
332
  } | {
333
333
  output: {
334
- path: string;
335
- parent: string | null;
336
- dirs: {
337
- name: string;
338
- path: string;
339
- isRepo: boolean;
340
- }[];
341
- truncated: boolean;
334
+ error: string;
342
335
  };
343
336
  outputFormat: "json";
344
- status: import("hono/utils/http-status").ContentfulStatusCode;
337
+ status: 400 | 403 | 404;
345
338
  input: {
346
339
  query: {
347
340
  path?: string | undefined;
@@ -350,10 +343,17 @@ export declare function createFsBrowseRoutes(workspaceBrowseRoot: () => Promise<
350
343
  };
351
344
  } | {
352
345
  output: {
353
- error: string;
346
+ path: string;
347
+ parent: string | null;
348
+ dirs: {
349
+ name: string;
350
+ path: string;
351
+ isRepo: boolean;
352
+ }[];
353
+ truncated: boolean;
354
354
  };
355
355
  outputFormat: "json";
356
- status: 400 | 403 | 404;
356
+ status: import("hono/utils/http-status").ContentfulStatusCode;
357
357
  input: {
358
358
  query: {
359
359
  path?: string | undefined;
@@ -372,21 +372,21 @@ 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
- error: string;
377
- code?: "invalid_input" | undefined;
378
- };
379
- outputFormat: "json";
380
- status: 400;
375
+ output: {};
376
+ outputFormat: string;
377
+ status: import("hono/utils/http-status").StatusCode;
381
378
  input: {
382
379
  query: {
383
380
  runs?: "summary" | undefined;
384
381
  };
385
382
  };
386
383
  } | {
387
- output: {};
388
- outputFormat: string;
389
- status: import("hono/utils/http-status").StatusCode;
384
+ output: {
385
+ error: string;
386
+ code?: "invalid_input" | undefined;
387
+ };
388
+ outputFormat: "json";
389
+ status: 400;
390
390
  input: {
391
391
  query: {
392
392
  runs?: "summary" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.19.0-dev.9168",
3
+ "version": "0.19.0-dev.9172",
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.9168",
73
- "@open-mercato/cezar-contract": "0.19.0-dev.9168",
72
+ "@open-mercato/cezar-api-client": "0.19.0-dev.9172",
73
+ "@open-mercato/cezar-contract": "0.19.0-dev.9172",
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": "bc16f1e9d7eba95cf3c4ea763f504d4db3113bb1"
90
+ "gitHead": "5afdd529af28b7f34a3c8b43a076e82640cdbf91"
91
91
  }