@symerian/symi 2.3.3 → 2.3.4
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-BgyJMtqt.js → acp-cli-Cu4icbJT.js} +6 -6
- package/dist/{agent-scope-BRwEc2pG.js → agent-scope-CgUHAtCo.js} +18 -18
- package/dist/{agents-DjLt6jc3.js → agents-E_Ere0qU.js} +4 -4
- package/dist/{agents.config-u_ibObha.js → agents.config-Cv_wsBXL.js} +2 -2
- package/dist/{agents.config-Dt7B_P5o.js → agents.config-DJTb7Jka.js} +1 -1
- package/dist/{api-key-rotation-CEr3lKih.js → api-key-rotation-CzuPlV2t.js} +1 -1
- package/dist/{audio-preflight-CPBOQV4I.js → audio-preflight-C40mKAp7.js} +4 -4
- package/dist/{audio-preflight-CjysqO8U.js → audio-preflight-CWnxkaac.js} +28 -28
- package/dist/{audio-preflight-D02HwB-I.js → audio-preflight-O3ASWbaG.js} +4 -4
- package/dist/{audit-BSB9NPSO.js → audit-CrITRV6w.js} +23 -23
- package/dist/{auth-choice-DUUu6Nhg.js → auth-choice-B3D_jLQw.js} +1 -1
- package/dist/{auth-choice-DmSG7c8J.js → auth-choice-D8ynWABO.js} +8 -8
- package/dist/{auth-token-DC5w1WoS.js → auth-token-BnOynwk4.js} +1 -1
- package/dist/{banner-BiAcdT2T.js → banner-ChYzCy5p.js} +1 -1
- package/dist/{bindings-ChzePa8q.js → bindings-DFaVVCsf.js} +1 -1
- package/dist/{browser-cli-C4D9Ql3c.js → browser-cli-BG4qPxpM.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-Dd7-bkfG.js → call-CJaS1iRF.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-vQREpu-n.js → channel-options-BYUiEgev.js} +2 -2
- package/dist/{channel-options-ClfXE1B7.js → channel-options-CMNzHg4p.js} +1 -1
- package/dist/{channel-selection-DjfBv8kq.js → channel-selection-DuWs0Aak.js} +1 -1
- package/dist/{channel-web-y6pd_GHr.js → channel-web-C-HLPbLL.js} +17 -17
- package/dist/{channels-cli-CjYD1_OO.js → channels-cli-CcCmH-Tp.js} +75 -75
- package/dist/{channels-cli-suXRcyfF.js → channels-cli-CyhXPEWq.js} +4 -4
- package/dist/{channels-status-issues-BoH1ZJPN.js → channels-status-issues-B_kBkl_u.js} +1 -1
- package/dist/{chrome-EyvdASWt.js → chrome-BFekevcE.js} +7 -7
- package/dist/{chrome-D2SKJnR7.js → chrome-CDJYxX5a.js} +7 -7
- package/dist/{chrome-r4RThPxq.js → chrome-DtPkPq9T.js} +2 -2
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-B-911QZL.js → cli-Cp-NQ7yu.js} +62 -62
- package/dist/{cli-mbfUlFn3.js → cli-Gcuf3NTF.js} +1 -1
- package/dist/{client-BsrZnuSi.js → client-CQSyCS4M.js} +1 -1
- package/dist/{command-registry-y8CXSD5O.js → command-registry-Cvr_dlLY.js} +9 -9
- package/dist/{commands-CtocZ4Lg.js → commands-BNLCWX6e.js} +1 -1
- package/dist/{commands-registry-BZ0ZSQpM.js → commands-registry-BT0-zzs3.js} +3 -3
- package/dist/{completion-cli-2Mi5hts2.js → completion-cli-DDlYn0ya.js} +2 -2
- package/dist/{completion-cli-BLrwUAyo.js → completion-cli-DaOHSXM3.js} +12 -12
- package/dist/{config-CJMcIRQM.js → config-CHwyw6l5.js} +2 -2
- package/dist/{config-cli-tYZAnvgQ.js → config-cli-BcuAsDOu.js} +1 -1
- package/dist/{config-cli-CF-wdLkO.js → config-cli-CmUPAVUz.js} +4 -4
- package/dist/{config-guard-C1Rs8NZG.js → config-guard-BflmO0t7.js} +12 -12
- package/dist/{config-validation-ChQQVndI.js → config-validation-CmimHAES.js} +1 -1
- package/dist/{configure-si19m30s.js → configure-Ctwt1377.js} +3 -3
- package/dist/{configure-BHKdqhLb.js → configure-OxYdT2hU.js} +15 -15
- package/dist/{control-service-B8H3Bqpv.js → control-service-Bz7rxLWq.js} +4 -4
- package/dist/{control-ui-assets-DqGziq7x.js → control-ui-assets-Z947tKLt.js} +1 -1
- package/dist/{cron-cli-YrMWJCkm.js → cron-cli-DBIlCvp3.js} +10 -10
- package/dist/{daemon-cli-Dx4SXRyp.js → daemon-cli-DscwlsKW.js} +11 -11
- package/dist/{daemon-runtime--RiRUx_2.js → daemon-runtime-2mwX-jqj.js} +10 -10
- package/dist/{deliver-C-37cZUe.js → deliver-BH0l3UKW.js} +1 -1
- package/dist/{deliver-Um8yyhRA.js → deliver-CceEhg3d.js} +7 -7
- package/dist/{deliver-D1ZN6-fl.js → deliver-CvCK5Mm9.js} +1 -1
- package/dist/{devices-cli-DAJ84AOe.js → devices-cli-Dds-25Ve.js} +6 -6
- package/dist/{diagnostics-D2yUMZN1.js → diagnostics-BAMlsVVX.js} +5 -5
- package/dist/{directory-cli-C4h8KQLH.js → directory-cli-CpUByQew.js} +7 -7
- package/dist/{dm-policy-shared-BCSw0GJS.js → dm-policy-shared-Bh3TbexU.js} +2 -2
- package/dist/{dns-cli-s0ZWvTPm.js → dns-cli-Beyzdh3S.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-C19QYsQN.js → doctor-completion-D7ShsgUp.js} +2 -2
- package/dist/{doctor-completion-Dn_Kn4gz.js → doctor-completion-Dw78bQaQ.js} +1 -1
- package/dist/{doctor-config-flow-D05HlWdn.js → doctor-config-flow-QnaBd8kL.js} +10 -10
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-Df1lyRyE.js → exec-approvals-cli-BliRl8VB.js} +13 -13
- package/dist/extensionAPI.js +6 -6
- package/dist/{fs-safe-CTDvb1DF.js → fs-safe-CUjO1ca2.js} +6 -6
- package/dist/{gateway-cli-B7khyAHs.js → gateway-cli-Bd7u0krH.js} +126 -121
- package/dist/{gateway-cli-DG_Mdw0H.js → gateway-cli-D7nxPtEc.js} +22 -17
- package/dist/{gateway-rpc-DFeD8pZh.js → gateway-rpc-BxkKeCZ0.js} +1 -1
- package/dist/{glass-ui-ws-BmQAULMj.js → glass-ui-ws-CzH0ikhI.js} +82 -82
- package/dist/{glass-ui-ws-BAub_JoN.js → glass-ui-ws-DBivjzVA.js} +7 -7
- package/dist/{health-CboWXJkq.js → health-BSOMI4B6.js} +1 -1
- package/dist/{health-DkKXiUEF.js → health-rR61mwm3.js} +13 -13
- package/dist/{hooks-cli-DLM_5caf.js → hooks-cli-BbiA-gGi.js} +2 -2
- package/dist/{hooks-cli-BrO_9pas.js → hooks-cli-dS4fMEKE.js} +76 -76
- package/dist/{image-Cp3JDEBB.js → image-B0wGflxA.js} +1 -1
- package/dist/{image-DcpMiprB.js → image-CHzdaNJ4.js} +1 -1
- package/dist/{image-BiY-PfMh.js → image-D9uvDTrc.js} +3 -3
- 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-BkPSoGM2.js → lifecycle-core-D6LYXpFj.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-1sleXoB4.js → login-dIlDkG4X.js} +3 -3
- package/dist/{login-qr-wCWBOMwB.js → login-qr-pbXdFORv.js} +5 -5
- package/dist/{logs-cli-DVeEdUCU.js → logs-cli-xOzIPrHm.js} +7 -7
- package/dist/{manager-C1CfGzZ2.js → manager-D4LJSRyZ.js} +13 -13
- package/dist/{markdown-tables-ZwP14ydw.js → markdown-tables-CEbN0fEm.js} +1 -1
- package/dist/{memory-cli-lk6fRiwy.js → memory-cli-Ca5r9AUb.js} +14 -14
- package/dist/{model-catalog-C3NLvWC2.js → model-catalog-DvBJ8pMD.js} +4 -4
- package/dist/{model-picker-LKZLY2DL.js → model-picker-Ddo3jHe-.js} +3 -3
- package/dist/{model-selection-X1oLh3CE.js → model-selection-CyFvYcRt.js} +9 -9
- package/dist/{model-CeeOcylL.js → model-tWhwnFf8.js} +1 -1
- package/dist/{models-BmiRYEVd.js → models-DqE1s0YL.js} +2 -2
- package/dist/{models-cli-Tf61I97Q.js → models-cli-6v9jkDxp.js} +3 -3
- package/dist/{models-cli-4vQrbW6G.js → models-cli-BWC7jYp4.js} +72 -72
- package/dist/{models-config-CqDdkHJq.js → models-config-qyOXrOli.js} +7 -7
- package/dist/{node-cli-Jj2LTGzF.js → node-cli-C_G-Q3h-.js} +28 -28
- package/dist/{node-service-CJygtY5M.js → node-service-Cxz4e-Qd.js} +1 -1
- package/dist/{nodes-cli-C43ifECe.js → nodes-cli-BcnuJajV.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-D8uxVvMq.js → onboard-BUEYf2m9.js} +13 -13
- package/dist/{onboard-FpptSqHZ.js → onboard-Bxoibs4p.js} +2 -2
- package/dist/{onboard-channels-Q_xxgZ8O.js → onboard-channels-C3UYzZNC.js} +1 -1
- package/dist/{onboard-channels-DOKid2w1.js → onboard-channels-af6Cu6fT.js} +5 -5
- package/dist/{onboard-custom-DPJiy9aT.js → onboard-custom-C7O-zfQ1.js} +3 -3
- package/dist/{onboard-helpers-Dixh6cNh.js → onboard-helpers-ZmZYzlq3.js} +8 -8
- package/dist/{onboard-hooks-lsws7g2s.js → onboard-hooks-BAA8CoVv.js} +1 -1
- package/dist/{onboard-remote-B66ZWtkN.js → onboard-remote-zUjD7UtM.js} +1 -1
- package/dist/{onboard-skills-B0IA09ig.js → onboard-skills-BB0YhUmF.js} +4 -4
- package/dist/{onboarding-DhIEUmp5.js → onboarding-CDdMZbov.js} +3 -3
- package/dist/{onboarding-CdlGKa0U.js → onboarding-DW-7o6Ln.js} +13 -13
- package/dist/{onboarding.finalize-CEYLIXkq.js → onboarding.finalize-29jsMLO2.js} +6 -6
- package/dist/{onboarding.finalize-DyBsPxXJ.js → onboarding.finalize-BI70KOeI.js} +74 -74
- package/dist/{onboarding.gateway-config-CCJqI0kw.js → onboarding.gateway-config-CJUgDC6Y.js} +14 -14
- package/dist/{openai-model-default-BJ1IZ3TN.js → openai-model-default-DMjQRsb1.js} +2 -2
- package/dist/{outbound-NJCy0h4x.js → outbound-DB5Zus0-.js} +4 -4
- package/dist/{outbound-attachment-D62E0xDI.js → outbound-attachment-D_QuKi8U.js} +2 -2
- package/dist/{pairing-cli-CcW0ndhB.js → pairing-cli-CBLfGvqW.js} +8 -8
- package/dist/{pairing-labels-27SOKDzJ.js → pairing-labels-2S6x2UoV.js} +1 -1
- package/dist/{pairing-store-B8ktu-6j.js → pairing-store-CK726Dzq.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-CCneTXUh.js → pi-auth-json-DayrlDg_.js} +3 -3
- package/dist/{pi-embedded-BThV36aG.js → pi-embedded-JXvD5-F-.js} +46 -19
- package/dist/{pi-embedded-wr4HXhzm.js → pi-embedded-PkSwAmVq.js} +46 -19
- package/dist/{pi-embedded-helpers-DO6u9K2t.js → pi-embedded-helpers-CNPyv_ax.js} +6 -6
- package/dist/{pi-embedded-helpers-ag2bosuj.js → pi-embedded-helpers-DLFjnVBb.js} +4 -4
- package/dist/{pi-embedded-helpers-B8kqLWns.js → pi-embedded-helpers-lgx_U5KS.js} +4 -4
- package/dist/{pi-tools.policy-juZV2uUv.js → pi-tools.policy-CIDBbw6x.js} +4 -4
- package/dist/{plugin-auto-enable-Bbm7MwFV.js → plugin-auto-enable-BzX1uAKy.js} +2 -2
- package/dist/{plugin-registry-DvWWctC9.js → plugin-registry-B7AdPXfF.js} +1 -1
- package/dist/{plugin-registry-lWWSu9UD.js → plugin-registry-Reem6P3K.js} +3 -3
- package/dist/plugin-sdk/agents/model-token-filter.d.ts +11 -0
- package/dist/plugin-sdk/{channel-web-BnrTC55Y.js → channel-web-CM7A3Y7G.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-kuMxu6Q4.js → reply-CDloTGFF.js} +32 -5
- package/dist/plugin-sdk/{web-TMIhKQyF.js → web-CWNoMlnF.js} +2 -2
- package/dist/{plugins-BAyxWQSz.js → plugins-DKDeQZF0.js} +2 -2
- package/dist/{plugins-cli-wlWRx4Oj.js → plugins-cli-B-6wVg3A.js} +2 -2
- package/dist/{plugins-cli-BHfzYAq6.js → plugins-cli-V8mTTTnD.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-CKy7s-bm.js → program-DBtlRiFS.js} +7 -7
- package/dist/{program-context-D4gbh6dg.js → program-context-BHPNVgg2.js} +39 -39
- package/dist/{prompt-select-styled-bh0GLMiQ.js → prompt-select-styled-Bh-zAqW1.js} +4 -4
- package/dist/{prompt-select-styled-DlGPNq9c.js → prompt-select-styled-Cup1c9RJ.js} +38 -38
- package/dist/{provider-auth-helpers-Bd5VVReu.js → provider-auth-helpers-BNmU48Ez.js} +5 -5
- package/dist/{provider-auth-helpers-B-YsKbwc.js → provider-auth-helpers-CiuLdUK3.js} +1 -1
- package/dist/{push-apns-ByyOJyDl.js → push-apns-8VJkVSdh.js} +1 -1
- package/dist/{push-apns-0et2AR44.js → push-apns-9zUNNHgy.js} +4 -4
- package/dist/{pw-ai-Ch7liUOW.js → pw-ai-BnAKvSuw.js} +1 -1
- package/dist/{pw-ai-1htA-NnS.js → pw-ai-De-KR9_s.js} +1 -1
- package/dist/{pw-ai-MVzi113V.js → pw-ai-DqL87js3.js} +7 -7
- package/dist/{qmd-manager-BP2r8b1D.js → qmd-manager-D85GJrir.js} +18 -18
- package/dist/{qr-cli-17laLZm_.js → qr-cli-jd9LdZpq.js} +3 -3
- package/dist/{register.agent-oKma6YjU.js → register.agent-BtNmleKV.js} +6 -6
- package/dist/{register.agent-Dhijhxr5.js → register.agent-DnglG42G.js} +81 -81
- package/dist/{register.configure-BX8vQ2Np.js → register.configure-CLW9tdE4.js} +6 -6
- package/dist/register.configure-DfQOfV1W.js +147 -0
- package/dist/{register.maintenance-OJCduNdt.js → register.maintenance-BQfMsgo7.js} +8 -8
- package/dist/{register.maintenance-B3TPb969.js → register.maintenance-jFYcRLEN.js} +84 -84
- package/dist/{register.message-D0aswsGo.js → register.message-BhoZYcqM.js} +63 -63
- package/dist/{register.message-CX8C_Fds.js → register.message-DUsBvFSF.js} +2 -2
- package/dist/{register.onboard-CSepiSPt.js → register.onboard-BBwhoeoE.js} +4 -4
- package/dist/{register.onboard-BHTyEs6d.js → register.onboard-DQOkpYBY.js} +74 -74
- package/dist/{register.setup-lZSHKiGQ.js → register.setup-6jlL3L1h.js} +4 -4
- package/dist/{register.setup-uhpgkBjU.js → register.setup-Ca6khTSz.js} +77 -77
- package/dist/{register.status-health-sessions-Cbavf8do.js → register.status-health-sessions-DQDXZYI3.js} +3 -3
- package/dist/{register.status-health-sessions-v1KN3eEp.js → register.status-health-sessions-DsYNMl06.js} +75 -75
- package/dist/{register.subclis-DBEv5xOP.js → register.subclis-DJf3ihsW.js} +9 -9
- package/dist/{replies-BL7IBg12.js → replies-vgss3_QA.js} +1 -1
- package/dist/{reply-DVxU0AMq.js → reply-DSjeqLEz.js} +161 -134
- 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-CE-ohckF.js → routes-Ba9CUQ8M.js} +8 -8
- package/dist/{rpc-wovSCB5v.js → rpc-BfhojW8g.js} +1 -1
- package/dist/{run-main-DspjiCY1.js → run-main-B2coomPj.js} +14 -14
- package/dist/{runner-Cen70krW.js → runner-CUglpiFP.js} +20 -20
- package/dist/{runner-BcQ0sF9T.js → runner-DUBExAb5.js} +1 -1
- package/dist/{runner-D0QUGA_X.js → runner-odEv83vv.js} +1 -1
- package/dist/{sandbox-BzNrUHpt.js → sandbox-C-T6hOMv.js} +18 -18
- package/dist/{sandbox-cli-CZrMO34w.js → sandbox-cli-BllVdQzR.js} +20 -20
- package/dist/{security-cli-CeBoEmeN.js → security-cli-BFLtWWHy.js} +36 -36
- package/dist/{send-dH0xroTu.js → send-CPF8hSFp.js} +4 -4
- package/dist/{send-C95ZRvja.js → send-CXxQ_f7L.js} +6 -6
- package/dist/{send-BnuIB59F.js → send-CZr1hVHY.js} +13 -13
- package/dist/{send-BEeuDXqy.js → send-Cutb0ZDY.js} +6 -6
- package/dist/{send-BjdAgYLu.js → send-tanEMpHN.js} +6 -6
- package/dist/{server-context-DUXqnh6l.js → server-context-CEpFjqSk.js} +5 -5
- package/dist/{server-methods-B9alalq5.js → server-methods-DHo5e8Gj.js} +7 -7
- package/dist/{server-methods-BgBq7KRL.js → server-methods-QNBQbsvr.js} +54 -54
- package/dist/{server-node-events-DWG81_Fo.js → server-node-events-CJOo8WcL.js} +2 -2
- package/dist/{server-node-events-BrBsrcCd.js → server-node-events-D_S0NRCQ.js} +63 -63
- package/dist/{service--qMN5DPm.js → service-Cl74hx8J.js} +15 -15
- package/dist/{session-CsIk0Sqq.js → session-DIBTkyvE.js} +2 -2
- package/dist/{sessions-D5a7H247.js → sessions-DgYpBvse.js} +13 -13
- package/dist/{shared-Jm_QdQJQ.js → shared-BJvwnR5z.js} +1 -1
- package/dist/{shared-Gi3l7nlY.js → shared-Knv1hy6h.js} +3 -3
- package/dist/{skill-commands-ZXbEITKi.js → skill-commands-Cxw-jNxU.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-D1JL_utC.js → skills-cli-BZTBLQTt.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-DxodHhzX.js → status-4DaGE8j5.js} +2 -2
- package/dist/{status-CgPPKk09.js → status-B8yaGk2o.js} +25 -25
- package/dist/{status-DqMwkAnF.js → status-D_J6qcC1.js} +1 -1
- package/dist/{status-CkJV2sl6.js → status-kfEtYX22.js} +3 -3
- package/dist/{status.update-CmGpjKSr.js → status.update-DtwCUTf-.js} +3 -3
- package/dist/{store-DvtcmOKj.js → store-r1DJSDq-.js} +5 -5
- package/dist/{subagent-registry-CBklD0OL.js → subagent-registry-CyW0EDWw.js} +32 -5
- package/dist/{symi-root-MF6_6SCS.js → symi-root-CrGJbkzf.js} +2 -2
- package/dist/{system-cli-Buhvt_H5.js → system-cli-UMsMEurS.js} +11 -11
- package/dist/{systemd-hints-Db0oImvK.js → systemd-hints-BR6gChwm.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-C0A9W969.js → tui-CriznorL.js} +7 -7
- package/dist/{tui-cli-tCnkNdSx.js → tui-cli-CSIdfCTR.js} +28 -28
- package/dist/{update-check-C0oYCI89.js → update-check-CtckACbb.js} +5 -5
- package/dist/{update-cli-BqdgQuYp.js → update-cli-C-ZGqknl.js} +8 -8
- package/dist/{update-cli-DYrpyu4a.js → update-cli-DJupxo-f.js} +94 -94
- package/dist/{update-runner-BgzyPjF5.js → update-runner-AiIhp7fw.js} +15 -15
- package/dist/{update-runner-CmZW3aeK.js → update-runner-BF5UULe-.js} +1 -1
- package/dist/{update-Df4sEKtI.js → update-rw7wJwHd.js} +3 -3
- package/dist/{web-GL_nqURg.js → web-6026eRzJ.js} +1 -1
- package/dist/{web-DNQzo8ao.js → web-6vYYN17n.js} +6 -6
- package/dist/{web-CfZp0Jv6.js → web-CryqKXT4.js} +6 -6
- package/dist/web-HeObJp6A.js +109 -0
- package/dist/{webhooks-cli-Bp-7Rs2Y.js → webhooks-cli-cD58DWAE.js} +4 -4
- package/dist/{whatsapp-actions-CFXNPLco.js → whatsapp-actions-DbcsdOH3.js} +15 -15
- package/dist/{with-timeout-Cs6_LnHB.js → with-timeout-gmK6RciS.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/package.json +1 -1
- package/dist/register.configure-BcZ-7Yir.js +0 -147
- package/dist/session-dirs-D3qlvucD.js +0 -18
- package/dist/web-DsCqmzyk.js +0 -109
|
@@ -3,21 +3,21 @@ import { B as theme, R as colorize, z as isRich } from "./utils-B-0b9bGM.js";
|
|
|
3
3
|
import "./registry-Cja8eT7G.js";
|
|
4
4
|
import { c as formatLocalIsoWithOffset, m as clearActiveProgressLine } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import "./exec-CWkblSrI.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
6
|
+
import "./agent-scope-CgUHAtCo.js";
|
|
7
|
+
import "./model-selection-CyFvYcRt.js";
|
|
8
8
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
10
10
|
import "./boolean-BsqeuxE6.js";
|
|
11
11
|
import "./env-DPCHYPeH.js";
|
|
12
12
|
import "./message-channel-aT-I_DTX.js";
|
|
13
|
-
import "./config-
|
|
13
|
+
import "./config-CHwyw6l5.js";
|
|
14
14
|
import "./manifest-registry-C4BxOMWX.js";
|
|
15
|
-
import "./client-
|
|
16
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
17
|
-
import "./pairing-token-
|
|
15
|
+
import "./client-CQSyCS4M.js";
|
|
16
|
+
import { t as buildGatewayConnectionDetails } from "./call-CJaS1iRF.js";
|
|
17
|
+
import "./pairing-token-CX3NN_qj.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
19
19
|
import "./progress-jIePzvGA.js";
|
|
20
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
20
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BxkKeCZ0.js";
|
|
21
21
|
import { t as parseLogLine } from "./parse-log-line-BHCUQaF3.js";
|
|
22
22
|
import { setTimeout } from "node:timers/promises";
|
|
23
23
|
|
|
@@ -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-CyFvYcRt.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-CzuPlV2t.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";
|
|
@@ -936,7 +936,7 @@ async function extractTimestamp(params) {
|
|
|
936
936
|
if (!params.workspaceDir) return null;
|
|
937
937
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
938
938
|
try {
|
|
939
|
-
const stat = await
|
|
939
|
+
const stat = await fs$1.stat(absolutePath);
|
|
940
940
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
941
941
|
return new Date(stat.mtimeMs);
|
|
942
942
|
} catch {
|
|
@@ -2038,7 +2038,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2038
2038
|
const source = `${sourceBase}${suffix}`;
|
|
2039
2039
|
const target = `${targetBase}${suffix}`;
|
|
2040
2040
|
try {
|
|
2041
|
-
await
|
|
2041
|
+
await fs$1.rename(source, target);
|
|
2042
2042
|
} catch (err) {
|
|
2043
2043
|
if (err.code !== "ENOENT") throw err;
|
|
2044
2044
|
}
|
|
@@ -2049,7 +2049,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2049
2049
|
"",
|
|
2050
2050
|
"-wal",
|
|
2051
2051
|
"-shm"
|
|
2052
|
-
].map((suffix) =>
|
|
2052
|
+
].map((suffix) => fs$1.rm(`${basePath}${suffix}`, { force: true })));
|
|
2053
2053
|
}
|
|
2054
2054
|
ensureSchema() {
|
|
2055
2055
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2144,7 +2144,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2144
2144
|
if (!thresholds) return null;
|
|
2145
2145
|
let stat;
|
|
2146
2146
|
try {
|
|
2147
|
-
stat = await
|
|
2147
|
+
stat = await fs$1.stat(sessionFile);
|
|
2148
2148
|
} catch {
|
|
2149
2149
|
return null;
|
|
2150
2150
|
}
|
|
@@ -2186,7 +2186,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2186
2186
|
if (end <= start) return 0;
|
|
2187
2187
|
let handle;
|
|
2188
2188
|
try {
|
|
2189
|
-
handle = await
|
|
2189
|
+
handle = await fs$1.open(absPath, "r");
|
|
2190
2190
|
} catch (err) {
|
|
2191
2191
|
if (isFileMissingError(err)) return 0;
|
|
2192
2192
|
throw err;
|
|
@@ -3118,7 +3118,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
3118
3118
|
});
|
|
3119
3119
|
return;
|
|
3120
3120
|
}
|
|
3121
|
-
const content = options.content ?? await
|
|
3121
|
+
const content = options.content ?? await fs$1.readFile(entry.absPath, "utf-8");
|
|
3122
3122
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0));
|
|
3123
3123
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
3124
3124
|
const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
|
|
@@ -3732,7 +3732,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3732
3732
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3733
3733
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3734
3734
|
for (const additionalPath of additionalPaths) try {
|
|
3735
|
-
const stat = await
|
|
3735
|
+
const stat = await fs$1.lstat(additionalPath);
|
|
3736
3736
|
if (stat.isSymbolicLink()) continue;
|
|
3737
3737
|
if (stat.isDirectory()) {
|
|
3738
3738
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -3757,7 +3757,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3757
3757
|
};
|
|
3758
3758
|
let content;
|
|
3759
3759
|
try {
|
|
3760
|
-
content = await
|
|
3760
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
3761
3761
|
} catch (err) {
|
|
3762
3762
|
if (isFileMissingError(err)) return {
|
|
3763
3763
|
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,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-CgUHAtCo.js";
|
|
6
|
+
import { q as resolveApiKeyForProvider } from "./model-selection-CyFvYcRt.js";
|
|
7
|
+
import { C as parseDurationMs, i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CHwyw6l5.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-Dx3J_aSE.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-D4LJSRyZ.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 fs$1 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-D85GJrir.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-D4LJSRyZ.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-D4LJSRyZ.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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,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-CyFvYcRt.js";
|
|
2
|
+
import { i as loadConfig } from "./config-CHwyw6l5.js";
|
|
3
|
+
import { t as ensureSymiModelsJson } from "./models-config-qyOXrOli.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-DayrlDg_.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-CyFvYcRt.js";
|
|
3
|
+
import { n as loadModelCatalog } from "./model-catalog-DvBJ8pMD.js";
|
|
4
|
+
import { i as formatTokenK } from "./shared-Knv1hy6h.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;
|
|
@@ -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-CyFvYcRt.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
|
|
@@ -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 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-
|
|
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-CyW0EDWw.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-CiuLdUK3.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-DMBZpU6X.js";
|
|
|
14
14
|
import "./call-BcE47FtD.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-CyW0EDWw.js";
|
|
18
18
|
import "./sessions-CJXnZVjR.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-D8K9MkWg.js";
|
|
105
105
|
import "./auth-token-Cmrk2TPo.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-CiuLdUK3.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-DqE1s0YL.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 { St as loadProviderUsageSummary, Tt as resolveUsageProviderId, Xt as describeFailoverError, _r as buildAuthHealthSummary, gr as DEFAULT_OAUTH_WARN_MS, hr as maskApiKey, l as runEmbeddedPiAgent, vr as formatRemainingShort, wt as formatUsageWindowSummary } from "./reply-
|
|
4
|
+
import { St as loadProviderUsageSummary, Tt as resolveUsageProviderId, Xt as describeFailoverError, _r as buildAuthHealthSummary, gr as DEFAULT_OAUTH_WARN_MS, hr as maskApiKey, l as runEmbeddedPiAgent, vr as formatRemainingShort, wt as formatUsageWindowSummary } from "./reply-DSjeqLEz.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-CyFvYcRt.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-CZr1hVHY.js";
|
|
16
|
+
import { C as parseDurationMs, i as loadConfig } from "./config-CHwyw6l5.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-CUglpiFP.js";
|
|
19
|
+
import "./image-D9uvDTrc.js";
|
|
20
|
+
import { t as ensureSymiModelsJson } from "./models-config-qyOXrOli.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-CNPyv_ax.js";
|
|
23
|
+
import "./sandbox-C-T6hOMv.js";
|
|
24
|
+
import "./chrome-DtPkPq9T.js";
|
|
25
25
|
import "./tailscale-D5dKabOc.js";
|
|
26
26
|
import "./auth-B741uFtk.js";
|
|
27
|
-
import "./server-context-
|
|
27
|
+
import "./server-context-CEpFjqSk.js";
|
|
28
28
|
import "./frontmatter-DWQhtOo7.js";
|
|
29
|
-
import "./skills-
|
|
30
|
-
import "./routes-
|
|
29
|
+
import "./skills-6jdJQ5ZL.js";
|
|
30
|
+
import "./routes-Ba9CUQ8M.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-DgYpBvse.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-CPF8hSFp.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-CzuPlV2t.js";
|
|
54
|
+
import "./local-roots-aAFLQGkY.js";
|
|
55
|
+
import "./sqlite-Dx3J_aSE.js";
|
|
56
|
+
import { n as loadModelCatalog } from "./model-catalog-DvBJ8pMD.js";
|
|
57
57
|
import "./tokens-BuceUQDl.js";
|
|
58
|
-
import "./with-timeout-
|
|
59
|
-
import "./deliver-
|
|
58
|
+
import "./with-timeout-gmK6RciS.js";
|
|
59
|
+
import "./deliver-CceEhg3d.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-Cutb0ZDY.js";
|
|
63
|
+
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-tWhwnFf8.js";
|
|
64
|
+
import "./reply-prefix-CE2YmmsD.js";
|
|
65
|
+
import "./memory-cli-Ca5r9AUb.js";
|
|
66
|
+
import "./manager-D4LJSRyZ.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-BT0-zzs3.js";
|
|
75
|
+
import "./client-CQSyCS4M.js";
|
|
76
|
+
import "./call-CJaS1iRF.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-tanEMpHN.js";
|
|
82
|
+
import "./pairing-store-CK726Dzq.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-vgss3_QA.js";
|
|
90
|
+
import "./skill-commands-Cxw-jNxU.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-CXxQ_f7L.js";
|
|
96
|
+
import { f as openUrl } from "./onboard-helpers-ZmZYzlq3.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-2S6x2UoV.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-CIDBbw6x.js";
|
|
102
|
+
import "./control-service-Bz7rxLWq.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-Knv1hy6h.js";
|
|
111
|
+
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BnOynwk4.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-BNmU48Ez.js";
|
|
114
|
+
import { t as ensurePiAuthJsonFromAuthProfiles } from "./system-cli-UMsMEurS.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-CHwyw6l5.js").then((n) => n.t);
|
|
951
|
+
const { ensureAuthProfileStore } = await import("./model-selection-CyFvYcRt.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-tWhwnFf8.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;
|