@symerian/symi 2.5.6 → 2.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-ChTFYj8Q.js → accounts-CWktKM8a.js} +1 -1
- package/dist/{accounts-CJR8j_Kq.js → accounts-qtxJ-6em.js} +1 -1
- package/dist/{accounts-CI6zQTJj.js → accounts-tNElYrCH.js} +14 -14
- package/dist/{active-listener-D6sXIjAg.js → active-listener-C9r8ZB9m.js} +1 -1
- package/dist/{agent-scope-Bw1Ed8W9.js → agent-scope-BxoUQqgM.js} +3 -3
- package/dist/{agents-C-zwlmkD.js → agents-CXloh6n_.js} +4 -4
- package/dist/{agents.config-BhirEHt2.js → agents.config-BhAJXAtA.js} +1 -1
- package/dist/{agents.config-Cuvv6Uxa.js → agents.config-BuTzBaXf.js} +1 -1
- package/dist/{audio-preflight-BkIfnmpi.js → audio-preflight-O3ASWbaG.js} +29 -29
- package/dist/{auth-choice-vHGMmJ9y.js → auth-choice-Br6zT8iS.js} +1 -1
- package/dist/{auth-choice-CKfB5JPP.js → auth-choice-DvaVrSwn.js} +1 -1
- package/dist/{banner-DYRlXmOu.js → banner-BtqKaQZr.js} +1 -1
- package/dist/{bindings-BU2hsBd9.js → bindings-B7Ke6LJi.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- 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 +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-C9-gaquj.js → channel-activity-CsM_hJ_s.js} +1 -1
- package/dist/{channel-options-BLLQIoS0.js → channel-options-CfLxsV76.js} +1 -1
- package/dist/{channel-options-CUCoqIfn.js → channel-options-DFHEgad5.js} +1 -1
- package/dist/{channel-web-C-KPvAUY.js → channel-web-D-jDDmWN.js} +1 -1
- package/dist/{channels-cli-0g5R4QeZ.js → channels-cli-BEZORT4N.js} +4 -4
- package/dist/{channels-cli--qI2IkMe.js → channels-cli-CT6wdGT8.js} +4 -4
- package/dist/{chrome-CxSAp8x3.js → chrome-BFekevcE.js} +20 -20
- package/dist/{chunk-ClbN9Pqy.js → chunk-BW5f05BR.js} +1 -1
- package/dist/{cli-pSBGjcjV.js → cli-CkxvN9Cb.js} +1 -1
- package/dist/{cli-DJHjm2Kh.js → cli-kxxM9xT0.js} +1 -1
- package/dist/{command-format-UKHV-j0K.js → command-format-BaxDnULz.js} +1 -1
- package/dist/{command-registry-Cy7a5Xcu.js → command-registry-DsqA8NDd.js} +9 -9
- package/dist/{commands-registry-VSmULp-g.js → commands-registry-D7CTCQPm.js} +4 -4
- package/dist/{completion-cli-DErjG0lV.js → completion-cli-QCrjurdu.js} +2 -2
- package/dist/{completion-cli-C-OS6kYL.js → completion-cli-mZMiIG7C.js} +1 -1
- package/dist/{config-eEaJddXj.js → config-DRbjHIwD.js} +12 -12
- package/dist/{config-cli-DFuOjqjk.js → config-cli-CS_0o9LY.js} +1 -1
- package/dist/{config-cli-BsBWYY8X.js → config-cli-DLsLPE4o.js} +1 -1
- package/dist/{configure-TTAIJBn8.js → configure-BX4aNf3w.js} +3 -3
- package/dist/{configure-h82jPKQi.js → configure-T9J4bw0H.js} +3 -3
- package/dist/control-ui/js/app.js +1 -1
- package/dist/{deliver-BA7ZN3iM.js → deliver-CvCK5Mm9.js} +20 -20
- package/dist/{diagnostic-C3nsWaw3.js → diagnostic-CI0kRQkt.js} +1 -1
- package/dist/{doctor-completion-Dun5W6M-.js → doctor-completion-BKydQfCM.js} +1 -1
- package/dist/{doctor-completion-BbGM1ada.js → doctor-completion-CTodkFg2.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{frontmatter-DPlG6yha.js → frontmatter-C_bv_0P8.js} +2 -2
- package/dist/{gateway-cli-BzihvR67.js → gateway-cli-CZnyhTAu.js} +11 -10
- package/dist/{gateway-cli-DGd0MHyj.js → gateway-cli-DEpU3Bg3.js} +11 -10
- package/dist/{gemini-auth-CF48hUR9.js → gemini-auth-CdSPHuLl.js} +1 -1
- package/dist/{github-copilot-token-DJqsJ2-r.js → github-copilot-token-C_qUP7p5.js} +7 -7
- package/dist/{glass-ui-ws-C4AdoDVx.js → glass-ui-ws-BdBSYcsf.js} +7 -7
- package/dist/{glass-ui-ws-BgAvm1ZX.js → glass-ui-ws-KbKXJGb5.js} +7 -7
- package/dist/{health-B_0VYYAz.js → health-DQmyj-7z.js} +1 -1
- package/dist/{health-CnR_-oJB.js → health-z-YCZRhf.js} +1 -1
- package/dist/{hooks-cli-DHY257oF.js → hooks-cli-4d-QhgRs.js} +2 -2
- package/dist/{hooks-cli-SzFS-UE-.js → hooks-cli-BRehYEXJ.js} +2 -2
- package/dist/{image-BGmVDkkw.js → image-B0wGflxA.js} +4 -4
- package/dist/{image-ops-S8-8dAhx.js → image-ops-CvJzsyvE.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/{ir-CbFUkv_T.js → ir-DccrnjsE.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-C7OCYACU.js → local-roots-DMwIh5cS.js} +5 -5
- package/dist/{login-B8uiUAnV.js → login-CwCoxapk.js} +7 -7
- package/dist/{login-qr-CIZk8uKX.js → login-qr-Batf3PT5.js} +12 -12
- package/dist/{manager-BoLr3xR_.js → manager-D_LwXbc6.js} +13 -13
- package/dist/{manifest-registry-CneMHk0N.js → manifest-registry-D0IQ3WuX.js} +19 -19
- package/dist/{markdown-tables-DSHvnTLx.js → markdown-tables-iMQQZu4Q.js} +1 -1
- package/dist/{message-channel-DbsRltF2.js → message-channel-Dz5lr5b0.js} +1 -1
- package/dist/{model-auth-CwOuTuXl.js → model-auth-DK43VicI.js} +9 -9
- package/dist/{models-5jM2RayT.js → models-CPlSSoV0.js} +2 -2
- package/dist/{models-cli-CvD01IPe.js → models-cli-BM2RWTmM.js} +2 -2
- package/dist/{models-cli-Cgj3-01s.js → models-cli-DDhpJuX3.js} +3 -3
- package/dist/{onboard-CG_dt1-i.js → onboard-BczLOUCW.js} +2 -2
- package/dist/{onboard-CQdHpiGe.js → onboard-DpB21qno.js} +2 -2
- package/dist/{onboard-channels-CV2E5uqw.js → onboard-channels-DjfS9mS6.js} +1 -1
- package/dist/{onboard-channels-BEE7ctUH.js → onboard-channels-S0FbC25u.js} +1 -1
- package/dist/{onboarding-CImYGoGs.js → onboarding--mrKZtpR.js} +3 -3
- package/dist/{onboarding-CnDTeetJ.js → onboarding-CyPkawbg.js} +3 -3
- package/dist/{onboarding.finalize-PsAMCvC4.js → onboarding.finalize-0XoI3wLH.js} +6 -6
- package/dist/{onboarding.finalize-XA0M28ax.js → onboarding.finalize-C0ijhYbg.js} +5 -5
- package/dist/{outbound-opDNxv-l.js → outbound-D4fN_ZlE.js} +7 -7
- package/dist/{outbound-attachment-Co2diKdP.js → outbound-attachment-DjNDa3zn.js} +2 -2
- package/dist/{paths-CySxpNhH.js → paths-Cce4PUkG.js} +5 -5
- package/dist/{paths-Cb87-LzP.js → paths-DLyHUt31.js} +1 -1
- package/dist/{pi-auth-json-DPWPoruO.js → pi-auth-json-0SYBFZTt.js} +8 -8
- package/dist/{pi-embedded-BoObe4LL.js → pi-embedded-CTBkDXkV.js} +163 -167
- package/dist/{pi-embedded-CxeVR0iH.js → pi-embedded-Cg70pjmm.js} +3 -7
- package/dist/{pi-embedded-helpers-DEEaCvEp.js → pi-embedded-helpers-DLFjnVBb.js} +52 -52
- package/dist/{plugin-registry-DIvEhT-N.js → plugin-registry-Dxo1iUfJ.js} +1 -1
- package/dist/{plugin-registry-BCiEkngD.js → plugin-registry-VhRGXCLQ.js} +1 -1
- package/dist/plugin-sdk/{accounts-BtaOa4z_.js → accounts-BToL3HlP.js} +1 -1
- package/dist/plugin-sdk/{accounts-Ddm33hQm.js → accounts-D9zGZU5t.js} +3 -3
- package/dist/plugin-sdk/{accounts-s-AdhXVR.js → accounts-Dtszw3Zn.js} +1 -1
- package/dist/plugin-sdk/{active-listener-BXYeALs0.js → active-listener-bEk__wbB.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-CYYpcO9W.js → agent-scope-C3gMMKCU.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-D_sMvI5W.js → api-key-rotation-CVBMpnPc.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-VpItkiy3.js → audio-preflight-DoQQKlxa.js} +24 -24
- package/dist/plugin-sdk/{bindings-C7hRtgYW.js → bindings-BbwoUGPx.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DoC1xtDu.js → channel-activity-Ji7f0gqq.js} +1 -1
- package/dist/plugin-sdk/{channel-web-ZDgr_tEt.js → channel-web-DKo2tOO-.js} +22 -22
- package/dist/plugin-sdk/{chrome-B7RdxmJ0.js → chrome-C7c_0I5M.js} +3 -3
- package/dist/plugin-sdk/{chunk-Dw2XBYXv.js → chunk-jvk9axTQ.js} +1 -1
- package/dist/plugin-sdk/{command-format-GKSevep4.js → command-format-DSdvQ_M5.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-COIaslGl.js → commands-registry-CQFbmUMs.js} +4 -4
- package/dist/plugin-sdk/{config-KlTNfkFF.js → config-DDkdiUOR.js} +9 -9
- package/dist/plugin-sdk/{deliver-BZ99UKQq.js → deliver-BZ6iNLl7.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-05pm5Rxi.js → diagnostic-mFf4i4G9.js} +1 -1
- package/dist/plugin-sdk/{image-CLOPx7yW.js → image-BOYy0Ump.js} +4 -4
- package/dist/plugin-sdk/{image-ops-BlQR__MN.js → image-ops-Bnp6LXEx.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-BJ6BHE5b.js → ir-Fb3qpcis.js} +4 -4
- package/dist/plugin-sdk/{local-roots-BHLNSI8U.js → local-roots-Ckk1QfzI.js} +3 -3
- package/dist/plugin-sdk/{login-DQMXuxOk.js → login-Bh3DZPam.js} +7 -7
- package/dist/plugin-sdk/{login-qr-BjVZSoCi.js → login-qr-DbR7odSr.js} +9 -9
- package/dist/plugin-sdk/{manager-CBSBFuFz.js → manager-DckktAQ3.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-CPnHl_K3.js → manifest-registry-B3ugY9-f.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-BoYFajMu.js → markdown-tables-Dfaqilz6.js} +1 -1
- package/dist/plugin-sdk/{message-channel-COTAJzHd.js → message-channel-BdI5Ra9S.js} +1 -1
- package/dist/plugin-sdk/{model-selection-CsbEfrS0.js → model-selection-OpU8HN50.js} +4 -4
- package/dist/plugin-sdk/{outbound-attachment-CnslKL38.js → outbound-attachment-DnVQfTG2.js} +2 -2
- package/dist/plugin-sdk/{outbound-B0e8KdaR.js → outbound-rF6G8Xpr.js} +7 -7
- package/dist/plugin-sdk/{pi-auth-json-qWi7ZIYV.js → pi-auth-json-CJk8t14T.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-CW630epe.js → pi-embedded-helpers-BveUP4hk.js} +17 -17
- package/dist/plugin-sdk/{plugins-BNByVCIH.js → plugins-BbAvhC25.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-CnbPIPY9.js → pw-ai-DjGUsee-.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-CH0XbIHf.js → qmd-manager-mjKcdwVr.js} +4 -4
- package/dist/plugin-sdk/{registry-D0xTnUWt.js → registry--_pGht6S.js} +2 -2
- package/dist/{replies-DpPvWiGF.js → plugin-sdk/replies-fI39rPGa.js} +3 -3
- package/dist/plugin-sdk/{reply-B6dnSZL8.js → reply-Ch4_18FZ.js} +79 -83
- package/dist/plugin-sdk/{reply-prefix-uxfMZW4p.js → reply-prefix-BHuV5t70.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BiyAyTWz.js → resolve-outbound-target-BkCUbYGV.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-B3CCBumQ.js → resolve-route-D3JH_D2N.js} +3 -3
- package/dist/plugin-sdk/{retry-CwQ_iIj8.js → retry-ilSJqnz9.js} +1 -1
- package/dist/plugin-sdk/{runner-CGBT7tgF.js → runner-BVqnEfNe.js} +9 -9
- package/dist/plugin-sdk/{send-C5h_YxNb.js → send-BHbXh8Ly.js} +7 -7
- package/dist/plugin-sdk/{send-pYqe432l.js → send-BMfJIhCk.js} +6 -6
- package/dist/plugin-sdk/{send-B2CEnVLL.js → send-BtANzsAo.js} +6 -6
- package/dist/plugin-sdk/{send-CjOBB3Vo.js → send-Bxdu6ZZy.js} +10 -10
- package/dist/plugin-sdk/{send-CRsR8-vO.js → send-D6LMZJ_h.js} +10 -10
- package/dist/plugin-sdk/{session-BsOrxiMj.js → session-kI0tzViQ.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-ff_01_r3.js → skill-commands-DCNXVERE.js} +5 -5
- package/dist/plugin-sdk/{skills-_yTP47Cd.js → skills-B1GeRYlu.js} +7 -7
- package/dist/plugin-sdk/{sqlite-CxAR5ttJ.js → sqlite-Cq_7Cg4E.js} +1 -1
- package/dist/plugin-sdk/{store-BdrNabcU.js → store-Do3t33-c.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B2uDN3TV.js → subsystem-Coz2AgU8.js} +1 -1
- package/dist/plugin-sdk/{tables-DNwXwNFa.js → tables-DR0NmBeH.js} +1 -1
- package/dist/{target-errors-DyItGyW9.js → plugin-sdk/target-errors-B7YyMnIi.js} +2 -2
- package/dist/plugin-sdk/{thinking-CXqf7WTe.js → thinking-DCNUIAHY.js} +5 -5
- package/dist/{tokens-c_SLAkVb.js → plugin-sdk/tokens-CWMflosr.js} +1 -1
- package/dist/{tool-images-DBCfXdli.js → plugin-sdk/tool-images-D7Lno-TE.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-BVA6fax-.js → tool-loop-detection-edmW8ZiF.js} +2 -2
- package/dist/plugin-sdk/web-Dz2oyzw_.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-DfseosPO.js → whatsapp-actions-CcBzDuL-.js} +21 -21
- package/dist/{plugins-C4C9637U.js → plugins-DQYI3Fr-.js} +9 -9
- package/dist/{plugins-cli-tmjVtXCB.js → plugins-cli-DeDSnKlr.js} +2 -2
- package/dist/{plugins-cli-C5yJIYJi.js → plugins-cli-zNr1ThAO.js} +2 -2
- package/dist/{program-Ca2for1-.js → program-COEKTv5u.js} +7 -7
- package/dist/{program-context-BCUX2Nks.js → program-context-CbM3x8lT.js} +17 -17
- package/dist/{prompt-select-styled-CQHjO6cn.js → prompt-select-styled-C6JLWNMU.js} +4 -4
- package/dist/{prompt-select-styled-D4fL09YB.js → prompt-select-styled-d18_XWTb.js} +4 -4
- package/dist/{provider-auth-helpers-hVbz-9Kx.js → provider-auth-helpers-BmH4oHwJ.js} +1 -1
- package/dist/{provider-auth-helpers-BOPjr8Hp.js → provider-auth-helpers-C8cO9DLi.js} +1 -1
- package/dist/{push-apns-BGed3jID.js → push-apns-CJtWrkQV.js} +1 -1
- package/dist/{push-apns-Dvev_pGx.js → push-apns-CoqskfCc.js} +1 -1
- package/dist/{pw-ai-DhwRiS06.js → pw-ai-BnAKvSuw.js} +11 -11
- package/dist/{qmd-manager-DdZh9PHs.js → qmd-manager-QHUP-_em.js} +7 -7
- package/dist/{register.agent-CeyrNkOh.js → register.agent-C1Is84Q1.js} +5 -5
- package/dist/{register.agent-B1stLSUm.js → register.agent-fK3vOCU5.js} +6 -6
- package/dist/{register.configure-CL1qsRsF.js → register.configure-CIwwqqt9.js} +6 -6
- package/dist/{register.configure-NHopwe6g.js → register.configure-DFJeKFFK.js} +6 -6
- package/dist/{register.maintenance-C8M0d4fM.js → register.maintenance-BwTFd3Ax.js} +8 -8
- package/dist/{register.maintenance-CScpju68.js → register.maintenance-DKDqruW6.js} +7 -7
- package/dist/{register.message-FddF6AGb.js → register.message-Ce57RPK8.js} +2 -2
- package/dist/{register.message-G13g5zE0.js → register.message-DYnXMP4c.js} +2 -2
- package/dist/{register.onboard-CocXCO2O.js → register.onboard-9glf-j43.js} +4 -4
- package/dist/{register.onboard-CtjREg9H.js → register.onboard-Dj-_AJQr.js} +4 -4
- package/dist/{register.setup-A2pJJq8s.js → register.setup-C0CXUMFE.js} +4 -4
- package/dist/{register.setup-DPUOwOwT.js → register.setup-Cp3DBI6D.js} +4 -4
- package/dist/{register.status-health-sessions-CZ-BArps.js → register.status-health-sessions-BncpB9Vw.js} +3 -3
- package/dist/{register.status-health-sessions-ChCsybS4.js → register.status-health-sessions-DBXMyrNP.js} +3 -3
- package/dist/{register.subclis-DxUdic-V.js → register.subclis-D6PmKJll.js} +9 -9
- package/dist/{registry-DP24za6g.js → registry-CK4e9hn8.js} +17 -17
- package/dist/{plugin-sdk/replies-LLcQL3w6.js → replies-BIX_isV7.js} +3 -3
- package/dist/{reply-Ctyysgpp.js → reply-BfZzgC9H.js} +3 -7
- package/dist/{reply-prefix-CtL0omgM.js → reply-prefix-XlyuyChD.js} +1 -1
- package/dist/{resolve-route-BVikmvWO.js → resolve-route-CZ-1eqw0.js} +4 -4
- package/dist/{retry-dGG-MbxL.js → retry-Cly39XZB.js} +1 -1
- package/dist/{run-main-l7jpr7im.js → run-main-wm3s04Xh.js} +14 -14
- package/dist/{runner-B_KP4voe.js → runner-odEv83vv.js} +9 -9
- package/dist/{send-DeEosX8F.js → send-B1u-LrcS.js} +18 -18
- package/dist/{send-DwKJK3sM.js → send-CiTGOvEc.js} +10 -10
- package/dist/{send-zSarozV2.js → send-DW96zgDL.js} +6 -6
- package/dist/{send-CHEOWVc8.js → send-DeFniOjh.js} +6 -6
- package/dist/{send-DbcLJb0P.js → send-WyRqb4WD.js} +7 -7
- package/dist/{server-methods-SgJRxF2Z.js → server-methods-D5zcFhng.js} +7 -7
- package/dist/{server-methods-UoDpfcdK.js → server-methods-xXv4ObXK.js} +7 -7
- package/dist/{server-node-events-DIZ6YgkJ.js → server-node-events-BN7H6wBM.js} +2 -2
- package/dist/{server-node-events-CIsxaaN2.js → server-node-events-D4At7-pe.js} +2 -2
- package/dist/{session-DV1MNlbV.js → session-SM36BTsl.js} +8 -8
- package/dist/{skill-commands-D610IKhm.js → skill-commands-BJMb_psG.js} +9 -9
- package/dist/{skills-o5WVqM4V.js → skills-BFekKL7i.js} +21 -21
- package/dist/{sqlite-6H6Zw1cs.js → sqlite-DRbx2dhW.js} +4 -4
- package/dist/{status-OyqCjO3u.js → status-C5rGEkur.js} +1 -1
- package/dist/{status-Ht9BRQAx.js → status-Nhvf_TEN.js} +1 -1
- package/dist/{status-ygwPf63x.js → status-PbQwO8SV.js} +2 -2
- package/dist/{status--s6vuxyI.js → status-XJTqV-CC.js} +2 -2
- package/dist/{store-vVE6N2mH.js → store-C0wvOkae.js} +2 -2
- package/dist/{subagent-registry-DraLysSX.js → subagent-registry-DvCrN2PQ.js} +3 -7
- package/dist/{subsystem-DgpxyDQ_.js → subsystem-Bs9YvKLa.js} +1 -1
- package/dist/{tables-BIWsCKXJ.js → tables-DuZspiBu.js} +1 -1
- package/dist/{plugin-sdk/target-errors-Paro1BjP.js → target-errors-Be1SwYlW.js} +2 -2
- package/dist/{thinking-Ni0HF-w6.js → thinking-CdlENGRW.js} +5 -5
- package/dist/{plugin-sdk/tokens-bC3UVmVH.js → tokens-H1H1LiSQ.js} +1 -1
- package/dist/{plugin-sdk/tool-images-HJ2sfZDV.js → tool-images-DXB7tqWi.js} +2 -2
- package/dist/{tool-loop-detection-Bbc9OPFR.js → tool-loop-detection-Cs8_HCsx.js} +3 -3
- package/dist/{update-cli-DJQ8rqnN.js → update-cli-BHxqriaA.js} +7 -7
- package/dist/{update-cli-BerlMjhn.js → update-cli-IqwjBYS0.js} +8 -8
- package/dist/{update-runner-UfdNrumf.js → update-runner-BFwirE1P.js} +1 -1
- package/dist/{update-runner-oSl0jaVn.js → update-runner-BuoOzUcX.js} +1 -1
- package/dist/{web-BSJ15erX.js → web-C4CDNJmR.js} +1 -1
- package/dist/{web-CIbnie2y.js → web-Cr6E8Ych.js} +2 -2
- package/dist/{web-DTKwHUfr.js → web-Dti17mxB.js} +57 -57
- package/dist/{web-DX-Sk1uG.js → web-OSVyyJa9.js} +1 -1
- package/dist/{whatsapp-actions-oRQjcdQe.js → whatsapp-actions-D1RsnX7P.js} +23 -23
- package/dist/{workspace-CbvamIU6.js → workspace-wAaHI8-5.js} +6 -6
- package/package.json +1 -1
- package/dist/plugin-sdk/web-Cs8UsiAE.js +0 -65
|
@@ -58918,11 +58918,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
58918
58918
|
params.onAgentEvent?.(evt);
|
|
58919
58919
|
if (evt.stream === "assistant" && typeof evt.data?.text === "string" && !aborted) {
|
|
58920
58920
|
streamMonitor.onChunk(evt.data.text);
|
|
58921
|
-
if (streamMonitor.shouldStop()) {
|
|
58922
|
-
const reason = streamMonitor.getStopReason();
|
|
58923
|
-
log$4.warn(`stream monitor triggered abort: runId=${params.runId} reason=${reason}`);
|
|
58924
|
-
abortRun(false, /* @__PURE__ */ new Error(`stream-monitor:${reason}`));
|
|
58925
|
-
}
|
|
58921
|
+
if (streamMonitor.shouldStop()) log$4.debug(`stream monitor detection (log-only, no abort): runId=${params.runId} reason=${streamMonitor.getStopReason()}`);
|
|
58926
58922
|
}
|
|
58927
58923
|
},
|
|
58928
58924
|
enforceFinalTag: params.enforceFinalTag,
|
|
@@ -60317,7 +60313,7 @@ async function runAgentTurn(params) {
|
|
|
60317
60313
|
function createDefaultDeps() {
|
|
60318
60314
|
return {
|
|
60319
60315
|
sendMessageWhatsApp: async (...args) => {
|
|
60320
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
60316
|
+
const { sendMessageWhatsApp } = await import("./web-OSVyyJa9.js");
|
|
60321
60317
|
return await sendMessageWhatsApp(...args);
|
|
60322
60318
|
},
|
|
60323
60319
|
sendMessageTelegram: async (...args) => {
|
|
@@ -75597,7 +75593,7 @@ function loadWebLoginQr() {
|
|
|
75597
75593
|
return webLoginQrPromise;
|
|
75598
75594
|
}
|
|
75599
75595
|
function loadWebChannel() {
|
|
75600
|
-
webChannelPromise ??= import("./web-
|
|
75596
|
+
webChannelPromise ??= import("./web-OSVyyJa9.js");
|
|
75601
75597
|
return webChannelPromise;
|
|
75602
75598
|
}
|
|
75603
75599
|
function loadWhatsAppActions() {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { i as resolveGatewayPort, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { i as resolveGatewayPort, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-Cce4PUkG.js";
|
|
2
2
|
import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, m as normalizeOptionalAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { I as resolveUserPath, M as normalizeE164, U as truncateUtf16Safe, dt as resolvePreferredSymiTmpDir, t as CHANNEL_IDS } from "./registry-
|
|
4
|
-
import { n as resolveAgentConfig, u as resolveSessionAgentId } from "./agent-scope-
|
|
5
|
-
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-
|
|
7
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { I as resolveUserPath, M as normalizeE164, U as truncateUtf16Safe, dt as resolvePreferredSymiTmpDir, t as CHANNEL_IDS } from "./registry-CK4e9hn8.js";
|
|
4
|
+
import { n as resolveAgentConfig, u as resolveSessionAgentId } from "./agent-scope-BxoUQqgM.js";
|
|
5
|
+
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
|
|
6
|
+
import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-wAaHI8-5.js";
|
|
7
|
+
import { r as normalizeChannelId } from "./plugins-DQYI3Fr-.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
9
9
|
import { t as parseBooleanValue } from "./boolean-B8-BqKGQ.js";
|
|
10
|
-
import { t as formatCliCommand } from "./command-format-
|
|
11
|
-
import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
12
|
-
import { S as isPidAlive, x as resolveProcessScopedMap } from "./model-auth-
|
|
13
|
-
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-
|
|
14
|
-
import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-
|
|
15
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
16
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
10
|
+
import { t as formatCliCommand } from "./command-format-BaxDnULz.js";
|
|
11
|
+
import { c as SafeOpenError, i as getImageMetadata, l as openFileWithinRoot, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-CvJzsyvE.js";
|
|
12
|
+
import { S as isPidAlive, x as resolveProcessScopedMap } from "./model-auth-DK43VicI.js";
|
|
13
|
+
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-Dz5lr5b0.js";
|
|
14
|
+
import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-DRbjHIwD.js";
|
|
15
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-BFekevcE.js";
|
|
16
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BFekKL7i.js";
|
|
17
17
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-BoQgnc8X.js";
|
|
18
18
|
import { t as SsrFBlockedError } from "./ssrf-BTMDZjHT.js";
|
|
19
|
-
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-
|
|
20
|
-
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-
|
|
19
|
+
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-C0wvOkae.js";
|
|
20
|
+
import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-CdlENGRW.js";
|
|
21
21
|
import { n as resolveConversationLabel } from "./conversation-label-DXUkoKcB.js";
|
|
22
|
-
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
22
|
+
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DLyHUt31.js";
|
|
23
23
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-DDYvbmRV.js";
|
|
24
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
24
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-DXB7tqWi.js";
|
|
25
25
|
import fs from "node:fs/promises";
|
|
26
26
|
import os from "node:os";
|
|
27
27
|
import path, { posix } from "node:path";
|
|
28
|
-
import
|
|
28
|
+
import fs$1, { existsSync, realpathSync } from "node:fs";
|
|
29
29
|
import { spawn } from "node:child_process";
|
|
30
30
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
31
31
|
import crypto, { createHash, timingSafeEqual } from "node:crypto";
|
|
@@ -933,7 +933,7 @@ function isModuleNotFoundError(err) {
|
|
|
933
933
|
}
|
|
934
934
|
async function loadPwAiModule(mode) {
|
|
935
935
|
try {
|
|
936
|
-
return await import("./pw-ai-
|
|
936
|
+
return await import("./pw-ai-BnAKvSuw.js");
|
|
937
937
|
} catch (err) {
|
|
938
938
|
if (mode === "soft") return null;
|
|
939
939
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -2689,11 +2689,11 @@ async function movePathToTrash(targetPath) {
|
|
|
2689
2689
|
return targetPath;
|
|
2690
2690
|
} catch {
|
|
2691
2691
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
2692
|
-
|
|
2692
|
+
fs$1.mkdirSync(trashDir, { recursive: true });
|
|
2693
2693
|
const base = path.basename(targetPath);
|
|
2694
2694
|
let dest = path.join(trashDir, `${base}-${Date.now()}`);
|
|
2695
|
-
if (
|
|
2696
|
-
|
|
2695
|
+
if (fs$1.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${Math.random()}`);
|
|
2696
|
+
fs$1.renameSync(targetPath, dest);
|
|
2697
2697
|
return dest;
|
|
2698
2698
|
}
|
|
2699
2699
|
}
|
|
@@ -2771,7 +2771,7 @@ function createBrowserProfilesService(ctx) {
|
|
|
2771
2771
|
} catch {}
|
|
2772
2772
|
const userDataDir = resolveSymiUserDataDir(name);
|
|
2773
2773
|
const profileDir = path.dirname(userDataDir);
|
|
2774
|
-
if (
|
|
2774
|
+
if (fs$1.existsSync(profileDir)) {
|
|
2775
2775
|
await movePathToTrash(profileDir);
|
|
2776
2776
|
deleted = true;
|
|
2777
2777
|
}
|
|
@@ -3473,13 +3473,13 @@ function createProfileContext(opts, profile) {
|
|
|
3473
3473
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
3474
3474
|
const profileState = getProfileState();
|
|
3475
3475
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3476
|
-
await (await import("./pw-ai-
|
|
3476
|
+
await (await import("./pw-ai-BnAKvSuw.js")).closePlaywrightBrowserConnection();
|
|
3477
3477
|
} catch {}
|
|
3478
3478
|
if (profileState.running) await stopRunningBrowser();
|
|
3479
3479
|
try {
|
|
3480
|
-
await (await import("./pw-ai-
|
|
3480
|
+
await (await import("./pw-ai-BnAKvSuw.js")).closePlaywrightBrowserConnection();
|
|
3481
3481
|
} catch {}
|
|
3482
|
-
if (!
|
|
3482
|
+
if (!fs$1.existsSync(userDataDir)) return {
|
|
3483
3483
|
moved: false,
|
|
3484
3484
|
from: userDataDir
|
|
3485
3485
|
};
|
|
@@ -3898,7 +3898,7 @@ function releaseAllLocksSync() {
|
|
|
3898
3898
|
if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
|
|
3899
3899
|
} catch {}
|
|
3900
3900
|
try {
|
|
3901
|
-
|
|
3901
|
+
fs$1.rmSync(held.lockPath, { force: true });
|
|
3902
3902
|
} catch {}
|
|
3903
3903
|
HELD_LOCKS.delete(sessionFile);
|
|
3904
3904
|
}
|
|
@@ -5699,7 +5699,7 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
|
|
|
5699
5699
|
}
|
|
5700
5700
|
function archiveFileOnDisk(filePath, reason) {
|
|
5701
5701
|
const archived = `${filePath}.${reason}.${(/* @__PURE__ */ new Date()).toISOString().replaceAll(":", "-")}`;
|
|
5702
|
-
|
|
5702
|
+
fs$1.renameSync(filePath, archived);
|
|
5703
5703
|
return archived;
|
|
5704
5704
|
}
|
|
5705
5705
|
/**
|
|
@@ -5709,7 +5709,7 @@ function archiveFileOnDisk(filePath, reason) {
|
|
|
5709
5709
|
function archiveSessionTranscripts(opts) {
|
|
5710
5710
|
const archived = [];
|
|
5711
5711
|
for (const candidate of resolveSessionTranscriptCandidates(opts.sessionId, opts.storePath, opts.sessionFile, opts.agentId)) {
|
|
5712
|
-
if (!
|
|
5712
|
+
if (!fs$1.existsSync(candidate)) continue;
|
|
5713
5713
|
try {
|
|
5714
5714
|
archived.push(archiveFileOnDisk(candidate, opts.reason));
|
|
5715
5715
|
} catch {}
|
|
@@ -5741,15 +5741,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
|
|
|
5741
5741
|
let removed = 0;
|
|
5742
5742
|
let scanned = 0;
|
|
5743
5743
|
for (const dir of directories) {
|
|
5744
|
-
const entries = await
|
|
5744
|
+
const entries = await fs$1.promises.readdir(dir).catch(() => []);
|
|
5745
5745
|
for (const entry of entries) {
|
|
5746
5746
|
const timestamp = parseArchivedTimestamp(entry, reason);
|
|
5747
5747
|
if (timestamp == null) continue;
|
|
5748
5748
|
scanned += 1;
|
|
5749
5749
|
if (now - timestamp <= opts.olderThanMs) continue;
|
|
5750
5750
|
const fullPath = path.join(dir, entry);
|
|
5751
|
-
if (!(await
|
|
5752
|
-
await
|
|
5751
|
+
if (!(await fs$1.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
|
|
5752
|
+
await fs$1.promises.rm(fullPath).catch(() => void 0);
|
|
5753
5753
|
removed += 1;
|
|
5754
5754
|
}
|
|
5755
5755
|
}
|
|
@@ -5885,7 +5885,7 @@ function isCacheEnabled(ttlMs) {
|
|
|
5885
5885
|
}
|
|
5886
5886
|
function getFileMtimeMs(filePath) {
|
|
5887
5887
|
try {
|
|
5888
|
-
return
|
|
5888
|
+
return fs$1.statSync(filePath).mtimeMs;
|
|
5889
5889
|
} catch {
|
|
5890
5890
|
return;
|
|
5891
5891
|
}
|
|
@@ -5964,7 +5964,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
5964
5964
|
const maxReadAttempts = process.platform === "win32" ? 3 : 1;
|
|
5965
5965
|
const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
|
|
5966
5966
|
for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
|
|
5967
|
-
const raw =
|
|
5967
|
+
const raw = fs$1.readFileSync(storePath, "utf-8");
|
|
5968
5968
|
if (raw.length === 0 && attempt < maxReadAttempts - 1) {
|
|
5969
5969
|
Atomics.wait(retryBuf, 0, 0, 50);
|
|
5970
5970
|
continue;
|
|
@@ -6116,7 +6116,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
|
|
|
6116
6116
|
}
|
|
6117
6117
|
async function getSessionFileSize(storePath) {
|
|
6118
6118
|
try {
|
|
6119
|
-
return (await
|
|
6119
|
+
return (await fs$1.promises.stat(storePath)).size;
|
|
6120
6120
|
} catch {
|
|
6121
6121
|
return null;
|
|
6122
6122
|
}
|
|
@@ -6133,7 +6133,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
6133
6133
|
if (fileSize <= maxBytes) return false;
|
|
6134
6134
|
const backupPath = `${storePath}.bak.${Date.now()}`;
|
|
6135
6135
|
try {
|
|
6136
|
-
await
|
|
6136
|
+
await fs$1.promises.rename(storePath, backupPath);
|
|
6137
6137
|
log.info("rotated session store file", {
|
|
6138
6138
|
backupPath: path.basename(backupPath),
|
|
6139
6139
|
sizeBytes: fileSize
|
|
@@ -6144,11 +6144,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
|
|
|
6144
6144
|
try {
|
|
6145
6145
|
const dir = path.dirname(storePath);
|
|
6146
6146
|
const baseName = path.basename(storePath);
|
|
6147
|
-
const backups = (await
|
|
6147
|
+
const backups = (await fs$1.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
|
|
6148
6148
|
const maxBackups = 3;
|
|
6149
6149
|
if (backups.length > maxBackups) {
|
|
6150
6150
|
const toDelete = backups.slice(maxBackups);
|
|
6151
|
-
for (const old of toDelete) await
|
|
6151
|
+
for (const old of toDelete) await fs$1.promises.unlink(path.join(dir, old)).catch(() => void 0);
|
|
6152
6152
|
log.info("cleaned up old session store backups", { deleted: toDelete.length });
|
|
6153
6153
|
}
|
|
6154
6154
|
} catch {}
|
|
@@ -6203,14 +6203,14 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
6203
6203
|
await rotateSessionFile(storePath, maintenance.rotateBytes);
|
|
6204
6204
|
}
|
|
6205
6205
|
}
|
|
6206
|
-
await
|
|
6206
|
+
await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
6207
6207
|
const json = JSON.stringify(store, null, 2);
|
|
6208
6208
|
if (process.platform === "win32") {
|
|
6209
6209
|
const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
|
|
6210
6210
|
try {
|
|
6211
|
-
await
|
|
6211
|
+
await fs$1.promises.writeFile(tmp, json, "utf-8");
|
|
6212
6212
|
for (let i = 0; i < 5; i++) try {
|
|
6213
|
-
await
|
|
6213
|
+
await fs$1.promises.rename(tmp, storePath);
|
|
6214
6214
|
break;
|
|
6215
6215
|
} catch {
|
|
6216
6216
|
if (i < 4) await new Promise((r) => setTimeout(r, 50 * (i + 1)));
|
|
@@ -6220,27 +6220,27 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
6220
6220
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") return;
|
|
6221
6221
|
throw err;
|
|
6222
6222
|
} finally {
|
|
6223
|
-
await
|
|
6223
|
+
await fs$1.promises.rm(tmp, { force: true }).catch(() => void 0);
|
|
6224
6224
|
}
|
|
6225
6225
|
return;
|
|
6226
6226
|
}
|
|
6227
6227
|
const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
|
|
6228
6228
|
try {
|
|
6229
|
-
await
|
|
6229
|
+
await fs$1.promises.writeFile(tmp, json, {
|
|
6230
6230
|
mode: 384,
|
|
6231
6231
|
encoding: "utf-8"
|
|
6232
6232
|
});
|
|
6233
|
-
await
|
|
6234
|
-
await
|
|
6233
|
+
await fs$1.promises.rename(tmp, storePath);
|
|
6234
|
+
await fs$1.promises.chmod(storePath, 384);
|
|
6235
6235
|
} catch (err) {
|
|
6236
6236
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") {
|
|
6237
6237
|
try {
|
|
6238
|
-
await
|
|
6239
|
-
await
|
|
6238
|
+
await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
6239
|
+
await fs$1.promises.writeFile(storePath, json, {
|
|
6240
6240
|
mode: 384,
|
|
6241
6241
|
encoding: "utf-8"
|
|
6242
6242
|
});
|
|
6243
|
-
await
|
|
6243
|
+
await fs$1.promises.chmod(storePath, 384);
|
|
6244
6244
|
} catch (err2) {
|
|
6245
6245
|
if ((err2 && typeof err2 === "object" && "code" in err2 ? String(err2.code) : null) === "ENOENT") return;
|
|
6246
6246
|
throw err2;
|
|
@@ -6249,7 +6249,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
|
|
|
6249
6249
|
}
|
|
6250
6250
|
throw err;
|
|
6251
6251
|
} finally {
|
|
6252
|
-
await
|
|
6252
|
+
await fs$1.promises.rm(tmp, { force: true });
|
|
6253
6253
|
}
|
|
6254
6254
|
}
|
|
6255
6255
|
async function updateSessionStore(storePath, mutator, opts) {
|
|
@@ -6494,8 +6494,8 @@ function resolveMirroredTranscriptText(params) {
|
|
|
6494
6494
|
return trimmed ? trimmed : null;
|
|
6495
6495
|
}
|
|
6496
6496
|
async function ensureSessionHeader(params) {
|
|
6497
|
-
if (
|
|
6498
|
-
await
|
|
6497
|
+
if (fs$1.existsSync(params.sessionFile)) return;
|
|
6498
|
+
await fs$1.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
|
|
6499
6499
|
const header = {
|
|
6500
6500
|
type: "session",
|
|
6501
6501
|
version: CURRENT_SESSION_VERSION,
|
|
@@ -6503,7 +6503,7 @@ async function ensureSessionHeader(params) {
|
|
|
6503
6503
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
6504
6504
|
cwd: process.cwd()
|
|
6505
6505
|
};
|
|
6506
|
-
await
|
|
6506
|
+
await fs$1.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
|
|
6507
6507
|
encoding: "utf-8",
|
|
6508
6508
|
mode: 384
|
|
6509
6509
|
});
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { M as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-D-jRCY0d.js";
|
|
4
4
|
import { i as loadConfig } from "./config-DHBLS1Hl.js";
|
|
5
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
5
|
+
import { m as loadSymiPlugins } from "./subagent-registry-DvCrN2PQ.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ft as loadSymiPlugins } from "./reply-
|
|
2
|
+
import { ft as loadSymiPlugins } from "./reply-BfZzgC9H.js";
|
|
3
3
|
import { d as getActivePluginRegistry } from "./registry-Cja8eT7G.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-D9zGZU5t.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { a as resolveOAuthDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry
|
|
4
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
+
import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry--_pGht6S.js";
|
|
4
|
+
import { i as defaultRuntime } from "./subsystem-Coz2AgU8.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-D9zGZU5t.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as isCronSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, v as isSubagentSessionKey, y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry
|
|
4
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry--_pGht6S.js";
|
|
4
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import "./accounts-
|
|
1
|
+
import "./accounts-D9zGZU5t.js";
|
|
2
2
|
import "./paths-DR2yt_mP.js";
|
|
3
3
|
import "./github-copilot-token-D9X2phUj.js";
|
|
4
|
-
import "./plugins-
|
|
5
|
-
import { K as logVerbose, Y as shouldLogVerbose } from "./registry
|
|
6
|
-
import "./config-
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./command-format-
|
|
9
|
-
import "./model-selection-
|
|
10
|
-
import "./agent-scope-
|
|
11
|
-
import "./manifest-registry-
|
|
4
|
+
import "./plugins-BbAvhC25.js";
|
|
5
|
+
import { K as logVerbose, Y as shouldLogVerbose } from "./registry--_pGht6S.js";
|
|
6
|
+
import "./config-DDkdiUOR.js";
|
|
7
|
+
import "./subsystem-Coz2AgU8.js";
|
|
8
|
+
import "./command-format-DSdvQ_M5.js";
|
|
9
|
+
import "./model-selection-OpU8HN50.js";
|
|
10
|
+
import "./agent-scope-C3gMMKCU.js";
|
|
11
|
+
import "./manifest-registry-B3ugY9-f.js";
|
|
12
12
|
import "./redact-DPnDWsnT.js";
|
|
13
13
|
import "./errors-Bv8oZiTO.js";
|
|
14
|
-
import "./image-ops-
|
|
14
|
+
import "./image-ops-Bnp6LXEx.js";
|
|
15
15
|
import "./ssrf-DKZ8eBrk.js";
|
|
16
|
-
import "./local-roots-
|
|
17
|
-
import "./message-channel-
|
|
18
|
-
import "./bindings-
|
|
19
|
-
import "./tool-images-
|
|
20
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
21
|
-
import "./skills-
|
|
22
|
-
import "./chrome-
|
|
23
|
-
import "./thinking-
|
|
24
|
-
import "./accounts-
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./pi-embedded-helpers-
|
|
16
|
+
import "./local-roots-Ckk1QfzI.js";
|
|
17
|
+
import "./message-channel-BdI5Ra9S.js";
|
|
18
|
+
import "./bindings-BbwoUGPx.js";
|
|
19
|
+
import "./tool-images-D7Lno-TE.js";
|
|
20
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-BVqnEfNe.js";
|
|
21
|
+
import "./skills-B1GeRYlu.js";
|
|
22
|
+
import "./chrome-C7c_0I5M.js";
|
|
23
|
+
import "./thinking-DCNUIAHY.js";
|
|
24
|
+
import "./accounts-Dtszw3Zn.js";
|
|
25
|
+
import "./accounts-BToL3HlP.js";
|
|
26
|
+
import "./pi-embedded-helpers-BveUP4hk.js";
|
|
27
27
|
import "./paths-A0xdf3yk.js";
|
|
28
|
-
import "./store-
|
|
29
|
-
import "./image-
|
|
28
|
+
import "./store-Do3t33-c.js";
|
|
29
|
+
import "./image-BOYy0Ump.js";
|
|
30
30
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
31
|
-
import "./api-key-rotation-
|
|
31
|
+
import "./api-key-rotation-CVBMpnPc.js";
|
|
32
32
|
|
|
33
33
|
//#region src/media-understanding/audio-preflight.ts
|
|
34
34
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as normalizeAccountId, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { s as normalizeChatChannelId } from "./registry
|
|
3
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { s as normalizeChatChannelId } from "./registry--_pGht6S.js";
|
|
3
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-C3gMMKCU.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
1
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-ilSJqnz9.js";
|
|
2
2
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
3
3
|
import { RateLimitError } from "@buape/carbon";
|
|
4
4
|
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-
|
|
4
|
-
import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
9
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
10
|
-
import { a as loadWebMedia } from "./ir-
|
|
11
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
14
|
-
import { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-
|
|
15
|
-
import { f as registerUnhandledRejectionHandler } from "./runner-
|
|
16
|
-
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-
|
|
17
|
-
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-
|
|
18
|
-
import { Xt as resolveGroupSessionKey, _t as updateLastRoute, gt as recordSessionMetaFromInbound, ht as readSessionUpdatedAt, mt as loadSessionStore } from "./pi-embedded-helpers-
|
|
2
|
+
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-D9zGZU5t.js";
|
|
3
|
+
import { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-Ch4_18FZ.js";
|
|
4
|
+
import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry--_pGht6S.js";
|
|
5
|
+
import { n as loadConfig } from "./config-DDkdiUOR.js";
|
|
6
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
|
|
8
|
+
import { n as recordChannelActivity } from "./channel-activity-Ji7f0gqq.js";
|
|
9
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-Ckk1QfzI.js";
|
|
10
|
+
import { a as loadWebMedia } from "./ir-Fb3qpcis.js";
|
|
11
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-jvk9axTQ.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Dfaqilz6.js";
|
|
13
|
+
import { t as convertMarkdownTables } from "./tables-DR0NmBeH.js";
|
|
14
|
+
import { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-D6LMZJ_h.js";
|
|
15
|
+
import { f as registerUnhandledRejectionHandler } from "./runner-BVqnEfNe.js";
|
|
16
|
+
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-BHuV5t70.js";
|
|
17
|
+
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-DCNUIAHY.js";
|
|
18
|
+
import { Xt as resolveGroupSessionKey, _t as updateLastRoute, gt as recordSessionMetaFromInbound, ht as readSessionUpdatedAt, mt as loadSessionStore } from "./pi-embedded-helpers-BveUP4hk.js";
|
|
19
19
|
import { s as resolveStorePath } from "./paths-A0xdf3yk.js";
|
|
20
|
-
import { i as saveMediaBuffer } from "./store-
|
|
20
|
+
import { i as saveMediaBuffer } from "./store-Do3t33-c.js";
|
|
21
21
|
import { t as finalizeInboundContext } from "./inbound-context-D5EzMeL_.js";
|
|
22
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
23
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
24
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
25
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
22
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-D3JH_D2N.js";
|
|
23
|
+
import { r as setActiveWebListener } from "./active-listener-bEk__wbB.js";
|
|
24
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-rF6G8Xpr.js";
|
|
25
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-kI0tzViQ.js";
|
|
26
26
|
import { randomUUID } from "node:crypto";
|
|
27
27
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as CONFIG_DIR } from "./registry
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { b as CONFIG_DIR } from "./registry--_pGht6S.js";
|
|
2
|
+
import { n as loadConfig } from "./config-DDkdiUOR.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
4
4
|
import { i as isErrno } from "./errors-Bv8oZiTO.js";
|
|
5
5
|
import { s as resolvePinnedHostnameWithPolicy } from "./ssrf-DKZ8eBrk.js";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
3
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BdI5Ra9S.js";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/fences.ts
|
|
6
6
|
function parseFenceSpans(buffer) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
-
import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry
|
|
4
|
-
import { J as DEFAULT_MODEL, Y as DEFAULT_PROVIDER, u as resolveConfiguredModelRef } from "./model-selection-
|
|
5
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
2
|
+
import { r as normalizeChannelId } from "./plugins-BbAvhC25.js";
|
|
3
|
+
import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry--_pGht6S.js";
|
|
4
|
+
import { J as DEFAULT_MODEL, Y as DEFAULT_PROVIDER, u as resolveConfiguredModelRef } from "./model-selection-OpU8HN50.js";
|
|
5
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-DCNUIAHY.js";
|
|
6
6
|
|
|
7
7
|
//#region src/config/commands.ts
|
|
8
8
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry
|
|
4
|
-
import { $ as shouldDeferShellEnvFallback, Q as resolveShellEnvFallbackTimeoutMs, Z as loadShellEnvFallback, et as shouldEnableShellEnvFallback, l as parseModelRef, q as DEFAULT_CONTEXT_TOKENS } from "./model-selection-
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
3
|
+
import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry--_pGht6S.js";
|
|
4
|
+
import { $ as shouldDeferShellEnvFallback, Q as resolveShellEnvFallbackTimeoutMs, Z as loadShellEnvFallback, et as shouldEnableShellEnvFallback, l as parseModelRef, q as DEFAULT_CONTEXT_TOKENS } from "./model-selection-OpU8HN50.js";
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-C3gMMKCU.js";
|
|
6
|
+
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-B3ugY9-f.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
|
-
import
|
|
11
|
+
import json5 from "json5";
|
|
12
12
|
import crypto from "node:crypto";
|
|
13
13
|
import { isDeepStrictEqual } from "node:util";
|
|
14
14
|
import dotenv from "dotenv";
|
|
@@ -892,7 +892,7 @@ function safeRealpath(target) {
|
|
|
892
892
|
}
|
|
893
893
|
const defaultResolver = {
|
|
894
894
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
895
|
-
parseJson: (raw) =>
|
|
895
|
+
parseJson: (raw) => json5.parse(raw)
|
|
896
896
|
};
|
|
897
897
|
/**
|
|
898
898
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -5584,7 +5584,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
5584
5584
|
function normalizeDeps(overrides = {}) {
|
|
5585
5585
|
return {
|
|
5586
5586
|
fs: overrides.fs ?? fs,
|
|
5587
|
-
json5: overrides.json5 ??
|
|
5587
|
+
json5: overrides.json5 ?? json5,
|
|
5588
5588
|
env: overrides.env ?? process.env,
|
|
5589
5589
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
5590
5590
|
configPath: overrides.configPath ?? "",
|
|
@@ -5595,11 +5595,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
5595
5595
|
if (env !== process.env) return;
|
|
5596
5596
|
loadDotEnv({ quiet: true });
|
|
5597
5597
|
}
|
|
5598
|
-
function parseConfigJson5(raw, json5 =
|
|
5598
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
5599
5599
|
try {
|
|
5600
5600
|
return {
|
|
5601
5601
|
ok: true,
|
|
5602
|
-
parsed: json5.parse(raw)
|
|
5602
|
+
parsed: json5$1.parse(raw)
|
|
5603
5603
|
};
|
|
5604
5604
|
} catch (err) {
|
|
5605
5605
|
return {
|