@hearsay-tools/squawk 0.18.0-pr3531.6325 → 0.18.0-pr3531.6405

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 (363) hide show
  1. package/README.md +26 -4
  2. package/dist/autosave-git.d.ts +1 -1
  3. package/dist/autosave-git.js +2 -2
  4. package/dist/autosave-git.js.map +1 -1
  5. package/dist/ci-wait/controller.d.ts +5 -5
  6. package/dist/ci-wait/controller.js +2 -2
  7. package/dist/ci-wait/controller.js.map +1 -1
  8. package/dist/cli-dispatch.d.ts +1 -4
  9. package/dist/cli-dispatch.js +24 -37
  10. package/dist/cli-dispatch.js.map +1 -1
  11. package/dist/config.d.ts +1 -0
  12. package/dist/config.js +5 -0
  13. package/dist/config.js.map +1 -1
  14. package/dist/contract/health.d.ts +0 -2
  15. package/dist/contract/index.js +494 -501
  16. package/dist/contract/run-search.d.ts +18 -20
  17. package/dist/contract/waits.d.ts +3 -3
  18. package/dist/core/claude-cli-runner.js +10 -8
  19. package/dist/core/claude-cli-runner.js.map +1 -1
  20. package/dist/core/host-path.d.ts +5 -0
  21. package/dist/core/host-path.js +9 -0
  22. package/dist/core/host-path.js.map +1 -0
  23. package/dist/core/omp-runner.js +6 -5
  24. package/dist/core/omp-runner.js.map +1 -1
  25. package/dist/core/product-env.d.ts +2 -2
  26. package/dist/core/product-env.js +3 -4
  27. package/dist/core/product-env.js.map +1 -1
  28. package/dist/delegation/destroy-observation.d.ts +4 -2
  29. package/dist/delegation/destroy-observation.js +4 -3
  30. package/dist/delegation/destroy-observation.js.map +1 -1
  31. package/dist/delegation/policy.d.ts +5 -0
  32. package/dist/delegation/policy.js +6 -1
  33. package/dist/delegation/policy.js.map +1 -1
  34. package/dist/delegation/process-liveness.d.ts +3 -0
  35. package/dist/delegation/process-liveness.js +33 -2
  36. package/dist/delegation/process-liveness.js.map +1 -1
  37. package/dist/delegation/provision.d.ts +0 -1
  38. package/dist/delegation/provision.js +2 -2
  39. package/dist/delegation/provision.js.map +1 -1
  40. package/dist/delegation/routes.d.ts +4 -4
  41. package/dist/delegation/service.js +2 -2
  42. package/dist/delegation/service.js.map +1 -1
  43. package/dist/delegation/transport.d.ts +71 -71
  44. package/dist/delegation/worker-cleanup.d.ts +2 -0
  45. package/dist/delegation/worker-cleanup.js +23 -5
  46. package/dist/delegation/worker-cleanup.js.map +1 -1
  47. package/dist/delegation/workspace-git.d.ts +2 -5
  48. package/dist/delegation/workspace-git.js +5 -11
  49. package/dist/delegation/workspace-git.js.map +1 -1
  50. package/dist/delegation/workspace-removal.d.ts +3 -0
  51. package/dist/delegation/workspace-removal.js +30 -39
  52. package/dist/delegation/workspace-removal.js.map +1 -1
  53. package/dist/delegation/workspace.js +3 -3
  54. package/dist/delegation/workspace.js.map +1 -1
  55. package/dist/delegation/worktree-teardown.d.ts +8 -0
  56. package/dist/delegation/worktree-teardown.js +36 -0
  57. package/dist/delegation/worktree-teardown.js.map +1 -0
  58. package/dist/detached-process.d.ts +0 -18
  59. package/dist/detached-process.js +1 -148
  60. package/dist/detached-process.js.map +1 -1
  61. package/dist/git-command.d.ts +14 -2
  62. package/dist/git-command.js +30 -3
  63. package/dist/git-command.js.map +1 -1
  64. package/dist/git-private-index.js +1 -2
  65. package/dist/git-private-index.js.map +1 -1
  66. package/dist/git-worktree-lock.js +5 -3
  67. package/dist/git-worktree-lock.js.map +1 -1
  68. package/dist/home/command.d.ts +4 -4
  69. package/dist/home/command.js +9 -15
  70. package/dist/home/command.js.map +1 -1
  71. package/dist/home/deprecation.d.ts +2 -4
  72. package/dist/home/deprecation.js +2 -3
  73. package/dist/home/deprecation.js.map +1 -1
  74. package/dist/home/display.d.ts +5 -4
  75. package/dist/home/display.js +7 -7
  76. package/dist/home/display.js.map +1 -1
  77. package/dist/home/entry.d.ts +1 -3
  78. package/dist/home/entry.js +3 -4
  79. package/dist/home/entry.js.map +1 -1
  80. package/dist/home/home.js +1 -2
  81. package/dist/home/home.js.map +1 -1
  82. package/dist/home/identity.d.ts +4 -3
  83. package/dist/home/identity.js +3 -5
  84. package/dist/home/identity.js.map +1 -1
  85. package/dist/home/legacy-recovery.d.ts +2 -2
  86. package/dist/home/legacy-recovery.js +4 -9
  87. package/dist/home/legacy-recovery.js.map +1 -1
  88. package/dist/home/legacy-source.d.ts +2 -3
  89. package/dist/home/legacy-source.js +3 -6
  90. package/dist/home/legacy-source.js.map +1 -1
  91. package/dist/home/migrate.d.ts +1 -1
  92. package/dist/home/migrate.js +1 -1
  93. package/dist/home/migrate.js.map +1 -1
  94. package/dist/home/migration-boot.d.ts +1 -2
  95. package/dist/home/migration-boot.js +2 -5
  96. package/dist/home/migration-boot.js.map +1 -1
  97. package/dist/home/migration-cli.js +4 -3
  98. package/dist/home/migration-cli.js.map +1 -1
  99. package/dist/home/private-files.js +2 -3
  100. package/dist/home/private-files.js.map +1 -1
  101. package/dist/home/recovery-watch.d.ts +1 -1
  102. package/dist/home/recovery-watch.js +3 -4
  103. package/dist/home/recovery-watch.js.map +1 -1
  104. package/dist/home/recovery.d.ts +3 -3
  105. package/dist/home/recovery.js +7 -8
  106. package/dist/home/recovery.js.map +1 -1
  107. package/dist/home/resolve.js +1 -2
  108. package/dist/home/resolve.js.map +1 -1
  109. package/dist/index.js +1 -1
  110. package/dist/index.js.map +1 -1
  111. package/dist/install-as-command.d.ts +1 -1
  112. package/dist/managed-install/launcher.d.ts +3 -3
  113. package/dist/managed-install/launcher.js +15 -17
  114. package/dist/managed-install/launcher.js.map +1 -1
  115. package/dist/preview/agent-address.d.ts +1 -1
  116. package/dist/preview/agent-address.js +2 -2
  117. package/dist/preview/agent-address.js.map +1 -1
  118. package/dist/preview/browser-launch.d.ts +2 -1
  119. package/dist/preview/browser-launch.js +12 -9
  120. package/dist/preview/browser-launch.js.map +1 -1
  121. package/dist/preview/chromium.d.ts +4 -0
  122. package/dist/preview/chromium.js +34 -7
  123. package/dist/preview/chromium.js.map +1 -1
  124. package/dist/process-wait/exit-file.d.ts +5 -3
  125. package/dist/process-wait/exit-file.js +7 -3
  126. package/dist/process-wait/exit-file.js.map +1 -1
  127. package/dist/process-wait/supervisor.d.ts +1 -1
  128. package/dist/process-wait/supervisor.js +10 -7
  129. package/dist/process-wait/supervisor.js.map +1 -1
  130. package/dist/project-migration/auto.d.ts +2 -5
  131. package/dist/project-migration/auto.js +5 -8
  132. package/dist/project-migration/auto.js.map +1 -1
  133. package/dist/project-migration/fresh.d.ts +1 -1
  134. package/dist/project-migration/fresh.js +2 -3
  135. package/dist/project-migration/fresh.js.map +1 -1
  136. package/dist/project-paths.d.ts +5 -8
  137. package/dist/project-paths.js +9 -12
  138. package/dist/project-paths.js.map +1 -1
  139. package/dist/release/compatibility.d.ts +2 -2
  140. package/dist/release/compatibility.js +4 -4
  141. package/dist/release/compatibility.js.map +1 -1
  142. package/dist/release/manifests.d.ts +7 -17
  143. package/dist/release/manifests.js +14 -42
  144. package/dist/release/manifests.js.map +1 -1
  145. package/dist/release/snapshot.d.ts +3 -3
  146. package/dist/release/snapshot.js +3 -3
  147. package/dist/release/stable.d.ts +1 -2
  148. package/dist/release/stable.js +1 -2
  149. package/dist/release/stable.js.map +1 -1
  150. package/dist/runs/run-exits.d.ts +301 -301
  151. package/dist/runs/run-exits.js +2 -0
  152. package/dist/runs/run-exits.js.map +1 -1
  153. package/dist/runs/run-index.js +16 -46
  154. package/dist/runs/run-index.js.map +1 -1
  155. package/dist/runs/run-references.d.ts +3 -0
  156. package/dist/runs/run-references.js +8 -1
  157. package/dist/runs/run-references.js.map +1 -1
  158. package/dist/runs/store.d.ts +10 -0
  159. package/dist/runs/store.js +18 -21
  160. package/dist/runs/store.js.map +1 -1
  161. package/dist/serve-command.js +1 -1
  162. package/dist/serve-command.js.map +1 -1
  163. package/dist/server/activity-sources.d.ts +2 -2
  164. package/dist/server/activity-sources.js +4 -4
  165. package/dist/server/activity-sources.js.map +1 -1
  166. package/dist/server/capabilities.d.ts +0 -5
  167. package/dist/server/capabilities.js +0 -1
  168. package/dist/server/capabilities.js.map +1 -1
  169. package/dist/server/checkout.js +2 -1
  170. package/dist/server/checkout.js.map +1 -1
  171. package/dist/server/create-project.js +2 -1
  172. package/dist/server/create-project.js.map +1 -1
  173. package/dist/server/forge/draft-pr.js +2 -1
  174. package/dist/server/forge/draft-pr.js.map +1 -1
  175. package/dist/server/git-changes.d.ts +18 -0
  176. package/dist/server/git-changes.js +22 -17
  177. package/dist/server/git-changes.js.map +1 -1
  178. package/dist/server/home-recovery-routes.d.ts +2 -3
  179. package/dist/server/home-recovery-routes.js +10 -11
  180. package/dist/server/home-recovery-routes.js.map +1 -1
  181. package/dist/server/live-routes.d.ts +6 -6
  182. package/dist/server/project-context.d.ts +0 -2
  183. package/dist/server/project-context.js +1 -1
  184. package/dist/server/project-context.js.map +1 -1
  185. package/dist/server/repo-branches.js +2 -4
  186. package/dist/server/repo-branches.js.map +1 -1
  187. package/dist/server/repo-pull.js +2 -1
  188. package/dist/server/repo-pull.js.map +1 -1
  189. package/dist/server/reports-api.d.ts +2 -2
  190. package/dist/server/server.d.ts +1609 -1668
  191. package/dist/server/server.js +12 -41
  192. package/dist/server/server.js.map +1 -1
  193. package/dist/server/start-server.js +10 -13
  194. package/dist/server/start-server.js.map +1 -1
  195. package/dist/server/workspace-live-routes.d.ts +6 -6
  196. package/dist/server/workspace-projects.d.ts +2 -7
  197. package/dist/server/workspace-projects.js +3 -15
  198. package/dist/server/workspace-projects.js.map +1 -1
  199. package/dist/server-install/npx-cache.d.ts +1 -1
  200. package/dist/server-install/npx-cache.js +4 -5
  201. package/dist/server-install/npx-cache.js.map +1 -1
  202. package/dist/server-install/platforms/macosx-migration.d.ts +2 -2
  203. package/dist/server-install/platforms/macosx-migration.js +2 -6
  204. package/dist/server-install/platforms/macosx-migration.js.map +1 -1
  205. package/dist/server-install/platforms/macosx-ngrok.d.ts +4 -6
  206. package/dist/server-install/platforms/macosx-ngrok.js +55 -57
  207. package/dist/server-install/platforms/macosx-ngrok.js.map +1 -1
  208. package/dist/server-install/platforms/ubuntu-vps-migration.d.ts +4 -4
  209. package/dist/server-install/platforms/ubuntu-vps-migration.js +17 -21
  210. package/dist/server-install/platforms/ubuntu-vps-migration.js.map +1 -1
  211. package/dist/server-install/platforms/ubuntu-vps-names.d.ts +13 -11
  212. package/dist/server-install/platforms/ubuntu-vps-names.js +15 -17
  213. package/dist/server-install/platforms/ubuntu-vps-names.js.map +1 -1
  214. package/dist/server-install/platforms/ubuntu-vps.d.ts +7 -11
  215. package/dist/server-install/platforms/ubuntu-vps.js +59 -62
  216. package/dist/server-install/platforms/ubuntu-vps.js.map +1 -1
  217. package/dist/skills-remote.js +2 -1
  218. package/dist/skills-remote.js.map +1 -1
  219. package/dist/skills.js +1 -4
  220. package/dist/skills.js.map +1 -1
  221. package/dist/subcommands.d.ts +2 -2
  222. package/dist/subcommands.js +8 -12
  223. package/dist/subcommands.js.map +1 -1
  224. package/dist/update-check.d.ts +1 -1
  225. package/dist/update-check.js +2 -3
  226. package/dist/update-check.js.map +1 -1
  227. package/dist/workflows/run/continuation-session.js +1 -1
  228. package/dist/workflows/run/continuation-session.js.map +1 -1
  229. package/dist/workflows/run/family-reconciler.d.ts +0 -1
  230. package/dist/workflows/run/family-reconciler.js +0 -7
  231. package/dist/workflows/run/family-reconciler.js.map +1 -1
  232. package/dist/workflows/run/input-delivery.d.ts +2 -3
  233. package/dist/workflows/run/input-delivery.js +26 -34
  234. package/dist/workflows/run/input-delivery.js.map +1 -1
  235. package/dist/workflows/run/input-receipts.js +1 -2
  236. package/dist/workflows/run/input-receipts.js.map +1 -1
  237. package/dist/workflows/run/launch-context.d.ts +1 -1
  238. package/dist/workflows/run/launch-context.js +6 -6
  239. package/dist/workflows/run/launch-context.js.map +1 -1
  240. package/dist/workflows/run/run-cancel.js +10 -4
  241. package/dist/workflows/run/run-cancel.js.map +1 -1
  242. package/dist/workflows/run/session-events.js +0 -1
  243. package/dist/workflows/run/session-events.js.map +1 -1
  244. package/dist/workflows/run/step-session.js +1 -1
  245. package/dist/workflows/run/step-session.js.map +1 -1
  246. package/dist/workflows/run/turn-markers.d.ts +0 -3
  247. package/dist/workflows/run/turn-markers.js +0 -11
  248. package/dist/workflows/run/turn-markers.js.map +1 -1
  249. package/dist/workflows/run/turn-settler.js +2 -2
  250. package/dist/workflows/run/turn-settler.js.map +1 -1
  251. package/dist/workflows/run/types.d.ts +0 -2
  252. package/dist/workflows/run/usage-accounting.d.ts +3 -2
  253. package/dist/workflows/run/usage-accounting.js +8 -7
  254. package/dist/workflows/run/usage-accounting.js.map +1 -1
  255. package/dist/workflows/run/wait-engine.d.ts +72 -72
  256. package/dist/workflows/run-states.js +4 -3
  257. package/dist/workflows/run-states.js.map +1 -1
  258. package/dist/workflows/run.d.ts +2 -2
  259. package/dist/workflows/run.js +1 -1
  260. package/dist/workflows/run.js.map +1 -1
  261. package/dist/workflows/wait-scope.js +2 -2
  262. package/dist/workflows/wait-scope.js.map +1 -1
  263. package/dist/workspace/backup-cli.d.ts +1 -1
  264. package/dist/workspace/backup-cli.js +9 -14
  265. package/dist/workspace/backup-cli.js.map +1 -1
  266. package/dist/workspace/config.js +2 -1
  267. package/dist/workspace/config.js.map +1 -1
  268. package/dist/workspace/projects-cli.d.ts +0 -2
  269. package/dist/workspace/projects-cli.js +4 -27
  270. package/dist/workspace/projects-cli.js.map +1 -1
  271. package/dist/workspace/projects.d.ts +1 -5
  272. package/dist/workspace/projects.js +8 -5
  273. package/dist/workspace/projects.js.map +1 -1
  274. package/dist/worktree-setup.d.ts +0 -1
  275. package/dist/worktree-setup.js +1 -1
  276. package/dist/worktree-setup.js.map +1 -1
  277. package/package.json +4 -4
  278. package/scripts/benchmark-home.ts +3 -3
  279. package/scripts/benchmark-project-probes.mjs +1 -1
  280. package/scripts/benchmark-workspace-events.ts +1 -1
  281. package/scripts/mock-claude.mjs +4 -4
  282. package/scripts/mock-codex-app-server.mjs +4 -4
  283. package/scripts/mock-cursor-print.mjs +5 -6
  284. package/scripts/mock-nudge.mjs +1 -1
  285. package/scripts/mock-omp-rpc.mjs +3 -3
  286. package/scripts/mock-opencode-serve.mjs +4 -5
  287. package/scripts/mock-scenario.mjs +9 -18
  288. package/scripts/mock-silent-tail.mjs +1 -9
  289. package/web/dist/assets/activity-motion-u7cCOvIh.js +2 -0
  290. package/web/dist/assets/{activity-route-BJxCiEIp.js → activity-route-BthlzLJS.js} +1 -1
  291. package/web/dist/assets/agent-accounts-CbqP0u9A.js +18 -0
  292. package/web/dist/assets/{alert-dialog-h-3h9B4l.js → alert-dialog-CPBKJTj_.js} +1 -1
  293. package/web/dist/assets/attention-CCx8Iagl.js +1 -0
  294. package/web/dist/assets/{button-CS5tOblf.js → button-Czdi8NqC.js} +1 -1
  295. package/web/dist/assets/{centered-state-BmsqxbI8.js → centered-state-8l6wvu0C.js} +1 -1
  296. package/web/dist/assets/{cez-idle-NomdGTfa.js → cez-idle-xv7f96fc.js} +1 -1
  297. package/web/dist/assets/{commit-diff-panel-CtUOJAqz.js → commit-diff-panel-B1FnfuXx.js} +1 -1
  298. package/web/dist/assets/{dialog-Dw7fMdDQ.js → dialog-CkU56ywj.js} +1 -1
  299. package/web/dist/assets/{diff-DJyC6ofi.js → diff-DwhVa59f.js} +2 -2
  300. package/web/dist/assets/{diff-controls-BHF0Pvdc.js → diff-controls-DzcrZF8L.js} +1 -1
  301. package/web/dist/assets/{diff-view-20SWzhxR.js → diff-view-C4JhxweA.js} +1 -1
  302. package/web/dist/assets/{dist-DvNdR7gM.js → dist-D4TujV9O.js} +1 -1
  303. package/web/dist/assets/{dropdown-menu-D7f0O7xR.js → dropdown-menu-BN2BI4R1.js} +1 -1
  304. package/web/dist/assets/{es2015-CX0rgbM5.js → es2015-DnySZnV4.js} +1 -1
  305. package/web/dist/assets/{file-preview-C_c-tyCm.js → file-preview-xqxo9aYs.js} +1 -1
  306. package/web/dist/assets/{git-toolbar-Dm75uXLu.js → git-toolbar-B5EhJG95.js} +1 -1
  307. package/web/dist/assets/{github-BtFBo0G5.js → github-CGvl-B9Z.js} +1 -1
  308. package/web/dist/assets/{global-activity-route-Dr3RsNfM.js → global-activity-route-n_BdJZWx.js} +1 -1
  309. package/web/dist/assets/{image-preview-Dy3o8upo.js → image-preview-DpaJAUA9.js} +1 -1
  310. package/web/dist/assets/index-DS1HIBHa.css +1 -0
  311. package/web/dist/assets/index-O1VoICYw.js +17 -0
  312. package/web/dist/assets/{input-DIwJvCgi.js → input-Dilvz-YI.js} +1 -1
  313. package/web/dist/assets/{live-protocol-DBPXI6ks.js → live-protocol-DjH6ZQwI.js} +1 -1
  314. package/web/dist/assets/{nav-row-styles-CEA9c88Q.js → nav-row-styles-DoZBu-jT.js} +1 -1
  315. package/web/dist/assets/{preview-pane-connected-NLUpfhGa.js → preview-pane-connected-OWg6VXKi.js} +2 -2
  316. package/web/dist/assets/{project-router-BFKfAFvq.js → project-router-Coo_s3l-.js} +1 -1
  317. package/web/dist/assets/project-scope-context-WiGQMFsB.js +4 -0
  318. package/web/dist/assets/{prompt-template-menu-B8VpFfKO.js → prompt-template-menu-Ch7UoIKH.js} +1 -1
  319. package/web/dist/assets/queries-BLvbAnL8.js +1 -0
  320. package/web/dist/assets/{reference-chip-DMgD6d01.js → reference-chip-P6ytqWNt.js} +1 -1
  321. package/web/dist/assets/{repo-git-uAud743a.js → repo-git-ZeZnpwuR.js} +1 -1
  322. package/web/dist/assets/{report-reader-CdSUukXf.js → report-reader-D_uzPRmR.js} +1 -1
  323. package/web/dist/assets/reports-C49_pROg.js +1 -0
  324. package/web/dist/assets/run-header-BR1PGTJB.js +2 -0
  325. package/web/dist/assets/skills-BHpdpRR-.js +1 -0
  326. package/web/dist/assets/{tab-link-DDpdYMnv.js → tab-link-CONf2d_z.js} +1 -1
  327. package/web/dist/assets/{task-changes-Bh_7YAeI.js → task-changes-DqcCJDTC.js} +1 -1
  328. package/web/dist/assets/{task-commits-DfXEs6zT.js → task-commits-Jmpz5NtV.js} +1 -1
  329. package/web/dist/assets/{task-files-BRhNrDE4.js → task-files-BFSteFDh.js} +1 -1
  330. package/web/dist/assets/{task-github-item-BqZH0LVz.js → task-github-item-CIno99eX.js} +1 -1
  331. package/web/dist/assets/{task-thread-DvZKVSna.js → task-thread-BKkxwKd_.js} +5 -5
  332. package/web/dist/assets/{thread-state-FqUDnt89.js → thread-state-Bwt_th_-.js} +1 -1
  333. package/web/dist/assets/{toaster-CRVRHlMR.js → toaster-2NK3PogQ.js} +1 -1
  334. package/web/dist/assets/{use-desktop-DeG3Ha7y.js → use-desktop-CW-Femww.js} +1 -1
  335. package/web/dist/assets/{use-hand-to-agent-state-DeLboLqM.js → use-hand-to-agent-state-XV1UwyxH.js} +1 -1
  336. package/web/dist/assets/{useInfiniteQuery-BmfExLUr.js → useInfiniteQuery-BgLdxmcZ.js} +1 -1
  337. package/web/dist/assets/useQuery-CY8bJTYi.js +1 -0
  338. package/web/dist/assets/{workflows-DIB7faC8.js → workflows-DUCROjgb.js} +1 -1
  339. package/web/dist/assets/ws-8bmD25V4.js +1 -0
  340. package/web/dist/assets/{zoomable-image-UzXCYU7Z.js → zoomable-image-D0zshpve.js} +1 -1
  341. package/web/dist/index.html +25 -25
  342. package/web/dist/live-worker.js +1 -1
  343. package/dist/delegation/idle-test-app.d.ts +0 -4
  344. package/dist/delegation/idle-test-app.js +0 -186
  345. package/dist/delegation/idle-test-app.js.map +0 -1
  346. package/dist/delegation/windows-test-app.d.ts +0 -5
  347. package/dist/delegation/windows-test-app.js +0 -64
  348. package/dist/delegation/windows-test-app.js.map +0 -1
  349. package/dist/home/switch.d.ts +0 -2
  350. package/dist/home/switch.js +0 -3
  351. package/dist/home/switch.js.map +0 -1
  352. package/web/dist/assets/activity-motion-DC9hC5nV.js +0 -2
  353. package/web/dist/assets/agent-accounts-DnFoFuBJ.js +0 -18
  354. package/web/dist/assets/attention-VmnPpwJx.js +0 -1
  355. package/web/dist/assets/index-CrlovI4F.css +0 -1
  356. package/web/dist/assets/index-jbljrsnC.js +0 -17
  357. package/web/dist/assets/project-scope-context-DSkcNKO7.js +0 -4
  358. package/web/dist/assets/queries-sEwd08S5.js +0 -1
  359. package/web/dist/assets/reports-C842hFaD.js +0 -1
  360. package/web/dist/assets/run-header-Bj-L6zkj.js +0 -2
  361. package/web/dist/assets/skills-DFTYrwoH.js +0 -1
  362. package/web/dist/assets/useQuery-8pHkglP4.js +0 -1
  363. package/web/dist/assets/ws-CEQH0TUT.js +0 -1
@@ -29,6 +29,7 @@ import { commitQuerySchema } from '../contract/index.js';
29
29
  import { imageMimeType } from '../contract/index.js';
30
30
  import { providerForActiveRun } from '../contract/index.js';
31
31
  import { defined } from '../core/defined.js';
32
+ import { isAbsoluteHostPath } from '../core/host-path.js';
32
33
  import { resolveArchiveOnMerge, resolveGlobalArchiveOnMerge } from '../archive-on-merge-setting.js';
33
34
  import { permissionDecisionSchema } from '../contract/index.js';
34
35
  import { runIdParamSchema as permissionRunIdParamSchema } from '../contract/index.js';
@@ -354,7 +355,7 @@ export function createApp(deps) {
354
355
  // The host-wide services and the provider closures built on them live in `./server-deps.ts`.
355
356
  const { modelCatalog, providerAuth, workspaceConfig, openTerminal, openFile, openApp, detectEnvironment } = resolveServerDeps(deps, bootRoot);
356
357
  const { providerStatus, providerActionError, invalidateHostModels } = createProviderStatus({ modelCatalog, providerAuth, workspaceConfig });
357
- const workspaceProjects = deps.workspaceProjects ?? createWorkspaceProjects({ bootRoot, bootProjectId, bindHost, home: deps.home });
358
+ const workspaceProjects = deps.workspaceProjects ?? createWorkspaceProjects({ bootRoot, bootProjectId, home: deps.home });
358
359
  const { resolveBootProject } = workspaceProjects;
359
360
  // Health's workspace garnish: id+name ONLY — never `root` (#431, see the
360
361
  // health route). Reads only the registry file; no per-root status probes,
@@ -363,11 +364,10 @@ export function createApp(deps) {
363
364
  try {
364
365
  const registry = (await loadWorkspaceConfig(deps.home.workspaceConfig)).projects;
365
366
  const bootProject = await resolveBootProject(registry);
366
- const visible = await workspaceProjects.visibleProjects(registry, bootProject);
367
367
  return {
368
368
  // Explicit picks, not a spread: the registry schema passes unknown
369
369
  // keys through, and `root` must never ride along onto health.
370
- projects: visible.map((p) => ({
370
+ projects: registry.map((p) => ({
371
371
  id: p.id,
372
372
  name: p.name || basename(p.root),
373
373
  })),
@@ -381,7 +381,6 @@ export function createApp(deps) {
381
381
  // Hosted-mode gate (spec §"Deployment modes") — read per request so
382
382
  // CEZ_REMOTE flips take effect live (and tests can toggle it).
383
383
  const capabilities = () => resolveCapabilities(process.env, bindHost, deps.squawkPort?.(), deps.home);
384
- const singleProjectRefusal = (action) => ({ error: `single-project mode is enabled; ${action} is disabled` });
385
384
  // Inbox live updates (spec 007). Opt-in (#471): no capability, no watcher —
386
385
  // and since step 2.3 the per-dataDir watch is created lazily by the first
387
386
  // SSE subscription (and torn down with the last), nothing to start here.
@@ -396,7 +395,7 @@ export function createApp(deps) {
396
395
  // Non-boot projects build lazily on first scoped request; their managers
397
396
  // count against the same workspace semaphore as the boot manager (step 2.5).
398
397
  const contexts = createWorkspaceProjectContexts(deps, taskWebhooks, {
399
- listProjects: () => workspaceProjects.listVisibleProjects(),
398
+ listProjects: () => workspaceProjects.listProjects(),
400
399
  squawkPort: deps.squawkPort,
401
400
  });
402
401
  // Workspace-level SSE bus (step 2.8) — the registry mutators and the
@@ -443,12 +442,10 @@ export function createApp(deps) {
443
442
  };
444
443
  /**
445
444
  * Read-modify-write one project's webhook list (hearsay-tools/cezarion#1576), with the PATCH
446
- * 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
447
446
  * failed write (a read-only home) answers 500 having persisted nothing.
448
447
  */
449
448
  const editProjectWebhooks = async (raw, edit) => {
450
- if (capabilities().singleProject)
451
- return { ...singleProjectRefusal('editing projects'), status: 409 };
452
449
  const resolved = await workspaceProjects.resolveProjectId(raw);
453
450
  if ('error' in resolved)
454
451
  return { ...resolved, status: 404 };
@@ -1617,7 +1614,7 @@ export function createApp(deps) {
1617
1614
  let projectsDir = defaultWorkspaceConfig().projectsDir;
1618
1615
  try {
1619
1616
  projectsDir = (await loadWorkspaceConfig(deps.home.workspaceConfig)).projectsDir;
1620
- projects = await workspaceProjects.listVisibleProjects();
1617
+ projects = await workspaceProjects.listProjects();
1621
1618
  }
1622
1619
  catch {
1623
1620
  // unreadable workspace — degrade to the empty registry + defaults
@@ -1637,9 +1634,6 @@ export function createApp(deps) {
1637
1634
  return c.json(registered.body, 200);
1638
1635
  })
1639
1636
  .delete('/projects/:projectId', async (c) => {
1640
- if (capabilities().singleProject) {
1641
- return c.json(singleProjectRefusal('removing projects'), 409);
1642
- }
1643
1637
  const raw = c.req.param('projectId');
1644
1638
  // Same gate the scoped-route resolver applies, and the same 404 wording —
1645
1639
  // a malformed id is an unknown project, not a validation essay.
@@ -1712,9 +1706,6 @@ export function createApp(deps) {
1712
1706
  // `~/.cezar/agent-accounts.json` beside the accounts it names, so a Squawk version that has
1713
1707
  // never heard of accounts cannot drop it (see workspace/agent-accounts.ts).
1714
1708
  .patch('/projects/:projectId', jsonZodValidator(updateProjectInputSchema), async (c) => {
1715
- if (capabilities().singleProject) {
1716
- return c.json(singleProjectRefusal('editing projects'), 409);
1717
- }
1718
1709
  const raw = c.req.param('projectId');
1719
1710
  // Same gate + 404 wording as DELETE: a malformed id is an unknown project.
1720
1711
  const resolved = await workspaceProjects.resolveProjectId(raw);
@@ -1793,11 +1784,7 @@ export function createApp(deps) {
1793
1784
  })
1794
1785
  // "Send test" (#589): one `task.test` delivery to the STORED webhook, now, with the timeout
1795
1786
  // the real deliveries use and no retries — the settings page wants the answer, not a queue.
1796
- // Refused in single-project mode like every other registry edit route.
1797
1787
  .post('/projects/:projectId/webhook/test', async (c) => {
1798
- if (capabilities().singleProject) {
1799
- return c.json(singleProjectRefusal('editing projects'), 409);
1800
- }
1801
1788
  const raw = c.req.param('projectId');
1802
1789
  const entry = await workspaceProjects.resolveRegistryEntry(raw);
1803
1790
  if (!entry)
@@ -1811,8 +1798,8 @@ export function createApp(deps) {
1811
1798
  })
1812
1799
  // ---- project webhooks (hearsay-tools/cezarion#1576) ----
1813
1800
  // Several webhooks per project, each with its own task-state selection and an explicit
1814
- // "Expose to agents" switch. Registry edits like the PATCH above: refused in single-project
1815
- // mode, 404 on an unknown project or webhook, and a write that names nothing else leaves the
1801
+ // "Expose to agents" switch. Registry edits like the PATCH above:
1802
+ // 404 on an unknown project or webhook, and a write that names nothing else leaves the
1816
1803
  // rest of the entry alone. The first write stores `webhooks` and drops the old `webhook` key.
1817
1804
  .post('/projects/:projectId/webhooks', jsonZodValidator(createProjectWebhookInputSchema), async (c) => {
1818
1805
  const input = c.req.valid('json');
@@ -1862,9 +1849,6 @@ export function createApp(deps) {
1862
1849
  })
1863
1850
  // "Send test" for one webhook: one `task.test` delivery, now, no retries.
1864
1851
  .post('/projects/:projectId/webhooks/:webhookId/test', paramZodValidator(projectWebhookParamsSchema), async (c) => {
1865
- if (capabilities().singleProject) {
1866
- return c.json(singleProjectRefusal('editing projects'), 409);
1867
- }
1868
1852
  const { projectId, webhookId } = c.req.valid('param');
1869
1853
  const entry = await workspaceProjects.resolveRegistryEntry(projectId);
1870
1854
  if (!entry)
@@ -1877,9 +1861,6 @@ export function createApp(deps) {
1877
1861
  })
1878
1862
  .get('/projects/checkout/:checkoutId/progress', paramZodValidator(checkoutProgressParamsSchema), c => c.json({ progress: checkoutProgress.get(c.req.valid('param').checkoutId) }))
1879
1863
  .post('/projects/checkout', jsonZodValidator(() => checkoutSchema, { message: 'url must be a GitHub repository' }), async (c) => {
1880
- if (capabilities().singleProject) {
1881
- return c.json(singleProjectRefusal('adding projects'), 409);
1882
- }
1883
1864
  const parsed = { data: c.req.valid('json') };
1884
1865
  const { url, name, checkoutId } = parsed.data;
1885
1866
  const result = await checkoutRepo({
@@ -1928,9 +1909,6 @@ export function createApp(deps) {
1928
1909
  return c.json(await listGithubOwners(deps.projectCommandRunner));
1929
1910
  })
1930
1911
  .post('/projects/create', jsonZodValidator(() => createProjectInputSchema, { message: 'project name must be a valid GitHub repository name — letters, digits, ".", "-" and "_" only, no spaces' }), async (c) => {
1931
- if (capabilities().singleProject) {
1932
- return c.json(singleProjectRefusal('adding projects'), 409);
1933
- }
1934
1912
  const { name, github, checkoutId } = c.req.valid('json');
1935
1913
  if (github && !capabilities().localHandoff) {
1936
1914
  return c.json({ error: HOSTED_GITHUB_CREATE_REFUSAL }, 409);
@@ -2005,14 +1983,11 @@ export function createApp(deps) {
2005
1983
  * Returns the status + body for the caller to answer with.
2006
1984
  */
2007
1985
  const registerFolder = async (spelled, source) => {
2008
- if (capabilities().singleProject) {
2009
- return { status: 409, body: singleProjectRefusal('adding projects') };
2010
- }
2011
1986
  // `~` is expanded for the same reason `/api/fs/browse` expands it: the
2012
1987
  // dialog hands back absolute paths, but a hand-written body (curl, a
2013
1988
  // future CLI) spells home the way a shell does.
2014
1989
  const requested = expandTilde(spelled);
2015
- if (!requested.startsWith('/')) {
1990
+ if (!isAbsoluteHostPath(requested)) {
2016
1991
  return {
2017
1992
  status: 400,
2018
1993
  body: { error: `not a folder: ${spelled} is not an absolute path` },
@@ -2210,9 +2185,8 @@ export function createApp(deps) {
2210
2185
  // exist; checkout roots use `mkdir -p`. Both get a real write probe.
2211
2186
  // Any failure → 400 and NO change persisted.
2212
2187
  const expanded = expandTilde(configuredRoot);
2213
- if (!expanded.startsWith('/')) {
2188
+ if (!isAbsoluteHostPath(expanded))
2214
2189
  return c.json({ error: `not writable: ${configuredRoot} is not an absolute path` }, 400);
2215
- }
2216
2190
  if (!create) {
2217
2191
  try {
2218
2192
  if (!(await stat(expanded)).isDirectory()) {
@@ -2277,9 +2251,6 @@ export function createApp(deps) {
2277
2251
  // ---- chained family: filesystem browse (workspace-level) ----
2278
2252
  const fsBrowseRoutes = new Hono()
2279
2253
  .get('/fs/browse', queryZodValidator(browseQuerySchema), async (c) => {
2280
- if (capabilities().singleProject) {
2281
- return c.json(singleProjectRefusal('folder browsing'), 409);
2282
- }
2283
2254
  const query = c.req.valid('query');
2284
2255
  const root = resolveBrowseRoot(await workspaceBrowseRoot());
2285
2256
  const result = await browseDirectory({
@@ -4352,7 +4323,7 @@ export function createApp(deps) {
4352
4323
  const projectRunSources = async () => {
4353
4324
  let projects = [];
4354
4325
  try {
4355
- projects = await workspaceProjects.listVisibleProjects();
4326
+ projects = await workspaceProjects.listProjects();
4356
4327
  }
4357
4328
  catch {
4358
4329
  // unreadable workspace — no rows, never a 500. The palette degrades to the active
@@ -4363,7 +4334,7 @@ export function createApp(deps) {
4363
4334
  .filter((project) => project.status !== 'missing' && project.id !== bootId && !contexts.peek(project.id))
4364
4335
  .map((project) => project.root)));
4365
4336
  // An unfinished migration finishes first. No folder or a fence: no runs. `not-git` still has an `.ai/cezar` worth indexing.
4366
- return (await prepareProjects(projects, { ownership: deps.ownership, homes: [deps.home], rebrand: deps.legacyCanary })).filter((project) => project.status !== 'missing' && !projectAdmissionRefusal(projectPaths(project.root).write)).map((project) => {
4337
+ return (await prepareProjects(projects, { ownership: deps.ownership, homes: [deps.home] })).filter((project) => project.status !== 'missing' && !projectAdmissionRefusal(projectPaths(project.root).write)).map((project) => {
4367
4338
  const owned = project.id === bootId ? bootContext : contexts.peek(project.id);
4368
4339
  // A cold project's repository identity only: asking for an owned one starts a discovery
4369
4340
  // nothing reads.