@hearsay-tools/squawk 0.18.0-dev.6394 → 0.18.0-dev.6409

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.
Files changed (74) hide show
  1. package/README.md +0 -1
  2. package/dist/cli-dispatch.d.ts +0 -3
  3. package/dist/cli-dispatch.js +6 -17
  4. package/dist/cli-dispatch.js.map +1 -1
  5. package/dist/contract/health.d.ts +0 -2
  6. package/dist/contract/index.js +0 -1
  7. package/dist/index.js +1 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/runs/run-index.d.ts +0 -10
  10. package/dist/runs/run-index.js +0 -24
  11. package/dist/runs/run-index.js.map +1 -1
  12. package/dist/server/activity-sources.d.ts +2 -2
  13. package/dist/server/activity-sources.js +4 -4
  14. package/dist/server/activity-sources.js.map +1 -1
  15. package/dist/server/capabilities.d.ts +0 -5
  16. package/dist/server/capabilities.js +0 -1
  17. package/dist/server/capabilities.js.map +1 -1
  18. package/dist/server/server.d.ts +60 -117
  19. package/dist/server/server.js +8 -37
  20. package/dist/server/server.js.map +1 -1
  21. package/dist/server/start-server.js +7 -10
  22. package/dist/server/start-server.js.map +1 -1
  23. package/dist/server/workspace-projects.d.ts +1 -6
  24. package/dist/server/workspace-projects.js +3 -14
  25. package/dist/server/workspace-projects.js.map +1 -1
  26. package/dist/workspace/projects-cli.d.ts +0 -2
  27. package/dist/workspace/projects-cli.js +4 -27
  28. package/dist/workspace/projects-cli.js.map +1 -1
  29. package/dist/workspace/projects.d.ts +1 -5
  30. package/dist/workspace/projects.js +8 -5
  31. package/dist/workspace/projects.js.map +1 -1
  32. package/package.json +4 -4
  33. package/scripts/benchmark-project-probes.mjs +1 -1
  34. package/scripts/benchmark-workspace-events.ts +1 -1
  35. package/web/dist/assets/{activity-motion-DdE0kJi3.js → activity-motion-u7cCOvIh.js} +1 -1
  36. package/web/dist/assets/{activity-route-DLSJeSnu.js → activity-route-BthlzLJS.js} +1 -1
  37. package/web/dist/assets/{agent-accounts-CH91aYcr.js → agent-accounts-CbqP0u9A.js} +1 -1
  38. package/web/dist/assets/attention-CCx8Iagl.js +1 -0
  39. package/web/dist/assets/{commit-diff-panel-1KsqfPQm.js → commit-diff-panel-B1FnfuXx.js} +1 -1
  40. package/web/dist/assets/{diff-BcgZstvZ.js → diff-DwhVa59f.js} +2 -2
  41. package/web/dist/assets/{diff-view-Bf81mon2.js → diff-view-C4JhxweA.js} +1 -1
  42. package/web/dist/assets/{file-preview-CWH2pPkO.js → file-preview-xqxo9aYs.js} +1 -1
  43. package/web/dist/assets/{git-toolbar-BDazbdBO.js → git-toolbar-B5EhJG95.js} +1 -1
  44. package/web/dist/assets/{github-DYA-wBvz.js → github-CGvl-B9Z.js} +1 -1
  45. package/web/dist/assets/{global-activity-route-CalieTgD.js → global-activity-route-n_BdJZWx.js} +1 -1
  46. package/web/dist/assets/index-O1VoICYw.js +17 -0
  47. package/web/dist/assets/{preview-pane-connected-BUPElme2.js → preview-pane-connected-OWg6VXKi.js} +1 -1
  48. package/web/dist/assets/{project-router-DZfQkmEw.js → project-router-Coo_s3l-.js} +1 -1
  49. package/web/dist/assets/{project-scope-context-DHDNqsXD.js → project-scope-context-WiGQMFsB.js} +1 -1
  50. package/web/dist/assets/{prompt-template-menu-Dyu7XblO.js → prompt-template-menu-Ch7UoIKH.js} +1 -1
  51. package/web/dist/assets/{queries-BvZol9tf.js → queries-BLvbAnL8.js} +1 -1
  52. package/web/dist/assets/{reference-chip-BD5-b_CU.js → reference-chip-P6ytqWNt.js} +1 -1
  53. package/web/dist/assets/{repo-git-B-pzLLjM.js → repo-git-ZeZnpwuR.js} +1 -1
  54. package/web/dist/assets/{report-reader-BKo8xIqy.js → report-reader-D_uzPRmR.js} +1 -1
  55. package/web/dist/assets/{reports-CHoco8IF.js → reports-C49_pROg.js} +1 -1
  56. package/web/dist/assets/{run-header-Co7v26sT.js → run-header-BR1PGTJB.js} +1 -1
  57. package/web/dist/assets/{skills-BVSRZ4Fr.js → skills-BHpdpRR-.js} +1 -1
  58. package/web/dist/assets/{tab-link-CXiNVJ5a.js → tab-link-CONf2d_z.js} +1 -1
  59. package/web/dist/assets/{task-changes-CItEr9td.js → task-changes-DqcCJDTC.js} +1 -1
  60. package/web/dist/assets/{task-commits-BYAybF0L.js → task-commits-Jmpz5NtV.js} +1 -1
  61. package/web/dist/assets/{task-files-CW8lh-Jp.js → task-files-BFSteFDh.js} +1 -1
  62. package/web/dist/assets/{task-github-item-FWzM8NKC.js → task-github-item-CIno99eX.js} +1 -1
  63. package/web/dist/assets/{task-thread-CCUIMhcV.js → task-thread-BKkxwKd_.js} +1 -1
  64. package/web/dist/assets/{thread-state-CFLv_VQJ.js → thread-state-Bwt_th_-.js} +1 -1
  65. package/web/dist/assets/{use-desktop-DhAwfRfO.js → use-desktop-CW-Femww.js} +1 -1
  66. package/web/dist/assets/{use-hand-to-agent-state-CqFlsg5z.js → use-hand-to-agent-state-XV1UwyxH.js} +1 -1
  67. package/web/dist/assets/{useInfiniteQuery-BmndP0ve.js → useInfiniteQuery-BgLdxmcZ.js} +1 -1
  68. package/web/dist/assets/useQuery-CY8bJTYi.js +1 -0
  69. package/web/dist/assets/{workflows-DJgvKk6C.js → workflows-DUCROjgb.js} +1 -1
  70. package/web/dist/assets/{ws-DBsqEdPb.js → ws-8bmD25V4.js} +1 -1
  71. package/web/dist/index.html +12 -12
  72. package/web/dist/assets/attention-BQflw45i.js +0 -1
  73. package/web/dist/assets/index-B7K7I3e9.js +0 -17
  74. package/web/dist/assets/useQuery-CsEdg2zt.js +0 -1
@@ -208,7 +208,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
208
208
  localHandoff: boolean;
209
209
  settingsAdmin: boolean;
210
210
  remoteSettingsAdmin: boolean;
211
- singleProject: boolean;
212
211
  automations: boolean;
213
212
  preview: boolean;
214
213
  voice: boolean;
@@ -278,18 +277,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
278
277
  showHidden?: string | undefined;
279
278
  };
280
279
  };
281
- } | {
282
- output: {
283
- error: string;
284
- };
285
- outputFormat: "json";
286
- status: 409;
287
- input: {
288
- query: {
289
- path?: string | undefined;
290
- showHidden?: string | undefined;
291
- };
292
- };
293
280
  } | {
294
281
  output: {
295
282
  error: string;
@@ -2319,7 +2306,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2319
2306
  error: string;
2320
2307
  };
2321
2308
  outputFormat: "json";
2322
- status: 409;
2309
+ status: 404;
2323
2310
  input: {
2324
2311
  param: {
2325
2312
  projectId: string;
@@ -2330,7 +2317,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2330
2317
  error: string;
2331
2318
  };
2332
2319
  outputFormat: "json";
2333
- status: 404;
2320
+ status: 409;
2334
2321
  input: {
2335
2322
  param: {
2336
2323
  projectId: string;
@@ -2364,27 +2351,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2364
2351
  } & {
2365
2352
  "/projects/:projectId": {
2366
2353
  $patch: {
2367
- output: {
2368
- error: string;
2369
- };
2370
- outputFormat: "json";
2371
- status: 409;
2372
- input: {
2373
- json: {
2374
- maxParallel?: number | null | undefined;
2375
- tags?: string[] | null | undefined;
2376
- webhook?: {
2377
- url: string;
2378
- token?: string | undefined;
2379
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2380
- } | null | undefined;
2381
- };
2382
- } & {
2383
- param: {
2384
- projectId: string;
2385
- };
2386
- };
2387
- } | {
2388
2354
  output: {
2389
2355
  error: string;
2390
2356
  };
@@ -2480,17 +2446,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2480
2446
  } & {
2481
2447
  "/projects/:projectId/webhook/test": {
2482
2448
  $post: {
2483
- output: {
2484
- error: string;
2485
- };
2486
- outputFormat: "json";
2487
- status: 409;
2488
- input: {
2489
- param: {
2490
- projectId: string;
2491
- };
2492
- };
2493
- } | {
2494
2449
  output: {
2495
2450
  error: string;
2496
2451
  };
@@ -2805,18 +2760,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2805
2760
  webhookId: string;
2806
2761
  };
2807
2762
  };
2808
- } | {
2809
- output: {
2810
- error: string;
2811
- };
2812
- outputFormat: "json";
2813
- status: 409;
2814
- input: {
2815
- param: {
2816
- projectId: string;
2817
- webhookId: string;
2818
- };
2819
- };
2820
2763
  } | {
2821
2764
  output: {
2822
2765
  ok: boolean;
@@ -4950,19 +4893,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4950
4893
  } & {
4951
4894
  "/repo/commit/:sha": {
4952
4895
  $get: {
4953
- output: string;
4954
- outputFormat: "text";
4955
- status: import("hono/utils/http-status").ContentfulStatusCode;
4956
- input: {
4957
- query: {
4958
- structured?: string | undefined;
4959
- };
4960
- } & {
4961
- param: {
4962
- sha: string;
4963
- };
4964
- };
4965
- } | {
4966
4896
  output: {
4967
4897
  error: string;
4968
4898
  code?: "invalid_input" | undefined;
@@ -5026,6 +4956,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5026
4956
  sha: string;
5027
4957
  };
5028
4958
  };
4959
+ } | {
4960
+ output: string;
4961
+ outputFormat: "text";
4962
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4963
+ input: {
4964
+ query: {
4965
+ structured?: string | undefined;
4966
+ };
4967
+ } & {
4968
+ param: {
4969
+ sha: string;
4970
+ };
4971
+ };
5029
4972
  };
5030
4973
  };
5031
4974
  } & {
@@ -18363,20 +18306,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18363
18306
  } & {
18364
18307
  "/runs/:id/handoff": {
18365
18308
  $get: {
18366
- output: string;
18367
- outputFormat: "text";
18368
- status: 200;
18309
+ output: {
18310
+ error: string;
18311
+ };
18312
+ outputFormat: "json";
18313
+ status: 404;
18369
18314
  input: {
18370
18315
  param: {
18371
18316
  id: string;
18372
18317
  };
18373
18318
  };
18374
18319
  } | {
18375
- output: {
18376
- error: string;
18377
- };
18378
- outputFormat: "json";
18379
- status: 404;
18320
+ output: string;
18321
+ outputFormat: "text";
18322
+ status: 200;
18380
18323
  input: {
18381
18324
  param: {
18382
18325
  id: string;
@@ -18414,20 +18357,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18414
18357
  } & {
18415
18358
  "/runs/:id/diff": {
18416
18359
  $get: {
18417
- output: string;
18418
- outputFormat: "text";
18419
- status: import("hono/utils/http-status").ContentfulStatusCode;
18360
+ output: {
18361
+ error: string;
18362
+ };
18363
+ outputFormat: "json";
18364
+ status: 404 | 409;
18420
18365
  input: {
18421
18366
  param: {
18422
18367
  id: string;
18423
18368
  };
18424
18369
  };
18425
18370
  } | {
18426
- output: {
18427
- error: string;
18428
- };
18429
- outputFormat: "json";
18430
- status: 404 | 409;
18371
+ output: string;
18372
+ outputFormat: "text";
18373
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18431
18374
  input: {
18432
18375
  param: {
18433
18376
  id: string;
@@ -20827,19 +20770,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20827
20770
  } & {
20828
20771
  "/repo/commit/:sha": {
20829
20772
  $get: {
20830
- output: string;
20831
- outputFormat: "text";
20832
- status: import("hono/utils/http-status").ContentfulStatusCode;
20833
- input: {
20834
- query: {
20835
- structured?: string | undefined;
20836
- };
20837
- } & {
20838
- param: {
20839
- sha: string;
20840
- };
20841
- };
20842
- } | {
20843
20773
  output: {
20844
20774
  error: string;
20845
20775
  code?: "invalid_input" | undefined;
@@ -20903,6 +20833,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20903
20833
  sha: string;
20904
20834
  };
20905
20835
  };
20836
+ } | {
20837
+ output: string;
20838
+ outputFormat: "text";
20839
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20840
+ input: {
20841
+ query: {
20842
+ structured?: string | undefined;
20843
+ };
20844
+ } & {
20845
+ param: {
20846
+ sha: string;
20847
+ };
20848
+ };
20906
20849
  };
20907
20850
  };
20908
20851
  } & {
@@ -34240,20 +34183,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34240
34183
  } & {
34241
34184
  "/runs/:id/handoff": {
34242
34185
  $get: {
34243
- output: string;
34244
- outputFormat: "text";
34245
- status: 200;
34186
+ output: {
34187
+ error: string;
34188
+ };
34189
+ outputFormat: "json";
34190
+ status: 404;
34246
34191
  input: {
34247
34192
  param: {
34248
34193
  id: string;
34249
34194
  };
34250
34195
  };
34251
34196
  } | {
34252
- output: {
34253
- error: string;
34254
- };
34255
- outputFormat: "json";
34256
- status: 404;
34197
+ output: string;
34198
+ outputFormat: "text";
34199
+ status: 200;
34257
34200
  input: {
34258
34201
  param: {
34259
34202
  id: string;
@@ -34291,20 +34234,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34291
34234
  } & {
34292
34235
  "/runs/:id/diff": {
34293
34236
  $get: {
34294
- output: string;
34295
- outputFormat: "text";
34296
- status: import("hono/utils/http-status").ContentfulStatusCode;
34237
+ output: {
34238
+ error: string;
34239
+ };
34240
+ outputFormat: "json";
34241
+ status: 404 | 409;
34297
34242
  input: {
34298
34243
  param: {
34299
34244
  id: string;
34300
34245
  };
34301
34246
  };
34302
34247
  } | {
34303
- output: {
34304
- error: string;
34305
- };
34306
- outputFormat: "json";
34307
- status: 404 | 409;
34248
+ output: string;
34249
+ outputFormat: "text";
34250
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34308
34251
  input: {
34309
34252
  param: {
34310
34253
  id: string;
@@ -355,7 +355,7 @@ export function createApp(deps) {
355
355
  // The host-wide services and the provider closures built on them live in `./server-deps.ts`.
356
356
  const { modelCatalog, providerAuth, workspaceConfig, openTerminal, openFile, openApp, detectEnvironment } = resolveServerDeps(deps, bootRoot);
357
357
  const { providerStatus, providerActionError, invalidateHostModels } = createProviderStatus({ modelCatalog, providerAuth, workspaceConfig });
358
- const workspaceProjects = deps.workspaceProjects ?? createWorkspaceProjects({ bootRoot, bootProjectId, bindHost, home: deps.home });
358
+ const workspaceProjects = deps.workspaceProjects ?? createWorkspaceProjects({ bootRoot, bootProjectId, home: deps.home });
359
359
  const { resolveBootProject } = workspaceProjects;
360
360
  // Health's workspace garnish: id+name ONLY — never `root` (#431, see the
361
361
  // health route). Reads only the registry file; no per-root status probes,
@@ -364,11 +364,10 @@ export function createApp(deps) {
364
364
  try {
365
365
  const registry = (await loadWorkspaceConfig(deps.home.workspaceConfig)).projects;
366
366
  const bootProject = await resolveBootProject(registry);
367
- const visible = await workspaceProjects.visibleProjects(registry, bootProject);
368
367
  return {
369
368
  // Explicit picks, not a spread: the registry schema passes unknown
370
369
  // keys through, and `root` must never ride along onto health.
371
- projects: visible.map((p) => ({
370
+ projects: registry.map((p) => ({
372
371
  id: p.id,
373
372
  name: p.name || basename(p.root),
374
373
  })),
@@ -382,7 +381,6 @@ export function createApp(deps) {
382
381
  // Hosted-mode gate (spec §"Deployment modes") — read per request so
383
382
  // CEZ_REMOTE flips take effect live (and tests can toggle it).
384
383
  const capabilities = () => resolveCapabilities(process.env, bindHost, deps.squawkPort?.(), deps.home);
385
- const singleProjectRefusal = (action) => ({ error: `single-project mode is enabled; ${action} is disabled` });
386
384
  // Inbox live updates (spec 007). Opt-in (#471): no capability, no watcher —
387
385
  // and since step 2.3 the per-dataDir watch is created lazily by the first
388
386
  // SSE subscription (and torn down with the last), nothing to start here.
@@ -397,7 +395,7 @@ export function createApp(deps) {
397
395
  // Non-boot projects build lazily on first scoped request; their managers
398
396
  // count against the same workspace semaphore as the boot manager (step 2.5).
399
397
  const contexts = createWorkspaceProjectContexts(deps, taskWebhooks, {
400
- listProjects: () => workspaceProjects.listVisibleProjects(),
398
+ listProjects: () => workspaceProjects.listProjects(),
401
399
  squawkPort: deps.squawkPort,
402
400
  });
403
401
  // Workspace-level SSE bus (step 2.8) — the registry mutators and the
@@ -444,12 +442,10 @@ export function createApp(deps) {
444
442
  };
445
443
  /**
446
444
  * Read-modify-write one project's webhook list (hearsay-tools/cezarion#1576), with the PATCH
447
- * route's guards: single-project mode refuses, an unknown project 404s without a write, and a
445
+ * route's guards: an unknown project 404s without a write, and a
448
446
  * failed write (a read-only home) answers 500 having persisted nothing.
449
447
  */
450
448
  const editProjectWebhooks = async (raw, edit) => {
451
- if (capabilities().singleProject)
452
- return { ...singleProjectRefusal('editing projects'), status: 409 };
453
449
  const resolved = await workspaceProjects.resolveProjectId(raw);
454
450
  if ('error' in resolved)
455
451
  return { ...resolved, status: 404 };
@@ -1623,7 +1619,7 @@ export function createApp(deps) {
1623
1619
  let projectsDir = defaultWorkspaceConfig().projectsDir;
1624
1620
  try {
1625
1621
  projectsDir = (await loadWorkspaceConfig(deps.home.workspaceConfig)).projectsDir;
1626
- projects = await workspaceProjects.listVisibleProjects();
1622
+ projects = await workspaceProjects.listProjects();
1627
1623
  }
1628
1624
  catch {
1629
1625
  // unreadable workspace — degrade to the empty registry + defaults
@@ -1643,9 +1639,6 @@ export function createApp(deps) {
1643
1639
  return c.json(registered.body, 200);
1644
1640
  })
1645
1641
  .delete('/projects/:projectId', async (c) => {
1646
- if (capabilities().singleProject) {
1647
- return c.json(singleProjectRefusal('removing projects'), 409);
1648
- }
1649
1642
  const raw = c.req.param('projectId');
1650
1643
  // Same gate the scoped-route resolver applies, and the same 404 wording —
1651
1644
  // a malformed id is an unknown project, not a validation essay.
@@ -1718,9 +1711,6 @@ export function createApp(deps) {
1718
1711
  // `~/.cezar/agent-accounts.json` beside the accounts it names, so a Squawk version that has
1719
1712
  // never heard of accounts cannot drop it (see workspace/agent-accounts.ts).
1720
1713
  .patch('/projects/:projectId', jsonZodValidator(updateProjectInputSchema), async (c) => {
1721
- if (capabilities().singleProject) {
1722
- return c.json(singleProjectRefusal('editing projects'), 409);
1723
- }
1724
1714
  const raw = c.req.param('projectId');
1725
1715
  // Same gate + 404 wording as DELETE: a malformed id is an unknown project.
1726
1716
  const resolved = await workspaceProjects.resolveProjectId(raw);
@@ -1799,11 +1789,7 @@ export function createApp(deps) {
1799
1789
  })
1800
1790
  // "Send test" (#589): one `task.test` delivery to the STORED webhook, now, with the timeout
1801
1791
  // the real deliveries use and no retries — the settings page wants the answer, not a queue.
1802
- // Refused in single-project mode like every other registry edit route.
1803
1792
  .post('/projects/:projectId/webhook/test', async (c) => {
1804
- if (capabilities().singleProject) {
1805
- return c.json(singleProjectRefusal('editing projects'), 409);
1806
- }
1807
1793
  const raw = c.req.param('projectId');
1808
1794
  const entry = await workspaceProjects.resolveRegistryEntry(raw);
1809
1795
  if (!entry)
@@ -1817,8 +1803,8 @@ export function createApp(deps) {
1817
1803
  })
1818
1804
  // ---- project webhooks (hearsay-tools/cezarion#1576) ----
1819
1805
  // Several webhooks per project, each with its own task-state selection and an explicit
1820
- // "Expose to agents" switch. Registry edits like the PATCH above: refused in single-project
1821
- // mode, 404 on an unknown project or webhook, and a write that names nothing else leaves the
1806
+ // "Expose to agents" switch. Registry edits like the PATCH above:
1807
+ // 404 on an unknown project or webhook, and a write that names nothing else leaves the
1822
1808
  // rest of the entry alone. The first write stores `webhooks` and drops the old `webhook` key.
1823
1809
  .post('/projects/:projectId/webhooks', jsonZodValidator(createProjectWebhookInputSchema), async (c) => {
1824
1810
  const input = c.req.valid('json');
@@ -1868,9 +1854,6 @@ export function createApp(deps) {
1868
1854
  })
1869
1855
  // "Send test" for one webhook: one `task.test` delivery, now, no retries.
1870
1856
  .post('/projects/:projectId/webhooks/:webhookId/test', paramZodValidator(projectWebhookParamsSchema), async (c) => {
1871
- if (capabilities().singleProject) {
1872
- return c.json(singleProjectRefusal('editing projects'), 409);
1873
- }
1874
1857
  const { projectId, webhookId } = c.req.valid('param');
1875
1858
  const entry = await workspaceProjects.resolveRegistryEntry(projectId);
1876
1859
  if (!entry)
@@ -1883,9 +1866,6 @@ export function createApp(deps) {
1883
1866
  })
1884
1867
  .get('/projects/checkout/:checkoutId/progress', paramZodValidator(checkoutProgressParamsSchema), c => c.json({ progress: checkoutProgress.get(c.req.valid('param').checkoutId) }))
1885
1868
  .post('/projects/checkout', jsonZodValidator(() => checkoutSchema, { message: 'url must be a GitHub repository' }), async (c) => {
1886
- if (capabilities().singleProject) {
1887
- return c.json(singleProjectRefusal('adding projects'), 409);
1888
- }
1889
1869
  const parsed = { data: c.req.valid('json') };
1890
1870
  const { url, name, checkoutId } = parsed.data;
1891
1871
  const result = await checkoutRepo({
@@ -1934,9 +1914,6 @@ export function createApp(deps) {
1934
1914
  return c.json(await listGithubOwners(deps.projectCommandRunner));
1935
1915
  })
1936
1916
  .post('/projects/create', jsonZodValidator(() => createProjectInputSchema, { message: 'project name must be a valid GitHub repository name — letters, digits, ".", "-" and "_" only, no spaces' }), async (c) => {
1937
- if (capabilities().singleProject) {
1938
- return c.json(singleProjectRefusal('adding projects'), 409);
1939
- }
1940
1917
  const { name, github, checkoutId } = c.req.valid('json');
1941
1918
  if (github && !capabilities().localHandoff) {
1942
1919
  return c.json({ error: HOSTED_GITHUB_CREATE_REFUSAL }, 409);
@@ -2011,9 +1988,6 @@ export function createApp(deps) {
2011
1988
  * Returns the status + body for the caller to answer with.
2012
1989
  */
2013
1990
  const registerFolder = async (spelled, source) => {
2014
- if (capabilities().singleProject) {
2015
- return { status: 409, body: singleProjectRefusal('adding projects') };
2016
- }
2017
1991
  // `~` is expanded for the same reason `/api/fs/browse` expands it: the
2018
1992
  // dialog hands back absolute paths, but a hand-written body (curl, a
2019
1993
  // future CLI) spells home the way a shell does.
@@ -2282,9 +2256,6 @@ export function createApp(deps) {
2282
2256
  // ---- chained family: filesystem browse (workspace-level) ----
2283
2257
  const fsBrowseRoutes = new Hono()
2284
2258
  .get('/fs/browse', queryZodValidator(browseQuerySchema), async (c) => {
2285
- if (capabilities().singleProject) {
2286
- return c.json(singleProjectRefusal('folder browsing'), 409);
2287
- }
2288
2259
  const query = c.req.valid('query');
2289
2260
  const root = resolveBrowseRoot(await workspaceBrowseRoot());
2290
2261
  const result = await browseDirectory({
@@ -4357,7 +4328,7 @@ export function createApp(deps) {
4357
4328
  const projectRunSources = async () => {
4358
4329
  let projects = [];
4359
4330
  try {
4360
- projects = await workspaceProjects.listVisibleProjects();
4331
+ projects = await workspaceProjects.listProjects();
4361
4332
  }
4362
4333
  catch {
4363
4334
  // unreadable workspace — no rows, never a 500. The palette degrades to the active