very-happy-cli 0.2.186 → 0.2.188

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 (204) hide show
  1. package/dist/{AcpBackend-ConXUH67.mjs → AcpBackend-2loP7MpF.mjs} +3 -3
  2. package/dist/{AcpBackend-aVv-_nH_.cjs → AcpBackend-B8AYkp5n.cjs} +3 -3
  3. package/dist/{AcpSessionManager-BxD1AQ8L.mjs → AcpSessionManager-C17doAoR.mjs} +2 -2
  4. package/dist/{AcpSessionManager-aRdzf_6R.cjs → AcpSessionManager-CLqo9R9Y.cjs} +2 -2
  5. package/dist/{BasePermissionHandler-BsOLZCNB.cjs → BasePermissionHandler-C8UEcFz0.cjs} +1 -1
  6. package/dist/{BasePermissionHandler-Hj7Qregq.mjs → BasePermissionHandler-CrfyUmqO.mjs} +1 -1
  7. package/dist/{acpSessionResume-CKacrrHV.mjs → acpSessionResume-F705a1cF.mjs} +1 -1
  8. package/dist/{acpSessionResume-CpPNoxaW.cjs → acpSessionResume-OuYlLGxL.cjs} +1 -1
  9. package/dist/{agentHome-CawmLuWV.mjs → agentHome-Dc7LYF3d.mjs} +4 -4
  10. package/dist/{agentHome-VS7FrFQZ.cjs → agentHome-DsKHJ_Sf.cjs} +4 -4
  11. package/dist/{api-DjqQTT16.cjs → api-BOqjYd5r.cjs} +10 -10
  12. package/dist/{api-DUFy21Nf.mjs → api-DNKa7kVy.mjs} +10 -10
  13. package/dist/{apiMachine-D2BrVBYu.cjs → apiMachine--rcPpMmt.cjs} +14 -14
  14. package/dist/{apiMachine-B0sBCHNZ.mjs → apiMachine-Di1G9ECW.mjs} +14 -14
  15. package/dist/{attachmentContent-2kInPZrP.cjs → attachmentContent-BFRMLong.cjs} +2 -2
  16. package/dist/{attachmentContent-D01-pLOB.mjs → attachmentContent-C9S4ekAz.mjs} +2 -2
  17. package/dist/{auth-DP3eN2Fv.mjs → auth-BNhhk2Fr.mjs} +5 -5
  18. package/dist/{auth-B-CqTcVh.mjs → auth-Bzwo_vOM.mjs} +8 -8
  19. package/dist/{auth-CujfCIv-.cjs → auth-CQtfznF0.cjs} +8 -8
  20. package/dist/{auth-CImUXAjH.cjs → auth-CXmI92aj.cjs} +5 -5
  21. package/dist/{auto-D4KRQIBu.mjs → auto-DHYOLnXB.mjs} +19 -19
  22. package/dist/{auto-oWgZl7mM.cjs → auto-DXLdaX5O.cjs} +19 -19
  23. package/dist/{bootstrap-MFmMruyB.mjs → bootstrap-Di38SnpN.mjs} +2 -2
  24. package/dist/{bootstrap-B7YvJcVK.cjs → bootstrap-eJ1l7VYl.cjs} +2 -2
  25. package/dist/{browser-CfFbN1Us.mjs → browser-6Cg7G6bb.mjs} +1 -1
  26. package/dist/{browser-C19iD31j.cjs → browser-D3uBFRQu.cjs} +1 -1
  27. package/dist/{claudeLocal-C4A7-BmS.cjs → claudeLocal-BBaE4QF_.cjs} +9 -8
  28. package/dist/{claudeLocal-C6wNx9qH.mjs → claudeLocal-CqaEs-81.mjs} +7 -6
  29. package/dist/{claudeLocalLauncher-DdPfufcS.mjs → claudeLocalLauncher-BDUPxtsI.mjs} +11 -11
  30. package/dist/{claudeLocalLauncher-BfCKs7Le.cjs → claudeLocalLauncher-wPxKtH_P.cjs} +11 -11
  31. package/dist/{claudeSessionFork-B8NjdHYD.cjs → claudeSessionFork-CmY25Fl3.cjs} +1 -1
  32. package/dist/{claudeSessionFork-D8XT48Lf.mjs → claudeSessionFork-DzWFzj9m.mjs} +1 -1
  33. package/dist/{client-jAdkYZRf.cjs → client-C2HcMqRF.cjs} +14 -5
  34. package/dist/{client-DAnQqPmc.mjs → client-DWws_aQK.mjs} +2 -2
  35. package/dist/{client-BfGuTBMO.mjs → client-DcDE6Ifk.mjs} +2 -2
  36. package/dist/{client-CMIhQ32m.cjs → client-DmY03OZZ.cjs} +2 -2
  37. package/dist/{client-CTNxuHVc.cjs → client-agH03Irm.cjs} +2 -2
  38. package/dist/{client-CKM07bJH.mjs → client-qJ0y8fus.mjs} +14 -5
  39. package/dist/codex/happyMcpStdioBridge.cjs +18 -17
  40. package/dist/codex/happyMcpStdioBridge.mjs +18 -17
  41. package/dist/{codexAppServerClient-DhOC61k9.mjs → codexAppServerClient-DgE99i7X.mjs} +39 -5
  42. package/dist/{codexAppServerClient-Dv1Mh3MS.cjs → codexAppServerClient-DwzC8LR0.cjs} +39 -5
  43. package/dist/{codexCommand-CWrFt3Ne.cjs → codexCommand-1vFEA1KT.cjs} +118 -60
  44. package/dist/{codexCommand-D3_i93Rm.mjs → codexCommand-DUSVzbKh.mjs} +115 -57
  45. package/dist/{codexTermination-B08GgahL.mjs → codexTermination-Bybovr2z.mjs} +1 -1
  46. package/dist/{codexTermination-DErS0cGt.cjs → codexTermination-DuDPyBRR.cjs} +1 -1
  47. package/dist/{config-D3OBduhj.mjs → config-BrzZ0O-6.mjs} +3 -3
  48. package/dist/{config-D_aj3xgw.cjs → config-C4xOL5bH.cjs} +3 -3
  49. package/dist/{configuration-DbCHeEeP.mjs → configuration-BZHpFD7K.mjs} +1 -1
  50. package/dist/{configuration-CI0GWwaT.cjs → configuration-DyPW9mVa.cjs} +1 -1
  51. package/dist/{connect-BuwVpjkZ.mjs → connect-Cw_INlj8.mjs} +13 -13
  52. package/dist/{connect-839tEkPN.cjs → connect-DurKwMEo.cjs} +13 -13
  53. package/dist/{context-zhirgqSw.cjs → context-2xDvjkQp.cjs} +1 -1
  54. package/dist/{context-D2Y_qLs0.mjs → context-t7YV0aZc.mjs} +1 -1
  55. package/dist/{controlClient-Dv80mB_j.mjs → controlClient-Bw56NIrj.mjs} +4 -4
  56. package/dist/{controlClient-BIi1tzEo.cjs → controlClient-DvFaPsg6.cjs} +3 -3
  57. package/dist/{createSessionMetadata-Dqy_DfoF.mjs → createSessionMetadata-Dn5BkLfU.mjs} +2 -2
  58. package/dist/{createSessionMetadata-DT24NjY2.cjs → createSessionMetadata-Dpg6bV6f.cjs} +2 -2
  59. package/dist/{defaultPermissionMode-yR27mevc.mjs → defaultPermissionMode-DMTnlccv.mjs} +2 -2
  60. package/dist/{defaultPermissionMode-BYqJbPhc.cjs → defaultPermissionMode-Dlm0q1m0.cjs} +2 -2
  61. package/dist/{deterministicJson-COiJcmUR.mjs → deterministicJson-CsRckxVq.mjs} +14 -14
  62. package/dist/{deterministicJson-CoWlyn_X.cjs → deterministicJson-D0BrV1FD.cjs} +14 -14
  63. package/dist/{doctor-Ymj096qP.mjs → doctor-B4HQiW6j.mjs} +7 -7
  64. package/dist/{doctor-DI6aIOne.cjs → doctor-CYe4d9kU.cjs} +7 -7
  65. package/dist/{downloadTarget-BOXHrxbm.cjs → downloadTarget-CuhBVvuC.cjs} +6 -6
  66. package/dist/{downloadTarget-DRXCRDub.mjs → downloadTarget-tYMV_VHo.mjs} +6 -6
  67. package/dist/{ensureDaemonRunning-BqNjYnar.cjs → ensureDaemonRunning-Ce3BlWiR.cjs} +5 -5
  68. package/dist/{ensureDaemonRunning-DTrrXAdz.mjs → ensureDaemonRunning-DVtIG9z7.mjs} +5 -5
  69. package/dist/{handleResumeCommand-DW_MRgtz.mjs → handleResumeCommand-BU1uMNyv.mjs} +5 -5
  70. package/dist/{handleResumeCommand-BBKUGhCv.cjs → handleResumeCommand-CLxsmAW0.cjs} +5 -5
  71. package/dist/{index-Cyu_8WAd.mjs → index-B1OxWiNG.mjs} +3 -3
  72. package/dist/{index-BumVulwx.cjs → index-BOe6dKnL.cjs} +215 -18
  73. package/dist/{index-04pYyzsJ.mjs → index-CVHRt3SS.mjs} +4 -4
  74. package/dist/{index-WW17yjQO.mjs → index-ChX0eVXw.mjs} +92 -46
  75. package/dist/{index-CmlAXizv.mjs → index-DDz0Ftoy.mjs} +7 -7
  76. package/dist/{index-D9lJhXUk.cjs → index-DG1kGjkF.cjs} +93 -47
  77. package/dist/{index-W8wlfp57.cjs → index-DoXbGEAi.cjs} +3 -3
  78. package/dist/{index-Bq6VHNdk.cjs → index-KwuXqLwe.cjs} +4 -4
  79. package/dist/{index-B9f1vKcC.mjs → index-WKyN-bNy.mjs} +212 -17
  80. package/dist/{index-CY573fnz.cjs → index-wWJJAQRk.cjs} +7 -7
  81. package/dist/index.cjs +2 -2
  82. package/dist/index.mjs +2 -2
  83. package/dist/{install-F3rP8tBU.mjs → install-B8O1JpJH.mjs} +1 -1
  84. package/dist/{install-BATFlr_l.cjs → install-BOHlqewf.cjs} +1 -1
  85. package/dist/{install-C5XCDwgD.mjs → install-CMa_FOWu.mjs} +3 -3
  86. package/dist/{install-C1y_g7kj.cjs → install-cAYvHxXR.cjs} +3 -3
  87. package/dist/lib.cjs +12 -12
  88. package/dist/lib.d.cts +6 -0
  89. package/dist/lib.d.mts +6 -0
  90. package/dist/lib.mjs +12 -12
  91. package/dist/{lidState-CZ1ggYiB.mjs → lidState-D-lsD1FS.mjs} +1 -1
  92. package/dist/{lidState-BxHu6dus.cjs → lidState-d1vgQ3n7.cjs} +1 -1
  93. package/dist/{localHappyAgentAuth-BHklNDKQ.cjs → localHappyAgentAuth-DucSnCg3.cjs} +1 -1
  94. package/dist/{localHappyAgentAuth-OJk4xDwg.mjs → localHappyAgentAuth-wvDp-nGj.mjs} +1 -1
  95. package/dist/{logger-L0pLBOLK.cjs → logger-C3vZG6Q0.cjs} +2 -2
  96. package/dist/{logger-CpaeM90D.mjs → logger-RpzJ4d8V.mjs} +2 -2
  97. package/dist/{machineMetadata-YeHF4gSY.cjs → machineMetadata-CAvFq1Jg.cjs} +3 -3
  98. package/dist/{machineMetadata-ukaYmmlK.mjs → machineMetadata-CiQ2_1Mq.mjs} +3 -3
  99. package/dist/{main-VyiAJXfb.cjs → main-ChpYcFZi.cjs} +46 -46
  100. package/dist/{main-pkH_VRP-.mjs → main-IPhaImjm.mjs} +46 -46
  101. package/dist/{mcp-Y8Xsr2Xh.cjs → mcp-2xF232hL.cjs} +15 -15
  102. package/dist/{mcp-BwoAhEnN.mjs → mcp-CWnMvju6.mjs} +15 -15
  103. package/dist/{mirrorProtocol-Did0-1jn.cjs → mirrorProtocol-CVzPObON.cjs} +3 -3
  104. package/dist/{mirrorProtocol-DukUp2Bj.mjs → mirrorProtocol-Dr7fNq8V.mjs} +3 -3
  105. package/dist/{package-DagIeOhi.mjs → package-CwB8rFJt.mjs} +10 -10
  106. package/dist/{package-BuATIMpK.cjs → package-Gnf_935w.cjs} +10 -10
  107. package/dist/{panels-CZ_CRUbM.cjs → panels-DTlTsndU.cjs} +5 -5
  108. package/dist/{panels-C3dUoUbA.mjs → panels-L1mSkC-y.mjs} +5 -5
  109. package/dist/{peerTools-CUCqJ83-.mjs → peerTools-2_8Bw9PU.mjs} +5 -5
  110. package/dist/{peerTools-Cs3Ln6d0.cjs → peerTools-C1E5cQ86.cjs} +5 -5
  111. package/dist/{persistence-FgtDuVAP.mjs → persistence-Bn4qEbDg.mjs} +2 -2
  112. package/dist/{persistence-CIzOAWK6.cjs → persistence-CqtjFiD1.cjs} +2 -2
  113. package/dist/{piRunnerArgs-CJhXFPM9.cjs → piRunnerArgs-BI8yQRBZ.cjs} +1 -1
  114. package/dist/{piRunnerArgs-YbYkfixz.mjs → piRunnerArgs-DWBb63W9.mjs} +1 -1
  115. package/dist/{piRuntime-CEzoAYHe.cjs → piRuntime--mQ43MSM.cjs} +2 -2
  116. package/dist/{piRuntime-CShuw-1A.mjs → piRuntime-Do8oqbm3.mjs} +2 -2
  117. package/dist/{piTerminal-DVr2W6bI.cjs → piTerminal-BzcvLFsP.cjs} +18 -18
  118. package/dist/{piTerminal-BvvcgVoW.mjs → piTerminal-GC1KHTYQ.mjs} +18 -18
  119. package/dist/promptCacheTtl-B8PCzE6k.cjs +76 -0
  120. package/dist/promptCacheTtl-Ce0TVbrx.mjs +72 -0
  121. package/dist/{pushNotifications-2CyhYAte.mjs → pushNotifications-BThg4nVd.mjs} +3 -3
  122. package/dist/{pushNotifications-OtQY-Mfa.cjs → pushNotifications-Bb-QSqXw.cjs} +3 -3
  123. package/dist/{query-DimRl61I.cjs → query-Bz3pocKH.cjs} +5 -4
  124. package/dist/{query-B7DvMlYM.mjs → query-CkgIJ_Dy.mjs} +3 -2
  125. package/dist/{specialCommands-ByrcSYSh.cjs → rateLimitReporter-BkHyvLru.cjs} +3 -55
  126. package/dist/{specialCommands-B-DAeFrU.mjs → rateLimitReporter-Iw4k3Bbr.mjs} +4 -55
  127. package/dist/{rateLimitWindows-DwhrA5wy.cjs → rateLimitWindows-Bm_dcQGW.cjs} +1 -1
  128. package/dist/{rateLimitWindows-C0zbGT7K.mjs → rateLimitWindows-CQ4tIQnx.mjs} +1 -1
  129. package/dist/{registerCommonHandlers-De54jKz8.cjs → registerCommonHandlers-CIs6H2DV.cjs} +2 -2
  130. package/dist/{registerCommonHandlers-X9lnO2TF.mjs → registerCommonHandlers-CaWl9ll1.mjs} +2 -2
  131. package/dist/{remoteSessionClient-9j3N_bzV.cjs → remoteSessionClient-DgUMfPW4.cjs} +5 -5
  132. package/dist/{remoteSessionClient-BApor-c2.mjs → remoteSessionClient-uPj7omsw.mjs} +5 -5
  133. package/dist/{reportProgressTool-RR5VkbDf.cjs → reportProgressTool-CaJ8EwLq.cjs} +3 -3
  134. package/dist/{reportProgressTool-6mDoxKuq.mjs → reportProgressTool-DUEq3xAL.mjs} +3 -3
  135. package/dist/{resources-CqwHPhdK.cjs → resources-BZ_Be0qM.cjs} +1 -1
  136. package/dist/{resources-CLdQfe3b.mjs → resources-CLP_MpK4.mjs} +1 -1
  137. package/dist/{run-CmA3cPD_.mjs → run-DTUJBD6p.mjs} +37 -37
  138. package/dist/{run-B2ZorDI7.cjs → run-DyyGMqND.cjs} +37 -37
  139. package/dist/{runClaude-Dk73bQ0n.cjs → runClaude-8JDaPoGQ.cjs} +22 -22
  140. package/dist/{runClaude-bxwea9mX.mjs → runClaude-DTNvIz2J.mjs} +22 -22
  141. package/dist/{runClaudeDeps-dVfReVd4.cjs → runClaudeDeps-BeLo5zss.cjs} +84 -55
  142. package/dist/{runClaudeDeps-DoaYM017.mjs → runClaudeDeps-CgGkgg7e.mjs} +86 -56
  143. package/dist/{runGemini-BD-wQe5q.cjs → runGemini-BSOdU563.cjs} +55 -51
  144. package/dist/{runGemini-Dq2iv4UF.mjs → runGemini-eU8UOzfc.mjs} +53 -49
  145. package/dist/{runOpenClaw-BXLv_bvU.cjs → runOpenClaw-CYyFoGRZ.cjs} +30 -26
  146. package/dist/{runOpenClaw-C1NB1aLx.mjs → runOpenClaw-D8RZiA1e.mjs} +28 -24
  147. package/dist/{sandbox-9MIBf8kS.cjs → sandbox-C8zfNX-4.cjs} +4 -4
  148. package/dist/{sandbox-Dqs_T8Jw.mjs → sandbox-DlPahdhl.mjs} +4 -4
  149. package/dist/selfCheck-4bcdHPFQ.mjs +86 -0
  150. package/dist/{selfCheck-CkUezhrg.cjs → selfCheck-D28nvuPJ.cjs} +37 -37
  151. package/dist/{send-rdhpycNB.cjs → send-C58kX4qz.cjs} +8 -8
  152. package/dist/{send-4q066vij.mjs → send-DBpv-1eh.mjs} +8 -8
  153. package/dist/{server-DxTjt1mK.cjs → server-I_CETZzn.cjs} +6 -6
  154. package/dist/{server-DN6TvjhP.mjs → server-J5K6pOox.mjs} +4 -4
  155. package/dist/{sessionLock-DOsE5UUf.mjs → sessionLock-C7Wg1RVd.mjs} +3 -3
  156. package/dist/{sessionLock-h4162Jrf.cjs → sessionLock-DjE7O0LS.cjs} +3 -3
  157. package/dist/{sessionOps--9p2IzVA.mjs → sessionOps-CYjMT7Ad.mjs} +4 -4
  158. package/dist/{sessionOps-tmBKG5qg.cjs → sessionOps-DGMpl9NB.cjs} +4 -4
  159. package/dist/{sessionProvider-B9w7rFDR.cjs → sessionProvider-DVtxrOuM.cjs} +5 -5
  160. package/dist/{sessionProvider-C6MHJZ9Z.mjs → sessionProvider-TLiFn9kD.mjs} +5 -5
  161. package/dist/{sessionScanner-Bgvz8Uiy.cjs → sessionScanner-BZ1ZSn6I.cjs} +3 -3
  162. package/dist/{sessionScanner-B6hzp5R9.mjs → sessionScanner-CknV1IlN.mjs} +3 -3
  163. package/dist/{sessions-DJMVXKRz.cjs → sessions-CTkBKs5U.cjs} +10 -10
  164. package/dist/{sessions-iItaUQAF.mjs → sessions-DU4bxkap.mjs} +10 -10
  165. package/dist/{setupOfflineReconnection-DL4HUMDJ.cjs → setupOfflineReconnection-CQHNuP_0.cjs} +2 -2
  166. package/dist/{setupOfflineReconnection-DF78nz1N.mjs → setupOfflineReconnection-DaOXnGuH.mjs} +2 -2
  167. package/dist/{spawn-CL9A8dBJ.cjs → spawn-C0wZc03S.cjs} +67 -25
  168. package/dist/{spawn-CoYfACsc.mjs → spawn-DdnYTtQe.mjs} +67 -26
  169. package/dist/{spawnAgents-DsJSyLDl.cjs → spawnAgents-BjyU78Ue.cjs} +21 -9
  170. package/dist/{spawnAgents-f2q31uUV.mjs → spawnAgents-D-7wMw-a.mjs} +21 -10
  171. package/dist/{spawnHappyCLI-BWOub_Uf.cjs → spawnHappyCLI-BJUd974I.cjs} +1 -1
  172. package/dist/{spawnHappyCLI-BcSO1rF6.mjs → spawnHappyCLI-CnyyJk74.mjs} +1 -1
  173. package/dist/{registerKillSessionHandler-CAif4Uz4.cjs → specialCommands-BsvSoDhC.cjs} +91 -6
  174. package/dist/{registerKillSessionHandler-CrLsN5m3.mjs → specialCommands-DHU7TNeK.mjs} +88 -7
  175. package/dist/{startFileWatcher-DVia64Vg.mjs → startFileWatcher-CpO5Mwbr.mjs} +1 -1
  176. package/dist/{startFileWatcher-BZrpUz7_.cjs → startFileWatcher-DBboREco.cjs} +1 -1
  177. package/dist/{startupSessionCreate-CY4tPjlZ.mjs → startupSessionCreate-BgaVuvQp.mjs} +1 -1
  178. package/dist/{startupSessionCreate-63ABDnfJ.cjs → startupSessionCreate-C1u2dtz8.cjs} +1 -1
  179. package/dist/{streamRelay-B3FloUTT.mjs → streamRelay-CqBynIon.mjs} +1 -1
  180. package/dist/{streamRelay-Cn_uGG6m.cjs → streamRelay-D9a4cBEa.cjs} +1 -1
  181. package/dist/{sync-CKSmwxec.cjs → sync-6HFRJP1h.cjs} +1 -1
  182. package/dist/{sync-CZjyTC4v.mjs → sync-I8NYmycF.mjs} +1 -1
  183. package/dist/{systemPrompt-BPzhf5d5.cjs → systemPrompt-BDWj5QSL.cjs} +2 -2
  184. package/dist/{systemPrompt-BKUVX-fd.mjs → systemPrompt-C1RSY_60.mjs} +2 -2
  185. package/dist/{teams-B2-KPjRg.mjs → teams-GpLFbXXE.mjs} +9 -9
  186. package/dist/{teams-CHBszdmc.cjs → teams-eUD7ymif.cjs} +9 -9
  187. package/dist/{template-DPsqlHJQ.cjs → template-17HATY_Y.cjs} +1 -1
  188. package/dist/{template-DuKZw-Sz.mjs → template-CEK8MEjo.mjs} +1 -1
  189. package/dist/{time-DcICfW0N.cjs → time-BAJRbB6U.cjs} +1 -1
  190. package/dist/{time-BsNUVcKH.mjs → time-umG7yHkb.mjs} +1 -1
  191. package/dist/{titleGenerator-B4b4ah--.mjs → titleGenerator-dmFlxkRs.mjs} +1 -1
  192. package/dist/{titleGenerator-Bvk1mx7G.cjs → titleGenerator-iqb2jOF1.cjs} +2 -2
  193. package/dist/{todo-C7--CBge.mjs → todo-CT4AJ3sH.mjs} +6 -6
  194. package/dist/{todo-BN4hhun6.cjs → todo-DsR7WnQS.cjs} +6 -6
  195. package/dist/tools-30E66QL_.cjs +140 -0
  196. package/dist/tools-BOWazSD6.mjs +137 -0
  197. package/dist/{uninstall-_qDbgdxh.cjs → uninstall-BtTc9hHa.cjs} +3 -3
  198. package/dist/{uninstall-Bjwl9bqK.mjs → uninstall-DImXs6VZ.mjs} +3 -3
  199. package/package.json +10 -10
  200. package/dist/selfCheck-Dz_Sm7w8.mjs +0 -86
  201. package/dist/smallFastModel-BLNgMrwR.mjs +0 -18
  202. package/dist/smallFastModel-D_uxGMo3.cjs +0 -21
  203. package/dist/tools-BILbS8Hh.mjs +0 -60
  204. package/dist/tools-Bl5Q_6Nr.cjs +0 -63
@@ -1,7 +1,7 @@
1
- import { l as logger } from './logger-CpaeM90D.mjs';
1
+ import { l as logger } from './logger-RpzJ4d8V.mjs';
2
2
  import { p as prependToMessage, b as buildDigestLine, a as buildFirstTurnPrefix } from './prompt-QHuFx9j6.mjs';
3
- import { P as ProjectsUnsupportedError } from './client-DAnQqPmc.mjs';
4
- import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, P as PROJECT_TOOL_NAMES, r as registerAutomationTools, a as registerProjectTools, d as createProjectToolExecutor, b as registerReportProgressTool, n as normalizeAttention, e as normalizePhase, f as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-6mDoxKuq.mjs';
3
+ import { P as ProjectsUnsupportedError } from './client-DWws_aQK.mjs';
4
+ import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, P as PROJECT_TOOL_NAMES, r as registerAutomationTools, a as registerProjectTools, d as createProjectToolExecutor, b as registerReportProgressTool, n as normalizeAttention, e as normalizePhase, f as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-DUEq3xAL.mjs';
5
5
  import { readFileSync, constants } from 'node:fs';
6
6
  import { homedir } from 'node:os';
7
7
  import { join, dirname } from 'node:path';
@@ -9,24 +9,24 @@ import { z } from 'zod';
9
9
  import { p as piAgentDir } from './pi-CqyoZMjI.mjs';
10
10
  import { unlink, mkdir, open, rename } from 'node:fs/promises';
11
11
  import { randomUUID, createHash } from 'node:crypto';
12
- import { T as TeamConnectionPreflightError, S as SessionInOtherTeamError, c as createTeamsClient, t as teamRequest } from './client-CKM07bJH.mjs';
13
- import { t as teamScopePath, r as readTeamScope } from './context-D2Y_qLs0.mjs';
14
- import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps--9p2IzVA.mjs';
15
- import { T as TEAM_SKILL, a as TEAM_LEAD_PLAYBOOK } from './resources-CLdQfe3b.mjs';
16
- import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-BILbS8Hh.mjs';
17
- import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-CUCqJ83-.mjs';
12
+ import { T as TeamConnectionPreflightError, S as SessionInOtherTeamError, c as createTeamsClient, t as teamRequest } from './client-qJ0y8fus.mjs';
13
+ import { t as teamScopePath, r as readTeamScope } from './context-t7YV0aZc.mjs';
14
+ import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps-CYjMT7Ad.mjs';
15
+ import { T as TEAM_SKILL, a as TEAM_LEAD_PLAYBOOK } from './resources-CLP_MpK4.mjs';
16
+ import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-BOWazSD6.mjs';
17
+ import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-2_8Bw9PU.mjs';
18
18
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
19
19
  import { createServer } from 'node:http';
20
20
  import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
21
21
  import { C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, c as CLIPBOARD_MAX_BYTES } from './limits-DIo7rEBR.mjs';
22
- import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-DRXCRDub.mjs';
22
+ import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-tYMV_VHo.mjs';
23
23
  import { P as PREVIEW_TOOL_NAME, R as REPORT_PROGRESS_TOOL_NAME, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, c as PREVIEW_DOWNLOAD_PARAM_DESCRIPTION } from './agentGuidance-BDYt2Qy2.mjs';
24
24
  import { n as normalizeWebPanels, w as webPanelPath } from './webPanels-B2_C2-3g.mjs';
25
- import { b as readCredentialsForConfiguredRelay, r as readSettings } from './persistence-FgtDuVAP.mjs';
26
- import { g as getSessionNotificationBody } from './pushNotifications-2CyhYAte.mjs';
25
+ import { b as readCredentialsForConfiguredRelay, r as readSettings } from './persistence-Bn4qEbDg.mjs';
26
+ import { g as getSessionNotificationBody } from './pushNotifications-BThg4nVd.mjs';
27
27
  import { c as checkPreviewPath } from './previewPath-CXN4Vag0.mjs';
28
- import { x as ATTENTION_DISABLED_ERROR, y as ATTENTION_LIMITS, z as ownerBoardPostToRest, C as isAttentionBoardLocalId, O as OwnerBoardPostInputSchema, D as OwnerBoardUpdateInputSchema, E as OwnerBoardResolveInputSchema, F as OwnerBoardListInputSchema, G as ATTENTION_SESSION_CAPABILITY } from './index-B9f1vKcC.mjs';
29
- import { c as configuration } from './configuration-DbCHeEeP.mjs';
28
+ import { y as ATTENTION_DISABLED_ERROR, z as ATTENTION_LIMITS, C as ownerBoardPostToRest, D as isAttentionBoardLocalId, O as OwnerBoardPostInputSchema, E as OwnerBoardUpdateInputSchema, F as OwnerBoardResolveInputSchema, G as OwnerBoardListInputSchema, H as ATTENTION_SESSION_CAPABILITY } from './index-WKyN-bNy.mjs';
29
+ import { c as configuration } from './configuration-BZHpFD7K.mjs';
30
30
  import { createHash as createHash$1 } from 'crypto';
31
31
 
32
32
  function createProjectInjector(deps) {
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var logger = require('./logger-L0pLBOLK.cjs');
3
+ var logger = require('./logger-C3vZG6Q0.cjs');
4
4
  var prompt = require('./prompt-Bof2aQkI.cjs');
5
- var client = require('./client-CTNxuHVc.cjs');
6
- var reportProgressTool = require('./reportProgressTool-RR5VkbDf.cjs');
5
+ var client = require('./client-agH03Irm.cjs');
6
+ var reportProgressTool = require('./reportProgressTool-CaJ8EwLq.cjs');
7
7
  var node_fs = require('node:fs');
8
8
  var os = require('node:os');
9
9
  var path = require('node:path');
@@ -11,24 +11,24 @@ var z = require('zod');
11
11
  var pi = require('./pi-DlsrPCTa.cjs');
12
12
  var promises = require('node:fs/promises');
13
13
  var node_crypto = require('node:crypto');
14
- var client$1 = require('./client-jAdkYZRf.cjs');
15
- var context = require('./context-zhirgqSw.cjs');
16
- var sessionOps = require('./sessionOps-tmBKG5qg.cjs');
17
- var resources = require('./resources-CqwHPhdK.cjs');
18
- var tools = require('./tools-Bl5Q_6Nr.cjs');
19
- var peerTools = require('./peerTools-Cs3Ln6d0.cjs');
14
+ var client$1 = require('./client-C2HcMqRF.cjs');
15
+ var context = require('./context-2xDvjkQp.cjs');
16
+ var sessionOps = require('./sessionOps-DGMpl9NB.cjs');
17
+ var resources = require('./resources-BZ_Be0qM.cjs');
18
+ var tools = require('./tools-30E66QL_.cjs');
19
+ var peerTools = require('./peerTools-C1E5cQ86.cjs');
20
20
  var mcp_js = require('@modelcontextprotocol/sdk/server/mcp.js');
21
21
  var node_http = require('node:http');
22
22
  var streamableHttp_js = require('@modelcontextprotocol/sdk/server/streamableHttp.js');
23
23
  var limits = require('./limits-C-a7gr04.cjs');
24
- var downloadTarget = require('./downloadTarget-BOXHrxbm.cjs');
24
+ var downloadTarget = require('./downloadTarget-CuhBVvuC.cjs');
25
25
  var agentGuidance = require('./agentGuidance-BtBx2xxE.cjs');
26
26
  var webPanels = require('./webPanels-FCgFKvVe.cjs');
27
- var persistence = require('./persistence-CIzOAWK6.cjs');
28
- var pushNotifications = require('./pushNotifications-OtQY-Mfa.cjs');
27
+ var persistence = require('./persistence-CqtjFiD1.cjs');
28
+ var pushNotifications = require('./pushNotifications-Bb-QSqXw.cjs');
29
29
  var previewPath = require('./previewPath-B0rBdhy1.cjs');
30
- var index = require('./index-BumVulwx.cjs');
31
- var configuration = require('./configuration-CI0GWwaT.cjs');
30
+ var index = require('./index-BOe6dKnL.cjs');
31
+ var configuration = require('./configuration-DyPW9mVa.cjs');
32
32
  var require$$3 = require('crypto');
33
33
 
34
34
  function createProjectInjector(deps) {
@@ -1,17 +1,17 @@
1
1
  import chalk from 'chalk';
2
- import { c as configuration } from './configuration-DbCHeEeP.mjs';
3
- import { r as readSettings, g as readCredentials, d as readDaemonState } from './persistence-FgtDuVAP.mjs';
4
- import { a as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-Dv80mB_j.mjs';
2
+ import { c as configuration } from './configuration-BZHpFD7K.mjs';
3
+ import { r as readSettings, g as readCredentials, d as readDaemonState } from './persistence-Bn4qEbDg.mjs';
4
+ import { b as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-Bw56NIrj.mjs';
5
5
  import { findAllHappyProcesses } from './doctor-BPkYWSuq.mjs';
6
6
  import { statSync, realpathSync, existsSync, readdirSync } from 'node:fs';
7
7
  import { isAbsolute, resolve, dirname, basename, delimiter, join } from 'node:path';
8
8
  import { p as projectPath } from './projectPath-BTBIMB57.mjs';
9
- import { p as packageJson } from './package-DagIeOhi.mjs';
9
+ import { p as packageJson } from './package-CwB8rFJt.mjs';
10
10
  import { s as shareableSettingsSummary, c as collectRuntimeReadiness, S as SUPPORTED_NODE_LABEL, r as resolveClaudeCredentialReadiness, a as toolProbeLabel, b as daemonReadiness, d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
11
11
  import { c as credentialRelayProblem } from './authRelay-DhQhkBvX.mjs';
12
12
  import { d as deriveLocalCliUpdateSummary } from './cliUpdate-Y34VGe9Y.mjs';
13
13
  import { spawnSync } from 'node:child_process';
14
- import { c as piInstallCommand } from './piRunnerArgs-YbYkfixz.mjs';
14
+ import { c as piInstallCommand } from './piRunnerArgs-DWBb63W9.mjs';
15
15
 
16
16
  function shareSafeProcessLine(process2) {
17
17
  return `PID ${process2.pid}: command arguments hidden for privacy`;
@@ -311,8 +311,8 @@ ${typeLabels[type] || type}:`));
311
311
  }
312
312
  console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
313
313
  try {
314
- const { resolveAgentHomesForCli } = await import('./agentHome-CawmLuWV.mjs');
315
- const { describeAgentHome } = await import('./index-04pYyzsJ.mjs');
314
+ const { resolveAgentHomesForCli } = await import('./agentHome-Dc7LYF3d.mjs');
315
+ const { describeAgentHome } = await import('./index-CVHRt3SS.mjs');
316
316
  const homes = await resolveAgentHomesForCli();
317
317
  console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
318
318
  console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
3
  var chalk = require('chalk');
4
- var configuration = require('./configuration-CI0GWwaT.cjs');
5
- var persistence = require('./persistence-CIzOAWK6.cjs');
6
- var controlClient = require('./controlClient-BIi1tzEo.cjs');
4
+ var configuration = require('./configuration-DyPW9mVa.cjs');
5
+ var persistence = require('./persistence-CqtjFiD1.cjs');
6
+ var controlClient = require('./controlClient-DvFaPsg6.cjs');
7
7
  var doctor$1 = require('./doctor-u46qYYKX.cjs');
8
8
  var node_fs = require('node:fs');
9
9
  var path = require('node:path');
10
10
  var projectPath = require('./projectPath-C3ioB4Bu.cjs');
11
- var _package = require('./package-BuATIMpK.cjs');
11
+ var _package = require('./package-Gnf_935w.cjs');
12
12
  var doctorReadiness = require('./doctorReadiness-Dl6yRQCy.cjs');
13
13
  var authRelay = require('./authRelay-Dy1qU9td.cjs');
14
14
  var cliUpdate = require('./cliUpdate-DsKXPFYp.cjs');
15
15
  var node_child_process = require('node:child_process');
16
- var piRunnerArgs = require('./piRunnerArgs-CJhXFPM9.cjs');
16
+ var piRunnerArgs = require('./piRunnerArgs-BI8yQRBZ.cjs');
17
17
 
18
18
  function shareSafeProcessLine(process2) {
19
19
  return `PID ${process2.pid}: command arguments hidden for privacy`;
@@ -313,8 +313,8 @@ ${typeLabels[type] || type}:`));
313
313
  }
314
314
  console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
315
315
  try {
316
- const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-VS7FrFQZ.cjs'); });
317
- const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-Bq6VHNdk.cjs'); });
316
+ const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-DsKHJ_Sf.cjs'); });
317
+ const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-KwuXqLwe.cjs'); });
318
318
  const homes = await resolveAgentHomesForCli();
319
319
  console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
320
320
  console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
@@ -3,14 +3,14 @@
3
3
  var promises = require('node:fs/promises');
4
4
  var os = require('node:os');
5
5
  var z = require('zod');
6
- var logger = require('./logger-L0pLBOLK.cjs');
7
- var persistence = require('./persistence-CIzOAWK6.cjs');
8
- var controlClient = require('./controlClient-BIi1tzEo.cjs');
9
- var sessionOps = require('./sessionOps-tmBKG5qg.cjs');
10
- var remoteSessionClient = require('./remoteSessionClient-9j3N_bzV.cjs');
6
+ var logger = require('./logger-C3vZG6Q0.cjs');
7
+ var persistence = require('./persistence-CqtjFiD1.cjs');
8
+ var controlClient = require('./controlClient-DvFaPsg6.cjs');
9
+ var sessionOps = require('./sessionOps-DGMpl9NB.cjs');
10
+ var remoteSessionClient = require('./remoteSessionClient-DgUMfPW4.cjs');
11
11
  var ids = require('./ids-B6ZC0HGt.cjs');
12
12
  var terminals = require('./terminals-B_bfC9c2.cjs');
13
- var bootstrap = require('./bootstrap-B7YvJcVK.cjs');
13
+ var bootstrap = require('./bootstrap-eJ1l7VYl.cjs');
14
14
  var path = require('node:path');
15
15
 
16
16
  const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
@@ -1,14 +1,14 @@
1
1
  import { readFile, writeFile, appendFile, stat } from 'node:fs/promises';
2
2
  import os from 'node:os';
3
3
  import { z } from 'zod';
4
- import { l as logger } from './logger-CpaeM90D.mjs';
5
- import { c as readPersistedSessions } from './persistence-FgtDuVAP.mjs';
6
- import { e as spawnDaemonSession } from './controlClient-Dv80mB_j.mjs';
7
- import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl, g as waitForSessionKey, e as sendUserMessage, b as stopSession, d as archiveSession } from './sessionOps--9p2IzVA.mjs';
8
- import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-BApor-c2.mjs';
4
+ import { l as logger } from './logger-RpzJ4d8V.mjs';
5
+ import { c as readPersistedSessions } from './persistence-Bn4qEbDg.mjs';
6
+ import { g as spawnDaemonSession } from './controlClient-Bw56NIrj.mjs';
7
+ import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl, g as waitForSessionKey, e as sendUserMessage, b as stopSession, d as archiveSession } from './sessionOps-CYjMT7Ad.mjs';
8
+ import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-uPj7omsw.mjs';
9
9
  import { i as isValidSessionId, a as isValidTerminalId } from './ids-DU6sLx4C.mjs';
10
10
  import { l as listVhTerminals, r as readVhTerminal, s as sendToVhTerminal } from './terminals-Dlg0x3nY.mjs';
11
- import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-MFmMruyB.mjs';
11
+ import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-Di38SnpN.mjs';
12
12
  import { join, isAbsolute, normalize } from 'node:path';
13
13
 
14
14
  const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var logger = require('./logger-L0pLBOLK.cjs');
4
- var controlClient = require('./controlClient-BIi1tzEo.cjs');
5
- var spawnHappyCLI = require('./spawnHappyCLI-BWOub_Uf.cjs');
6
- var persistence = require('./persistence-CIzOAWK6.cjs');
7
- var configuration = require('./configuration-CI0GWwaT.cjs');
3
+ var logger = require('./logger-C3vZG6Q0.cjs');
4
+ var controlClient = require('./controlClient-DvFaPsg6.cjs');
5
+ var spawnHappyCLI = require('./spawnHappyCLI-BJUd974I.cjs');
6
+ var persistence = require('./persistence-CqtjFiD1.cjs');
7
+ var configuration = require('./configuration-DyPW9mVa.cjs');
8
8
  var doctorReadiness = require('./doctorReadiness-Dl6yRQCy.cjs');
9
9
 
10
10
  function extractNoSandboxFlag(args) {
@@ -1,8 +1,8 @@
1
- import { l as logger } from './logger-CpaeM90D.mjs';
2
- import { i as isDaemonRunningCurrentlyInstalledHappyVersion, a as checkIfDaemonRunningAndCleanupStaleState, s as stopDaemon } from './controlClient-Dv80mB_j.mjs';
3
- import { s as spawnHappyCLI } from './spawnHappyCLI-BcSO1rF6.mjs';
4
- import { d as readDaemonState } from './persistence-FgtDuVAP.mjs';
5
- import { c as configuration } from './configuration-DbCHeEeP.mjs';
1
+ import { l as logger } from './logger-RpzJ4d8V.mjs';
2
+ import { i as isDaemonRunningCurrentlyInstalledHappyVersion, b as checkIfDaemonRunningAndCleanupStaleState, s as stopDaemon } from './controlClient-Bw56NIrj.mjs';
3
+ import { s as spawnHappyCLI } from './spawnHappyCLI-CnyyJk74.mjs';
4
+ import { d as readDaemonState } from './persistence-Bn4qEbDg.mjs';
5
+ import { c as configuration } from './configuration-BZHpFD7K.mjs';
6
6
  import { d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
7
7
 
8
8
  function extractNoSandboxFlag(args) {
@@ -1,22 +1,22 @@
1
1
  import { existsSync } from 'node:fs';
2
- import { s as spawnHappyCLI } from './spawnHappyCLI-BcSO1rF6.mjs';
2
+ import { s as spawnHappyCLI } from './spawnHappyCLI-CnyyJk74.mjs';
3
3
  import axios, { AxiosError } from 'axios';
4
4
  import tweetnacl from 'tweetnacl';
5
5
  import { z } from 'zod';
6
6
  import { d as decodeBase64, a as decryptWithDataKey, b as decryptLegacy } from './authRelay-DhQhkBvX.mjs';
7
- import { c as configuration } from './configuration-DbCHeEeP.mjs';
8
- import { g as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials } from './localHappyAgentAuth-OJk4xDwg.mjs';
7
+ import { c as configuration } from './configuration-BZHpFD7K.mjs';
8
+ import { g as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials } from './localHappyAgentAuth-wvDp-nGj.mjs';
9
9
  import 'cross-spawn';
10
10
  import 'node:path';
11
11
  import './projectPath-BTBIMB57.mjs';
12
12
  import 'path';
13
13
  import 'url';
14
- import './logger-CpaeM90D.mjs';
14
+ import './logger-RpzJ4d8V.mjs';
15
15
  import 'chalk';
16
16
  import 'node:util';
17
17
  import 'node:crypto';
18
18
  import 'node:os';
19
- import './package-DagIeOhi.mjs';
19
+ import './package-CwB8rFJt.mjs';
20
20
  import 'node:fs/promises';
21
21
 
22
22
  const ResumableMetadataSchema = z.object({
@@ -1,24 +1,24 @@
1
1
  'use strict';
2
2
 
3
3
  var node_fs = require('node:fs');
4
- var spawnHappyCLI = require('./spawnHappyCLI-BWOub_Uf.cjs');
4
+ var spawnHappyCLI = require('./spawnHappyCLI-BJUd974I.cjs');
5
5
  var axios = require('axios');
6
6
  var tweetnacl = require('tweetnacl');
7
7
  var z = require('zod');
8
8
  var authRelay = require('./authRelay-Dy1qU9td.cjs');
9
- var configuration = require('./configuration-CI0GWwaT.cjs');
10
- var localHappyAgentAuth = require('./localHappyAgentAuth-BHklNDKQ.cjs');
9
+ var configuration = require('./configuration-DyPW9mVa.cjs');
10
+ var localHappyAgentAuth = require('./localHappyAgentAuth-DucSnCg3.cjs');
11
11
  require('cross-spawn');
12
12
  require('node:path');
13
13
  require('./projectPath-C3ioB4Bu.cjs');
14
14
  require('path');
15
15
  require('url');
16
- require('./logger-L0pLBOLK.cjs');
16
+ require('./logger-C3vZG6Q0.cjs');
17
17
  require('chalk');
18
18
  require('node:util');
19
19
  require('node:crypto');
20
20
  require('node:os');
21
- require('./package-BuATIMpK.cjs');
21
+ require('./package-Gnf_935w.cjs');
22
22
  require('node:fs/promises');
23
23
 
24
24
  const ResumableMetadataSchema = z.z.object({
@@ -1,4 +1,4 @@
1
- import { p as packageJson } from './package-DagIeOhi.mjs';
1
+ import { p as packageJson } from './package-CwB8rFJt.mjs';
2
2
  import module$1 from 'node:module';
3
3
  import { existsSync } from 'node:fs';
4
4
  import { readdir, rm } from 'node:fs/promises';
@@ -57,10 +57,10 @@ async function pruneStaleCompileCaches(happyHomeDir, cliVersion) {
57
57
  async function run(args) {
58
58
  enableCompileCacheIfPossible(packageJson.version);
59
59
  if (isStandaloneVersionRequest(args) || isSelfCheckRequest(args)) {
60
- const { selfCheckMain } = await import('./selfCheck-Dz_Sm7w8.mjs');
60
+ const { selfCheckMain } = await import('./selfCheck-4bcdHPFQ.mjs');
61
61
  process.exit(await selfCheckMain({ verbose: isSelfCheckRequest(args) }));
62
62
  }
63
- const { main } = await import('./main-pkH_VRP-.mjs');
63
+ const { main } = await import('./main-IPhaImjm.mjs');
64
64
  await main();
65
65
  }
66
66
  void run(process.argv.slice(2));
@@ -23,6 +23,7 @@ function _interopNamespaceDefault(e) {
23
23
  var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
24
24
 
25
25
  const CODEX_STEER_CAPABILITY = "codex-steer-v1";
26
+ const CODEX_COMPACT_CAPABILITY = "codex-compact-v1";
26
27
  const PI_STEER_CAPABILITY = "pi-steer-v1";
27
28
  const sessionRoleSchema = z__namespace.enum(["user", "agent"]);
28
29
  const sessionTextEventSchema = z__namespace.object({
@@ -1014,9 +1015,9 @@ function createBuiltinTodoClient(credentials, options2) {
1014
1015
  throw new BuiltinTodoError("order-collision", "These Todos share an order that cannot safely be changed");
1015
1016
  }
1016
1017
  }
1017
- const updatedAt = Date.now();
1018
- const nextRecord = { ...record, order: recordOrder, updatedAt };
1019
- const nextNeighbor = { ...neighbor, order: neighborOrder, updatedAt };
1018
+ const updatedAt2 = Date.now();
1019
+ const nextRecord = { ...record, order: recordOrder, updatedAt: updatedAt2 };
1020
+ const nextNeighbor = { ...neighbor, order: neighborOrder, updatedAt: updatedAt2 };
1020
1021
  const versions = await mutate([mutation(record, nextRecord), mutation(neighbor, nextNeighbor)]);
1021
1022
  return [{ ...nextRecord, version: versions[0] }, { ...nextNeighbor, version: versions[1] }];
1022
1023
  }
@@ -1106,24 +1107,218 @@ z.z.object({
1106
1107
  startedAt: z.z.number(),
1107
1108
  at: z.z.number()
1108
1109
  });
1109
- const CLAUDE_OPUS_55_MODEL = "claude-opus-5-5";
1110
- const CLAUDE_OPUS_55_CAPABILITY = "claude-opus-5-5-v1";
1111
- function supportsClaudeOpus55(metadata) {
1112
- return metadata?.capabilities?.includes(CLAUDE_OPUS_55_CAPABILITY) === true;
1110
+ var version = 1;
1111
+ var updatedAt = "2026-10-30";
1112
+ var agents = {
1113
+ claude: {
1114
+ tier: "opus",
1115
+ pattern: "^claude-opus-(\\d+)(?:-(\\d{1,2}))?$",
1116
+ models: [
1117
+ {
1118
+ model: "claude-opus-5-5",
1119
+ label: "Opus 5.5",
1120
+ requires: {
1121
+ capability: "claude-opus-5-5-v1",
1122
+ cliVersion: "0.2.149"
1123
+ }
1124
+ }
1125
+ ]
1126
+ },
1127
+ codex: {
1128
+ tier: "sol",
1129
+ pattern: "^gpt-(\\d+)(?:\\.(\\d+))?-sol$",
1130
+ models: [
1131
+ {
1132
+ model: "gpt-6.1-sol",
1133
+ label: "gpt-6.1-sol",
1134
+ requires: {
1135
+ agentVersion: "0.160.0"
1136
+ }
1137
+ },
1138
+ {
1139
+ model: "gpt-6-sol",
1140
+ label: "gpt-6-sol",
1141
+ requires: {
1142
+ agentVersion: "0.157.0"
1143
+ }
1144
+ },
1145
+ {
1146
+ model: "gpt-5.6-sol",
1147
+ label: "gpt-5.6-sol",
1148
+ requires: {
1149
+ agentVersion: "0.150.0"
1150
+ }
1151
+ }
1152
+ ]
1153
+ },
1154
+ gemini: {
1155
+ tier: "pro",
1156
+ pattern: "^gemini-(\\d+)(?:\\.(\\d+))?-pro(?:-preview)?$",
1157
+ models: [
1158
+ {
1159
+ model: "gemini-3.1-pro-preview",
1160
+ label: "gemini 3.1 pro"
1161
+ },
1162
+ {
1163
+ model: "gemini-2.5-pro",
1164
+ label: "gemini 2.5 pro"
1165
+ }
1166
+ ]
1167
+ }
1168
+ };
1169
+ var bundledLatestModels = {
1170
+ version,
1171
+ updatedAt,
1172
+ agents
1173
+ };
1174
+ const LATEST_MODEL_MODE = "latest";
1175
+ function isLatestModelMode(model) {
1176
+ return model === LATEST_MODEL_MODE;
1177
+ }
1178
+ const LATEST_MODEL_AGENTS = ["claude", "codex", "gemini"];
1179
+ const LatestModelEntrySchema = z.z.object({
1180
+ model: z.z.string().min(1),
1181
+ label: z.z.string().optional(),
1182
+ /** What a machine/wrapper must have to run it. Absent = nothing provable
1183
+ * without the session's own catalog. */
1184
+ requires: z.z.object({
1185
+ /** Wrapper capability (session metadata.capabilities) — AGENTS.md rule 14. */
1186
+ capability: z.z.string().optional(),
1187
+ /** very-happy-cli version that first advertises `capability`; only used
1188
+ * before a session exists (launcher label). */
1189
+ cliVersion: z.z.string().optional(),
1190
+ /** First agent CLI (codex) whose bundled `model/list` carries the model. */
1191
+ agentVersion: z.z.string().optional()
1192
+ }).optional()
1193
+ });
1194
+ const LatestModelTierSchema = z.z.object({
1195
+ tier: z.z.string(),
1196
+ /** Regex source matching every id of the tier; its capture groups are the
1197
+ * version (`claude-opus-5-5` → 5,5; `gpt-6.1-sol` → 6.1). */
1198
+ pattern: z.z.string(),
1199
+ /** Known models of the tier, newest first. */
1200
+ models: z.z.array(LatestModelEntrySchema)
1201
+ });
1202
+ const LatestModelTableSchema = z.z.object({
1203
+ version: z.z.number(),
1204
+ updatedAt: z.z.string().optional(),
1205
+ agents: z.z.object({
1206
+ claude: LatestModelTierSchema.optional(),
1207
+ codex: LatestModelTierSchema.optional(),
1208
+ gemini: LatestModelTierSchema.optional()
1209
+ }).passthrough()
1210
+ }).passthrough();
1211
+ z.z.object({
1212
+ table: LatestModelTableSchema,
1213
+ source: z.z.enum(["bundled", "configured"])
1214
+ });
1215
+ const BUNDLED_LATEST_MODELS = LatestModelTableSchema.parse(bundledLatestModels);
1216
+ const MACHINE_CONFIG_AGENTS = ["codex", "gemini"];
1217
+ function compilePattern(source) {
1218
+ try {
1219
+ return new RegExp(source);
1220
+ } catch {
1221
+ return null;
1222
+ }
1223
+ }
1224
+ function tierVersion(tier, model) {
1225
+ const match = compilePattern(tier.pattern)?.exec(model);
1226
+ if (!match) return null;
1227
+ return match.slice(1).filter((part) => part !== void 0).map((part) => Number(part));
1113
1228
  }
1114
- function isClaudeOpus55Model(model) {
1115
- return model === CLAUDE_OPUS_55_MODEL || model === `${CLAUDE_OPUS_55_MODEL}[1m]`;
1229
+ function compareTierVersions(a, b) {
1230
+ for (let i = 0; i < Math.max(a.length, b.length); i++) {
1231
+ const diff = (a[i] ?? 0) - (b[i] ?? 0);
1232
+ if (diff !== 0) return diff;
1233
+ }
1234
+ return 0;
1235
+ }
1236
+ function catalogTierIds(tier, catalog) {
1237
+ const ids = /* @__PURE__ */ new Map();
1238
+ for (const entry of catalog ?? []) {
1239
+ for (const id2 of [entry.resolvedModel, entry.code]) {
1240
+ if (typeof id2 === "string" && tierVersion(tier, id2) && !ids.has(id2)) {
1241
+ ids.set(id2, entry.code === id2 && entry.value ? entry.value : id2);
1242
+ }
1243
+ }
1244
+ }
1245
+ return ids;
1246
+ }
1247
+ function entryRunnable(entry, ctx, catalogIds) {
1248
+ if (catalogIds.has(entry.model)) return true;
1249
+ const requires = entry.requires;
1250
+ {
1251
+ return !!requires?.capability && (ctx.capabilities ?? []).includes(requires.capability);
1252
+ }
1253
+ }
1254
+ function getLatestModelTier(table, agent) {
1255
+ if (agent !== "claude" && agent !== "codex" && agent !== "gemini") return null;
1256
+ const tier = table?.agents?.[agent] ?? BUNDLED_LATEST_MODELS.agents[agent];
1257
+ return tier && compilePattern(tier.pattern) ? tier : BUNDLED_LATEST_MODELS.agents[agent] ?? null;
1258
+ }
1259
+ function resolveLatestModel(table, agent, ctx) {
1260
+ const tier = getLatestModelTier(table, agent);
1261
+ if (!tier) return { model: null, newest: null, label: null, limited: false, configured: null };
1262
+ const catalogIds = catalogTierIds(tier, ctx.catalog);
1263
+ const labels = /* @__PURE__ */ new Map();
1264
+ const known = [];
1265
+ const runnable = [];
1266
+ for (const entry of tier.models) {
1267
+ if (!tierVersion(tier, entry.model)) continue;
1268
+ labels.set(entry.model, entry.label ?? entry.model);
1269
+ known.push(entry.model);
1270
+ if (entryRunnable(entry, ctx, catalogIds)) runnable.push(entry.model);
1271
+ }
1272
+ for (const [id2, label] of catalogIds) {
1273
+ if (!labels.has(id2)) labels.set(id2, label);
1274
+ known.push(id2);
1275
+ runnable.push(id2);
1276
+ }
1277
+ const newestOf = (ids) => {
1278
+ let best = null;
1279
+ for (const id2 of ids) {
1280
+ const version2 = tierVersion(tier, id2);
1281
+ if (!best || compareTierVersions(version2, best.version) > 0) best = { id: id2, version: version2 };
1282
+ }
1283
+ return best?.id ?? null;
1284
+ };
1285
+ const newest = newestOf(known);
1286
+ if (MACHINE_CONFIG_AGENTS.includes(agent ?? "")) {
1287
+ const configured = typeof ctx.configuredModel === "string" && ctx.configuredModel.trim() ? ctx.configuredModel.trim() : null;
1288
+ if (configured || ctx.configuredModel === void 0) {
1289
+ return { model: null, newest, label: configured, limited: false, configured };
1290
+ }
1291
+ }
1292
+ const model = newestOf(runnable);
1293
+ const sameVersion = model !== null && newest !== null && compareTierVersions(tierVersion(tier, model), tierVersion(tier, newest)) === 0;
1294
+ return {
1295
+ model,
1296
+ newest,
1297
+ label: model ? labels.get(model) ?? model : null,
1298
+ limited: newest !== null && !sameVersion,
1299
+ configured: null
1300
+ };
1301
+ }
1302
+ function parseLatestModelTable(value) {
1303
+ const parsed = LatestModelTableSchema.safeParse(value);
1304
+ if (!parsed.success) return null;
1305
+ for (const agent of LATEST_MODEL_AGENTS) {
1306
+ const tier = parsed.data.agents[agent];
1307
+ if (tier && !compilePattern(tier.pattern)) return null;
1308
+ }
1309
+ return parsed.data;
1116
1310
  }
1117
1311
  const AGENT_CODE_DEFAULTS = {
1118
1312
  // The Claude UI key for YOLO is `bypassPermissions`; the CLI also accepts
1119
1313
  // `yolo` and maps it to the Claude SDK's bypass mode.
1120
- // model defaults to the pinned Opus 5.5 id (not the `opus` alias, whose
1121
- // target depends on the wrapper's bundled Claude Code). Wrappers that
1122
- // cannot run it fall back to 'default' (see supportsClaudeOpus55).
1123
- // effort null = don't send effort.
1124
- claude: { permissionMode: "bypassPermissions", modelMode: CLAUDE_OPUS_55_MODEL, effortLevel: null },
1125
- codex: { permissionMode: "yolo", modelMode: "gpt-5.5", effortLevel: "medium" },
1126
- gemini: { permissionMode: "default", modelMode: "gemini-2.5-pro", effortLevel: null },
1314
+ // model: `latest` (B-844) = the newest model of the agent's tier that the
1315
+ // session's wrapper can run, resolved at send time (modelLatest.ts) and
1316
+ // never sent as is. Today: Claude → claude-opus-5-5 (pinned id, not the
1317
+ // `opus` alias), Codex → gpt-6.1-sol on Codex >= 0.160, Gemini → the
1318
+ // newest pro its session catalog lists. effort null = don't send effort.
1319
+ claude: { permissionMode: "bypassPermissions", modelMode: LATEST_MODEL_MODE, effortLevel: null },
1320
+ codex: { permissionMode: "yolo", modelMode: LATEST_MODEL_MODE, effortLevel: "medium" },
1321
+ gemini: { permissionMode: "default", modelMode: LATEST_MODEL_MODE, effortLevel: null },
1127
1322
  openclaw: { permissionMode: "default", modelMode: "default", effortLevel: null },
1128
1323
  // pi: the runner keeps Claude's permission vocabulary (B-350 — HAPPY_PERMISSION_MODE +
1129
1324
  // session-modes file, enforced by the pi-side gate; `bypassPermissions` = auto-allow every
@@ -1490,6 +1685,7 @@ exports.AutomationPrecheckSchema = AutomationPrecheckSchema;
1490
1685
  exports.AutomationTriggerSchema = AutomationTriggerSchema;
1491
1686
  exports.BUILTIN_TODO_DISCOVERY = BUILTIN_TODO_DISCOVERY;
1492
1687
  exports.BUILTIN_TODO_SKILL = BUILTIN_TODO_SKILL;
1688
+ exports.CODEX_COMPACT_CAPABILITY = CODEX_COMPACT_CAPABILITY;
1493
1689
  exports.CODEX_STEER_CAPABILITY = CODEX_STEER_CAPABILITY;
1494
1690
  exports.HARNESS_INSTALL_CAPABILITY_VERSION = HARNESS_INSTALL_CAPABILITY_VERSION;
1495
1691
  exports.OwnerBoardListInputSchema = OwnerBoardListInputSchema;
@@ -1509,11 +1705,12 @@ exports.createEnvelope = createEnvelope;
1509
1705
  exports.getAgentCodeDefaults = getAgentCodeDefaults;
1510
1706
  exports.isAttentionBoardLocalId = isAttentionBoardLocalId;
1511
1707
  exports.isAutomationRunTerminal = isAutomationRunTerminal;
1512
- exports.isClaudeOpus55Model = isClaudeOpus55Model;
1513
1708
  exports.isHarnessInstallId = isHarnessInstallId;
1514
1709
  exports.isInsideTeamWorktree = isInsideTeamWorktree;
1710
+ exports.isLatestModelMode = isLatestModelMode;
1515
1711
  exports.normalizeAgentKey = normalizeAgentKey;
1516
1712
  exports.ownerBoardPostToRest = ownerBoardPostToRest;
1713
+ exports.parseLatestModelTable = parseLatestModelTable;
1517
1714
  exports.rebaseTeamWorktreePath = rebaseTeamWorktreePath;
1715
+ exports.resolveLatestModel = resolveLatestModel;
1518
1716
  exports.streamKeyOf = streamKeyOf;
1519
- exports.supportsClaudeOpus55 = supportsClaudeOpus55;
@@ -1,14 +1,14 @@
1
1
  import { statSync, readdirSync } from 'node:fs';
2
2
  import { homedir } from 'node:os';
3
- import { l as logger } from './logger-CpaeM90D.mjs';
4
- import { r as readSettings } from './persistence-FgtDuVAP.mjs';
3
+ import { l as logger } from './logger-RpzJ4d8V.mjs';
4
+ import { r as readSettings } from './persistence-Bn4qEbDg.mjs';
5
5
  import { d as describeAgentHome, C as CLAUDE_CONFIG_DIR_ENV, a as CODEX_HOME_ENV, f as findClaudeConversation, b as agentHomeCandidates, c as findCodexThread, r as resolveAgentHomes, A as AGENT_HOME_ENV_NAMES, g as agentHomeEnv, p as probeLoginShellEnv } from './loginShellEnv-Dw8M7tkI.mjs';
6
6
  export { h as claudeConversationPath, i as claudeProjectDirName, j as codexRolloutFileMatches, e as expandHomePath } from './loginShellEnv-Dw8M7tkI.mjs';
7
7
  import 'chalk';
8
8
  import 'node:util';
9
- import './configuration-DbCHeEeP.mjs';
9
+ import './configuration-BZHpFD7K.mjs';
10
10
  import 'node:path';
11
- import './package-DagIeOhi.mjs';
11
+ import './package-CwB8rFJt.mjs';
12
12
  import 'node:fs/promises';
13
13
  import 'zod';
14
14
  import './authRelay-DhQhkBvX.mjs';