@open-mercato/cezar 0.17.0-pr976.3708 → 0.17.0

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 (367) hide show
  1. package/README.md +4 -0
  2. package/dist/agent-config/validate.d.ts +2 -1
  3. package/dist/agent-config/validate.js.map +1 -1
  4. package/dist/api-origin.d.ts +0 -4
  5. package/dist/api-origin.js +0 -22
  6. package/dist/api-origin.js.map +1 -1
  7. package/dist/cockpit-address.d.ts +5 -0
  8. package/dist/cockpit-address.js +7 -0
  9. package/dist/cockpit-address.js.map +1 -1
  10. package/dist/contract/health.d.ts +30 -0
  11. package/dist/contract/index.d.ts +1 -0
  12. package/dist/contract/index.js +2370 -2054
  13. package/dist/contract/projects.d.ts +1 -0
  14. package/dist/contract/runs.d.ts +178 -2
  15. package/dist/contract/skills.d.ts +23 -0
  16. package/dist/contract/webhooks.d.ts +1136 -0
  17. package/dist/contract/workspace.d.ts +2 -0
  18. package/dist/core/agent-errors.d.ts +6 -0
  19. package/dist/core/agent-errors.js +13 -0
  20. package/dist/core/agent-errors.js.map +1 -1
  21. package/dist/core/agent-failure-class.d.ts +24 -0
  22. package/dist/core/agent-failure-class.js +99 -0
  23. package/dist/core/agent-failure-class.js.map +1 -0
  24. package/dist/core/agent-runner.d.ts +1 -1
  25. package/dist/core/claude-cli-runner.d.ts +2 -2
  26. package/dist/core/claude-cli-runner.js +17 -21
  27. package/dist/core/claude-cli-runner.js.map +1 -1
  28. package/dist/core/codex-app-server-runner.d.ts +1 -1
  29. package/dist/core/codex-app-server-runner.js +20 -23
  30. package/dist/core/codex-app-server-runner.js.map +1 -1
  31. package/dist/core/copilot-acp-runner.d.ts +1 -1
  32. package/dist/core/copilot-acp-runner.js +10 -10
  33. package/dist/core/copilot-acp-runner.js.map +1 -1
  34. package/dist/core/cursor-agent-runner.js +18 -22
  35. package/dist/core/cursor-agent-runner.js.map +1 -1
  36. package/dist/core/inactivity-deadline.d.ts +21 -0
  37. package/dist/core/inactivity-deadline.js +49 -0
  38. package/dist/core/inactivity-deadline.js.map +1 -0
  39. package/dist/core/junie-runner.d.ts +1 -1
  40. package/dist/core/junie-runner.js +16 -20
  41. package/dist/core/junie-runner.js.map +1 -1
  42. package/dist/core/opencode-server-runner.d.ts +2 -2
  43. package/dist/core/opencode-server-runner.js +23 -15
  44. package/dist/core/opencode-server-runner.js.map +1 -1
  45. package/dist/core/pi-runner.d.ts +1 -1
  46. package/dist/core/pi-runner.js +8 -10
  47. package/dist/core/pi-runner.js.map +1 -1
  48. package/dist/core/provider-auth.js +18 -6
  49. package/dist/core/provider-auth.js.map +1 -1
  50. package/dist/core/runner-factory.d.ts +2 -0
  51. package/dist/core/runner-factory.js +39 -0
  52. package/dist/core/runner-factory.js.map +1 -1
  53. package/dist/core/secret-redaction.js +38 -6
  54. package/dist/core/secret-redaction.js.map +1 -1
  55. package/dist/data-gitignore.d.ts +1 -1
  56. package/dist/data-gitignore.js +1 -0
  57. package/dist/data-gitignore.js.map +1 -1
  58. package/dist/disk-space.d.ts +38 -0
  59. package/dist/disk-space.js +113 -0
  60. package/dist/disk-space.js.map +1 -0
  61. package/dist/dispatch/prompts.js +1 -1
  62. package/dist/git-worktree.d.ts +2 -0
  63. package/dist/git-worktree.js +16 -0
  64. package/dist/git-worktree.js.map +1 -1
  65. package/dist/handoff.d.ts +2 -2
  66. package/dist/handoff.js +1 -1
  67. package/dist/index.js +24 -3
  68. package/dist/index.js.map +1 -1
  69. package/dist/pack-check.d.ts +10 -0
  70. package/dist/pack-check.js +7 -0
  71. package/dist/pack-check.js.map +1 -1
  72. package/dist/release/backport.d.ts +34 -0
  73. package/dist/release/backport.js +33 -0
  74. package/dist/release/backport.js.map +1 -0
  75. package/dist/runs/agent-error-telemetry.d.ts +5 -1
  76. package/dist/runs/agent-error-telemetry.js +17 -10
  77. package/dist/runs/agent-error-telemetry.js.map +1 -1
  78. package/dist/runs/failure-kind.d.ts +1 -1
  79. package/dist/runs/failure-kind.js +5 -8
  80. package/dist/runs/failure-kind.js.map +1 -1
  81. package/dist/runs/lifecycle.d.ts +55 -0
  82. package/dist/runs/lifecycle.js +24 -0
  83. package/dist/runs/lifecycle.js.map +1 -0
  84. package/dist/runs/retention.js +36 -4
  85. package/dist/runs/retention.js.map +1 -1
  86. package/dist/runs/store.d.ts +31 -0
  87. package/dist/runs/store.js +59 -5
  88. package/dist/runs/store.js.map +1 -1
  89. package/dist/server/capabilities.js +3 -0
  90. package/dist/server/capabilities.js.map +1 -1
  91. package/dist/server/disk-health.d.ts +11 -0
  92. package/dist/server/disk-health.js +26 -0
  93. package/dist/server/disk-health.js.map +1 -0
  94. package/dist/server/forge/github.d.ts +9 -1
  95. package/dist/server/forge/github.js +42 -3
  96. package/dist/server/forge/github.js.map +1 -1
  97. package/dist/server/message-receipts.d.ts +27 -0
  98. package/dist/server/message-receipts.js +54 -0
  99. package/dist/server/message-receipts.js.map +1 -0
  100. package/dist/server/project-context.d.ts +5 -0
  101. package/dist/server/project-context.js +35 -1
  102. package/dist/server/project-context.js.map +1 -1
  103. package/dist/server/server.d.ts +2744 -866
  104. package/dist/server/server.js +191 -148
  105. package/dist/server/server.js.map +1 -1
  106. package/dist/server/webhooks.d.ts +817 -0
  107. package/dist/server/webhooks.js +91 -0
  108. package/dist/server/webhooks.js.map +1 -0
  109. package/dist/server/worktree-lifecycle.d.ts +88 -88
  110. package/dist/startup-port.d.ts +12 -0
  111. package/dist/startup-port.js +33 -0
  112. package/dist/startup-port.js.map +1 -0
  113. package/dist/telemetry-service.json +1 -0
  114. package/dist/webhooks/admission.d.ts +360 -0
  115. package/dist/webhooks/admission.js +294 -0
  116. package/dist/webhooks/admission.js.map +1 -0
  117. package/dist/webhooks/coordinator.d.ts +39 -0
  118. package/dist/webhooks/coordinator.js +215 -0
  119. package/dist/webhooks/coordinator.js.map +1 -0
  120. package/dist/webhooks/destination.d.ts +24 -0
  121. package/dist/webhooks/destination.js +111 -0
  122. package/dist/webhooks/destination.js.map +1 -0
  123. package/dist/webhooks/discord.d.ts +4 -0
  124. package/dist/webhooks/discord.js +102 -0
  125. package/dist/webhooks/discord.js.map +1 -0
  126. package/dist/webhooks/endpoints.d.ts +201 -0
  127. package/dist/webhooks/endpoints.js +345 -0
  128. package/dist/webhooks/endpoints.js.map +1 -0
  129. package/dist/webhooks/history.d.ts +42 -0
  130. package/dist/webhooks/history.js +222 -0
  131. package/dist/webhooks/history.js.map +1 -0
  132. package/dist/webhooks/lifecycle.d.ts +34 -0
  133. package/dist/webhooks/lifecycle.js +60 -0
  134. package/dist/webhooks/lifecycle.js.map +1 -0
  135. package/dist/webhooks/limits.d.ts +19 -0
  136. package/dist/webhooks/limits.js +101 -0
  137. package/dist/webhooks/limits.js.map +1 -0
  138. package/dist/webhooks/links.d.ts +12 -0
  139. package/dist/webhooks/links.js +40 -0
  140. package/dist/webhooks/links.js.map +1 -0
  141. package/dist/webhooks/operations.d.ts +24 -0
  142. package/dist/webhooks/operations.js +128 -0
  143. package/dist/webhooks/operations.js.map +1 -0
  144. package/dist/webhooks/outbox.d.ts +37 -0
  145. package/dist/webhooks/outbox.js +221 -0
  146. package/dist/webhooks/outbox.js.map +1 -0
  147. package/dist/webhooks/ownership.d.ts +17 -0
  148. package/dist/webhooks/ownership.js +254 -0
  149. package/dist/webhooks/ownership.js.map +1 -0
  150. package/dist/webhooks/payload.d.ts +6 -0
  151. package/dist/webhooks/payload.js +112 -0
  152. package/dist/webhooks/payload.js.map +1 -0
  153. package/dist/webhooks/platform.d.ts +9 -0
  154. package/dist/webhooks/platform.js +12 -0
  155. package/dist/webhooks/platform.js.map +1 -0
  156. package/dist/webhooks/privacy.d.ts +4 -0
  157. package/dist/webhooks/privacy.js +43 -0
  158. package/dist/webhooks/privacy.js.map +1 -0
  159. package/dist/webhooks/process-identity.d.ts +36 -0
  160. package/dist/webhooks/process-identity.js +240 -0
  161. package/dist/webhooks/process-identity.js.map +1 -0
  162. package/dist/webhooks/scheduler.d.ts +10 -0
  163. package/dist/webhooks/scheduler.js +43 -0
  164. package/dist/webhooks/scheduler.js.map +1 -0
  165. package/dist/webhooks/service.d.ts +313 -0
  166. package/dist/webhooks/service.js +1005 -0
  167. package/dist/webhooks/service.js.map +1 -0
  168. package/dist/webhooks/signing.d.ts +3 -0
  169. package/dist/webhooks/signing.js +36 -0
  170. package/dist/webhooks/signing.js.map +1 -0
  171. package/dist/webhooks/slack.d.ts +4 -0
  172. package/dist/webhooks/slack.js +56 -0
  173. package/dist/webhooks/slack.js.map +1 -0
  174. package/dist/webhooks/source.d.ts +178 -0
  175. package/dist/webhooks/source.js +23 -0
  176. package/dist/webhooks/source.js.map +1 -0
  177. package/dist/webhooks/storage.d.ts +21 -0
  178. package/dist/webhooks/storage.js +202 -0
  179. package/dist/webhooks/storage.js.map +1 -0
  180. package/dist/webhooks/transport.d.ts +30 -0
  181. package/dist/webhooks/transport.js +235 -0
  182. package/dist/webhooks/transport.js.map +1 -0
  183. package/dist/workflows/completion-reason.d.ts +4 -0
  184. package/dist/workflows/completion-reason.js +39 -0
  185. package/dist/workflows/completion-reason.js.map +1 -0
  186. package/dist/workflows/queued-bounds.d.ts +31 -0
  187. package/dist/workflows/queued-bounds.js +81 -0
  188. package/dist/workflows/queued-bounds.js.map +1 -0
  189. package/dist/workflows/run.d.ts +113 -20
  190. package/dist/workflows/run.js +726 -191
  191. package/dist/workflows/run.js.map +1 -1
  192. package/dist/workspace/config.d.ts +8 -0
  193. package/dist/workspace/config.js +62 -19
  194. package/dist/workspace/config.js.map +1 -1
  195. package/dist/workspace/ui-state.d.ts +4 -2
  196. package/dist/workspace/ui-state.js +13 -9
  197. package/dist/workspace/ui-state.js.map +1 -1
  198. package/package.json +4 -3
  199. package/scripts/check-pack.mjs +2 -4
  200. package/scripts/mock-claude.mjs +30 -5
  201. package/scripts/webhooks-schema.mjs +5 -0
  202. package/web/dist/assets/23I4SOAX-B4MCXPfc.js +2 -0
  203. package/web/dist/assets/26H2HVXD-DnN7AaEY.js +2 -0
  204. package/web/dist/assets/2IZ5MNOH-CgfSuFFL.js +1 -0
  205. package/web/dist/assets/2P3CZEXH-kInGrvHu.js +2 -0
  206. package/web/dist/assets/3E5HRNYT-DLbBxF6y.js +5 -0
  207. package/web/dist/assets/3JIRLDUO-B9tVJ8E_.js +1 -0
  208. package/web/dist/assets/5MJ3UKSG-nDfsJSF7.js +2 -0
  209. package/web/dist/assets/5THPTBWS-Ce_hS451.js +1 -0
  210. package/web/dist/assets/7OAKGN26-t-mlpHkx.js +25 -0
  211. package/web/dist/assets/7WLXJQOR-D6QVYUu9.js +1 -0
  212. package/web/dist/assets/A255FCTW-Bx0Z-P1v.js +1 -0
  213. package/web/dist/assets/AM43MQ64-C_UmP8Ka.js +2 -0
  214. package/web/dist/assets/AOZTNTMC-Di2iVwCo.js +5 -0
  215. package/web/dist/assets/AQNLM6KG-CcWg0kGq.js +4 -0
  216. package/web/dist/assets/BNU2RHQB-M1l5nkNs.js +2 -0
  217. package/web/dist/assets/C5HTQT3I-B50g1XeK.js +4 -0
  218. package/web/dist/assets/CPKRWH5G-DHdVktma.js +12 -0
  219. package/web/dist/assets/CUVCMPQX-75g4RQep.js +1 -0
  220. package/web/dist/assets/D4V2MWCI-Bm34L6wL.js +1 -0
  221. package/web/dist/assets/DHKBVIA3-Db-JqVOb.js +1 -0
  222. package/web/dist/assets/DKTLEL5E-DciMwFJ1.js +1 -0
  223. package/web/dist/assets/DUZNPW7S-4AKJemkg.js +2 -0
  224. package/web/dist/assets/E3FWOBN4-AT8jzYgb.js +4 -0
  225. package/web/dist/assets/E65FQMJL-eiWd8F8c.js +1 -0
  226. package/web/dist/assets/FTXIJQGB-CggtIYAM.js +1 -0
  227. package/web/dist/assets/G3MDBVQH-BZmnMkFw.js +1 -0
  228. package/web/dist/assets/G3OATVW2-D5zJu3ib.js +8 -0
  229. package/web/dist/assets/GUJTEFZK-DPEFMf5Q.js +1 -0
  230. package/web/dist/assets/IHVFDU4A-pP0Mb5Iu.js +10 -0
  231. package/web/dist/assets/IV52FOAS-jWHN2JLM.js +5 -0
  232. package/web/dist/assets/JTJEEBDN-DZeTEWqk.js +2 -0
  233. package/web/dist/assets/K7FUICZ3-C9JebvoP.js +2 -0
  234. package/web/dist/assets/LHH2HHRB-DZSZGD4x.js +2 -0
  235. package/web/dist/assets/MSPQPZZY-DOCBMJ70.js +4 -0
  236. package/web/dist/assets/OB6ZFVKF-D6V5f56z.js +2 -0
  237. package/web/dist/assets/PLTZDMI2-DltbYIQQ.js +1 -0
  238. package/web/dist/assets/R7EPXMMD-Dk_RDmvY.js +5 -0
  239. package/web/dist/assets/RVARI57O-CgA1WoRv.js +1 -0
  240. package/web/dist/assets/SPBWZ4VS-8FnOEPzw.js +1 -0
  241. package/web/dist/assets/SR7OOV3Q-3uZPNU1G.js +4 -0
  242. package/web/dist/assets/STAXBNH4-C4N6ZLTR.js +2 -0
  243. package/web/dist/assets/SXFARSFO-DHdVQB4G.js +1 -0
  244. package/web/dist/assets/TC77ISAL-BgUbI3Of.js +2 -0
  245. package/web/dist/assets/TYIQQHVC-S2gy0AUp.js +13 -0
  246. package/web/dist/assets/TZUXETIT-C6qyTEYa.js +2 -0
  247. package/web/dist/assets/U7N72BGE-8vTdAst9.js +6 -0
  248. package/web/dist/assets/UFPIB6EZ-BVjLTP07.js +3 -0
  249. package/web/dist/assets/UO52YEYL-EHYBNpY5.js +3 -0
  250. package/web/dist/assets/VIK3ONSK-Cton0Rgg.js +2 -0
  251. package/web/dist/assets/VVVO4ZVP-CdFWI9EE.js +2 -0
  252. package/web/dist/assets/WRGXZO53-DYQ4OW92.js +3 -0
  253. package/web/dist/assets/X5SG7MGC-DtC_vaXe.js +2 -0
  254. package/web/dist/assets/XLHPVVFU-MQkW7HpM.js +2 -0
  255. package/web/dist/assets/XXYPNCD5-Ib-xj97c.js +5 -0
  256. package/web/dist/assets/Z6WRYFJC-C6TE3q4J.js +7 -0
  257. package/web/dist/assets/ZI2QNEGF-DwOKsV8B.js +8 -0
  258. package/web/dist/assets/{agent-task-pickers-CJAx53eR.js → agent-task-pickers-C_2o0KYX.js} +1 -1
  259. package/web/dist/assets/{alert-dialog-BugYooRk.js → alert-dialog-fzSWCIyG.js} +1 -1
  260. package/web/dist/assets/arrow-left-CpV00riO.js +1 -0
  261. package/web/dist/assets/{automation-format-Bxe-TVRX.js → automation-format-BgAhuFNq.js} +1 -1
  262. package/web/dist/assets/automations-route-Ca648Wyc.js +1 -0
  263. package/web/dist/assets/bundle-mjs-rHxsej31.js +1 -0
  264. package/web/dist/assets/button-vdGgKu1b.js +100 -0
  265. package/web/dist/assets/{centered-state-Cm8_dS47.js → centered-state-C1nDqaTs.js} +1 -1
  266. package/web/dist/assets/check-DA3yaTey.js +1 -0
  267. package/web/dist/assets/chevron-left-D1eW2pzs.js +1 -0
  268. package/web/dist/assets/chevron-right-DwqBinJp.js +1 -0
  269. package/web/dist/assets/{chunk-BO2N2NFS-CFvlB0rH.js → chunk-BO2N2NFS-Bde6epwZ.js} +4 -4
  270. package/web/dist/assets/circle-check-G0BDdNX3.js +1 -0
  271. package/web/dist/assets/clipboard-B9AGRj3s.js +1 -0
  272. package/web/dist/assets/{collapsible-BoDLSmkP.js → collapsible-Ci-k9Y0m.js} +1 -1
  273. package/web/dist/assets/{commit-list-C_l41PzR.js → commit-list-B8qutNJ9.js} +1 -1
  274. package/web/dist/assets/{compare-variants-Du6vJ7FF.js → compare-variants-CD-H9QV0.js} +1 -1
  275. package/web/dist/assets/dashboard-BuNIEyIc.js +44 -0
  276. package/web/dist/assets/diff-DdDwJ41q.js +3 -0
  277. package/web/dist/assets/{diff-view-D7b6T1ik.js → diff-view-D4eUaNtD.js} +4 -4
  278. package/web/dist/assets/{download-CHsOA7RH.js → download-C9cyRK4D.js} +1 -1
  279. package/web/dist/assets/facet-filter-BpaMiUU2.js +5 -0
  280. package/web/dist/assets/{file-Bu00nVUj.js → file-CcDDcqzK.js} +1 -1
  281. package/web/dist/assets/file-preview-DyqTWb0f.js +2 -0
  282. package/web/dist/assets/{file-text-CISqp5LY.js → file-text-C5N0APxx.js} +1 -1
  283. package/web/dist/assets/{git-pull-request-draft-D2Lm-pPz.js → git-pull-request-draft-Bqwhflhv.js} +1 -1
  284. package/web/dist/assets/git-tab-loading-BXSixY5p.js +1 -0
  285. package/web/dist/assets/git-toolbar-CB3F5Ztu.js +1 -0
  286. package/web/dist/assets/github-CjHl4MMe.js +1 -0
  287. package/web/dist/assets/{highlighted-body-OFNGDK62-CDHv8VkT.js → highlighted-body-OFNGDK62-k8gmH63p.js} +1 -1
  288. package/web/dist/assets/{host-usage-CRNpjHr0.js → host-usage-EIcPz8s9.js} +1 -1
  289. package/web/dist/assets/{icon-tooltip-BrV8FoZY.js → icon-tooltip-CCXhXgac.js} +1 -1
  290. package/web/dist/assets/index-C_k6g6fh.js +29 -0
  291. package/web/dist/assets/index-DvagaaKL.css +2 -0
  292. package/web/dist/assets/{input-6sILF4ZL.js → input-DXFchFdf.js} +1 -1
  293. package/web/dist/assets/layout-cards-DrC84hQa.js +1 -0
  294. package/web/dist/assets/lazy-DaFjwB-q.js +11 -0
  295. package/web/dist/assets/lib-xgA2N1t8.js +1 -0
  296. package/web/dist/assets/loader-circle-B2Lhi0xN.js +1 -0
  297. package/web/dist/assets/{markdown-DDUUmNxl.js → markdown-3VbTQcD0.js} +1 -1
  298. package/web/dist/assets/markdown-DxPHdOwB.js +4 -0
  299. package/web/dist/assets/mermaid-GHXKKRXX-CQo8vsdt.js +1 -0
  300. package/web/dist/assets/{message-square-CUcOsOeK.js → message-square-9JNzSy42.js} +1 -1
  301. package/web/dist/assets/plus-BHSN5Uog.js +1 -0
  302. package/web/dist/assets/preload-helper-Czpn1I53.js +1 -0
  303. package/web/dist/assets/{project-router-Uv5K_t7U.js → project-router-BzcW5R3O.js} +2 -2
  304. package/web/dist/assets/queries-XYjXpa8s.js +1 -0
  305. package/web/dist/assets/reference-chip-JX3G6Wkk.js +1 -0
  306. package/web/dist/assets/repo-git-CZTtXETi.js +1 -0
  307. package/web/dist/assets/{run-diff-CaQSFkcv.js → run-diff-C_s9tHfS.js} +2 -2
  308. package/web/dist/assets/{save-D8UGIAXq.js → save-B4O7rFCS.js} +1 -1
  309. package/web/dist/assets/{scroll-within-CEDDAUiO.js → scroll-within-DTBX-TR6.js} +1 -1
  310. package/web/dist/assets/{search-x-CG0S6SUu.js → search-x-CQPbQgV6.js} +1 -1
  311. package/web/dist/assets/{settings-2-ogt1zu3P.js → settings-2-CrmZbb_8.js} +1 -1
  312. package/web/dist/assets/skills-DXkSdyb8.js +1 -0
  313. package/web/dist/assets/{square-VAdlYQJn.js → square-DCg6avOT.js} +1 -1
  314. package/web/dist/assets/{tabs-BP29AtfS.js → tabs-Cb8MmIEQ.js} +1 -1
  315. package/web/dist/assets/{tag-4juVmU06.js → tag-CEWhwfVf.js} +1 -1
  316. package/web/dist/assets/task-commits-BruCWCkF.js +1 -0
  317. package/web/dist/assets/{task-graph-4GzVwwdu.js → task-graph-D_OLXJSk.js} +1 -1
  318. package/web/dist/assets/{task-notes-CCT7q8Fr.js → task-notes-DzOdZjqZ.js} +1 -1
  319. package/web/dist/assets/task-workspace-C5Conyc1.js +29 -0
  320. package/web/dist/assets/{terminal-DEjD4n5K.js → terminal-BVAfyHZI.js} +1 -1
  321. package/web/dist/assets/terminal-drawer-Dcg67RS8.js +3 -0
  322. package/web/dist/assets/{textarea-DJjpA11v.js → textarea-DywMDkfl.js} +1 -1
  323. package/web/dist/assets/{token-metrics-BJ1naBNS.js → token-metrics-BiFl2ovY.js} +1 -1
  324. package/web/dist/assets/{tooltip-BieGyrAz.js → tooltip-7suUQClM.js} +1 -1
  325. package/web/dist/assets/{tracker-DitRxloO.js → tracker-BFYcbTEV.js} +2 -2
  326. package/web/dist/assets/{triangle-alert-lwmk_SnN.js → triangle-alert-hMpQrXJS.js} +1 -1
  327. package/web/dist/assets/{upload-Dx8IzFX_.js → upload-Ddh5Fb-A.js} +1 -1
  328. package/web/dist/assets/use-now-BlhSvP80.js +1 -0
  329. package/web/dist/assets/{use-submit-shortcut-B-uDwQhP.js → use-submit-shortcut-BC7gmgDS.js} +1 -1
  330. package/web/dist/assets/workflow-graph-BljUjNdF.js +13 -0
  331. package/web/dist/assets/worktree-lifecycle-operation-psNUwGwT.js +18 -0
  332. package/web/dist/index.html +41 -41
  333. package/web/dist/assets/arrow-left-FG-BtI91.js +0 -1
  334. package/web/dist/assets/automations-route-BRN9qRg1.js +0 -1
  335. package/web/dist/assets/bundle-mjs-BT31bpU6.js +0 -1
  336. package/web/dist/assets/button-DFlig-3W.js +0 -100
  337. package/web/dist/assets/check-Bg7-Ecuy.js +0 -1
  338. package/web/dist/assets/chevron-left-Cd_qkrfl.js +0 -1
  339. package/web/dist/assets/chevron-right-7BUoNLSN.js +0 -1
  340. package/web/dist/assets/circle-check-D3dWBsEI.js +0 -1
  341. package/web/dist/assets/dashboard-BDtFQg4f.js +0 -44
  342. package/web/dist/assets/diff-DZjcij_W.js +0 -3
  343. package/web/dist/assets/diff-stat-BIAV32IP.js +0 -1
  344. package/web/dist/assets/facet-filter-BCQvQXmA.js +0 -5
  345. package/web/dist/assets/file-preview-B0UXYkxB.js +0 -2
  346. package/web/dist/assets/git-tab-loading-Dcf8fCoC.js +0 -1
  347. package/web/dist/assets/git-toolbar-aXyXLu2P.js +0 -1
  348. package/web/dist/assets/github-PjL79xgT.js +0 -1
  349. package/web/dist/assets/index-DvwYGTi3.css +0 -2
  350. package/web/dist/assets/index-DxwI2MZD.js +0 -25
  351. package/web/dist/assets/layout-cards-Det2whh-.js +0 -1
  352. package/web/dist/assets/lib-BQXq3kEf.js +0 -1
  353. package/web/dist/assets/loader-circle-DDkRpp8X.js +0 -1
  354. package/web/dist/assets/markdown-lc7gwiQQ.js +0 -4
  355. package/web/dist/assets/mermaid-GHXKKRXX-CbLTa2tM.js +0 -1
  356. package/web/dist/assets/plus-BqHBcC4w.js +0 -1
  357. package/web/dist/assets/queries-C09jaXiS.js +0 -1
  358. package/web/dist/assets/reference-chip-CHF-Sbml.js +0 -1
  359. package/web/dist/assets/repo-git-DT0rQqvz.js +0 -1
  360. package/web/dist/assets/skills-Cf8xEPei.js +0 -1
  361. package/web/dist/assets/task-commits-CyO2Q8jS.js +0 -1
  362. package/web/dist/assets/task-workspace-C6o0DzgB.js +0 -29
  363. package/web/dist/assets/terminal-drawer-TV4K7S4u.js +0 -3
  364. package/web/dist/assets/use-now-Cr9QvR5I.js +0 -1
  365. package/web/dist/assets/workflow-graph-g3f0xPwZ.js +0 -13
  366. package/web/dist/assets/worktree-lifecycle-operation-COUqhS7A.js +0 -18
  367. package/web/dist/assets/x-BrRT8S7Q.js +0 -1
@@ -0,0 +1,817 @@
1
+ import type { ProjectContext } from './project-context.ts';
2
+ import type { WebhookService } from '../webhooks/service.ts';
3
+ type WebhookEnv = {
4
+ Variables: {
5
+ project: ProjectContext;
6
+ webhookService: WebhookService;
7
+ };
8
+ };
9
+ export declare function createWebhookRoutes(resolve: (context: ProjectContext) => Promise<WebhookService>): import("hono/hono-base").HonoBase<WebhookEnv, {
10
+ "/webhooks": {
11
+ $get: {
12
+ output: {
13
+ receivers: {
14
+ kind: "live";
15
+ id: string;
16
+ name: string;
17
+ destination: string;
18
+ format: "cezar.json.v1" | "discord.v1" | "slack.v1";
19
+ state: "active" | "disabled" | "inactive" | "paused" | "suspended";
20
+ revision: number;
21
+ deliveryRevision: number;
22
+ pauseReason?: "project_removal" | "user" | undefined;
23
+ profile: "minimal" | "standard";
24
+ preset: "all" | "attention" | "custom";
25
+ events: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[];
26
+ includeScheduledFailures: boolean;
27
+ scope: "every_task" | "main_and_questions";
28
+ graceSeconds: 0 | 60 | 180 | 600;
29
+ allowLocalNetwork: boolean;
30
+ createdAt: string;
31
+ updatedAt: string;
32
+ pendingCount: number;
33
+ inFlightCount: number;
34
+ consecutiveFailures: number;
35
+ nextProbeAt?: string | undefined;
36
+ retiredKeyExpiresAt?: string | undefined;
37
+ activationBlocked: boolean;
38
+ lastTest: "none" | "permanent_failure" | "success" | "transient_failure";
39
+ }[];
40
+ webhookHealth: {
41
+ status: "degraded" | "disabled" | "ready" | "unavailable";
42
+ reason?: string | undefined;
43
+ saturation?: {
44
+ pending: boolean;
45
+ retained: boolean;
46
+ control: boolean;
47
+ dropped: number;
48
+ } | undefined;
49
+ };
50
+ changeSequence: number;
51
+ notice?: {
52
+ changeSequence: number;
53
+ at: string;
54
+ action: string;
55
+ receiverName?: string | undefined;
56
+ receiverId?: string | undefined;
57
+ destination?: string | undefined;
58
+ source?: "cockpit/api" | "system" | undefined;
59
+ } | undefined;
60
+ history: {
61
+ kind: "history";
62
+ id: string;
63
+ name: string;
64
+ deletedAt: string;
65
+ }[];
66
+ historyCount: number;
67
+ };
68
+ outputFormat: "json";
69
+ status: import("hono/utils/http-status").ContentfulStatusCode;
70
+ input: {};
71
+ };
72
+ };
73
+ } & {
74
+ "/webhooks/history": {
75
+ $get: {
76
+ output: {
77
+ items: {
78
+ kind: "history";
79
+ id: string;
80
+ name: string;
81
+ deletedAt: string;
82
+ }[];
83
+ total: number;
84
+ hasMore: boolean;
85
+ nextCursor?: string | undefined;
86
+ };
87
+ outputFormat: "json";
88
+ status: import("hono/utils/http-status").ContentfulStatusCode;
89
+ input: {
90
+ query: {
91
+ limit?: unknown;
92
+ cursor?: string | undefined;
93
+ };
94
+ };
95
+ };
96
+ };
97
+ } & {
98
+ "/webhooks/events": {
99
+ $get: {
100
+ output: {};
101
+ outputFormat: string;
102
+ status: import("hono/utils/http-status").StatusCode;
103
+ input: {};
104
+ };
105
+ };
106
+ } & {
107
+ "/webhooks": {
108
+ $post: {
109
+ output: {
110
+ receiver: {
111
+ kind: "live";
112
+ id: string;
113
+ name: string;
114
+ destination: string;
115
+ format: "cezar.json.v1" | "discord.v1" | "slack.v1";
116
+ state: "active" | "disabled" | "inactive" | "paused" | "suspended";
117
+ revision: number;
118
+ deliveryRevision: number;
119
+ pauseReason?: "project_removal" | "user" | undefined;
120
+ profile: "minimal" | "standard";
121
+ preset: "all" | "attention" | "custom";
122
+ events: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[];
123
+ includeScheduledFailures: boolean;
124
+ scope: "every_task" | "main_and_questions";
125
+ graceSeconds: 0 | 60 | 180 | 600;
126
+ allowLocalNetwork: boolean;
127
+ createdAt: string;
128
+ updatedAt: string;
129
+ pendingCount: number;
130
+ inFlightCount: number;
131
+ consecutiveFailures: number;
132
+ nextProbeAt?: string | undefined;
133
+ retiredKeyExpiresAt?: string | undefined;
134
+ activationBlocked: boolean;
135
+ lastTest: "none" | "permanent_failure" | "success" | "transient_failure";
136
+ };
137
+ secret: string;
138
+ };
139
+ outputFormat: "json";
140
+ status: 201;
141
+ input: {
142
+ json: {
143
+ format?: "cezar.json.v1" | "discord.v1" | "slack.v1" | undefined;
144
+ name: string;
145
+ profile?: "minimal" | "standard" | undefined;
146
+ preset?: "all" | "attention" | "custom" | undefined;
147
+ events?: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[] | undefined;
148
+ includeScheduledFailures?: boolean | undefined;
149
+ scope?: "every_task" | "main_and_questions" | undefined;
150
+ graceSeconds?: 0 | 60 | 180 | 600 | undefined;
151
+ allowLocalNetwork?: boolean | undefined;
152
+ url: string;
153
+ };
154
+ };
155
+ };
156
+ };
157
+ } & {
158
+ "/webhooks/notice/acknowledge": {
159
+ $post: {
160
+ output: {
161
+ ok: true;
162
+ };
163
+ outputFormat: "json";
164
+ status: import("hono/utils/http-status").ContentfulStatusCode;
165
+ input: {
166
+ json: {
167
+ expectedChangeSequence: number;
168
+ };
169
+ };
170
+ };
171
+ };
172
+ } & {
173
+ "/webhooks/deliveries/:deliveryId/retry": {
174
+ $post: {
175
+ output: {
176
+ error: string;
177
+ };
178
+ outputFormat: "json";
179
+ status: 400;
180
+ input: {
181
+ param: {
182
+ deliveryId: string;
183
+ };
184
+ } & {
185
+ json: {
186
+ expectedRevision: number;
187
+ deliveryRevision: number;
188
+ operationId: string;
189
+ };
190
+ };
191
+ } | {
192
+ output: {
193
+ deliveryId: string;
194
+ };
195
+ outputFormat: "json";
196
+ status: import("hono/utils/http-status").ContentfulStatusCode;
197
+ input: {
198
+ param: {
199
+ deliveryId: string;
200
+ };
201
+ } & {
202
+ json: {
203
+ expectedRevision: number;
204
+ deliveryRevision: number;
205
+ operationId: string;
206
+ };
207
+ };
208
+ };
209
+ };
210
+ } & {
211
+ "/webhooks/deliveries/:deliveryId/replay": {
212
+ $post: {
213
+ output: {
214
+ error: string;
215
+ };
216
+ outputFormat: "json";
217
+ status: 400;
218
+ input: {
219
+ param: {
220
+ deliveryId: string;
221
+ };
222
+ } & {
223
+ json: {
224
+ expectedRevision: number;
225
+ deliveryRevision: number;
226
+ operationId: string;
227
+ confirmed: true;
228
+ };
229
+ };
230
+ } | {
231
+ output: {
232
+ deliveryId: string;
233
+ };
234
+ outputFormat: "json";
235
+ status: import("hono/utils/http-status").ContentfulStatusCode;
236
+ input: {
237
+ param: {
238
+ deliveryId: string;
239
+ };
240
+ } & {
241
+ json: {
242
+ expectedRevision: number;
243
+ deliveryRevision: number;
244
+ operationId: string;
245
+ confirmed: true;
246
+ };
247
+ };
248
+ };
249
+ };
250
+ } & {
251
+ "/webhooks/:id/deliveries": {
252
+ $get: {
253
+ output: {
254
+ error: string;
255
+ };
256
+ outputFormat: "json";
257
+ status: 400;
258
+ input: {
259
+ param: {
260
+ id: string;
261
+ };
262
+ } & {
263
+ query: {
264
+ limit?: unknown;
265
+ cursor?: string | undefined;
266
+ taskId?: string | undefined;
267
+ };
268
+ };
269
+ } | {
270
+ output: {
271
+ receiver: {
272
+ kind: "live";
273
+ id: string;
274
+ name: string;
275
+ destination: string;
276
+ format: "cezar.json.v1" | "discord.v1" | "slack.v1";
277
+ state: "active" | "disabled" | "inactive" | "paused" | "suspended";
278
+ revision: number;
279
+ deliveryRevision: number;
280
+ pauseReason?: "project_removal" | "user" | undefined;
281
+ profile: "minimal" | "standard";
282
+ preset: "all" | "attention" | "custom";
283
+ events: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[];
284
+ includeScheduledFailures: boolean;
285
+ scope: "every_task" | "main_and_questions";
286
+ graceSeconds: 0 | 60 | 180 | 600;
287
+ allowLocalNetwork: boolean;
288
+ createdAt: string;
289
+ updatedAt: string;
290
+ pendingCount: number;
291
+ inFlightCount: number;
292
+ consecutiveFailures: number;
293
+ nextProbeAt?: string | undefined;
294
+ retiredKeyExpiresAt?: string | undefined;
295
+ activationBlocked: boolean;
296
+ lastTest: "none" | "permanent_failure" | "success" | "transient_failure";
297
+ } | {
298
+ kind: "history";
299
+ id: string;
300
+ name: string;
301
+ deletedAt: string;
302
+ };
303
+ items: {
304
+ deliveryId: string;
305
+ eventId: string;
306
+ receiverId: string;
307
+ deliveryRevision: number;
308
+ eventType: "task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready" | "webhook.test";
309
+ taskId?: string | undefined;
310
+ status: "blocked_policy" | "cancelled" | "delivered" | "dropped" | "failed" | "in_flight" | "pending" | "retrying" | "superseded";
311
+ createdAt: string;
312
+ expiresAt: string;
313
+ attempts: number;
314
+ destination: string;
315
+ nextAttemptAt?: string | undefined;
316
+ completedAt?: string | undefined;
317
+ httpStatus?: number | undefined;
318
+ reason?: string | undefined;
319
+ response?: string | undefined;
320
+ retryAllowed: boolean;
321
+ replayAllowed: boolean;
322
+ payloadAvailability?: "expired" | "not_created" | "retained" | "unknown" | undefined;
323
+ payloadRetainedUntil?: string | undefined;
324
+ historyRetainedUntil?: string | undefined;
325
+ taskAvailability?: "available" | "deleted" | "not_applicable" | "unknown" | undefined;
326
+ replayUnavailableReason?: "configuration_changed" | "not_fresh" | "not_terminal" | "payload_expired" | "payload_unavailable" | "receiver_deleted" | "receiver_inactive" | "synthetic_test" | "task_unavailable" | undefined;
327
+ }[];
328
+ total: number;
329
+ hasMore: boolean;
330
+ nextCursor?: string | undefined;
331
+ timezone: string;
332
+ };
333
+ outputFormat: "json";
334
+ status: import("hono/utils/http-status").ContentfulStatusCode;
335
+ input: {
336
+ param: {
337
+ id: string;
338
+ };
339
+ } & {
340
+ query: {
341
+ limit?: unknown;
342
+ cursor?: string | undefined;
343
+ taskId?: string | undefined;
344
+ };
345
+ };
346
+ };
347
+ };
348
+ } & {
349
+ "/webhooks/:id/activity": {
350
+ $get: {
351
+ output: {
352
+ error: string;
353
+ };
354
+ outputFormat: "json";
355
+ status: 400;
356
+ input: {
357
+ param: {
358
+ id: string;
359
+ };
360
+ };
361
+ } | {
362
+ output: {
363
+ receiver: {
364
+ kind: "live";
365
+ id: string;
366
+ name: string;
367
+ destination: string;
368
+ format: "cezar.json.v1" | "discord.v1" | "slack.v1";
369
+ state: "active" | "disabled" | "inactive" | "paused" | "suspended";
370
+ revision: number;
371
+ deliveryRevision: number;
372
+ pauseReason?: "project_removal" | "user" | undefined;
373
+ profile: "minimal" | "standard";
374
+ preset: "all" | "attention" | "custom";
375
+ events: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[];
376
+ includeScheduledFailures: boolean;
377
+ scope: "every_task" | "main_and_questions";
378
+ graceSeconds: 0 | 60 | 180 | 600;
379
+ allowLocalNetwork: boolean;
380
+ createdAt: string;
381
+ updatedAt: string;
382
+ pendingCount: number;
383
+ inFlightCount: number;
384
+ consecutiveFailures: number;
385
+ nextProbeAt?: string | undefined;
386
+ retiredKeyExpiresAt?: string | undefined;
387
+ activationBlocked: boolean;
388
+ lastTest: "none" | "permanent_failure" | "success" | "transient_failure";
389
+ } | {
390
+ kind: "history";
391
+ id: string;
392
+ name: string;
393
+ deletedAt: string;
394
+ };
395
+ items: {
396
+ id: string;
397
+ at: string;
398
+ action: string;
399
+ source: "cockpit/api" | "system";
400
+ revision?: number | undefined;
401
+ fields: string[];
402
+ detail?: string | undefined;
403
+ }[];
404
+ total: number;
405
+ hasMore: boolean;
406
+ timezone: string;
407
+ };
408
+ outputFormat: "json";
409
+ status: import("hono/utils/http-status").ContentfulStatusCode;
410
+ input: {
411
+ param: {
412
+ id: string;
413
+ };
414
+ };
415
+ };
416
+ };
417
+ } & {
418
+ "/webhooks/:id": {
419
+ $patch: {
420
+ output: {
421
+ error: string;
422
+ };
423
+ outputFormat: "json";
424
+ status: 400;
425
+ input: {
426
+ param: {
427
+ id: string;
428
+ };
429
+ } & {
430
+ json: {
431
+ format?: "cezar.json.v1" | "discord.v1" | "slack.v1" | undefined;
432
+ name: string;
433
+ profile?: "minimal" | "standard" | undefined;
434
+ preset?: "all" | "attention" | "custom" | undefined;
435
+ events?: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[] | undefined;
436
+ includeScheduledFailures?: boolean | undefined;
437
+ scope?: "every_task" | "main_and_questions" | undefined;
438
+ graceSeconds?: 0 | 60 | 180 | 600 | undefined;
439
+ allowLocalNetwork?: boolean | undefined;
440
+ expectedRevision: number;
441
+ url?: string | undefined;
442
+ };
443
+ };
444
+ } | {
445
+ output: {
446
+ receiver: {
447
+ kind: "live";
448
+ id: string;
449
+ name: string;
450
+ destination: string;
451
+ format: "cezar.json.v1" | "discord.v1" | "slack.v1";
452
+ state: "active" | "disabled" | "inactive" | "paused" | "suspended";
453
+ revision: number;
454
+ deliveryRevision: number;
455
+ pauseReason?: "project_removal" | "user" | undefined;
456
+ profile: "minimal" | "standard";
457
+ preset: "all" | "attention" | "custom";
458
+ events: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[];
459
+ includeScheduledFailures: boolean;
460
+ scope: "every_task" | "main_and_questions";
461
+ graceSeconds: 0 | 60 | 180 | 600;
462
+ allowLocalNetwork: boolean;
463
+ createdAt: string;
464
+ updatedAt: string;
465
+ pendingCount: number;
466
+ inFlightCount: number;
467
+ consecutiveFailures: number;
468
+ nextProbeAt?: string | undefined;
469
+ retiredKeyExpiresAt?: string | undefined;
470
+ activationBlocked: boolean;
471
+ lastTest: "none" | "permanent_failure" | "success" | "transient_failure";
472
+ };
473
+ };
474
+ outputFormat: "json";
475
+ status: import("hono/utils/http-status").ContentfulStatusCode;
476
+ input: {
477
+ param: {
478
+ id: string;
479
+ };
480
+ } & {
481
+ json: {
482
+ format?: "cezar.json.v1" | "discord.v1" | "slack.v1" | undefined;
483
+ name: string;
484
+ profile?: "minimal" | "standard" | undefined;
485
+ preset?: "all" | "attention" | "custom" | undefined;
486
+ events?: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[] | undefined;
487
+ includeScheduledFailures?: boolean | undefined;
488
+ scope?: "every_task" | "main_and_questions" | undefined;
489
+ graceSeconds?: 0 | 60 | 180 | 600 | undefined;
490
+ allowLocalNetwork?: boolean | undefined;
491
+ expectedRevision: number;
492
+ url?: string | undefined;
493
+ };
494
+ };
495
+ };
496
+ };
497
+ } & {
498
+ "/webhooks/:id": {
499
+ $delete: {
500
+ output: {
501
+ error: string;
502
+ };
503
+ outputFormat: "json";
504
+ status: 400;
505
+ input: {
506
+ param: {
507
+ id: string;
508
+ };
509
+ } & {
510
+ json: {
511
+ expectedRevision: number;
512
+ };
513
+ };
514
+ } | {
515
+ output: {
516
+ ok: true;
517
+ };
518
+ outputFormat: "json";
519
+ status: import("hono/utils/http-status").ContentfulStatusCode;
520
+ input: {
521
+ param: {
522
+ id: string;
523
+ };
524
+ } & {
525
+ json: {
526
+ expectedRevision: number;
527
+ };
528
+ };
529
+ };
530
+ };
531
+ } & {
532
+ "/webhooks/:id/test": {
533
+ $post: {
534
+ output: {
535
+ error: string;
536
+ };
537
+ outputFormat: "json";
538
+ status: 400;
539
+ input: {
540
+ param: {
541
+ id: string;
542
+ };
543
+ } & {
544
+ json: {
545
+ expectedRevision: number;
546
+ deliveryRevision: number;
547
+ operationId: string;
548
+ };
549
+ };
550
+ } | {
551
+ output: {
552
+ deliveryId: string;
553
+ };
554
+ outputFormat: "json";
555
+ status: import("hono/utils/http-status").ContentfulStatusCode;
556
+ input: {
557
+ param: {
558
+ id: string;
559
+ };
560
+ } & {
561
+ json: {
562
+ expectedRevision: number;
563
+ deliveryRevision: number;
564
+ operationId: string;
565
+ };
566
+ };
567
+ };
568
+ };
569
+ } & {
570
+ "/webhooks/:id/activate": {
571
+ $post: {
572
+ output: {
573
+ error: string;
574
+ };
575
+ outputFormat: "json";
576
+ status: 400;
577
+ input: {
578
+ param: {
579
+ id: string;
580
+ };
581
+ } & {
582
+ json: {
583
+ expectedRevision: number;
584
+ confirmed: true;
585
+ };
586
+ };
587
+ } | {
588
+ output: {
589
+ receiver: {
590
+ kind: "live";
591
+ id: string;
592
+ name: string;
593
+ destination: string;
594
+ format: "cezar.json.v1" | "discord.v1" | "slack.v1";
595
+ state: "active" | "disabled" | "inactive" | "paused" | "suspended";
596
+ revision: number;
597
+ deliveryRevision: number;
598
+ pauseReason?: "project_removal" | "user" | undefined;
599
+ profile: "minimal" | "standard";
600
+ preset: "all" | "attention" | "custom";
601
+ events: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[];
602
+ includeScheduledFailures: boolean;
603
+ scope: "every_task" | "main_and_questions";
604
+ graceSeconds: 0 | 60 | 180 | 600;
605
+ allowLocalNetwork: boolean;
606
+ createdAt: string;
607
+ updatedAt: string;
608
+ pendingCount: number;
609
+ inFlightCount: number;
610
+ consecutiveFailures: number;
611
+ nextProbeAt?: string | undefined;
612
+ retiredKeyExpiresAt?: string | undefined;
613
+ activationBlocked: boolean;
614
+ lastTest: "none" | "permanent_failure" | "success" | "transient_failure";
615
+ };
616
+ };
617
+ outputFormat: "json";
618
+ status: import("hono/utils/http-status").ContentfulStatusCode;
619
+ input: {
620
+ param: {
621
+ id: string;
622
+ };
623
+ } & {
624
+ json: {
625
+ expectedRevision: number;
626
+ confirmed: true;
627
+ };
628
+ };
629
+ };
630
+ };
631
+ } & {
632
+ "/webhooks/:id/pause": {
633
+ $post: {
634
+ output: {
635
+ error: string;
636
+ };
637
+ outputFormat: "json";
638
+ status: 400;
639
+ input: {
640
+ param: {
641
+ id: string;
642
+ };
643
+ } & {
644
+ json: {
645
+ expectedRevision: number;
646
+ };
647
+ };
648
+ } | {
649
+ output: {
650
+ receiver: {
651
+ kind: "live";
652
+ id: string;
653
+ name: string;
654
+ destination: string;
655
+ format: "cezar.json.v1" | "discord.v1" | "slack.v1";
656
+ state: "active" | "disabled" | "inactive" | "paused" | "suspended";
657
+ revision: number;
658
+ deliveryRevision: number;
659
+ pauseReason?: "project_removal" | "user" | undefined;
660
+ profile: "minimal" | "standard";
661
+ preset: "all" | "attention" | "custom";
662
+ events: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[];
663
+ includeScheduledFailures: boolean;
664
+ scope: "every_task" | "main_and_questions";
665
+ graceSeconds: 0 | 60 | 180 | 600;
666
+ allowLocalNetwork: boolean;
667
+ createdAt: string;
668
+ updatedAt: string;
669
+ pendingCount: number;
670
+ inFlightCount: number;
671
+ consecutiveFailures: number;
672
+ nextProbeAt?: string | undefined;
673
+ retiredKeyExpiresAt?: string | undefined;
674
+ activationBlocked: boolean;
675
+ lastTest: "none" | "permanent_failure" | "success" | "transient_failure";
676
+ };
677
+ };
678
+ outputFormat: "json";
679
+ status: import("hono/utils/http-status").ContentfulStatusCode;
680
+ input: {
681
+ param: {
682
+ id: string;
683
+ };
684
+ } & {
685
+ json: {
686
+ expectedRevision: number;
687
+ };
688
+ };
689
+ };
690
+ };
691
+ } & {
692
+ "/webhooks/:id/resume": {
693
+ $post: {
694
+ output: {
695
+ error: string;
696
+ };
697
+ outputFormat: "json";
698
+ status: 400;
699
+ input: {
700
+ param: {
701
+ id: string;
702
+ };
703
+ } & {
704
+ json: {
705
+ expectedRevision: number;
706
+ confirmed: true;
707
+ };
708
+ };
709
+ } | {
710
+ output: {
711
+ receiver: {
712
+ kind: "live";
713
+ id: string;
714
+ name: string;
715
+ destination: string;
716
+ format: "cezar.json.v1" | "discord.v1" | "slack.v1";
717
+ state: "active" | "disabled" | "inactive" | "paused" | "suspended";
718
+ revision: number;
719
+ deliveryRevision: number;
720
+ pauseReason?: "project_removal" | "user" | undefined;
721
+ profile: "minimal" | "standard";
722
+ preset: "all" | "attention" | "custom";
723
+ events: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[];
724
+ includeScheduledFailures: boolean;
725
+ scope: "every_task" | "main_and_questions";
726
+ graceSeconds: 0 | 60 | 180 | 600;
727
+ allowLocalNetwork: boolean;
728
+ createdAt: string;
729
+ updatedAt: string;
730
+ pendingCount: number;
731
+ inFlightCount: number;
732
+ consecutiveFailures: number;
733
+ nextProbeAt?: string | undefined;
734
+ retiredKeyExpiresAt?: string | undefined;
735
+ activationBlocked: boolean;
736
+ lastTest: "none" | "permanent_failure" | "success" | "transient_failure";
737
+ };
738
+ };
739
+ outputFormat: "json";
740
+ status: import("hono/utils/http-status").ContentfulStatusCode;
741
+ input: {
742
+ param: {
743
+ id: string;
744
+ };
745
+ } & {
746
+ json: {
747
+ expectedRevision: number;
748
+ confirmed: true;
749
+ };
750
+ };
751
+ };
752
+ };
753
+ } & {
754
+ "/webhooks/:id/rotate-secret": {
755
+ $post: {
756
+ output: {
757
+ error: string;
758
+ };
759
+ outputFormat: "json";
760
+ status: 400;
761
+ input: {
762
+ param: {
763
+ id: string;
764
+ };
765
+ } & {
766
+ json: {
767
+ expectedRevision: number;
768
+ mode: "graceful" | "revoke_now";
769
+ };
770
+ };
771
+ } | {
772
+ output: {
773
+ receiver: {
774
+ kind: "live";
775
+ id: string;
776
+ name: string;
777
+ destination: string;
778
+ format: "cezar.json.v1" | "discord.v1" | "slack.v1";
779
+ state: "active" | "disabled" | "inactive" | "paused" | "suspended";
780
+ revision: number;
781
+ deliveryRevision: number;
782
+ pauseReason?: "project_removal" | "user" | undefined;
783
+ profile: "minimal" | "standard";
784
+ preset: "all" | "attention" | "custom";
785
+ events: ("task.attention_required" | "task.cancelled" | "task.failed" | "task.finished" | "task.review_ready")[];
786
+ includeScheduledFailures: boolean;
787
+ scope: "every_task" | "main_and_questions";
788
+ graceSeconds: 0 | 60 | 180 | 600;
789
+ allowLocalNetwork: boolean;
790
+ createdAt: string;
791
+ updatedAt: string;
792
+ pendingCount: number;
793
+ inFlightCount: number;
794
+ consecutiveFailures: number;
795
+ nextProbeAt?: string | undefined;
796
+ retiredKeyExpiresAt?: string | undefined;
797
+ activationBlocked: boolean;
798
+ lastTest: "none" | "permanent_failure" | "success" | "transient_failure";
799
+ };
800
+ secret: string;
801
+ };
802
+ outputFormat: "json";
803
+ status: import("hono/utils/http-status").ContentfulStatusCode;
804
+ input: {
805
+ param: {
806
+ id: string;
807
+ };
808
+ } & {
809
+ json: {
810
+ expectedRevision: number;
811
+ mode: "graceful" | "revoke_now";
812
+ };
813
+ };
814
+ };
815
+ };
816
+ }, "/", "/webhooks/:id/rotate-secret">;
817
+ export {};