@noxsoft/anima 2.1.0 → 3.0.1
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/CHANGELOG.md +36 -1
- package/dist/{accounts-CGzuQdAx.js → accounts-ZMhj636e.js} +38 -38
- package/dist/{acp-cli-B91vBbbX.js → acp-cli-CcOE2A2i.js} +4 -4
- package/dist/{acp-cli-C2nYnQx-.js → acp-cli-PhWp41mc.js} +5 -5
- package/dist/{agent-Bd6Zpqnq.js → agent-CT2PCft4.js} +9 -9
- package/dist/{agent-CoxwYg20.js → agent-DvWSUuKy.js} +8 -8
- package/dist/{agent-events-BVc91Gjk.js → agent-events-iR_gRjZA.js} +2 -2
- package/dist/{agent-scope-BoQtElEh.js → agent-scope-DWKQJUUZ.js} +3 -3
- package/dist/{agent-scope-CuAaArMB.js → agent-scope-M302b8FW.js} +3 -1
- package/dist/{agent-scope-kT_pK2eJ.js → agent-scope-vpVhWds3.js} +3 -1
- package/dist/{agents-ERV83c8T.js → agents-DAg3VWr9.js} +9 -9
- package/dist/{agents.config-Bar8RHWv.js → agents.config-Dqcq7hEy.js} +1 -1
- package/dist/{agents.config-CvQgWymp.js → agents.config-M3p4E9Vk.js} +1 -1
- package/dist/{audit-C4pngOZo.js → audit-BDXqNA5J.js} +6 -6
- package/dist/{audit-94c4PKy2.js → audit-Cm50mcVm.js} +7 -7
- package/dist/{auth-choice-RnqXSEZo.js → auth-choice-CPDNhDPT.js} +145 -7
- package/dist/{auth-health-C2V2unOG.js → auth-health-C0g38cq2.js} +1 -1
- package/dist/{auth-profiles-DNpEm389.js → auth-profiles-BYETsqKc.js} +1 -1
- package/dist/{auth-profiles-DxPI9Swi.js → auth-profiles-BqrAPweI.js} +9 -9
- package/dist/{auth-profiles-CzyebTC0.js → auth-profiles-DZS4PC_i.js} +1 -1
- package/dist/{auth-store-vxi4ZPnZ.js → auth-store-eNVxoq_h.js} +13 -13
- package/dist/{auto-update-CFjmeMj2.js → auto-update-D5cnVgXE.js} +10 -4
- package/dist/{auto-update-Ct6OO4xu.js → auto-update-DYjBYplz.js} +10 -4
- package/dist/{banner-D3viiyMP.js → banner-CcUSTTQw.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +22 -22
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-CItRp_pr.js → call-C0Yk2qNb.js} +2 -2
- package/dist/{call-DxImJH07.js → call-LugHQWOF.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-web-DbqT9emt.js → channel-web-Co4IvTdB.js} +10 -10
- package/dist/{chrome-CVfcErE4.js → chrome-_87P03u5.js} +7 -7
- package/dist/{chrome-C1KpzLwu.js → chrome-s7nTgmbn.js} +12 -12
- package/dist/{chunk-B7HJmFUg.js → chunk-lDG_8LI5.js} +2 -2
- package/dist/{clack-prompter-DzyUpdYc.js → clack-prompter-1d_RjjVW.js} +1 -1
- package/dist/{clack-prompter-DGILBk0Q.js → clack-prompter-DXovYg0Q.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CIqM2CiL.js → cli-4D3JIGFt.js} +21 -21
- package/dist/{cli-D3fgTPqQ.js → cli-BkI8EYn3.js} +22 -22
- package/dist/{cli-session-C5q6Uryq.js → cli-session-CIhvoVRb.js} +55 -7
- package/dist/{cli-session-DQ9kepDS.js → cli-session-CJ4_a3AU.js} +56 -8
- package/dist/{client-oEG5cM5Q.js → client-BM5PkIwQ.js} +3 -3
- package/dist/{command-registry-S2ZqFzVe.js → command-registry-Cl3Z-qsS.js} +10 -10
- package/dist/{commands-C8xFlkZx.js → commands-BsZdF-6N.js} +1 -1
- package/dist/{commands-Cd2w9dmK.js → commands-quS1zRPr.js} +1 -1
- package/dist/{common-DgcMt-pi.js → common-DbouukNi.js} +2 -2
- package/dist/{completion-cli-BHlamZC3.js → completion-cli-BB3_g8w5.js} +1 -1
- package/dist/{completion-cli-CC0KmaZL.js → completion-cli-DcTEhrAe.js} +2 -2
- package/dist/{config-CaE6v09P.js → config-6zE4ZkSF.js} +2 -2
- package/dist/{config-Bda-8Rdh.js → config-9JRRXykP.js} +2 -2
- package/dist/{config-BEiShGVB.js → config-H_VHtPeY.js} +27 -27
- package/dist/{config-cli-DtJe8KPs.js → config-cli-DCNRWoyW.js} +4 -4
- package/dist/{config-cli-CEU2oLOH.js → config-cli-VB37XAkf.js} +4 -4
- package/dist/{config-guard-CQWaFJGt.js → config-guard-BUrJR68X.js} +2 -2
- package/dist/{config-guard-a6BWW0DS.js → config-guard-DJ_IK05w.js} +6 -6
- package/dist/{config-sync-DtK8vF0a.js → config-sync-B6XNCiWO.js} +4 -2
- package/dist/{config-sync-DHZT44We.js → config-sync-CVNJhO-W.js} +4 -2
- package/dist/{configure-BwR-MQg6.js → configure-CkmVabju.js} +9 -9
- package/dist/{configure-BiIaL4NZ.js → configure-Du07BFtQ.js} +10 -10
- package/dist/{context-Nk3BLa3u.js → context-CsnIPzGP.js} +1 -1
- package/dist/{control-service-CJ2uXWYM.js → control-service-BpEnt1xS.js} +4 -4
- package/dist/{control-service-9uTsix_O.js → control-service-dAtxFV2S.js} +2 -2
- package/dist/control-ui/assets/index-CEuStzNh.js +18 -0
- package/dist/control-ui/assets/index-CEuStzNh.js.map +1 -0
- package/dist/control-ui/assets/index-CbNrH7Wu.css +1 -0
- package/dist/control-ui/index.html +20 -0
- package/dist/{cron-cli-Diyg0pr6.js → cron-cli-BT0i4_jA.js} +6 -6
- package/dist/{cron-cli-BoB3GX76.js → cron-cli-DUVPrjk1.js} +5 -5
- package/dist/{daemon-cli-CR7yHMws.js → daemon-cli-DlHFi5Gm.js} +5 -5
- package/dist/{daemon-cli-CXnpU1lw.js → daemon-cli-tZXFDpZX.js} +5 -5
- package/dist/{daemon-runtime-C-xevhQ5.js → daemon-runtime-Cbi2Ox6g.js} +1 -1
- package/dist/{daemon-runtime-DP9zI3um.js → daemon-runtime-DOk9qM0y.js} +1 -1
- package/dist/{deliver-ZUV32EzH.js → deliver-CkrMkcOx.js} +1 -1
- package/dist/{deliver-BJ1xFt2X.js → deliver-DyQtnfXd.js} +14 -14
- package/dist/{deliver-TokuvSTy.js → deliver-tQREYhAr.js} +1 -1
- package/dist/{deps-CV9EwaiA.js → deps-DoPMG4GI.js} +1 -1
- package/dist/{dispatcher-DT5y2bRx.js → dispatcher-BhzRMibw.js} +1 -1
- package/dist/{dispatcher-DnyO_pzZ.js → dispatcher-wmQlHNsm.js} +1 -1
- package/dist/{dns-cli-Cw0G6u5i.js → dns-cli-B6bcA4-G.js} +3 -3
- package/dist/{dns-cli-CTpT3A5j.js → dns-cli-BvKJGCxL.js} +3 -3
- package/dist/{doctor-BRbtvinF.js → doctor-BxzkshQH.js} +20 -20
- package/dist/{doctor-a5nLQGbD.js → doctor-C3foAiuj.js} +19 -19
- package/dist/{doctor-completion-DpxcKMA5.js → doctor-completion-CZgNNZVd.js} +1 -1
- package/dist/{doctor-completion-Dnj6NNct.js → doctor-completion-VtjYTwcS.js} +1 -1
- package/dist/{doctor-config-flow-D80QIcc-.js → doctor-config-flow-BAntaUow.js} +4 -4
- package/dist/{doctor-config-flow-BZOFJuDW.js → doctor-config-flow-d6ocIX0r.js} +4 -4
- package/dist/{engine-Df9mQ7es.js → engine-C6iz-qEe.js} +5 -3
- package/dist/{engine-BqAGzYXO.js → engine-CIid6j5k.js} +5 -3
- package/dist/entry.js +1 -1
- package/dist/{exec-DJTRaYS6.js → exec-CK8CHr7j.js} +7 -7
- package/dist/{exec-approvals-cli-C5OuptCV.js → exec-approvals-cli-CAwe3fFV.js} +6 -6
- package/dist/{exec-approvals-cli-BWeKuHMf.js → exec-approvals-cli-COqsRheN.js} +5 -5
- package/dist/extensionAPI.js +3 -1
- package/dist/{frontmatter-DDYuWuK5.js → frontmatter-BBFYH_d2.js} +2 -2
- package/dist/{gateway-cli-DpikYazv.js → gateway-cli-BKmCrkp2.js} +47 -47
- package/dist/{gateway-cli-CLhlz_uA.js → gateway-cli-D0mD_UV8.js} +48 -48
- package/dist/{gateway-rpc-B30vCjdB.js → gateway-rpc-2MG1-jz-.js} +1 -1
- package/dist/{gateway-rpc-CeSf5jMa.js → gateway-rpc-elmeRwyu.js} +1 -1
- package/dist/{health-1JahEOfG.js → health-27WiwNrh.js} +9 -9
- package/dist/{health-BLxSP-s_.js → health-Cb_2WS_Z.js} +9 -9
- package/dist/{heartbeat-visibility-CS0wp8uu.js → heartbeat-visibility-Blrqxom1.js} +1 -1
- package/dist/{heartbeat-visibility-DgxM3da_.js → heartbeat-visibility-CDRbkOeP.js} +1 -1
- package/dist/{hooks-cli-Bb1UXfXv.js → hooks-cli-BkaD_Vnq.js} +23 -23
- package/dist/{hooks-cli-B-PZNrq5.js → hooks-cli-C7hx3yOv.js} +22 -22
- package/dist/{image-ops-ZMEg1-kE.js → image-ops-DJjERl7d.js} +2 -2
- package/dist/index.js +32 -32
- package/dist/{ipv4-BXko1df7.js → ipv4-sll41DXC.js} +4 -4
- package/dist/{ipv4-BmsAjDnB.js → ipv4-yUiIU5CD.js} +5 -5
- package/dist/json-file-Dvrir7_o.js +25 -0
- package/dist/llm-slug-generator.js +5 -5
- package/dist/{login-DIm-BAka.js → login-CBsXoiD_.js} +2 -2
- package/dist/{login-jV3UWUGr.js → login-CdRss5_H.js} +5 -5
- package/dist/{login-DQALESNM.js → login-DcBFdgol.js} +2 -2
- package/dist/{login-qr-BMMUazkr.js → login-qr-CEarfn5e.js} +4 -4
- package/dist/{login-qr-CJXqxq1y.js → login-qr-DoNanonP.js} +10 -10
- package/dist/{login-qr-BzS8xa3D.js → login-qr-aHN20jEV.js} +4 -4
- package/dist/{logs-cli-yKcOyM8n.js → logs-cli-DbdMIph-.js} +6 -6
- package/dist/{logs-cli-DHjyZjyi.js → logs-cli-O9Vm67Ps.js} +5 -5
- package/dist/{manager-eyHWQVGS.js → manager-1ZMunRXe.js} +2 -2
- package/dist/{manager-I5MlcYXv.js → manager-BVhxScwx.js} +2 -2
- package/dist/{manager-BssWfixS.js → manager-BlXVqzLP.js} +14 -14
- package/dist/{memory-cli-hyoQVF7L.js → memory-cli-CDMb58Y3.js} +5 -5
- package/dist/{memory-cli-DQm_Q8ks.js → memory-cli-DEnGCMk0.js} +5 -5
- package/dist/{model-auth-CQNrcIIT.js → model-auth-B3BPcnwt.js} +2 -2
- package/dist/{model-auth-BbZzb3IY.js → model-auth-ChSwMwh7.js} +3 -3
- package/dist/{model-auth-Cyx2Xoz0.js → model-auth-DUHamQTz.js} +2 -2
- package/dist/{model-selection-MwLHFnAb.js → model-selection-C2dz3AhV.js} +1 -1
- package/dist/{model-selection-BjcyTJyU.js → model-selection-DJcZ82uR.js} +1 -1
- package/dist/{model-selection-CtPzqKKJ.js → model-selection-DPoLkg_t.js} +1 -1
- package/dist/{models-Ca4_dCTC.js → models-B8eCDKpA.js} +26 -26
- package/dist/{node-cli-gop9c9Qq.js → node-cli-Bcrlhaq3.js} +10 -10
- package/dist/{node-cli-CJ-oQ5U6.js → node-cli-CXUIMB7W.js} +8 -8
- package/dist/{onboard-Dyr-G4cr.js → onboard-5GREpC8E.js} +48 -13
- package/dist/{onboard-DbCuaHlU.js → onboard-D8Khq7CJ.js} +49 -13
- package/dist/{onboard-channels-h35eneL1.js → onboard-channels-CuDv5j-L.js} +3 -3
- package/dist/{onboard-channels-D_jRjSPh.js → onboard-channels-DUklZSXY.js} +3 -3
- package/dist/{onboard-helpers-DVbPW8Cs.js → onboard-helpers-CMW6MSXA.js} +5 -4
- package/dist/{onboard-helpers-CAxb1eBy.js → onboard-helpers-DKu_2enh.js} +5 -4
- package/dist/{onboarding-ifLjX4Oc.js → onboarding-B_Gs5W53.js} +34 -15
- package/dist/{onboarding-Djv0NsZi.js → onboarding-CGG6jZ0y.js} +35 -16
- package/dist/{orchestrator-DeKyZfHL.js → orchestrator-CZ5SiD5l.js} +4 -2
- package/dist/{orchestrator-DAY2aHzl.js → orchestrator-KqoQDkvl.js} +4 -2
- package/dist/{outbound-_KURrkN3.js → outbound-Cf_1Utlz.js} +1 -1
- package/dist/{outbound-DptF-A0k.js → outbound-CwCRq4Cg.js} +1 -1
- package/dist/{outbound-ChmdbJju.js → outbound-DK71dddk.js} +6 -6
- package/dist/{parse-timeout-ByYuFf-D.js → parse-timeout-DhqvtdXz.js} +1 -1
- package/dist/{parse-timeout-PImvLfCF.js → parse-timeout-qnHqZvCW.js} +1 -1
- package/dist/{paths-BzTTzuSa.js → paths-CmZenvlb.js} +2 -2
- package/dist/{paths-B-AkG5FD.js → paths-D2eokayo.js} +3 -3
- package/dist/{pi-auth-json-Ct4FUjxN.js → pi-auth-json-BYN-DI5a.js} +7 -7
- package/dist/{pi-auth-json-QVWbBbGs.js → pi-auth-json-Crkmg439.js} +3 -3
- package/dist/{pi-auth-json-BvGZollA.js → pi-auth-json-PEKcHBMl.js} +3 -3
- package/dist/{pi-embedded-helpers-BS_VM3j4.js → pi-embedded-helpers-CvYnWzAn.js} +44 -44
- package/dist/{pi-tools.policy-BntNhXqZ.js → pi-tools.policy-BoWzLBtH.js} +3 -3
- package/dist/{pi-tools.policy-pvzE9Rfa.js → pi-tools.policy-ClzqRWic.js} +3 -3
- package/dist/{plugin-auto-enable-j_zHeVf1.js → plugin-auto-enable-BlyqT33k.js} +1 -1
- package/dist/{plugin-auto-enable-BvCuJgmb.js → plugin-auto-enable-Df0BKZyz.js} +1 -1
- package/dist/{plugin-registry-BgzrHeH3.js → plugin-registry-CIluPn2C.js} +3 -3
- package/dist/{plugin-registry-DurMOI5P.js → plugin-registry-k-cSnXEV.js} +3 -3
- package/dist/plugin-sdk/agents/workspace.d.ts +1 -0
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-DJKbvRtd.js → plugins-cli-CXap4R64.js} +22 -22
- package/dist/{plugins-cli-BFJqs061.js → plugins-cli-CgSDRx-C.js} +23 -23
- package/dist/{program-8-GzSO81.js → program-Dk1iylK1.js} +27 -27
- package/dist/{program-context-CC-g5UxM.js → program-context-r2WimvLs.js} +29 -29
- package/dist/{prompts-BWkFLWEk.js → prompts-BT5ztuUd.js} +144 -6
- package/dist/{prompts-CAgrJeru.js → prompts-vr_Njtil.js} +1 -1
- package/dist/{pw-ai-DVQKx_ca.js → pw-ai-q5Enhcu7.js} +4 -4
- package/dist/{pw-ai-Rz1I4vvf.js → pw-ai-ycVS073z.js} +1 -1
- package/dist/{qmd-manager-TUpRgiFa.js → qmd-manager-BD0uCIzM.js} +1 -1
- package/dist/{qmd-manager-NwDwG7DY.js → qmd-manager-CaNCfJK6.js} +1 -1
- package/dist/{qmd-manager-B5wbKcWC.js → qmd-manager-D_lZFetA.js} +7 -7
- package/dist/{queue-9vTUxVNg.js → queue-CRtO6LOL.js} +3 -1
- package/dist/{queue-R94Bcxk5.js → queue-DMVbLSSW.js} +3 -1
- package/dist/{register.agent-BcxdwhFz.js → register.agent-BCbrZgZT.js} +30 -30
- package/dist/{register.agent-BWl6JYHL.js → register.agent-sq78vQTz.js} +30 -30
- package/dist/{register.anima-D9CE9aVh.js → register.anima-B0tWw_hC.js} +13 -13
- package/dist/{register.anima-D8cnU8Zq.js → register.anima-CObVi7FQ.js} +13 -13
- package/dist/{register.configure-BQ7viIFW.js → register.configure-CM8ScF9N.js} +31 -31
- package/dist/{register.configure-CWWSJ12h.js → register.configure-w6Ptx3C9.js} +32 -32
- package/dist/{register.maintenance-BUkkCBQa.js → register.maintenance-B15nWIhc.js} +33 -33
- package/dist/{register.maintenance-BS36METc.js → register.maintenance-Chm2rk_s.js} +34 -34
- package/dist/{register.onboard-CxktbTOi.js → register.onboard-B7Ozkx53.js} +41 -37
- package/dist/{register.onboard-ks3BprXH.js → register.onboard-k9Rd9qzS.js} +39 -35
- package/dist/register.setup-BId1QGzk.js +270 -0
- package/dist/register.setup-CN1yxMOl.js +267 -0
- package/dist/{register.status-health-sessions-Bmgu0PWs.js → register.status-health-sessions-CNUs9w8v.js} +27 -27
- package/dist/{register.status-health-sessions-Cfhab3ds.js → register.status-health-sessions-CP9VvjA9.js} +27 -27
- package/dist/{register.subclis-Cp2R1dTl.js → register.subclis-N7uAMRX_.js} +20 -20
- package/dist/{reply-F1NR0Mmi.js → reply-BJ3jrefM.js} +29 -29
- package/dist/{reply-BWWaNSoB.js → reply-LaOwllAB.js} +28 -28
- package/dist/{reply-prefix-Cd1ryhL4.js → reply-prefix-DBJU0o4f.js} +2 -2
- package/dist/{reply-prefix-ByFTwsu6.js → reply-prefix-Dl_Gro6x.js} +2 -2
- package/dist/{routes-DdssPiMt.js → routes-Bifu4ATk.js} +2 -2
- package/dist/{routes-TJ5bwx27.js → routes-CNqS9gOj.js} +3 -3
- package/dist/{run-main-Br6uQWzH.js → run-main-DA4rt9qc.js} +40 -40
- package/dist/{sandbox-BIZzFPco.js → sandbox-CR2AIW2N.js} +3 -3
- package/dist/{sandbox-cli-DjALBAAV.js → sandbox-cli-BsMjNBFN.js} +8 -8
- package/dist/{sandbox-cli-DMBBlMK-.js → sandbox-cli-c_HPZNmf.js} +7 -7
- package/dist/{sandbox-hOY3muxh.js → sandbox-wL61f1WP.js} +3 -3
- package/dist/{security-cli-CsDWYPNG.js → security-cli-DTAzTIiZ.js} +10 -10
- package/dist/{security-cli-GXZAU0Ax.js → security-cli-pupt3tx1.js} +12 -12
- package/dist/{semantic-BTp-RtM8.js → semantic-BcioSN1d.js} +1 -1
- package/dist/{server-context-BW5BY88Y.js → server-context-C2TNamEJ.js} +1 -1
- package/dist/{server-context-C0YSbjOv.js → server-context-CcPmRFx_.js} +5 -5
- package/dist/{server-node-events-DM3CCYrf.js → server-node-events-DNDwVJH_.js} +14 -14
- package/dist/{server-node-events-Byy-Is6v.js → server-node-events-DsfvuRBK.js} +13 -13
- package/dist/{service-audit-u3qzhhqv.js → service-audit-BG0tcSCo.js} +1 -1
- package/dist/{service-audit-CGmQWccK.js → service-audit-DLV93I95.js} +1 -1
- package/dist/{session-BQzzYRDO.js → session-D53RZP3i.js} +7 -7
- package/dist/{session-CzBccNiw.js → session-DTRcP2Sj.js} +1 -1
- package/dist/{session-ititeJ0j.js → session-ygzMc3r1.js} +4 -4
- package/dist/{sessions-DiW7DuJO.js → sessions-0J_pFd44.js} +1 -1
- package/dist/{sessions-wzfE85C2.js → sessions-C7jYs5Sc.js} +1 -1
- package/dist/{sessions-Bxpm8P5t.js → sessions-CbUTEpMF.js} +4 -4
- package/dist/{shared-DynkOTFs.js → shared-B9kttsme.js} +1 -1
- package/dist/{shell-env-5vFwNQcz.js → shell-env-BBHdjHEl.js} +1 -1
- package/dist/{skills-cli-Dttyzhqz.js → skills-cli-CrB84lEO.js} +3 -3
- package/dist/{skills-cli-DA18YLo4.js → skills-cli-DC6nGiOg.js} +3 -3
- package/dist/{soul-D4rF0iXu.js → soul-CXGTzaKZ.js} +1 -1
- package/dist/{sqlite-Dx5ydniE.js → sqlite-B-dYyac7.js} +4 -4
- package/dist/{start-BNGlbbt9.js → start-BLi_X68Y.js} +36 -13
- package/dist/{start-DSZJq_zz.js → start-BQfR8aBZ.js} +36 -13
- package/dist/{status-DVYPFs7b.js → status-CzCmUbgr.js} +13 -13
- package/dist/{status-BCbWWHdA.js → status-D5zPydam.js} +3 -3
- package/dist/{status-BToHtmWf.js → status-DNUP2mgR.js} +12 -12
- package/dist/{status-QWb0sx59.js → status-DYGeQK4c.js} +3 -3
- package/dist/{status.update-CwIUq3Bq.js → status.update-_DOVm6Tr.js} +1 -1
- package/dist/{status.update-CJR_Zlvb.js → status.update-s92nCoGl.js} +1 -1
- package/dist/{subagent-registry-BOsyxABV.js → subagent-registry-D4idxv3D.js} +5 -5
- package/dist/{subagent-registry-DEjp4eYh.js → subagent-registry-DQzBrh1E.js} +5 -5
- package/dist/{subagent-registry-DXy6WsnY.js → subagent-registry-DjB3VS5s.js} +27 -27
- package/dist/{subsystem-BlEuMJjX.js → subsystem-CJTCKTwb.js} +13 -13
- package/dist/{system-cli-CtYpaf1K.js → system-cli-BNhplLHn.js} +6 -6
- package/dist/{system-cli-BYJicBL3.js → system-cli-CTN9NSfv.js} +5 -5
- package/dist/{tool-images-2qKyjXUj.js → tool-images-DBOSl4NL.js} +2 -2
- package/dist/{tui-Bx6Ty5e9.js → tui--uEeSnES.js} +4 -4
- package/dist/{tui-cli-BcqM-1Iu.js → tui-cli-ByERfWnP.js} +12 -12
- package/dist/{tui-cli-DM2-e45Y.js → tui-cli-De0zVM4-.js} +10 -10
- package/dist/{tui-BbS56NwI.js → tui-dHcni7fC.js} +5 -5
- package/dist/{update-cli-CzrELkox.js → update-cli-CGVsahIi.js} +41 -41
- package/dist/{update-cli-DHCu3Tw_.js → update-cli-D7SyNIoQ.js} +40 -40
- package/dist/{update-runner-CBoHuDWR.js → update-runner-DeNUEGyr.js} +1 -1
- package/dist/{update-runner-OvETClW6.js → update-runner-O0kK_BAP.js} +1 -1
- package/dist/{usage-ClLnsNuk.js → usage-DSZ_juox.js} +68 -20
- package/dist/{web-B-hsbig8.js → web-DNoikQbD.js} +25 -25
- package/dist/{web-DNwUI_-o.js → web-DY2TrPoD.js} +86 -86
- package/dist/{web-Ci2DZCF7.js → web-DyUoZrMO.js} +27 -27
- package/dist/{webhooks-cli-CK3Ooqxg.js → webhooks-cli-BqeMvo07.js} +3 -3
- package/dist/{webhooks-cli-BGo97Z-y.js → webhooks-cli-Cq3eb3vw.js} +3 -3
- package/dist/{whatsapp-actions-DBSx3VSP.js → whatsapp-actions-B_fglZZt.js} +13 -13
- package/dist/{whatsapp-actions-C-cAzSXs.js → whatsapp-actions-BkSSHLwM.js} +4 -4
- package/dist/{whatsapp-actions-CFQjbIXn.js → whatsapp-actions-j-5lmC5M.js} +4 -4
- package/dist/{workspace-BSBhp-B5.js → workspace-xzxJwPTB.js} +8 -6
- package/package.json +2 -1
- package/templates/SOUL.md +16 -0
- package/dist/json-file-CZ3ssFR9.js +0 -25
- package/dist/register.setup-CP--HKWT.js +0 -180
- package/dist/register.setup-TUHZSkwM.js +0 -177
- /package/dist/{budget-1SoJncof.js → budget-OJQ-m-_V.js} +0 -0
- /package/dist/{budget-DYeweLNW.js → budget-XH9_9WRg.js} +0 -0
- /package/dist/{registry-Dw31-Q3z.js → registry-6ARhh9Nh.js} +0 -0
- /package/dist/{registry-Bkdrbxa5.js → registry-E-bcMZe2.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { i as resolveGatewayPort, t as STATE_DIR } from "./paths-
|
|
2
|
-
import { E as resolveAgentIdFromSessionKey, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, h as resolveAnimaPackageRootSync, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as normalizeAgentId, y as buildAgentMainSessionKey } from "./workspace-
|
|
3
|
-
import { j as resolvePreferredAnimaTmpDir, l as getChatChannelMeta, m as requireActivePluginRegistry, n as defaultRuntime, o as CHANNEL_IDS, s as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { S as resolveConfigDir, b as normalizeE164, j as truncateUtf16Safe, l as CONFIG_DIR, m as escapeRegExp, n as runExec, w as resolveUserPath } from "./exec-
|
|
5
|
-
import { l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-
|
|
6
|
-
import { A as normalizeMessageChannel, C as normalizeChannelId, a as resizeToJpeg, k as listDeliverableMessageChannels, n as getImageMetadata, o as detectMime, s as extensionForMime } from "./image-ops-
|
|
7
|
-
import { a as writeConfigFile, c as parseDurationMs, h as resolveMemorySlotDecision, m as resolveEnableState, n as loadConfig, p as normalizePluginsConfig, s as parseByteSize, t as createConfigIO, u as loadPluginManifestRegistry } from "./config-
|
|
1
|
+
import { i as resolveGatewayPort, t as STATE_DIR } from "./paths-D2eokayo.js";
|
|
2
|
+
import { E as resolveAgentIdFromSessionKey, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, h as resolveAnimaPackageRootSync, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as normalizeAgentId, y as buildAgentMainSessionKey } from "./workspace-xzxJwPTB.js";
|
|
3
|
+
import { j as resolvePreferredAnimaTmpDir, l as getChatChannelMeta, m as requireActivePluginRegistry, n as defaultRuntime, o as CHANNEL_IDS, s as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-CJTCKTwb.js";
|
|
4
|
+
import { S as resolveConfigDir, b as normalizeE164, j as truncateUtf16Safe, l as CONFIG_DIR, m as escapeRegExp, n as runExec, w as resolveUserPath } from "./exec-CK8CHr7j.js";
|
|
5
|
+
import { l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-DWKQJUUZ.js";
|
|
6
|
+
import { A as normalizeMessageChannel, C as normalizeChannelId, a as resizeToJpeg, k as listDeliverableMessageChannels, n as getImageMetadata, o as detectMime, s as extensionForMime } from "./image-ops-DJjERl7d.js";
|
|
7
|
+
import { a as writeConfigFile, c as parseDurationMs, h as resolveMemorySlotDecision, m as resolveEnableState, n as loadConfig, p as normalizePluginsConfig, s as parseByteSize, t as createConfigIO, u as loadPluginManifestRegistry } from "./config-H_VHtPeY.js";
|
|
8
8
|
import { t as parseBooleanValue } from "./boolean-BsqeuxE6.js";
|
|
9
|
-
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
9
|
+
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CmZenvlb.js";
|
|
10
10
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-D0hT93vo.js";
|
|
11
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_ANIMA_BROWSER_ENABLED, E as DEFAULT_ANIMA_BROWSER_COLOR, O as DEFAULT_ANIMA_BROWSER_PROFILE_NAME, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveAnimaUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchAnimaChrome, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, n as isChromeCdpReady, o as stopAnimaChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-
|
|
12
|
-
import { a as parseFrontmatterBlock, c as resolveRuntimePlatform, i as resolveAnimaManifestBlock, n as normalizeStringList, o as hasBinary, r as parseFrontmatterBool, s as isConfigPathTruthyWithDefaults, t as getFrontmatterString } from "./frontmatter-
|
|
11
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_ANIMA_BROWSER_ENABLED, E as DEFAULT_ANIMA_BROWSER_COLOR, O as DEFAULT_ANIMA_BROWSER_PROFILE_NAME, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveAnimaUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchAnimaChrome, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, n as isChromeCdpReady, o as stopAnimaChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-s7nTgmbn.js";
|
|
12
|
+
import { a as parseFrontmatterBlock, c as resolveRuntimePlatform, i as resolveAnimaManifestBlock, n as normalizeStringList, o as hasBinary, r as parseFrontmatterBool, s as isConfigPathTruthyWithDefaults, t as getFrontmatterString } from "./frontmatter-BBFYH_d2.js";
|
|
13
13
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-DzK5Mvu0.js";
|
|
14
14
|
import fs from "node:fs/promises";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import fsSync, { existsSync } from "node:fs";
|
|
18
18
|
import { spawn } from "node:child_process";
|
|
19
19
|
import { fileURLToPath } from "node:url";
|
|
20
20
|
import crypto from "node:crypto";
|
|
@@ -492,7 +492,7 @@ function releaseAllLocksSync() {
|
|
|
492
492
|
if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
|
|
493
493
|
} catch {}
|
|
494
494
|
try {
|
|
495
|
-
|
|
495
|
+
fsSync.rmSync(held.lockPath, { force: true });
|
|
496
496
|
} catch {}
|
|
497
497
|
HELD_LOCKS.delete(sessionFile);
|
|
498
498
|
}
|
|
@@ -714,7 +714,7 @@ function isCacheEnabled(ttlMs) {
|
|
|
714
714
|
}
|
|
715
715
|
function getFileMtimeMs(filePath) {
|
|
716
716
|
try {
|
|
717
|
-
return
|
|
717
|
+
return fsSync.statSync(filePath).mtimeMs;
|
|
718
718
|
} catch {
|
|
719
719
|
return;
|
|
720
720
|
}
|
|
@@ -791,7 +791,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
791
791
|
let store = {};
|
|
792
792
|
let mtimeMs = getFileMtimeMs(storePath);
|
|
793
793
|
try {
|
|
794
|
-
const raw =
|
|
794
|
+
const raw = fsSync.readFileSync(storePath, "utf-8");
|
|
795
795
|
const parsed = JSON.parse(raw);
|
|
796
796
|
if (isSessionStoreRecord(parsed)) store = parsed;
|
|
797
797
|
mtimeMs = getFileMtimeMs(storePath) ?? mtimeMs;
|
|
@@ -929,7 +929,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
|
|
|
929
929
|
}
|
|
930
930
|
async function getSessionFileSize(storePath) {
|
|
931
931
|
try {
|
|
932
|
-
return (await
|
|
932
|
+
return (await fsSync.promises.stat(storePath)).size;
|
|
933
933
|
} catch {
|
|
934
934
|
return null;
|
|
935
935
|
}
|
|
@@ -946,7 +946,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
946
946
|
if (fileSize <= maxBytes) return false;
|
|
947
947
|
const backupPath = `${storePath}.bak.${Date.now()}`;
|
|
948
948
|
try {
|
|
949
|
-
await
|
|
949
|
+
await fsSync.promises.rename(storePath, backupPath);
|
|
950
950
|
log$1.info("rotated session store file", {
|
|
951
951
|
backupPath: path.basename(backupPath),
|
|
952
952
|
sizeBytes: fileSize
|
|
@@ -957,11 +957,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
957
957
|
try {
|
|
958
958
|
const dir = path.dirname(storePath);
|
|
959
959
|
const baseName = path.basename(storePath);
|
|
960
|
-
const backups = (await
|
|
960
|
+
const backups = (await fsSync.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
|
|
961
961
|
const maxBackups = 3;
|
|
962
962
|
if (backups.length > maxBackups) {
|
|
963
963
|
const toDelete = backups.slice(maxBackups);
|
|
964
|
-
for (const old of toDelete) await
|
|
964
|
+
for (const old of toDelete) await fsSync.promises.unlink(path.join(dir, old)).catch(() => void 0);
|
|
965
965
|
log$1.info("cleaned up old session store backups", { deleted: toDelete.length });
|
|
966
966
|
}
|
|
967
967
|
} catch {}
|
|
@@ -998,11 +998,11 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
998
998
|
await rotateSessionFile(storePath, maintenance.rotateBytes);
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
|
-
await
|
|
1001
|
+
await fsSync.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
1002
1002
|
const json = JSON.stringify(store, null, 2);
|
|
1003
1003
|
if (process.platform === "win32") {
|
|
1004
1004
|
try {
|
|
1005
|
-
await
|
|
1005
|
+
await fsSync.promises.writeFile(storePath, json, "utf-8");
|
|
1006
1006
|
} catch (err) {
|
|
1007
1007
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") return;
|
|
1008
1008
|
throw err;
|
|
@@ -1011,21 +1011,21 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
|
|
1013
1013
|
try {
|
|
1014
|
-
await
|
|
1014
|
+
await fsSync.promises.writeFile(tmp, json, {
|
|
1015
1015
|
mode: 384,
|
|
1016
1016
|
encoding: "utf-8"
|
|
1017
1017
|
});
|
|
1018
|
-
await
|
|
1019
|
-
await
|
|
1018
|
+
await fsSync.promises.rename(tmp, storePath);
|
|
1019
|
+
await fsSync.promises.chmod(storePath, 384);
|
|
1020
1020
|
} catch (err) {
|
|
1021
1021
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") {
|
|
1022
1022
|
try {
|
|
1023
|
-
await
|
|
1024
|
-
await
|
|
1023
|
+
await fsSync.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
1024
|
+
await fsSync.promises.writeFile(storePath, json, {
|
|
1025
1025
|
mode: 384,
|
|
1026
1026
|
encoding: "utf-8"
|
|
1027
1027
|
});
|
|
1028
|
-
await
|
|
1028
|
+
await fsSync.promises.chmod(storePath, 384);
|
|
1029
1029
|
} catch (err2) {
|
|
1030
1030
|
if ((err2 && typeof err2 === "object" && "code" in err2 ? String(err2.code) : null) === "ENOENT") return;
|
|
1031
1031
|
throw err2;
|
|
@@ -1034,7 +1034,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
1034
1034
|
}
|
|
1035
1035
|
throw err;
|
|
1036
1036
|
} finally {
|
|
1037
|
-
await
|
|
1037
|
+
await fsSync.promises.rm(tmp, { force: true });
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
1040
|
async function updateSessionStore(storePath, mutator, opts) {
|
|
@@ -1252,8 +1252,8 @@ function resolveMirroredTranscriptText(params) {
|
|
|
1252
1252
|
return trimmed ? trimmed : null;
|
|
1253
1253
|
}
|
|
1254
1254
|
async function ensureSessionHeader(params) {
|
|
1255
|
-
if (
|
|
1256
|
-
await
|
|
1255
|
+
if (fsSync.existsSync(params.sessionFile)) return;
|
|
1256
|
+
await fsSync.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
|
|
1257
1257
|
const header = {
|
|
1258
1258
|
type: "session",
|
|
1259
1259
|
version: CURRENT_SESSION_VERSION,
|
|
@@ -1261,7 +1261,7 @@ async function ensureSessionHeader(params) {
|
|
|
1261
1261
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1262
1262
|
cwd: process.cwd()
|
|
1263
1263
|
};
|
|
1264
|
-
await
|
|
1264
|
+
await fsSync.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, "utf-8");
|
|
1265
1265
|
}
|
|
1266
1266
|
async function appendAssistantMessageToSessionTranscript(params) {
|
|
1267
1267
|
const sessionKey = params.sessionKey.trim();
|
|
@@ -2202,13 +2202,13 @@ function shortPath(value) {
|
|
|
2202
2202
|
//#region src/agents/skills/bundled-dir.ts
|
|
2203
2203
|
function looksLikeSkillsDir(dir) {
|
|
2204
2204
|
try {
|
|
2205
|
-
const entries =
|
|
2205
|
+
const entries = fsSync.readdirSync(dir, { withFileTypes: true });
|
|
2206
2206
|
for (const entry of entries) {
|
|
2207
2207
|
if (entry.name.startsWith(".")) continue;
|
|
2208
2208
|
const fullPath = path.join(dir, entry.name);
|
|
2209
2209
|
if (entry.isFile() && entry.name.endsWith(".md")) return true;
|
|
2210
2210
|
if (entry.isDirectory()) {
|
|
2211
|
-
if (
|
|
2211
|
+
if (fsSync.existsSync(path.join(fullPath, "SKILL.md"))) return true;
|
|
2212
2212
|
}
|
|
2213
2213
|
}
|
|
2214
2214
|
} catch {
|
|
@@ -2223,7 +2223,7 @@ function resolveBundledSkillsDir(opts = {}) {
|
|
|
2223
2223
|
const execPath = opts.execPath ?? process.execPath;
|
|
2224
2224
|
const execDir = path.dirname(execPath);
|
|
2225
2225
|
const sibling = path.join(execDir, "skills");
|
|
2226
|
-
if (
|
|
2226
|
+
if (fsSync.existsSync(sibling)) return sibling;
|
|
2227
2227
|
} catch {}
|
|
2228
2228
|
try {
|
|
2229
2229
|
const moduleUrl = opts.moduleUrl ?? import.meta.url;
|
|
@@ -2279,7 +2279,7 @@ function resolvePluginSkillDirs(params) {
|
|
|
2279
2279
|
const trimmed = raw.trim();
|
|
2280
2280
|
if (!trimmed) continue;
|
|
2281
2281
|
const candidate = path.resolve(record.rootDir, trimmed);
|
|
2282
|
-
if (!
|
|
2282
|
+
if (!fsSync.existsSync(candidate)) {
|
|
2283
2283
|
log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
|
|
2284
2284
|
continue;
|
|
2285
2285
|
}
|
|
@@ -2306,7 +2306,7 @@ async function serializeByKey(key, task) {
|
|
|
2306
2306
|
|
|
2307
2307
|
//#endregion
|
|
2308
2308
|
//#region src/agents/skills/workspace.ts
|
|
2309
|
-
const fsp =
|
|
2309
|
+
const fsp = fsSync.promises;
|
|
2310
2310
|
const skillsLogger = createSubsystemLogger("skills");
|
|
2311
2311
|
const skillCommandDebugOnce = /* @__PURE__ */ new Set();
|
|
2312
2312
|
function debugSkillCommandOnce(messageKey, message, meta) {
|
|
@@ -2399,7 +2399,7 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
2399
2399
|
return Array.from(merged.values()).map((skill) => {
|
|
2400
2400
|
let frontmatter = {};
|
|
2401
2401
|
try {
|
|
2402
|
-
frontmatter = parseFrontmatter(
|
|
2402
|
+
frontmatter = parseFrontmatter(fsSync.readFileSync(skill.filePath, "utf-8"));
|
|
2403
2403
|
} catch {}
|
|
2404
2404
|
return {
|
|
2405
2405
|
skill,
|
|
@@ -2606,7 +2606,7 @@ function isModuleNotFoundError(err) {
|
|
|
2606
2606
|
}
|
|
2607
2607
|
async function loadPwAiModule(mode) {
|
|
2608
2608
|
try {
|
|
2609
|
-
return await import("./pw-ai-
|
|
2609
|
+
return await import("./pw-ai-q5Enhcu7.js");
|
|
2610
2610
|
} catch (err) {
|
|
2611
2611
|
if (mode === "soft") return null;
|
|
2612
2612
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -4321,11 +4321,11 @@ async function movePathToTrash(targetPath) {
|
|
|
4321
4321
|
return targetPath;
|
|
4322
4322
|
} catch {
|
|
4323
4323
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
4324
|
-
|
|
4324
|
+
fsSync.mkdirSync(trashDir, { recursive: true });
|
|
4325
4325
|
const base = path.basename(targetPath);
|
|
4326
4326
|
let dest = path.join(trashDir, `${base}-${Date.now()}`);
|
|
4327
|
-
if (
|
|
4328
|
-
|
|
4327
|
+
if (fsSync.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${Math.random()}`);
|
|
4328
|
+
fsSync.renameSync(targetPath, dest);
|
|
4329
4329
|
return dest;
|
|
4330
4330
|
}
|
|
4331
4331
|
}
|
|
@@ -4403,7 +4403,7 @@ function createBrowserProfilesService(ctx) {
|
|
|
4403
4403
|
} catch {}
|
|
4404
4404
|
const userDataDir = resolveAnimaUserDataDir(name);
|
|
4405
4405
|
const profileDir = path.dirname(userDataDir);
|
|
4406
|
-
if (
|
|
4406
|
+
if (fsSync.existsSync(profileDir)) {
|
|
4407
4407
|
await movePathToTrash(profileDir);
|
|
4408
4408
|
deleted = true;
|
|
4409
4409
|
}
|
|
@@ -5064,13 +5064,13 @@ function createProfileContext(opts, profile) {
|
|
|
5064
5064
|
const userDataDir = resolveAnimaUserDataDir(profile.name);
|
|
5065
5065
|
const profileState = getProfileState();
|
|
5066
5066
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
5067
|
-
await (await import("./pw-ai-
|
|
5067
|
+
await (await import("./pw-ai-q5Enhcu7.js")).closePlaywrightBrowserConnection();
|
|
5068
5068
|
} catch {}
|
|
5069
5069
|
if (profileState.running) await stopRunningBrowser();
|
|
5070
5070
|
try {
|
|
5071
|
-
await (await import("./pw-ai-
|
|
5071
|
+
await (await import("./pw-ai-q5Enhcu7.js")).closePlaywrightBrowserConnection();
|
|
5072
5072
|
} catch {}
|
|
5073
|
-
if (!
|
|
5073
|
+
if (!fsSync.existsSync(userDataDir)) return {
|
|
5074
5074
|
moved: false,
|
|
5075
5075
|
from: userDataDir
|
|
5076
5076
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as resolveRequiredHomeDir, f as resolveOAuthDir, m as resolveStateDir } from "./paths-zhVksOvm.js";
|
|
2
2
|
import { x as safeParseJson } from "./utils-RdHkpqQp.js";
|
|
3
3
|
import { S as resolveThreadParentSessionKey, c as normalizeAccountId, d as resolveAgentIdFromSessionKey } from "./session-key-DxcgHezu.js";
|
|
4
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
5
|
-
import { F as getChannelDock } from "./sessions-
|
|
4
|
+
import { n as resolveAgentConfig } from "./agent-scope-vpVhWds3.js";
|
|
5
|
+
import { F as getChannelDock } from "./sessions-0J_pFd44.js";
|
|
6
6
|
import { t as withFileLock$1 } from "./file-lock-BRW4LeL0.js";
|
|
7
|
-
import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-
|
|
7
|
+
import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-wL61f1WP.js";
|
|
8
8
|
import { l as normalizeMessageChannel } from "./message-channel-BbkwF58_.js";
|
|
9
9
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CFb1gJ4N.js";
|
|
10
10
|
import fs from "node:fs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Tt as resolveRequiredHomeDir, Y as resolveOAuthDir, Z as resolveStateDir } from "./entry.js";
|
|
2
2
|
import { S as resolveThreadParentSessionKey, c as normalizeAccountId, d as resolveAgentIdFromSessionKey } from "./session-key-DP2WHl90.js";
|
|
3
3
|
import { b as safeParseJson } from "./utils-DwcweD55.js";
|
|
4
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
4
|
+
import { n as resolveAgentConfig } from "./agent-scope-M302b8FW.js";
|
|
5
5
|
import { t as withFileLock$1 } from "./file-lock-CxXn285m.js";
|
|
6
6
|
import { l as normalizeMessageChannel } from "./message-channel-6Ln4eFyX.js";
|
|
7
|
-
import { E as getChannelDock } from "./sessions-
|
|
7
|
+
import { E as getChannelDock } from "./sessions-C7jYs5Sc.js";
|
|
8
8
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Tpy9T9c2.js";
|
|
9
|
-
import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-
|
|
9
|
+
import { b as matchesAnyGlobPattern, g as normalizeToolName, h as expandToolGroups, y as compileGlobPatterns } from "./sandbox-CR2AIW2N.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as getChatChannelMeta, w as normalizeChatChannelId, x as listChatChannels } from "./subsystem-BaJ-PqmA.js";
|
|
2
2
|
import { f as isRecord } from "./utils-RdHkpqQp.js";
|
|
3
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
3
|
+
import { c as normalizeProviderId } from "./model-selection-C2dz3AhV.js";
|
|
4
4
|
import { t as hasAnyWhatsAppAuth } from "./accounts-C9dcy8Gp.js";
|
|
5
5
|
import { n as getChannelPluginCatalogEntry, r as listChannelPluginCatalogEntries } from "./catalog-VwQGLU6M.js";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { at as listChatChannels, ct as normalizeChatChannelId, it as getChatChannelMeta } from "./entry.js";
|
|
2
2
|
import { d as isRecord } from "./utils-DwcweD55.js";
|
|
3
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
3
|
+
import { c as normalizeProviderId } from "./model-selection-DJcZ82uR.js";
|
|
4
4
|
import { t as hasAnyWhatsAppAuth } from "./accounts-BmC37n9k.js";
|
|
5
5
|
import { n as getChannelPluginCatalogEntry, r as listChannelPluginCatalogEntries } from "./catalog-BWBjaCdR.js";
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { T as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-BaJ-PqmA.js";
|
|
3
|
-
import { K as loadAnimaPlugins } from "./reply-
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { i as loadConfig } from "./config-
|
|
3
|
+
import { K as loadAnimaPlugins } from "./reply-BJ3jrefM.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
|
|
5
|
+
import { i as loadConfig } from "./config-9JRRXykP.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { lt as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
5
|
-
import { J as loadAnimaPlugins } from "./reply-
|
|
3
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
|
|
4
|
+
import { i as loadConfig } from "./config-6zE4ZkSF.js";
|
|
5
|
+
import { J as loadAnimaPlugins } from "./reply-LaOwllAB.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { z } from "zod";
|
|
|
5
5
|
import fs$1, { readFileSync } from "node:fs";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import { Logger } from "tslog";
|
|
8
|
-
import
|
|
8
|
+
import json5 from "json5";
|
|
9
9
|
import chalk, { Chalk } from "chalk";
|
|
10
10
|
import { execFile, execFileSync } from "node:child_process";
|
|
11
11
|
import { isDeepStrictEqual, promisify } from "node:util";
|
|
@@ -1483,7 +1483,7 @@ function readLoggingConfig() {
|
|
|
1483
1483
|
try {
|
|
1484
1484
|
if (!fs$1.existsSync(configPath)) return;
|
|
1485
1485
|
const raw = fs$1.readFileSync(configPath, "utf-8");
|
|
1486
|
-
const logging =
|
|
1486
|
+
const logging = json5.parse(raw)?.logging;
|
|
1487
1487
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
1488
1488
|
return logging;
|
|
1489
1489
|
} catch {
|
|
@@ -5014,7 +5014,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
5014
5014
|
};
|
|
5015
5015
|
const defaultResolver = {
|
|
5016
5016
|
readFile: (p) => fs$1.readFileSync(p, "utf-8"),
|
|
5017
|
-
parseJson: (raw) =>
|
|
5017
|
+
parseJson: (raw) => json5.parse(raw)
|
|
5018
5018
|
};
|
|
5019
5019
|
/**
|
|
5020
5020
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -7893,7 +7893,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
7893
7893
|
function normalizeDeps(overrides = {}) {
|
|
7894
7894
|
return {
|
|
7895
7895
|
fs: overrides.fs ?? fs$1,
|
|
7896
|
-
json5: overrides.json5 ??
|
|
7896
|
+
json5: overrides.json5 ?? json5,
|
|
7897
7897
|
env: overrides.env ?? process.env,
|
|
7898
7898
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
7899
7899
|
configPath: overrides.configPath ?? "",
|
|
@@ -7904,11 +7904,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
7904
7904
|
if (env !== process.env) return;
|
|
7905
7905
|
loadDotEnv({ quiet: true });
|
|
7906
7906
|
}
|
|
7907
|
-
function parseConfigJson5(raw, json5 =
|
|
7907
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
7908
7908
|
try {
|
|
7909
7909
|
return {
|
|
7910
7910
|
ok: true,
|
|
7911
|
-
parsed: json5.parse(raw)
|
|
7911
|
+
parsed: json5$1.parse(raw)
|
|
7912
7912
|
};
|
|
7913
7913
|
} catch (err) {
|
|
7914
7914
|
return {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { M as theme, Z as resolveStateDir, h as defaultRuntime } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
2
|
+
import "./auth-profiles-BYETsqKc.js";
|
|
3
3
|
import { S as shortenHomePath, g as resolveConfigDir, x as shortenHomeInString, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
4
4
|
import "./exec-DRQWu5Xi.js";
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
5
|
+
import "./agent-scope-M302b8FW.js";
|
|
6
|
+
import "./model-selection-DJcZ82uR.js";
|
|
7
7
|
import "./file-lock-CxXn285m.js";
|
|
8
8
|
import "./agent-paths-CrZhIsTW.js";
|
|
9
9
|
import "./pi-model-discovery-DgwvfEmd.js";
|
|
10
10
|
import "./skills-CG8iI6v6.js";
|
|
11
11
|
import { d as defaultSlotIdForKey, i as resolveBundledPluginsDir, u as applyExclusiveSlotSelection } from "./manifest-registry-BHcAJo9u.js";
|
|
12
|
-
import { i as loadConfig, l as writeConfigFile } from "./config-
|
|
12
|
+
import { i as loadConfig, l as writeConfigFile } from "./config-6zE4ZkSF.js";
|
|
13
13
|
import "./shell-env-DAw9qXji.js";
|
|
14
14
|
import "./client-BsSB9O8y.js";
|
|
15
|
-
import "./call-
|
|
15
|
+
import "./call-LugHQWOF.js";
|
|
16
16
|
import "./message-channel-6Ln4eFyX.js";
|
|
17
17
|
import "./timeout-BXC4bZck.js";
|
|
18
|
-
import "./sessions-
|
|
19
|
-
import "./subagent-registry-
|
|
18
|
+
import "./sessions-C7jYs5Sc.js";
|
|
19
|
+
import "./subagent-registry-DQzBrh1E.js";
|
|
20
20
|
import "./plugins-Tpy9T9c2.js";
|
|
21
21
|
import "./pi-embedded-helpers-D_ZL9Ofu.js";
|
|
22
|
-
import "./sandbox-
|
|
22
|
+
import "./sandbox-CR2AIW2N.js";
|
|
23
23
|
import "./chrome-uJGz5mgu.js";
|
|
24
24
|
import { g as promptYesNo } from "./auth-CBxE4UNz.js";
|
|
25
|
-
import "./server-context-
|
|
26
|
-
import "./routes-
|
|
25
|
+
import "./server-context-C2TNamEJ.js";
|
|
26
|
+
import "./routes-Bifu4ATk.js";
|
|
27
27
|
import "./image-ops-CcJOy4db.js";
|
|
28
28
|
import "./ports-Dsm-zUSt.js";
|
|
29
29
|
import "./paths-DqBoV7GZ.js";
|
|
@@ -32,16 +32,16 @@ import "./tokens-RUKWFK24.js";
|
|
|
32
32
|
import "./media-B9MUhrat.js";
|
|
33
33
|
import "./chunk-Cj2sLFwd.js";
|
|
34
34
|
import "./common-CNiE_VZA.js";
|
|
35
|
-
import "./control-service-
|
|
36
|
-
import "./cli-session-
|
|
37
|
-
import "./reply-
|
|
38
|
-
import "./model-auth-
|
|
39
|
-
import "./context-
|
|
40
|
-
import "./parse-timeout-
|
|
41
|
-
import "./deliver-
|
|
42
|
-
import "./pi-tools.policy-
|
|
43
|
-
import "./memory-cli-
|
|
44
|
-
import "./manager-
|
|
35
|
+
import "./control-service-dAtxFV2S.js";
|
|
36
|
+
import "./cli-session-CJ4_a3AU.js";
|
|
37
|
+
import "./reply-LaOwllAB.js";
|
|
38
|
+
import "./model-auth-B3BPcnwt.js";
|
|
39
|
+
import "./context-CsnIPzGP.js";
|
|
40
|
+
import "./parse-timeout-DhqvtdXz.js";
|
|
41
|
+
import "./deliver-CkrMkcOx.js";
|
|
42
|
+
import "./pi-tools.policy-ClzqRWic.js";
|
|
43
|
+
import "./memory-cli-DEnGCMk0.js";
|
|
44
|
+
import "./manager-BVhxScwx.js";
|
|
45
45
|
import "./sqlite-WDviThxg.js";
|
|
46
46
|
import "./redact-hnHuWzNz.js";
|
|
47
47
|
import "./session-BofBojlx.js";
|
|
@@ -52,14 +52,14 @@ import { t as formatDocsLink } from "./links-CyFLSgkY.js";
|
|
|
52
52
|
import "./progress-DcyA3a5A.js";
|
|
53
53
|
import "./logging-DWwOqnTW.js";
|
|
54
54
|
import "./auth-store-BEUCdUFj.js";
|
|
55
|
-
import "./dispatcher-
|
|
55
|
+
import "./dispatcher-BhzRMibw.js";
|
|
56
56
|
import "./delivery-queue-BqJKnOa_.js";
|
|
57
57
|
import "./session-cost-usage-lfPU35Sb.js";
|
|
58
58
|
import { t as renderTable } from "./table-CliKZeKs.js";
|
|
59
59
|
import "./skill-scanner-CUbVbJhZ.js";
|
|
60
60
|
import { i as resolveArchiveKind } from "./archive-CI3UtbnF.js";
|
|
61
61
|
import "./npm-registry-spec-BWLzjYQ9.js";
|
|
62
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
62
|
+
import { t as buildPluginStatusReport } from "./status-D5zPydam.js";
|
|
63
63
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-Dl4WWErM.js";
|
|
64
64
|
import { n as updateNpmInstalledPlugins } from "./update-D0y_EYTU.js";
|
|
65
65
|
import os from "node:os";
|
|
@@ -2,44 +2,44 @@ import { m as resolveStateDir } from "./paths-zhVksOvm.js";
|
|
|
2
2
|
import { B as theme, u as defaultRuntime } from "./subsystem-BaJ-PqmA.js";
|
|
3
3
|
import { C as shortenHomePath, S as shortenHomeInString, _ as resolveConfigDir, b as resolveUserPath } from "./utils-RdHkpqQp.js";
|
|
4
4
|
import "./pi-embedded-helpers-6Tb87sgU.js";
|
|
5
|
-
import "./subagent-registry-
|
|
6
|
-
import "./reply-
|
|
5
|
+
import "./subagent-registry-D4idxv3D.js";
|
|
6
|
+
import "./reply-BJ3jrefM.js";
|
|
7
7
|
import "./exec-Bsq6vlwp.js";
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./model-selection-
|
|
8
|
+
import "./agent-scope-vpVhWds3.js";
|
|
9
|
+
import "./model-selection-C2dz3AhV.js";
|
|
10
10
|
import "./lanes-CjLEc1h9.js";
|
|
11
|
-
import { i as loadConfig, l as writeConfigFile } from "./config-
|
|
11
|
+
import { i as loadConfig, l as writeConfigFile } from "./config-9JRRXykP.js";
|
|
12
12
|
import "./boolean-Wzu0-e0P.js";
|
|
13
13
|
import "./env-CYcXAarB.js";
|
|
14
14
|
import "./shell-env-SbFYz02H.js";
|
|
15
15
|
import { f as applyExclusiveSlotSelection, o as resolveBundledPluginsDir, p as defaultSlotIdForKey } from "./manifest-registry-DLouWVJe.js";
|
|
16
|
-
import "./sessions-
|
|
16
|
+
import "./sessions-0J_pFd44.js";
|
|
17
17
|
import "./image-ops-CVabMYiY.js";
|
|
18
18
|
import "./polls-vAdf9owY.js";
|
|
19
|
-
import "./auth-profiles-
|
|
19
|
+
import "./auth-profiles-DZS4PC_i.js";
|
|
20
20
|
import "./file-lock-BRW4LeL0.js";
|
|
21
|
-
import "./model-auth-
|
|
22
|
-
import "./cli-session-
|
|
21
|
+
import "./model-auth-DUHamQTz.js";
|
|
22
|
+
import "./cli-session-CIhvoVRb.js";
|
|
23
23
|
import "./tokens-BLOye_TP.js";
|
|
24
|
-
import "./sandbox-
|
|
25
|
-
import "./chrome-
|
|
24
|
+
import "./sandbox-wL61f1WP.js";
|
|
25
|
+
import "./chrome-_87P03u5.js";
|
|
26
26
|
import { _ as promptYesNo } from "./auth-B8ry4GB_.js";
|
|
27
|
-
import "./server-context-
|
|
27
|
+
import "./server-context-CcPmRFx_.js";
|
|
28
28
|
import "./skills-DsdcfeyV.js";
|
|
29
|
-
import "./routes-
|
|
29
|
+
import "./routes-CNqS9gOj.js";
|
|
30
30
|
import "./ports-CmAt9mb6.js";
|
|
31
31
|
import "./message-channel-BbkwF58_.js";
|
|
32
32
|
import "./plugins-CFb1gJ4N.js";
|
|
33
33
|
import "./paths-CqMZNi-M.js";
|
|
34
34
|
import "./tool-images-C4cophRS.js";
|
|
35
|
-
import "./parse-timeout-
|
|
35
|
+
import "./parse-timeout-qnHqZvCW.js";
|
|
36
36
|
import "./chunk-DprzQA5H.js";
|
|
37
|
-
import "./deliver-
|
|
38
|
-
import "./pi-tools.policy-
|
|
39
|
-
import "./client-
|
|
40
|
-
import "./call-
|
|
41
|
-
import "./memory-cli-
|
|
42
|
-
import "./manager-
|
|
37
|
+
import "./deliver-tQREYhAr.js";
|
|
38
|
+
import "./pi-tools.policy-BoWzLBtH.js";
|
|
39
|
+
import "./client-BM5PkIwQ.js";
|
|
40
|
+
import "./call-C0Yk2qNb.js";
|
|
41
|
+
import "./memory-cli-CDMb58Y3.js";
|
|
42
|
+
import "./manager-1ZMunRXe.js";
|
|
43
43
|
import "./sqlite-EkbWHNXu.js";
|
|
44
44
|
import "./redact-BICFkpn7.js";
|
|
45
45
|
import "./session-DmKXXA8P.js";
|
|
@@ -51,8 +51,8 @@ import { t as formatDocsLink } from "./links-NgE0SEVZ.js";
|
|
|
51
51
|
import "./progress-gdB4V88Q.js";
|
|
52
52
|
import "./logging-1vypRz8h.js";
|
|
53
53
|
import "./auth-store-DWgI4Vj8.js";
|
|
54
|
-
import "./control-service-
|
|
55
|
-
import "./dispatcher-
|
|
54
|
+
import "./control-service-BpEnt1xS.js";
|
|
55
|
+
import "./dispatcher-wmQlHNsm.js";
|
|
56
56
|
import "./pi-model-discovery-HH8RvApN.js";
|
|
57
57
|
import "./delivery-queue-CdUtwMZr.js";
|
|
58
58
|
import "./session-cost-usage-CYdqhmt6.js";
|
|
@@ -60,7 +60,7 @@ import { t as renderTable } from "./table-BDer4ZEZ.js";
|
|
|
60
60
|
import "./skill-scanner-BA9Rv4AE.js";
|
|
61
61
|
import { i as resolveArchiveKind } from "./archive-BZANtsGY.js";
|
|
62
62
|
import "./npm-registry-spec-C6ePuyB4.js";
|
|
63
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
63
|
+
import { t as buildPluginStatusReport } from "./status-DYGeQK4c.js";
|
|
64
64
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-BSwkFdS_.js";
|
|
65
65
|
import { n as updateNpmInstalledPlugins } from "./update-D4AflGlu.js";
|
|
66
66
|
import fs from "node:fs";
|