@noxsoft/anima 2.0.0 → 2.0.2

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 (255) hide show
  1. package/dist/{acp-cli-BbvR4dNz.js → acp-cli-DvphOKuh.js} +3 -3
  2. package/dist/{acp-cli-CePIi7gD.js → acp-cli-p28pQ65a.js} +3 -3
  3. package/dist/{agent-NgeWEcBM.js → agent-Cj7uDJaZ.js} +7 -7
  4. package/dist/{agent-CSrGrAg1.js → agent-Cuj9-2sT.js} +6 -6
  5. package/dist/{agent-events-UF0DxwKS.js → agent-events-BEBQsyE5.js} +1 -1
  6. package/dist/{agents-Bw06WthM.js → agents-BUWqn_Ui.js} +26 -61
  7. package/dist/{audit-Buja3mbS.js → audit-C6okOOSh.js} +6 -6
  8. package/dist/{audit-CWIz6mM7.js → audit-VWjIdwC7.js} +6 -6
  9. package/dist/{auth-choice-7dFCqblU.js → auth-choice-CAmACV13.js} +5 -5
  10. package/dist/{auth-choice-S_0K9gpl.js → auth-choice-p3SeHPj2.js} +5 -5
  11. package/dist/{auth-health-DoHai4eD.js → auth-health-B_jXrWe6.js} +1 -1
  12. package/dist/{auth-health-CctpRTdC.js → auth-health-DCicUKYR.js} +1 -1
  13. package/dist/{auth-profiles-_5BsNObq.js → auth-profiles-CCDD56dU.js} +0 -1
  14. package/dist/{auth-profiles-Cz2rxrav.js → auth-profiles-DxI8L7bs.js} +0 -1
  15. package/dist/auto-update-CUeF99gI.js +269 -0
  16. package/dist/auto-update-cgkp9ZTJ.js +269 -0
  17. package/dist/{banner-ieAUufx9.js → banner-Cohn04J6.js} +1 -1
  18. package/dist/{browser-cli-DldrdaCW.js → browser-cli-DANzjztE.js} +4 -4
  19. package/dist/{browser-cli-D_qgYDik.js → browser-cli-WjsVH741.js} +4 -4
  20. package/dist/build-info.json +3 -3
  21. package/dist/bundled/boot-md/handler.js +7 -7
  22. package/dist/{call-ktoEhkOQ.js → call-BAHvlu2G.js} +1 -1
  23. package/dist/{call-DPzNR_Qi.js → call-Ct7EGP_L.js} +1 -1
  24. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  25. package/dist/{channel-options-C3GV4Fgg.js → channel-options-Dx9nPlX8.js} +1 -1
  26. package/dist/{channel-options-DJ4GNfwk.js → channel-options-ZdvXrTGs.js} +1 -1
  27. package/dist/{channel-web-D42mzlCJ.js → channel-web-CC0hkgkR.js} +10 -10
  28. package/dist/{channels-cli-Ddo_tIRR.js → channels-cli-D7lNBpIb.js} +22 -22
  29. package/dist/{channels-cli-BAtARz4A.js → channels-cli-DUPG8WDv.js} +21 -21
  30. package/dist/cli/daemon-cli.js +1 -1
  31. package/dist/{cli-D3hUnL_G.js → cli-CfHUkOD0.js} +17 -17
  32. package/dist/{cli-DDwD6VgH.js → cli-ClMrIh6l.js} +18 -18
  33. package/dist/{cli-session-CP7ZH2-6.js → cli-session-BkPTd9Pk.js} +4 -4
  34. package/dist/{cli-session-oXJQpenl.js → cli-session-Dd8DKb5a.js} +5 -5
  35. package/dist/{command-registry-DDGudZEQ.js → command-registry-DZ4hkmA0.js} +12 -12
  36. package/dist/{commands-CRcFD5MO.js → commands-DtYZJSPn.js} +62 -3
  37. package/dist/{commands-Dh40OpQL.js → commands-Dujk1JmY.js} +62 -3
  38. package/dist/{completion-cli-B9Cn374l.js → completion-cli-tSe7Pmqm.js} +1 -1
  39. package/dist/{completion-cli-BEHghUFx.js → completion-cli-vn4IScs5.js} +2 -2
  40. package/dist/{config-CHc5qzaI.js → config-C8rUDJXY.js} +1 -1
  41. package/dist/{config-Bmm8tmZF.js → config-CLZ_XGVw.js} +1 -1
  42. package/dist/{config-Xm0j9LUa.js → config-SY8M0kM_.js} +1 -1
  43. package/dist/{config-cli-9ZbCHoV8.js → config-cli-1V7D2Wsw.js} +3 -3
  44. package/dist/{config-cli-sxuGl29N.js → config-cli-CjWEC81L.js} +3 -3
  45. package/dist/{config-guard-BwRD-b9Z.js → config-guard-BW2gpKj_.js} +5 -5
  46. package/dist/{config-guard-Dy7wyhAX.js → config-guard-BvxuzHpo.js} +2 -2
  47. package/dist/{config-sync-mfuOoGHl.js → config-sync-CoIIbEOe.js} +5 -3
  48. package/dist/{config-sync-Bllc1TJ4.js → config-sync-DvAttep0.js} +5 -3
  49. package/dist/{configure-CCyVzQZ7.js → configure-Bf0oupCE.js} +20 -67
  50. package/dist/{configure-Nntbxt4t.js → configure-DRM-7zFf.js} +20 -68
  51. package/dist/{context-DKaQYnCH.js → context-D5iEFzv9.js} +2 -2
  52. package/dist/{control-service-BeOtZCCS.js → control-service-C8m8F9pr.js} +2 -2
  53. package/dist/{control-service-vyKJ-XUp.js → control-service-DKotCWCg.js} +2 -2
  54. package/dist/{cron-cli-C8XzIpyX.js → cron-cli-DB_FLYHD.js} +4 -4
  55. package/dist/{cron-cli-BasqtsJ0.js → cron-cli-bxm5lrrO.js} +4 -4
  56. package/dist/{daemon-cli-sjDh2xbf.js → daemon-cli-1LsOnICv.js} +5 -5
  57. package/dist/{daemon-cli-cwL2GI5i.js → daemon-cli-CC2NrJ7a.js} +5 -5
  58. package/dist/daemon-cli.js +0 -1
  59. package/dist/{daemon-runtime-CTvi3m4D.js → daemon-runtime-BXZhtBL9.js} +1 -1
  60. package/dist/{daemon-runtime-BuMT6nck.js → daemon-runtime-DW4USC7r.js} +1 -1
  61. package/dist/{deliver-DlNDKlA4.js → deliver-B4HuPwJA.js} +1 -1
  62. package/dist/{deliver-bC6iI_rv.js → deliver-LiY5oL52.js} +1 -1
  63. package/dist/{deliver-D6cdhg5m.js → deliver-xrmk7xjh.js} +1 -1
  64. package/dist/{deps-C9kDG-Ru.js → deps-CMMOiOsF.js} +1 -1
  65. package/dist/{devices-cli-GyPlNRyd.js → devices-cli-Be5he2SA.js} +3 -3
  66. package/dist/{devices-cli-BE-Nib4Y.js → devices-cli-z6ecoFe9.js} +3 -3
  67. package/dist/{directory-cli-CZ_-DP5Z.js → directory-cli-CEy-0nxj.js} +2 -2
  68. package/dist/{directory-cli-BEaIvWkc.js → directory-cli-DpzKcigr.js} +2 -2
  69. package/dist/{dispatcher-Bkcui7jz.js → dispatcher-10Shiuz3.js} +1 -1
  70. package/dist/{dispatcher-C1B6cT_7.js → dispatcher-3Jae6AiW.js} +1 -1
  71. package/dist/{dns-cli-BUzpVoMv.js → dns-cli-Bat1pkc-.js} +2 -2
  72. package/dist/{dns-cli-DstQOMQt.js → dns-cli-NohNyEo0.js} +2 -2
  73. package/dist/{doctor-DnEyqGcQ.js → doctor-BrT5m_on.js} +18 -18
  74. package/dist/{doctor-B5HFw-nC.js → doctor-Pp2HVnjM.js} +18 -18
  75. package/dist/{doctor-completion-BMEPXgVg.js → doctor-completion-DNTimX9o.js} +1 -1
  76. package/dist/{doctor-completion-usPeH2ol.js → doctor-completion-ylN9QAJ6.js} +1 -1
  77. package/dist/{doctor-config-flow-Cs4O_Kmq.js → doctor-config-flow-D1w3700T.js} +3 -3
  78. package/dist/{doctor-config-flow-CS0WFnjL.js → doctor-config-flow-Dq50iE1R.js} +3 -3
  79. package/dist/{engine-ZSd5I5JN.js → engine-B9avUJL5.js} +8 -6
  80. package/dist/{engine-DgK9s3lk.js → engine-BiUQ25D4.js} +8 -6
  81. package/dist/entry.js +1 -1
  82. package/dist/{exec-approvals-cli-25CGlFNw.js → exec-approvals-cli-DXfV6G8H.js} +5 -5
  83. package/dist/{exec-approvals-cli-BXZ-hOlT.js → exec-approvals-cli-J2cZs10o.js} +5 -5
  84. package/dist/extensionAPI.js +0 -1
  85. package/dist/{gateway-cli-D8Qz7kCf.js → gateway-cli-DOAbA0pc.js} +44 -44
  86. package/dist/{gateway-cli-B9uc0RCI.js → gateway-cli-QpWtBhQy.js} +46 -46
  87. package/dist/{gateway-rpc-Ch9mCYEB.js → gateway-rpc-DJKBil9s.js} +1 -1
  88. package/dist/{gateway-rpc-DBhcdLFs.js → gateway-rpc-DVterpLP.js} +1 -1
  89. package/dist/{github-copilot-auth-D6ZErYqa.js → github-copilot-auth-4IUFp669.js} +2 -2
  90. package/dist/{github-copilot-auth-DGmyWJms.js → github-copilot-auth-C9E0IROs.js} +2 -2
  91. package/dist/{health-DsTZaAzV.js → health-BeZnqp6m.js} +8 -8
  92. package/dist/{health-V6dGthLA.js → health-Cn2OoVWZ.js} +8 -8
  93. package/dist/{heartbeat-visibility-CkL00WRR.js → heartbeat-visibility-BL3WAchI.js} +1 -1
  94. package/dist/{heartbeat-visibility-Cmni9671.js → heartbeat-visibility-CQ9QimI7.js} +1 -1
  95. package/dist/{hooks-cli-E63uffR6.js → hooks-cli-D99hXt7K.js} +19 -19
  96. package/dist/{hooks-cli-Cu0D0fPS.js → hooks-cli-DMB8RiEO.js} +18 -18
  97. package/dist/index.js +28 -28
  98. package/dist/{ipv4-TxR9wQCQ.js → ipv4-Bf7NS3QU.js} +5 -5
  99. package/dist/{ipv4-C5QxzriV.js → ipv4-wWNs8IH_.js} +5 -5
  100. package/dist/{login-C-ugYHKt.js → login-BDCg6D0N.js} +2 -2
  101. package/dist/{login-CX5Q2fYl.js → login-BDfnbjnZ.js} +2 -2
  102. package/dist/{login--8D8kyRy.js → login-BqH1itcg.js} +2 -2
  103. package/dist/{login-qr-BLmGvITg.js → login-qr-CyOw3R4r.js} +3 -3
  104. package/dist/{login-qr-BNtuXLKL.js → login-qr-D8ECtb72.js} +3 -3
  105. package/dist/{login-qr-PcyTC7Ra.js → login-qr-RnR7e4Bw.js} +3 -3
  106. package/dist/{logs-cli-BEQVkiXp.js → logs-cli--j89L74J.js} +4 -4
  107. package/dist/{logs-cli-CIqiVMkY.js → logs-cli-DpEMg_Gq.js} +4 -4
  108. package/dist/{manager-Bsy9ifug.js → manager-B4OyvcxT.js} +1 -1
  109. package/dist/{manager-CDgcZ51c.js → manager-Cqc1CeH7.js} +1 -1
  110. package/dist/{manager-D7QQ5XrE.js → manager-DUyQPFvj.js} +1 -1
  111. package/dist/{memory-cli-BoXdfCLT.js → memory-cli-BKocCWXM.js} +4 -4
  112. package/dist/{memory-cli-BmIyAOZm.js → memory-cli-Jmma-xI_.js} +4 -4
  113. package/dist/{model-selection-BnEobs_z.js → model-selection-YcSr9CgC.js} +0 -1
  114. package/dist/{models-KLd8Evmq.js → models-1vUQBVfw.js} +18 -53
  115. package/dist/{models-cli-DJHs5rJF.js → models-cli-BK3BwUhL.js} +21 -21
  116. package/dist/{models-cli-D4UFQLid.js → models-cli-DECrM8oA.js} +23 -23
  117. package/dist/{node-cli-BNCJUkgA.js → node-cli-cLHUNpPD.js} +7 -7
  118. package/dist/{node-cli-C7S0vk0_.js → node-cli-fO7Y132S.js} +7 -7
  119. package/dist/{nodes-cli-DOXhYgc8.js → nodes-cli-BCq35E6N.js} +4 -4
  120. package/dist/{nodes-cli-wvPZ3HwH.js → nodes-cli-vD7MwAKP.js} +4 -4
  121. package/dist/{onboard-DiTRW6CH.js → onboard-Ds6w_sWo.js} +10 -10
  122. package/dist/{onboard-lH3XPWAK.js → onboard-SAVx3bp4.js} +10 -10
  123. package/dist/{onboard-channels-BgruIpyg.js → onboard-channels-Cg_EkBa4.js} +2 -2
  124. package/dist/{onboard-channels-gyq0VHHp.js → onboard-channels-D7NbA55V.js} +2 -2
  125. package/dist/{onboard-helpers-f5Zprayl.js → onboard-helpers-DO_hgZb9.js} +2 -2
  126. package/dist/{onboard-helpers-BEaUind0.js → onboard-helpers-_XgJgeqh.js} +2 -2
  127. package/dist/{onboarding-kQVgbiIR.js → onboarding-3hLmDd0r.js} +12 -12
  128. package/dist/{onboarding-D0FOkXGt.js → onboarding-B4LKLsbU.js} +12 -12
  129. package/dist/{orchestrator-CYTk7mq6.js → orchestrator-BKzmyBWy.js} +7 -5
  130. package/dist/{orchestrator-J6ELnJXl.js → orchestrator-BN3QCz2s.js} +7 -5
  131. package/dist/{outbound-BSVD-rjk.js → outbound-BgA9hNlP.js} +1 -1
  132. package/dist/{outbound-DXijk0db.js → outbound-CjdvVhUI.js} +1 -1
  133. package/dist/{outbound-BEq0qbPR.js → outbound-DOGe6qb2.js} +1 -1
  134. package/dist/{outbound-send-deps-BNGPU7jV.js → outbound-send-deps-Du5aBpd7.js} +1 -1
  135. package/dist/{pairing-cli-DKUyb6eK.js → pairing-cli-2vnyg_Nd.js} +3 -3
  136. package/dist/{pairing-cli-ET2p_mXH.js → pairing-cli-BH1KQtNV.js} +3 -3
  137. package/dist/{pairing-store-CGYSwICJ.js → pairing-store-DJz_9Gv0.js} +1 -1
  138. package/dist/{pairing-store-DqQPqRMe.js → pairing-store-DmOzxcuk.js} +1 -1
  139. package/dist/{pi-auth-json-BzX-qyRo.js → pi-auth-json-B68R7q7_.js} +1 -1
  140. package/dist/{pi-auth-json-eesA38iW.js → pi-auth-json-CR0jXAgq.js} +1 -1
  141. package/dist/{pi-auth-json-uEDdgg8K.js → pi-auth-json-ZYzi3nxs.js} +1 -1
  142. package/dist/{pi-model-discovery-CQOWUAmK.js → pi-model-discovery-Cxs4pvC2.js} +1 -1
  143. package/dist/{pi-tools.policy-D9AUlreI.js → pi-tools.policy-D81U5xy0.js} +1 -1
  144. package/dist/{pi-tools.policy-DRDm3v-2.js → pi-tools.policy-DSHkkb5b.js} +1 -1
  145. package/dist/{plugin-auto-enable-C-JwYMlZ.js → plugin-auto-enable-CxF4bpDN.js} +1 -1
  146. package/dist/{plugin-auto-enable-DLIDBBfi.js → plugin-auto-enable-jNaAeyEh.js} +1 -1
  147. package/dist/{plugin-registry-CP7KgCvC.js → plugin-registry-C7XWotZG.js} +1 -1
  148. package/dist/{plugin-registry-Bp8mivr-.js → plugin-registry-DcUCbGax.js} +1 -1
  149. package/dist/plugin-sdk/agents/bedrock-discovery.d.ts +1 -2
  150. package/dist/plugin-sdk/agents/pi-tools.policy.d.ts +1 -1
  151. package/dist/plugin-sdk/agents/pi-tools.read.d.ts +3 -3
  152. package/dist/plugin-sdk/agents/tool-policy.d.ts +1 -1
  153. package/dist/plugin-sdk/agents/tools/browser-tool.schema.d.ts +1 -1
  154. package/dist/plugin-sdk/index.js +0 -1
  155. package/dist/{plugins-cli-CtFRTC2I.js → plugins-cli-BsCEnoQ7.js} +20 -20
  156. package/dist/{plugins-cli-D1lvqLG9.js → plugins-cli-QSIsMUG7.js} +18 -18
  157. package/dist/{program-Bve7k4jO.js → program-DkJHjI0R.js} +25 -25
  158. package/dist/{program-context-8lqacY-M.js → program-context-DnyGM2SC.js} +38 -38
  159. package/dist/{queue-2CW7pnm1.js → queue-D_u34pbL.js} +3 -1
  160. package/dist/{queue-DhjMEG_Q.js → queue-PG591iID.js} +3 -1
  161. package/dist/{register.agent-CE_8JbTE.js → register.agent-CSWvzOkR.js} +26 -26
  162. package/dist/{register.agent-CGRdcftb.js → register.agent-UeH2NXmH.js} +24 -24
  163. package/dist/{register.anima-hNCtQ_jl.js → register.anima-DOdee0dh.js} +40 -14
  164. package/dist/{register.anima-B4NPeesF.js → register.anima-HHDWsz6r.js} +40 -14
  165. package/dist/{register.configure-Dqm2IveL.js → register.configure-CSJFxdz9.js} +28 -28
  166. package/dist/{register.configure-3prVPXwx.js → register.configure-D84Fvcz4.js} +29 -29
  167. package/dist/{register.maintenance-BSIx4eNS.js → register.maintenance-B3pvNbZb.js} +30 -30
  168. package/dist/{register.maintenance-DDeG6CHa.js → register.maintenance-BKVOwkw6.js} +32 -32
  169. package/dist/{register.message-DcYPDzYr.js → register.message-BAO6CPl2.js} +20 -20
  170. package/dist/{register.message-RbFrjbch.js → register.message-OXoOKE_6.js} +19 -19
  171. package/dist/{register.onboard-BrcWHC9j.js → register.onboard-BK_ixVmD.js} +35 -35
  172. package/dist/{register.onboard-BBJK_0_C.js → register.onboard-cfCaPx6j.js} +33 -33
  173. package/dist/{register.setup-ByvEHxYQ.js → register.setup-BGfDnzph.js} +33 -33
  174. package/dist/{register.setup-CNwO5Yq3.js → register.setup-Y-Q74M-0.js} +35 -35
  175. package/dist/{register.status-health-sessions-CGT7bn4C.js → register.status-health-sessions-CT14eitH.js} +24 -24
  176. package/dist/{register.status-health-sessions-QK6iQSJc.js → register.status-health-sessions-TfZMzAUn.js} +22 -22
  177. package/dist/{register.subclis-Bd8eE94r.js → register.subclis-BZwdlNHC.js} +27 -27
  178. package/dist/{reply-Clj5jcM5.js → reply-mlsExaZm.js} +25 -25
  179. package/dist/{reply-prefix-D2NxVzGZ.js → reply-prefix-B0CfR4bM.js} +2 -2
  180. package/dist/{reply-prefix-DPpz_mEi.js → reply-prefix-w4a39ybC.js} +2 -2
  181. package/dist/{reply-DnH1Ueoz.js → reply-qalRISe_.js} +24 -24
  182. package/dist/{routes-DtRwwTy6.js → routes-CENsHJyg.js} +2 -2
  183. package/dist/{routes-CXpne1-p.js → routes-DO0HqW2e.js} +2 -2
  184. package/dist/{rpc-CMEWfcci.js → rpc-C0pjNhBi.js} +1 -1
  185. package/dist/{rpc-BBB_Fbes.js → rpc-DZ44PIXE.js} +1 -1
  186. package/dist/{run-main-DOXNrnL2.js → run-main-BMpKw8Mp.js} +40 -40
  187. package/dist/{sandbox-D3CFkNeF.js → sandbox-BIGfMYEI.js} +2 -2
  188. package/dist/{sandbox-Bk0ZXcag.js → sandbox-DxP3IpUP.js} +2 -2
  189. package/dist/{sandbox-cli-Ctpa2Isy.js → sandbox-cli-DtLGH8sL.js} +6 -6
  190. package/dist/{sandbox-cli-BCnnmQ03.js → sandbox-cli-_Tg7lfJ_.js} +6 -6
  191. package/dist/{security-cli-BiiLLcQV.js → security-cli-BRwgbedo.js} +10 -10
  192. package/dist/{security-cli-DOZmLENS.js → security-cli-D3bSuyZt.js} +10 -10
  193. package/dist/{server-context-BznDS2td.js → server-context-49XFFxFg.js} +1 -1
  194. package/dist/{server-context-CXnE2F7d.js → server-context-LrlgrZzS.js} +1 -1
  195. package/dist/{server-node-events-Cu6Qkjor.js → server-node-events-Dm52i7NW.js} +8 -8
  196. package/dist/{server-node-events-Cv8MuF1g.js → server-node-events-QX523UyF.js} +7 -7
  197. package/dist/{service-audit-DKWJcTu4.js → service-audit-D0X_XAB2.js} +1 -1
  198. package/dist/{service-audit-DBsygs7y.js → service-audit-qmf6XMmP.js} +1 -1
  199. package/dist/{session-DUFuU29j.js → session-CrQQLLhx.js} +1 -1
  200. package/dist/{session-CXcl3Xrp.js → session-LocsOOWJ.js} +1 -1
  201. package/dist/{session-M_uCxF0U.js → session-Vlce2BAT.js} +1 -1
  202. package/dist/{sessions-B8GUAiF6.js → sessions-BfV53TbG.js} +1 -1
  203. package/dist/{sessions-D0spLCm7.js → sessions-BimpX_km.js} +7 -14
  204. package/dist/{sessions-D0Zd1CND.js → sessions-DcXpzig0.js} +1 -1
  205. package/dist/{sessions-XvkHLXt4.js → sessions-Wd18dukK.js} +1 -1
  206. package/dist/{shared-CEHU0exQ.js → shared-Bsr69u_7.js} +2 -2
  207. package/dist/{shared-DAHxpviD.js → shared-f7dvQsi7.js} +2 -2
  208. package/dist/{skills-cli-DF9XJ2_0.js → skills-cli-DUGe2ZWW.js} +2 -2
  209. package/dist/{skills-cli-eLBluVoD.js → skills-cli-DtOk0bvK.js} +2 -2
  210. package/dist/{start-BvsoGNHJ.js → start--xmSFepB.js} +31 -13
  211. package/dist/{start-CF_Cp6YC.js → start-BdlZbqrr.js} +31 -13
  212. package/dist/{status-CXQrTLri.js → status-BgoeFm6g.js} +12 -12
  213. package/dist/{status-BZip7mx9.js → status-BjjDrUq7.js} +2 -2
  214. package/dist/{status-BqYq_J5J.js → status-Ct0DgOZ-.js} +11 -11
  215. package/dist/{status-BKGJ7VPQ.js → status-RA_uNmK0.js} +2 -2
  216. package/dist/{status.update-CWiod7o_.js → status.update-BjOH3GlS.js} +1 -1
  217. package/dist/{status.update-D1PyrhoB.js → status.update-DLU1qBf0.js} +1 -1
  218. package/dist/{subagent-registry-CpSZ2RSO.js → subagent-registry-9RLdKxES.js} +5 -5
  219. package/dist/{subagent-registry-DkCXRdwf.js → subagent-registry-Byuex3zp.js} +5 -5
  220. package/dist/{subagent-registry-MPrTYaEB.js → subagent-registry-DOBunBYS.js} +5 -5
  221. package/dist/{system-cli-4Urk9KV1.js → system-cli-C5oBpzni.js} +4 -4
  222. package/dist/{system-cli-CgMzkg8R.js → system-cli-DXNKD_Id.js} +4 -4
  223. package/dist/{tui-Cj25a9wc.js → tui-BHjxDFZC.js} +2 -2
  224. package/dist/{tui-Iv4T-9gg.js → tui-CgOocwN8.js} +2 -2
  225. package/dist/{tui-cli-DeFmBtZ7.js → tui-cli-5ANH8dE5.js} +4 -4
  226. package/dist/{tui-cli-BkJxFa_n.js → tui-cli-BQ4P-JW_.js} +4 -4
  227. package/dist/{update-cli-qGGlL5Lg.js → update-cli-PtXU62w7.js} +35 -35
  228. package/dist/{update-cli-rMqhSUMc.js → update-cli-Va0EtETG.js} +32 -32
  229. package/dist/{update-runner-BT77y3bz.js → update-runner-BLeKFkiB.js} +1 -1
  230. package/dist/{update-runner-DvzFqFJf.js → update-runner-Iuzpc-_y.js} +1 -1
  231. package/dist/{usage-BeZuVAY4.js → usage-ApGvBLVg.js} +7 -7
  232. package/dist/{web-DI0g5K4c.js → web-B6_Ky60G.js} +22 -22
  233. package/dist/{web-DHSoj6bL.js → web-EZLQEWXY.js} +24 -24
  234. package/dist/{web-DEx7MMYq.js → web-pec8YJUX.js} +22 -22
  235. package/dist/{webhooks-cli-sfLRE89X.js → webhooks-cli-BYQKTHTp.js} +2 -2
  236. package/dist/{webhooks-cli-xtZBlaD1.js → webhooks-cli-C2_xtsUQ.js} +2 -2
  237. package/dist/{whatsapp-actions-DIREhxrq.js → whatsapp-actions-C72VCq8f.js} +3 -3
  238. package/dist/{whatsapp-actions-TGHl9p4i.js → whatsapp-actions-Ck9Uv0Nw.js} +4 -4
  239. package/dist/{whatsapp-actions-dBHozeuk.js → whatsapp-actions-D0reTj2k.js} +3 -3
  240. package/package.json +6 -2
  241. package/templates/SOUL.md +2 -0
  242. package/templates/SPIRIT.md +2 -0
  243. /package/dist/{budget-Dspr6N_e.js → budget-BWBp8Res.js} +0 -0
  244. /package/dist/{budget-ChKARYPY.js → budget-DxYQSekw.js} +0 -0
  245. /package/dist/{loader-Dmc0KyQK.js → loader-BoYxRfcW.js} +0 -0
  246. /package/dist/{loader-6Qkyybg1.js → loader-l2OBdJ8x.js} +0 -0
  247. /package/dist/{qmd-manager-CrDrpgh3.js → qmd-manager-Cur_Ekn0.js} +0 -0
  248. /package/dist/{qmd-manager-B0FWDi1x.js → qmd-manager-DNAUuwjK.js} +0 -0
  249. /package/dist/{registry-BiekeB9q.js → registry-Bs_DJK9E.js} +0 -0
  250. /package/dist/{registry-qI6V4gqU.js → registry-D_zlP1U-.js} +0 -0
  251. /package/dist/{systemd-linger-D5vLilKH.js → systemd-linger-CTmV2Gci.js} +0 -0
  252. /package/dist/{systemd-linger-BNz8PXPF.js → systemd-linger-CmyqQkeC.js} +0 -0
  253. /package/dist/{templates-DJ0ii6X2.js → templates-CeYJjVzw.js} +0 -0
  254. /package/dist/{templates-DPTs18po.js → templates-I3Z0xplD.js} +0 -0
  255. /package/dist/{update-DZRKbMjq.js → update-TxptCqk7.js} +0 -0
@@ -0,0 +1,269 @@
1
+ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
+ import { execFile, spawn } from "node:child_process";
3
+ import * as path$1 from "node:path";
4
+ import * as fs$1 from "node:fs";
5
+ import { fileURLToPath } from "node:url";
6
+ import { EventEmitter } from "node:events";
7
+
8
+ //#region src/updater/auto-update.ts
9
+ /**
10
+ * Auto-Updater -- checks npm for new versions and updates @noxsoft/anima.
11
+ *
12
+ * Runs on a configurable interval (default: every 6 hours).
13
+ * Uses the npm registry HTTP API (no CLI dependency for checking)
14
+ * to detect new versions, then installs via `npm install -g` and
15
+ * optionally restarts by spawning the new binary.
16
+ *
17
+ * Supports 'stable' (latest) and 'beta' dist-tag channels.
18
+ */
19
+ var auto_update_exports = /* @__PURE__ */ __exportAll({
20
+ AnimaAutoUpdater: () => AnimaAutoUpdater,
21
+ DEFAULT_AUTO_UPDATE_CONFIG: () => DEFAULT_AUTO_UPDATE_CONFIG,
22
+ loadAutoUpdateConfig: () => loadAutoUpdateConfig
23
+ });
24
+ const PACKAGE_NAME = "@noxsoft/anima";
25
+ const REGISTRY_BASE = "https://registry.npmjs.org";
26
+ const DEFAULT_AUTO_UPDATE_CONFIG = {
27
+ enabled: true,
28
+ checkIntervalHours: 6,
29
+ autoRestart: false,
30
+ channel: "stable"
31
+ };
32
+ var AnimaAutoUpdater = class extends EventEmitter {
33
+ constructor(config, dataDir) {
34
+ super();
35
+ this.checkTimer = null;
36
+ this.checking = false;
37
+ this.lastCheckTime = null;
38
+ this.lastUpdateInfo = null;
39
+ this.config = config;
40
+ this.currentVersion = this.readCurrentVersion();
41
+ this.logFile = path$1.join(dataDir, "updates.log");
42
+ fs$1.mkdirSync(dataDir, { recursive: true });
43
+ }
44
+ /** Start the periodic update check loop. */
45
+ start() {
46
+ if (!this.config.enabled) return;
47
+ this.check();
48
+ const intervalMs = this.config.checkIntervalHours * 60 * 60 * 1e3;
49
+ this.checkTimer = setInterval(() => void this.check(), intervalMs);
50
+ }
51
+ /** Stop the update check loop. */
52
+ stop() {
53
+ if (this.checkTimer) {
54
+ clearInterval(this.checkTimer);
55
+ this.checkTimer = null;
56
+ }
57
+ }
58
+ /** Get the current installed version. */
59
+ getVersion() {
60
+ return this.currentVersion;
61
+ }
62
+ /** Get the last check time. */
63
+ getLastCheckTime() {
64
+ return this.lastCheckTime;
65
+ }
66
+ /** Get the last update info (if an update was found). */
67
+ getLastUpdateInfo() {
68
+ return this.lastUpdateInfo;
69
+ }
70
+ /** Get the current config. */
71
+ getConfig() {
72
+ return { ...this.config };
73
+ }
74
+ /** Manually trigger an update check. Returns info if update found, null otherwise. */
75
+ async check() {
76
+ if (this.checking) return null;
77
+ this.checking = true;
78
+ try {
79
+ const tag = this.config.channel === "beta" ? "beta" : "latest";
80
+ const latestVersion = await this.fetchLatestVersion(tag);
81
+ this.lastCheckTime = /* @__PURE__ */ new Date();
82
+ if (!latestVersion) return null;
83
+ if (this.isNewer(latestVersion, this.currentVersion)) {
84
+ const info = {
85
+ currentVersion: this.currentVersion,
86
+ latestVersion,
87
+ channel: this.config.channel,
88
+ timestamp: (/* @__PURE__ */ new Date()).toISOString()
89
+ };
90
+ this.lastUpdateInfo = info;
91
+ this.emit("update-available", info);
92
+ this.log(`Update available: ${this.currentVersion} -> ${latestVersion}`);
93
+ if (this.config.autoRestart) {
94
+ await this.installUpdate(latestVersion);
95
+ this.log(`Update installed: ${latestVersion}`);
96
+ this.emit("update-installed", info);
97
+ this.restartProcess();
98
+ }
99
+ return info;
100
+ }
101
+ this.lastUpdateInfo = null;
102
+ return null;
103
+ } catch (error) {
104
+ const msg = error instanceof Error ? error.message : String(error);
105
+ this.log(`Update check failed: ${msg}`);
106
+ this.emit("update-error", error);
107
+ return null;
108
+ } finally {
109
+ this.checking = false;
110
+ }
111
+ }
112
+ /**
113
+ * Install the latest version and restart (for manual `anima update` / `:update install`).
114
+ * Returns the UpdateInfo if an update was installed, null if already current.
115
+ */
116
+ async installAndRestart() {
117
+ const tag = this.config.channel === "beta" ? "beta" : "latest";
118
+ const latestVersion = await this.fetchLatestVersion(tag);
119
+ if (!latestVersion) {
120
+ this.log("No version found on npm -- package may not be published yet.");
121
+ return null;
122
+ }
123
+ if (!this.isNewer(latestVersion, this.currentVersion)) return null;
124
+ const info = {
125
+ currentVersion: this.currentVersion,
126
+ latestVersion,
127
+ channel: this.config.channel,
128
+ timestamp: (/* @__PURE__ */ new Date()).toISOString()
129
+ };
130
+ await this.installUpdate(latestVersion);
131
+ this.log(`Update installed: ${latestVersion}`);
132
+ this.emit("update-installed", info);
133
+ return info;
134
+ }
135
+ /**
136
+ * Fetch the latest version from the npm registry HTTP API.
137
+ * Uses fetch -- no npm CLI needed for checking.
138
+ *
139
+ * For the 'stable' channel, fetches the 'latest' dist-tag.
140
+ * For the 'beta' channel, fetches the 'beta' dist-tag.
141
+ */
142
+ async fetchLatestVersion(tag) {
143
+ try {
144
+ const url = `${REGISTRY_BASE}/${encodeURIComponent(PACKAGE_NAME)}/${tag}`;
145
+ const response = await fetch(url, {
146
+ headers: { Accept: "application/json" },
147
+ signal: AbortSignal.timeout(15e3)
148
+ });
149
+ if (!response.ok) {
150
+ if (response.status === 404) return null;
151
+ return null;
152
+ }
153
+ return (await response.json()).version ?? null;
154
+ } catch {
155
+ return null;
156
+ }
157
+ }
158
+ /** Install the specified version via npm. */
159
+ installUpdate(version) {
160
+ return new Promise((resolve, reject) => {
161
+ const thisDir = path$1.dirname(fileURLToPath(import.meta.url));
162
+ const isGlobal = thisDir.includes("/lib/node_modules/") || thisDir.includes("\\node_modules\\");
163
+ execFile("npm", isGlobal ? [
164
+ "install",
165
+ "-g",
166
+ `${PACKAGE_NAME}@${version}`
167
+ ] : ["install", `${PACKAGE_NAME}@${version}`], {
168
+ timeout: 12e4,
169
+ cwd: isGlobal ? void 0 : this.findProjectRoot(thisDir) ?? void 0
170
+ }, (error) => {
171
+ if (error) {
172
+ reject(/* @__PURE__ */ new Error(`Failed to install update: ${error.message}`));
173
+ return;
174
+ }
175
+ resolve();
176
+ });
177
+ });
178
+ }
179
+ /**
180
+ * Restart the process by spawning the anima binary.
181
+ * This launches a new process and exits the current one.
182
+ */
183
+ restartProcess() {
184
+ this.log("Restarting with updated binary...");
185
+ if (!process.argv[1]) {
186
+ this.log("Cannot determine binary path for restart -- manual restart required.");
187
+ return;
188
+ }
189
+ const args = process.argv.slice(1);
190
+ try {
191
+ spawn(process.execPath, args, {
192
+ detached: true,
193
+ stdio: "inherit"
194
+ }).unref();
195
+ process.exit(0);
196
+ } catch (error) {
197
+ const msg = error instanceof Error ? error.message : String(error);
198
+ this.log(`Restart failed: ${msg} -- manual restart required.`);
199
+ }
200
+ }
201
+ /** Read the current package version from package.json. */
202
+ readCurrentVersion() {
203
+ try {
204
+ let dir = path$1.dirname(fileURLToPath(import.meta.url));
205
+ for (let i = 0; i < 5; i++) {
206
+ const pkgPath = path$1.join(dir, "package.json");
207
+ if (fs$1.existsSync(pkgPath)) {
208
+ const pkg = JSON.parse(fs$1.readFileSync(pkgPath, "utf-8"));
209
+ if (pkg.name === PACKAGE_NAME) return pkg.version ?? "0.0.0";
210
+ }
211
+ dir = path$1.dirname(dir);
212
+ }
213
+ } catch {}
214
+ return "0.0.0";
215
+ }
216
+ /** Compare semver strings. Returns true if `a` is newer than `b`. */
217
+ isNewer(a, b) {
218
+ const parse = (v) => v.replace(/[^0-9.]/g, "").split(".").map(Number);
219
+ const [aMajor = 0, aMinor = 0, aPatch = 0] = parse(a);
220
+ const [bMajor = 0, bMinor = 0, bPatch = 0] = parse(b);
221
+ if (aMajor !== bMajor) return aMajor > bMajor;
222
+ if (aMinor !== bMinor) return aMinor > bMinor;
223
+ return aPatch > bPatch;
224
+ }
225
+ /** Find the nearest ancestor directory containing package.json. */
226
+ findProjectRoot(startDir) {
227
+ let dir = startDir;
228
+ for (let i = 0; i < 10; i++) {
229
+ const pkgPath = path$1.join(dir, "package.json");
230
+ if (fs$1.existsSync(pkgPath)) {
231
+ if (JSON.parse(fs$1.readFileSync(pkgPath, "utf-8")).name !== PACKAGE_NAME) return dir;
232
+ }
233
+ const parent = path$1.dirname(dir);
234
+ if (parent === dir) break;
235
+ dir = parent;
236
+ }
237
+ return null;
238
+ }
239
+ /** Append a log entry to the updates log file. */
240
+ log(message) {
241
+ const line = `[${(/* @__PURE__ */ new Date()).toISOString()}] ${message}\n`;
242
+ try {
243
+ fs$1.appendFileSync(this.logFile, line);
244
+ } catch {}
245
+ }
246
+ };
247
+ /**
248
+ * Load auto-update config from ~/.anima/anima.json.
249
+ * Falls back to defaults if the file doesn't exist or the key is missing.
250
+ */
251
+ function loadAutoUpdateConfig() {
252
+ const configPath = path$1.join(process.env.HOME || process.env.USERPROFILE || ".", ".anima", "anima.json");
253
+ try {
254
+ if (fs$1.existsSync(configPath)) {
255
+ const raw = fs$1.readFileSync(configPath, "utf-8");
256
+ const parsed = JSON.parse(raw);
257
+ if (parsed.autoUpdate) return {
258
+ enabled: parsed.autoUpdate.enabled ?? DEFAULT_AUTO_UPDATE_CONFIG.enabled,
259
+ checkIntervalHours: parsed.autoUpdate.checkIntervalHours ?? DEFAULT_AUTO_UPDATE_CONFIG.checkIntervalHours,
260
+ autoRestart: parsed.autoUpdate.autoRestart ?? DEFAULT_AUTO_UPDATE_CONFIG.autoRestart,
261
+ channel: parsed.autoUpdate.channel === "beta" ? "beta" : "stable"
262
+ };
263
+ }
264
+ } catch {}
265
+ return { ...DEFAULT_AUTO_UPDATE_CONFIG };
266
+ }
267
+
268
+ //#endregion
269
+ export { auto_update_exports as n, loadAutoUpdateConfig as r, AnimaAutoUpdater as t };
@@ -1,5 +1,5 @@
1
1
  import { M as theme, j as isRich, m as visibleWidth } from "./entry.js";
2
- import { Tt as resolveCommitHash } from "./reply-Clj5jcM5.js";
2
+ import { Tt as resolveCommitHash } from "./reply-mlsExaZm.js";
3
3
 
4
4
  //#region src/cli/tagline.ts
5
5
  const DEFAULT_TAGLINE = "All your chats, one OpenClaw.";
@@ -1,20 +1,20 @@
1
1
  import { $ as resolveStateDir, M as theme, a as parseBooleanValue, b as danger, h as defaultRuntime, x as info } from "./entry.js";
2
- import "./auth-profiles-Cz2rxrav.js";
2
+ import "./auth-profiles-DxI8L7bs.js";
3
3
  import { t as formatCliCommand } from "./command-format-Clp46jkj.js";
4
4
  import { S as shortenHomePath } from "./utils-C9sj30YY.js";
5
5
  import "./exec-BizYYQgP.js";
6
6
  import "./agent-scope-OZi7lb8S.js";
7
7
  import "./manifest-registry-D4lM2RdV.js";
8
- import { i as loadConfig } from "./config-CHc5qzaI.js";
8
+ import { i as loadConfig } from "./config-C8rUDJXY.js";
9
9
  import "./client-C1avc0vD.js";
10
- import "./call-ktoEhkOQ.js";
10
+ import "./call-BAHvlu2G.js";
11
11
  import "./message-channel-w4F2b2F6.js";
12
12
  import { t as movePathToTrash } from "./trash-BJLK1vMn.js";
13
13
  import { a as resolvePathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-DcVEkYX5.js";
14
14
  import { t as formatDocsLink } from "./links-BfjHVTB_.js";
15
15
  import { n as runCommandWithRuntime } from "./cli-utils-DtAxdCte.js";
16
16
  import "./progress-CbZ2D53A.js";
17
- import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-Ch9mCYEB.js";
17
+ import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DJKBil9s.js";
18
18
  import { t as copyToClipboard } from "./clipboard-BbGnZskJ.js";
19
19
  import { t as formatHelpExamples } from "./help-format-DUBI91Ti.js";
20
20
  import path from "node:path";
@@ -3,21 +3,21 @@ import { B as theme, O as danger, k as info, u as defaultRuntime } from "./subsy
3
3
  import { C as shortenHomePath } from "./utils-Bsw__U-F.js";
4
4
  import "./exec-Bv3pyjeM.js";
5
5
  import "./agent-scope-V1bi9OYL.js";
6
- import "./model-selection-BnEobs_z.js";
6
+ import "./model-selection-YcSr9CgC.js";
7
7
  import { t as formatCliCommand } from "./command-format-DELazozB.js";
8
8
  import { t as parseBooleanValue } from "./boolean-Wzu0-e0P.js";
9
9
  import "./env-0lJfCPsw.js";
10
- import { i as loadConfig } from "./config-Xm0j9LUa.js";
10
+ import { i as loadConfig } from "./config-SY8M0kM_.js";
11
11
  import "./manifest-registry-CW1zCyRF.js";
12
12
  import { a as resolvePathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-BgUi2Z2G.js";
13
13
  import { t as movePathToTrash } from "./trash-_x5UZ94k.js";
14
14
  import "./message-channel-dSTVVCyX.js";
15
15
  import "./client-CC94YZrT.js";
16
- import "./call-DPzNR_Qi.js";
16
+ import "./call-Ct7EGP_L.js";
17
17
  import { t as formatDocsLink } from "./links-DPGe0OHw.js";
18
18
  import { n as runCommandWithRuntime } from "./cli-utils-BTBABPX9.js";
19
19
  import "./progress-Bek_GyWS.js";
20
- import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DBhcdLFs.js";
20
+ import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DVterpLP.js";
21
21
  import { t as copyToClipboard } from "./clipboard-B2fBy8tG.js";
22
22
  import { t as formatHelpExamples } from "./help-format-Dl4bsrLI.js";
23
23
  import { fileURLToPath } from "node:url";
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0",
3
- "commit": "a1f28fd1d704bd30fb9bd7813042ffe55ee61450",
4
- "builtAt": "2026-03-01T18:19:30.879Z"
2
+ "version": "2.0.2",
3
+ "commit": "3a6b7ccb8ba1c14362991f9bf87f52a5786cf0bb",
4
+ "builtAt": "2026-03-01T19:09:01.663Z"
5
5
  }
@@ -4,18 +4,18 @@ import { g as DEFAULT_CHAT_CHANNEL, l as createSubsystemLogger, u as defaultRunt
4
4
  import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-scope-BVf4aSwY.js";
5
5
  import { s as runEmbeddedPiAgent } from "../../pi-embedded-C1Nl7L89.js";
6
6
  import { t as formatCliCommand } from "../../command-format-SkzzRqR1.js";
7
- import { n as loadConfig } from "../../config-Bmm8tmZF.js";
8
- import { D as resolveMainSessionKey, E as resolveExplicitAgentSessionKey, V as SILENT_REPLY_TOKEN, _ as evaluateSessionFreshness, b as resolveSessionResetType, c as updateSessionStore, g as resolveSessionKey, h as normalizeAccountId, i as loadSessionStore, v as resolveChannelResetConfig, y as resolveSessionResetPolicy } from "../../sessions-XvkHLXt4.js";
9
- import { C as resolveThinkingDefault, L as DEFAULT_CONTEXT_TOKENS, R as DEFAULT_MODEL, _ as normalizeModelRef, b as resolveConfiguredModelRef, f as buildAllowedModelSet, g as modelKey, h as isCliProvider, o as ensureAuthProfileStore, z as DEFAULT_PROVIDER } from "../../auth-profiles-_5BsNObq.js";
7
+ import { n as loadConfig } from "../../config-CLZ_XGVw.js";
8
+ import { D as resolveMainSessionKey, E as resolveExplicitAgentSessionKey, V as SILENT_REPLY_TOKEN, _ as evaluateSessionFreshness, b as resolveSessionResetType, c as updateSessionStore, g as resolveSessionKey, h as normalizeAccountId, i as loadSessionStore, v as resolveChannelResetConfig, y as resolveSessionResetPolicy } from "../../sessions-Wd18dukK.js";
9
+ import { C as resolveThinkingDefault, L as DEFAULT_CONTEXT_TOKENS, R as DEFAULT_MODEL, _ as normalizeModelRef, b as resolveConfiguredModelRef, f as buildAllowedModelSet, g as modelKey, h as isCliProvider, o as ensureAuthProfileStore, z as DEFAULT_PROVIDER } from "../../auth-profiles-CCDD56dU.js";
10
10
  import "../../boolean-Ce2-qkSB.js";
11
11
  import { b as resolveMessageChannel, f as INTERNAL_MESSAGE_CHANNEL, h as isInternalMessageChannel, m as isGatewayMessageChannel, p as isDeliverableMessageChannel, r as normalizeChannelId, t as getChannelPlugin, v as normalizeMessageChannel } from "../../plugins-B362e77G.js";
12
12
  import { n as resolveSessionFilePath, s as resolveStorePath } from "../../paths-BTc4nk-6.js";
13
- import { B as runCliAgent, C as supportsXHighThinking, D as buildWorkspaceSkillSnapshot, F as loadModelCatalog, N as runWithModelFallback, R as getCliSessionId, T as getSkillsSnapshotVersion, a as lookupContextTokens, d as applyModelOverrideToSessionEntry, f as applyVerboseOverride, h as formatXHighModelHint, m as formatThinkingLevels, n as deriveSessionTotalTokens, o as resolveOutboundTarget, p as getRemoteSkillEligibility, r as hasNonzeroUsage, s as resolveSessionDeliveryTarget, u as resolveSendPolicy, vt as clearSessionAuthProfileOverride, x as normalizeVerboseLevel, y as normalizeThinkLevel, z as setCliSessionId } from "../../usage-BeZuVAY4.js";
14
- import { a as resolveAgentTimeoutMs, i as registerAgentRunContext, n as emitAgentEvent, o as AGENT_LANE_NESTED, s as AGENT_LANE_SUBAGENT, t as clearAgentRunContext } from "../../agent-events-UF0DxwKS.js";
13
+ import { B as runCliAgent, C as supportsXHighThinking, D as buildWorkspaceSkillSnapshot, F as loadModelCatalog, N as runWithModelFallback, R as getCliSessionId, T as getSkillsSnapshotVersion, a as lookupContextTokens, d as applyModelOverrideToSessionEntry, f as applyVerboseOverride, h as formatXHighModelHint, m as formatThinkingLevels, n as deriveSessionTotalTokens, o as resolveOutboundTarget, p as getRemoteSkillEligibility, r as hasNonzeroUsage, s as resolveSessionDeliveryTarget, u as resolveSendPolicy, vt as clearSessionAuthProfileOverride, x as normalizeVerboseLevel, y as normalizeThinkLevel, z as setCliSessionId } from "../../usage-ApGvBLVg.js";
14
+ import { a as resolveAgentTimeoutMs, i as registerAgentRunContext, n as emitAgentEvent, o as AGENT_LANE_NESTED, s as AGENT_LANE_SUBAGENT, t as clearAgentRunContext } from "../../agent-events-BEBQsyE5.js";
15
15
  import "../../mime-Bm1xTtpY.js";
16
16
  import "../../frontmatter-YijVi0FQ.js";
17
17
  import "../../markdown-tables-BT1X6jqH.js";
18
- import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-DlNDKlA4.js";
18
+ import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-B4HuPwJA.js";
19
19
  import fs from "node:fs/promises";
20
20
  import path from "node:path";
21
21
  import crypto from "node:crypto";
@@ -24,7 +24,7 @@ import crypto from "node:crypto";
24
24
  function createDefaultDeps() {
25
25
  return {
26
26
  sendMessageWhatsApp: async (...args) => {
27
- const { sendMessageWhatsApp } = await import("../../web-DHSoj6bL.js");
27
+ const { sendMessageWhatsApp } = await import("../../web-EZLQEWXY.js");
28
28
  return await sendMessageWhatsApp(...args);
29
29
  },
30
30
  sendMessageTelegram: async (...args) => {
@@ -1,6 +1,6 @@
1
1
  import { $ as resolveStateDir, U as resolveConfigPath, q as resolveGatewayPort } from "./entry.js";
2
2
  import { s as ensureDir, t as CONFIG_DIR, x as shortenHomeInString, y as resolveUserPath } from "./utils-C9sj30YY.js";
3
- import { i as loadConfig } from "./config-CHc5qzaI.js";
3
+ import { i as loadConfig } from "./config-C8rUDJXY.js";
4
4
  import { Dt as PROTOCOL_VERSION, Ft as loadOrCreateDeviceIdentity, Nt as normalizeFingerprint, t as GatewayClient } from "./client-C1avc0vD.js";
5
5
  import { t as pickPrimaryTailnetIPv4 } from "./tailnet-CuiNECdL.js";
6
6
  import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-w4F2b2F6.js";
@@ -1,6 +1,6 @@
1
1
  import { g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-C6VCWKo3.js";
2
2
  import { S as shortenHomeInString, b as resolveUserPath, c as ensureDir, t as CONFIG_DIR } from "./utils-Bsw__U-F.js";
3
- import { i as loadConfig } from "./config-Xm0j9LUa.js";
3
+ import { i as loadConfig } from "./config-SY8M0kM_.js";
4
4
  import { t as pickPrimaryTailnetIPv4 } from "./tailnet-__ODlBOT.js";
5
5
  import { c as pickPrimaryLanIPv4 } from "./ws-COSqlEPx.js";
6
6
  import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-dSTVVCyX.js";
@@ -1 +1 @@
1
- 3aef79e8a9f5cb2e4a06b5d058755297c493af4efa5c8aa36a6f14970a506d25
1
+ e7b28f4343c0809976388761e3d39e4db4eae87bef4a6b0b7e605fdd89fa4040
@@ -2,7 +2,7 @@ import { g as CHAT_CHANNEL_ORDER } from "./subsystem-Dowf8fSU.js";
2
2
  import { t as isTruthyEnvValue } from "./env-0lJfCPsw.js";
3
3
  import { n as listChannelPlugins } from "./plugins-CmSUIUNi.js";
4
4
  import { r as listChannelPluginCatalogEntries } from "./catalog-BNsf97BM.js";
5
- import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CP7KgCvC.js";
5
+ import { t as ensurePluginRegistryLoaded } from "./plugin-registry-C7XWotZG.js";
6
6
 
7
7
  //#region src/cli/channel-options.ts
8
8
  function dedupe(values) {
@@ -1,7 +1,7 @@
1
1
  import { n as isTruthyEnvValue, nt as CHAT_CHANNEL_ORDER } from "./entry.js";
2
2
  import { n as listChannelPlugins } from "./plugins-CDJw924T.js";
3
3
  import { r as listChannelPluginCatalogEntries } from "./catalog-BAayBt1L.js";
4
- import { t as ensurePluginRegistryLoaded } from "./plugin-registry-Bp8mivr-.js";
4
+ import { t as ensurePluginRegistryLoaded } from "./plugin-registry-DcUCbGax.js";
5
5
 
6
6
  //#region src/cli/channel-options.ts
7
7
  function dedupe(values) {
@@ -1,23 +1,23 @@
1
1
  import { F as shouldLogVerbose, M as logVerbose, V as getChildLogger, t as createSubsystemLogger, u as defaultRuntime } from "./subsystem-Dowf8fSU.js";
2
2
  import { E as toWhatsappJid, h as normalizeE164, m as jidToE164, p as isSelfChatMode, r as clamp, w as sleep, y as resolveJidToE164 } from "./utils-Bsw__U-F.js";
3
- import { B as resolveIdentityNamePrefix, V as resolveMessagePrefix } from "./subagent-registry-CpSZ2RSO.js";
4
- import { $ as buildAgentSessionKey, At as registerUnhandledRejectionHandler, Dt as buildMentionRegexes, Kt as finalizeInboundContext, Ot as normalizeMentionText, _t as hasControlCommand, at as recordChannelActivity, ct as dispatchReplyWithBufferedBlockDispatcher, et as resolveAgentRoute, f as normalizeGroupActivation, ft as createDedupeCache, gt as resolveEnvelopeFormatOptions, ht as formatInboundEnvelope, mt as resolveInboundDebounceMs, p as parseActivationCommand, pt as createInboundDebouncer, rt as buildPairingReply, st as shouldAckReactionForWhatsApp, t as getReplyFromConfig, vt as shouldComputeCommandAuthorized } from "./reply-DnH1Ueoz.js";
3
+ import { B as resolveIdentityNamePrefix, V as resolveMessagePrefix } from "./subagent-registry-9RLdKxES.js";
4
+ import { $ as buildAgentSessionKey, At as registerUnhandledRejectionHandler, Dt as buildMentionRegexes, Kt as finalizeInboundContext, Ot as normalizeMentionText, _t as hasControlCommand, at as recordChannelActivity, ct as dispatchReplyWithBufferedBlockDispatcher, et as resolveAgentRoute, f as normalizeGroupActivation, ft as createDedupeCache, gt as resolveEnvelopeFormatOptions, ht as formatInboundEnvelope, mt as resolveInboundDebounceMs, p as parseActivationCommand, pt as createInboundDebouncer, rt as buildPairingReply, st as shouldAckReactionForWhatsApp, t as getReplyFromConfig, vt as shouldComputeCommandAuthorized } from "./reply-qalRISe_.js";
5
5
  import { i as buildAgentMainSessionKey, l as normalizeAgentId, o as buildGroupHistoryKey, r as DEFAULT_MAIN_KEY } from "./session-key-DxcgHezu.js";
6
6
  import { t as formatCliCommand } from "./command-format-DELazozB.js";
7
- import { i as loadConfig } from "./config-Xm0j9LUa.js";
8
- import { P as resolveGroupSessionKey, a as readSessionUpdatedAt, c as updateLastRoute, i as loadSessionStore, o as recordSessionMetaFromInbound } from "./sessions-B8GUAiF6.js";
7
+ import { i as loadConfig } from "./config-SY8M0kM_.js";
8
+ import { P as resolveGroupSessionKey, a as readSessionUpdatedAt, c as updateLastRoute, i as loadSessionStore, o as recordSessionMetaFromInbound } from "./sessions-BfV53TbG.js";
9
9
  import { o as setActiveWebListener, r as loadWebMedia, s as convertMarkdownTables } from "./polls-CItfB1H8.js";
10
- import { Yt as enqueueSystemEvent } from "./cli-session-CP7ZH2-6.js";
10
+ import { Yt as enqueueSystemEvent } from "./cli-session-BkPTd9Pk.js";
11
11
  import { o as resolveChannelGroupPolicy, s as resolveChannelGroupRequireMention } from "./dock-cPBY4qGl.js";
12
12
  import { i as getWebAuthAgeMs, l as readWebSelfId, n as resolveWhatsAppAccount } from "./accounts-Cc5E4IDO.js";
13
- import { r as saveMediaBuffer } from "./routes-DtRwwTy6.js";
13
+ import { r as saveMediaBuffer } from "./routes-CENsHJyg.js";
14
14
  import { c as resolveStorePath } from "./paths-hcX1Gqg5.js";
15
15
  import { a as chunkMarkdownTextWithMode, c as resolveChunkMode, l as resolveTextChunkLimit, t as resolveMarkdownTableMode } from "./markdown-tables-DHgOK2vI.js";
16
- import { i as readChannelAllowFromStore, o as upsertChannelPairingRequest } from "./pairing-store-CGYSwICJ.js";
16
+ import { i as readChannelAllowFromStore, o as upsertChannelPairingRequest } from "./pairing-store-DJz_9Gv0.js";
17
17
  import { r as formatDurationPrecise } from "./format-duration-Cm3xh8xz.js";
18
- import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-DXijk0db.js";
19
- import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-M_uCxF0U.js";
20
- import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-DPpz_mEi.js";
18
+ import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-CjdvVhUI.js";
19
+ import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Vlce2BAT.js";
20
+ import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-B0CfR4bM.js";
21
21
  import { randomUUID } from "node:crypto";
22
22
  import { setTimeout } from "node:timers/promises";
23
23
  import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
@@ -1,5 +1,5 @@
1
1
  import { E as setVerbose, F as getResolvedLoggerSettings, M as theme, b as danger, h as defaultRuntime, rt as DEFAULT_CHAT_CHANNEL } from "./entry.js";
2
- import { g as loadAuthProfileStore } from "./auth-profiles-Cz2rxrav.js";
2
+ import { g as loadAuthProfileStore } from "./auth-profiles-DxI8L7bs.js";
3
3
  import { t as formatCliCommand } from "./command-format-Clp46jkj.js";
4
4
  import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-BGiG_JcT.js";
5
5
  import "./utils-C9sj30YY.js";
@@ -8,16 +8,16 @@ import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./age
8
8
  import "./pi-model-discovery-DsRqYJLy.js";
9
9
  import "./skills-B5LQx4lT.js";
10
10
  import "./manifest-registry-D4lM2RdV.js";
11
- import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CHc5qzaI.js";
11
+ import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-C8rUDJXY.js";
12
12
  import "./client-C1avc0vD.js";
13
- import { n as callGateway } from "./call-ktoEhkOQ.js";
13
+ import { n as callGateway } from "./call-BAHvlu2G.js";
14
14
  import "./message-channel-w4F2b2F6.js";
15
15
  import "./timeout-CswI_K-U.js";
16
- import "./sessions-D0Zd1CND.js";
17
- import "./subagent-registry-DkCXRdwf.js";
16
+ import "./sessions-DcXpzig0.js";
17
+ import "./subagent-registry-Byuex3zp.js";
18
18
  import "./logging-BdnOSVPD.js";
19
19
  import "./accounts-CcVrwKqv.js";
20
- import { c as loadProviderUsageSummary, l as formatUsageReportLines, ot as parseDiscordTarget } from "./reply-Clj5jcM5.js";
20
+ import { c as loadProviderUsageSummary, l as formatUsageReportLines, ot as parseDiscordTarget } from "./reply-mlsExaZm.js";
21
21
  import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CDJw924T.js";
22
22
  import "./tokens-C-X7wDKj.js";
23
23
  import "./dock-DbxBBv30.js";
@@ -27,51 +27,51 @@ import "./media-THyainiE.js";
27
27
  import "./mime-B1ZoR53M.js";
28
28
  import "./image-ops-Dlt3T7th.js";
29
29
  import "./common-D6bu0zHC.js";
30
- import "./server-context-BznDS2td.js";
30
+ import "./server-context-49XFFxFg.js";
31
31
  import "./chrome-Bi6iZ5sG.js";
32
32
  import "./auth-lZ26wsbN.js";
33
33
  import "./ports-CqLSlU6Z.js";
34
34
  import "./trash-BJLK1vMn.js";
35
- import "./control-service-vyKJ-XUp.js";
36
- import "./cli-session-oXJQpenl.js";
35
+ import "./control-service-DKotCWCg.js";
36
+ import "./cli-session-Dd8DKb5a.js";
37
37
  import "./thinking-BXEswx1X.js";
38
- import "./context-DKaQYnCH.js";
39
- import "./sandbox-D3CFkNeF.js";
40
- import "./routes-CXpne1-p.js";
38
+ import "./context-D5iEFzv9.js";
39
+ import "./sandbox-BIGfMYEI.js";
40
+ import "./routes-DO0HqW2e.js";
41
41
  import "./paths-DcVEkYX5.js";
42
42
  import "./commands-registry-Bd0xbvwG.js";
43
- import "./deliver-bC6iI_rv.js";
44
- import "./pairing-store-DqQPqRMe.js";
43
+ import "./deliver-LiY5oL52.js";
44
+ import "./pairing-store-DmOzxcuk.js";
45
45
  import "./nodes-screen-DZeD8hE5.js";
46
46
  import { n as formatTimeAgo } from "./format-relative-C6kUHuOj.js";
47
- import "./memory-cli-BoXdfCLT.js";
48
- import "./manager-Bsy9ifug.js";
47
+ import "./memory-cli-BKocCWXM.js";
48
+ import "./manager-B4OyvcxT.js";
49
49
  import "./sqlite-BukcjdJa.js";
50
50
  import "./redact-ClVwO7Nn.js";
51
51
  import { n as fetchChannelPermissionsDiscord } from "./send-Dz2BDHll.js";
52
52
  import { t as formatDocsLink } from "./links-BfjHVTB_.js";
53
53
  import { n as runCommandWithRuntime } from "./cli-utils-DtAxdCte.js";
54
54
  import { n as withProgress } from "./progress-CbZ2D53A.js";
55
- import "./dispatcher-Bkcui7jz.js";
55
+ import "./dispatcher-10Shiuz3.js";
56
56
  import { n as resolveMessageChannelSelection } from "./channel-selection-DfGpCyh2.js";
57
57
  import "./delivery-queue-B6IHz4Ry.js";
58
- import "./pi-tools.policy-DRDm3v-2.js";
58
+ import "./pi-tools.policy-DSHkkb5b.js";
59
59
  import "./session-cost-usage-BwiTZuKl.js";
60
60
  import { r as listChannelPluginCatalogEntries } from "./catalog-BAayBt1L.js";
61
61
  import "./prompt-style-DKy6qQxR.js";
62
62
  import "./note-uiuPxhyX.js";
63
63
  import { t as createClackPrompter } from "./clack-prompter-B0kl7shw.js";
64
64
  import { t as resolveChannelDefaultAccountId } from "./helpers-ZKNRexvX.js";
65
- import "./plugin-auto-enable-C-JwYMlZ.js";
66
- import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-gyq0VHHp.js";
65
+ import "./plugin-auto-enable-CxF4bpDN.js";
66
+ import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-D7NbA55V.js";
67
67
  import "./npm-registry-spec-za3itb5Y.js";
68
68
  import "./skill-scanner-CkaVLABv.js";
69
69
  import "./installs-D-cPGdCw.js";
70
70
  import { t as buildChannelAccountSnapshot } from "./status-CMnlcBVc.js";
71
71
  import { t as parseLogLine } from "./parse-log-line-Bqh1SSzC.js";
72
72
  import { t as collectChannelStatusIssues } from "./channels-status-issues-DBc1pU_R.js";
73
- import "./plugin-registry-Bp8mivr-.js";
74
- import { t as formatCliChannelOptions } from "./channel-options-DJ4GNfwk.js";
73
+ import "./plugin-registry-DcUCbGax.js";
74
+ import { t as formatCliChannelOptions } from "./channel-options-ZdvXrTGs.js";
75
75
  import { t as hasExplicitOptions } from "./command-options-Cp1tf96a.js";
76
76
  import fs from "node:fs/promises";
77
77