@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
|
@@ -1,108 +1,108 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { Bt as createOutboundSendDeps, C as loadSessionEntry, Mt as agentCommand, Rt as resolveOutboundTarget, Sr as enqueueSystemEvent, T as resolveGatewaySessionStoreTarget, pt as requestHeartbeatNow, w as pruneLegacyStoreKeys } from "./reply-
|
|
4
|
+
import { Bt as createOutboundSendDeps, C as loadSessionEntry, Mt as agentCommand, Rt as resolveOutboundTarget, Sr as enqueueSystemEvent, T as resolveGatewaySessionStoreTarget, pt as requestHeartbeatNow, w as pruneLegacyStoreKeys } from "./reply-DSjeqLEz.js";
|
|
5
5
|
import { c as normalizeMainKey } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
8
8
|
import "./exec-CWkblSrI.js";
|
|
9
|
-
import { d as resolveSessionAgentId } from "./agent-scope-
|
|
10
|
-
import "./model-selection-
|
|
9
|
+
import { d as resolveSessionAgentId } from "./agent-scope-CgUHAtCo.js";
|
|
10
|
+
import "./model-selection-CyFvYcRt.js";
|
|
11
11
|
import "./github-copilot-token-DAu1a6BX.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 { i as loadConfig } from "./config-
|
|
15
|
+
import "./send-CZr1hVHY.js";
|
|
16
|
+
import { i as loadConfig } from "./config-CHwyw6l5.js";
|
|
17
17
|
import "./manifest-registry-C4BxOMWX.js";
|
|
18
|
-
import "./runner-
|
|
19
|
-
import "./image-
|
|
20
|
-
import "./models-config-
|
|
18
|
+
import "./runner-CUglpiFP.js";
|
|
19
|
+
import "./image-D9uvDTrc.js";
|
|
20
|
+
import "./models-config-qyOXrOli.js";
|
|
21
21
|
import "./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 { d as updateSessionStore } from "./sessions-
|
|
41
|
-
import "./dock-
|
|
42
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
43
|
-
import "./accounts-
|
|
44
|
-
import "./accounts-
|
|
45
|
-
import "./accounts-
|
|
46
|
-
import "./bindings-
|
|
40
|
+
import { d as updateSessionStore } from "./sessions-DgYpBvse.js";
|
|
41
|
+
import "./dock-BhS32F6E.js";
|
|
42
|
+
import { r as normalizeChannelId } from "./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 "./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 "./model-catalog-
|
|
53
|
+
import "./api-key-rotation-CzuPlV2t.js";
|
|
54
|
+
import "./local-roots-aAFLQGkY.js";
|
|
55
|
+
import "./sqlite-Dx3J_aSE.js";
|
|
56
|
+
import "./model-catalog-DvBJ8pMD.js";
|
|
57
57
|
import "./tokens-BuceUQDl.js";
|
|
58
|
-
import "./with-timeout-
|
|
59
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
58
|
+
import "./with-timeout-gmK6RciS.js";
|
|
59
|
+
import { t as deliverOutboundPayloads } from "./deliver-CceEhg3d.js";
|
|
60
60
|
import "./diagnostic-DjBRPfu9.js";
|
|
61
61
|
import "./diagnostic-session-state-CUslJyKP.js";
|
|
62
|
-
import "./send-
|
|
63
|
-
import "./model-
|
|
64
|
-
import "./reply-prefix-
|
|
65
|
-
import "./memory-cli-
|
|
66
|
-
import "./manager-
|
|
62
|
+
import "./send-Cutb0ZDY.js";
|
|
63
|
+
import "./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 "./links-3i1eUga4.js";
|
|
85
85
|
import "./cli-utils-DN_hM6ov.js";
|
|
86
86
|
import "./help-format-B_-M23wP.js";
|
|
87
87
|
import "./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 "./onboard-helpers-
|
|
95
|
+
import "./send-CXxQ_f7L.js";
|
|
96
|
+
import "./onboard-helpers-ZmZYzlq3.js";
|
|
97
97
|
import "./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-
|
|
105
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
104
|
+
import "./channel-selection-DuWs0Aak.js";
|
|
105
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-9zUNNHgy.js";
|
|
106
106
|
import { randomUUID } from "node:crypto";
|
|
107
107
|
|
|
108
108
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as resolveGatewayLaunchAgentLabel, f as resolveGatewayWindowsTaskName, p as resolveLegacyGatewayLaunchAgentLabels, t as GATEWAY_LAUNCH_AGENT_LABEL, u as resolveGatewayServiceDescription } from "./constants-C8_BLnaW.js";
|
|
2
|
-
import { _ as toPosixPath, a as readSystemdServiceRuntime, c as stopSystemdService, f as splitArgsPreservingQuotes, g as formatLine, h as resolveHomeDir, i as readSystemdServiceExecStart, l as uninstallSystemdService, m as resolveGatewayStateDir, n as isSystemdServiceEnabled, p as parseKeyValueOutput, s as restartSystemdService, t as installSystemdService, v as writeFormattedLines, y as execFileUtf8 } from "./systemd-
|
|
2
|
+
import { _ as toPosixPath, a as readSystemdServiceRuntime, c as stopSystemdService, f as splitArgsPreservingQuotes, g as formatLine, h as resolveHomeDir, i as readSystemdServiceExecStart, l as uninstallSystemdService, m as resolveGatewayStateDir, n as isSystemdServiceEnabled, p as parseKeyValueOutput, s as restartSystemdService, t as installSystemdService, v as writeFormattedLines, y as execFileUtf8 } from "./systemd-riq8uNJQ.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/daemon/launchd-plist.ts
|
|
7
7
|
const plistEscape = (value) => value.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll("\"", """).replaceAll("'", "'");
|
|
@@ -14,7 +14,7 @@ const renderEnvDict = (env) => {
|
|
|
14
14
|
};
|
|
15
15
|
async function readLaunchAgentProgramArgumentsFromFile(plistPath) {
|
|
16
16
|
try {
|
|
17
|
-
const plist = await
|
|
17
|
+
const plist = await fs.readFile(plistPath, "utf8");
|
|
18
18
|
const programMatch = plist.match(/<key>ProgramArguments<\/key>\s*<array>([\s\S]*?)<\/array>/i);
|
|
19
19
|
if (!programMatch) return null;
|
|
20
20
|
const args = Array.from(programMatch[1].matchAll(/<string>([\s\S]*?)<\/string>/gi)).map((match) => plistUnescape(match[1] ?? "").trim());
|
|
@@ -128,7 +128,7 @@ async function isLaunchAgentListed(args) {
|
|
|
128
128
|
async function launchAgentPlistExists(env) {
|
|
129
129
|
try {
|
|
130
130
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
131
|
-
await
|
|
131
|
+
await fs.access(plistPath);
|
|
132
132
|
return true;
|
|
133
133
|
} catch {
|
|
134
134
|
return false;
|
|
@@ -188,7 +188,7 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
188
188
|
]);
|
|
189
189
|
await execLaunchctl(["unload", plistPath]);
|
|
190
190
|
try {
|
|
191
|
-
await
|
|
191
|
+
await fs.access(plistPath);
|
|
192
192
|
} catch {
|
|
193
193
|
stdout.write(`LaunchAgent not found at ${plistPath}\n`);
|
|
194
194
|
return;
|
|
@@ -197,8 +197,8 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
197
197
|
const trashDir = path.join(home, ".Trash");
|
|
198
198
|
const dest = path.join(trashDir, `${label}.plist`);
|
|
199
199
|
try {
|
|
200
|
-
await
|
|
201
|
-
await
|
|
200
|
+
await fs.mkdir(trashDir, { recursive: true });
|
|
201
|
+
await fs.rename(plistPath, dest);
|
|
202
202
|
stdout.write(`${formatLine("Moved LaunchAgent to Trash", dest)}\n`);
|
|
203
203
|
} catch {
|
|
204
204
|
stdout.write(`LaunchAgent remains at ${plistPath} (could not move)\n`);
|
|
@@ -221,7 +221,7 @@ async function stopLaunchAgent({ stdout, env }) {
|
|
|
221
221
|
}
|
|
222
222
|
async function installLaunchAgent({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
223
223
|
const { logDir, stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
224
|
-
await
|
|
224
|
+
await fs.mkdir(logDir, { recursive: true });
|
|
225
225
|
const domain = resolveGuiDomain();
|
|
226
226
|
const label = resolveLaunchAgentLabel({ env });
|
|
227
227
|
for (const legacyLabel of resolveLegacyGatewayLaunchAgentLabels(env.SYMI_PROFILE)) {
|
|
@@ -233,11 +233,11 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
233
233
|
]);
|
|
234
234
|
await execLaunchctl(["unload", legacyPlistPath]);
|
|
235
235
|
try {
|
|
236
|
-
await
|
|
236
|
+
await fs.unlink(legacyPlistPath);
|
|
237
237
|
} catch {}
|
|
238
238
|
}
|
|
239
239
|
const plistPath = resolveLaunchAgentPlistPathForLabel(env, label);
|
|
240
|
-
await
|
|
240
|
+
await fs.mkdir(path.dirname(plistPath), { recursive: true });
|
|
241
241
|
const plist = buildLaunchAgentPlist({
|
|
242
242
|
label,
|
|
243
243
|
comment: resolveGatewayServiceDescription({
|
|
@@ -251,7 +251,7 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
251
251
|
stderrPath,
|
|
252
252
|
environment
|
|
253
253
|
});
|
|
254
|
-
await
|
|
254
|
+
await fs.writeFile(plistPath, plist, "utf8");
|
|
255
255
|
await execLaunchctl([
|
|
256
256
|
"bootout",
|
|
257
257
|
domain,
|
|
@@ -408,7 +408,7 @@ function resolveTaskUser(env) {
|
|
|
408
408
|
async function readScheduledTaskCommand(env) {
|
|
409
409
|
const scriptPath = resolveTaskScriptPath(env);
|
|
410
410
|
try {
|
|
411
|
-
const content = await
|
|
411
|
+
const content = await fs.readFile(scriptPath, "utf8");
|
|
412
412
|
let workingDirectory = "";
|
|
413
413
|
let commandLine = "";
|
|
414
414
|
const environment = {};
|
|
@@ -476,7 +476,7 @@ async function assertSchtasksAvailable() {
|
|
|
476
476
|
async function installScheduledTask({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
477
477
|
await assertSchtasksAvailable();
|
|
478
478
|
const scriptPath = resolveTaskScriptPath(env);
|
|
479
|
-
await
|
|
479
|
+
await fs.mkdir(path.dirname(scriptPath), { recursive: true });
|
|
480
480
|
const script = buildTaskScript({
|
|
481
481
|
description: resolveGatewayServiceDescription({
|
|
482
482
|
env,
|
|
@@ -487,7 +487,7 @@ async function installScheduledTask({ env, stdout, programArguments, workingDire
|
|
|
487
487
|
workingDirectory,
|
|
488
488
|
environment
|
|
489
489
|
});
|
|
490
|
-
await
|
|
490
|
+
await fs.writeFile(scriptPath, script, "utf8");
|
|
491
491
|
const taskName = resolveTaskName(env);
|
|
492
492
|
const baseArgs = [
|
|
493
493
|
"/Create",
|
|
@@ -539,7 +539,7 @@ async function uninstallScheduledTask({ env, stdout }) {
|
|
|
539
539
|
]);
|
|
540
540
|
const scriptPath = resolveTaskScriptPath(env);
|
|
541
541
|
try {
|
|
542
|
-
await
|
|
542
|
+
await fs.unlink(scriptPath);
|
|
543
543
|
stdout.write(`${formatLine("Removed task script", scriptPath)}\n`);
|
|
544
544
|
} catch {
|
|
545
545
|
stdout.write(`Task script not found at ${scriptPath}\n`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { G as toPinoLikeLogger, I as success, O as danger, V as getChildLogger, c as ensureDir, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
3
|
-
import { H as VERSION } from "./config-
|
|
4
|
-
import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-
|
|
3
|
+
import { H as VERSION } from "./config-CHwyw6l5.js";
|
|
4
|
+
import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-DDuIpcln.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -2,13 +2,13 @@ import { y as resolveRequiredHomeDir } from "./paths-Cqn-zk3M.js";
|
|
|
2
2
|
import { m as normalizeE164 } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import { c as normalizeMainKey, g as normalizeOptionalAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
|
-
import { Lt as resolveProcessScopedMap, Rt as isPidAlive } from "./model-selection-
|
|
5
|
+
import { Lt as resolveProcessScopedMap, Rt as isPidAlive } from "./model-selection-CyFvYcRt.js";
|
|
6
6
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-aT-I_DTX.js";
|
|
7
|
-
import { C as parseDurationMs, f as parseByteSize, i as loadConfig } from "./config-
|
|
7
|
+
import { C as parseDurationMs, f as parseByteSize, i as loadConfig } from "./config-CHwyw6l5.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-DyovJwCt.js";
|
|
9
9
|
import { n as resolveConversationLabel } from "./conversation-label-Bn5j3lUT.js";
|
|
10
|
-
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-
|
|
11
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
10
|
+
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-BhS32F6E.js";
|
|
11
|
+
import { r as normalizeChannelId } from "./plugins-DKDeQZF0.js";
|
|
12
12
|
import { a as resolveSessionTranscriptPathInDir, c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, t as resolveDefaultSessionStorePath } from "./paths-CyhzMxFA.js";
|
|
13
13
|
import { r as hasInterSessionUserProvenance } from "./input-provenance-BzbXHcaD.js";
|
|
14
14
|
import { n as extractToolCallNames, r as hasToolCall } from "./transcript-tools-INJPQ2KD.js";
|
|
@@ -16,7 +16,7 @@ import { t as emitSessionTranscriptUpdate } from "./transcript-events-DdnTeoR1.j
|
|
|
16
16
|
import fs from "node:fs";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
19
|
-
import
|
|
19
|
+
import fs$1 from "node:fs/promises";
|
|
20
20
|
import crypto from "node:crypto";
|
|
21
21
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
22
22
|
|
|
@@ -82,7 +82,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
|
|
|
82
82
|
await held.handle.close();
|
|
83
83
|
} catch {}
|
|
84
84
|
try {
|
|
85
|
-
await
|
|
85
|
+
await fs$1.rm(held.lockPath, { force: true });
|
|
86
86
|
} catch {}
|
|
87
87
|
})();
|
|
88
88
|
try {
|
|
@@ -161,7 +161,7 @@ function registerCleanupHandlers() {
|
|
|
161
161
|
}
|
|
162
162
|
async function readLockPayload(lockPath) {
|
|
163
163
|
try {
|
|
164
|
-
const raw = await
|
|
164
|
+
const raw = await fs$1.readFile(lockPath, "utf8");
|
|
165
165
|
const parsed = JSON.parse(raw);
|
|
166
166
|
const payload = {};
|
|
167
167
|
if (typeof parsed.pid === "number") payload.pid = parsed.pid;
|
|
@@ -198,7 +198,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
198
198
|
const nowMs = params.nowMs ?? Date.now();
|
|
199
199
|
let entries = [];
|
|
200
200
|
try {
|
|
201
|
-
entries = await
|
|
201
|
+
entries = await fs$1.readdir(sessionsDir, { withFileTypes: true });
|
|
202
202
|
} catch (err) {
|
|
203
203
|
if (err.code === "ENOENT") return {
|
|
204
204
|
locks: [],
|
|
@@ -217,7 +217,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
217
217
|
removed: false
|
|
218
218
|
};
|
|
219
219
|
if (lockInfo.stale && removeStale) {
|
|
220
|
-
await
|
|
220
|
+
await fs$1.rm(lockPath, { force: true });
|
|
221
221
|
lockInfo.removed = true;
|
|
222
222
|
cleaned.push(lockInfo);
|
|
223
223
|
params.log?.warn?.(`removed stale session lock: ${lockPath} (${lockInfo.staleReasons.join(", ") || "unknown"})`);
|
|
@@ -236,10 +236,10 @@ async function acquireSessionWriteLock(params) {
|
|
|
236
236
|
const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
|
|
237
237
|
const sessionFile = path.resolve(params.sessionFile);
|
|
238
238
|
const sessionDir = path.dirname(sessionFile);
|
|
239
|
-
await
|
|
239
|
+
await fs$1.mkdir(sessionDir, { recursive: true });
|
|
240
240
|
let normalizedDir = sessionDir;
|
|
241
241
|
try {
|
|
242
|
-
normalizedDir = await
|
|
242
|
+
normalizedDir = await fs$1.realpath(sessionDir);
|
|
243
243
|
} catch {}
|
|
244
244
|
const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
|
|
245
245
|
const lockPath = `${normalizedSessionFile}.lock`;
|
|
@@ -256,7 +256,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
256
256
|
while (Date.now() - startedAt < timeoutMs) {
|
|
257
257
|
attempt += 1;
|
|
258
258
|
try {
|
|
259
|
-
const handle = await
|
|
259
|
+
const handle = await fs$1.open(lockPath, "wx");
|
|
260
260
|
const createdAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
261
261
|
await handle.writeFile(JSON.stringify({
|
|
262
262
|
pid: process.pid,
|
|
@@ -276,7 +276,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
276
276
|
} catch (err) {
|
|
277
277
|
if (err.code !== "EEXIST") throw err;
|
|
278
278
|
if (inspectLockPayload(await readLockPayload(lockPath), staleMs, Date.now()).stale) {
|
|
279
|
-
await
|
|
279
|
+
await fs$1.rm(lockPath, { force: true });
|
|
280
280
|
continue;
|
|
281
281
|
}
|
|
282
282
|
const delay = Math.min(1e3, 50 * attempt);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
3
3
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-C8_BLnaW.js";
|
|
4
|
-
import { t as resolveGatewayService } from "./service
|
|
4
|
+
import { t as resolveGatewayService } from "./service-Cl74hx8J.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/gateway-cli/shared.ts
|
|
7
7
|
const toOptionString = (value) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
2
|
-
import { n as listAgentIds } from "./agent-scope-
|
|
3
|
-
import { Kt as DEFAULT_PROVIDER, g as resolveModelRefFromString, r as buildModelAliasIndex, s as modelKey } from "./model-selection-
|
|
2
|
+
import { n as listAgentIds } from "./agent-scope-CgUHAtCo.js";
|
|
3
|
+
import { Kt as DEFAULT_PROVIDER, g as resolveModelRefFromString, r as buildModelAliasIndex, s as modelKey } from "./model-selection-CyFvYcRt.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
5
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
5
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CHwyw6l5.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/models/shared.ts
|
|
8
8
|
const ensureFlagCompatibility = (opts) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_DIR, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
4
|
-
import { c as resolveAgentWorkspaceDir, n as listAgentIds } from "./agent-scope-
|
|
5
|
-
import { i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs, s as resolvePluginSkillDirs } from "./skills-
|
|
6
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
7
|
-
import { a as upsertPendingPairingRequest, c as writeJsonAtomic, i as resolvePairingPaths, n as verifyPairingToken, o as createAsyncLock, r as pruneExpiredPending, s as readJsonFile, t as generatePairingToken } from "./pairing-token-
|
|
8
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
4
|
+
import { c as resolveAgentWorkspaceDir, n as listAgentIds } from "./agent-scope-CgUHAtCo.js";
|
|
5
|
+
import { i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs, s as resolvePluginSkillDirs } from "./skills-6jdJQ5ZL.js";
|
|
6
|
+
import { i as listChatCommands } from "./commands-registry-BT0-zzs3.js";
|
|
7
|
+
import { a as upsertPendingPairingRequest, c as writeJsonAtomic, i as resolvePairingPaths, n as verifyPairingToken, o as createAsyncLock, r as pruneExpiredPending, s as readJsonFile, t as generatePairingToken } from "./pairing-token-CX3NN_qj.js";
|
|
8
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-GpkFi6Kw.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as isPathInside } from "./legacy-names-Be3msDZo.js";
|
|
2
2
|
import { i as hasErrnoCode } from "./errors-BF3TeRH2.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/security/skill-scanner.ts
|
|
7
7
|
const SCANNABLE_EXTENSIONS = new Set([
|
|
@@ -154,7 +154,7 @@ async function walkDirWithLimit(dirPath, maxFiles) {
|
|
|
154
154
|
while (stack.length > 0 && files.length < maxFiles) {
|
|
155
155
|
const currentDir = stack.pop();
|
|
156
156
|
if (!currentDir) break;
|
|
157
|
-
const entries = await
|
|
157
|
+
const entries = await fs.readdir(currentDir, { withFileTypes: true });
|
|
158
158
|
for (const entry of entries) {
|
|
159
159
|
if (files.length >= maxFiles) break;
|
|
160
160
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
@@ -176,7 +176,7 @@ async function resolveForcedFiles(params) {
|
|
|
176
176
|
if (seen.has(includePath)) continue;
|
|
177
177
|
let st = null;
|
|
178
178
|
try {
|
|
179
|
-
st = await
|
|
179
|
+
st = await fs.stat(includePath);
|
|
180
180
|
} catch (err) {
|
|
181
181
|
if (hasErrnoCode(err, "ENOENT")) continue;
|
|
182
182
|
throw err;
|
|
@@ -208,14 +208,14 @@ async function collectScannableFiles(dirPath, opts) {
|
|
|
208
208
|
async function readScannableSource(filePath, maxFileBytes) {
|
|
209
209
|
let st = null;
|
|
210
210
|
try {
|
|
211
|
-
st = await
|
|
211
|
+
st = await fs.stat(filePath);
|
|
212
212
|
} catch (err) {
|
|
213
213
|
if (hasErrnoCode(err, "ENOENT")) return null;
|
|
214
214
|
throw err;
|
|
215
215
|
}
|
|
216
216
|
if (!st?.isFile() || st.size > maxFileBytes) return null;
|
|
217
217
|
try {
|
|
218
|
-
return await
|
|
218
|
+
return await fs.readFile(filePath, "utf-8");
|
|
219
219
|
} catch (err) {
|
|
220
220
|
if (hasErrnoCode(err, "ENOENT")) return null;
|
|
221
221
|
throw err;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as CONFIG_DIR, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { i as normalizeSkillFilter, n as resolveSymiPackageRootSync } from "./symi-root-
|
|
2
|
+
import { i as normalizeSkillFilter, n as resolveSymiPackageRootSync } from "./symi-root-CrGJbkzf.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
4
4
|
import { d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, n as loadPluginManifestRegistry, u as normalizePluginsConfig } from "./manifest-registry-C4BxOMWX.js";
|
|
5
5
|
import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-DWQhtOo7.js";
|
|
@@ -7,7 +7,7 @@ import { fileURLToPath } from "node:url";
|
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import fs$1 from "node:fs/promises";
|
|
11
11
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
12
12
|
|
|
13
13
|
//#region src/agents/skills/frontmatter.ts
|
|
@@ -393,7 +393,7 @@ async function assertNoSymlinkEscape(relative, root, options) {
|
|
|
393
393
|
const isLast = idx === parts.length - 1;
|
|
394
394
|
current = path.join(current, part);
|
|
395
395
|
try {
|
|
396
|
-
if ((await
|
|
396
|
+
if ((await fs$1.lstat(current)).isSymbolicLink()) {
|
|
397
397
|
if (options?.allowFinalSymlink && isLast) return;
|
|
398
398
|
const target = await tryRealpath(current);
|
|
399
399
|
if (!isPathInside(rootReal, target)) throw new Error(`Symlink escapes sandbox root (${shortPath(rootReal)}): ${shortPath(current)}`);
|
|
@@ -407,7 +407,7 @@ async function assertNoSymlinkEscape(relative, root, options) {
|
|
|
407
407
|
}
|
|
408
408
|
async function tryRealpath(value) {
|
|
409
409
|
try {
|
|
410
|
-
return await
|
|
410
|
+
return await fs$1.realpath(value);
|
|
411
411
|
} catch {
|
|
412
412
|
return path.resolve(value);
|
|
413
413
|
}
|
|
@@ -3,13 +3,13 @@ import { B as theme, S as shortenHomePath } from "./utils-B-0b9bGM.js";
|
|
|
3
3
|
import "./registry-Cja8eT7G.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import "./exec-CWkblSrI.js";
|
|
6
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
6
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./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
|
-
import { i as loadConfig } from "./config-
|
|
12
|
+
import { i as loadConfig } from "./config-CHwyw6l5.js";
|
|
13
13
|
import "./manifest-registry-C4BxOMWX.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
15
15
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
@@ -236,7 +236,7 @@ function registerSkillsCli(program) {
|
|
|
236
236
|
try {
|
|
237
237
|
const config = loadConfig();
|
|
238
238
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
239
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
239
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-CURJKnyY.js").then((n) => n.n);
|
|
240
240
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
241
241
|
defaultRuntime.log(formatSkillsList(report, opts));
|
|
242
242
|
} catch (err) {
|
|
@@ -248,7 +248,7 @@ function registerSkillsCli(program) {
|
|
|
248
248
|
try {
|
|
249
249
|
const config = loadConfig();
|
|
250
250
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
251
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
251
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-CURJKnyY.js").then((n) => n.n);
|
|
252
252
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
253
253
|
defaultRuntime.log(formatSkillInfo(report, name, opts));
|
|
254
254
|
} catch (err) {
|
|
@@ -260,7 +260,7 @@ function registerSkillsCli(program) {
|
|
|
260
260
|
try {
|
|
261
261
|
const config = loadConfig();
|
|
262
262
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
263
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
263
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-CURJKnyY.js").then((n) => n.n);
|
|
264
264
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
265
265
|
defaultRuntime.log(formatSkillsCheck(report, opts));
|
|
266
266
|
} catch (err) {
|
|
@@ -272,7 +272,7 @@ function registerSkillsCli(program) {
|
|
|
272
272
|
try {
|
|
273
273
|
const config = loadConfig();
|
|
274
274
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
275
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
275
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-CURJKnyY.js").then((n) => n.n);
|
|
276
276
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
277
277
|
defaultRuntime.log(formatSkillsList(report, {}));
|
|
278
278
|
} catch (err) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as ensureDir, g as resolveConfigDir, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
3
3
|
import { d as hasBinary } from "./frontmatter-DWQhtOo7.js";
|
|
4
|
-
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, x as resolveSkillKey } from "./skills-
|
|
4
|
+
import { i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, x as resolveSkillKey } from "./skills-6jdJQ5ZL.js";
|
|
5
5
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-DOPkVbh3.js";
|
|
6
6
|
import { t as resolveBrewExecutable } from "./brew-DjNEjKAo.js";
|
|
7
7
|
import { t as isWithinDir } from "./path-safety-BqPJ8DDQ.js";
|
|
8
|
-
import { a as extractArchive$1, d as resolveArchiveOutputPath, f as stripArchivePath, p as validateArchiveEntryPath, r as safePathSegmentHashed, u as isWindowsDrivePath } from "./install-safe-path-
|
|
9
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
8
|
+
import { a as extractArchive$1, d as resolveArchiveOutputPath, f as stripArchivePath, p as validateArchiveEntryPath, r as safePathSegmentHashed, u as isWindowsDrivePath } from "./install-safe-path-tCLiMpmO.js";
|
|
9
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-CLs8u6vQ.js";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { pipeline } from "node:stream/promises";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as CONFIG_DIR } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
4
4
|
import { d as hasBinary } from "./frontmatter-DWQhtOo7.js";
|
|
5
|
-
import { _ as isBundledSkillAllowed, b as resolveSkillConfig, c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, v as isConfigPathTruthy, y as resolveBundledAllowlist } from "./skills-
|
|
5
|
+
import { _ as isBundledSkillAllowed, b as resolveSkillConfig, c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, v as isConfigPathTruthy, y as resolveBundledAllowlist } from "./skills-6jdJQ5ZL.js";
|
|
6
6
|
import { t as evaluateEntryMetadataRequirementsForCurrentPlatform } from "./entry-status-CAs6m3_l.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|