@symerian/symi 3.4.1 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-BgGJEKk4.js → agent-BcHmIY_n.js} +17 -17
- package/dist/{agent-scope-DIjW66iO.js → agent-scope-CKTVXF_1.js} +18 -18
- package/dist/{agents.config-CuasVG0i.js → agents.config-D6lBCMyT.js} +1 -1
- package/dist/{audit-BRI7EaSZ.js → audit-CMPCYnHv.js} +20 -20
- package/dist/{auth-choice-Ar8WHnyN.js → auth-choice-s1SGAS0u.js} +8 -8
- package/dist/{auth-profiles-BFSVvFKy.js → auth-profiles-BDvJK1Bg.js} +9 -9
- package/dist/{auth-token-C8wKZLJM.js → auth-token-BKp_ClDP.js} +1 -1
- package/dist/{browser-cli-BdYqssco.js → browser-cli-DW3CxkSc.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +4 -4
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/{call-CbF18cyd.js → call-BjHvYJx2.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-D2lzRM-e.js → channel-options-77nGDc70.js} +1 -1
- package/dist/{channels-cli-DFN6N0Vp.js → channels-cli-C048Z7h-.js} +54 -54
- package/dist/{chrome-D5UEEo4y.js → chrome-BQoO4LXq.js} +2 -2
- package/dist/{chrome-CbVmSQ7D.js → chrome-C0vnHDyY.js} +7 -7
- package/dist/{chrome-BWQSyLHT.js → chrome-droANDig.js} +7 -7
- package/dist/{cli-BI2hMJ3x.js → cli-CXAyZ9dx.js} +42 -42
- package/dist/{client-ZZqt0H0-.js → client-Bs2zB0rY.js} +1 -1
- package/dist/{command-registry-CwnRHggJ.js → command-registry-B9TplwzB.js} +4 -4
- package/dist/{commands-registry-BNCcZy2y.js → commands-registry-CLePPNDW.js} +1 -1
- package/dist/{completion-cli-DwN2HXNn.js → completion-cli-Dv8CNTMW.js} +2 -2
- package/dist/{completion-cli-Cyueakwc.js → completion-cli-ecfjoaIU.js} +12 -12
- package/dist/{config-MU0QT0xu.js → config-BEaq2Sb6.js} +2 -2
- package/dist/{config-cli-C2Nwn4ID.js → config-cli-CAwWFZwh.js} +4 -4
- package/dist/{config-guard-VJr2yVm_.js → config-guard-29sjAeg8.js} +6 -6
- package/dist/{config-validation-BkJh21Ko.js → config-validation-Bp2AdKjN.js} +1 -1
- package/dist/{configure-2zKlA3cu.js → configure-DvVtZB1V.js} +14 -14
- package/dist/{consolidate-DhJ5sq5p.js → consolidate-DeA11kIO.js} +6 -6
- package/dist/{control-service-D1aZqS0Q.js → control-service-DhlgNQGb.js} +4 -4
- package/dist/{control-ui-assets-DUhvOLUL.js → control-ui-assets-D22DSxhv.js} +1 -1
- package/dist/{cron-cli-Ch8MwxYs.js → cron-cli-Cr8hrEDQ.js} +7 -7
- package/dist/{daemon-cli-DbwmIQAj.js → daemon-cli-OZuuMobs.js} +11 -11
- package/dist/{daemon-runtime-DDwhgI7i.js → daemon-runtime-Dr_xKl0r.js} +10 -10
- package/dist/{deliver-VAsFQe0w.js → deliver-BwcK0QD6.js} +4 -4
- package/dist/{deliver-BX3IOm7k.js → deliver-ccf_boim.js} +2 -2
- package/dist/{deliver-BBoTRer2.js → deliver-vzAN9mRl.js} +4 -4
- package/dist/{deps-BCywDAi0.js → deps-B6QYsl_-.js} +1 -1
- package/dist/{devices-cli-ZiU2HGbP.js → devices-cli-DN3SH89Z.js} +6 -6
- package/dist/{diagnostics-DxdqTfpW.js → diagnostics-nLP2i_BY.js} +5 -5
- package/dist/{directory-cli-DJnKldBM.js → directory-cli-B72WzWuP.js} +3 -3
- package/dist/{dm-policy-shared-BzGFEhLb.js → dm-policy-shared-DiZ3lMtl.js} +1 -1
- package/dist/{dns-cli-LhrwMgGE.js → dns-cli-DPO4AuUq.js} +3 -3
- package/dist/{docs-cli-DjQ3SvBq.js → docs-cli-C2BEC5yU.js} +1 -1
- package/dist/{doctor-completion-DLMAxB2b.js → doctor-completion-Cvu8koMQ.js} +2 -2
- package/dist/{doctor-completion-B9khF9iy.js → doctor-completion-DwrIExJJ.js} +1 -1
- package/dist/{doctor-config-flow-j1iK-0XV.js → doctor-config-flow-Cu1ZuFHd.js} +9 -9
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-DqWFmApk.js → exec-approvals-cli-BN5OFwrg.js} +13 -13
- package/dist/extensionAPI.js +4 -4
- package/dist/{fs-safe-B6nMaZqV.js → fs-safe-DjAKGGJ8.js} +6 -6
- package/dist/{gateway-cli-05LQa0LN.js → gateway-cli-C_wDspkm.js} +120 -120
- package/dist/{gateway-cli-CUiAKfCT.js → gateway-cli-uquFQTQW.js} +1 -1
- package/dist/{gateway-rpc-RZAJMB1i.js → gateway-rpc-fQLZhzRK.js} +1 -1
- package/dist/{health-DnOYGIFp.js → health-DUulgHFK.js} +4 -4
- package/dist/{hooks-cli-BERKc4aw.js → hooks-cli-6UBBpeAz.js} +56 -56
- package/dist/{image-ops-C-gIIp7Q.js → image-ops-c7_of0HT.js} +10 -10
- package/dist/index.js +49 -49
- package/dist/{inspect-BDzd6yBs.js → inspect-op0Ov-v4.js} +4 -4
- package/dist/{install-safe-path-CQXx3s9R.js → install-safe-path-B73BkVO3.js} +11 -11
- package/dist/{installs-DhSLZRT7.js → installs-BzgwvqqQ.js} +10 -10
- package/dist/{internal-CHnZdvRy.js → internal-C3o_xyzP.js} +9 -9
- package/dist/{lifecycle-core-B9_prcP5.js → lifecycle-core-BmGPBj_P.js} +5 -5
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{local-roots-BnDnugq3.js → local-roots-CUKhHNCV.js} +1 -1
- package/dist/{logs-cli-BuaYoENt.js → logs-cli-BXBN6_Kf.js} +7 -7
- package/dist/{manager-BQJivzx9.js → manager-C_5p8DxF.js} +14 -14
- package/dist/{manager-GRHfrG3p.js → manager-DOfc0hW0.js} +1 -1
- package/dist/{manager-1b5V7lDX.js → manager-WHZtXzz0.js} +1 -1
- package/dist/{memory-ZiPonhHz.js → memory-BZPO-RoX.js} +5 -5
- package/dist/{memory-cli-B5TU8zxX.js → memory-cli-4vj-LpgO.js} +12 -12
- package/dist/{model-BRcKPW49.js → model-CbRy_3xW.js} +1 -1
- package/dist/{model-catalog-De1c8o1y.js → model-catalog-BrW9BL1p.js} +4 -4
- package/dist/{model-picker-CjVFmtQf.js → model-picker-UrQQVAuN.js} +3 -3
- package/dist/{models-cli-BzP7r0Pr.js → models-cli-BRnmApgY.js} +52 -52
- package/dist/{models-config-C-VjjDXg.js → models-config-Dh1tABIl.js} +7 -7
- package/dist/{node-cli-dAjmpFFQ.js → node-cli-DXCDRV3y.js} +27 -27
- package/dist/{node-service-DLCN3Pek.js → node-service-n6G8Ybbk.js} +1 -1
- package/dist/{nodes-cli-Bavn0Wq1.js → nodes-cli-Fyv-oG6A.js} +10 -10
- package/dist/{nodes-screen-JELuBMBi.js → nodes-screen-CT94yu_w.js} +4 -4
- package/dist/{npm-registry-spec-BXw_6vF6.js → npm-registry-spec-B8X06AqB.js} +9 -9
- package/dist/{onboard-DbjF9LIj.js → onboard-CEyd79t_.js} +13 -13
- package/dist/{onboard-Yx5pWXot.js → onboard-CLSFAKKt.js} +1 -1
- package/dist/{onboard-channels-D1ThqeIv.js → onboard-channels-DqhDDHZ3.js} +4 -4
- package/dist/{onboard-custom-Dmv0zr-6.js → onboard-custom-BRFhBogJ.js} +3 -3
- package/dist/{onboard-helpers-DpIB1xVU.js → onboard-helpers-wgkj6qF2.js} +8 -8
- package/dist/{onboard-hooks-DDANBk-9.js → onboard-hooks-CknstfLG.js} +1 -1
- package/dist/{onboard-remote-MlK-zjua.js → onboard-remote-B5rlIYUq.js} +1 -1
- package/dist/{onboard-skills-BFebcdsU.js → onboard-skills-_6kHqhHz.js} +4 -4
- package/dist/{onboarding-BIOnPknC.js → onboarding-CJuG6AyD.js} +1 -1
- package/dist/{onboarding-B4y_mt01.js → onboarding-CREA0oQK.js} +12 -12
- package/dist/{onboarding.finalize-DvuthtW0.js → onboarding.finalize-7iPylQyi.js} +4 -4
- package/dist/{onboarding.finalize-CdYyVsOB.js → onboarding.finalize-CkgL8Zde.js} +31 -31
- package/dist/{onboarding.gateway-config-DC9fM10t.js → onboarding.gateway-config-DtNG0As8.js} +8 -8
- package/dist/{openai-model-default-DYlS_J2T.js → openai-model-default-DeTAMJKz.js} +2 -2
- package/dist/{pairing-cli-D1zyMuRV.js → pairing-cli-BvP6MoPZ.js} +4 -4
- package/dist/{pairing-store-BGf29nPx.js → pairing-store-S9CXOhSG.js} +1 -1
- package/dist/{pairing-token-CURbSHdi.js → pairing-token-DorpwP8O.js} +7 -7
- package/dist/{paths-Dc6A9_vI.js → paths-DaQrPPet.js} +1 -1
- package/dist/{pi-auth-json-SHGGQzOL.js → pi-auth-json-CVwNh4rb.js} +5 -5
- package/dist/{pi-embedded-BvMMjrvj.js → pi-embedded-B7_uthwZ.js} +10 -10
- package/dist/{pi-embedded-helpers-D4cxQiPr.js → pi-embedded-helpers-DGW2untm.js} +6 -6
- package/dist/{pi-tools.policy-NmG0EGEY.js → pi-tools.policy-BcTgKDG6.js} +3 -3
- package/dist/{plugin-auto-enable-D2TNEv3x.js → plugin-auto-enable-BDPdHiLS.js} +1 -1
- package/dist/{plugin-registry-B0d7w7Tq.js → plugin-registry-bskbnEuW.js} +3 -3
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-DNMBwSsv.js → plugins-cli-LQUO7D2v.js} +51 -51
- package/dist/{ports-DRHSHvqY.js → ports-ChuJYhEL.js} +1 -1
- package/dist/{ports-DqxP-bXz.js → ports-EAVAOFyK.js} +2 -2
- package/dist/{program-DKmohZYs.js → program-BgrmtnFn.js} +2 -2
- package/dist/{program-context-BHCqXp7K.js → program-context-C_uJXnZV.js} +38 -38
- package/dist/{prompt-select-styled-DIpkZ3Py.js → prompt-select-styled-B3nTSykf.js} +36 -35
- package/dist/{prompt-select-styled-CJ7vyifz.js → prompt-select-styled-CuGBQ9LO.js} +2 -1
- package/dist/{provider-auth-helpers-rT0mj3Rg.js → provider-auth-helpers-IsZNkaS0.js} +5 -5
- package/dist/{push-apns-KHQGzTcZ.js → push-apns-C7t2qAZ6.js} +4 -4
- package/dist/{pw-ai-HU-K9Kp6.js → pw-ai-Bc5uzn_J.js} +1 -1
- package/dist/{pw-ai-CNOE7SUx.js → pw-ai-Tm3pd-HP.js} +1 -1
- package/dist/{pw-ai-CyCnG_Kj.js → pw-ai-YJhl5L-z.js} +7 -7
- package/dist/{qmd-manager-CAQYVZT8.js → qmd-manager-CrRvB46v.js} +19 -19
- package/dist/{qr-cli-Cc3gulVb.js → qr-cli-D1U-qIkG.js} +3 -3
- package/dist/{register.agent-D3QRjMQA.js → register.agent-BblNQlzT.js} +64 -64
- package/dist/{register.configure-BlCCtcgW.js → register.configure-BJ7xtOUZ.js} +67 -67
- package/dist/{register.maintenance-C-U8Vjdk.js → register.maintenance-DLJpeuc4.js} +64 -64
- package/dist/{register.maintenance-BH0tQsKC.js → register.maintenance-w7sKxODf.js} +5 -5
- package/dist/{register.message-BJEu7jXo.js → register.message-CXEwBJ1O.js} +44 -44
- package/dist/{register.onboard-B_WCIG9n.js → register.onboard-B520Ixsd.js} +22 -22
- package/dist/{register.onboard-CcvZY9rS.js → register.onboard-DJmVC_6h.js} +2 -2
- package/dist/{register.setup-CXojM7PS.js → register.setup-BTse4F3a.js} +25 -25
- package/dist/{register.setup-CLFM22gp.js → register.setup-Br-aZ0qD.js} +2 -2
- package/dist/{register.status-health-sessions-DAraoWwd.js → register.status-health-sessions-Dbizirr2.js} +38 -38
- package/dist/{register.subclis-4IO5JLGL.js → register.subclis-CSJZQox4.js} +3 -3
- package/dist/{replies-t5bPemnD.js → replies-CbipVshj.js} +1 -1
- package/dist/{reply-prefix-BOdARKaY.js → reply-prefix-DZQBodKF.js} +1 -1
- package/dist/{resolve-route-CRWE36h5.js → resolve-route-BbUl3Hi7.js} +1 -1
- package/dist/{routes-CTOYLhQ1.js → routes-DiqMB1cp.js} +10 -10
- package/dist/{rpc-BLUOZg0H.js → rpc-BcPBUUXl.js} +1 -1
- package/dist/{run-main-dgWHEHSR.js → run-main-DISYU1dh.js} +3 -3
- package/dist/{sandbox-CpZmnHRC.js → sandbox-DPn-s_K5.js} +18 -18
- package/dist/{sandbox-cli-DtbM64tR.js → sandbox-cli-Bl5CMRjH.js} +13 -13
- package/dist/{security-cli-CnNnxSRu.js → security-cli-DuxEuSGr.js} +28 -28
- package/dist/{send-zbkImdk9.js → send-CYJucYob.js} +7 -7
- package/dist/{server-context-Dytgl6ZD.js → server-context-BUbuOgNz.js} +5 -5
- package/dist/{server-node-events-CY5_aNdi.js → server-node-events-7ToqdaU5.js} +45 -45
- package/dist/{service-AP9pR9R5.js → service-9ItKCWWS.js} +15 -15
- package/dist/{session-dirs-CFEdAT4Z.js → session-dirs-DONOhYc3.js} +16 -16
- package/dist/{session-utils-NOQiGgMD.js → session-utils-CqSXwGYa.js} +12 -12
- package/dist/{sessions-B7Of0Rqm.js → sessions-DorP6zY8.js} +11 -11
- package/dist/{shared-BmS-LOw8.js → shared-Z3KjnA8n.js} +3 -3
- package/dist/{shared-DmYHvtn2.js → shared-ot5_jkpP.js} +1 -1
- package/dist/{skill-commands-5QB5E8bv.js → skill-commands-RbglvrSW.js} +4 -4
- package/dist/{skill-scanner-YF2jR4RY.js → skill-scanner-CZK0TG9g.js} +5 -5
- package/dist/{skills-Bmjf5nFv.js → skills-DS1Vdylm.js} +4 -4
- package/dist/{skills-cli-CGPerRcN.js → skills-cli-BmIb-9--.js} +7 -7
- package/dist/{skills-install-DLUMpiCC.js → skills-install-DcX1Txvp.js} +3 -3
- package/dist/{skills-remote-CqwR3Zvp.js → skills-remote-BDSyRdyX.js} +3 -3
- package/dist/{skills-status-BNDqwHkP.js → skills-status-F7nlolZZ.js} +1 -1
- package/dist/{sqlite-DBEvS-Ne.js → sqlite-BUXBg2yu.js} +5 -5
- package/dist/{status-C6HwMPLx.js → status-CR4VgVZ0.js} +3 -3
- package/dist/{status-CJ4x2gHu.js → status-Hf__QNbH.js} +23 -23
- package/dist/{status.update-iWEAq6bt.js → status.update-DOj5ifHZ.js} +3 -3
- package/dist/{symi-root-DueRHNOE.js → symi-root-0MUhiNlM.js} +2 -2
- package/dist/{synthesis-Q30uczDF.js → synthesis-B4G0BnU5.js} +4 -4
- package/dist/{synthesis-DcGTICel.js → synthesis-C-IePZG6.js} +4 -4
- package/dist/{synthesis-DvSl5w4K.js → synthesis-CK0K7wFk.js} +42 -42
- package/dist/{system-cli-DKMfh71A.js → system-cli-BKp2K0sb.js} +7 -7
- package/dist/{systemd-9LEEqibe.js → systemd-8KKQdTO_.js} +5 -5
- package/dist/{systemd-hints-RoqMZFFM.js → systemd-hints-BefHB3bX.js} +6 -6
- package/dist/{systemd-linger-CWJhsBBY.js → systemd-linger-C0-G8yq4.js} +1 -1
- package/dist/{tui-DeVQrlt9.js → tui-BheB3rbE.js} +7 -7
- package/dist/{tui-cli-3EAQXwu7.js → tui-cli-BDcU-VgA.js} +19 -19
- package/dist/{unified-runner-CSn91cbr.js → unified-runner-BSdnT6eM.js} +10 -10
- package/dist/{unified-runner-CjFXehHb.js → unified-runner-D6p4N2vu.js} +99 -99
- package/dist/{update-CE8nDV7s.js → update-Djvyvehx.js} +3 -3
- package/dist/{update-check-CZxZhEXr.js → update-check-BdSIMYWq.js} +5 -5
- package/dist/{update-cli-BN4_mr6c.js → update-cli-BmQuYKTw.js} +5 -5
- package/dist/{update-cli-CUGTzKWo.js → update-cli-CwznFR5g.js} +74 -74
- package/dist/{webhooks-cli-CoIL1D4T.js → webhooks-cli-D_wAaLOU.js} +4 -4
- package/dist/{with-timeout-COajnkmj.js → with-timeout-CAUWEPmp.js} +1 -1
- package/dist/{workspace-dirs-D5OnUmvw.js → workspace-dirs-QmSWJptJ.js} +1 -1
- package/dist/{wsl-ZWGwnnKI.js → wsl-DO9usEVV.js} +2 -2
- package/package.json +1 -1
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
import "./unified-runner-
|
|
1
|
+
import "./unified-runner-D6p4N2vu.js";
|
|
2
2
|
import { E as setVerbose, P as getResolvedLoggerSettings, b as danger, j as theme, r as DEFAULT_CHAT_CHANNEL } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import "./paths-BSzKwaxE.js";
|
|
4
4
|
import { u as isRecord } from "./utils-BU8jVQFM.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
6
|
-
import { x as loadAuthProfileStore } from "./auth-profiles-
|
|
6
|
+
import { x as loadAuthProfileStore } from "./auth-profiles-BDvJK1Bg.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
8
8
|
import { m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-B_ZVH1kE.js";
|
|
9
9
|
import "./exec-DKyLtSjm.js";
|
|
10
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
10
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CKTVXF_1.js";
|
|
11
11
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
12
12
|
import "./boolean-Wzu0-e0P.js";
|
|
13
13
|
import "./env-B97Ms861.js";
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
14
|
+
import "./pi-embedded-helpers-DGW2untm.js";
|
|
15
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BEaq2Sb6.js";
|
|
16
16
|
import "./manifest-registry-D_LsBSyt.js";
|
|
17
|
-
import "./sandbox-
|
|
18
|
-
import "./chrome-
|
|
17
|
+
import "./sandbox-DPn-s_K5.js";
|
|
18
|
+
import "./chrome-BQoO4LXq.js";
|
|
19
19
|
import "./tailscale-D7dC-5EX.js";
|
|
20
20
|
import "./auth-BbwD4lRX.js";
|
|
21
|
-
import "./server-context-
|
|
21
|
+
import "./server-context-BUbuOgNz.js";
|
|
22
22
|
import "./frontmatter-CHu3sfCM.js";
|
|
23
|
-
import "./skills-
|
|
24
|
-
import "./routes-
|
|
23
|
+
import "./skills-DS1Vdylm.js";
|
|
24
|
+
import "./routes-DiqMB1cp.js";
|
|
25
25
|
import "./redact-CSc_2Nka.js";
|
|
26
26
|
import "./errors-Z-WkF18Q.js";
|
|
27
|
-
import "./fs-safe-
|
|
28
|
-
import "./paths-
|
|
27
|
+
import "./fs-safe-DjAKGGJ8.js";
|
|
28
|
+
import "./paths-DaQrPPet.js";
|
|
29
29
|
import "./ssrf-CC9kEPCT.js";
|
|
30
|
-
import "./image-ops-
|
|
31
|
-
import "./ports-
|
|
30
|
+
import "./image-ops-c7_of0HT.js";
|
|
31
|
+
import "./ports-EAVAOFyK.js";
|
|
32
32
|
import "./trash-BjVrPcAx.js";
|
|
33
|
-
import "./sessions-
|
|
33
|
+
import "./sessions-DorP6zY8.js";
|
|
34
34
|
import "./dock-CnGWTXL4.js";
|
|
35
35
|
import "./message-channel-C_V8IAYx.js";
|
|
36
36
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DuuHorqi.js";
|
|
37
|
-
import { d as createSlackWebClient } from "./send-
|
|
37
|
+
import { d as createSlackWebClient } from "./send-CYJucYob.js";
|
|
38
38
|
import "./paths-CJcw9nbZ.js";
|
|
39
39
|
import "./thinking-177f26eg.js";
|
|
40
40
|
import "./tokens-BKbemuIk.js";
|
|
41
|
-
import "./deliver-
|
|
41
|
+
import "./deliver-ccf_boim.js";
|
|
42
42
|
import "./diagnostic-CwF3MnBL.js";
|
|
43
43
|
import "./diagnostic-session-state-I4x9gPY4.js";
|
|
44
|
-
import "./models-config-
|
|
45
|
-
import "./pi-auth-json-
|
|
44
|
+
import "./models-config-Dh1tABIl.js";
|
|
45
|
+
import "./pi-auth-json-CVwNh4rb.js";
|
|
46
46
|
import "./session-cost-usage-DYcv40ss.js";
|
|
47
|
-
import { _ as loadProviderUsageSummary, v as formatUsageReportLines } from "./session-utils-
|
|
48
|
-
import "./with-timeout-
|
|
49
|
-
import "./reply-prefix-
|
|
50
|
-
import "./memory-
|
|
51
|
-
import "./manager-
|
|
52
|
-
import "./sqlite-
|
|
47
|
+
import { _ as loadProviderUsageSummary, v as formatUsageReportLines } from "./session-utils-CqSXwGYa.js";
|
|
48
|
+
import "./with-timeout-CAUWEPmp.js";
|
|
49
|
+
import "./reply-prefix-DZQBodKF.js";
|
|
50
|
+
import "./memory-BZPO-RoX.js";
|
|
51
|
+
import "./manager-C_5p8DxF.js";
|
|
52
|
+
import "./sqlite-BUXBg2yu.js";
|
|
53
53
|
import "./chunk-DQGU0F8t.js";
|
|
54
54
|
import "./markdown-tables-GTLvbzuR.js";
|
|
55
55
|
import "./fetch-guard-DG6T0ZdL.js";
|
|
56
|
-
import "./local-roots-
|
|
56
|
+
import "./local-roots-CUKhHNCV.js";
|
|
57
57
|
import "./commands-B3UrgxIz.js";
|
|
58
|
-
import "./commands-registry-
|
|
59
|
-
import "./client-
|
|
60
|
-
import { n as callGateway } from "./call-
|
|
61
|
-
import "./pairing-token-
|
|
58
|
+
import "./commands-registry-CLePPNDW.js";
|
|
59
|
+
import "./client-Bs2zB0rY.js";
|
|
60
|
+
import { n as callGateway } from "./call-BjHvYJx2.js";
|
|
61
|
+
import "./pairing-token-DorpwP8O.js";
|
|
62
62
|
import "./tool-display-Dr6VaTg5.js";
|
|
63
63
|
import { n as formatTimeAgo } from "./format-relative-Vm-Tqk0h.js";
|
|
64
|
-
import "./skills-remote-
|
|
65
|
-
import "./workspace-dirs-
|
|
64
|
+
import "./skills-remote-BDSyRdyX.js";
|
|
65
|
+
import "./workspace-dirs-QmSWJptJ.js";
|
|
66
66
|
import "./pi-model-discovery-DdkUSfiI.js";
|
|
67
|
-
import "./model-catalog-
|
|
68
|
-
import "./skill-commands-
|
|
69
|
-
import "./pairing-store-
|
|
67
|
+
import "./model-catalog-BrW9BL1p.js";
|
|
68
|
+
import "./skill-commands-RbglvrSW.js";
|
|
69
|
+
import "./pairing-store-S9CXOhSG.js";
|
|
70
70
|
import "./exec-approvals-CZOc8M5w.js";
|
|
71
|
-
import "./nodes-screen-
|
|
72
|
-
import "./control-service-
|
|
71
|
+
import "./nodes-screen-CT94yu_w.js";
|
|
72
|
+
import "./control-service-DhlgNQGb.js";
|
|
73
73
|
import "./stagger-BhvnarfO.js";
|
|
74
74
|
import { n as resolveMessageChannelSelection } from "./channel-selection-BvIcXQLj.js";
|
|
75
75
|
import "./delivery-queue-DDs84baU.js";
|
|
76
76
|
import "./bindings-9LSA3Jr1.js";
|
|
77
|
-
import "./resolve-route-
|
|
77
|
+
import "./resolve-route-BbUl3Hi7.js";
|
|
78
78
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
79
79
|
import { n as runCommandWithRuntime } from "./cli-utils-CX1oQ81G.js";
|
|
80
80
|
import { t as formatHelpExamples } from "./help-format-BI_G2p1e.js";
|
|
81
81
|
import { n as withProgress } from "./progress-CyPyGCDn.js";
|
|
82
|
-
import "./memory-cli-
|
|
82
|
+
import "./memory-cli-4vj-LpgO.js";
|
|
83
83
|
import "./logging-B5YNzZB9.js";
|
|
84
|
-
import "./replies-
|
|
85
|
-
import "./pi-tools.policy-
|
|
86
|
-
import "./model-
|
|
84
|
+
import "./replies-CbipVshj.js";
|
|
85
|
+
import "./pi-tools.policy-BcTgKDG6.js";
|
|
86
|
+
import "./model-CbRy_3xW.js";
|
|
87
87
|
import { r as listChannelPluginCatalogEntries } from "./catalog-CSgSg5Gp.js";
|
|
88
|
-
import "./plugin-registry-
|
|
89
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
88
|
+
import "./plugin-registry-bskbnEuW.js";
|
|
89
|
+
import { t as formatCliChannelOptions } from "./channel-options-77nGDc70.js";
|
|
90
90
|
import { t as hasExplicitOptions } from "./command-options-ChiIn6Na.js";
|
|
91
91
|
import "./prompt-style-Cad0BDRS.js";
|
|
92
92
|
import "./note-CHrtEumO.js";
|
|
93
93
|
import { t as createClackPrompter } from "./clack-prompter-CWQQn_CK.js";
|
|
94
94
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BBypnAYf.js";
|
|
95
|
-
import "./plugin-auto-enable-
|
|
96
|
-
import "./install-safe-path-
|
|
97
|
-
import "./npm-registry-spec-
|
|
98
|
-
import "./skill-scanner-
|
|
99
|
-
import "./installs-
|
|
100
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
101
|
-
import { t as requireValidConfigSnapshot } from "./config-validation-
|
|
95
|
+
import "./plugin-auto-enable-BDPdHiLS.js";
|
|
96
|
+
import "./install-safe-path-B73BkVO3.js";
|
|
97
|
+
import "./npm-registry-spec-B8X06AqB.js";
|
|
98
|
+
import "./skill-scanner-CZK0TG9g.js";
|
|
99
|
+
import "./installs-BzgwvqqQ.js";
|
|
100
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-DqhDDHZ3.js";
|
|
101
|
+
import { t as requireValidConfigSnapshot } from "./config-validation-Bp2AdKjN.js";
|
|
102
102
|
import { t as buildChannelAccountSnapshot } from "./status-DvTRhxOu.js";
|
|
103
103
|
import { t as parseLogLine } from "./parse-log-line-DLGp7cEA.js";
|
|
104
104
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DC8vgOMo.js";
|
|
105
|
-
import
|
|
105
|
+
import fsPromises from "node:fs/promises";
|
|
106
106
|
|
|
107
107
|
//#region src/commands/channels/add-mutators.ts
|
|
108
108
|
function applyAccountName(params) {
|
|
@@ -751,11 +751,11 @@ function matchesChannel(line, channel) {
|
|
|
751
751
|
return false;
|
|
752
752
|
}
|
|
753
753
|
async function readTailLines(file, limit) {
|
|
754
|
-
const stat = await
|
|
754
|
+
const stat = await fsPromises.stat(file).catch(() => null);
|
|
755
755
|
if (!stat) return [];
|
|
756
756
|
const size = stat.size;
|
|
757
757
|
const start = Math.max(0, size - MAX_BYTES);
|
|
758
|
-
const handle = await
|
|
758
|
+
const handle = await fsPromises.open(file, "r");
|
|
759
759
|
try {
|
|
760
760
|
const length = Math.max(0, size - start);
|
|
761
761
|
if (length === 0) return [];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as CONFIG_DIR } from "./utils-BU8jVQFM.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
3
|
+
import { i as loadConfig } from "./config-BEaq2Sb6.js";
|
|
4
4
|
import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-CahTJvD6.js";
|
|
5
5
|
import { a as resolvePinnedHostnameWithPolicy } from "./ssrf-CC9kEPCT.js";
|
|
6
|
-
import { r as ensurePortAvailable } from "./ports-
|
|
6
|
+
import { r as ensurePortAvailable } from "./ports-EAVAOFyK.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
@@ -9,7 +9,7 @@ import fs$1 from "node:fs/promises";
|
|
|
9
9
|
import { execFileSync, spawn } from "node:child_process";
|
|
10
10
|
import net from "node:net";
|
|
11
11
|
import { createServer } from "node:http";
|
|
12
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
12
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
13
13
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
14
14
|
|
|
15
15
|
//#region src/browser/constants.ts
|
|
@@ -177,7 +177,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
177
177
|
let nextExtensionId = 1;
|
|
178
178
|
const sendToExtension = async (payload) => {
|
|
179
179
|
const ws = extensionWs;
|
|
180
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
180
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
181
181
|
ws.send(JSON.stringify(payload));
|
|
182
182
|
return await new Promise((resolve, reject) => {
|
|
183
183
|
const timer = setTimeout(() => {
|
|
@@ -194,12 +194,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
194
194
|
const broadcastToCdpClients = (evt) => {
|
|
195
195
|
const msg = JSON.stringify(evt);
|
|
196
196
|
for (const ws of cdpClients) {
|
|
197
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
197
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
198
198
|
ws.send(msg);
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
const sendResponseToCdp = (ws, res) => {
|
|
202
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
202
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
203
203
|
ws.send(JSON.stringify(res));
|
|
204
204
|
};
|
|
205
205
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -424,7 +424,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
424
424
|
wssExtension.on("connection", (ws) => {
|
|
425
425
|
extensionWs = ws;
|
|
426
426
|
const ping = setInterval(() => {
|
|
427
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
427
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
428
428
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
429
429
|
}, 5e3);
|
|
430
430
|
ws.on("message", (data) => {
|
|
@@ -742,7 +742,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
742
742
|
}
|
|
743
743
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
744
744
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
745
|
-
const ws = new WebSocket(wsUrl, {
|
|
745
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
746
746
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
747
747
|
...Object.keys(headers).length ? { headers } : {}
|
|
748
748
|
});
|
|
@@ -1636,7 +1636,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1636
1636
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1637
1637
|
return await new Promise((resolve) => {
|
|
1638
1638
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1639
|
-
const ws = new WebSocket(wsUrl, {
|
|
1639
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1640
1640
|
handshakeTimeout: timeoutMs,
|
|
1641
1641
|
...Object.keys(headers).length ? { headers } : {}
|
|
1642
1642
|
});
|
|
@@ -9,7 +9,7 @@ import fs$1 from "node:fs/promises";
|
|
|
9
9
|
import { execFileSync, spawn } from "node:child_process";
|
|
10
10
|
import net from "node:net";
|
|
11
11
|
import { createServer } from "node:http";
|
|
12
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
12
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
13
13
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
14
14
|
|
|
15
15
|
//#region src/browser/constants.ts
|
|
@@ -177,7 +177,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
177
177
|
let nextExtensionId = 1;
|
|
178
178
|
const sendToExtension = async (payload) => {
|
|
179
179
|
const ws = extensionWs;
|
|
180
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
180
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
181
181
|
ws.send(JSON.stringify(payload));
|
|
182
182
|
return await new Promise((resolve, reject) => {
|
|
183
183
|
const timer = setTimeout(() => {
|
|
@@ -194,12 +194,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
194
194
|
const broadcastToCdpClients = (evt) => {
|
|
195
195
|
const msg = JSON.stringify(evt);
|
|
196
196
|
for (const ws of cdpClients) {
|
|
197
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
197
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
198
198
|
ws.send(msg);
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
const sendResponseToCdp = (ws, res) => {
|
|
202
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
202
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
203
203
|
ws.send(JSON.stringify(res));
|
|
204
204
|
};
|
|
205
205
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -424,7 +424,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
424
424
|
wssExtension.on("connection", (ws) => {
|
|
425
425
|
extensionWs = ws;
|
|
426
426
|
const ping = setInterval(() => {
|
|
427
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
427
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
428
428
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
429
429
|
}, 5e3);
|
|
430
430
|
ws.on("message", (data) => {
|
|
@@ -742,7 +742,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
742
742
|
}
|
|
743
743
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
744
744
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
745
|
-
const ws = new WebSocket(wsUrl, {
|
|
745
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
746
746
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
747
747
|
...Object.keys(headers).length ? { headers } : {}
|
|
748
748
|
});
|
|
@@ -1636,7 +1636,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1636
1636
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1637
1637
|
return await new Promise((resolve) => {
|
|
1638
1638
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1639
|
-
const ws = new WebSocket(wsUrl, {
|
|
1639
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1640
1640
|
handshakeTimeout: timeoutMs,
|
|
1641
1641
|
...Object.keys(headers).length ? { headers } : {}
|
|
1642
1642
|
});
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
import { s as loadSymiPlugins } from "./unified-runner-
|
|
1
|
+
import { s as loadSymiPlugins } from "./unified-runner-D6p4N2vu.js";
|
|
2
2
|
import "./registry-DKJLAPDB.js";
|
|
3
3
|
import "./paths-BSzKwaxE.js";
|
|
4
4
|
import "./utils-BU8jVQFM.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
6
|
-
import "./auth-profiles-
|
|
6
|
+
import "./auth-profiles-BDvJK1Bg.js";
|
|
7
7
|
import "./exec-DKyLtSjm.js";
|
|
8
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
8
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CKTVXF_1.js";
|
|
9
9
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
10
10
|
import "./boolean-Wzu0-e0P.js";
|
|
11
11
|
import "./env-B97Ms861.js";
|
|
12
|
-
import "./pi-embedded-helpers-
|
|
13
|
-
import { i as loadConfig } from "./config-
|
|
12
|
+
import "./pi-embedded-helpers-DGW2untm.js";
|
|
13
|
+
import { i as loadConfig } from "./config-BEaq2Sb6.js";
|
|
14
14
|
import "./manifest-registry-D_LsBSyt.js";
|
|
15
|
-
import "./sandbox-
|
|
16
|
-
import "./chrome-
|
|
15
|
+
import "./sandbox-DPn-s_K5.js";
|
|
16
|
+
import "./chrome-BQoO4LXq.js";
|
|
17
17
|
import "./tailscale-D7dC-5EX.js";
|
|
18
18
|
import "./auth-BbwD4lRX.js";
|
|
19
|
-
import "./server-context-
|
|
19
|
+
import "./server-context-BUbuOgNz.js";
|
|
20
20
|
import "./frontmatter-CHu3sfCM.js";
|
|
21
|
-
import "./skills-
|
|
22
|
-
import "./routes-
|
|
21
|
+
import "./skills-DS1Vdylm.js";
|
|
22
|
+
import "./routes-DiqMB1cp.js";
|
|
23
23
|
import "./redact-CSc_2Nka.js";
|
|
24
24
|
import "./errors-Z-WkF18Q.js";
|
|
25
|
-
import "./fs-safe-
|
|
26
|
-
import "./paths-
|
|
25
|
+
import "./fs-safe-DjAKGGJ8.js";
|
|
26
|
+
import "./paths-DaQrPPet.js";
|
|
27
27
|
import "./ssrf-CC9kEPCT.js";
|
|
28
|
-
import "./image-ops-
|
|
29
|
-
import "./ports-
|
|
28
|
+
import "./image-ops-c7_of0HT.js";
|
|
29
|
+
import "./ports-EAVAOFyK.js";
|
|
30
30
|
import "./trash-BjVrPcAx.js";
|
|
31
|
-
import "./sessions-
|
|
31
|
+
import "./sessions-DorP6zY8.js";
|
|
32
32
|
import "./dock-CnGWTXL4.js";
|
|
33
33
|
import "./message-channel-C_V8IAYx.js";
|
|
34
34
|
import "./plugins-DuuHorqi.js";
|
|
35
|
-
import "./send-
|
|
35
|
+
import "./send-CYJucYob.js";
|
|
36
36
|
import "./paths-CJcw9nbZ.js";
|
|
37
37
|
import "./thinking-177f26eg.js";
|
|
38
38
|
import "./tokens-BKbemuIk.js";
|
|
39
|
-
import "./deliver-
|
|
39
|
+
import "./deliver-ccf_boim.js";
|
|
40
40
|
import "./diagnostic-CwF3MnBL.js";
|
|
41
41
|
import "./diagnostic-session-state-I4x9gPY4.js";
|
|
42
|
-
import "./models-config-
|
|
43
|
-
import "./pi-auth-json-
|
|
42
|
+
import "./models-config-Dh1tABIl.js";
|
|
43
|
+
import "./pi-auth-json-CVwNh4rb.js";
|
|
44
44
|
import "./session-cost-usage-DYcv40ss.js";
|
|
45
|
-
import "./session-utils-
|
|
46
|
-
import "./with-timeout-
|
|
47
|
-
import "./reply-prefix-
|
|
48
|
-
import "./memory-
|
|
49
|
-
import "./manager-
|
|
50
|
-
import "./sqlite-
|
|
45
|
+
import "./session-utils-CqSXwGYa.js";
|
|
46
|
+
import "./with-timeout-CAUWEPmp.js";
|
|
47
|
+
import "./reply-prefix-DZQBodKF.js";
|
|
48
|
+
import "./memory-BZPO-RoX.js";
|
|
49
|
+
import "./manager-C_5p8DxF.js";
|
|
50
|
+
import "./sqlite-BUXBg2yu.js";
|
|
51
51
|
import "./chunk-DQGU0F8t.js";
|
|
52
52
|
import "./markdown-tables-GTLvbzuR.js";
|
|
53
53
|
import "./fetch-guard-DG6T0ZdL.js";
|
|
54
|
-
import "./local-roots-
|
|
54
|
+
import "./local-roots-CUKhHNCV.js";
|
|
55
55
|
import "./commands-B3UrgxIz.js";
|
|
56
|
-
import "./commands-registry-
|
|
57
|
-
import "./client-
|
|
58
|
-
import "./call-
|
|
59
|
-
import "./pairing-token-
|
|
56
|
+
import "./commands-registry-CLePPNDW.js";
|
|
57
|
+
import "./client-Bs2zB0rY.js";
|
|
58
|
+
import "./call-BjHvYJx2.js";
|
|
59
|
+
import "./pairing-token-DorpwP8O.js";
|
|
60
60
|
import "./tool-display-Dr6VaTg5.js";
|
|
61
|
-
import "./skills-remote-
|
|
62
|
-
import "./workspace-dirs-
|
|
61
|
+
import "./skills-remote-BDSyRdyX.js";
|
|
62
|
+
import "./workspace-dirs-QmSWJptJ.js";
|
|
63
63
|
import "./pi-model-discovery-DdkUSfiI.js";
|
|
64
|
-
import "./model-catalog-
|
|
65
|
-
import "./skill-commands-
|
|
66
|
-
import "./pairing-store-
|
|
64
|
+
import "./model-catalog-BrW9BL1p.js";
|
|
65
|
+
import "./skill-commands-RbglvrSW.js";
|
|
66
|
+
import "./pairing-store-S9CXOhSG.js";
|
|
67
67
|
import "./exec-approvals-CZOc8M5w.js";
|
|
68
|
-
import "./nodes-screen-
|
|
69
|
-
import "./control-service-
|
|
68
|
+
import "./nodes-screen-CT94yu_w.js";
|
|
69
|
+
import "./control-service-DhlgNQGb.js";
|
|
70
70
|
import "./stagger-BhvnarfO.js";
|
|
71
71
|
import "./channel-selection-BvIcXQLj.js";
|
|
72
72
|
import "./delivery-queue-DDs84baU.js";
|
|
73
73
|
import "./bindings-9LSA3Jr1.js";
|
|
74
|
-
import "./resolve-route-
|
|
74
|
+
import "./resolve-route-BbUl3Hi7.js";
|
|
75
75
|
import "./links-CSaUKNKm.js";
|
|
76
76
|
import "./cli-utils-CX1oQ81G.js";
|
|
77
77
|
import "./help-format-BI_G2p1e.js";
|
|
78
78
|
import "./progress-CyPyGCDn.js";
|
|
79
|
-
import "./memory-cli-
|
|
79
|
+
import "./memory-cli-4vj-LpgO.js";
|
|
80
80
|
import "./logging-B5YNzZB9.js";
|
|
81
|
-
import "./replies-
|
|
82
|
-
import "./pi-tools.policy-
|
|
83
|
-
import "./model-
|
|
81
|
+
import "./replies-CbipVshj.js";
|
|
82
|
+
import "./pi-tools.policy-BcTgKDG6.js";
|
|
83
|
+
import "./model-CbRy_3xW.js";
|
|
84
84
|
|
|
85
85
|
//#region src/plugins/cli.ts
|
|
86
86
|
const log = createSubsystemLogger("plugins");
|
|
@@ -3,7 +3,7 @@ import { a as logError, i as logDebug } from "./exec-DKyLtSjm.js";
|
|
|
3
3
|
import { i as isSecureWebSocketUrl, t as rawDataToString } from "./ws-CahTJvD6.js";
|
|
4
4
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES, p as GATEWAY_CLIENT_IDS } from "./message-channel-C_V8IAYx.js";
|
|
5
5
|
import { t as INPUT_PROVENANCE_KIND_VALUES } from "./input-provenance-DsLesw6T.js";
|
|
6
|
-
import { c as writeJsonAtomic, i as resolvePairingPaths, n as verifyPairingToken, o as createAsyncLock, r as pruneExpiredPending, s as readJsonFile, t as generatePairingToken } from "./pairing-token-
|
|
6
|
+
import { c as writeJsonAtomic, i as resolvePairingPaths, n as verifyPairingToken, o as createAsyncLock, r as pruneExpiredPending, s as readJsonFile, t as generatePairingToken } from "./pairing-token-DorpwP8O.js";
|
|
7
7
|
import crypto, { randomUUID } from "node:crypto";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Zt as getPrimaryCommand, en as hasHelpOrVersion } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-CSJZQox4.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-Br-aZ0qD.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-DJmVC_6h.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-w7sKxODf.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as getActivePluginRegistry } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { c as escapeRegExp } from "./utils-BU8jVQFM.js";
|
|
4
|
-
import { Ht as DEFAULT_MODEL, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef } from "./auth-profiles-
|
|
4
|
+
import { Ht as DEFAULT_MODEL, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef } from "./auth-profiles-BDvJK1Bg.js";
|
|
5
5
|
import { n as listChannelDocks } from "./dock-CnGWTXL4.js";
|
|
6
6
|
import { i as listThinkingLevels } from "./thinking-177f26eg.js";
|
|
7
7
|
import { t as isCommandFlagEnabled } from "./commands-B3UrgxIz.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { jt as pathExists, l as routeLogsToStderr, vt as resolveStateDir } from "./entry.js";
|
|
3
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
4
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
3
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-CSJZQox4.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-B9TplwzB.js";
|
|
5
5
|
import { t as getProgramContext } from "./program-context-BFKw4l9I.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -2,10 +2,10 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
3
3
|
import { f as pathExists } from "./utils-BU8jVQFM.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
5
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-C_uJXnZV.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
8
|
-
import
|
|
8
|
+
import fsPromises from "node:fs/promises";
|
|
9
9
|
import { Option } from "commander";
|
|
10
10
|
|
|
11
11
|
//#region src/cli/completion-cli.ts
|
|
@@ -62,11 +62,11 @@ function getCompletionScript(shell, program) {
|
|
|
62
62
|
}
|
|
63
63
|
async function writeCompletionCache(params) {
|
|
64
64
|
const cacheDir = resolveCompletionCacheDir();
|
|
65
|
-
await
|
|
65
|
+
await fsPromises.mkdir(cacheDir, { recursive: true });
|
|
66
66
|
for (const shell of params.shells) {
|
|
67
67
|
const script = getCompletionScript(shell, params.program);
|
|
68
68
|
const targetPath = resolveCompletionCachePath(shell, params.binName);
|
|
69
|
-
await
|
|
69
|
+
await fsPromises.writeFile(targetPath, script, "utf-8");
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
function formatCompletionSourceLine(shell, binName, cachePath) {
|
|
@@ -124,7 +124,7 @@ async function isCompletionInstalled(shell, binName = "symi") {
|
|
|
124
124
|
if (!await pathExists(profilePath)) return false;
|
|
125
125
|
const cachePathCandidate = resolveCompletionCachePath(shell, binName);
|
|
126
126
|
const cachedPath = await pathExists(cachePathCandidate) ? cachePathCandidate : null;
|
|
127
|
-
return (await
|
|
127
|
+
return (await fsPromises.readFile(profilePath, "utf-8")).split("\n").some((line) => isCompletionProfileHeader(line) || isCompletionProfileLine(line, binName, cachedPath));
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
130
|
* Check if the profile uses the slow dynamic completion pattern.
|
|
@@ -134,7 +134,7 @@ async function usesSlowDynamicCompletion(shell, binName = "symi") {
|
|
|
134
134
|
const profilePath = getShellProfilePath(shell);
|
|
135
135
|
if (!await pathExists(profilePath)) return false;
|
|
136
136
|
const cachePath = resolveCompletionCachePath(shell, binName);
|
|
137
|
-
const lines = (await
|
|
137
|
+
const lines = (await fsPromises.readFile(profilePath, "utf-8")).split("\n");
|
|
138
138
|
for (const line of lines) if (isSlowDynamicCompletionLine(line, binName) && !line.includes(cachePath)) return true;
|
|
139
139
|
return false;
|
|
140
140
|
}
|
|
@@ -183,7 +183,7 @@ async function installCompletion(shell, yes, binName = "symi") {
|
|
|
183
183
|
} else if (shell === "bash") {
|
|
184
184
|
profilePath = path.join(home, ".bashrc");
|
|
185
185
|
try {
|
|
186
|
-
await
|
|
186
|
+
await fsPromises.access(profilePath);
|
|
187
187
|
} catch {
|
|
188
188
|
profilePath = path.join(home, ".bash_profile");
|
|
189
189
|
}
|
|
@@ -197,13 +197,13 @@ async function installCompletion(shell, yes, binName = "symi") {
|
|
|
197
197
|
}
|
|
198
198
|
try {
|
|
199
199
|
try {
|
|
200
|
-
await
|
|
200
|
+
await fsPromises.access(profilePath);
|
|
201
201
|
} catch {
|
|
202
202
|
if (!yes) console.warn(`Profile not found at ${profilePath}. Created a new one.`);
|
|
203
|
-
await
|
|
204
|
-
await
|
|
203
|
+
await fsPromises.mkdir(path.dirname(profilePath), { recursive: true });
|
|
204
|
+
await fsPromises.writeFile(profilePath, "", "utf-8");
|
|
205
205
|
}
|
|
206
|
-
const update = updateCompletionProfile(await
|
|
206
|
+
const update = updateCompletionProfile(await fsPromises.readFile(profilePath, "utf-8"), binName, cachePath, sourceLine);
|
|
207
207
|
if (!update.changed) {
|
|
208
208
|
if (!yes) console.log(`Completion already installed in ${profilePath}`);
|
|
209
209
|
return;
|
|
@@ -212,7 +212,7 @@ async function installCompletion(shell, yes, binName = "symi") {
|
|
|
212
212
|
const action = update.hadExisting ? "Updating" : "Installing";
|
|
213
213
|
console.log(`${action} completion in ${profilePath}...`);
|
|
214
214
|
}
|
|
215
|
-
await
|
|
215
|
+
await fsPromises.writeFile(profilePath, update.next, "utf-8");
|
|
216
216
|
if (!yes) console.log(`Completion installed. Restart your shell or run: source ${profilePath}`);
|
|
217
217
|
} catch (err) {
|
|
218
218
|
console.error(`Failed to install completion: ${err}`);
|
|
@@ -2,9 +2,9 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as CHANNEL_IDS } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { a as resolveCanonicalConfigPath, c as resolveDefaultConfigCandidates, d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, h as resolveOAuthPath, i as isNixMode, l as resolveGatewayLockDir, m as resolveOAuthDir, n as DEFAULT_GATEWAY_PORT, o as resolveConfigPath, p as resolveNewStateDir, r as STATE_DIR, s as resolveConfigPathCandidate, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BSzKwaxE.js";
|
|
4
4
|
import { S as isPlainObject$1, h as resolveUserPath, p as resolveConfigDir, u as isRecord } from "./utils-BU8jVQFM.js";
|
|
5
|
-
import { At as resolveShellEnvFallbackTimeoutMs, Mt as shouldEnableShellEnvFallback, R as parseModelRef, Vt as DEFAULT_CONTEXT_TOKENS, jt as shouldDeferShellEnvFallback, kt as loadShellEnvFallback } from "./auth-profiles-
|
|
5
|
+
import { At as resolveShellEnvFallbackTimeoutMs, Mt as shouldEnableShellEnvFallback, R as parseModelRef, Vt as DEFAULT_CONTEXT_TOKENS, jt as shouldDeferShellEnvFallback, kt as loadShellEnvFallback } from "./auth-profiles-BDvJK1Bg.js";
|
|
6
6
|
import { o as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-B_ZVH1kE.js";
|
|
7
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
7
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CKTVXF_1.js";
|
|
8
8
|
import { d as resolveEnableState, f as resolveMemorySlotDecision, g as normalizeEnvVarKey, h as isDangerousHostEnvVarName, n as loadPluginManifestRegistry, u as normalizePluginsConfig } from "./manifest-registry-D_LsBSyt.js";
|
|
9
9
|
import { i as isPathInside } from "./legacy-names-Catogrri.js";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
@@ -2,14 +2,14 @@ import { b as danger, j as theme, x as info } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import { v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-BDvJK1Bg.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
7
7
|
import "./exec-DKyLtSjm.js";
|
|
8
|
-
import "./agent-scope-
|
|
8
|
+
import "./agent-scope-CKTVXF_1.js";
|
|
9
9
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
10
10
|
import "./boolean-Wzu0-e0P.js";
|
|
11
11
|
import "./env-B97Ms861.js";
|
|
12
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
12
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BEaq2Sb6.js";
|
|
13
13
|
import "./manifest-registry-D_LsBSyt.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
15
15
|
import JSON5 from "json5";
|
|
@@ -206,7 +206,7 @@ async function runConfigUnset(opts) {
|
|
|
206
206
|
}
|
|
207
207
|
function registerConfigCli(program) {
|
|
208
208
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.symi.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
209
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
209
|
+
const { configureCommandFromSectionsArg } = await import("./configure-DvVtZB1V.js").then((n) => n.t);
|
|
210
210
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
211
211
|
});
|
|
212
212
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|