@wjarka/cezarion 0.17.0-pr848.3486 → 0.18.0-dev.5793

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 (1392) hide show
  1. package/bin.js +2 -0
  2. package/cez.js +2 -0
  3. package/cezarion.js +2 -0
  4. package/dist/cez.js +2 -0
  5. package/dist/cezarion.js +2 -0
  6. package/dist/hsq.js +2 -0
  7. package/dist/index.js +1 -781
  8. package/dist/server/app-type.d.ts +1 -6
  9. package/dist/server/app-type.js +1 -2
  10. package/hsq.js +2 -0
  11. package/package.json +20 -59
  12. package/web/dist/assets/activity-motion-0wHCeUs7.css +1 -0
  13. package/web/dist/assets/activity-motion-2nE59DAT.js +2 -0
  14. package/web/dist/assets/activity-route-R9lPc2jy.js +1 -0
  15. package/web/dist/assets/agent-accounts-f1cxwgfz.js +18 -0
  16. package/web/dist/assets/alert-dialog-Dj464rjk.js +1 -0
  17. package/web/dist/assets/arrow-right-Dh_Lx3um.js +1 -0
  18. package/web/dist/assets/button-CHUAMTHK.js +3 -0
  19. package/web/dist/assets/centered-state-DGyy0SuA.js +1 -0
  20. package/web/dist/assets/cez-idle-EVoUsgU3.js +1 -0
  21. package/web/dist/assets/commit-diff-panel-BJyNYmCY.js +1 -0
  22. package/web/dist/assets/control-locations-C9II3kPz.js +1 -0
  23. package/web/dist/assets/design-icons-DmYTv2r1.js +1 -0
  24. package/web/dist/assets/diff-D_9MtICR.js +3 -0
  25. package/web/dist/assets/diff-controls-BR2uqhwG.js +1 -0
  26. package/web/dist/assets/diff-view-xRPxXHXl.js +11 -0
  27. package/web/dist/assets/dropdown-menu-DhrBcVgr.js +1 -0
  28. package/web/dist/assets/es2015-D345RR4o.js +41 -0
  29. package/web/dist/assets/file-preview-D08Kq15E.js +2 -0
  30. package/web/dist/assets/git-toolbar-D9taioU5.js +1 -0
  31. package/web/dist/assets/github-bv_pBGc5.js +1 -0
  32. package/web/dist/assets/github-sidebar-model-B0Ufci5S.js +1 -0
  33. package/web/dist/assets/global-activity-route-QxTPDyx-.js +1 -0
  34. package/web/dist/assets/hourglass-B0lPAJvT.js +1 -0
  35. package/web/dist/assets/{image-preview-C_t9q45f.js → image-preview-Cq1vDiEo.js} +1 -1
  36. package/web/dist/assets/index-B18AqW0Z.css +1 -0
  37. package/web/dist/assets/index-DgU3yYUl.js +14 -0
  38. package/web/dist/assets/index.global-D3Ga_D3Y.js +1 -0
  39. package/web/dist/assets/live-protocol-BVn0UA_g.js +64 -0
  40. package/web/dist/assets/live-refetch-BdnmTJ_8.js +1 -0
  41. package/web/dist/assets/{live-worker-BizfZSoh.ts → live-worker-BWdeGzQX.ts} +2 -1
  42. package/web/dist/assets/loader-circle-CZkGEdoI.js +1 -0
  43. package/web/dist/assets/markdown-D7DUNWcJ.js +6 -0
  44. package/web/dist/assets/mermaid.min-3O9YjB2l.js +1 -0
  45. package/web/dist/assets/message-square-B-MD-8rD.js +1 -0
  46. package/web/dist/assets/{nav-row-styles-AoIhhIwf.js → nav-row-styles-BZUUavOF.js} +1 -1
  47. package/web/dist/assets/popover-DRcRI46x.js +1 -0
  48. package/web/dist/assets/preview-pane-connected-cD-MTiVN.js +3 -0
  49. package/web/dist/assets/project-router-MMOk9VbW.js +1 -0
  50. package/web/dist/assets/project-scope-context-B3M-u8R0.js +4 -0
  51. package/web/dist/assets/queries-DORTKwyN.js +1 -0
  52. package/web/dist/assets/repo-git-E_4Ighvg.js +1 -0
  53. package/web/dist/assets/report-reader-XVNQsXB4.js +1 -0
  54. package/web/dist/assets/report-title-D4Mbu2Er.js +1 -0
  55. package/web/dist/assets/reports-B7QAzibP.css +1 -0
  56. package/web/dist/assets/reports-B_PVTBzP.js +1 -0
  57. package/web/dist/assets/run-header-wm0gSs6X.js +2 -0
  58. package/web/dist/assets/skill-empty-hint-YDmkqgo-.js +1 -0
  59. package/web/dist/assets/skills-D2RLxUIc.js +1 -0
  60. package/web/dist/assets/skills-DFBiAuJG.js +1 -0
  61. package/web/dist/assets/skills-workflows-C21NystW.css +1 -0
  62. package/web/dist/assets/sortable.esm-zp_qkYGV.js +5 -0
  63. package/web/dist/assets/tab-link-BvoGfK8S.js +1 -0
  64. package/web/dist/assets/task-changes-DNtkfFzQ.js +1 -0
  65. package/web/dist/assets/task-commits-CivO-OrN.js +1 -0
  66. package/web/dist/assets/task-files-dczkxV_G.js +1 -0
  67. package/web/dist/assets/task-github-item-DKV4yrcf.js +1 -0
  68. package/web/dist/assets/task-thread-DIaTTGEF.js +9 -0
  69. package/web/dist/assets/textarea-DlVUfdWG.js +1 -0
  70. package/web/dist/assets/thread-state-DIozHuHb.js +4 -0
  71. package/web/dist/assets/toaster-B1MyeHiE.js +1 -0
  72. package/web/dist/assets/use-hand-to-agent-state-D58ayxI4.js +1 -0
  73. package/web/dist/assets/useInfiniteQuery-BbYMWe23.js +1 -0
  74. package/web/dist/assets/useQuery-CqqnAJvu.js +1 -0
  75. package/web/dist/assets/workflows-YMEsGXeB.js +7 -0
  76. package/web/dist/assets/ws-BtSVmivO.js +1 -0
  77. package/web/dist/assets/zoomable-image-5pOUaPEg.js +1 -0
  78. package/web/dist/index.html +31 -15
  79. package/web/dist/live-worker.js +2 -2
  80. package/LICENSE +0 -22
  81. package/README.md +0 -1745
  82. package/dist/agent-config/account-identity.d.ts +0 -28
  83. package/dist/agent-config/account-identity.js +0 -131
  84. package/dist/agent-config/account-identity.js.map +0 -1
  85. package/dist/agent-config/catalog.d.ts +0 -70
  86. package/dist/agent-config/catalog.js +0 -383
  87. package/dist/agent-config/catalog.js.map +0 -1
  88. package/dist/agent-config/files.d.ts +0 -42
  89. package/dist/agent-config/files.js +0 -115
  90. package/dist/agent-config/files.js.map +0 -1
  91. package/dist/agent-config/model-settings/claude.d.ts +0 -2
  92. package/dist/agent-config/model-settings/claude.js +0 -11
  93. package/dist/agent-config/model-settings/claude.js.map +0 -1
  94. package/dist/agent-config/model-settings/codex.d.ts +0 -2
  95. package/dist/agent-config/model-settings/codex.js +0 -16
  96. package/dist/agent-config/model-settings/codex.js.map +0 -1
  97. package/dist/agent-config/model-settings/opencode.d.ts +0 -2
  98. package/dist/agent-config/model-settings/opencode.js +0 -8
  99. package/dist/agent-config/model-settings/opencode.js.map +0 -1
  100. package/dist/agent-config/model-settings/pi.d.ts +0 -2
  101. package/dist/agent-config/model-settings/pi.js +0 -38
  102. package/dist/agent-config/model-settings/pi.js.map +0 -1
  103. package/dist/agent-config/model-settings/shared.d.ts +0 -12
  104. package/dist/agent-config/model-settings/shared.js +0 -100
  105. package/dist/agent-config/model-settings/shared.js.map +0 -1
  106. package/dist/agent-config/model-settings/types.d.ts +0 -9
  107. package/dist/agent-config/model-settings/types.js +0 -2
  108. package/dist/agent-config/model-settings/types.js.map +0 -1
  109. package/dist/agent-config/models.d.ts +0 -9
  110. package/dist/agent-config/models.js +0 -40
  111. package/dist/agent-config/models.js.map +0 -1
  112. package/dist/agent-config/seed.d.ts +0 -15
  113. package/dist/agent-config/seed.js +0 -94
  114. package/dist/agent-config/seed.js.map +0 -1
  115. package/dist/agent-config/service.d.ts +0 -44
  116. package/dist/agent-config/service.js +0 -72
  117. package/dist/agent-config/service.js.map +0 -1
  118. package/dist/agent-config/validate.d.ts +0 -18
  119. package/dist/agent-config/validate.js +0 -82
  120. package/dist/agent-config/validate.js.map +0 -1
  121. package/dist/application-update/bin-recovery.d.ts +0 -5
  122. package/dist/application-update/bin-recovery.js +0 -96
  123. package/dist/application-update/bin-recovery.js.map +0 -1
  124. package/dist/application-update/discovery.d.ts +0 -22
  125. package/dist/application-update/discovery.js +0 -91
  126. package/dist/application-update/discovery.js.map +0 -1
  127. package/dist/application-update/helper.d.ts +0 -57
  128. package/dist/application-update/helper.js +0 -369
  129. package/dist/application-update/helper.js.map +0 -1
  130. package/dist/application-update/launcher.d.ts +0 -12
  131. package/dist/application-update/launcher.js +0 -59
  132. package/dist/application-update/launcher.js.map +0 -1
  133. package/dist/application-update/lock.d.ts +0 -4
  134. package/dist/application-update/lock.js +0 -70
  135. package/dist/application-update/lock.js.map +0 -1
  136. package/dist/application-update/npm-process.d.ts +0 -17
  137. package/dist/application-update/npm-process.js +0 -133
  138. package/dist/application-update/npm-process.js.map +0 -1
  139. package/dist/application-update/service.d.ts +0 -69
  140. package/dist/application-update/service.js +0 -456
  141. package/dist/application-update/service.js.map +0 -1
  142. package/dist/archive-on-merge-setting.d.ts +0 -15
  143. package/dist/archive-on-merge-setting.js +0 -14
  144. package/dist/archive-on-merge-setting.js.map +0 -1
  145. package/dist/artifacts/cli.d.ts +0 -9
  146. package/dist/artifacts/cli.js +0 -59
  147. package/dist/artifacts/cli.js.map +0 -1
  148. package/dist/artifacts/lifecycle.d.ts +0 -4
  149. package/dist/artifacts/lifecycle.js +0 -42
  150. package/dist/artifacts/lifecycle.js.map +0 -1
  151. package/dist/artifacts/resolve.d.ts +0 -18
  152. package/dist/artifacts/resolve.js +0 -103
  153. package/dist/artifacts/resolve.js.map +0 -1
  154. package/dist/artifacts/store.d.ts +0 -8
  155. package/dist/artifacts/store.js +0 -323
  156. package/dist/artifacts/store.js.map +0 -1
  157. package/dist/automations/automation-cli.d.ts +0 -59
  158. package/dist/automations/automation-cli.js +0 -509
  159. package/dist/automations/automation-cli.js.map +0 -1
  160. package/dist/automations/builtin-skill.d.ts +0 -7
  161. package/dist/automations/builtin-skill.js +0 -14
  162. package/dist/automations/builtin-skill.js.map +0 -1
  163. package/dist/automations/coordinator.d.ts +0 -33
  164. package/dist/automations/coordinator.js +0 -86
  165. package/dist/automations/coordinator.js.map +0 -1
  166. package/dist/automations/github-baseline.d.ts +0 -3
  167. package/dist/automations/github-baseline.js +0 -17
  168. package/dist/automations/github-baseline.js.map +0 -1
  169. package/dist/automations/github-poller.d.ts +0 -93
  170. package/dist/automations/github-poller.js +0 -303
  171. package/dist/automations/github-poller.js.map +0 -1
  172. package/dist/automations/prompts.d.ts +0 -12
  173. package/dist/automations/prompts.js +0 -160
  174. package/dist/automations/prompts.js.map +0 -1
  175. package/dist/automations/schedule-runner.d.ts +0 -149
  176. package/dist/automations/schedule-runner.js +0 -513
  177. package/dist/automations/schedule-runner.js.map +0 -1
  178. package/dist/automations/scheduler.d.ts +0 -87
  179. package/dist/automations/scheduler.js +0 -434
  180. package/dist/automations/scheduler.js.map +0 -1
  181. package/dist/automations/service.d.ts +0 -777
  182. package/dist/automations/service.js +0 -444
  183. package/dist/automations/service.js.map +0 -1
  184. package/dist/automations/store.d.ts +0 -160
  185. package/dist/automations/store.js +0 -738
  186. package/dist/automations/store.js.map +0 -1
  187. package/dist/automations/task-template.d.ts +0 -59
  188. package/dist/automations/task-template.js +0 -273
  189. package/dist/automations/task-template.js.map +0 -1
  190. package/dist/automations/tool-adapter.d.ts +0 -6
  191. package/dist/automations/tool-adapter.js +0 -108
  192. package/dist/automations/tool-adapter.js.map +0 -1
  193. package/dist/automations/types.d.ts +0 -1
  194. package/dist/automations/types.js +0 -2
  195. package/dist/automations/types.js.map +0 -1
  196. package/dist/autosave-cleanup.d.ts +0 -26
  197. package/dist/autosave-cleanup.js +0 -87
  198. package/dist/autosave-cleanup.js.map +0 -1
  199. package/dist/autosave-git.d.ts +0 -21
  200. package/dist/autosave-git.js +0 -204
  201. package/dist/autosave-git.js.map +0 -1
  202. package/dist/autosave-group.d.ts +0 -8
  203. package/dist/autosave-group.js +0 -61
  204. package/dist/autosave-group.js.map +0 -1
  205. package/dist/autosave-holders.d.ts +0 -34
  206. package/dist/autosave-holders.js +0 -204
  207. package/dist/autosave-holders.js.map +0 -1
  208. package/dist/autosave-windows.d.ts +0 -25
  209. package/dist/autosave-windows.js +0 -156
  210. package/dist/autosave-windows.js.map +0 -1
  211. package/dist/ci-wait/client.d.ts +0 -28
  212. package/dist/ci-wait/client.js +0 -105
  213. package/dist/ci-wait/client.js.map +0 -1
  214. package/dist/ci-wait/controller.d.ts +0 -780
  215. package/dist/ci-wait/controller.js +0 -334
  216. package/dist/ci-wait/controller.js.map +0 -1
  217. package/dist/ci-wait/errors.d.ts +0 -27
  218. package/dist/ci-wait/errors.js +0 -253
  219. package/dist/ci-wait/errors.js.map +0 -1
  220. package/dist/ci-wait/github.d.ts +0 -87
  221. package/dist/ci-wait/github.js +0 -278
  222. package/dist/ci-wait/github.js.map +0 -1
  223. package/dist/ci-wait/injection.d.ts +0 -3
  224. package/dist/ci-wait/injection.js +0 -26
  225. package/dist/ci-wait/injection.js.map +0 -1
  226. package/dist/ci-wait/mcp.d.ts +0 -3
  227. package/dist/ci-wait/mcp.js +0 -30
  228. package/dist/ci-wait/mcp.js.map +0 -1
  229. package/dist/ci-wait/resources.d.ts +0 -7
  230. package/dist/ci-wait/resources.js +0 -32
  231. package/dist/ci-wait/resources.js.map +0 -1
  232. package/dist/ci-wait/supervisor.d.ts +0 -29
  233. package/dist/ci-wait/supervisor.js +0 -260
  234. package/dist/ci-wait/supervisor.js.map +0 -1
  235. package/dist/ci-wait/tools.d.ts +0 -830
  236. package/dist/ci-wait/tools.js +0 -209
  237. package/dist/ci-wait/tools.js.map +0 -1
  238. package/dist/config.d.ts +0 -68
  239. package/dist/config.js +0 -209
  240. package/dist/config.js.map +0 -1
  241. package/dist/contract/active-provider.d.ts +0 -12
  242. package/dist/contract/agent-config.d.ts +0 -160
  243. package/dist/contract/agent-profiles.d.ts +0 -369
  244. package/dist/contract/application-update.d.ts +0 -32
  245. package/dist/contract/artifacts.d.ts +0 -83
  246. package/dist/contract/ask-schema.d.ts +0 -50
  247. package/dist/contract/ask.d.ts +0 -9
  248. package/dist/contract/attachments.d.ts +0 -35
  249. package/dist/contract/attention.d.ts +0 -91
  250. package/dist/contract/automation-requests.d.ts +0 -308
  251. package/dist/contract/automation-schedule.d.ts +0 -89
  252. package/dist/contract/automation-storage.d.ts +0 -512
  253. package/dist/contract/automations.d.ts +0 -1542
  254. package/dist/contract/ci-wait.d.ts +0 -222
  255. package/dist/contract/config-requests.d.ts +0 -36
  256. package/dist/contract/conversations.d.ts +0 -401
  257. package/dist/contract/defined.d.ts +0 -8
  258. package/dist/contract/delegation.d.ts +0 -2165
  259. package/dist/contract/discovery.d.ts +0 -228
  260. package/dist/contract/effort.d.ts +0 -18
  261. package/dist/contract/events.d.ts +0 -303
  262. package/dist/contract/github-requests.d.ts +0 -26
  263. package/dist/contract/github.d.ts +0 -732
  264. package/dist/contract/handoff.d.ts +0 -43
  265. package/dist/contract/health.d.ts +0 -124
  266. package/dist/contract/image-path.d.ts +0 -6
  267. package/dist/contract/index.d.ts +0 -59
  268. package/dist/contract/index.js +0 -6035
  269. package/dist/contract/live-coordination.d.ts +0 -158
  270. package/dist/contract/live-limits.d.ts +0 -8
  271. package/dist/contract/live.d.ts +0 -123
  272. package/dist/contract/pending-ask.d.ts +0 -58
  273. package/dist/contract/permissions.d.ts +0 -54
  274. package/dist/contract/preview.d.ts +0 -560
  275. package/dist/contract/project-limits.d.ts +0 -33
  276. package/dist/contract/projects.d.ts +0 -716
  277. package/dist/contract/provider-requests.d.ts +0 -77
  278. package/dist/contract/query-requests.d.ts +0 -52
  279. package/dist/contract/repo-requests.d.ts +0 -12
  280. package/dist/contract/repo.d.ts +0 -515
  281. package/dist/contract/run-labels.d.ts +0 -8
  282. package/dist/contract/run-limits.d.ts +0 -8
  283. package/dist/contract/run-predicates.d.ts +0 -32
  284. package/dist/contract/run-requests.d.ts +0 -33
  285. package/dist/contract/run-search.d.ts +0 -193
  286. package/dist/contract/runs.d.ts +0 -5711
  287. package/dist/contract/scheduled-tasks.d.ts +0 -187
  288. package/dist/contract/skills.d.ts +0 -56
  289. package/dist/contract/team-skill-ref.d.ts +0 -10
  290. package/dist/contract/tool-display.d.ts +0 -25
  291. package/dist/contract/ui-state-requests.d.ts +0 -60
  292. package/dist/contract/version.d.ts +0 -3
  293. package/dist/contract/voice.d.ts +0 -213
  294. package/dist/contract/waits.d.ts +0 -1367
  295. package/dist/contract/workflow-file.d.ts +0 -37
  296. package/dist/contract/workflow-requests.d.ts +0 -7
  297. package/dist/contract/workflows.d.ts +0 -250
  298. package/dist/contract/workspace.d.ts +0 -631
  299. package/dist/contract/zoned-time.d.ts +0 -26
  300. package/dist/core/agent-env.d.ts +0 -30
  301. package/dist/core/agent-env.js +0 -400
  302. package/dist/core/agent-env.js.map +0 -1
  303. package/dist/core/agent-model-policy.d.ts +0 -10
  304. package/dist/core/agent-model-policy.js +0 -36
  305. package/dist/core/agent-model-policy.js.map +0 -1
  306. package/dist/core/agent-profiles.d.ts +0 -50
  307. package/dist/core/agent-profiles.js +0 -105
  308. package/dist/core/agent-profiles.js.map +0 -1
  309. package/dist/core/agent-runner.d.ts +0 -394
  310. package/dist/core/agent-runner.js +0 -96
  311. package/dist/core/agent-runner.js.map +0 -1
  312. package/dist/core/ask.d.ts +0 -79
  313. package/dist/core/ask.js +0 -232
  314. package/dist/core/ask.js.map +0 -1
  315. package/dist/core/backend-detect.d.ts +0 -17
  316. package/dist/core/backend-detect.js +0 -209
  317. package/dist/core/backend-detect.js.map +0 -1
  318. package/dist/core/claude-cli-runner.d.ts +0 -72
  319. package/dist/core/claude-cli-runner.js +0 -910
  320. package/dist/core/claude-cli-runner.js.map +0 -1
  321. package/dist/core/claude-model-catalog.d.ts +0 -16
  322. package/dist/core/claude-model-catalog.js +0 -198
  323. package/dist/core/claude-model-catalog.js.map +0 -1
  324. package/dist/core/claude-stream.d.ts +0 -31
  325. package/dist/core/claude-stream.js +0 -68
  326. package/dist/core/claude-stream.js.map +0 -1
  327. package/dist/core/claude-ui-mapper.d.ts +0 -80
  328. package/dist/core/claude-ui-mapper.js +0 -696
  329. package/dist/core/claude-ui-mapper.js.map +0 -1
  330. package/dist/core/codex-app-server-runner.d.ts +0 -61
  331. package/dist/core/codex-app-server-runner.js +0 -1269
  332. package/dist/core/codex-app-server-runner.js.map +0 -1
  333. package/dist/core/codex-app-server-transport.d.ts +0 -52
  334. package/dist/core/codex-app-server-transport.js +0 -199
  335. package/dist/core/codex-app-server-transport.js.map +0 -1
  336. package/dist/core/codex-approvals.d.ts +0 -12
  337. package/dist/core/codex-approvals.js +0 -161
  338. package/dist/core/codex-approvals.js.map +0 -1
  339. package/dist/core/codex-model-catalog.d.ts +0 -10
  340. package/dist/core/codex-model-catalog.js +0 -110
  341. package/dist/core/codex-model-catalog.js.map +0 -1
  342. package/dist/core/codex-native-frames.d.ts +0 -10
  343. package/dist/core/codex-native-frames.js +0 -47
  344. package/dist/core/codex-native-frames.js.map +0 -1
  345. package/dist/core/codex-permissions.d.ts +0 -6
  346. package/dist/core/codex-permissions.js +0 -27
  347. package/dist/core/codex-permissions.js.map +0 -1
  348. package/dist/core/codex-stream-error.d.ts +0 -2
  349. package/dist/core/codex-stream-error.js +0 -12
  350. package/dist/core/codex-stream-error.js.map +0 -1
  351. package/dist/core/codex-turn-outcome.d.ts +0 -8
  352. package/dist/core/codex-turn-outcome.js +0 -30
  353. package/dist/core/codex-turn-outcome.js.map +0 -1
  354. package/dist/core/codex-ui-mapper.d.ts +0 -112
  355. package/dist/core/codex-ui-mapper.js +0 -808
  356. package/dist/core/codex-ui-mapper.js.map +0 -1
  357. package/dist/core/cursor-acp-runner.d.ts +0 -34
  358. package/dist/core/cursor-acp-runner.js +0 -777
  359. package/dist/core/cursor-acp-runner.js.map +0 -1
  360. package/dist/core/cursor-cli-flags.d.ts +0 -19
  361. package/dist/core/cursor-cli-flags.js +0 -47
  362. package/dist/core/cursor-cli-flags.js.map +0 -1
  363. package/dist/core/cursor-config-options.d.ts +0 -18
  364. package/dist/core/cursor-config-options.js +0 -31
  365. package/dist/core/cursor-config-options.js.map +0 -1
  366. package/dist/core/cursor-model-catalog.d.ts +0 -45
  367. package/dist/core/cursor-model-catalog.js +0 -300
  368. package/dist/core/cursor-model-catalog.js.map +0 -1
  369. package/dist/core/cursor-print-capabilities.d.ts +0 -16
  370. package/dist/core/cursor-print-capabilities.js +0 -141
  371. package/dist/core/cursor-print-capabilities.js.map +0 -1
  372. package/dist/core/cursor-print-process.d.ts +0 -31
  373. package/dist/core/cursor-print-process.js +0 -117
  374. package/dist/core/cursor-print-process.js.map +0 -1
  375. package/dist/core/cursor-print-runner.d.ts +0 -31
  376. package/dist/core/cursor-print-runner.js +0 -555
  377. package/dist/core/cursor-print-runner.js.map +0 -1
  378. package/dist/core/cursor-print-tool-catalog.d.ts +0 -10
  379. package/dist/core/cursor-print-tool-catalog.js +0 -91
  380. package/dist/core/cursor-print-tool-catalog.js.map +0 -1
  381. package/dist/core/cursor-print-ui-mapper.d.ts +0 -47
  382. package/dist/core/cursor-print-ui-mapper.js +0 -553
  383. package/dist/core/cursor-print-ui-mapper.js.map +0 -1
  384. package/dist/core/cursor-provider-error.d.ts +0 -33
  385. package/dist/core/cursor-provider-error.js +0 -68
  386. package/dist/core/cursor-provider-error.js.map +0 -1
  387. package/dist/core/cursor-runner.d.ts +0 -24
  388. package/dist/core/cursor-runner.js +0 -149
  389. package/dist/core/cursor-runner.js.map +0 -1
  390. package/dist/core/cursor-ui-mapper.d.ts +0 -29
  391. package/dist/core/cursor-ui-mapper.js +0 -275
  392. package/dist/core/cursor-ui-mapper.js.map +0 -1
  393. package/dist/core/defined.d.ts +0 -1
  394. package/dist/core/defined.js +0 -2
  395. package/dist/core/defined.js.map +0 -1
  396. package/dist/core/hook-items.d.ts +0 -14
  397. package/dist/core/hook-items.js +0 -13
  398. package/dist/core/hook-items.js.map +0 -1
  399. package/dist/core/host-model-catalog.d.ts +0 -7
  400. package/dist/core/host-model-catalog.js +0 -21
  401. package/dist/core/host-model-catalog.js.map +0 -1
  402. package/dist/core/input-submissions.d.ts +0 -14
  403. package/dist/core/input-submissions.js +0 -26
  404. package/dist/core/input-submissions.js.map +0 -1
  405. package/dist/core/managed-session.d.ts +0 -6
  406. package/dist/core/managed-session.js +0 -116
  407. package/dist/core/managed-session.js.map +0 -1
  408. package/dist/core/model-identity.d.ts +0 -108
  409. package/dist/core/model-identity.js +0 -137
  410. package/dist/core/model-identity.js.map +0 -1
  411. package/dist/core/model-presets.d.ts +0 -10
  412. package/dist/core/model-presets.js +0 -77
  413. package/dist/core/model-presets.js.map +0 -1
  414. package/dist/core/ndjson.d.ts +0 -6
  415. package/dist/core/ndjson.js +0 -23
  416. package/dist/core/ndjson.js.map +0 -1
  417. package/dist/core/omp-model-catalog.d.ts +0 -43
  418. package/dist/core/omp-model-catalog.js +0 -205
  419. package/dist/core/omp-model-catalog.js.map +0 -1
  420. package/dist/core/omp-runner.d.ts +0 -72
  421. package/dist/core/omp-runner.js +0 -832
  422. package/dist/core/omp-runner.js.map +0 -1
  423. package/dist/core/omp-ui-mapper.d.ts +0 -106
  424. package/dist/core/omp-ui-mapper.js +0 -856
  425. package/dist/core/omp-ui-mapper.js.map +0 -1
  426. package/dist/core/opencode-model-catalog.d.ts +0 -32
  427. package/dist/core/opencode-model-catalog.js +0 -215
  428. package/dist/core/opencode-model-catalog.js.map +0 -1
  429. package/dist/core/opencode-permissions.d.ts +0 -52
  430. package/dist/core/opencode-permissions.js +0 -101
  431. package/dist/core/opencode-permissions.js.map +0 -1
  432. package/dist/core/opencode-server-runner.d.ts +0 -61
  433. package/dist/core/opencode-server-runner.js +0 -1692
  434. package/dist/core/opencode-server-runner.js.map +0 -1
  435. package/dist/core/opencode-session-error.d.ts +0 -19
  436. package/dist/core/opencode-session-error.js +0 -42
  437. package/dist/core/opencode-session-error.js.map +0 -1
  438. package/dist/core/opencode-ui-mapper.d.ts +0 -137
  439. package/dist/core/opencode-ui-mapper.js +0 -768
  440. package/dist/core/opencode-ui-mapper.js.map +0 -1
  441. package/dist/core/pi-model-catalog.d.ts +0 -38
  442. package/dist/core/pi-model-catalog.js +0 -249
  443. package/dist/core/pi-model-catalog.js.map +0 -1
  444. package/dist/core/pi-rpc-turn.d.ts +0 -184
  445. package/dist/core/pi-rpc-turn.js +0 -380
  446. package/dist/core/pi-rpc-turn.js.map +0 -1
  447. package/dist/core/pi-rpc-wire.d.ts +0 -31
  448. package/dist/core/pi-rpc-wire.js +0 -88
  449. package/dist/core/pi-rpc-wire.js.map +0 -1
  450. package/dist/core/pi-runner.d.ts +0 -43
  451. package/dist/core/pi-runner.js +0 -592
  452. package/dist/core/pi-runner.js.map +0 -1
  453. package/dist/core/pi-ui-mapper.d.ts +0 -52
  454. package/dist/core/pi-ui-mapper.js +0 -373
  455. package/dist/core/pi-ui-mapper.js.map +0 -1
  456. package/dist/core/process-usage.d.ts +0 -74
  457. package/dist/core/process-usage.js +0 -218
  458. package/dist/core/process-usage.js.map +0 -1
  459. package/dist/core/provider-auth.d.ts +0 -168
  460. package/dist/core/provider-auth.js +0 -660
  461. package/dist/core/provider-auth.js.map +0 -1
  462. package/dist/core/provider-availability.d.ts +0 -3
  463. package/dist/core/provider-availability.js +0 -14
  464. package/dist/core/provider-availability.js.map +0 -1
  465. package/dist/core/runner-factory.d.ts +0 -11
  466. package/dist/core/runner-factory.js +0 -31
  467. package/dist/core/runner-factory.js.map +0 -1
  468. package/dist/core/runner-model-catalog.d.ts +0 -34
  469. package/dist/core/runner-model-catalog.js +0 -109
  470. package/dist/core/runner-model-catalog.js.map +0 -1
  471. package/dist/core/runner-runtime.d.ts +0 -40
  472. package/dist/core/runner-runtime.js +0 -88
  473. package/dist/core/runner-runtime.js.map +0 -1
  474. package/dist/core/runner-stderr.d.ts +0 -2
  475. package/dist/core/runner-stderr.js +0 -20
  476. package/dist/core/runner-stderr.js.map +0 -1
  477. package/dist/core/runner-tool-grants.d.ts +0 -21
  478. package/dist/core/runner-tool-grants.js +0 -64
  479. package/dist/core/runner-tool-grants.js.map +0 -1
  480. package/dist/core/secret-redaction.d.ts +0 -20
  481. package/dist/core/secret-redaction.js +0 -98
  482. package/dist/core/secret-redaction.js.map +0 -1
  483. package/dist/core/session-process.d.ts +0 -42
  484. package/dist/core/session-process.js +0 -360
  485. package/dist/core/session-process.js.map +0 -1
  486. package/dist/core/shell-env.d.ts +0 -17
  487. package/dist/core/shell-env.js +0 -51
  488. package/dist/core/shell-env.js.map +0 -1
  489. package/dist/core/ui-events.d.ts +0 -348
  490. package/dist/core/ui-events.js +0 -2
  491. package/dist/core/ui-events.js.map +0 -1
  492. package/dist/core/usage-limit.d.ts +0 -42
  493. package/dist/core/usage-limit.js +0 -152
  494. package/dist/core/usage-limit.js.map +0 -1
  495. package/dist/core/usage.d.ts +0 -11
  496. package/dist/core/usage.js +0 -15
  497. package/dist/core/usage.js.map +0 -1
  498. package/dist/core/v1-text-coalescer.d.ts +0 -36
  499. package/dist/core/v1-text-coalescer.js +0 -72
  500. package/dist/core/v1-text-coalescer.js.map +0 -1
  501. package/dist/data-gitignore.d.ts +0 -6
  502. package/dist/data-gitignore.js +0 -59
  503. package/dist/data-gitignore.js.map +0 -1
  504. package/dist/delegation/capacity.d.ts +0 -15
  505. package/dist/delegation/capacity.js +0 -30
  506. package/dist/delegation/capacity.js.map +0 -1
  507. package/dist/delegation/cli.d.ts +0 -5
  508. package/dist/delegation/cli.js +0 -559
  509. package/dist/delegation/cli.js.map +0 -1
  510. package/dist/delegation/context.d.ts +0 -40
  511. package/dist/delegation/context.js +0 -383
  512. package/dist/delegation/context.js.map +0 -1
  513. package/dist/delegation/conversation-send.d.ts +0 -63
  514. package/dist/delegation/conversation-send.js +0 -60
  515. package/dist/delegation/conversation-send.js.map +0 -1
  516. package/dist/delegation/conversations.d.ts +0 -1670
  517. package/dist/delegation/conversations.js +0 -277
  518. package/dist/delegation/conversations.js.map +0 -1
  519. package/dist/delegation/credentials.d.ts +0 -21
  520. package/dist/delegation/credentials.js +0 -66
  521. package/dist/delegation/credentials.js.map +0 -1
  522. package/dist/delegation/destroy-observation.d.ts +0 -42
  523. package/dist/delegation/destroy-observation.js +0 -115
  524. package/dist/delegation/destroy-observation.js.map +0 -1
  525. package/dist/delegation/effort.d.ts +0 -1
  526. package/dist/delegation/effort.js +0 -11
  527. package/dist/delegation/effort.js.map +0 -1
  528. package/dist/delegation/execution-identity.d.ts +0 -254
  529. package/dist/delegation/execution-identity.js +0 -250
  530. package/dist/delegation/execution-identity.js.map +0 -1
  531. package/dist/delegation/execution-settings.d.ts +0 -10
  532. package/dist/delegation/execution-settings.js +0 -65
  533. package/dist/delegation/execution-settings.js.map +0 -1
  534. package/dist/delegation/idle-test-app.d.ts +0 -4
  535. package/dist/delegation/idle-test-app.js +0 -185
  536. package/dist/delegation/idle-test-app.js.map +0 -1
  537. package/dist/delegation/input.d.ts +0 -12
  538. package/dist/delegation/input.js +0 -50
  539. package/dist/delegation/input.js.map +0 -1
  540. package/dist/delegation/park-notice.d.ts +0 -45
  541. package/dist/delegation/park-notice.js +0 -79
  542. package/dist/delegation/park-notice.js.map +0 -1
  543. package/dist/delegation/policy.d.ts +0 -22
  544. package/dist/delegation/policy.js +0 -95
  545. package/dist/delegation/policy.js.map +0 -1
  546. package/dist/delegation/process-liveness.d.ts +0 -98
  547. package/dist/delegation/process-liveness.js +0 -213
  548. package/dist/delegation/process-liveness.js.map +0 -1
  549. package/dist/delegation/provision.d.ts +0 -35
  550. package/dist/delegation/provision.js +0 -178
  551. package/dist/delegation/provision.js.map +0 -1
  552. package/dist/delegation/questions.d.ts +0 -24
  553. package/dist/delegation/questions.js +0 -55
  554. package/dist/delegation/questions.js.map +0 -1
  555. package/dist/delegation/readiness.d.ts +0 -13
  556. package/dist/delegation/readiness.js +0 -19
  557. package/dist/delegation/readiness.js.map +0 -1
  558. package/dist/delegation/results.d.ts +0 -13
  559. package/dist/delegation/results.js +0 -154
  560. package/dist/delegation/results.js.map +0 -1
  561. package/dist/delegation/retry-backoff.d.ts +0 -31
  562. package/dist/delegation/retry-backoff.js +0 -26
  563. package/dist/delegation/retry-backoff.js.map +0 -1
  564. package/dist/delegation/routes.d.ts +0 -1014
  565. package/dist/delegation/routes.js +0 -77
  566. package/dist/delegation/routes.js.map +0 -1
  567. package/dist/delegation/scratch-cleanup.d.ts +0 -28
  568. package/dist/delegation/scratch-cleanup.js +0 -145
  569. package/dist/delegation/scratch-cleanup.js.map +0 -1
  570. package/dist/delegation/service.d.ts +0 -284
  571. package/dist/delegation/service.js +0 -1046
  572. package/dist/delegation/service.js.map +0 -1
  573. package/dist/delegation/task-discovery.d.ts +0 -6
  574. package/dist/delegation/task-discovery.js +0 -23
  575. package/dist/delegation/task-discovery.js.map +0 -1
  576. package/dist/delegation/transport.d.ts +0 -992
  577. package/dist/delegation/transport.js +0 -22
  578. package/dist/delegation/transport.js.map +0 -1
  579. package/dist/delegation/wait.d.ts +0 -14
  580. package/dist/delegation/wait.js +0 -72
  581. package/dist/delegation/wait.js.map +0 -1
  582. package/dist/delegation/windows-test-app.d.ts +0 -5
  583. package/dist/delegation/windows-test-app.js +0 -63
  584. package/dist/delegation/windows-test-app.js.map +0 -1
  585. package/dist/delegation/windows-workspace-identity.d.ts +0 -3
  586. package/dist/delegation/windows-workspace-identity.js +0 -22
  587. package/dist/delegation/windows-workspace-identity.js.map +0 -1
  588. package/dist/delegation/workspace.d.ts +0 -33
  589. package/dist/delegation/workspace.js +0 -560
  590. package/dist/delegation/workspace.js.map +0 -1
  591. package/dist/detached-process.d.ts +0 -125
  592. package/dist/detached-process.js +0 -448
  593. package/dist/detached-process.js.map +0 -1
  594. package/dist/discovery/catalog.d.ts +0 -15
  595. package/dist/discovery/catalog.js +0 -31
  596. package/dist/discovery/catalog.js.map +0 -1
  597. package/dist/discovery/cli.d.ts +0 -8
  598. package/dist/discovery/cli.js +0 -106
  599. package/dist/discovery/cli.js.map +0 -1
  600. package/dist/git-diff-base.d.ts +0 -41
  601. package/dist/git-diff-base.js +0 -116
  602. package/dist/git-diff-base.js.map +0 -1
  603. package/dist/git-index-copy.d.ts +0 -4
  604. package/dist/git-index-copy.js +0 -10
  605. package/dist/git-index-copy.js.map +0 -1
  606. package/dist/git-refs.d.ts +0 -11
  607. package/dist/git-refs.js +0 -14
  608. package/dist/git-refs.js.map +0 -1
  609. package/dist/git-worktree-lock-helper.d.ts +0 -7
  610. package/dist/git-worktree-lock-helper.js +0 -158
  611. package/dist/git-worktree-lock-helper.js.map +0 -1
  612. package/dist/git-worktree-lock.d.ts +0 -17
  613. package/dist/git-worktree-lock.js +0 -90
  614. package/dist/git-worktree-lock.js.map +0 -1
  615. package/dist/git-worktree-release.d.ts +0 -20
  616. package/dist/git-worktree-release.js +0 -27
  617. package/dist/git-worktree-release.js.map +0 -1
  618. package/dist/git-worktree.d.ts +0 -154
  619. package/dist/git-worktree.js +0 -858
  620. package/dist/git-worktree.js.map +0 -1
  621. package/dist/handoff.d.ts +0 -72
  622. package/dist/handoff.js +0 -209
  623. package/dist/handoff.js.map +0 -1
  624. package/dist/index.d.ts +0 -2
  625. package/dist/index.js.map +0 -1
  626. package/dist/install-as-command.d.ts +0 -40
  627. package/dist/install-as-command.js +0 -52
  628. package/dist/install-as-command.js.map +0 -1
  629. package/dist/merge-observations.d.ts +0 -13
  630. package/dist/merge-observations.js +0 -55
  631. package/dist/merge-observations.js.map +0 -1
  632. package/dist/open-url.d.ts +0 -2
  633. package/dist/open-url.js +0 -10
  634. package/dist/open-url.js.map +0 -1
  635. package/dist/pack-check.d.ts +0 -17
  636. package/dist/pack-check.js +0 -27
  637. package/dist/pack-check.js.map +0 -1
  638. package/dist/paths.d.ts +0 -138
  639. package/dist/paths.js +0 -220
  640. package/dist/paths.js.map +0 -1
  641. package/dist/planner.d.ts +0 -28
  642. package/dist/planner.js +0 -271
  643. package/dist/planner.js.map +0 -1
  644. package/dist/preview/agent-address.d.ts +0 -34
  645. package/dist/preview/agent-address.js +0 -51
  646. package/dist/preview/agent-address.js.map +0 -1
  647. package/dist/preview/agent-marker.d.ts +0 -17
  648. package/dist/preview/agent-marker.js +0 -71
  649. package/dist/preview/agent-marker.js.map +0 -1
  650. package/dist/preview/browser-launch.d.ts +0 -27
  651. package/dist/preview/browser-launch.js +0 -53
  652. package/dist/preview/browser-launch.js.map +0 -1
  653. package/dist/preview/cdp-proxy.d.ts +0 -54
  654. package/dist/preview/cdp-proxy.js +0 -151
  655. package/dist/preview/cdp-proxy.js.map +0 -1
  656. package/dist/preview/cdp.d.ts +0 -49
  657. package/dist/preview/cdp.js +0 -167
  658. package/dist/preview/cdp.js.map +0 -1
  659. package/dist/preview/chromium.d.ts +0 -88
  660. package/dist/preview/chromium.js +0 -482
  661. package/dist/preview/chromium.js.map +0 -1
  662. package/dist/preview/dev-server.d.ts +0 -68
  663. package/dist/preview/dev-server.js +0 -317
  664. package/dist/preview/dev-server.js.map +0 -1
  665. package/dist/preview/host.d.ts +0 -206
  666. package/dist/preview/host.js +0 -929
  667. package/dist/preview/host.js.map +0 -1
  668. package/dist/preview/registration.d.ts +0 -68
  669. package/dist/preview/registration.js +0 -111
  670. package/dist/preview/registration.js.map +0 -1
  671. package/dist/preview/run-tools.d.ts +0 -9
  672. package/dist/preview/run-tools.js +0 -72
  673. package/dist/preview/run-tools.js.map +0 -1
  674. package/dist/preview/session.d.ts +0 -87
  675. package/dist/preview/session.js +0 -378
  676. package/dist/preview/session.js.map +0 -1
  677. package/dist/preview/url.d.ts +0 -6
  678. package/dist/preview/url.js +0 -17
  679. package/dist/preview/url.js.map +0 -1
  680. package/dist/process-wait/exit-file.d.ts +0 -29
  681. package/dist/process-wait/exit-file.js +0 -67
  682. package/dist/process-wait/exit-file.js.map +0 -1
  683. package/dist/process-wait/supervisor.d.ts +0 -30
  684. package/dist/process-wait/supervisor.js +0 -71
  685. package/dist/process-wait/supervisor.js.map +0 -1
  686. package/dist/release/manifests.d.ts +0 -103
  687. package/dist/release/manifests.js +0 -90
  688. package/dist/release/manifests.js.map +0 -1
  689. package/dist/release/snapshot.d.ts +0 -67
  690. package/dist/release/snapshot.js +0 -97
  691. package/dist/release/snapshot.js.map +0 -1
  692. package/dist/release/stable.d.ts +0 -38
  693. package/dist/release/stable.js +0 -55
  694. package/dist/release/stable.js.map +0 -1
  695. package/dist/runs/agent-tmpdir-removal.d.ts +0 -15
  696. package/dist/runs/agent-tmpdir-removal.js +0 -60
  697. package/dist/runs/agent-tmpdir-removal.js.map +0 -1
  698. package/dist/runs/agent-tmpdir.d.ts +0 -119
  699. package/dist/runs/agent-tmpdir.js +0 -829
  700. package/dist/runs/agent-tmpdir.js.map +0 -1
  701. package/dist/runs/arm-repo-handle.d.ts +0 -9
  702. package/dist/runs/arm-repo-handle.js +0 -45
  703. package/dist/runs/arm-repo-handle.js.map +0 -1
  704. package/dist/runs/auto-name.d.ts +0 -75
  705. package/dist/runs/auto-name.js +0 -179
  706. package/dist/runs/auto-name.js.map +0 -1
  707. package/dist/runs/client-request.d.ts +0 -11
  708. package/dist/runs/client-request.js +0 -26
  709. package/dist/runs/client-request.js.map +0 -1
  710. package/dist/runs/conversation-identity.d.ts +0 -19
  711. package/dist/runs/conversation-identity.js +0 -31
  712. package/dist/runs/conversation-identity.js.map +0 -1
  713. package/dist/runs/delegation-state.d.ts +0 -409
  714. package/dist/runs/delegation-state.js +0 -22
  715. package/dist/runs/delegation-state.js.map +0 -1
  716. package/dist/runs/event-history-agent-context.d.ts +0 -14
  717. package/dist/runs/event-history-agent-context.js +0 -105
  718. package/dist/runs/event-history-agent-context.js.map +0 -1
  719. package/dist/runs/event-history-context.d.ts +0 -15
  720. package/dist/runs/event-history-context.js +0 -109
  721. package/dist/runs/event-history-context.js.map +0 -1
  722. package/dist/runs/event-history.d.ts +0 -53
  723. package/dist/runs/event-history.js +0 -535
  724. package/dist/runs/event-history.js.map +0 -1
  725. package/dist/runs/history-compressor.d.ts +0 -29
  726. package/dist/runs/history-compressor.js +0 -116
  727. package/dist/runs/history-compressor.js.map +0 -1
  728. package/dist/runs/history-file.d.ts +0 -36
  729. package/dist/runs/history-file.js +0 -463
  730. package/dist/runs/history-file.js.map +0 -1
  731. package/dist/runs/history-stream.d.ts +0 -2
  732. package/dist/runs/history-stream.js +0 -62
  733. package/dist/runs/history-stream.js.map +0 -1
  734. package/dist/runs/legacy-index.d.ts +0 -49
  735. package/dist/runs/legacy-index.js +0 -155
  736. package/dist/runs/legacy-index.js.map +0 -1
  737. package/dist/runs/live-item-snapshots.d.ts +0 -13
  738. package/dist/runs/live-item-snapshots.js +0 -79
  739. package/dist/runs/live-item-snapshots.js.map +0 -1
  740. package/dist/runs/loaded-run-healing.d.ts +0 -3
  741. package/dist/runs/loaded-run-healing.js +0 -17
  742. package/dist/runs/loaded-run-healing.js.map +0 -1
  743. package/dist/runs/outcome-commit.d.ts +0 -98
  744. package/dist/runs/outcome-commit.js +0 -132
  745. package/dist/runs/outcome-commit.js.map +0 -1
  746. package/dist/runs/pull-requests.d.ts +0 -14
  747. package/dist/runs/pull-requests.js +0 -96
  748. package/dist/runs/pull-requests.js.map +0 -1
  749. package/dist/runs/raw-record.d.ts +0 -40
  750. package/dist/runs/raw-record.js +0 -133
  751. package/dist/runs/raw-record.js.map +0 -1
  752. package/dist/runs/retention.d.ts +0 -91
  753. package/dist/runs/retention.js +0 -182
  754. package/dist/runs/retention.js.map +0 -1
  755. package/dist/runs/review-gate.d.ts +0 -18
  756. package/dist/runs/review-gate.js +0 -21
  757. package/dist/runs/review-gate.js.map +0 -1
  758. package/dist/runs/run-claims.d.ts +0 -16
  759. package/dist/runs/run-claims.js +0 -24
  760. package/dist/runs/run-claims.js.map +0 -1
  761. package/dist/runs/run-database-peer-page.d.ts +0 -12
  762. package/dist/runs/run-database-peer-page.js +0 -25
  763. package/dist/runs/run-database-peer-page.js.map +0 -1
  764. package/dist/runs/run-database.d.ts +0 -383
  765. package/dist/runs/run-database.js +0 -1004
  766. package/dist/runs/run-database.js.map +0 -1
  767. package/dist/runs/run-index.d.ts +0 -26
  768. package/dist/runs/run-index.js +0 -212
  769. package/dist/runs/run-index.js.map +0 -1
  770. package/dist/runs/run-row.d.ts +0 -15
  771. package/dist/runs/run-row.js +0 -59
  772. package/dist/runs/run-row.js.map +0 -1
  773. package/dist/runs/run-summary-page.d.ts +0 -36
  774. package/dist/runs/run-summary-page.js +0 -46
  775. package/dist/runs/run-summary-page.js.map +0 -1
  776. package/dist/runs/run-title.d.ts +0 -8
  777. package/dist/runs/run-title.js +0 -28
  778. package/dist/runs/run-title.js.map +0 -1
  779. package/dist/runs/store-open-error.d.ts +0 -24
  780. package/dist/runs/store-open-error.js +0 -61
  781. package/dist/runs/store-open-error.js.map +0 -1
  782. package/dist/runs/store.d.ts +0 -3263
  783. package/dist/runs/store.js +0 -4647
  784. package/dist/runs/store.js.map +0 -1
  785. package/dist/runs/task-markers.d.ts +0 -29
  786. package/dist/runs/task-markers.js +0 -78
  787. package/dist/runs/task-markers.js.map +0 -1
  788. package/dist/runs/task-refs.d.ts +0 -39
  789. package/dist/runs/task-refs.js +0 -107
  790. package/dist/runs/task-refs.js.map +0 -1
  791. package/dist/runs/transcript-facts-fold.d.ts +0 -64
  792. package/dist/runs/transcript-facts-fold.js +0 -109
  793. package/dist/runs/transcript-facts-fold.js.map +0 -1
  794. package/dist/runs/transcript-facts-load.d.ts +0 -11
  795. package/dist/runs/transcript-facts-load.js +0 -66
  796. package/dist/runs/transcript-facts-load.js.map +0 -1
  797. package/dist/runs/transcript-facts-queue.d.ts +0 -30
  798. package/dist/runs/transcript-facts-queue.js +0 -227
  799. package/dist/runs/transcript-facts-queue.js.map +0 -1
  800. package/dist/runs/transcript-facts-worker.d.ts +0 -15
  801. package/dist/runs/transcript-facts-worker.js +0 -26
  802. package/dist/runs/transcript-facts-worker.js.map +0 -1
  803. package/dist/runs/transcript-facts.d.ts +0 -39
  804. package/dist/runs/transcript-facts.js +0 -186
  805. package/dist/runs/transcript-facts.js.map +0 -1
  806. package/dist/runs/ui-event-sink.d.ts +0 -56
  807. package/dist/runs/ui-event-sink.js +0 -188
  808. package/dist/runs/ui-event-sink.js.map +0 -1
  809. package/dist/runs/webhook.d.ts +0 -191
  810. package/dist/runs/webhook.js +0 -360
  811. package/dist/runs/webhook.js.map +0 -1
  812. package/dist/runs/worker-deletion-proof.d.ts +0 -13
  813. package/dist/runs/worker-deletion-proof.js +0 -13
  814. package/dist/runs/worker-deletion-proof.js.map +0 -1
  815. package/dist/runs/worker-execution.d.ts +0 -22
  816. package/dist/runs/worker-execution.js +0 -30
  817. package/dist/runs/worker-execution.js.map +0 -1
  818. package/dist/serve-boot.d.ts +0 -27
  819. package/dist/serve-boot.js +0 -85
  820. package/dist/serve-boot.js.map +0 -1
  821. package/dist/server/app-type.js.map +0 -1
  822. package/dist/server/archive-on-merge.d.ts +0 -35
  823. package/dist/server/archive-on-merge.js +0 -202
  824. package/dist/server/archive-on-merge.js.map +0 -1
  825. package/dist/server/capabilities.d.ts +0 -59
  826. package/dist/server/capabilities.js +0 -141
  827. package/dist/server/capabilities.js.map +0 -1
  828. package/dist/server/checkout-progress.d.ts +0 -10
  829. package/dist/server/checkout-progress.js +0 -27
  830. package/dist/server/checkout-progress.js.map +0 -1
  831. package/dist/server/checkout.d.ts +0 -129
  832. package/dist/server/checkout.js +0 -304
  833. package/dist/server/checkout.js.map +0 -1
  834. package/dist/server/cockpit-ownership.d.ts +0 -31
  835. package/dist/server/cockpit-ownership.js +0 -191
  836. package/dist/server/cockpit-ownership.js.map +0 -1
  837. package/dist/server/cold-repo-handles.d.ts +0 -14
  838. package/dist/server/cold-repo-handles.js +0 -78
  839. package/dist/server/cold-repo-handles.js.map +0 -1
  840. package/dist/server/completion-actions.d.ts +0 -30
  841. package/dist/server/completion-actions.js +0 -204
  842. package/dist/server/completion-actions.js.map +0 -1
  843. package/dist/server/create-project.d.ts +0 -71
  844. package/dist/server/create-project.js +0 -448
  845. package/dist/server/create-project.js.map +0 -1
  846. package/dist/server/forge/github-filters.d.ts +0 -22
  847. package/dist/server/forge/github-filters.js +0 -127
  848. package/dist/server/forge/github-filters.js.map +0 -1
  849. package/dist/server/forge/github-merge-requirements.d.ts +0 -18
  850. package/dist/server/forge/github-merge-requirements.js +0 -137
  851. package/dist/server/forge/github-merge-requirements.js.map +0 -1
  852. package/dist/server/forge/github.d.ts +0 -535
  853. package/dist/server/forge/github.js +0 -3200
  854. package/dist/server/forge/github.js.map +0 -1
  855. package/dist/server/forge/index.d.ts +0 -40
  856. package/dist/server/forge/index.js +0 -72
  857. package/dist/server/forge/index.js.map +0 -1
  858. package/dist/server/forge/types.d.ts +0 -244
  859. package/dist/server/forge/types.js +0 -2
  860. package/dist/server/forge/types.js.map +0 -1
  861. package/dist/server/fs-browse.d.ts +0 -80
  862. package/dist/server/fs-browse.js +0 -182
  863. package/dist/server/fs-browse.js.map +0 -1
  864. package/dist/server/git-changes.d.ts +0 -203
  865. package/dist/server/git-changes.js +0 -508
  866. package/dist/server/git-changes.js.map +0 -1
  867. package/dist/server/git.d.ts +0 -52
  868. package/dist/server/git.js +0 -170
  869. package/dist/server/git.js.map +0 -1
  870. package/dist/server/github.d.ts +0 -9
  871. package/dist/server/github.js +0 -8
  872. package/dist/server/github.js.map +0 -1
  873. package/dist/server/launch-key.d.ts +0 -5
  874. package/dist/server/launch-key.js +0 -31
  875. package/dist/server/launch-key.js.map +0 -1
  876. package/dist/server/live-routes.d.ts +0 -68
  877. package/dist/server/live-routes.js +0 -147
  878. package/dist/server/live-routes.js.map +0 -1
  879. package/dist/server/open-in-app.d.ts +0 -57
  880. package/dist/server/open-in-app.js +0 -177
  881. package/dist/server/open-in-app.js.map +0 -1
  882. package/dist/server/open-in-targets.d.ts +0 -42
  883. package/dist/server/open-in-targets.js +0 -110
  884. package/dist/server/open-in-targets.js.map +0 -1
  885. package/dist/server/open-in-terminal.d.ts +0 -73
  886. package/dist/server/open-in-terminal.js +0 -159
  887. package/dist/server/open-in-terminal.js.map +0 -1
  888. package/dist/server/pr.d.ts +0 -7
  889. package/dist/server/pr.js +0 -7
  890. package/dist/server/pr.js.map +0 -1
  891. package/dist/server/preview-cdp-socket.d.ts +0 -21
  892. package/dist/server/preview-cdp-socket.js +0 -112
  893. package/dist/server/preview-cdp-socket.js.map +0 -1
  894. package/dist/server/preview-socket.d.ts +0 -36
  895. package/dist/server/preview-socket.js +0 -126
  896. package/dist/server/preview-socket.js.map +0 -1
  897. package/dist/server/preview-sockets.d.ts +0 -14
  898. package/dist/server/preview-sockets.js +0 -18
  899. package/dist/server/preview-sockets.js.map +0 -1
  900. package/dist/server/project-context.d.ts +0 -192
  901. package/dist/server/project-context.js +0 -452
  902. package/dist/server/project-context.js.map +0 -1
  903. package/dist/server/provider-action-gate.d.ts +0 -5
  904. package/dist/server/provider-action-gate.js +0 -27
  905. package/dist/server/provider-action-gate.js.map +0 -1
  906. package/dist/server/provider-auth-runtime.d.ts +0 -32
  907. package/dist/server/provider-auth-runtime.js +0 -116
  908. package/dist/server/provider-auth-runtime.js.map +0 -1
  909. package/dist/server/repo-branch-forge.d.ts +0 -59
  910. package/dist/server/repo-branch-forge.js +0 -157
  911. package/dist/server/repo-branch-forge.js.map +0 -1
  912. package/dist/server/repo-branch-sweep.d.ts +0 -21
  913. package/dist/server/repo-branch-sweep.js +0 -64
  914. package/dist/server/repo-branch-sweep.js.map +0 -1
  915. package/dist/server/repo-branches.d.ts +0 -101
  916. package/dist/server/repo-branches.js +0 -803
  917. package/dist/server/repo-branches.js.map +0 -1
  918. package/dist/server/repo-pull.d.ts +0 -18
  919. package/dist/server/repo-pull.js +0 -96
  920. package/dist/server/repo-pull.js.map +0 -1
  921. package/dist/server/run-event-feed.d.ts +0 -20
  922. package/dist/server/run-event-feed.js +0 -190
  923. package/dist/server/run-event-feed.js.map +0 -1
  924. package/dist/server/server-deps.d.ts +0 -37
  925. package/dist/server/server-deps.js +0 -114
  926. package/dist/server/server-deps.js.map +0 -1
  927. package/dist/server/server.d.ts +0 -29583
  928. package/dist/server/server.js +0 -5456
  929. package/dist/server/server.js.map +0 -1
  930. package/dist/server/start-run-options.d.ts +0 -83
  931. package/dist/server/start-run-options.js +0 -111
  932. package/dist/server/start-run-options.js.map +0 -1
  933. package/dist/server/static-ui.d.ts +0 -49
  934. package/dist/server/static-ui.js +0 -98
  935. package/dist/server/static-ui.js.map +0 -1
  936. package/dist/server/upgrade-router.d.ts +0 -23
  937. package/dist/server/upgrade-router.js +0 -53
  938. package/dist/server/upgrade-router.js.map +0 -1
  939. package/dist/server/validators.d.ts +0 -80
  940. package/dist/server/validators.js +0 -85
  941. package/dist/server/validators.js.map +0 -1
  942. package/dist/server/ws.d.ts +0 -65
  943. package/dist/server/ws.js +0 -200
  944. package/dist/server/ws.js.map +0 -1
  945. package/dist/server/wsl.d.ts +0 -25
  946. package/dist/server/wsl.js +0 -92
  947. package/dist/server/wsl.js.map +0 -1
  948. package/dist/server-install/engine.d.ts +0 -47
  949. package/dist/server-install/engine.js +0 -317
  950. package/dist/server-install/engine.js.map +0 -1
  951. package/dist/server-install/npx-cache.d.ts +0 -36
  952. package/dist/server-install/npx-cache.js +0 -104
  953. package/dist/server-install/npx-cache.js.map +0 -1
  954. package/dist/server-install/platforms/macosx-ngrok.d.ts +0 -6
  955. package/dist/server-install/platforms/macosx-ngrok.js +0 -371
  956. package/dist/server-install/platforms/macosx-ngrok.js.map +0 -1
  957. package/dist/server-install/platforms/ubuntu-vps.d.ts +0 -54
  958. package/dist/server-install/platforms/ubuntu-vps.js +0 -1066
  959. package/dist/server-install/platforms/ubuntu-vps.js.map +0 -1
  960. package/dist/server-install/state.d.ts +0 -50
  961. package/dist/server-install/state.js +0 -180
  962. package/dist/server-install/state.js.map +0 -1
  963. package/dist/server-install/steps.d.ts +0 -108
  964. package/dist/server-install/steps.js +0 -332
  965. package/dist/server-install/steps.js.map +0 -1
  966. package/dist/server-install/strategies.d.ts +0 -4
  967. package/dist/server-install/strategies.js +0 -20
  968. package/dist/server-install/strategies.js.map +0 -1
  969. package/dist/server-install/types.d.ts +0 -284
  970. package/dist/server-install/types.js +0 -118
  971. package/dist/server-install/types.js.map +0 -1
  972. package/dist/server-install/ui.d.ts +0 -36
  973. package/dist/server-install/ui.js +0 -130
  974. package/dist/server-install/ui.js.map +0 -1
  975. package/dist/session-context.d.ts +0 -64
  976. package/dist/session-context.js +0 -264
  977. package/dist/session-context.js.map +0 -1
  978. package/dist/skills-provision.d.ts +0 -62
  979. package/dist/skills-provision.js +0 -325
  980. package/dist/skills-provision.js.map +0 -1
  981. package/dist/skills-remote.d.ts +0 -129
  982. package/dist/skills-remote.js +0 -782
  983. package/dist/skills-remote.js.map +0 -1
  984. package/dist/skills.d.ts +0 -71
  985. package/dist/skills.js +0 -249
  986. package/dist/skills.js.map +0 -1
  987. package/dist/subcommands.d.ts +0 -11
  988. package/dist/subcommands.js +0 -25
  989. package/dist/subcommands.js.map +0 -1
  990. package/dist/task-cli/cli.d.ts +0 -39
  991. package/dist/task-cli/cli.js +0 -721
  992. package/dist/task-cli/cli.js.map +0 -1
  993. package/dist/task-cli/discovery.d.ts +0 -25
  994. package/dist/task-cli/discovery.js +0 -98
  995. package/dist/task-cli/discovery.js.map +0 -1
  996. package/dist/task-cli/hint.d.ts +0 -20
  997. package/dist/task-cli/hint.js +0 -14
  998. package/dist/task-cli/hint.js.map +0 -1
  999. package/dist/task-cli/http.d.ts +0 -49
  1000. package/dist/task-cli/http.js +0 -109
  1001. package/dist/task-cli/http.js.map +0 -1
  1002. package/dist/task-cli/projections.d.ts +0 -68
  1003. package/dist/task-cli/projections.js +0 -76
  1004. package/dist/task-cli/projections.js.map +0 -1
  1005. package/dist/task-cli/watch.d.ts +0 -119
  1006. package/dist/task-cli/watch.js +0 -475
  1007. package/dist/task-cli/watch.js.map +0 -1
  1008. package/dist/ui-state.d.ts +0 -41
  1009. package/dist/ui-state.js +0 -90
  1010. package/dist/ui-state.js.map +0 -1
  1011. package/dist/update-check.d.ts +0 -2
  1012. package/dist/update-check.js +0 -26
  1013. package/dist/update-check.js.map +0 -1
  1014. package/dist/voice/decide.d.ts +0 -32
  1015. package/dist/voice/decide.js +0 -297
  1016. package/dist/voice/decide.js.map +0 -1
  1017. package/dist/voice/decision-log.d.ts +0 -52
  1018. package/dist/voice/decision-log.js +0 -107
  1019. package/dist/voice/decision-log.js.map +0 -1
  1020. package/dist/voice/engine.d.ts +0 -119
  1021. package/dist/voice/engine.js +0 -60
  1022. package/dist/voice/engine.js.map +0 -1
  1023. package/dist/voice/fake-engine.d.ts +0 -10
  1024. package/dist/voice/fake-engine.js +0 -192
  1025. package/dist/voice/fake-engine.js.map +0 -1
  1026. package/dist/voice/jev-engine.d.ts +0 -17
  1027. package/dist/voice/jev-engine.js +0 -110
  1028. package/dist/voice/jev-engine.js.map +0 -1
  1029. package/dist/voice/pending-ask.d.ts +0 -17
  1030. package/dist/voice/pending-ask.js +0 -50
  1031. package/dist/voice/pending-ask.js.map +0 -1
  1032. package/dist/voice/routes.d.ts +0 -115
  1033. package/dist/voice/routes.js +0 -91
  1034. package/dist/voice/routes.js.map +0 -1
  1035. package/dist/voice/sentence.d.ts +0 -21
  1036. package/dist/voice/sentence.js +0 -61
  1037. package/dist/voice/sentence.js.map +0 -1
  1038. package/dist/voice/thresholds.d.ts +0 -28
  1039. package/dist/voice/thresholds.js +0 -29
  1040. package/dist/voice/thresholds.js.map +0 -1
  1041. package/dist/webhooks/cli.d.ts +0 -18
  1042. package/dist/webhooks/cli.js +0 -145
  1043. package/dist/webhooks/cli.js.map +0 -1
  1044. package/dist/webhooks/prompt.d.ts +0 -5
  1045. package/dist/webhooks/prompt.js +0 -26
  1046. package/dist/webhooks/prompt.js.map +0 -1
  1047. package/dist/workflows/active-run.d.ts +0 -170
  1048. package/dist/workflows/active-run.js +0 -21
  1049. package/dist/workflows/active-run.js.map +0 -1
  1050. package/dist/workflows/attachment-path.d.ts +0 -6
  1051. package/dist/workflows/attachment-path.js +0 -40
  1052. package/dist/workflows/attachment-path.js.map +0 -1
  1053. package/dist/workflows/completion-policy.d.ts +0 -98
  1054. package/dist/workflows/completion-policy.js +0 -87
  1055. package/dist/workflows/completion-policy.js.map +0 -1
  1056. package/dist/workflows/continuation-admission.d.ts +0 -965
  1057. package/dist/workflows/continuation-admission.js +0 -265
  1058. package/dist/workflows/continuation-admission.js.map +0 -1
  1059. package/dist/workflows/execution-account.d.ts +0 -13
  1060. package/dist/workflows/execution-account.js +0 -18
  1061. package/dist/workflows/execution-account.js.map +0 -1
  1062. package/dist/workflows/grouped-command.d.ts +0 -31
  1063. package/dist/workflows/grouped-command.js +0 -143
  1064. package/dist/workflows/grouped-command.js.map +0 -1
  1065. package/dist/workflows/input-acknowledgement.d.ts +0 -203
  1066. package/dist/workflows/input-acknowledgement.js +0 -41
  1067. package/dist/workflows/input-acknowledgement.js.map +0 -1
  1068. package/dist/workflows/line-order.d.ts +0 -5
  1069. package/dist/workflows/line-order.js +0 -25
  1070. package/dist/workflows/line-order.js.map +0 -1
  1071. package/dist/workflows/load.d.ts +0 -17
  1072. package/dist/workflows/load.js +0 -61
  1073. package/dist/workflows/load.js.map +0 -1
  1074. package/dist/workflows/outcome-batches.d.ts +0 -32
  1075. package/dist/workflows/outcome-batches.js +0 -55
  1076. package/dist/workflows/outcome-batches.js.map +0 -1
  1077. package/dist/workflows/pasted-content.d.ts +0 -60
  1078. package/dist/workflows/pasted-content.js +0 -69
  1079. package/dist/workflows/pasted-content.js.map +0 -1
  1080. package/dist/workflows/question-routing.d.ts +0 -8
  1081. package/dist/workflows/question-routing.js +0 -20
  1082. package/dist/workflows/question-routing.js.map +0 -1
  1083. package/dist/workflows/run/attachment-writer.d.ts +0 -34
  1084. package/dist/workflows/run/attachment-writer.js +0 -98
  1085. package/dist/workflows/run/attachment-writer.js.map +0 -1
  1086. package/dist/workflows/run/auto-resume.d.ts +0 -91
  1087. package/dist/workflows/run/auto-resume.js +0 -248
  1088. package/dist/workflows/run/auto-resume.js.map +0 -1
  1089. package/dist/workflows/run/cezar-tools.d.ts +0 -45
  1090. package/dist/workflows/run/cezar-tools.js +0 -129
  1091. package/dist/workflows/run/cezar-tools.js.map +0 -1
  1092. package/dist/workflows/run/completion-gate.d.ts +0 -77
  1093. package/dist/workflows/run/completion-gate.js +0 -90
  1094. package/dist/workflows/run/completion-gate.js.map +0 -1
  1095. package/dist/workflows/run/compose.d.ts +0 -174
  1096. package/dist/workflows/run/compose.js +0 -391
  1097. package/dist/workflows/run/compose.js.map +0 -1
  1098. package/dist/workflows/run/constants.d.ts +0 -48
  1099. package/dist/workflows/run/constants.js +0 -49
  1100. package/dist/workflows/run/constants.js.map +0 -1
  1101. package/dist/workflows/run/continuation-acceptance.d.ts +0 -70
  1102. package/dist/workflows/run/continuation-acceptance.js +0 -198
  1103. package/dist/workflows/run/continuation-acceptance.js.map +0 -1
  1104. package/dist/workflows/run/continuation-session.d.ts +0 -128
  1105. package/dist/workflows/run/continuation-session.js +0 -581
  1106. package/dist/workflows/run/continuation-session.js.map +0 -1
  1107. package/dist/workflows/run/drop-active.d.ts +0 -4
  1108. package/dist/workflows/run/drop-active.js +0 -11
  1109. package/dist/workflows/run/drop-active.js.map +0 -1
  1110. package/dist/workflows/run/family-reconciler.d.ts +0 -74
  1111. package/dist/workflows/run/family-reconciler.js +0 -310
  1112. package/dist/workflows/run/family-reconciler.js.map +0 -1
  1113. package/dist/workflows/run/human-waits.d.ts +0 -91
  1114. package/dist/workflows/run/human-waits.js +0 -192
  1115. package/dist/workflows/run/human-waits.js.map +0 -1
  1116. package/dist/workflows/run/inbox-claims.d.ts +0 -38
  1117. package/dist/workflows/run/inbox-claims.js +0 -107
  1118. package/dist/workflows/run/inbox-claims.js.map +0 -1
  1119. package/dist/workflows/run/input-batch.d.ts +0 -15
  1120. package/dist/workflows/run/input-batch.js +0 -31
  1121. package/dist/workflows/run/input-batch.js.map +0 -1
  1122. package/dist/workflows/run/input-delivery.d.ts +0 -122
  1123. package/dist/workflows/run/input-delivery.js +0 -661
  1124. package/dist/workflows/run/input-delivery.js.map +0 -1
  1125. package/dist/workflows/run/input-receipts.d.ts +0 -65
  1126. package/dist/workflows/run/input-receipts.js +0 -222
  1127. package/dist/workflows/run/input-receipts.js.map +0 -1
  1128. package/dist/workflows/run/input-timers.d.ts +0 -10
  1129. package/dist/workflows/run/input-timers.js +0 -42
  1130. package/dist/workflows/run/input-timers.js.map +0 -1
  1131. package/dist/workflows/run/launch-context.d.ts +0 -64
  1132. package/dist/workflows/run/launch-context.js +0 -145
  1133. package/dist/workflows/run/launch-context.js.map +0 -1
  1134. package/dist/workflows/run/launch-settings.d.ts +0 -49
  1135. package/dist/workflows/run/launch-settings.js +0 -125
  1136. package/dist/workflows/run/launch-settings.js.map +0 -1
  1137. package/dist/workflows/run/maintenance-claims.d.ts +0 -47
  1138. package/dist/workflows/run/maintenance-claims.js +0 -83
  1139. package/dist/workflows/run/maintenance-claims.js.map +0 -1
  1140. package/dist/workflows/run/memory-guard.d.ts +0 -25
  1141. package/dist/workflows/run/memory-guard.js +0 -63
  1142. package/dist/workflows/run/memory-guard.js.map +0 -1
  1143. package/dist/workflows/run/opening.d.ts +0 -41
  1144. package/dist/workflows/run/opening.js +0 -92
  1145. package/dist/workflows/run/opening.js.map +0 -1
  1146. package/dist/workflows/run/pending-ask-facts.d.ts +0 -10
  1147. package/dist/workflows/run/pending-ask-facts.js +0 -19
  1148. package/dist/workflows/run/pending-ask-facts.js.map +0 -1
  1149. package/dist/workflows/run/prompts.d.ts +0 -74
  1150. package/dist/workflows/run/prompts.js +0 -140
  1151. package/dist/workflows/run/prompts.js.map +0 -1
  1152. package/dist/workflows/run/queued-input.d.ts +0 -108
  1153. package/dist/workflows/run/queued-input.js +0 -321
  1154. package/dist/workflows/run/queued-input.js.map +0 -1
  1155. package/dist/workflows/run/queued-revival.d.ts +0 -44
  1156. package/dist/workflows/run/queued-revival.js +0 -157
  1157. package/dist/workflows/run/queued-revival.js.map +0 -1
  1158. package/dist/workflows/run/repo-root-lease.d.ts +0 -34
  1159. package/dist/workflows/run/repo-root-lease.js +0 -70
  1160. package/dist/workflows/run/repo-root-lease.js.map +0 -1
  1161. package/dist/workflows/run/resolved-wait-input-batch.d.ts +0 -7
  1162. package/dist/workflows/run/resolved-wait-input-batch.js +0 -25
  1163. package/dist/workflows/run/resolved-wait-input-batch.js.map +0 -1
  1164. package/dist/workflows/run/run-cancel.d.ts +0 -36
  1165. package/dist/workflows/run/run-cancel.js +0 -126
  1166. package/dist/workflows/run/run-cancel.js.map +0 -1
  1167. package/dist/workflows/run/run-finish.d.ts +0 -68
  1168. package/dist/workflows/run/run-finish.js +0 -239
  1169. package/dist/workflows/run/run-finish.js.map +0 -1
  1170. package/dist/workflows/run/run-guards.d.ts +0 -14
  1171. package/dist/workflows/run/run-guards.js +0 -34
  1172. package/dist/workflows/run/run-guards.js.map +0 -1
  1173. package/dist/workflows/run/run-line.d.ts +0 -179
  1174. package/dist/workflows/run/run-line.js +0 -429
  1175. package/dist/workflows/run/run-line.js.map +0 -1
  1176. package/dist/workflows/run/run-recovery.d.ts +0 -117
  1177. package/dist/workflows/run/run-recovery.js +0 -442
  1178. package/dist/workflows/run/run-recovery.js.map +0 -1
  1179. package/dist/workflows/run/run-settlement.d.ts +0 -163
  1180. package/dist/workflows/run/run-settlement.js +0 -535
  1181. package/dist/workflows/run/run-settlement.js.map +0 -1
  1182. package/dist/workflows/run/run-skills.d.ts +0 -81
  1183. package/dist/workflows/run/run-skills.js +0 -178
  1184. package/dist/workflows/run/run-skills.js.map +0 -1
  1185. package/dist/workflows/run/run-start.d.ts +0 -64
  1186. package/dist/workflows/run/run-start.js +0 -177
  1187. package/dist/workflows/run/run-start.js.map +0 -1
  1188. package/dist/workflows/run/run-workspace.d.ts +0 -25
  1189. package/dist/workflows/run/run-workspace.js +0 -65
  1190. package/dist/workflows/run/run-workspace.js.map +0 -1
  1191. package/dist/workflows/run/session-events.d.ts +0 -144
  1192. package/dist/workflows/run/session-events.js +0 -262
  1193. package/dist/workflows/run/session-events.js.map +0 -1
  1194. package/dist/workflows/run/step-decisions.d.ts +0 -37
  1195. package/dist/workflows/run/step-decisions.js +0 -42
  1196. package/dist/workflows/run/step-decisions.js.map +0 -1
  1197. package/dist/workflows/run/step-loop.d.ts +0 -140
  1198. package/dist/workflows/run/step-loop.js +0 -490
  1199. package/dist/workflows/run/step-loop.js.map +0 -1
  1200. package/dist/workflows/run/step-session.d.ts +0 -64
  1201. package/dist/workflows/run/step-session.js +0 -280
  1202. package/dist/workflows/run/step-session.js.map +0 -1
  1203. package/dist/workflows/run/steps.d.ts +0 -13
  1204. package/dist/workflows/run/steps.js +0 -14
  1205. package/dist/workflows/run/steps.js.map +0 -1
  1206. package/dist/workflows/run/tracked-work.d.ts +0 -12
  1207. package/dist/workflows/run/tracked-work.js +0 -29
  1208. package/dist/workflows/run/tracked-work.js.map +0 -1
  1209. package/dist/workflows/run/turn-bookkeeping.d.ts +0 -67
  1210. package/dist/workflows/run/turn-bookkeeping.js +0 -174
  1211. package/dist/workflows/run/turn-bookkeeping.js.map +0 -1
  1212. package/dist/workflows/run/turn-markers.d.ts +0 -85
  1213. package/dist/workflows/run/turn-markers.js +0 -262
  1214. package/dist/workflows/run/turn-markers.js.map +0 -1
  1215. package/dist/workflows/run/turn-nudges.d.ts +0 -101
  1216. package/dist/workflows/run/turn-nudges.js +0 -245
  1217. package/dist/workflows/run/turn-nudges.js.map +0 -1
  1218. package/dist/workflows/run/turn-settler.d.ts +0 -166
  1219. package/dist/workflows/run/turn-settler.js +0 -492
  1220. package/dist/workflows/run/turn-settler.js.map +0 -1
  1221. package/dist/workflows/run/types.d.ts +0 -280
  1222. package/dist/workflows/run/types.js +0 -2
  1223. package/dist/workflows/run/types.js.map +0 -1
  1224. package/dist/workflows/run/usage-accounting.d.ts +0 -28
  1225. package/dist/workflows/run/usage-accounting.js +0 -158
  1226. package/dist/workflows/run/usage-accounting.js.map +0 -1
  1227. package/dist/workflows/run/wait-registry.d.ts +0 -132
  1228. package/dist/workflows/run/wait-registry.js +0 -405
  1229. package/dist/workflows/run/wait-registry.js.map +0 -1
  1230. package/dist/workflows/run/wait-watches.d.ts +0 -855
  1231. package/dist/workflows/run/wait-watches.js +0 -221
  1232. package/dist/workflows/run/wait-watches.js.map +0 -1
  1233. package/dist/workflows/run/wake-admission.d.ts +0 -160
  1234. package/dist/workflows/run/wake-admission.js +0 -404
  1235. package/dist/workflows/run/wake-admission.js.map +0 -1
  1236. package/dist/workflows/run/wake-ledger.d.ts +0 -61
  1237. package/dist/workflows/run/wake-ledger.js +0 -77
  1238. package/dist/workflows/run/wake-ledger.js.map +0 -1
  1239. package/dist/workflows/run/wake-retries.d.ts +0 -31
  1240. package/dist/workflows/run/wake-retries.js +0 -93
  1241. package/dist/workflows/run/wake-retries.js.map +0 -1
  1242. package/dist/workflows/run/worker-executions.d.ts +0 -54
  1243. package/dist/workflows/run/worker-executions.js +0 -149
  1244. package/dist/workflows/run/worker-executions.js.map +0 -1
  1245. package/dist/workflows/run/worker-orphans.d.ts +0 -91
  1246. package/dist/workflows/run/worker-orphans.js +0 -275
  1247. package/dist/workflows/run/worker-orphans.js.map +0 -1
  1248. package/dist/workflows/run/worker-questions.d.ts +0 -122
  1249. package/dist/workflows/run/worker-questions.js +0 -309
  1250. package/dist/workflows/run/worker-questions.js.map +0 -1
  1251. package/dist/workflows/run/workflow-position.d.ts +0 -18
  1252. package/dist/workflows/run/workflow-position.js +0 -88
  1253. package/dist/workflows/run/workflow-position.js.map +0 -1
  1254. package/dist/workflows/run/worktree-autosave.d.ts +0 -39
  1255. package/dist/workflows/run/worktree-autosave.js +0 -156
  1256. package/dist/workflows/run/worktree-autosave.js.map +0 -1
  1257. package/dist/workflows/run-scheduling.d.ts +0 -40
  1258. package/dist/workflows/run-scheduling.js +0 -84
  1259. package/dist/workflows/run-scheduling.js.map +0 -1
  1260. package/dist/workflows/run-states.d.ts +0 -191
  1261. package/dist/workflows/run-states.js +0 -318
  1262. package/dist/workflows/run-states.js.map +0 -1
  1263. package/dist/workflows/run.d.ts +0 -334
  1264. package/dist/workflows/run.js +0 -603
  1265. package/dist/workflows/run.js.map +0 -1
  1266. package/dist/workflows/turn-end.d.ts +0 -126
  1267. package/dist/workflows/turn-end.js +0 -78
  1268. package/dist/workflows/turn-end.js.map +0 -1
  1269. package/dist/workflows/types.d.ts +0 -83
  1270. package/dist/workflows/types.js +0 -192
  1271. package/dist/workflows/types.js.map +0 -1
  1272. package/dist/workflows/wait-scope.d.ts +0 -80
  1273. package/dist/workflows/wait-scope.js +0 -110
  1274. package/dist/workflows/wait-scope.js.map +0 -1
  1275. package/dist/workflows/waits.d.ts +0 -188
  1276. package/dist/workflows/waits.js +0 -287
  1277. package/dist/workflows/waits.js.map +0 -1
  1278. package/dist/workspace/agent-accounts.d.ts +0 -128
  1279. package/dist/workspace/agent-accounts.js +0 -280
  1280. package/dist/workspace/agent-accounts.js.map +0 -1
  1281. package/dist/workspace/agent-profiles.d.ts +0 -124
  1282. package/dist/workspace/agent-profiles.js +0 -190
  1283. package/dist/workspace/agent-profiles.js.map +0 -1
  1284. package/dist/workspace/config.d.ts +0 -181
  1285. package/dist/workspace/config.js +0 -389
  1286. package/dist/workspace/config.js.map +0 -1
  1287. package/dist/workspace/migrations.d.ts +0 -35
  1288. package/dist/workspace/migrations.js +0 -147
  1289. package/dist/workspace/migrations.js.map +0 -1
  1290. package/dist/workspace/projects-cli.d.ts +0 -25
  1291. package/dist/workspace/projects-cli.js +0 -172
  1292. package/dist/workspace/projects-cli.js.map +0 -1
  1293. package/dist/workspace/projects.d.ts +0 -129
  1294. package/dist/workspace/projects.js +0 -267
  1295. package/dist/workspace/projects.js.map +0 -1
  1296. package/dist/workspace/semaphore.d.ts +0 -145
  1297. package/dist/workspace/semaphore.js +0 -196
  1298. package/dist/workspace/semaphore.js.map +0 -1
  1299. package/dist/workspace/ui-state.d.ts +0 -36
  1300. package/dist/workspace/ui-state.js +0 -55
  1301. package/dist/workspace/ui-state.js.map +0 -1
  1302. package/dist/workspace/webhooks.d.ts +0 -40
  1303. package/dist/workspace/webhooks.js +0 -146
  1304. package/dist/workspace/webhooks.js.map +0 -1
  1305. package/dist/worktree-manifest.d.ts +0 -165
  1306. package/dist/worktree-manifest.js +0 -530
  1307. package/dist/worktree-manifest.js.map +0 -1
  1308. package/dist/worktree-setup.d.ts +0 -85
  1309. package/dist/worktree-setup.js +0 -164
  1310. package/dist/worktree-setup.js.map +0 -1
  1311. package/scripts/benchmark-run-store-fixture.ts +0 -432
  1312. package/scripts/benchmark-run-store.ts +0 -743
  1313. package/scripts/benchmark-stuck-destroys.ts +0 -143
  1314. package/scripts/check-pack.mjs +0 -48
  1315. package/scripts/inline-contract.mjs +0 -165
  1316. package/scripts/install-as-command.mjs +0 -122
  1317. package/scripts/measure-transcript-facts-health.mjs +0 -87
  1318. package/scripts/measure-transcript-facts-lag.mjs +0 -68
  1319. package/scripts/mock-autonomous.mjs +0 -11
  1320. package/scripts/mock-ci-tool.mjs +0 -111
  1321. package/scripts/mock-claude-model-refusal.mjs +0 -42
  1322. package/scripts/mock-claude.mjs +0 -1065
  1323. package/scripts/mock-codex-app-server.mjs +0 -905
  1324. package/scripts/mock-codex-coalesce-steer.mjs +0 -59
  1325. package/scripts/mock-codex-reverse-steer.mjs +0 -130
  1326. package/scripts/mock-cursor-acp.mjs +0 -423
  1327. package/scripts/mock-cursor-hang-stdin-late.mjs +0 -35
  1328. package/scripts/mock-cursor-hang-stdin.mjs +0 -30
  1329. package/scripts/mock-cursor-print.mjs +0 -256
  1330. package/scripts/mock-deferred-turn-start.mjs +0 -16
  1331. package/scripts/mock-delivery-control.d.mts +0 -23
  1332. package/scripts/mock-delivery-control.mjs +0 -80
  1333. package/scripts/mock-env-record.mjs +0 -11
  1334. package/scripts/mock-failure-control.d.mts +0 -13
  1335. package/scripts/mock-failure-control.mjs +0 -68
  1336. package/scripts/mock-multi-pr.mjs +0 -7
  1337. package/scripts/mock-nudge.mjs +0 -45
  1338. package/scripts/mock-omp-rpc.mjs +0 -779
  1339. package/scripts/mock-opencode-serve.mjs +0 -1230
  1340. package/scripts/mock-pi-rpc.mjs +0 -698
  1341. package/scripts/mock-runner-crash.mjs +0 -58
  1342. package/scripts/mock-session-context.d.mts +0 -5
  1343. package/scripts/mock-session-context.mjs +0 -56
  1344. package/scripts/mock-silent-tail.mjs +0 -85
  1345. package/scripts/mock-turn-messages.mjs +0 -5
  1346. package/scripts/omp-ci-wait.mjs +0 -29
  1347. package/scripts/omp-restrict-delegation.yml +0 -4
  1348. package/scripts/pi-ci-wait.mjs +0 -17
  1349. package/scripts/pi-default-tools.mjs +0 -22
  1350. package/scripts/pi-project-skills.mjs +0 -59
  1351. package/scripts/pi-retry-degraded-service.mjs +0 -16
  1352. package/scripts/probe-cursor-print.mjs +0 -627
  1353. package/scripts/seed-archive-profile.ts +0 -53
  1354. package/scripts/sync-readme.mjs +0 -20
  1355. package/scripts/test-process-usage.mjs +0 -47
  1356. package/scripts/transcript-facts-fixture.mjs +0 -53
  1357. package/scripts/voice-replay.ts +0 -50
  1358. package/scripts/windows-workspace-identity.cs +0 -208
  1359. package/scripts/windows-workspace-identity.ps1 +0 -10
  1360. package/web/dist/assets/alert-dialog-DfctKUMw.js +0 -1
  1361. package/web/dist/assets/button-CeupvoKG.js +0 -41
  1362. package/web/dist/assets/centered-state-DRV994qx.js +0 -1
  1363. package/web/dist/assets/cez-idle-D3aj_9lp.js +0 -1
  1364. package/web/dist/assets/diff-CMvwOEAq2.js +0 -3
  1365. package/web/dist/assets/diff-controls-DOUOXMFa.js +0 -1
  1366. package/web/dist/assets/diff-view-CeyiYVO0.js +0 -11
  1367. package/web/dist/assets/dropdown-menu-o5TscAn1.js +0 -6
  1368. package/web/dist/assets/git-toolbar-BXqnQi8K.js +0 -1
  1369. package/web/dist/assets/github-BK1vJWfx.js +0 -1
  1370. package/web/dist/assets/index-C3hy-aA5.css +0 -1
  1371. package/web/dist/assets/index-CvfFqahx.js +0 -34
  1372. package/web/dist/assets/lib-BQXq3kEf.js +0 -1
  1373. package/web/dist/assets/live-protocol-DhRssvhp.js +0 -64
  1374. package/web/dist/assets/play-CmVAj_fu.js +0 -1
  1375. package/web/dist/assets/popover-BhkASzoh.js +0 -1
  1376. package/web/dist/assets/preview-pane-connected-DYEO_KU8.js +0 -3
  1377. package/web/dist/assets/reference-chip-CwVbHR5t.js +0 -1
  1378. package/web/dist/assets/repo-git-CHmWZuZU.js +0 -1
  1379. package/web/dist/assets/run-header-BaMbZXjb.js +0 -2
  1380. package/web/dist/assets/skill-empty-hint-oOtzR3v0.js +0 -1
  1381. package/web/dist/assets/skills-DviK76JU.js +0 -1
  1382. package/web/dist/assets/status-dot-B_zxTP5h.js +0 -1
  1383. package/web/dist/assets/tab-link-I2OzEyyp.js +0 -1
  1384. package/web/dist/assets/task-changes--tIcV2If.js +0 -1
  1385. package/web/dist/assets/task-commits-BkgYMsVZ.js +0 -1
  1386. package/web/dist/assets/task-files-CfqI5Pd4.js +0 -2
  1387. package/web/dist/assets/task-github-item-CXv13eJx.js +0 -1
  1388. package/web/dist/assets/task-thread-DJfpoqYU.js +0 -9
  1389. package/web/dist/assets/thread-state-C_J5glQD.js +0 -4
  1390. package/web/dist/assets/use-hand-to-agent-state-C-_lVGuC.js +0 -1
  1391. package/web/dist/assets/workflows-9xLAxVoB.js +0 -7
  1392. package/web/dist/assets/zoomable-image-CxQSsfcn.js +0 -1
package/README.md DELETED
@@ -1,1745 +0,0 @@
1
- <div align="center">
2
-
3
- <picture>
4
- <source media="(prefers-color-scheme: dark)" srcset="packages/web/public/cezarion-mark-dark.svg">
5
- <img src="packages/web/public/cezarion-mark-light.svg" alt="" width="96" height="96">
6
- </picture>
7
-
8
- # Cezarion
9
-
10
- **Parallel coding agents orchestrator** — a local cockpit for running and
11
- tracking AI coding-agent tasks in your repo.
12
-
13
- Type a task, pick a workflow and an agent — **Claude Code, Codex, OpenCode, Cursor, pi or
14
- OMP (OpenCode, pi and OMP experimental), or a mix of them per step** — and watch it work live: steps, tool calls,
15
- tokens, diffs, in a browser cockpit that runs entirely on your machine.
16
- Your CLI logins, your `gh`, your files. No accounts, no database server, no cloud.
17
-
18
- 🔥 **Fire and forget.** Queue a stack of autonomous coding and maintenance
19
- tasks and let them run — Cezarion orchestrates them across isolated worktrees,
20
- in parallel. Flip the **Autonomous** flag
21
- and a run never stops to ask; it just finishes. Leave it on a VPS and you get
22
- a dev team that's *always on* — a mobile-friendly cockpit you can check from
23
- your phone, working your backlog while you're away.
24
-
25
- [A look inside](#a-look-inside) · [What Cezarion does best](#what-cezarion-does-best-) · [What it solves](#what-it-solves) · [Who it's for](#who-its-for) · [Quick start](#quick-start) · [How it works](#how-it-works) · [Core concepts](#core-concepts) · [Cockpit tour](#cockpit-tour) · [Agent backends](#coding-agent-backends) · [Remote access](#remote-access-host-cezarion-on-a-server)
26
-
27
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
28
- ![Node 24.21.0+](https://img.shields.io/badge/Node-24.21.0%2B-339933)
29
- ![TypeScript 7.x](https://img.shields.io/badge/TypeScript-7.x-3178c6)
30
- ![Zero config](https://img.shields.io/badge/config-zero-success)
31
- ![Embedded SQLite](https://img.shields.io/badge/database-embedded%20SQLite-success)
32
-
33
- </div>
34
-
35
- ---
36
-
37
- ```bash
38
- cd your-repo
39
- npx cezarion # → cockpit at http://localhost:4321
40
- ```
41
-
42
- That's the whole setup. If your `claude` CLI is logged in (Pro/Max) and `gh` is
43
- authenticated, there is nothing else to configure. State lives in `.ai/cezar/`
44
- inside your repo: your runs in one embedded SQLite file (`runs.db`, built into
45
- Node: no server, no install, no config), event logs in NDJSON and journals in
46
- Markdown. Everything except the run file you can `cat` and fix by hand.
47
-
48
- Local npm installations have a workspace update API. `POST
49
- /api/v1/workspace/application-update/apply` with `{}` prepares the release
50
- advertised by health while the current server keeps running; `POST
51
- /api/v1/workspace/application-update/restart` with `{}` then restarts it. A
52
- successful restart updates the original global installation or ordinary npx
53
- cache entry, so the same command uses the new version on its next launch.
54
- Update preparation and recovery state is generated under
55
- `~/.cezar/application-updates/` (or `CEZ_HOME`).
56
- Pinned npx invocations, source checkouts, npm links, and hosted deployments use
57
- their existing manual update paths. Cezarion holds its own installation lock and
58
- npm's npx lock during promotion; a separate manual `npm install` does not honor
59
- those locks, so avoid one while an update is preparing or restarting.
60
-
61
- ## A look inside
62
-
63
- Click any thumbnail for the full-size screenshot.
64
-
65
- | Orchestrate parallel agents | Watch a run live |
66
- |:--:|:--:|
67
- | [![The Tasks view with running and queued tasks](docs/screenshots/task-view.png)](docs/screenshots/task-view.png) | [![A running task streaming agent text, tool calls and test output](docs/screenshots/live-run.png)](docs/screenshots/live-run.png) |
68
- | *Run and queue tasks in isolated worktrees, with live status and resource use.* | *Every step, tool call, token and screenshot streams as it happens.* |
69
- | **Workflow builder** | **GitHub, one click away** |
70
- | [![The workflow builder](docs/screenshots/workflow-builder.png)](docs/screenshots/workflow-builder.png) | [![The GitHub tab](docs/screenshots/github-issues.png)](docs/screenshots/github-issues.png) |
71
- | *Stitch skills and shell checks into a reusable YAML chain.* | *Hand an issue to an agent through your own `gh` login.* |
72
-
73
- ---
74
-
75
- ## Generated inbox removed
76
-
77
- The generated follow-up Inbox is removed in the next breaking minor release, **0.17.0**
78
- (hearsay-tools/cezarion#1543). There is no deprecation window for this removal.
79
- Remove `CEZ_FOLLOWUPS` from your launch environment; it no longer enables anything.
80
- Agents receive no suggestion-generation instructions or usable `CEZ_TODOS_FILE`.
81
- The todo API routes, `todos` SSE events, `capabilities.followups`, and task-creation
82
- fields `generateFollowups` and `todoId` are removed. Remove those fields from scripts
83
- and automation templates. Historical run records remain readable and resumable.
84
- Upgrades leave `.ai/cezar/todos.json` untouched. If that file exists, export its original
85
- contents from the project directory with:
86
- ```bash
87
- cp .ai/cezar/todos.json ./cezar-followups-export.json
88
- ```
89
- Old Inbox URLs show this guidance. Create an ordinary task with **New task**, or use
90
- an issue-authoring skill to record work in your tracker. Task **Notes**, the rolling
91
- handoff journal, **Continue**, live follow-up messages, and `cez message inbox` remain
92
- available.
93
- ## What Cezarion does best 🏆
94
-
95
- **On your phone:** the [iPhone and Android companion apps](docs/mobile.md) connect
96
- to your existing HTTPS cockpit. Personal installation and device testing are
97
- documented; agents continue running on your server.
98
-
99
- Plenty of tools wrap a single coding agent in a nicer window — a "Codex GUI", a
100
- conductor-style app, one-agent front-ends. Cezarion's bet is different. Three things
101
- it does better than any of them:
102
-
103
- - 🪶 **Genuinely zero config.** `npx cezarion` in your repo and you're running —
104
- no wizard, no API keys, no env vars, no schema, no database server. It rides the
105
- `claude` / `codex` / `opencode` / `agent` (Cursor) / `pi` / `omp` logins and the `gh` you already have, and every
106
- missing piece degrades gracefully instead of blocking you.
107
- - 🖥️ **Built for a server (VPS mode).** Cezarion is made to live on a **VPS, cloud,
108
- or dedicated box** as an always-on janitor for your repo — headless-first, with
109
- a mobile-friendly cockpit you drive from anywhere. It's a coding server you can
110
- actually watch, not a desktop app bolted onto one machine.
111
- - 🔀 **Parallel + autonomous orchestration.** The real edge: Cezarion runs **many
112
- agents at once** in isolated worktrees, **queues** the overflow, and pushes each
113
- one **autonomously** through skill playbooks — fire-and-forget. This is exactly
114
- what single-agent GUIs don't do well: they babysit one agent, while Cezarion
115
- orchestrates a whole team and drains your backlog while you're away.
116
-
117
- ---
118
-
119
- ## What it solves
120
-
121
- Most "AI coding agent" tooling makes you choose between a **terminal** you can't
122
- see into once it's running, and a **cloud product** that wants your API key, your
123
- code on their servers, and an account. Cezarion is the third option: the agents run
124
- locally under *your* subscription, a cockpit shows you exactly what they're doing,
125
- and an orchestrator keeps a whole queue of them moving.
126
-
127
- - 👀 **No visibility into a running agent.** A headless `claude` run is a black box
128
- until it finishes. Cezarion streams every step — agent text, each tool call and
129
- its result, tokens and cost per step — live, and keeps the full replay.
130
- - 🧩 **One agent, one working tree, one thing at a time.** Kick off a second task and
131
- it fights the first over your files. Cezarion runs each task in its **own git
132
- worktree**, so two (or three) agents work in parallel without stepping on
133
- each other — or on the branch you're editing.
134
- - 🗂️ **A backlog that needs babysitting.** Queue a stack of tasks and Cezarion
135
- **orchestrates** them: it runs up to your parallel limit and holds the rest in
136
- an ordered queue. Point it at a GitHub issue and it runs straight on that, so
137
- working the tracker down stops being a manual chore. Create ordinary tasks for
138
- the work you choose to run next.
139
- - 🤖 **"Autonomous" means you still have to sit there.** Flip the **Autonomous**
140
- flag and a run never parks to ask — it keeps going until the task is done. Pair
141
- it with a **skill** (a Markdown playbook) and you've got fire-and-forget
142
- automation: hand off "fix this", "upgrade that", "triage these" and walk away.
143
- - ✅ **The agent finishes and you have to trust it.** Every task's diff stays on
144
- its own branch: inspect it, send notes back into the same session, or push a
145
- **draft PR**. Auto merge is off by default; each task can opt in to merge after Done.
146
- Turn on the optional **review gate**
147
- (`CEZ_REVIEW_GATE=1` or Settings → Agents) and a finished run with changes
148
- waits in `review` for you.
149
- - ♻️ **Losing a session when it fails.** Every run records its `claude` session id.
150
- Take it over interactively in one click (`claude --resume <id>`), or continue it
151
- in-process from the cockpit. After a failure, Continue tells the agent which
152
- step failed and gives its saved error before your message. Restart recovery
153
- also explains the restart when replaying a saved message. Background commands
154
- may have stopped; the agent is told to verify their state before restarting them.
155
- - 🔀 **Locked into one agent vendor.** Most tools wed you to a single CLI. Cezarion
156
- drives **Claude Code, Codex, OpenCode, Cursor, pi and OMP** (OpenCode, pi and OMP
157
- experimental) through one runner seam — set a
158
- default, pick a backend per task, or mix them inside one workflow (implement
159
- with one agent, review with another) — and through **OpenCode**, **pi** or
160
- **OMP** you can point a run at **open-source or local models**, not just the
161
- big vendors. See
162
- [Agent backends](#coding-agent-backends).
163
- - 🖥️ **Close the laptop and the work stops.** A local agent only runs while your
164
- machine is on and awake. Put Cezarion on a **VPS, cloud box, or dedicated server**
165
- and the cockpit becomes the GUI for an **always-on AI coding team** — kick off,
166
- watch and steer tasks from your laptop or **phone**, on the train or between
167
- meetings, while the agents keep grinding through the backlog back on the server.
168
- - ⚡ **Setup tax.** No wizard, no env vars, no schema. Skills are Markdown, workflows
169
- are short YAML, and everything degrades: no `gh` → works without PRs, no network
170
- → local skills still load, no `.ai/skills` → the bare prompt still runs.
171
-
172
- ---
173
-
174
- ## Who it's for
175
-
176
- - **Solo devs and small teams** who want the leverage of coding agents without
177
- handing their code and keys to a SaaS — the agent runs on your subscription,
178
- on your machine.
179
- - **`claude` CLI power users** who love headless runs but want to *see* them,
180
- and review a diff before it lands.
181
- - **Anyone with a backlog** who'd rather queue three tasks into isolated worktrees
182
- and pick the winners than babysit one terminal.
183
- - **Teams with shared conventions** who want their playbooks (skills) pulled from
184
- a git repo, applied consistently, with zero per-project setup.
185
-
186
- ---
187
-
188
- ## Quick start
189
-
190
- **Prerequisites:** Node 24.21.0+, at least one logged-in agent CLI — the
191
- [`claude` CLI](https://github.com/anthropics/claude-code) (Pro/Max subscription),
192
- the [`codex` CLI](https://github.com/openai/codex),
193
- [OpenCode](https://opencode.ai), the
194
- [Cursor CLI](https://cursor.com/docs/cli/installation) (`agent`),
195
- [pi](https://github.com/badlogic/pi-mono), or
196
- [OMP](https://github.com/can1357/oh-my-pi) — and, optionally, `git` and the
197
- `gh` CLI.
198
-
199
- ```bash
200
- cd your-repo
201
- npx cezarion # start the cockpit for the current repo
202
- # or: npx @wjarka/cezarion
203
-
204
- ```
205
-
206
- The cockpit opens at `http://localhost:4321`. If the requested port is occupied,
207
- startup exits with an actionable error before recovering tasks. Automatic port
208
- bounce has been removed (hearsay-tools/cezarion#722): open the existing cockpit,
209
- stop the process using that port, or choose `cez --port <free-port>` deliberately.
210
- Use `cez --port 0` to ask the OS for an ephemeral port. If another cockpit already
211
- serves this repository, the command prints its URL and exits with an error,
212
- even with a different port. Different repositories can run side by side on
213
- explicitly different ports; after a cockpit exits or crashes, its repository
214
- can start again without cleanup.
215
- Type a task, pick a workflow, hit **Start**. That's it.
216
-
217
- ```bash
218
- npx cezarion run "add a --json flag to the export command" # headless, CI-friendly
219
- npx cezarion init # scaffold .ai/cezar/
220
- ```
221
-
222
- Both the `cezarion` and `cez` commands are installed, so once it's on your PATH you
223
- can run either. No API key is ever used — Cezarion shells out to whichever agent
224
- CLIs you are already logged into, `claude` by default.
225
-
226
- > **Contributing?** [Local development](#local-development) shows how to get a
227
- > global `cez` command straight off your checkout (`npm run install-as-command`)
228
- > — no publish needed.
229
-
230
- > **Just kicking the tires?** Set `CEZ_DRY_RUN=1` to run against a bundled mock
231
- > instead of the real CLI — the whole cockpit works with no `claude` login, so
232
- > you can explore runs and diffs offline.
233
-
234
- ### Nightly builds — help us shape Cezarion 🌙
235
-
236
- Every night we publish the trunk to npm, so the features landing in the next
237
- release are one command away:
238
-
239
- ```bash
240
- npx cezarion@nightly # everything merged as of last night
241
- ```
242
-
243
- **Come build this with us.** Cezarion is shaped by the people who run it on real
244
- repos: if you try a nightly and something feels wrong — a workflow that stalls, a
245
- diff that reads badly, a runner that should exist — [open an
246
- issue](https://github.com/hearsay-tools/cezarion/issues) and tell us. That feedback,
247
- early, is worth more than a bug report six weeks after a release, and it is how
248
- most of the features here got their final shape.
249
-
250
- **Know what you're installing.** A nightly is verified (typecheck, unit suites,
251
- packaged-CLI e2e — the same gate a release runs) but it is *not* a release: it
252
- can be rough, a flag or a screen may change under you, and something occasionally
253
- breaks in a way no test caught. Nothing is at risk beyond your patience — every
254
- task runs in its own git worktree and auto merge is off by default — but if you need a
255
- boring day, stay on the stable release. Pin a nightly you liked with its exact
256
- version (`npx cezarion@<nightly-version>` — the cockpit prints the
257
- version it booted, and the date in it tells you how old the build is), and drop
258
- back to stable any time with a plain `npx cezarion`.
259
-
260
- ### Preview builds
261
-
262
- Every green CI run also publishes an installable npm snapshot
263
- ([how it works](docs/publishing.md)), so you can try code that has not even
264
- merged yet:
265
-
266
- ```bash
267
- npx cezarion@dev # current main head
268
- ```
269
-
270
- Every pull request gets its own preview too — the CI bot posts a sticky comment
271
- on the PR with the exact pinned version to copy-paste
272
- (`npx cezarion@<version>-pr<N>.<run>`). Nightlies and previews are all
273
- prerelease versions under their own dist-tags; a plain `npx cezarion` always
274
- resolves to the latest stable release.
275
-
276
- ---
277
-
278
- ## How it works
279
-
280
- You describe a task. Cezarion runs it as a **workflow** — an ordered list of agent
281
- steps and shell checks — shelling out to your locally installed agent CLI
282
- (Claude Code by default; Codex, OpenCode, Cursor, pi and OMP are drop-in
283
- alternatives, per task or per step). Each task gets its own git worktree; the
284
- cockpit streams every event live and leaves the diff on the task's branch for
285
- you to inspect.
286
-
287
- ```
288
- you type a task
289
- │
290
- ▼
291
- ┌─────────────┐ optional: Plan → AI drafts a chain of steps you approve
292
- │ workflow │ (agent steps + shell checks, with bounded onFail retries)
293
- └─────────────┘
294
- │
295
- ▼
296
- ┌──────────────────────────────┐ ┌────────────────────────────────┐
297
- │ git worktree per task │ │ agent CLI (your login) │
298
- │ (isolated branch, parallel) │◄───►│ claude · codex · opencode · │
299
- └──────────────────────────────┘ │ cursor · pi · omp │
300
- │ │ Bash open · no prompts │
301
- │ └────────────────────────────────┘
302
- │ agent text · tool calls · tool results · tokens · cost
303
- ▼
304
- ┌─────────────┐ SSE (replay + live) ┌──────────────────────────┐
305
- │ .ai/cezar/ │ ──────────────────────► │ cockpit localhost:4321 │
306
- │SQLite·NDJSON│ │ Tasks · Git · GitHub · │
307
- │ ·Markdown │ │ Skills · Workflows │
308
- └─────────────┘ └──────────────────────────┘
309
- │
310
- read the diff → send notes back ·
311
- draft PR · finish
312
- ```
313
-
314
- When a check fails, the workflow can loop back to an earlier step (bounded by
315
- `max`) with the failing output appended to the retried agent's prompt. By default,
316
- a finished run's changes stay on its branch until you act on them. A task can opt
317
- into merging its PR after Done, subject to current-head CI and GitHub rules.
318
- With the optional review gate on, a run with changes rests in `review` instead
319
- of `done`.
320
-
321
- ---
322
-
323
- ## Core concepts
324
-
325
- Three words, no jargon — **task**, **skill**, **chain**:
326
-
327
- - 📋 **Tasks** are the unit of work. Every task is a **run**: `queued → running →
328
- review / done / failed / cancelled`, with a live event log, per-step token and
329
- cost usage, cancel/delete, and — for anything with a diff — a reviewable branch. Attach
330
- screenshots, PDFs, `.txt` or `.md` files to the task (paperclip, ⌘V or drag-drop;
331
- the agent gets each one as a real file on disk), or send follow-up messages into
332
- the live session while it works.
333
- - 📖 **Skills** are Markdown playbooks. Drop them in `.ai/skills/` or
334
- `.ai/cezar/skills/`, or pull them from a shared **team skills repo** you name
335
- in `skillsRepos` (a bare git clone cached globally in `~/.cache/cez/`). There is no
336
- default team repo, and each team skill has its own on/off switch per project. A workflow step references one by
337
- `skill: <name>` and its body becomes the agent's extra system prompt — so you
338
- shape *how* the agent reasons without touching code.
339
- - 🔗 **Chains (workflows)** stitch steps into a pipeline: agent steps plus shell
340
- checks, with bounded `onFail` retry loops. Write the YAML yourself, build one by
341
- drag-ordering skills in the **Workflows** tab, or press **Plan first** and let the
342
- AI draft a chain for your task that you review, trim and start. The built-in
343
- `quick-task` (one agent step) works with zero setup.
344
-
345
- The moves that make the cockpit worth the browser tab:
346
-
347
- - 🗃️ **Queue + orchestration.** Start as many tasks as you like: Cezarion runs up to
348
- `maxParallel` at once across every project (default **2**; a non-git directory
349
- always runs one, until its first commit lifts that limit within a minute) and
350
- holds the rest in a FIFO queue with visible positions (`#1`, `#2`, …). Cancel a
351
- queued task before it starts; the queue even survives a cockpit restart —
352
- everything still `queued` is re-enqueued in order. It's the orchestration layer
353
- that turns "one agent at a time" into a backlog that drains itself.
354
- - 🧠 **Memory-aware runs.** Each run's whole process tree is sampled (~2 s) for CPU
355
- and RSS, and its **peak memory** is recorded and shown in the task table. Set an
356
- optional per-task **memory ceiling** (`memoryLimitMb`) and a run that crosses it
357
- is *paused* — freeing its tree so the queue keeps advancing — and resumes on
358
- demand. Event logs are append-only NDJSON and streamed rather than re-serialized,
359
- and live UI deltas are coalesced so they never hit disk.
360
- - 🧹 **Bounded worktree disk.** Each task runs in its own full checkout, so a busy
361
- cockpit would otherwise grow without limit. Cezarion keeps only the last
362
- `worktreeRetention` **finished** worktrees on disk (default **10**; `0` =
363
- unlimited) and reclaims the rest — directory only, the `cez/<id8>` branch is
364
- kept, so the work stays recoverable. Once a branch's work is on the base, or
365
- its exact PR merged, a background sweep deletes the local branch (a task's
366
- merged PR branch and its unused starter too); unmerged work, open PRs and
367
- your own branches stay. Settings → Resources shows every
368
- worktree's disk use with per-row delete and a **Reclaim now** button.
369
- - 🛡️ **You control merging.** Read a finished run's diff, type notes that go
370
- straight back into the agent's session, or push a `gh pr create --draft`.
371
- Auto merge is off by default and requires a task to opt in. The **review gate** is optional (`CEZ_REVIEW_GATE=1`, or
372
- Settings → Agents): with it on, a successful run with changes parks in `review`
373
- until you accept it. Autonomous runs always skip it.
374
- - 🗂️ **Every project in one cockpit.** One `cez serve` hosts every repo you
375
- register; the desktop rail switches between them, and **All tasks** shows every
376
- project's tasks in one table. See
377
- [Multiple projects, one cockpit](#multiple-projects-one-cockpit).
378
- - 👥 **Owned workers (opt-in).** With `CEZ_DELEGATION=1`, a task's agent can spawn
379
- its own tracked workers — on the same or another runner — message them, and
380
- collect their diffs; you still review the result. See
381
- [Owned workers](#owned-workers-opt-in).
382
- - 📱 **Runs on your coding server, drives from your pocket.** The cockpit is a
383
- responsive web app streaming over SSE, so the box running Cezarion can be a
384
- **VPS, cloud, or dedicated server** you never sit in front of. Point a browser
385
- — laptop or **phone** — at it and run an **always-on coding team** on the move:
386
- start tasks, watch them live, and review their diffs from anywhere.
387
-
388
- ---
389
-
390
- ## Cockpit tour
391
-
392
- Task and project views share one browser window and live updates over Server-Sent Events:
393
-
394
- | View | What's in it |
395
- |---|---|
396
- | **Tasks** | Every task with its status, live event stream (agent text · tool calls · tool results · pasted/generated screenshots and file attachments), tokens and cost. Continue, cancel, open in terminal (`claude --resume`), review the diff, or push a draft PR. |
397
- | **All tasks** | Every *registered project's* tasks in one table, filtered and grouped by tag, project, status or workflow — see [Grouping connected repositories](#grouping-connected-repositories-tags-and-the-all-tasks-page). Appears once a second project is registered. |
398
- | **Git** | Branch, working-tree status, diff vs HEAD, recent commits (click one for its inline patch + GitHub link), and the configurable base branch that worktrees fork from and PRs target. |
399
- | **GitHub** | Open issues and PRs of the repo's origin, read through your logged-in `gh`. Hand an issue straight to the agent — pick a workflow and skills, one click runs it. |
400
- | **Skills** | Local skills plus any team skills repos you configured, each team skill with a per-project switch, and a rendered body + prompt preview. Refresh pulls the latest from the remote. |
401
- | **Workflows** | Build a chain by drag-ordering skills, save it as portable YAML, import/export, or delete. Built-ins always come back. |
402
- | **Settings** | Appearance (dark/light theme, accent, density), agent backends, notifications, and the skills catalog. |
403
-
404
- The cockpit is a React app served pre-built from the package — `npx cezarion`
405
- still means no build step and no dev server on your machine — with a dark/light
406
- theme, a ⌘K command palette, and bookmarklets that launch a task straight from
407
- a GitHub page.
408
-
409
- GitHub issue and PR lists refresh every 60 seconds while mounted in a foreground browser tab.
410
- Automatic reads retain the server's 60-second cache: while online and visible, upstream edits
411
- appear within 120 seconds plus request time. Revisiting or focusing stale data fetches again;
412
- server reconnects invalidate cached lists. Hidden and unmounted lists do not poll. **Refresh**
413
- bypasses the server cache immediately and refreshes the selected thread too.
414
-
415
- ---
416
-
417
- ## Multiple projects, one cockpit
418
-
419
- One `cez serve` hosts **every repo you work in**, not just the one you started
420
- it in. Each repo Cezarion boots in registers itself in a per-user registry at
421
- `~/.cezar/config.json` — the workspace file that also holds the global knobs
422
- (the parallel cap, the memory ceiling, the browse root, and the checkout root). Nothing is added to
423
- the repo: per-project state stays exactly where it was, in that repo's
424
- `.ai/cezar/`.
425
-
426
- Every view is project-scoped:
427
-
428
- ```
429
- /p/<projectId>/ tasks · git · github · skills · workflows · settings
430
- ```
431
-
432
- `<projectId>` is a slug derived from the folder name (`my-app`, then `my-app-2`
433
- on a collision), and `/p/default/…` always means the project Cezarion was started
434
- in. The desktop rail selects the project. Its sidebar shows the project header,
435
- view tabs and task list, ordered **Needs you → Finished → Working**.
436
- Pins stay first within their status section and do not spend the default ten-row
437
- budget; Finished takes priority over Working when that budget fills up. Each
438
- section starts expanded and folds independently using its heading (click, Enter
439
- or Space). Folding is remembered per browser, project and section, separately
440
- from folding a project. Folded headings keep full task counts and attention
441
- indicators, including tasks outside the visible row limit. These controls work
442
- in the mobile drawer too. **Archive all** appears only on Finished and archives
443
- all eligible unpinned tasks, including hidden rows; individual archive actions
444
- and Undo remain available. Archived keeps its existing history view.
445
- Inbox and Automations appear in More views when enabled. The project menu
446
- offers Mark all read and project settings; local mode also offers Open in and
447
- Copy path. Active/Archived remains below the Tasks heading. The new-task
448
- composer names the project it will run in.
449
-
450
- **Adding a project** — the **+** button on the desktop rail (or in the mobile
451
- navigation drawer):
452
-
453
- - ✨ **New project…** creates a git repository with one empty commit in the checkout
454
- root and registers it. Optionally — only when you switch it on — it also creates a
455
- **private** GitHub repository under your account or one of your organizations, empty or
456
- from a GitHub template. If GitHub setup fails after the repository exists, the local
457
- project is kept and the dialog shows the command that finishes it. A hosted cockpit
458
- creates local projects only.
459
- - 📂 **Open local folder…** browses from the configured browse root
460
- (**Settings → Projects**, default `~/`) in a folder picker and
461
- registers the folder you pick.
462
- - ⬇️ **Clone from GitHub…** clones with your logged-in `gh` into the checkout
463
- root (**Settings → Projects**, default `~/cezar/projects`) with live progress,
464
- then registers the clone. Close the dialog and the clone is killed and its
465
- partial directory removed. For a SAML-protected organization, follow **Authorize
466
- this GitHub organization**, authorize in GitHub, then return to retry once (or
467
- choose **Retry clone**). Original errors remain available under **Error details**.
468
- Clones use HTTPS and save the GitHub CLI credential helper in the new repository
469
- so later pushes use the same organization grant, even if `gh` prefers SSH.
470
-
471
- Removing a project (**Settings → Projects**) drops the registry entry only — the
472
- repo and its `.ai/cezar/` are never touched, so re-adding it later finds all its
473
- tasks intact. The project Cezarion is currently serving can't be removed: it
474
- re-registers itself at the next start.
475
-
476
- **From the terminal** — the same registry, no cockpit required (handy over ssh):
477
-
478
- ```bash
479
- cez projects # list: id, branch or status, path, tags
480
- cez projects add ~/code/api # register a folder (defaults to the current repo)
481
- cez projects remove api # drop the registry entry; the repo is untouched
482
- cez projects tag api storefront backend # set the grouping tags (no tags clears them)
483
- ```
484
-
485
- These read and write `~/.cezar/config.json` directly, so they work with the
486
- server stopped, and `CEZ_HOME` selects which workspace they operate on.
487
-
488
- Settings split along the same line: **General** (the project's folder, its
489
- registry facts, its parallel-task ceiling, and Remove), **Agents**, **Agent config**,
490
- **Worktrees**, **Sidebar**, **Bookmarklets** and **Prompt templates** describe one
491
- repo and live under `/p/<projectId>/settings`; **Appearance**,
492
- **Notifications**, **Resources**, **Skills**, **Agent accounts** and **Projects**
493
- are yours or the machine's and live at `/settings/global`.
494
-
495
- **Settings → Sidebar** controls this project's task rows on desktop and mobile.
496
- Set **Overall**, **Needs You**, **Finished**, and **Working** to a positive whole
497
- number or **Unlimited**. Defaults are 10 overall and Unlimited for each section.
498
- The overall budget is allocated in section order (Needs You, Finished, Working),
499
- and each section must also fit its own limit. Unlimited removes only its selected
500
- constraint. Pinned rows and groups containing pins bypass both budgets; a grouped
501
- task counts as one row. Archived uses only the overall limit, with no pin exemption.
502
- Save applies the preferences to this project and keeps them after a reload.
503
- Refreshed preferences update an untouched form; unsaved edits stay in place.
504
- Malformed stored sidebar limits fall back field by field to these defaults,
505
- while valid limits and unrelated preferences are preserved.
506
-
507
- On desktop, Settings replaces the sidebar task list with two groups: **This project**
508
- and **Global · every project**. Each group includes General and its available sections;
509
- the current section is highlighted, and the main page shows its content. On mobile,
510
- the section picker and General page's section cards provide navigation.
511
-
512
- The GitHub sidebar groups **Issues** (Assigned to me, No task yet, Has a task,
513
- All open) and **Pull requests** (Review requested, Mine, Checks failing, All open).
514
- Selecting a filter updates the URL, so reloading keeps that selection. The issue
515
- list, detail pane and Hand to agent action stay in the main area. On mobile, the
516
- GitHub tab opens the filter screen; selecting a row opens its list.
517
-
518
- Has a task and No task yet use issue references from this project's non-archived
519
- tasks, excluding references to other repositories. The list loads 50 rows at a time
520
- and loads the next page as you scroll toward its end. The tabs and All open show
521
- GitHub's exact open totals. A preset count shows a `+` while more pages remain
522
- unloaded, and a search count shows one when the search reaches its result limit;
523
- an unavailable count is not shown as zero. Filtering by search, label, assignee or
524
- board narrows the loaded rows; while it is on, the next page loads only when you press
525
- Load more.
526
-
527
- The `body` field on `GET /api/v1/github` list rows is deprecated. It is still sent,
528
- and a later minor removes it; read an item's body from the comments route's `detail`. Views without their own navigation still show tasks in the sidebar.
529
-
530
- Open an issue to see **Linked tasks (N)** beneath its heading. Each row opens a task
531
- in the current project and shows its title, status and date, newest first. Archived
532
- tasks remain listed with an **Archived** label, so diagnosis and implementation
533
- sessions are both reachable.
534
-
535
- The Git sidebar lists **Task worktrees** that still exist on disk, including retained
536
- worktrees from finished tasks. Each row shows its branch, task title, status and
537
- available diff counts, and opens that task's Changes tab. Reclaimed worktrees disappear
538
- from the list. Changes, Commits and Branches remain tabs in the main repository header.
539
- On mobile, the Git tab opens the worktree list; **Open repository** opens the repository
540
- view, and **Back to worktrees** returns to the list.
541
-
542
- ### Grouping connected repositories: tags and the All tasks page
543
-
544
- Work rarely stops at a repo boundary. A storefront is an API, a web app and a
545
- design system; a platform is a handful of services plus the infra that runs
546
- them. **Tags** are how you say so, and **All tasks** is where saying so pays off.
547
-
548
- **Tag a repo** in **Settings → Projects**: type into the *Tags* cell on its row
549
- and press Enter (comma works too; the × on a chip, or Backspace in an empty
550
- field, removes one). The field **autocompletes from the tags already used in the
551
- workspace** — click the field to see them all, arrow keys and Enter to pick —
552
- which is what keeps the second repo landing on the first one's spelling instead
553
- of inventing `store-front` next to `storefront`. Anything not on the list is
554
- just typed. A tag is a free-form label — `storefront`, `infra`, `client-acme` —
555
- and a project can carry several, because a repo can belong to more than one
556
- piece of work. Tags are trimmed, deduplicated case-insensitively (`API` and
557
- `api` are one tag) and stored in `~/.cezar/config.json` beside the rest of the
558
- registry, so they are yours and this machine's, never something added to the
559
- repo.
560
-
561
- **All tasks** — the layers icon on the desktop rail, `/tasks`, or `⌘K → All tasks` —
562
- then shows every registered project's work in one table:
563
-
564
- - **Filter** by tag, status and workflow. Tags are one-click chips; status and
565
- workflow are searchable multi-selects. Every facet ORs inside itself and ANDs
566
- across, so *"anything running or waiting in storefront or infra"* is one set
567
- of clicks. Each option carries how many tasks it would leave, so a filter that
568
- would empty the table says so before you click it. The search box matches
569
- title, project, workflow, branch and tags.
570
- - **Group by** tag, project, status or workflow — click the pressed one again to
571
- ungroup. Grouping by tag is the reason tags exist: three repos tagged
572
- `storefront` become one section, and a repo tagged twice appears under both —
573
- it genuinely belongs to both.
574
-
575
- The filters, the grouping and the Active/Archived tab live in the **URL**, so a
576
- filtered view survives a refresh, pastes into a chat, and sits in a bookmark —
577
- `/tasks?tag=storefront&status=running&group=tag` is a link to exactly what you
578
- were looking at. Only what you changed shows up: Active is the default, so the
579
- Archived view is `?archived=1` and a normal link carries no key for it.
580
-
581
- Each row shows **every** PR and issue it references — a task opened on an issue
582
- that landed a PR shows both — plus its cost and live CPU/memory, and can be
583
- marked **read/unread** (the eye) or **archived** (or restored) right there. Every task title, project name and project group heading links into that
584
- project, so the thread, its diff and its worktree are one click away and stay
585
- exactly where they were. Returning to a long thread restores its saved row measurements
586
- once the replay has rebuilt the same ordered messages, keeping the same content in view.
587
- Scrolling, jumping to the latest message, or loading different history takes ownership
588
- from that restoration; a thread left at its live tail follows the current tail.
589
-
590
- There is deliberately **no project filter**: narrowing this page to one project
591
- is that project's own Tasks page, which is a better version of the same answer
592
- (live updates, the full column set, the composer). So picking a project *leaves*
593
- for it rather than turning the global view into a worse local one.
594
-
595
- Nothing else in Cezarion reads tags, on purpose: a tag is a lens, not a permission,
596
- a queue or a routing rule. Removing one changes what you see and nothing else.
597
-
598
- > The page reads a workspace-wide index capped at the newest 200 tasks per
599
- > project — it says so, and names the projects it capped, rather than showing a
600
- > short list as if it were complete. Older tasks are always in that project's own
601
- > Tasks page.
602
-
603
- **Old page URLs keep working.** Every unprefixed page path — `/`, `/tasks/<id>`,
604
- `/settings` — still answers, bound to the project Cezarion was started in; the
605
- cockpit redirects flat paths to their `/p/<boot>/…` twin, so existing bookmarks
606
- and bookmarklets need no change. The HTTP API is the exception: it moved to
607
- `/api/v1/…` (see the CHANGELOG), so a script that calls it needs the extra
608
- segment.
609
-
610
- > **Hosted cockpit?** The folder picker is confined to the independent browse
611
- > root. Set `CEZ_BROWSE_ROOT` narrowly before first boot (or save it in
612
- > **Settings → Projects**) when a remote viewer should not enumerate the host's
613
- > whole home. Clones continue to use the separate checkout root.
614
-
615
- ---
616
-
617
- ## Waiting for PR checks, merges and timers
618
-
619
- An agent waits on something outside its turn with `cezar_wait`. With `kind: "pr"` and
620
- a GitHub PR URL in `pr`, Cezarion watches the PR outside the model: its checks
621
- (`until: "checks"`, the default) or its merge (`until: "merge"`). The optional
622
- `timeout_seconds` defaults to 1,800 and accepts 1–7,200. With `kind: "timer"`,
623
- `seconds` (60–7,200) and an optional `note`, Cezarion wakes the agent at that time and
624
- hands the note back. No authored configuration or worker delegation permission is
625
- needed. A PR wait requires `gh`, access to the repository, and a supported GitHub
626
- host; GitHub Enterprise hosts must already be recognized by the forge/auth
627
- configuration. Tool startup itself makes no GitHub request. With **Monitoring
628
- wake-up** turned off in **Settings → Resources**, `cezar_wait` refuses a timer
629
- (`timers_disabled`); once the automatic-wake budget of 40 is spent, it refuses one
630
- with `wake_budget_spent`, and a run with nothing else to wait on waits for you. The
631
- budget is kept on the task, so a cockpit restart keeps it; a message from you or a
632
- Continue starts it again.
633
-
634
- A CI wait stays pending while any GitHub Actions workflow run on its captured
635
- head commit is incomplete, even when a rerun temporarily hides that run's checks.
636
- It checks again every 30 seconds within the original deadline. Once those runs
637
- complete, it reads the checks again to decide the result. A result describes what
638
- GitHub reported; it does not predict workflows that have not appeared yet or grant
639
- merge approval.
640
-
641
- A merge wait (`until: "merge"`, hearsay-tools/cezarion#1425) reads the PR's state at
642
- once and then every 30 seconds within its deadline. It ends as `merged` only when
643
- GitHub reports the PR merged, with the merge time and merge commit when GitHub gives
644
- them, and as `closed` when the PR closed without merge. Green checks keep it open,
645
- and so does a new head commit. A merge wait holds none of the four watcher slots, so
646
- long merge waits never delay a checks wait. By default both targets also end as
647
- `conflicting` when the PR has merge conflicts. Set `wake_on_conflict: false` when the
648
- agent watches a PR it does not own, such as another agent's PR its work depends on:
649
- it cannot resolve those conflicts. With `until: "checks"`, GitHub often runs no
650
- workflows on a conflicting PR, so such a wait usually ends as `no_checks` or at its
651
- deadline. A checks wait and a merge wait on the same PR are two waits.
652
-
653
- The agent asks you with `cezar_ask`, a card of one to four questions in the ask
654
- format. A question with two to four options shows them as choices; a question without
655
- options is open, and the card shows a text box for your answer. The task reads Needs
656
- you once the turn ends, and your next message answers it. `cezar_wait` takes PR waits,
657
- worker waits and timers only, and points an agent that asks it for a human wait to `cezar_ask`. A run
658
- has one question to you at a time, and the agent cannot cancel it once you have seen
659
- it. The ask-marker card, a native question and `CEZ:MONITORING` with re-checks off
660
- open the same kind of wait. When the work is
661
- done and verified, the agent calls `cezar_done` (an optional `summary`), and the task
662
- finishes at the end of that turn: its open waits are cancelled and the summary is
663
- written as a note. `cezar_done` refuses while owned workers are live or uncollected,
664
- a worker question is unanswered, a question to you is still pending, or the step is not
665
- the workflow's last, and says what to do first. The `CEZ:DONE` line keeps working and finishes the same way. An
666
- autonomous task does not wait for you until its automatic-wake budget is spent.
667
-
668
- A run can have several waits open at once, up to 16. Each answer carries the
669
- wait's id, its absolute deadline and the list of waits still open, and
670
- `cezar_cancel_wait` closes one by its id. The agent ends its turn to wait, with no
671
- marker required. The run is then `waiting`, and the pill reads **waiting for CI**,
672
- **waiting for merge** or **monitoring** rather than Needs you. The header lists every open wait: **Waiting
673
- for CI — owner/repo#N** or **Waiting for merge — owner/repo#N** with a PR link and the deadline, or **Next automatic check**
674
- with its time and note. **CI result ready — waiting for capacity** means the
675
- observation is owed to the agent and its wake turn has not started yet. A run parked
676
- on CI or a timer keeps its agent slot, a monitoring slot when one is free, so the
677
- wake usually starts at once. The older `CEZ:MONITORING` line and Claude's
678
- `ScheduleWakeup` open a timer in the same list.
679
-
680
- Cezarion reports passed, failed, cancelled or skipped checks, no checks, changed head,
681
- timeout or an operational error. It watches the registered commit: a new PR head
682
- is reported separately, and the agent decides whether to wait again. The first
683
- observation runs immediately. Later check-status and PR-head polls run every 30
684
- seconds, and no setting changes that interval. Four watchers run concurrently;
685
- queued waits retain their original deadline. Results are bounded
686
- observations, not merge approval or evidence that every expected workflow appeared.
687
- The agent still decides its next action; CI success never completes the task or
688
- accepts review. A wait ends only when its own result arrives, its deadline passes,
689
- or someone cancels it: the agent with `cezar_cancel_wait`, or Cezarion when the task
690
- is stopped, finished, cancelled or deleted. A human message wakes the agent without
691
- closing any wait, and every delivered turn ends with a list of the waits still open.
692
- CI never answers a pending human question. If the agent's session fails or closes while a
693
- result is owed, Cezarion retries the delivery after 15 and then 30 seconds; a third
694
- failure marks the task failed and keeps the result. Continue delivers it, and Stop
695
- discards it and leaves the task failed.
696
- Controller recovery can replay an
697
- observation after an ambiguous delivery checkpoint, identified by its stable
698
- lifecycle input ID.
699
-
700
- The deprecated `cezar_wait_for_ci` tool was removed (hearsay-tools/cezarion#1236):
701
- call `cezar_wait` with `kind: "pr"` instead. `kind: "ci"` itself was replaced by
702
- `kind: "pr"` (hearsay-tools/cezarion#1425) and is refused with a message that names
703
- the new spelling.
704
-
705
- The adapters are bundled for Claude (including `claude-cli`), Codex, OpenCode,
706
- Cursor, Pi and OMP. Internal socket/capability environment values are runtime wiring,
707
- not settings to create or share. If the tool is unavailable or denied, its error
708
- is surfaced while ordinary tasks continue. See [the CI-wait protocol](AGENT_PROTOCOL.md#ci-wait-tool-contract-474)
709
- for limits and the executable harness verification required before release.
710
-
711
- ## Discover runners and models
712
-
713
- Inspect the same host catalog the cockpit uses before selecting a runner or model:
714
-
715
- ```sh
716
- cez discover runners
717
- cez discover models --runner=codex
718
- ```
719
-
720
- Both commands return JSON. `runners` lists connection status (`connected`, `disconnected`, `not-installed`, or `unknown`) and enablement, with `scope: "host-default-account"`. Model rows include `effortLevels` when the runner advertises them: an absent field means unknown; an empty array means no advertised levels. Omit `--effort` when spawning to keep the existing default. Model responses retain `source`, `stale`, and any unavailable `reason`; discovery never invents model IDs or effort support.
721
-
722
- For operators, the command finds the running cockpit for the current checkout; `--repo`, `--url`, and `CEZ_URL` work as they do for `cez task`. A missing cockpit returns an error and never starts a server. Inside a parent delegation session, the same command uses that session's authenticated controller, including headless runs. It rejects `--url` and `--repo` in that context and never falls back to a public cockpit after an authentication failure. Owned workers cannot use the private discovery route.
723
-
724
- The catalog describes host default accounts, not every named account or the selections permitted by a task's model locks and workflow pins.
725
-
726
- ## Parallel variant removal
727
-
728
- Parallel variants (×2/×3) are removed in the next breaking minor release (0.17).
729
- The owner chose immediate removal without a deprecation window
730
- (hearsay-tools/cezarion#1542). The composer starts one task. `POST /api/v1/runs`
731
- refuses `variants: 2` or `3` with `400`; it never turns them into one candidate.
732
- The old `variants: 1` spelling still means an ordinary run.
733
-
734
- The compare page and its group routes are retired too (hearsay-tools/cezarion#1760).
735
- Historical `groupId` and `variant` fields remain stored, and old variant runs list as
736
- ordinary tasks. Old `/compare/:groupId` links, including project-scoped links, open the
737
- task list. No retirement migration deletes runs, branches or worktrees;
738
- normal retention and explicit cleanup still apply. Saved multi-candidate drafts and
739
- automations offer **Use one task** before saving or launching. A saved automation with
740
- `task.variants > 1` reports an error on launch; edit it to remove that field or set it to `1`.
741
-
742
- For explicit comparison, ask a task: “Spawn two owned workers from the same committed
743
- baseline. Try a minimal change and a structural approach. Collect both results and
744
- compare their diffs. Show me the commits to choose from before integration and cleanup.”
745
- The parent uses `cez worker spawn`, `collect` and `diff`, reviews the chosen commits,
746
- integrates them with Git, then uses `cez worker destroy` for verified cleanup. Read
747
- `diffSnapshot` from an available collection's JSON file rather than applying that file
748
- as a patch. Collect each worker's latest settled revision before finishing. Owned workers
749
- keep their ownership, isolation, resource limits and Git cleanup safeguards. There is
750
- no one-click comparison page, automatic winner selection or automatic loser cleanup.
751
-
752
- ## Owned workers (opt-in)
753
-
754
- Start the cockpit or a headless task with `CEZ_DELEGATION=1`. Each eligible parent session receives the absolute bundled Node/CLI invocation and its own environment credentials; no `cez` installation on the agent's PATH, config file, separate daemon, or remembered port is needed. If the private listener cannot start, ordinary tasks keep working without delegation tools. `.env` is never loaded automatically.
755
-
756
- The provisioned command has these forms (the session instructions supply the absolute invocation):
757
-
758
- ```sh
759
- cez worker spawn --baseline parent-head --request-id <UUID> 'Implement the assigned change'
760
- cez worker spawn --baseline parent-head --request-id <UUID> --runner codex --effort high --context-file ./selected-context.txt 'Review the parser'
761
- cez worker spawn --baseline parent-head --request-id <UUID> --workflow review 'Review the parser change'
762
- cez worker list # All own workers, revisions and cleanup resources (fetches pages automatically)
763
- cez worker inspect <worker-id>
764
- cez worker steer <worker-id> 'Consider this additional constraint'
765
- cez worker diff <worker-id>
766
- cez worker collect <worker-id>
767
- cez worker wait <worker-id> --mode one --timeout-seconds 600
768
- cez worker wait <first-id> <second-id> --mode any --timeout-seconds 600
769
- cez worker wait <first-id> <second-id> --mode all --timeout-seconds 600
770
- cez worker cancel-wait <wait-id>
771
- cez message request <recipient-run-id> 'Please check this decision' --id <message-UUID>
772
- cez worker resume <worker-id> 'Correct the returned result' --id <new-message-UUID>
773
- cez message progress <recipient-run-id> 'Parser tests pass' --id <message-UUID>
774
- cez message follow-up <recipient-run-id> 'Include empty input' --id <message-UUID> --request-id <request-UUID>
775
- cez message reply <recipient-run-id> 'Checked; empty input is covered' --id <message-UUID> --request-id <request-UUID>
776
- cez message conversation <recipient-run-id>
777
- cez message wait --request <request-UUID> --request <another-request-UUID> --mode all
778
- cez message wait --peer <task-id> --timeout-seconds 1800 # Wake on that peer task's next message, or when it settles
779
- cez message inbox
780
- cez message tasks --all
781
- cez message cancel-wait <wait-id>
782
- cez message cancel-request <request-UUID>
783
- cez worker stop <worker-id>
784
- cez worker destroy <worker-id>
785
- ```
786
-
787
- Use `cez message --help` for messaging commands. Use `cez worker --help` to list worker operations and flags, or `cez worker <operation> --help` for one operation. Explicit help prints human-readable text and exits successfully without an active delegation session. Commands otherwise return bounded JSON and a nonzero exit on failure or incomplete cleanup. Spawn requires a committed baseline (`parent-head` or an explicit ref) and pins its SHA at acceptance; dirty parent edits are excluded. Optional `--context '<text>'` or `--context-file <UTF-8-file>` supplies selected context, not the parent's conversation. The two flags are mutually exclusive, and combined task/context text is limited to 100,000 characters. The API also accepts up to 32 pinned-baseline file or parent-attachment references, with at most 8 MiB of copied attachments. Inspect reports worker-local input locations. Reuse a request ID only with the same task, baseline, context, runner, model, effort and workflow when retrying a lost response. `--runner` and its alias `--backend` count as the same field, so a retry may switch spelling. A parent holds at most 32 outstanding workers: accepted, live, or not yet verifiably destroyed. A verified destroy (`cez worker destroy`, or **Clean up** on a finished worker in the cockpit's Workers list) frees a slot; incomplete cleanup keeps its slot until a retry completes. A parent can create at most 1,024 workers in total; past that, start a new task. These limits bound disk resources and runaway spawning, not spending: a worker can be resumed with Continue, and destroying it does not undo charges already made. Cost stays bounded by `maxParallel` and by stopping the parent. There are at most 32 undelivered steering messages per worker.
788
-
789
- An incomplete destroy reports the remaining resources and a reason. Cezarion retries that recorded request after a delay, including after the project's context recovers on server restart. It removes the owned checkout only after process termination and ownership are verified. If the reason persists, inspect the worker process, Git worktree lock and ownership receipt; correct the blocker and use `cez worker destroy <worker-id>` or the cockpit Destroy action to retry immediately. Cezarion leaves ambiguous or replaced resources in place for operator review.
790
-
791
- `--workflow <name>` runs a catalog workflow inside the worker: the built-in `quick-task` or any `.ai/cezar/workflows/*.yaml` by name, with its agent and check steps, `skill:` bodies and `onFail` loops, so a repo's `review.yaml` becomes a dedicated reviewer. Omitted `--workflow` runs `quick-task` exactly as before. `--runner`, `--model` and `--effort` fill only the steps that leave those fields unset; a step's own `allowedTools`/`bashAllowlist` narrow the parent's grants and never widen them. An unknown name is refused. Agent steps may mix runners: at spawn every agent step is resolved and pinned separately, so an implement-with-codex, review-with-claude chain runs each step under its own runner, account, model, effort and grants. A step's optional `agentProfile` names the account it runs under (an id the registry does not know is refused); same-runner steps otherwise inherit the parent's account and other runners resolve their project/default one. Run-level columns show the first agent step.
792
-
793
- Explicit default-account model pins are checked against a fresh, nonempty host catalog after account/model resolution and before a worker is created. Named accounts retain existing validation because a default-account catalog cannot disprove their model access. A miss returns `invalid_input`, available models with advertised efforts, and other runners listing the requested ID in `modelChoices`. Empty, stale, or unavailable discovery leaves existing selection validation in place. Accepted retries and omitted model defaults are unchanged.
794
-
795
- Omitted `--runner` inherits the parent's active runner. Same-runner workers inherit omitted model/account/effort; `--runner <claude|codex|opencode|pi|cursor|omp>` selecting another runner resolves that runner's project/default account and model without forwarding another provider's settings. `--backend` is a permanent alias of `--runner`; giving both with different values is refused as `invalid_input`. Worker `inspect` and `collect` still report the selected runner in a field named `backend`. `--model <model>` selects a supported model, subject to existing locks. `--effort <low|medium|high|xhigh|max>` pins reasoning effort on same-runner and mixed-runner spawn; omitted `--effort` still inherits the parent pin on same-runner spawn and drops it on mixed-runner spawn. Accepted identity and grants remain fixed across queuing, restart and Continue, including explicit empty grants. Changing or deleting an account registry entry does not rebind a worker. Missing accepted identity evidence or account homes, incompatible Claude state-file layouts, and conflicting later model locks refuse execution explicitly. Credentials and vendor configuration are never copied; each worker receives its own delegation credential, and unspecified native models stay unspecified.
796
-
797
- Wait registers immediately. End the parent turn to release scheduler capacity; Cezarion resumes it on a selected settled outcome or the finite deadline. `any` is the default, `one` requires exactly one worker, and `all` waits for every selected worker. Review, completion, failure, cancellation with proven termination, and destruction are outcomes. Timeout defaults to 600 seconds (1–1800 accepted). `cancel-wait` is idempotent for the retained wait ID and cannot cancel a newer wait. Timeout and wait cancellation report partial outcomes and unresolved workers, never cancel workers, and never automatically re-wait. Steering is attributed agent input and cannot answer a pending human question.
798
-
799
- Parents and owned workers can converse in both directions; a worker may address only its parent. `send --kind request` opens a reply obligation whose ID is the message ID; `send --kind progress` (or `progress`) does not. Follow-ups clarify an existing request; only an explicit correlated `reply` settles it as replied. Retry a message with the same ID and exact payload, including deadline duration; changed payloads are rejected. Acceptance, provider delivery, reply, and task completion are separate facts, visible in the task transcript and `conversation` JSON.
800
-
801
- Messages allow 100,000 characters each, with at most 32 undelivered inputs per recipient, 1,024 messages per family, and 32 pending requests. Request deadlines default to 600 seconds, configurable per message with `--timeout-seconds 1–1800`. Request waits use the same limits and `one`/`any`/`all` modes as worker waits, and each run has one active wait. Incoming conversation can interrupt a parked wait without settling its requests. `cancel-request` cancels an obligation; `cancel-wait` only stops waiting. Completion without a reply, failure, cancellation, destruction, timeout, or sender closure settle obligations distinctly. Late replies remain visible without reopening them.
802
-
803
- Messages reach a live recipient as soon as they are accepted, including mid-turn: Claude, Codex, Pi, OMP and OpenCode steer them into the running turn, and the model reads them at its next step. Cursor delivers at the turn boundary, because a second prompt would cancel its running turn. Pending conversations go together, in order, up to 32 messages and 100,000 formatted characters per batch; a single valid message is never split. Every message keeps its ID, sender, delivery receipt and request outcome; receipts show queued, delivered and read (when the agent's harness can tell) separately. A pending human question holds messages until it is answered, then they follow right behind the answer. The thread's Details distinguish creation, delivery confirmation and event-recording times.
804
-
805
- Sending a message to a review or terminal participant reports `not-delivered` and `continuation-required`, with the reason and next command; the CLI exits 1. An active parent can use `cez worker resume` to continue its settled done/review/failed worker with that message as the new instruction. No human Continue is needed for this parent-controlled action. A retry with the same payload and ID never creates another continuation; resuming after a rejected message requires a new ID. Stopped or destroyed workers need a new worker. Workers cannot resume parents, and conversation never answers a pending human question. Durable IDs deduplicate accepted queue entries and event replay, but a crash between provider acceptance and its durable delivery checkpoint can leave transport delivery ambiguous; this is not an exactly-once execution guarantee.
806
-
807
- Collect returns the worker's execution revision, status/outcome, `settled` and `partial` flags, and typed availability for assistant summary, HEAD, bounded diff and artifact descriptors. Missing evidence is explicit; running output is partial. An available `diff.path` points to a **JSON result file** containing `{ result, diffSnapshot }`; its `diffSnapshot` field holds the patch. Read and review that field before applying any changes. The latest collected result is stored under the parent and survives restart. Collection acknowledges observation, not Git integration or successful work. Review desired worker commits and deliberately integrate them into the parent before destroying their worktrees/branches; there is no automatic merge.
808
-
809
- Parent completion requires collection of every worker's latest settled execution revision. A worker Continue invalidates older readiness. An early completion attempt waits for outstanding workers and wakes the parent to inspect/collect; it does not silently finish on wake. While workers remain live, markerless replies, completion timeouts, and repeated premature completion park the parent as monitoring with the existing capped wakeups. Once workers settle, repeated completion without collecting their results retains attention. Human Finish also refuses unresolved/uncollected workers. If the parent is already under review, Continue the parent first, then Continue its worker. Human questions remain authoritative.
810
-
811
- Stop requests cancellation; `stopping` does not prove termination. Destroy checkpoints obtainable results, waits up to 30 seconds for proven termination, and removes only verified owned resources. An `incomplete` response lists remaining resources; resolve the cause and retry explicitly. Cleanup order is: collect/integrate desired results, destroy owned resources, explicitly delete child histories through the cockpit/API, then delete parent history. Parent-owned summaries and bounded diff snapshots remain until parent deletion, including after child-history deletion; general artifact bytes are not archived. Branch/path strings and SHAs become historical descriptors after removal, not promises of available Git objects or files. The human cleanup endpoint `POST /api/v1/p/<projectId>/runs/<worker-id>/worker-destroy` stays available when delegation is disabled. The CLI bounds each HTTP request to 45 seconds and rejects endpoint/auth/origin overrides and redirects.
812
-
813
- Provisioned sessions prefer Cezarion workers and suppress verified native delegation entry points through per-run adapter controls: Claude `Agent`, legacy `Task` and `Workflow` denies, Codex multi-agent feature overrides, OpenCode session `task` denies, and pi's known `subagent` extension exclusion. Claude skills and commands with `context: fork` are not blocked: Claude starts their subagent without checking those denies, and no setting turns forking off. See [the backend capability table](AGENT_PROTOCOL.md#governed-delegation-controls-d1) for tested versions and exemptions. Native workers are not tracked by Cezarion. Pi has no native delegation primitive or universal identifier for arbitrary custom delegation extensions; guidance does not enforce those cases. With delegation disabled or unavailable, ordinary tools/settings stay unchanged. The listener binds to `127.0.0.1`, including hosted cockpit mode. Its credentials authorize only the parent's own workers through that listener. This is cooperative local-agent supervision; same-user unrestricted shell and custom tools are not hard isolation. Workers cannot delegate or message peers through Cezarion. Review remains a human gate with no automatic acceptance. Never read, echo, forward, or persist the generated token.
814
-
815
- ## From the terminal: `cez task` and `cez message`
816
-
817
- `cez task` starts, watches and steers tasks **in the running cockpit** from a shell — for you, or
818
- for a bot driving one. Every command prints one JSON object and exits with a code the caller can
819
- branch on, so nothing has to parse prose. It never starts a server: it finds the cockpit whose
820
- project registry holds this checkout (ports 4321–4370; a task worktree resolves to its parent
821
- project), or you point it at one with `--url` / `CEZ_URL`.
822
-
823
- ```text
824
- cez task [--url <origin> | --repo <dir>] <operation> …
825
- ```
826
-
827
- The shared `--url`, `--repo` and `--help`/`-h` flags also work before the operation;
828
- `--url` and `--repo` accept both `--flag value` and `--flag=value`. A shared flag repeated
829
- before the operation or on both sides is a usage error. Operation flags stay after the
830
- operation. `cez task --help <operation>` shows that operation's help without discovery.
831
- An explicit `--url` wins over `CEZ_URL`; `--repo` selects the checkout to discover.
832
-
833
- `cez task send` is human input. It can answer a pending human question. It refuses
834
- inside a task (`CEZ_TASK_ID` is set). Agents use `cez message` for task messages,
835
- including peer and parent/worker conversations; see [Owned workers](#owned-workers-opt-in).
836
-
837
- ```bash
838
- id=$(cez task start --task-file - <<'EOF' | jq -r .id
839
- Fix the `cez task` docs. Keep $(example) and "quotes" literal.
840
- EOF
841
- )
842
- cez task wait "$id" --timeout-seconds 900 # 0 done/review/needs you · 1 failed · 3 timeout
843
- cez task list # currentStepId (running), pullRequestUrl (done/review), capped error (failed)
844
- cez task status "$id" # slim JSON: status, attention, question, branch, handoffUrl…
845
- cez task send "$id" 'Use the retry helper instead' # delivered live, queued before start
846
- cez task send "$id" --resume 'Continue with the next step' # resumed: reopen a settled session
847
- cez task log "$id" --follow --timeout-seconds 300 # JSON lines until it needs you or ends
848
- ```
849
-
850
- `list --status` accepts comma-separated values: `queued`, `running`, `waiting`, `review`,
851
- `done`, `failed`, `cancelled`. Default rows include only the next-action field for their status
852
- when defined; errors use the first line, at most 200 characters including `…` when cut.
853
- Default `status` includes `handoffUrl`, a URL to the existing handoff endpoint even before
854
- contents are seeded, and keeps the full error. `--full` still prints the contract unchanged.
855
- To answer a pending `question`, use the same `send` with the answer text. Without `--resume`,
856
- a closed session returns `delivery: not-delivered` and the `next` command. For multi-line or
857
- shell-sensitive messages use `send <id> --text-file <path|->` (`-` reads stdin); the quoting
858
- rules below apply to messages too.
859
-
860
- Use `--task-file PATH` to read a saved task (for example, `cez task start --task-file task.md`),
861
- or `--task-file -` to read stdin as above. The quoted heredoc delimiter (`<<'EOF'`) keeps
862
- backticks and `$()` literal in the task text.
863
-
864
- POSIX shells, including Bash, expand backticks and `$()` in double-quoted arguments before
865
- cez receives the text. **Do not put raw backticks in double-quoted task arguments.** This can
866
- execute parts of your prompt as shell commands and leave holes in the stored task, including
867
- when starting tasks through SSH and `bash -lc`. Prefer a task file or stdin with a quoted
868
- heredoc delimiter. A single-quoted positional argument still works for short tasks:
869
- `cez task start 'Fix the typo'`.
870
-
871
- `cez task start --task-file task.md --skill <name>` names one skill as the task's agent step;
872
- `--skill` and `--workflow` are mutually exclusive. The CLI checks `GET /skills` first and
873
- includes a `warning` in its JSON result if the skill is missing or the catalog cannot be
874
- checked; it still starts the run. Like a cockpit skill start, if the skill is missing at
875
- execution, the agent uses the plain prompt and the run logs a note. CLI starts do not change
876
- the cockpit composer's recent picks or skill-usage ranking.
877
- Without either flag, `start` still runs `quick-task`.
878
-
879
- `--runner <claude|codex|opencode|pi|cursor|omp>` picks the runner, as in a workflow step and
880
- `cez discover --runner`; `--model` and `--effort` pin the rest. `--backend` is a permanent
881
- alias of `--runner` with no warning. Giving both with different values exits 64.
882
-
883
- `--archive-when-done` archives the task after **Done**. `--auto-merge-pr` merges its
884
- PR after **Done** only when current-head CI and GitHub rules pass. It can mark a
885
- draft PR ready. Both controls are off by default. They also appear as switches in
886
- the task composer and task details. With both on, Cezarion merges before it archives;
887
- without a PR, it archives on Done. Pending or blocked completion actions show their
888
- reason in task details. Use `status <id> --full` to read the saved `archiveWhenDone`,
889
- `autoMergePr` and `completionAction` fields. Existing task choices can be changed
890
- through `PATCH /api/v1/p/:projectId/runs/:id` with the matching boolean fields.
891
-
892
- `start` is retry-safe: it sends a request id (`--request-id <UUID>` to pick your own), and a
893
- retry with the same id and start options answers with the run the first one created
894
- (`created: false`) instead of starting a second. Changing a completion control on that
895
- retry is a payload conflict. Also: `list`, `stop`, `finish`, `diff [--stat]`, `open`.
896
- Use `archive <id>` to hide a task from `list`, `unarchive <id>` to restore it, and
897
- `list --all` to include archived tasks. `list` never shows owned workers, with or without
898
- `--all`: they are steer targets of their parent task. Id-addressed commands (`status`, `wait`,
899
- `send`, `log`, `stop`, …) still accept a worker's id. `archive-finished` sweeps finished tasks (not scheduled runs waiting on a usage limit, and not owned workers, which leave with their parent) and prints
900
- `{"archived": count, "ids": [...], "pinnedIds": [...]}`. The single-task commands print `{"id": "…", "archived": true|false}`.
901
- Exit codes:
902
- `0` ok (`wait`/`start --wait`/`log --follow`: the task ended `done`/`review` or stopped for attention), `1` task
903
- failed/cancelled or a message was not delivered, `2` no cockpit or the cockpit refused (its `error`
904
- is passed through), `3` timed out, `64` usage error. `cez task --help` lists every flag.
905
-
906
- **When a task needs you.** `status`, `list`, `wait` and the final `log --follow` line carry `attention` and `attentionLabel`,
907
- derived by the same function the cockpit's Needs You uses, so the CLI and the cockpit cannot
908
- disagree. Read those rather than the raw status:
909
-
910
- - `attention: waiting` (`attentionLabel` "needs you" / "needs review"), `error` or `permission`
911
- means the task wants a human. A `waiting` task is attention **even when no question is
912
- pending** — a finished turn parks the task for follow-up without a structured question —
913
- unless its top open wait is CI or a timer (below). A pending question shows as `question`
914
- on `status`, with the agent's Markdown context as `questionContext` when it sent one, and as
915
- `waitingOn` `{ kind: 'human' }`; never clear a task on its absence alone.
916
- - `attention: running` with `attentionLabel` "waiting for CI", "waiting for merge" or "monitoring"
917
- (`status: waiting` with an open PR wait or timer in `waitingOn`) is neither settled nor attention: the agent is
918
- still working on its own sub-agents or a watched command, whatever its last log line says.
919
- - `attention: none` with "waiting on 2 workers" is a task parked on its own workers; it will wake
920
- by itself.
921
-
922
- `wait`, `start --wait` and `log --follow` stop as soon as a task needs you or ends
923
- (`--until attention`, the default); `--until settled` waits for a terminal status only — for
924
- `--autonomous` runs, or a bot that wants an outcome:
925
-
926
- ```bash
927
- cez task wait "$id" # stops when the task needs you, or ends
928
- cez task wait "$id" --until settled # done/review/failed/cancelled only
929
- cez task start --task-file task.md --wait # returns as soon as the agent parks
930
- cez task start --task-file task.md --wait --autonomous --until settled # runs to completion
931
- cez task log "$id" --follow # streams until the task needs you, or ends
932
- cez task log "$id" --follow --until settled # streams until done/review/failed/cancelled
933
- ```
934
-
935
- *Migrating from `--until settled`.* Before 0.16, `wait` and `start --wait` defaulted to
936
- `settled`, so an ordinary interactive task ran out the timeout (exit 3) although the agent had
937
- parked within seconds. The default is now `attention`. A bot that polls for terminal state adds
938
- `--until settled` to its `wait` / `start --wait` calls; nothing else about `settled` changed. Each
939
- run in the `wait` output (and the `start --wait` object) now carries `attention` +
940
- `attentionLabel`, and the output's top level says which `until` was in force, so a caller can tell
941
- "parked for follow-up" (`status: waiting`, `attention: waiting`) from "finished" (`status: done`,
942
- `attention: none`) without knowing Cezarion's status vocabulary.
943
-
944
- *`log --follow` (#931).* `log --follow` used to stop on a terminal status only, so tailing an
945
- interactive task streamed until `--timeout-seconds` and exited 3 after the agent had parked. It
946
- now takes the same `--until` with the same `attention` default, judged by the same function as
947
- `wait`; `--until` without `--follow` is a usage error. Every event is still printed before the
948
- final line, which is now `{"id", "status", "attention", "attentionLabel", "until", "timedOut"}`. A
949
- bot that tails to terminal state adds `--until settled`. `log` without `--follow` is unchanged.
950
-
951
- **A bot that lives behind an HTTP endpoint** does not have to poll. Add a webhook (a name, a
952
- description, a URL and an optional Bearer token) under **Webhooks** in the project's **Settings →
953
- General** and turn on **Task notifications**. Every task that opts in then POSTs one delivery to
954
- each such webhook when it enters a state that webhook selects: **Needs you**, **Failed**,
955
- **Done** and **Cancelled** by default, plus **Running**, **Waiting for agents**, **Waiting on CI**,
956
- **Waiting** (a timer) and **Any other wait** when you tick them. A question that puts the task in
957
- Needs you is `task.question`; every other entry is `task.status`, and the body's `state` names the
958
- state. `task.subscribed` (when it opts in, at start or on hand-off) and **Send test** always go out.
959
- Each body carries the same slim projection `cez task status` prints, under `task`. `cez task start`
960
- opts in whenever the project has a webhook (`--no-notify` to skip it); the cockpit's New task form
961
- has a **Notify webhook** toggle; and a running task's **Hand off** button (or
962
- `cez task notify <id> --message '…'`) turns it on later with a note for the bot. `notify` (and
963
- `send --notify`) on a worker's id is a usage error that names the parent to notify instead;
964
- `notify --off` still works on one. The note goes to
965
- the webhook only, never to the agent. Delivery is best-effort: 10 s timeout, 3 attempts, and a
966
- failure shows in the thread without touching the task. The token is stored in `~/.cezar` and never
967
- sent back to a browser. Under `CEZ_DRY_RUN=1` nothing is sent; the payload is logged in the thread.
968
-
969
- A project can hold several webhooks, each with its own states, and each body names the webhook it
970
- went to under `webhook`. One failing webhook never delays or stops another.
971
-
972
- ### Reports from agents: `cez webhook`
973
-
974
- Turn on **Let agents send reports** for a webhook, and agents in that project can send it a report
975
- on demand: a friction report to a triage bot instead of a new GitHub issue, for example. Agents see
976
- each such webhook's name and description in their system prompt, so write the description as
977
- instructions ("Send friction you hit with tools here instead of filing a GitHub issue"). A webhook
978
- without that switch cannot be reached this way.
979
-
980
- ```sh
981
- cez webhook list # the webhooks open to agents
982
- cez webhook send 'Friction reports' --message-file report.md --title 'Squeal skipped an edit'
983
- cez webhook send <name|id> --message 'Short report' [--data '{"severity":"low"}']
984
- ```
985
-
986
- The body is `event: "agent.report"` with `webhook`, `title`, the Markdown `message`, your `data`,
987
- and the reporting task's `runId`, thread `url` and `task` projection. The command prints the
988
- outcome as JSON and exits 0 delivered, 1 not delivered, 2 refused or no cockpit, 64 usage.
989
-
990
- ### Automations from a task: `cez automation`
991
-
992
- `cez automation` creates and manages automations (see `CEZ_AUTOMATIONS=1`) on the cockpit that
993
- runs the task, so an agent asked to "do X every morning" or "whenever a PR opens" sets up an
994
- automation instead of a cron job. Like `cez task`, it prints one JSON object per invocation and
995
- exits 0 ok, 1 check failed, 2 refused or no cockpit, 3 check timed out, 64 usage.
996
-
997
- ```sh
998
- cez automation schema # the definition reference (needs no cockpit)
999
- cez automation add --name 'Weekday triage' --cron '0 7 * * 1-5' --prompt 'Triage new issues'
1000
- cez automation add --name 'Review PRs' --on pull_request.opened --every 5m --label bug --prompt-file p.md
1001
- cez automation add --name 'Agent triage' --on issue.labeled --changed-label needs-agent --prompt 'Triage #{{github.number}}'
1002
- cez automation create --file def.json [--enable] # full JSON form; stdin when no flag is given
1003
- cez automation update <id> --json '{"task":{"prompt":"…"}}'
1004
- cez automation add --name 'Check the rollout' --at 2026-10-29T09:00 --tz Europe/Warsaw --prompt 'Check the rollout'
1005
- cez automation add --name 'Follow up' --in 7d --latest-start 6h --prompt 'Follow up on the migration'
1006
- cez automation check <id> [--execute] · run <id> · list [--archived include|only] · show <id> · enable <id> · pause <id> · cancel <id> · delete <id>
1007
- ```
1008
-
1009
- `add` and `create` send the same body and create the automation **paused** unless `--enable` is
1010
- given; `--cron` accepts the four shapes a schedule can take (daily, weekdays, one weekday, every N
1011
- hours) and anything else is a usage error pointing to the JSON form. `update` replaces each key
1012
- it is given, except `task`, which merges key by key (`null` removes one); it restates `enabled`
1013
- and echoes the revision it read, so a concurrent edit in the cockpit is refused (exit 2), never
1014
- overwritten. Mutating commands print the automation's cockpit page as `url`.
1015
-
1016
- `add` accepts `--archive-when-done` and `--auto-merge-pr` with the same behavior as
1017
- `cez task start`. The JSON keys are `task.archiveWhenDone` and `task.autoMergePr`.
1018
- Both are optional booleans and default to off. The automation editor has the same
1019
- switches. Editing these choices affects future tasks only; it does not change tasks
1020
- the automation already launched. Enabling an automation or making its tasks autonomous
1021
- does not enable either completion control.
1022
-
1023
- GitHub automations exclude events before enablement by default. Turn on **Include existing items**
1024
- in the editor, pass `--include-existing` to `add`, or set `"filters": {"includeExisting": true,
1025
- "lookbackDays": 7, "maxRecords": 25}` in a JSON definition to include older matches within the
1026
- lookback (1–90 days). Turning this on for an enabled automation reopens that window on its next
1027
- check. Changing only the lookback preserves the completed cursor; pause and re-enable to
1028
- reopen the wider history window. Previously processed matches stay deduplicated across edits, pauses and restarts, and
1029
- per-check limits still apply. Historical scans resume across checks and restarts when capped.
1030
- GitHub search is limited to 1,000 items per window and label timelines to 100 events per item;
1031
- reaching either limit reports an error with guidance to narrow the filters or lookback. **Test filter** previews the selected window independently of the
1032
- execution cursor; it never launches tasks. For label triggers, the window applies to the label
1033
- event's time, so a newly added label can match an old issue even with history off. Historical
1034
- label discovery revisits the rolling window because later comments can move issues between pages;
1035
- receipts prevent those repeated observations from launching duplicate tasks.
1036
-
1037
- A **one-time schedule** (**Once** in the editor, `--at` or `--in` on `add`, `"schedule":
1038
- {"type": "once", "at": "2026-10-29T09:00", "timeZone": "Europe/Warsaw"}` in JSON) starts one
1039
- ordinary task at a wall-clock time in an explicit IANA zone. It is created paused like every
1040
- automation; **Enable** arms it. When it is due, Cezarion starts the task and moves the schedule to
1041
- **Archived** with a link to that task; **Run now** does the same at once, so it never runs twice.
1042
- **Cancel** archives it without a task. An archived schedule cannot change, and the list hides it
1043
- until you pick the **Archived** filter. Cezarion must be running at the due time. If it was not,
1044
- the schedule starts on the next boot only within its **Latest start** (no limit by default; 10
1045
- minutes to 30 days); after that it is marked **Missed** and stays until you edit, cancel or run it.
1046
- A launch that fails marks it **Failed**, and nothing retries on its own; **Retry** or **Run now**
1047
- relaunches the same receipt, so one schedule starts at most one task. Agents can create and manage
1048
- one-time schedules with the `cezar_schedule_task` and `cezar_scheduled_tasks` tools, which exist
1049
- only with `CEZ_AUTOMATIONS=1` and also create schedules paused unless the user asked for them to run.
1050
-
1051
- Automation list counters use two windows. **Launched** counts every stored task with that
1052
- automation's provenance, across definition revisions, including historical variants, completed and
1053
- archived tasks. Restarting or compacting automation logs and receipts does not change it;
1054
- deleting a task removes it from the count. **Matches**, **Duplicates** and **Errors** describe
1055
- only that automation's latest 100 activity-log rows. Recent activity remains a separate log view.
1056
-
1057
- The address comes from `CEZ_COCKPIT_URL` and `CEZ_PROJECT_ID`, which the cockpit puts in a task's
1058
- environment. Without them, only an explicit `--url`, `--repo` or `CEZ_URL` looks for a cockpit;
1059
- otherwise the command exits 2 and never starts a server. With automations off, the cockpit's `409`
1060
- is relayed verbatim (exit 2).
1061
-
1062
- ## Workflow format
1063
-
1064
- A workflow is a small YAML file in `.ai/cezar/workflows/`:
1065
-
1066
- ```yaml
1067
- name: fix-and-verify
1068
- description: Implement the task, then verify; retry with failing output on red.
1069
- steps:
1070
- - id: implement
1071
- name: Implement
1072
- prompt: "{{task}}"
1073
- skill: project-conventions # optional — from .ai/skills or .ai/cezar/skills
1074
- # model: opus # optional per-step model override
1075
- # effort: high # optional per-step effort: low · medium · high · xhigh · max
1076
- # runner: codex # optional per-step backend: claude · codex · opencode · cursor · pi · omp
1077
- # timeoutMs: 7200000 # optional agent-step wall-clock cap (2 hours); 0 = no limit
1078
- # allowedTools: [Read, Edit, Write, Grep, Glob, Bash]
1079
- - id: verify
1080
- name: Verify
1081
- command: "npm test" # a check step: exit 0 passes
1082
- onFail:
1083
- retry: implement # loop back to an earlier step…
1084
- max: 2 # …at most twice
1085
- ```
1086
-
1087
- `{{task}}` is replaced with the task text you typed. When a check fails and loops
1088
- back, its failing output is appended to the retried agent's prompt so the next
1089
- attempt can see what broke.
1090
-
1091
- Agent steps have no wall-clock limit by default, including steps before a check or
1092
- another agent. This applies to cockpit tasks, owned workers and `cez run`, on every
1093
- runner. Non-final agent steps still close after their turn and advance the chain.
1094
- An authored agent step may opt into `timeoutMs`: an integer from `0` to `2147483647`
1095
- milliseconds, with `0` disabling the cap. A positive limit measures the entire
1096
- session from startup, including waiting; expiry fails the step and stops the chain.
1097
- It does not add workflow retry/resume behavior. Check steps reject this field.
1098
- Skill shorthand, default tasks and free-form Continue have no wall-clock cap.
1099
- All managed sessions have a separate 30-minute no-progress safeguard: while a turn
1100
- is open, native stream, tool or heartbeat activity refreshes it. A silent turn
1101
- fails and its process is terminated, with SIGKILL escalation if needed. Busy turns
1102
- can run longer than 30 minutes. Waiting at a turn boundary or for a human answer
1103
- pauses this safeguard; the next turn or answer rearms it. Standalone runner calls
1104
- keep their 30-minute wall-clock default. Startup protection and the existing
1105
- parked-session lifecycle still apply.
1106
-
1107
- Prefer skills over steps? A workflow can also be written in the portable
1108
- shorthand — an ordered list of skill names, each becoming one agent step:
1109
-
1110
- ```yaml
1111
- name: triage-and-fix
1112
- skills: [reproduce, root-cause, implement, self-review]
1113
- ```
1114
-
1115
- ---
1116
-
1117
- ## How it runs agents
1118
-
1119
- Cezarion shells out to your locally installed, logged-in agent CLI —
1120
- **your subscription, no API key**. With the default Claude Code backend that
1121
- means headless `stream-json` mode, tool access via `--allowedTools`, with
1122
- unapproved tools denied without prompting (`--permission-mode dontAsk`) inside
1123
- the task's worktree — but note the zero-config default list (`Read`, `Edit`,
1124
- `Write`, `Grep`, `Glob`, `Bash`) grants unrestricted `Bash` unless a step sets
1125
- `bashAllowlist`, so treat a run as having full shell access in its worktree,
1126
- not a sandboxed allowlist. Set `CEZ_APPROVAL_GATE=1` to opt into Claude's
1127
- interactive approval UI. Codex, OpenCode and Cursor are driven through their
1128
- own native protocols and don't honor `allowedTools` at all; OpenCode's own
1129
- permission config decides what it asks. pi and OMP map `allowedTools` onto
1130
- their own tool allowlists — see
1131
- [Coding agent backends](#coding-agent-backends) for what each one actually
1132
- locks down. Nothing runs on a server you don't own.
1133
-
1134
- Live Preview lets Chromium use host graphics when available. Chromium selects the
1135
- backend and falls back to software when hardware is unavailable or blocked. This
1136
- needs no Cezarion setting or VirGL-specific setup. On Linux, GPU access may also
1137
- need a working display in the cockpit process environment. JPEG streaming is
1138
- unchanged; GPU rendering does not guarantee hardware frame encoding.
1139
-
1140
- Useful environment variables:
1141
-
1142
- | Var | Effect |
1143
- |---|---|
1144
- | `CEZ_DELEGATION=1` | Enable owned workers and the private loopback listener for this controller. Off by default; works with the cockpit and headless `cez run`. When disabled, terminal cleanup checkpoints skip conversation/wait history reconciliation; explicit recovery and cleanup termination safeguards remain active. Session instructions and credentials are automatic. |
1145
- | `CEZ_DELEGATION_URL`, `CEZ_DELEGATION_TOKEN` | Internal generated session values; do not configure or copy them. Tokens rotate on Continue/restart and are revoked when the session/controller closes. |
1146
- | `CEZ_URL` | Cockpit origin for `cez task` and operator `cez discover` (e.g. a hosted `CEZ_REMOTE` cockpit). Unset, they find the local cockpit serving this checkout on ports 4321–4370. Parent discovery uses its delegation controller instead. |
1147
- | `CEZ_COCKPIT_URL`, `CEZ_PROJECT_ID` | Set by the cockpit in every agent's environment once it listens: the bound origin and the run's project. `cez automation` calls that address; a headless `cez run` sets neither. Do not configure them. |
1148
- | `CEZ_DRY_RUN=1` | Use bundled mocks for all five agent backends — the cockpit works offline for demos and development. Explicit backend binary overrides still win. |
1149
- | `CEZ_AGENT_MODELS_LOCKED=1` | Globally lock each runner to the model configured in its native Claude/Codex/OpenCode settings while keeping runner selection available. Exact `1` also delegates authentication and provider enablement to those native agents, so Cezarion skips its credential probes and provider-disable preferences. Existing Cezarion presets are preserved but ignored, and an environment change requires a restart. The config-file equivalent is `"modelsLocked": true` in global `~/.cezar/config.json` or one repository's `.ai/cezar/config.json`; config-file locks do not disable provider checks. |
1150
- | `CEZ_APPROVAL_GATE=1` | Opt into Claude's interactive approval UI; by default, unapproved tools are denied without interrupting the run. Ignored when `CEZ_CLAUDE_PERMISSION_MODE` is a recognized value (`dontAsk`, `acceptEdits`, or `bypass`). |
1151
- | `CEZ_CLAUDE_PERMISSION_MODE` | Claude agent-run permission flag: `dontAsk` (default), `acceptEdits`, or `bypass`. `bypass` passes `--dangerously-skip-permissions` and omits `--permission-mode`. Unset or unknown keeps today's `dontAsk` / `CEZ_APPROVAL_GATE` path. Provider verification commands are never given this flag. |
1152
- | `CEZ_CLAUDE_SETTING_SOURCES` | When set, Claude agent runs also pass `--setting-sources <value>` (e.g. `user,project,local`). Unset or empty omits the flag. Provider verification is never given this flag. |
1153
- | `CEZ_ARCHIVE_ON_MERGE=1` | Archive settled task families after all associated pull requests merge. Off by default; only `1` enables this environment default. Saved project settings override global Tasks settings, which override the environment. Runs in the background while the cockpit is open, including unopened projects, without starting agents. Unarchive preserves restored tasks until a later merge. |
1154
- | `CEZ_AUTOMATIONS=1` | Turn on **automations** (GitHub polls and schedules): the Automations view appears and Cezarion runs each enabled automation while it is open, launching an ordinary task per match or per occurrence. A schedule (daily, weekdays, weekly, every N hours, in the server's time zone, or once at a set time in a named zone) needs no GitHub remote; a GitHub automation polls on its interval. Off by default, and only the exact value `1` enables it — without it nothing polls or fires, the automations endpoints answer `409`, and the nav item is absent. Read at boot, so restart after changing it; definitions, receipts and high-watermarks are retained, so unsetting it and restarting restores the feature without migration or data loss. |
1155
- | `CEZ_VOICE=1` | Turn on **voice mode** (experimental): the ⌘K palette understands a sentence such as “open the next finished task” or “answer yes”, and the server asks Jev (TypeSafe) to turn it into one action that the cockpit shows and runs. Needs `TYPESAFE_API_KEY` (read by the server only; `CEZ_DRY_RUN=1` uses a fake engine instead). Off by default, and only the exact value `1` enables it — without it the voice endpoints answer `409` and the palette is unchanged. Read at boot, so restart after changing it. |
1156
- | `CEZ_PREVIEW=1` | Turn on **live preview** (experimental): agents register a dev server with the `cezar_preview_serve` tool, and the cockpit opens it in a headless Chromium on the host, docked next to the task. Cezarion first runs a registered command after you press Run and open. Agents can then use `cezar_preview_stop({ port, restart?: boolean })` to stop or restart their own Cezarion-started server with that unchanged approval; changed command, cwd or path needs Run and open again. Adopted servers cannot be stopped by this tool. Each agent session also gets `CEZ_PREVIEW_CDP_URL`, a cockpit address through which it drives the same browser (`agent-browser --cdp "$CEZ_PREVIEW_CDP_URL" --pin-tab …`) while you watch; Chromium itself opens no debug port. Off by default, and only the exact value `1` enables it — without it the tool is not listed, its route and the preview WebSocket refuse, and `capabilities.preview` is `false`. Read at boot, so restart after changing it. |
1157
- | `CEZ_PREVIEW_NO_SANDBOX=1` | Launch the preview's Chromium with `--no-sandbox`. Off by default and never added automatically, not even for root or in a container; use it only where Chromium's sandbox cannot start, and only for pages you trust. Only the exact value `1` applies. Read at boot. |
1158
- | `CEZ_AUTOSAVE=1` | Re-enable the periodic (90 s) autosave commit in task worktrees. Off by default (open-mercato/cezar#471) — turn-end and pre-PR flushes always run, so branches still end complete. Every autosave names its trigger in the commit subject (`cezar autosave (periodic)` vs `(turn end)` / `(run finalize)` / `(pre-PR)`), so the flushes you keep are distinguishable from the timer you disabled. The turn-end / run-finalize flushes and the timer commit only while HEAD is the task's own `cez/<id8>` branch; on a branch the agent checked out they leave the work uncommitted, and the closing flush says so in the handoff's cezar records block, not its Progress log (hearsay-tools/cezarion#1004, hearsay-tools/cezarion#1809). A turn-end / run-finalize commit is reported there too, with its `git reset --soft` fold-back command, and the timer's commits share one line per run of consecutive periodic commits (count, first and latest sha), with no cockpit note. The pre-PR flush is unchanged. |
1159
- | `CEZ_CLAUDE_BIN=/path/to/claude` | Override which `claude` binary is used. |
1160
- | `CEZ_CODEX_BIN=/path/to/codex` | Override which `codex` binary is used. |
1161
- | `CEZ_OPENCODE_BIN=/path/to/opencode` | Override which `opencode` binary is used. |
1162
- | `CEZ_PI_BIN=/path/to/pi` | Override which `pi` binary is used. |
1163
- | `CEZ_OMP_BIN=/path/to/omp` | Override which `omp` (Oh My Pi) binary is used. |
1164
- | `CEZ_CURSOR_BIN=/path/to/agent` | Override the Cursor CLI (`agent`) executable. |
1165
- | `CLAUDE_CONFIG_DIR`, `CODEX_HOME`, `PI_CODING_AGENT_DIR`, `OMP_PROFILE` | The agents' **own** variables, honoured where the vendor documents one. Setting one moves that agent's **default account** — the config folder (for omp, the profile) Cezarion discovers. A *second* login of the same CLI is deliberately not an environment setting, since one process-wide value cannot differ per project: add it under **Settings → Agent accounts** and pick it per project. |
1166
- | `CEZ_BROWSE_ROOT=~/` | Default root for **Add project → Open local folder…**. The picker cannot navigate above it; a saved workspace value overrides the environment default and must name an existing folder. |
1167
- | `CEZ_PROJECTS_DIR=~/cezar/projects` | Default destination for **Clone from GitHub** and **New project**. Saved workspace settings override it, and missing directories are created recursively. |
1168
- | `CEZ_PROJECT_WARMUP=0` | Prepare each registered project only when it is first opened. By default the cockpit prepares every other registered project in the background once it listens, one at a time, most recently opened first: the run store opens and interrupted runs resume, so the first click on a project does not wait. A project another live cockpit serves is skipped. |
1169
- | `CEZ_AUTONOMOUS_DEFAULT=0` | Seed the New Task Autonomous default (`0` or `1`). Without a seed, skills default on and workflows off; a saved global Resources setting overrides it. |
1170
- | `CEZ_WORKTREE_DEFAULT=1` | Seed the New Task Worktree default (`0` or `1`). Without a seed, eligible runs default on; a saved global Resources setting overrides it. |
1171
- | `CEZ_DISABLE_REPO_LOCK=1` | **Dangerous escape hatch:** allow any run executing in the repository root — an explicit `worktree=false` run, non-Git degradation, or a continuation whose worktree cannot be restored — to proceed without Cezarion’s repository-root lease. Agents can overwrite each other’s files or Git state; isolated worktree runs are unaffected. Off by default; only the exact value `1` enables it. |
1172
- | `CEZ_SINGLE_PROJECT=1` | Opt into a launch-project-only cockpit: only the exact value `1` enables it. Project add, edit, checkout, folder browsing, and removal are refused and only the launch project is shown. Off by default; stored registry rows are retained, so unsetting it and restarting restores the full multi-project workspace without migration or data loss. |
1173
- | `CEZ_HIDE_TOKEN_USAGE=1` | Hide raw input/output token counts throughout the browser cockpit while leaving backend-reported cost visible. Only the exact value `1` enables it; telemetry and API payloads are unchanged, and a restart is required after changing it. |
1174
- | `CEZ_HIDE_COST=1` | Hide backend-reported monetary cost throughout the browser cockpit while leaving raw input/output token counts visible. Only the exact value `1` enables it; telemetry and API payloads are unchanged, and a restart is required after changing it. |
1175
- | `CEZ_HIDE_TOKEN_METRICS=1` | Legacy master switch that hides both token usage and cost. It takes precedence over the two independent flags; only the exact value `1` enables it, payloads are unchanged, and a restart is required. |
1176
- | `GITHUB_TOKEN` | Fallback for GitHub reads/PRs when `gh` isn't authenticated. |
1177
- | `CEZ_ENV_PASSTHROUGH=A,B` | Forward these extra host env vars to spawned agents. By default agents get a least-privilege env (safe shell/toolchain vars + the backend's own auth + `GITHUB_TOKEN` + `CEZ_*`), not your full environment — use this to add a var an agent needs. A dev server live preview starts gets the same env without the backend's auth and `GITHUB_TOKEN`, plus these names. |
1178
- | `CEZ_AGENT_ENV_FULL=1` | Escape hatch: give spawned agents, and dev servers live preview starts, the full host environment (pre-hardening behavior). Off by default; only set it if you understand that this hands every host secret to the agent process. |
1179
- | `CEZ_AGENT_TMPDIR=0` | Stop giving each task its own temp directory and hand agents the host `TMPDIR` again (pre-open-mercato/cezar#785 behavior). On by default: every run gets `TMPDIR`/`TEMP`/`TMP` pointing at `.ai/cezar/t/<task-id8>` (`.ai/cezar/tmp/<task-id>` before hearsay-tools/cezarion#1022), created and write-probed before the agent spawns, kept across session close, Continue, and restart while the task is live, and reaped at terminal completion or history deletion (hearsay-tools/cezarion#515) — and kept short enough for unix-socket paths: a checkout so deep that `.ai/cezar/t/<task-id8>` would leave no room under the kernel's socket-path limit for Chromium's singleton socket resolves it to a `cez-agent-…` directory under the system temp dir instead (hearsay-tools/cezarion#387), with its location recorded so host temp-environment changes cannot move live scratch. So concurrent tasks stop sharing one directory and a task refuses to start rather than run against a temp directory that silently swallows its shell output (see Troubleshooting below). Only an exact `0` disables it, and it disables the whole thing — the pre-spawn check included, so this stays an escape hatch you can actually take. |
1180
- | `CEZ_REDACT_SECRETS=0` | Disable scrubbing of credential values/token shapes from the on-disk state (the NDJSON transcript and the free-text fields of the run records in `runs.db`). On by default; leave it on. Controller-generated delegation tokens are always scrubbed. Best-effort defense-in-depth, not a guarantee: it catches known token shapes and the values of your own secret-named env vars, so a credential in neither category can still get through. |
1181
- | `CEZ_TITLE_UPDATES=0` | Turn off the live task-title refresh (namer re-runs on each turn end). The Settings → Agents toggle overrides this default. |
1182
- | `CEZ_AUTONAME=0` | Disable ALL LLM task naming (creation + live) — titles stay heuristic (`437: /om-auto-review-pr`). Under `CEZ_DRY_RUN=1` naming is already off unless forced with `CEZ_AUTONAME=1`. |
1183
- | `CEZ_REVIEW_GATE=1` | Turn ON the optional diff-first review gate (open-mercato/cezar#489): a successful, non-autonomous run with changes parks at `review` (Accept / Send back / Draft PR) instead of finishing. Off by default — changed runs settle to `done` with the diff left in the worktree. Only `1` enables. The Settings → Agents toggle overrides this; autonomous runs always skip it. |
1184
- | `VITE_CEZ_API_BASE=http://localhost:4321` | **Build time only**, and only when the cockpit bundle is deployed apart from the service it talks to. Empty (the default) means "the origin that served this page", which is right for both normal cases: the CLI serves the bundle itself, and `npm run dev` proxies `/api` to the local service. A deployment that must be configured without a rebuild can put `<meta name="cez-api-base" content="…">` in the served HTML instead, which wins over this. |
1185
- | `VITE_CEZ_E2E=1` | **Build time only.** The cockpit e2e suite sets this when it builds the bundle it drives. It pins `useNow` and every `refetchInterval` so a wait cannot span a 30s tick or a 4s poll. Leave unset for production. |
1186
-
1187
- ### Troubleshooting: the agent's shell returns nothing
1188
-
1189
- **Symptom.** A task on the Claude backend keeps working, but every shell command
1190
- comes back with no output and a spurious non-zero exit status — `echo hello`
1191
- included. Redirecting into a file inside the worktree still produces the right
1192
- content, so the commands genuinely run; only the *capture* is lost. Codex tasks
1193
- on the same machine are unaffected, because that backend streams over stdio
1194
- pipes instead of round-tripping a command's output through a temp file.
1195
-
1196
- **Diagnosis.** The temp directory the agent was given is out of space or out of
1197
- quota. One line tells you:
1198
-
1199
- ```bash
1200
- echo probe > "${TMPDIR:-/tmp}/probe" # "Disk quota exceeded" / "No space left on device"
1201
- df -i "${TMPDIR:-/tmp}" # a tmpfs can exhaust inodes long before bytes
1202
- ```
1203
-
1204
- Under quota the file is *created* and the write then fails, so the backend reads
1205
- back a zero-byte capture file and hands the agent an empty result.
1206
-
1207
- **Fix.** Since open-mercato/cezar#785 Cezarion gives each task its own `TMPDIR` under
1208
- `.ai/cezar/t/<task-id8>` and write-probes it before spawning, so a broken temp
1209
- directory fails the task with `agent temp directory is not writable: …` on the
1210
- task thread instead of corrupting its work. If you see that error, free space on
1211
- the disk holding the repo. `CEZ_AGENT_TMPDIR=0` turns the whole mechanism off —
1212
- per-task directory and pre-spawn check alike — and hands agents the host
1213
- `TMPDIR` again, which is the way out if the check itself is wrong on your
1214
- platform.
1215
-
1216
- ### Troubleshooting: tools inside a task fail with a socket-path error
1217
-
1218
- **Symptom.** Inside a task, `npm install`, `npm run typecheck`, or another tool
1219
- dies with `listen EINVAL` or a "socket path too long" / `ENAMETOOLONG` error —
1220
- with `TMPDIR=/tmp` set by hand, the same commands succeed. Tools like `tsx` bind
1221
- *named* unix sockets under `TMPDIR` (its IPC server builds
1222
- `<tmpdir>/tsx-<uid>/<pid>.pipe`), and the kernel caps a socket path at 104–108
1223
- bytes — a temp directory near that length leaves no room for the name.
1224
-
1225
- **Fix.** Since hearsay-tools/cezarion#387 Cezarion keeps each task's temp directory short
1226
- enough for these sockets: at most 58 bytes since hearsay-tools/cezarion#1022, which
1227
- leaves room for Chromium's `<tmpdir>/org.chromium.Chromium.XXXXXX/SingletonSocket`
1228
- on macOS's 104-byte limit. The repo-local directory is `.ai/cezar/t/<task-id8>`
1229
- (the first 8 characters of the task id), short enough for ordinary checkouts such
1230
- as `/home/<user>/projects/<repo>`. A checkout deep enough to push it past the limit
1231
- gets a short `cez-agent-…` directory under the system temp directory instead —
1232
- still per-task, still write-probed before the agent spawns, still reaped when the
1233
- run ends.
1234
- `CEZ_AGENT_TMPDIR=0` reverts the whole mechanism to the host `TMPDIR`.
1235
-
1236
- ---
1237
-
1238
- ## Coding agent backends
1239
-
1240
- Cezarion is not married to one vendor. Every agent step runs through a single
1241
- `AgentRunner` seam with six built-in backends:
1242
-
1243
- | Backend | CLI | How Cezarion drives it | Tool access |
1244
- |---|---|---|---|
1245
- | **Claude Code** (default) | [`claude`](https://github.com/anthropics/claude-code) | Headless `stream-json` mode. | Per-tool `--allowedTools` (`bashAllowlist` scopes `Bash`); `dontAsk` denies unapproved tools without prompting (`CEZ_APPROVAL_GATE=1` → `acceptEdits` + approval UI; `CEZ_CLAUDE_PERMISSION_MODE=bypass` → `--dangerously-skip-permissions`). |
1246
- | **Codex** | [`codex`](https://github.com/openai/codex) | `codex app-server` — JSON-RPC over stdio, the same transport the Codex IDE extensions use. | Ignores `allowedTools`; inherits managed permissions and Codex approval defaults. Confirmed unmanaged sessions use `danger-full-access`. `CEZ_CODEX_NETWORK=0` requires network restriction: unmanaged sessions use network-blocked `workspace-write`; managed filesystem rules remain intact, and an unconfirmed network restriction stops before any turn. If requirements discovery is unavailable, Codex permission defaults apply. |
1247
- | **OpenCode** _(experimental)_ | [`opencode`](https://opencode.ai) | `opencode serve` — a local HTTP server with an SSE event stream. | Ignores `allowedTools` entirely; OpenCode's own permission config governs. Cezarion answers OpenCode's built-in asks (outside-worktree reads, `.env` reads, the repeated-call guard) once, unless your config has a rule for that permission. Any other ask shows a permission card in the cockpit, and the run waits for your answer. |
1248
- | **Cursor** | [`agent`](https://cursor.com/docs/cli/installation) | Qualified builds use resumable `--print --output-format stream-json` turns; other builds and legacy sessions use ACP. | Print mode admits marketplace plugins, including user and team plugins, and narrows known native delegation tools for governed runs. Per-run `allowedTools` and `bashAllowlist` are unsupported. |
1249
- | **pi** _(experimental)_ | [`pi`](https://github.com/badlogic/pi-mono) | Persistent `--mode rpc` over JSONL; models are picked with the `provider/model` convention. | Maps `allowedTools` onto pi tool names. The default list, which adds the harness extras `Subagent`, `SubagentSupervisor` and `SubagentWait`, sends no allowlist: `--no-builtin-tools` plus a bundled extension that activates those built-ins, so MCP servers (`direct`, `codemode` and `deferred` exposure) and other pi extensions' tools stay callable. The six base tools alone, the list a worker inherits from a Claude parent, take the same path. A narrowed `allowedTools`, or one that names any tool outside that default set (an `mcp__` tool, `WebFetch` or a custom tool), uses pi's `--tools` allowlist, so a step that grants named tools reaches only those; a list that maps to nothing becomes `--no-tools` (or only the Cezarion tools). A configured `bashAllowlist` disables Bash because pi cannot express command-prefix rules. |
1250
- | **OMP** _(experimental)_ | [`omp`](https://github.com/can1357/oh-my-pi) | Persistent `--mode rpc` over JSONL (Oh My Pi, a pi fork); models use the `provider/model` convention and are discovered from `omp models --json`. | Maps `allowedTools` onto OMP's `--tools` allowlist (`[]` becomes `--no-tools`); default sessions also pass `todo`, `lsp`, `ast_edit`, `task` and `wait`. A configured `bashAllowlist` disables `bash` because OMP cannot express command-prefix rules. |
1251
-
1252
- > ⚠️ **OpenCode, pi and OMP support are experimental.** These runners work but are less
1253
- > battle-tested than the Claude Code and Codex backends, and OpenCode ignores
1254
- > `allowedTools` (its own permission config governs what it asks). Treat them as
1255
- > previews and expect rough edges.
1256
-
1257
- On startup Cezarion probes which CLIs are installed and the cockpit only offers
1258
- the backends it found — install any one of the six and you're operational.
1259
-
1260
- ### Cursor CLI
1261
-
1262
- Install [Cursor CLI](https://cursor.com/docs/cli/installation) and run `agent login`,
1263
- or set `CURSOR_API_KEY`. Cezarion discovers `agent` on PATH; `CEZ_CURSOR_BIN` overrides
1264
- its location. Select **Cursor** in the runner picker. On build
1265
- `2026.10.01-e373342` or newer, new sessions use print mode so marketplace plugins
1266
- are available. Cezarion checks `agent --version` and the native tool catalog before
1267
- the first turn; `agent --version` is also the quick way to check your installation.
1268
- Cezarion starts the CLI with `--disable-auto-update`, so a task never updates it;
1269
- update it yourself with `agent update`. Older builds, and a build missing a core
1270
- tool, use ACP, which may not see marketplace plugins. Existing ACP
1271
- sessions continue on ACP so their conversation history is preserved.
1272
- A missing CLI leaves the other backends available. `CEZ_DRY_RUN=1` uses the mock.
1273
- Cursor questions from a plugin may be automatically skipped by print mode. Cezarion's
1274
- own `CEZ:ASK` questions remain answerable in the cockpit; plugins that require
1275
- native questions may not work fully. Project-local Claude plugin settings may
1276
- not disable a user or team marketplace copy. A previously confirmed Cursor
1277
- session ID can also lose history inside Cursor without an error; Cezarion resumes
1278
- the recorded ID and checks that Cursor returns the same ID.
1279
- Cursor provides no qualified token-usage telemetry; Cezarion leaves usage unavailable
1280
- instead of estimating it. Cezarion discovers Cursor's canonical model IDs and advertised
1281
- effort levels through its read-only ACP catalog. Print mode accepts those IDs and
1282
- applies effort using a complete native parameter selection passed with `--model`,
1283
- retaining the account catalog's defaults for other parameters. Advertised legacy
1284
- print variants remain supported. ACP sessions apply `effort` or `reasoning` through
1285
- session config options before prompting; an unsupported explicit effort fails
1286
- instead of silently choosing another level.
1287
-
1288
- Settings → Agent config exposes Cursor’s global `cli-config.json`, project
1289
- `.cursor/cli.json` permissions, `.cursor/mcp.json`, and shared `AGENTS.md`.
1290
- [Cursor’s configuration reference](https://cursor.com/docs/cli/reference/configuration)
1291
- documents `CURSOR_CONFIG_DIR` and the Linux/BSD `XDG_CONFIG_HOME/cursor` override.
1292
- These select configuration; Cezarion does not offer alternate Cursor account profiles
1293
- because a complete credential-and-session home override has not been verified.
1294
-
1295
- ### OMP (Oh My Pi)
1296
-
1297
- Install [OMP](https://github.com/can1357/oh-my-pi) (`curl -fsSL https://omp.sh/install | sh`
1298
- installs a prebuilt binary; Bun is needed only for `--source`) and run `omp login`. Cezarion discovers `omp` on PATH;
1299
- `CEZ_OMP_BIN` overrides its location. `omp` is a separate backend from `pi`: a host with
1300
- both binaries keeps both, and `CEZ_PI_BIN` never selects OMP. Select **OMP** in the runner
1301
- picker to use a persistent `--mode rpc` session. A missing CLI leaves the other backends
1302
- available and shows OMP as unavailable. `CEZ_DRY_RUN=1` uses the mock.
1303
-
1304
- Agents ask questions through Cezarion's `CEZ:ASK` marker, and OMP's own sub-agents appear in the
1305
- Agents drawer. Settings → Agent config exposes OMP's `config.yml`, `mcp.json` and
1306
- `AGENTS.md` files. Named OMP profiles and accounts are not supported yet.
1307
-
1308
- **Pick a backend at three levels** (most specific wins):
1309
-
1310
- 1. **Config default** — `"defaultRunner": "codex"` in `.ai/cezar/config.json`.
1311
- 2. **Per task** — the backend picker next to the task box in the cockpit.
1312
- 3. **Per workflow step** — `runner:` on any step in the YAML.
1313
-
1314
- Per-step overrides are what make **mixed-agent strategies** a one-liner:
1315
- implement with one agent, review with another, and let a shell check referee:
1316
-
1317
- ```yaml
1318
- name: implement-and-cross-review
1319
- steps:
1320
- - id: implement
1321
- name: Implement
1322
- prompt: "{{task}}"
1323
- runner: codex # one vendor writes the code…
1324
- effort: medium # …with a cheaper reasoning pass
1325
- - id: review
1326
- name: Cross-review
1327
- prompt: "Review the diff produced for: {{task}}. Fix real issues only."
1328
- runner: claude # …another one reviews it
1329
- effort: high # …with more reasoning for review
1330
- - id: verify
1331
- name: Verify
1332
- command: "npm test"
1333
- onFail: { retry: implement, max: 2 }
1334
- ```
1335
-
1336
- Owned workers can compare approaches in separate worktrees. Each worker has its own
1337
- runner and model selection; see [Owned workers](#owned-workers-opt-in).
1338
-
1339
- **Models come from your own machine.** For Claude, Codex, OpenCode, and Pi, the model picker
1340
- is not a list Cezarion ships — it asks the installed CLI what it can actually run
1341
- (Claude stream-json `list_models`, `codex app-server`'s `model/list`,
1342
- `opencode models`, and `pi --list-models`), caches the answer in
1343
- memory for five minutes, and shows it. A model your provider rolled out
1344
- yesterday is selectable without a Cezarion release, and one it retired stops being
1345
- offered. Claude discovery starts no model turn and uses safe mode with no session
1346
- persistence. It has a 15-second deadline and a 200-model cap, with child cleanup
1347
- on every outcome. Unsupported or unavailable Claude CLIs fall back to the
1348
- `opus`, `sonnet`, and `haiku` aliases. `auto` (let the agent decide) is always
1349
- available, including when the CLI is missing, logged out, or slow — discovery
1350
- never blocks the cockpit, and a model you pinned yourself stays selectable even
1351
- if it is absent from the discovered list.
1352
-
1353
- The seam is deliberately small: a backend is one class implementing the
1354
- `AgentRunner` interface (`packages/cezar/src/core/agent-runner.ts`) that turns a prompt into
1355
- a stream of normalized events. Other CLIs — pi, aider, whatever ships next —
1356
- can slot in the same way.
1357
-
1358
- ---
1359
-
1360
- ## Remote access (host Cezarion on a server)
1361
-
1362
- Cezarion runs on `localhost` by default. To reach the cockpit from another machine —
1363
- a shared team box, a VPS, your phone — put an **authenticated public front** in
1364
- front of it. The built-in installer does this interactively, per **platform
1365
- strategy**, and never escalates silently: every privileged command is printed
1366
- and verified, and it ends with a real authenticated end-to-end check.
1367
-
1368
- ```bash
1369
- npx cezarion server-install --platform ubuntu-vps # stand it up
1370
- npx cezarion server-deploy --platform ubuntu-vps # roll out a new version (reload the service)
1371
- npx cezarion server-uninstall --platform ubuntu-vps # reverse it
1372
-
1373
- # host a SECOND cockpit for another domain on the same box (ubuntu-vps):
1374
-
1375
- npx cezarion server-install --platform ubuntu-vps --domain shop.example.com
1376
- ```
1377
-
1378
- On `ubuntu-vps` a single host can run several independent cockpits — add
1379
- `--domain <host>` and each gets its own port, nginx site, login and service; a
1380
- new domain never resumes or clobbers the first install.
1381
-
1382
- **Already running a reverse proxy?** If Dokploy, Coolify, Caddy or your own
1383
- nginx already owns `:80/:443`, Cezarion's would fight it for the ports. Install the
1384
- service only and let your proxy front it:
1385
-
1386
- ```bash
1387
- npx cezarion server-install --platform ubuntu-vps \
1388
- --external-proxy --domain cezar.example.com --bind-host 172.17.0.1
1389
- ```
1390
-
1391
- `--bind-host` is only needed when the proxy runs in a **container** (Traefik
1392
- can't reach the host's loopback); a host-installed proxy uses the `127.0.0.1`
1393
- default. In this mode **your proxy must enforce authentication** — Cezarion has
1394
- none of its own. [Details →](docs/server-install/ubuntu-vps.md#the-box-already-has-a-reverse-proxy-dokploy-coolify-caddy)
1395
-
1396
- | Provider | `--platform` | Public front | Guide |
1397
- |----------|--------------|--------------|-------|
1398
- | Ubuntu / Debian VPS | `ubuntu-vps` | nginx + Let's Encrypt HTTPS, htpasswd login, systemd | [Step-by-step →](docs/server-install/ubuntu-vps.md) |
1399
- | Ubuntu + existing proxy | `ubuntu-vps --external-proxy` | your Dokploy/Traefik/Caddy front; Cezarion ships the service only | [Step-by-step →](docs/server-install/ubuntu-vps.md#the-box-already-has-a-reverse-proxy-dokploy-coolify-caddy) |
1400
- | macOS + ngrok | `macosx-ngrok` | ngrok tunnel + `--basic-auth`, launchd | [Step-by-step →](docs/server-install/macosx-ngrok.md) |
1401
-
1402
- See the **[Remote access overview](docs/server-install/README.md)** for how it
1403
- works and how to redeploy new versions.
1404
-
1405
- ---
1406
-
1407
- ## Reviewing task files
1408
-
1409
- File links in task messages open the Files tab at the selected file, rather than
1410
- navigating to a host path under the cockpit URL. The selection stays in the URL,
1411
- so bookmarks and browser Back work. This works with local and remote cockpits.
1412
-
1413
- For a deliverable outside the project, an agent must explicitly publish a snapshot:
1414
-
1415
- ```sh
1416
- cez artifact publish /tmp/decision.md
1417
- ```
1418
-
1419
- Cezarion supplies the bundled command and task context to agent sessions automatically
1420
- (`CEZ_TASK_ID` and `CEZ_ARTIFACTS_DIR`; do not configure these yourself). The command
1421
- returns JSON with a Markdown link for the agent to share. When the owning project
1422
- is registered, the link keeps that project when copied or opened from another
1423
- project. If ownership cannot be discovered, publication keeps the legacy task link.
1424
- The Files tab also lists published artifacts. It previews text, Markdown and raster
1425
- images; other formats can be downloaded. HTML/scripts never execute inside the cockpit, and embedded
1426
- images in Markdown documents do not load automatically.
1427
-
1428
- Snapshots do not change when the original file changes. They survive worktree
1429
- removal and are removed with task history, including normal history retention.
1430
- Publication is limited to 10 MiB per file, 64 snapshots and 64 MiB per task; reaching
1431
- a limit refuses the new publication without evicting earlier files. There is no
1432
- arbitrary host-file reader or automatic collection of mentioned paths. Publish
1433
- only intended review material, never credentials or unrelated private files.
1434
-
1435
- ## Configuration (optional)
1436
-
1437
- Zero config is the default — everything below is opt-in via
1438
- `.ai/cezar/config.json` (a missing or invalid file simply uses the defaults, and
1439
- never blocks startup):
1440
-
1441
- ```jsonc
1442
- {
1443
- "skillsRepos": [], // team skills; none by default. Example: [{ "repo": "open-mercato/skills", "ref": "main" }]
1444
- // Team-skill repos are code-trusted: a skill body becomes an agent system prompt.
1445
- // Only owner/name, https/ssh URLs, or local paths (`/abs`, `./rel`, `~/dir`,
1446
- // `C:\dir`) are accepted — no ext::/fd:: transport helpers. Write a relative
1447
- // path as `./name`, not a bare `name`. Pin `ref` to a full commit SHA to freeze
1448
- // the source against a moving branch head — cezar verifies it resolves to
1449
- // exactly that commit, and reports it as `team.commit`.
1450
- "worktreeRetention": 10, // keep the last N finished worktrees on disk; 0 = unlimited (no reclaim, no branch sweep)
1451
- "defaultRunner": "claude", // agent backend: "claude" (default) · "codex" · "opencode" · "cursor" · "pi" · "omp"
1452
- "modelsLocked": true, // optional: native per-runner model is fixed/read-only; runner stays selectable
1453
- "plannerModel": "sonnet", // model the "Plan first" button uses to draft chains
1454
- "baseBranch": "develop", // branch worktrees fork from + PRs target (also settable in the Git tab)
1455
- "worktreeSetup": { "commands": ["npm ci"] } // prepare each new worktree before the agent starts (below)
1456
- }
1457
- ```
1458
-
1459
- Put the same `"modelsLocked": true` key in `~/.cezar/config.json` to apply it
1460
- to every registered project. When the key is absent or `false` in both config
1461
- files (and `CEZ_AGENT_MODELS_LOCKED` is not `1`), each runner's normal model
1462
- selector uses that runner's discovered model list. While locked, the model is
1463
- shown read-only and follows the selected runner's native settings; the runner
1464
- itself remains selectable.
1465
-
1466
- Run data (`runs.db` and its `-wal`/`-shm` files, the `runs.json.pre-sqlite*.bak`
1467
- backups, NDJSON event logs, worktrees, `todos.json`) is git-ignored
1468
- automatically; your workflows and skills stay committable. See [run history recovery](https://github.com/hearsay-tools/cezarion/blob/main/docs/run-history-recovery.md) for backup and repair steps.
1469
-
1470
- Settings that belong to *you* rather than to a repo — the parallel cap
1471
- (`maxParallel`, default **2**), the per-task memory ceiling and the checkout
1472
- root — live once in `~/.cezar/config.json`, alongside the
1473
- [project registry](#multiple-projects-one-cockpit), and are edited from
1474
- **Settings → Resources** and **Settings → Projects**. A `maxParallel` left over
1475
- in a repo's `.ai/cezar/config.json` is imported into the workspace file the
1476
- first time Cezarion boots there, and ignored afterwards.
1477
-
1478
- ### Session-start context
1479
-
1480
- Every session Cezarion launches — a fresh step, a retry, **Continue**, recovery, an owned
1481
- worker — opens with the run's whole handoff file, so the agent has its notes without a tool
1482
- call. Add your own context, such as a vision document, with an optional
1483
- `.ai/cezar/context.yaml`:
1484
-
1485
- ```yaml
1486
- version: 1
1487
- rules:
1488
- - id: project-vision
1489
- on: session_start
1490
- target: both # parent · worker · both
1491
- template: |
1492
- Project vision:
1493
- {{file:docs/vision.md}}
1494
- ```
1495
-
1496
- The whole prefix is capped at 64 KiB, blocks that do not fit are skipped whole, and each launch
1497
- logs which blocks it applied or skipped. See [docs/context-injection.md](docs/context-injection.md)
1498
- for the variables, the limits and the error handling.
1499
-
1500
- ### Preparing new worktrees
1501
-
1502
- Every task and worker runs in a fresh worktree, and a fresh worktree has nothing installed. Give
1503
- the project a `worktreeSetup` and Cezarion runs those commands in each new worktree before the
1504
- agent's first turn, so the agent (and anything that runs beside it, such as a test watcher)
1505
- starts in a ready tree:
1506
-
1507
- ```jsonc
1508
- // .ai/cezar/config.json
1509
- "worktreeSetup": {
1510
- "commands": ["npm ci", "cp \"$CEZ_PROJECT_ROOT/.env\" .env"],
1511
- "timeoutSeconds": 900 // optional, per command; default 900, max 7200
1512
- }
1513
- ```
1514
-
1515
- Or edit it in **Settings → Worktrees → Prepare new worktrees**, one command per line. Only a
1516
- cockpit on the machine running Cezarion can change it: a hosted cockpit (`CEZ_REMOTE=1`) shows it
1517
- read-only, because these are commands the host runs.
1518
-
1519
- - **When it runs.** In every new task worktree and every worker worktree, and again when Continue
1520
- rebuilds a worktree that retention reclaimed. Never for a task that runs in the repo working
1521
- tree (worktree off), and never for a non-git directory.
1522
- - **How it runs.** Each command runs as `bash -lc '<command>'` in the worktree root, in order,
1523
- and the setup stops at the first command that fails or times out. Up to 20 commands.
1524
- - **What it can see.** The same curated environment the live preview gives a dev server: your
1525
- `PATH`, `HOME` and the shell basics, but no agent API keys and no GitHub token. A private
1526
- registry token reaches it through `CEZ_ENV_PASSTHROUGH=NPM_TOKEN` (or the tool's own config
1527
- file under `HOME`). It also gets `CEZ_PROJECT_ROOT` (the main checkout, for copying untracked
1528
- files like `.env`) and `CEZ_TASK_ID`.
1529
- - **What you see.** The task thread shows a "Ran `<command>`" card per command with its output
1530
- (the last 20 KB) and a line with the outcome and duration.
1531
- - **What the agent sees.** Its first message says what ran, so it doesn't repeat the install.
1532
- If a command fails or times out, the agent still starts and its first message names the
1533
- command, the exit code and the end of the output, so it can fix the cause or work around it.
1534
- - **Keep generated files gitignored.** Autosave commits whatever Git doesn't ignore, so anything
1535
- setup creates outside `.gitignore` becomes part of the task's changes. `node_modules/` and
1536
- `.venv/` are usually ignored already.
1537
-
1538
- Without the key nothing runs, exactly as before. Examples:
1539
-
1540
- | Project | `commands` |
1541
- | --- | --- |
1542
- | npm | `["npm ci"]` |
1543
- | pnpm | `["pnpm install --frozen-lockfile"]` |
1544
- | Python (uv) | `["uv sync --frozen"]` |
1545
- | Go | `["go mod download"]` |
1546
- | Rust | `["cargo fetch"]` |
1547
- | Copy local env | `["cp \"$CEZ_PROJECT_ROOT/.env\" .env"]` |
1548
-
1549
- ### Editing the agents' own config (Settings → Agent config)
1550
-
1551
- Cezarion picks *which* agent runs; **Settings → Agent config** lets you edit *how* it
1552
- behaves — the raw config files Claude, Codex, OpenCode, Cursor, pi and OMP read
1553
- for settings, MCP, and memory. In the multi-project cockpit the section is project-scoped:
1554
- repo-relative files resolve from the selected project's root, while user-scope
1555
- files continue to resolve from the agent's home.
1556
-
1557
- Each file keeps its native format and vendor-documented precedence. Tracked
1558
- files reach task worktrees after commit; Claude's gitignored personal layer is
1559
- seeded into each run's worktree. Editing is a local-machine capability, so a
1560
- hosted cockpit (`CEZ_REMOTE=1`) is read-only and never serves home-file contents.
1561
-
1562
- ---
1563
-
1564
- ## Local development
1565
-
1566
- End-to-end, from a fresh clone to a global `cez` command you can run in **any**
1567
- repo on your machine — no npm publish required.
1568
-
1569
- **1. Prerequisites** — Node 24.21.0+ and `git` (plus at least one logged-in agent CLI,
1570
- as in [Quick start](#quick-start)).
1571
-
1572
- **2. Clone & install**
1573
-
1574
- ```bash
1575
- git clone https://github.com/hearsay-tools/cezarion.git
1576
- cd cezarion
1577
- npm install --global pnpm@12.11.2
1578
- pnpm install --frozen-lockfile
1579
- ```
1580
-
1581
- Dependency installation uses pnpm 12.11.2 (pinned in `packageManager`) and
1582
- `pnpm-lock.yaml`. Use pnpm for dependency changes; keep npm for the existing
1583
- build/test scripts. Workspace dependencies are linked locally and esbuild's
1584
- install hook is approved in `pnpm-workspace.yaml`. The store uses hardlinks when
1585
- the checkout and store share a filesystem. Publishing and end-user installation
1586
- continue to use npm. For this repository's Worktrees setup, use
1587
- `pnpm install --frozen-lockfile` after the checked-out base branch contains the migration.
1588
-
1589
- **3. Build** — compiles the api-client and the server (`tsc → packages/cezar/dist/`) and the cockpit
1590
- (`vite build → packages/cezar/web/dist/`), then runs the pack gate:
1591
-
1592
- ```bash
1593
- npm run build
1594
- ```
1595
-
1596
- **4. Install as a global command** — build + put `cezarion` / `cez` on
1597
- your PATH pointing at *this checkout*:
1598
-
1599
- ```bash
1600
- npm run install-as-command # live link (default) — see the change loop below
1601
- # or: npm run install-as-command:global # self-contained snapshot copy
1602
-
1603
- ```
1604
-
1605
- Now `cd` into any other repo and run it:
1606
-
1607
- ```bash
1608
- cd ~/some-other-project
1609
- cez # cockpit for that repo, straight off your checkout
1610
- cezarion --help # same binary; the name matches `npx cezarion`
1611
- ```
1612
-
1613
- **5. The change loop**
1614
-
1615
- - **Link mode** (default): edit source → `npm run build` → the global command
1616
- reflects it immediately. No relink needed. (It is a live symlink into this
1617
- checkout — don't move or delete the checkout while it's linked.)
1618
- - **Snapshot mode** (`:global`): re-run `npm run install-as-command:global` to
1619
- refresh the installed copy. It survives moving/deleting the checkout.
1620
-
1621
- **6. Uninstall**
1622
-
1623
- ```bash
1624
- npm run uninstall-as-command # removes cezarion / cez (either flavor)
1625
- ```
1626
-
1627
- **7. Troubleshooting**
1628
-
1629
- - **`cez: command not found`** after install → your npm global bin dir isn't on
1630
- PATH. The script prints the exact dir; add it to your shell profile
1631
- (`export PATH="$(npm prefix -g)/bin:$PATH"`).
1632
- - **`EACCES` / permission denied** → your global prefix is root-owned. Point npm
1633
- at a user-writable one and retry — **never** sudo:
1634
- `npm config set prefix ~/.npm-global`.
1635
- - **Already installed the published `@wjarka/cezarion` globally?** The
1636
- link/snapshot install replaces it; `uninstall-as-command` removes ours, and
1637
- `npm i -g @wjarka/cezarion` brings the published one back.
1638
-
1639
- ### In-checkout scripts
1640
-
1641
- ```bash
1642
- npm run dev # server (API :4321) + Vite dev server, opens the cockpit in the browser
1643
- npm run dev:server # tsx packages/cezar/src/index.ts — the API server alone
1644
- npm run dev:web # Vite dev server alone (proxies /api to :4321)
1645
- npm run build # tsc → packages/cezar/dist/, vite build → packages/cezar/web/dist/, then the pack gate
1646
- npm run typecheck # refresh server declarations, then check all four workspaces
1647
- npm run typecheck:web # refresh server declarations, then check web sources
1648
- npm test # vitest — server + cockpit unit suites
1649
- npm run test:changed # iteration only: tests related to branch + working-tree changes
1650
- pnpm metrics <file> # function complexity; add --test <test-file> for coverage and CRAP
1651
- npm run test:unit # node:test — fast core-module tests
1652
- npm run test:package # pack/install and exercise the built CLI
1653
- npm run test:e2e # real-browser cockpit suite (agent-browser)
1654
- npm run test:e2e:local # full browser suite in four isolated, concurrent lanes
1655
- ```
1656
-
1657
- The four-lane local browser run needs roughly 8 GiB of RAM at peak. It keeps CI's
1658
- serial-per-shard policy unchanged. See [cockpit E2E testing](packages/web/e2e/README.md#full-local-suite-in-four-lanes)
1659
- for lane isolation, logs, and cleanup.
1660
-
1661
- Calculate metrics for one JavaScript or TypeScript file, or select a function:
1662
-
1663
- ```bash
1664
- pnpm metrics packages/contract/src/attention.ts
1665
- pnpm metrics packages/contract/src/attention.ts --function deriveAttention
1666
- pnpm --silent metrics packages/contract/src/attention.ts --line 150 --json
1667
- pnpm metrics packages/contract/src/attention.ts --function deriveAttention --test packages/contract/src/attention.test.ts
1668
- pnpm metrics packages/contract/src/attention.ts --coverage coverage/coverage-final.json
1669
- ```
1670
-
1671
- Complexity follows ESLint's classic convention, including short-circuit operators,
1672
- optional chaining, default parameters and each non-default switch case. Functions,
1673
- methods and arrow functions have separate scores. Module and class initialization
1674
- are excluded. Use `Class.method` or `--line` when a name is ambiguous.
1675
-
1676
- CRAP is `C² × (1 − coverage)³ + C`, using executable line coverage within each
1677
- function body. This is the line-coverage variant; the original proposal used
1678
- basis-path coverage. An empty function uses its call counter. Missing coverage
1679
- shows `unavailable`, or `null` for CRAP in JSON. It never assumes zero coverage.
1680
- The command discovers `coverage/coverage-final.json` from the source directory
1681
- up to the checkout root, then the current directory. An explicit `--coverage`
1682
- selects an Istanbul JSON report. Reports older than the source leave CRAP unavailable;
1683
- reports must describe the current source, so regenerate them after source changes.
1684
-
1685
- Repeat `--test` to collect coverage from several Vitest test files. This runs only
1686
- the supplied tests in the unit projects, with two workers and a ten-minute limit.
1687
- Coverage files are temporary and are removed after the calculation. A failed test
1688
- run exits nonzero and produces no scores. Without `--test`, no tests run. Test logs
1689
- go to stderr, so `--json` stdout contains only the report. This tool belongs to the
1690
- checkout and is available after the normal dependency installation. Use
1691
- `pnpm --silent metrics ... --json` to also suppress pnpm's command banner.
1692
-
1693
- The tool is bundled in the [check-code-quality skill](.ai/skills/check-code-quality/SKILL.md).
1694
- Ask an agent to measure a file, function or module for a scoped stats report.
1695
- That path uses available coverage and reports missing CRAP without starting the
1696
- PR process. Ask explicitly for fresh coverage when needed.
1697
-
1698
- The skill's pre-PR path selects changed functions, fixes small problems, and files larger
1699
- inherited refactors as `code-quality-improvement` issues. The scan report defines
1700
- the limits: CRAP 30 and complexity 20. Scores equal to a limit pass. Copy the
1701
- whole skill directory to use the tool in another repository.
1702
-
1703
- Run the complete pre-PR measurement with the bundled command:
1704
-
1705
- ```bash
1706
- node .ai/skills/check-code-quality/scripts/check.mjs --base origin/main \
1707
- --runner node --test scripts/metrics.test.mjs --test scripts/changed-functions.test.mjs \
1708
- --test scripts/quality-check.test.mjs --node-import scripts/test-git-env.mjs \
1709
- --output .ai/analysis/code-quality.md
1710
- ```
1711
-
1712
- Select relevant tests for the changes. For Vitest, use `--runner vitest` and
1713
- `--project` where needed. The command collects coverage once for all changed
1714
- functions and writes Markdown plus JSON. Exit codes distinguish a pass (0),
1715
- exceeded limits (1), and incomplete measurement (2). See the skill for how to
1716
- resolve findings before opening a PR.
1717
-
1718
- For iteration, run affected test files or `npm run test:changed` (inspect with
1719
- `-- --plan`; override the local main comparison with `-- --base=<ref>`).
1720
- The changed-test command includes staged, unstaged and untracked changes and
1721
- falls back to full Vitest on shared/configuration/unknown input or missing Git
1722
- history. It is not a substitute for final verification. See `AGENTS.md` § Validation
1723
- for targeted browser commands and the final-gate/evidence-reuse policy.
1724
-
1725
- Both `npm run typecheck:web` and
1726
- `npm run typecheck -w @open-mercato/cezar-web` rebuild server declarations from
1727
- the current checkout before checking web sources. Run `pnpm install --frozen-lockfile` in each new
1728
- worktree first. The full `npm run typecheck` starts with the web check, so it
1729
- prepares declarations once before checking the remaining workspaces. Calling
1730
- `tsc --noEmit` directly skips this preparation and can consume stale declarations.
1731
-
1732
- CI runs four duration-balanced Vitest shards alongside the build and package checks.
1733
- See [CI verification](docs/sdlc/ci.md) for the job graph and local commands.
1734
-
1735
- The stack is deliberately small: **TypeScript** (strict, ESM), **Hono** + SSE for
1736
- the server, **Zod** at every boundary, **YAML** for workflows, and a **React 19 +
1737
- Vite + Tailwind v4 + shadcn/ui** cockpit shipped pre-built in `packages/cezar/web/dist/` — the
1738
- published package carries the built app, so `npx` users never run a bundler.
1739
- Every module is meant to be read in one sitting.
1740
-
1741
- ---
1742
-
1743
- ## License
1744
-
1745
- **MIT** © Patryk Lewczuk (original cezar) and Wiktor Jarka (Cezarion) — full text in [LICENSE](LICENSE).