@symerian/symi 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-Cd816n6l.js → accounts-DDuIpcln.js} +7 -7
- package/dist/{accounts-mN_EcgxC.js → accounts-DyJN4_vR.js} +1 -1
- package/dist/{accounts-CokRskCl.js → accounts-bK-Yqdwx.js} +1 -1
- package/dist/{acp-cli-o_sLVYUf.js → acp-cli-D54IzOnz.js} +6 -6
- package/dist/{agent-scope-BRwEc2pG.js → agent-scope-CgUHAtCo.js} +18 -18
- package/dist/{agents-fpLHaNi7.js → agents-DtoHlMPd.js} +4 -4
- package/dist/{agents.config-CsSO3wVx.js → agents.config-D42lZLmR.js} +1 -1
- package/dist/{agents.config-p7Y2nZHi.js → agents.config-DnUOlYlU.js} +2 -2
- package/dist/{api-key-rotation-Dbby3dlf.js → api-key-rotation-Do8JQqVN.js} +1 -1
- package/dist/{audio-preflight-79KNH7Tf.js → audio-preflight-CERzpj2b.js} +28 -28
- package/dist/{audio-preflight-DL5FZnXU.js → audio-preflight-Idsf-ZfU.js} +4 -4
- package/dist/{audit-BUu82PFi.js → audit-D8C59yOo.js} +23 -23
- package/dist/{auth-choice-CeNB3tht.js → auth-choice-C9otuJPA.js} +1 -1
- package/dist/{auth-choice-C5XKksbt.js → auth-choice-D5BDSGnl.js} +8 -8
- package/dist/{auth-token-D4sEkR38.js → auth-token-BszpreVL.js} +1 -1
- package/dist/{banner-Cf1EZP4s.js → banner-CF7C3krf.js} +1 -1
- package/dist/{bindings-ChzePa8q.js → bindings-DFaVVCsf.js} +1 -1
- package/dist/{browser-cli-VNgWKTmy.js → browser-cli-Bys7B4nj.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-DiLX2POZ.js → call-DAcmbtXf.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-cu6Y_a_F.js → channel-options-Csa-TtDi.js} +1 -1
- package/dist/{channel-options-B6UQDEaE.js → channel-options-DzhTX3wl.js} +2 -2
- package/dist/{channel-selection-DjfBv8kq.js → channel-selection-DuWs0Aak.js} +1 -1
- package/dist/{channel-web-Bi-6I1-W.js → channel-web-CjvCBPqU.js} +17 -17
- package/dist/{channels-cli-Bd5O4SA9.js → channels-cli-DDN_16Kv.js} +4 -4
- package/dist/{channels-cli-JCLUuFxJ.js → channels-cli-KlwkjyCS.js} +75 -75
- package/dist/{channels-status-issues-BoH1ZJPN.js → channels-status-issues-B_kBkl_u.js} +1 -1
- package/dist/{chrome-DuXtddnV.js → chrome-CVy4cA98.js} +7 -7
- package/dist/{chrome-CR4GU_ji.js → chrome-w5VRy_4h.js} +2 -2
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CDZec5HA.js → cli-B5hVys4U.js} +62 -62
- package/dist/{cli-nHMrloEB.js → cli-DJI_OS4-.js} +1 -1
- package/dist/{client-CIYHP9fS.js → client-Cnoh7nRo.js} +1 -1
- package/dist/{command-registry-DXb1lS7l.js → command-registry-DnZXmfQw.js} +9 -9
- package/dist/{commands-CtocZ4Lg.js → commands-BNLCWX6e.js} +1 -1
- package/dist/{commands-registry-BmO4ALva.js → commands-registry-FQYB6b0c.js} +3 -3
- package/dist/{completion-cli-BzDe-5CO.js → completion-cli-DCxqBDYi.js} +2 -2
- package/dist/{completion-cli-CZ0-L0Nx.js → completion-cli-DQL62fp3.js} +12 -12
- package/dist/{config-AVc1QpRD.js → config-HatzmzSF.js} +2 -2
- package/dist/{config-cli-BfsG-zzV.js → config-cli-BZ9IeSYB.js} +1 -1
- package/dist/{config-cli-BIUaw73M.js → config-cli-gykd9rl1.js} +4 -4
- package/dist/{config-guard-CPd-_Sug.js → config-guard-B_Oo29C_.js} +12 -12
- package/dist/{config-validation-QuKOX6cx.js → config-validation-DWRbfhqx.js} +1 -1
- package/dist/{configure-C1JhrX_n.js → configure-DaF95oCr.js} +3 -3
- package/dist/{configure-DpG3ItSi.js → configure-awU0fYIM.js} +15 -15
- package/dist/{control-service-CT6Tc8zz.js → control-service-su7ltHXJ.js} +4 -4
- package/dist/control-ui/css/revert-red-theme.md +141 -0
- package/dist/control-ui/css/style.css +23 -54
- package/dist/control-ui/css/style.css.backup-2026-03-03-162525 +3546 -0
- package/dist/control-ui/css/style.css.backup-before-red-2026-03-03-162525 +3546 -0
- package/dist/control-ui/css/style.css.backup-before-red-theme-2026-03-03-162530 +3546 -0
- package/dist/control-ui/css/style.css.red-theme +2999 -0
- package/dist/control-ui/index.html +5 -18
- package/dist/control-ui/js/app.js +1 -1
- package/dist/control-ui/js/models.js +35 -108
- package/dist/{control-ui-assets-DqGziq7x.js → control-ui-assets-Z947tKLt.js} +1 -1
- package/dist/{cron-cli-Dkt9uaVz.js → cron-cli-EwYM3Zhw.js} +10 -10
- package/dist/{daemon-cli-CK9BhScf.js → daemon-cli-gSfOKrXx.js} +11 -11
- package/dist/{daemon-runtime-CbWCEgFq.js → daemon-runtime-CNFxAJWo.js} +10 -10
- package/dist/{deliver-D7lL85xc.js → deliver-Ds9HRkSS.js} +1 -1
- package/dist/{deliver-BRZABn2h.js → deliver-Dt-RE3Vx.js} +7 -7
- package/dist/{devices-cli-Dt2dSPNN.js → devices-cli-B4Ml0nPd.js} +6 -6
- package/dist/{diagnostics-D2yUMZN1.js → diagnostics-BAMlsVVX.js} +5 -5
- package/dist/{directory-cli-Bd0yqzdX.js → directory-cli-Dr1AuGU_.js} +7 -7
- package/dist/{dm-policy-shared-BbBnj9fh.js → dm-policy-shared-B7mF98WG.js} +2 -2
- package/dist/{dns-cli-C8-wE4jg.js → dns-cli-BMuYSI5H.js} +3 -3
- package/dist/{dock-BYiRZSgZ.js → dock-BhS32F6E.js} +4 -4
- package/dist/{docs-cli-BfPfHTDs.js → docs-cli-BpnEOtJi.js} +1 -1
- package/dist/{doctor-completion-EiZoSgwZ.js → doctor-completion-CWxrDfTf.js} +2 -2
- package/dist/{doctor-completion-BUt4HQxm.js → doctor-completion-Dsc3BTPh.js} +1 -1
- package/dist/{doctor-config-flow-DVeRf3Nb.js → doctor-config-flow-CqkfYH5g.js} +10 -10
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-_9YulN2v.js → exec-approvals-cli-Bjc1fnXd.js} +13 -13
- package/dist/extensionAPI.js +1 -1
- package/dist/{fs-safe-CTDvb1DF.js → fs-safe-CUjO1ca2.js} +6 -6
- package/dist/{gateway-cli-CEO3mZTr.js → gateway-cli-DE-6Dcty.js} +13 -10
- package/dist/{gateway-cli-BRuCMLHC.js → gateway-cli-ZjP8i4av.js} +117 -114
- package/dist/{gateway-rpc-CPJvpktM.js → gateway-rpc-fojfvlNM.js} +1 -1
- package/dist/{glass-ui-ws-BDGgl8ub.js → glass-ui-ws-D421doEO.js} +7 -7
- package/dist/{glass-ui-ws-DZBGtG3l.js → glass-ui-ws-DVJ8Jbb_.js} +82 -82
- package/dist/{health-JCH1-7ZC.js → health-6eO44S1z.js} +13 -13
- package/dist/{health-DOpwYIk9.js → health-Cg5ISkwP.js} +1 -1
- package/dist/{hooks-cli-C_swzA-Q.js → hooks-cli-CSudu0uW.js} +76 -76
- package/dist/{hooks-cli-8E0NEcp2.js → hooks-cli-DrJLLgya.js} +2 -2
- package/dist/{image-CMI-9eRz.js → image-BCpwZwMs.js} +3 -3
- package/dist/{image-Bw9ZjAgJ.js → image-CFJ6w7mA.js} +1 -1
- package/dist/{image-ops-DYbDWaIA.js → image-ops-1OJMSAUX.js} +10 -10
- package/dist/index.js +72 -72
- package/dist/{inspect-ZJkNX0WL.js → inspect-CllGjsWo.js} +4 -4
- package/dist/{install-safe-path-Qqr_t_tH.js → install-safe-path-tCLiMpmO.js} +11 -11
- package/dist/{installs-O9KlRu9h.js → installs-C1Cebk97.js} +10 -10
- package/dist/{ir-Dt4hOzxG.js → ir-DZam9q5M.js} +6 -6
- package/dist/{lifecycle-core-DJ99Nuea.js → lifecycle-core-D7yri0lq.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{local-roots-BBeKX7PX.js → local-roots-aAFLQGkY.js} +2 -2
- package/dist/{login-BbKZ2DjB.js → login-DPZJ0dn5.js} +3 -3
- package/dist/{login-qr-DUMFnnHO.js → login-qr-1SS_KLmy.js} +5 -5
- package/dist/{logs-cli-Q9BjHa6r.js → logs-cli-DTv4zx9B.js} +7 -7
- package/dist/{manager-CMwIsp1s.js → manager-azRNiI63.js} +13 -13
- package/dist/{markdown-tables-ZwP14ydw.js → markdown-tables-CEbN0fEm.js} +1 -1
- package/dist/{memory-cli-BmVxmjsP.js → memory-cli-BbOD_MAm.js} +12 -12
- package/dist/{model-yOMXet9g.js → model-BqEwE-J2.js} +1 -1
- package/dist/{model-catalog-B2O_f8W3.js → model-catalog-DchCrtU_.js} +4 -4
- package/dist/{model-picker-Cza4RjM6.js → model-picker-kP9-zhYa.js} +3 -3
- package/dist/{model-selection-B7KLlkW9.js → model-selection-Bna6Ea2G.js} +9 -9
- package/dist/{models-DiSEm28S.js → models-BTRkvFtl.js} +2 -2
- package/dist/{models-cli-BNzrvtSd.js → models-cli-D2fJlrQk.js} +3 -3
- package/dist/{models-cli-mXtcSXES.js → models-cli-Dj8cNWRT.js} +72 -72
- package/dist/{models-config-BBYpnDiI.js → models-config-ClFXUp6F.js} +7 -7
- package/dist/{node-cli-0V_HpLpl.js → node-cli-NQpg02gK.js} +28 -28
- package/dist/{node-service-CJygtY5M.js → node-service-Cxz4e-Qd.js} +1 -1
- package/dist/{nodes-cli-CCcfRy8f.js → nodes-cli-Bb4xaKGj.js} +10 -10
- package/dist/{nodes-screen-C99kfE1u.js → nodes-screen-VBGXKdLk.js} +4 -4
- package/dist/{npm-registry-spec-DR_at_Hp.js → npm-registry-spec-C2JDdSZS.js} +9 -9
- package/dist/{onboard-L0M0Ovnd.js → onboard-CHEs4ExE.js} +2 -2
- package/dist/{onboard-t2R-9vg-.js → onboard-CK01iMWd.js} +13 -13
- package/dist/{onboard-channels-DUaPDyrm.js → onboard-channels-DRFYxuUu.js} +1 -1
- package/dist/{onboard-channels-C7WU9Iin.js → onboard-channels-wh9lIrOV.js} +5 -5
- package/dist/{onboard-custom-DPVbOEea.js → onboard-custom-CRCl78Cb.js} +3 -3
- package/dist/{onboard-helpers-KDMJj8FR.js → onboard-helpers-y4rvYrnW.js} +8 -8
- package/dist/{onboard-hooks-lsws7g2s.js → onboard-hooks-BAA8CoVv.js} +1 -1
- package/dist/{onboard-remote-BlAZ1eIO.js → onboard-remote-Jm1aS7bY.js} +1 -1
- package/dist/{onboard-skills-B_rjyFsX.js → onboard-skills-Cs350j4k.js} +4 -4
- package/dist/{onboarding-DXwjpA2U.js → onboarding-Bp1mnjrX.js} +13 -13
- package/dist/{onboarding-B70JwisU.js → onboarding-lUewk1wX.js} +3 -3
- package/dist/{onboarding.finalize-7Hj0Ns8P.js → onboarding.finalize-CMRmP9Gh.js} +6 -6
- package/dist/{onboarding.finalize-CfqZ4VMN.js → onboarding.finalize-CZdoYQ4E.js} +74 -74
- package/dist/{onboarding.gateway-config-DTociuRL.js → onboarding.gateway-config-BKBdInKw.js} +14 -14
- package/dist/{openai-model-default-qa2VGxV5.js → openai-model-default-VfhQkucT.js} +2 -2
- package/dist/{outbound-4_NH93LY.js → outbound-Bgf3-Xjf.js} +4 -4
- package/dist/{outbound-attachment-D62E0xDI.js → outbound-attachment-D_QuKi8U.js} +2 -2
- package/dist/{pairing-cli-BjylEroj.js → pairing-cli-DGZ81nF1.js} +8 -8
- package/dist/{pairing-labels-BTnwVbGk.js → pairing-labels-DqKysvKw.js} +1 -1
- package/dist/{pairing-store-GiI_Y6RI.js → pairing-store-BCNzdZKM.js} +2 -2
- package/dist/{pairing-token-AV-MMfVE.js → pairing-token-CX3NN_qj.js} +7 -7
- package/dist/{paths-CT6jsi4E.js → paths-BBm9fwuG.js} +1 -1
- package/dist/{pi-auth-json-B1BvsF_W.js → pi-auth-json-CZfGGhvs.js} +3 -3
- package/dist/{pi-embedded-DocZDkTo.js → pi-embedded-CS0wnHwK.js} +2 -11
- package/dist/{pi-embedded-D7ha4Og0.js → pi-embedded-_CVXk_1W.js} +16 -25
- package/dist/{pi-embedded-helpers-CMPwkzmk.js → pi-embedded-helpers-Ccv1YvCu.js} +4 -4
- package/dist/{pi-embedded-helpers-CwBUNbtz.js → pi-embedded-helpers-DTf21kBI.js} +6 -6
- package/dist/{pi-tools.policy-UOvl9TC5.js → pi-tools.policy-DzNBR_23.js} +4 -4
- package/dist/{plugin-auto-enable-DDZK_Dlb.js → plugin-auto-enable-DLa2EY7E.js} +2 -2
- package/dist/{plugin-registry-CdtWBNpp.js → plugin-registry-BbbgHAaN.js} +1 -1
- package/dist/{plugin-registry-CORXKvoW.js → plugin-registry-UAY71aAp.js} +3 -3
- package/dist/plugin-sdk/{accounts-BToL3HlP.js → accounts-BtaOa4z_.js} +1 -1
- package/dist/plugin-sdk/{accounts-D9zGZU5t.js → accounts-Ddm33hQm.js} +3 -3
- package/dist/plugin-sdk/{accounts-Dtszw3Zn.js → accounts-s-AdhXVR.js} +1 -1
- package/dist/plugin-sdk/{active-listener-bEk__wbB.js → active-listener-BXYeALs0.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-C3gMMKCU.js → agent-scope-CYYpcO9W.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-BYeOYbFa.js → api-key-rotation-Q2dih0d4.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-ZgYHV7zZ.js → audio-preflight-B3jftH89.js} +24 -24
- package/dist/plugin-sdk/{bindings-BbwoUGPx.js → bindings-C7hRtgYW.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
- package/dist/plugin-sdk/{channel-web-DMrXbXuB.js → channel-web-cl9GZI67.js} +22 -22
- package/dist/plugin-sdk/{chrome-aebG-57z.js → chrome-Dm5lVW6S.js} +3 -3
- package/dist/plugin-sdk/{chunk-jvk9axTQ.js → chunk-Dw2XBYXv.js} +1 -1
- package/dist/plugin-sdk/{command-format-DSdvQ_M5.js → command-format-GKSevep4.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-C-40_AnX.js → commands-registry-CPpEN9Mp.js} +4 -4
- package/dist/plugin-sdk/{config-_mfvrqyn.js → config-BVu4isPG.js} +9 -9
- package/dist/plugin-sdk/{deliver-CjfwhaL4.js → deliver-DSY1Ey3q.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-mFf4i4G9.js → diagnostic-05pm5Rxi.js} +1 -1
- package/dist/plugin-sdk/{image-BPKGNrho.js → image-GJ7myokS.js} +4 -4
- package/dist/plugin-sdk/{image-ops-Bnp6LXEx.js → image-ops-BlQR__MN.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-Fb3qpcis.js → ir-BJ6BHE5b.js} +4 -4
- package/dist/plugin-sdk/{local-roots-Ckk1QfzI.js → local-roots-BHLNSI8U.js} +3 -3
- package/dist/plugin-sdk/{login-D7FDUOk4.js → login-O6IizOR2.js} +7 -7
- package/dist/plugin-sdk/{login-qr-T2-V0Xzo.js → login-qr-_OTg1XmP.js} +9 -9
- package/dist/plugin-sdk/{manager-BQMAFDKV.js → manager-DBUFLDPF.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-B3ugY9-f.js → manifest-registry-CPnHl_K3.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-Dfaqilz6.js → markdown-tables-BoYFajMu.js} +1 -1
- package/dist/plugin-sdk/{message-channel-BdI5Ra9S.js → message-channel-COTAJzHd.js} +1 -1
- package/dist/plugin-sdk/{model-selection-SoQVut2b.js → model-selection-DltSbjiW.js} +4 -4
- package/dist/plugin-sdk/{outbound-D6-dgoHk.js → outbound-CR8e3Z2m.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DnVQfTG2.js → outbound-attachment-CnslKL38.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-BcG0RJ5m.js → pi-auth-json-BZWLIjB8.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-CoCKvCMg.js → pi-embedded-helpers-DP6QavXU.js} +17 -17
- package/dist/plugin-sdk/{plugins-BbAvhC25.js → plugins-BNByVCIH.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-BtL_6nSQ.js → pw-ai--FUGpHYZ.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-mjKcdwVr.js → qmd-manager-CH0XbIHf.js} +4 -4
- package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
- package/dist/plugin-sdk/{replies-DBhVchqS.js → replies-CbaarhX4.js} +3 -3
- package/dist/plugin-sdk/{reply-prefix-BHuV5t70.js → reply-prefix-uxfMZW4p.js} +1 -1
- package/dist/plugin-sdk/{reply-BAGhI0bM.js → reply-z8of-Etj.js} +78 -87
- package/dist/plugin-sdk/{resolve-outbound-target-BkCUbYGV.js → resolve-outbound-target-BiyAyTWz.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-D3JH_D2N.js → resolve-route-B3CCBumQ.js} +3 -3
- package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
- package/dist/plugin-sdk/{runner-DI-v2QPz.js → runner-AJx8kwC8.js} +9 -9
- package/dist/plugin-sdk/{send-BXEvd9GG.js → send-B0ms2T8N.js} +6 -6
- package/dist/plugin-sdk/{send-BqfAkEXB.js → send-BqkPr3tk.js} +10 -10
- package/dist/plugin-sdk/{send-_NtbikAq.js → send-CQTQU2QA.js} +10 -10
- package/dist/plugin-sdk/{send-OeTV33Hw.js → send-CVgqxLOA.js} +6 -6
- package/dist/plugin-sdk/{send-BMFLy4AN.js → send-Czife03a.js} +7 -7
- package/dist/plugin-sdk/{session-fs4fyz3Q.js → session-Cj83K_4Y.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-BHGE8qj7.js → skill-commands-BLr3yT6A.js} +5 -5
- package/dist/plugin-sdk/{skills-B1GeRYlu.js → skills-_yTP47Cd.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Cq_7Cg4E.js → sqlite-CxAR5ttJ.js} +1 -1
- package/dist/plugin-sdk/{store-Do3t33-c.js → store-BdrNabcU.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
- package/dist/plugin-sdk/{tables-DR0NmBeH.js → tables-DNwXwNFa.js} +1 -1
- package/dist/plugin-sdk/{target-errors-B7YyMnIi.js → target-errors-Paro1BjP.js} +2 -2
- package/dist/plugin-sdk/{thinking-DCNUIAHY.js → thinking-CXqf7WTe.js} +5 -5
- package/dist/plugin-sdk/{tokens-CWMflosr.js → tokens-bC3UVmVH.js} +1 -1
- package/dist/plugin-sdk/{tool-images-D7Lno-TE.js → tool-images-HJ2sfZDV.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-edmW8ZiF.js → tool-loop-detection-BVA6fax-.js} +2 -2
- package/dist/plugin-sdk/web-C3pizhFX.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-BYyVUqQU.js → whatsapp-actions-nsnM4jgj.js} +21 -21
- package/dist/{plugins-BAyxWQSz.js → plugins-DKDeQZF0.js} +2 -2
- package/dist/{plugins-cli-CbYY2c02.js → plugins-cli-EwQ7OW8w.js} +2 -2
- package/dist/{plugins-cli-DZ6_6_9N.js → plugins-cli-XdoAm0EH.js} +71 -71
- package/dist/{ports-OZQlocB7.js → ports-BOmtxoTv.js} +2 -2
- package/dist/{ports-b36gHZbA.js → ports-BX0kKI0g.js} +1 -1
- package/dist/{program-C4255SbF.js → program-BU_8y1Dg.js} +7 -7
- package/dist/{program-context-CTjApG6i.js → program-context-wuhwrRCO.js} +39 -39
- package/dist/{prompt-select-styled-BwJ6oDuF.js → prompt-select-styled-C1ztGQs1.js} +4 -4
- package/dist/{prompt-select-styled-C9kVFhhN.js → prompt-select-styled-D1BkIe_s.js} +38 -38
- package/dist/{provider-auth-helpers-BhWko9CW.js → provider-auth-helpers-_5rSLUts.js} +1 -1
- package/dist/{provider-auth-helpers-Dh0Y9gRH.js → provider-auth-helpers-tpyE_YMw.js} +5 -5
- package/dist/{push-apns-Bc01EVHz.js → push-apns-CIcS3If1.js} +1 -1
- package/dist/{push-apns-CKA1Hybl.js → push-apns-zJAWgDEO.js} +4 -4
- package/dist/{pw-ai-DQ6HUvz0.js → pw-ai-COyYEUif.js} +1 -1
- package/dist/{pw-ai-jDxCE_me.js → pw-ai-hxKJoLPO.js} +7 -7
- package/dist/{qmd-manager-BP2r8b1D.js → qmd-manager-D85GJrir.js} +18 -18
- package/dist/{qr-cli-CqfILKdq.js → qr-cli-BevlQ0yQ.js} +3 -3
- package/dist/{register.agent-CjihKrgr.js → register.agent-DNcdFB4H.js} +81 -81
- package/dist/{register.agent-vJQWUB2a.js → register.agent-brAf6Dmv.js} +6 -6
- package/dist/register.configure-C76yU3JC.js +147 -0
- package/dist/{register.configure-CWkzQGtI.js → register.configure-DoJEj5YT.js} +6 -6
- package/dist/{register.maintenance-BIw99tAg.js → register.maintenance-CW2OCHRX.js} +8 -8
- package/dist/{register.maintenance-DSJfxKOM.js → register.maintenance-DYfYvEU8.js} +84 -84
- package/dist/{register.message-DYzHnVIl.js → register.message-CJZ0ZuHF.js} +2 -2
- package/dist/{register.message-Clc--Yw5.js → register.message-syMzQfo-.js} +63 -63
- package/dist/{register.onboard-BfUOVNll.js → register.onboard-DzZn1ZmN.js} +74 -74
- package/dist/{register.onboard-BHtw8kJf.js → register.onboard-dZyRfR6-.js} +4 -4
- package/dist/{register.setup-GFxvFYnK.js → register.setup-BbkD_3y3.js} +77 -77
- package/dist/{register.setup-DgSaVc_m.js → register.setup-XCPDMOgg.js} +4 -4
- package/dist/{register.status-health-sessions-BI-s8t9j.js → register.status-health-sessions-87LTzh7r.js} +3 -3
- package/dist/{register.status-health-sessions-D9SHcVWG.js → register.status-health-sessions-CPg2ES9O.js} +75 -75
- package/dist/{register.subclis-CY89gBXc.js → register.subclis-Bvb5TNzX.js} +9 -9
- package/dist/{replies-F62kkRDY.js → replies-Bqmvo_Kt.js} +1 -1
- package/dist/{reply-3UdAtBno.js → reply-D-tI2-6J.js} +131 -140
- package/dist/{reply-prefix-BLOOs1aW.js → reply-prefix-CE2YmmsD.js} +1 -1
- package/dist/{resolve-route-BcnaXYvh.js → resolve-route-BMoTaVAH.js} +2 -2
- package/dist/{routes-Byuu6IFb.js → routes-BTqP9I0j.js} +8 -8
- package/dist/{rpc-W2LE3Gsn.js → rpc-BWLVOOnl.js} +1 -1
- package/dist/{run-main-D1u34xwJ.js → run-main-Bt2x9hbu.js} +14 -14
- package/dist/{runner-BjY_9Mjp.js → runner-5jm68DaT.js} +20 -20
- package/dist/{runner-Duym_W6W.js → runner-D8jpl5qu.js} +1 -1
- package/dist/{sandbox-CZNPhRvt.js → sandbox-CI3HOlhZ.js} +18 -18
- package/dist/{sandbox-cli-DGr5ZbkP.js → sandbox-cli-XsQ7ytlP.js} +20 -20
- package/dist/{security-cli-sPaHQYwq.js → security-cli-CjP-MfW-.js} +36 -36
- package/dist/{send-Bq3a_Wnm.js → send-B6F9anOj.js} +6 -6
- package/dist/{send-D-WljKDl.js → send-Bdb6djZT.js} +6 -6
- package/dist/{send-BOpWKMA3.js → send-C-yyCp3G.js} +4 -4
- package/dist/{send-hUOxOHuS.js → send-CRQMds8q.js} +13 -13
- package/dist/{send-C-hO5d22.js → send-DCDHTHlP.js} +6 -6
- package/dist/{server-context-BvLdcVwk.js → server-context-XZaMhvsO.js} +5 -5
- package/dist/{server-methods-BJCrhJnd.js → server-methods-9BRiIiUB.js} +54 -54
- package/dist/{server-methods-D6_yT-Bb.js → server-methods-BaOFruL6.js} +7 -7
- package/dist/{server-node-events-CykWrHaN.js → server-node-events-CCOXKW9s.js} +63 -63
- package/dist/{server-node-events-tdraRFjy.js → server-node-events-DDEX2ugG.js} +2 -2
- package/dist/{service--qMN5DPm.js → service-Cl74hx8J.js} +15 -15
- package/dist/{session-CkpNcCi1.js → session-pB1anvds.js} +2 -2
- package/dist/{sessions-F_WFgwcy.js → sessions-Dg88xE66.js} +13 -13
- package/dist/{shared-Dj1vNdZR.js → shared-B811_S8D.js} +3 -3
- package/dist/{shared-Jm_QdQJQ.js → shared-BJvwnR5z.js} +1 -1
- package/dist/{skill-commands-CWFq0coF.js → skill-commands-D23OFeRU.js} +5 -5
- package/dist/{skill-scanner-CXg9eeyc.js → skill-scanner-CLs8u6vQ.js} +5 -5
- package/dist/{skills-DqQUtOph.js → skills-6jdJQ5ZL.js} +4 -4
- package/dist/{skills-cli-ZvR57mAe.js → skills-cli-Cr0T5ExG.js} +7 -7
- package/dist/{skills-install-DjcTy3CT.js → skills-install-D67isO1L.js} +3 -3
- package/dist/{skills-status-DS-NZQiq.js → skills-status-CURJKnyY.js} +1 -1
- package/dist/{sqlite-BV5ILFtC.js → sqlite-Dx3J_aSE.js} +12 -12
- package/dist/{status-P2xe2kB8.js → status-B_fSdR2z.js} +3 -3
- package/dist/{status-DpNpFHi8.js → status-Bhj6pODg.js} +2 -2
- package/dist/{status-bDX6eJeC.js → status-CHtXaQCL.js} +25 -25
- package/dist/{status-UTAzB6AW.js → status-DWYUBGDM.js} +1 -1
- package/dist/{status.update-FbG5gTPn.js → status.update-6yjKgcLs.js} +3 -3
- package/dist/{store-DvtcmOKj.js → store-r1DJSDq-.js} +5 -5
- package/dist/{subagent-registry-DW6V21LB.js → subagent-registry-C-rk8Ynb.js} +2 -11
- package/dist/{symi-root-MF6_6SCS.js → symi-root-CrGJbkzf.js} +2 -2
- package/dist/{system-cli-B13bcVd7.js → system-cli-D2Gy1uM8.js} +11 -11
- package/dist/{systemd-hints-CLsHKdY5.js → systemd-hints-TBjNlcr6.js} +6 -6
- package/dist/{systemd-linger-BXwqn1jL.js → systemd-linger-aQ75ZlXY.js} +1 -1
- package/dist/{systemd-AhJEsmIk.js → systemd-riq8uNJQ.js} +5 -5
- package/dist/{tables-C38rzF6E.js → tables-BEzT0Da4.js} +1 -1
- package/dist/{target-errors-CCz79CmV.js → target-errors-7AvoVa10.js} +4 -4
- package/dist/{tool-images-B-pqX3nX.js → tool-images-DvUBlqjX.js} +1 -1
- package/dist/{tui-9seSCxc3.js → tui-DdPONk1f.js} +7 -7
- package/dist/{tui-cli-DN4upjYg.js → tui-cli-BIUejAgV.js} +28 -28
- package/dist/{update-check-C0oYCI89.js → update-check-CtckACbb.js} +5 -5
- package/dist/{update-cli-BV-ydVs4.js → update-cli-BLezElt_.js} +8 -8
- package/dist/{update-cli-KxZVK_fV.js → update-cli-CCaYK9Sf.js} +94 -94
- package/dist/{update-runner-Bk1Dw23-.js → update-runner-Bq1u14RR.js} +1 -1
- package/dist/{update-runner-BU1pNjNR.js → update-runner-f9lbrrpe.js} +15 -15
- package/dist/{update-Df4sEKtI.js → update-rw7wJwHd.js} +3 -3
- package/dist/web-BJBlI9ZQ.js +109 -0
- package/dist/{web-CqNKJLiq.js → web-BzQURzi7.js} +1 -1
- package/dist/{web-CH5VMs5G.js → web-CP0DJI7i.js} +1 -1
- package/dist/{web-C9daLT-M.js → web-S8BbWMEn.js} +6 -6
- package/dist/{webhooks-cli-WXHppPGP.js → webhooks-cli-EjU4sMB6.js} +4 -4
- package/dist/{whatsapp-actions-CZxAV_jP.js → whatsapp-actions-CXbFvHGB.js} +15 -15
- package/dist/{with-timeout-B4dUX-ZK.js → with-timeout-CB59LniF.js} +1 -1
- package/dist/{workspace-dirs-DKu48umx.js → workspace-dirs-GpkFi6Kw.js} +1 -1
- package/dist/{wsl-BbXxnokd.js → wsl-C4424szg.js} +2 -2
- package/extensions/bluebubbles/node_modules/.bin/symi +4 -4
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/node_modules/.bin/symi +4 -4
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +2 -2
- package/extensions/diagnostics-otel/node_modules/.bin/symi +4 -4
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/node_modules/.bin/symi +4 -4
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/node_modules/.bin/symi +4 -4
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/node_modules/.bin/symi +4 -4
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/node_modules/.bin/symi +4 -4
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/node_modules/.bin/symi +4 -4
- package/extensions/googlechat/package.json +2 -2
- package/extensions/imessage/node_modules/.bin/symi +4 -4
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/node_modules/.bin/symi +4 -4
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/node_modules/.bin/symi +21 -0
- package/extensions/learning-loop/package.json +2 -2
- package/extensions/line/node_modules/.bin/symi +4 -4
- package/extensions/line/package.json +1 -1
- package/extensions/matrix/node_modules/.bin/markdown-it +2 -2
- package/extensions/matrix/node_modules/.bin/symi +4 -4
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/node_modules/.bin/symi +4 -4
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/node_modules/.bin/symi +4 -4
- package/extensions/memory-core/package.json +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/openai +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/symi +4 -4
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/node_modules/.bin/symi +4 -4
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/node_modules/.bin/symi +4 -4
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/node_modules/.bin/symi +4 -4
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/node_modules/.bin/symi +4 -4
- package/extensions/nostr/node_modules/.bin/tsc +2 -2
- package/extensions/nostr/node_modules/.bin/tsserver +2 -2
- package/extensions/nostr/package.json +1 -1
- package/extensions/signal/node_modules/.bin/symi +4 -4
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/node_modules/.bin/symi +4 -4
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/node_modules/.bin/symi +4 -4
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/node_modules/.bin/symi +4 -4
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/node_modules/.bin/symi +4 -4
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/node_modules/.bin/symi +4 -4
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/node_modules/.bin/symi +4 -4
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/node_modules/.bin/symi +4 -4
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/node_modules/.bin/symi +4 -4
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -2
- package/CHANGELOG.md +0 -2520
- package/LICENSE +0 -21
- package/dist/control-ui/vendor/highlight.css +0 -96
- package/dist/control-ui/vendor/highlight.min.js +0 -1244
- package/dist/control-ui/vendor/marked.min.js +0 -69
- package/dist/plugin-sdk/web-CxcoX0Wr.js +0 -65
- package/dist/register.configure-Bb7LY0Z4.js +0 -147
- package/dist/session-dirs-D3qlvucD.js +0 -18
- package/dist/web-BCk_WT8d.js +0 -109
|
@@ -2,19 +2,19 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
3
3
|
import { E as truncateUtf16Safe, a as clampNumber, i as clampInt, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
|
-
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-
|
|
6
|
-
import { K as requireApiKey, q as resolveApiKeyForProvider } from "./model-selection-
|
|
5
|
+
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-CgUHAtCo.js";
|
|
6
|
+
import { K as requireApiKey, q as resolveApiKeyForProvider } from "./model-selection-Bna6Ea2G.js";
|
|
7
7
|
import { t as isTruthyEnvValue } from "./env-DPCHYPeH.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-BF3TeRH2.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CyhzMxFA.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-DdnTeoR1.js";
|
|
11
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
-
import { _ as statRegularFile, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as isFileMissingError, 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 } from "./sqlite-
|
|
11
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-Do8JQqVN.js";
|
|
12
|
+
import { _ as statRegularFile, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as isFileMissingError, 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 } from "./sqlite-Dx3J_aSE.js";
|
|
13
13
|
import { n as retryAsync } from "./retry-BoS4e4X_.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import fs$1 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";
|
|
@@ -819,7 +819,7 @@ async function extractTimestamp(params) {
|
|
|
819
819
|
if (!params.workspaceDir) return null;
|
|
820
820
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
821
821
|
try {
|
|
822
|
-
const stat = await
|
|
822
|
+
const stat = await fs$1.stat(absolutePath);
|
|
823
823
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
824
824
|
return new Date(stat.mtimeMs);
|
|
825
825
|
} catch {
|
|
@@ -1904,7 +1904,7 @@ var MemoryManagerSyncOps = class {
|
|
|
1904
1904
|
const source = `${sourceBase}${suffix}`;
|
|
1905
1905
|
const target = `${targetBase}${suffix}`;
|
|
1906
1906
|
try {
|
|
1907
|
-
await
|
|
1907
|
+
await fs$1.rename(source, target);
|
|
1908
1908
|
} catch (err) {
|
|
1909
1909
|
if (err.code !== "ENOENT") throw err;
|
|
1910
1910
|
}
|
|
@@ -1915,7 +1915,7 @@ var MemoryManagerSyncOps = class {
|
|
|
1915
1915
|
"",
|
|
1916
1916
|
"-wal",
|
|
1917
1917
|
"-shm"
|
|
1918
|
-
].map((suffix) =>
|
|
1918
|
+
].map((suffix) => fs$1.rm(`${basePath}${suffix}`, { force: true })));
|
|
1919
1919
|
}
|
|
1920
1920
|
ensureSchema() {
|
|
1921
1921
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2010,7 +2010,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2010
2010
|
if (!thresholds) return null;
|
|
2011
2011
|
let stat;
|
|
2012
2012
|
try {
|
|
2013
|
-
stat = await
|
|
2013
|
+
stat = await fs$1.stat(sessionFile);
|
|
2014
2014
|
} catch {
|
|
2015
2015
|
return null;
|
|
2016
2016
|
}
|
|
@@ -2052,7 +2052,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2052
2052
|
if (end <= start) return 0;
|
|
2053
2053
|
let handle;
|
|
2054
2054
|
try {
|
|
2055
|
-
handle = await
|
|
2055
|
+
handle = await fs$1.open(absPath, "r");
|
|
2056
2056
|
} catch (err) {
|
|
2057
2057
|
if (isFileMissingError(err)) return 0;
|
|
2058
2058
|
throw err;
|
|
@@ -2968,7 +2968,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
2968
2968
|
});
|
|
2969
2969
|
return;
|
|
2970
2970
|
}
|
|
2971
|
-
const content = options.content ?? await
|
|
2971
|
+
const content = options.content ?? await fs$1.readFile(entry.absPath, "utf-8");
|
|
2972
2972
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0));
|
|
2973
2973
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
2974
2974
|
const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
|
|
@@ -3550,7 +3550,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3550
3550
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3551
3551
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3552
3552
|
for (const additionalPath of additionalPaths) try {
|
|
3553
|
-
const stat = await
|
|
3553
|
+
const stat = await fs$1.lstat(additionalPath);
|
|
3554
3554
|
if (stat.isSymbolicLink()) continue;
|
|
3555
3555
|
if (stat.isDirectory()) {
|
|
3556
3556
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -3575,7 +3575,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3575
3575
|
};
|
|
3576
3576
|
let content;
|
|
3577
3577
|
try {
|
|
3578
|
-
content = await
|
|
3578
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
3579
3579
|
} catch (err) {
|
|
3580
3580
|
if (isFileMissingError(err)) return {
|
|
3581
3581
|
text: "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as normalizeAccountId } from "./session-key-DCt45XZa.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-DKDeQZF0.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -2,11 +2,11 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
3
3
|
import { B as theme, P as setVerbose, R as colorize, S as shortenHomePath, x as shortenHomeInString, y as resolveUserPath, z as isRich } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
-
import { C as parseDurationMs, i as loadConfig } from "./config-
|
|
5
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
|
|
6
|
+
import { C as parseDurationMs, i as loadConfig } from "./config-HatzmzSF.js";
|
|
7
7
|
import { n as formatErrorMessage } from "./errors-BF3TeRH2.js";
|
|
8
8
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CyhzMxFA.js";
|
|
9
|
-
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-
|
|
9
|
+
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-Dx3J_aSE.js";
|
|
10
10
|
import { t as splitShellArgs } from "./shell-argv-BbiXH_xm.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-DN_hM6ov.js";
|
|
@@ -15,7 +15,7 @@ import { n as withProgress, r as withProgressTotals } from "./progress-jIePzvGA.
|
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
|
-
import
|
|
18
|
+
import fs$1 from "node:fs/promises";
|
|
19
19
|
|
|
20
20
|
//#region src/memory/backend-config.ts
|
|
21
21
|
const DEFAULT_BACKEND = "builtin";
|
|
@@ -212,7 +212,7 @@ async function getMemorySearchManager(params) {
|
|
|
212
212
|
if (cached) return { manager: cached };
|
|
213
213
|
}
|
|
214
214
|
try {
|
|
215
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
215
|
+
const { QmdMemoryManager } = await import("./qmd-manager-D85GJrir.js");
|
|
216
216
|
const primary = await QmdMemoryManager.create({
|
|
217
217
|
cfg: params.cfg,
|
|
218
218
|
agentId: params.agentId,
|
|
@@ -224,7 +224,7 @@ async function getMemorySearchManager(params) {
|
|
|
224
224
|
const wrapper = new FallbackMemoryManager({
|
|
225
225
|
primary,
|
|
226
226
|
fallbackFactory: async () => {
|
|
227
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
227
|
+
const { MemoryIndexManager } = await import("./manager-azRNiI63.js").then((n) => n.t);
|
|
228
228
|
return await MemoryIndexManager.get(params);
|
|
229
229
|
}
|
|
230
230
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -237,7 +237,7 @@ async function getMemorySearchManager(params) {
|
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
try {
|
|
240
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
240
|
+
const { MemoryIndexManager } = await import("./manager-azRNiI63.js").then((n) => n.t);
|
|
241
241
|
return { manager: await MemoryIndexManager.get(params) };
|
|
242
242
|
} catch (err) {
|
|
243
243
|
return {
|
|
@@ -419,7 +419,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
419
419
|
}
|
|
420
420
|
async function checkReadableFile(pathname) {
|
|
421
421
|
try {
|
|
422
|
-
await
|
|
422
|
+
await fs$1.access(pathname, fs.constants.R_OK);
|
|
423
423
|
return { exists: true };
|
|
424
424
|
} catch (err) {
|
|
425
425
|
const code = err.code;
|
|
@@ -436,7 +436,7 @@ async function scanSessionFiles(agentId) {
|
|
|
436
436
|
try {
|
|
437
437
|
return {
|
|
438
438
|
source: "sessions",
|
|
439
|
-
totalFiles: (await
|
|
439
|
+
totalFiles: (await fs$1.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
|
|
440
440
|
issues
|
|
441
441
|
};
|
|
442
442
|
} catch (err) {
|
|
@@ -468,7 +468,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
468
468
|
if (alt.issue) issues.push(alt.issue);
|
|
469
469
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
470
470
|
for (const extraPath of resolvedExtraPaths) try {
|
|
471
|
-
if ((await
|
|
471
|
+
if ((await fs$1.lstat(extraPath)).isSymbolicLink()) continue;
|
|
472
472
|
const extraCheck = await checkReadableFile(extraPath);
|
|
473
473
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
474
474
|
} catch (err) {
|
|
@@ -478,7 +478,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
478
478
|
}
|
|
479
479
|
let dirReadable = null;
|
|
480
480
|
try {
|
|
481
|
-
await
|
|
481
|
+
await fs$1.access(memoryDir, fs.constants.R_OK);
|
|
482
482
|
dirReadable = true;
|
|
483
483
|
} catch (err) {
|
|
484
484
|
const code = err.code;
|
|
@@ -526,7 +526,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
526
526
|
if (!dbPath) return null;
|
|
527
527
|
let stat;
|
|
528
528
|
try {
|
|
529
|
-
stat = await
|
|
529
|
+
stat = await fs$1.stat(dbPath);
|
|
530
530
|
} catch (err) {
|
|
531
531
|
const code = err.code;
|
|
532
532
|
if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ft as resolveSymiAgentDir, Wt as DEFAULT_CONTEXT_TOKENS, l as normalizeProviderId } from "./model-selection-
|
|
2
|
+
import { Ft as resolveSymiAgentDir, Wt as DEFAULT_CONTEXT_TOKENS, l as normalizeProviderId } from "./model-selection-Bna6Ea2G.js";
|
|
3
3
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-4uUnLc3n.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-alias-lines.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ft as resolveSymiAgentDir } from "./model-selection-
|
|
2
|
-
import { i as loadConfig } from "./config-
|
|
3
|
-
import { t as ensureSymiModelsJson } from "./models-config-
|
|
1
|
+
import { Ft as resolveSymiAgentDir } from "./model-selection-Bna6Ea2G.js";
|
|
2
|
+
import { i as loadConfig } from "./config-HatzmzSF.js";
|
|
3
|
+
import { t as ensureSymiModelsJson } from "./models-config-ClFXUp6F.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-catalog.ts
|
|
6
6
|
let modelCatalogPromise = null;
|
|
@@ -37,7 +37,7 @@ async function loadModelCatalog(params) {
|
|
|
37
37
|
});
|
|
38
38
|
try {
|
|
39
39
|
await ensureSymiModelsJson(params?.config ?? loadConfig());
|
|
40
|
-
await (await import("./pi-auth-json-
|
|
40
|
+
await (await import("./pi-auth-json-CZfGGhvs.js")).ensurePiAuthJsonFromAuthProfiles(resolveSymiAgentDir());
|
|
41
41
|
const piSdk = await importPiSdk();
|
|
42
42
|
const agentDir = resolveSymiAgentDir();
|
|
43
43
|
const { join } = await import("node:path");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { At as ensureAuthProfileStore, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, Tt as listProfilesForProvider, Y as resolveEnvApiKey, kt as upsertAuthProfileWithLock, l as normalizeProviderId, p as resolveConfiguredModelRef, r as buildModelAliasIndex, s as modelKey, t as buildAllowedModelSet } from "./model-selection-
|
|
3
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
4
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { At as ensureAuthProfileStore, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, Tt as listProfilesForProvider, Y as resolveEnvApiKey, kt as upsertAuthProfileWithLock, l as normalizeProviderId, p as resolveConfiguredModelRef, r as buildModelAliasIndex, s as modelKey, t as buildAllowedModelSet } from "./model-selection-Bna6Ea2G.js";
|
|
3
|
+
import { n as loadModelCatalog } from "./model-catalog-DchCrtU_.js";
|
|
4
|
+
import { i as formatTokenK } from "./shared-B811_S8D.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/openai-codex-model-default.ts
|
|
7
7
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|
|
@@ -3,13 +3,13 @@ import { g as resolveStateDir, h as resolveOAuthPath } from "./paths-Cqn-zk3M.js
|
|
|
3
3
|
import { y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { t as DEFAULT_AGENT_ID } from "./session-key-DCt45XZa.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
6
|
-
import { o as resolveAgentModelPrimary, r as resolveAgentConfig } from "./agent-scope-
|
|
6
|
+
import { o as resolveAgentModelPrimary, r as resolveAgentConfig } from "./agent-scope-CgUHAtCo.js";
|
|
7
7
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DAu1a6BX.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
9
9
|
import { t as isTruthyEnvValue } from "./env-DPCHYPeH.js";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import path from "node:path";
|
|
12
|
-
import
|
|
12
|
+
import fs$1 from "node:fs/promises";
|
|
13
13
|
import { execFileSync } from "node:child_process";
|
|
14
14
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
15
15
|
import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
@@ -106,7 +106,7 @@ function computeDelayMs(retries, attempt) {
|
|
|
106
106
|
}
|
|
107
107
|
async function readLockPayload(lockPath) {
|
|
108
108
|
try {
|
|
109
|
-
const raw = await
|
|
109
|
+
const raw = await fs$1.readFile(lockPath, "utf8");
|
|
110
110
|
const parsed = JSON.parse(raw);
|
|
111
111
|
if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
|
|
112
112
|
return {
|
|
@@ -120,9 +120,9 @@ async function readLockPayload(lockPath) {
|
|
|
120
120
|
async function resolveNormalizedFilePath(filePath) {
|
|
121
121
|
const resolved = path.resolve(filePath);
|
|
122
122
|
const dir = path.dirname(resolved);
|
|
123
|
-
await
|
|
123
|
+
await fs$1.mkdir(dir, { recursive: true });
|
|
124
124
|
try {
|
|
125
|
-
const realDir = await
|
|
125
|
+
const realDir = await fs$1.realpath(dir);
|
|
126
126
|
return path.join(realDir, path.basename(resolved));
|
|
127
127
|
} catch {
|
|
128
128
|
return resolved;
|
|
@@ -136,7 +136,7 @@ async function isStaleLock(lockPath, staleMs) {
|
|
|
136
136
|
if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
|
|
137
137
|
}
|
|
138
138
|
try {
|
|
139
|
-
const stat = await
|
|
139
|
+
const stat = await fs$1.stat(lockPath);
|
|
140
140
|
return Date.now() - stat.mtimeMs > staleMs;
|
|
141
141
|
} catch {
|
|
142
142
|
return true;
|
|
@@ -149,7 +149,7 @@ async function releaseHeldLock(normalizedFile) {
|
|
|
149
149
|
if (current.count > 0) return;
|
|
150
150
|
HELD_LOCKS.delete(normalizedFile);
|
|
151
151
|
await current.handle.close().catch(() => void 0);
|
|
152
|
-
await
|
|
152
|
+
await fs$1.rm(current.lockPath, { force: true }).catch(() => void 0);
|
|
153
153
|
}
|
|
154
154
|
async function acquireFileLock(filePath, options) {
|
|
155
155
|
const normalizedFile = await resolveNormalizedFilePath(filePath);
|
|
@@ -164,7 +164,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
164
164
|
}
|
|
165
165
|
const attempts = Math.max(1, options.retries.retries + 1);
|
|
166
166
|
for (let attempt = 0; attempt < attempts; attempt += 1) try {
|
|
167
|
-
const handle = await
|
|
167
|
+
const handle = await fs$1.open(lockPath, "wx");
|
|
168
168
|
await handle.writeFile(JSON.stringify({
|
|
169
169
|
pid: process.pid,
|
|
170
170
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -181,7 +181,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
181
181
|
} catch (err) {
|
|
182
182
|
if (err.code !== "EEXIST") throw err;
|
|
183
183
|
if (await isStaleLock(lockPath, options.stale)) {
|
|
184
|
-
await
|
|
184
|
+
await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
|
|
185
185
|
continue;
|
|
186
186
|
}
|
|
187
187
|
if (attempt >= attempts - 1) break;
|
|
@@ -7,7 +7,7 @@ import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-DdgLCfyd.j
|
|
|
7
7
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-DDdC7J-V.js";
|
|
8
8
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Do3xMEtM.js";
|
|
9
9
|
import { C as parseDurationMs, i as loadConfig } from "./config-HdlXkQoQ.js";
|
|
10
|
-
import { _n as formatRemainingShort, c as runEmbeddedPiAgent, gn as buildAuthHealthSummary, hn as DEFAULT_OAUTH_WARN_MS, ht as describeFailoverError, in as resolveUsageProviderId, mn as maskApiKey, rn as formatUsageWindowSummary, tn as loadProviderUsageSummary } from "./subagent-registry-
|
|
10
|
+
import { _n as formatRemainingShort, c as runEmbeddedPiAgent, gn as buildAuthHealthSummary, hn as DEFAULT_OAUTH_WARN_MS, ht as describeFailoverError, in as resolveUsageProviderId, mn as maskApiKey, rn as formatUsageWindowSummary, tn as loadProviderUsageSummary } from "./subagent-registry-C-rk8Ynb.js";
|
|
11
11
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
12
12
|
import { t as ensureSymiModelsJson } from "./models-config-uzCJJXjn.js";
|
|
13
13
|
import { n as loadModelCatalog } from "./model-catalog-DSH6WASW.js";
|
|
@@ -21,7 +21,7 @@ import { n as redactSecrets } from "./format-DVLB9DNB.js";
|
|
|
21
21
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-BzKZdTyX.js";
|
|
22
22
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BM4dPOyA.js";
|
|
23
23
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
24
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
24
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-_5rSLUts.js";
|
|
25
25
|
import path from "node:path";
|
|
26
26
|
import fs from "node:fs/promises";
|
|
27
27
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
@@ -14,7 +14,7 @@ import "./client-LeVQns9-.js";
|
|
|
14
14
|
import "./call-BtGBznKg.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-C-rk8Ynb.js";
|
|
18
18
|
import "./sessions-CxYrM08j.js";
|
|
19
19
|
import "./tokens-Csntmwwn.js";
|
|
20
20
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -104,8 +104,8 @@ import "./table-D01d2GuY.js";
|
|
|
104
104
|
import "./shared-BzKZdTyX.js";
|
|
105
105
|
import "./auth-token-BM4dPOyA.js";
|
|
106
106
|
import "./logging-BGewRZy0.js";
|
|
107
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
108
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
107
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-_5rSLUts.js";
|
|
108
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-BTRkvFtl.js";
|
|
109
109
|
|
|
110
110
|
//#region src/cli/models-cli.ts
|
|
111
111
|
function runModelsCommand(action) {
|
|
@@ -1,119 +1,119 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, R as colorize, S as shortenHomePath, z as isRich$1 } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { Ct as resolveUsageProviderId, Jt as describeFailoverError, St as formatUsageWindowSummary, bt as loadProviderUsageSummary, fr as maskApiKey, hr as formatRemainingShort, l as runEmbeddedPiAgent, mr as buildAuthHealthSummary, pr as DEFAULT_OAUTH_WARN_MS } from "./reply-
|
|
4
|
+
import { Ct as resolveUsageProviderId, Jt as describeFailoverError, St as formatUsageWindowSummary, bt as loadProviderUsageSummary, fr as maskApiKey, hr as formatRemainingShort, l as runEmbeddedPiAgent, mr as buildAuthHealthSummary, pr as DEFAULT_OAUTH_WARN_MS } from "./reply-D-tI2-6J.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
8
|
-
import { D as resolveDefaultAgentWorkspaceDir, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-
|
|
9
|
-
import { At as ensureAuthProfileStore, Dt as setAuthProfileOrder, Ft as resolveSymiAgentDir, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, J as resolveAwsSdkEnvVarName, Kt as DEFAULT_PROVIDER, Ot as upsertAuthProfile, Pt as resolveAuthStorePathForDisplay, Tt as listProfilesForProvider, Vt as resolveAuthProfileDisplayLabel, Y as resolveEnvApiKey, Z as getShellEnvAppliedKeys, _t as resolveProfileUnusableUntilForDisplay, ft as resolveAuthProfileOrder, g as resolveModelRefFromString, i as findNormalizedProviderValue, l as normalizeProviderId, m as resolveDefaultModelForAgent, nt as shouldEnableShellEnvFallback, p as resolveConfiguredModelRef, q as resolveApiKeyForProvider, r as buildModelAliasIndex, s as modelKey, u as parseModelRef } from "./model-selection-
|
|
8
|
+
import { D as resolveDefaultAgentWorkspaceDir, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-CgUHAtCo.js";
|
|
9
|
+
import { At as ensureAuthProfileStore, Dt as setAuthProfileOrder, Ft as resolveSymiAgentDir, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, J as resolveAwsSdkEnvVarName, Kt as DEFAULT_PROVIDER, Ot as upsertAuthProfile, Pt as resolveAuthStorePathForDisplay, Tt as listProfilesForProvider, Vt as resolveAuthProfileDisplayLabel, Y as resolveEnvApiKey, Z as getShellEnvAppliedKeys, _t as resolveProfileUnusableUntilForDisplay, ft as resolveAuthProfileOrder, g as resolveModelRefFromString, i as findNormalizedProviderValue, l as normalizeProviderId, m as resolveDefaultModelForAgent, nt as shouldEnableShellEnvFallback, p as resolveConfiguredModelRef, q as resolveApiKeyForProvider, r as buildModelAliasIndex, s as modelKey, u as parseModelRef } from "./model-selection-Bna6Ea2G.js";
|
|
10
10
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
12
12
|
import "./boolean-BsqeuxE6.js";
|
|
13
13
|
import "./env-DPCHYPeH.js";
|
|
14
14
|
import "./message-channel-aT-I_DTX.js";
|
|
15
|
-
import "./send-
|
|
16
|
-
import { C as parseDurationMs, i as loadConfig } from "./config-
|
|
15
|
+
import "./send-CRQMds8q.js";
|
|
16
|
+
import { C as parseDurationMs, i as loadConfig } from "./config-HatzmzSF.js";
|
|
17
17
|
import "./manifest-registry-C4BxOMWX.js";
|
|
18
|
-
import "./runner-
|
|
19
|
-
import "./image-
|
|
20
|
-
import { t as ensureSymiModelsJson } from "./models-config-
|
|
18
|
+
import "./runner-5jm68DaT.js";
|
|
19
|
+
import "./image-BCpwZwMs.js";
|
|
20
|
+
import { t as ensureSymiModelsJson } from "./models-config-ClFXUp6F.js";
|
|
21
21
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-4uUnLc3n.js";
|
|
22
|
-
import "./pi-embedded-helpers-
|
|
23
|
-
import "./sandbox-
|
|
24
|
-
import "./chrome-
|
|
22
|
+
import "./pi-embedded-helpers-DTf21kBI.js";
|
|
23
|
+
import "./sandbox-CI3HOlhZ.js";
|
|
24
|
+
import "./chrome-w5VRy_4h.js";
|
|
25
25
|
import "./tailscale-D5dKabOc.js";
|
|
26
26
|
import "./auth-B741uFtk.js";
|
|
27
|
-
import "./server-context-
|
|
27
|
+
import "./server-context-XZaMhvsO.js";
|
|
28
28
|
import "./frontmatter-DWQhtOo7.js";
|
|
29
|
-
import "./skills-
|
|
30
|
-
import "./routes-
|
|
29
|
+
import "./skills-6jdJQ5ZL.js";
|
|
30
|
+
import "./routes-BTqP9I0j.js";
|
|
31
31
|
import "./redact-f-Q-hFt_.js";
|
|
32
32
|
import "./errors-BF3TeRH2.js";
|
|
33
|
-
import "./fs-safe-
|
|
34
|
-
import "./paths-
|
|
33
|
+
import "./fs-safe-CUjO1ca2.js";
|
|
34
|
+
import "./paths-BBm9fwuG.js";
|
|
35
35
|
import "./ssrf-BCYMnxkM.js";
|
|
36
|
-
import "./image-ops-
|
|
37
|
-
import "./store-
|
|
38
|
-
import "./ports-
|
|
36
|
+
import "./image-ops-1OJMSAUX.js";
|
|
37
|
+
import "./store-r1DJSDq-.js";
|
|
38
|
+
import "./ports-BOmtxoTv.js";
|
|
39
39
|
import "./trash-DcMh1i4B.js";
|
|
40
|
-
import "./sessions-
|
|
41
|
-
import "./dock-
|
|
42
|
-
import "./plugins-
|
|
43
|
-
import "./accounts-
|
|
44
|
-
import "./accounts-
|
|
45
|
-
import "./accounts-
|
|
46
|
-
import "./bindings-
|
|
40
|
+
import "./sessions-Dg88xE66.js";
|
|
41
|
+
import "./dock-BhS32F6E.js";
|
|
42
|
+
import "./plugins-DKDeQZF0.js";
|
|
43
|
+
import "./accounts-DDuIpcln.js";
|
|
44
|
+
import "./accounts-bK-Yqdwx.js";
|
|
45
|
+
import "./accounts-DyJN4_vR.js";
|
|
46
|
+
import "./bindings-DFaVVCsf.js";
|
|
47
47
|
import "./logging-w5jq5901.js";
|
|
48
|
-
import "./send-
|
|
48
|
+
import "./send-C-yyCp3G.js";
|
|
49
49
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-CyhzMxFA.js";
|
|
50
|
-
import "./tool-images-
|
|
50
|
+
import "./tool-images-DvUBlqjX.js";
|
|
51
51
|
import "./tool-display-D8N3rsYt.js";
|
|
52
52
|
import "./fetch-guard-DOPkVbh3.js";
|
|
53
|
-
import "./api-key-rotation-
|
|
54
|
-
import "./local-roots-
|
|
55
|
-
import "./sqlite-
|
|
56
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
53
|
+
import "./api-key-rotation-Do8JQqVN.js";
|
|
54
|
+
import "./local-roots-aAFLQGkY.js";
|
|
55
|
+
import "./sqlite-Dx3J_aSE.js";
|
|
56
|
+
import { n as loadModelCatalog } from "./model-catalog-DchCrtU_.js";
|
|
57
57
|
import "./tokens-BuceUQDl.js";
|
|
58
|
-
import "./with-timeout-
|
|
59
|
-
import "./deliver-
|
|
58
|
+
import "./with-timeout-CB59LniF.js";
|
|
59
|
+
import "./deliver-Dt-RE3Vx.js";
|
|
60
60
|
import "./diagnostic-DjBRPfu9.js";
|
|
61
61
|
import "./diagnostic-session-state-CUslJyKP.js";
|
|
62
|
-
import "./send-
|
|
63
|
-
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-
|
|
64
|
-
import "./reply-prefix-
|
|
65
|
-
import "./memory-cli-
|
|
66
|
-
import "./manager-
|
|
62
|
+
import "./send-Bdb6djZT.js";
|
|
63
|
+
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-BqEwE-J2.js";
|
|
64
|
+
import "./reply-prefix-CE2YmmsD.js";
|
|
65
|
+
import "./memory-cli-BbOD_MAm.js";
|
|
66
|
+
import "./manager-azRNiI63.js";
|
|
67
67
|
import "./retry-BoS4e4X_.js";
|
|
68
|
-
import "./target-errors-
|
|
68
|
+
import "./target-errors-7AvoVa10.js";
|
|
69
69
|
import "./chunk-1dhPX1NK.js";
|
|
70
|
-
import "./markdown-tables-
|
|
71
|
-
import "./ir-
|
|
70
|
+
import "./markdown-tables-CEbN0fEm.js";
|
|
71
|
+
import "./ir-DZam9q5M.js";
|
|
72
72
|
import "./render-CXDO_kgw.js";
|
|
73
|
-
import "./commands-
|
|
74
|
-
import "./commands-registry-
|
|
75
|
-
import "./client-
|
|
76
|
-
import "./call-
|
|
77
|
-
import "./pairing-token-
|
|
73
|
+
import "./commands-BNLCWX6e.js";
|
|
74
|
+
import "./commands-registry-FQYB6b0c.js";
|
|
75
|
+
import "./client-Cnoh7nRo.js";
|
|
76
|
+
import "./call-DAcmbtXf.js";
|
|
77
|
+
import "./pairing-token-CX3NN_qj.js";
|
|
78
78
|
import "./channel-activity-BOiuJS3t.js";
|
|
79
79
|
import "./fetch-DTNGXEzX.js";
|
|
80
|
-
import "./tables-
|
|
81
|
-
import "./send-
|
|
82
|
-
import "./pairing-store-
|
|
80
|
+
import "./tables-BEzT0Da4.js";
|
|
81
|
+
import "./send-B6F9anOj.js";
|
|
82
|
+
import "./pairing-store-BCNzdZKM.js";
|
|
83
83
|
import "./proxy-DU7W9XSc.js";
|
|
84
84
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
85
85
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-DN_hM6ov.js";
|
|
86
86
|
import "./help-format-B_-M23wP.js";
|
|
87
87
|
import { r as withProgressTotals } from "./progress-jIePzvGA.js";
|
|
88
|
-
import "./resolve-route-
|
|
89
|
-
import "./replies-
|
|
90
|
-
import "./skill-commands-
|
|
91
|
-
import "./workspace-dirs-
|
|
92
|
-
import "./outbound-attachment-
|
|
88
|
+
import "./resolve-route-BMoTaVAH.js";
|
|
89
|
+
import "./replies-Bqmvo_Kt.js";
|
|
90
|
+
import "./skill-commands-D23OFeRU.js";
|
|
91
|
+
import "./workspace-dirs-GpkFi6Kw.js";
|
|
92
|
+
import "./outbound-attachment-D_QuKi8U.js";
|
|
93
93
|
import "./delivery-queue-Df1uodAG.js";
|
|
94
94
|
import "./session-cost-usage-BG4AXrGN.js";
|
|
95
|
-
import "./send-
|
|
96
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
95
|
+
import "./send-DCDHTHlP.js";
|
|
96
|
+
import { f as openUrl } from "./onboard-helpers-y4rvYrnW.js";
|
|
97
97
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-8JqOYj0q.js";
|
|
98
|
-
import "./pairing-labels-
|
|
98
|
+
import "./pairing-labels-DqKysvKw.js";
|
|
99
99
|
import "./exec-approvals-Kn31mBcW.js";
|
|
100
|
-
import "./nodes-screen-
|
|
101
|
-
import "./pi-tools.policy-
|
|
102
|
-
import "./control-service-
|
|
100
|
+
import "./nodes-screen-VBGXKdLk.js";
|
|
101
|
+
import "./pi-tools.policy-DzNBR_23.js";
|
|
102
|
+
import "./control-service-su7ltHXJ.js";
|
|
103
103
|
import "./stagger-BUClb97_.js";
|
|
104
|
-
import "./channel-selection-
|
|
104
|
+
import "./channel-selection-DuWs0Aak.js";
|
|
105
105
|
import "./note-DeHoW7xO.js";
|
|
106
106
|
import { t as createClackPrompter } from "./clack-prompter-B7pN13HV.js";
|
|
107
107
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
108
108
|
import { t as inferParamBFromIdOrName } from "./model-param-b-BCRDjJEJ.js";
|
|
109
109
|
import { n as redactSecrets } from "./format-yQZNwAF2.js";
|
|
110
|
-
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-
|
|
111
|
-
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-
|
|
110
|
+
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-B811_S8D.js";
|
|
111
|
+
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BszpreVL.js";
|
|
112
112
|
import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
|
|
113
|
-
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-
|
|
114
|
-
import { t as ensurePiAuthJsonFromAuthProfiles } from "./system-cli-
|
|
113
|
+
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-tpyE_YMw.js";
|
|
114
|
+
import { t as ensurePiAuthJsonFromAuthProfiles } from "./system-cli-D2Gy1uM8.js";
|
|
115
115
|
import path from "node:path";
|
|
116
|
-
import
|
|
116
|
+
import fs from "node:fs/promises";
|
|
117
117
|
import crypto from "node:crypto";
|
|
118
118
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
119
119
|
import { Type } from "@sinclair/typebox";
|
|
@@ -947,8 +947,8 @@ function printModelTable(rows, runtime, opts = {}) {
|
|
|
947
947
|
//#region src/commands/models/list.list-command.ts
|
|
948
948
|
async function modelsListCommand(opts, runtime) {
|
|
949
949
|
ensureFlagCompatibility(opts);
|
|
950
|
-
const { loadConfig } = await import("./config-
|
|
951
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
950
|
+
const { loadConfig } = await import("./config-HatzmzSF.js").then((n) => n.t);
|
|
951
|
+
const { ensureAuthProfileStore } = await import("./model-selection-Bna6Ea2G.js").then((n) => n.dt);
|
|
952
952
|
const cfg = loadConfig();
|
|
953
953
|
const authStore = ensureAuthProfileStore();
|
|
954
954
|
const providerFilter = (() => {
|
|
@@ -1008,7 +1008,7 @@ async function modelsListCommand(opts, runtime) {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
1010
|
if (!model) {
|
|
1011
|
-
const { resolveModel } = await import("./model-
|
|
1011
|
+
const { resolveModel } = await import("./model-BqEwE-J2.js").then((n) => n.t);
|
|
1012
1012
|
model = resolveModel(entry.ref.provider, entry.ref.model, void 0, cfg).model;
|
|
1013
1013
|
}
|
|
1014
1014
|
if (opts.local && model && !isLocalBaseUrl(model.baseUrl)) continue;
|
|
@@ -1266,7 +1266,7 @@ async function probeTarget(params) {
|
|
|
1266
1266
|
};
|
|
1267
1267
|
const sessionId = `probe-${target.provider}-${crypto.randomUUID()}`;
|
|
1268
1268
|
const sessionFile = resolveSessionTranscriptPath(sessionId, agentId);
|
|
1269
|
-
await
|
|
1269
|
+
await fs.mkdir(sessionDir, { recursive: true });
|
|
1270
1270
|
const start = Date.now();
|
|
1271
1271
|
try {
|
|
1272
1272
|
await runEmbeddedPiAgent({
|
|
@@ -1321,7 +1321,7 @@ async function runTargetsWithConcurrency(params) {
|
|
|
1321
1321
|
const agentDir = resolveSymiAgentDir();
|
|
1322
1322
|
const workspaceDir = resolveAgentWorkspaceDir(cfg, agentId) ?? resolveDefaultAgentWorkspaceDir();
|
|
1323
1323
|
const sessionDir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
1324
|
-
await
|
|
1324
|
+
await fs.mkdir(workspaceDir, { recursive: true });
|
|
1325
1325
|
let completed = 0;
|
|
1326
1326
|
const results = Array.from({ length: targets.length });
|
|
1327
1327
|
let cursor = 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as isRecord } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { A as resolveImplicitProviders, D as normalizeProviders, Ft as resolveSymiAgentDir, O as resolveImplicitBedrockProvider, k as resolveImplicitCopilotProvider } from "./model-selection-
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
2
|
+
import { A as resolveImplicitProviders, D as normalizeProviders, Ft as resolveSymiAgentDir, O as resolveImplicitBedrockProvider, k as resolveImplicitCopilotProvider } from "./model-selection-Bna6Ea2G.js";
|
|
3
|
+
import { i as loadConfig } from "./config-HatzmzSF.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/models-config.ts
|
|
8
8
|
const DEFAULT_MODE = "merge";
|
|
@@ -44,7 +44,7 @@ function mergeProviders(params) {
|
|
|
44
44
|
}
|
|
45
45
|
async function readJson(pathname) {
|
|
46
46
|
try {
|
|
47
|
-
const raw = await
|
|
47
|
+
const raw = await fs.readFile(pathname, "utf8");
|
|
48
48
|
return JSON.parse(raw);
|
|
49
49
|
} catch {
|
|
50
50
|
return null;
|
|
@@ -92,7 +92,7 @@ async function ensureSymiModelsJson(config, agentDirOverride) {
|
|
|
92
92
|
});
|
|
93
93
|
const next = `${JSON.stringify({ providers: normalizedProviders }, null, 2)}\n`;
|
|
94
94
|
try {
|
|
95
|
-
existingRaw = await
|
|
95
|
+
existingRaw = await fs.readFile(targetPath, "utf8");
|
|
96
96
|
} catch {
|
|
97
97
|
existingRaw = "";
|
|
98
98
|
}
|
|
@@ -100,11 +100,11 @@ async function ensureSymiModelsJson(config, agentDirOverride) {
|
|
|
100
100
|
agentDir,
|
|
101
101
|
wrote: false
|
|
102
102
|
};
|
|
103
|
-
await
|
|
103
|
+
await fs.mkdir(agentDir, {
|
|
104
104
|
recursive: true,
|
|
105
105
|
mode: 448
|
|
106
106
|
});
|
|
107
|
-
await
|
|
107
|
+
await fs.writeFile(targetPath, next, { mode: 384 });
|
|
108
108
|
return {
|
|
109
109
|
agentDir,
|
|
110
110
|
wrote: true
|