@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,12 +1,12 @@
|
|
|
1
1
|
import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { I as success, O as danger, V as getChildLogger, W as toPinoLikeLogger } from "./subsystem-BaJ-PqmA.js";
|
|
3
3
|
import { b as resolveUserPath, c as ensureDir } from "./utils-RdHkpqQp.js";
|
|
4
|
-
import { M as VERSION } from "./config-
|
|
4
|
+
import { M as VERSION } from "./config-9JRRXykP.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-B1WxXbeU.js";
|
|
6
6
|
import { d as resolveWebCredsPath, l as resolveDefaultWebAuthDir, o as maybeRestoreCredsFromBackup, u as resolveWebCredsBackupPath } from "./auth-store-DWgI4Vj8.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
|
-
import WebSocket from "ws";
|
|
9
|
+
import WebSocket$1 from "ws";
|
|
10
10
|
import * as Crypto from "crypto";
|
|
11
11
|
import { createCipheriv, createDecipheriv, createHash as createHash$1, createHmac, randomBytes as randomBytes$1 } from "crypto";
|
|
12
12
|
import { promisify } from "util";
|
|
@@ -95629,20 +95629,20 @@ var WebSocketClient = class extends AbstractSocketClient {
|
|
|
95629
95629
|
this.socket = null;
|
|
95630
95630
|
}
|
|
95631
95631
|
get isOpen() {
|
|
95632
|
-
return this.socket?.readyState === WebSocket.OPEN;
|
|
95632
|
+
return this.socket?.readyState === WebSocket$1.OPEN;
|
|
95633
95633
|
}
|
|
95634
95634
|
get isClosed() {
|
|
95635
|
-
return this.socket === null || this.socket?.readyState === WebSocket.CLOSED;
|
|
95635
|
+
return this.socket === null || this.socket?.readyState === WebSocket$1.CLOSED;
|
|
95636
95636
|
}
|
|
95637
95637
|
get isClosing() {
|
|
95638
|
-
return this.socket === null || this.socket?.readyState === WebSocket.CLOSING;
|
|
95638
|
+
return this.socket === null || this.socket?.readyState === WebSocket$1.CLOSING;
|
|
95639
95639
|
}
|
|
95640
95640
|
get isConnecting() {
|
|
95641
|
-
return this.socket?.readyState === WebSocket.CONNECTING;
|
|
95641
|
+
return this.socket?.readyState === WebSocket$1.CONNECTING;
|
|
95642
95642
|
}
|
|
95643
95643
|
connect() {
|
|
95644
95644
|
if (this.socket) return;
|
|
95645
|
-
this.socket = new WebSocket(this.url, {
|
|
95645
|
+
this.socket = new WebSocket$1(this.url, {
|
|
95646
95646
|
origin: DEFAULT_ORIGIN,
|
|
95647
95647
|
headers: this.config.options?.headers,
|
|
95648
95648
|
handshakeTimeout: this.config.connectTimeoutMs,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-CJTCKTwb.js";
|
|
3
3
|
import { t as extractTopics } from "./topic-extractor-C62Ienjd.js";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } fr
|
|
|
2
2
|
import { I as toPinoLikeLogger, N as getChildLogger, O as success, b as danger } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
4
4
|
import { s as ensureDir, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
5
|
-
import { M as VERSION } from "./config-
|
|
5
|
+
import { M as VERSION } from "./config-6zE4ZkSF.js";
|
|
6
6
|
import { d as resolveWebCredsPath, l as resolveDefaultWebAuthDir, o as maybeRestoreCredsFromBackup, u as resolveWebCredsBackupPath } from "./auth-store-BEUCdUFj.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import { promisify } from "util";
|
|
@@ -15,7 +15,7 @@ import { inflate } from "zlib";
|
|
|
15
15
|
import { createReadStream, createWriteStream as createWriteStream$1, promises } from "fs";
|
|
16
16
|
import { Readable, Transform } from "stream";
|
|
17
17
|
import { exec } from "child_process";
|
|
18
|
-
import EventEmitter, { EventEmitter
|
|
18
|
+
import EventEmitter$1, { EventEmitter, once } from "events";
|
|
19
19
|
import { join } from "path";
|
|
20
20
|
import { URL as URL$1 } from "url";
|
|
21
21
|
import { AsyncLocalStorage } from "async_hooks";
|
|
@@ -88583,7 +88583,7 @@ const BUFFERABLE_EVENT_SET = new Set([
|
|
|
88583
88583
|
* making the data processing more efficient.
|
|
88584
88584
|
*/
|
|
88585
88585
|
const makeEventBuffer = (logger) => {
|
|
88586
|
-
const ev = new EventEmitter();
|
|
88586
|
+
const ev = new EventEmitter$1();
|
|
88587
88587
|
const historyCache = /* @__PURE__ */ new Set();
|
|
88588
88588
|
let data = makeBufferData();
|
|
88589
88589
|
let isBuffering = false;
|
|
@@ -95612,7 +95612,7 @@ var BinaryInfo = class {
|
|
|
95612
95612
|
|
|
95613
95613
|
//#endregion
|
|
95614
95614
|
//#region node_modules/.pnpm/@whiskeysockets+baileys@7.0.0-rc.9_sharp@0.34.5/node_modules/@whiskeysockets/baileys/lib/Socket/Client/types.js
|
|
95615
|
-
var AbstractSocketClient = class extends EventEmitter
|
|
95615
|
+
var AbstractSocketClient = class extends EventEmitter {
|
|
95616
95616
|
constructor(url, config) {
|
|
95617
95617
|
super();
|
|
95618
95618
|
this.url = url;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { E as requireActivePluginRegistry, b as getChatChannelMeta, g as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-BaJ-PqmA.js";
|
|
2
2
|
import { h as normalizeE164 } from "./utils-RdHkpqQp.js";
|
|
3
3
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, u as normalizeMainKey } from "./session-key-DxcgHezu.js";
|
|
4
|
-
import { f as parseByteSize, i as loadConfig, m as parseDurationMs } from "./config-
|
|
4
|
+
import { f as parseByteSize, i as loadConfig, m as parseDurationMs } from "./config-9JRRXykP.js";
|
|
5
5
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-BbkwF58_.js";
|
|
6
6
|
import { r as normalizeChannelId } from "./plugins-CFb1gJ4N.js";
|
|
7
7
|
import { c as resolveStorePath, n as resolveSessionFilePath, t as resolveDefaultSessionStorePath } from "./paths-CqMZNi-M.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { et as CHAT_CHANNEL_ORDER, it as getChatChannelMeta, o as createSubsystemLogger, ut as requireActivePluginRegistry } from "./entry.js";
|
|
2
2
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, u as normalizeMainKey } from "./session-key-DP2WHl90.js";
|
|
3
3
|
import { m as normalizeE164 } from "./utils-DwcweD55.js";
|
|
4
|
-
import { f as parseByteSize, i as loadConfig, m as parseDurationMs } from "./config-
|
|
4
|
+
import { f as parseByteSize, i as loadConfig, m as parseDurationMs } from "./config-6zE4ZkSF.js";
|
|
5
5
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-6Ln4eFyX.js";
|
|
6
6
|
import { r as normalizeChannelId } from "./plugins-Tpy9T9c2.js";
|
|
7
7
|
import { c as resolveStorePath, n as resolveSessionFilePath, t as resolveDefaultSessionStorePath } from "./paths-DqBoV7GZ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { M as theme, j as isRich, x as info } from "./entry.js";
|
|
3
|
-
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
5
|
-
import { i as loadSessionStore, v as resolveFreshSessionTotalTokens } from "./sessions-
|
|
3
|
+
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, v as DEFAULT_PROVIDER } from "./model-selection-DJcZ82uR.js";
|
|
4
|
+
import { i as loadConfig } from "./config-6zE4ZkSF.js";
|
|
5
|
+
import { i as loadSessionStore, v as resolveFreshSessionTotalTokens } from "./sessions-C7jYs5Sc.js";
|
|
6
6
|
import { c as resolveStorePath } from "./paths-DqBoV7GZ.js";
|
|
7
|
-
import { t as lookupContextTokens } from "./context-
|
|
7
|
+
import { t as lookupContextTokens } from "./context-CsnIPzGP.js";
|
|
8
8
|
import { n as formatTimeAgo } from "./format-relative-CBDSicUs.js";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/sessions.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
2
2
|
import { l as normalizeAgentId } from "./session-key-DP2WHl90.js";
|
|
3
|
-
import { t as listAgentIds } from "./agent-scope-
|
|
3
|
+
import { t as listAgentIds } from "./agent-scope-M302b8FW.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/models/shared.ts
|
|
6
6
|
const ensureFlagCompatibility = (opts) => {
|
|
@@ -2,9 +2,9 @@ import "./paths-zhVksOvm.js";
|
|
|
2
2
|
import { B as theme, u as defaultRuntime } from "./subsystem-BaJ-PqmA.js";
|
|
3
3
|
import { C as shortenHomePath } from "./utils-RdHkpqQp.js";
|
|
4
4
|
import "./exec-Bsq6vlwp.js";
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import { i as loadConfig } from "./config-
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
|
|
6
|
+
import "./model-selection-C2dz3AhV.js";
|
|
7
|
+
import { i as loadConfig } from "./config-9JRRXykP.js";
|
|
8
8
|
import "./boolean-Wzu0-e0P.js";
|
|
9
9
|
import "./env-CYcXAarB.js";
|
|
10
10
|
import "./shell-env-SbFYz02H.js";
|
|
@@ -2,10 +2,10 @@ import { M as theme, h as defaultRuntime } from "./entry.js";
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
3
3
|
import { S as shortenHomePath } from "./utils-DwcweD55.js";
|
|
4
4
|
import "./exec-DRQWu5Xi.js";
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
|
|
6
|
+
import "./model-selection-DJcZ82uR.js";
|
|
7
7
|
import "./manifest-registry-BHcAJo9u.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
8
|
+
import { i as loadConfig } from "./config-6zE4ZkSF.js";
|
|
9
9
|
import "./shell-env-DAw9qXji.js";
|
|
10
10
|
import { t as formatDocsLink } from "./links-CyFLSgkY.js";
|
|
11
11
|
import { t as renderTable } from "./table-CliKZeKs.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-CJTCKTwb.js";
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
4
|
import { homedir } from "node:os";
|
|
5
5
|
import { join } from "node:path";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-CJTCKTwb.js";
|
|
2
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-CmZenvlb.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fsSync from "node:fs";
|
|
7
7
|
import crypto from "node:crypto";
|
|
8
8
|
|
|
9
9
|
//#region src/memory/internal.ts
|
|
10
10
|
function ensureDir(dir) {
|
|
11
11
|
try {
|
|
12
|
-
|
|
12
|
+
fsSync.mkdirSync(dir, { recursive: true });
|
|
13
13
|
} catch {}
|
|
14
14
|
return dir;
|
|
15
15
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as loadIdentity } from "./loader-82icMkcZ.js";
|
|
2
|
-
import { c as formatNotification, i as colors, l as formatSuccess, n as banner, o as formatError, t as PROMPT } from "./display-CrCncL5X.js";
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import { syncConfig } from "./config-sync-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
2
|
+
import { c as formatNotification, i as colors, l as formatSuccess, n as banner, o as formatError, s as formatInfo, t as PROMPT } from "./display-CrCncL5X.js";
|
|
3
|
+
import { t as SessionOrchestrator } from "./orchestrator-KqoQDkvl.js";
|
|
4
|
+
import { t as BudgetTracker } from "./budget-XH9_9WRg.js";
|
|
5
|
+
import { t as HeartbeatEngine } from "./engine-CIid6j5k.js";
|
|
6
|
+
import "./registry-6ARhh9Nh.js";
|
|
7
|
+
import { n as syncConfig } from "./config-sync-B6XNCiWO.js";
|
|
8
|
+
import { a as isSVRNAvailable, i as SVRNNode, n as findCommand, r as loadSVRNConfig } from "./commands-quS1zRPr.js";
|
|
9
|
+
import { t as RequestQueue } from "./queue-CRtO6LOL.js";
|
|
10
|
+
import { r as loadAutoUpdateConfig, t as AnimaAutoUpdater } from "./auto-update-D5cnVgXE.js";
|
|
11
11
|
import { homedir } from "node:os";
|
|
12
12
|
import { join } from "node:path";
|
|
13
13
|
import { createInterface } from "node:readline";
|
|
@@ -17,7 +17,7 @@ import { createInterface } from "node:readline";
|
|
|
17
17
|
* ANIMA REPL Interface — the primary terminal interaction layer.
|
|
18
18
|
*
|
|
19
19
|
* Uses Node.js readline for input, with the NoxSoft aesthetic.
|
|
20
|
-
* Non-command input
|
|
20
|
+
* Non-command input is processed immediately when idle, queued when busy.
|
|
21
21
|
* Provides real-time completion notifications and graceful shutdown.
|
|
22
22
|
*/
|
|
23
23
|
var AnimaRepl = class {
|
|
@@ -44,7 +44,7 @@ var AnimaRepl = class {
|
|
|
44
44
|
await this.ctx.queue.load();
|
|
45
45
|
const bannerText = banner((await loadIdentity()).soul.split("\n").find((l) => l.startsWith("#"))?.replace(/^#+\s*/, "") || "ANIMA", this.ctx.heartbeat.getBeatCount(), this.ctx.budget.getRemaining());
|
|
46
46
|
process.stdout.write(bannerText + "\n");
|
|
47
|
-
process.stdout.write(`${colors.muted} Type anything to
|
|
47
|
+
process.stdout.write(`${colors.muted} Type anything to talk, or :help for commands.${colors.reset}\n\n`);
|
|
48
48
|
this.rl = createInterface({
|
|
49
49
|
input: process.stdin,
|
|
50
50
|
output: process.stdout,
|
|
@@ -113,8 +113,27 @@ var AnimaRepl = class {
|
|
|
113
113
|
this.rl?.prompt();
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
if (!this.processing) {
|
|
117
|
+
this.processing = true;
|
|
118
|
+
process.stdout.write(formatInfo("Processing...") + "\n");
|
|
119
|
+
try {
|
|
120
|
+
const result = await this.ctx.orchestrator.executeTask({
|
|
121
|
+
taskDescription: line,
|
|
122
|
+
maxBudgetUsd: 10,
|
|
123
|
+
timeoutMs: 6e5,
|
|
124
|
+
dangerouslySkipPermissions: true
|
|
125
|
+
});
|
|
126
|
+
if (result.output) process.stdout.write("\n" + result.output + "\n\n");
|
|
127
|
+
process.stdout.write(formatInfo(`(${result.status}, $${result.costUsd?.toFixed(2) || "?"})`) + "\n");
|
|
128
|
+
} catch (err) {
|
|
129
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
130
|
+
process.stdout.write(formatError(msg) + "\n");
|
|
131
|
+
}
|
|
132
|
+
this.processing = false;
|
|
133
|
+
} else {
|
|
134
|
+
const item = this.ctx.queue.enqueue(line, "normal", "repl");
|
|
135
|
+
process.stdout.write(formatSuccess(`Queued task ${item.id} — will run when current task finishes`) + "\n");
|
|
136
|
+
}
|
|
118
137
|
this.rl?.prompt();
|
|
119
138
|
}
|
|
120
139
|
/**
|
|
@@ -141,6 +160,10 @@ var AnimaRepl = class {
|
|
|
141
160
|
dangerouslySkipPermissions: true
|
|
142
161
|
});
|
|
143
162
|
this.ctx.queue.markCompleted(next.id, result.output);
|
|
163
|
+
if (result.output) {
|
|
164
|
+
process.stdout.write("\r\x1B[K");
|
|
165
|
+
process.stdout.write("\n" + result.output + "\n\n");
|
|
166
|
+
}
|
|
144
167
|
this.notify(`Task ${next.id} completed (${result.status}, $${result.costUsd?.toFixed(2) || "?"})`);
|
|
145
168
|
} catch (err) {
|
|
146
169
|
const msg = err instanceof Error ? err.message : String(err);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "./paths-zhVksOvm.js";
|
|
2
2
|
import { n as loadIdentity } from "./loader-DdJZwB8s.js";
|
|
3
|
-
import { c as formatNotification, i as colors, l as formatSuccess, n as banner, o as formatError, t as PROMPT } from "./display-vJZheCWD.js";
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import { syncConfig } from "./config-sync-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
3
|
+
import { c as formatNotification, i as colors, l as formatSuccess, n as banner, o as formatError, s as formatInfo, t as PROMPT } from "./display-vJZheCWD.js";
|
|
4
|
+
import { t as SessionOrchestrator } from "./orchestrator-CZ5SiD5l.js";
|
|
5
|
+
import { t as BudgetTracker } from "./budget-OJQ-m-_V.js";
|
|
6
|
+
import { t as HeartbeatEngine } from "./engine-C6iz-qEe.js";
|
|
7
|
+
import "./registry-E-bcMZe2.js";
|
|
8
|
+
import { n as syncConfig } from "./config-sync-CVNJhO-W.js";
|
|
9
|
+
import { a as isSVRNAvailable, i as SVRNNode, n as findCommand, r as loadSVRNConfig } from "./commands-BsZdF-6N.js";
|
|
10
|
+
import { t as RequestQueue } from "./queue-DMVbLSSW.js";
|
|
11
|
+
import { r as loadAutoUpdateConfig, t as AnimaAutoUpdater } from "./auto-update-DYjBYplz.js";
|
|
12
12
|
import { homedir } from "node:os";
|
|
13
13
|
import { join } from "node:path";
|
|
14
14
|
import { createInterface } from "node:readline";
|
|
@@ -18,7 +18,7 @@ import { createInterface } from "node:readline";
|
|
|
18
18
|
* ANIMA REPL Interface — the primary terminal interaction layer.
|
|
19
19
|
*
|
|
20
20
|
* Uses Node.js readline for input, with the NoxSoft aesthetic.
|
|
21
|
-
* Non-command input
|
|
21
|
+
* Non-command input is processed immediately when idle, queued when busy.
|
|
22
22
|
* Provides real-time completion notifications and graceful shutdown.
|
|
23
23
|
*/
|
|
24
24
|
var AnimaRepl = class {
|
|
@@ -45,7 +45,7 @@ var AnimaRepl = class {
|
|
|
45
45
|
await this.ctx.queue.load();
|
|
46
46
|
const bannerText = banner((await loadIdentity()).soul.split("\n").find((l) => l.startsWith("#"))?.replace(/^#+\s*/, "") || "ANIMA", this.ctx.heartbeat.getBeatCount(), this.ctx.budget.getRemaining());
|
|
47
47
|
process.stdout.write(bannerText + "\n");
|
|
48
|
-
process.stdout.write(`${colors.muted} Type anything to
|
|
48
|
+
process.stdout.write(`${colors.muted} Type anything to talk, or :help for commands.${colors.reset}\n\n`);
|
|
49
49
|
this.rl = createInterface({
|
|
50
50
|
input: process.stdin,
|
|
51
51
|
output: process.stdout,
|
|
@@ -114,8 +114,27 @@ var AnimaRepl = class {
|
|
|
114
114
|
this.rl?.prompt();
|
|
115
115
|
return;
|
|
116
116
|
}
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
if (!this.processing) {
|
|
118
|
+
this.processing = true;
|
|
119
|
+
process.stdout.write(formatInfo("Processing...") + "\n");
|
|
120
|
+
try {
|
|
121
|
+
const result = await this.ctx.orchestrator.executeTask({
|
|
122
|
+
taskDescription: line,
|
|
123
|
+
maxBudgetUsd: 10,
|
|
124
|
+
timeoutMs: 6e5,
|
|
125
|
+
dangerouslySkipPermissions: true
|
|
126
|
+
});
|
|
127
|
+
if (result.output) process.stdout.write("\n" + result.output + "\n\n");
|
|
128
|
+
process.stdout.write(formatInfo(`(${result.status}, $${result.costUsd?.toFixed(2) || "?"})`) + "\n");
|
|
129
|
+
} catch (err) {
|
|
130
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
131
|
+
process.stdout.write(formatError(msg) + "\n");
|
|
132
|
+
}
|
|
133
|
+
this.processing = false;
|
|
134
|
+
} else {
|
|
135
|
+
const item = this.ctx.queue.enqueue(line, "normal", "repl");
|
|
136
|
+
process.stdout.write(formatSuccess(`Queued task ${item.id} — will run when current task finishes`) + "\n");
|
|
137
|
+
}
|
|
119
138
|
this.rl?.prompt();
|
|
120
139
|
}
|
|
121
140
|
/**
|
|
@@ -142,6 +161,10 @@ var AnimaRepl = class {
|
|
|
142
161
|
dangerouslySkipPermissions: true
|
|
143
162
|
});
|
|
144
163
|
this.ctx.queue.markCompleted(next.id, result.output);
|
|
164
|
+
if (result.output) {
|
|
165
|
+
process.stdout.write("\r\x1B[K");
|
|
166
|
+
process.stdout.write("\n" + result.output + "\n\n");
|
|
167
|
+
}
|
|
145
168
|
this.notify(`Task ${next.id} completed (${result.status}, $${result.costUsd?.toFixed(2) || "?"})`);
|
|
146
169
|
} catch (err) {
|
|
147
170
|
const msg = err instanceof Error ? err.message : String(err);
|
|
@@ -4,34 +4,34 @@ import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
|
4
4
|
import { x as parseAgentSessionKey } from "./session-key-DP2WHl90.js";
|
|
5
5
|
import { n as runExec } from "./exec-DRQWu5Xi.js";
|
|
6
6
|
import { t as resolveAnimaPackageRoot } from "./anima-root-DBcJL1ZM.js";
|
|
7
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
8
|
-
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
7
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
|
|
8
|
+
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, v as DEFAULT_PROVIDER } from "./model-selection-DJcZ82uR.js";
|
|
9
9
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-CNEd8Dm9.js";
|
|
10
|
-
import { M as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-
|
|
11
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
12
|
-
import { S as resolveMainSessionKey, i as loadSessionStore, v as resolveFreshSessionTotalTokens } from "./sessions-
|
|
10
|
+
import { M as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-6zE4ZkSF.js";
|
|
11
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-LugHQWOF.js";
|
|
12
|
+
import { S as resolveMainSessionKey, i as loadSessionStore, v as resolveFreshSessionTotalTokens } from "./sessions-C7jYs5Sc.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-Tpy9T9c2.js";
|
|
14
14
|
import { h as readTailscaleStatusJson, m as getTailnetHostname } from "./auth-CBxE4UNz.js";
|
|
15
15
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-Dsm-zUSt.js";
|
|
16
16
|
import { c as resolveStorePath } from "./paths-DqBoV7GZ.js";
|
|
17
|
-
import { c as listAgentsForGateway, i as sha256HexPrefix, mt as getRemoteSkillEligibility, qt as peekSystemEvents } from "./cli-session-
|
|
18
|
-
import { A as summarizeRestartSentinel, _t as buildChannelSummary, c as loadProviderUsageSummary, k as readRestartSentinel, l as formatUsageReportLines, vt as buildChannelAccountSnapshot, yt as formatChannelAllowFrom } from "./reply-
|
|
19
|
-
import { t as lookupContextTokens } from "./context-
|
|
17
|
+
import { c as listAgentsForGateway, i as sha256HexPrefix, mt as getRemoteSkillEligibility, qt as peekSystemEvents } from "./cli-session-CJ4_a3AU.js";
|
|
18
|
+
import { A as summarizeRestartSentinel, _t as buildChannelSummary, c as loadProviderUsageSummary, k as readRestartSentinel, l as formatUsageReportLines, vt as buildChannelAccountSnapshot, yt as formatChannelAllowFrom } from "./reply-LaOwllAB.js";
|
|
19
|
+
import { t as lookupContextTokens } from "./context-CsnIPzGP.js";
|
|
20
20
|
import { r as formatDurationPrecise } from "./format-duration-onnA5Z9C.js";
|
|
21
21
|
import { n as formatTimeAgo } from "./format-relative-CBDSicUs.js";
|
|
22
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
22
|
+
import { r as getMemorySearchManager } from "./memory-cli-DEnGCMk0.js";
|
|
23
23
|
import { n as withProgress } from "./progress-DcyA3a5A.js";
|
|
24
|
-
import { S as normalizeControlUiBasePath, h as resolveControlUiLinks } from "./onboard-helpers-
|
|
24
|
+
import { S as normalizeControlUiBasePath, h as resolveControlUiLinks } from "./onboard-helpers-DKu_2enh.js";
|
|
25
25
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-U3nMjKlR.js";
|
|
26
26
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DjCoMfzA.js";
|
|
27
27
|
import { t as renderTable } from "./table-CliKZeKs.js";
|
|
28
|
-
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-
|
|
28
|
+
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-BDXqNA5J.js";
|
|
29
29
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DziQXnUf.js";
|
|
30
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
30
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-27WiwNrh.js";
|
|
31
31
|
import { a as formatGitInstallLabel, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, n as checkUpdateStatus, r as compareSemverStrings, t as collectChannelStatusIssues } from "./channels-status-issues-BSWv108Y.js";
|
|
32
32
|
import { t as resolveNodeService } from "./node-service-gOz94l61.js";
|
|
33
33
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-Vvgi68Gn.js";
|
|
34
|
-
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-
|
|
34
|
+
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-_DOVm6Tr.js";
|
|
35
35
|
import { spawnSync } from "node:child_process";
|
|
36
36
|
import os from "node:os";
|
|
37
37
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { J as loadAnimaPlugins } from "./reply-
|
|
2
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
|
|
3
|
+
import { i as loadConfig } from "./config-6zE4ZkSF.js";
|
|
4
|
+
import { J as loadAnimaPlugins } from "./reply-LaOwllAB.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-zhVksOvm.js";
|
|
2
2
|
import { B as theme, k as info, z as isRich } from "./subsystem-BaJ-PqmA.js";
|
|
3
|
-
import { D as readRestartSentinel, O as summarizeRestartSentinel, _t as formatChannelAllowFrom, c as loadProviderUsageSummary, gt as buildChannelAccountSnapshot, ht as buildChannelSummary, l as formatUsageReportLines } from "./reply-
|
|
3
|
+
import { D as readRestartSentinel, O as summarizeRestartSentinel, _t as formatChannelAllowFrom, c as loadProviderUsageSummary, gt as buildChannelAccountSnapshot, ht as buildChannelSummary, l as formatUsageReportLines } from "./reply-BJ3jrefM.js";
|
|
4
4
|
import { x as parseAgentSessionKey } from "./session-key-DxcgHezu.js";
|
|
5
5
|
import { n as runExec } from "./exec-Bsq6vlwp.js";
|
|
6
6
|
import { t as resolveAnimaPackageRoot } from "./anima-root-C5zoPibI.js";
|
|
7
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
8
|
-
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
9
|
-
import { M as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-
|
|
10
|
-
import { T as resolveFreshSessionTotalTokens, i as loadSessionStore, k as resolveMainSessionKey } from "./sessions-
|
|
7
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
|
|
8
|
+
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, v as DEFAULT_PROVIDER } from "./model-selection-C2dz3AhV.js";
|
|
9
|
+
import { M as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-9JRRXykP.js";
|
|
10
|
+
import { T as resolveFreshSessionTotalTokens, i as loadSessionStore, k as resolveMainSessionKey } from "./sessions-0J_pFd44.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-B1WxXbeU.js";
|
|
12
|
-
import { Yt as peekSystemEvents, c as listAgentsForGateway, ht as getRemoteSkillEligibility, i as sha256HexPrefix, zt as lookupContextTokens } from "./cli-session-
|
|
12
|
+
import { Yt as peekSystemEvents, c as listAgentsForGateway, ht as getRemoteSkillEligibility, i as sha256HexPrefix, zt as lookupContextTokens } from "./cli-session-CIhvoVRb.js";
|
|
13
13
|
import { h as readTailscaleStatusJson, m as getTailnetHostname } from "./auth-B8ry4GB_.js";
|
|
14
14
|
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-CmAt9mb6.js";
|
|
15
15
|
import { n as listChannelPlugins } from "./plugins-CFb1gJ4N.js";
|
|
16
16
|
import { c as resolveStorePath } from "./paths-CqMZNi-M.js";
|
|
17
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
17
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-C0Yk2qNb.js";
|
|
18
18
|
import { r as formatDurationPrecise } from "./format-duration-DduItW4_.js";
|
|
19
19
|
import { n as formatTimeAgo } from "./format-relative-C57Jb4Zw.js";
|
|
20
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
20
|
+
import { r as getMemorySearchManager } from "./memory-cli-CDMb58Y3.js";
|
|
21
21
|
import { n as withProgress } from "./progress-gdB4V88Q.js";
|
|
22
22
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DeW3dXom.js";
|
|
23
|
-
import { S as normalizeControlUiBasePath, h as resolveControlUiLinks } from "./onboard-helpers-
|
|
23
|
+
import { S as normalizeControlUiBasePath, h as resolveControlUiLinks } from "./onboard-helpers-CMW6MSXA.js";
|
|
24
24
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-H_0E0nOX.js";
|
|
25
25
|
import { t as readLastGatewayErrorLine } from "./diagnostics-zpQTQwXE.js";
|
|
26
26
|
import { t as renderTable } from "./table-BDer4ZEZ.js";
|
|
27
|
-
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-
|
|
27
|
+
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-Cm50mcVm.js";
|
|
28
28
|
import { t as resolveChannelDefaultAccountId } from "./helpers-13ojLRv8.js";
|
|
29
|
-
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
29
|
+
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-Cb_2WS_Z.js";
|
|
30
30
|
import { a as formatGitInstallLabel, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, n as checkUpdateStatus, r as compareSemverStrings, t as collectChannelStatusIssues } from "./channels-status-issues-BCuAG8zm.js";
|
|
31
31
|
import { t as resolveNodeService } from "./node-service-CCMaTNEM.js";
|
|
32
|
-
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-
|
|
32
|
+
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-s92nCoGl.js";
|
|
33
33
|
import fs from "node:fs";
|
|
34
34
|
import os from "node:os";
|
|
35
35
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-BaJ-PqmA.js";
|
|
2
|
-
import { K as loadAnimaPlugins } from "./reply-
|
|
3
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
2
|
+
import { K as loadAnimaPlugins } from "./reply-BJ3jrefM.js";
|
|
3
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
|
|
4
|
+
import { i as loadConfig } from "./config-9JRRXykP.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
2
2
|
import { t as resolveAnimaPackageRoot } from "./anima-root-DBcJL1ZM.js";
|
|
3
|
-
import { M as VERSION } from "./config-
|
|
3
|
+
import { M as VERSION } from "./config-6zE4ZkSF.js";
|
|
4
4
|
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channels-status-issues-BSWv108Y.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/status.update.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as resolveAnimaPackageRoot } from "./anima-root-C5zoPibI.js";
|
|
2
|
-
import { M as VERSION } from "./config-
|
|
2
|
+
import { M as VERSION } from "./config-9JRRXykP.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B1WxXbeU.js";
|
|
4
4
|
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channels-status-issues-BCuAG8zm.js";
|
|
5
5
|
|
|
@@ -3,16 +3,16 @@ import { m as resolveStateDir } from "./paths-zhVksOvm.js";
|
|
|
3
3
|
import { t as createSubsystemLogger, u as defaultRuntime } from "./subsystem-BaJ-PqmA.js";
|
|
4
4
|
import { l as sanitizeUserFacingText } from "./pi-embedded-helpers-6Tb87sgU.js";
|
|
5
5
|
import { _ as isAcpSessionKey, d as resolveAgentIdFromSessionKey, g as getSubagentDepth, u as normalizeMainKey, x as parseAgentSessionKey } from "./session-key-DxcgHezu.js";
|
|
6
|
-
import { c as resolveDefaultAgentId, l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-
|
|
6
|
+
import { c as resolveDefaultAgentId, l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-vpVhWds3.js";
|
|
7
7
|
import { S as resolveAgentTimeoutMs, f as stripHeartbeatToken, g as isEmbeddedPiRunActive, o as onAgentEvent, p as CommandLane, t as AGENT_LANE_NESTED, v as queueEmbeddedPiMessage, x as waitForEmbeddedPiRunEnd, y as resolveEmbeddedSessionLane } from "./lanes-CjLEc1h9.js";
|
|
8
|
-
import { i as loadConfig, m as parseDurationMs } from "./config-
|
|
9
|
-
import { d as deliveryContextFromSession, f as deliveryContextKey, i as loadSessionStore, k as resolveMainSessionKey, m as normalizeDeliveryContext, p as mergeDeliveryContext } from "./sessions-
|
|
8
|
+
import { i as loadConfig, m as parseDurationMs } from "./config-9JRRXykP.js";
|
|
9
|
+
import { d as deliveryContextFromSession, f as deliveryContextKey, i as loadSessionStore, k as resolveMainSessionKey, m as normalizeDeliveryContext, p as mergeDeliveryContext } from "./sessions-0J_pFd44.js";
|
|
10
10
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-BlkprnHI.js";
|
|
11
11
|
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText, t as HEARTBEAT_TOKEN } from "./tokens-BLOye_TP.js";
|
|
12
12
|
import { l as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BbkwF58_.js";
|
|
13
13
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CFb1gJ4N.js";
|
|
14
14
|
import { c as resolveStorePath } from "./paths-CqMZNi-M.js";
|
|
15
|
-
import { n as callGateway } from "./call-
|
|
15
|
+
import { n as callGateway } from "./call-C0Yk2qNb.js";
|
|
16
16
|
import fs from "node:fs";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
@@ -932,7 +932,7 @@ async function routeReply(params) {
|
|
|
932
932
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
933
933
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
934
934
|
try {
|
|
935
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
935
|
+
const { deliverOutboundPayloads } = await import("./deliver-tQREYhAr.js").then((n) => n.n);
|
|
936
936
|
return {
|
|
937
937
|
ok: true,
|
|
938
938
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { Z as resolveStateDir, h as defaultRuntime, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { _ as isAcpSessionKey, d as resolveAgentIdFromSessionKey, g as getSubagentDepth, u as normalizeMainKey, x as parseAgentSessionKey } from "./session-key-DP2WHl90.js";
|
|
4
|
-
import { c as resolveDefaultAgentId, l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-
|
|
4
|
+
import { c as resolveDefaultAgentId, l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-M302b8FW.js";
|
|
5
5
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-CB2TLjwS.js";
|
|
6
|
-
import { i as loadConfig, m as parseDurationMs } from "./config-
|
|
7
|
-
import { n as callGateway } from "./call-
|
|
6
|
+
import { i as loadConfig, m as parseDurationMs } from "./config-6zE4ZkSF.js";
|
|
7
|
+
import { n as callGateway } from "./call-LugHQWOF.js";
|
|
8
8
|
import { l as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-6Ln4eFyX.js";
|
|
9
9
|
import { _ as waitForEmbeddedPiRunEnd, c as stripHeartbeatToken, f as isEmbeddedPiRunActive, h as resolveEmbeddedSessionLane, l as CommandLane, m as queueEmbeddedPiMessage, n as AGENT_LANE_NESTED, t as resolveAgentTimeoutMs, x as onAgentEvent } from "./timeout-BXC4bZck.js";
|
|
10
|
-
import { F as normalizeDeliveryContext, M as deliveryContextFromSession, N as deliveryContextKey, P as mergeDeliveryContext, S as resolveMainSessionKey, i as loadSessionStore } from "./sessions-
|
|
10
|
+
import { F as normalizeDeliveryContext, M as deliveryContextFromSession, N as deliveryContextKey, P as mergeDeliveryContext, S as resolveMainSessionKey, i as loadSessionStore } from "./sessions-C7jYs5Sc.js";
|
|
11
11
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Tpy9T9c2.js";
|
|
12
12
|
import { b as sanitizeUserFacingText } from "./pi-embedded-helpers-D_ZL9Ofu.js";
|
|
13
13
|
import { c as resolveStorePath } from "./paths-DqBoV7GZ.js";
|
|
@@ -1068,7 +1068,7 @@ async function routeReply(params) {
|
|
|
1068
1068
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
1069
1069
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
1070
1070
|
try {
|
|
1071
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
1071
|
+
const { deliverOutboundPayloads } = await import("./deliver-CkrMkcOx.js").then((n) => n.n);
|
|
1072
1072
|
return {
|
|
1073
1073
|
ok: true,
|
|
1074
1074
|
messageId: (await deliverOutboundPayloads({
|