@cleocode/cleo 2026.10.18 → 2026.10.19

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 (187) hide show
  1. package/dist/cli/{adapter-EB4BRBBY.js → adapter-X47GVQP7.js} +3 -3
  2. package/dist/cli/{add-DDZZZVZD.js → add-2LKQ5OQO.js} +3 -3
  3. package/dist/cli/{add-batch-MN72KL5M.js → add-batch-PCIZXCHG.js} +3 -3
  4. package/dist/cli/{admin-WZKECA5L.js → admin-2ABR2M5C.js} +3 -3
  5. package/dist/cli/{admin-HCXAR5VU.js → admin-2SGE3CT4.js} +3 -3
  6. package/dist/cli/{adr-OY7XITY5.js → adr-WFMRRKZN.js} +3 -3
  7. package/dist/cli/{analyze-SYWVYGEV.js → analyze-C5DW3XBB.js} +3 -3
  8. package/dist/cli/{archive-PXSIAUOZ.js → archive-DQWSUF3I.js} +3 -3
  9. package/dist/cli/{archive-stats-Q6IFJBPS.js → archive-stats-W6HJDNSY.js} +3 -3
  10. package/dist/cli/{attention-SU5P25FZ.js → attention-XACRWTGY.js} +3 -3
  11. package/dist/cli/{backup-STSELIGS.js → backup-UHVYRHDA.js} +3 -3
  12. package/dist/cli/{blockers-UGZUMSKM.js → blockers-B3GDENPQ.js} +3 -3
  13. package/dist/cli/{briefing-ZU7YZO3U.js → briefing-YTOCSFW7.js} +3 -3
  14. package/dist/cli/{cancel-CYOH7BAE.js → cancel-U4KFT2C6.js} +3 -3
  15. package/dist/cli/{check-ZQYL6AU6.js → check-NXYMQ77O.js} +3 -3
  16. package/dist/cli/{check-GHJEH437.js → check-WWGPEJIE.js} +2 -2
  17. package/dist/cli/chunk-5BQTAAJ5.js +49 -0
  18. package/dist/cli/chunk-DEOLUUQW.js +65 -0
  19. package/dist/cli/{chunk-NIS7EU53.js → chunk-JN552IFO.js} +32 -24
  20. package/dist/cli/{chunk-RGTIBYCQ.js → chunk-L7ZIR4GP.js} +2 -2
  21. package/dist/cli/{chunk-EELKU7NB.js → chunk-RNMULXXQ.js} +2 -2
  22. package/dist/cli/{chunk-QLME64FF.js → chunk-S2IS4DXJ.js} +2 -2
  23. package/dist/cli/{chunk-QC3IIDLX.js → chunk-WNDM2PS5.js} +13 -13
  24. package/dist/cli/{claim-PWJB26MI.js → claim-5GUUPIGX.js} +3 -3
  25. package/dist/cli/{cli-WM33BIC6.js → cli-ARPDECGB.js} +3 -3
  26. package/dist/cli/{complete-YHIJOF2M.js → complete-VC5H7EVG.js} +4 -4
  27. package/dist/cli/{complexity-ZJW4Z7GN.js → complexity-AKELAXU7.js} +3 -3
  28. package/dist/cli/{compliance-E3UJB4MT.js → compliance-3AHQSGLE.js} +3 -3
  29. package/dist/cli/{conduit-4OXX7X3G.js → conduit-SYAA6BU6.js} +3 -3
  30. package/dist/cli/{config-2UBWE57E.js → config-N3GZN35L.js} +29 -3
  31. package/dist/cli/{consensus-IISJ5EPZ.js → consensus-2ILDAJBP.js} +3 -3
  32. package/dist/cli/{context-B2OJ7LT4.js → context-3Z2TTNTA.js} +3 -3
  33. package/dist/cli/{contribution-6VY4DLBS.js → contribution-F5NXLODW.js} +3 -3
  34. package/dist/cli/{current-FPR6MQ4P.js → current-UAGJGYSZ.js} +3 -3
  35. package/dist/cli/{daemon-AADB5Z35.js → daemon-ZJMBPPVF.js} +3 -3
  36. package/dist/cli/{dash-3V2SUXOG.js → dash-JUQWAKZZ.js} +3 -3
  37. package/dist/cli/{decompose-V472J22B.js → decompose-LLDJUCS2.js} +3 -3
  38. package/dist/cli/{decomposition-CZRX4FZD.js → decomposition-DSM77D45.js} +3 -3
  39. package/dist/cli/{delete-TTWHW6JX.js → delete-FOEQLX4K.js} +3 -3
  40. package/dist/cli/{deps-XPD5ZAHF.js → deps-PBWH4HUW.js} +3 -3
  41. package/dist/cli/{detect-YZYEVJWD.js → detect-3AE7AA2G.js} +3 -3
  42. package/dist/cli/{diagnostics-QJQSNF5L.js → diagnostics-QJ5MHHR3.js} +3 -3
  43. package/dist/cli/{docs-JELVV27J.js → docs-37WAWQGW.js} +2 -2
  44. package/dist/cli/{docs-YG5ZMQ5F.js → docs-ZJJWDNNL.js} +59 -17
  45. package/dist/cli/{doctor-EWY4OP2V.js → doctor-J2NWX7B7.js} +35 -31
  46. package/dist/cli/doctor-goal-runtime-Y27ROXHD.js +26 -0
  47. package/dist/cli/{done-Z227ZDXQ.js → done-DB7KU3XS.js} +4 -4
  48. package/dist/cli/{export-YGDPY52V.js → export-WNW5XWDV.js} +3 -3
  49. package/dist/cli/{export-tasks-KDUKD6M6.js → export-tasks-7NDU6X6X.js} +3 -3
  50. package/dist/cli/{find-D3KMIDFU.js → find-XLPBCXZL.js} +3 -3
  51. package/dist/cli/{focus-ZKJTGRY5.js → focus-KBZNINOT.js} +3 -3
  52. package/dist/cli/go-26KHAC5E.js +57 -0
  53. package/dist/cli/goal-M2RSUPGF.js +183 -0
  54. package/dist/cli/{grade-U2EG6IS6.js → grade-KQJXXRTF.js} +3 -3
  55. package/dist/cli/{graph-PPTCVP7U.js → graph-JSYDG4AT.js} +3 -3
  56. package/dist/cli/{history-7WBL7O35.js → history-ODQ5I7FU.js} +3 -3
  57. package/dist/cli/{hook-TQXXIWXR.js → hook-7MXTCG3M.js} +1 -1
  58. package/dist/cli/hook-entry.js +1 -1
  59. package/dist/cli/{import-CQYUQJ2Q.js → import-2IWGFLL6.js} +3 -3
  60. package/dist/cli/{import-tasks-JK6BOMQ6.js → import-tasks-PVLAISBB.js} +3 -3
  61. package/dist/cli/index.js +112 -106
  62. package/dist/cli/{inject-A7OQWPFK.js → inject-JRLEHBQN.js} +3 -3
  63. package/dist/cli/{intelligence-ZDMPNMZC.js → intelligence-IYW3423D.js} +3 -3
  64. package/dist/cli/{issue-PZFXFIYP.js → issue-7ZXJKLGD.js} +3 -3
  65. package/dist/cli/{labels-OPDBIMOS.js → labels-WOTTGBRQ.js} +3 -3
  66. package/dist/cli/{lifecycle-PE2QVILM.js → lifecycle-MU3FAX6S.js} +3 -3
  67. package/dist/cli/{list-2GT4HHUU.js → list-76QTVVJV.js} +3 -3
  68. package/dist/cli/{llm-ZDB66SOW.js → llm-JCO5OJKD.js} +3 -3
  69. package/dist/cli/{log-SQNW2FKP.js → log-VWHC5JQF.js} +3 -3
  70. package/dist/cli/{manifest-I3SA3XSV.js → manifest-BTUU2NQB.js} +3 -3
  71. package/dist/cli/{map-AARUPEME.js → map-POJ4VUDA.js} +3 -3
  72. package/dist/cli/{memory-DJJZHRCX.js → memory-GJLKIO2T.js} +2 -2
  73. package/dist/cli/{memory-OENWJN3E.js → memory-VSUJRQWX.js} +3 -3
  74. package/dist/cli/{migrate-claude-mem-A4Y6PJ6U.js → migrate-claude-mem-NU7QS3UX.js} +3 -3
  75. package/dist/cli/{next-5OVPJMEV.js → next-XMN2PCF6.js} +3 -3
  76. package/dist/cli/{nexus-22VI2U4T.js → nexus-FLRYWNCM.js} +3 -3
  77. package/dist/cli/{nexus-ZKI6NP6X.js → nexus-RL2NS4ZH.js} +2 -2
  78. package/dist/cli/{ops-2AKJ4FJW.js → ops-IPFSX3RT.js} +3 -3
  79. package/dist/cli/{orchestrate-RLR6XSDW.js → orchestrate-DENHBTRO.js} +6 -6
  80. package/dist/cli/{orchestrate-PSMJ44IP.js → orchestrate-NQTQBBLU.js} +3 -3
  81. package/dist/cli/owner-override-cap-33U23MZF.js +90 -0
  82. package/dist/cli/owner-password-NWLUNXP2.js +24 -0
  83. package/dist/cli/{phase-YRQA3DYR.js → phase-TIGSK6KW.js} +3 -3
  84. package/dist/cli/{pipeline-TNTHTBVX.js → pipeline-FQZ53XBZ.js} +2 -2
  85. package/dist/cli/{pivot-EHYMCYO7.js → pivot-VX4MPRCN.js} +3 -3
  86. package/dist/cli/{plan-HY26HGMF.js → plan-RP5UYPHG.js} +3 -3
  87. package/dist/cli/{playbook-ZNMYOZEH.js → playbook-EMTBIOAB.js} +3 -3
  88. package/dist/cli/{playbook-LM5NBNOC.js → playbook-YPGSNILZ.js} +3 -3
  89. package/dist/cli/project-hook-entry.js +7 -1
  90. package/dist/cli/{promote-5BRIE2T4.js → promote-SUXQ4OMO.js} +3 -3
  91. package/dist/cli/{provenance-H644NDFO.js → provenance-FDL6BX7E.js} +3 -3
  92. package/dist/cli/{provider-BJ6BNBIS.js → provider-YLQIEB3J.js} +3 -3
  93. package/dist/cli/{reason-HBEO2753.js → reason-F5YEILR3.js} +3 -3
  94. package/dist/cli/{reconcile-S6T5UHQN.js → reconcile-5G5HQOH7.js} +3 -3
  95. package/dist/cli/{relates-NOSTPL4R.js → relates-VH5NYZP6.js} +3 -3
  96. package/dist/cli/{release-OSCULE4Q.js → release-L6P2ZB46.js} +10 -4
  97. package/dist/cli/{release-PKAGPJN3.js → release-OWPFPUQG.js} +2 -1
  98. package/dist/cli/{reorder-X22N2FKV.js → reorder-PEK3IJSR.js} +3 -3
  99. package/dist/cli/{reparent-CNM4XSPW.js → reparent-SA2KF7FY.js} +3 -3
  100. package/dist/cli/{req-254BPPJU.js → req-SEK5I7VH.js} +3 -3
  101. package/dist/cli/{research-UG3DUDHM.js → research-LIVELT7M.js} +3 -3
  102. package/dist/cli/{restore-M5P6MKE3.js → restore-SYUUWZTZ.js} +3 -3
  103. package/dist/cli/{roadmap-M6TYY7I5.js → roadmap-7RGZWSIO.js} +3 -3
  104. package/dist/cli/{safestop-N5L3XBKK.js → safestop-PDLIM5IB.js} +3 -3
  105. package/dist/cli/{saga-M5UFDGZM.js → saga-UCXKHLNQ.js} +3 -3
  106. package/dist/cli/{selfimprove-A3XT2BHD.js → selfimprove-PVI6YN5K.js} +2 -2
  107. package/dist/cli/{selfimprove-AGNCOXVU.js → selfimprove-S3Z4UH42.js} +3 -3
  108. package/dist/cli/{sequence-XXC2CCLF.js → sequence-TYCICZY5.js} +3 -3
  109. package/dist/cli/{service-ADRHYJBL.js → service-5YWHQI43.js} +3 -3
  110. package/dist/cli/{session-IDKRJ6W4.js → session-4KVDK3ZK.js} +33 -55
  111. package/dist/cli/{session-6C5QVXAM.js → session-4LLPMS74.js} +4 -9
  112. package/dist/cli/{show-SYSP55IB.js → show-D66D5GQB.js} +3 -3
  113. package/dist/cli/{skills-7SHZ4FC7.js → skills-RJZAVLOT.js} +3 -3
  114. package/dist/cli/{snapshot-UNKPHSKL.js → snapshot-FFRZPOYI.js} +3 -3
  115. package/dist/cli/{src-Z6N34VBV.js → src-5Y6MZ3CJ.js} +2 -2
  116. package/dist/cli/{start-7WSQ4QGK.js → start-AB6VMOZ2.js} +3 -3
  117. package/dist/cli/{stats-2BYC4DHQ.js → stats-ZGLRW5RJ.js} +3 -3
  118. package/dist/cli/{sticky-TTXZDPB2.js → sticky-KBZ2ERSM.js} +3 -3
  119. package/dist/cli/{stop-4TJ2NV7G.js → stop-NJJHNLES.js} +3 -3
  120. package/dist/cli/{stop-dispatch-entry-SD2OQH4F.js → stop-dispatch-entry-3F5BKAU5.js} +7 -10
  121. package/dist/cli/{sync-ITL2DQTZ.js → sync-TMQWA4T3.js} +3 -3
  122. package/dist/cli/{tasks-XZZDVJEU.js → tasks-DE27552X.js} +43 -5
  123. package/dist/cli/{tasks-VEGD6UWL.js → tasks-IDBUBU77.js} +2 -2
  124. package/dist/cli/{testing-SIA74RU4.js → testing-6Z7CLWKY.js} +3 -3
  125. package/dist/cli/{token-ERSSOPJK.js → token-PZNTFHPN.js} +3 -3
  126. package/dist/cli/{update-QRVDAUM4.js → update-JHHFBPD7.js} +3 -3
  127. package/dist/cli/{verify-AZ4WZUCG.js → verify-7ZBKHBDT.js} +3 -3
  128. package/dist/cli/{worktree-AORS2DWF.js → worktree-DOBDI3O2.js} +3 -3
  129. package/package.json +14 -14
  130. package/studio-dist/client/_app/immutable/chunks/Ay1rLloA.js +3 -0
  131. package/studio-dist/client/_app/immutable/chunks/{BtNajhY5.js → B9nuq9mE.js} +1 -1
  132. package/studio-dist/client/_app/immutable/chunks/Bpy2OezQ.js +1 -0
  133. package/studio-dist/client/_app/immutable/chunks/{CymtEX-h.js → DgdiBane.js} +1 -1
  134. package/studio-dist/client/_app/immutable/entry/{app.z7HoH3aa.js → app.Coyo64_K.js} +2 -2
  135. package/studio-dist/client/_app/immutable/entry/start.jrQAGYyE.js +1 -0
  136. package/studio-dist/client/_app/immutable/nodes/{0.Cd2FPW_v.js → 0.B5O-t1bz.js} +1 -1
  137. package/studio-dist/client/_app/immutable/nodes/{1.CiQvRSyi.js → 1.DOi7U9ki.js} +1 -1
  138. package/studio-dist/client/_app/immutable/nodes/{15.DHJRLdX_.js → 15.XxGn2aV2.js} +1 -1
  139. package/studio-dist/client/_app/immutable/nodes/{16.V-OLXP78.js → 16._5EdCCjc.js} +1 -1
  140. package/studio-dist/client/_app/immutable/nodes/{17.D6OCr9ay.js → 17.De2-UdSb.js} +1 -1
  141. package/studio-dist/client/_app/immutable/nodes/{18.D8fejEOP.js → 18.Cmd7nvmd.js} +1 -1
  142. package/studio-dist/client/_app/immutable/nodes/{20.CWDkzA-8.js → 20.Dcdf2pto.js} +1 -1
  143. package/studio-dist/client/_app/immutable/nodes/{24.Bp5DCiL_.js → 24.D_JYI-2D.js} +1 -1
  144. package/studio-dist/client/_app/immutable/nodes/{25.FDqhwpLG.js → 25.DxMsGV4d.js} +2 -2
  145. package/studio-dist/client/_app/immutable/nodes/{26.jF5o2l_A.js → 26.DdAIDZft.js} +1 -1
  146. package/studio-dist/client/_app/immutable/nodes/{3.BQOI1cnV.js → 3.C3NFvp2h.js} +1 -1
  147. package/studio-dist/client/_app/version.json +1 -1
  148. package/studio-dist/server/chunks/{0-DonWUng4.js → 0-Bsyltjn-.js} +3 -3
  149. package/studio-dist/server/chunks/1-CZCYQoII.js +9 -0
  150. package/studio-dist/server/chunks/{15-TSfWXu_o.js → 15-DZKx-Nmu.js} +3 -3
  151. package/studio-dist/server/chunks/{16-BO0cxoBu.js → 16-BRAV8xop.js} +3 -3
  152. package/studio-dist/server/chunks/{17-C6Se03iK.js → 17-Ch7OAACT.js} +3 -3
  153. package/studio-dist/server/chunks/{18-DNGSK5Lj.js → 18-FHmJby11.js} +3 -3
  154. package/studio-dist/server/chunks/{20-CUgxt-F9.js → 20-oWFR9Cot.js} +3 -3
  155. package/studio-dist/server/chunks/{24-BAS-bXVN.js → 24-BVQ9gcfO.js} +3 -3
  156. package/studio-dist/server/chunks/{25-DfzOiH-v.js → 25-C3zQvWhi.js} +7 -7
  157. package/studio-dist/server/chunks/{26-QZ0qPvXm.js → 26-BrLSrIbM.js} +3 -3
  158. package/studio-dist/server/chunks/{3-C1KU7Jv5.js → 3-BYE4D6fR.js} +3 -3
  159. package/studio-dist/server/chunks/{_layout.svelte-CfNsm-gB.js → _layout.svelte-DtcT4CUZ.js} +4 -4
  160. package/studio-dist/server/chunks/{_page.svelte-DAR7a-cL.js → _page.svelte-BDGzaOK_.js} +3 -3
  161. package/studio-dist/server/chunks/{_page.svelte-BaLy8nED.js → _page.svelte-BNosY8H6.js} +3 -3
  162. package/studio-dist/server/chunks/{_page.svelte-B3cHMMCk.js → _page.svelte-Bi_w8dgB.js} +3 -3
  163. package/studio-dist/server/chunks/{_page.svelte-Cm7baYTO.js → _page.svelte-BwIhCguA.js} +4 -4
  164. package/studio-dist/server/chunks/{_page.svelte-gYvInO8m.js → _page.svelte-CwmOg_14.js} +3 -3
  165. package/studio-dist/server/chunks/{_page.svelte-D_YKs0-q.js → _page.svelte-CynzfzFn.js} +3 -3
  166. package/studio-dist/server/chunks/{_page.svelte-Dbwn5Vwl.js → _page.svelte-DSSjZ4Ij.js} +3 -3
  167. package/studio-dist/server/chunks/{_page.svelte-KvLu4lkw.js → _page.svelte-DTM0lmtF.js} +3 -3
  168. package/studio-dist/server/chunks/{_page.svelte-BAzLdXr_.js → _page.svelte-UqahgDJe.js} +6 -6
  169. package/studio-dist/server/chunks/{_server.ts-CW0ctEz2.js → _server.ts-BGBet--r.js} +3 -3
  170. package/studio-dist/server/chunks/{_server.ts-BmefNp5l.js → _server.ts-Bd-DDdja.js} +3 -3
  171. package/studio-dist/server/chunks/{_server.ts-BYWRofhy.js → _server.ts-DYJHq2oI.js} +2 -2
  172. package/studio-dist/server/chunks/{_server.ts-DSrw1-VA.js → _server.ts-Dkffekz1.js} +3 -3
  173. package/studio-dist/server/chunks/{_server.ts-DUkqomD_.js → _server.ts-JAeH5Mds.js} +3 -3
  174. package/studio-dist/server/chunks/{client-Bp8Zz31o.js → client-Cqhr1-Zy.js} +2 -2
  175. package/studio-dist/server/chunks/{error.svelte-DbOJOSFA.js → error.svelte-ChgNISJ7.js} +3 -3
  176. package/studio-dist/server/chunks/{http-BG47-h-E.js → http-C02RnABR.js} +2 -2
  177. package/studio-dist/server/chunks/{internal-CgCkizDO.js → internal-DZfMPAsi.js} +2 -2
  178. package/studio-dist/server/chunks/{operations-registry-B6xgg0Je.js → operations-registry-DtRhMtMw.js} +7 -1
  179. package/studio-dist/server/chunks/{stores-BYbOhDLg.js → stores-BMGs1iV0.js} +2 -2
  180. package/studio-dist/server/index.js +1 -1
  181. package/studio-dist/server/manifest.js +17 -17
  182. package/dist/cli/go-VGOX7KDL.js +0 -206
  183. package/dist/cli/goal-DQHIX4HW.js +0 -303
  184. package/studio-dist/client/_app/immutable/chunks/B2LpF4Un.js +0 -3
  185. package/studio-dist/client/_app/immutable/chunks/o_cbWkPf.js +0 -1
  186. package/studio-dist/client/_app/immutable/entry/start.Ba7MpyOb.js +0 -1
  187. package/studio-dist/server/chunks/1-B4bOWYWI.js +0 -9
@@ -1,12 +1,12 @@
1
1
  import { x as head, p as escape_html, j as ensure_array_like, m as attr_class, k as attr, t as attr_style, w as derived, v as stringify } from './dev-Br5zieNA.js';
2
- import { g as goto } from './client-Bp8Zz31o.js';
2
+ import { g as goto } from './client-Cqhr1-Zy.js';
3
3
  import { a as Breadcrumb, C as Card } from './Tabs-DQKDflnT.js';
4
4
  import { C as ChipGroup, b as Chip } from './ui-CkQ-pCs3.js';
5
5
  import { d as describeEdgeKind, E as EDGE_STYLE } from './no-face-up-B_3h6Hgs.js';
6
6
  import { C as CosmosRenderer, b as adaptNexusRows } from './nexus-adapter-D1ryYG1Z.js';
7
7
  import './index-server-BgfA6C0S.js';
8
8
  import 'node:module';
9
- import './internal-CgCkizDO.js';
9
+ import './internal-DZfMPAsi.js';
10
10
  import './utils-g564cUMV.js';
11
11
  import './cluster-label-layer-CysRMvhi.js';
12
12
 
@@ -184,4 +184,4 @@ function _page($$renderer, $$props) {
184
184
  }
185
185
 
186
186
  export { _page as default };
187
- //# sourceMappingURL=_page.svelte-KvLu4lkw.js.map
187
+ //# sourceMappingURL=_page.svelte-DTM0lmtF.js.map
@@ -1,16 +1,16 @@
1
1
  import { o as store_get, x as head, m as attr_class, p as escape_html, k as attr, j as ensure_array_like, t as attr_style, q as unsubscribe_stores, w as derived, v as stringify } from './dev-Br5zieNA.js';
2
2
  import 'node:module';
3
- import { p as page } from './stores-BYbOhDLg.js';
3
+ import { p as page } from './stores-BMGs1iV0.js';
4
4
  import { T as TaskSearchBox, F as FilterChipGroup, L as LabelsFilter, H as HierarchyTab, G as GraphTab, K as KanbanTab, E as EpicProgressCard, R as RecentActivityFeed, D as DetailDrawer } from './tasks-sWuEmiGW.js';
5
- import './client-Bp8Zz31o.js';
6
- import { T as TASK_STATUSES } from './25-DfzOiH-v.js';
5
+ import './client-Cqhr1-Zy.js';
6
+ import { T as TASK_STATUSES } from './25-C3zQvWhi.js';
7
7
  import './index-server-BgfA6C0S.js';
8
8
  import '@cleocode/core/tasks/agent-lifecycle-lane';
9
9
  import './StatBlock-jNsxycS1.js';
10
10
  import './Tabs-DQKDflnT.js';
11
11
  import './ui-CkQ-pCs3.js';
12
12
  import './no-face-up-B_3h6Hgs.js';
13
- import './internal-CgCkizDO.js';
13
+ import './internal-DZfMPAsi.js';
14
14
  import './utils-g564cUMV.js';
15
15
  import './connections2-DyYEcX2h.js';
16
16
  import './cleo-home-_XIqkZaL.js';
@@ -23,7 +23,7 @@ import '@cleocode/core';
23
23
  import '@cleocode/core/store/open-cleo-db';
24
24
  import '@cleocode/core/store/worktree-build-guard';
25
25
  import './explorer-loader-CP09K03H.js';
26
- import './operations-registry-B6xgg0Je.js';
26
+ import './operations-registry-DtRhMtMw.js';
27
27
  import '@cleocode/core/lifecycle/rollup';
28
28
  import '@cleocode/core/store/data-accessor';
29
29
  import '@cleocode/core/tasks/list';
@@ -487,4 +487,4 @@ function _page($$renderer, $$props) {
487
487
  }
488
488
 
489
489
  export { _page as default };
490
- //# sourceMappingURL=_page.svelte-BAzLdXr_.js.map
490
+ //# sourceMappingURL=_page.svelte-UqahgDJe.js.map
@@ -1,6 +1,6 @@
1
- import { c as createSseStream, S as SSE_HEADERS } from './http-BG47-h-E.js';
1
+ import { c as createSseStream, S as SSE_HEADERS } from './http-C02RnABR.js';
2
2
  import { g as getTasksDb } from './connections2-DyYEcX2h.js';
3
- import './operations-registry-B6xgg0Je.js';
3
+ import './operations-registry-DtRhMtMw.js';
4
4
  import '@cleocode/core';
5
5
  import '@cleocode/core/memory/brain-writer-thread';
6
6
  import 'path';
@@ -66,4 +66,4 @@ var GET = ({ locals, request }) => {
66
66
  };
67
67
 
68
68
  export { GET };
69
- //# sourceMappingURL=_server.ts-CW0ctEz2.js.map
69
+ //# sourceMappingURL=_server.ts-BGBet--r.js.map
@@ -1,8 +1,8 @@
1
- import { c as createSseStream, S as SSE_HEADERS, a as encodeStreamEvent } from './http-BG47-h-E.js';
1
+ import { c as createSseStream, S as SSE_HEADERS, a as encodeStreamEvent } from './http-C02RnABR.js';
2
2
  import { c as resolveGatewayBaseUrl } from './_dispatch-DTWViLGL.js';
3
3
  import { getTaskAccessor } from '@cleocode/core/store/data-accessor';
4
4
  import { listTasks } from '@cleocode/core/tasks/list';
5
- import './operations-registry-B6xgg0Je.js';
5
+ import './operations-registry-DtRhMtMw.js';
6
6
  import '@cleocode/core';
7
7
  import '@cleocode/core/memory/brain-writer-thread';
8
8
  import 'path';
@@ -133,4 +133,4 @@ var GET = async ({ locals, url, request }) => {
133
133
  };
134
134
 
135
135
  export { GET };
136
- //# sourceMappingURL=_server.ts-BmefNp5l.js.map
136
+ //# sourceMappingURL=_server.ts-Bd-DDdja.js.map
@@ -13,7 +13,7 @@ import '@cleocode/core/store/open-cleo-db';
13
13
  import '@cleocode/core/store/worktree-build-guard';
14
14
 
15
15
  //#region package.json
16
- var version = "2026.10.18";
16
+ var version = "2026.10.19";
17
17
  //#endregion
18
18
  //#region src/routes/api/health/+server.ts
19
19
  /**
@@ -120,4 +120,4 @@ var GET = ({ locals }) => {
120
120
  };
121
121
 
122
122
  export { GET };
123
- //# sourceMappingURL=_server.ts-BYWRofhy.js.map
123
+ //# sourceMappingURL=_server.ts-DYJHq2oI.js.map
@@ -1,7 +1,7 @@
1
- import { c as createSseStream, S as SSE_HEADERS } from './http-BG47-h-E.js';
1
+ import { c as createSseStream, S as SSE_HEADERS } from './http-C02RnABR.js';
2
2
  import { metrics } from '@cleocode/core';
3
3
  import { listSessions } from '@cleocode/core/sessions';
4
- import './operations-registry-B6xgg0Je.js';
4
+ import './operations-registry-DtRhMtMw.js';
5
5
  import '@cleocode/core/memory/brain-writer-thread';
6
6
  import 'path';
7
7
 
@@ -138,4 +138,4 @@ var GET = ({ locals, params, request }) => {
138
138
  };
139
139
 
140
140
  export { GET };
141
- //# sourceMappingURL=_server.ts-DSrw1-VA.js.map
141
+ //# sourceMappingURL=_server.ts-Dkffekz1.js.map
@@ -1,6 +1,6 @@
1
- import { c as createSseStream, S as SSE_HEADERS, e as encodeSseFrame } from './http-BG47-h-E.js';
1
+ import { c as createSseStream, S as SSE_HEADERS, e as encodeSseFrame } from './http-C02RnABR.js';
2
2
  import { a as getBrainDb, g as getTasksDb, c as getConduitDb } from './connections2-DyYEcX2h.js';
3
- import './operations-registry-B6xgg0Je.js';
3
+ import './operations-registry-DtRhMtMw.js';
4
4
  import '@cleocode/core';
5
5
  import '@cleocode/core/memory/brain-writer-thread';
6
6
  import 'path';
@@ -276,4 +276,4 @@ var GET = ({ locals, request }) => {
276
276
  };
277
277
 
278
278
  export { GET };
279
- //# sourceMappingURL=_server.ts-DUkqomD_.js.map
279
+ //# sourceMappingURL=_server.ts-JAeH5Mds.js.map
@@ -1,5 +1,5 @@
1
1
  import { i as index_server_exports } from './index-server-BgfA6C0S.js';
2
- import './internal-CgCkizDO.js';
2
+ import './internal-DZfMPAsi.js';
3
3
  import './utils-g564cUMV.js';
4
4
  import { n as noop } from './dev-Br5zieNA.js';
5
5
 
@@ -42,4 +42,4 @@ function goto(url, opts = {}) {
42
42
  }
43
43
 
44
44
  export { goto as g };
45
- //# sourceMappingURL=client-Bp8Zz31o.js.map
45
+ //# sourceMappingURL=client-Cqhr1-Zy.js.map
@@ -1,8 +1,8 @@
1
1
  import { g as getContext, p as escape_html } from './dev-Br5zieNA.js';
2
2
  import 'node:module';
3
- import './client-Bp8Zz31o.js';
3
+ import './client-Cqhr1-Zy.js';
4
4
  import './index-server-BgfA6C0S.js';
5
- import './internal-CgCkizDO.js';
5
+ import './internal-DZfMPAsi.js';
6
6
  import './utils-g564cUMV.js';
7
7
 
8
8
  //#endregion
@@ -65,4 +65,4 @@ function Error$1($$renderer, $$props) {
65
65
  }
66
66
 
67
67
  export { Error$1 as default };
68
- //# sourceMappingURL=error.svelte-DbOJOSFA.js.map
68
+ //# sourceMappingURL=error.svelte-ChgNISJ7.js.map
@@ -1,4 +1,4 @@
1
- import { O as OPERATIONS$1 } from './operations-registry-B6xgg0Je.js';
1
+ import { O as OPERATIONS$1 } from './operations-registry-DtRhMtMw.js';
2
2
  import '@cleocode/core';
3
3
  import '@cleocode/core/memory/brain-writer-thread';
4
4
  import 'path';
@@ -108,4 +108,4 @@ function createSseStream(source, signal) {
108
108
  }
109
109
 
110
110
  export { SSE_HEADERS as S, encodeStreamEvent as a, createSseStream as c, encodeSseFrame as e };
111
- //# sourceMappingURL=http-BG47-h-E.js.map
111
+ //# sourceMappingURL=http-C02RnABR.js.map
@@ -1430,7 +1430,7 @@ var options = {
1430
1430
  app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\" data-theme=\"dark\">\n <head>\n <meta charset=\"utf-8\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <meta name=\"color-scheme\" content=\"dark\" />\n <title>CLEO Studio</title>\n " + head + "\n </head>\n <body class=\"cleo-root\" data-sveltekit-preload-data=\"hover\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
1431
1431
  error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <title>" + message + "</title>\n\n <style>\n body {\n --bg: white;\n --fg: #222;\n --divider: #ccc;\n background: var(--bg);\n color: var(--fg);\n font-family:\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n 'Open Sans',\n 'Helvetica Neue',\n sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100vh;\n margin: 0;\n }\n\n .error {\n display: flex;\n align-items: center;\n max-width: 32rem;\n margin: 0 1rem;\n }\n\n .status {\n font-weight: 200;\n font-size: 3rem;\n line-height: 1;\n position: relative;\n top: -0.05rem;\n }\n\n .message {\n border-left: 1px solid var(--divider);\n padding: 0 0 0 1rem;\n margin: 0 0 0 1rem;\n min-height: 2.5rem;\n display: flex;\n align-items: center;\n }\n\n .message h1 {\n font-weight: 400;\n font-size: 1em;\n margin: 0;\n }\n\n @media (prefers-color-scheme: dark) {\n body {\n --bg: #222;\n --fg: #ddd;\n --divider: #666;\n }\n }\n </style>\n </head>\n <body>\n <div class=\"error\">\n <span class=\"status\">" + status + "</span>\n <div class=\"message\">\n <h1>" + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n"
1432
1432
  },
1433
- version_hash: "12ubiin"
1433
+ version_hash: "4pi82c"
1434
1434
  };
1435
1435
  async function get_hooks() {
1436
1436
  let handle;
@@ -1453,4 +1453,4 @@ async function get_hooks() {
1453
1453
  }
1454
1454
 
1455
1455
  export { stringify as A, make_trackable as B, stringify$1 as C, read_implementation as D, split_remote_key as E, set_read_implementation as F, IN_WEBCONTAINER as I, NULL_BODY_STATUS as N, TRAILING_SLASH_PARAM as T, get_message as a, get_hooks as b, coalesce_to_error as c, INVALIDATED_PARAM as d, decode_pathname as e, find_route as f, get_status as g, normalize_path as h, disable_search as i, validate_layout_exports as j, validate_page_server_exports as k, validate_page_exports as l, merge_tracing as m, noop as n, options as o, parse as p, noop_span as q, create_remote_key as r, hash as s, compact as t, once as u, validate_layout_server_exports as v, with_request_store as w, normalize_error as x, resolve as y, parse_remote_arg as z };
1456
- //# sourceMappingURL=internal-CgCkizDO.js.map
1456
+ //# sourceMappingURL=internal-DZfMPAsi.js.map
@@ -9558,6 +9558,12 @@ var OPERATIONS = [
9558
9558
  type: "string",
9559
9559
  required: false,
9560
9560
  description: "Comma-separated task IDs forwarded as the plan scope for a task-scoped release"
9561
+ },
9562
+ {
9563
+ name: "ref",
9564
+ type: "string",
9565
+ required: false,
9566
+ description: "Branch to dispatch release-prepare on (release/plan-<version>: the plan + CHANGELOG commit on top of the default branch), so the bump PR carries the plan too"
9561
9567
  }
9562
9568
  ]
9563
9569
  },
@@ -10893,4 +10899,4 @@ var OPERATIONS = [
10893
10899
  ];
10894
10900
 
10895
10901
  export { OPERATIONS as O };
10896
- //# sourceMappingURL=operations-registry-B6xgg0Je.js.map
10902
+ //# sourceMappingURL=operations-registry-DtRhMtMw.js.map
@@ -1,6 +1,6 @@
1
1
  import { g as getContext } from './dev-Br5zieNA.js';
2
2
  import 'node:module';
3
- import './client-Bp8Zz31o.js';
3
+ import './client-Cqhr1-Zy.js';
4
4
 
5
5
  //#region ../../node_modules/.pnpm/@sveltejs+kit@2.57.1_@opentelemetry+api@1.9.0_@sveltejs+vite-plugin-svelte@5.1.1_svelte_e94e6db60b0c5f7146157d0facbe8042/node_modules/@sveltejs/kit/src/runtime/app/stores.js
6
6
  /**
@@ -30,4 +30,4 @@ var page = { subscribe(fn) {
30
30
  } };
31
31
 
32
32
  export { page as p };
33
- //# sourceMappingURL=stores-BYbOhDLg.js.map
33
+ //# sourceMappingURL=stores-BMGs1iV0.js.map
@@ -1,5 +1,5 @@
1
1
  import { _ as __commonJSMin } from './chunks/index-server-BgfA6C0S.js';
2
- import { c as coalesce_to_error, g as get_status, a as get_message, w as with_request_store, p as parse, o as options, I as IN_WEBCONTAINER, b as get_hooks, n as noop, T as TRAILING_SLASH_PARAM, d as INVALIDATED_PARAM, e as decode_pathname, f as find_route, h as normalize_path, i as disable_search, m as merge_tracing, v as validate_layout_server_exports, j as validate_layout_exports, k as validate_page_server_exports, l as validate_page_exports, q as noop_span, r as create_remote_key, s as hash, t as compact, u as once, x as normalize_error, y as resolve, z as parse_remote_arg, A as stringify, B as make_trackable, C as stringify$1, D as read_implementation, E as split_remote_key, N as NULL_BODY_STATUS, F as set_read_implementation } from './chunks/internal-CgCkizDO.js';
2
+ import { c as coalesce_to_error, g as get_status, a as get_message, w as with_request_store, p as parse, o as options, I as IN_WEBCONTAINER, b as get_hooks, n as noop, T as TRAILING_SLASH_PARAM, d as INVALIDATED_PARAM, e as decode_pathname, f as find_route, h as normalize_path, i as disable_search, m as merge_tracing, v as validate_layout_server_exports, j as validate_layout_exports, k as validate_page_server_exports, l as validate_page_exports, q as noop_span, r as create_remote_key, s as hash, t as compact, u as once, x as normalize_error, y as resolve, z as parse_remote_arg, A as stringify, B as make_trackable, C as stringify$1, D as read_implementation, E as split_remote_key, N as NULL_BODY_STATUS, F as set_read_implementation } from './chunks/internal-DZfMPAsi.js';
3
3
  import { H as HttpError, a as text_decoder, S as SvelteKitError, h as has_resolution_suffix, c as has_data_suffix, s as strip_resolution_suffix, d as strip_data_suffix, e as add_data_suffix, f as add_resolution_suffix, R as Redirect, t as text_encoder, A as ActionFailure, g as get_relative_path, i as base64_encode } from './chunks/utils-g564cUMV.js';
4
4
  import { j as json, t as text, e as error, i as isRedirect } from './chunks/exports-Dg-gdPPq.js';
5
5
  import { u as uneval, aa as writable, ab as readable } from './chunks/dev-Br5zieNA.js';
@@ -10,12 +10,12 @@ return {
10
10
  assets: new Set(["favicon.png"]),
11
11
  mimeTypes: {".png":"image/png"},
12
12
  _: {
13
- client: {start:"_app/immutable/entry/start.Ba7MpyOb.js",app:"_app/immutable/entry/app.z7HoH3aa.js",imports:["_app/immutable/entry/start.Ba7MpyOb.js","_app/immutable/chunks/B2LpF4Un.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/entry/app.z7HoH3aa.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/C6jhAnil.js","_app/immutable/chunks/B8WnZMYa.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
13
+ client: {start:"_app/immutable/entry/start.jrQAGYyE.js",app:"_app/immutable/entry/app.Coyo64_K.js",imports:["_app/immutable/entry/start.jrQAGYyE.js","_app/immutable/chunks/Ay1rLloA.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/entry/app.Coyo64_K.js","_app/immutable/chunks/DGftG5oL.js","_app/immutable/chunks/C6jhAnil.js","_app/immutable/chunks/B8WnZMYa.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
14
14
  nodes: [
15
- __memo(() => import('./chunks/0-DonWUng4.js')),
16
- __memo(() => import('./chunks/1-B4bOWYWI.js')),
15
+ __memo(() => import('./chunks/0-Bsyltjn-.js')),
16
+ __memo(() => import('./chunks/1-CZCYQoII.js')),
17
17
  __memo(() => import('./chunks/2-DQaIET_o.js')),
18
- __memo(() => import('./chunks/3-C1KU7Jv5.js')),
18
+ __memo(() => import('./chunks/3-BYE4D6fR.js')),
19
19
  __memo(() => import('./chunks/4-C9BMSh4K.js')),
20
20
  __memo(() => import('./chunks/5-C0CF4WKG.js')),
21
21
  __memo(() => import('./chunks/6-BWyOJust.js')),
@@ -27,18 +27,18 @@ return {
27
27
  __memo(() => import('./chunks/12-WE1u104t.js')),
28
28
  __memo(() => import('./chunks/13-joBDoxhK.js')),
29
29
  __memo(() => import('./chunks/14-Doj5F4uJ.js')),
30
- __memo(() => import('./chunks/15-TSfWXu_o.js')),
31
- __memo(() => import('./chunks/16-BO0cxoBu.js')),
32
- __memo(() => import('./chunks/17-C6Se03iK.js')),
33
- __memo(() => import('./chunks/18-DNGSK5Lj.js')),
30
+ __memo(() => import('./chunks/15-DZKx-Nmu.js')),
31
+ __memo(() => import('./chunks/16-BRAV8xop.js')),
32
+ __memo(() => import('./chunks/17-Ch7OAACT.js')),
33
+ __memo(() => import('./chunks/18-FHmJby11.js')),
34
34
  __memo(() => import('./chunks/19-BAQHPrMB.js')),
35
- __memo(() => import('./chunks/20-CUgxt-F9.js')),
35
+ __memo(() => import('./chunks/20-oWFR9Cot.js')),
36
36
  __memo(() => import('./chunks/21-qhGjkW41.js')),
37
37
  __memo(() => import('./chunks/22-Byy16hFA.js')),
38
38
  __memo(() => import('./chunks/23-D194DGVi.js')),
39
- __memo(() => import('./chunks/24-BAS-bXVN.js')),
40
- __memo(() => import('./chunks/25-DfzOiH-v.js').then(function (n) { return n._; })),
41
- __memo(() => import('./chunks/26-QZ0qPvXm.js')),
39
+ __memo(() => import('./chunks/24-BVQ9gcfO.js')),
40
+ __memo(() => import('./chunks/25-C3zQvWhi.js').then(function (n) { return n._; })),
41
+ __memo(() => import('./chunks/26-BrLSrIbM.js')),
42
42
  __memo(() => import('./chunks/27-Cqzlh9gZ.js')),
43
43
  __memo(() => import('./chunks/28-DeYe2rpm.js')),
44
44
  __memo(() => import('./chunks/29-d_lZvJg3.js')),
@@ -82,7 +82,7 @@ return {
82
82
  pattern: /^\/api\/brain\/stream\/?$/,
83
83
  params: [],
84
84
  page: null,
85
- endpoint: __memo(() => import('./chunks/_server.ts-DUkqomD_.js'))
85
+ endpoint: __memo(() => import('./chunks/_server.ts-JAeH5Mds.js'))
86
86
  },
87
87
  {
88
88
  id: "/api/brain/substrate/[name]",
@@ -110,7 +110,7 @@ return {
110
110
  pattern: /^\/api\/health\/?$/,
111
111
  params: [],
112
112
  page: null,
113
- endpoint: __memo(() => import('./chunks/_server.ts-BYWRofhy.js'))
113
+ endpoint: __memo(() => import('./chunks/_server.ts-DYJHq2oI.js'))
114
114
  },
115
115
  {
116
116
  id: "/api/memory/decision-store",
@@ -355,7 +355,7 @@ return {
355
355
  pattern: /^\/api\/tasks\/events\/?$/,
356
356
  params: [],
357
357
  page: null,
358
- endpoint: __memo(() => import('./chunks/_server.ts-CW0ctEz2.js'))
358
+ endpoint: __memo(() => import('./chunks/_server.ts-BGBet--r.js'))
359
359
  },
360
360
  {
361
361
  id: "/api/tasks/graph",
@@ -390,7 +390,7 @@ return {
390
390
  pattern: /^\/api\/tasks\/subscribe\/?$/,
391
391
  params: [],
392
392
  page: null,
393
- endpoint: __memo(() => import('./chunks/_server.ts-BmefNp5l.js'))
393
+ endpoint: __memo(() => import('./chunks/_server.ts-Bd-DDdja.js'))
394
394
  },
395
395
  {
396
396
  id: "/api/tasks/tree/[epicId]",
@@ -425,7 +425,7 @@ return {
425
425
  pattern: /^\/api\/tasks\/([^/]+?)\/stream\/?$/,
426
426
  params: [{"name":"id","optional":false,"rest":false,"chained":false}],
427
427
  page: null,
428
- endpoint: __memo(() => import('./chunks/_server.ts-DSrw1-VA.js'))
428
+ endpoint: __memo(() => import('./chunks/_server.ts-Dkffekz1.js'))
429
429
  },
430
430
  {
431
431
  id: "/api/tasks/[id]/transition",
@@ -1,206 +0,0 @@
1
- (() => {
2
- const _installed = Symbol.for('cleocode.cli.sqliteWarningFilter');
3
- if (globalThis[_installed]) return;
4
- globalThis[_installed] = true;
5
- const _origEmitWarning = process.emitWarning;
6
- process.emitWarning = function(warning, type, code, ctor) {
7
- if (typeof warning === 'object' && warning.name === 'ExperimentalWarning' && typeof warning.message === 'string' && /SQLite is an experimental feature/i.test(warning.message)) {
8
- return;
9
- }
10
- if (typeof warning === 'string' && /SQLite is an experimental feature/i.test(warning)) {
11
- return;
12
- }
13
- return _origEmitWarning.call(process, warning, type, code, ctor);
14
- };
15
- })();
16
- import "./chunk-C3B7C43W.js";
17
- import {
18
- executePlaybook,
19
- parsePlaybook
20
- } from "./chunk-NIS7EU53.js";
21
- import {
22
- defineCommand
23
- } from "./chunk-PKKZPOOP.js";
24
- import {
25
- cliOutput
26
- } from "./chunk-4RGSNUUP.js";
27
- import "./chunk-6JSJNYH2.js";
28
-
29
- // packages/cleo/src/cli/commands/go.ts
30
- import { getProjectRoot, go } from "@cleocode/core";
31
-
32
- // packages/cleo/src/cli/commands/go-ivtr-runner.ts
33
- import { resolvePlaybook } from "@cleocode/core";
34
- function buildGoIvtrRunner() {
35
- return runIvtrPlaybookTurn;
36
- }
37
- var runIvtrPlaybookTurn = async (taskId, options) => {
38
- const { projectRoot } = options;
39
- const resolved = resolvePlaybook("ivtr", { projectRoot });
40
- const parsed = parsePlaybook(resolved.source);
41
- const { seedIvtrForPlaybook, finalizeIvtrFromPlaybook, getDb, getNativeDb } = await import("@cleocode/core/internal");
42
- await seedIvtrForPlaybook(taskId, { cwd: projectRoot });
43
- await getDb(projectRoot);
44
- const db = getNativeDb(projectRoot);
45
- if (!db) {
46
- throw new Error("cleo go IVTR runner: tasks.db singleton was not initialized by getDb()");
47
- }
48
- const dispatcher = await buildGoDispatcher(projectRoot);
49
- const opts = {
50
- db,
51
- playbook: parsed.definition,
52
- playbookHash: parsed.sourceHash,
53
- initialContext: { taskId },
54
- dispatcher,
55
- projectRoot
56
- };
57
- if (options.epicId !== void 0) opts.epicId = options.epicId;
58
- if (options.sessionId !== void 0) opts.sessionId = options.sessionId;
59
- const result = await executePlaybook(opts);
60
- const finalizeOptions = {
61
- cwd: projectRoot,
62
- runId: result.runId,
63
- finalContext: result.finalContext
64
- };
65
- if (result.errorContext !== void 0) finalizeOptions.error = result.errorContext;
66
- await finalizeIvtrFromPlaybook(taskId, result.terminalStatus, finalizeOptions);
67
- const runResult = {
68
- taskId,
69
- runId: result.runId,
70
- terminalStatus: result.terminalStatus
71
- };
72
- return runResult;
73
- };
74
- var buildGoDispatcher = async (projectRoot) => {
75
- const { orchestrateSpawnExecute } = await import("@cleocode/runtime/gateway");
76
- const {
77
- createToolGuard,
78
- runSkillNodeOrSpawn,
79
- maybeCreatePiRunner,
80
- resolveCantbookNodeProfile,
81
- hasCantbookProfilePin
82
- } = await import("@cleocode/core/internal");
83
- const tools = createToolGuard({ allowedRoots: [projectRoot] });
84
- const runner = await maybeCreatePiRunner({ system: "task-executor", projectRoot });
85
- const resolveStageProfile = async (input) => {
86
- if (!hasCantbookProfilePin({
87
- profile: input.profile,
88
- model: input.model,
89
- provider: input.provider
90
- })) {
91
- return void 0;
92
- }
93
- const resolved = await resolveCantbookNodeProfile({
94
- playbookName: input.playbookName ?? "cantbook",
95
- nodeId: input.nodeId,
96
- pin: { profile: input.profile, model: input.model, provider: input.provider },
97
- projectRoot
98
- });
99
- return {
100
- [`${input.nodeId}_llm`]: {
101
- provider: resolved.provider,
102
- model: resolved.model,
103
- source: resolved.source,
104
- profile: input.profile ?? null
105
- }
106
- };
107
- };
108
- const spawn = async (input) => {
109
- const result = await orchestrateSpawnExecute(
110
- input.taskId,
111
- /* adapterId */
112
- void 0,
113
- /* protocolType */
114
- void 0,
115
- projectRoot,
116
- /* tier */
117
- void 0
118
- );
119
- if (result.success) {
120
- return {
121
- status: "success",
122
- output: {
123
- [`${input.nodeId}_spawn`]: true,
124
- nodeId: input.nodeId,
125
- agentId: input.agentId,
126
- dispatchData: result.data ?? null
127
- }
128
- };
129
- }
130
- return {
131
- status: "failure",
132
- output: {},
133
- error: result.error?.message ?? `spawn failed for ${input.agentId}`
134
- };
135
- };
136
- return {
137
- async dispatch(input) {
138
- try {
139
- const llmHint = await resolveStageProfile(input);
140
- const result = await runSkillNodeOrSpawn(
141
- { nodeId: input.nodeId, agentId: input.agentId, context: input.context },
142
- {
143
- tools,
144
- cwd: projectRoot,
145
- subprocessSpawn: () => spawn(input),
146
- ...runner !== void 0 ? { runner } : {}
147
- }
148
- );
149
- if (llmHint !== void 0 && result.status === "success") {
150
- return { ...result, output: { ...result.output, ...llmHint } };
151
- }
152
- return result;
153
- } catch (err) {
154
- return {
155
- status: "failure",
156
- output: {},
157
- error: err instanceof Error ? err.message : String(err)
158
- };
159
- }
160
- }
161
- };
162
- };
163
-
164
- // packages/cleo/src/cli/commands/go.ts
165
- var goCommand = defineCommand({
166
- meta: {
167
- name: "go",
168
- description: "SG-AUTOPILOT: run one turn of briefing\u2192sagaNext\u2192ready\u2192stage-branch\u2192ivtr loop"
169
- },
170
- args: {
171
- saga: {
172
- type: "string",
173
- description: "Optional saga task ID to scope the autopilot run (default: auto-select)",
174
- required: false
175
- },
176
- headless: {
177
- type: "boolean",
178
- description: "Suppress interactive annotations; suitable for daemon / unattended use",
179
- required: false
180
- }
181
- },
182
- async run({ args }) {
183
- const projectRoot = getProjectRoot();
184
- const { getCurrentSessionId, resolveBoundSessionId } = await import("@cleocode/core/internal");
185
- let sessionId = getCurrentSessionId(projectRoot) ?? void 0;
186
- if (sessionId === void 0) {
187
- try {
188
- sessionId = await resolveBoundSessionId(projectRoot) ?? void 0;
189
- } catch {
190
- }
191
- }
192
- const params = {
193
- headless: args.headless === true,
194
- projectRoot,
195
- ivtrRunner: buildGoIvtrRunner()
196
- };
197
- if (typeof args.saga === "string" && args.saga.length > 0) params.sagaId = args.saga;
198
- if (sessionId !== void 0) params.sessionId = sessionId;
199
- const result = await go.cleoGo(params);
200
- cliOutput(result.success ? result.data : result, { command: "go", operation: "go.run" });
201
- }
202
- });
203
- export {
204
- goCommand
205
- };
206
- //# sourceMappingURL=go-VGOX7KDL.js.map