@hearsay-tools/squawk 0.19.0-pr4503.8913 → 0.19.0-pr4504.8916

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.
@@ -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-pr4503.8913",
3
+ "version": "0.19.0-pr4504.8916",
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-pr4503.8913",
73
- "@open-mercato/cezar-contract": "0.19.0-pr4503.8913",
72
+ "@open-mercato/cezar-api-client": "0.19.0-pr4504.8916",
73
+ "@open-mercato/cezar-contract": "0.19.0-pr4504.8916",
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": "ba18a138f277c1519c8860e80d470023c6b53388"
90
+ "gitHead": "56281ed5982a55452a44091dbe9175c31baee283"
91
91
  }
@@ -42,7 +42,8 @@ async function serveFixture() {
42
42
  });
43
43
  syncBuiltinESMExports();
44
44
  // A project's forge comes from the sealed forge registry, as boot.ts leaves it.
45
- await import('../src/built-in-forges.testkit.ts');
45
+ const { sealForges } = await import('../src/core/forge-registry.ts');
46
+ sealForges();
46
47
  const { listProjects, clearProjectProbeCache } = await import('../src/workspace/projects.ts');
47
48
  const { mergeWriteWorkspaceConfig } = await import('../src/workspace/config.ts');
48
49
  const { resolveHome } = await import('../src/home/resolve.ts');