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
@@ -3,6 +3,7 @@ import { z as z$1 } from 'zod';
3
3
  import { isCuid, createId } from '@paralleldrive/cuid2';
4
4
 
5
5
  const CODEX_STEER_CAPABILITY = "codex-steer-v1";
6
+ const CODEX_COMPACT_CAPABILITY = "codex-compact-v1";
6
7
  const PI_STEER_CAPABILITY = "pi-steer-v1";
7
8
  const sessionRoleSchema = z.enum(["user", "agent"]);
8
9
  const sessionTextEventSchema = z.object({
@@ -994,9 +995,9 @@ function createBuiltinTodoClient(credentials, options2) {
994
995
  throw new BuiltinTodoError("order-collision", "These Todos share an order that cannot safely be changed");
995
996
  }
996
997
  }
997
- const updatedAt = Date.now();
998
- const nextRecord = { ...record, order: recordOrder, updatedAt };
999
- const nextNeighbor = { ...neighbor, order: neighborOrder, updatedAt };
998
+ const updatedAt2 = Date.now();
999
+ const nextRecord = { ...record, order: recordOrder, updatedAt: updatedAt2 };
1000
+ const nextNeighbor = { ...neighbor, order: neighborOrder, updatedAt: updatedAt2 };
1000
1001
  const versions = await mutate([mutation(record, nextRecord), mutation(neighbor, nextNeighbor)]);
1001
1002
  return [{ ...nextRecord, version: versions[0] }, { ...nextNeighbor, version: versions[1] }];
1002
1003
  }
@@ -1086,24 +1087,218 @@ z$1.object({
1086
1087
  startedAt: z$1.number(),
1087
1088
  at: z$1.number()
1088
1089
  });
1089
- const CLAUDE_OPUS_55_MODEL = "claude-opus-5-5";
1090
- const CLAUDE_OPUS_55_CAPABILITY = "claude-opus-5-5-v1";
1091
- function supportsClaudeOpus55(metadata) {
1092
- return metadata?.capabilities?.includes(CLAUDE_OPUS_55_CAPABILITY) === true;
1090
+ var version = 1;
1091
+ var updatedAt = "2026-10-30";
1092
+ var agents = {
1093
+ claude: {
1094
+ tier: "opus",
1095
+ pattern: "^claude-opus-(\\d+)(?:-(\\d{1,2}))?$",
1096
+ models: [
1097
+ {
1098
+ model: "claude-opus-5-5",
1099
+ label: "Opus 5.5",
1100
+ requires: {
1101
+ capability: "claude-opus-5-5-v1",
1102
+ cliVersion: "0.2.149"
1103
+ }
1104
+ }
1105
+ ]
1106
+ },
1107
+ codex: {
1108
+ tier: "sol",
1109
+ pattern: "^gpt-(\\d+)(?:\\.(\\d+))?-sol$",
1110
+ models: [
1111
+ {
1112
+ model: "gpt-6.1-sol",
1113
+ label: "gpt-6.1-sol",
1114
+ requires: {
1115
+ agentVersion: "0.160.0"
1116
+ }
1117
+ },
1118
+ {
1119
+ model: "gpt-6-sol",
1120
+ label: "gpt-6-sol",
1121
+ requires: {
1122
+ agentVersion: "0.157.0"
1123
+ }
1124
+ },
1125
+ {
1126
+ model: "gpt-5.6-sol",
1127
+ label: "gpt-5.6-sol",
1128
+ requires: {
1129
+ agentVersion: "0.150.0"
1130
+ }
1131
+ }
1132
+ ]
1133
+ },
1134
+ gemini: {
1135
+ tier: "pro",
1136
+ pattern: "^gemini-(\\d+)(?:\\.(\\d+))?-pro(?:-preview)?$",
1137
+ models: [
1138
+ {
1139
+ model: "gemini-3.1-pro-preview",
1140
+ label: "gemini 3.1 pro"
1141
+ },
1142
+ {
1143
+ model: "gemini-2.5-pro",
1144
+ label: "gemini 2.5 pro"
1145
+ }
1146
+ ]
1147
+ }
1148
+ };
1149
+ var bundledLatestModels = {
1150
+ version,
1151
+ updatedAt,
1152
+ agents
1153
+ };
1154
+ const LATEST_MODEL_MODE = "latest";
1155
+ function isLatestModelMode(model) {
1156
+ return model === LATEST_MODEL_MODE;
1157
+ }
1158
+ const LATEST_MODEL_AGENTS = ["claude", "codex", "gemini"];
1159
+ const LatestModelEntrySchema = z$1.object({
1160
+ model: z$1.string().min(1),
1161
+ label: z$1.string().optional(),
1162
+ /** What a machine/wrapper must have to run it. Absent = nothing provable
1163
+ * without the session's own catalog. */
1164
+ requires: z$1.object({
1165
+ /** Wrapper capability (session metadata.capabilities) — AGENTS.md rule 14. */
1166
+ capability: z$1.string().optional(),
1167
+ /** very-happy-cli version that first advertises `capability`; only used
1168
+ * before a session exists (launcher label). */
1169
+ cliVersion: z$1.string().optional(),
1170
+ /** First agent CLI (codex) whose bundled `model/list` carries the model. */
1171
+ agentVersion: z$1.string().optional()
1172
+ }).optional()
1173
+ });
1174
+ const LatestModelTierSchema = z$1.object({
1175
+ tier: z$1.string(),
1176
+ /** Regex source matching every id of the tier; its capture groups are the
1177
+ * version (`claude-opus-5-5` → 5,5; `gpt-6.1-sol` → 6.1). */
1178
+ pattern: z$1.string(),
1179
+ /** Known models of the tier, newest first. */
1180
+ models: z$1.array(LatestModelEntrySchema)
1181
+ });
1182
+ const LatestModelTableSchema = z$1.object({
1183
+ version: z$1.number(),
1184
+ updatedAt: z$1.string().optional(),
1185
+ agents: z$1.object({
1186
+ claude: LatestModelTierSchema.optional(),
1187
+ codex: LatestModelTierSchema.optional(),
1188
+ gemini: LatestModelTierSchema.optional()
1189
+ }).passthrough()
1190
+ }).passthrough();
1191
+ z$1.object({
1192
+ table: LatestModelTableSchema,
1193
+ source: z$1.enum(["bundled", "configured"])
1194
+ });
1195
+ const BUNDLED_LATEST_MODELS = LatestModelTableSchema.parse(bundledLatestModels);
1196
+ const MACHINE_CONFIG_AGENTS = ["codex", "gemini"];
1197
+ function compilePattern(source) {
1198
+ try {
1199
+ return new RegExp(source);
1200
+ } catch {
1201
+ return null;
1202
+ }
1203
+ }
1204
+ function tierVersion(tier, model) {
1205
+ const match = compilePattern(tier.pattern)?.exec(model);
1206
+ if (!match) return null;
1207
+ return match.slice(1).filter((part) => part !== void 0).map((part) => Number(part));
1093
1208
  }
1094
- function isClaudeOpus55Model(model) {
1095
- return model === CLAUDE_OPUS_55_MODEL || model === `${CLAUDE_OPUS_55_MODEL}[1m]`;
1209
+ function compareTierVersions(a, b) {
1210
+ for (let i = 0; i < Math.max(a.length, b.length); i++) {
1211
+ const diff = (a[i] ?? 0) - (b[i] ?? 0);
1212
+ if (diff !== 0) return diff;
1213
+ }
1214
+ return 0;
1215
+ }
1216
+ function catalogTierIds(tier, catalog) {
1217
+ const ids = /* @__PURE__ */ new Map();
1218
+ for (const entry of catalog ?? []) {
1219
+ for (const id2 of [entry.resolvedModel, entry.code]) {
1220
+ if (typeof id2 === "string" && tierVersion(tier, id2) && !ids.has(id2)) {
1221
+ ids.set(id2, entry.code === id2 && entry.value ? entry.value : id2);
1222
+ }
1223
+ }
1224
+ }
1225
+ return ids;
1226
+ }
1227
+ function entryRunnable(entry, ctx, catalogIds) {
1228
+ if (catalogIds.has(entry.model)) return true;
1229
+ const requires = entry.requires;
1230
+ {
1231
+ return !!requires?.capability && (ctx.capabilities ?? []).includes(requires.capability);
1232
+ }
1233
+ }
1234
+ function getLatestModelTier(table, agent) {
1235
+ if (agent !== "claude" && agent !== "codex" && agent !== "gemini") return null;
1236
+ const tier = table?.agents?.[agent] ?? BUNDLED_LATEST_MODELS.agents[agent];
1237
+ return tier && compilePattern(tier.pattern) ? tier : BUNDLED_LATEST_MODELS.agents[agent] ?? null;
1238
+ }
1239
+ function resolveLatestModel(table, agent, ctx) {
1240
+ const tier = getLatestModelTier(table, agent);
1241
+ if (!tier) return { model: null, newest: null, label: null, limited: false, configured: null };
1242
+ const catalogIds = catalogTierIds(tier, ctx.catalog);
1243
+ const labels = /* @__PURE__ */ new Map();
1244
+ const known = [];
1245
+ const runnable = [];
1246
+ for (const entry of tier.models) {
1247
+ if (!tierVersion(tier, entry.model)) continue;
1248
+ labels.set(entry.model, entry.label ?? entry.model);
1249
+ known.push(entry.model);
1250
+ if (entryRunnable(entry, ctx, catalogIds)) runnable.push(entry.model);
1251
+ }
1252
+ for (const [id2, label] of catalogIds) {
1253
+ if (!labels.has(id2)) labels.set(id2, label);
1254
+ known.push(id2);
1255
+ runnable.push(id2);
1256
+ }
1257
+ const newestOf = (ids) => {
1258
+ let best = null;
1259
+ for (const id2 of ids) {
1260
+ const version2 = tierVersion(tier, id2);
1261
+ if (!best || compareTierVersions(version2, best.version) > 0) best = { id: id2, version: version2 };
1262
+ }
1263
+ return best?.id ?? null;
1264
+ };
1265
+ const newest = newestOf(known);
1266
+ if (MACHINE_CONFIG_AGENTS.includes(agent ?? "")) {
1267
+ const configured = typeof ctx.configuredModel === "string" && ctx.configuredModel.trim() ? ctx.configuredModel.trim() : null;
1268
+ if (configured || ctx.configuredModel === void 0) {
1269
+ return { model: null, newest, label: configured, limited: false, configured };
1270
+ }
1271
+ }
1272
+ const model = newestOf(runnable);
1273
+ const sameVersion = model !== null && newest !== null && compareTierVersions(tierVersion(tier, model), tierVersion(tier, newest)) === 0;
1274
+ return {
1275
+ model,
1276
+ newest,
1277
+ label: model ? labels.get(model) ?? model : null,
1278
+ limited: newest !== null && !sameVersion,
1279
+ configured: null
1280
+ };
1281
+ }
1282
+ function parseLatestModelTable(value) {
1283
+ const parsed = LatestModelTableSchema.safeParse(value);
1284
+ if (!parsed.success) return null;
1285
+ for (const agent of LATEST_MODEL_AGENTS) {
1286
+ const tier = parsed.data.agents[agent];
1287
+ if (tier && !compilePattern(tier.pattern)) return null;
1288
+ }
1289
+ return parsed.data;
1096
1290
  }
1097
1291
  const AGENT_CODE_DEFAULTS = {
1098
1292
  // The Claude UI key for YOLO is `bypassPermissions`; the CLI also accepts
1099
1293
  // `yolo` and maps it to the Claude SDK's bypass mode.
1100
- // model defaults to the pinned Opus 5.5 id (not the `opus` alias, whose
1101
- // target depends on the wrapper's bundled Claude Code). Wrappers that
1102
- // cannot run it fall back to 'default' (see supportsClaudeOpus55).
1103
- // effort null = don't send effort.
1104
- claude: { permissionMode: "bypassPermissions", modelMode: CLAUDE_OPUS_55_MODEL, effortLevel: null },
1105
- codex: { permissionMode: "yolo", modelMode: "gpt-5.5", effortLevel: "medium" },
1106
- gemini: { permissionMode: "default", modelMode: "gemini-2.5-pro", effortLevel: null },
1294
+ // model: `latest` (B-844) = the newest model of the agent's tier that the
1295
+ // session's wrapper can run, resolved at send time (modelLatest.ts) and
1296
+ // never sent as is. Today: Claude → claude-opus-5-5 (pinned id, not the
1297
+ // `opus` alias), Codex → gpt-6.1-sol on Codex >= 0.160, Gemini → the
1298
+ // newest pro its session catalog lists. effort null = don't send effort.
1299
+ claude: { permissionMode: "bypassPermissions", modelMode: LATEST_MODEL_MODE, effortLevel: null },
1300
+ codex: { permissionMode: "yolo", modelMode: LATEST_MODEL_MODE, effortLevel: "medium" },
1301
+ gemini: { permissionMode: "default", modelMode: LATEST_MODEL_MODE, effortLevel: null },
1107
1302
  openclaw: { permissionMode: "default", modelMode: "default", effortLevel: null },
1108
1303
  // pi: the runner keeps Claude's permission vocabulary (B-350 — HAPPY_PERMISSION_MODE +
1109
1304
  // session-modes file, enforced by the pi-side gate; `bypassPermissions` = auto-allow every
@@ -1449,4 +1644,4 @@ z.object({
1449
1644
  reason: z.string()
1450
1645
  });
1451
1646
 
1452
- export { AUTOMATION_NAME_PATTERN as A, BUILTIN_TODO_SKILL as B, isAttentionBoardLocalId as C, OwnerBoardUpdateInputSchema as D, OwnerBoardResolveInputSchema as E, OwnerBoardListInputSchema as F, ATTENTION_SESSION_CAPABILITY as G, RelayAssignmentResponseSchema as H, CODEX_STEER_CAPABILITY as I, RelayCandidatesResponseSchema as J, ServerMigrateNoticeSchema as K, isHarnessInstallId as L, AUTOMATION_PRECHECK_OUTPUT_MAX_CHARS as M, AUTOMATION_PRECHECK_DEFAULT_TIMEOUT_MS as N, OwnerBoardPostInputSchema as O, PROMPT_QUEUE_CAPABILITY as P, AUTOMATION_CLAIM_MAX_RUNS as Q, ReleaseDrainNoticeSchema as R, STREAM_DELTA_MAX_CHARS as S, AUTOMATION_DAEMON_CAPABILITY_PRECHECK as T, AUTOMATION_DEFAULT_LEASE_MS as U, HARNESS_INSTALL_CAPABILITY_VERSION as V, PROJECT_SESSION_CAPABILITY as a, AUTOMATION_PRECHECK_MAX_TIMEOUT_MS as b, AutomationPrecheckSchema as c, AUTOMATION_ATTENTION_REASON_MAX_CHARS as d, AUTOMATION_SUMMARY_MAX_CHARS as e, isInsideTeamWorktree as f, createEnvelope as g, createBuiltinTodoClient as h, isAutomationRunTerminal as i, BUILTIN_TODO_DISCOVERY as j, getAgentCodeDefaults as k, isClaudeOpus55Model as l, supportsClaudeOpus55 as m, normalizeAgentKey as n, AutomationNameSchema as o, AutomationConcurrencySchema as p, AutomationActionSchema as q, rebaseTeamWorktreePath as r, streamKeyOf as s, AutomationTriggerSchema as t, AgentVersionsSchema as u, PI_STEER_CAPABILITY as v, AGENT_VERSION_SOURCES as w, ATTENTION_DISABLED_ERROR as x, ATTENTION_LIMITS as y, ownerBoardPostToRest as z };
1647
+ export { AUTOMATION_NAME_PATTERN as A, BUILTIN_TODO_SKILL as B, ownerBoardPostToRest as C, isAttentionBoardLocalId as D, OwnerBoardUpdateInputSchema as E, OwnerBoardResolveInputSchema as F, OwnerBoardListInputSchema as G, ATTENTION_SESSION_CAPABILITY as H, RelayAssignmentResponseSchema as I, CODEX_STEER_CAPABILITY as J, CODEX_COMPACT_CAPABILITY as K, RelayCandidatesResponseSchema as L, ServerMigrateNoticeSchema as M, isHarnessInstallId as N, OwnerBoardPostInputSchema as O, PROMPT_QUEUE_CAPABILITY as P, AUTOMATION_PRECHECK_OUTPUT_MAX_CHARS as Q, ReleaseDrainNoticeSchema as R, STREAM_DELTA_MAX_CHARS as S, AUTOMATION_PRECHECK_DEFAULT_TIMEOUT_MS as T, AUTOMATION_CLAIM_MAX_RUNS as U, AUTOMATION_DAEMON_CAPABILITY_PRECHECK as V, AUTOMATION_DEFAULT_LEASE_MS as W, HARNESS_INSTALL_CAPABILITY_VERSION as X, PROJECT_SESSION_CAPABILITY as a, AUTOMATION_PRECHECK_MAX_TIMEOUT_MS as b, AutomationPrecheckSchema as c, AUTOMATION_ATTENTION_REASON_MAX_CHARS as d, AUTOMATION_SUMMARY_MAX_CHARS as e, isInsideTeamWorktree as f, createEnvelope as g, createBuiltinTodoClient as h, isAutomationRunTerminal as i, BUILTIN_TODO_DISCOVERY as j, getAgentCodeDefaults as k, isLatestModelMode as l, resolveLatestModel as m, normalizeAgentKey as n, AutomationNameSchema as o, parseLatestModelTable as p, AutomationConcurrencySchema as q, rebaseTeamWorktreePath as r, streamKeyOf as s, AutomationActionSchema as t, AutomationTriggerSchema as u, AgentVersionsSchema as v, PI_STEER_CAPABILITY as w, AGENT_VERSION_SOURCES as x, ATTENTION_DISABLED_ERROR as y, ATTENTION_LIMITS as z };
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var query = require('./query-DimRl61I.cjs');
3
+ var query = require('./query-Bz3pocKH.cjs');
4
4
  var claudeAgentSdk = require('@anthropic-ai/claude-agent-sdk');
5
- require('./smallFastModel-D_uxGMo3.cjs');
6
- require('./logger-L0pLBOLK.cjs');
7
- require('chalk');
8
- require('node:util');
9
- require('./configuration-CI0GWwaT.cjs');
5
+ require('./promptCacheTtl-B8PCzE6k.cjs');
10
6
  require('node:fs');
11
7
  require('node:os');
12
8
  require('node:path');
13
- require('./package-BuATIMpK.cjs');
9
+ require('./logger-C3vZG6Q0.cjs');
10
+ require('chalk');
11
+ require('node:util');
12
+ require('./configuration-DyPW9mVa.cjs');
13
+ require('./package-Gnf_935w.cjs');
14
14
  require('node:fs/promises');
15
15
  require('./processTreeSnapshot-mDbnuojn.cjs');
16
16
  require('node:child_process');
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- require('./package-BuATIMpK.cjs');
4
- require('./index-W8wlfp57.cjs');
3
+ require('./package-Gnf_935w.cjs');
4
+ require('./index-DoXbGEAi.cjs');
5
5
  require('node:module');
6
6
  require('node:fs');
7
7
  require('node:fs/promises');
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import './package-DagIeOhi.mjs';
2
- import './index-Cyu_8WAd.mjs';
1
+ import './package-CwB8rFJt.mjs';
2
+ import './index-B1OxWiNG.mjs';
3
3
  import 'node:module';
4
4
  import 'node:fs';
5
5
  import 'node:fs/promises';
@@ -1,7 +1,7 @@
1
1
  import { createHash, randomUUID } from 'node:crypto';
2
2
  import { unlink, rmdir, mkdir, lstat, readFile, writeFile, rename } from 'node:fs/promises';
3
3
  import { join, resolve, dirname } from 'node:path';
4
- import { T as TEAM_SKILL } from './resources-CLdQfe3b.mjs';
4
+ import { T as TEAM_SKILL } from './resources-CLP_MpK4.mjs';
5
5
 
6
6
  const AUTOMATION_SKILL = `---
7
7
  name: very-happy-automations
@@ -3,7 +3,7 @@
3
3
  var node_crypto = require('node:crypto');
4
4
  var promises = require('node:fs/promises');
5
5
  var path = require('node:path');
6
- var resources = require('./resources-CqwHPhdK.cjs');
6
+ var resources = require('./resources-BZ_Be0qM.cjs');
7
7
 
8
8
  const AUTOMATION_SKILL = `---
9
9
  name: very-happy-automations
@@ -1,15 +1,15 @@
1
- import { l as logger } from './logger-CpaeM90D.mjs';
1
+ import { l as logger } from './logger-RpzJ4d8V.mjs';
2
2
  import { existsSync, writeFileSync, chmodSync } from 'fs';
3
3
  import { execSync } from 'child_process';
4
4
  import { t as trimIdent } from './trimIdent-BAjmv_TG.mjs';
5
5
  import os from 'os';
6
6
  import 'chalk';
7
7
  import 'node:util';
8
- import './configuration-DbCHeEeP.mjs';
8
+ import './configuration-BZHpFD7K.mjs';
9
9
  import 'node:fs';
10
10
  import 'node:os';
11
11
  import 'node:path';
12
- import './package-DagIeOhi.mjs';
12
+ import './package-CwB8rFJt.mjs';
13
13
  import 'node:fs/promises';
14
14
 
15
15
  const PLIST_LABEL = "com.happy-cli.daemon";
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var logger = require('./logger-L0pLBOLK.cjs');
3
+ var logger = require('./logger-C3vZG6Q0.cjs');
4
4
  var require$$0 = require('fs');
5
5
  var child_process = require('child_process');
6
6
  var trimIdent = require('./trimIdent-4gvk9Wk6.cjs');
7
7
  var os = require('os');
8
8
  require('chalk');
9
9
  require('node:util');
10
- require('./configuration-CI0GWwaT.cjs');
10
+ require('./configuration-DyPW9mVa.cjs');
11
11
  require('node:fs');
12
12
  require('node:os');
13
13
  require('node:path');
14
- require('./package-BuATIMpK.cjs');
14
+ require('./package-Gnf_935w.cjs');
15
15
  require('node:fs/promises');
16
16
 
17
17
  const PLIST_LABEL = "com.happy-cli.daemon";
package/dist/lib.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var api = require('./api-DjqQTT16.cjs');
4
- var logger = require('./logger-L0pLBOLK.cjs');
5
- var configuration = require('./configuration-CI0GWwaT.cjs');
3
+ var api = require('./api-BOqjYd5r.cjs');
4
+ var logger = require('./logger-C3vZG6Q0.cjs');
5
+ var configuration = require('./configuration-DyPW9mVa.cjs');
6
6
  var types = require('./types-CRS-srZK.cjs');
7
7
  require('axios');
8
- require('./lidState-BxHu6dus.cjs');
8
+ require('./lidState-d1vgQ3n7.cjs');
9
9
  require('./authRelay-Dy1qU9td.cjs');
10
10
  require('node:crypto');
11
11
  require('tweetnacl');
@@ -13,14 +13,14 @@ require('os');
13
13
  require('child_process');
14
14
  require('node:events');
15
15
  require('socket.io-client');
16
- require('./pushNotifications-OtQY-Mfa.cjs');
16
+ require('./pushNotifications-Bb-QSqXw.cjs');
17
17
  require('zod');
18
- require('./index-BumVulwx.cjs');
18
+ require('./index-BOe6dKnL.cjs');
19
19
  require('@paralleldrive/cuid2');
20
20
  require('./contentLogMetadata-ZSFk_NjQ.cjs');
21
21
  require('./limits-C-a7gr04.cjs');
22
- require('./time-DcICfW0N.cjs');
23
- require('./registerCommonHandlers-De54jKz8.cjs');
22
+ require('./time-BAJRbB6U.cjs');
23
+ require('./registerCommonHandlers-CIs6H2DV.cjs');
24
24
  require('util');
25
25
  require('fs/promises');
26
26
  require('crypto');
@@ -28,17 +28,17 @@ require('path');
28
28
  require('cross-spawn');
29
29
  require('./projectPath-C3ioB4Bu.cjs');
30
30
  require('url');
31
- require('./sync-CKSmwxec.cjs');
31
+ require('./sync-6HFRJP1h.cjs');
32
32
  require('./backgroundTaskActivity-CBvUdj39.cjs');
33
- require('./controlClient-BIi1tzEo.cjs');
34
- require('./persistence-CIzOAWK6.cjs');
33
+ require('./controlClient-DvFaPsg6.cjs');
34
+ require('./persistence-CqtjFiD1.cjs');
35
35
  require('node:fs/promises');
36
36
  require('node:fs');
37
37
  require('chalk');
38
38
  require('node:util');
39
39
  require('node:path');
40
40
  require('node:os');
41
- require('./package-BuATIMpK.cjs');
41
+ require('./package-Gnf_935w.cjs');
42
42
 
43
43
 
44
44
 
package/dist/lib.d.cts CHANGED
@@ -714,6 +714,12 @@ type Metadata = {
714
714
  currentModelCode?: string;
715
715
  /** Resolved SDK model when no per-message model override was supplied. */
716
716
  defaultModelCode?: string;
717
+ /**
718
+ * B-844: model the machine's own agent config pins (Codex config.toml /
719
+ * profile via `config/read`, Gemini settings). null = nothing pinned;
720
+ * absent = this wrapper cannot tell. "Follow latest" never overrides it.
721
+ */
722
+ configuredModel?: string | null;
717
723
  operatingModes?: Array<{
718
724
  code: string;
719
725
  value: string;
package/dist/lib.d.mts CHANGED
@@ -714,6 +714,12 @@ type Metadata = {
714
714
  currentModelCode?: string;
715
715
  /** Resolved SDK model when no per-message model override was supplied. */
716
716
  defaultModelCode?: string;
717
+ /**
718
+ * B-844: model the machine's own agent config pins (Codex config.toml /
719
+ * profile via `config/read`, Gemini settings). null = nothing pinned;
720
+ * absent = this wrapper cannot tell. "Follow latest" never overrides it.
721
+ */
722
+ configuredModel?: string | null;
717
723
  operatingModes?: Array<{
718
724
  code: string;
719
725
  value: string;
package/dist/lib.mjs CHANGED
@@ -1,9 +1,9 @@
1
- export { A as ApiClient, a as ApiSessionClient } from './api-DUFy21Nf.mjs';
2
- export { l as logger } from './logger-CpaeM90D.mjs';
3
- export { c as configuration } from './configuration-DbCHeEeP.mjs';
1
+ export { A as ApiClient, a as ApiSessionClient } from './api-DNKa7kVy.mjs';
2
+ export { l as logger } from './logger-RpzJ4d8V.mjs';
3
+ export { c as configuration } from './configuration-BZHpFD7K.mjs';
4
4
  export { R as RawJSONLinesSchema } from './types-CkqAACXx.mjs';
5
5
  import 'axios';
6
- import './lidState-CZ1ggYiB.mjs';
6
+ import './lidState-D-lsD1FS.mjs';
7
7
  import './authRelay-DhQhkBvX.mjs';
8
8
  import 'node:crypto';
9
9
  import 'tweetnacl';
@@ -11,14 +11,14 @@ import 'os';
11
11
  import 'child_process';
12
12
  import 'node:events';
13
13
  import 'socket.io-client';
14
- import './pushNotifications-2CyhYAte.mjs';
14
+ import './pushNotifications-BThg4nVd.mjs';
15
15
  import 'zod';
16
- import './index-B9f1vKcC.mjs';
16
+ import './index-WKyN-bNy.mjs';
17
17
  import '@paralleldrive/cuid2';
18
18
  import './contentLogMetadata-BlWI0egu.mjs';
19
19
  import './limits-DIo7rEBR.mjs';
20
- import './time-BsNUVcKH.mjs';
21
- import './registerCommonHandlers-X9lnO2TF.mjs';
20
+ import './time-umG7yHkb.mjs';
21
+ import './registerCommonHandlers-CaWl9ll1.mjs';
22
22
  import 'util';
23
23
  import 'fs/promises';
24
24
  import 'crypto';
@@ -26,14 +26,14 @@ import 'path';
26
26
  import 'cross-spawn';
27
27
  import './projectPath-BTBIMB57.mjs';
28
28
  import 'url';
29
- import './sync-CZjyTC4v.mjs';
29
+ import './sync-I8NYmycF.mjs';
30
30
  import './backgroundTaskActivity-8PdPxrvy.mjs';
31
- import './controlClient-Dv80mB_j.mjs';
32
- import './persistence-FgtDuVAP.mjs';
31
+ import './controlClient-Bw56NIrj.mjs';
32
+ import './persistence-Bn4qEbDg.mjs';
33
33
  import 'node:fs/promises';
34
34
  import 'node:fs';
35
35
  import 'chalk';
36
36
  import 'node:util';
37
37
  import 'node:path';
38
38
  import 'node:os';
39
- import './package-DagIeOhi.mjs';
39
+ import './package-CwB8rFJt.mjs';
@@ -1,4 +1,4 @@
1
- import { l as logger } from './logger-CpaeM90D.mjs';
1
+ import { l as logger } from './logger-RpzJ4d8V.mjs';
2
2
  import { e as encodeBase64, g as encrypt, h as decrypt, d as decodeBase64 } from './authRelay-DhQhkBvX.mjs';
3
3
  import os from 'os';
4
4
  import { execSync } from 'child_process';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var logger = require('./logger-L0pLBOLK.cjs');
3
+ var logger = require('./logger-C3vZG6Q0.cjs');
4
4
  var authRelay = require('./authRelay-Dy1qU9td.cjs');
5
5
  var os = require('os');
6
6
  var child_process = require('child_process');
@@ -6,7 +6,7 @@ var path = require('node:path');
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');
9
+ var configuration = require('./configuration-DyPW9mVa.cjs');
10
10
 
11
11
  const AgentCredentialsSchema = z.z.object({
12
12
  token: z.z.string().min(1),
@@ -4,7 +4,7 @@ import { join } from 'node:path';
4
4
  import tweetnacl from 'tweetnacl';
5
5
  import { z } from 'zod';
6
6
  import { c as credentialRelayProblem, d as decodeBase64 } from './authRelay-DhQhkBvX.mjs';
7
- import { c as configuration } from './configuration-DbCHeEeP.mjs';
7
+ import { c as configuration } from './configuration-BZHpFD7K.mjs';
8
8
 
9
9
  const AgentCredentialsSchema = z.object({
10
10
  token: z.string().min(1),
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chalk = require('chalk');
4
4
  var node_util = require('node:util');
5
- var configuration = require('./configuration-CI0GWwaT.cjs');
5
+ var configuration = require('./configuration-DyPW9mVa.cjs');
6
6
  var node_fs = require('node:fs');
7
7
  var path = require('node:path');
8
8
 
@@ -238,7 +238,7 @@ async function listDaemonLogFiles(limit = 50) {
238
238
  return { file, path: fullPath, modified: stats.mtime };
239
239
  }).sort((a, b) => b.modified.getTime() - a.modified.getTime());
240
240
  try {
241
- const { readDaemonState } = await Promise.resolve().then(function () { return require('./persistence-CIzOAWK6.cjs'); }).then(function (n) { return n.persistence; });
241
+ const { readDaemonState } = await Promise.resolve().then(function () { return require('./persistence-CqtjFiD1.cjs'); }).then(function (n) { return n.persistence; });
242
242
  const state = await readDaemonState();
243
243
  if (!state) {
244
244
  return logs;
@@ -1,6 +1,6 @@
1
1
  import chalk from 'chalk';
2
2
  import { inspect } from 'node:util';
3
- import { d as appendPrivateFileSync, c as configuration } from './configuration-DbCHeEeP.mjs';
3
+ import { d as appendPrivateFileSync, c as configuration } from './configuration-BZHpFD7K.mjs';
4
4
  import { existsSync, readdirSync, statSync } from 'node:fs';
5
5
  import { join, basename } from 'node:path';
6
6
 
@@ -236,7 +236,7 @@ async function listDaemonLogFiles(limit = 50) {
236
236
  return { file, path: fullPath, modified: stats.mtime };
237
237
  }).sort((a, b) => b.modified.getTime() - a.modified.getTime());
238
238
  try {
239
- const { readDaemonState } = await import('./persistence-FgtDuVAP.mjs').then(function (n) { return n.F; });
239
+ const { readDaemonState } = await import('./persistence-Bn4qEbDg.mjs').then(function (n) { return n.F; });
240
240
  const state = await readDaemonState();
241
241
  if (!state) {
242
242
  return logs;
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var os = require('node:os');
4
- var _package = require('./package-BuATIMpK.cjs');
5
- var configuration = require('./configuration-CI0GWwaT.cjs');
4
+ var _package = require('./package-Gnf_935w.cjs');
5
+ var configuration = require('./configuration-DyPW9mVa.cjs');
6
6
  var projectPath = require('./projectPath-C3ioB4Bu.cjs');
7
7
  var detectCLI = require('./detectCLI-BuYR_Qxe.cjs');
8
- var localHappyAgentAuth = require('./localHappyAgentAuth-BHklNDKQ.cjs');
8
+ var localHappyAgentAuth = require('./localHappyAgentAuth-DucSnCg3.cjs');
9
9
  var fsMkdir = require('./fsMkdir-0K3yENml.cjs');
10
10
 
11
11
  const TEAM_RETRY_CAPABILITY_VERSION = 2;
@@ -1,9 +1,9 @@
1
1
  import os from 'node:os';
2
- import { p as packageJson } from './package-DagIeOhi.mjs';
3
- import { c as configuration } from './configuration-DbCHeEeP.mjs';
2
+ import { p as packageJson } from './package-CwB8rFJt.mjs';
3
+ import { c as configuration } from './configuration-BZHpFD7K.mjs';
4
4
  import { p as projectPath } from './projectPath-BTBIMB57.mjs';
5
5
  import { d as detectCLIAvailability } from './detectCLI-CSGMlV51.mjs';
6
- import { d as detectResumeSupport } from './localHappyAgentAuth-OJk4xDwg.mjs';
6
+ import { d as detectResumeSupport } from './localHappyAgentAuth-wvDp-nGj.mjs';
7
7
  import { F as FS_MKDIR_CAPABILITY_VERSION } from './fsMkdir-DumgLTzR.mjs';
8
8
 
9
9
  const TEAM_RETRY_CAPABILITY_VERSION = 2;