@symerian/symi 2.3.1 → 2.3.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/{accounts-ChTFYj8Q.js → accounts-CWktKM8a.js} +1 -1
- package/dist/{accounts-DDuIpcln.js → accounts-Cd816n6l.js} +7 -7
- package/dist/{accounts-bK-Yqdwx.js → accounts-CokRskCl.js} +1 -1
- package/dist/{accounts-DyJN4_vR.js → accounts-mN_EcgxC.js} +1 -1
- package/dist/{accounts-CJR8j_Kq.js → accounts-qtxJ-6em.js} +1 -1
- package/dist/{accounts-CI6zQTJj.js → accounts-tNElYrCH.js} +14 -14
- package/dist/{acp-cli-Cu4icbJT.js → acp-cli-BgyJMtqt.js} +6 -6
- package/dist/{active-listener-D6sXIjAg.js → active-listener-C9r8ZB9m.js} +1 -1
- package/dist/{agent-scope-CgUHAtCo.js → agent-scope-BRwEc2pG.js} +18 -18
- package/dist/{agent-scope-Bw1Ed8W9.js → agent-scope-BxoUQqgM.js} +3 -3
- package/dist/{agents-DzuttgJU.js → agents-DjLt6jc3.js} +4 -4
- package/dist/{agents.config-CSucty2T.js → agents.config-Dt7B_P5o.js} +1 -1
- package/dist/{agents.config-2HlZJsR3.js → agents.config-u_ibObha.js} +2 -2
- package/dist/{api-key-rotation-CzuPlV2t.js → api-key-rotation-CEr3lKih.js} +1 -1
- package/dist/{audio-preflight-C40mKAp7.js → audio-preflight-CPBOQV4I.js} +4 -4
- package/dist/{audio-preflight-CWnxkaac.js → audio-preflight-CjysqO8U.js} +28 -28
- package/dist/{audio-preflight-BsfqyC31.js → audio-preflight-D02HwB-I.js} +29 -29
- package/dist/{audit-CrITRV6w.js → audit-BSB9NPSO.js} +23 -23
- package/dist/{auth-choice-Cve09z1a.js → auth-choice-DUUu6Nhg.js} +1 -1
- package/dist/{auth-choice-ChrEc3cZ.js → auth-choice-DmSG7c8J.js} +8 -8
- package/dist/{auth-token-BnOynwk4.js → auth-token-DC5w1WoS.js} +1 -1
- package/dist/{banner-BoLflN_R.js → banner-BiAcdT2T.js} +1 -1
- package/dist/{bindings-BU2hsBd9.js → bindings-B7Ke6LJi.js} +2 -2
- package/dist/{bindings-DFaVVCsf.js → bindings-ChzePa8q.js} +1 -1
- package/dist/{browser-cli-BG4qPxpM.js → browser-cli-C4D9Ql3c.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/{call-CJaS1iRF.js → call-Dd7-bkfG.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-C9-gaquj.js → channel-activity-CsM_hJ_s.js} +1 -1
- package/dist/{channel-options-DqgeO1f6.js → channel-options-ClfXE1B7.js} +1 -1
- package/dist/{channel-options-Dkd1WQZx.js → channel-options-vQREpu-n.js} +2 -2
- package/dist/{channel-selection-DuWs0Aak.js → channel-selection-DjfBv8kq.js} +1 -1
- package/dist/{channel-web-CJvDQ5Ea.js → channel-web-y6pd_GHr.js} +17 -17
- package/dist/{channels-cli-D0jjOLRb.js → channels-cli-CjYD1_OO.js} +75 -75
- package/dist/{channels-cli-DtqwJZWy.js → channels-cli-suXRcyfF.js} +4 -4
- package/dist/{channels-status-issues-B_kBkl_u.js → channels-status-issues-BoH1ZJPN.js} +1 -1
- package/dist/{chrome-CDJYxX5a.js → chrome-D2SKJnR7.js} +7 -7
- package/dist/{chrome-w3SLcQJF.js → chrome-EyvdASWt.js} +20 -20
- package/dist/{chrome-DtPkPq9T.js → chrome-r4RThPxq.js} +2 -2
- package/dist/{chunk-ClbN9Pqy.js → chunk-BW5f05BR.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CHOmeum9.js → cli-B-911QZL.js} +62 -62
- package/dist/{cli-CEtg8kql.js → cli-mbfUlFn3.js} +1 -1
- package/dist/{client-CQSyCS4M.js → client-BsrZnuSi.js} +1 -1
- package/dist/{command-format-UKHV-j0K.js → command-format-BaxDnULz.js} +1 -1
- package/dist/{command-registry-Ba2z3dYq.js → command-registry-y8CXSD5O.js} +9 -9
- package/dist/{commands-BNLCWX6e.js → commands-CtocZ4Lg.js} +1 -1
- package/dist/{commands-registry-BT0-zzs3.js → commands-registry-BZ0ZSQpM.js} +3 -3
- package/dist/{commands-registry-VSmULp-g.js → commands-registry-D7CTCQPm.js} +4 -4
- package/dist/{completion-cli-CD-306wt.js → completion-cli-2Mi5hts2.js} +2 -2
- package/dist/{completion-cli-BgX3MWVU.js → completion-cli-BLrwUAyo.js} +12 -12
- package/dist/{config-CHwyw6l5.js → config-CJMcIRQM.js} +2 -2
- package/dist/{config-eEaJddXj.js → config-DRbjHIwD.js} +12 -12
- package/dist/{config-cli-Cz87-TYh.js → config-cli-CF-wdLkO.js} +4 -4
- package/dist/{config-cli-DAbXVRUL.js → config-cli-tYZAnvgQ.js} +1 -1
- package/dist/{config-guard-BflmO0t7.js → config-guard-C1Rs8NZG.js} +12 -12
- package/dist/{config-validation-CmimHAES.js → config-validation-ChQQVndI.js} +1 -1
- package/dist/{configure-D45ne4lm.js → configure-BHKdqhLb.js} +15 -15
- package/dist/{configure-0nrthdSf.js → configure-si19m30s.js} +3 -3
- package/dist/{control-service-Bz7rxLWq.js → control-service-B8H3Bqpv.js} +4 -4
- package/dist/{control-ui-assets-Z947tKLt.js → control-ui-assets-DqGziq7x.js} +1 -1
- package/dist/{cron-cli-DBIlCvp3.js → cron-cli-YrMWJCkm.js} +10 -10
- package/dist/{daemon-cli-DscwlsKW.js → daemon-cli-Dx4SXRyp.js} +11 -11
- package/dist/{daemon-runtime-2mwX-jqj.js → daemon-runtime--RiRUx_2.js} +10 -10
- package/dist/{deliver-BH0l3UKW.js → deliver-C-37cZUe.js} +1 -1
- package/dist/{deliver-BmPK91JP.js → deliver-D1ZN6-fl.js} +20 -20
- package/dist/{deliver-CceEhg3d.js → deliver-Um8yyhRA.js} +7 -7
- package/dist/{devices-cli-Dds-25Ve.js → devices-cli-DAJ84AOe.js} +6 -6
- package/dist/{diagnostic-C3nsWaw3.js → diagnostic-CI0kRQkt.js} +1 -1
- package/dist/{diagnostics-BAMlsVVX.js → diagnostics-D2yUMZN1.js} +5 -5
- package/dist/{directory-cli-CpUByQew.js → directory-cli-C4h8KQLH.js} +7 -7
- package/dist/{dm-policy-shared-Bh3TbexU.js → dm-policy-shared-BCSw0GJS.js} +2 -2
- package/dist/{dns-cli-Beyzdh3S.js → dns-cli-s0ZWvTPm.js} +3 -3
- package/dist/{dock-BhS32F6E.js → dock-BYiRZSgZ.js} +4 -4
- package/dist/{docs-cli-BpnEOtJi.js → docs-cli-BfPfHTDs.js} +1 -1
- package/dist/{doctor-completion-CcDVOtZ5.js → doctor-completion-C19QYsQN.js} +2 -2
- package/dist/{doctor-completion-CmGtqUHQ.js → doctor-completion-Dn_Kn4gz.js} +1 -1
- package/dist/{doctor-config-flow-QnaBd8kL.js → doctor-config-flow-D05HlWdn.js} +10 -10
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BliRl8VB.js → exec-approvals-cli-Df1lyRyE.js} +13 -13
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-DPlG6yha.js → frontmatter-C_bv_0P8.js} +2 -2
- package/dist/{fs-safe-CUjO1ca2.js → fs-safe-CTDvb1DF.js} +6 -6
- package/dist/{gateway-cli-DajX3Pye.js → gateway-cli-B7khyAHs.js} +139 -155
- package/dist/{gateway-cli-BVN31fwu.js → gateway-cli-DG_Mdw0H.js} +35 -51
- package/dist/{gateway-rpc-BxkKeCZ0.js → gateway-rpc-DFeD8pZh.js} +1 -1
- package/dist/{gemini-auth-CF48hUR9.js → gemini-auth-CdSPHuLl.js} +1 -1
- package/dist/{github-copilot-token-DJqsJ2-r.js → github-copilot-token-C_qUP7p5.js} +7 -7
- package/dist/{glass-ui-ws-CQG6acJl.js → glass-ui-ws-BAub_JoN.js} +7 -7
- package/dist/{glass-ui-ws-Z1IOT6Vc.js → glass-ui-ws-BmQAULMj.js} +82 -82
- package/dist/{health-D9eQW7fJ.js → health-CboWXJkq.js} +1 -1
- package/dist/{health-f056vLGT.js → health-DkKXiUEF.js} +13 -13
- package/dist/{hooks-cli-hJ4euq2R.js → hooks-cli-BrO_9pas.js} +76 -76
- package/dist/{hooks-cli-CW-IRS72.js → hooks-cli-DLM_5caf.js} +2 -2
- package/dist/{image-D9uvDTrc.js → image-BiY-PfMh.js} +3 -3
- package/dist/{image-rZ4x9VS9.js → image-Cp3JDEBB.js} +4 -4
- package/dist/{image-CHzdaNJ4.js → image-DcpMiprB.js} +1 -1
- package/dist/{image-ops-S8-8dAhx.js → image-ops-CvJzsyvE.js} +1 -1
- package/dist/{image-ops-1OJMSAUX.js → image-ops-DYbDWaIA.js} +10 -10
- package/dist/index.js +72 -72
- package/dist/{inspect-CllGjsWo.js → inspect-ZJkNX0WL.js} +4 -4
- package/dist/{install-safe-path-tCLiMpmO.js → install-safe-path-Qqr_t_tH.js} +11 -11
- package/dist/{installs-C1Cebk97.js → installs-O9KlRu9h.js} +10 -10
- package/dist/{ir-CbFUkv_T.js → ir-DccrnjsE.js} +4 -4
- package/dist/{ir-DZam9q5M.js → ir-Dt4hOzxG.js} +6 -6
- package/dist/{lifecycle-core-D6LYXpFj.js → lifecycle-core-BkPSoGM2.js} +5 -5
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-aAFLQGkY.js → local-roots-BBeKX7PX.js} +2 -2
- package/dist/{local-roots-C7OCYACU.js → local-roots-DMwIh5cS.js} +5 -5
- package/dist/{login-dIlDkG4X.js → login-1sleXoB4.js} +3 -3
- package/dist/{login-B8uiUAnV.js → login-CwCoxapk.js} +7 -7
- package/dist/{login-qr-CIZk8uKX.js → login-qr-Batf3PT5.js} +12 -12
- package/dist/{login-qr-pbXdFORv.js → login-qr-wCWBOMwB.js} +5 -5
- package/dist/{logs-cli-xOzIPrHm.js → logs-cli-DVeEdUCU.js} +7 -7
- package/dist/{manager-D4LJSRyZ.js → manager-C1CfGzZ2.js} +13 -13
- package/dist/{manager-BoLr3xR_.js → manager-D_LwXbc6.js} +13 -13
- package/dist/{manifest-registry-CneMHk0N.js → manifest-registry-D0IQ3WuX.js} +19 -19
- package/dist/{markdown-tables-CEbN0fEm.js → markdown-tables-ZwP14ydw.js} +1 -1
- package/dist/{markdown-tables-DSHvnTLx.js → markdown-tables-iMQQZu4Q.js} +1 -1
- package/dist/{memory-cli-Ca5r9AUb.js → memory-cli-lk6fRiwy.js} +14 -14
- package/dist/{message-channel-DbsRltF2.js → message-channel-Dz5lr5b0.js} +1 -1
- package/dist/{model-tWhwnFf8.js → model-CeeOcylL.js} +1 -1
- package/dist/{model-auth-CwOuTuXl.js → model-auth-DK43VicI.js} +9 -9
- package/dist/{model-catalog-DvBJ8pMD.js → model-catalog-C3NLvWC2.js} +4 -4
- package/dist/{model-picker-Ddo3jHe-.js → model-picker-LKZLY2DL.js} +3 -3
- package/dist/{model-selection-CyFvYcRt.js → model-selection-X1oLh3CE.js} +9 -9
- package/dist/{models-nO_t1uzp.js → models-BmiRYEVd.js} +2 -2
- package/dist/{models-cli-B2ticsCM.js → models-cli-4vQrbW6G.js} +72 -72
- package/dist/{models-cli-D9bG44Ao.js → models-cli-Tf61I97Q.js} +3 -3
- package/dist/{models-config-qyOXrOli.js → models-config-CqDdkHJq.js} +7 -7
- package/dist/{node-cli-C_G-Q3h-.js → node-cli-Jj2LTGzF.js} +28 -28
- package/dist/{node-service-Cxz4e-Qd.js → node-service-CJygtY5M.js} +1 -1
- package/dist/{nodes-cli-BcnuJajV.js → nodes-cli-C43ifECe.js} +10 -10
- package/dist/{nodes-screen-VBGXKdLk.js → nodes-screen-C99kfE1u.js} +4 -4
- package/dist/{npm-registry-spec-C2JDdSZS.js → npm-registry-spec-DR_at_Hp.js} +9 -9
- package/dist/{onboard-BDbpfrZj.js → onboard-D8uxVvMq.js} +13 -13
- package/dist/{onboard-BtZ9WqhJ.js → onboard-FpptSqHZ.js} +2 -2
- package/dist/{onboard-channels-HubyUVjT.js → onboard-channels-DOKid2w1.js} +5 -5
- package/dist/{onboard-channels-CHE8nfNA.js → onboard-channels-Q_xxgZ8O.js} +1 -1
- package/dist/{onboard-custom-C7O-zfQ1.js → onboard-custom-DPJiy9aT.js} +3 -3
- package/dist/{onboard-helpers-ZmZYzlq3.js → onboard-helpers-Dixh6cNh.js} +8 -8
- package/dist/{onboard-hooks-BAA8CoVv.js → onboard-hooks-lsws7g2s.js} +1 -1
- package/dist/{onboard-remote-zUjD7UtM.js → onboard-remote-B66ZWtkN.js} +1 -1
- package/dist/{onboard-skills-BB0YhUmF.js → onboard-skills-B0IA09ig.js} +4 -4
- package/dist/{onboarding-eVb5gvwo.js → onboarding-CdlGKa0U.js} +13 -13
- package/dist/{onboarding-DtP0sps0.js → onboarding-DhIEUmp5.js} +3 -3
- package/dist/{onboarding.finalize-D8035U2E.js → onboarding.finalize-CEYLIXkq.js} +6 -6
- package/dist/{onboarding.finalize-CetxPTxL.js → onboarding.finalize-DyBsPxXJ.js} +74 -74
- package/dist/{onboarding.gateway-config-CJUgDC6Y.js → onboarding.gateway-config-CCJqI0kw.js} +14 -14
- package/dist/{openai-model-default-DMjQRsb1.js → openai-model-default-BJ1IZ3TN.js} +2 -2
- package/dist/{outbound-opDNxv-l.js → outbound-D4fN_ZlE.js} +7 -7
- package/dist/{outbound-DB5Zus0-.js → outbound-NJCy0h4x.js} +4 -4
- package/dist/{outbound-attachment-D_QuKi8U.js → outbound-attachment-D62E0xDI.js} +2 -2
- package/dist/{outbound-attachment-Co2diKdP.js → outbound-attachment-DjNDa3zn.js} +2 -2
- package/dist/{pairing-cli-CBLfGvqW.js → pairing-cli-CcW0ndhB.js} +8 -8
- package/dist/{pairing-labels-2S6x2UoV.js → pairing-labels-27SOKDzJ.js} +1 -1
- package/dist/{pairing-store-CK726Dzq.js → pairing-store-B8ktu-6j.js} +2 -2
- package/dist/{pairing-token-CX3NN_qj.js → pairing-token-AV-MMfVE.js} +7 -7
- package/dist/{paths-BBm9fwuG.js → paths-CT6jsi4E.js} +1 -1
- package/dist/{paths-CySxpNhH.js → paths-Cce4PUkG.js} +5 -5
- package/dist/{paths-Cb87-LzP.js → paths-DLyHUt31.js} +1 -1
- package/dist/{pi-auth-json-DPWPoruO.js → pi-auth-json-0SYBFZTt.js} +8 -8
- package/dist/{pi-auth-json-DayrlDg_.js → pi-auth-json-CCneTXUh.js} +3 -3
- package/dist/{pi-embedded-BY-dBus2.js → pi-embedded-BThV36aG.js} +109 -21
- package/dist/{pi-embedded-helpers-lgx_U5KS.js → pi-embedded-helpers-B8kqLWns.js} +4 -4
- package/dist/{pi-embedded-helpers-CNPyv_ax.js → pi-embedded-helpers-DO6u9K2t.js} +6 -6
- package/dist/{pi-embedded-helpers-B2z46qeM.js → pi-embedded-helpers-ag2bosuj.js} +52 -52
- package/dist/{pi-embedded-Dc3muKtS.js → pi-embedded-wr4HXhzm.js} +255 -167
- package/dist/{pi-tools.policy-CIDBbw6x.js → pi-tools.policy-juZV2uUv.js} +4 -4
- package/dist/{plugin-auto-enable-BzX1uAKy.js → plugin-auto-enable-Bbm7MwFV.js} +2 -2
- package/dist/{plugin-registry-CuoX8mar.js → plugin-registry-DvWWctC9.js} +1 -1
- package/dist/{plugin-registry-fxcvycGr.js → plugin-registry-lWWSu9UD.js} +3 -3
- package/dist/plugin-sdk/agents/model-token-filter.d.ts +15 -0
- package/dist/plugin-sdk/{channel-web-CV1KLtZh.js → channel-web-BnrTC55Y.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-C4mijdMZ.js → reply-kuMxu6Q4.js} +95 -7
- package/dist/plugin-sdk/{web-B17UUsjm.js → web-TMIhKQyF.js} +2 -2
- package/dist/{plugins-DKDeQZF0.js → plugins-BAyxWQSz.js} +2 -2
- package/dist/{plugins-C4C9637U.js → plugins-DQYI3Fr-.js} +9 -9
- package/dist/{plugins-cli-4OqSGHp-.js → plugins-cli-BHfzYAq6.js} +71 -71
- package/dist/{plugins-cli-BbE_Qnlk.js → plugins-cli-wlWRx4Oj.js} +2 -2
- package/dist/{ports-BOmtxoTv.js → ports-OZQlocB7.js} +2 -2
- package/dist/{ports-BX0kKI0g.js → ports-b36gHZbA.js} +1 -1
- package/dist/{program-DkXOdfM2.js → program-CKy7s-bm.js} +7 -7
- package/dist/{program-context-0bDxGpMx.js → program-context-D4gbh6dg.js} +39 -39
- package/dist/{prompt-select-styled-DJkRn30j.js → prompt-select-styled-DlGPNq9c.js} +38 -38
- package/dist/{prompt-select-styled-_6KbTFXs.js → prompt-select-styled-bh0GLMiQ.js} +4 -4
- package/dist/{provider-auth-helpers-BpVAdwK_.js → provider-auth-helpers-B-YsKbwc.js} +1 -1
- package/dist/{provider-auth-helpers-Bnkj4QXS.js → provider-auth-helpers-Bd5VVReu.js} +5 -5
- package/dist/{push-apns-EKnCwrqK.js → push-apns-0et2AR44.js} +4 -4
- package/dist/{push-apns-C0wMP1XU.js → push-apns-ByyOJyDl.js} +1 -1
- package/dist/{pw-ai-De-KR9_s.js → pw-ai-1htA-NnS.js} +1 -1
- package/dist/{pw-ai-PiQUncix.js → pw-ai-Ch7liUOW.js} +11 -11
- package/dist/{pw-ai-DqL87js3.js → pw-ai-MVzi113V.js} +7 -7
- package/dist/{qmd-manager-D85GJrir.js → qmd-manager-BP2r8b1D.js} +18 -18
- package/dist/{qmd-manager-DdZh9PHs.js → qmd-manager-QHUP-_em.js} +7 -7
- package/dist/{qr-cli-jd9LdZpq.js → qr-cli-17laLZm_.js} +3 -3
- package/dist/{register.agent-B0S1CJEx.js → register.agent-Dhijhxr5.js} +81 -81
- package/dist/{register.agent-B48Vf_DK.js → register.agent-oKma6YjU.js} +6 -6
- package/dist/{register.configure-Wyv7vb24.js → register.configure-BX8vQ2Np.js} +6 -6
- package/dist/register.configure-BcZ-7Yir.js +147 -0
- package/dist/{register.maintenance-Cmf17EW0.js → register.maintenance-B3TPb969.js} +84 -84
- package/dist/{register.maintenance-TgjAQ4E0.js → register.maintenance-OJCduNdt.js} +8 -8
- package/dist/{register.message-Dwv2puIB.js → register.message-CX8C_Fds.js} +2 -2
- package/dist/{register.message-BcsPnPvW.js → register.message-D0aswsGo.js} +63 -63
- package/dist/{register.onboard-BDGaSyq2.js → register.onboard-BHTyEs6d.js} +74 -74
- package/dist/{register.onboard-C8w7_w93.js → register.onboard-CSepiSPt.js} +4 -4
- package/dist/{register.setup-CMGSNKXS.js → register.setup-lZSHKiGQ.js} +4 -4
- package/dist/{register.setup-CiEuZOlI.js → register.setup-uhpgkBjU.js} +77 -77
- package/dist/{register.status-health-sessions-zKjmZyOs.js → register.status-health-sessions-Cbavf8do.js} +3 -3
- package/dist/{register.status-health-sessions-C8p0uINc.js → register.status-health-sessions-v1KN3eEp.js} +75 -75
- package/dist/{register.subclis-CofZE_pt.js → register.subclis-DBEv5xOP.js} +9 -9
- package/dist/{registry-DP24za6g.js → registry-CK4e9hn8.js} +17 -17
- package/dist/{replies-DpPvWiGF.js → replies-BIX_isV7.js} +3 -3
- package/dist/{replies-vgss3_QA.js → replies-BL7IBg12.js} +1 -1
- package/dist/{reply-SBi_U7P7.js → reply-DVxU0AMq.js} +225 -137
- package/dist/{reply-prefix-CtL0omgM.js → reply-prefix-BLOOs1aW.js} +1 -1
- package/dist/{reply-prefix-CE2YmmsD.js → reply-prefix-XlyuyChD.js} +1 -1
- package/dist/{resolve-route-BMoTaVAH.js → resolve-route-BcnaXYvh.js} +2 -2
- package/dist/{resolve-route-BVikmvWO.js → resolve-route-CZ-1eqw0.js} +4 -4
- package/dist/{retry-dGG-MbxL.js → retry-Cly39XZB.js} +1 -1
- package/dist/{routes-Ba9CUQ8M.js → routes-CE-ohckF.js} +8 -8
- package/dist/{rpc-BfhojW8g.js → rpc-wovSCB5v.js} +1 -1
- package/dist/{run-main-BJaDO3WW.js → run-main-DspjiCY1.js} +14 -14
- package/dist/{runner-DUBExAb5.js → runner-BcQ0sF9T.js} +1 -1
- package/dist/{runner-CUglpiFP.js → runner-Cen70krW.js} +20 -20
- package/dist/{runner-CCSMfQee.js → runner-D0QUGA_X.js} +9 -9
- package/dist/{sandbox-C-T6hOMv.js → sandbox-BzNrUHpt.js} +18 -18
- package/dist/{sandbox-cli-BllVdQzR.js → sandbox-cli-CZrMO34w.js} +20 -20
- package/dist/{security-cli-BFLtWWHy.js → security-cli-CeBoEmeN.js} +36 -36
- package/dist/{send-DeEosX8F.js → send-B1u-LrcS.js} +18 -18
- package/dist/{send-Cutb0ZDY.js → send-BEeuDXqy.js} +6 -6
- package/dist/{send-tanEMpHN.js → send-BjdAgYLu.js} +6 -6
- package/dist/{send-CZr1hVHY.js → send-BnuIB59F.js} +13 -13
- package/dist/{send-CXxQ_f7L.js → send-C95ZRvja.js} +6 -6
- package/dist/{send-DwKJK3sM.js → send-CiTGOvEc.js} +10 -10
- package/dist/{send-zSarozV2.js → send-DW96zgDL.js} +6 -6
- package/dist/{send-CHEOWVc8.js → send-DeFniOjh.js} +6 -6
- package/dist/{send-DbcLJb0P.js → send-WyRqb4WD.js} +7 -7
- package/dist/{send-CPF8hSFp.js → send-dH0xroTu.js} +4 -4
- package/dist/{server-context-CEpFjqSk.js → server-context-DUXqnh6l.js} +5 -5
- package/dist/{server-methods-CyFB3XQf.js → server-methods-B9alalq5.js} +7 -7
- package/dist/{server-methods-Cm6W01ne.js → server-methods-BgBq7KRL.js} +54 -54
- package/dist/{server-node-events-Bhgt3xLw.js → server-node-events-BrBsrcCd.js} +63 -63
- package/dist/{server-node-events-CX1plxJz.js → server-node-events-DWG81_Fo.js} +2 -2
- package/dist/{service-Cl74hx8J.js → service--qMN5DPm.js} +15 -15
- package/dist/{session-DIBTkyvE.js → session-CsIk0Sqq.js} +2 -2
- package/dist/{session-DV1MNlbV.js → session-SM36BTsl.js} +8 -8
- package/dist/session-dirs-D3qlvucD.js +18 -0
- package/dist/{sessions-DgYpBvse.js → sessions-D5a7H247.js} +13 -13
- package/dist/{shared-Knv1hy6h.js → shared-Gi3l7nlY.js} +3 -3
- package/dist/{shared-BJvwnR5z.js → shared-Jm_QdQJQ.js} +1 -1
- package/dist/{skill-commands-D610IKhm.js → skill-commands-BJMb_psG.js} +9 -9
- package/dist/{skill-commands-Cxw-jNxU.js → skill-commands-ZXbEITKi.js} +5 -5
- package/dist/{skill-scanner-CLs8u6vQ.js → skill-scanner-CXg9eeyc.js} +5 -5
- package/dist/{skills-o5WVqM4V.js → skills-BFekKL7i.js} +21 -21
- package/dist/{skills-6jdJQ5ZL.js → skills-DqQUtOph.js} +4 -4
- package/dist/{skills-cli-BZTBLQTt.js → skills-cli-D1JL_utC.js} +7 -7
- package/dist/{skills-install-D67isO1L.js → skills-install-DjcTy3CT.js} +3 -3
- package/dist/{skills-status-CURJKnyY.js → skills-status-DS-NZQiq.js} +1 -1
- package/dist/{sqlite-Dx3J_aSE.js → sqlite-BV5ILFtC.js} +12 -12
- package/dist/{sqlite-6H6Zw1cs.js → sqlite-DRbx2dhW.js} +4 -4
- package/dist/{status-CwXg8OO1.js → status-CgPPKk09.js} +25 -25
- package/dist/{status-U_1mE-yc.js → status-CkJV2sl6.js} +3 -3
- package/dist/{status-BdmYV3_x.js → status-DqMwkAnF.js} +1 -1
- package/dist/{status-BBpD_1pG.js → status-DxodHhzX.js} +2 -2
- package/dist/{status.update-DtwCUTf-.js → status.update-CmGpjKSr.js} +3 -3
- package/dist/{store-vVE6N2mH.js → store-C0wvOkae.js} +2 -2
- package/dist/{store-r1DJSDq-.js → store-DvtcmOKj.js} +5 -5
- package/dist/{subagent-registry-Du9P0G2U.js → subagent-registry-CBklD0OL.js} +96 -8
- package/dist/{subsystem-DgpxyDQ_.js → subsystem-Bs9YvKLa.js} +1 -1
- package/dist/{symi-root-CrGJbkzf.js → symi-root-MF6_6SCS.js} +2 -2
- package/dist/{system-cli-UMsMEurS.js → system-cli-Buhvt_H5.js} +11 -11
- package/dist/{systemd-riq8uNJQ.js → systemd-AhJEsmIk.js} +5 -5
- package/dist/{systemd-hints-BR6gChwm.js → systemd-hints-Db0oImvK.js} +6 -6
- package/dist/{systemd-linger-aQ75ZlXY.js → systemd-linger-BXwqn1jL.js} +1 -1
- package/dist/{tables-BEzT0Da4.js → tables-C38rzF6E.js} +1 -1
- package/dist/{tables-BIWsCKXJ.js → tables-DuZspiBu.js} +1 -1
- package/dist/{target-errors-DyItGyW9.js → target-errors-Be1SwYlW.js} +2 -2
- package/dist/{target-errors-7AvoVa10.js → target-errors-CCz79CmV.js} +4 -4
- package/dist/{thinking-Ni0HF-w6.js → thinking-CdlENGRW.js} +5 -5
- package/dist/{tokens-c_SLAkVb.js → tokens-H1H1LiSQ.js} +1 -1
- package/dist/{tool-images-DvUBlqjX.js → tool-images-B-pqX3nX.js} +1 -1
- package/dist/{tool-images-DBCfXdli.js → tool-images-DXB7tqWi.js} +2 -2
- package/dist/{tool-loop-detection-Bbc9OPFR.js → tool-loop-detection-Cs8_HCsx.js} +3 -3
- package/dist/{tui-CriznorL.js → tui-C0A9W969.js} +7 -7
- package/dist/{tui-cli-CSIdfCTR.js → tui-cli-tCnkNdSx.js} +28 -28
- package/dist/{update-rw7wJwHd.js → update-Df4sEKtI.js} +3 -3
- package/dist/{update-check-CtckACbb.js → update-check-C0oYCI89.js} +5 -5
- package/dist/{update-cli-_45TJ3hZ.js → update-cli-BqdgQuYp.js} +8 -8
- package/dist/{update-cli-DJzF_9UX.js → update-cli-DYrpyu4a.js} +94 -94
- package/dist/{update-runner-BSQFv9b6.js → update-runner-BgzyPjF5.js} +15 -15
- package/dist/{update-runner-8Ac4bJ1w.js → update-runner-CmZW3aeK.js} +1 -1
- package/dist/{web-C1Zn8_qW.js → web-CfZp0Jv6.js} +6 -6
- package/dist/{web-BqRsq6mP.js → web-DNQzo8ao.js} +57 -57
- package/dist/web-DsCqmzyk.js +109 -0
- package/dist/{web-w-vV1rCZ.js → web-GL_nqURg.js} +1 -1
- package/dist/{webhooks-cli-cD58DWAE.js → webhooks-cli-Bp-7Rs2Y.js} +4 -4
- package/dist/{whatsapp-actions-DbcsdOH3.js → whatsapp-actions-CFXNPLco.js} +15 -15
- package/dist/{whatsapp-actions-oRQjcdQe.js → whatsapp-actions-D1RsnX7P.js} +23 -23
- package/dist/{with-timeout-gmK6RciS.js → with-timeout-Cs6_LnHB.js} +1 -1
- package/dist/{workspace-dirs-GpkFi6Kw.js → workspace-dirs-DKu48umx.js} +1 -1
- package/dist/{workspace-CbvamIU6.js → workspace-wAaHI8-5.js} +6 -6
- package/dist/{wsl-C4424szg.js → wsl-BbXxnokd.js} +2 -2
- package/package.json +1 -1
- package/dist/register.configure-Drr3E9OG.js +0 -147
- package/dist/web-BZSI7b07.js +0 -109
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-
|
|
1
|
+
import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-CK4e9hn8.js";
|
|
2
2
|
import { n as MANIFEST_KEY } from "./legacy-names-BHV4AoFT.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/host-env-security-policy.json
|
|
@@ -59,7 +59,7 @@ function isPathInside$1(basePath, candidatePath) {
|
|
|
59
59
|
}
|
|
60
60
|
function safeRealpathSync$1(filePath) {
|
|
61
61
|
try {
|
|
62
|
-
return
|
|
62
|
+
return fs.realpathSync(filePath);
|
|
63
63
|
} catch {
|
|
64
64
|
return null;
|
|
65
65
|
}
|
|
@@ -226,13 +226,13 @@ function resolveBundledPluginsDir() {
|
|
|
226
226
|
try {
|
|
227
227
|
const execDir = path.dirname(process.execPath);
|
|
228
228
|
const sibling = path.join(execDir, "extensions");
|
|
229
|
-
if (
|
|
229
|
+
if (fs.existsSync(sibling)) return sibling;
|
|
230
230
|
} catch {}
|
|
231
231
|
try {
|
|
232
232
|
let cursor = path.dirname(fileURLToPath(import.meta.url));
|
|
233
233
|
for (let i = 0; i < 6; i += 1) {
|
|
234
234
|
const candidate = path.join(cursor, "extensions");
|
|
235
|
-
if (
|
|
235
|
+
if (fs.existsSync(candidate)) return candidate;
|
|
236
236
|
const parent = path.dirname(cursor);
|
|
237
237
|
if (parent === cursor) break;
|
|
238
238
|
cursor = parent;
|
|
@@ -251,20 +251,20 @@ function normalizeStringList(value) {
|
|
|
251
251
|
function resolvePluginManifestPath(rootDir) {
|
|
252
252
|
for (const filename of PLUGIN_MANIFEST_FILENAMES) {
|
|
253
253
|
const candidate = path.join(rootDir, filename);
|
|
254
|
-
if (
|
|
254
|
+
if (fs.existsSync(candidate)) return candidate;
|
|
255
255
|
}
|
|
256
256
|
return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
|
|
257
257
|
}
|
|
258
258
|
function loadPluginManifest(rootDir) {
|
|
259
259
|
const manifestPath = resolvePluginManifestPath(rootDir);
|
|
260
|
-
if (!
|
|
260
|
+
if (!fs.existsSync(manifestPath)) return {
|
|
261
261
|
ok: false,
|
|
262
262
|
error: `plugin manifest not found: ${manifestPath}`,
|
|
263
263
|
manifestPath
|
|
264
264
|
};
|
|
265
265
|
let raw;
|
|
266
266
|
try {
|
|
267
|
-
raw = JSON.parse(
|
|
267
|
+
raw = JSON.parse(fs.readFileSync(manifestPath, "utf-8"));
|
|
268
268
|
} catch (err) {
|
|
269
269
|
return {
|
|
270
270
|
ok: false,
|
|
@@ -331,7 +331,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
331
331
|
const cached = cache?.get(targetPath);
|
|
332
332
|
if (cached) return cached;
|
|
333
333
|
try {
|
|
334
|
-
const resolved =
|
|
334
|
+
const resolved = fs.realpathSync(targetPath);
|
|
335
335
|
cache?.set(targetPath, resolved);
|
|
336
336
|
return resolved;
|
|
337
337
|
} catch {
|
|
@@ -340,7 +340,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
340
340
|
}
|
|
341
341
|
function safeStatSync(targetPath) {
|
|
342
342
|
try {
|
|
343
|
-
return
|
|
343
|
+
return fs.statSync(targetPath);
|
|
344
344
|
} catch {
|
|
345
345
|
return null;
|
|
346
346
|
}
|
|
@@ -454,9 +454,9 @@ function isExtensionFile(filePath) {
|
|
|
454
454
|
}
|
|
455
455
|
function readPackageManifest(dir) {
|
|
456
456
|
const manifestPath = path.join(dir, "package.json");
|
|
457
|
-
if (!
|
|
457
|
+
if (!fs.existsSync(manifestPath)) return null;
|
|
458
458
|
try {
|
|
459
|
-
const raw =
|
|
459
|
+
const raw = fs.readFileSync(manifestPath, "utf-8");
|
|
460
460
|
return JSON.parse(raw);
|
|
461
461
|
} catch {
|
|
462
462
|
return null;
|
|
@@ -514,10 +514,10 @@ function resolvePackageEntrySource(params) {
|
|
|
514
514
|
return source;
|
|
515
515
|
}
|
|
516
516
|
function discoverInDirectory(params) {
|
|
517
|
-
if (!
|
|
517
|
+
if (!fs.existsSync(params.dir)) return;
|
|
518
518
|
let entries = [];
|
|
519
519
|
try {
|
|
520
|
-
entries =
|
|
520
|
+
entries = fs.readdirSync(params.dir, { withFileTypes: true });
|
|
521
521
|
} catch (err) {
|
|
522
522
|
params.diagnostics.push({
|
|
523
523
|
level: "warn",
|
|
@@ -579,7 +579,7 @@ function discoverInDirectory(params) {
|
|
|
579
579
|
"index.js",
|
|
580
580
|
"index.mjs",
|
|
581
581
|
"index.cjs"
|
|
582
|
-
].map((candidate) => path.join(fullPath, candidate)).find((candidate) =>
|
|
582
|
+
].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fs.existsSync(candidate));
|
|
583
583
|
if (indexFile && isExtensionFile(indexFile)) addCandidate({
|
|
584
584
|
candidates: params.candidates,
|
|
585
585
|
diagnostics: params.diagnostics,
|
|
@@ -597,7 +597,7 @@ function discoverInDirectory(params) {
|
|
|
597
597
|
}
|
|
598
598
|
function discoverFromPath(params) {
|
|
599
599
|
const resolved = resolveUserPath(params.rawPath);
|
|
600
|
-
if (!
|
|
600
|
+
if (!fs.existsSync(resolved)) {
|
|
601
601
|
params.diagnostics.push({
|
|
602
602
|
level: "error",
|
|
603
603
|
message: `plugin path not found: ${resolved}`,
|
|
@@ -605,7 +605,7 @@ function discoverFromPath(params) {
|
|
|
605
605
|
});
|
|
606
606
|
return;
|
|
607
607
|
}
|
|
608
|
-
const stat =
|
|
608
|
+
const stat = fs.statSync(resolved);
|
|
609
609
|
if (stat.isFile()) {
|
|
610
610
|
if (!isExtensionFile(resolved)) {
|
|
611
611
|
params.diagnostics.push({
|
|
@@ -665,7 +665,7 @@ function discoverFromPath(params) {
|
|
|
665
665
|
"index.js",
|
|
666
666
|
"index.mjs",
|
|
667
667
|
"index.cjs"
|
|
668
|
-
].map((candidate) => path.join(resolved, candidate)).find((candidate) =>
|
|
668
|
+
].map((candidate) => path.join(resolved, candidate)).find((candidate) => fs.existsSync(candidate));
|
|
669
669
|
if (indexFile && isExtensionFile(indexFile)) {
|
|
670
670
|
addCandidate({
|
|
671
671
|
candidates: params.candidates,
|
|
@@ -779,7 +779,7 @@ function buildCacheKey(params) {
|
|
|
779
779
|
}
|
|
780
780
|
function safeStatMtimeMs(filePath) {
|
|
781
781
|
try {
|
|
782
|
-
return
|
|
782
|
+
return fs.statSync(filePath).mtimeMs;
|
|
783
783
|
} catch {
|
|
784
784
|
return null;
|
|
785
785
|
}
|
|
@@ -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-BAyxWQSz.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-DQYI3Fr-.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -2,14 +2,14 @@ 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 { q as resolveApiKeyForProvider } from "./model-selection-
|
|
7
|
-
import { C as parseDurationMs, i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
5
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BRwEc2pG.js";
|
|
6
|
+
import { q as resolveApiKeyForProvider } from "./model-selection-X1oLh3CE.js";
|
|
7
|
+
import { C as parseDurationMs, i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CJMcIRQM.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-BF3TeRH2.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CyhzMxFA.js";
|
|
10
|
-
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-
|
|
10
|
+
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-BV5ILFtC.js";
|
|
11
11
|
import { t as splitShellArgs } from "./shell-argv-BbiXH_xm.js";
|
|
12
|
-
import { n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
12
|
+
import { n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-C1CfGzZ2.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
14
14
|
import { r as withManager } from "./cli-utils-DN_hM6ov.js";
|
|
15
15
|
import { t as formatHelpExamples } from "./help-format-B_-M23wP.js";
|
|
@@ -17,7 +17,7 @@ import { n as withProgress, r as withProgressTotals } from "./progress-jIePzvGA.
|
|
|
17
17
|
import fs from "node:fs";
|
|
18
18
|
import os from "node:os";
|
|
19
19
|
import path from "node:path";
|
|
20
|
-
import
|
|
20
|
+
import fsPromises from "node:fs/promises";
|
|
21
21
|
|
|
22
22
|
//#region src/memory/backend-config.ts
|
|
23
23
|
const DEFAULT_BACKEND = "builtin";
|
|
@@ -214,7 +214,7 @@ async function getMemorySearchManager(params) {
|
|
|
214
214
|
if (cached) return { manager: cached };
|
|
215
215
|
}
|
|
216
216
|
try {
|
|
217
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
217
|
+
const { QmdMemoryManager } = await import("./qmd-manager-BP2r8b1D.js");
|
|
218
218
|
const primary = await QmdMemoryManager.create({
|
|
219
219
|
cfg: params.cfg,
|
|
220
220
|
agentId: params.agentId,
|
|
@@ -226,7 +226,7 @@ async function getMemorySearchManager(params) {
|
|
|
226
226
|
const wrapper = new FallbackMemoryManager({
|
|
227
227
|
primary,
|
|
228
228
|
fallbackFactory: async () => {
|
|
229
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
229
|
+
const { MemoryIndexManager } = await import("./manager-C1CfGzZ2.js").then((n) => n.t);
|
|
230
230
|
return await MemoryIndexManager.get(params);
|
|
231
231
|
}
|
|
232
232
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -239,7 +239,7 @@ async function getMemorySearchManager(params) {
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
try {
|
|
242
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
242
|
+
const { MemoryIndexManager } = await import("./manager-C1CfGzZ2.js").then((n) => n.t);
|
|
243
243
|
return { manager: await MemoryIndexManager.get(params) };
|
|
244
244
|
} catch (err) {
|
|
245
245
|
return {
|
|
@@ -421,7 +421,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
421
421
|
}
|
|
422
422
|
async function checkReadableFile(pathname) {
|
|
423
423
|
try {
|
|
424
|
-
await
|
|
424
|
+
await fsPromises.access(pathname, fs.constants.R_OK);
|
|
425
425
|
return { exists: true };
|
|
426
426
|
} catch (err) {
|
|
427
427
|
const code = err.code;
|
|
@@ -438,7 +438,7 @@ async function scanSessionFiles(agentId) {
|
|
|
438
438
|
try {
|
|
439
439
|
return {
|
|
440
440
|
source: "sessions",
|
|
441
|
-
totalFiles: (await
|
|
441
|
+
totalFiles: (await fsPromises.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
|
|
442
442
|
issues
|
|
443
443
|
};
|
|
444
444
|
} catch (err) {
|
|
@@ -470,7 +470,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
470
470
|
if (alt.issue) issues.push(alt.issue);
|
|
471
471
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
472
472
|
for (const extraPath of resolvedExtraPaths) try {
|
|
473
|
-
if ((await
|
|
473
|
+
if ((await fsPromises.lstat(extraPath)).isSymbolicLink()) continue;
|
|
474
474
|
const extraCheck = await checkReadableFile(extraPath);
|
|
475
475
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
476
476
|
} catch (err) {
|
|
@@ -480,7 +480,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
480
480
|
}
|
|
481
481
|
let dirReadable = null;
|
|
482
482
|
try {
|
|
483
|
-
await
|
|
483
|
+
await fsPromises.access(memoryDir, fs.constants.R_OK);
|
|
484
484
|
dirReadable = true;
|
|
485
485
|
} catch (err) {
|
|
486
486
|
const code = err.code;
|
|
@@ -528,7 +528,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
528
528
|
if (!dbPath) return null;
|
|
529
529
|
let stat;
|
|
530
530
|
try {
|
|
531
|
-
stat = await
|
|
531
|
+
stat = await fsPromises.stat(dbPath);
|
|
532
532
|
} catch (err) {
|
|
533
533
|
const code = err.code;
|
|
534
534
|
if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-
|
|
1
|
+
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-CK4e9hn8.js";
|
|
2
2
|
|
|
3
3
|
//#region src/gateway/protocol/client-info.ts
|
|
4
4
|
const GATEWAY_CLIENT_IDS = {
|
|
@@ -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-X1oLh3CE.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,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-
|
|
2
|
+
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-Cce4PUkG.js";
|
|
3
3
|
import { t as DEFAULT_AGENT_ID } from "./session-key-BCzIW1Y2.js";
|
|
4
|
-
import { I as resolveUserPath } from "./registry-
|
|
5
|
-
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-
|
|
4
|
+
import { I as resolveUserPath } from "./registry-CK4e9hn8.js";
|
|
5
|
+
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-BxoUQqgM.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
|
|
7
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-BaxDnULz.js";
|
|
8
|
+
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-C_qUP7p5.js";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fs$1 from "node:fs";
|
|
12
12
|
import { execFileSync } from "node:child_process";
|
|
13
13
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
14
14
|
import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
@@ -2959,7 +2959,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
|
|
|
2959
2959
|
return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
|
|
2960
2960
|
}
|
|
2961
2961
|
function ensureAuthStoreFile(pathname) {
|
|
2962
|
-
if (
|
|
2962
|
+
if (fs$1.existsSync(pathname)) return;
|
|
2963
2963
|
saveJsonFile(pathname, {
|
|
2964
2964
|
version: AUTH_STORE_VERSION,
|
|
2965
2965
|
profiles: {}
|
|
@@ -3128,7 +3128,7 @@ function loadAuthProfileStoreForAgent(agentDir, _options) {
|
|
|
3128
3128
|
if (shouldWrite && legacy !== null) {
|
|
3129
3129
|
const legacyPath = resolveLegacyAuthStorePath(agentDir);
|
|
3130
3130
|
try {
|
|
3131
|
-
|
|
3131
|
+
fs$1.unlinkSync(legacyPath);
|
|
3132
3132
|
} catch (err) {
|
|
3133
3133
|
if (err?.code !== "ENOENT") log$1.warn("failed to delete legacy auth.json after migration", {
|
|
3134
3134
|
err,
|
|
@@ -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-X1oLh3CE.js";
|
|
2
|
+
import { i as loadConfig } from "./config-CJMcIRQM.js";
|
|
3
|
+
import { t as ensureSymiModelsJson } from "./models-config-CqDdkHJq.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-CCneTXUh.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-X1oLh3CE.js";
|
|
3
|
+
import { n as loadModelCatalog } from "./model-catalog-C3NLvWC2.js";
|
|
4
|
+
import { i as formatTokenK } from "./shared-Gi3l7nlY.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-BRwEc2pG.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 fsPromises 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 fsPromises.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 fsPromises.mkdir(dir, { recursive: true });
|
|
124
124
|
try {
|
|
125
|
-
const realDir = await
|
|
125
|
+
const realDir = await fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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-CaX_1WHk.j
|
|
|
7
7
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-DiCH8rkE.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-DHBLS1Hl.js";
|
|
10
|
-
import { _n as
|
|
10
|
+
import { _n as maskApiKey, bn as formatRemainingShort, in as loadProviderUsageSummary, l as runEmbeddedPiAgent, on as formatUsageWindowSummary, sn as resolveUsageProviderId, vn as DEFAULT_OAUTH_WARN_MS, vt as describeFailoverError, yn as buildAuthHealthSummary } from "./subagent-registry-CBklD0OL.js";
|
|
11
11
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
12
12
|
import { t as ensureSymiModelsJson } from "./models-config-CCMpqFyr.js";
|
|
13
13
|
import { n as loadModelCatalog } from "./model-catalog-CqCsARJX.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-D8K9MkWg.js";
|
|
22
22
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-Cmrk2TPo.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-B-YsKbwc.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";
|