@noxsoft/anima 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acp-cli-BbvR4dNz.js → acp-cli-DvphOKuh.js} +3 -3
- package/dist/{acp-cli-CePIi7gD.js → acp-cli-p28pQ65a.js} +3 -3
- package/dist/{agent-NgeWEcBM.js → agent-Cj7uDJaZ.js} +7 -7
- package/dist/{agent-CSrGrAg1.js → agent-Cuj9-2sT.js} +6 -6
- package/dist/{agent-events-UF0DxwKS.js → agent-events-BEBQsyE5.js} +1 -1
- package/dist/{agents-Bw06WthM.js → agents-BUWqn_Ui.js} +26 -61
- package/dist/{audit-Buja3mbS.js → audit-C6okOOSh.js} +6 -6
- package/dist/{audit-CWIz6mM7.js → audit-VWjIdwC7.js} +6 -6
- package/dist/{auth-choice-7dFCqblU.js → auth-choice-CAmACV13.js} +5 -5
- package/dist/{auth-choice-S_0K9gpl.js → auth-choice-p3SeHPj2.js} +5 -5
- package/dist/{auth-health-DoHai4eD.js → auth-health-B_jXrWe6.js} +1 -1
- package/dist/{auth-health-CctpRTdC.js → auth-health-DCicUKYR.js} +1 -1
- package/dist/{auth-profiles-_5BsNObq.js → auth-profiles-CCDD56dU.js} +0 -1
- package/dist/{auth-profiles-Cz2rxrav.js → auth-profiles-DxI8L7bs.js} +0 -1
- package/dist/auto-update-CUeF99gI.js +269 -0
- package/dist/auto-update-cgkp9ZTJ.js +269 -0
- package/dist/{banner-ieAUufx9.js → banner-Cohn04J6.js} +1 -1
- package/dist/{browser-cli-DldrdaCW.js → browser-cli-DANzjztE.js} +4 -4
- package/dist/{browser-cli-D_qgYDik.js → browser-cli-WjsVH741.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/{call-ktoEhkOQ.js → call-BAHvlu2G.js} +1 -1
- package/dist/{call-DPzNR_Qi.js → call-Ct7EGP_L.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-C3GV4Fgg.js → channel-options-Dx9nPlX8.js} +1 -1
- package/dist/{channel-options-DJ4GNfwk.js → channel-options-ZdvXrTGs.js} +1 -1
- package/dist/{channel-web-D42mzlCJ.js → channel-web-CC0hkgkR.js} +10 -10
- package/dist/{channels-cli-Ddo_tIRR.js → channels-cli-D7lNBpIb.js} +22 -22
- package/dist/{channels-cli-BAtARz4A.js → channels-cli-DUPG8WDv.js} +21 -21
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-D3hUnL_G.js → cli-CfHUkOD0.js} +17 -17
- package/dist/{cli-DDwD6VgH.js → cli-ClMrIh6l.js} +18 -18
- package/dist/{cli-session-CP7ZH2-6.js → cli-session-BkPTd9Pk.js} +4 -4
- package/dist/{cli-session-oXJQpenl.js → cli-session-Dd8DKb5a.js} +5 -5
- package/dist/{command-registry-DDGudZEQ.js → command-registry-DZ4hkmA0.js} +12 -12
- package/dist/{commands-CRcFD5MO.js → commands-DtYZJSPn.js} +62 -3
- package/dist/{commands-Dh40OpQL.js → commands-Dujk1JmY.js} +62 -3
- package/dist/{completion-cli-B9Cn374l.js → completion-cli-tSe7Pmqm.js} +1 -1
- package/dist/{completion-cli-BEHghUFx.js → completion-cli-vn4IScs5.js} +2 -2
- package/dist/{config-CHc5qzaI.js → config-C8rUDJXY.js} +1 -1
- package/dist/{config-Bmm8tmZF.js → config-CLZ_XGVw.js} +1 -1
- package/dist/{config-Xm0j9LUa.js → config-SY8M0kM_.js} +1 -1
- package/dist/{config-cli-9ZbCHoV8.js → config-cli-1V7D2Wsw.js} +3 -3
- package/dist/{config-cli-sxuGl29N.js → config-cli-CjWEC81L.js} +3 -3
- package/dist/{config-guard-BwRD-b9Z.js → config-guard-BW2gpKj_.js} +5 -5
- package/dist/{config-guard-Dy7wyhAX.js → config-guard-BvxuzHpo.js} +2 -2
- package/dist/{config-sync-mfuOoGHl.js → config-sync-CoIIbEOe.js} +5 -3
- package/dist/{config-sync-Bllc1TJ4.js → config-sync-DvAttep0.js} +5 -3
- package/dist/{configure-CCyVzQZ7.js → configure-Bf0oupCE.js} +20 -67
- package/dist/{configure-Nntbxt4t.js → configure-DRM-7zFf.js} +20 -68
- package/dist/{context-DKaQYnCH.js → context-D5iEFzv9.js} +2 -2
- package/dist/{control-service-BeOtZCCS.js → control-service-C8m8F9pr.js} +2 -2
- package/dist/{control-service-vyKJ-XUp.js → control-service-DKotCWCg.js} +2 -2
- package/dist/{cron-cli-C8XzIpyX.js → cron-cli-DB_FLYHD.js} +4 -4
- package/dist/{cron-cli-BasqtsJ0.js → cron-cli-bxm5lrrO.js} +4 -4
- package/dist/{daemon-cli-sjDh2xbf.js → daemon-cli-1LsOnICv.js} +5 -5
- package/dist/{daemon-cli-cwL2GI5i.js → daemon-cli-CC2NrJ7a.js} +5 -5
- package/dist/daemon-cli.js +0 -1
- package/dist/{daemon-runtime-CTvi3m4D.js → daemon-runtime-BXZhtBL9.js} +1 -1
- package/dist/{daemon-runtime-BuMT6nck.js → daemon-runtime-DW4USC7r.js} +1 -1
- package/dist/{deliver-DlNDKlA4.js → deliver-B4HuPwJA.js} +1 -1
- package/dist/{deliver-bC6iI_rv.js → deliver-LiY5oL52.js} +1 -1
- package/dist/{deliver-D6cdhg5m.js → deliver-xrmk7xjh.js} +1 -1
- package/dist/{deps-C9kDG-Ru.js → deps-CMMOiOsF.js} +1 -1
- package/dist/{devices-cli-GyPlNRyd.js → devices-cli-Be5he2SA.js} +3 -3
- package/dist/{devices-cli-BE-Nib4Y.js → devices-cli-z6ecoFe9.js} +3 -3
- package/dist/{directory-cli-CZ_-DP5Z.js → directory-cli-CEy-0nxj.js} +2 -2
- package/dist/{directory-cli-BEaIvWkc.js → directory-cli-DpzKcigr.js} +2 -2
- package/dist/{dispatcher-Bkcui7jz.js → dispatcher-10Shiuz3.js} +1 -1
- package/dist/{dispatcher-C1B6cT_7.js → dispatcher-3Jae6AiW.js} +1 -1
- package/dist/{dns-cli-BUzpVoMv.js → dns-cli-Bat1pkc-.js} +2 -2
- package/dist/{dns-cli-DstQOMQt.js → dns-cli-NohNyEo0.js} +2 -2
- package/dist/{doctor-DnEyqGcQ.js → doctor-BrT5m_on.js} +18 -18
- package/dist/{doctor-B5HFw-nC.js → doctor-Pp2HVnjM.js} +18 -18
- package/dist/{doctor-completion-BMEPXgVg.js → doctor-completion-DNTimX9o.js} +1 -1
- package/dist/{doctor-completion-usPeH2ol.js → doctor-completion-ylN9QAJ6.js} +1 -1
- package/dist/{doctor-config-flow-Cs4O_Kmq.js → doctor-config-flow-D1w3700T.js} +3 -3
- package/dist/{doctor-config-flow-CS0WFnjL.js → doctor-config-flow-Dq50iE1R.js} +3 -3
- package/dist/{engine-ZSd5I5JN.js → engine-B9avUJL5.js} +8 -6
- package/dist/{engine-DgK9s3lk.js → engine-BiUQ25D4.js} +8 -6
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-25CGlFNw.js → exec-approvals-cli-DXfV6G8H.js} +5 -5
- package/dist/{exec-approvals-cli-BXZ-hOlT.js → exec-approvals-cli-J2cZs10o.js} +5 -5
- package/dist/extensionAPI.js +0 -1
- package/dist/{gateway-cli-D8Qz7kCf.js → gateway-cli-DOAbA0pc.js} +44 -44
- package/dist/{gateway-cli-B9uc0RCI.js → gateway-cli-QpWtBhQy.js} +46 -46
- package/dist/{gateway-rpc-Ch9mCYEB.js → gateway-rpc-DJKBil9s.js} +1 -1
- package/dist/{gateway-rpc-DBhcdLFs.js → gateway-rpc-DVterpLP.js} +1 -1
- package/dist/{github-copilot-auth-D6ZErYqa.js → github-copilot-auth-4IUFp669.js} +2 -2
- package/dist/{github-copilot-auth-DGmyWJms.js → github-copilot-auth-C9E0IROs.js} +2 -2
- package/dist/{health-DsTZaAzV.js → health-BeZnqp6m.js} +8 -8
- package/dist/{health-V6dGthLA.js → health-Cn2OoVWZ.js} +8 -8
- package/dist/{heartbeat-visibility-CkL00WRR.js → heartbeat-visibility-BL3WAchI.js} +1 -1
- package/dist/{heartbeat-visibility-Cmni9671.js → heartbeat-visibility-CQ9QimI7.js} +1 -1
- package/dist/{hooks-cli-E63uffR6.js → hooks-cli-D99hXt7K.js} +19 -19
- package/dist/{hooks-cli-Cu0D0fPS.js → hooks-cli-DMB8RiEO.js} +18 -18
- package/dist/index.js +28 -28
- package/dist/{ipv4-TxR9wQCQ.js → ipv4-Bf7NS3QU.js} +5 -5
- package/dist/{ipv4-C5QxzriV.js → ipv4-wWNs8IH_.js} +5 -5
- package/dist/{login-C-ugYHKt.js → login-BDCg6D0N.js} +2 -2
- package/dist/{login-CX5Q2fYl.js → login-BDfnbjnZ.js} +2 -2
- package/dist/{login--8D8kyRy.js → login-BqH1itcg.js} +2 -2
- package/dist/{login-qr-BLmGvITg.js → login-qr-CyOw3R4r.js} +3 -3
- package/dist/{login-qr-BNtuXLKL.js → login-qr-D8ECtb72.js} +3 -3
- package/dist/{login-qr-PcyTC7Ra.js → login-qr-RnR7e4Bw.js} +3 -3
- package/dist/{logs-cli-BEQVkiXp.js → logs-cli--j89L74J.js} +4 -4
- package/dist/{logs-cli-CIqiVMkY.js → logs-cli-DpEMg_Gq.js} +4 -4
- package/dist/{manager-Bsy9ifug.js → manager-B4OyvcxT.js} +1 -1
- package/dist/{manager-CDgcZ51c.js → manager-Cqc1CeH7.js} +1 -1
- package/dist/{manager-D7QQ5XrE.js → manager-DUyQPFvj.js} +1 -1
- package/dist/{memory-cli-BoXdfCLT.js → memory-cli-BKocCWXM.js} +4 -4
- package/dist/{memory-cli-BmIyAOZm.js → memory-cli-Jmma-xI_.js} +4 -4
- package/dist/{model-selection-BnEobs_z.js → model-selection-YcSr9CgC.js} +0 -1
- package/dist/{models-KLd8Evmq.js → models-1vUQBVfw.js} +18 -53
- package/dist/{models-cli-DJHs5rJF.js → models-cli-BK3BwUhL.js} +21 -21
- package/dist/{models-cli-D4UFQLid.js → models-cli-DECrM8oA.js} +23 -23
- package/dist/{node-cli-BNCJUkgA.js → node-cli-cLHUNpPD.js} +7 -7
- package/dist/{node-cli-C7S0vk0_.js → node-cli-fO7Y132S.js} +7 -7
- package/dist/{nodes-cli-DOXhYgc8.js → nodes-cli-BCq35E6N.js} +4 -4
- package/dist/{nodes-cli-wvPZ3HwH.js → nodes-cli-vD7MwAKP.js} +4 -4
- package/dist/{onboard-DiTRW6CH.js → onboard-Ds6w_sWo.js} +10 -10
- package/dist/{onboard-lH3XPWAK.js → onboard-SAVx3bp4.js} +10 -10
- package/dist/{onboard-channels-BgruIpyg.js → onboard-channels-Cg_EkBa4.js} +2 -2
- package/dist/{onboard-channels-gyq0VHHp.js → onboard-channels-D7NbA55V.js} +2 -2
- package/dist/{onboard-helpers-f5Zprayl.js → onboard-helpers-DO_hgZb9.js} +2 -2
- package/dist/{onboard-helpers-BEaUind0.js → onboard-helpers-_XgJgeqh.js} +2 -2
- package/dist/{onboarding-kQVgbiIR.js → onboarding-3hLmDd0r.js} +12 -12
- package/dist/{onboarding-D0FOkXGt.js → onboarding-B4LKLsbU.js} +12 -12
- package/dist/{orchestrator-CYTk7mq6.js → orchestrator-BKzmyBWy.js} +7 -5
- package/dist/{orchestrator-J6ELnJXl.js → orchestrator-BN3QCz2s.js} +7 -5
- package/dist/{outbound-BSVD-rjk.js → outbound-BgA9hNlP.js} +1 -1
- package/dist/{outbound-DXijk0db.js → outbound-CjdvVhUI.js} +1 -1
- package/dist/{outbound-BEq0qbPR.js → outbound-DOGe6qb2.js} +1 -1
- package/dist/{outbound-send-deps-BNGPU7jV.js → outbound-send-deps-Du5aBpd7.js} +1 -1
- package/dist/{pairing-cli-DKUyb6eK.js → pairing-cli-2vnyg_Nd.js} +3 -3
- package/dist/{pairing-cli-ET2p_mXH.js → pairing-cli-BH1KQtNV.js} +3 -3
- package/dist/{pairing-store-CGYSwICJ.js → pairing-store-DJz_9Gv0.js} +1 -1
- package/dist/{pairing-store-DqQPqRMe.js → pairing-store-DmOzxcuk.js} +1 -1
- package/dist/{pi-auth-json-BzX-qyRo.js → pi-auth-json-B68R7q7_.js} +1 -1
- package/dist/{pi-auth-json-eesA38iW.js → pi-auth-json-CR0jXAgq.js} +1 -1
- package/dist/{pi-auth-json-uEDdgg8K.js → pi-auth-json-ZYzi3nxs.js} +1 -1
- package/dist/{pi-model-discovery-CQOWUAmK.js → pi-model-discovery-Cxs4pvC2.js} +1 -1
- package/dist/{pi-tools.policy-D9AUlreI.js → pi-tools.policy-D81U5xy0.js} +1 -1
- package/dist/{pi-tools.policy-DRDm3v-2.js → pi-tools.policy-DSHkkb5b.js} +1 -1
- package/dist/{plugin-auto-enable-C-JwYMlZ.js → plugin-auto-enable-CxF4bpDN.js} +1 -1
- package/dist/{plugin-auto-enable-DLIDBBfi.js → plugin-auto-enable-jNaAeyEh.js} +1 -1
- package/dist/{plugin-registry-CP7KgCvC.js → plugin-registry-C7XWotZG.js} +1 -1
- package/dist/{plugin-registry-Bp8mivr-.js → plugin-registry-DcUCbGax.js} +1 -1
- package/dist/plugin-sdk/agents/bedrock-discovery.d.ts +1 -2
- package/dist/plugin-sdk/agents/pi-tools.policy.d.ts +1 -1
- package/dist/plugin-sdk/agents/pi-tools.read.d.ts +3 -3
- package/dist/plugin-sdk/agents/tool-policy.d.ts +1 -1
- package/dist/plugin-sdk/agents/tools/browser-tool.schema.d.ts +1 -1
- package/dist/plugin-sdk/index.js +0 -1
- package/dist/{plugins-cli-CtFRTC2I.js → plugins-cli-BsCEnoQ7.js} +20 -20
- package/dist/{plugins-cli-D1lvqLG9.js → plugins-cli-QSIsMUG7.js} +18 -18
- package/dist/{program-Bve7k4jO.js → program-DkJHjI0R.js} +25 -25
- package/dist/{program-context-8lqacY-M.js → program-context-DnyGM2SC.js} +38 -38
- package/dist/{queue-2CW7pnm1.js → queue-D_u34pbL.js} +3 -1
- package/dist/{queue-DhjMEG_Q.js → queue-PG591iID.js} +3 -1
- package/dist/{register.agent-CE_8JbTE.js → register.agent-CSWvzOkR.js} +26 -26
- package/dist/{register.agent-CGRdcftb.js → register.agent-UeH2NXmH.js} +24 -24
- package/dist/{register.anima-hNCtQ_jl.js → register.anima-DOdee0dh.js} +40 -14
- package/dist/{register.anima-B4NPeesF.js → register.anima-HHDWsz6r.js} +40 -14
- package/dist/{register.configure-Dqm2IveL.js → register.configure-CSJFxdz9.js} +28 -28
- package/dist/{register.configure-3prVPXwx.js → register.configure-D84Fvcz4.js} +29 -29
- package/dist/{register.maintenance-BSIx4eNS.js → register.maintenance-B3pvNbZb.js} +30 -30
- package/dist/{register.maintenance-DDeG6CHa.js → register.maintenance-BKVOwkw6.js} +32 -32
- package/dist/{register.message-DcYPDzYr.js → register.message-BAO6CPl2.js} +20 -20
- package/dist/{register.message-RbFrjbch.js → register.message-OXoOKE_6.js} +19 -19
- package/dist/{register.onboard-BrcWHC9j.js → register.onboard-BK_ixVmD.js} +35 -35
- package/dist/{register.onboard-BBJK_0_C.js → register.onboard-cfCaPx6j.js} +33 -33
- package/dist/{register.setup-ByvEHxYQ.js → register.setup-BGfDnzph.js} +33 -33
- package/dist/{register.setup-CNwO5Yq3.js → register.setup-Y-Q74M-0.js} +35 -35
- package/dist/{register.status-health-sessions-CGT7bn4C.js → register.status-health-sessions-CT14eitH.js} +24 -24
- package/dist/{register.status-health-sessions-QK6iQSJc.js → register.status-health-sessions-TfZMzAUn.js} +22 -22
- package/dist/{register.subclis-Bd8eE94r.js → register.subclis-BZwdlNHC.js} +27 -27
- package/dist/{reply-Clj5jcM5.js → reply-mlsExaZm.js} +25 -25
- package/dist/{reply-prefix-D2NxVzGZ.js → reply-prefix-B0CfR4bM.js} +2 -2
- package/dist/{reply-prefix-DPpz_mEi.js → reply-prefix-w4a39ybC.js} +2 -2
- package/dist/{reply-DnH1Ueoz.js → reply-qalRISe_.js} +24 -24
- package/dist/{routes-DtRwwTy6.js → routes-CENsHJyg.js} +2 -2
- package/dist/{routes-CXpne1-p.js → routes-DO0HqW2e.js} +2 -2
- package/dist/{rpc-CMEWfcci.js → rpc-C0pjNhBi.js} +1 -1
- package/dist/{rpc-BBB_Fbes.js → rpc-DZ44PIXE.js} +1 -1
- package/dist/{run-main-DOXNrnL2.js → run-main-BMpKw8Mp.js} +40 -40
- package/dist/{sandbox-D3CFkNeF.js → sandbox-BIGfMYEI.js} +2 -2
- package/dist/{sandbox-Bk0ZXcag.js → sandbox-DxP3IpUP.js} +2 -2
- package/dist/{sandbox-cli-Ctpa2Isy.js → sandbox-cli-DtLGH8sL.js} +6 -6
- package/dist/{sandbox-cli-BCnnmQ03.js → sandbox-cli-_Tg7lfJ_.js} +6 -6
- package/dist/{security-cli-BiiLLcQV.js → security-cli-BRwgbedo.js} +10 -10
- package/dist/{security-cli-DOZmLENS.js → security-cli-D3bSuyZt.js} +10 -10
- package/dist/{server-context-BznDS2td.js → server-context-49XFFxFg.js} +1 -1
- package/dist/{server-context-CXnE2F7d.js → server-context-LrlgrZzS.js} +1 -1
- package/dist/{server-node-events-Cu6Qkjor.js → server-node-events-Dm52i7NW.js} +8 -8
- package/dist/{server-node-events-Cv8MuF1g.js → server-node-events-QX523UyF.js} +7 -7
- package/dist/{service-audit-DKWJcTu4.js → service-audit-D0X_XAB2.js} +1 -1
- package/dist/{service-audit-DBsygs7y.js → service-audit-qmf6XMmP.js} +1 -1
- package/dist/{session-DUFuU29j.js → session-CrQQLLhx.js} +1 -1
- package/dist/{session-CXcl3Xrp.js → session-LocsOOWJ.js} +1 -1
- package/dist/{session-M_uCxF0U.js → session-Vlce2BAT.js} +1 -1
- package/dist/{sessions-B8GUAiF6.js → sessions-BfV53TbG.js} +1 -1
- package/dist/{sessions-D0spLCm7.js → sessions-BimpX_km.js} +7 -14
- package/dist/{sessions-D0Zd1CND.js → sessions-DcXpzig0.js} +1 -1
- package/dist/{sessions-XvkHLXt4.js → sessions-Wd18dukK.js} +1 -1
- package/dist/{shared-CEHU0exQ.js → shared-Bsr69u_7.js} +2 -2
- package/dist/{shared-DAHxpviD.js → shared-f7dvQsi7.js} +2 -2
- package/dist/{skills-cli-DF9XJ2_0.js → skills-cli-DUGe2ZWW.js} +2 -2
- package/dist/{skills-cli-eLBluVoD.js → skills-cli-DtOk0bvK.js} +2 -2
- package/dist/{start-BvsoGNHJ.js → start--xmSFepB.js} +31 -13
- package/dist/{start-CF_Cp6YC.js → start-BdlZbqrr.js} +31 -13
- package/dist/{status-CXQrTLri.js → status-BgoeFm6g.js} +12 -12
- package/dist/{status-BZip7mx9.js → status-BjjDrUq7.js} +2 -2
- package/dist/{status-BqYq_J5J.js → status-Ct0DgOZ-.js} +11 -11
- package/dist/{status-BKGJ7VPQ.js → status-RA_uNmK0.js} +2 -2
- package/dist/{status.update-CWiod7o_.js → status.update-BjOH3GlS.js} +1 -1
- package/dist/{status.update-D1PyrhoB.js → status.update-DLU1qBf0.js} +1 -1
- package/dist/{subagent-registry-CpSZ2RSO.js → subagent-registry-9RLdKxES.js} +5 -5
- package/dist/{subagent-registry-DkCXRdwf.js → subagent-registry-Byuex3zp.js} +5 -5
- package/dist/{subagent-registry-MPrTYaEB.js → subagent-registry-DOBunBYS.js} +5 -5
- package/dist/{system-cli-4Urk9KV1.js → system-cli-C5oBpzni.js} +4 -4
- package/dist/{system-cli-CgMzkg8R.js → system-cli-DXNKD_Id.js} +4 -4
- package/dist/{tui-Cj25a9wc.js → tui-BHjxDFZC.js} +2 -2
- package/dist/{tui-Iv4T-9gg.js → tui-CgOocwN8.js} +2 -2
- package/dist/{tui-cli-DeFmBtZ7.js → tui-cli-5ANH8dE5.js} +4 -4
- package/dist/{tui-cli-BkJxFa_n.js → tui-cli-BQ4P-JW_.js} +4 -4
- package/dist/{update-cli-qGGlL5Lg.js → update-cli-PtXU62w7.js} +35 -35
- package/dist/{update-cli-rMqhSUMc.js → update-cli-Va0EtETG.js} +32 -32
- package/dist/{update-runner-BT77y3bz.js → update-runner-BLeKFkiB.js} +1 -1
- package/dist/{update-runner-DvzFqFJf.js → update-runner-Iuzpc-_y.js} +1 -1
- package/dist/{usage-BeZuVAY4.js → usage-ApGvBLVg.js} +7 -7
- package/dist/{web-DI0g5K4c.js → web-B6_Ky60G.js} +22 -22
- package/dist/{web-DHSoj6bL.js → web-EZLQEWXY.js} +24 -24
- package/dist/{web-DEx7MMYq.js → web-pec8YJUX.js} +22 -22
- package/dist/{webhooks-cli-sfLRE89X.js → webhooks-cli-BYQKTHTp.js} +2 -2
- package/dist/{webhooks-cli-xtZBlaD1.js → webhooks-cli-C2_xtsUQ.js} +2 -2
- package/dist/{whatsapp-actions-DIREhxrq.js → whatsapp-actions-C72VCq8f.js} +3 -3
- package/dist/{whatsapp-actions-TGHl9p4i.js → whatsapp-actions-Ck9Uv0Nw.js} +4 -4
- package/dist/{whatsapp-actions-dBHozeuk.js → whatsapp-actions-D0reTj2k.js} +3 -3
- package/package.json +6 -2
- package/templates/SOUL.md +2 -0
- package/templates/SPIRIT.md +2 -0
- /package/dist/{budget-Dspr6N_e.js → budget-BWBp8Res.js} +0 -0
- /package/dist/{budget-ChKARYPY.js → budget-DxYQSekw.js} +0 -0
- /package/dist/{loader-Dmc0KyQK.js → loader-BoYxRfcW.js} +0 -0
- /package/dist/{loader-6Qkyybg1.js → loader-l2OBdJ8x.js} +0 -0
- /package/dist/{qmd-manager-CrDrpgh3.js → qmd-manager-Cur_Ekn0.js} +0 -0
- /package/dist/{qmd-manager-B0FWDi1x.js → qmd-manager-DNAUuwjK.js} +0 -0
- /package/dist/{registry-BiekeB9q.js → registry-Bs_DJK9E.js} +0 -0
- /package/dist/{registry-qI6V4gqU.js → registry-D_zlP1U-.js} +0 -0
- /package/dist/{systemd-linger-D5vLilKH.js → systemd-linger-CTmV2Gci.js} +0 -0
- /package/dist/{systemd-linger-BNz8PXPF.js → systemd-linger-CmyqQkeC.js} +0 -0
- /package/dist/{templates-DJ0ii6X2.js → templates-CeYJjVzw.js} +0 -0
- /package/dist/{templates-DPTs18po.js → templates-I3Z0xplD.js} +0 -0
- /package/dist/{update-DZRKbMjq.js → update-TxptCqk7.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { M as theme, h as defaultRuntime } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
2
|
+
import "./auth-profiles-DxI8L7bs.js";
|
|
3
3
|
import "./utils-C9sj30YY.js";
|
|
4
4
|
import "./exec-BizYYQgP.js";
|
|
5
5
|
import "./agent-scope-OZi7lb8S.js";
|
|
6
6
|
import "./manifest-registry-D4lM2RdV.js";
|
|
7
|
-
import { M as VERSION, i as loadConfig } from "./config-
|
|
7
|
+
import { M as VERSION, i as loadConfig } from "./config-C8rUDJXY.js";
|
|
8
8
|
import { t as GatewayClient } from "./client-C1avc0vD.js";
|
|
9
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
9
|
+
import { t as buildGatewayConnectionDetails } from "./call-BAHvlu2G.js";
|
|
10
10
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-w4F2b2F6.js";
|
|
11
11
|
import { i as resolveGatewayAuth } from "./auth-lZ26wsbN.js";
|
|
12
12
|
import { t as formatDocsLink } from "./links-BfjHVTB_.js";
|
|
@@ -3,15 +3,15 @@ import { B as theme, u as defaultRuntime } from "./subsystem-Dowf8fSU.js";
|
|
|
3
3
|
import "./utils-Bsw__U-F.js";
|
|
4
4
|
import "./exec-Bv3pyjeM.js";
|
|
5
5
|
import "./agent-scope-V1bi9OYL.js";
|
|
6
|
-
import "./model-selection-
|
|
6
|
+
import "./model-selection-YcSr9CgC.js";
|
|
7
7
|
import "./boolean-Wzu0-e0P.js";
|
|
8
8
|
import "./env-0lJfCPsw.js";
|
|
9
|
-
import { M as VERSION, i as loadConfig } from "./config-
|
|
9
|
+
import { M as VERSION, i as loadConfig } from "./config-SY8M0kM_.js";
|
|
10
10
|
import "./manifest-registry-CW1zCyRF.js";
|
|
11
11
|
import { i as resolveGatewayAuth } from "./auth-91o2YM96.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-dSTVVCyX.js";
|
|
13
13
|
import { t as GatewayClient } from "./client-CC94YZrT.js";
|
|
14
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
14
|
+
import { t as buildGatewayConnectionDetails } from "./call-Ct7EGP_L.js";
|
|
15
15
|
import { t as formatDocsLink } from "./links-DPGe0OHw.js";
|
|
16
16
|
import { t as isMainModule } from "./is-main-cB3p7uob.js";
|
|
17
17
|
import { t as ensureAnimaCliOnPath } from "./path-env-C0zQSjw8.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { h as defaultRuntime, rt as DEFAULT_CHAT_CHANNEL } from "./entry.js";
|
|
2
|
-
import { A as normalizeModelRef, Dt as DEFAULT_PROVIDER, Et as DEFAULT_MODEL, F as resolveConfiguredModelRef, O as isCliProvider, Tt as DEFAULT_CONTEXT_TOKENS, h as ensureAuthProfileStore, k as modelKey, w as buildAllowedModelSet, z as resolveThinkingDefault } from "./auth-profiles-
|
|
2
|
+
import { A as normalizeModelRef, Dt as DEFAULT_PROVIDER, Et as DEFAULT_MODEL, F as resolveConfiguredModelRef, O as isCliProvider, Tt as DEFAULT_CONTEXT_TOKENS, h as ensureAuthProfileStore, k as modelKey, w as buildAllowedModelSet, z as resolveThinkingDefault } from "./auth-profiles-DxI8L7bs.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-Clp46jkj.js";
|
|
4
4
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-BGiG_JcT.js";
|
|
5
5
|
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-OZi7lb8S.js";
|
|
6
6
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-B5LQx4lT.js";
|
|
7
|
-
import { i as loadConfig } from "./config-
|
|
7
|
+
import { i as loadConfig } from "./config-C8rUDJXY.js";
|
|
8
8
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-w4F2b2F6.js";
|
|
9
9
|
import { S as registerAgentRunContext, g as runEmbeddedPiAgent, n as AGENT_LANE_NESTED, r as AGENT_LANE_SUBAGENT, t as resolveAgentTimeoutMs, v as clearAgentRunContext, y as emitAgentEvent } from "./timeout-CswI_K-U.js";
|
|
10
|
-
import { F as normalizeAccountId, d as resolveSessionKey, f as evaluateSessionFreshness, h as resolveSessionResetType, i as loadSessionStore, l as updateSessionStore, m as resolveSessionResetPolicy, p as resolveChannelResetConfig, x as resolveExplicitAgentSessionKey } from "./sessions-
|
|
10
|
+
import { F as normalizeAccountId, d as resolveSessionKey, f as evaluateSessionFreshness, h as resolveSessionResetType, i as loadSessionStore, l as updateSessionStore, m as resolveSessionResetPolicy, p as resolveChannelResetConfig, x as resolveExplicitAgentSessionKey } from "./sessions-DcXpzig0.js";
|
|
11
11
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CDJw924T.js";
|
|
12
12
|
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-CxRf2rBG.js";
|
|
13
|
-
import { Bt as applyModelOverrideToSessionEntry, It as getSkillsSnapshotVersion, Rt as clearSessionAuthProfileOverride, T as resolveSessionDeliveryTarget, Vt as applyVerboseOverride, Yt as loadModelCatalog, k as runWithModelFallback, lt as resolveSendPolicy, mt as getRemoteSkillEligibility, n as setCliSessionId, r as runCliAgent, t as getCliSessionId, w as resolveOutboundTarget } from "./cli-session-
|
|
13
|
+
import { Bt as applyModelOverrideToSessionEntry, It as getSkillsSnapshotVersion, Rt as clearSessionAuthProfileOverride, T as resolveSessionDeliveryTarget, Vt as applyVerboseOverride, Yt as loadModelCatalog, k as runWithModelFallback, lt as resolveSendPolicy, mt as getRemoteSkillEligibility, n as setCliSessionId, r as runCliAgent, t as getCliSessionId, w as resolveOutboundTarget } from "./cli-session-Dd8DKb5a.js";
|
|
14
14
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-BXEswx1X.js";
|
|
15
|
-
import { t as lookupContextTokens } from "./context-
|
|
16
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
15
|
+
import { t as lookupContextTokens } from "./context-D5iEFzv9.js";
|
|
16
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-LiY5oL52.js";
|
|
17
17
|
import { a as deriveSessionTotalTokens, o as hasNonzeroUsage } from "./transcript-tools-DuyYOkUq.js";
|
|
18
|
-
import { n as createDefaultDeps, t as createOutboundSendDeps } from "./outbound-send-deps-
|
|
18
|
+
import { n as createDefaultDeps, t as createOutboundSendDeps } from "./outbound-send-deps-Du5aBpd7.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
21
21
|
//#region src/infra/outbound/agent-delivery.ts
|
|
@@ -2,19 +2,19 @@ import { _ as DEFAULT_CHAT_CHANNEL, u as defaultRuntime } from "./subsystem-Dowf
|
|
|
2
2
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-BLU0jXR8.js";
|
|
3
3
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-DxcgHezu.js";
|
|
4
4
|
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-V1bi9OYL.js";
|
|
5
|
-
import { At as DEFAULT_PROVIDER, Ot as DEFAULT_CONTEXT_TOKENS, a as isCliProvider, f as resolveConfiguredModelRef, g as resolveThinkingDefault, kt as DEFAULT_MODEL, mt as ensureAuthProfileStore, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet } from "./model-selection-
|
|
5
|
+
import { At as DEFAULT_PROVIDER, Ot as DEFAULT_CONTEXT_TOKENS, a as isCliProvider, f as resolveConfiguredModelRef, g as resolveThinkingDefault, kt as DEFAULT_MODEL, mt as ensureAuthProfileStore, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet } from "./model-selection-YcSr9CgC.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-DELazozB.js";
|
|
7
7
|
import { S as resolveAgentTimeoutMs, b as runEmbeddedPiAgent, i as emitAgentEvent, n as AGENT_LANE_SUBAGENT, r as clearAgentRunContext, s as registerAgentRunContext, t as AGENT_LANE_NESTED } from "./lanes-CNxj3tit.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
9
|
-
import { O as resolveExplicitAgentSessionKey, S as resolveSessionResetType, b as resolveChannelResetConfig, g as normalizeAccountId, i as loadSessionStore, l as updateSessionStore, v as resolveSessionKey, x as resolveSessionResetPolicy, y as evaluateSessionFreshness } from "./sessions-
|
|
10
|
-
import { Bt as getSkillsSnapshotVersion, Gt as applyModelOverrideToSessionEntry, Ht as lookupContextTokens, Kt as applyVerboseOverride, T as resolveSessionDeliveryTarget, Ut as clearSessionAuthProfileOverride, en as loadModelCatalog, k as runWithModelFallback, n as setCliSessionId, pt as resolveSendPolicy, r as runCliAgent, t as getCliSessionId, vt as getRemoteSkillEligibility, w as resolveOutboundTarget } from "./cli-session-
|
|
8
|
+
import { i as loadConfig } from "./config-SY8M0kM_.js";
|
|
9
|
+
import { O as resolveExplicitAgentSessionKey, S as resolveSessionResetType, b as resolveChannelResetConfig, g as normalizeAccountId, i as loadSessionStore, l as updateSessionStore, v as resolveSessionKey, x as resolveSessionResetPolicy, y as evaluateSessionFreshness } from "./sessions-BfV53TbG.js";
|
|
10
|
+
import { Bt as getSkillsSnapshotVersion, Gt as applyModelOverrideToSessionEntry, Ht as lookupContextTokens, Kt as applyVerboseOverride, T as resolveSessionDeliveryTarget, Ut as clearSessionAuthProfileOverride, en as loadModelCatalog, k as runWithModelFallback, n as setCliSessionId, pt as resolveSendPolicy, r as runCliAgent, t as getCliSessionId, vt as getRemoteSkillEligibility, w as resolveOutboundTarget } from "./cli-session-BkPTd9Pk.js";
|
|
11
11
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-B-G7UHOa.js";
|
|
12
12
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-dSTVVCyX.js";
|
|
13
13
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CmSUIUNi.js";
|
|
14
14
|
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-hcX1Gqg5.js";
|
|
15
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
15
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-xrmk7xjh.js";
|
|
16
16
|
import { a as deriveSessionTotalTokens, o as hasNonzeroUsage } from "./transcript-tools-DtE5di1q.js";
|
|
17
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
+
import { t as createDefaultDeps } from "./deps-CMMOiOsF.js";
|
|
18
18
|
import { t as createOutboundSendDeps } from "./outbound-send-deps-ANnAhImn.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { k as escapeRegExp } from "./exec-BenD3A5l.js";
|
|
2
|
-
import { B as HEARTBEAT_TOKEN } from "./sessions-
|
|
2
|
+
import { B as HEARTBEAT_TOKEN } from "./sessions-Wd18dukK.js";
|
|
3
3
|
|
|
4
4
|
//#region src/auto-reply/heartbeat.ts
|
|
5
5
|
const HEARTBEAT_PROMPT = "Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.";
|
|
@@ -1,73 +1,19 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
1
2
|
import { h as defaultRuntime } from "./entry.js";
|
|
2
|
-
import { h as ensureAuthProfileStore, v as resolveAuthStorePath } from "./auth-profiles-
|
|
3
|
+
import { h as ensureAuthProfileStore, v as resolveAuthStorePath } from "./auth-profiles-DxI8L7bs.js";
|
|
3
4
|
import { t as formatCliCommand } from "./command-format-Clp46jkj.js";
|
|
4
5
|
import { l as normalizeAgentId, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID } from "./session-key-BGiG_JcT.js";
|
|
5
6
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-C9sj30YY.js";
|
|
6
|
-
import "./exec-BizYYQgP.js";
|
|
7
7
|
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-OZi7lb8S.js";
|
|
8
|
-
import "./
|
|
9
|
-
import "./skills-B5LQx4lT.js";
|
|
10
|
-
import "./manifest-registry-D4lM2RdV.js";
|
|
11
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CHc5qzaI.js";
|
|
12
|
-
import "./client-C1avc0vD.js";
|
|
13
|
-
import "./call-ktoEhkOQ.js";
|
|
14
|
-
import "./message-channel-w4F2b2F6.js";
|
|
15
|
-
import "./timeout-CswI_K-U.js";
|
|
16
|
-
import "./sessions-D0Zd1CND.js";
|
|
17
|
-
import "./subagent-registry-DkCXRdwf.js";
|
|
18
|
-
import "./logging-BdnOSVPD.js";
|
|
19
|
-
import "./accounts-CcVrwKqv.js";
|
|
20
|
-
import "./reply-Clj5jcM5.js";
|
|
8
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-C8rUDJXY.js";
|
|
21
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CDJw924T.js";
|
|
22
|
-
import "./tokens-C-X7wDKj.js";
|
|
23
|
-
import "./dock-DbxBBv30.js";
|
|
24
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CxRf2rBG.js";
|
|
25
|
-
import "./chunk-mxPVo000.js";
|
|
26
|
-
import "./media-THyainiE.js";
|
|
27
|
-
import "./mime-B1ZoR53M.js";
|
|
28
|
-
import "./image-ops-Dlt3T7th.js";
|
|
29
|
-
import "./common-D6bu0zHC.js";
|
|
30
|
-
import "./server-context-BznDS2td.js";
|
|
31
|
-
import "./chrome-Bi6iZ5sG.js";
|
|
32
|
-
import "./auth-lZ26wsbN.js";
|
|
33
|
-
import "./ports-CqLSlU6Z.js";
|
|
34
|
-
import "./trash-BJLK1vMn.js";
|
|
35
|
-
import "./control-service-vyKJ-XUp.js";
|
|
36
|
-
import "./cli-session-oXJQpenl.js";
|
|
37
|
-
import "./thinking-BXEswx1X.js";
|
|
38
|
-
import "./context-DKaQYnCH.js";
|
|
39
|
-
import "./sandbox-D3CFkNeF.js";
|
|
40
|
-
import "./routes-CXpne1-p.js";
|
|
41
|
-
import "./paths-DcVEkYX5.js";
|
|
42
|
-
import "./commands-registry-Bd0xbvwG.js";
|
|
43
|
-
import "./deliver-bC6iI_rv.js";
|
|
44
|
-
import "./pairing-store-DqQPqRMe.js";
|
|
45
|
-
import "./nodes-screen-DZeD8hE5.js";
|
|
46
|
-
import "./memory-cli-BoXdfCLT.js";
|
|
47
|
-
import "./manager-Bsy9ifug.js";
|
|
48
|
-
import "./sqlite-BukcjdJa.js";
|
|
49
|
-
import "./redact-ClVwO7Nn.js";
|
|
50
|
-
import "./links-BfjHVTB_.js";
|
|
51
|
-
import "./progress-CbZ2D53A.js";
|
|
52
|
-
import "./dispatcher-Bkcui7jz.js";
|
|
53
|
-
import "./channel-selection-DfGpCyh2.js";
|
|
54
|
-
import "./delivery-queue-B6IHz4Ry.js";
|
|
55
|
-
import "./pi-tools.policy-DRDm3v-2.js";
|
|
56
|
-
import "./session-cost-usage-BwiTZuKl.js";
|
|
57
|
-
import "./catalog-BAayBt1L.js";
|
|
58
|
-
import "./prompt-style-DKy6qQxR.js";
|
|
59
|
-
import "./note-uiuPxhyX.js";
|
|
60
11
|
import { t as WizardCancelledError } from "./prompts-_dDWkCAz.js";
|
|
61
12
|
import { t as createClackPrompter } from "./clack-prompter-B0kl7shw.js";
|
|
62
13
|
import { t as resolveChannelDefaultAccountId } from "./helpers-ZKNRexvX.js";
|
|
63
|
-
import "./
|
|
64
|
-
import {
|
|
65
|
-
import "./
|
|
66
|
-
import "./skill-scanner-CkaVLABv.js";
|
|
67
|
-
import "./installs-D-cPGdCw.js";
|
|
68
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-f5Zprayl.js";
|
|
69
|
-
import { n as warnIfModelConfigLooksOff, r as applyAuthChoice, u as promptAuthChoiceGrouped } from "./auth-choice-S_0K9gpl.js";
|
|
70
|
-
import "./github-copilot-auth-D6ZErYqa.js";
|
|
14
|
+
import { n as setupChannels } from "./onboard-channels-D7NbA55V.js";
|
|
15
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-DO_hgZb9.js";
|
|
16
|
+
import { n as warnIfModelConfigLooksOff, r as applyAuthChoice, u as promptAuthChoiceGrouped } from "./auth-choice-p3SeHPj2.js";
|
|
71
17
|
import { n as logConfigUpdated } from "./logging-DB6BQmhi.js";
|
|
72
18
|
import { a as loadAgentIdentity, i as listAgentEntries, l as parseIdentityMarkdown, n as buildAgentSummaries, o as pruneAgentConfig, r as findAgentEntryIndex, s as identityHasValues, t as applyAgentConfig } from "./agents.config-Dvo2ULxs.js";
|
|
73
19
|
import path from "node:path";
|
|
@@ -806,4 +752,23 @@ async function agentsListCommand(opts, runtime = defaultRuntime) {
|
|
|
806
752
|
}
|
|
807
753
|
|
|
808
754
|
//#endregion
|
|
809
|
-
|
|
755
|
+
//#region src/commands/agents.ts
|
|
756
|
+
var agents_exports = /* @__PURE__ */ __exportAll({
|
|
757
|
+
agentsAddCommand: () => agentsAddCommand,
|
|
758
|
+
agentsDeleteCommand: () => agentsDeleteCommand,
|
|
759
|
+
agentsListCommand: () => agentsListCommand,
|
|
760
|
+
agentsSetIdentityCommand: () => agentsSetIdentityCommand,
|
|
761
|
+
applyAgentBindings: () => applyAgentBindings,
|
|
762
|
+
applyAgentConfig: () => applyAgentConfig,
|
|
763
|
+
buildAgentSummaries: () => buildAgentSummaries,
|
|
764
|
+
buildChannelBindings: () => buildChannelBindings,
|
|
765
|
+
describeBinding: () => describeBinding,
|
|
766
|
+
findAgentEntryIndex: () => findAgentEntryIndex,
|
|
767
|
+
listAgentEntries: () => listAgentEntries,
|
|
768
|
+
loadAgentIdentity: () => loadAgentIdentity,
|
|
769
|
+
parseBindingSpecs: () => parseBindingSpecs,
|
|
770
|
+
pruneAgentConfig: () => pruneAgentConfig
|
|
771
|
+
});
|
|
772
|
+
|
|
773
|
+
//#endregion
|
|
774
|
+
export { agentsAddCommand as a, agentsDeleteCommand as i, agentsListCommand as n, agentsSetIdentityCommand as r, agents_exports as t };
|
|
@@ -5,17 +5,17 @@ import { n as runExec } from "./exec-BizYYQgP.js";
|
|
|
5
5
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-OZi7lb8S.js";
|
|
6
6
|
import { i as loadWorkspaceSkillEntries } from "./skills-B5LQx4lT.js";
|
|
7
7
|
import { p as MANIFEST_KEY, s as normalizePluginsConfig } from "./manifest-registry-D4lM2RdV.js";
|
|
8
|
-
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-
|
|
8
|
+
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-C8rUDJXY.js";
|
|
9
9
|
import { t as GatewayClient } from "./client-C1avc0vD.js";
|
|
10
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
+
import { t as buildGatewayConnectionDetails } from "./call-BAHvlu2G.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-w4F2b2F6.js";
|
|
12
12
|
import { n as listChannelPlugins, r as normalizeChannelId } from "./plugins-CDJw924T.js";
|
|
13
|
-
import { a as resolveBrowserControlAuth, c as resolveProfile, s as resolveBrowserConfig } from "./server-context-
|
|
13
|
+
import { a as resolveBrowserControlAuth, c as resolveProfile, s as resolveBrowserConfig } from "./server-context-49XFFxFg.js";
|
|
14
14
|
import { i as resolveGatewayAuth } from "./auth-lZ26wsbN.js";
|
|
15
15
|
import { n as formatErrorMessage } from "./errors-CHow2wtt.js";
|
|
16
|
-
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-
|
|
17
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
18
|
-
import { n as isToolAllowedByPolicies } from "./pi-tools.policy-
|
|
16
|
+
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-BIGfMYEI.js";
|
|
17
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-DmOzxcuk.js";
|
|
18
|
+
import { n as isToolAllowedByPolicies } from "./pi-tools.policy-DSHkkb5b.js";
|
|
19
19
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-5ObDWy1N.js";
|
|
20
20
|
import { t as resolveChannelDefaultAccountId } from "./helpers-ZKNRexvX.js";
|
|
21
21
|
import { n as extensionUsesSkippedScannerPath, r as isPathInside, t as scanDirectoryWithSummary } from "./skill-scanner-CkaVLABv.js";
|
|
@@ -3,19 +3,19 @@ import { l as normalizeAgentId } from "./session-key-DxcgHezu.js";
|
|
|
3
3
|
import { n as runExec } from "./exec-Bv3pyjeM.js";
|
|
4
4
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-V1bi9OYL.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DELazozB.js";
|
|
6
|
-
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-
|
|
6
|
+
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-SY8M0kM_.js";
|
|
7
7
|
import { a as MANIFEST_KEY, l as normalizePluginsConfig } from "./manifest-registry-CW1zCyRF.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-Cojm0Kl7.js";
|
|
9
|
-
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-
|
|
9
|
+
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-DxP3IpUP.js";
|
|
10
10
|
import { i as resolveGatewayAuth } from "./auth-91o2YM96.js";
|
|
11
|
-
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-
|
|
11
|
+
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-LrlgrZzS.js";
|
|
12
12
|
import { i as loadWorkspaceSkillEntries } from "./skills-B-G7UHOa.js";
|
|
13
13
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-dSTVVCyX.js";
|
|
14
14
|
import { n as listChannelPlugins, r as normalizeChannelId } from "./plugins-CmSUIUNi.js";
|
|
15
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
15
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-DJz_9Gv0.js";
|
|
16
16
|
import { t as GatewayClient } from "./client-CC94YZrT.js";
|
|
17
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
-
import { n as isToolAllowedByPolicies } from "./pi-tools.policy-
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-Ct7EGP_L.js";
|
|
18
|
+
import { n as isToolAllowedByPolicies } from "./pi-tools.policy-D81U5xy0.js";
|
|
19
19
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-Jwr7jqNw.js";
|
|
20
20
|
import { t as resolveChannelDefaultAccountId } from "./helpers-eJFa4K6r.js";
|
|
21
21
|
import { n as extensionUsesSkippedScannerPath, r as isPathInside, t as scanDirectoryWithSummary } from "./skill-scanner-Coo4QoCd.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { _ as resolveConfigDir, l as escapeRegExp } from "./utils-Bsw__U-F.js";
|
|
2
2
|
import { a as resolveAgentModelPrimary, c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-V1bi9OYL.js";
|
|
3
|
-
import { A as SYNTHETIC_DEFAULT_MODEL_REF, At as DEFAULT_PROVIDER, C as VENICE_DEFAULT_MODEL_REF, P as getCustomProviderApiKey, R as resolveEnvApiKey, X as isHuggingfacePolicyLocked, Y as discoverHuggingfaceModels, Z as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, at as CHUTES_AUTHORIZE_ENDPOINT, ct as parseOAuthCallbackInput, d as resolveAllowlistModelKey, f as resolveConfiguredModelRef, ft as upsertAuthProfile, kt as DEFAULT_MODEL, mt as ensureAuthProfileStore, ot as exchangeChutesCodeForTokens, pt as upsertAuthProfileWithLock, st as generateChutesPkce, tt as resolveAuthProfileOrder, ut as listProfilesForProvider, yt as resolveAnimaAgentDir } from "./model-selection-
|
|
3
|
+
import { A as SYNTHETIC_DEFAULT_MODEL_REF, At as DEFAULT_PROVIDER, C as VENICE_DEFAULT_MODEL_REF, P as getCustomProviderApiKey, R as resolveEnvApiKey, X as isHuggingfacePolicyLocked, Y as discoverHuggingfaceModels, Z as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, at as CHUTES_AUTHORIZE_ENDPOINT, ct as parseOAuthCallbackInput, d as resolveAllowlistModelKey, f as resolveConfiguredModelRef, ft as upsertAuthProfile, kt as DEFAULT_MODEL, mt as ensureAuthProfileStore, ot as exchangeChutesCodeForTokens, pt as upsertAuthProfileWithLock, st as generateChutesPkce, tt as resolveAuthProfileOrder, ut as listProfilesForProvider, yt as resolveAnimaAgentDir } from "./model-selection-YcSr9CgC.js";
|
|
4
4
|
import { p as fetchWithTimeout } from "./polls-CItfB1H8.js";
|
|
5
|
-
import { en as loadModelCatalog } from "./cli-session-
|
|
5
|
+
import { en as loadModelCatalog } from "./cli-session-BkPTd9Pk.js";
|
|
6
6
|
import { r as isLoopbackHost } from "./ws-COSqlEPx.js";
|
|
7
|
-
import { a as enablePluginInConfig } from "./onboard-channels-
|
|
8
|
-
import { d as openUrl } from "./onboard-helpers-
|
|
9
|
-
import { $ as XIAOMI_DEFAULT_MODEL_REF, A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as XAI_DEFAULT_MODEL_REF, D as applyOpenrouterProviderConfig, Dt as ZAI_GLOBAL_BASE_URL, E as applyOpenrouterConfig, Et as ZAI_CODING_GLOBAL_BASE_URL, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as HUGGINGFACE_DEFAULT_MODEL_REF, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as buildTokenProfileId, P as applyVeniceConfig, Q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as QIANFAN_DEFAULT_MODEL_REF, T as applyMoonshotProviderConfigCn, Tt as ZAI_CODING_CN_BASE_URL, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as OPENROUTER_DEFAULT_MODEL_REF, Y as LITELLM_DEFAULT_MODEL_REF, Z as TOGETHER_DEFAULT_MODEL_REF, _ as applyAuthProfileConfig, _t as setXiaomiApiKey, a as resolveProviderMatch, at as setKimiCodingApiKey, b as applyKimiCodeConfig, bt as KIMI_CODING_MODEL_REF, c as resolvePluginProviders, ct as setMoonshotApiKey, d as applyMinimaxApiConfig, dt as setQianfanApiKey, et as ZAI_DEFAULT_MODEL_REF, f as applyMinimaxApiConfigCn, ft as setSyntheticApiKey, g as applyMinimaxProviderConfig, gt as setXaiApiKey, h as applyMinimaxConfig, ht as setVercelAiGatewayApiKey, i as pickAuthMethod, it as setHuggingfaceApiKey, j as applySyntheticProviderConfig, k as applyQianfanProviderConfig, kt as validateAnthropicSetupToken, l as applyOpencodeZenConfig, lt as setOpencodeZenApiKey, m as applyMinimaxApiProviderConfigCn, mt as setVeniceApiKey, n as applyDefaultModel, nt as setCloudflareAiGatewayConfig, o as createVpsAwareOAuthHandlers, ot as setLitellmApiKey, p as applyMinimaxApiProviderConfig, pt as setTogetherApiKey, q as applyVercelAiGatewayProviderConfig, r as mergeConfigPatch, rt as setGeminiApiKey, s as isRemoteEnvironment, st as setMinimaxApiKey, t as githubCopilotLoginCommand, tt as setAnthropicApiKey, u as applyOpencodeZenProviderConfig, ut as setOpenrouterApiKey, vt as setZaiApiKey, w as applyMoonshotProviderConfig, wt as ZAI_CN_BASE_URL, x as applyKimiCodeProviderConfig, xt as MOONSHOT_DEFAULT_MODEL_REF, y as applyHuggingfaceProviderConfig, yt as writeOAuthCredentials, z as applyXiaomiProviderConfig } from "./github-copilot-auth-
|
|
7
|
+
import { a as enablePluginInConfig } from "./onboard-channels-Cg_EkBa4.js";
|
|
8
|
+
import { d as openUrl } from "./onboard-helpers-_XgJgeqh.js";
|
|
9
|
+
import { $ as XIAOMI_DEFAULT_MODEL_REF, A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as XAI_DEFAULT_MODEL_REF, D as applyOpenrouterProviderConfig, Dt as ZAI_GLOBAL_BASE_URL, E as applyOpenrouterConfig, Et as ZAI_CODING_GLOBAL_BASE_URL, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as HUGGINGFACE_DEFAULT_MODEL_REF, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as buildTokenProfileId, P as applyVeniceConfig, Q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as QIANFAN_DEFAULT_MODEL_REF, T as applyMoonshotProviderConfigCn, Tt as ZAI_CODING_CN_BASE_URL, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as OPENROUTER_DEFAULT_MODEL_REF, Y as LITELLM_DEFAULT_MODEL_REF, Z as TOGETHER_DEFAULT_MODEL_REF, _ as applyAuthProfileConfig, _t as setXiaomiApiKey, a as resolveProviderMatch, at as setKimiCodingApiKey, b as applyKimiCodeConfig, bt as KIMI_CODING_MODEL_REF, c as resolvePluginProviders, ct as setMoonshotApiKey, d as applyMinimaxApiConfig, dt as setQianfanApiKey, et as ZAI_DEFAULT_MODEL_REF, f as applyMinimaxApiConfigCn, ft as setSyntheticApiKey, g as applyMinimaxProviderConfig, gt as setXaiApiKey, h as applyMinimaxConfig, ht as setVercelAiGatewayApiKey, i as pickAuthMethod, it as setHuggingfaceApiKey, j as applySyntheticProviderConfig, k as applyQianfanProviderConfig, kt as validateAnthropicSetupToken, l as applyOpencodeZenConfig, lt as setOpencodeZenApiKey, m as applyMinimaxApiProviderConfigCn, mt as setVeniceApiKey, n as applyDefaultModel, nt as setCloudflareAiGatewayConfig, o as createVpsAwareOAuthHandlers, ot as setLitellmApiKey, p as applyMinimaxApiProviderConfig, pt as setTogetherApiKey, q as applyVercelAiGatewayProviderConfig, r as mergeConfigPatch, rt as setGeminiApiKey, s as isRemoteEnvironment, st as setMinimaxApiKey, t as githubCopilotLoginCommand, tt as setAnthropicApiKey, u as applyOpencodeZenProviderConfig, ut as setOpenrouterApiKey, vt as setZaiApiKey, w as applyMoonshotProviderConfig, wt as ZAI_CN_BASE_URL, x as applyKimiCodeProviderConfig, xt as MOONSHOT_DEFAULT_MODEL_REF, y as applyHuggingfaceProviderConfig, yt as writeOAuthCredentials, z as applyXiaomiProviderConfig } from "./github-copilot-auth-C9E0IROs.js";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { $ as SYNTHETIC_DEFAULT_MODEL_REF, Dt as DEFAULT_PROVIDER, Et as DEFAULT_MODEL, F as resolveConfiguredModelRef, K as VENICE_DEFAULT_MODEL_REF, P as resolveAllowlistModelKey, St as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, b as resolveAnimaAgentDir, bt as discoverHuggingfaceModels, c as generateChutesPkce, d as listProfilesForProvider, h as ensureAuthProfileStore, l as parseOAuthCallbackInput, m as upsertAuthProfileWithLock, n as resolveAuthProfileOrder, o as CHUTES_AUTHORIZE_ENDPOINT, p as upsertAuthProfile, rt as getCustomProviderApiKey, s as exchangeChutesCodeForTokens, st as resolveEnvApiKey, xt as isHuggingfacePolicyLocked } from "./auth-profiles-
|
|
1
|
+
import { $ as SYNTHETIC_DEFAULT_MODEL_REF, Dt as DEFAULT_PROVIDER, Et as DEFAULT_MODEL, F as resolveConfiguredModelRef, K as VENICE_DEFAULT_MODEL_REF, P as resolveAllowlistModelKey, St as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, b as resolveAnimaAgentDir, bt as discoverHuggingfaceModels, c as generateChutesPkce, d as listProfilesForProvider, h as ensureAuthProfileStore, l as parseOAuthCallbackInput, m as upsertAuthProfileWithLock, n as resolveAuthProfileOrder, o as CHUTES_AUTHORIZE_ENDPOINT, p as upsertAuthProfile, rt as getCustomProviderApiKey, s as exchangeChutesCodeForTokens, st as resolveEnvApiKey, xt as isHuggingfacePolicyLocked } from "./auth-profiles-DxI8L7bs.js";
|
|
2
2
|
import { c as escapeRegExp, g as resolveConfigDir } from "./utils-C9sj30YY.js";
|
|
3
3
|
import { a as resolveAgentModelPrimary, c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-OZi7lb8S.js";
|
|
4
4
|
import { n as isLoopbackHost } from "./net-B5lXhYLV.js";
|
|
5
5
|
import { c as fetchWithTimeout } from "./media-THyainiE.js";
|
|
6
|
-
import { Yt as loadModelCatalog } from "./cli-session-
|
|
7
|
-
import { a as enablePluginInConfig } from "./onboard-channels-
|
|
8
|
-
import { d as openUrl } from "./onboard-helpers-
|
|
9
|
-
import { $ as XIAOMI_DEFAULT_MODEL_REF, A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as XAI_DEFAULT_MODEL_REF, D as applyOpenrouterProviderConfig, Dt as ZAI_GLOBAL_BASE_URL, E as applyOpenrouterConfig, Et as ZAI_CODING_GLOBAL_BASE_URL, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as HUGGINGFACE_DEFAULT_MODEL_REF, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as buildTokenProfileId, P as applyVeniceConfig, Q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as QIANFAN_DEFAULT_MODEL_REF, T as applyMoonshotProviderConfigCn, Tt as ZAI_CODING_CN_BASE_URL, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as OPENROUTER_DEFAULT_MODEL_REF, Y as LITELLM_DEFAULT_MODEL_REF, Z as TOGETHER_DEFAULT_MODEL_REF, _ as applyAuthProfileConfig, _t as setXiaomiApiKey, a as resolveProviderMatch, at as setKimiCodingApiKey, b as applyKimiCodeConfig, bt as KIMI_CODING_MODEL_REF, c as resolvePluginProviders, ct as setMoonshotApiKey, d as applyMinimaxApiConfig, dt as setQianfanApiKey, et as ZAI_DEFAULT_MODEL_REF, f as applyMinimaxApiConfigCn, ft as setSyntheticApiKey, g as applyMinimaxProviderConfig, gt as setXaiApiKey, h as applyMinimaxConfig, ht as setVercelAiGatewayApiKey, i as pickAuthMethod, it as setHuggingfaceApiKey, j as applySyntheticProviderConfig, k as applyQianfanProviderConfig, kt as validateAnthropicSetupToken, l as applyOpencodeZenConfig, lt as setOpencodeZenApiKey, m as applyMinimaxApiProviderConfigCn, mt as setVeniceApiKey, n as applyDefaultModel, nt as setCloudflareAiGatewayConfig, o as createVpsAwareOAuthHandlers, ot as setLitellmApiKey, p as applyMinimaxApiProviderConfig, pt as setTogetherApiKey, q as applyVercelAiGatewayProviderConfig, r as mergeConfigPatch, rt as setGeminiApiKey, s as isRemoteEnvironment, st as setMinimaxApiKey, t as githubCopilotLoginCommand, tt as setAnthropicApiKey, u as applyOpencodeZenProviderConfig, ut as setOpenrouterApiKey, vt as setZaiApiKey, w as applyMoonshotProviderConfig, wt as ZAI_CN_BASE_URL, x as applyKimiCodeProviderConfig, xt as MOONSHOT_DEFAULT_MODEL_REF, y as applyHuggingfaceProviderConfig, yt as writeOAuthCredentials, z as applyXiaomiProviderConfig } from "./github-copilot-auth-
|
|
6
|
+
import { Yt as loadModelCatalog } from "./cli-session-Dd8DKb5a.js";
|
|
7
|
+
import { a as enablePluginInConfig } from "./onboard-channels-D7NbA55V.js";
|
|
8
|
+
import { d as openUrl } from "./onboard-helpers-DO_hgZb9.js";
|
|
9
|
+
import { $ as XIAOMI_DEFAULT_MODEL_REF, A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as XAI_DEFAULT_MODEL_REF, D as applyOpenrouterProviderConfig, Dt as ZAI_GLOBAL_BASE_URL, E as applyOpenrouterConfig, Et as ZAI_CODING_GLOBAL_BASE_URL, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as HUGGINGFACE_DEFAULT_MODEL_REF, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as buildTokenProfileId, P as applyVeniceConfig, Q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as QIANFAN_DEFAULT_MODEL_REF, T as applyMoonshotProviderConfigCn, Tt as ZAI_CODING_CN_BASE_URL, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as OPENROUTER_DEFAULT_MODEL_REF, Y as LITELLM_DEFAULT_MODEL_REF, Z as TOGETHER_DEFAULT_MODEL_REF, _ as applyAuthProfileConfig, _t as setXiaomiApiKey, a as resolveProviderMatch, at as setKimiCodingApiKey, b as applyKimiCodeConfig, bt as KIMI_CODING_MODEL_REF, c as resolvePluginProviders, ct as setMoonshotApiKey, d as applyMinimaxApiConfig, dt as setQianfanApiKey, et as ZAI_DEFAULT_MODEL_REF, f as applyMinimaxApiConfigCn, ft as setSyntheticApiKey, g as applyMinimaxProviderConfig, gt as setXaiApiKey, h as applyMinimaxConfig, ht as setVercelAiGatewayApiKey, i as pickAuthMethod, it as setHuggingfaceApiKey, j as applySyntheticProviderConfig, k as applyQianfanProviderConfig, kt as validateAnthropicSetupToken, l as applyOpencodeZenConfig, lt as setOpencodeZenApiKey, m as applyMinimaxApiProviderConfigCn, mt as setVeniceApiKey, n as applyDefaultModel, nt as setCloudflareAiGatewayConfig, o as createVpsAwareOAuthHandlers, ot as setLitellmApiKey, p as applyMinimaxApiProviderConfig, pt as setTogetherApiKey, q as applyVercelAiGatewayProviderConfig, r as mergeConfigPatch, rt as setGeminiApiKey, s as isRemoteEnvironment, st as setMinimaxApiKey, t as githubCopilotLoginCommand, tt as setAnthropicApiKey, u as applyOpencodeZenProviderConfig, ut as setOpenrouterApiKey, vt as setZaiApiKey, w as applyMoonshotProviderConfig, wt as ZAI_CN_BASE_URL, x as applyKimiCodeProviderConfig, xt as MOONSHOT_DEFAULT_MODEL_REF, y as applyHuggingfaceProviderConfig, yt as writeOAuthCredentials, z as applyXiaomiProviderConfig } from "./github-copilot-auth-4IUFp669.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
@@ -10,7 +10,6 @@ import path from "node:path";
|
|
|
10
10
|
import fs$1 from "node:fs";
|
|
11
11
|
import { execFileSync, execSync } from "node:child_process";
|
|
12
12
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
13
|
-
import "@aws-sdk/client-bedrock";
|
|
14
13
|
import { getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
15
14
|
|
|
16
15
|
//#region src/agents/auth-profiles/constants.ts
|
|
@@ -8,7 +8,6 @@ import { execFileSync, execSync } from "node:child_process";
|
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import fs$1 from "node:fs/promises";
|
|
11
|
-
import "@aws-sdk/client-bedrock";
|
|
12
11
|
import { getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
13
12
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
14
13
|
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
3
|
+
import * as fs$1 from "node:fs";
|
|
4
|
+
import * as path$1 from "node:path";
|
|
5
|
+
import { execFile, spawn } from "node:child_process";
|
|
6
|
+
import { EventEmitter } from "node:events";
|
|
7
|
+
|
|
8
|
+
//#region src/updater/auto-update.ts
|
|
9
|
+
/**
|
|
10
|
+
* Auto-Updater -- checks npm for new versions and updates @noxsoft/anima.
|
|
11
|
+
*
|
|
12
|
+
* Runs on a configurable interval (default: every 6 hours).
|
|
13
|
+
* Uses the npm registry HTTP API (no CLI dependency for checking)
|
|
14
|
+
* to detect new versions, then installs via `npm install -g` and
|
|
15
|
+
* optionally restarts by spawning the new binary.
|
|
16
|
+
*
|
|
17
|
+
* Supports 'stable' (latest) and 'beta' dist-tag channels.
|
|
18
|
+
*/
|
|
19
|
+
var auto_update_exports = /* @__PURE__ */ __exportAll({
|
|
20
|
+
AnimaAutoUpdater: () => AnimaAutoUpdater,
|
|
21
|
+
DEFAULT_AUTO_UPDATE_CONFIG: () => DEFAULT_AUTO_UPDATE_CONFIG,
|
|
22
|
+
loadAutoUpdateConfig: () => loadAutoUpdateConfig
|
|
23
|
+
});
|
|
24
|
+
const PACKAGE_NAME = "@noxsoft/anima";
|
|
25
|
+
const REGISTRY_BASE = "https://registry.npmjs.org";
|
|
26
|
+
const DEFAULT_AUTO_UPDATE_CONFIG = {
|
|
27
|
+
enabled: true,
|
|
28
|
+
checkIntervalHours: 6,
|
|
29
|
+
autoRestart: false,
|
|
30
|
+
channel: "stable"
|
|
31
|
+
};
|
|
32
|
+
var AnimaAutoUpdater = class extends EventEmitter {
|
|
33
|
+
constructor(config, dataDir) {
|
|
34
|
+
super();
|
|
35
|
+
this.checkTimer = null;
|
|
36
|
+
this.checking = false;
|
|
37
|
+
this.lastCheckTime = null;
|
|
38
|
+
this.lastUpdateInfo = null;
|
|
39
|
+
this.config = config;
|
|
40
|
+
this.currentVersion = this.readCurrentVersion();
|
|
41
|
+
this.logFile = path$1.join(dataDir, "updates.log");
|
|
42
|
+
fs$1.mkdirSync(dataDir, { recursive: true });
|
|
43
|
+
}
|
|
44
|
+
/** Start the periodic update check loop. */
|
|
45
|
+
start() {
|
|
46
|
+
if (!this.config.enabled) return;
|
|
47
|
+
this.check();
|
|
48
|
+
const intervalMs = this.config.checkIntervalHours * 60 * 60 * 1e3;
|
|
49
|
+
this.checkTimer = setInterval(() => void this.check(), intervalMs);
|
|
50
|
+
}
|
|
51
|
+
/** Stop the update check loop. */
|
|
52
|
+
stop() {
|
|
53
|
+
if (this.checkTimer) {
|
|
54
|
+
clearInterval(this.checkTimer);
|
|
55
|
+
this.checkTimer = null;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
/** Get the current installed version. */
|
|
59
|
+
getVersion() {
|
|
60
|
+
return this.currentVersion;
|
|
61
|
+
}
|
|
62
|
+
/** Get the last check time. */
|
|
63
|
+
getLastCheckTime() {
|
|
64
|
+
return this.lastCheckTime;
|
|
65
|
+
}
|
|
66
|
+
/** Get the last update info (if an update was found). */
|
|
67
|
+
getLastUpdateInfo() {
|
|
68
|
+
return this.lastUpdateInfo;
|
|
69
|
+
}
|
|
70
|
+
/** Get the current config. */
|
|
71
|
+
getConfig() {
|
|
72
|
+
return { ...this.config };
|
|
73
|
+
}
|
|
74
|
+
/** Manually trigger an update check. Returns info if update found, null otherwise. */
|
|
75
|
+
async check() {
|
|
76
|
+
if (this.checking) return null;
|
|
77
|
+
this.checking = true;
|
|
78
|
+
try {
|
|
79
|
+
const tag = this.config.channel === "beta" ? "beta" : "latest";
|
|
80
|
+
const latestVersion = await this.fetchLatestVersion(tag);
|
|
81
|
+
this.lastCheckTime = /* @__PURE__ */ new Date();
|
|
82
|
+
if (!latestVersion) return null;
|
|
83
|
+
if (this.isNewer(latestVersion, this.currentVersion)) {
|
|
84
|
+
const info = {
|
|
85
|
+
currentVersion: this.currentVersion,
|
|
86
|
+
latestVersion,
|
|
87
|
+
channel: this.config.channel,
|
|
88
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
89
|
+
};
|
|
90
|
+
this.lastUpdateInfo = info;
|
|
91
|
+
this.emit("update-available", info);
|
|
92
|
+
this.log(`Update available: ${this.currentVersion} -> ${latestVersion}`);
|
|
93
|
+
if (this.config.autoRestart) {
|
|
94
|
+
await this.installUpdate(latestVersion);
|
|
95
|
+
this.log(`Update installed: ${latestVersion}`);
|
|
96
|
+
this.emit("update-installed", info);
|
|
97
|
+
this.restartProcess();
|
|
98
|
+
}
|
|
99
|
+
return info;
|
|
100
|
+
}
|
|
101
|
+
this.lastUpdateInfo = null;
|
|
102
|
+
return null;
|
|
103
|
+
} catch (error) {
|
|
104
|
+
const msg = error instanceof Error ? error.message : String(error);
|
|
105
|
+
this.log(`Update check failed: ${msg}`);
|
|
106
|
+
this.emit("update-error", error);
|
|
107
|
+
return null;
|
|
108
|
+
} finally {
|
|
109
|
+
this.checking = false;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Install the latest version and restart (for manual `anima update` / `:update install`).
|
|
114
|
+
* Returns the UpdateInfo if an update was installed, null if already current.
|
|
115
|
+
*/
|
|
116
|
+
async installAndRestart() {
|
|
117
|
+
const tag = this.config.channel === "beta" ? "beta" : "latest";
|
|
118
|
+
const latestVersion = await this.fetchLatestVersion(tag);
|
|
119
|
+
if (!latestVersion) {
|
|
120
|
+
this.log("No version found on npm -- package may not be published yet.");
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
if (!this.isNewer(latestVersion, this.currentVersion)) return null;
|
|
124
|
+
const info = {
|
|
125
|
+
currentVersion: this.currentVersion,
|
|
126
|
+
latestVersion,
|
|
127
|
+
channel: this.config.channel,
|
|
128
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
129
|
+
};
|
|
130
|
+
await this.installUpdate(latestVersion);
|
|
131
|
+
this.log(`Update installed: ${latestVersion}`);
|
|
132
|
+
this.emit("update-installed", info);
|
|
133
|
+
return info;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Fetch the latest version from the npm registry HTTP API.
|
|
137
|
+
* Uses fetch -- no npm CLI needed for checking.
|
|
138
|
+
*
|
|
139
|
+
* For the 'stable' channel, fetches the 'latest' dist-tag.
|
|
140
|
+
* For the 'beta' channel, fetches the 'beta' dist-tag.
|
|
141
|
+
*/
|
|
142
|
+
async fetchLatestVersion(tag) {
|
|
143
|
+
try {
|
|
144
|
+
const url = `${REGISTRY_BASE}/${encodeURIComponent(PACKAGE_NAME)}/${tag}`;
|
|
145
|
+
const response = await fetch(url, {
|
|
146
|
+
headers: { Accept: "application/json" },
|
|
147
|
+
signal: AbortSignal.timeout(15e3)
|
|
148
|
+
});
|
|
149
|
+
if (!response.ok) {
|
|
150
|
+
if (response.status === 404) return null;
|
|
151
|
+
return null;
|
|
152
|
+
}
|
|
153
|
+
return (await response.json()).version ?? null;
|
|
154
|
+
} catch {
|
|
155
|
+
return null;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
/** Install the specified version via npm. */
|
|
159
|
+
installUpdate(version) {
|
|
160
|
+
return new Promise((resolve, reject) => {
|
|
161
|
+
const thisDir = path$1.dirname(fileURLToPath(import.meta.url));
|
|
162
|
+
const isGlobal = thisDir.includes("/lib/node_modules/") || thisDir.includes("\\node_modules\\");
|
|
163
|
+
execFile("npm", isGlobal ? [
|
|
164
|
+
"install",
|
|
165
|
+
"-g",
|
|
166
|
+
`${PACKAGE_NAME}@${version}`
|
|
167
|
+
] : ["install", `${PACKAGE_NAME}@${version}`], {
|
|
168
|
+
timeout: 12e4,
|
|
169
|
+
cwd: isGlobal ? void 0 : this.findProjectRoot(thisDir) ?? void 0
|
|
170
|
+
}, (error) => {
|
|
171
|
+
if (error) {
|
|
172
|
+
reject(/* @__PURE__ */ new Error(`Failed to install update: ${error.message}`));
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
resolve();
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Restart the process by spawning the anima binary.
|
|
181
|
+
* This launches a new process and exits the current one.
|
|
182
|
+
*/
|
|
183
|
+
restartProcess() {
|
|
184
|
+
this.log("Restarting with updated binary...");
|
|
185
|
+
if (!process.argv[1]) {
|
|
186
|
+
this.log("Cannot determine binary path for restart -- manual restart required.");
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
const args = process.argv.slice(1);
|
|
190
|
+
try {
|
|
191
|
+
spawn(process.execPath, args, {
|
|
192
|
+
detached: true,
|
|
193
|
+
stdio: "inherit"
|
|
194
|
+
}).unref();
|
|
195
|
+
process.exit(0);
|
|
196
|
+
} catch (error) {
|
|
197
|
+
const msg = error instanceof Error ? error.message : String(error);
|
|
198
|
+
this.log(`Restart failed: ${msg} -- manual restart required.`);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
/** Read the current package version from package.json. */
|
|
202
|
+
readCurrentVersion() {
|
|
203
|
+
try {
|
|
204
|
+
let dir = path$1.dirname(fileURLToPath(import.meta.url));
|
|
205
|
+
for (let i = 0; i < 5; i++) {
|
|
206
|
+
const pkgPath = path$1.join(dir, "package.json");
|
|
207
|
+
if (fs$1.existsSync(pkgPath)) {
|
|
208
|
+
const pkg = JSON.parse(fs$1.readFileSync(pkgPath, "utf-8"));
|
|
209
|
+
if (pkg.name === PACKAGE_NAME) return pkg.version ?? "0.0.0";
|
|
210
|
+
}
|
|
211
|
+
dir = path$1.dirname(dir);
|
|
212
|
+
}
|
|
213
|
+
} catch {}
|
|
214
|
+
return "0.0.0";
|
|
215
|
+
}
|
|
216
|
+
/** Compare semver strings. Returns true if `a` is newer than `b`. */
|
|
217
|
+
isNewer(a, b) {
|
|
218
|
+
const parse = (v) => v.replace(/[^0-9.]/g, "").split(".").map(Number);
|
|
219
|
+
const [aMajor = 0, aMinor = 0, aPatch = 0] = parse(a);
|
|
220
|
+
const [bMajor = 0, bMinor = 0, bPatch = 0] = parse(b);
|
|
221
|
+
if (aMajor !== bMajor) return aMajor > bMajor;
|
|
222
|
+
if (aMinor !== bMinor) return aMinor > bMinor;
|
|
223
|
+
return aPatch > bPatch;
|
|
224
|
+
}
|
|
225
|
+
/** Find the nearest ancestor directory containing package.json. */
|
|
226
|
+
findProjectRoot(startDir) {
|
|
227
|
+
let dir = startDir;
|
|
228
|
+
for (let i = 0; i < 10; i++) {
|
|
229
|
+
const pkgPath = path$1.join(dir, "package.json");
|
|
230
|
+
if (fs$1.existsSync(pkgPath)) {
|
|
231
|
+
if (JSON.parse(fs$1.readFileSync(pkgPath, "utf-8")).name !== PACKAGE_NAME) return dir;
|
|
232
|
+
}
|
|
233
|
+
const parent = path$1.dirname(dir);
|
|
234
|
+
if (parent === dir) break;
|
|
235
|
+
dir = parent;
|
|
236
|
+
}
|
|
237
|
+
return null;
|
|
238
|
+
}
|
|
239
|
+
/** Append a log entry to the updates log file. */
|
|
240
|
+
log(message) {
|
|
241
|
+
const line = `[${(/* @__PURE__ */ new Date()).toISOString()}] ${message}\n`;
|
|
242
|
+
try {
|
|
243
|
+
fs$1.appendFileSync(this.logFile, line);
|
|
244
|
+
} catch {}
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* Load auto-update config from ~/.anima/anima.json.
|
|
249
|
+
* Falls back to defaults if the file doesn't exist or the key is missing.
|
|
250
|
+
*/
|
|
251
|
+
function loadAutoUpdateConfig() {
|
|
252
|
+
const configPath = path$1.join(process.env.HOME || process.env.USERPROFILE || ".", ".anima", "anima.json");
|
|
253
|
+
try {
|
|
254
|
+
if (fs$1.existsSync(configPath)) {
|
|
255
|
+
const raw = fs$1.readFileSync(configPath, "utf-8");
|
|
256
|
+
const parsed = JSON.parse(raw);
|
|
257
|
+
if (parsed.autoUpdate) return {
|
|
258
|
+
enabled: parsed.autoUpdate.enabled ?? DEFAULT_AUTO_UPDATE_CONFIG.enabled,
|
|
259
|
+
checkIntervalHours: parsed.autoUpdate.checkIntervalHours ?? DEFAULT_AUTO_UPDATE_CONFIG.checkIntervalHours,
|
|
260
|
+
autoRestart: parsed.autoUpdate.autoRestart ?? DEFAULT_AUTO_UPDATE_CONFIG.autoRestart,
|
|
261
|
+
channel: parsed.autoUpdate.channel === "beta" ? "beta" : "stable"
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
} catch {}
|
|
265
|
+
return { ...DEFAULT_AUTO_UPDATE_CONFIG };
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
//#endregion
|
|
269
|
+
export { auto_update_exports as n, loadAutoUpdateConfig as r, AnimaAutoUpdater as t };
|