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