@symerian/symi 2.5.8 → 2.6.0
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-qtxJ-6em.js → accounts-3dCrO3oZ.js} +1 -1
- package/dist/{accounts-tNElYrCH.js → accounts-BRw8yhIW.js} +21 -21
- package/dist/{accounts-CWktKM8a.js → accounts-BuZxOb3B.js} +1 -1
- package/dist/{active-listener-C9r8ZB9m.js → active-listener-CfHHV2SU.js} +1 -1
- package/dist/{agent-scope-BxoUQqgM.js → agent-scope-CpEJ0B88.js} +3 -3
- package/dist/{agents-CXloh6n_.js → agents-Bi50kp6u.js} +4 -4
- package/dist/{agents.config-BhAJXAtA.js → agents.config-BcTeP94V.js} +1 -1
- package/dist/{agents.config-BuTzBaXf.js → agents.config-Duce7lam.js} +1 -1
- package/dist/{audio-preflight-O3ASWbaG.js → audio-preflight-DHTaS5U1.js} +34 -34
- package/dist/{auth-choice-DvaVrSwn.js → auth-choice-BFIBR4l9.js} +1 -1
- package/dist/{auth-choice-Br6zT8iS.js → auth-choice-Dyq-0MNq.js} +1 -1
- package/dist/{model-auth-DK43VicI.js → auth-profiles-DdK1Hxaa.js} +412 -412
- package/dist/{banner-BtqKaQZr.js → banner-D50f_0qf.js} +1 -1
- package/dist/{bindings-B7Ke6LJi.js → bindings-BsHoBLIE.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +60 -60
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +3 -3
- package/dist/bundled/session-memory/handler.js +61 -61
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-CsM_hJ_s.js → channel-activity-B6G1jnQT.js} +2 -2
- package/dist/{channel-options-DFHEgad5.js → channel-options-BFqaanEt.js} +1 -1
- package/dist/{channel-options-CfLxsV76.js → channel-options-BvBcjqyk.js} +1 -1
- package/dist/{channel-web-D-jDDmWN.js → channel-web-BQtFg4IP.js} +1 -1
- package/dist/{channels-cli-BEZORT4N.js → channels-cli-BYFQdWnL.js} +4 -4
- package/dist/{channels-cli-CT6wdGT8.js → channels-cli-BuTH-iVi.js} +4 -4
- package/dist/{chrome-BFekevcE.js → chrome-DYZwl5Gv.js} +24 -24
- package/dist/{chunk-BW5f05BR.js → chunk-09egQapi.js} +1 -1
- package/dist/{cli-CkxvN9Cb.js → cli-eOBlVLcC.js} +1 -1
- package/dist/{cli-kxxM9xT0.js → cli-r2L-UK6y.js} +1 -1
- package/dist/{command-registry-DsqA8NDd.js → command-registry-D-pwcAIW.js} +9 -9
- package/dist/{commands-registry-D7CTCQPm.js → commands-registry-Bfc7Uz0o.js} +4 -4
- package/dist/{completion-cli-QCrjurdu.js → completion-cli-DIx7KyOG.js} +2 -2
- package/dist/{completion-cli-mZMiIG7C.js → completion-cli-DMO2OGTm.js} +1 -1
- package/dist/{config-DRbjHIwD.js → config-5SdHIcHU.js} +6 -6
- package/dist/{config-cli-CS_0o9LY.js → config-cli-BsDxqYDU.js} +1 -1
- package/dist/{config-cli-DLsLPE4o.js → config-cli-seaVWVru.js} +1 -1
- package/dist/{configure-T9J4bw0H.js → configure-BmPwuHXL.js} +3 -3
- package/dist/{configure-BX4aNf3w.js → configure-CqbKA0_V.js} +3 -3
- package/dist/{conversation-label-DXUkoKcB.js → conversation-label-Onz2hiJh.js} +1 -1
- package/dist/{deliver-CvCK5Mm9.js → deliver-dODxSv3b.js} +11 -11
- package/dist/{diagnostic-CI0kRQkt.js → diagnostic-rPhsBoZz.js} +2 -2
- package/dist/{doctor-completion-CTodkFg2.js → doctor-completion-C2IV3lKi.js} +1 -1
- package/dist/{doctor-completion-BKydQfCM.js → doctor-completion-DMjs7-Qa.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{command-format-BaxDnULz.js → env-BDXYbTKj.js} +10 -10
- package/dist/{errors-BoQgnc8X.js → errors-XIsvXeC-.js} +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{frontmatter-C_bv_0P8.js → frontmatter-CTR5f_Ez.js} +2 -2
- package/dist/{gateway-cli-DEpU3Bg3.js → gateway-cli-BanaeKQ_.js} +20 -18
- package/dist/{gateway-cli-CZnyhTAu.js → gateway-cli-C-J_s559.js} +20 -18
- package/dist/{gemini-auth-CdSPHuLl.js → gemini-auth-Dy12ZAH3.js} +2 -2
- package/dist/{github-copilot-token-C_qUP7p5.js → github-copilot-token-cCYzSU9h.js} +1 -1
- package/dist/{glass-ui-ws-KbKXJGb5.js → glass-ui-ws-DK7x3Tz7.js} +7 -7
- package/dist/{glass-ui-ws-BdBSYcsf.js → glass-ui-ws-DUzp9m0D.js} +7 -7
- package/dist/{health-z-YCZRhf.js → health-BpHgCv-u.js} +1 -1
- package/dist/{health-DQmyj-7z.js → health-DK6rAOhC.js} +1 -1
- package/dist/{hooks-cli-4d-QhgRs.js → hooks-cli-Cin_3tFg.js} +2 -2
- package/dist/{hooks-cli-BRehYEXJ.js → hooks-cli-D-75G_66.js} +2 -2
- package/dist/{image-B0wGflxA.js → image-CXu8W39c.js} +7 -7
- package/dist/{plugin-sdk/image-ops-Bnp6LXEx.js → image-ops-C7CauEK8.js} +2 -2
- package/dist/{inbound-context-BlHX0H3E.js → inbound-context-DSDTl6Kj.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/{ir-DccrnjsE.js → ir-CTiz95Vb.js} +5 -5
- package/dist/llm-slug-generator.js +64 -84
- package/dist/{local-roots-DMwIh5cS.js → local-roots-DhZz0Ybs.js} +6 -6
- package/dist/{login-qr-Batf3PT5.js → login-qr-AP9agO-i.js} +13 -13
- package/dist/{login-CwCoxapk.js → login-ul8zaw_S.js} +7 -7
- package/dist/{manager-D_LwXbc6.js → manager-PprhCvO_.js} +25 -25
- package/dist/{manifest-registry-D0IQ3WuX.js → manifest-registry-yb7sAlu4.js} +2 -2
- package/dist/{markdown-tables-iMQQZu4Q.js → markdown-tables-C-BmIap8.js} +1 -1
- package/dist/{plugin-sdk/message-channel-BdI5Ra9S.js → message-channel-OlFBYAw8.js} +1 -1
- package/dist/{models-CPlSSoV0.js → models-CeKIXf5B.js} +7 -8
- package/dist/{models-cli-BM2RWTmM.js → models-cli-2NcPKR9A.js} +7 -8
- package/dist/{models-cli-DDhpJuX3.js → models-cli-DN4AVlpI.js} +3 -3
- package/dist/{onboard-DpB21qno.js → onboard-BcxDiUl_.js} +2 -2
- package/dist/{onboard-BczLOUCW.js → onboard-BukRqcRH.js} +2 -2
- package/dist/{onboard-channels-S0FbC25u.js → onboard-channels-DS6s341R.js} +1 -1
- package/dist/{onboard-channels-DjfS9mS6.js → onboard-channels-HPxu77wp.js} +1 -1
- package/dist/{onboarding-CyPkawbg.js → onboarding-B8uz24jt.js} +3 -3
- package/dist/{onboarding--mrKZtpR.js → onboarding-DI-o_sax.js} +3 -3
- package/dist/{onboarding.finalize-C0ijhYbg.js → onboarding.finalize-Bn2e61yb.js} +5 -5
- package/dist/{onboarding.finalize-0XoI3wLH.js → onboarding.finalize-CfE_AEto.js} +6 -6
- package/dist/{outbound-D4fN_ZlE.js → outbound-CtMCmwxR.js} +7 -7
- package/dist/{outbound-attachment-DjNDa3zn.js → outbound-attachment-DJldbweZ.js} +2 -2
- package/dist/{paths-DLyHUt31.js → paths-CbQV9WEg.js} +2 -2
- package/dist/{pi-auth-json-0SYBFZTt.js → pi-auth-json-Bk8ERadJ.js} +10 -10
- package/dist/{pi-embedded-Cg70pjmm.js → pi-embedded-B5qBa69e.js} +20111 -20012
- package/dist/{pi-embedded-helpers-DLFjnVBb.js → pi-embedded-helpers-pubKo8HQ.js} +81 -81
- package/dist/{plugin-registry-VhRGXCLQ.js → plugin-registry-NIUxULTk.js} +1 -1
- package/dist/{plugin-registry-Dxo1iUfJ.js → plugin-registry-cj99EI0k.js} +1 -1
- package/dist/plugin-sdk/{accounts-BToL3HlP.js → accounts-BtaOa4z_.js} +1 -1
- package/dist/plugin-sdk/{accounts-D9zGZU5t.js → accounts-Ddm33hQm.js} +3 -3
- package/dist/plugin-sdk/{accounts-Dtszw3Zn.js → accounts-s-AdhXVR.js} +1 -1
- package/dist/plugin-sdk/{active-listener-bEk__wbB.js → active-listener-BXYeALs0.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-C3gMMKCU.js → agent-scope-CYYpcO9W.js} +2 -2
- package/dist/plugin-sdk/agents/pi-embedded-runner.d.ts +1 -1
- package/dist/plugin-sdk/agents/unified-runner.d.ts +69 -1
- package/dist/plugin-sdk/{api-key-rotation-CVBMpnPc.js → api-key-rotation-D_sMvI5W.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-DoQQKlxa.js → audio-preflight-VpItkiy3.js} +24 -24
- package/dist/plugin-sdk/auto-reply/reply/agent-runner-execution.d.ts +2 -2
- package/dist/plugin-sdk/{bindings-BbwoUGPx.js → bindings-C7hRtgYW.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
- package/dist/plugin-sdk/{channel-web-DKo2tOO-.js → channel-web-CSd16cDi.js} +22 -22
- package/dist/plugin-sdk/{chrome-C7c_0I5M.js → chrome-B7RdxmJ0.js} +3 -3
- package/dist/plugin-sdk/{chunk-jvk9axTQ.js → chunk-Dw2XBYXv.js} +1 -1
- package/dist/plugin-sdk/{command-format-DSdvQ_M5.js → command-format-GKSevep4.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CQFbmUMs.js → commands-registry-COIaslGl.js} +4 -4
- package/dist/plugin-sdk/{config-DDkdiUOR.js → config-KlTNfkFF.js} +9 -9
- package/dist/plugin-sdk/{deliver-BZ6iNLl7.js → deliver-BZ99UKQq.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-mFf4i4G9.js → diagnostic-05pm5Rxi.js} +1 -1
- package/dist/plugin-sdk/{image-BOYy0Ump.js → image-CLOPx7yW.js} +4 -4
- package/dist/{image-ops-CvJzsyvE.js → plugin-sdk/image-ops-BlQR__MN.js} +100 -100
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-Fb3qpcis.js → ir-BJ6BHE5b.js} +4 -4
- package/dist/plugin-sdk/{local-roots-Ckk1QfzI.js → local-roots-BHLNSI8U.js} +3 -3
- package/dist/plugin-sdk/{login-Bh3DZPam.js → login-DQMXuxOk.js} +7 -7
- package/dist/plugin-sdk/{login-qr-DbR7odSr.js → login-qr-BjVZSoCi.js} +9 -9
- package/dist/plugin-sdk/{manager-DckktAQ3.js → manager-CBSBFuFz.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-B3ugY9-f.js → manifest-registry-CPnHl_K3.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-Dfaqilz6.js → markdown-tables-BoYFajMu.js} +1 -1
- package/dist/{message-channel-Dz5lr5b0.js → plugin-sdk/message-channel-COTAJzHd.js} +1 -1
- package/dist/plugin-sdk/{model-selection-OpU8HN50.js → model-selection-CsbEfrS0.js} +4 -4
- package/dist/plugin-sdk/{outbound-rF6G8Xpr.js → outbound-B0e8KdaR.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DnVQfTG2.js → outbound-attachment-CnslKL38.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-CJk8t14T.js → pi-auth-json-qWi7ZIYV.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-BveUP4hk.js → pi-embedded-helpers-CW630epe.js} +17 -17
- package/dist/plugin-sdk/{plugins-BbAvhC25.js → plugins-BNByVCIH.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-DjGUsee-.js → pw-ai-CnbPIPY9.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-mjKcdwVr.js → qmd-manager-CH0XbIHf.js} +4 -4
- package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
- package/dist/{replies-BIX_isV7.js → plugin-sdk/replies-LLcQL3w6.js} +3 -3
- package/dist/plugin-sdk/{reply-Ch4_18FZ.js → reply-CkqSfQZN.js} +495 -396
- package/dist/plugin-sdk/{reply-prefix-BHuV5t70.js → reply-prefix-uxfMZW4p.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BkCUbYGV.js → resolve-outbound-target-BiyAyTWz.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-D3JH_D2N.js → resolve-route-B3CCBumQ.js} +3 -3
- package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
- package/dist/plugin-sdk/{runner-BVqnEfNe.js → runner-CGBT7tgF.js} +9 -9
- package/dist/plugin-sdk/{send-BtANzsAo.js → send-B2CEnVLL.js} +6 -6
- package/dist/plugin-sdk/{send-BHbXh8Ly.js → send-C5h_YxNb.js} +7 -7
- package/dist/plugin-sdk/{send-D6LMZJ_h.js → send-CRsR8-vO.js} +10 -10
- package/dist/plugin-sdk/{send-Bxdu6ZZy.js → send-CjOBB3Vo.js} +10 -10
- package/dist/plugin-sdk/{send-BMfJIhCk.js → send-pYqe432l.js} +6 -6
- package/dist/plugin-sdk/{session-kI0tzViQ.js → session-BsOrxiMj.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-DCNXVERE.js → skill-commands-ff_01_r3.js} +5 -5
- package/dist/plugin-sdk/{skills-B1GeRYlu.js → skills-_yTP47Cd.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Cq_7Cg4E.js → sqlite-CxAR5ttJ.js} +1 -1
- package/dist/plugin-sdk/{store-Do3t33-c.js → store-BdrNabcU.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
- package/dist/plugin-sdk/{tables-DR0NmBeH.js → tables-DNwXwNFa.js} +1 -1
- package/dist/{target-errors-Be1SwYlW.js → plugin-sdk/target-errors-Paro1BjP.js} +2 -2
- package/dist/plugin-sdk/{thinking-DCNUIAHY.js → thinking-CXqf7WTe.js} +5 -5
- package/dist/plugin-sdk/{tokens-CWMflosr.js → tokens-bC3UVmVH.js} +1 -1
- package/dist/plugin-sdk/{tool-images-D7Lno-TE.js → tool-images-HJ2sfZDV.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-edmW8ZiF.js → tool-loop-detection-BVA6fax-.js} +2 -2
- package/dist/plugin-sdk/web-DdTTil50.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-CcBzDuL-.js → whatsapp-actions-DfseosPO.js} +21 -21
- package/dist/{plugins-DQYI3Fr-.js → plugins-BzmbgY7s.js} +5 -5
- package/dist/{plugins-cli-zNr1ThAO.js → plugins-cli-CcjxxESJ.js} +2 -2
- package/dist/{plugins-cli-DeDSnKlr.js → plugins-cli-D8hhTHZD.js} +2 -2
- package/dist/{program-COEKTv5u.js → program-D09h71pS.js} +7 -7
- package/dist/{program-context-CbM3x8lT.js → program-context-CLJSWBZr.js} +17 -17
- package/dist/{prompt-select-styled-C6JLWNMU.js → prompt-select-styled-DQqZEGoo.js} +4 -4
- package/dist/{prompt-select-styled-d18_XWTb.js → prompt-select-styled-zRUqu0c8.js} +4 -4
- package/dist/{provider-auth-helpers-BmH4oHwJ.js → provider-auth-helpers-16r2WHNe.js} +1 -1
- package/dist/{provider-auth-helpers-C8cO9DLi.js → provider-auth-helpers-LzJ2WQIc.js} +1 -1
- package/dist/{push-apns-CoqskfCc.js → push-apns-B5xZKIxK.js} +1 -1
- package/dist/{push-apns-CJtWrkQV.js → push-apns-DJddAK3u.js} +1 -1
- package/dist/{pw-ai-BnAKvSuw.js → pw-ai-B5asscAD.js} +16 -16
- package/dist/{qmd-manager-QHUP-_em.js → qmd-manager-iDLSiI4Z.js} +10 -10
- package/dist/{register.agent-fK3vOCU5.js → register.agent-CP_sigRh.js} +6 -6
- package/dist/{register.agent-C1Is84Q1.js → register.agent-D7NKuUkY.js} +5 -5
- package/dist/{register.configure-CIwwqqt9.js → register.configure-BEsGd0PR.js} +6 -6
- package/dist/{register.configure-DFJeKFFK.js → register.configure-BjRLNatb.js} +6 -6
- package/dist/{register.maintenance-DKDqruW6.js → register.maintenance-CN6KUuX7.js} +7 -7
- package/dist/{register.maintenance-BwTFd3Ax.js → register.maintenance-DD6TNFtV.js} +8 -8
- package/dist/{register.message-DYnXMP4c.js → register.message-DEUcNly1.js} +2 -2
- package/dist/{register.message-Ce57RPK8.js → register.message-DMVC_Sqm.js} +2 -2
- package/dist/{register.onboard-9glf-j43.js → register.onboard-CP6RP90V.js} +4 -4
- package/dist/{register.onboard-Dj-_AJQr.js → register.onboard-J1pgV7lz.js} +4 -4
- package/dist/{register.setup-Cp3DBI6D.js → register.setup-BeHpW3xI.js} +4 -4
- package/dist/{register.setup-C0CXUMFE.js → register.setup-Dhc3jKpK.js} +4 -4
- package/dist/{register.status-health-sessions-BncpB9Vw.js → register.status-health-sessions-DDkC0aoW.js} +3 -3
- package/dist/{register.status-health-sessions-DBXMyrNP.js → register.status-health-sessions-b-lWNsTM.js} +3 -3
- package/dist/{register.subclis-D6PmKJll.js → register.subclis-BJqiT8Q2.js} +9 -9
- package/dist/{registry-CK4e9hn8.js → registry-DYq1AYOv.js} +2 -2
- package/dist/{plugin-sdk/replies-fI39rPGa.js → replies-LSmuwOhA.js} +3 -3
- package/dist/{reply-BfZzgC9H.js → reply-D40cmAci.js} +420 -321
- package/dist/{reply-prefix-XlyuyChD.js → reply-prefix-DpqZu44Z.js} +1 -1
- package/dist/{resolve-route-CZ-1eqw0.js → resolve-route-C4_I4GFI.js} +5 -5
- package/dist/{retry-Cly39XZB.js → retry-BBVXkKBV.js} +1 -1
- package/dist/{run-main-wm3s04Xh.js → run-main-BruREeZ6.js} +14 -14
- package/dist/{runner-odEv83vv.js → runner-WAG0M5s9.js} +46 -46
- package/dist/{send-WyRqb4WD.js → send-CQAKg_12.js} +7 -7
- package/dist/{send-DeFniOjh.js → send-CVMyYPQw.js} +7 -7
- package/dist/{send-CiTGOvEc.js → send-CvhXrdgS.js} +12 -12
- package/dist/{send-DW96zgDL.js → send-DAN9hA5h.js} +6 -6
- package/dist/{send-B1u-LrcS.js → send-DYj_o4_F.js} +14 -14
- package/dist/{server-methods-xXv4ObXK.js → server-methods-Cyw_WS3A.js} +7 -7
- package/dist/{server-methods-D5zcFhng.js → server-methods-K-0MHs8x.js} +7 -7
- package/dist/{server-node-events-BN7H6wBM.js → server-node-events-89R9Ryky.js} +2 -2
- package/dist/{server-node-events-D4At7-pe.js → server-node-events-RA8RurtC.js} +2 -2
- package/dist/{session-SM36BTsl.js → session-DSU1vxxi.js} +4 -4
- package/dist/{skill-commands-BJMb_psG.js → skill-commands-DcVwOafC.js} +17 -17
- package/dist/{skills-BFekKL7i.js → skills-Bs0AW1g3.js} +25 -25
- package/dist/{sqlite-DRbx2dhW.js → sqlite-D_mz1_-y.js} +17 -17
- package/dist/{status-Nhvf_TEN.js → status-BSMEjz4q.js} +1 -1
- package/dist/{status-PbQwO8SV.js → status-CtNKWuzg.js} +2 -2
- package/dist/{status-XJTqV-CC.js → status-DHJLMwQN.js} +2 -2
- package/dist/{status-C5rGEkur.js → status-Kv_hsY8N.js} +1 -1
- package/dist/{store-C0wvOkae.js → store-01F_JM7O.js} +6 -6
- package/dist/{subagent-registry-DvCrN2PQ.js → subagent-registry-Cb5e_x99.js} +19342 -19243
- package/dist/{subsystem-Bs9YvKLa.js → subsystem-BjyjJF-d.js} +1 -1
- package/dist/{tables-DuZspiBu.js → tables-qMwbq29u.js} +1 -1
- package/dist/{plugin-sdk/target-errors-B7YyMnIi.js → target-errors-Bbr9rlzN.js} +2 -2
- package/dist/{thinking-CdlENGRW.js → thinking-BprCy23Z.js} +5 -5
- package/dist/{tokens-H1H1LiSQ.js → tokens-Bux9Y_xD.js} +1 -1
- package/dist/{tool-images-DXB7tqWi.js → tool-images-SqqWIT22.js} +2 -2
- package/dist/{tool-loop-detection-Cs8_HCsx.js → tool-loop-detection-D0kUzUGu.js} +3 -3
- package/dist/{pi-embedded-CTBkDXkV.js → unified-runner-CkJLTsTK.js} +69858 -69759
- package/dist/{update-cli-BHxqriaA.js → update-cli-Bl66LJZ4.js} +7 -7
- package/dist/{update-cli-IqwjBYS0.js → update-cli-CrRBoiVU.js} +8 -8
- package/dist/{update-runner-BuoOzUcX.js → update-runner-DxpSPK-f.js} +1 -1
- package/dist/{update-runner-BFwirE1P.js → update-runner-FgrqoxvV.js} +1 -1
- package/dist/{web-Cr6E8Ych.js → web-BYRKX5Ln.js} +2 -2
- package/dist/{web-C4CDNJmR.js → web-Czp0JS6-.js} +1 -1
- package/dist/{web-OSVyyJa9.js → web-D99WHLTL.js} +1 -1
- package/dist/{web-Dti17mxB.js → web-RePh7lRy.js} +64 -64
- package/dist/{whatsapp-actions-D1RsnX7P.js → whatsapp-actions-BIeSWsCF.js} +25 -25
- package/dist/{workspace-wAaHI8-5.js → workspace-DscDraUb.js} +28 -28
- package/extensions/bluebubbles/node_modules/.bin/symi +0 -0
- package/extensions/copilot-proxy/node_modules/.bin/symi +0 -0
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +0 -0
- package/extensions/diagnostics-otel/node_modules/.bin/symi +0 -0
- package/extensions/discord/node_modules/.bin/symi +0 -0
- package/extensions/feishu/node_modules/.bin/symi +0 -0
- package/extensions/google-antigravity-auth/node_modules/.bin/symi +0 -0
- package/extensions/google-gemini-cli-auth/node_modules/.bin/symi +0 -0
- package/extensions/googlechat/node_modules/.bin/symi +0 -0
- package/extensions/imessage/node_modules/.bin/symi +0 -0
- package/extensions/irc/node_modules/.bin/symi +0 -0
- package/extensions/learning-loop/node_modules/.bin/symi +0 -0
- package/extensions/line/node_modules/.bin/symi +0 -0
- package/extensions/matrix/node_modules/.bin/markdown-it +0 -0
- package/extensions/matrix/node_modules/.bin/symi +0 -0
- package/extensions/mattermost/node_modules/.bin/symi +0 -0
- package/extensions/memory-core/node_modules/.bin/symi +0 -0
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +0 -0
- package/extensions/memory-lancedb/node_modules/.bin/openai +0 -0
- package/extensions/memory-lancedb/node_modules/.bin/symi +0 -0
- package/extensions/minimax-portal-auth/node_modules/.bin/symi +0 -0
- package/extensions/msteams/node_modules/.bin/symi +0 -0
- package/extensions/nextcloud-talk/node_modules/.bin/symi +0 -0
- package/extensions/nostr/node_modules/.bin/symi +0 -0
- package/extensions/nostr/node_modules/.bin/tsc +0 -0
- package/extensions/nostr/node_modules/.bin/tsserver +0 -0
- package/extensions/signal/node_modules/.bin/symi +0 -0
- package/extensions/slack/node_modules/.bin/symi +0 -0
- package/extensions/telegram/node_modules/.bin/symi +0 -0
- package/extensions/tlon/node_modules/.bin/symi +0 -0
- package/extensions/twitch/node_modules/.bin/symi +0 -0
- package/extensions/voice-call/node_modules/.bin/symi +0 -0
- package/extensions/whatsapp/node_modules/.bin/symi +0 -0
- package/extensions/zalo/node_modules/.bin/symi +0 -0
- package/extensions/zalouser/node_modules/.bin/symi +0 -0
- package/package.json +83 -113
- package/skills/nano-banana-pro/scripts/generate_image.py +0 -0
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -0
- package/skills/tmux/scripts/find-sessions.sh +0 -0
- package/skills/tmux/scripts/wait-for-text.sh +0 -0
- package/dist/paths-Cce4PUkG.js +0 -212
- package/dist/plugin-sdk/web-Dz2oyzw_.js +0 -65
- /package/dist/{boolean-B8-BqKGQ.js → boolean-CE7i9tBR.js} +0 -0
- /package/dist/{chat-type-C_KiWNAH.js → chat-type-3FRbbjbq.js} +0 -0
- /package/dist/{diagnostic-session-state-Bxo4UHOL.js → diagnostic-session-state-Zw87xFym.js} +0 -0
- /package/dist/{legacy-names-BHV4AoFT.js → legacy-names-CePMUvus.js} +0 -0
- /package/dist/{pi-model-discovery-DaNAekda.js → pi-model-discovery-Bv5YDJc8.js} +0 -0
- /package/dist/{redact-jSxx6Ep2.js → redact-BDMXB06K.js} +0 -0
- /package/dist/{ssrf-BTMDZjHT.js → ssrf-DpUUUgkK.js} +0 -0
- /package/dist/{targets-CFovdgJI.js → targets-DGkXkFPj.js} +0 -0
- /package/dist/{transcript-events-DDYvbmRV.js → transcript-events-BBh3Gsrx.js} +0 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symerian/symi",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Multi-channel AI gateway with extensible messaging integrations",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/jaysteelmind/symi#readme",
|
|
@@ -46,6 +46,87 @@
|
|
|
46
46
|
},
|
|
47
47
|
"./cli-entry": "./symi.mjs"
|
|
48
48
|
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@agentclientprotocol/sdk": "0.14.1",
|
|
51
|
+
"@aws-sdk/client-bedrock": "^3.995.0",
|
|
52
|
+
"@buape/carbon": "0.0.0-beta-20260216184201",
|
|
53
|
+
"@clack/prompts": "^1.0.1",
|
|
54
|
+
"@discordjs/voice": "^0.19.0",
|
|
55
|
+
"@grammyjs/runner": "^2.0.3",
|
|
56
|
+
"@grammyjs/transformer-throttler": "^1.2.1",
|
|
57
|
+
"@homebridge/ciao": "^1.3.5",
|
|
58
|
+
"@line/bot-sdk": "^10.6.0",
|
|
59
|
+
"@lydell/node-pty": "1.2.0-beta.3",
|
|
60
|
+
"@mariozechner/pi-agent-core": "0.54.0",
|
|
61
|
+
"@mariozechner/pi-ai": "0.54.0",
|
|
62
|
+
"@mariozechner/pi-coding-agent": "0.54.0",
|
|
63
|
+
"@mariozechner/pi-tui": "0.54.0",
|
|
64
|
+
"@mozilla/readability": "^0.6.0",
|
|
65
|
+
"@sinclair/typebox": "0.34.48",
|
|
66
|
+
"@slack/bolt": "^4.6.0",
|
|
67
|
+
"@slack/web-api": "^7.14.1",
|
|
68
|
+
"@whiskeysockets/baileys": "7.0.0-rc.9",
|
|
69
|
+
"ajv": "^8.18.0",
|
|
70
|
+
"chalk": "^5.6.2",
|
|
71
|
+
"chokidar": "^5.0.0",
|
|
72
|
+
"cli-highlight": "^2.1.11",
|
|
73
|
+
"commander": "^14.0.3",
|
|
74
|
+
"croner": "^10.0.1",
|
|
75
|
+
"discord-api-types": "^0.38.40",
|
|
76
|
+
"dotenv": "^17.3.1",
|
|
77
|
+
"express": "^5.2.1",
|
|
78
|
+
"file-type": "^21.3.0",
|
|
79
|
+
"grammy": "^1.40.0",
|
|
80
|
+
"https-proxy-agent": "^7.0.6",
|
|
81
|
+
"jiti": "^2.6.1",
|
|
82
|
+
"json5": "^2.2.3",
|
|
83
|
+
"jszip": "^3.10.1",
|
|
84
|
+
"linkedom": "^0.18.12",
|
|
85
|
+
"long": "^5.3.2",
|
|
86
|
+
"markdown-it": "^14.1.1",
|
|
87
|
+
"node-edge-tts": "^1.2.10",
|
|
88
|
+
"opusscript": "^0.0.8",
|
|
89
|
+
"osc-progress": "^0.3.0",
|
|
90
|
+
"pdfjs-dist": "^5.4.624",
|
|
91
|
+
"playwright-core": "1.58.2",
|
|
92
|
+
"qrcode-terminal": "^0.12.0",
|
|
93
|
+
"sharp": "^0.34.5",
|
|
94
|
+
"sqlite-vec": "0.1.7-alpha.2",
|
|
95
|
+
"tar": "7.5.9",
|
|
96
|
+
"tslog": "^4.10.2",
|
|
97
|
+
"undici": "^7.22.0",
|
|
98
|
+
"ws": "^8.19.0",
|
|
99
|
+
"yaml": "^2.8.2",
|
|
100
|
+
"zod": "^4.3.6"
|
|
101
|
+
},
|
|
102
|
+
"devDependencies": {
|
|
103
|
+
"@grammyjs/types": "^3.24.0",
|
|
104
|
+
"@lit-labs/signals": "^0.2.0",
|
|
105
|
+
"@lit/context": "^1.1.6",
|
|
106
|
+
"@types/express": "^5.0.6",
|
|
107
|
+
"@types/markdown-it": "^14.1.2",
|
|
108
|
+
"@types/node": "^25.3.0",
|
|
109
|
+
"@types/qrcode-terminal": "^0.12.2",
|
|
110
|
+
"@types/ws": "^8.18.1",
|
|
111
|
+
"@typescript/native-preview": "7.0.0-dev.20260221.1",
|
|
112
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
113
|
+
"lit": "^3.3.2",
|
|
114
|
+
"oxfmt": "0.34.0",
|
|
115
|
+
"oxlint": "^1.49.0",
|
|
116
|
+
"oxlint-tsgolint": "^0.14.2",
|
|
117
|
+
"signal-utils": "0.21.1",
|
|
118
|
+
"tsdown": "^0.20.3",
|
|
119
|
+
"tsx": "^4.21.0",
|
|
120
|
+
"typescript": "^5.9.3",
|
|
121
|
+
"vitest": "^4.0.18"
|
|
122
|
+
},
|
|
123
|
+
"peerDependencies": {
|
|
124
|
+
"@napi-rs/canvas": "^0.1.89",
|
|
125
|
+
"node-llama-cpp": "3.15.1"
|
|
126
|
+
},
|
|
127
|
+
"engines": {
|
|
128
|
+
"node": ">=22.12.0"
|
|
129
|
+
},
|
|
49
130
|
"scripts": {
|
|
50
131
|
"android:assemble": "cd apps/android && ./gradlew :app:assembleDebug",
|
|
51
132
|
"android:install": "cd apps/android && ./gradlew :app:installDebug",
|
|
@@ -97,8 +178,6 @@
|
|
|
97
178
|
"mac:package": "bash scripts/package-mac-app.sh",
|
|
98
179
|
"mac:restart": "bash scripts/restart-mac.sh",
|
|
99
180
|
"plugins:sync": "node --import tsx scripts/sync-plugin-versions.ts",
|
|
100
|
-
"prepack": "pnpm build && pnpm ui:build",
|
|
101
|
-
"prepare": "command -v git >/dev/null 2>&1 && git rev-parse --is-inside-work-tree >/dev/null 2>&1 && git config core.hooksPath git-hooks || exit 0",
|
|
102
181
|
"protocol:check": "pnpm protocol:gen && pnpm protocol:gen:swift && git diff --exit-code -- dist/protocol.schema.json apps/macos/Sources/SymiProtocol/GatewayModels.swift",
|
|
103
182
|
"protocol:gen": "node --import tsx scripts/protocol-gen.ts",
|
|
104
183
|
"protocol:gen:swift": "node --import tsx scripts/protocol-gen-swift.ts",
|
|
@@ -132,114 +211,5 @@
|
|
|
132
211
|
"tui": "node scripts/run-node.mjs tui",
|
|
133
212
|
"tui:dev": "SYMI_PROFILE=dev node scripts/run-node.mjs --dev tui",
|
|
134
213
|
"ui:build": "node scripts/ui.js build"
|
|
135
|
-
},
|
|
136
|
-
"dependencies": {
|
|
137
|
-
"@agentclientprotocol/sdk": "0.14.1",
|
|
138
|
-
"@aws-sdk/client-bedrock": "^3.995.0",
|
|
139
|
-
"@buape/carbon": "0.0.0-beta-20260216184201",
|
|
140
|
-
"@clack/prompts": "^1.0.1",
|
|
141
|
-
"@discordjs/voice": "^0.19.0",
|
|
142
|
-
"@grammyjs/runner": "^2.0.3",
|
|
143
|
-
"@grammyjs/transformer-throttler": "^1.2.1",
|
|
144
|
-
"@homebridge/ciao": "^1.3.5",
|
|
145
|
-
"@line/bot-sdk": "^10.6.0",
|
|
146
|
-
"@lydell/node-pty": "1.2.0-beta.3",
|
|
147
|
-
"@mariozechner/pi-agent-core": "0.54.0",
|
|
148
|
-
"@mariozechner/pi-ai": "0.54.0",
|
|
149
|
-
"@mariozechner/pi-coding-agent": "0.54.0",
|
|
150
|
-
"@mariozechner/pi-tui": "0.54.0",
|
|
151
|
-
"@mozilla/readability": "^0.6.0",
|
|
152
|
-
"@sinclair/typebox": "0.34.48",
|
|
153
|
-
"@slack/bolt": "^4.6.0",
|
|
154
|
-
"@slack/web-api": "^7.14.1",
|
|
155
|
-
"@whiskeysockets/baileys": "7.0.0-rc.9",
|
|
156
|
-
"ajv": "^8.18.0",
|
|
157
|
-
"chalk": "^5.6.2",
|
|
158
|
-
"chokidar": "^5.0.0",
|
|
159
|
-
"cli-highlight": "^2.1.11",
|
|
160
|
-
"commander": "^14.0.3",
|
|
161
|
-
"croner": "^10.0.1",
|
|
162
|
-
"discord-api-types": "^0.38.40",
|
|
163
|
-
"dotenv": "^17.3.1",
|
|
164
|
-
"express": "^5.2.1",
|
|
165
|
-
"file-type": "^21.3.0",
|
|
166
|
-
"grammy": "^1.40.0",
|
|
167
|
-
"https-proxy-agent": "^7.0.6",
|
|
168
|
-
"jiti": "^2.6.1",
|
|
169
|
-
"json5": "^2.2.3",
|
|
170
|
-
"jszip": "^3.10.1",
|
|
171
|
-
"linkedom": "^0.18.12",
|
|
172
|
-
"long": "^5.3.2",
|
|
173
|
-
"markdown-it": "^14.1.1",
|
|
174
|
-
"node-edge-tts": "^1.2.10",
|
|
175
|
-
"opusscript": "^0.0.8",
|
|
176
|
-
"osc-progress": "^0.3.0",
|
|
177
|
-
"pdfjs-dist": "^5.4.624",
|
|
178
|
-
"playwright-core": "1.58.2",
|
|
179
|
-
"qrcode-terminal": "^0.12.0",
|
|
180
|
-
"sharp": "^0.34.5",
|
|
181
|
-
"sqlite-vec": "0.1.7-alpha.2",
|
|
182
|
-
"tar": "7.5.9",
|
|
183
|
-
"tslog": "^4.10.2",
|
|
184
|
-
"undici": "^7.22.0",
|
|
185
|
-
"ws": "^8.19.0",
|
|
186
|
-
"yaml": "^2.8.2",
|
|
187
|
-
"zod": "^4.3.6"
|
|
188
|
-
},
|
|
189
|
-
"devDependencies": {
|
|
190
|
-
"@grammyjs/types": "^3.24.0",
|
|
191
|
-
"@lit-labs/signals": "^0.2.0",
|
|
192
|
-
"@lit/context": "^1.1.6",
|
|
193
|
-
"@types/express": "^5.0.6",
|
|
194
|
-
"@types/markdown-it": "^14.1.2",
|
|
195
|
-
"@types/node": "^25.3.0",
|
|
196
|
-
"@types/qrcode-terminal": "^0.12.2",
|
|
197
|
-
"@types/ws": "^8.18.1",
|
|
198
|
-
"@typescript/native-preview": "7.0.0-dev.20260221.1",
|
|
199
|
-
"@vitest/coverage-v8": "^4.0.18",
|
|
200
|
-
"lit": "^3.3.2",
|
|
201
|
-
"oxfmt": "0.34.0",
|
|
202
|
-
"oxlint": "^1.49.0",
|
|
203
|
-
"oxlint-tsgolint": "^0.14.2",
|
|
204
|
-
"signal-utils": "0.21.1",
|
|
205
|
-
"tsdown": "^0.20.3",
|
|
206
|
-
"tsx": "^4.21.0",
|
|
207
|
-
"typescript": "^5.9.3",
|
|
208
|
-
"vitest": "^4.0.18"
|
|
209
|
-
},
|
|
210
|
-
"peerDependencies": {
|
|
211
|
-
"@napi-rs/canvas": "^0.1.89",
|
|
212
|
-
"node-llama-cpp": "3.15.1"
|
|
213
|
-
},
|
|
214
|
-
"engines": {
|
|
215
|
-
"node": ">=22.12.0"
|
|
216
|
-
},
|
|
217
|
-
"packageManager": "pnpm@10.23.0",
|
|
218
|
-
"pnpm": {
|
|
219
|
-
"minimumReleaseAge": 2880,
|
|
220
|
-
"overrides": {
|
|
221
|
-
"hono": "4.11.10",
|
|
222
|
-
"fast-xml-parser": "5.3.6",
|
|
223
|
-
"request": "npm:@cypress/request@3.0.10",
|
|
224
|
-
"request-promise": "npm:@cypress/request-promise@5.0.0",
|
|
225
|
-
"form-data": "2.5.4",
|
|
226
|
-
"minimatch": "10.2.1",
|
|
227
|
-
"qs": "6.14.2",
|
|
228
|
-
"@sinclair/typebox": "0.34.48",
|
|
229
|
-
"tar": "7.5.9",
|
|
230
|
-
"tough-cookie": "4.1.3"
|
|
231
|
-
},
|
|
232
|
-
"onlyBuiltDependencies": [
|
|
233
|
-
"@lydell/node-pty",
|
|
234
|
-
"@matrix-org/matrix-sdk-crypto-nodejs",
|
|
235
|
-
"@napi-rs/canvas",
|
|
236
|
-
"@whiskeysockets/baileys",
|
|
237
|
-
"authenticate-pam",
|
|
238
|
-
"esbuild",
|
|
239
|
-
"koffi",
|
|
240
|
-
"node-llama-cpp",
|
|
241
|
-
"protobufjs",
|
|
242
|
-
"sharp"
|
|
243
|
-
]
|
|
244
214
|
}
|
|
245
|
-
}
|
|
215
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/paths-Cce4PUkG.js
DELETED
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
import os from "node:os";
|
|
2
|
-
import path from "node:path";
|
|
3
|
-
import fs from "node:fs";
|
|
4
|
-
|
|
5
|
-
//#region src/infra/home-dir.ts
|
|
6
|
-
function normalize(value) {
|
|
7
|
-
const trimmed = value?.trim();
|
|
8
|
-
return trimmed ? trimmed : void 0;
|
|
9
|
-
}
|
|
10
|
-
function resolveEffectiveHomeDir(env = process.env, homedir = os.homedir) {
|
|
11
|
-
const raw = resolveRawHomeDir(env, homedir);
|
|
12
|
-
return raw ? path.resolve(raw) : void 0;
|
|
13
|
-
}
|
|
14
|
-
function resolveRawHomeDir(env, homedir) {
|
|
15
|
-
const explicitHome = normalize(env.SYMI_HOME);
|
|
16
|
-
if (explicitHome) {
|
|
17
|
-
if (explicitHome === "~" || explicitHome.startsWith("~/") || explicitHome.startsWith("~\\")) {
|
|
18
|
-
const fallbackHome = normalize(env.HOME) ?? normalize(env.USERPROFILE) ?? normalizeSafe(homedir);
|
|
19
|
-
if (fallbackHome) return explicitHome.replace(/^~(?=$|[\\/])/, fallbackHome);
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
return explicitHome;
|
|
23
|
-
}
|
|
24
|
-
const envHome = normalize(env.HOME);
|
|
25
|
-
if (envHome) return envHome;
|
|
26
|
-
const userProfile = normalize(env.USERPROFILE);
|
|
27
|
-
if (userProfile) return userProfile;
|
|
28
|
-
return normalizeSafe(homedir);
|
|
29
|
-
}
|
|
30
|
-
function normalizeSafe(homedir) {
|
|
31
|
-
try {
|
|
32
|
-
return normalize(homedir());
|
|
33
|
-
} catch {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
function resolveRequiredHomeDir(env = process.env, homedir = os.homedir) {
|
|
38
|
-
return resolveEffectiveHomeDir(env, homedir) ?? path.resolve(process.cwd());
|
|
39
|
-
}
|
|
40
|
-
function expandHomePrefix(input, opts) {
|
|
41
|
-
if (!input.startsWith("~")) return input;
|
|
42
|
-
const home = normalize(opts?.home) ?? resolveEffectiveHomeDir(opts?.env ?? process.env, opts?.homedir ?? os.homedir);
|
|
43
|
-
if (!home) return input;
|
|
44
|
-
return input.replace(/^~(?=$|[\\/])/, home);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
//#endregion
|
|
48
|
-
//#region src/config/paths.ts
|
|
49
|
-
/**
|
|
50
|
-
* Nix mode detection: When SYMI_NIX_MODE=1, the gateway is running under Nix.
|
|
51
|
-
* In this mode:
|
|
52
|
-
* - No auto-install flows should be attempted
|
|
53
|
-
* - Missing dependencies should produce actionable Nix-specific error messages
|
|
54
|
-
* - Config is managed externally (read-only from Nix perspective)
|
|
55
|
-
*/
|
|
56
|
-
function resolveIsNixMode(env = process.env) {
|
|
57
|
-
return env.SYMI_NIX_MODE === "1";
|
|
58
|
-
}
|
|
59
|
-
const isNixMode = resolveIsNixMode();
|
|
60
|
-
const LEGACY_STATE_DIRNAMES = [];
|
|
61
|
-
const NEW_STATE_DIRNAME = ".symi";
|
|
62
|
-
const CONFIG_FILENAME = "symi.json";
|
|
63
|
-
const LEGACY_CONFIG_FILENAMES = [];
|
|
64
|
-
function resolveDefaultHomeDir() {
|
|
65
|
-
return resolveRequiredHomeDir(process.env, os.homedir);
|
|
66
|
-
}
|
|
67
|
-
/** Build a homedir thunk that respects SYMI_HOME for the given env. */
|
|
68
|
-
function envHomedir(env) {
|
|
69
|
-
return () => resolveRequiredHomeDir(env, os.homedir);
|
|
70
|
-
}
|
|
71
|
-
function legacyStateDirs(homedir = resolveDefaultHomeDir) {
|
|
72
|
-
return LEGACY_STATE_DIRNAMES.map((dir) => path.join(homedir(), dir));
|
|
73
|
-
}
|
|
74
|
-
function newStateDir(homedir = resolveDefaultHomeDir) {
|
|
75
|
-
return path.join(homedir(), NEW_STATE_DIRNAME);
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* State directory for mutable data (sessions, logs, caches).
|
|
79
|
-
* Can be overridden via SYMI_STATE_DIR.
|
|
80
|
-
* Default: ~/.symi
|
|
81
|
-
*/
|
|
82
|
-
function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
|
|
83
|
-
const effectiveHomedir = () => resolveRequiredHomeDir(env, homedir);
|
|
84
|
-
const override = env.SYMI_STATE_DIR?.trim();
|
|
85
|
-
if (override) return resolveUserPath(override, env, effectiveHomedir);
|
|
86
|
-
const newDir = newStateDir(effectiveHomedir);
|
|
87
|
-
const legacyDirs = legacyStateDirs(effectiveHomedir);
|
|
88
|
-
if (fs.existsSync(newDir)) return newDir;
|
|
89
|
-
const existingLegacy = legacyDirs.find((dir) => {
|
|
90
|
-
try {
|
|
91
|
-
return fs.existsSync(dir);
|
|
92
|
-
} catch {
|
|
93
|
-
return false;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
if (existingLegacy) return existingLegacy;
|
|
97
|
-
return newDir;
|
|
98
|
-
}
|
|
99
|
-
function resolveUserPath(input, env = process.env, homedir = envHomedir(env)) {
|
|
100
|
-
const trimmed = input.trim();
|
|
101
|
-
if (!trimmed) return trimmed;
|
|
102
|
-
if (trimmed.startsWith("~")) {
|
|
103
|
-
const expanded = expandHomePrefix(trimmed, {
|
|
104
|
-
home: resolveRequiredHomeDir(env, homedir),
|
|
105
|
-
env,
|
|
106
|
-
homedir
|
|
107
|
-
});
|
|
108
|
-
return path.resolve(expanded);
|
|
109
|
-
}
|
|
110
|
-
return path.resolve(trimmed);
|
|
111
|
-
}
|
|
112
|
-
const STATE_DIR = resolveStateDir();
|
|
113
|
-
/**
|
|
114
|
-
* Config file path (JSON5).
|
|
115
|
-
* Can be overridden via SYMI_CONFIG_PATH.
|
|
116
|
-
* Default: ~/.symi/symi.json (or $SYMI_STATE_DIR/symi.json)
|
|
117
|
-
*/
|
|
118
|
-
function resolveCanonicalConfigPath(env = process.env, stateDir = resolveStateDir(env, envHomedir(env))) {
|
|
119
|
-
const override = env.SYMI_CONFIG_PATH?.trim();
|
|
120
|
-
if (override) return resolveUserPath(override, env, envHomedir(env));
|
|
121
|
-
return path.join(stateDir, CONFIG_FILENAME);
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Resolve the active config path by preferring existing config candidates
|
|
125
|
-
* before falling back to the canonical path.
|
|
126
|
-
*/
|
|
127
|
-
function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)) {
|
|
128
|
-
const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
|
|
129
|
-
try {
|
|
130
|
-
return fs.existsSync(candidate);
|
|
131
|
-
} catch {
|
|
132
|
-
return false;
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
if (existing) return existing;
|
|
136
|
-
return resolveCanonicalConfigPath(env, resolveStateDir(env, homedir));
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Active config path (prefers existing config files).
|
|
140
|
-
*/
|
|
141
|
-
function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, envHomedir(env)), homedir = envHomedir(env)) {
|
|
142
|
-
const override = env.SYMI_CONFIG_PATH?.trim();
|
|
143
|
-
if (override) return resolveUserPath(override, env, homedir);
|
|
144
|
-
const stateOverride = env.SYMI_STATE_DIR?.trim();
|
|
145
|
-
const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
|
|
146
|
-
try {
|
|
147
|
-
return fs.existsSync(candidate);
|
|
148
|
-
} catch {
|
|
149
|
-
return false;
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
if (existing) return existing;
|
|
153
|
-
if (stateOverride) return path.join(stateDir, CONFIG_FILENAME);
|
|
154
|
-
const defaultStateDir = resolveStateDir(env, homedir);
|
|
155
|
-
if (path.resolve(stateDir) === path.resolve(defaultStateDir)) return resolveConfigPathCandidate(env, homedir);
|
|
156
|
-
return path.join(stateDir, CONFIG_FILENAME);
|
|
157
|
-
}
|
|
158
|
-
const CONFIG_PATH = resolveConfigPathCandidate();
|
|
159
|
-
/**
|
|
160
|
-
* Resolve default config path candidates across default locations.
|
|
161
|
-
* Order: explicit config path → state-dir-derived paths → new default.
|
|
162
|
-
*/
|
|
163
|
-
function resolveDefaultConfigCandidates(env = process.env, homedir = envHomedir(env)) {
|
|
164
|
-
const effectiveHomedir = () => resolveRequiredHomeDir(env, homedir);
|
|
165
|
-
const explicit = env.SYMI_CONFIG_PATH?.trim();
|
|
166
|
-
if (explicit) return [resolveUserPath(explicit, env, effectiveHomedir)];
|
|
167
|
-
const candidates = [];
|
|
168
|
-
const symiStateDir = env.SYMI_STATE_DIR?.trim();
|
|
169
|
-
if (symiStateDir) {
|
|
170
|
-
const resolved = resolveUserPath(symiStateDir, env, effectiveHomedir);
|
|
171
|
-
candidates.push(path.join(resolved, CONFIG_FILENAME));
|
|
172
|
-
candidates.push(...LEGACY_CONFIG_FILENAMES.map((name) => path.join(resolved, name)));
|
|
173
|
-
}
|
|
174
|
-
const defaultDirs = [newStateDir(effectiveHomedir), ...legacyStateDirs(effectiveHomedir)];
|
|
175
|
-
for (const dir of defaultDirs) {
|
|
176
|
-
candidates.push(path.join(dir, CONFIG_FILENAME));
|
|
177
|
-
candidates.push(...LEGACY_CONFIG_FILENAMES.map((name) => path.join(dir, name)));
|
|
178
|
-
}
|
|
179
|
-
return candidates;
|
|
180
|
-
}
|
|
181
|
-
const DEFAULT_GATEWAY_PORT = 18789;
|
|
182
|
-
const OAUTH_FILENAME = "oauth.json";
|
|
183
|
-
/**
|
|
184
|
-
* OAuth credentials storage directory.
|
|
185
|
-
*
|
|
186
|
-
* Precedence:
|
|
187
|
-
* - `SYMI_OAUTH_DIR` (explicit override)
|
|
188
|
-
* - `$*_STATE_DIR/credentials` (canonical server/default)
|
|
189
|
-
*/
|
|
190
|
-
function resolveOAuthDir(env = process.env, stateDir = resolveStateDir(env, envHomedir(env))) {
|
|
191
|
-
const override = env.SYMI_OAUTH_DIR?.trim();
|
|
192
|
-
if (override) return resolveUserPath(override, env, envHomedir(env));
|
|
193
|
-
return path.join(stateDir, "credentials");
|
|
194
|
-
}
|
|
195
|
-
function resolveOAuthPath(env = process.env, stateDir = resolveStateDir(env, envHomedir(env))) {
|
|
196
|
-
return path.join(resolveOAuthDir(env, stateDir), OAUTH_FILENAME);
|
|
197
|
-
}
|
|
198
|
-
function resolveGatewayPort(cfg, env = process.env) {
|
|
199
|
-
const envRaw = env.SYMI_GATEWAY_PORT?.trim();
|
|
200
|
-
if (envRaw) {
|
|
201
|
-
const parsed = Number.parseInt(envRaw, 10);
|
|
202
|
-
if (Number.isFinite(parsed) && parsed > 0) return parsed;
|
|
203
|
-
}
|
|
204
|
-
const configPort = cfg?.gateway?.port;
|
|
205
|
-
if (typeof configPort === "number" && Number.isFinite(configPort)) {
|
|
206
|
-
if (configPort > 0) return configPort;
|
|
207
|
-
}
|
|
208
|
-
return DEFAULT_GATEWAY_PORT;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
//#endregion
|
|
212
|
-
export { resolveOAuthDir as a, expandHomePrefix as c, resolveGatewayPort as i, resolveEffectiveHomeDir as l, resolveConfigPath as n, resolveOAuthPath as o, resolveDefaultConfigCandidates as r, resolveStateDir as s, STATE_DIR as t, resolveRequiredHomeDir as u };
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { a as WA_WEB_AUTH_DIR, g as webAuthExists, s as logWebSelfId, u as pickWebChannel } from "./accounts-D9zGZU5t.js";
|
|
2
|
-
import "./reply-Ch4_18FZ.js";
|
|
3
|
-
import "./paths-DR2yt_mP.js";
|
|
4
|
-
import "./github-copilot-token-D9X2phUj.js";
|
|
5
|
-
import "./plugins-BbAvhC25.js";
|
|
6
|
-
import "./fetch-CUNoPTKm.js";
|
|
7
|
-
import "./registry--_pGht6S.js";
|
|
8
|
-
import "./retry-ilSJqnz9.js";
|
|
9
|
-
import "./send-Bxdu6ZZy.js";
|
|
10
|
-
import "./config-DDkdiUOR.js";
|
|
11
|
-
import "./subsystem-Coz2AgU8.js";
|
|
12
|
-
import "./command-format-DSdvQ_M5.js";
|
|
13
|
-
import "./model-selection-OpU8HN50.js";
|
|
14
|
-
import "./agent-scope-C3gMMKCU.js";
|
|
15
|
-
import "./manifest-registry-B3ugY9-f.js";
|
|
16
|
-
import "./redact-DPnDWsnT.js";
|
|
17
|
-
import "./errors-Bv8oZiTO.js";
|
|
18
|
-
import "./channel-activity-Ji7f0gqq.js";
|
|
19
|
-
import "./image-ops-Bnp6LXEx.js";
|
|
20
|
-
import "./ssrf-DKZ8eBrk.js";
|
|
21
|
-
import "./local-roots-Ckk1QfzI.js";
|
|
22
|
-
import "./ir-Fb3qpcis.js";
|
|
23
|
-
import "./chunk-jvk9axTQ.js";
|
|
24
|
-
import "./message-channel-BdI5Ra9S.js";
|
|
25
|
-
import "./bindings-BbwoUGPx.js";
|
|
26
|
-
import "./markdown-tables-Dfaqilz6.js";
|
|
27
|
-
import "./render-BiJZ5W4Z.js";
|
|
28
|
-
import "./tables-DR0NmBeH.js";
|
|
29
|
-
import "./send-BHbXh8Ly.js";
|
|
30
|
-
import "./tool-images-D7Lno-TE.js";
|
|
31
|
-
import "./target-errors-B7YyMnIi.js";
|
|
32
|
-
import "./send-BtANzsAo.js";
|
|
33
|
-
import "./send-D6LMZJ_h.js";
|
|
34
|
-
import "./runner-BVqnEfNe.js";
|
|
35
|
-
import "./reply-prefix-BHuV5t70.js";
|
|
36
|
-
import "./tokens-CWMflosr.js";
|
|
37
|
-
import "./skill-commands-DCNXVERE.js";
|
|
38
|
-
import "./skills-B1GeRYlu.js";
|
|
39
|
-
import "./chrome-C7c_0I5M.js";
|
|
40
|
-
import "./thinking-DCNUIAHY.js";
|
|
41
|
-
import "./accounts-Dtszw3Zn.js";
|
|
42
|
-
import "./accounts-BToL3HlP.js";
|
|
43
|
-
import "./deliver-BZ6iNLl7.js";
|
|
44
|
-
import "./pi-embedded-helpers-BveUP4hk.js";
|
|
45
|
-
import "./paths-A0xdf3yk.js";
|
|
46
|
-
import "./diagnostic-mFf4i4G9.js";
|
|
47
|
-
import "./store-Do3t33-c.js";
|
|
48
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-DKo2tOO-.js";
|
|
49
|
-
import "./image-BOYy0Ump.js";
|
|
50
|
-
import "./pi-model-discovery-LbcEa65a.js";
|
|
51
|
-
import "./api-key-rotation-CVBMpnPc.js";
|
|
52
|
-
import "./sqlite-Cq_7Cg4E.js";
|
|
53
|
-
import "./diagnostic-session-state-Wd5tNeQG.js";
|
|
54
|
-
import "./manager-DckktAQ3.js";
|
|
55
|
-
import "./commands-registry-CQFbmUMs.js";
|
|
56
|
-
import "./send-BMfJIhCk.js";
|
|
57
|
-
import "./proxy-MquBDehr.js";
|
|
58
|
-
import "./resolve-route-D3JH_D2N.js";
|
|
59
|
-
import "./replies-fI39rPGa.js";
|
|
60
|
-
import "./outbound-attachment-DnVQfTG2.js";
|
|
61
|
-
import { n as sendMessageWhatsApp } from "./outbound-rF6G8Xpr.js";
|
|
62
|
-
import { i as waitForWaConnection, t as createWaSocket } from "./session-kI0tzViQ.js";
|
|
63
|
-
import { t as loginWeb } from "./login-Bh3DZPam.js";
|
|
64
|
-
|
|
65
|
-
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|