@symerian/symi 3.4.2 → 3.4.3
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/{agent-BcHmIY_n.js → agent--IK5M1T9.js} +18 -18
- package/dist/{agent-CDUpwXQX.js → agent-CKmM2vyY.js} +1 -1
- package/dist/{agent-scope-CKTVXF_1.js → agent-scope-DIjW66iO.js} +18 -18
- package/dist/{agents-Dx_B11LV.js → agents-CyR_QeUn.js} +5 -5
- package/dist/{agents.config-D6lBCMyT.js → agents.config-D1nFwU81.js} +1 -1
- package/dist/{audit-FMN4BTKc.js → audit-DQpLuCNP.js} +2 -2
- package/dist/{audit-CMPCYnHv.js → audit-o0s717ob.js} +21 -21
- package/dist/{auth-choice-BJgf7XV6.js → auth-choice-CUs4WmYv.js} +4 -4
- package/dist/{auth-choice-s1SGAS0u.js → auth-choice-WduOdkq8.js} +8 -8
- package/dist/{auth-choice-options-B5NLwpLs.js → auth-choice-options-BBYiPleR.js} +1 -1
- package/dist/{auth-choice-options-EWUh0VM6.js → auth-choice-options-C5b4PCvw.js} +1 -1
- package/dist/{auth-choice-prompt-BkTmN4sy.js → auth-choice-prompt-D8GvjOBX.js} +1 -1
- package/dist/{auth-choice-prompt-CXcrToaB.js → auth-choice-prompt-DBfm0y9l.js} +1 -1
- package/dist/{auth-profiles-BDvJK1Bg.js → auth-profiles-BFSVvFKy.js} +9 -9
- package/dist/{auth-token-BKp_ClDP.js → auth-token-SebYuqfR.js} +1 -1
- package/dist/{banner-C1DH2kVa.js → banner-CJWij079.js} +1 -1
- package/dist/{browser-cli-DW3CxkSc.js → browser-cli-BdYqssco.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/{call-BjHvYJx2.js → call-CbF18cyd.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-77nGDc70.js → channel-options-CDA0OfJ3.js} +1 -1
- package/dist/{channel-options-BMZyRh5E.js → channel-options-CZEn3Cel.js} +1 -1
- package/dist/{channels-cli-C048Z7h-.js → channels-cli-C84jkCS9.js} +54 -54
- package/dist/{channels-cli-CjQ8Rfpv.js → channels-cli-veDmkOnJ.js} +7 -7
- package/dist/{chrome-droANDig.js → chrome-BWQSyLHT.js} +7 -7
- package/dist/{chrome-BQoO4LXq.js → chrome-D5UEEo4y.js} +2 -2
- package/dist/{cli-CXAyZ9dx.js → cli-BBd1ZRun.js} +42 -42
- package/dist/{cli-CpmVizCT.js → cli-SeEQuQkN.js} +4 -4
- package/dist/{client-Bs2zB0rY.js → client-ZZqt0H0-.js} +1 -1
- package/dist/{command-registry-B9TplwzB.js → command-registry-CVsOBck9.js} +10 -10
- package/dist/{commands-registry-CLePPNDW.js → commands-registry-BNCcZy2y.js} +1 -1
- package/dist/{completion-cli-Dv8CNTMW.js → completion-cli-B5bq51hT.js} +2 -2
- package/dist/{completion-cli-ecfjoaIU.js → completion-cli-BoD_MZfu.js} +12 -12
- package/dist/{config-BEaq2Sb6.js → config-MU0QT0xu.js} +2 -2
- package/dist/{config-cli-zMpHOTSD.js → config-cli--_Qaef5L.js} +1 -1
- package/dist/{config-cli-CAwWFZwh.js → config-cli-Bbb6yrgS.js} +4 -4
- package/dist/{config-guard-29sjAeg8.js → config-guard-BFH1qNlf.js} +6 -6
- package/dist/{config-guard-B2j-KuUQ.js → config-guard-DQgHcGdp.js} +1 -1
- package/dist/{config-validation-Bp2AdKjN.js → config-validation-BkJh21Ko.js} +1 -1
- package/dist/{configure-DvVtZB1V.js → configure-B64O-IVQ.js} +18 -18
- package/dist/{configure-Bh0-A3hM.js → configure-C-39fnS7.js} +11 -11
- package/dist/{consolidate-DeA11kIO.js → consolidate-7Usm-b2g.js} +6 -6
- package/dist/{control-service-DhlgNQGb.js → control-service-D1aZqS0Q.js} +4 -4
- package/dist/{control-ui-assets-D22DSxhv.js → control-ui-assets-DUhvOLUL.js} +1 -1
- package/dist/{cron-cli-Cr8hrEDQ.js → cron-cli-Ch8MwxYs.js} +7 -7
- package/dist/{daemon-cli-OZuuMobs.js → daemon-cli-DbwmIQAj.js} +11 -11
- package/dist/{daemon-runtime-Dr_xKl0r.js → daemon-runtime-DDwhgI7i.js} +10 -10
- package/dist/{deliver-vzAN9mRl.js → deliver-BBoTRer2.js} +4 -4
- package/dist/{deliver-ccf_boim.js → deliver-BX3IOm7k.js} +2 -2
- package/dist/{deps-B6QYsl_-.js → deps-BCywDAi0.js} +1 -1
- package/dist/{devices-cli-DN3SH89Z.js → devices-cli-ZiU2HGbP.js} +6 -6
- package/dist/{diagnostics-nLP2i_BY.js → diagnostics-DxdqTfpW.js} +5 -5
- package/dist/{directory-cli-B72WzWuP.js → directory-cli-DJnKldBM.js} +3 -3
- package/dist/{dm-policy-shared-DiZ3lMtl.js → dm-policy-shared-5HLej1br.js} +1 -1
- package/dist/{dns-cli-DPO4AuUq.js → dns-cli-LhrwMgGE.js} +3 -3
- package/dist/{docs-cli-C2BEC5yU.js → docs-cli-DjQ3SvBq.js} +1 -1
- package/dist/{doctor-completion-Cvu8koMQ.js → doctor-completion-BmJ6Xtlu.js} +2 -2
- package/dist/{doctor-completion-DwrIExJJ.js → doctor-completion-CUC2jl4R.js} +1 -1
- package/dist/{doctor-config-flow-Cu1ZuFHd.js → doctor-config-flow-DJrfwr2x.js} +9 -9
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BN5OFwrg.js → exec-approvals-cli-DqWFmApk.js} +13 -13
- package/dist/extensionAPI.js +4 -4
- package/dist/{fs-safe-DjAKGGJ8.js → fs-safe-B6nMaZqV.js} +6 -6
- package/dist/{gateway-cli-uquFQTQW.js → gateway-cli-D3MIV11i.js} +316 -9665
- package/dist/{gateway-cli-C_wDspkm.js → gateway-cli-DtWLXC5j.js} +377 -9726
- package/dist/{gateway-rpc-fQLZhzRK.js → gateway-rpc-RZAJMB1i.js} +1 -1
- package/dist/glass-ui-ws-BzGjkdgV.js +346 -0
- package/dist/glass-ui-ws-C4tW88dG.js +341 -0
- package/dist/{health-DUulgHFK.js → health-DnOYGIFp.js} +4 -4
- package/dist/{hooks-cli-C6XdXNdl.js → hooks-cli-PSE_YjYr.js} +7 -7
- package/dist/{hooks-cli-6UBBpeAz.js → hooks-cli-XjhtoSGz.js} +58 -58
- package/dist/{hooks-status-DGjgoBZt.js → hooks-status-COU9Cw9_.js} +1 -1
- package/dist/{hooks-status-BQAuzmwT.js → hooks-status-uaFS2SUa.js} +1 -1
- package/dist/{image-ops-c7_of0HT.js → image-ops-C-gIIp7Q.js} +10 -10
- package/dist/index.js +49 -49
- package/dist/{inspect-op0Ov-v4.js → inspect-BDzd6yBs.js} +4 -4
- package/dist/{install-safe-path-B73BkVO3.js → install-safe-path-CQXx3s9R.js} +11 -11
- package/dist/{installs-BzgwvqqQ.js → installs-DhSLZRT7.js} +10 -10
- package/dist/{internal-C3o_xyzP.js → internal-CHnZdvRy.js} +9 -9
- package/dist/{lifecycle-core-BmGPBj_P.js → lifecycle-core-B9_prcP5.js} +5 -5
- package/dist/{local-roots-CUKhHNCV.js → local-roots-BnDnugq3.js} +1 -1
- package/dist/{logs-cli-BXBN6_Kf.js → logs-cli-Dqq-1RM5.js} +7 -7
- package/dist/{manager-C_5p8DxF.js → manager-BFOp2VHW.js} +14 -14
- package/dist/{manager-DOfc0hW0.js → manager-GRHfrG3p.js} +1 -1
- package/dist/{manager-tYTYy-pH.js → manager-z92Qfa3m.js} +1 -1
- package/dist/{memory-CjpS9o50.js → memory-CUt9fSz8.js} +3 -3
- package/dist/{memory-BZPO-RoX.js → memory-cQbfKDAe.js} +5 -5
- package/dist/{memory-cli-CbV91o_X.js → memory-cli-BlBxrZF2.js} +2 -2
- package/dist/{memory-cli-4vj-LpgO.js → memory-cli-DXmGAhFX.js} +12 -12
- package/dist/{model-CbRy_3xW.js → model-BRcKPW49.js} +1 -1
- package/dist/{model-catalog-BrW9BL1p.js → model-catalog-De1c8o1y.js} +4 -4
- package/dist/{model-picker-DAOOfQUH.js → model-picker-BQrdlRCb.js} +1 -1
- package/dist/{model-picker-UrQQVAuN.js → model-picker-C4xfgSwe.js} +3 -3
- package/dist/{models-EthIDORJ.js → models-CBuTLoD4.js} +7 -7
- package/dist/{models-cli-DSW-aLCj.js → models-cli-D0reLJxf.js} +9 -9
- package/dist/{models-cli-BRnmApgY.js → models-cli-DLc8lwUF.js} +55 -55
- package/dist/{models-config-Dh1tABIl.js → models-config-C-VjjDXg.js} +7 -7
- package/dist/{node-cli-DXCDRV3y.js → node-cli-C4uJ1LcV.js} +28 -28
- package/dist/{node-cli-SMqarSas.js → node-cli-MO_9MCpD.js} +2 -2
- package/dist/{node-service-n6G8Ybbk.js → node-service-tPO_yUk7.js} +1 -1
- package/dist/{nodes-cli-Fyv-oG6A.js → nodes-cli-C52eXJSX.js} +10 -10
- package/dist/{nodes-screen-CT94yu_w.js → nodes-screen-JELuBMBi.js} +4 -4
- package/dist/{npm-registry-spec-B8X06AqB.js → npm-registry-spec-BXw_6vF6.js} +9 -9
- package/dist/{onboard-CLSFAKKt.js → onboard-Dky6Vgqw.js} +9 -9
- package/dist/{onboard-CEyd79t_.js → onboard-RyyCiCgk.js} +16 -16
- package/dist/{onboard-channels-DqhDDHZ3.js → onboard-channels-B7nvfziF.js} +4 -4
- package/dist/{onboard-channels-LkgOp2vs.js → onboard-channels-jAqPucaS.js} +1 -1
- package/dist/{onboard-custom-BRFhBogJ.js → onboard-custom-CEBV-OCa.js} +3 -3
- package/dist/{onboard-custom-BD_6SIA8.js → onboard-custom-CMle6THh.js} +2 -2
- package/dist/{onboard-helpers-wgkj6qF2.js → onboard-helpers-DpIB1xVU.js} +8 -8
- package/dist/{onboard-hooks-CknstfLG.js → onboard-hooks-DBYkemjF.js} +3 -3
- package/dist/{onboard-hooks-DotvaUqG.js → onboard-hooks-DgRzMz0E.js} +2 -2
- package/dist/{onboard-remote-B5rlIYUq.js → onboard-remote-DZa5gKRe.js} +1 -1
- package/dist/{onboard-skills-_6kHqhHz.js → onboard-skills-5Ty3AuY6.js} +4 -4
- package/dist/{onboard-skills-5rA5bRSG.js → onboard-skills-Bv4-MQ7C.js} +1 -1
- package/dist/{onboarding-CJuG6AyD.js → onboarding-B7vTX33U.js} +13 -13
- package/dist/{onboarding-CREA0oQK.js → onboarding-BxybJPim.js} +16 -16
- package/dist/{onboarding.finalize-CkgL8Zde.js → onboarding.finalize-Cjck4WX4.js} +32 -32
- package/dist/{onboarding.finalize-7iPylQyi.js → onboarding.finalize-Cm8jc2yf.js} +7 -7
- package/dist/{onboarding.gateway-config-DtNG0As8.js → onboarding.gateway-config-BDJ4tufO.js} +9 -9
- package/dist/{onboarding.gateway-config-BzM2v2U5.js → onboarding.gateway-config-DP9rTU6-.js} +1 -1
- package/dist/{openai-model-default-CSl0PZzK.js → openai-model-default-BVPmAuXK.js} +1 -1
- package/dist/{openai-model-default-DeTAMJKz.js → openai-model-default-CDDFpxUr.js} +2 -2
- package/dist/{pairing-cli-BvP6MoPZ.js → pairing-cli-WOgnEerl.js} +4 -4
- package/dist/{pairing-store-S9CXOhSG.js → pairing-store-BGf29nPx.js} +1 -1
- package/dist/{pairing-token-DorpwP8O.js → pairing-token-CURbSHdi.js} +7 -7
- package/dist/{paths-DaQrPPet.js → paths-Dc6A9_vI.js} +1 -1
- package/dist/{pi-auth-json-CVwNh4rb.js → pi-auth-json-SHGGQzOL.js} +5 -5
- package/dist/{pi-embedded-B7_uthwZ.js → pi-embedded-BvMMjrvj.js} +10 -10
- package/dist/{pi-embedded-helpers-DGW2untm.js → pi-embedded-helpers-D4cxQiPr.js} +6 -6
- package/dist/{pi-tools.policy-BcTgKDG6.js → pi-tools.policy-NmG0EGEY.js} +3 -3
- package/dist/{plugin-auto-enable-BDPdHiLS.js → plugin-auto-enable-D2TNEv3x.js} +1 -1
- package/dist/{plugin-registry-5aIoUu-O.js → plugin-registry-D9f4FfDL.js} +1 -1
- package/dist/{plugin-registry-bskbnEuW.js → plugin-registry-DOQyKvh2.js} +3 -3
- package/dist/{plugins-cli-DMCWSACj.js → plugins-cli-Biq9COww.js} +6 -6
- package/dist/{plugins-cli-LQUO7D2v.js → plugins-cli-R-ZE64Cv.js} +51 -51
- package/dist/{ports-ChuJYhEL.js → ports-DRHSHvqY.js} +1 -1
- package/dist/{ports-EAVAOFyK.js → ports-DqxP-bXz.js} +2 -2
- package/dist/{program-BgrmtnFn.js → program-Cg53oQfq.js} +12 -12
- package/dist/{program-context-C_uJXnZV.js → program-context-CLtVUsa6.js} +38 -38
- package/dist/{prompt-select-styled-CuGBQ9LO.js → prompt-select-styled-2-MTlOry.js} +11 -10
- package/dist/{prompt-select-styled-B3nTSykf.js → prompt-select-styled-CGS3IQAy.js} +38 -37
- package/dist/{provider-auth-helpers-IsZNkaS0.js → provider-auth-helpers-BHqejuN7.js} +6 -6
- package/dist/{provider-auth-helpers-MMYRbW_U.js → provider-auth-helpers-DTc5TSWH.js} +4 -4
- package/dist/{push-apns-C7t2qAZ6.js → push-apns-9QCL6OFW.js} +4 -4
- package/dist/{push-apns-qCbh6Vhl.js → push-apns-DFKohq1V.js} +1 -1
- package/dist/{pw-ai-Tm3pd-HP.js → pw-ai-CNOE7SUx.js} +1 -1
- package/dist/{pw-ai-YJhl5L-z.js → pw-ai-CyCnG_Kj.js} +7 -7
- package/dist/{qmd-manager-CrRvB46v.js → qmd-manager-358OTDns.js} +19 -19
- package/dist/{qr-cli-D1U-qIkG.js → qr-cli-BXf1ID0g.js} +3 -3
- package/dist/{register.agent-BblNQlzT.js → register.agent-Bf-zNnpf.js} +66 -66
- package/dist/{register.agent-BWcxonR9.js → register.agent-CUEmf_fe.js} +15 -15
- package/dist/{register.configure-D0T0kOp7.js → register.configure-BX1pnvZN.js} +19 -19
- package/dist/register.configure-CbUszoWU.js +129 -0
- package/dist/{register.maintenance-DLJpeuc4.js → register.maintenance-B6Hf-dFR.js} +66 -66
- package/dist/{register.maintenance-w7sKxODf.js → register.maintenance-ck4eLkWr.js} +15 -15
- package/dist/{register.message-CXEwBJ1O.js → register.message-B6A5GxKa.js} +45 -45
- package/dist/{register.message-C3dCPjVc.js → register.message-DUtzKXxY.js} +5 -5
- package/dist/{register.onboard-DJmVC_6h.js → register.onboard-Lt0JI36k.js} +10 -10
- package/dist/{register.onboard-B520Ixsd.js → register.onboard-ppi11I2H.js} +24 -24
- package/dist/{register.setup-Br-aZ0qD.js → register.setup-D--UK_mz.js} +9 -9
- package/dist/{register.setup-BTse4F3a.js → register.setup-p3Bv9cvy.js} +26 -26
- package/dist/{register.status-health-sessions-4dxLj6hJ.js → register.status-health-sessions-DEGk6Zeg.js} +8 -8
- package/dist/{register.status-health-sessions-Dbizirr2.js → register.status-health-sessions-s4im2lAy.js} +38 -38
- package/dist/{register.subclis-CSJZQox4.js → register.subclis-Bhsc6TUP.js} +20 -20
- package/dist/{replies-CbipVshj.js → replies-t5bPemnD.js} +1 -1
- package/dist/{reply-prefix-DZQBodKF.js → reply-prefix-BOdARKaY.js} +1 -1
- package/dist/{resolve-route-BbUl3Hi7.js → resolve-route-CRWE36h5.js} +1 -1
- package/dist/{routes-DiqMB1cp.js → routes-CTOYLhQ1.js} +10 -10
- package/dist/{rpc-BcPBUUXl.js → rpc-BLUOZg0H.js} +1 -1
- package/dist/{run-main-DISYU1dh.js → run-main-BbCFxhFG.js} +20 -20
- package/dist/{sandbox-DPn-s_K5.js → sandbox-CpZmnHRC.js} +18 -18
- package/dist/{sandbox-cli-Bl5CMRjH.js → sandbox-cli-DGcyrD_y.js} +13 -13
- package/dist/{security-cli-DuxEuSGr.js → security-cli-DwBo5cRE.js} +28 -28
- package/dist/{security-cli-C7LBaB0e.js → security-cli-ub7VEaGq.js} +2 -2
- package/dist/{send-CYJucYob.js → send-zbkImdk9.js} +7 -7
- package/dist/{server-context-BUbuOgNz.js → server-context-Dytgl6ZD.js} +5 -5
- package/dist/server-methods-B_5RRPVi.js +9434 -0
- package/dist/server-methods-CZIqJLhS.js +9432 -0
- package/dist/{server-node-events-7ToqdaU5.js → server-node-events-CIsCdDxa.js} +46 -46
- package/dist/{server-node-events-BH4-UlAH.js → server-node-events-lQu3U-Wr.js} +6 -6
- package/dist/{service-9ItKCWWS.js → service-AP9pR9R5.js} +15 -15
- package/dist/session-dirs-Chh7bBGo.js +18 -0
- package/dist/session-dirs-Sl_x6tjD.js +18 -0
- package/dist/{session-utils-CqSXwGYa.js → session-utils-NOQiGgMD.js} +12 -12
- package/dist/{sessions-DorP6zY8.js → sessions-B7Of0Rqm.js} +11 -11
- package/dist/{shared-Z3KjnA8n.js → shared-Bvjz11ts.js} +3 -3
- package/dist/{shared-ot5_jkpP.js → shared-DmYHvtn2.js} +1 -1
- package/dist/{skill-commands-RbglvrSW.js → skill-commands-5QB5E8bv.js} +4 -4
- package/dist/{skill-scanner-CZK0TG9g.js → skill-scanner-YF2jR4RY.js} +5 -5
- package/dist/{skills-DS1Vdylm.js → skills-Bmjf5nFv.js} +4 -4
- package/dist/{skills-cli-BmIb-9--.js → skills-cli-BypZ_n-i.js} +7 -7
- package/dist/{skills-install-DcX1Txvp.js → skills-install-BB27sD4d.js} +3 -3
- package/dist/{skills-remote-BDSyRdyX.js → skills-remote-CqwR3Zvp.js} +3 -3
- package/dist/{skills-status-F7nlolZZ.js → skills-status-BNDqwHkP.js} +1 -1
- package/dist/{sqlite-BUXBg2yu.js → sqlite-DBEvS-Ne.js} +5 -5
- package/dist/{status-Hf__QNbH.js → status-BJpznKU1.js} +24 -24
- package/dist/{status-CR4VgVZ0.js → status-BhH4w6Rh.js} +3 -3
- package/dist/{status-CeaJlVQK.js → status-DjbQ_4aI.js} +1 -1
- package/dist/{status-dHYcVtbb.js → status-Dz-fz0Sg.js} +5 -5
- package/dist/{status.update-DOj5ifHZ.js → status.update-C45HhTTL.js} +3 -3
- package/dist/{subagent-registry-BbQL79Gk.js → subagent-registry-DexfLiQ_.js} +3 -3
- package/dist/{symi-root-0MUhiNlM.js → symi-root-DueRHNOE.js} +2 -2
- package/dist/{synthesis-CK0K7wFk.js → synthesis-BKdyZilP.js} +42 -42
- package/dist/{synthesis-DiPl8Usv.js → synthesis-B_uoS8jb.js} +4 -4
- package/dist/{synthesis-C-IePZG6.js → synthesis-DcGTICel.js} +4 -4
- package/dist/{system-cli-BKp2K0sb.js → system-cli-BdITqp7I.js} +7 -7
- package/dist/{systemd-8KKQdTO_.js → systemd-9LEEqibe.js} +5 -5
- package/dist/{systemd-hints-BefHB3bX.js → systemd-hints-RoqMZFFM.js} +6 -6
- package/dist/{systemd-linger-C0-G8yq4.js → systemd-linger-PqG8iGCt.js} +1 -1
- package/dist/{tui-BheB3rbE.js → tui-CckiZT5A.js} +7 -7
- package/dist/{tui-cli-D7wYLESM.js → tui-cli-SrnAqI8U.js} +1 -1
- package/dist/{tui-cli-BDcU-VgA.js → tui-cli-e0WhCXvw.js} +19 -19
- package/dist/{unified-runner-D6p4N2vu.js → unified-runner-IQkrAem7.js} +99 -99
- package/dist/{update-Djvyvehx.js → update-CjZgU686.js} +3 -3
- package/dist/{update-check-BdSIMYWq.js → update-check-CZxZhEXr.js} +5 -5
- package/dist/{update-cli-BmQuYKTw.js → update-cli-BiRyfmPL.js} +17 -17
- package/dist/{update-cli-CwznFR5g.js → update-cli-jbW8hE0j.js} +76 -76
- package/dist/{session-dirs-6atzU47U.js → update-runner-CXpAiQuF.js} +1 -15
- package/dist/{session-dirs-DONOhYc3.js → update-runner-Dbiosgid.js} +16 -30
- package/dist/{webhooks-cli-B2_nrbvn.js → webhooks-cli-DofAY6FK.js} +1 -1
- package/dist/{webhooks-cli-D_wAaLOU.js → webhooks-cli-DqJnNdFt.js} +5 -5
- package/dist/{with-timeout-CAUWEPmp.js → with-timeout-COajnkmj.js} +1 -1
- package/dist/{workspace-dirs-QmSWJptJ.js → workspace-dirs-D5OnUmvw.js} +1 -1
- package/dist/{wsl-DO9usEVV.js → wsl-ZWGwnnKI.js} +2 -2
- package/package.json +1 -1
- package/dist/register.configure-BJ7xtOUZ.js +0 -129
- /package/dist/{agents.config-gkq5o5Hy.js → agents.config-D7cHU-OU.js} +0 -0
- /package/dist/{auth-choice-legacy-DlTku0W1.js → auth-choice-legacy-CsjluQCN.js} +0 -0
- /package/dist/{auth-choice-legacy-y8ZXjhDq.js → auth-choice-legacy-D9WcUI_J.js} +0 -0
- /package/dist/{auth-token-2yjfGFTo.js → auth-token-Brb1Askz.js} +0 -0
- /package/dist/{consolidate-CTKMVS1l.js → consolidate-D1GUJ5qq.js} +0 -0
- /package/dist/{dm-policy-shared-BcYwq7H9.js → dm-policy-shared-CSF4Tw_F.js} +0 -0
- /package/dist/{doctor-config-flow-BayEnbIy.js → doctor-config-flow-BXjmJyRY.js} +0 -0
- /package/dist/{format-CUJQOEUj.js → format-BGzoTHhD.js} +0 -0
- /package/dist/{format-Cj8gNX2r.js → format-C-0EAOjI.js} +0 -0
- /package/dist/{gmail-setup-utils-C5QXoiTl.js → gmail-setup-utils-B1BYpISg.js} +0 -0
- /package/dist/{gmail-setup-utils-DO0-mXYp.js → gmail-setup-utils-fA1VaWLv.js} +0 -0
- /package/dist/{health-format-BQdYy0nL.js → health-format-39e76m9p.js} +0 -0
- /package/dist/{health-format-OIqaDZ2V.js → health-format-DaP03FBk.js} +0 -0
- /package/dist/{ipv4-CFw4fYIH.js → ipv4-CfVqgiTN.js} +0 -0
- /package/dist/{ipv4-DBwTCOBu.js → ipv4-DK4xoUQ-.js} +0 -0
- /package/dist/{logging-BA2NbxMy.js → logging-B96FQvnn.js} +0 -0
- /package/dist/{logging-Dt9kBzoO.js → logging-BeA4q4J_.js} +0 -0
- /package/dist/{logs-cli-Dg7J424l.js → logs-cli-CVBGriNc.js} +0 -0
- /package/dist/{model-param-b-CErLzOT8.js → model-param-b-B34yvxBN.js} +0 -0
- /package/dist/{model-param-b-DnsFCAGo.js → model-param-b-CmgmcGoJ.js} +0 -0
- /package/dist/{node-service-B7zf4WFE.js → node-service-DDDCEDdv.js} +0 -0
- /package/dist/{nodes-cli-BpG8jU6q.js → nodes-cli-C70ejrs0.js} +0 -0
- /package/dist/{onboard-config-CIBKQuYV.js → onboard-config-Barp7MT9.js} +0 -0
- /package/dist/{onboard-config-D6L72_zg.js → onboard-config-DQkZqcyq.js} +0 -0
- /package/dist/{onboard-remote-DR9mcFjZ.js → onboard-remote-BDvWSzRz.js} +0 -0
- /package/dist/{outbound-send-deps-pzO0D6kV.js → outbound-send-deps-BpziI1pC.js} +0 -0
- /package/dist/{pairing-cli-MwIIeBee.js → pairing-cli-mM4XdTk0.js} +0 -0
- /package/dist/{ports-B3NnaSHu.js → ports-BAzQoIw0.js} +0 -0
- /package/dist/{qmd-manager-CX0jtKS5.js → qmd-manager--kGuC39q.js} +0 -0
- /package/dist/{qr-cli-Bv4zF-WM.js → qr-cli-D5Gl0wH3.js} +0 -0
- /package/dist/{sandbox-cli-bOFig9Jd.js → sandbox-cli-kmVLo1NO.js} +0 -0
- /package/dist/{sessions-Chjdz1Gx.js → sessions-1BZvXUIa.js} +0 -0
- /package/dist/{shared-B-64oefu.js → shared-ByldVglV.js} +0 -0
- /package/dist/{skills-cli-DbhEEC78.js → skills-cli-CFMRYyuc.js} +0 -0
- /package/dist/{skills-install-Q5hgZITy.js → skills-install-BzqoHn0x.js} +0 -0
- /package/dist/{status.update-lna4Lub4.js → status.update-BoxoMaxX.js} +0 -0
- /package/dist/{system-cli-C9uTFA4c.js → system-cli-BdG41gcY.js} +0 -0
- /package/dist/{system-run-command-XG1_P_la.js → system-run-command-QikSIqYG.js} +0 -0
- /package/dist/{systemd-linger-CoyAJEZx.js → systemd-linger-BM4qvprK.js} +0 -0
- /package/dist/{tui-C_yv1hvy.js → tui-BrE4FemN.js} +0 -0
- /package/dist/{update-CbkItCeC.js → update-C1rkPV1C.js} +0 -0
- /package/dist/{workspace-2m2BLIbx.js → workspace-B3sO7QlN.js} +0 -0
- /package/dist/{workspace-CxAs2tsz.js → workspace-Bb1HX2I0.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { Dn as FailoverError, En as runWithModelFallback, Ft as clearSessionAuthProfileOverride, Gt as resolveAgentTimeoutMs, Jt as AGENT_LANE_NESTED, O as resolveOutboundTarget, Qt as emitAgentEvent, Yt as AGENT_LANE_SUBAGENT, Zt as clearAgentRunContext, bt as applyVerboseOverride, dt as getProcessSupervisor, ft as detectRuntimeShell, gn as resolveRunWorkspaceDir, hn as redactRunIdentifier, k as resolveSessionDeliveryTarget, kn as resolveFailoverStatus, ln as resolveSymiDocsPath, lt as buildSystemPromptParams, mn as resolveBootstrapContextForRun, mt as resolveSendPolicy, nn as buildAgentSystemPrompt, pn as makeBootstrapWarn, t as runAgentTurn, tn as registerAgentRunContext, yt as applyModelOverrideToSessionEntry } from "./unified-runner-
|
|
1
|
+
import { Dn as FailoverError, En as runWithModelFallback, Ft as clearSessionAuthProfileOverride, Gt as resolveAgentTimeoutMs, Jt as AGENT_LANE_NESTED, O as resolveOutboundTarget, Qt as emitAgentEvent, Yt as AGENT_LANE_SUBAGENT, Zt as clearAgentRunContext, bt as applyVerboseOverride, dt as getProcessSupervisor, ft as detectRuntimeShell, gn as resolveRunWorkspaceDir, hn as redactRunIdentifier, k as resolveSessionDeliveryTarget, kn as resolveFailoverStatus, ln as resolveSymiDocsPath, lt as buildSystemPromptParams, mn as resolveBootstrapContextForRun, mt as resolveSendPolicy, nn as buildAgentSystemPrompt, pn as makeBootstrapWarn, t as runAgentTurn, tn as registerAgentRunContext, yt as applyModelOverrideToSessionEntry } from "./unified-runner-IQkrAem7.js";
|
|
2
2
|
import { D as shouldLogVerbose, r as DEFAULT_CHAT_CHANNEL } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { u as isRecord } from "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import { F as modelKey, H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, I as normalizeModelRef, L as normalizeProviderId, P as isCliProvider, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS, b as ensureAuthProfileStore, k as buildAllowedModelSet, q as resolveThinkingDefault } from "./auth-profiles-
|
|
5
|
+
import { F as modelKey, H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, I as normalizeModelRef, L as normalizeProviderId, P as isCliProvider, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS, b as ensureAuthProfileStore, k as buildAllowedModelSet, q as resolveThinkingDefault } from "./auth-profiles-BFSVvFKy.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
7
7
|
import { c as resolveAgentIdFromSessionKey, o as normalizeAgentId, s as normalizeMainKey } from "./session-key-B_ZVH1kE.js";
|
|
8
|
-
import { C as ensureAgentWorkspace, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, i as resolveAgentDir, n as listAgentIds, o as resolveAgentModelPrimary, s as resolveAgentSkillsFilter, u as resolveEffectiveModelFallbacks } from "./agent-scope-
|
|
8
|
+
import { C as ensureAgentWorkspace, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, i as resolveAgentDir, n as listAgentIds, o as resolveAgentModelPrimary, s as resolveAgentSkillsFilter, u as resolveEffectiveModelFallbacks } from "./agent-scope-DIjW66iO.js";
|
|
9
9
|
import { t as isTruthyEnvValue } from "./env-B97Ms861.js";
|
|
10
|
-
import { D as isFailoverErrorMessage, g as classifyFailoverReason } from "./pi-embedded-helpers-
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
12
|
-
import { r as buildWorkspaceSkillSnapshot } from "./skills-
|
|
13
|
-
import { F as resolveSessionResetType, M as evaluateSessionFreshness, N as resolveChannelResetConfig, P as resolveSessionResetPolicy, V as resolveExplicitAgentSessionKey, a as resolveAndPersistSessionFile, b as normalizeAccountId, d as updateSessionStore, j as resolveSessionKey, n as parseSessionThreadInfo, o as loadSessionStore } from "./sessions-
|
|
10
|
+
import { D as isFailoverErrorMessage, g as classifyFailoverReason } from "./pi-embedded-helpers-D4cxQiPr.js";
|
|
11
|
+
import { i as loadConfig } from "./config-MU0QT0xu.js";
|
|
12
|
+
import { r as buildWorkspaceSkillSnapshot } from "./skills-Bmjf5nFv.js";
|
|
13
|
+
import { F as resolveSessionResetType, M as evaluateSessionFreshness, N as resolveChannelResetConfig, P as resolveSessionResetPolicy, V as resolveExplicitAgentSessionKey, a as resolveAndPersistSessionFile, b as normalizeAccountId, d as updateSessionStore, j as resolveSessionKey, n as parseSessionThreadInfo, o as loadSessionStore } from "./sessions-B7Of0Rqm.js";
|
|
14
14
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-C_V8IAYx.js";
|
|
15
15
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DuuHorqi.js";
|
|
16
16
|
import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath } from "./paths-CJcw9nbZ.js";
|
|
17
17
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-177f26eg.js";
|
|
18
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
18
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-BX3IOm7k.js";
|
|
19
19
|
import { c as hasNonzeroUsage, s as deriveSessionTotalTokens } from "./session-cost-usage-DYcv40ss.js";
|
|
20
|
-
import { x as lookupContextTokens } from "./session-utils-
|
|
21
|
-
import { g as getSkillsSnapshotVersion, t as getRemoteSkillEligibility } from "./skills-remote-
|
|
22
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
23
|
-
import { a as buildModelAliasLines } from "./model-
|
|
24
|
-
import { t as createDefaultDeps } from "./deps-
|
|
25
|
-
import { t as createOutboundSendDeps } from "./outbound-send-deps-
|
|
20
|
+
import { x as lookupContextTokens } from "./session-utils-NOQiGgMD.js";
|
|
21
|
+
import { g as getSkillsSnapshotVersion, t as getRemoteSkillEligibility } from "./skills-remote-CqwR3Zvp.js";
|
|
22
|
+
import { n as loadModelCatalog } from "./model-catalog-De1c8o1y.js";
|
|
23
|
+
import { a as buildModelAliasLines } from "./model-BRcKPW49.js";
|
|
24
|
+
import { t as createDefaultDeps } from "./deps-BCywDAi0.js";
|
|
25
|
+
import { t as createOutboundSendDeps } from "./outbound-send-deps-BpziI1pC.js";
|
|
26
26
|
import crypto from "node:crypto";
|
|
27
27
|
import path from "node:path";
|
|
28
28
|
import os from "node:os";
|
|
29
|
-
import
|
|
29
|
+
import fs from "node:fs/promises";
|
|
30
30
|
|
|
31
31
|
//#region src/agents/cli-watchdog-defaults.ts
|
|
32
32
|
const CLI_WATCHDOG_MIN_TIMEOUT_MS = 1e3;
|
|
@@ -461,18 +461,18 @@ function appendImagePathsToPrompt(prompt, paths) {
|
|
|
461
461
|
return `${trimmed}${trimmed ? "\n\n" : ""}${paths.join("\n")}`;
|
|
462
462
|
}
|
|
463
463
|
async function writeCliImages(images) {
|
|
464
|
-
const tempDir = await
|
|
464
|
+
const tempDir = await fs.mkdtemp(path.join(os.tmpdir(), "symi-cli-images-"));
|
|
465
465
|
const paths = [];
|
|
466
466
|
for (let i = 0; i < images.length; i += 1) {
|
|
467
467
|
const image = images[i];
|
|
468
468
|
const ext = resolveImageExtension(image.mimeType);
|
|
469
469
|
const filePath = path.join(tempDir, `image-${i + 1}.${ext}`);
|
|
470
470
|
const buffer = Buffer.from(image.data, "base64");
|
|
471
|
-
await
|
|
471
|
+
await fs.writeFile(filePath, buffer, { mode: 384 });
|
|
472
472
|
paths.push(filePath);
|
|
473
473
|
}
|
|
474
474
|
const cleanup = async () => {
|
|
475
|
-
await
|
|
475
|
+
await fs.rm(tempDir, {
|
|
476
476
|
recursive: true,
|
|
477
477
|
force: true
|
|
478
478
|
});
|
|
@@ -7,7 +7,7 @@ import { a as buildModelAliasLines } from "./model-DgN15006.js";
|
|
|
7
7
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-BP6p7GnN.js";
|
|
8
8
|
import { i as loadConfig } from "./config-Cw7uo7Dh.js";
|
|
9
9
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-CNPAq1Tl.js";
|
|
10
|
-
import { A as resolveRunWorkspaceDir, At as buildSystemPromptParams, Bt as applyModelOverrideToSessionEntry, Ft as resolveSendPolicy, H as resolveOutboundTarget, J as runWithModelFallback, Mt as getProcessSupervisor, Nt as detectRuntimeShell, Sn as emitAgentEvent, T as runAgentTurn, Tn as registerAgentRunContext, U as resolveSessionDeliveryTarget, Vt as applyVerboseOverride, Y as FailoverError, Z as resolveFailoverStatus, bt as AGENT_LANE_SUBAGENT, en as resolveAgentTimeoutMs, in as clearSessionAuthProfileOverride, k as redactRunIdentifier, kt as buildAgentSystemPrompt, ln as resolveSymiDocsPath, mn as resolveBootstrapContextForRun, pn as makeBootstrapWarn, xn as clearAgentRunContext, yt as AGENT_LANE_NESTED } from "./subagent-registry-
|
|
10
|
+
import { A as resolveRunWorkspaceDir, At as buildSystemPromptParams, Bt as applyModelOverrideToSessionEntry, Ft as resolveSendPolicy, H as resolveOutboundTarget, J as runWithModelFallback, Mt as getProcessSupervisor, Nt as detectRuntimeShell, Sn as emitAgentEvent, T as runAgentTurn, Tn as registerAgentRunContext, U as resolveSessionDeliveryTarget, Vt as applyVerboseOverride, Y as FailoverError, Z as resolveFailoverStatus, bt as AGENT_LANE_SUBAGENT, en as resolveAgentTimeoutMs, in as clearSessionAuthProfileOverride, k as redactRunIdentifier, kt as buildAgentSystemPrompt, ln as resolveSymiDocsPath, mn as resolveBootstrapContextForRun, pn as makeBootstrapWarn, xn as clearAgentRunContext, yt as AGENT_LANE_NESTED } from "./subagent-registry-DexfLiQ_.js";
|
|
11
11
|
import { D as resolveSessionResetPolicy, E as resolveChannelResetConfig, O as resolveSessionResetType, P as resolveExplicitAgentSessionKey, T as evaluateSessionFreshness, Y as normalizeAccountId, a as resolveAndPersistSessionFile, d as updateSessionStore, n as parseSessionThreadInfo, o as loadSessionStore, w as resolveSessionKey } from "./sessions-BHrlpR92.js";
|
|
12
12
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Bq-Msc8Z.js";
|
|
13
13
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-Cl2fWxx4.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { g as resolveStateDir, y as resolveRequiredHomeDir } from "./paths-BSzKwaxE.js";
|
|
2
2
|
import { f as pathExists, h as resolveUserPath } from "./utils-BU8jVQFM.js";
|
|
3
3
|
import { b as isSubagentSessionKey, o as normalizeAgentId, t as DEFAULT_AGENT_ID, x as parseAgentSessionKey, y as isCronSessionKey } from "./session-key-B_ZVH1kE.js";
|
|
4
|
-
import { i as normalizeSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-
|
|
4
|
+
import { i as normalizeSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-DueRHNOE.js";
|
|
5
5
|
import { t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
9
|
-
import
|
|
9
|
+
import fs from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/agents/workspace-templates.ts
|
|
12
12
|
const FALLBACK_TEMPLATE_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../docs/reference/templates");
|
|
@@ -73,10 +73,10 @@ const workspaceFileCache = /* @__PURE__ */ new Map();
|
|
|
73
73
|
*/
|
|
74
74
|
async function readFileWithCache(filePath) {
|
|
75
75
|
try {
|
|
76
|
-
const mtimeMs = (await
|
|
76
|
+
const mtimeMs = (await fs.stat(filePath)).mtimeMs;
|
|
77
77
|
const cached = workspaceFileCache.get(filePath);
|
|
78
78
|
if (cached && cached.mtimeMs === mtimeMs) return cached.content;
|
|
79
|
-
const content = await
|
|
79
|
+
const content = await fs.readFile(filePath, "utf-8");
|
|
80
80
|
workspaceFileCache.set(filePath, {
|
|
81
81
|
content,
|
|
82
82
|
mtimeMs
|
|
@@ -103,7 +103,7 @@ async function loadTemplate(name) {
|
|
|
103
103
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
104
104
|
const templatePath = path.join(templateDir, name);
|
|
105
105
|
try {
|
|
106
|
-
return stripFrontMatter(await
|
|
106
|
+
return stripFrontMatter(await fs.readFile(templatePath, "utf-8"));
|
|
107
107
|
} catch {
|
|
108
108
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
109
109
|
}
|
|
@@ -118,7 +118,7 @@ async function loadTemplate(name) {
|
|
|
118
118
|
}
|
|
119
119
|
async function writeFileIfMissing(filePath, content) {
|
|
120
120
|
try {
|
|
121
|
-
await
|
|
121
|
+
await fs.writeFile(filePath, content, {
|
|
122
122
|
encoding: "utf-8",
|
|
123
123
|
flag: "wx"
|
|
124
124
|
});
|
|
@@ -130,7 +130,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
130
130
|
}
|
|
131
131
|
async function fileExists(filePath) {
|
|
132
132
|
try {
|
|
133
|
-
await
|
|
133
|
+
await fs.access(filePath);
|
|
134
134
|
return true;
|
|
135
135
|
} catch {
|
|
136
136
|
return false;
|
|
@@ -154,7 +154,7 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
154
154
|
}
|
|
155
155
|
async function readWorkspaceOnboardingState(statePath) {
|
|
156
156
|
try {
|
|
157
|
-
return parseWorkspaceOnboardingState(await
|
|
157
|
+
return parseWorkspaceOnboardingState(await fs.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
158
158
|
} catch (err) {
|
|
159
159
|
if (err.code !== "ENOENT") throw err;
|
|
160
160
|
return { version: WORKSPACE_STATE_VERSION };
|
|
@@ -168,20 +168,20 @@ async function isWorkspaceOnboardingCompleted(dir) {
|
|
|
168
168
|
return typeof state.onboardingCompletedAt === "string" && state.onboardingCompletedAt.trim().length > 0;
|
|
169
169
|
}
|
|
170
170
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
171
|
-
await
|
|
171
|
+
await fs.mkdir(path.dirname(statePath), { recursive: true });
|
|
172
172
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
173
173
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
174
174
|
try {
|
|
175
|
-
await
|
|
176
|
-
await
|
|
175
|
+
await fs.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
176
|
+
await fs.rename(tmpPath, statePath);
|
|
177
177
|
} catch (err) {
|
|
178
|
-
await
|
|
178
|
+
await fs.unlink(tmpPath).catch(() => {});
|
|
179
179
|
throw err;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
async function hasGitRepo(dir) {
|
|
183
183
|
try {
|
|
184
|
-
await
|
|
184
|
+
await fs.stat(path.join(dir, ".git"));
|
|
185
185
|
return true;
|
|
186
186
|
} catch {
|
|
187
187
|
return false;
|
|
@@ -211,7 +211,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
211
211
|
}
|
|
212
212
|
async function ensureAgentWorkspace(params) {
|
|
213
213
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
214
|
-
await
|
|
214
|
+
await fs.mkdir(dir, { recursive: true });
|
|
215
215
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
216
216
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
217
217
|
const symicorePath = path.join(dir, DEFAULT_SYMICORE_FILENAME);
|
|
@@ -232,7 +232,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
232
232
|
];
|
|
233
233
|
return (await Promise.all(paths.map(async (p) => {
|
|
234
234
|
try {
|
|
235
|
-
await
|
|
235
|
+
await fs.access(p);
|
|
236
236
|
return true;
|
|
237
237
|
} catch {
|
|
238
238
|
return false;
|
|
@@ -263,7 +263,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
263
263
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
264
264
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
265
265
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
266
|
-
const [identityContent, userContent] = await Promise.all([
|
|
266
|
+
const [identityContent, userContent] = await Promise.all([fs.readFile(identityPath, "utf-8"), fs.readFile(userPath, "utf-8")]);
|
|
267
267
|
if (identityContent !== identityTemplate || userContent !== userTemplate) markState({ onboardingCompletedAt: nowIso() });
|
|
268
268
|
else {
|
|
269
269
|
if (!await writeFileIfMissing(bootstrapPath, await loadTemplate(DEFAULT_BOOTSTRAP_FILENAME))) bootstrapExists = await fileExists(bootstrapPath);
|
|
@@ -290,7 +290,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
290
290
|
for (const name of candidates) {
|
|
291
291
|
const filePath = path.join(resolvedDir, name);
|
|
292
292
|
try {
|
|
293
|
-
await
|
|
293
|
+
await fs.access(filePath);
|
|
294
294
|
entries.push({
|
|
295
295
|
name,
|
|
296
296
|
filePath
|
|
@@ -303,7 +303,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
303
303
|
for (const entry of entries) {
|
|
304
304
|
let key = entry.filePath;
|
|
305
305
|
try {
|
|
306
|
-
key = await
|
|
306
|
+
key = await fs.realpath(entry.filePath);
|
|
307
307
|
} catch {}
|
|
308
308
|
if (seen.has(key)) continue;
|
|
309
309
|
seen.add(key);
|
|
@@ -10,13 +10,13 @@ import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CNexk5_o.js";
|
|
|
10
10
|
import { t as WizardCancelledError } from "./prompts-fhztJPuZ.js";
|
|
11
11
|
import { t as createClackPrompter } from "./clack-prompter-Cm3OvXXT.js";
|
|
12
12
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DlWXcOEI.js";
|
|
13
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
13
|
+
import { r as setupChannels } from "./onboard-channels-jAqPucaS.js";
|
|
14
14
|
import { t as requireValidConfigSnapshot } from "./config-validation-MUkEKwbD.js";
|
|
15
15
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-C5YryU1N.js";
|
|
16
|
-
import { a as pruneAgentConfig, c as parseIdentityMarkdown, i as loadAgentIdentity, n as buildAgentSummaries, o as identityHasValues, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
-
import { n as logConfigUpdated } from "./logging-
|
|
18
|
-
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-
|
|
19
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
16
|
+
import { a as pruneAgentConfig, c as parseIdentityMarkdown, i as loadAgentIdentity, n as buildAgentSummaries, o as identityHasValues, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-D7cHU-OU.js";
|
|
17
|
+
import { n as logConfigUpdated } from "./logging-BeA4q4J_.js";
|
|
18
|
+
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DBfm0y9l.js";
|
|
19
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-CUs4WmYv.js";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import fs from "node:fs/promises";
|
|
22
22
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as normalizeAgentId } from "./session-key-B_ZVH1kE.js";
|
|
2
|
-
import { c as resolveAgentWorkspaceDir, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-
|
|
2
|
+
import { c as resolveAgentWorkspaceDir, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-DIjW66iO.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
|
|
@@ -22,8 +22,8 @@ import { i as readChannelAllowFromStore } from "./pairing-store-CtBnCGHZ.js";
|
|
|
22
22
|
import { n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy--USPnaLr.js";
|
|
23
23
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DlWXcOEI.js";
|
|
24
24
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-CuoStu03.js";
|
|
25
|
-
import { t as resolveDmAllowState } from "./dm-policy-shared-
|
|
26
|
-
import { t as inferParamBFromIdOrName } from "./model-param-b-
|
|
25
|
+
import { t as resolveDmAllowState } from "./dm-policy-shared-CSF4Tw_F.js";
|
|
26
|
+
import { t as inferParamBFromIdOrName } from "./model-param-b-CmgmcGoJ.js";
|
|
27
27
|
import os from "node:os";
|
|
28
28
|
import path from "node:path";
|
|
29
29
|
import JSON5 from "json5";
|
|
@@ -2,34 +2,34 @@ import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } fr
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
3
3
|
import { o as normalizeAgentId } from "./session-key-B_ZVH1kE.js";
|
|
4
4
|
import { n as runExec } from "./exec-DKyLtSjm.js";
|
|
5
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
-
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-
|
|
5
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-DIjW66iO.js";
|
|
6
|
+
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-MU0QT0xu.js";
|
|
7
7
|
import { u as normalizePluginsConfig } from "./manifest-registry-D_LsBSyt.js";
|
|
8
8
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-Catogrri.js";
|
|
9
|
-
import { S as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-
|
|
9
|
+
import { S as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-CpZmnHRC.js";
|
|
10
10
|
import { a as resolveGatewayAuth } from "./auth-BbwD4lRX.js";
|
|
11
|
-
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-
|
|
12
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
11
|
+
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-Dytgl6ZD.js";
|
|
12
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-Bmjf5nFv.js";
|
|
13
13
|
import { n as formatErrorMessage } from "./errors-Z-WkF18Q.js";
|
|
14
14
|
import { c as normalizeStringEntries } from "./dock-CnGWTXL4.js";
|
|
15
15
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C_V8IAYx.js";
|
|
16
16
|
import { n as listChannelPlugins } from "./plugins-DuuHorqi.js";
|
|
17
17
|
import { i as resolveNativeSkillsEnabled, r as resolveNativeCommandsEnabled } from "./commands-B3UrgxIz.js";
|
|
18
|
-
import { t as GatewayClient } from "./client-
|
|
19
|
-
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
20
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
21
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
22
|
-
import { n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
18
|
+
import { t as GatewayClient } from "./client-ZZqt0H0-.js";
|
|
19
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-CbF18cyd.js";
|
|
20
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-D5OnUmvw.js";
|
|
21
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BGf29nPx.js";
|
|
22
|
+
import { n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-NmG0EGEY.js";
|
|
23
23
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BBypnAYf.js";
|
|
24
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
25
|
-
import { t as resolveDmAllowState } from "./dm-policy-shared-
|
|
26
|
-
import { t as inferParamBFromIdOrName } from "./model-param-b-
|
|
24
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-YF2jR4RY.js";
|
|
25
|
+
import { t as resolveDmAllowState } from "./dm-policy-shared-5HLej1br.js";
|
|
26
|
+
import { t as inferParamBFromIdOrName } from "./model-param-b-B34yvxBN.js";
|
|
27
27
|
import { randomUUID } from "node:crypto";
|
|
28
28
|
import path from "node:path";
|
|
29
29
|
import os from "node:os";
|
|
30
30
|
import JSON5 from "json5";
|
|
31
|
-
import * as fs from "node:fs/promises";
|
|
32
|
-
import
|
|
31
|
+
import * as fs$1 from "node:fs/promises";
|
|
32
|
+
import fs from "node:fs/promises";
|
|
33
33
|
|
|
34
34
|
//#region src/gateway/probe.ts
|
|
35
35
|
async function probeGateway(opts) {
|
|
@@ -1166,7 +1166,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1166
1166
|
if (visited.has(resolved)) continue;
|
|
1167
1167
|
visited.add(resolved);
|
|
1168
1168
|
result.push(resolved);
|
|
1169
|
-
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1169
|
+
const rawText = await fs$1.readFile(resolved, "utf-8").catch(() => null);
|
|
1170
1170
|
if (!rawText) continue;
|
|
1171
1171
|
const nestedParsed = (() => {
|
|
1172
1172
|
try {
|
|
@@ -1345,7 +1345,7 @@ function createIcaclsResetCommand(targetPath, opts) {
|
|
|
1345
1345
|
//#region src/security/audit-fs.ts
|
|
1346
1346
|
async function safeStat(targetPath) {
|
|
1347
1347
|
try {
|
|
1348
|
-
const lst = await
|
|
1348
|
+
const lst = await fs.lstat(targetPath);
|
|
1349
1349
|
return {
|
|
1350
1350
|
ok: true,
|
|
1351
1351
|
isSymlink: lst.isSymbolicLink(),
|
|
@@ -1384,7 +1384,7 @@ async function inspectPathPermissions(targetPath, opts) {
|
|
|
1384
1384
|
let effectiveMode = st.mode;
|
|
1385
1385
|
let effectiveIsDir = st.isDir;
|
|
1386
1386
|
if (st.isSymlink) try {
|
|
1387
|
-
const target = await
|
|
1387
|
+
const target = await fs.stat(targetPath);
|
|
1388
1388
|
effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
|
|
1389
1389
|
effectiveIsDir = target.isDirectory();
|
|
1390
1390
|
} catch {}
|
|
@@ -1487,7 +1487,7 @@ function expandTilde(p, env) {
|
|
|
1487
1487
|
}
|
|
1488
1488
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1489
1489
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1490
|
-
const raw = await
|
|
1490
|
+
const raw = await fs.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1491
1491
|
if (!raw.trim()) return [];
|
|
1492
1492
|
const extensions = JSON.parse(raw)?.[MANIFEST_KEY]?.extensions;
|
|
1493
1493
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1509,7 +1509,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1509
1509
|
};
|
|
1510
1510
|
return {
|
|
1511
1511
|
extensionsDir,
|
|
1512
|
-
pluginDirs: (await
|
|
1512
|
+
pluginDirs: (await fs.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1513
1513
|
params.onReadError?.(err);
|
|
1514
1514
|
return [];
|
|
1515
1515
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1572,7 +1572,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1572
1572
|
}
|
|
1573
1573
|
async function readInstalledPackageVersion(dir) {
|
|
1574
1574
|
try {
|
|
1575
|
-
const raw = await
|
|
1575
|
+
const raw = await fs.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1576
1576
|
const parsed = JSON.parse(raw);
|
|
1577
1577
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1578
1578
|
} catch {
|
|
@@ -5,10 +5,10 @@ import { n as isLoopbackHost } from "./net-DZ5Ayk-W.js";
|
|
|
5
5
|
import { n as loadModelCatalog } from "./model-catalog-Ba4R_zVe.js";
|
|
6
6
|
import { t as enablePluginInConfig } from "./enable-Dn-aw3YN.js";
|
|
7
7
|
import { f as openUrl } from "./onboard-helpers-C5YryU1N.js";
|
|
8
|
-
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
10
|
-
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-
|
|
11
|
-
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-
|
|
8
|
+
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-Brb1Askz.js";
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-DTc5TSWH.js";
|
|
10
|
+
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-BVPmAuXK.js";
|
|
11
|
+
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-BQrdlRCb.js";
|
|
12
12
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
13
13
|
import { randomBytes } from "node:crypto";
|
|
14
14
|
import { createServer } from "node:http";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ct as resolveEnvApiKey, Ht as DEFAULT_MODEL, It as discoverHuggingfaceModels, Lt as isHuggingfacePolicyLocked, Rt as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, b as ensureAuthProfileStore, d as generateChutesPkce, f as parseOAuthCallbackInput, h as listProfilesForProvider, l as CHUTES_AUTHORIZE_ENDPOINT, n as resolveAuthProfileOrder, ot as VENICE_DEFAULT_MODEL_REF, pt as SYNTHETIC_DEFAULT_MODEL_REF, u as exchangeChutesCodeForTokens, v as upsertAuthProfile, yt as getCustomProviderApiKey } from "./auth-profiles-
|
|
3
|
-
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-
|
|
2
|
+
import { Ct as resolveEnvApiKey, Ht as DEFAULT_MODEL, It as discoverHuggingfaceModels, Lt as isHuggingfacePolicyLocked, Rt as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, b as ensureAuthProfileStore, d as generateChutesPkce, f as parseOAuthCallbackInput, h as listProfilesForProvider, l as CHUTES_AUTHORIZE_ENDPOINT, n as resolveAuthProfileOrder, ot as VENICE_DEFAULT_MODEL_REF, pt as SYNTHETIC_DEFAULT_MODEL_REF, u as exchangeChutesCodeForTokens, v as upsertAuthProfile, yt as getCustomProviderApiKey } from "./auth-profiles-BFSVvFKy.js";
|
|
3
|
+
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-DIjW66iO.js";
|
|
4
4
|
import { r as isLoopbackHost } from "./ws-CahTJvD6.js";
|
|
5
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
+
import { n as loadModelCatalog } from "./model-catalog-De1c8o1y.js";
|
|
6
6
|
import { t as enablePluginInConfig } from "./enable-CAlFtzVH.js";
|
|
7
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
8
|
-
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
10
|
-
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-
|
|
11
|
-
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-
|
|
7
|
+
import { f as openUrl } from "./onboard-helpers-DpIB1xVU.js";
|
|
8
|
+
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-SebYuqfR.js";
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BHqejuN7.js";
|
|
10
|
+
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-CDDFpxUr.js";
|
|
11
|
+
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-C4xfgSwe.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
13
13
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
14
14
|
import { createServer } from "node:http";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as buildAuthChoiceGroups } from "./auth-choice-options-
|
|
2
|
+
import { t as buildAuthChoiceGroups } from "./auth-choice-options-C5b4PCvw.js";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/auth-choice-prompt.ts
|
|
5
5
|
var auth_choice_prompt_exports = /* @__PURE__ */ __exportAll({ promptAuthChoiceGrouped: () => promptAuthChoiceGrouped });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as buildAuthChoiceGroups } from "./auth-choice-options-
|
|
2
|
+
import { t as buildAuthChoiceGroups } from "./auth-choice-options-BBYiPleR.js";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/auth-choice-prompt.ts
|
|
5
5
|
var auth_choice_prompt_exports = /* @__PURE__ */ __exportAll({ promptAuthChoiceGrouped: () => promptAuthChoiceGrouped });
|
|
@@ -4,13 +4,13 @@ import { h as resolveUserPath } from "./utils-BU8jVQFM.js";
|
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
6
6
|
import { t as DEFAULT_AGENT_ID } from "./session-key-B_ZVH1kE.js";
|
|
7
|
-
import { o as resolveAgentModelPrimary, r as resolveAgentConfig } from "./agent-scope-
|
|
7
|
+
import { o as resolveAgentModelPrimary, r as resolveAgentConfig } from "./agent-scope-DIjW66iO.js";
|
|
8
8
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-BTNK6Tcd.js";
|
|
9
9
|
import { t as isTruthyEnvValue } from "./env-B97Ms861.js";
|
|
10
10
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
13
|
-
import
|
|
13
|
+
import fs$1 from "node:fs/promises";
|
|
14
14
|
import { execFileSync } from "node:child_process";
|
|
15
15
|
import { BedrockClient, ListFoundationModelsCommand } from "@aws-sdk/client-bedrock";
|
|
16
16
|
import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
@@ -3157,7 +3157,7 @@ function computeDelayMs(retries, attempt) {
|
|
|
3157
3157
|
}
|
|
3158
3158
|
async function readLockPayload(lockPath) {
|
|
3159
3159
|
try {
|
|
3160
|
-
const raw = await
|
|
3160
|
+
const raw = await fs$1.readFile(lockPath, "utf8");
|
|
3161
3161
|
const parsed = JSON.parse(raw);
|
|
3162
3162
|
if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
|
|
3163
3163
|
return {
|
|
@@ -3171,9 +3171,9 @@ async function readLockPayload(lockPath) {
|
|
|
3171
3171
|
async function resolveNormalizedFilePath(filePath) {
|
|
3172
3172
|
const resolved = path.resolve(filePath);
|
|
3173
3173
|
const dir = path.dirname(resolved);
|
|
3174
|
-
await
|
|
3174
|
+
await fs$1.mkdir(dir, { recursive: true });
|
|
3175
3175
|
try {
|
|
3176
|
-
const realDir = await
|
|
3176
|
+
const realDir = await fs$1.realpath(dir);
|
|
3177
3177
|
return path.join(realDir, path.basename(resolved));
|
|
3178
3178
|
} catch {
|
|
3179
3179
|
return resolved;
|
|
@@ -3187,7 +3187,7 @@ async function isStaleLock(lockPath, staleMs) {
|
|
|
3187
3187
|
if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
|
|
3188
3188
|
}
|
|
3189
3189
|
try {
|
|
3190
|
-
const stat = await
|
|
3190
|
+
const stat = await fs$1.stat(lockPath);
|
|
3191
3191
|
return Date.now() - stat.mtimeMs > staleMs;
|
|
3192
3192
|
} catch {
|
|
3193
3193
|
return true;
|
|
@@ -3200,7 +3200,7 @@ async function releaseHeldLock(normalizedFile) {
|
|
|
3200
3200
|
if (current.count > 0) return;
|
|
3201
3201
|
HELD_LOCKS.delete(normalizedFile);
|
|
3202
3202
|
await current.handle.close().catch(() => void 0);
|
|
3203
|
-
await
|
|
3203
|
+
await fs$1.rm(current.lockPath, { force: true }).catch(() => void 0);
|
|
3204
3204
|
}
|
|
3205
3205
|
async function acquireFileLock(filePath, options) {
|
|
3206
3206
|
const normalizedFile = await resolveNormalizedFilePath(filePath);
|
|
@@ -3215,7 +3215,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
3215
3215
|
}
|
|
3216
3216
|
const attempts = Math.max(1, options.retries.retries + 1);
|
|
3217
3217
|
for (let attempt = 0; attempt < attempts; attempt += 1) try {
|
|
3218
|
-
const handle = await
|
|
3218
|
+
const handle = await fs$1.open(lockPath, "wx");
|
|
3219
3219
|
await handle.writeFile(JSON.stringify({
|
|
3220
3220
|
pid: process.pid,
|
|
3221
3221
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -3232,7 +3232,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
3232
3232
|
} catch (err) {
|
|
3233
3233
|
if (err.code !== "EEXIST") throw err;
|
|
3234
3234
|
if (await isStaleLock(lockPath, options.stale)) {
|
|
3235
|
-
await
|
|
3235
|
+
await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
|
|
3236
3236
|
continue;
|
|
3237
3237
|
}
|
|
3238
3238
|
if (attempt >= attempts - 1) break;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
2
|
-
import { $ as buildXiaomiProvider, Bt as resolveCloudflareAiGatewayBaseUrl, Ft as buildHuggingfaceModelDefinition, J as QIANFAN_BASE_URL, L as normalizeProviderId, Nt as HUGGINGFACE_BASE_URL, Pt as HUGGINGFACE_MODEL_CATALOG, Q as buildQianfanProvider, Rt as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, T as resolveSymiAgentDir, X as XIAOMI_DEFAULT_MODEL_ID, Y as QIANFAN_DEFAULT_MODEL_ID, Z as buildKimiCodingProvider, at as VENICE_BASE_URL, ct as buildVeniceModelDefinition, dt as buildTogetherModelDefinition, ft as SYNTHETIC_BASE_URL, ht as buildSyntheticModelDefinition, lt as TOGETHER_BASE_URL, mt as SYNTHETIC_MODEL_CATALOG, ot as VENICE_DEFAULT_MODEL_REF, pt as SYNTHETIC_DEFAULT_MODEL_REF, st as VENICE_MODEL_CATALOG, ut as TOGETHER_MODEL_CATALOG, v as upsertAuthProfile, zt as buildCloudflareAiGatewayModelDefinition } from "./auth-profiles-
|
|
2
|
+
import { $ as buildXiaomiProvider, Bt as resolveCloudflareAiGatewayBaseUrl, Ft as buildHuggingfaceModelDefinition, J as QIANFAN_BASE_URL, L as normalizeProviderId, Nt as HUGGINGFACE_BASE_URL, Pt as HUGGINGFACE_MODEL_CATALOG, Q as buildQianfanProvider, Rt as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, T as resolveSymiAgentDir, X as XIAOMI_DEFAULT_MODEL_ID, Y as QIANFAN_DEFAULT_MODEL_ID, Z as buildKimiCodingProvider, at as VENICE_BASE_URL, ct as buildVeniceModelDefinition, dt as buildTogetherModelDefinition, ft as SYNTHETIC_BASE_URL, ht as buildSyntheticModelDefinition, lt as TOGETHER_BASE_URL, mt as SYNTHETIC_MODEL_CATALOG, ot as VENICE_DEFAULT_MODEL_REF, pt as SYNTHETIC_DEFAULT_MODEL_REF, st as VENICE_MODEL_CATALOG, ut as TOGETHER_MODEL_CATALOG, v as upsertAuthProfile, zt as buildCloudflareAiGatewayModelDefinition } from "./auth-profiles-BFSVvFKy.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Q as theme, Z as isRich, h as visibleWidth, tn as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { jt as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { jt as resolveCommitHash } from "./subagent-registry-DexfLiQ_.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one Symi.";
|
|
@@ -2,29 +2,29 @@ import { b as danger, j as theme, x as info } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
3
3
|
import { v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-BFSVvFKy.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
7
7
|
import "./exec-DKyLtSjm.js";
|
|
8
|
-
import "./agent-scope-
|
|
8
|
+
import "./agent-scope-DIjW66iO.js";
|
|
9
9
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
10
10
|
import { t as parseBooleanValue } from "./boolean-Wzu0-e0P.js";
|
|
11
11
|
import "./env-B97Ms861.js";
|
|
12
|
-
import { i as loadConfig } from "./config-
|
|
12
|
+
import { i as loadConfig } from "./config-MU0QT0xu.js";
|
|
13
13
|
import "./manifest-registry-D_LsBSyt.js";
|
|
14
14
|
import "./redact-CSc_2Nka.js";
|
|
15
15
|
import "./errors-Z-WkF18Q.js";
|
|
16
|
-
import "./fs-safe-
|
|
17
|
-
import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-
|
|
16
|
+
import "./fs-safe-B6nMaZqV.js";
|
|
17
|
+
import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-Dc6A9_vI.js";
|
|
18
18
|
import { t as movePathToTrash } from "./trash-BjVrPcAx.js";
|
|
19
19
|
import "./message-channel-C_V8IAYx.js";
|
|
20
|
-
import "./client-
|
|
21
|
-
import "./call-
|
|
22
|
-
import "./pairing-token-
|
|
20
|
+
import "./client-ZZqt0H0-.js";
|
|
21
|
+
import "./call-CbF18cyd.js";
|
|
22
|
+
import "./pairing-token-CURbSHdi.js";
|
|
23
23
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
24
24
|
import { n as runCommandWithRuntime } from "./cli-utils-CX1oQ81G.js";
|
|
25
25
|
import { t as formatHelpExamples } from "./help-format-BI_G2p1e.js";
|
|
26
26
|
import "./progress-CyPyGCDn.js";
|
|
27
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
27
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-RZAJMB1i.js";
|
|
28
28
|
import { t as copyToClipboard } from "./clipboard-McRwF3r0.js";
|
|
29
29
|
import { n as inheritOptionFromParent } from "./command-options-ChiIn6Na.js";
|
|
30
30
|
import { fileURLToPath } from "node:url";
|
package/dist/build-info.json
CHANGED