@symerian/symi 2.8.5 → 2.8.7
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-BRw8yhIW.js → accounts-D1r2dq1t.js} +21 -21
- package/dist/{accounts-3dCrO3oZ.js → accounts-dRUMQQrB.js} +1 -1
- package/dist/{accounts-BuZxOb3B.js → accounts-wSphH5gv.js} +1 -1
- package/dist/{active-listener-Br2FcRv7.js → active-listener-C3pfJhdC.js} +1 -1
- package/dist/{agent-scope-CpEJ0B88.js → agent-scope-D68_xfTL.js} +3 -3
- package/dist/{agents-DWuqUDaG.js → agents-CKqrLbBd.js} +4 -4
- package/dist/{agents.config-DWsjuONZ.js → agents.config-D17kikNs.js} +1 -1
- package/dist/{agents.config-B8euVOOW.js → agents.config-DnEa79_a.js} +1 -1
- package/dist/{audio-preflight-DIXDvyz5.js → audio-preflight-DFLcuVNn.js} +29 -29
- package/dist/{audio-preflight-CKbpf-IL.js → audio-preflight-DJXj9QP9.js} +5 -5
- package/dist/{audio-preflight-BQaUmV6k.js → audio-preflight-DfALITTK.js} +5 -5
- package/dist/{audit-DCOp_J5K.js → audit-DVUHZrf4.js} +2 -2
- package/dist/{audit-BIeVybsA.js → audit-DgAM_dWL.js} +2 -2
- package/dist/{auth-choice-kpk3L0TR.js → auth-choice-KEir_3i_.js} +1 -1
- package/dist/{auth-choice-hKVjPWaU.js → auth-choice-obR6mZqe.js} +1 -1
- package/dist/{auth-profiles-C2vj6htZ.js → auth-profiles-aJfgABnE.js} +17 -17
- package/dist/{banner-C1RFNTRm.js → banner-BEYICVDD.js} +1 -1
- package/dist/{bindings-BsHoBLIE.js → bindings-Bat2RnAR.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +54 -54
- 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 +54 -54
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-D-kw83R0.js → channel-activity-Cm1OJRbv.js} +1 -1
- package/dist/{channel-options-Vjegw-bn.js → channel-options-D9g8Ji5_.js} +1 -1
- package/dist/{channel-options-Pit7RtN-.js → channel-options-H9pR0AWZ.js} +1 -1
- package/dist/{channel-web-BVm_UWyj.js → channel-web-B9-EHnds.js} +3 -3
- package/dist/{channels-cli-Bh07AMec.js → channels-cli-C_YU5GaO.js} +11 -11
- package/dist/{channels-cli-CXws5tG8.js → channels-cli-mCf_KwBC.js} +12 -12
- package/dist/{chrome-ROtrXlNs.js → chrome-B0yKTuIS.js} +14 -14
- package/dist/{chunk-BHW8Yu5A.js → chunk-B9x_1qSr.js} +1 -1
- package/dist/{cli-D5qinxg-.js → cli-D8xchhQH.js} +8 -8
- package/dist/{cli-TABOKnEJ.js → cli-WAg9Zydm.js} +9 -9
- package/dist/{command-registry-DEe4juCf.js → command-registry-nSYGDoue.js} +9 -9
- package/dist/{commands-registry-CfoYlMQB.js → commands-registry-CeBC8Vy2.js} +4 -4
- package/dist/{completion-cli-W3fyiL94.js → completion-cli-BzV4_BVf.js} +1 -1
- package/dist/{completion-cli-D0j-46vF.js → completion-cli-CR5v_bKh.js} +2 -2
- package/dist/{config-BkZ9HOKT.js → config-Dp67YMkg.js} +12 -12
- package/dist/{config-cli-DLBtnr_W.js → config-cli-DFXYnUAB.js} +1 -1
- package/dist/{config-cli-CajteLy8.js → config-cli-wcQ2PQ2b.js} +1 -1
- package/dist/{config-guard-DjlYIjka.js → config-guard-CJ4iAPK5.js} +1 -1
- package/dist/{config-guard-BJE6xSY9.js → config-guard-DsOhmFl6.js} +2 -2
- package/dist/{configure-B79KjBCS.js → configure-CCux4ZEl.js} +3 -3
- package/dist/{configure-2PdZnKO6.js → configure-DSXgdzrp.js} +3 -3
- package/dist/control-ui/js/app.js +6 -33
- package/dist/control-ui/js/render.js +4 -14
- package/dist/{deliver-CiL9mQXH.js → deliver-BLt_liXS.js} +2 -2
- package/dist/{deliver-BC3liFsT.js → deliver-DPWY9adX.js} +20 -20
- package/dist/{deliver-CXpvGXqJ.js → deliver-lG9ITE8w.js} +2 -2
- package/dist/{diagnostic-CQiU0O8b.js → diagnostic-DIKKFHpP.js} +1 -1
- package/dist/{doctor-completion-DOnUbTdS.js → doctor-completion-D-deyczv.js} +1 -1
- package/dist/{doctor-completion-mlj3aq0W.js → doctor-completion-jev9bFib.js} +1 -1
- package/dist/{doctor-config-flow-DFk-NaP5.js → doctor-config-flow-C81j0-sE.js} +1 -1
- package/dist/{doctor-config-flow-BRB_O0jG.js → doctor-config-flow-CN8seKLA.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{env-BDXYbTKj.js → env-xmBFQPBP.js} +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{frontmatter-CTR5f_Ez.js → frontmatter-CV0YkjoY.js} +2 -2
- package/dist/{gateway-cli-D7jQypRh.js → gateway-cli-BJvattWu.js} +19 -19
- package/dist/{gateway-cli-nHVe7vxD.js → gateway-cli-_BIiMqiD.js} +18 -18
- package/dist/{gemini-auth-BefM10YB.js → gemini-auth-JP7SzVpY.js} +1 -1
- package/dist/{github-copilot-token-cCYzSU9h.js → github-copilot-token-B8B2pmph.js} +7 -7
- package/dist/{glass-ui-ws-BgVPCNjg.js → glass-ui-ws-BHVpfzRg.js} +16 -16
- package/dist/{glass-ui-ws-CMMnvVpl.js → glass-ui-ws-DRWpg6Qb.js} +15 -15
- package/dist/{health-DvkoG4Dw.js → health-7ZvWXkvm.js} +3 -3
- package/dist/{health-DKxSHkOQ.js → health-D1L94KKE.js} +3 -3
- package/dist/{hooks-cli-DV1GeJpO.js → hooks-cli-B-JbgOoq.js} +9 -9
- package/dist/{hooks-cli-DsWn_3um.js → hooks-cli-BjYy0UUP.js} +10 -10
- package/dist/{image-C6v6m8Id.js → image-DCB54N2j.js} +4 -4
- package/dist/{image-CJ_QZqzR.js → image-DXco5IYt.js} +1 -1
- package/dist/{image-C2IvljWU.js → image-D_qN_IxA.js} +1 -1
- package/dist/{image-ops-C7CauEK8.js → image-ops-M5agStZn.js} +16 -16
- package/dist/index.js +14 -14
- package/dist/{ir-JAy_3A3B.js → ir-Z9axTYHx.js} +4 -4
- package/dist/llm-slug-generator.js +54 -54
- package/dist/{local-roots-Se92wAN5.js → local-roots-Bh5xx9IO.js} +5 -5
- package/dist/{login-CksRbu5D.js → login-Z-O7e3RD.js} +7 -7
- package/dist/{login-qr-COIr6FGZ.js → login-qr-Cqe-9-jf.js} +12 -12
- package/dist/{manager-DXyJKTj7.js → manager-ayAJucg2.js} +22 -22
- package/dist/{manifest-registry-CBCGTsIb.js → manifest-registry-QT5_77XA.js} +19 -19
- package/dist/{markdown-tables-Dnj2LQUc.js → markdown-tables-DuRhvVpP.js} +1 -1
- package/dist/{message-channel-OlFBYAw8.js → message-channel-DwDSKGn4.js} +1 -1
- package/dist/{models-BohMMqeG.js → models-PeKQE2ct.js} +2 -2
- package/dist/{models-cli-DabormMV.js → models-cli-ChoXOtnk.js} +9 -9
- package/dist/{models-cli-CJywE4w7.js → models-cli-lSGGkLeL.js} +11 -11
- package/dist/{onboard-ygIcreY9.js → onboard-9PT0Wv1A.js} +2 -2
- package/dist/{onboard-CyuUucGA.js → onboard-B8q4Vpz1.js} +2 -2
- package/dist/{onboard-channels-DU6do-N5.js → onboard-channels-CN0qvsHO.js} +1 -1
- package/dist/{onboard-channels-DaY1NwXd.js → onboard-channels-Cg4bD8ps.js} +1 -1
- package/dist/{onboarding-Bqz1NgoR.js → onboarding-BAn2oNRB.js} +4 -4
- package/dist/{onboarding-BfeyfvK_.js → onboarding-hJaI3u5t.js} +4 -4
- package/dist/{onboarding.finalize-CG0xwhEw.js → onboarding.finalize-BPZZr8Cm.js} +13 -13
- package/dist/{onboarding.finalize-DzTo4LEo.js → onboarding.finalize-BTrhVcW5.js} +15 -15
- package/dist/{onboarding.gateway-config-7LGxdDrq.js → onboarding.gateway-config-TM8ERKyn.js} +1 -1
- package/dist/{onboarding.gateway-config-DJJRuyZ_.js → onboarding.gateway-config-vGTQDqA6.js} +1 -1
- package/dist/{outbound-attachment-BzwVH4Pn.js → outbound-attachment-BOy-OY4-.js} +2 -2
- package/dist/{outbound-CX-uuDet.js → outbound-xWV2AYDD.js} +7 -7
- package/dist/paths-CYmyCDsE.js +212 -0
- package/dist/{paths-CbQV9WEg.js → paths-DEuVuViW.js} +1 -1
- package/dist/{pi-auth-json-RXOlh8ar.js → pi-auth-json-Q3FwtPeJ.js} +1 -1
- package/dist/{pi-embedded-BIATvD3R.js → pi-embedded-F3kbSP7M.js} +6 -2
- package/dist/{pi-embedded-helpers-BUNbSNWw.js → pi-embedded-helpers-CFTCaByg.js} +73 -73
- package/dist/{pi-embedded-helpers-jo_kKs-Z.js → pi-embedded-helpers-DSscUmkR.js} +1 -1
- package/dist/{pi-embedded-helpers-DiXXYmgo.js → pi-embedded-helpers-DpOccVre.js} +1 -1
- package/dist/{pi-tools.policy-p7LLu64F.js → pi-tools.policy-BpN-v9bT.js} +1 -1
- package/dist/{pi-tools.policy-CGVKAOoE.js → pi-tools.policy-DOVQ8dDx.js} +1 -1
- package/dist/{plugin-registry-DG2IOSY3.js → plugin-registry-BVoIgv-5.js} +1 -1
- package/dist/{plugin-registry-DTm-oyEP.js → plugin-registry-DFPTE_HO.js} +1 -1
- package/dist/plugin-sdk/{channel-web-D-ct3FR3.js → channel-web-BNGOwMat.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-Gpdxnjey.js → reply-DcNZU8lj.js} +6 -2
- package/dist/plugin-sdk/{web-BFa_GJSK.js → web-CeR-wf-N.js} +2 -2
- package/dist/{plugins-BzmbgY7s.js → plugins-Bkr5ZdYs.js} +9 -9
- package/dist/{plugins-cli-BrHhfpbX.js → plugins-cli-BwM4f91E.js} +10 -10
- package/dist/{plugins-cli-BJpemLCS.js → plugins-cli-uoGDkhOc.js} +9 -9
- package/dist/{program-CYzFuO3w.js → program-DhBZLOgJ.js} +16 -16
- package/dist/{program-context-G2iHoB5D.js → program-context-BJEZcvA2.js} +20 -20
- package/dist/{prompt-select-styled-lVyrkSPI.js → prompt-select-styled-CJjLDUCj.js} +7 -7
- package/dist/{prompt-select-styled-P0KS75Rt.js → prompt-select-styled-CMBgFELR.js} +7 -7
- package/dist/{provider-auth-helpers-CoYjxsb2.js → provider-auth-helpers-DeWQHkRc.js} +1 -1
- package/dist/{provider-auth-helpers-Cygsm5_L.js → provider-auth-helpers-S2j3hcBK.js} +1 -1
- package/dist/{push-apns-CHM_4e6x.js → push-apns-CJ2CpgRB.js} +1 -1
- package/dist/{push-apns-BMfcGm-A.js → push-apns-YD8SuIy0.js} +1 -1
- package/dist/{pw-ai-BLrC_W1X.js → pw-ai-DHoYzirP.js} +11 -11
- package/dist/{qmd-manager-lBS9mT9w.js → qmd-manager-8-Z3Cdpt.js} +7 -7
- package/dist/{register.agent-BTmY2MoW.js → register.agent-B2u3ouKf.js} +14 -14
- package/dist/{register.agent-efba5ajU.js → register.agent-gMPMyFRj.js} +12 -12
- package/dist/{register.configure-DHSfWAqs.js → register.configure-C6mVcNay.js} +14 -14
- package/dist/{register.configure-EQOE0vHS.js → register.configure-DncWEkhU.js} +13 -13
- package/dist/{register.maintenance-CzcgKkH3.js → register.maintenance-Cz1IOILv.js} +15 -15
- package/dist/{register.maintenance-CsczzIEq.js → register.maintenance-D5oV0fjR.js} +17 -17
- package/dist/{register.message-Bc3A_dfj.js → register.message-B6hxm3rn.js} +9 -9
- package/dist/{register.message-u6gwfQPX.js → register.message-QejTHJGQ.js} +10 -10
- package/dist/{register.onboard-CtKNq5I_.js → register.onboard-CA06T3Jp.js} +12 -12
- package/dist/{register.onboard-yDsskHey.js → register.onboard-kJuHrfio.js} +11 -11
- package/dist/{register.setup-BPeB8JTw.js → register.setup-BD8QKVsT.js} +11 -11
- package/dist/{register.setup-BJqk3N2q.js → register.setup-C11edfdp.js} +12 -12
- package/dist/{register.status-health-sessions-CU6Uv3iO.js → register.status-health-sessions-257I77oA.js} +13 -13
- package/dist/{register.status-health-sessions-KzzMJ0H1.js → register.status-health-sessions-CrTiF0_d.js} +11 -11
- package/dist/{register.subclis-C_464foT.js → register.subclis-CnOalkYH.js} +12 -12
- package/dist/{registry-DYq1AYOv.js → registry-UkL38jvt.js} +17 -17
- package/dist/{replies-BWgZR_w5.js → replies-CWH084Xr.js} +3 -3
- package/dist/{reply-kWKTXRkY.js → reply-o0IEwJ_P.js} +18 -14
- package/dist/{reply-prefix-CvEIl6_d.js → reply-prefix-ZnX2V-k9.js} +1 -1
- package/dist/{resolve-route-DX7xcMsD.js → resolve-route-gl0ZOOKR.js} +4 -4
- package/dist/{retry-B-y5suGA.js → retry-D25Z8MVS.js} +1 -1
- package/dist/{run-main-I-kj1_yf.js → run-main-BuVFHsuQ.js} +25 -25
- package/dist/{runner-QX0Z6K1w.js → runner-C-ygJOAu.js} +22 -22
- package/dist/{runner-BopCEjwB.js → runner-CSdQSvE8.js} +1 -1
- package/dist/{runner-eBF6SlQ6.js → runner-C_BlQ2fG.js} +1 -1
- package/dist/{sandbox-ooxzsj2D.js → sandbox-BOVopTqv.js} +1 -1
- package/dist/{sandbox-Cl2r-bXv.js → sandbox-CDxHBl3I.js} +1 -1
- package/dist/{sandbox-cli-CZSrSTkk.js → sandbox-cli-0eu7BCa8.js} +2 -2
- package/dist/{sandbox-cli-BH45SMwC.js → sandbox-cli-BpfYaZBG.js} +2 -2
- package/dist/{security-cli-CEI0zQJs.js → security-cli-B5s73Le2.js} +4 -4
- package/dist/{security-cli-Bz-Sv5-H.js → security-cli-CzWHkrqD.js} +4 -4
- package/dist/{send-CCmxHtaA.js → send-BJhQtCyM.js} +6 -6
- package/dist/{send-xTfsDEE2.js → send-CF_nzDHe.js} +18 -18
- package/dist/{send-vqwluhp3.js → send-Cf47Nas6.js} +7 -7
- package/dist/{send-B7aHpAco.js → send-DERqzyba.js} +6 -6
- package/dist/{send-Yzy50T1h.js → send-DQoKXmre.js} +10 -10
- package/dist/{server-methods-DuXvSLX-.js → server-methods-D0laPfTZ.js} +10 -10
- package/dist/{server-methods-DQHU-PVR.js → server-methods-D1eF0-Yu.js} +11 -11
- package/dist/{server-node-events-CwAM91fd.js → server-node-events-D3iV_wDf.js} +9 -9
- package/dist/{server-node-events-ecaGjg5E.js → server-node-events-b7X9bVIS.js} +10 -10
- package/dist/{session-BTLA3Rm7.js → session-C1eFu8k4.js} +8 -8
- package/dist/{session-utils-Dwt6eGX6.js → session-utils-BPXkhuNM.js} +1 -1
- package/dist/{sessions-Do060W3W.js → sessions-BPD85pWA.js} +2 -3
- package/dist/{sessions-vYQs1OzE.js → sessions-BeYHj0gr.js} +2 -3
- package/dist/{sessions-DQxygr94.js → sessions-NTd36-CO.js} +2 -2
- package/dist/{skill-commands-D1hG6Ikz.js → skill-commands-CKXkvl80.js} +16 -16
- package/dist/{skills-CXxrn_e2.js → skills-DxmX9HVT.js} +24 -24
- package/dist/{sqlite-BHWvOATS.js → sqlite-JHY-uOmS.js} +16 -16
- package/dist/{status-v8DOdpX6.js → status-Cv3PcsRo.js} +4 -4
- package/dist/{status-DNVKHGLC.js → status-CwrFTb4t.js} +1 -1
- package/dist/{status-CW9LMA2M.js → status-K22ODH_m.js} +1 -1
- package/dist/{status-DsFAg-bK.js → status-eVKjxfUO.js} +5 -5
- package/dist/{store-01F_JM7O.js → store-Ea3zM6xK.js} +6 -6
- package/dist/{subagent-registry-C8UsZ8F0.js → subagent-registry-4XZvxwX0.js} +19 -15
- package/dist/{subsystem-BjyjJF-d.js → subsystem-DN75fnEF.js} +1 -1
- package/dist/{tables-BuM4FKR3.js → tables-Dkg9O8rv.js} +1 -1
- package/dist/{target-errors-BEugWC4F.js → target-errors-Pr77jao5.js} +2 -2
- package/dist/{thinking-BprCy23Z.js → thinking-C9-JAUzD.js} +5 -5
- package/dist/{tokens-W0JzCJJM.js → tokens-CCZl4YHT.js} +1 -1
- package/dist/{tool-images-SqqWIT22.js → tool-images-B1qVCntj.js} +2 -2
- package/dist/{tool-loop-detection-D5mBY7AC.js → tool-loop-detection-C33wf43N.js} +3 -3
- package/dist/{tui-B61kHmM2.js → tui-DfPeXwah.js} +2 -2
- package/dist/{tui-CiGfEtDa.js → tui-LZPdrFmK.js} +2 -2
- package/dist/{tui-cli-CwNXfDnk.js → tui-cli-Bm3TJgXf.js} +4 -4
- package/dist/{tui-cli-DHKMCeGp.js → tui-cli-DFXZ7r1F.js} +4 -4
- package/dist/{unified-runner-CUXcv08a.js → unified-runner-BL7URnpP.js} +231 -227
- package/dist/{update-cli-BwX8SW9m.js → update-cli-Bf-HR0_b.js} +17 -17
- package/dist/{update-cli-DQOw6sqy.js → update-cli-CjtzOlMZ.js} +15 -15
- package/dist/{update-runner-BhXkq5Gw.js → update-runner-CxuU59aU.js} +1 -1
- package/dist/{update-runner-C56OyqSE.js → update-runner-i95oVXRi.js} +1 -1
- package/dist/{web-DgoKLcMP.js → web-B3QBvAid.js} +58 -58
- package/dist/{web-CGicnDRL.js → web-CTog1mw0.js} +9 -9
- package/dist/{web-Ifwqx6Dt.js → web-D6aUh_IC.js} +1 -1
- package/dist/{web-NSGlkQEO.js → web-D_WLAogr.js} +9 -9
- package/dist/{whatsapp-actions-CiXMwRR8.js → whatsapp-actions-pddprZ8J.js} +23 -23
- package/dist/{workspace-DscDraUb.js → workspace-DqJ5h-ZB.js} +27 -27
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/index.ts +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { R as shortenHomeInString, k as isRecord } from "./registry-
|
|
3
|
-
import { L as getApiKeyForModel, M as resolveImplicitBedrockProvider, N as resolveImplicitCopilotProvider, P as resolveImplicitProviders, W as normalizeSecretInput, et as resolveSymiAgentDir, j as normalizeProviders, z as requireApiKey } from "./auth-profiles-
|
|
4
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
2
|
+
import { R as shortenHomeInString, k as isRecord } from "./registry-UkL38jvt.js";
|
|
3
|
+
import { L as getApiKeyForModel, M as resolveImplicitBedrockProvider, N as resolveImplicitCopilotProvider, P as resolveImplicitProviders, W as normalizeSecretInput, et as resolveSymiAgentDir, j as normalizeProviders, z as requireApiKey } from "./auth-profiles-aJfgABnE.js";
|
|
4
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-CFTCaByg.js";
|
|
5
|
+
import { n as loadConfig } from "./config-Dp67YMkg.js";
|
|
6
6
|
import { n as redactToolDetail } from "./redact-BDMXB06K.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CuZX_Q4t.js";
|
|
8
8
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { Q as isRecord } from "./entry.js";
|
|
3
3
|
import { Et as normalizeSecretInput, bt as requireApiKey, vt as getApiKeyForModel } from "./auth-profiles-BBniPGeS.js";
|
|
4
4
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Do3xMEtM.js";
|
|
5
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-DSscUmkR.js";
|
|
6
6
|
import { t as ensureSymiModelsJson } from "./models-config-J1x_DaPn.js";
|
|
7
7
|
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-CXwOC-qw.js";
|
|
8
8
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -3,7 +3,7 @@ import { d as isRecord } from "./utils-B-0b9bGM.js";
|
|
|
3
3
|
import { Bt as normalizeSecretInput, K as requireApiKey, W as getApiKeyForModel } from "./model-selection-C-eIBa0H.js";
|
|
4
4
|
import { t as ensureSymiModelsJson } from "./models-config-B91ShhoT.js";
|
|
5
5
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-4uUnLc3n.js";
|
|
6
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
6
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-DpOccVre.js";
|
|
7
7
|
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-D8N3rsYt.js";
|
|
8
8
|
import { complete } from "@mariozechner/pi-ai";
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as runExec } from "./workspace-
|
|
1
|
+
import { _ as runExec } from "./workspace-DqJ5h-ZB.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { constants } from "node:fs";
|
|
4
4
|
import os from "node:os";
|
|
5
|
-
import fs
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
import { fileTypeFromBuffer } from "file-type";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/fs-safe.ts
|
|
@@ -23,19 +23,19 @@ const isSymlinkOpenError = (err) => isNodeError(err) && (err.code === "ELOOP" ||
|
|
|
23
23
|
async function openVerifiedLocalFile(filePath) {
|
|
24
24
|
let handle;
|
|
25
25
|
try {
|
|
26
|
-
handle = await fs
|
|
26
|
+
handle = await fs.open(filePath, OPEN_READ_FLAGS);
|
|
27
27
|
} catch (err) {
|
|
28
28
|
if (isNotFoundError(err)) throw new SafeOpenError("not-found", "file not found");
|
|
29
29
|
if (isSymlinkOpenError(err)) throw new SafeOpenError("symlink", "symlink open blocked", { cause: err });
|
|
30
30
|
throw err;
|
|
31
31
|
}
|
|
32
32
|
try {
|
|
33
|
-
const [stat, lstat] = await Promise.all([handle.stat(), fs
|
|
33
|
+
const [stat, lstat] = await Promise.all([handle.stat(), fs.lstat(filePath)]);
|
|
34
34
|
if (lstat.isSymbolicLink()) throw new SafeOpenError("symlink", "symlink not allowed");
|
|
35
35
|
if (!stat.isFile()) throw new SafeOpenError("not-file", "not a file");
|
|
36
36
|
if (stat.ino !== lstat.ino || stat.dev !== lstat.dev) throw new SafeOpenError("path-mismatch", "path changed during read");
|
|
37
|
-
const realPath = await fs
|
|
38
|
-
const realStat = await fs
|
|
37
|
+
const realPath = await fs.realpath(filePath);
|
|
38
|
+
const realStat = await fs.stat(realPath);
|
|
39
39
|
if (stat.ino !== realStat.ino || stat.dev !== realStat.dev) throw new SafeOpenError("path-mismatch", "path mismatch");
|
|
40
40
|
return {
|
|
41
41
|
handle,
|
|
@@ -52,7 +52,7 @@ async function openVerifiedLocalFile(filePath) {
|
|
|
52
52
|
async function openFileWithinRoot(params) {
|
|
53
53
|
let rootReal;
|
|
54
54
|
try {
|
|
55
|
-
rootReal = await fs
|
|
55
|
+
rootReal = await fs.realpath(params.rootDir);
|
|
56
56
|
} catch (err) {
|
|
57
57
|
if (isNotFoundError(err)) throw new SafeOpenError("not-found", "root dir not found");
|
|
58
58
|
throw err;
|
|
@@ -321,11 +321,11 @@ function readJpegExifOrientation(buffer) {
|
|
|
321
321
|
return null;
|
|
322
322
|
}
|
|
323
323
|
async function withTempDir(fn) {
|
|
324
|
-
const dir = await fs
|
|
324
|
+
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "symi-img-"));
|
|
325
325
|
try {
|
|
326
326
|
return await fn(dir);
|
|
327
327
|
} finally {
|
|
328
|
-
await fs
|
|
328
|
+
await fs.rm(dir, {
|
|
329
329
|
recursive: true,
|
|
330
330
|
force: true
|
|
331
331
|
}).catch(() => {});
|
|
@@ -334,7 +334,7 @@ async function withTempDir(fn) {
|
|
|
334
334
|
async function sipsMetadataFromBuffer(buffer) {
|
|
335
335
|
return await withTempDir(async (dir) => {
|
|
336
336
|
const input = path.join(dir, "in.img");
|
|
337
|
-
await fs
|
|
337
|
+
await fs.writeFile(input, buffer);
|
|
338
338
|
const { stdout } = await runExec("/usr/bin/sips", [
|
|
339
339
|
"-g",
|
|
340
340
|
"pixelWidth",
|
|
@@ -362,7 +362,7 @@ async function sipsResizeToJpeg(params) {
|
|
|
362
362
|
return await withTempDir(async (dir) => {
|
|
363
363
|
const input = path.join(dir, "in.img");
|
|
364
364
|
const output = path.join(dir, "out.jpg");
|
|
365
|
-
await fs
|
|
365
|
+
await fs.writeFile(input, params.buffer);
|
|
366
366
|
await runExec("/usr/bin/sips", [
|
|
367
367
|
"-Z",
|
|
368
368
|
String(Math.max(1, Math.round(params.maxSide))),
|
|
@@ -379,14 +379,14 @@ async function sipsResizeToJpeg(params) {
|
|
|
379
379
|
timeoutMs: 2e4,
|
|
380
380
|
maxBuffer: 1024 * 1024
|
|
381
381
|
});
|
|
382
|
-
return await fs
|
|
382
|
+
return await fs.readFile(output);
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
async function sipsConvertToJpeg(buffer) {
|
|
386
386
|
return await withTempDir(async (dir) => {
|
|
387
387
|
const input = path.join(dir, "in.heic");
|
|
388
388
|
const output = path.join(dir, "out.jpg");
|
|
389
|
-
await fs
|
|
389
|
+
await fs.writeFile(input, buffer);
|
|
390
390
|
await runExec("/usr/bin/sips", [
|
|
391
391
|
"-s",
|
|
392
392
|
"format",
|
|
@@ -398,7 +398,7 @@ async function sipsConvertToJpeg(buffer) {
|
|
|
398
398
|
timeoutMs: 2e4,
|
|
399
399
|
maxBuffer: 1024 * 1024
|
|
400
400
|
});
|
|
401
|
-
return await fs
|
|
401
|
+
return await fs.readFile(output);
|
|
402
402
|
});
|
|
403
403
|
}
|
|
404
404
|
async function getImageMetadata(buffer) {
|
|
@@ -449,7 +449,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
449
449
|
return await withTempDir(async (dir) => {
|
|
450
450
|
const input = path.join(dir, "in.jpg");
|
|
451
451
|
const output = path.join(dir, "out.jpg");
|
|
452
|
-
await fs
|
|
452
|
+
await fs.writeFile(input, buffer);
|
|
453
453
|
await runExec("/usr/bin/sips", [
|
|
454
454
|
...ops,
|
|
455
455
|
input,
|
|
@@ -459,7 +459,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
459
459
|
timeoutMs: 2e4,
|
|
460
460
|
maxBuffer: 1024 * 1024
|
|
461
461
|
});
|
|
462
|
-
return await fs
|
|
462
|
+
return await fs.readFile(output);
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
465
|
async function resizeToJpeg(params) {
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./paths-Cqn-zk3M.js";
|
|
3
3
|
import { B as theme, P as setVerbose, T as toWhatsappJid, l as escapeRegExp, m as normalizeE164, n as assertWebChannel, z as isRich } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import "./thinking-EAliFiVK.js";
|
|
5
|
-
import { Lt as createDefaultDeps, bt as resolveCommitHash, t as getReplyFromConfig } from "./reply-
|
|
5
|
+
import { Lt as createDefaultDeps, bt as resolveCommitHash, t as getReplyFromConfig } from "./reply-o0IEwJ_P.js";
|
|
6
6
|
import "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime, r as enableConsoleCapture, u as visibleWidth } from "./subsystem-D9vIQve0.js";
|
|
8
8
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
@@ -16,12 +16,12 @@ import "./message-channel-aT-I_DTX.js";
|
|
|
16
16
|
import "./send-BKhluIbb.js";
|
|
17
17
|
import { H as VERSION, W as loadDotEnv, i as loadConfig } from "./config-PXAJCHa5.js";
|
|
18
18
|
import "./manifest-registry-BDSRH8nU.js";
|
|
19
|
-
import { _ as applyTemplate, u as installUnhandledRejectionHandler } from "./runner-
|
|
20
|
-
import "./image-
|
|
19
|
+
import { _ as applyTemplate, u as installUnhandledRejectionHandler } from "./runner-C_BlQ2fG.js";
|
|
20
|
+
import "./image-D_qN_IxA.js";
|
|
21
21
|
import "./models-config-B91ShhoT.js";
|
|
22
22
|
import "./pi-model-discovery-4uUnLc3n.js";
|
|
23
|
-
import "./pi-embedded-helpers-
|
|
24
|
-
import "./sandbox-
|
|
23
|
+
import "./pi-embedded-helpers-DpOccVre.js";
|
|
24
|
+
import "./sandbox-BOVopTqv.js";
|
|
25
25
|
import "./chrome-BJvuH-NZ.js";
|
|
26
26
|
import { l as ensureBinary, u as promptYesNo } from "./tailscale-D5dKabOc.js";
|
|
27
27
|
import "./auth-B741uFtk.js";
|
|
@@ -38,7 +38,7 @@ import "./image-ops-1OJMSAUX.js";
|
|
|
38
38
|
import "./store-r1DJSDq-.js";
|
|
39
39
|
import { i as handlePortError, n as describePortOwner, r as ensurePortAvailable, t as PortInUseError } from "./ports-BOmtxoTv.js";
|
|
40
40
|
import "./trash-DcMh1i4B.js";
|
|
41
|
-
import { A as deriveSessionKey, j as resolveSessionKey, l as saveSessionStore, o as loadSessionStore } from "./sessions-
|
|
41
|
+
import { A as deriveSessionKey, j as resolveSessionKey, l as saveSessionStore, o as loadSessionStore } from "./sessions-BeYHj0gr.js";
|
|
42
42
|
import "./dock-BhS32F6E.js";
|
|
43
43
|
import "./plugins-DKDeQZF0.js";
|
|
44
44
|
import "./accounts-DDuIpcln.js";
|
|
@@ -57,7 +57,7 @@ import "./sqlite-Dx3J_aSE.js";
|
|
|
57
57
|
import "./model-catalog-Dex2EDUJ.js";
|
|
58
58
|
import "./tokens-BuceUQDl.js";
|
|
59
59
|
import "./with-timeout-emS7y-kf.js";
|
|
60
|
-
import "./deliver-
|
|
60
|
+
import "./deliver-lG9ITE8w.js";
|
|
61
61
|
import "./diagnostic-CH0skkp6.js";
|
|
62
62
|
import "./diagnostic-session-state-CUslJyKP.js";
|
|
63
63
|
import "./send-DFftzTHo.js";
|
|
@@ -100,11 +100,11 @@ import "./prompt-style-CnkMpSXt.js";
|
|
|
100
100
|
import "./pairing-labels-BScqzHEx.js";
|
|
101
101
|
import "./exec-approvals-DXM2pQYL.js";
|
|
102
102
|
import "./nodes-screen-8Bq7DiSa.js";
|
|
103
|
-
import "./pi-tools.policy-
|
|
103
|
+
import "./pi-tools.policy-BpN-v9bT.js";
|
|
104
104
|
import "./control-service-D0IdaeI8.js";
|
|
105
105
|
import "./stagger-CvFURHzt.js";
|
|
106
106
|
import "./channel-selection-V2xDgw16.js";
|
|
107
|
-
import { r as waitForever, t as monitorWebChannel } from "./channel-web-
|
|
107
|
+
import { r as waitForever, t as monitorWebChannel } from "./channel-web-B9-EHnds.js";
|
|
108
108
|
import "./outbound-XakUc977.js";
|
|
109
109
|
import "./session-BuAvI2u-.js";
|
|
110
110
|
import "./login-DiorUpLk.js";
|
|
@@ -113,10 +113,10 @@ import { t as ensureSymiCliOnPath } from "./path-env-BaQ2E7uD.js";
|
|
|
113
113
|
import { t as assertSupportedRuntime } from "./runtime-guard-Dik20CVM.js";
|
|
114
114
|
import "./ports-DtW62rqS.js";
|
|
115
115
|
import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-B20UI_hB.js";
|
|
116
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
116
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-BJEZcvA2.js";
|
|
117
117
|
import "./catalog-DX1l43Ru.js";
|
|
118
|
-
import "./plugin-registry-
|
|
119
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
118
|
+
import "./plugin-registry-DFPTE_HO.js";
|
|
119
|
+
import { n as resolveCliChannelOptions } from "./channel-options-H9pR0AWZ.js";
|
|
120
120
|
import process$1 from "node:process";
|
|
121
121
|
import { fileURLToPath } from "node:url";
|
|
122
122
|
import { Command } from "commander";
|
|
@@ -510,13 +510,13 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
510
510
|
setVerbose(verbose);
|
|
511
511
|
if (!verbose) process.env.NODE_NO_WARNINGS ??= "1";
|
|
512
512
|
if (commandPath[0] === "doctor" || commandPath[0] === "completion") return;
|
|
513
|
-
const { ensureConfigReady } = await import("./config-guard-
|
|
513
|
+
const { ensureConfigReady } = await import("./config-guard-DsOhmFl6.js");
|
|
514
514
|
await ensureConfigReady({
|
|
515
515
|
runtime: defaultRuntime,
|
|
516
516
|
commandPath
|
|
517
517
|
});
|
|
518
518
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
519
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
519
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-DFPTE_HO.js").then((n) => n.n);
|
|
520
520
|
ensurePluginRegistryLoaded();
|
|
521
521
|
}
|
|
522
522
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as resolveUserPath, J as logVerbose, Z as shouldLogVerbose } from "./registry-
|
|
2
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-
|
|
3
|
-
import { a as chunkText } from "./chunk-
|
|
4
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
1
|
+
import { I as resolveUserPath, J as logVerbose, Z as shouldLogVerbose } from "./registry-UkL38jvt.js";
|
|
2
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-M5agStZn.js";
|
|
3
|
+
import { a as chunkText } from "./chunk-B9x_1qSr.js";
|
|
4
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-Bh5xx9IO.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./registry-
|
|
3
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
7
|
-
import "./paths-
|
|
8
|
-
import "./auth-profiles-
|
|
9
|
-
import "./env-
|
|
10
|
-
import "./github-copilot-token-
|
|
1
|
+
import "./paths-CYmyCDsE.js";
|
|
2
|
+
import "./registry-UkL38jvt.js";
|
|
3
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-D68_xfTL.js";
|
|
4
|
+
import "./subsystem-DN75fnEF.js";
|
|
5
|
+
import "./workspace-DqJ5h-ZB.js";
|
|
6
|
+
import { t as runAgentTurn } from "./unified-runner-BL7URnpP.js";
|
|
7
|
+
import "./paths-DEuVuViW.js";
|
|
8
|
+
import "./auth-profiles-aJfgABnE.js";
|
|
9
|
+
import "./env-xmBFQPBP.js";
|
|
10
|
+
import "./github-copilot-token-B8B2pmph.js";
|
|
11
11
|
import "./boolean-CE7i9tBR.js";
|
|
12
|
-
import "./pi-embedded-helpers-
|
|
13
|
-
import "./config-
|
|
14
|
-
import "./manifest-registry-
|
|
15
|
-
import "./chrome-
|
|
16
|
-
import "./frontmatter-
|
|
17
|
-
import "./skills-
|
|
12
|
+
import "./pi-embedded-helpers-CFTCaByg.js";
|
|
13
|
+
import "./config-Dp67YMkg.js";
|
|
14
|
+
import "./manifest-registry-QT5_77XA.js";
|
|
15
|
+
import "./chrome-B0yKTuIS.js";
|
|
16
|
+
import "./frontmatter-CV0YkjoY.js";
|
|
17
|
+
import "./skills-DxmX9HVT.js";
|
|
18
18
|
import "./redact-BDMXB06K.js";
|
|
19
19
|
import "./errors-XIsvXeC-.js";
|
|
20
|
-
import "./image-ops-
|
|
20
|
+
import "./image-ops-M5agStZn.js";
|
|
21
21
|
import "./ssrf-DpUUUgkK.js";
|
|
22
|
-
import "./store-
|
|
23
|
-
import "./thinking-
|
|
24
|
-
import "./message-channel-
|
|
25
|
-
import "./plugins-
|
|
26
|
-
import "./accounts-
|
|
27
|
-
import "./accounts-
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./bindings-
|
|
30
|
-
import "./send-
|
|
31
|
-
import "./send-
|
|
32
|
-
import "./tool-images-
|
|
33
|
-
import "./deliver-
|
|
34
|
-
import "./diagnostic-
|
|
22
|
+
import "./store-Ea3zM6xK.js";
|
|
23
|
+
import "./thinking-C9-JAUzD.js";
|
|
24
|
+
import "./message-channel-DwDSKGn4.js";
|
|
25
|
+
import "./plugins-Bkr5ZdYs.js";
|
|
26
|
+
import "./accounts-D1r2dq1t.js";
|
|
27
|
+
import "./accounts-dRUMQQrB.js";
|
|
28
|
+
import "./accounts-wSphH5gv.js";
|
|
29
|
+
import "./bindings-Bat2RnAR.js";
|
|
30
|
+
import "./send-DERqzyba.js";
|
|
31
|
+
import "./send-DQoKXmre.js";
|
|
32
|
+
import "./tool-images-B1qVCntj.js";
|
|
33
|
+
import "./deliver-DPWY9adX.js";
|
|
34
|
+
import "./diagnostic-DIKKFHpP.js";
|
|
35
35
|
import "./diagnostic-session-state-Zw87xFym.js";
|
|
36
|
-
import "./image-
|
|
37
|
-
import "./pi-auth-json-
|
|
38
|
-
import "./tokens-
|
|
39
|
-
import "./send-
|
|
36
|
+
import "./image-DCB54N2j.js";
|
|
37
|
+
import "./pi-auth-json-Q3FwtPeJ.js";
|
|
38
|
+
import "./tokens-CCZl4YHT.js";
|
|
39
|
+
import "./send-CF_nzDHe.js";
|
|
40
40
|
import "./pi-model-discovery-CuZX_Q4t.js";
|
|
41
|
-
import "./reply-prefix-
|
|
42
|
-
import "./manager-
|
|
43
|
-
import "./gemini-auth-
|
|
44
|
-
import "./sqlite-
|
|
45
|
-
import "./retry-
|
|
46
|
-
import "./target-errors-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./markdown-tables-
|
|
49
|
-
import "./local-roots-
|
|
50
|
-
import "./ir-
|
|
41
|
+
import "./reply-prefix-ZnX2V-k9.js";
|
|
42
|
+
import "./manager-ayAJucg2.js";
|
|
43
|
+
import "./gemini-auth-JP7SzVpY.js";
|
|
44
|
+
import "./sqlite-JHY-uOmS.js";
|
|
45
|
+
import "./retry-D25Z8MVS.js";
|
|
46
|
+
import "./target-errors-Pr77jao5.js";
|
|
47
|
+
import "./chunk-B9x_1qSr.js";
|
|
48
|
+
import "./markdown-tables-DuRhvVpP.js";
|
|
49
|
+
import "./local-roots-Bh5xx9IO.js";
|
|
50
|
+
import "./ir-Z9axTYHx.js";
|
|
51
51
|
import "./render-DwEu-aCr.js";
|
|
52
|
-
import "./commands-registry-
|
|
53
|
-
import "./runner-
|
|
54
|
-
import "./skill-commands-
|
|
52
|
+
import "./commands-registry-CeBC8Vy2.js";
|
|
53
|
+
import "./runner-C-ygJOAu.js";
|
|
54
|
+
import "./skill-commands-CKXkvl80.js";
|
|
55
55
|
import "./fetch-Dnti0cFs.js";
|
|
56
|
-
import "./channel-activity-
|
|
57
|
-
import "./tables-
|
|
58
|
-
import "./send-
|
|
59
|
-
import "./outbound-attachment-
|
|
60
|
-
import "./send-
|
|
61
|
-
import "./resolve-route-
|
|
56
|
+
import "./channel-activity-Cm1OJRbv.js";
|
|
57
|
+
import "./tables-Dkg9O8rv.js";
|
|
58
|
+
import "./send-BJhQtCyM.js";
|
|
59
|
+
import "./outbound-attachment-BOy-OY4-.js";
|
|
60
|
+
import "./send-Cf47Nas6.js";
|
|
61
|
+
import "./resolve-route-gl0ZOOKR.js";
|
|
62
62
|
import "./proxy-DVy9foH0.js";
|
|
63
|
-
import "./replies-
|
|
63
|
+
import "./replies-CWH084Xr.js";
|
|
64
64
|
|
|
65
65
|
//#region src/hooks/llm-slug-generator.ts
|
|
66
66
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as resolveStateDir } from "./paths-
|
|
2
|
-
import { dt as resolvePreferredSymiTmpDir } from "./registry-
|
|
3
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { S as logWarn } from "./workspace-
|
|
5
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { s as resolveStateDir } from "./paths-CYmyCDsE.js";
|
|
2
|
+
import { dt as resolvePreferredSymiTmpDir } from "./registry-UkL38jvt.js";
|
|
3
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-D68_xfTL.js";
|
|
4
|
+
import { S as logWarn } from "./workspace-DqJ5h-ZB.js";
|
|
5
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-M5agStZn.js";
|
|
6
6
|
import { a as resolvePinnedHostnameWithPolicy, n as closeDispatcher, r as createPinnedDispatcher, t as SsrFBlockedError } from "./ssrf-DpUUUgkK.js";
|
|
7
7
|
import { t as bindAbortRelay } from "./fetch-timeout-Cj6kcyGt.js";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { G as danger, K as info, Q as success } from "./registry-
|
|
3
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
4
|
-
import { x as logInfo } from "./workspace-
|
|
5
|
-
import { n as formatCliCommand } from "./env-
|
|
6
|
-
import { n as loadConfig } from "./config-
|
|
7
|
-
import { a as logoutWeb, t as resolveWhatsAppAccount } from "./accounts-
|
|
8
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
2
|
+
import { G as danger, K as info, Q as success } from "./registry-UkL38jvt.js";
|
|
3
|
+
import { r as defaultRuntime } from "./subsystem-DN75fnEF.js";
|
|
4
|
+
import { x as logInfo } from "./workspace-DqJ5h-ZB.js";
|
|
5
|
+
import { n as formatCliCommand } from "./env-xmBFQPBP.js";
|
|
6
|
+
import { n as loadConfig } from "./config-Dp67YMkg.js";
|
|
7
|
+
import { a as logoutWeb, t as resolveWhatsAppAccount } from "./accounts-D1r2dq1t.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-C1eFu8k4.js";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
|
|
11
11
|
//#region src/web/login.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { G as danger, K as info, Q as success } from "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { x as logInfo } from "./workspace-
|
|
6
|
-
import "./auth-profiles-
|
|
7
|
-
import "./env-
|
|
8
|
-
import "./github-copilot-token-
|
|
1
|
+
import "./paths-CYmyCDsE.js";
|
|
2
|
+
import { G as danger, K as info, Q as success } from "./registry-UkL38jvt.js";
|
|
3
|
+
import "./agent-scope-D68_xfTL.js";
|
|
4
|
+
import { r as defaultRuntime } from "./subsystem-DN75fnEF.js";
|
|
5
|
+
import { x as logInfo } from "./workspace-DqJ5h-ZB.js";
|
|
6
|
+
import "./auth-profiles-aJfgABnE.js";
|
|
7
|
+
import "./env-xmBFQPBP.js";
|
|
8
|
+
import "./github-copilot-token-B8B2pmph.js";
|
|
9
9
|
import "./boolean-CE7i9tBR.js";
|
|
10
|
-
import { n as loadConfig } from "./config-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-
|
|
13
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
10
|
+
import { n as loadConfig } from "./config-Dp67YMkg.js";
|
|
11
|
+
import "./manifest-registry-QT5_77XA.js";
|
|
12
|
+
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-D1r2dq1t.js";
|
|
13
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-C1eFu8k4.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
16
16
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
3
|
-
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-
|
|
4
|
-
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
7
|
-
import { B as resolveApiKeyForProvider, z as requireApiKey } from "./auth-profiles-
|
|
8
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-CYmyCDsE.js";
|
|
3
|
+
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-UkL38jvt.js";
|
|
4
|
+
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-D68_xfTL.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-DN75fnEF.js";
|
|
6
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-DEuVuViW.js";
|
|
7
|
+
import { B as resolveApiKeyForProvider, z as requireApiKey } from "./auth-profiles-aJfgABnE.js";
|
|
8
|
+
import { t as isTruthyEnvValue } from "./env-xmBFQPBP.js";
|
|
9
9
|
import { n as formatErrorMessage } from "./errors-XIsvXeC-.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-BBh3Gsrx.js";
|
|
11
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
12
|
-
import { _ as isFileMissingError, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath, v as statRegularFile } from "./sqlite-
|
|
13
|
-
import { n as retryAsync } from "./retry-
|
|
11
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-JP7SzVpY.js";
|
|
12
|
+
import { _ as isFileMissingError, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath, v as statRegularFile } from "./sqlite-JHY-uOmS.js";
|
|
13
|
+
import { n as retryAsync } from "./retry-D25Z8MVS.js";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import fsSync from "node:fs";
|
|
16
16
|
import os from "node:os";
|
|
17
|
-
import fs
|
|
17
|
+
import fs from "node:fs/promises";
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
19
19
|
import { createInterface } from "node:readline";
|
|
20
20
|
import { Readable } from "node:stream";
|
|
@@ -614,7 +614,7 @@ function canAutoSelectLocal(options) {
|
|
|
614
614
|
if (/^(hf:|https?:)/i.test(modelPath)) return false;
|
|
615
615
|
const resolved = resolveUserPath(modelPath);
|
|
616
616
|
try {
|
|
617
|
-
return
|
|
617
|
+
return fsSync.statSync(resolved).isFile();
|
|
618
618
|
} catch {
|
|
619
619
|
return false;
|
|
620
620
|
}
|
|
@@ -936,7 +936,7 @@ async function extractTimestamp(params) {
|
|
|
936
936
|
if (!params.workspaceDir) return null;
|
|
937
937
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
938
938
|
try {
|
|
939
|
-
const stat = await fs
|
|
939
|
+
const stat = await fs.stat(absolutePath);
|
|
940
940
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
941
941
|
return new Date(stat.mtimeMs);
|
|
942
942
|
} catch {
|
|
@@ -2038,7 +2038,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2038
2038
|
const source = `${sourceBase}${suffix}`;
|
|
2039
2039
|
const target = `${targetBase}${suffix}`;
|
|
2040
2040
|
try {
|
|
2041
|
-
await fs
|
|
2041
|
+
await fs.rename(source, target);
|
|
2042
2042
|
} catch (err) {
|
|
2043
2043
|
if (err.code !== "ENOENT") throw err;
|
|
2044
2044
|
}
|
|
@@ -2049,7 +2049,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2049
2049
|
"",
|
|
2050
2050
|
"-wal",
|
|
2051
2051
|
"-shm"
|
|
2052
|
-
].map((suffix) => fs
|
|
2052
|
+
].map((suffix) => fs.rm(`${basePath}${suffix}`, { force: true })));
|
|
2053
2053
|
}
|
|
2054
2054
|
ensureSchema() {
|
|
2055
2055
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2073,7 +2073,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2073
2073
|
]);
|
|
2074
2074
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
2075
2075
|
for (const entry of additionalPaths) try {
|
|
2076
|
-
const stat =
|
|
2076
|
+
const stat = fsSync.lstatSync(entry);
|
|
2077
2077
|
if (stat.isSymbolicLink()) continue;
|
|
2078
2078
|
if (stat.isDirectory()) {
|
|
2079
2079
|
watchPaths.add(path.join(entry, "**", "*.md"));
|
|
@@ -2144,7 +2144,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2144
2144
|
if (!thresholds) return null;
|
|
2145
2145
|
let stat;
|
|
2146
2146
|
try {
|
|
2147
|
-
stat = await fs
|
|
2147
|
+
stat = await fs.stat(sessionFile);
|
|
2148
2148
|
} catch {
|
|
2149
2149
|
return null;
|
|
2150
2150
|
}
|
|
@@ -2186,7 +2186,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2186
2186
|
if (end <= start) return 0;
|
|
2187
2187
|
let handle;
|
|
2188
2188
|
try {
|
|
2189
|
-
handle = await fs
|
|
2189
|
+
handle = await fs.open(absPath, "r");
|
|
2190
2190
|
} catch (err) {
|
|
2191
2191
|
if (isFileMissingError(err)) return 0;
|
|
2192
2192
|
throw err;
|
|
@@ -3118,7 +3118,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
3118
3118
|
});
|
|
3119
3119
|
return;
|
|
3120
3120
|
}
|
|
3121
|
-
const content = options.content ?? await fs
|
|
3121
|
+
const content = options.content ?? await fs.readFile(entry.absPath, "utf-8");
|
|
3122
3122
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0));
|
|
3123
3123
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
3124
3124
|
const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
|
|
@@ -3732,7 +3732,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3732
3732
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3733
3733
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3734
3734
|
for (const additionalPath of additionalPaths) try {
|
|
3735
|
-
const stat = await fs
|
|
3735
|
+
const stat = await fs.lstat(additionalPath);
|
|
3736
3736
|
if (stat.isSymbolicLink()) continue;
|
|
3737
3737
|
if (stat.isDirectory()) {
|
|
3738
3738
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -3757,7 +3757,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3757
3757
|
};
|
|
3758
3758
|
let content;
|
|
3759
3759
|
try {
|
|
3760
|
-
content = await fs
|
|
3760
|
+
content = await fs.readFile(absPath, "utf-8");
|
|
3761
3761
|
} catch (err) {
|
|
3762
3762
|
if (isFileMissingError(err)) return {
|
|
3763
3763
|
text: "",
|