@noxsoft/anima 5.0.1 → 5.0.3

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 (323) hide show
  1. package/dist/{accounts-BOkEyUcS.js → accounts-DjjQHOIW.js} +5 -5
  2. package/dist/{accounts-CVmv61PJ.js → accounts-Dzi6Ld7X.js} +2 -2
  3. package/dist/{acp-cli-C8aBckv5.js → acp-cli-I-yv1f5O.js} +15 -15
  4. package/dist/{acp-cli-BcshtFqY.js → acp-cli-QBd9GLqD.js} +3 -3
  5. package/dist/{agent-Cil6Zvns.js → agent-B3KeHK1A.js} +9 -9
  6. package/dist/{agent-c49U1LxE.js → agent-fG1PVmNy.js} +16 -16
  7. package/dist/{agent-scope-DICrDp7Y.js → agent-scope-BHR6uOLT.js} +2 -2
  8. package/dist/{agent-scope-BLiq3nK_.js → agent-scope-ryeVDUKe.js} +2 -2
  9. package/dist/{agents-2BloqCjm.js → agents-DY5ZtGB2.js} +9 -9
  10. package/dist/{agents.config-Bqr5rrkV.js → agents.config-DmF0fsB6.js} +1 -1
  11. package/dist/{anthropic-direct-runner-mh6c_WBB.js → anthropic-direct-runner-BJosFvVm.js} +41 -18
  12. package/dist/{anthropic-direct-runner-BVlO2Vi5.js → anthropic-direct-runner-BXb24VJt.js} +50 -27
  13. package/dist/{audit-BbmRSFjf.js → audit-BTMmL_HS.js} +5 -5
  14. package/dist/{audit-DegswVkZ.js → audit-qHMf9jWY.js} +16 -16
  15. package/dist/{auth-Cs_c5TKt.js → auth-DQfFqQBz.js} +3 -3
  16. package/dist/{auth-choice-BVAMr2Dk.js → auth-choice-BoyT3ahK.js} +60 -8
  17. package/dist/{auth-health-D0VUH0FQ.js → auth-health-BcABdgUT.js} +1 -1
  18. package/dist/{auth-profiles-k5IOWaG2.js → auth-profiles-BF5x9Ej0.js} +1 -1
  19. package/dist/{auth-profiles-BhZX2spm.js → auth-profiles-C_LmTbMb.js} +5 -5
  20. package/dist/{auth-profiles-Chf1JBpl.js → auth-profiles-Da39zGOD.js} +4 -4
  21. package/dist/{auth-store-D0vDEvCx.js → auth-store-CXZzirrJ.js} +3 -3
  22. package/dist/{auth-store-BMwyg-WK.js → auth-store-DTpDRu--.js} +3 -3
  23. package/dist/{banner-CgxCSS-T.js → banner-CJVa8aiZ.js} +1 -1
  24. package/dist/{bonjour-discovery-DaCmsB4i.js → bonjour-discovery-B3IeIN1u.js} +2 -2
  25. package/dist/build-info.json +3 -3
  26. package/dist/bundled/boot-md/handler.js +22 -22
  27. package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
  28. package/dist/bundled/session-memory/handler.js +19 -19
  29. package/dist/{call-Z_GCO8CL.js → call-BKsdSTVf.js} +1 -1
  30. package/dist/{call-BOwaQIXo.js → call-C3CH9PNK.js} +6 -6
  31. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  32. package/dist/{catalog-B-pfqu76.js → catalog-3hzXhHxJ.js} +2 -2
  33. package/dist/{channel-web-Y8i3EzJq.js → channel-web-Df3Ay9v7.js} +18 -18
  34. package/dist/{channels-status-issues-DenKLCLq.js → channels-status-issues-D5XAOSaj.js} +4 -4
  35. package/dist/{chrome-C3-muxXb.js → chrome-CLhrEjgx.js} +4 -4
  36. package/dist/{chrome-Cxl7I5SB.js → chrome-CkSIMI7j.js} +2 -2
  37. package/dist/{chunk-DGg8zCWl.js → chunk-Dq7ILx_r.js} +2 -2
  38. package/dist/{chunk-DFCmYqgJ.js → chunk-fcLG1hME.js} +1 -1
  39. package/dist/{clack-prompter-CCRr4nAr.js → clack-prompter-DmD_A7en.js} +5 -5
  40. package/dist/{clack-prompter-B-ZJG628.js → clack-prompter-bl-Zsxpq.js} +1 -1
  41. package/dist/cli/daemon-cli.js +1 -1
  42. package/dist/{cli-C3uw3mId.js → cli-0-FvuyBX.js} +22 -22
  43. package/dist/cli-CLVEx1Po.js +104 -0
  44. package/dist/{cli-session-BzZYmGP1.js → cli-session-CmX1oA1T.js} +7 -7
  45. package/dist/{cli-session-DgUHOBYo.js → cli-session-gR2abU0g.js} +16 -16
  46. package/dist/{client-BObcTF_9.js → client-BT3pbXCv.js} +3 -3
  47. package/dist/{command-registry-DLofaVIN.js → command-registry-C3SmyTQU.js} +12 -12
  48. package/dist/{common-k1Cu8adj.js → common-Bi43BlMQ.js} +2 -2
  49. package/dist/{common-Cd7BmlCQ.js → common-CSTOiddD.js} +2 -2
  50. package/dist/{completion-cli-C9KvX2ZF.js → completion-cli-308M08su.js} +2 -2
  51. package/dist/{completion-cli-3eYvtAih.js → completion-cli-D7gWcWEj.js} +3 -3
  52. package/dist/{config-B-9UciOO.js → config-BfhpauV9.js} +6 -6
  53. package/dist/{config-CG7uuHNE.js → config-Dk-5Mb_G.js} +6 -6
  54. package/dist/{config-D6D_ieel.js → config-Ofh9gKvs.js} +1 -1
  55. package/dist/config-cli-CajDGi9m.js +15 -0
  56. package/dist/{config-cli-CBXWDtvj.js → config-cli-De0z7mvk.js} +3 -3
  57. package/dist/{config-guard-BT3OoaEu.js → config-guard-BnkobgvR.js} +21 -21
  58. package/dist/{config-guard-qiKju2Fg.js → config-guard-DlOs5hMU.js} +2 -2
  59. package/dist/{configure-jlAKeuki.js → configure-BXK8YRUD.js} +32 -32
  60. package/dist/{configure-CH_-SNya.js → configure-Caf6yI_m.js} +24 -24
  61. package/dist/{configure-Dpk4lSoz.js → configure-DS9oQW51.js} +78 -78
  62. package/dist/{configure-CGTBBLR_.js → configure-DgXRL7Uz.js} +9 -9
  63. package/dist/{context-Cau0zD3W.js → context-BZV-msqG.js} +1 -1
  64. package/dist/{control-service-DMoq3DpT.js → control-service-BFYEuU-S.js} +5 -5
  65. package/dist/{control-service-CUhnhmpc.js → control-service-DUF4hGd3.js} +2 -2
  66. package/dist/{cron-cli-CKs1evSF.js → cron-cli-BglUapfu.js} +4 -4
  67. package/dist/{cron-cli-ybIqf_95.js → cron-cli-OHSsCpVe.js} +16 -16
  68. package/dist/{daemon-cli-C5Tosclk.js → daemon-cli-B2UGyc5z.js} +19 -19
  69. package/dist/{daemon-cli-CSCFNzUo.js → daemon-cli-CO-1GTE_.js} +5 -5
  70. package/dist/daemon-cli.js +58 -1
  71. package/dist/{daemon-runtime-B9AywEma.js → daemon-runtime-BsUCg0Nr.js} +3 -3
  72. package/dist/{daemon-runtime-DpY6Y5qE.js → daemon-runtime-cGQoReHT.js} +1 -1
  73. package/dist/{deliver-DkF6LCoS.js → deliver-CoAOvyW0.js} +1 -1
  74. package/dist/{deliver-BYxbDIF0.js → deliver-DhQSpWQA.js} +4 -4
  75. package/dist/{deliver-B2p9Fke_.js → deliver-DvbZ8dp4.js} +6 -6
  76. package/dist/{deps-D9266xfk.js → deps-CCbWMWT4.js} +1 -1
  77. package/dist/{diagnostics-TXSvtpaq.js → diagnostics-CtqVmSaZ.js} +1 -1
  78. package/dist/{dispatcher-DG44QJKz.js → dispatcher-C4k9ABOv.js} +2 -2
  79. package/dist/{dispatcher-BeO47t7A.js → dispatcher-N_4IYF9I.js} +1 -1
  80. package/dist/{dns-cli-BklOUsrX.js → dns-cli-DJ8mwzgA.js} +2 -2
  81. package/dist/{dns-cli-Dq98107U.js → dns-cli-Dk48S2y7.js} +13 -13
  82. package/dist/{docs-cli-CehJ2v5M.js → docs-cli-BvBEqoCl.js} +7 -7
  83. package/dist/{doctor-DJfgnQ67.js → doctor-9cbiXykn.js} +19 -19
  84. package/dist/{doctor-CWmHUAjs.js → doctor-C_1WNQix.js} +40 -40
  85. package/dist/{doctor-completion-CmJmktDv.js → doctor-completion-B1cKYcZj.js} +1 -1
  86. package/dist/{doctor-completion-CtCwd1fi.js → doctor-completion-D7uvGhAv.js} +3 -3
  87. package/dist/{doctor-config-flow-D0GgdMmi.js → doctor-config-flow-Bno6wZvG.js} +7 -7
  88. package/dist/{doctor-config-flow-D_8YNTSK.js → doctor-config-flow-rshwu4JS.js} +3 -3
  89. package/dist/entry.js +59 -2
  90. package/dist/{env-T3-raV4i.js → env-CLiKFfXU.js} +1 -1
  91. package/dist/{exec-DbnX_71w.js → exec-Bo7Vwe77.js} +1 -1
  92. package/dist/{exec-DnanRQle.js → exec-CEFTijVj.js} +1 -1
  93. package/dist/{exec-approvals-cli-B7hQEhGe.js → exec-approvals-cli-CRqO-FRn.js} +19 -19
  94. package/dist/{exec-approvals-cli-CcY7IQWQ.js → exec-approvals-cli-i_Bmu0zE.js} +4 -4
  95. package/dist/extensionAPI.js +1535 -315
  96. package/dist/{frontmatter-BmBmtOUh.js → frontmatter-Dsa7N963.js} +1 -1
  97. package/dist/{gateway-cli-DYrzIvOE.js → gateway-cli-CBmfvcpr.js} +99 -99
  98. package/dist/{gateway-cli-BazTmg20.js → gateway-cli-CufIzw2K.js} +43 -43
  99. package/dist/{gateway-rpc-LkRV5joR.js → gateway-rpc-BX-Pz0j8.js} +3 -3
  100. package/dist/{gateway-rpc-De-TWFvD.js → gateway-rpc-BvqpdNqp.js} +1 -1
  101. package/dist/{gmail-setup-utils-B4oMbrOI.js → gmail-setup-utils-B-LgbK-5.js} +3 -3
  102. package/dist/{health-BRSKF_iF.js → health-BVBoq6jM.js} +10 -10
  103. package/dist/{health-JqtB_B8C.js → health-DKC8u4W8.js} +18 -18
  104. package/dist/{health-format-Ojy0hLp3.js → health-format-DHYaqzgj.js} +2 -2
  105. package/dist/{heartbeat-visibility-BGj2czmk.js → heartbeat-visibility-CF3WzMM0.js} +2 -2
  106. package/dist/{heartbeat-visibility-pyFf6XBW.js → heartbeat-visibility-CUKC8xqZ.js} +2 -2
  107. package/dist/{help-format-BZ7j9sHT.js → help-format-mLYxJ3oD.js} +1 -1
  108. package/dist/{hooks-cli-B7g3jEC3.js → hooks-cli-BHO_BQFY.js} +23 -23
  109. package/dist/{hooks-cli-ZK4Z044T.js → hooks-cli-kLrFK7pV.js} +57 -57
  110. package/dist/{hooks-status-DR_WkhpR.js → hooks-status-CfvVr6eJ.js} +3 -3
  111. package/dist/{image-ops-B7tKwzpV.js → image-ops-C_aRXc-7.js} +1 -1
  112. package/dist/index.js +69 -69
  113. package/dist/{installs-BxZFjTKY.js → installs-DW-ErO4y.js} +5 -5
  114. package/dist/{lanes-DyM6NSSL.js → lanes-CrNcoc6P.js} +480 -163
  115. package/dist/{lifecycle-core-CHv9wUhV.js → lifecycle-core-DWESti3N.js} +6 -6
  116. package/dist/{links-CziCxopc.js → links-C4Hwnnc9.js} +1 -1
  117. package/dist/llm-slug-generator.js +17 -17
  118. package/dist/{logging-Dwz0XtXm.js → logging-CnEuyIPZ.js} +1 -1
  119. package/dist/{login-BvRe8YZ9.js → login-CY9_XaLc.js} +7 -7
  120. package/dist/{login-BbfWLOBl.js → login-Dj6hCAFK.js} +5 -5
  121. package/dist/{login-DevThvtW.js → login-Ga69_Kio.js} +2 -2
  122. package/dist/{login-qr-FDWY-tu5.js → login-qr-BYeWGzxI.js} +12 -12
  123. package/dist/{login-qr-BqhujMcQ.js → login-qr-DD1apkdT.js} +10 -10
  124. package/dist/{login-qr-BkpIGqae.js → login-qr-swgX7elR.js} +3 -3
  125. package/dist/{logs-cli-CiMRc2qL.js → logs-cli-D02oahhw.js} +4 -4
  126. package/dist/{logs-cli-CsfmPUwa.js → logs-cli-DAVu9h8p.js} +16 -16
  127. package/dist/{manager-CcawxgaC.js → manager-CLAy-qOR.js} +10 -10
  128. package/dist/{manager-v4S80Br3.js → manager-DQPfk6Ea.js} +12 -12
  129. package/dist/{manager-DS1DfkbC.js → manager-yWxV2UI_.js} +1 -1
  130. package/dist/{manifest-registry-BiGCvMJ8.js → manifest-registry-BJat2nhC.js} +1 -1
  131. package/dist/{memory-cli-wDO418hx.js → memory-cli-B8AsIRG3.js} +3 -3
  132. package/dist/{memory-cli-Cl2n9UtH.js → memory-cli-bA70cVlm.js} +12 -12
  133. package/dist/{message-channel-DuxJGOJz.js → message-channel-C5I8UgGH.js} +1 -1
  134. package/dist/{model-auth-Ja4oelNH.js → model-auth-Be3_KahV.js} +2 -2
  135. package/dist/{model-auth-DVG37yXU.js → model-auth-DBHvPqaY.js} +4 -4
  136. package/dist/{model-auth-Uxm-wRjR.js → model-auth-DYHjH-Oh.js} +3 -3
  137. package/dist/{model-selection-xZLlICyg.js → model-selection-BuMFehML.js} +5 -2
  138. package/dist/{model-selection-BKFF7fDb.js → model-selection-DFbDH9o2.js} +4 -1
  139. package/dist/{model-selection-C2dAUmK_.js → model-selection-DRIxw3do.js} +5 -2
  140. package/dist/{models-tQnX4hL4.js → models-B9jYbX5H.js} +26 -26
  141. package/dist/{node-cli-DAcW-rfA.js → node-cli-C_efNJ2B.js} +7 -7
  142. package/dist/{node-cli-CZuWFgpO.js → node-cli-ScPCT6uD.js} +28 -28
  143. package/dist/{node-service-Ds1r16VN.js → node-service-BCfZtWK_.js} +1 -1
  144. package/dist/{note-Daao-cv8.js → note-DjzS4Am4.js} +2 -2
  145. package/dist/{npm-registry-spec-fJIJ8GG5.js → npm-registry-spec-Opq9qQXl.js} +1 -1
  146. package/dist/{onboard-Dd6xFMYB.js → onboard-C7ZSJNCe.js} +10 -10
  147. package/dist/{onboard-dasbF9G1.js → onboard-CJOJPctL.js} +17 -17
  148. package/dist/{onboard-channels-DisvVyIs.js → onboard-channels-DSlUCvl1.js} +2 -2
  149. package/dist/{onboard-channels-BUv3VbAL.js → onboard-channels-DwPNXSwW.js} +9 -9
  150. package/dist/{onboard-helpers-BgsHO6fO.js → onboard-helpers-CU_S0_Kf.js} +10 -10
  151. package/dist/{onboard-helpers-49TVSf7J.js → onboard-helpers-tkuUrdCB.js} +2 -2
  152. package/dist/{onboarding-Dq3bCBjc.js → onboarding-Caiq91Yz.js} +10 -10
  153. package/dist/{onboarding-6Xs4orLw.js → onboarding-DP2NlqhA.js} +20 -20
  154. package/dist/{outbound-RxegsVGB.js → outbound-B84phlQU.js} +4 -4
  155. package/dist/{outbound-CliT3nme.js → outbound-CKmmCVxJ.js} +1 -1
  156. package/dist/{outbound-CLII4C2A.js → outbound-DKM-JeSH.js} +5 -5
  157. package/dist/{parse-timeout-BnOIKwx8.js → parse-timeout-C59j-ev4.js} +1 -1
  158. package/dist/{parse-timeout-C8t_lmnL.js → parse-timeout-aZGyXXFz.js} +3 -3
  159. package/dist/{path-env-CsgLP0dy.js → path-env-cFxXrXB1.js} +1 -1
  160. package/dist/{paths-DybdJi5a.js → paths-CLxC7m0Z.js} +1 -1
  161. package/dist/{pi-auth-json-MH7vz0HI.js → pi-auth-json-DPoqstQN.js} +7 -7
  162. package/dist/{pi-auth-json-BY6wRDm0.js → pi-auth-json-DjxzPUt3.js} +2 -2
  163. package/dist/{pi-auth-json-DLroEcea.js → pi-auth-json-hMxhauJ8.js} +6 -6
  164. package/dist/{pi-embedded-CS4D_0t7.js → pi-embedded-JUmNmkTK.js} +700 -362
  165. package/dist/{pi-embedded-helpers-iju5zIIA.js → pi-embedded-helpers-B6wVA0hU.js} +1 -1
  166. package/dist/{pi-embedded-helpers-DnRfi8bN.js → pi-embedded-helpers-B_Sx4G6d.js} +30 -20
  167. package/dist/{pi-tools.policy-RhdERrk3.js → pi-tools.policy-Bn9S3ywB.js} +2 -2
  168. package/dist/{pi-tools.policy-CN78I2yN.js → pi-tools.policy-ChzY9kW7.js} +7 -7
  169. package/dist/{plugin-auto-enable-DLrgOd4y.js → plugin-auto-enable-UE1XVFcw.js} +1 -1
  170. package/dist/{plugin-auto-enable-DIWd94Po.js → plugin-auto-enable-f05JE-GF.js} +5 -5
  171. package/dist/{plugin-registry-l3z9phEV.js → plugin-registry-BeB2L6Qe.js} +2 -2
  172. package/dist/{plugin-registry-esOxvV3X.js → plugin-registry-DIXcynua.js} +4 -4
  173. package/dist/plugin-sdk/agents/anthropic-direct-runner.d.ts +1 -1
  174. package/dist/plugin-sdk/agents/gemini-direct-runner.d.ts +38 -0
  175. package/dist/plugin-sdk/agents/tools/browser-tool.schema.d.ts +2 -2
  176. package/dist/plugin-sdk/commands/onboard-types.d.ts +2 -2
  177. package/dist/plugin-sdk/gateway/protocol/index.d.ts +22 -22
  178. package/dist/plugin-sdk/index.js +75 -8
  179. package/dist/{plugins-C_GedoUi.js → plugins-DCXdhkeB.js} +2 -2
  180. package/dist/{plugins-BmYfBGLM.js → plugins-NbldDVJs.js} +1 -1
  181. package/dist/{plugins-cli-CbXtuN4b.js → plugins-cli-CzUD-ewi.js} +58 -58
  182. package/dist/{plugins-cli-D2v0n4BL.js → plugins-cli-Dk2W0fBT.js} +23 -23
  183. package/dist/{polls-Cuv4dsX_.js → polls-OzE9fR2s.js} +6 -6
  184. package/dist/{ports-DOiSDgNp.js → ports-CWvYU8j6.js} +4 -4
  185. package/dist/{ports-BQ0cAsGj.js → ports-Cgow804e.js} +2 -2
  186. package/dist/{program-y0NPJuYm.js → program-DxItv_Ts.js} +28 -28
  187. package/dist/{program-context-CqPwmgYa.js → program-context-cgh8PMPD.js} +33 -33
  188. package/dist/{progress-BZZa-fXr.js → progress-DzZ_4Z4f.js} +1 -1
  189. package/dist/{prompt-style-1bwj7IzZ.js → prompt-style-C7WfXowC.js} +1 -1
  190. package/dist/{prompts-DY0qdoD1.js → prompts-BfHxhlF9.js} +13 -2
  191. package/dist/{prompts-DTKoIKPV.js → prompts-DH_nIROF.js} +71 -8
  192. package/dist/{pw-ai-BhoKfvvM.js → pw-ai-Bigm0Qwh.js} +7 -7
  193. package/dist/{pw-ai-CJgeaF06.js → pw-ai-CsODxGt8.js} +3 -3
  194. package/dist/{qmd-manager-BGob_1OP.js → qmd-manager-C3z8LWKx.js} +6 -6
  195. package/dist/{qmd-manager-BmGj4bZk.js → qmd-manager-lfhigvUf.js} +6 -6
  196. package/dist/{register.agent-CRazop1A.js → register.agent-BVwbjkKx.js} +30 -30
  197. package/dist/{register.agent-Bi2FqIlN.js → register.agent-D0FKVD_s.js} +70 -70
  198. package/dist/{register.anima-BmdRCJLy.js → register.anima-Dc7OI2Nh.js} +4 -4
  199. package/dist/{register.anima-FFaI_C8x.js → register.anima-bys_cyEd.js} +4 -4
  200. package/dist/{register.configure-FIXOWrO9.js → register.configure-BrRG_RtB.js} +31 -31
  201. package/dist/register.configure-CXKr61Ka.js +108 -0
  202. package/dist/register.maintenance-BToHjam6.js +103 -0
  203. package/dist/{register.maintenance-DJYji5mV.js → register.maintenance-DXL3L0ip.js} +35 -35
  204. package/dist/{register.onboard-thGXwzOX.js → register.onboard-B3hbdfaQ.js} +71 -71
  205. package/dist/{register.onboard-oUsWjmam.js → register.onboard-Bg5zEb3f.js} +35 -35
  206. package/dist/{register.setup-B4MYuE3g.js → register.setup-CZqwphif.js} +35 -35
  207. package/dist/{register.setup-DWDrQ7RT.js → register.setup-Cq8nqbrU.js} +71 -71
  208. package/dist/{register.status-health-sessions-Ce9QUAyj.js → register.status-health-sessions-D1kjQUAc.js} +67 -67
  209. package/dist/{register.status-health-sessions-CTKdzo7a.js → register.status-health-sessions-mdLJbfPN.js} +28 -28
  210. package/dist/{register.subclis-CWmYc4AB.js → register.subclis-mbYw7H-_.js} +20 -20
  211. package/dist/{reply-BKpIrCr-.js → reply-CwV-5jE0.js} +56 -52
  212. package/dist/{reply-CpHIJ9Kk.js → reply-DAGmjvs-.js} +33 -29
  213. package/dist/{reply-prefix-BO_Dt82N.js → reply-prefix-BRsV1Eof.js} +2 -2
  214. package/dist/{reply-prefix-BwVBvQXp.js → reply-prefix-CAsFNEP7.js} +2 -2
  215. package/dist/{routes-C2EyUA9x.js → routes-CYHrkIjB.js} +6 -6
  216. package/dist/{routes-XhTPYecR.js → routes-cdfVFYMI.js} +2 -2
  217. package/dist/{run-CGokiDR8.js → run-DE6EaeE3.js} +70 -70
  218. package/dist/{run--9hftM2H.js → run-S0Cw3Fyy.js} +32 -32
  219. package/dist/{run-main-DxcOzCLw.js → run-main-CCxXEvb7.js} +41 -41
  220. package/dist/{runtime-guard-B40AREJ_.js → runtime-guard-CNnLK4pn.js} +1 -1
  221. package/dist/{sandbox-BwUo1b0I.js → sandbox-B4-dXpqZ.js} +6 -6
  222. package/dist/{sandbox-CiwAPzO7.js → sandbox-DhcoWMaN.js} +2 -2
  223. package/dist/{sandbox-cli-D9-wZJ9M.js → sandbox-cli-DQMWPCOh.js} +24 -24
  224. package/dist/{sandbox-cli-DsrzwG_s.js → sandbox-cli-TAuv3mTO.js} +6 -6
  225. package/dist/{security-cli-CX5uciKz.js → security-cli-Da-3YxZ4.js} +29 -29
  226. package/dist/{security-cli-CouqfUGc.js → security-cli-Dc-NwTC2.js} +9 -9
  227. package/dist/{semantic-Buqqx7gZ.js → semantic-BlQgdb3-.js} +1 -1
  228. package/dist/{semantic-B4TOg4CK.js → semantic-VlSmVCfb.js} +1 -1
  229. package/dist/{server-context-B78_sSOW.js → server-context-C-usQ5Np.js} +1 -1
  230. package/dist/{server-context-efO1YgXk.js → server-context-r7wPe4ZD.js} +9 -9
  231. package/dist/{server-node-events-TN_Y9MgU.js → server-node-events-3KeQAwUo.js} +14 -14
  232. package/dist/{server-node-events-DJlLCF2M.js → server-node-events-GTSQEd_U.js} +36 -36
  233. package/dist/{service-D1idQeBv.js → service-DCVAkKlN.js} +1 -1
  234. package/dist/{service-audit-BzwV-IOi.js → service-audit-Crw1cAbj.js} +1 -1
  235. package/dist/{service-audit-BbwXAhsr.js → service-audit-DRIpsryX.js} +3 -3
  236. package/dist/{session-Dvwwi-Eb.js → session-CrGApVik.js} +1 -1
  237. package/dist/{session-skOcrvF2.js → session-D3BNUwtH.js} +1 -1
  238. package/dist/{session-DCGAvNG9.js → session-DKCUYHCS.js} +1 -1
  239. package/dist/{session-cost-usage-6bDLU9Pb.js → session-cost-usage-LvsvRW5g.js} +1 -1
  240. package/dist/{session-BjPdEBPh.js → session-mpOb9zFL.js} +5 -5
  241. package/dist/{sessions-kJgmpWtv.js → sessions-BduC6sZj.js} +78 -68
  242. package/dist/{sessions-B7ikzhI_.js → sessions-CAiEkTKb.js} +18 -8
  243. package/dist/{sessions-B7clh58j.js → sessions-DLPN62LD.js} +4 -4
  244. package/dist/{settings-cli-JU5bg5jb.js → settings-cli-BgGYdH4N.js} +77 -77
  245. package/dist/{settings-cli-DjVugHID.js → settings-cli-f0O0FUVO.js} +32 -32
  246. package/dist/{setup-token-CvRwJUVY.js → setup-token-lcjrc9sO.js} +28 -28
  247. package/dist/{setup-token-wFsQlaW2.js → setup-token-ykp60QVx.js} +9 -9
  248. package/dist/{shared-DC8lQHCt.js → shared-Ca0NTTF0.js} +3 -3
  249. package/dist/{shell-env-JzaPTLKV.js → shell-env-BZ_fIIlm.js} +1 -1
  250. package/dist/{shell-env-C1yK_Rod.js → shell-env-DaSbgZYX.js} +2 -2
  251. package/dist/{skill-scanner-HQwt_KRF.js → skill-scanner--TxpCSNF.js} +1 -1
  252. package/dist/{skills-cli-OYZS-U1f.js → skills-cli-BpyTvFkg.js} +16 -16
  253. package/dist/{skills-cli-CSMzc9am.js → skills-cli-Tm326cFx.js} +2 -2
  254. package/dist/{skills-install-BKz5WLq4.js → skills-install-B2m10oTm.js} +5 -5
  255. package/dist/{skills-status-B_umZ78Q.js → skills-status-D14GZ5WN.js} +3 -3
  256. package/dist/{skills-ppB3qrZU.js → skills-wS8aRGeO.js} +3 -3
  257. package/dist/{soul-DpWsWxOa.js → soul-CAEpnUkv.js} +1 -1
  258. package/dist/{soul-aZoR6Ctt.js → soul-D9EtC35X.js} +1 -1
  259. package/dist/{sqlite-CnVGUfhz.js → sqlite-B0rfPL8q.js} +2 -2
  260. package/dist/{sqlite-Duz1QJIT.js → sqlite-CR0WDTae.js} +2 -2
  261. package/dist/start-DYq7cNRG.js +157 -0
  262. package/dist/{start-CAbxlnFZ.js → start-Y69GZPdX.js} +41 -41
  263. package/dist/{status-YH65ctig.js → status-BplZv8_T.js} +2 -2
  264. package/dist/{status-CrJV2Y4x.js → status-K3LGPZeT.js} +4 -4
  265. package/dist/{status-CxxXFU4R.js → status-Uzlo7BvY.js} +27 -27
  266. package/dist/{status-1TjjCE1l.js → status-rt3tIYmL.js} +13 -13
  267. package/dist/{status.update-P6xyBet8.js → status.update-B61Emp_r.js} +3 -3
  268. package/dist/{status.update-BzAuf_G-.js → status.update-yjbKzlMn.js} +1 -1
  269. package/dist/{subagent-registry-xJY9wqZy.js → subagent-registry-DfCDq9hk.js} +14 -14
  270. package/dist/{subagent-registry-3Dw3YppH.js → subagent-registry-ZIpC5W-9.js} +7 -7
  271. package/dist/{subagent-registry-B_65nJFp.js → subagent-registry-xp5sYYzS.js} +13 -13
  272. package/dist/{subsystem-Cn6bJV8Z.js → subsystem-BMsbqSb4.js} +58 -1
  273. package/dist/{subsystem-WFp78xn1.js → subsystem-BP2l3SHn.js} +58 -1
  274. package/dist/{system-cli-Dbn4_ed8.js → system-cli-D-eyDWD6.js} +4 -4
  275. package/dist/{system-cli-lmslA_Ox.js → system-cli-Dy2Pwnbg.js} +15 -15
  276. package/dist/{systemd-DYPdTwok.js → systemd-DXo2A9_S.js} +2 -2
  277. package/dist/{systemd-hints-E8yYE8Q1.js → systemd-hints-DIjCA1An.js} +1 -1
  278. package/dist/{systemd-linger-CpWguZ4b.js → systemd-linger-DgB-ow-D.js} +2 -2
  279. package/dist/{table-B991ZwKi.js → table-C-GNQABy.js} +2 -2
  280. package/dist/{timeout-Dbspj9Jf.js → timeout-Cl8rWNWO.js} +350 -33
  281. package/dist/{tokens-k_R7Y792.js → tokens-FGW_JgKz.js} +1 -1
  282. package/dist/{tool-images-DJZPwGqm.js → tool-images-Df50dvpv.js} +2 -2
  283. package/dist/{tool-images-BehEzEZF.js → tool-images-RiPaL7wQ.js} +2 -2
  284. package/dist/{tui-PCTDV7Ct.js → tui-NlR4LFBm.js} +9 -9
  285. package/dist/{tui--eIVX_W0.js → tui-YsmTyq58.js} +3 -3
  286. package/dist/{tui-cli-DBV3lnXA.js → tui-cli-CSudxVpO.js} +9 -9
  287. package/dist/{tui-cli-D39zC_Ew.js → tui-cli-QnKj1We8.js} +28 -28
  288. package/dist/{update-tjMvDUCw.js → update-B2O46V_t.js} +3 -3
  289. package/dist/{update-cli-QP5L8xlv.js → update-cli-BXKL-v-n.js} +86 -86
  290. package/dist/{update-cli-BzaQvirL.js → update-cli-BgQUtlLg.js} +37 -37
  291. package/dist/{update-runner-ZuJN8uBE.js → update-runner-U2WcWGfd.js} +5 -5
  292. package/dist/{update-runner-B_oj7S_n.js → update-runner-fvdM_Hip.js} +1 -1
  293. package/dist/{usage-DzKbMa8N.js → usage-CM-NiwBA.js} +9 -9
  294. package/dist/{utils-dWKYjULE.js → utils-B60lF9Wq.js} +1 -1
  295. package/dist/{web-CgQc2Raf.js → web-B8r6MvXh.js} +43 -43
  296. package/dist/web-BzFhL5WI.js +67 -0
  297. package/dist/{web-nI3eIGAT.js → web-eoSM6P0a.js} +26 -26
  298. package/dist/{webhooks-cli-CYbIJJF6.js → webhooks-cli-24A2CbXR.js} +2 -2
  299. package/dist/{webhooks-cli-oRmSfYdd.js → webhooks-cli-CgkxWcH5.js} +13 -13
  300. package/dist/{whatsapp-actions-BzPQUcRR.js → whatsapp-actions-BVlqbVgY.js} +3 -3
  301. package/dist/{whatsapp-actions-CZuxHplg.js → whatsapp-actions-BYxKWK0A.js} +13 -13
  302. package/dist/{whatsapp-actions-BB-Leqn2.js → whatsapp-actions-DagVwYC6.js} +17 -17
  303. package/dist/{widearea-dns-CkuHFBQy.js → widearea-dns-B1TTb1v5.js} +1 -1
  304. package/dist/{workspace-DOJssemp.js → workspace-Cvio8QlZ.js} +1 -1
  305. package/dist/{ws-log-B-xsUQys.js → ws-log-De7GACYn.js} +1 -1
  306. package/dist/{ws-CQYP0dWu.js → ws-sdRTa2sP.js} +1 -1
  307. package/package.json +1 -1
  308. package/dist/cli-CfvBmuhw.js +0 -104
  309. package/dist/config-cli-cmNuTlw0.js +0 -15
  310. package/dist/register.configure-r5AViY3N.js +0 -108
  311. package/dist/register.maintenance-Cpf0ZZTL.js +0 -103
  312. package/dist/start-M9abr1O1.js +0 -157
  313. package/dist/web-DtWSf5wm.js +0 -67
  314. /package/dist/{boolean-M-esQJt6.js → boolean-Ce2-qkSB.js} +0 -0
  315. /package/dist/{command-format-B1WxXbeU.js → command-format-UwAvxtMC.js} +0 -0
  316. /package/dist/{config-Qw5FwfRK.js → config-COtiNNtV.js} +0 -0
  317. /package/dist/{errors-DjZBTJJ3.js → errors-D6Vj_xs4.js} +0 -0
  318. /package/dist/{file-lock-BRW4LeL0.js → file-lock-BFQVGKm5.js} +0 -0
  319. /package/dist/{input-provenance-B0pwc6mp.js → input-provenance-sPbZYo89.js} +0 -0
  320. /package/dist/{internal-hooks-Exeq-wmx.js → internal-hooks-CWw3Hgeu.js} +0 -0
  321. /package/dist/{paths-BvY3CbW0.js → paths-CnuAkdfx.js} +0 -0
  322. /package/dist/{tailnet-CjJJHjPU.js → tailnet-CabhakZ7.js} +0 -0
  323. /package/dist/{transcript-events-DUQC5hbS.js → transcript-events-C1hdue6u.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { D as truncateUtf16Safe } from "./utils-dWKYjULE.js";
1
+ import { D as truncateUtf16Safe } from "./utils-B60lF9Wq.js";
2
2
  import path from "node:path";
3
3
  import fs from "node:fs/promises";
4
4
 
@@ -1,15 +1,15 @@
1
1
  import { i as resolveGatewayPort, t as STATE_DIR } from "./paths-B-AkG5FD.js";
2
- import { E as resolveAgentIdFromSessionKey, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, h as resolveAnimaPackageRootSync, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as normalizeAgentId, y as buildAgentMainSessionKey } from "./workspace-DOJssemp.js";
3
- import { j as resolvePreferredAnimaTmpDir, l as getChatChannelMeta, m as requireActivePluginRegistry, n as defaultRuntime, o as CHANNEL_IDS, s as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-WFp78xn1.js";
4
- import { S as resolveConfigDir, b as normalizeE164, j as truncateUtf16Safe, l as CONFIG_DIR, m as escapeRegExp, n as runExec, w as resolveUserPath } from "./exec-DnanRQle.js";
5
- import { l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-DICrDp7Y.js";
6
- import { t as parseBooleanValue } from "./boolean-M-esQJt6.js";
7
- import { a as writeConfigFile, c as parseDurationMs, h as resolveMemorySlotDecision, m as resolveEnableState, n as loadConfig, p as normalizePluginsConfig, s as parseByteSize, t as createConfigIO, u as loadPluginManifestRegistry } from "./config-B-9UciOO.js";
8
- import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_ANIMA_BROWSER_ENABLED, E as DEFAULT_ANIMA_BROWSER_COLOR, O as DEFAULT_ANIMA_BROWSER_PROFILE_NAME, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveAnimaUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchAnimaChrome, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, n as isChromeCdpReady, o as stopAnimaChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-Cxl7I5SB.js";
9
- import { a as parseFrontmatterBlock, c as resolveRuntimePlatform, i as resolveAnimaManifestBlock, n as normalizeStringList, o as hasBinary, r as parseFrontmatterBool, s as isConfigPathTruthyWithDefaults, t as getFrontmatterString } from "./frontmatter-BmBmtOUh.js";
2
+ import { E as resolveAgentIdFromSessionKey, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, h as resolveAnimaPackageRootSync, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as normalizeAgentId, y as buildAgentMainSessionKey } from "./workspace-Cvio8QlZ.js";
3
+ import { j as resolvePreferredAnimaTmpDir, l as getChatChannelMeta, m as requireActivePluginRegistry, n as defaultRuntime, o as CHANNEL_IDS, s as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-BP2l3SHn.js";
4
+ import { S as resolveConfigDir, b as normalizeE164, j as truncateUtf16Safe, l as CONFIG_DIR, m as escapeRegExp, n as runExec, w as resolveUserPath } from "./exec-CEFTijVj.js";
5
+ import { l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-BHR6uOLT.js";
6
+ import { a as writeConfigFile, c as parseDurationMs, h as resolveMemorySlotDecision, m as resolveEnableState, n as loadConfig, p as normalizePluginsConfig, s as parseByteSize, t as createConfigIO, u as loadPluginManifestRegistry } from "./config-BfhpauV9.js";
7
+ import { t as parseBooleanValue } from "./boolean-Ce2-qkSB.js";
8
+ import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_ANIMA_BROWSER_ENABLED, E as DEFAULT_ANIMA_BROWSER_COLOR, O as DEFAULT_ANIMA_BROWSER_PROFILE_NAME, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveAnimaUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchAnimaChrome, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, n as isChromeCdpReady, o as stopAnimaChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-CkSIMI7j.js";
9
+ import { a as parseFrontmatterBlock, c as resolveRuntimePlatform, i as resolveAnimaManifestBlock, n as normalizeStringList, o as hasBinary, r as parseFrontmatterBool, s as isConfigPathTruthyWithDefaults, t as getFrontmatterString } from "./frontmatter-Dsa7N963.js";
10
10
  import { n as formatErrorMessage, t as extractErrorCode } from "./errors-UbDRvfEx.js";
11
- import { S as extensionForMime, _ as getImageMetadata, b as resizeToJpeg, l as listDeliverableMessageChannels, r as normalizeChannelId, u as normalizeMessageChannel, x as detectMime } from "./plugins-C_GedoUi.js";
12
- import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DybdJi5a.js";
11
+ import { S as extensionForMime, _ as getImageMetadata, b as resizeToJpeg, l as listDeliverableMessageChannels, r as normalizeChannelId, u as normalizeMessageChannel, x as detectMime } from "./plugins-DCXdhkeB.js";
12
+ import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CLxC7m0Z.js";
13
13
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-D0hT93vo.js";
14
14
  import fs from "node:fs/promises";
15
15
  import os from "node:os";
@@ -1268,7 +1268,7 @@ function isModuleNotFoundError(err) {
1268
1268
  }
1269
1269
  async function loadPwAiModule(mode) {
1270
1270
  try {
1271
- return await import("./pw-ai-CJgeaF06.js");
1271
+ return await import("./pw-ai-CsODxGt8.js");
1272
1272
  } catch (err) {
1273
1273
  if (mode === "soft") return null;
1274
1274
  if (isModuleNotFoundError(err)) return null;
@@ -3726,11 +3726,11 @@ function createProfileContext(opts, profile) {
3726
3726
  const userDataDir = resolveAnimaUserDataDir(profile.name);
3727
3727
  const profileState = getProfileState();
3728
3728
  if (await isHttpReachable(300) && !profileState.running) try {
3729
- await (await import("./pw-ai-CJgeaF06.js")).closePlaywrightBrowserConnection();
3729
+ await (await import("./pw-ai-CsODxGt8.js")).closePlaywrightBrowserConnection();
3730
3730
  } catch {}
3731
3731
  if (profileState.running) await stopRunningBrowser();
3732
3732
  try {
3733
- await (await import("./pw-ai-CJgeaF06.js")).closePlaywrightBrowserConnection();
3733
+ await (await import("./pw-ai-CsODxGt8.js")).closePlaywrightBrowserConnection();
3734
3734
  } catch {}
3735
3735
  if (!fs$1.existsSync(userDataDir)) return {
3736
3736
  moved: false,
@@ -3973,14 +3973,24 @@ function resolveConversationLabel(ctx) {
3973
3973
 
3974
3974
  //#endregion
3975
3975
  //#region src/channels/dock.ts
3976
- const DOCKS = { web: {
3977
- id: "web",
3978
- capabilities: {
3979
- chatTypes: ["direct"],
3980
- media: true
3976
+ const DOCKS = {
3977
+ web: {
3978
+ id: "web",
3979
+ capabilities: {
3980
+ chatTypes: ["direct"],
3981
+ media: true
3982
+ },
3983
+ outbound: { textChunkLimit: 4e3 }
3981
3984
  },
3982
- outbound: { textChunkLimit: 4e3 }
3983
- } };
3985
+ noxsoft: {
3986
+ id: "noxsoft",
3987
+ capabilities: {
3988
+ chatTypes: ["direct", "channel"],
3989
+ media: true
3990
+ },
3991
+ outbound: { textChunkLimit: 4e3 }
3992
+ }
3993
+ };
3984
3994
  function buildDockFromPlugin(plugin) {
3985
3995
  return {
3986
3996
  id: plugin.id,
@@ -4,8 +4,8 @@ import { b as safeParseJson } from "./utils-D1VGbO3C.js";
4
4
  import { n as resolveAgentConfig } from "./agent-scope-Dm8IL1Ks.js";
5
5
  import { t as withFileLock$1 } from "./file-lock-CxXn285m.js";
6
6
  import { l as normalizeMessageChannel } from "./message-channel-DdOBO6Qm.js";
7
- import { E as getChannelDock } from "./sessions-B7ikzhI_.js";
8
- import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-CiwAPzO7.js";
7
+ import { E as getChannelDock } from "./sessions-CAiEkTKb.js";
8
+ import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-DhcoWMaN.js";
9
9
  import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CFBEoAN4.js";
10
10
  import os from "node:os";
11
11
  import path from "node:path";
@@ -1,12 +1,12 @@
1
1
  import { _ as resolveRequiredHomeDir, f as resolveOAuthDir, m as resolveStateDir } from "./paths-zhVksOvm.js";
2
- import { x as safeParseJson } from "./utils-dWKYjULE.js";
2
+ import { x as safeParseJson } from "./utils-B60lF9Wq.js";
3
3
  import { S as resolveThreadParentSessionKey, c as normalizeAccountId, d as resolveAgentIdFromSessionKey } from "./session-key-DxcgHezu.js";
4
- import { n as resolveAgentConfig } from "./agent-scope-BLiq3nK_.js";
5
- import { F as getChannelDock } from "./sessions-kJgmpWtv.js";
6
- import { t as withFileLock$1 } from "./file-lock-BRW4LeL0.js";
7
- import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-BwUo1b0I.js";
8
- import { l as normalizeMessageChannel } from "./message-channel-DuxJGOJz.js";
9
- import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BmYfBGLM.js";
4
+ import { n as resolveAgentConfig } from "./agent-scope-ryeVDUKe.js";
5
+ import { N as getChannelDock } from "./sessions-BduC6sZj.js";
6
+ import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-B4-dXpqZ.js";
7
+ import { l as normalizeMessageChannel } from "./message-channel-C5I8UgGH.js";
8
+ import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-NbldDVJs.js";
9
+ import { t as withFileLock$1 } from "./file-lock-BFQVGKm5.js";
10
10
  import fs from "node:fs";
11
11
  import os from "node:os";
12
12
  import path from "node:path";
@@ -1,6 +1,6 @@
1
1
  import { ot as getChatChannelMeta, st as listChatChannels, ut as normalizeChatChannelId } from "./entry.js";
2
2
  import { d as isRecord } from "./utils-D1VGbO3C.js";
3
- import { c as normalizeProviderId } from "./model-selection-BKFF7fDb.js";
3
+ import { c as normalizeProviderId } from "./model-selection-DFbDH9o2.js";
4
4
  import { t as hasAnyWhatsAppAuth } from "./accounts-DsNmYlrU.js";
5
5
  import { n as getChannelPluginCatalogEntry, r as listChannelPluginCatalogEntries } from "./catalog-BZSyH9a0.js";
6
6
 
@@ -1,8 +1,8 @@
1
- import { S as listChatChannels, T as normalizeChatChannelId, x as getChatChannelMeta } from "./subsystem-Cn6bJV8Z.js";
2
- import { f as isRecord } from "./utils-dWKYjULE.js";
3
- import { c as normalizeProviderId } from "./model-selection-C2dAUmK_.js";
4
- import { t as hasAnyWhatsAppAuth } from "./accounts-CVmv61PJ.js";
5
- import { n as getChannelPluginCatalogEntry, r as listChannelPluginCatalogEntries } from "./catalog-B-pfqu76.js";
1
+ import { S as listChatChannels, T as normalizeChatChannelId, x as getChatChannelMeta } from "./subsystem-BMsbqSb4.js";
2
+ import { f as isRecord } from "./utils-B60lF9Wq.js";
3
+ import { c as normalizeProviderId } from "./model-selection-DRIxw3do.js";
4
+ import { t as hasAnyWhatsAppAuth } from "./accounts-Dzi6Ld7X.js";
5
+ import { n as getChannelPluginCatalogEntry, r as listChannelPluginCatalogEntries } from "./catalog-3hzXhHxJ.js";
6
6
 
7
7
  //#region src/config/plugin-auto-enable.ts
8
8
  const CHANNEL_PLUGIN_IDS = Array.from(new Set([...listChatChannels().map((meta) => meta.id), ...listChannelPluginCatalogEntries().map((entry) => entry.id)]));
@@ -1,8 +1,8 @@
1
1
  import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
2
  import { dt as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
3
3
  import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-Dm8IL1Ks.js";
4
- import { i as loadConfig } from "./config-D6D_ieel.js";
5
- import { Z as loadAnimaPlugins } from "./reply-CpHIJ9Kk.js";
4
+ import { i as loadConfig } from "./config-Ofh9gKvs.js";
5
+ import { Z as loadAnimaPlugins } from "./reply-DAGmjvs-.js";
6
6
 
7
7
  //#region src/cli/plugin-registry.ts
8
8
  var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
@@ -1,8 +1,8 @@
1
1
  import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
- import { E as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-Cn6bJV8Z.js";
3
- import { Y as loadAnimaPlugins } from "./reply-BKpIrCr-.js";
4
- import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-BLiq3nK_.js";
5
- import { i as loadConfig } from "./config-CG7uuHNE.js";
2
+ import { E as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-BMsbqSb4.js";
3
+ import { Y as loadAnimaPlugins } from "./reply-CwV-5jE0.js";
4
+ import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-ryeVDUKe.js";
5
+ import { i as loadConfig } from "./config-Dk-5Mb_G.js";
6
6
 
7
7
  //#region src/cli/plugin-registry.ts
8
8
  var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
@@ -10,8 +10,8 @@
10
10
  * This runner is automatically used when an `anthropic:default` token credential
11
11
  * is present in the auth store and the claude CLI is unavailable or not logged in.
12
12
  */
13
- import type { AnimaConfig } from "../config/config.js";
14
13
  import type { ThinkLevel } from "../auto-reply/thinking.js";
14
+ import type { AnimaConfig } from "../config/config.js";
15
15
  import type { EmbeddedPiRunResult } from "./pi-embedded-runner.js";
16
16
  /**
17
17
  * Run an agent turn directly against api.anthropic.com.
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Gemini Direct API Runner
3
+ *
4
+ * Makes calls directly to generativelanguage.googleapis.com without needing
5
+ * a CLI wrapper. Works with Google API keys (GEMINI_API_KEY).
6
+ *
7
+ * This runner is automatically used when a google API key is available
8
+ * and the provider is set to "google" or "gemini".
9
+ */
10
+ import type { ThinkLevel } from "../auto-reply/thinking.js";
11
+ import type { AnimaConfig } from "../config/config.js";
12
+ import type { EmbeddedPiRunResult } from "./pi-embedded-runner.js";
13
+ /**
14
+ * Run an agent turn directly against generativelanguage.googleapis.com.
15
+ *
16
+ * Maintains multi-turn conversation history per session file.
17
+ * Falls back to single-turn if history is unavailable.
18
+ */
19
+ export declare function runGeminiDirectAgent(params: {
20
+ apiKey: string;
21
+ sessionId: string;
22
+ sessionKey?: string;
23
+ agentId?: string;
24
+ sessionFile: string;
25
+ workspaceDir: string;
26
+ config?: AnimaConfig;
27
+ prompt: string;
28
+ model?: string;
29
+ thinkLevel?: ThinkLevel;
30
+ timeoutMs: number;
31
+ runId: string;
32
+ extraSystemPrompt?: string;
33
+ ownerNumbers?: string[];
34
+ onPartialReply?: (payload: {
35
+ text?: string;
36
+ }) => Promise<void> | void;
37
+ onAssistantMessageStart?: () => Promise<void> | void;
38
+ }): Promise<EmbeddedPiRunResult>;
@@ -1,5 +1,5 @@
1
1
  export declare const BrowserToolSchema: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TObject<{
2
- action: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TUnsafe<"open" | "close" | "profiles" | "status" | "start" | "navigate" | "pdf" | "stop" | "snapshot" | "console" | "dialog" | "screenshot" | "tabs" | "focus" | "upload" | "act">;
2
+ action: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TUnsafe<"open" | "close" | "profiles" | "status" | "start" | "navigate" | "snapshot" | "stop" | "console" | "dialog" | "pdf" | "screenshot" | "tabs" | "focus" | "upload" | "act">;
3
3
  target: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TOptional<import("node_modules/@sinclair/typebox/build/esm/index.mjs").TUnsafe<"sandbox" | "node" | "host">>;
4
4
  node: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TOptional<import("node_modules/@sinclair/typebox/build/esm/index.mjs").TString>;
5
5
  profile: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TOptional<import("node_modules/@sinclair/typebox/build/esm/index.mjs").TString>;
@@ -27,7 +27,7 @@ export declare const BrowserToolSchema: import("node_modules/@sinclair/typebox/b
27
27
  accept: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TOptional<import("node_modules/@sinclair/typebox/build/esm/index.mjs").TBoolean>;
28
28
  promptText: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TOptional<import("node_modules/@sinclair/typebox/build/esm/index.mjs").TString>;
29
29
  request: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TOptional<import("node_modules/@sinclair/typebox/build/esm/index.mjs").TObject<{
30
- kind: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TUnsafe<"fill" | "close" | "resize" | "type" | "select" | "click" | "press" | "hover" | "drag" | "wait" | "evaluate">;
30
+ kind: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TUnsafe<"fill" | "close" | "resize" | "type" | "select" | "wait" | "click" | "press" | "hover" | "drag" | "evaluate">;
31
31
  targetId: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TOptional<import("node_modules/@sinclair/typebox/build/esm/index.mjs").TString>;
32
32
  ref: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TOptional<import("node_modules/@sinclair/typebox/build/esm/index.mjs").TString>;
33
33
  doubleClick: import("node_modules/@sinclair/typebox/build/esm/index.mjs").TOptional<import("node_modules/@sinclair/typebox/build/esm/index.mjs").TBoolean>;
@@ -1,8 +1,8 @@
1
1
  import type { ChannelId } from "../channels/plugins/types.js";
2
2
  import type { GatewayDaemonRuntime } from "./daemon-runtime.js";
3
3
  export type OnboardMode = "local" | "remote";
4
- export type AuthChoice = "noxsoft" | "openaiCodex" | "apiKey" | "skip";
5
- export type AuthChoiceGroupId = "noxsoft" | "openaiCodex" | "anthropic";
4
+ export type AuthChoice = "noxsoft" | "openaiCodex" | "apiKey" | "geminiApiKey" | "skip";
5
+ export type AuthChoiceGroupId = "noxsoft" | "openaiCodex" | "anthropic" | "gemini";
6
6
  export type GatewayAuthChoice = "token" | "password";
7
7
  export type ResetScope = "config" | "config+creds+sessions" | "full";
8
8
  export type GatewayBind = "loopback" | "lan" | "auto" | "custom" | "tailnet";
@@ -45,8 +45,8 @@ export declare const validateRequestFrame: AjvPkg.ValidateFunction<{
45
45
  export declare const validateResponseFrame: AjvPkg.ValidateFunction<{
46
46
  error?: {
47
47
  details?: unknown;
48
- retryable?: boolean | undefined;
49
48
  retryAfterMs?: number | undefined;
49
+ retryable?: boolean | undefined;
50
50
  message: string;
51
51
  code: string;
52
52
  } | undefined;
@@ -206,8 +206,8 @@ export declare const validateSessionsListParams: AjvPkg.ValidateFunction<{
206
206
  includeLastMessage?: boolean | undefined;
207
207
  }>;
208
208
  export declare const validateSessionsPreviewParams: AjvPkg.ValidateFunction<{
209
- maxChars?: number | undefined;
210
209
  limit?: number | undefined;
210
+ maxChars?: number | undefined;
211
211
  keys: string[];
212
212
  }>;
213
213
  export declare const validateSessionsResolveParams: AjvPkg.ValidateFunction<{
@@ -363,8 +363,8 @@ export declare const validateCronAddParams: AjvPkg.ValidateFunction<{
363
363
  channel?: string | undefined;
364
364
  thinking?: string | undefined;
365
365
  model?: string | undefined;
366
- to?: string | undefined;
367
366
  deliver?: boolean | undefined;
367
+ to?: string | undefined;
368
368
  timeoutSeconds?: number | undefined;
369
369
  allowUnsafeExternalContent?: boolean | undefined;
370
370
  bestEffortDeliver?: boolean | undefined;
@@ -378,6 +378,15 @@ export declare const validateCronUpdateParams: AjvPkg.ValidateFunction<{
378
378
  enabled?: boolean | undefined;
379
379
  name?: string | undefined;
380
380
  agentId?: string | null | undefined;
381
+ state?: {
382
+ lastError?: string | undefined;
383
+ nextRunAtMs?: number | undefined;
384
+ runningAtMs?: number | undefined;
385
+ lastRunAtMs?: number | undefined;
386
+ lastStatus?: "error" | "skipped" | "ok" | undefined;
387
+ lastDurationMs?: number | undefined;
388
+ consecutiveErrors?: number | undefined;
389
+ } | undefined;
381
390
  description?: string | undefined;
382
391
  deleteAfterRun?: boolean | undefined;
383
392
  schedule?: {
@@ -402,8 +411,8 @@ export declare const validateCronUpdateParams: AjvPkg.ValidateFunction<{
402
411
  thinking?: string | undefined;
403
412
  message?: string | undefined;
404
413
  model?: string | undefined;
405
- to?: string | undefined;
406
414
  deliver?: boolean | undefined;
415
+ to?: string | undefined;
407
416
  timeoutSeconds?: number | undefined;
408
417
  allowUnsafeExternalContent?: boolean | undefined;
409
418
  bestEffortDeliver?: boolean | undefined;
@@ -415,6 +424,12 @@ export declare const validateCronUpdateParams: AjvPkg.ValidateFunction<{
415
424
  to?: string | undefined;
416
425
  bestEffort?: boolean | undefined;
417
426
  } | undefined;
427
+ };
428
+ } | {
429
+ patch: {
430
+ enabled?: boolean | undefined;
431
+ name?: string | undefined;
432
+ agentId?: string | null | undefined;
418
433
  state?: {
419
434
  lastError?: string | undefined;
420
435
  nextRunAtMs?: number | undefined;
@@ -424,12 +439,6 @@ export declare const validateCronUpdateParams: AjvPkg.ValidateFunction<{
424
439
  lastDurationMs?: number | undefined;
425
440
  consecutiveErrors?: number | undefined;
426
441
  } | undefined;
427
- };
428
- } | {
429
- patch: {
430
- enabled?: boolean | undefined;
431
- name?: string | undefined;
432
- agentId?: string | null | undefined;
433
442
  description?: string | undefined;
434
443
  deleteAfterRun?: boolean | undefined;
435
444
  schedule?: {
@@ -454,8 +463,8 @@ export declare const validateCronUpdateParams: AjvPkg.ValidateFunction<{
454
463
  thinking?: string | undefined;
455
464
  message?: string | undefined;
456
465
  model?: string | undefined;
457
- to?: string | undefined;
458
466
  deliver?: boolean | undefined;
467
+ to?: string | undefined;
459
468
  timeoutSeconds?: number | undefined;
460
469
  allowUnsafeExternalContent?: boolean | undefined;
461
470
  bestEffortDeliver?: boolean | undefined;
@@ -467,15 +476,6 @@ export declare const validateCronUpdateParams: AjvPkg.ValidateFunction<{
467
476
  to?: string | undefined;
468
477
  bestEffort?: boolean | undefined;
469
478
  } | undefined;
470
- state?: {
471
- lastError?: string | undefined;
472
- nextRunAtMs?: number | undefined;
473
- runningAtMs?: number | undefined;
474
- lastRunAtMs?: number | undefined;
475
- lastStatus?: "error" | "skipped" | "ok" | undefined;
476
- lastDurationMs?: number | undefined;
477
- consecutiveErrors?: number | undefined;
478
- } | undefined;
479
479
  };
480
480
  jobId: string;
481
481
  }>;
@@ -507,12 +507,12 @@ export declare const validateDevicePairRejectParams: AjvPkg.ValidateFunction<{
507
507
  }>;
508
508
  export declare const validateDeviceTokenRotateParams: AjvPkg.ValidateFunction<{
509
509
  scopes?: string[] | undefined;
510
- deviceId: string;
511
510
  role: string;
511
+ deviceId: string;
512
512
  }>;
513
513
  export declare const validateDeviceTokenRevokeParams: AjvPkg.ValidateFunction<{
514
- deviceId: string;
515
514
  role: string;
515
+ deviceId: string;
516
516
  }>;
517
517
  export declare const validateExecApprovalsGetParams: AjvPkg.ValidateFunction<{}>;
518
518
  export declare const validateExecApprovalsSetParams: AjvPkg.ValidateFunction<{
@@ -1554,6 +1554,8 @@ const DEFAULT_LOG_FILE = path.join(DEFAULT_LOG_DIR, "anima.log");
1554
1554
  const LOG_PREFIX = "anima";
1555
1555
  const LOG_SUFFIX = ".log";
1556
1556
  const MAX_LOG_AGE_MS = 1440 * 60 * 1e3;
1557
+ const MAX_LOG_SIZE_BYTES = 50 * 1024 * 1024;
1558
+ const MAX_LOG_SEGMENTS = 5;
1557
1559
  const requireConfig$1 = createRequire(import.meta.url);
1558
1560
  const externalTransports = /* @__PURE__ */ new Set();
1559
1561
  function attachExternalTransport(logger, transport) {
@@ -1595,6 +1597,8 @@ function buildLogger(settings) {
1595
1597
  minLevel: levelToMinLevel(settings.level),
1596
1598
  type: "hidden"
1597
1599
  });
1600
+ let currentFile = settings.file;
1601
+ let currentSize = getFileSize(currentFile);
1598
1602
  logger.attachTransport((logObj) => {
1599
1603
  try {
1600
1604
  const time = logObj.date?.toISOString?.() ?? (/* @__PURE__ */ new Date()).toISOString();
@@ -1602,7 +1606,16 @@ function buildLogger(settings) {
1602
1606
  ...logObj,
1603
1607
  time
1604
1608
  });
1605
- fs$1.appendFileSync(settings.file, `${line}\n`, { encoding: "utf8" });
1609
+ const lineBytes = Buffer.byteLength(line, "utf8") + 1;
1610
+ if (currentSize + lineBytes > MAX_LOG_SIZE_BYTES) {
1611
+ const rotated = rotateLogFile(currentFile);
1612
+ if (rotated) {
1613
+ currentFile = rotated;
1614
+ currentSize = 0;
1615
+ }
1616
+ }
1617
+ fs$1.appendFileSync(currentFile, `${line}\n`, { encoding: "utf8" });
1618
+ currentSize += lineBytes;
1606
1619
  } catch {}
1607
1620
  });
1608
1621
  for (const transport of externalTransports) attachExternalTransport(logger, transport);
@@ -1636,6 +1649,50 @@ function registerLogTransport(transport) {
1636
1649
  externalTransports.delete(transport);
1637
1650
  };
1638
1651
  }
1652
+ function getFileSize(filePath) {
1653
+ try {
1654
+ return fs$1.statSync(filePath).size;
1655
+ } catch {
1656
+ return 0;
1657
+ }
1658
+ }
1659
+ function rotateLogFile(filePath) {
1660
+ try {
1661
+ const dir = path.dirname(filePath);
1662
+ const ext = path.extname(filePath);
1663
+ const base = path.basename(filePath, ext);
1664
+ let segment = 1;
1665
+ while (segment <= MAX_LOG_SEGMENTS) {
1666
+ const segmentPath = path.join(dir, `${base}.${segment}${ext}`);
1667
+ if (!fs$1.existsSync(segmentPath)) {
1668
+ fs$1.renameSync(filePath, segmentPath);
1669
+ pruneExcessSegments(dir, base, ext);
1670
+ return filePath;
1671
+ }
1672
+ segment++;
1673
+ }
1674
+ const oldestPath = path.join(dir, `${base}.${MAX_LOG_SEGMENTS}${ext}`);
1675
+ fs$1.rmSync(oldestPath, { force: true });
1676
+ for (let i = MAX_LOG_SEGMENTS - 1; i >= 1; i--) {
1677
+ const from = path.join(dir, `${base}.${i}${ext}`);
1678
+ const to = path.join(dir, `${base}.${i + 1}${ext}`);
1679
+ if (fs$1.existsSync(from)) fs$1.renameSync(from, to);
1680
+ }
1681
+ fs$1.renameSync(filePath, path.join(dir, `${base}.1${ext}`));
1682
+ return filePath;
1683
+ } catch {
1684
+ return null;
1685
+ }
1686
+ }
1687
+ function pruneExcessSegments(dir, base, ext) {
1688
+ try {
1689
+ for (let i = MAX_LOG_SEGMENTS + 1; i <= MAX_LOG_SEGMENTS + 10; i++) {
1690
+ const segmentPath = path.join(dir, `${base}.${i}${ext}`);
1691
+ if (fs$1.existsSync(segmentPath)) fs$1.rmSync(segmentPath, { force: true });
1692
+ else break;
1693
+ }
1694
+ } catch {}
1695
+ }
1639
1696
  function formatLocalDate(date) {
1640
1697
  return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(2, "0")}-${String(date.getDate()).padStart(2, "0")}`;
1641
1698
  }
@@ -3285,14 +3342,24 @@ function resolveChannelGroupToolsPolicy(params) {
3285
3342
 
3286
3343
  //#endregion
3287
3344
  //#region src/channels/dock.ts
3288
- const DOCKS = { web: {
3289
- id: "web",
3290
- capabilities: {
3291
- chatTypes: ["direct"],
3292
- media: true
3345
+ const DOCKS = {
3346
+ web: {
3347
+ id: "web",
3348
+ capabilities: {
3349
+ chatTypes: ["direct"],
3350
+ media: true
3351
+ },
3352
+ outbound: { textChunkLimit: 4e3 }
3293
3353
  },
3294
- outbound: { textChunkLimit: 4e3 }
3295
- } };
3354
+ noxsoft: {
3355
+ id: "noxsoft",
3356
+ capabilities: {
3357
+ chatTypes: ["direct", "channel"],
3358
+ media: true
3359
+ },
3360
+ outbound: { textChunkLimit: 4e3 }
3361
+ }
3362
+ };
3296
3363
  function buildDockFromPlugin(plugin) {
3297
3364
  return {
3298
3365
  id: plugin.id,
@@ -1,5 +1,5 @@
1
- import { f as normalizeChatChannelId, m as requireActivePluginRegistry, o as CHANNEL_IDS, p as getActivePluginRegistry, s as CHAT_CHANNEL_ORDER, u as normalizeAnyChannelId } from "./subsystem-WFp78xn1.js";
2
- import { n as runExec } from "./exec-DnanRQle.js";
1
+ import { f as normalizeChatChannelId, m as requireActivePluginRegistry, o as CHANNEL_IDS, p as getActivePluginRegistry, s as CHAT_CHANNEL_ORDER, u as normalizeAnyChannelId } from "./subsystem-BP2l3SHn.js";
2
+ import { n as runExec } from "./exec-CEFTijVj.js";
3
3
  import fs from "node:fs/promises";
4
4
  import os from "node:os";
5
5
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { C as normalizeAnyChannelId, D as requireActivePluginRegistry, _ as CHAT_CHANNEL_ORDER } from "./subsystem-Cn6bJV8Z.js";
1
+ import { C as normalizeAnyChannelId, D as requireActivePluginRegistry, _ as CHAT_CHANNEL_ORDER } from "./subsystem-BMsbqSb4.js";
2
2
 
3
3
  //#region src/channels/plugins/index.ts
4
4
  function listPluginChannels() {