@noxsoft/anima 2.0.2 → 2.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.
- package/dist/{accounts-Cc5E4IDO.js → accounts-Bth3PpPD.js} +4 -4
- package/dist/{accounts-CcVrwKqv.js → accounts-CP1IAWeM.js} +1 -1
- package/dist/{acp-cli-DvphOKuh.js → acp-cli-0JY_DUDb.js} +5 -5
- package/dist/{acp-cli-p28pQ65a.js → acp-cli-BUGHeckb.js} +17 -17
- package/dist/{agent-Cj7uDJaZ.js → agent-DwTJ59DW.js} +8 -8
- package/dist/{agent-Cuj9-2sT.js → agent-eLix7YLB.js} +14 -14
- package/dist/{agent-events-BEBQsyE5.js → agent-events-COLRhRBH.js} +2 -2
- package/dist/{agent-scope-V1bi9OYL.js → agent-scope-CPphqq-U.js} +3 -3
- package/dist/{agent-scope-BVf4aSwY.js → agent-scope-CcE0DhlL.js} +3 -3
- package/dist/{agents-BUWqn_Ui.js → agents-D57WX9dn.js} +6 -6
- package/dist/{agents.config-d6H0_3oj.js → agents.config-DWZdxlQw.js} +1 -1
- package/dist/{argv-DqUHKf0o.js → argv-BMZMiW7v.js} +1 -1
- package/dist/{audit-VWjIdwC7.js → audit-BvPmfYxY.js} +16 -16
- package/dist/{audit-C6okOOSh.js → audit-CmL_VKW9.js} +7 -7
- package/dist/{auth-91o2YM96.js → auth-BNZsOHGF.js} +2 -2
- package/dist/{auth-choice-p3SeHPj2.js → auth-choice-8JX4OqDS.js} +6 -6
- package/dist/{auth-choice-CAmACV13.js → auth-choice-DbU0S_0Q.js} +8 -8
- package/dist/{auth-health-DCicUKYR.js → auth-health-CP4Id2rW.js} +1 -1
- package/dist/{auth-health-B_jXrWe6.js → auth-health-CeDOBbt0.js} +1 -1
- package/dist/{auth-profiles-CCDD56dU.js → auth-profiles-BVZBTuls.js} +5 -5
- package/dist/{auth-profiles-DxI8L7bs.js → auth-profiles-CC3TFfvS.js} +1 -1
- package/dist/{banner-Cohn04J6.js → banner-DDcACdvK.js} +6 -6
- package/dist/{browser-cli-WjsVH741.js → browser-cli-BZ38kv8Y.js} +65 -65
- package/dist/{browser-cli-DANzjztE.js → browser-cli-CYOmCXxE.js} +50 -50
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +15 -15
- package/dist/bundled/bootstrap-extra-files/handler.js +3 -3
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/{call-Ct7EGP_L.js → call-BYDpTVCZ.js} +5 -5
- package/dist/{call-BAHvlu2G.js → call-CTMQygkz.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-BNsf97BM.js → catalog-CqKiUgu6.js} +2 -2
- package/dist/{channel-options-Dx9nPlX8.js → channel-options-CO21Gl8p.js} +5 -5
- package/dist/{channel-options-ZdvXrTGs.js → channel-options-M44Z9-3q.js} +1 -1
- package/dist/{channel-selection-CujyiWGM.js → channel-selection-CqcX7Ocw.js} +2 -2
- package/dist/{channel-web-CC0hkgkR.js → channel-web-Q-STsf5N.js} +18 -18
- package/dist/{channels-cli-DUPG8WDv.js → channels-cli-SPO9rJnF.js} +63 -63
- package/dist/{channels-cli-D7lNBpIb.js → channels-cli-zIOBobe6.js} +31 -31
- package/dist/{channels-status-issues-DjO9MHIG.js → channels-status-issues-DwHRoeWL.js} +1 -1
- package/dist/{chrome-Bi6iZ5sG.js → chrome-DlcCwfo_.js} +3 -3
- package/dist/{chrome-DScZx4Lk.js → chrome-U3DRzjJD.js} +5 -5
- package/dist/{chrome-DNSv7Cpy.js → chrome-mUDT-mA5.js} +3 -3
- package/dist/{clack-prompter-B1YxZdRy.js → clack-prompter-Ct2BYIXW.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-AYZaZSSx.js +101 -0
- package/dist/{cli-ClMrIh6l.js → cli-XuLBXSur.js} +25 -25
- package/dist/{cli-session-Dd8DKb5a.js → cli-session-C70q07GT.js} +6 -6
- package/dist/{cli-session-BkPTd9Pk.js → cli-session-CqlE2JFo.js} +17 -17
- package/dist/{client-CC94YZrT.js → client-LRKFjo4A.js} +3 -3
- package/dist/{clipboard-B2fBy8tG.js → clipboard-SCV-0V39.js} +1 -1
- package/dist/{command-format-SkzzRqR1.js → command-format-CP1YTNCl.js} +4 -4
- package/dist/{command-format-DELazozB.js → command-format-CVL4K5cj.js} +4 -4
- package/dist/{command-format-Clp46jkj.js → command-format-DAaqLG8J.js} +4 -4
- package/dist/{command-registry-DZ4hkmA0.js → command-registry-CSbw6FZC.js} +12 -12
- package/dist/{commands-DtYZJSPn.js → commands-D5PGoVW4.js} +166 -8
- package/dist/{commands-Dujk1JmY.js → commands-D7CbOdcS.js} +165 -7
- package/dist/{commands-registry-DYfRSVF3.js → commands-registry-q13H7ng5.js} +2 -2
- package/dist/{commands-registry-Bd0xbvwG.js → commands-registry-sLFieXCB.js} +1 -1
- package/dist/{common-zW9Y2P1B.js → common-CX5458fH.js} +2 -2
- package/dist/{completion-cli-tSe7Pmqm.js → completion-cli-BFdiNmVD.js} +13 -13
- package/dist/{completion-cli-vn4IScs5.js → completion-cli-_SwCoFq6.js} +11 -11
- package/dist/{config-C8rUDJXY.js → config-BeuAT94o.js} +1 -1
- package/dist/{config-CLZ_XGVw.js → config-C96685Kz.js} +6 -6
- package/dist/{config-SY8M0kM_.js → config-DaqbUdkI.js} +6 -6
- package/dist/{config-cli-CjWEC81L.js → config-cli-DhdAhW1h.js} +6 -6
- package/dist/{config-cli-1V7D2Wsw.js → config-cli-NqEQjCzV.js} +14 -14
- package/dist/{config-guard-BvxuzHpo.js → config-guard-B1rmR88x.js} +4 -4
- package/dist/{config-guard-BW2gpKj_.js → config-guard-BCUt7Re8.js} +23 -23
- package/dist/{configure-DRM-7zFf.js → configure-B2vlJbd2.js} +22 -22
- package/dist/{configure-Bf0oupCE.js → configure-FENKo5hf.js} +9 -9
- package/dist/{context-D5iEFzv9.js → context-ChaAWbwZ.js} +2 -2
- package/dist/{control-service-DKotCWCg.js → control-service-DXYImShH.js} +4 -4
- package/dist/{control-service-C8m8F9pr.js → control-service-X_1FRl7x.js} +5 -5
- package/dist/{cron-cli-bxm5lrrO.js → cron-cli-B6jMeNqC.js} +18 -18
- package/dist/{cron-cli-DB_FLYHD.js → cron-cli-ByPSA5ZE.js} +6 -6
- package/dist/{daemon-cli-1LsOnICv.js → daemon-cli-Bf0Q00vC.js} +25 -25
- package/dist/{daemon-cli-CC2NrJ7a.js → daemon-cli-CKOoYhs-.js} +16 -16
- package/dist/daemon-cli.js +16 -16
- package/dist/{daemon-runtime-BXZhtBL9.js → daemon-runtime-C9KTe-Gn.js} +3 -3
- package/dist/{daemon-runtime-DW4USC7r.js → daemon-runtime-cglglYsH.js} +2 -2
- package/dist/{deliver-xrmk7xjh.js → deliver-BBggsviM.js} +7 -7
- package/dist/{deliver-LiY5oL52.js → deliver-DiIOZFml.js} +2 -2
- package/dist/{deliver-B4HuPwJA.js → deliver-DujkDzqg.js} +6 -6
- package/dist/{delivery-queue-TnQykYsg.js → delivery-queue-BJQK3oh5.js} +1 -1
- package/dist/{deps-CMMOiOsF.js → deps-Bim542L5.js} +1 -1
- package/dist/{devices-cli-z6ecoFe9.js → devices-cli-BbUrME_U.js} +14 -14
- package/dist/{devices-cli-Be5he2SA.js → devices-cli-qvEFBnyH.js} +3 -3
- package/dist/{diagnostics-Dj75aEHN.js → diagnostics-BCxobJaf.js} +1 -1
- package/dist/{directory-cli-CEy-0nxj.js → directory-cli-BjnpktnO.js} +4 -4
- package/dist/{directory-cli-DpzKcigr.js → directory-cli-VreWAdNS.js} +16 -16
- package/dist/{dispatcher-10Shiuz3.js → dispatcher-CoqsaA3f.js} +1 -1
- package/dist/{dispatcher-3Jae6AiW.js → dispatcher-DbDPyVIX.js} +2 -2
- package/dist/{dns-cli-Bat1pkc-.js → dns-cli-B-lWrEam.js} +16 -16
- package/dist/{dns-cli-NohNyEo0.js → dns-cli-CRKIrBD6.js} +6 -6
- package/dist/{dock-DbxBBv30.js → dock-Dmxj3en_.js} +1 -1
- package/dist/{dock-cPBY4qGl.js → dock-jYICmNcI.js} +3 -3
- package/dist/{docs-cli-BWp6p-Tq.js → docs-cli-B02Wm6DH.js} +9 -9
- package/dist/{docs-cli-x22FnZfL.js → docs-cli-Bn-mDvE1.js} +2 -2
- package/dist/{doctor-Pp2HVnjM.js → doctor-CeIWEOAK.js} +20 -20
- package/dist/{doctor-BrT5m_on.js → doctor-DdOw46pE.js} +39 -39
- package/dist/{doctor-completion-DNTimX9o.js → doctor-completion-CBANZ9T9.js} +2 -2
- package/dist/{doctor-completion-ylN9QAJ6.js → doctor-completion-aDHxGApN.js} +3 -3
- package/dist/{doctor-config-flow-Dq50iE1R.js → doctor-config-flow-Bb8TQwYh.js} +8 -8
- package/dist/{doctor-config-flow-D1w3700T.js → doctor-config-flow-Dxjx2igu.js} +4 -4
- package/dist/entry.js +5 -5
- package/dist/{env-0lJfCPsw.js → env-v6411I8h.js} +1 -1
- package/dist/{exec-approvals-cli-J2cZs10o.js → exec-approvals-cli-5-h9moQI.js} +22 -22
- package/dist/{exec-approvals-cli-DXfV6G8H.js → exec-approvals-cli-Cne9mMrK.js} +8 -8
- package/dist/{exec-Bv3pyjeM.js → exec-mhSykkaa.js} +1 -1
- package/dist/{exec-BenD3A5l.js → exec-tTxVr8zb.js} +1 -1
- package/dist/extensionAPI.js +3 -3
- package/dist/{gateway-cli-DOAbA0pc.js → gateway-cli-BZpKEMGi.js} +108 -108
- package/dist/{gateway-cli-QpWtBhQy.js → gateway-cli-DboOVUi8.js} +62 -62
- package/dist/{gateway-rpc-DJKBil9s.js → gateway-rpc-C3eniXwh.js} +1 -1
- package/dist/{gateway-rpc-DVterpLP.js → gateway-rpc-QOe014D_.js} +3 -3
- package/dist/{github-copilot-auth-C9E0IROs.js → github-copilot-auth-AdaPw_fF.js} +3 -3
- package/dist/{github-copilot-auth-4IUFp669.js → github-copilot-auth-C2cJr55I.js} +2 -2
- package/dist/{gmail-setup-utils-D3Yqgor7.js → gmail-setup-utils-Bn8x7djJ.js} +4 -4
- package/dist/{health-Cn2OoVWZ.js → health-CdHDOLo6.js} +16 -16
- package/dist/{health-BeZnqp6m.js → health-WvhhwAnn.js} +8 -8
- package/dist/{health-format-JEChH08S.js → health-format-DteBvzWP.js} +2 -2
- package/dist/{heartbeat-visibility-CQ9QimI7.js → heartbeat-visibility-B4oqf1qY.js} +1 -1
- package/dist/{heartbeat-visibility-BL3WAchI.js → heartbeat-visibility-ClqnPSqo.js} +1 -1
- package/dist/{help-format-Dl4bsrLI.js → help-format-C4eJQd8a.js} +1 -1
- package/dist/{hooks-cli-D99hXt7K.js → hooks-cli-DTMS4Ly9.js} +30 -30
- package/dist/{hooks-cli-DMB8RiEO.js → hooks-cli-DfR8cmrL.js} +58 -58
- package/dist/{hooks-status-C_9sE0ox.js → hooks-status-LVJDILL8.js} +3 -3
- package/dist/{image-ops-omlvdfah.js → image-ops-B_AYV3tp.js} +1 -1
- package/dist/index.js +82 -82
- package/dist/{installs-C2iMRBVz.js → installs-DCTtAJP8.js} +4 -4
- package/dist/{ipv4-wWNs8IH_.js → ipv4-CoPxliya.js} +13 -13
- package/dist/{ipv4-Bf7NS3QU.js → ipv4-loTbB6OD.js} +7 -7
- package/dist/{lanes-CNxj3tit.js → lanes-BvSnHq2h.js} +2 -2
- package/dist/{lifecycle-core-By83PVAK.js → lifecycle-core-BZo7U2jW.js} +4 -4
- package/dist/{lifecycle-core-B_7XRcvF.js → lifecycle-core-Cu_h9gos.js} +8 -8
- package/dist/{links-DPGe0OHw.js → links-D2tt2ouh.js} +1 -1
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{logging-mcb66J0p.js → logging-BuRtGUH1.js} +2 -2
- package/dist/{login-BDfnbjnZ.js → login-CnNpZKOD.js} +4 -4
- package/dist/{login-BqH1itcg.js → login-D4n2DJtf.js} +4 -4
- package/dist/{login-BDCg6D0N.js → login-Fhh4uWmf.js} +6 -6
- package/dist/{login-qr-D8ECtb72.js → login-qr-CaB_Oi7G.js} +4 -4
- package/dist/{login-qr-RnR7e4Bw.js → login-qr-Cc2QmLhD.js} +11 -11
- package/dist/{login-qr-CyOw3R4r.js → login-qr-D3xv0VnI.js} +7 -7
- package/dist/{logs-cli-DpEMg_Gq.js → logs-cli-CFX-tr6f.js} +8 -8
- package/dist/{logs-cli--j89L74J.js → logs-cli-NXQfed5q.js} +19 -19
- package/dist/{manager-Cqc1CeH7.js → manager-BDPgBQSH.js} +8 -8
- package/dist/{manager-DUyQPFvj.js → manager-D_engjHC.js} +6 -6
- package/dist/{manager-B4OyvcxT.js → manager-iFc0bAWS.js} +1 -1
- package/dist/{manifest-registry-CW1zCyRF.js → manifest-registry-kHX_MFa1.js} +1 -1
- package/dist/{markdown-tables-BT1X6jqH.js → markdown-tables-Bhes7rr4.js} +2 -2
- package/dist/{markdown-tables-DHgOK2vI.js → markdown-tables-DJV7eAJZ.js} +2 -2
- package/dist/{media-THyainiE.js → media-Bu2L8c_7.js} +1 -1
- package/dist/{memory-cli-BKocCWXM.js → memory-cli-CvrdGRvA.js} +4 -4
- package/dist/{memory-cli-Jmma-xI_.js → memory-cli-D6v61Mts.js} +13 -13
- package/dist/{message-channel-dSTVVCyX.js → message-channel-D_jIO87f.js} +1 -1
- package/dist/{model-selection-YcSr9CgC.js → model-selection-Cqt6aJ0G.js} +6 -6
- package/dist/{models-1vUQBVfw.js → models-D11W7O93.js} +10 -10
- package/dist/{models-cli-DECrM8oA.js → models-cli-BfBH9dWH.js} +31 -31
- package/dist/{models-cli-BK3BwUhL.js → models-cli-ClFZ55qZ.js} +61 -61
- package/dist/{node-cli-fO7Y132S.js → node-cli-Cgn2mwSW.js} +33 -33
- package/dist/{node-cli-cLHUNpPD.js → node-cli-kxhgdSNi.js} +15 -15
- package/dist/{node-service-DUnan4uK.js → node-service-BL8qVG1X.js} +1 -1
- package/dist/{nodes-cli-BCq35E6N.js → nodes-cli-De6Ta7GH.js} +19 -19
- package/dist/{nodes-cli-vD7MwAKP.js → nodes-cli-deMLu7ch.js} +7 -7
- package/dist/{nodes-screen-DZeD8hE5.js → nodes-screen-BST4qOFR.js} +2 -2
- package/dist/{nodes-screen-1YiLkqr5.js → nodes-screen-qs3jRBPk.js} +2 -2
- package/dist/{note-Bi8Wb8DV.js → note-BtE8fGoO.js} +2 -2
- package/dist/{npm-registry-spec-B-XIShkB.js → npm-registry-spec-DvJxezSJ.js} +1 -1
- package/dist/{onboard-Ds6w_sWo.js → onboard-BGv6xY1s.js} +10 -10
- package/dist/{onboard-SAVx3bp4.js → onboard-DPEqxVx4.js} +19 -19
- package/dist/{onboard-channels-D7NbA55V.js → onboard-channels-BsTwWmEt.js} +3 -3
- package/dist/{onboard-channels-Cg_EkBa4.js → onboard-channels-DEfpenNa.js} +9 -9
- package/dist/{onboard-helpers-DO_hgZb9.js → onboard-helpers-CwcaOee8.js} +3 -3
- package/dist/{onboard-helpers-_XgJgeqh.js → onboard-helpers-Cz42ASwv.js} +10 -10
- package/dist/{onboarding-3hLmDd0r.js → onboarding-BxYOAHWD.js} +24 -24
- package/dist/{onboarding-B4LKLsbU.js → onboarding-DvitiaRS.js} +12 -12
- package/dist/{outbound-BgA9hNlP.js → outbound-Csw4yAYo.js} +6 -6
- package/dist/{outbound-DOGe6qb2.js → outbound-L1IT5jN_.js} +2 -2
- package/dist/{outbound-CjdvVhUI.js → outbound-bs_VK51X.js} +5 -5
- package/dist/{outbound-send-deps-Du5aBpd7.js → outbound-send-deps-CmzQCbSX.js} +1 -1
- package/dist/{pairing-cli-BH1KQtNV.js → pairing-cli-BmPkji_u.js} +18 -18
- package/dist/{pairing-cli-2vnyg_Nd.js → pairing-cli-CSRakAu-.js} +8 -8
- package/dist/{pairing-store-DJz_9Gv0.js → pairing-store-BsXzUDPv.js} +4 -4
- package/dist/{pairing-store-DmOzxcuk.js → pairing-store-uUh4DCdc.js} +1 -1
- package/dist/{path-env-C0zQSjw8.js → path-env-DSSMHu5A.js} +1 -1
- package/dist/{paths-C6VCWKo3.js → paths-BMuHNFxg.js} +3 -3
- package/dist/{paths-hcX1Gqg5.js → paths-BXQQzXGQ.js} +1 -1
- package/dist/{paths-BTc4nk-6.js → paths-Ba-yiqjy.js} +2 -2
- package/dist/{paths-BgUi2Z2G.js → paths-Buw_geoe.js} +1 -1
- package/dist/{paths-CCxa0o9c.js → paths-C1R4gjRm.js} +3 -3
- package/dist/{pi-auth-json-B68R7q7_.js → pi-auth-json-B1M8W1pO.js} +7 -7
- package/dist/{pi-auth-json-CR0jXAgq.js → pi-auth-json-C2miwJYp.js} +1 -1
- package/dist/{pi-auth-json-ZYzi3nxs.js → pi-auth-json-I3iYPRAb.js} +5 -5
- package/dist/{pi-model-discovery-Cxs4pvC2.js → pi-model-discovery-eIc-PHaM.js} +1 -1
- package/dist/{pi-tools.policy-D81U5xy0.js → pi-tools.policy-Csmla32P.js} +4 -4
- package/dist/{pi-tools.policy-DSHkkb5b.js → pi-tools.policy-DhmYCpdW.js} +2 -2
- package/dist/{plugin-auto-enable-CxF4bpDN.js → plugin-auto-enable-DVD5Kls3.js} +2 -2
- package/dist/{plugin-auto-enable-jNaAeyEh.js → plugin-auto-enable-d9eDmGOX.js} +5 -5
- package/dist/{plugin-registry-C7XWotZG.js → plugin-registry-DW81arxW.js} +3 -3
- package/dist/{plugin-registry-DcUCbGax.js → plugin-registry-NbbyJq_D.js} +1 -1
- package/dist/plugin-sdk/cli/cli-name.d.ts +1 -1
- package/dist/plugin-sdk/config/paths.d.ts +2 -2
- package/dist/plugin-sdk/index.js +7 -7
- package/dist/{plugins-B362e77G.js → plugins-DdzdfeTc.js} +1 -1
- package/dist/{plugins-CmSUIUNi.js → plugins-DhcGAPDB.js} +1 -1
- package/dist/{plugins-cli-QSIsMUG7.js → plugins-cli-Cs_jfROZ.js} +57 -57
- package/dist/{plugins-cli-BsCEnoQ7.js → plugins-cli-D0jU5_VE.js} +28 -28
- package/dist/{polls-CItfB1H8.js → polls-D6eCdatA.js} +6 -6
- package/dist/{ports-CqLSlU6Z.js → ports-B3Vuo92o.js} +1 -1
- package/dist/{ports-BVLMN1Sr.js → ports-C8bKN8s0.js} +2 -2
- package/dist/{ports-D_NHthOz.js → ports-Co1kd5qX.js} +1 -1
- package/dist/{ports-D94CwCrv.js → ports-DHiKnPRX.js} +3 -3
- package/dist/{program-DkJHjI0R.js → program-Db2-b8Np.js} +44 -44
- package/dist/{program-context-DnyGM2SC.js → program-context-DR1cx29i.js} +41 -41
- package/dist/{progress-Bek_GyWS.js → progress-oiAjiiNi.js} +1 -1
- package/dist/{prompt-style-lu0clOOE.js → prompt-style-D6u56SjJ.js} +1 -1
- package/dist/{pw-ai-dzf-ptcn.js → pw-ai-CbEgFH-G.js} +7 -7
- package/dist/{pw-ai-BLVMuSLv.js → pw-ai-DM3CIGyg.js} +3 -3
- package/dist/{pw-ai-DZJWEF_f.js → pw-ai-MrkdzeIJ.js} +4 -4
- package/dist/{qmd-manager-DNAUuwjK.js → qmd-manager-DPslO6i9.js} +7 -7
- package/dist/{qmd-manager-DepEoASu.js → qmd-manager-Dgo23O3Q.js} +6 -6
- package/dist/{register.agent-UeH2NXmH.js → register.agent-B4CGE-cp.js} +79 -79
- package/dist/{register.agent-CSWvzOkR.js → register.agent-E1qzojq2.js} +46 -46
- package/dist/{register.anima-HHDWsz6r.js → register.anima-BETuBtyq.js} +2 -2
- package/dist/{register.anima-DOdee0dh.js → register.anima-C2coCJM_.js} +2 -2
- package/dist/{register.configure-D84Fvcz4.js → register.configure-D5huhRa3.js} +36 -36
- package/dist/register.configure-DqYNhIQj.js +103 -0
- package/dist/{register.maintenance-B3pvNbZb.js → register.maintenance-DC9IhZ2x.js} +80 -80
- package/dist/{register.maintenance-BKVOwkw6.js → register.maintenance-RuiaMHu7.js} +44 -44
- package/dist/{register.message-BAO6CPl2.js → register.message-BRP5Y8SN.js} +32 -32
- package/dist/{register.message-OXoOKE_6.js → register.message-CL5mFcq-.js} +59 -59
- package/dist/{register.onboard-BK_ixVmD.js → register.onboard-CdvtyeLg.js} +42 -42
- package/dist/{register.onboard-cfCaPx6j.js → register.onboard-DFjl0E_x.js} +80 -80
- package/dist/register.setup-CVhekh_d.js +175 -0
- package/dist/{register.setup-Y-Q74M-0.js → register.setup-CuNhw63j.js} +42 -42
- package/dist/{register.status-health-sessions-TfZMzAUn.js → register.status-health-sessions-BdyiNJFD.js} +78 -78
- package/dist/{register.status-health-sessions-CT14eitH.js → register.status-health-sessions-l7qnXORD.js} +45 -45
- package/dist/{register.subclis-BZwdlNHC.js → register.subclis-Bj3GU0St.js} +28 -28
- package/dist/{reply-mlsExaZm.js → reply-Brlv-JC-.js} +33 -33
- package/dist/{reply-qalRISe_.js → reply-C9A7Npep.js} +51 -51
- package/dist/{reply-prefix-w4a39ybC.js → reply-prefix-XqRfG1QY.js} +2 -2
- package/dist/{reply-prefix-B0CfR4bM.js → reply-prefix-m-Nj9VGi.js} +2 -2
- package/dist/{routes-DO0HqW2e.js → routes-C5ylAnNV.js} +3 -3
- package/dist/{routes-CENsHJyg.js → routes-CooYoUCb.js} +7 -7
- package/dist/{rpc-DZ44PIXE.js → rpc-BoNfgecI.js} +1 -1
- package/dist/{rpc-C0pjNhBi.js → rpc-aBUUQWC3.js} +3 -3
- package/dist/{run-main-BMpKw8Mp.js → run-main-DKNJvJ7W.js} +44 -44
- package/dist/{runtime-guard-BSUFiAQV.js → runtime-guard-CKFdts2L.js} +1 -1
- package/dist/{sandbox-BIGfMYEI.js → sandbox-D8pgNhTE.js} +2 -2
- package/dist/{sandbox-DxP3IpUP.js → sandbox-DBSiVHt_.js} +7 -7
- package/dist/{sandbox-cli-_Tg7lfJ_.js → sandbox-cli-BeOQ8G6W.js} +30 -30
- package/dist/{sandbox-cli-DtLGH8sL.js → sandbox-cli-BlWdpX1h.js} +47 -47
- package/dist/{security-cli-D3bSuyZt.js → security-cli-CRSXFNRa.js} +36 -36
- package/dist/{security-cli-BRwgbedo.js → security-cli-CcYc8gKu.js} +19 -19
- package/dist/{server-context-49XFFxFg.js → server-context-Cu88BsgT.js} +5 -5
- package/dist/{server-context-LrlgrZzS.js → server-context-Du3Gdqy1.js} +8 -8
- package/dist/{server-node-events-Dm52i7NW.js → server-node-events-0Una3QLI.js} +10 -10
- package/dist/{server-node-events-QX523UyF.js → server-node-events-DCY3mm-A.js} +25 -25
- package/dist/{service-D56aMXUB.js → service-CpG4hCVW.js} +1 -1
- package/dist/{service-audit-qmf6XMmP.js → service-audit-B3atdWsy.js} +3 -3
- package/dist/{service-audit-D0X_XAB2.js → service-audit-DP4USmzf.js} +1 -1
- package/dist/{session-CrQQLLhx.js → session-B6T_f3RF.js} +3 -3
- package/dist/{session-Vlce2BAT.js → session-DTTbdKb0.js} +5 -5
- package/dist/{session-cost-usage-DT9YNXTJ.js → session-cost-usage-FcdJl9c3.js} +1 -1
- package/dist/{session-LocsOOWJ.js → session-xQxk_AyT.js} +3 -3
- package/dist/{sessions-BfV53TbG.js → sessions-B-Cu7JZq.js} +7 -7
- package/dist/{sessions-DcXpzig0.js → sessions-B9VnNnIk.js} +2 -2
- package/dist/{sessions-BimpX_km.js → sessions-BQUf6xj_.js} +4 -4
- package/dist/{sessions-Wd18dukK.js → sessions-G7nfpjc6.js} +5 -5
- package/dist/{shared-Cgly1vPb.js → shared-BcqU-KU2.js} +5 -5
- package/dist/{shared-f7dvQsi7.js → shared-CkGP1Gie.js} +3 -3
- package/dist/{shared-Bsr69u_7.js → shared-DwguvoZP.js} +4 -4
- package/dist/{shared-JOo05hST.js → shared-uOwPcrN5.js} +7 -7
- package/dist/{skills-B-G7UHOa.js → skills-DV4zKdCx.js} +3 -3
- package/dist/{skills-cli-DtOk0bvK.js → skills-cli-CBFbV14l.js} +19 -19
- package/dist/{skills-cli-DUGe2ZWW.js → skills-cli-gGWq4bgb.js} +6 -6
- package/dist/{skills-status-Clq9ZnYu.js → skills-status-DaLLXtp7.js} +3 -3
- package/dist/{sqlite-Ck6f9KWc.js → sqlite-BiXgPbCK.js} +2 -2
- package/dist/{sqlite-CGcOZZ0C.js → sqlite-dzD-jMjs.js} +2 -2
- package/dist/{start--xmSFepB.js → start-DaXwIgOn.js} +17 -92
- package/dist/{start-BdlZbqrr.js → start-Fy8lVmlo.js} +16 -91
- package/dist/{status-RA_uNmK0.js → status-C7YN9z1q.js} +4 -4
- package/dist/{status-BgoeFm6g.js → status-DbxQqh2e.js} +15 -15
- package/dist/{status-Ct0DgOZ-.js → status-XzLCn872.js} +28 -28
- package/dist/{status-BjjDrUq7.js → status-iUSfyst3.js} +2 -2
- package/dist/{status.update-DLU1qBf0.js → status.update-DEtEANLh.js} +3 -3
- package/dist/{status.update-BjOH3GlS.js → status.update-ZVrSK04Z.js} +3 -3
- package/dist/{subagent-registry-Byuex3zp.js → subagent-registry-BJzLJ6FY.js} +5 -5
- package/dist/{subagent-registry-9RLdKxES.js → subagent-registry-CdSjz14I.js} +13 -13
- package/dist/{subagent-registry-DOBunBYS.js → subagent-registry-DKRVOkTv.js} +11 -11
- package/dist/{subsystem-Dowf8fSU.js → subsystem-DfKstnEK.js} +1 -1
- package/dist/{system-cli-DXNKD_Id.js → system-cli-CYypNnD9.js} +16 -16
- package/dist/{system-cli-C5oBpzni.js → system-cli-VMfIEGoj.js} +5 -5
- package/dist/{systemd-By5xdSB4.js → systemd-BVVNFIBH.js} +2 -2
- package/dist/{systemd-hints-sJmr6cjb.js → systemd-hints-J3cHYZVZ.js} +1 -1
- package/dist/{systemd-hints-BtjL_5Rh.js → systemd-hints-Mpt5QteE.js} +1 -1
- package/dist/{systemd-linger-CTmV2Gci.js → systemd-linger-B4wBMvpg.js} +2 -2
- package/dist/{table-BL0lJzsm.js → table-B_wVcaLO.js} +2 -2
- package/dist/{tokens-DkvqA72p.js → tokens-3psI_Qk2.js} +1 -1
- package/dist/{trash-_x5UZ94k.js → trash-C39a6hKA.js} +1 -1
- package/dist/{tui-BHjxDFZC.js → tui-BfPtiXD1.js} +3 -3
- package/dist/{tui-cli-5ANH8dE5.js → tui-cli-BcsdagN8.js} +8 -8
- package/dist/{tui-cli-BQ4P-JW_.js → tui-cli-DN5WL85n.js} +18 -18
- package/dist/{tui-CgOocwN8.js → tui-r0_5VL_h.js} +8 -8
- package/dist/{update-LFgxHHPd.js → update-DhOF8e0Q.js} +3 -3
- package/dist/{update-check-CWc7YXmc.js → update-check-DlDloai0.js} +3 -3
- package/dist/{update-check-IhlWaui6.js → update-check-DmODY9MR.js} +1 -1
- package/dist/{update-cli-PtXU62w7.js → update-cli-BVeg9il9.js} +73 -73
- package/dist/{update-cli-Va0EtETG.js → update-cli-DXAbudd9.js} +114 -114
- package/dist/{update-runner-BLeKFkiB.js → update-runner-B2bjvdxa.js} +2 -2
- package/dist/{update-runner-Iuzpc-_y.js → update-runner-CTCGT1OS.js} +5 -5
- package/dist/{usage-ApGvBLVg.js → usage-kVpWUUrn.js} +12 -12
- package/dist/{utils-Bsw__U-F.js → utils-DZ8pnOD5.js} +2 -2
- package/dist/web-B1OjU-Gf.js +63 -0
- package/dist/{web-EZLQEWXY.js → web-BGf92cSU.js} +41 -41
- package/dist/{web-pec8YJUX.js → web-C4FxauVQ.js} +30 -30
- package/dist/{webhooks-cli-BYQKTHTp.js → webhooks-cli-bEG0ADkY.js} +16 -16
- package/dist/{webhooks-cli-C2_xtsUQ.js → webhooks-cli-l0yqYtZW.js} +6 -6
- package/dist/{whatsapp-actions-Ck9Uv0Nw.js → whatsapp-actions-CvnLgxjq.js} +10 -10
- package/dist/{whatsapp-actions-C72VCq8f.js → whatsapp-actions-CwSwIOO3.js} +5 -5
- package/dist/{whatsapp-actions-D0reTj2k.js → whatsapp-actions-DsoA_Bad.js} +17 -17
- package/dist/{widearea-dns-B6ocX23x.js → widearea-dns-1txrPZ0I.js} +1 -1
- package/dist/{workspace-Dcfoy5JJ.js → workspace-BTjqqJY-.js} +2 -2
- package/dist/{ws-log-gwFxPxj5.js → ws-log-BffL5dN_.js} +1 -1
- package/package.json +1 -1
- package/dist/cli-CfHUkOD0.js +0 -101
- package/dist/register.configure-CSJFxdz9.js +0 -103
- package/dist/register.setup-BGfDnzph.js +0 -175
- package/dist/web-B6_Ky60G.js +0 -63
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { a as resolveOAuthDir, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { A as isAcpSessionKey, C as normalizeAccountId$1, D as resolveThreadSessionKeys, E as resolveAgentIdFromSessionKey, M as parseAgentSessionKey, N as resolveThreadParentSessionKey, O as sanitizeAgentId, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, a as DEFAULT_IDENTITY_FILENAME, b as buildAgentPeerSessionKey, c as DEFAULT_USER_FILENAME, g as DEFAULT_ACCOUNT_ID, i as DEFAULT_HEARTBEAT_FILENAME, j as isSubagentSessionKey, k as getSubagentDepth, 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, v as DEFAULT_MAIN_KEY, w as normalizeAgentId, x as buildGroupHistoryKey, y as buildAgentMainSessionKey } from "./workspace-
|
|
3
|
-
import { $ as colorize, A as formatTerminalLink, B as safeParseJson, C as setActivePluginRegistry, E as clampInt, F as normalizeE164, G as toWhatsappJid, H as shortenHomePath, K as truncateUtf16Safe, L as resolveConfigDir, M as isRecord, N as isSelfChatMode, O as ensureDir$3, P as jidToE164, R as resolveJidToE164, T as clamp, U as sleep, V as shortenHomeInString, W as sliceUtf16Safe, X as setVerbose, Y as logVerbose, Z as shouldLogVerbose, a as logDebug, at as resolvePreferredAnimaTmpDir, c as logWarn, d as clearActiveProgressLine, et as isRich, f as registerActiveProgressLine, h as CHAT_CHANNEL_ORDER, i as spawnWithFallback, it as normalizeLogLevel, j as isPlainObject, k as escapeRegExp, l as createSubsystemLogger, m as CHANNEL_IDS, n as runExec, nt as getChildLogger, o as logError, p as unregisterActiveProgressLine, r as formatSpawnError, s as logInfo, t as runCommandWithTimeout, tt as theme, u as defaultRuntime, v as normalizeAnyChannelId, w as CONFIG_DIR, x as getActivePluginRegistry, y as normalizeChannelId, z as resolveUserPath } from "./exec-
|
|
4
|
-
import { c as resolveDefaultAgentId, i as resolveAgentModelFallbacksOverride, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds } from "./agent-scope-
|
|
1
|
+
import { a as resolveOAuthDir, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-C1R4gjRm.js";
|
|
2
|
+
import { A as isAcpSessionKey, C as normalizeAccountId$1, D as resolveThreadSessionKeys, E as resolveAgentIdFromSessionKey, M as parseAgentSessionKey, N as resolveThreadParentSessionKey, O as sanitizeAgentId, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, a as DEFAULT_IDENTITY_FILENAME, b as buildAgentPeerSessionKey, c as DEFAULT_USER_FILENAME, g as DEFAULT_ACCOUNT_ID, i as DEFAULT_HEARTBEAT_FILENAME, j as isSubagentSessionKey, k as getSubagentDepth, 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, v as DEFAULT_MAIN_KEY, w as normalizeAgentId, x as buildGroupHistoryKey, y as buildAgentMainSessionKey } from "./workspace-BTjqqJY-.js";
|
|
3
|
+
import { $ as colorize, A as formatTerminalLink, B as safeParseJson, C as setActivePluginRegistry, E as clampInt, F as normalizeE164, G as toWhatsappJid, H as shortenHomePath, K as truncateUtf16Safe, L as resolveConfigDir, M as isRecord, N as isSelfChatMode, O as ensureDir$3, P as jidToE164, R as resolveJidToE164, T as clamp, U as sleep, V as shortenHomeInString, W as sliceUtf16Safe, X as setVerbose, Y as logVerbose, Z as shouldLogVerbose, a as logDebug, at as resolvePreferredAnimaTmpDir, c as logWarn, d as clearActiveProgressLine, et as isRich, f as registerActiveProgressLine, h as CHAT_CHANNEL_ORDER, i as spawnWithFallback, it as normalizeLogLevel, j as isPlainObject, k as escapeRegExp, l as createSubsystemLogger, m as CHANNEL_IDS, n as runExec, nt as getChildLogger, o as logError, p as unregisterActiveProgressLine, r as formatSpawnError, s as logInfo, t as runCommandWithTimeout, tt as theme, u as defaultRuntime, v as normalizeAnyChannelId, w as CONFIG_DIR, x as getActivePluginRegistry, y as normalizeChannelId, z as resolveUserPath } from "./exec-tTxVr8zb.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, i as resolveAgentModelFallbacksOverride, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds } from "./agent-scope-CcE0DhlL.js";
|
|
5
5
|
import { a as queueEmbeddedPiMessage, c as waitForEmbeddedPiRunEnd, i as isEmbeddedPiRunStreaming, n as compactEmbeddedPiSession, o as resolveEmbeddedSessionLane, r as isEmbeddedPiRunActive, s as runEmbeddedPiAgent, t as abortEmbeddedPiRun } from "./pi-embedded-C1Nl7L89.js";
|
|
6
|
-
import { n as resolveCliName, t as formatCliCommand } from "./command-format-
|
|
7
|
-
import { C as unsetConfigValueAtPath, D as getWebAuthAgeMs, E as WA_WEB_AUTH_DIR, I as webAuthExists, M as readWebSelfId, O as logWebSelfId, S as setConfigValueAtPath, T as resolveWhatsAppAccount, _ as resetConfigOverrides, a as writeConfigFile, b as getConfigValueAtPath, c as parseDurationMs, d as discoverAnimaPlugins, f as applyTestPluginDefaults, g as getConfigOverrides, h as resolveMemorySlotDecision, i as resolveConfigSnapshotHash, j as pickWebChannel, k as logoutWeb, l as validateJsonSchemaValue, m as resolveEnableState, n as loadConfig, o as validateConfigObjectWithPlugins, p as normalizePluginsConfig, r as readConfigFileSnapshot, t as createConfigIO, u as loadPluginManifestRegistry, v as setConfigOverride, w as VERSION, x as parseConfigPath, y as unsetConfigOverride } from "./config-
|
|
8
|
-
import { A as listChannelDocks, B as HEARTBEAT_TOKEN, C as resolveFreshSessionTotalTokens, D as resolveMainSessionKey, F as resolveChannelGroupRequireMention, H as isSilentReplyText, I as resolveChannelGroupToolsPolicy, L as resolveConversationLabel, M as resolveSignalAccount, N as resolveIMessageAccount, O as deriveSessionMetaPatch, P as resolveChannelGroupPolicy, R as normalizeChatType, S as DEFAULT_RESET_TRIGGERS, T as resolveAgentMainSessionKey, V as SILENT_REPLY_TOKEN, _ as evaluateSessionFreshness, a as readSessionUpdatedAt, b as resolveSessionResetType, c as updateSessionStore, d as deliveryContextKey, f as mergeDeliveryContext, g as resolveSessionKey$1, i as loadSessionStore, j as listEnabledSignalAccounts, k as getChannelDock, l as updateSessionStoreEntry, m as normalizeSessionDeliveryFields, n as appendAssistantMessageToSessionTranscript, o as recordSessionMetaFromInbound, p as normalizeDeliveryContext, s as updateLastRoute, t as extractDeliveryInfo, u as deliveryContextFromSession, v as resolveChannelResetConfig, w as canonicalizeMainSessionAlias, x as resolveThreadFlag, y as resolveSessionResetPolicy, z as resolveGroupSessionKey } from "./sessions-
|
|
9
|
-
import { A as normalizeSecretInput, B as resolveAuthProfileDisplayLabel, C as resolveThinkingDefault, D as resolveApiKeyForProvider, E as requireApiKey, L as DEFAULT_CONTEXT_TOKENS, N as resolveShellEnvFallbackTimeoutMs, O as resolveEnvApiKey, R as DEFAULT_MODEL, S as resolveModelRefFromString, T as getCustomProviderApiKey, a as listProfilesForProvider, b as resolveConfiguredModelRef, d as withFileLock$1, f as buildAllowedModelSet, g as modelKey, h as isCliProvider, i as resolveApiKeyForProfile, j as getShellPathFromLoginShell, k as resolveModelAuthMode, l as loadJsonFile, m as buildModelAliasIndex, n as resolveAuthProfileOrder, o as ensureAuthProfileStore, r as isProfileInCooldown, s as resolveAuthStorePathForDisplay, u as saveJsonFile, v as normalizeProviderId, w as getApiKeyForModel, x as resolveDefaultModelForAgent, z as DEFAULT_PROVIDER } from "./auth-profiles-
|
|
6
|
+
import { n as resolveCliName, t as formatCliCommand } from "./command-format-CP1YTNCl.js";
|
|
7
|
+
import { C as unsetConfigValueAtPath, D as getWebAuthAgeMs, E as WA_WEB_AUTH_DIR, I as webAuthExists, M as readWebSelfId, O as logWebSelfId, S as setConfigValueAtPath, T as resolveWhatsAppAccount, _ as resetConfigOverrides, a as writeConfigFile, b as getConfigValueAtPath, c as parseDurationMs, d as discoverAnimaPlugins, f as applyTestPluginDefaults, g as getConfigOverrides, h as resolveMemorySlotDecision, i as resolveConfigSnapshotHash, j as pickWebChannel, k as logoutWeb, l as validateJsonSchemaValue, m as resolveEnableState, n as loadConfig, o as validateConfigObjectWithPlugins, p as normalizePluginsConfig, r as readConfigFileSnapshot, t as createConfigIO, u as loadPluginManifestRegistry, v as setConfigOverride, w as VERSION, x as parseConfigPath, y as unsetConfigOverride } from "./config-C96685Kz.js";
|
|
8
|
+
import { A as listChannelDocks, B as HEARTBEAT_TOKEN, C as resolveFreshSessionTotalTokens, D as resolveMainSessionKey, F as resolveChannelGroupRequireMention, H as isSilentReplyText, I as resolveChannelGroupToolsPolicy, L as resolveConversationLabel, M as resolveSignalAccount, N as resolveIMessageAccount, O as deriveSessionMetaPatch, P as resolveChannelGroupPolicy, R as normalizeChatType, S as DEFAULT_RESET_TRIGGERS, T as resolveAgentMainSessionKey, V as SILENT_REPLY_TOKEN, _ as evaluateSessionFreshness, a as readSessionUpdatedAt, b as resolveSessionResetType, c as updateSessionStore, d as deliveryContextKey, f as mergeDeliveryContext, g as resolveSessionKey$1, i as loadSessionStore, j as listEnabledSignalAccounts, k as getChannelDock, l as updateSessionStoreEntry, m as normalizeSessionDeliveryFields, n as appendAssistantMessageToSessionTranscript, o as recordSessionMetaFromInbound, p as normalizeDeliveryContext, s as updateLastRoute, t as extractDeliveryInfo, u as deliveryContextFromSession, v as resolveChannelResetConfig, w as canonicalizeMainSessionAlias, x as resolveThreadFlag, y as resolveSessionResetPolicy, z as resolveGroupSessionKey } from "./sessions-G7nfpjc6.js";
|
|
9
|
+
import { A as normalizeSecretInput, B as resolveAuthProfileDisplayLabel, C as resolveThinkingDefault, D as resolveApiKeyForProvider, E as requireApiKey, L as DEFAULT_CONTEXT_TOKENS, N as resolveShellEnvFallbackTimeoutMs, O as resolveEnvApiKey, R as DEFAULT_MODEL, S as resolveModelRefFromString, T as getCustomProviderApiKey, a as listProfilesForProvider, b as resolveConfiguredModelRef, d as withFileLock$1, f as buildAllowedModelSet, g as modelKey, h as isCliProvider, i as resolveApiKeyForProfile, j as getShellPathFromLoginShell, k as resolveModelAuthMode, l as loadJsonFile, m as buildModelAliasIndex, n as resolveAuthProfileOrder, o as ensureAuthProfileStore, r as isProfileInCooldown, s as resolveAuthStorePathForDisplay, u as saveJsonFile, v as normalizeProviderId, w as getApiKeyForModel, x as resolveDefaultModelForAgent, z as DEFAULT_PROVIDER } from "./auth-profiles-BVZBTuls.js";
|
|
10
10
|
import { t as parseBooleanValue } from "./boolean-Ce2-qkSB.js";
|
|
11
|
-
import { C as GATEWAY_CLIENT_NAMES, S as GATEWAY_CLIENT_MODES, _ as listDeliverableMessageChannels, a as normalizeWhatsAppTarget, b as resolveMessageChannel, c as resolveSlackAccount, d as resolveDiscordAccount, f as INTERNAL_MESSAGE_CHANNEL, g as isMarkdownCapableMessageChannel, h as isInternalMessageChannel, i as isWhatsAppGroupJid, n as listChannelPlugins, o as listEnabledTelegramAccounts, p as isDeliverableMessageChannel, r as normalizeChannelId$1, s as resolveTelegramAccount, t as getChannelPlugin, u as listEnabledDiscordAccounts, v as normalizeMessageChannel, x as GATEWAY_CLIENT_IDS, y as resolveGatewayMessageChannel } from "./plugins-
|
|
12
|
-
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath } from "./paths-
|
|
13
|
-
import { $ as getTtsProvider, A as assertSandboxPath, B as runCliAgent, C as supportsXHighThinking, D as buildWorkspaceSkillSnapshot, E as buildWorkspaceSkillCommandSpecs, F as loadModelCatalog, G as resolveUserTimezone, H as buildSystemPromptParams, I as modelSupportsVision, J as killProcessTree, K as withNormalizedTimestamp, L as ensureAnimaModelsJson, M as runWithImageModelFallback, N as runWithModelFallback, O as syncSkillsToWorkspace, P as findModelInCatalog, Q as getTtsMaxLength, R as getCliSessionId, S as resolveResponseUsageMode, T as getSkillsSnapshotVersion, U as formatUserTime, V as buildAgentSystemPrompt, W as resolveUserTimeFormat, X as buildTtsSystemPromptHint, Y as sanitizeBinaryOutput, Z as getLastTtsAttempt, _ as normalizeElevatedLevel, _t as resolveBootstrapContextForRun, a as lookupContextTokens, at as resolveTtsApiKey, b as normalizeUsageDisplay, c as ambiguousTargetError, ct as resolveTtsPrefsPath, d as applyModelOverrideToSessionEntry, dt as setTtsEnabled, et as isSummarizationEnabled, f as applyVerboseOverride, ft as setTtsMaxLength, g as listThinkingLevels, gt as isVoiceCompatibleAudio, h as formatXHighModelHint, ht as textToSpeechTelephony, i as normalizeUsage, it as normalizeTtsAutoMode, j as resolveSandboxedMediaSource, k as assertMediaNotDataUrl, l as unknownTargetError, lt as setLastTtsAttempt, m as formatThinkingLevels, mt as textToSpeech, n as deriveSessionTotalTokens, nt as isTtsProviderConfigured, o as resolveOutboundTarget, ot as resolveTtsAutoMode, p as getRemoteSkillEligibility, pt as setTtsProvider, q as getShellConfig, r as hasNonzeroUsage, rt as maybeApplyTtsToPayload, s as resolveSessionDeliveryTarget, st as resolveTtsConfig, t as derivePromptTokens, tt as isTtsEnabled, u as resolveSendPolicy, ut as setSummarizationEnabled, v as normalizeReasoningLevel, vt as clearSessionAuthProfileOverride, w as ensureSkillsWatcher, x as normalizeVerboseLevel, y as normalizeThinkLevel, yt as resolveSessionAuthProfileOverride, z as setCliSessionId } from "./usage-
|
|
14
|
-
import { a as resolveAgentTimeoutMs, c as CommandLane, i as registerAgentRunContext, n as emitAgentEvent, o as AGENT_LANE_NESTED, r as onAgentEvent, s as AGENT_LANE_SUBAGENT, u as stripHeartbeatToken } from "./agent-events-
|
|
11
|
+
import { C as GATEWAY_CLIENT_NAMES, S as GATEWAY_CLIENT_MODES, _ as listDeliverableMessageChannels, a as normalizeWhatsAppTarget, b as resolveMessageChannel, c as resolveSlackAccount, d as resolveDiscordAccount, f as INTERNAL_MESSAGE_CHANNEL, g as isMarkdownCapableMessageChannel, h as isInternalMessageChannel, i as isWhatsAppGroupJid, n as listChannelPlugins, o as listEnabledTelegramAccounts, p as isDeliverableMessageChannel, r as normalizeChannelId$1, s as resolveTelegramAccount, t as getChannelPlugin, u as listEnabledDiscordAccounts, v as normalizeMessageChannel, x as GATEWAY_CLIENT_IDS, y as resolveGatewayMessageChannel } from "./plugins-DdzdfeTc.js";
|
|
12
|
+
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath } from "./paths-Ba-yiqjy.js";
|
|
13
|
+
import { $ as getTtsProvider, A as assertSandboxPath, B as runCliAgent, C as supportsXHighThinking, D as buildWorkspaceSkillSnapshot, E as buildWorkspaceSkillCommandSpecs, F as loadModelCatalog, G as resolveUserTimezone, H as buildSystemPromptParams, I as modelSupportsVision, J as killProcessTree, K as withNormalizedTimestamp, L as ensureAnimaModelsJson, M as runWithImageModelFallback, N as runWithModelFallback, O as syncSkillsToWorkspace, P as findModelInCatalog, Q as getTtsMaxLength, R as getCliSessionId, S as resolveResponseUsageMode, T as getSkillsSnapshotVersion, U as formatUserTime, V as buildAgentSystemPrompt, W as resolveUserTimeFormat, X as buildTtsSystemPromptHint, Y as sanitizeBinaryOutput, Z as getLastTtsAttempt, _ as normalizeElevatedLevel, _t as resolveBootstrapContextForRun, a as lookupContextTokens, at as resolveTtsApiKey, b as normalizeUsageDisplay, c as ambiguousTargetError, ct as resolveTtsPrefsPath, d as applyModelOverrideToSessionEntry, dt as setTtsEnabled, et as isSummarizationEnabled, f as applyVerboseOverride, ft as setTtsMaxLength, g as listThinkingLevels, gt as isVoiceCompatibleAudio, h as formatXHighModelHint, ht as textToSpeechTelephony, i as normalizeUsage, it as normalizeTtsAutoMode, j as resolveSandboxedMediaSource, k as assertMediaNotDataUrl, l as unknownTargetError, lt as setLastTtsAttempt, m as formatThinkingLevels, mt as textToSpeech, n as deriveSessionTotalTokens, nt as isTtsProviderConfigured, o as resolveOutboundTarget, ot as resolveTtsAutoMode, p as getRemoteSkillEligibility, pt as setTtsProvider, q as getShellConfig, r as hasNonzeroUsage, rt as maybeApplyTtsToPayload, s as resolveSessionDeliveryTarget, st as resolveTtsConfig, t as derivePromptTokens, tt as isTtsEnabled, u as resolveSendPolicy, ut as setSummarizationEnabled, v as normalizeReasoningLevel, vt as clearSessionAuthProfileOverride, w as ensureSkillsWatcher, x as normalizeVerboseLevel, y as normalizeThinkLevel, yt as resolveSessionAuthProfileOverride, z as setCliSessionId } from "./usage-kVpWUUrn.js";
|
|
14
|
+
import { a as resolveAgentTimeoutMs, c as CommandLane, i as registerAgentRunContext, n as emitAgentEvent, o as AGENT_LANE_NESTED, r as onAgentEvent, s as AGENT_LANE_SUBAGENT, u as stripHeartbeatToken } from "./agent-events-COLRhRBH.js";
|
|
15
15
|
import { i as triggerInternalHook, r as registerInternalHook, t as createInternalHookEvent } from "./internal-hooks-DFTIurVM.js";
|
|
16
16
|
import { a as isAudioFileName, i as imageMimeFromFormat, l as mediaKindFromMime, n as extensionForMime, o as kindFromMime, r as getFileExtension, t as detectMime } from "./mime-Bm1xTtpY.js";
|
|
17
17
|
import "./frontmatter-YijVi0FQ.js";
|
|
18
|
-
import { a as chunkMarkdownTextWithMode, c as resolveChunkMode, i as chunkMarkdownText, l as resolveTextChunkLimit, n as chunkByNewline, o as chunkText, s as chunkTextWithMode, t as resolveMarkdownTableMode } from "./markdown-tables-
|
|
19
|
-
import { _ as parseReplyDirectives, b as initializeGlobalHookRunner, c as applyReplyThreading, d as shouldSuppressMessagingToolReplies, f as createReplyToModeFilterForChannel, g as normalizeTargetForProvider, h as normalizeChannelTargetInput, l as filterMessagingToolDuplicates, m as buildTargetResolverSignature, o as normalizeReplyPayloadsForDelivery, p as resolveReplyToMode, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as isRenderablePayload, v as throwIfAborted, y as getGlobalHookRunner } from "./deliver-
|
|
18
|
+
import { a as chunkMarkdownTextWithMode, c as resolveChunkMode, i as chunkMarkdownText, l as resolveTextChunkLimit, n as chunkByNewline, o as chunkText, s as chunkTextWithMode, t as resolveMarkdownTableMode } from "./markdown-tables-Bhes7rr4.js";
|
|
19
|
+
import { _ as parseReplyDirectives, b as initializeGlobalHookRunner, c as applyReplyThreading, d as shouldSuppressMessagingToolReplies, f as createReplyToModeFilterForChannel, g as normalizeTargetForProvider, h as normalizeChannelTargetInput, l as filterMessagingToolDuplicates, m as buildTargetResolverSignature, o as normalizeReplyPayloadsForDelivery, p as resolveReplyToMode, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as isRenderablePayload, v as throwIfAborted, y as getGlobalHookRunner } from "./deliver-DujkDzqg.js";
|
|
20
20
|
import { t as sendMessageSignal } from "./send-BTA6qupx.js";
|
|
21
21
|
import { t as INPUT_PROVENANCE_KIND_VALUES } from "./input-provenance-BgwBljRz.js";
|
|
22
22
|
import { a as pickPrimaryTailnetIPv4, i as rawDataToString, n as isLoopbackHost, r as pickPrimaryLanIPv4 } from "./net-CDi_lJMH.js";
|
|
23
|
-
import { _ as setActiveWebListener, a as loadWebMedia, b as convertMarkdownTables, c as MediaFetchError, d as fetchWithSsrFGuard, f as SsrFBlockedError, g as getActiveWebListener, h as bindAbortRelay, i as getDefaultLocalRoots, l as fetchRemoteMedia, m as isPrivateIpAddress, n as sendMessageWhatsApp, o as getImageMetadata, p as isBlockedHostname, r as sendReactionWhatsApp, s as resizeToJpeg, u as readResponseWithLimit, v as normalizePollInput, y as markdownToWhatsApp } from "./outbound-
|
|
23
|
+
import { _ as setActiveWebListener, a as loadWebMedia, b as convertMarkdownTables, c as MediaFetchError, d as fetchWithSsrFGuard, f as SsrFBlockedError, g as getActiveWebListener, h as bindAbortRelay, i as getDefaultLocalRoots, l as fetchRemoteMedia, m as isPrivateIpAddress, n as sendMessageWhatsApp, o as getImageMetadata, p as isBlockedHostname, r as sendReactionWhatsApp, s as resizeToJpeg, u as readResponseWithLimit, v as normalizePollInput, y as markdownToWhatsApp } from "./outbound-Csw4yAYo.js";
|
|
24
24
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-A_GqUU6B.js";
|
|
25
|
-
import { C as getHeadersWithAuth, E as stopChromeExtensionRelayServer, T as ensureChromeExtensionRelayServer, _ as createTargetViaCdp, a as resolveAnimaUserDataDir, b as snapshotAria, c as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, d as DEFAULT_ANIMA_BROWSER_ENABLED, f as DEFAULT_ANIMA_BROWSER_PROFILE_NAME, g as captureScreenshot, h as resolveBrowserExecutableForPlatform, i as launchAnimaChrome, l as DEFAULT_AI_SNAPSHOT_MAX_CHARS, m as DEFAULT_BROWSER_EVALUATE_ENABLED, n as isChromeCdpReady, o as stopAnimaChrome, p as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, r as isChromeReachable, s as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, u as DEFAULT_ANIMA_BROWSER_COLOR, x as appendCdpPath, y as normalizeCdpWsUrl } from "./chrome-
|
|
26
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
27
|
-
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-
|
|
25
|
+
import { C as getHeadersWithAuth, E as stopChromeExtensionRelayServer, T as ensureChromeExtensionRelayServer, _ as createTargetViaCdp, a as resolveAnimaUserDataDir, b as snapshotAria, c as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, d as DEFAULT_ANIMA_BROWSER_ENABLED, f as DEFAULT_ANIMA_BROWSER_PROFILE_NAME, g as captureScreenshot, h as resolveBrowserExecutableForPlatform, i as launchAnimaChrome, l as DEFAULT_AI_SNAPSHOT_MAX_CHARS, m as DEFAULT_BROWSER_EVALUATE_ENABLED, n as isChromeCdpReady, o as stopAnimaChrome, p as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, r as isChromeReachable, s as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, u as DEFAULT_ANIMA_BROWSER_COLOR, x as appendCdpPath, y as normalizeCdpWsUrl } from "./chrome-mUDT-mA5.js";
|
|
26
|
+
import { n as resolveMemorySearchConfig } from "./manager-D_engjHC.js";
|
|
27
|
+
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-BiXgPbCK.js";
|
|
28
28
|
import { a as sendPollDiscord, i as sendMessageDiscord, n as fetchChannelPermissionsDiscord, r as kickMemberDiscord, s as timeoutMemberDiscord, t as banMemberDiscord } from "./send-DVW0CcHX.js";
|
|
29
29
|
import { a as sendStickerTelegram, i as sendPollTelegram, n as editMessageTelegram, r as sendMessageTelegram, t as deleteMessageTelegram } from "./send-CP74DxzJ.js";
|
|
30
30
|
import { t as sendMessageIMessage } from "./send-DqMLjD9Z.js";
|
|
31
31
|
import { t as sendMessageSlack } from "./send-C6ccOW_U.js";
|
|
32
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
33
|
-
import { t as loginWeb } from "./login-
|
|
32
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-B6T_f3RF.js";
|
|
33
|
+
import { t as loginWeb } from "./login-CnNpZKOD.js";
|
|
34
34
|
import { createRequire } from "node:module";
|
|
35
35
|
import * as fs$2 from "node:fs/promises";
|
|
36
36
|
import fs from "node:fs/promises";
|
|
@@ -3019,7 +3019,7 @@ async function routeReply(params) {
|
|
|
3019
3019
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
3020
3020
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
3021
3021
|
try {
|
|
3022
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
3022
|
+
const { deliverOutboundPayloads } = await import("./deliver-DujkDzqg.js").then((n) => n.n);
|
|
3023
3023
|
return {
|
|
3024
3024
|
ok: true,
|
|
3025
3025
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -3836,7 +3836,7 @@ async function runSubagentAnnounceFlow(params) {
|
|
|
3836
3836
|
if (!outcome) outcome = { status: "unknown" };
|
|
3837
3837
|
let activeChildDescendantRuns = 0;
|
|
3838
3838
|
try {
|
|
3839
|
-
const { countActiveDescendantRuns } = await import("./subagent-registry-
|
|
3839
|
+
const { countActiveDescendantRuns } = await import("./subagent-registry-DKRVOkTv.js");
|
|
3840
3840
|
activeChildDescendantRuns = Math.max(0, countActiveDescendantRuns(params.childSessionKey));
|
|
3841
3841
|
} catch {}
|
|
3842
3842
|
if (activeChildDescendantRuns > 0) {
|
|
@@ -3852,7 +3852,7 @@ async function runSubagentAnnounceFlow(params) {
|
|
|
3852
3852
|
let requesterDepth = getSubagentDepthFromSessionStore(targetRequesterSessionKey);
|
|
3853
3853
|
let requesterIsSubagent = requesterDepth >= 1;
|
|
3854
3854
|
if (requesterIsSubagent) {
|
|
3855
|
-
const { isSubagentSessionRunActive, resolveRequesterForChildSession } = await import("./subagent-registry-
|
|
3855
|
+
const { isSubagentSessionRunActive, resolveRequesterForChildSession } = await import("./subagent-registry-DKRVOkTv.js");
|
|
3856
3856
|
if (!isSubagentSessionRunActive(targetRequesterSessionKey)) {
|
|
3857
3857
|
const fallback = resolveRequesterForChildSession(targetRequesterSessionKey);
|
|
3858
3858
|
if (!fallback?.requesterSessionKey) {
|
|
@@ -3867,7 +3867,7 @@ async function runSubagentAnnounceFlow(params) {
|
|
|
3867
3867
|
}
|
|
3868
3868
|
let remainingActiveSubagentRuns = 0;
|
|
3869
3869
|
try {
|
|
3870
|
-
const { countActiveDescendantRuns } = await import("./subagent-registry-
|
|
3870
|
+
const { countActiveDescendantRuns } = await import("./subagent-registry-DKRVOkTv.js");
|
|
3871
3871
|
remainingActiveSubagentRuns = Math.max(0, countActiveDescendantRuns(targetRequesterSessionKey));
|
|
3872
3872
|
} catch {}
|
|
3873
3873
|
const replyInstruction = buildAnnounceReplyInstruction({
|
|
@@ -8021,7 +8021,7 @@ function isModuleNotFoundError(err) {
|
|
|
8021
8021
|
}
|
|
8022
8022
|
async function loadPwAiModule(mode) {
|
|
8023
8023
|
try {
|
|
8024
|
-
return await import("./pw-ai-
|
|
8024
|
+
return await import("./pw-ai-MrkdzeIJ.js");
|
|
8025
8025
|
} catch (err) {
|
|
8026
8026
|
if (mode === "soft") return null;
|
|
8027
8027
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -10479,11 +10479,11 @@ function createProfileContext(opts, profile) {
|
|
|
10479
10479
|
const userDataDir = resolveAnimaUserDataDir(profile.name);
|
|
10480
10480
|
const profileState = getProfileState();
|
|
10481
10481
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
10482
|
-
await (await import("./pw-ai-
|
|
10482
|
+
await (await import("./pw-ai-MrkdzeIJ.js")).closePlaywrightBrowserConnection();
|
|
10483
10483
|
} catch {}
|
|
10484
10484
|
if (profileState.running) await stopRunningBrowser();
|
|
10485
10485
|
try {
|
|
10486
|
-
await (await import("./pw-ai-
|
|
10486
|
+
await (await import("./pw-ai-MrkdzeIJ.js")).closePlaywrightBrowserConnection();
|
|
10487
10487
|
} catch {}
|
|
10488
10488
|
if (!fs$1.existsSync(userDataDir)) return {
|
|
10489
10489
|
moved: false,
|
|
@@ -11385,7 +11385,7 @@ async function createModelSelectionState(params) {
|
|
|
11385
11385
|
}
|
|
11386
11386
|
}
|
|
11387
11387
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
11388
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
11388
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-BVZBTuls.js").then((n) => n.t);
|
|
11389
11389
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
11390
11390
|
const providerKey = normalizeProviderId(provider);
|
|
11391
11391
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -18790,7 +18790,7 @@ function buildStatusMessage(args) {
|
|
|
18790
18790
|
const costLabel = showCost && hasUsage ? formatUsd(cost) : void 0;
|
|
18791
18791
|
const modelLine = `🧠 Model: ${model ? `${provider}/${model}` : "unknown"}${authLabelValue ? ` · 🔑 ${authLabelValue}` : ""}`;
|
|
18792
18792
|
const commit = resolveCommitHash();
|
|
18793
|
-
const versionLine =
|
|
18793
|
+
const versionLine = `✦ Anima ${VERSION}${commit ? ` (${commit})` : ""}`;
|
|
18794
18794
|
const usagePair = formatUsagePair(inputTokens, outputTokens);
|
|
18795
18795
|
const costLine = costLabel ? `💵 Cost: ${costLabel}` : null;
|
|
18796
18796
|
const usageCostLine = usagePair && costLine ? `${usagePair} · ${costLine}` : usagePair ?? costLine;
|
|
@@ -20210,7 +20210,7 @@ async function getMemorySearchManager(params) {
|
|
|
20210
20210
|
if (cached) return { manager: cached };
|
|
20211
20211
|
}
|
|
20212
20212
|
try {
|
|
20213
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
20213
|
+
const { QmdMemoryManager } = await import("./qmd-manager-Dgo23O3Q.js");
|
|
20214
20214
|
const primary = await QmdMemoryManager.create({
|
|
20215
20215
|
cfg: params.cfg,
|
|
20216
20216
|
agentId: params.agentId,
|
|
@@ -20222,7 +20222,7 @@ async function getMemorySearchManager(params) {
|
|
|
20222
20222
|
const wrapper = new FallbackMemoryManager({
|
|
20223
20223
|
primary,
|
|
20224
20224
|
fallbackFactory: async () => {
|
|
20225
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
20225
|
+
const { MemoryIndexManager } = await import("./manager-D_engjHC.js").then((n) => n.t);
|
|
20226
20226
|
return await MemoryIndexManager.get(params);
|
|
20227
20227
|
}
|
|
20228
20228
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -20235,7 +20235,7 @@ async function getMemorySearchManager(params) {
|
|
|
20235
20235
|
}
|
|
20236
20236
|
}
|
|
20237
20237
|
try {
|
|
20238
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
20238
|
+
const { MemoryIndexManager } = await import("./manager-D_engjHC.js").then((n) => n.t);
|
|
20239
20239
|
return { manager: await MemoryIndexManager.get(params) };
|
|
20240
20240
|
} catch (err) {
|
|
20241
20241
|
return {
|
|
@@ -23716,7 +23716,7 @@ function createWhatsAppLoginTool() {
|
|
|
23716
23716
|
force: Type.Optional(Type.Boolean())
|
|
23717
23717
|
}),
|
|
23718
23718
|
execute: async (_toolCallId, args) => {
|
|
23719
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
23719
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-D3xv0VnI.js");
|
|
23720
23720
|
if ((args?.action ?? "start") === "wait") {
|
|
23721
23721
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
23722
23722
|
return {
|
|
@@ -24273,7 +24273,7 @@ async function runMemoryStatus(opts) {
|
|
|
24273
24273
|
}
|
|
24274
24274
|
}
|
|
24275
24275
|
function registerMemoryCli(program) {
|
|
24276
|
-
const memory = program.command("memory").description("Memory search tools").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/memory", "docs.
|
|
24276
|
+
const memory = program.command("memory").description("Memory search tools").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/memory", "docs.noxsoft.net/anima/cli/memory")}\n`);
|
|
24277
24277
|
memory.command("status").description("Show memory search index status").option("--agent <id>", "Agent id (default: default agent)").option("--json", "Print JSON").option("--deep", "Probe embedding provider availability").option("--index", "Reindex if dirty (implies --deep)").option("--verbose", "Verbose logging", false).action(async (opts) => {
|
|
24278
24278
|
await runMemoryStatus(opts);
|
|
24279
24279
|
});
|
|
@@ -24948,23 +24948,23 @@ let webLoginQrPromise = null;
|
|
|
24948
24948
|
let webChannelPromise = null;
|
|
24949
24949
|
let whatsappActionsPromise = null;
|
|
24950
24950
|
function loadWebOutbound() {
|
|
24951
|
-
webOutboundPromise ??= import("./outbound-
|
|
24951
|
+
webOutboundPromise ??= import("./outbound-Csw4yAYo.js").then((n) => n.t);
|
|
24952
24952
|
return webOutboundPromise;
|
|
24953
24953
|
}
|
|
24954
24954
|
function loadWebLogin() {
|
|
24955
|
-
webLoginPromise ??= import("./login-
|
|
24955
|
+
webLoginPromise ??= import("./login-CnNpZKOD.js").then((n) => n.n);
|
|
24956
24956
|
return webLoginPromise;
|
|
24957
24957
|
}
|
|
24958
24958
|
function loadWebLoginQr() {
|
|
24959
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
24959
|
+
webLoginQrPromise ??= import("./login-qr-D3xv0VnI.js");
|
|
24960
24960
|
return webLoginQrPromise;
|
|
24961
24961
|
}
|
|
24962
24962
|
function loadWebChannel() {
|
|
24963
|
-
webChannelPromise ??= import("./web-
|
|
24963
|
+
webChannelPromise ??= import("./web-BGf92cSU.js");
|
|
24964
24964
|
return webChannelPromise;
|
|
24965
24965
|
}
|
|
24966
24966
|
function loadWhatsAppActions() {
|
|
24967
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
24967
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-CvnLgxjq.js");
|
|
24968
24968
|
return whatsappActionsPromise;
|
|
24969
24969
|
}
|
|
24970
24970
|
function createPluginRuntime() {
|
|
@@ -32126,7 +32126,7 @@ function screenRecordTempPath(opts) {
|
|
|
32126
32126
|
const tmpDir = opts.tmpDir ?? os$1.tmpdir();
|
|
32127
32127
|
const id = opts.id ?? randomUUID();
|
|
32128
32128
|
const ext = opts.ext.startsWith(".") ? opts.ext : `.${opts.ext}`;
|
|
32129
|
-
return path$1.join(tmpDir, `
|
|
32129
|
+
return path$1.join(tmpDir, `anima-screen-record-${id}${ext}`);
|
|
32130
32130
|
}
|
|
32131
32131
|
async function writeScreenRecordToFile(filePath, base64) {
|
|
32132
32132
|
return writeBase64ToFile(filePath, base64);
|
|
@@ -43814,7 +43814,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
43814
43814
|
return;
|
|
43815
43815
|
}
|
|
43816
43816
|
try {
|
|
43817
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
43817
|
+
const { deliverOutboundPayloads } = await import("./deliver-DujkDzqg.js").then((n) => n.n);
|
|
43818
43818
|
await deliverOutboundPayloads({
|
|
43819
43819
|
cfg: params.cfg,
|
|
43820
43820
|
channel,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as shouldLogVerbose, N as getChildLogger, h as defaultRuntime, o as createSubsystemLogger, w as logVerbose } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
3
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import "./auth-profiles-CC3TFfvS.js";
|
|
3
|
+
import { t as formatCliCommand } from "./command-format-DAaqLG8J.js";
|
|
4
4
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, o as buildGroupHistoryKey, r as DEFAULT_MAIN_KEY } from "./session-key-BGiG_JcT.js";
|
|
5
5
|
import { C as sleep, T as toWhatsappJid, f as isSelfChatMode, m as normalizeE164, n as clamp, p as jidToE164, v as resolveJidToE164 } from "./utils-C9sj30YY.js";
|
|
6
6
|
import "./exec-BizYYQgP.js";
|
|
@@ -8,57 +8,57 @@ import "./agent-scope-OZi7lb8S.js";
|
|
|
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 } from "./config-
|
|
11
|
+
import { i as loadConfig } from "./config-BeuAT94o.js";
|
|
12
12
|
import "./client-C1avc0vD.js";
|
|
13
|
-
import "./call-
|
|
13
|
+
import "./call-CTMQygkz.js";
|
|
14
14
|
import "./message-channel-w4F2b2F6.js";
|
|
15
15
|
import "./timeout-CswI_K-U.js";
|
|
16
|
-
import { a as readSessionUpdatedAt, c as updateLastRoute, i as loadSessionStore, k as resolveGroupSessionKey, o as recordSessionMetaFromInbound } from "./sessions-
|
|
17
|
-
import { B as resolveIdentityNamePrefix, V as resolveMessagePrefix } from "./subagent-registry-
|
|
16
|
+
import { a as readSessionUpdatedAt, c as updateLastRoute, i as loadSessionStore, k as resolveGroupSessionKey, o as recordSessionMetaFromInbound } from "./sessions-B9VnNnIk.js";
|
|
17
|
+
import { B as resolveIdentityNamePrefix, V as resolveMessagePrefix } from "./subagent-registry-BJzLJ6FY.js";
|
|
18
18
|
import "./logging-BdnOSVPD.js";
|
|
19
|
-
import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, l as readWebSelfId, n as resolveWhatsAppAccount, p as webAuthExists, r as WA_WEB_AUTH_DIR } from "./accounts-
|
|
20
|
-
import { $ as buildAgentSessionKey, At as registerUnhandledRejectionHandler, Dt as buildMentionRegexes, Gt 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-
|
|
19
|
+
import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, l as readWebSelfId, n as resolveWhatsAppAccount, p as webAuthExists, r as WA_WEB_AUTH_DIR } from "./accounts-CP1IAWeM.js";
|
|
20
|
+
import { $ as buildAgentSessionKey, At as registerUnhandledRejectionHandler, Dt as buildMentionRegexes, Gt 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-Brlv-JC-.js";
|
|
21
21
|
import "./plugins-CDJw924T.js";
|
|
22
22
|
import "./tokens-C-X7wDKj.js";
|
|
23
|
-
import { o as resolveChannelGroupPolicy, s as resolveChannelGroupRequireMention } from "./dock-
|
|
23
|
+
import { o as resolveChannelGroupPolicy, s as resolveChannelGroupRequireMention } from "./dock-Dmxj3en_.js";
|
|
24
24
|
import { c as resolveStorePath } from "./paths-CxRf2rBG.js";
|
|
25
25
|
import { c as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, s as resolveChunkMode, u as resolveMarkdownTableMode } from "./chunk-mxPVo000.js";
|
|
26
|
-
import { d as setActiveWebListener, n as loadWebMedia, p as convertMarkdownTables } from "./media-
|
|
27
|
-
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
26
|
+
import { d as setActiveWebListener, n as loadWebMedia, p as convertMarkdownTables } from "./media-Bu2L8c_7.js";
|
|
27
|
+
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-L1IT5jN_.js";
|
|
28
28
|
import "./mime-B1ZoR53M.js";
|
|
29
29
|
import "./image-ops-Dlt3T7th.js";
|
|
30
30
|
import "./common-D6bu0zHC.js";
|
|
31
|
-
import "./server-context-
|
|
32
|
-
import "./chrome-
|
|
31
|
+
import "./server-context-Cu88BsgT.js";
|
|
32
|
+
import "./chrome-DlcCwfo_.js";
|
|
33
33
|
import "./auth-lZ26wsbN.js";
|
|
34
|
-
import "./ports-
|
|
34
|
+
import "./ports-B3Vuo92o.js";
|
|
35
35
|
import "./trash-BJLK1vMn.js";
|
|
36
|
-
import "./control-service-
|
|
37
|
-
import { Wt as enqueueSystemEvent } from "./cli-session-
|
|
36
|
+
import "./control-service-DXYImShH.js";
|
|
37
|
+
import { Wt as enqueueSystemEvent } from "./cli-session-C70q07GT.js";
|
|
38
38
|
import "./thinking-BXEswx1X.js";
|
|
39
|
-
import "./context-
|
|
40
|
-
import "./sandbox-
|
|
41
|
-
import { r as saveMediaBuffer } from "./routes-
|
|
39
|
+
import "./context-ChaAWbwZ.js";
|
|
40
|
+
import "./sandbox-D8pgNhTE.js";
|
|
41
|
+
import { r as saveMediaBuffer } from "./routes-C5ylAnNV.js";
|
|
42
42
|
import "./paths-DcVEkYX5.js";
|
|
43
|
-
import "./commands-registry-
|
|
44
|
-
import "./deliver-
|
|
45
|
-
import { i as readChannelAllowFromStore, o as upsertChannelPairingRequest } from "./pairing-store-
|
|
46
|
-
import "./nodes-screen-
|
|
43
|
+
import "./commands-registry-sLFieXCB.js";
|
|
44
|
+
import "./deliver-DiIOZFml.js";
|
|
45
|
+
import { i as readChannelAllowFromStore, o as upsertChannelPairingRequest } from "./pairing-store-uUh4DCdc.js";
|
|
46
|
+
import "./nodes-screen-BST4qOFR.js";
|
|
47
47
|
import { r as formatDurationPrecise } from "./format-duration-DhWzz_5b.js";
|
|
48
|
-
import "./memory-cli-
|
|
49
|
-
import "./manager-
|
|
48
|
+
import "./memory-cli-CvrdGRvA.js";
|
|
49
|
+
import "./manager-iFc0bAWS.js";
|
|
50
50
|
import "./sqlite-BukcjdJa.js";
|
|
51
51
|
import "./redact-ClVwO7Nn.js";
|
|
52
52
|
import "./links-BfjHVTB_.js";
|
|
53
53
|
import "./progress-CbZ2D53A.js";
|
|
54
|
-
import "./dispatcher-
|
|
54
|
+
import "./dispatcher-CoqsaA3f.js";
|
|
55
55
|
import "./channel-selection-DfGpCyh2.js";
|
|
56
56
|
import "./delivery-queue-B6IHz4Ry.js";
|
|
57
|
-
import "./pi-tools.policy-
|
|
57
|
+
import "./pi-tools.policy-DhmYCpdW.js";
|
|
58
58
|
import "./session-cost-usage-BwiTZuKl.js";
|
|
59
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
60
|
-
import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
61
|
-
import { t as loginWeb } from "./login-
|
|
59
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-xQxk_AyT.js";
|
|
60
|
+
import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-XqRfG1QY.js";
|
|
61
|
+
import { t as loginWeb } from "./login-D4n2DJtf.js";
|
|
62
62
|
import { randomUUID } from "node:crypto";
|
|
63
63
|
import { setTimeout } from "node:timers/promises";
|
|
64
64
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-
|
|
2
|
-
import { B as theme, O as danger, u as defaultRuntime } from "./subsystem-
|
|
3
|
-
import { o as displayPath } from "./utils-
|
|
4
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
1
|
+
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-BMuHNFxg.js";
|
|
2
|
+
import { B as theme, O as danger, u as defaultRuntime } from "./subsystem-DfKstnEK.js";
|
|
3
|
+
import { o as displayPath } from "./utils-DZ8pnOD5.js";
|
|
4
|
+
import { t as runCommandWithTimeout } from "./exec-mhSykkaa.js";
|
|
5
|
+
import "./agent-scope-CPphqq-U.js";
|
|
6
|
+
import "./model-selection-Cqt6aJ0G.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-CVL4K5cj.js";
|
|
8
8
|
import "./boolean-Wzu0-e0P.js";
|
|
9
|
-
import "./env-
|
|
10
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, u as validateConfigObjectWithPlugins } from "./config-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import "./skills-
|
|
13
|
-
import { t as formatDocsLink } from "./links-
|
|
14
|
-
import { C as normalizeServePath, S as normalizeHooksPath, T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, a as ensureTopic, b as generateHookToken, c as DEFAULT_GMAIL_LABEL, d as DEFAULT_GMAIL_SERVE_BIND, f as DEFAULT_GMAIL_SERVE_PATH, g as buildDefaultHookUrl, h as DEFAULT_GMAIL_TOPIC, i as ensureTailscaleEndpoint, l as DEFAULT_GMAIL_MAX_BYTES, m as DEFAULT_GMAIL_SUBSCRIPTION, n as ensureGcloudAuth, o as resolveProjectIdFromGogCredentials, p as DEFAULT_GMAIL_SERVE_PORT, r as ensureSubscription, s as runGcloud, t as ensureDependency, u as DEFAULT_GMAIL_RENEW_MINUTES, v as buildGogWatchStartArgs, w as parseTopicPath, x as mergeHookPresets, y as buildTopicPath } from "./gmail-setup-utils-
|
|
9
|
+
import "./env-v6411I8h.js";
|
|
10
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, u as validateConfigObjectWithPlugins } from "./config-DaqbUdkI.js";
|
|
11
|
+
import "./manifest-registry-kHX_MFa1.js";
|
|
12
|
+
import "./skills-DV4zKdCx.js";
|
|
13
|
+
import { t as formatDocsLink } from "./links-D2tt2ouh.js";
|
|
14
|
+
import { C as normalizeServePath, S as normalizeHooksPath, T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, a as ensureTopic, b as generateHookToken, c as DEFAULT_GMAIL_LABEL, d as DEFAULT_GMAIL_SERVE_BIND, f as DEFAULT_GMAIL_SERVE_PATH, g as buildDefaultHookUrl, h as DEFAULT_GMAIL_TOPIC, i as ensureTailscaleEndpoint, l as DEFAULT_GMAIL_MAX_BYTES, m as DEFAULT_GMAIL_SUBSCRIPTION, n as ensureGcloudAuth, o as resolveProjectIdFromGogCredentials, p as DEFAULT_GMAIL_SERVE_PORT, r as ensureSubscription, s as runGcloud, t as ensureDependency, u as DEFAULT_GMAIL_RENEW_MINUTES, v as buildGogWatchStartArgs, w as parseTopicPath, x as mergeHookPresets, y as buildTopicPath } from "./gmail-setup-utils-Bn8x7djJ.js";
|
|
15
15
|
import { spawn } from "node:child_process";
|
|
16
16
|
|
|
17
17
|
//#region src/hooks/gmail-ops.ts
|
|
@@ -235,8 +235,8 @@ async function startGmailWatch(cfg, fatal = false) {
|
|
|
235
235
|
//#endregion
|
|
236
236
|
//#region src/cli/webhooks-cli.ts
|
|
237
237
|
function registerWebhooksCli(program) {
|
|
238
|
-
const gmail = program.command("webhooks").description("Webhook helpers and integrations").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/webhooks", "docs.
|
|
239
|
-
gmail.command("setup").description("Configure Gmail watch + Pub/Sub +
|
|
238
|
+
const gmail = program.command("webhooks").description("Webhook helpers and integrations").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/webhooks", "docs.noxsoft.net/anima/cli/webhooks")}\n`).command("gmail").description("Gmail Pub/Sub hooks (via gogcli)");
|
|
239
|
+
gmail.command("setup").description("Configure Gmail watch + Pub/Sub + Anima hooks").requiredOption("--account <email>", "Gmail account to watch").option("--project <id>", "GCP project id (OAuth client owner)").option("--topic <name>", "Pub/Sub topic name", DEFAULT_GMAIL_TOPIC).option("--subscription <name>", "Pub/Sub subscription name", DEFAULT_GMAIL_SUBSCRIPTION).option("--label <label>", "Gmail label to watch", DEFAULT_GMAIL_LABEL).option("--hook-url <url>", "Anima hook URL").option("--hook-token <token>", "Anima hook token").option("--push-token <token>", "Push token for gog watch serve").option("--bind <host>", "gog watch serve bind host", DEFAULT_GMAIL_SERVE_BIND).option("--port <port>", "gog watch serve port", String(DEFAULT_GMAIL_SERVE_PORT)).option("--path <path>", "gog watch serve path", DEFAULT_GMAIL_SERVE_PATH).option("--include-body", "Include email body snippets", true).option("--max-bytes <n>", "Max bytes for body snippets", String(DEFAULT_GMAIL_MAX_BYTES)).option("--renew-minutes <n>", "Renew watch every N minutes", String(DEFAULT_GMAIL_RENEW_MINUTES)).option("--tailscale <mode>", "Expose push endpoint via tailscale (funnel|serve|off)", "funnel").option("--tailscale-path <path>", "Path for tailscale serve/funnel").option("--tailscale-target <target>", "Tailscale serve/funnel target (port, host:port, or URL)").option("--push-endpoint <url>", "Explicit Pub/Sub push endpoint").option("--json", "Output JSON summary", false).action(async (opts) => {
|
|
240
240
|
try {
|
|
241
241
|
await runGmailSetup(parseGmailSetupOptions(opts));
|
|
242
242
|
} catch (err) {
|
|
@@ -244,7 +244,7 @@ function registerWebhooksCli(program) {
|
|
|
244
244
|
defaultRuntime.exit(1);
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
|
-
gmail.command("run").description("Run gog watch serve + auto-renew loop").option("--account <email>", "Gmail account to watch").option("--topic <topic>", "Pub/Sub topic path (projects/.../topics/..)").option("--subscription <name>", "Pub/Sub subscription name").option("--label <label>", "Gmail label to watch").option("--hook-url <url>", "
|
|
247
|
+
gmail.command("run").description("Run gog watch serve + auto-renew loop").option("--account <email>", "Gmail account to watch").option("--topic <topic>", "Pub/Sub topic path (projects/.../topics/..)").option("--subscription <name>", "Pub/Sub subscription name").option("--label <label>", "Gmail label to watch").option("--hook-url <url>", "Anima hook URL").option("--hook-token <token>", "Anima hook token").option("--push-token <token>", "Push token for gog watch serve").option("--bind <host>", "gog watch serve bind host").option("--port <port>", "gog watch serve port").option("--path <path>", "gog watch serve path").option("--include-body", "Include email body snippets").option("--max-bytes <n>", "Max bytes for body snippets").option("--renew-minutes <n>", "Renew watch every N minutes").option("--tailscale <mode>", "Expose push endpoint via tailscale (funnel|serve|off)").option("--tailscale-path <path>", "Path for tailscale serve/funnel").option("--tailscale-target <target>", "Tailscale serve/funnel target (port, host:port, or URL)").action(async (opts) => {
|
|
248
248
|
try {
|
|
249
249
|
await runGmailService(parseGmailRunOptions(opts));
|
|
250
250
|
} catch (err) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { M as theme, R as CONFIG_PATH, b as danger, h as defaultRuntime, q as resolveGatewayPort } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
3
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import "./auth-profiles-CC3TFfvS.js";
|
|
3
|
+
import { t as formatCliCommand } from "./command-format-DAaqLG8J.js";
|
|
4
4
|
import { a as displayPath } from "./utils-C9sj30YY.js";
|
|
5
5
|
import { t as runCommandWithTimeout } from "./exec-BizYYQgP.js";
|
|
6
6
|
import "./agent-scope-OZi7lb8S.js";
|
|
7
7
|
import "./skills-B5LQx4lT.js";
|
|
8
8
|
import "./manifest-registry-D4lM2RdV.js";
|
|
9
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, u as validateConfigObjectWithPlugins } from "./config-
|
|
9
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, u as validateConfigObjectWithPlugins } from "./config-BeuAT94o.js";
|
|
10
10
|
import { t as formatDocsLink } from "./links-BfjHVTB_.js";
|
|
11
11
|
import { C as normalizeServePath, S as normalizeHooksPath, T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, a as ensureTopic, b as generateHookToken, c as DEFAULT_GMAIL_LABEL, d as DEFAULT_GMAIL_SERVE_BIND, f as DEFAULT_GMAIL_SERVE_PATH, g as buildDefaultHookUrl, h as DEFAULT_GMAIL_TOPIC, i as ensureTailscaleEndpoint, l as DEFAULT_GMAIL_MAX_BYTES, m as DEFAULT_GMAIL_SUBSCRIPTION, n as ensureGcloudAuth, o as resolveProjectIdFromGogCredentials, p as DEFAULT_GMAIL_SERVE_PORT, r as ensureSubscription, s as runGcloud, t as ensureDependency, u as DEFAULT_GMAIL_RENEW_MINUTES, v as buildGogWatchStartArgs, w as parseTopicPath, x as mergeHookPresets, y as buildTopicPath } from "./gmail-setup-utils-BPo_LkKI.js";
|
|
12
12
|
import { spawn } from "node:child_process";
|
|
@@ -232,8 +232,8 @@ async function startGmailWatch(cfg, fatal = false) {
|
|
|
232
232
|
//#endregion
|
|
233
233
|
//#region src/cli/webhooks-cli.ts
|
|
234
234
|
function registerWebhooksCli(program) {
|
|
235
|
-
const gmail = program.command("webhooks").description("Webhook helpers and integrations").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/webhooks", "docs.
|
|
236
|
-
gmail.command("setup").description("Configure Gmail watch + Pub/Sub +
|
|
235
|
+
const gmail = program.command("webhooks").description("Webhook helpers and integrations").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/webhooks", "docs.noxsoft.net/anima/cli/webhooks")}\n`).command("gmail").description("Gmail Pub/Sub hooks (via gogcli)");
|
|
236
|
+
gmail.command("setup").description("Configure Gmail watch + Pub/Sub + Anima hooks").requiredOption("--account <email>", "Gmail account to watch").option("--project <id>", "GCP project id (OAuth client owner)").option("--topic <name>", "Pub/Sub topic name", DEFAULT_GMAIL_TOPIC).option("--subscription <name>", "Pub/Sub subscription name", DEFAULT_GMAIL_SUBSCRIPTION).option("--label <label>", "Gmail label to watch", DEFAULT_GMAIL_LABEL).option("--hook-url <url>", "Anima hook URL").option("--hook-token <token>", "Anima hook token").option("--push-token <token>", "Push token for gog watch serve").option("--bind <host>", "gog watch serve bind host", DEFAULT_GMAIL_SERVE_BIND).option("--port <port>", "gog watch serve port", String(DEFAULT_GMAIL_SERVE_PORT)).option("--path <path>", "gog watch serve path", DEFAULT_GMAIL_SERVE_PATH).option("--include-body", "Include email body snippets", true).option("--max-bytes <n>", "Max bytes for body snippets", String(DEFAULT_GMAIL_MAX_BYTES)).option("--renew-minutes <n>", "Renew watch every N minutes", String(DEFAULT_GMAIL_RENEW_MINUTES)).option("--tailscale <mode>", "Expose push endpoint via tailscale (funnel|serve|off)", "funnel").option("--tailscale-path <path>", "Path for tailscale serve/funnel").option("--tailscale-target <target>", "Tailscale serve/funnel target (port, host:port, or URL)").option("--push-endpoint <url>", "Explicit Pub/Sub push endpoint").option("--json", "Output JSON summary", false).action(async (opts) => {
|
|
237
237
|
try {
|
|
238
238
|
await runGmailSetup(parseGmailSetupOptions(opts));
|
|
239
239
|
} catch (err) {
|
|
@@ -241,7 +241,7 @@ function registerWebhooksCli(program) {
|
|
|
241
241
|
defaultRuntime.exit(1);
|
|
242
242
|
}
|
|
243
243
|
});
|
|
244
|
-
gmail.command("run").description("Run gog watch serve + auto-renew loop").option("--account <email>", "Gmail account to watch").option("--topic <topic>", "Pub/Sub topic path (projects/.../topics/..)").option("--subscription <name>", "Pub/Sub subscription name").option("--label <label>", "Gmail label to watch").option("--hook-url <url>", "
|
|
244
|
+
gmail.command("run").description("Run gog watch serve + auto-renew loop").option("--account <email>", "Gmail account to watch").option("--topic <topic>", "Pub/Sub topic path (projects/.../topics/..)").option("--subscription <name>", "Pub/Sub subscription name").option("--label <label>", "Gmail label to watch").option("--hook-url <url>", "Anima hook URL").option("--hook-token <token>", "Anima hook token").option("--push-token <token>", "Push token for gog watch serve").option("--bind <host>", "gog watch serve bind host").option("--port <port>", "gog watch serve port").option("--path <path>", "gog watch serve path").option("--include-body", "Include email body snippets").option("--max-bytes <n>", "Max bytes for body snippets").option("--renew-minutes <n>", "Renew watch every N minutes").option("--tailscale <mode>", "Expose push endpoint via tailscale (funnel|serve|off)").option("--tailscale-path <path>", "Path for tailscale serve/funnel").option("--tailscale-target <target>", "Tailscale serve/funnel target (port, host:port, or URL)").action(async (opts) => {
|
|
245
245
|
try {
|
|
246
246
|
await runGmailService(parseGmailRunOptions(opts));
|
|
247
247
|
} catch (err) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./workspace-
|
|
3
|
-
import "./exec-
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import "./config-
|
|
6
|
-
import "./auth-profiles-
|
|
1
|
+
import "./paths-C1R4gjRm.js";
|
|
2
|
+
import "./workspace-BTjqqJY-.js";
|
|
3
|
+
import "./exec-tTxVr8zb.js";
|
|
4
|
+
import "./agent-scope-CcE0DhlL.js";
|
|
5
|
+
import "./config-C96685Kz.js";
|
|
6
|
+
import "./auth-profiles-BVZBTuls.js";
|
|
7
7
|
import "./boolean-Ce2-qkSB.js";
|
|
8
|
-
import "./plugins-
|
|
8
|
+
import "./plugins-DdzdfeTc.js";
|
|
9
9
|
import "./mime-Bm1xTtpY.js";
|
|
10
|
-
import "./markdown-tables-
|
|
11
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
12
|
-
import { i as readStringParam, n as jsonResult, r as readReactionParams, t as createActionGate } from "./web-
|
|
10
|
+
import "./markdown-tables-Bhes7rr4.js";
|
|
11
|
+
import { r as sendReactionWhatsApp } from "./outbound-Csw4yAYo.js";
|
|
12
|
+
import { i as readStringParam, n as jsonResult, r as readReactionParams, t as createActionGate } from "./web-BGf92cSU.js";
|
|
13
13
|
|
|
14
14
|
//#region src/agents/tools/whatsapp-actions.ts
|
|
15
15
|
async function handleWhatsAppAction(params, cfg) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./auth-profiles-
|
|
1
|
+
import "./auth-profiles-CC3TFfvS.js";
|
|
2
2
|
import "./utils-C9sj30YY.js";
|
|
3
3
|
import "./exec-BizYYQgP.js";
|
|
4
4
|
import "./agent-scope-OZi7lb8S.js";
|
|
5
5
|
import "./manifest-registry-D4lM2RdV.js";
|
|
6
|
-
import "./config-
|
|
6
|
+
import "./config-BeuAT94o.js";
|
|
7
7
|
import "./message-channel-w4F2b2F6.js";
|
|
8
8
|
import "./logging-BdnOSVPD.js";
|
|
9
|
-
import "./accounts-
|
|
9
|
+
import "./accounts-CP1IAWeM.js";
|
|
10
10
|
import "./plugins-CDJw924T.js";
|
|
11
11
|
import "./chunk-mxPVo000.js";
|
|
12
|
-
import "./media-
|
|
13
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
12
|
+
import "./media-Bu2L8c_7.js";
|
|
13
|
+
import { r as sendReactionWhatsApp } from "./outbound-L1IT5jN_.js";
|
|
14
14
|
import "./mime-B1ZoR53M.js";
|
|
15
15
|
import "./image-ops-Dlt3T7th.js";
|
|
16
16
|
import { a as jsonResult, n as createActionGate, s as readReactionParams, u as readStringParam } from "./common-D6bu0zHC.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./subsystem-
|
|
3
|
-
import "./utils-
|
|
4
|
-
import "./exec-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
1
|
+
import "./paths-BMuHNFxg.js";
|
|
2
|
+
import "./subsystem-DfKstnEK.js";
|
|
3
|
+
import "./utils-DZ8pnOD5.js";
|
|
4
|
+
import "./exec-mhSykkaa.js";
|
|
5
|
+
import "./agent-scope-CPphqq-U.js";
|
|
6
|
+
import "./model-selection-Cqt6aJ0G.js";
|
|
7
7
|
import "./boolean-Wzu0-e0P.js";
|
|
8
|
-
import "./env-
|
|
9
|
-
import "./config-
|
|
10
|
-
import "./manifest-registry-
|
|
11
|
-
import "./image-ops-
|
|
12
|
-
import "./polls-
|
|
8
|
+
import "./env-v6411I8h.js";
|
|
9
|
+
import "./config-DaqbUdkI.js";
|
|
10
|
+
import "./manifest-registry-kHX_MFa1.js";
|
|
11
|
+
import "./image-ops-B_AYV3tp.js";
|
|
12
|
+
import "./polls-D6eCdatA.js";
|
|
13
13
|
import "./mime-C1RlpUSs.js";
|
|
14
14
|
import "./logging-54nXj81z.js";
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import "./message-channel-
|
|
17
|
-
import "./plugins-
|
|
18
|
-
import "./markdown-tables-
|
|
19
|
-
import { a as jsonResult, n as createActionGate, s as readReactionParams, u as readStringParam } from "./common-
|
|
20
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
15
|
+
import "./accounts-Bth3PpPD.js";
|
|
16
|
+
import "./message-channel-D_jIO87f.js";
|
|
17
|
+
import "./plugins-DhcGAPDB.js";
|
|
18
|
+
import "./markdown-tables-DJV7eAJZ.js";
|
|
19
|
+
import { a as jsonResult, n as createActionGate, s as readReactionParams, u as readStringParam } from "./common-CX5458fH.js";
|
|
20
|
+
import { r as sendReactionWhatsApp } from "./outbound-bs_VK51X.js";
|
|
21
21
|
|
|
22
22
|
//#region src/agents/tools/whatsapp-actions.ts
|
|
23
23
|
async function handleWhatsAppAction(params, cfg) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { I as pathExists, t as runCommandWithTimeout, z as resolveUserPath } from "./exec-
|
|
1
|
+
import { u as resolveRequiredHomeDir } from "./paths-C1R4gjRm.js";
|
|
2
|
+
import { I as pathExists, t as runCommandWithTimeout, z as resolveUserPath } from "./exec-tTxVr8zb.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 { A as isVerbose, s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { A as isVerbose, s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-DfKstnEK.js";
|
|
2
2
|
import { x as parseAgentSessionKey } from "./session-key-DxcgHezu.js";
|
|
3
3
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-BHmk44DI.js";
|
|
4
4
|
import chalk from "chalk";
|