@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,13 +1,13 @@
|
|
|
1
1
|
import { A as isRich, j as theme, x as info } from "./registry-DKJLAPDB.js";
|
|
2
2
|
import { o as normalizeAgentId } from "./session-key-B_ZVH1kE.js";
|
|
3
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-CKTVXF_1.js";
|
|
4
4
|
import { t as isTruthyEnvValue } from "./env-B97Ms861.js";
|
|
5
|
-
import { i as loadConfig } from "./config-
|
|
5
|
+
import { i as loadConfig } from "./config-BEaq2Sb6.js";
|
|
6
6
|
import { n as formatErrorMessage } from "./errors-Z-WkF18Q.js";
|
|
7
|
-
import { o as loadSessionStore } from "./sessions-
|
|
7
|
+
import { o as loadSessionStore } from "./sessions-DorP6zY8.js";
|
|
8
8
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DuuHorqi.js";
|
|
9
9
|
import { c as resolveStorePath } from "./paths-CJcw9nbZ.js";
|
|
10
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BjHvYJx2.js";
|
|
11
11
|
import { r as resolvePreferredAccountId, t as buildChannelAccountBindings } from "./bindings-9LSA3Jr1.js";
|
|
12
12
|
import { n as withProgress } from "./progress-CyPyGCDn.js";
|
|
13
13
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BBypnAYf.js";
|
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
import "./unified-runner-
|
|
1
|
+
import "./unified-runner-D6p4N2vu.js";
|
|
2
2
|
import { j as theme } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import "./paths-BSzKwaxE.js";
|
|
4
4
|
import { h as resolveUserPath, t as CONFIG_DIR, v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
6
|
-
import "./auth-profiles-
|
|
6
|
+
import "./auth-profiles-BDvJK1Bg.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
8
8
|
import "./exec-DKyLtSjm.js";
|
|
9
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
9
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CKTVXF_1.js";
|
|
10
10
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
11
11
|
import "./boolean-Wzu0-e0P.js";
|
|
12
12
|
import "./env-B97Ms861.js";
|
|
13
|
-
import "./pi-embedded-helpers-
|
|
14
|
-
import { i as loadConfig, l as writeConfigFile } from "./config-
|
|
13
|
+
import "./pi-embedded-helpers-DGW2untm.js";
|
|
14
|
+
import { i as loadConfig, l as writeConfigFile } from "./config-BEaq2Sb6.js";
|
|
15
15
|
import "./manifest-registry-D_LsBSyt.js";
|
|
16
16
|
import { a as isPathInsideWithRealpath, i as isPathInside, n as MANIFEST_KEY } from "./legacy-names-Catogrri.js";
|
|
17
|
-
import "./sandbox-
|
|
18
|
-
import "./chrome-
|
|
17
|
+
import "./sandbox-DPn-s_K5.js";
|
|
18
|
+
import "./chrome-BQoO4LXq.js";
|
|
19
19
|
import { u as promptYesNo } from "./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 "./plugins-DuuHorqi.js";
|
|
37
|
-
import "./send-
|
|
37
|
+
import "./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 "./session-utils-
|
|
48
|
-
import "./with-timeout-
|
|
49
|
-
import "./reply-prefix-
|
|
50
|
-
import "./memory-
|
|
51
|
-
import "./manager-
|
|
52
|
-
import "./sqlite-
|
|
47
|
+
import "./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 "./call-
|
|
61
|
-
import "./pairing-token-
|
|
58
|
+
import "./commands-registry-CLePPNDW.js";
|
|
59
|
+
import "./client-Bs2zB0rY.js";
|
|
60
|
+
import "./call-BjHvYJx2.js";
|
|
61
|
+
import "./pairing-token-DorpwP8O.js";
|
|
62
62
|
import "./tool-display-Dr6VaTg5.js";
|
|
63
|
-
import "./skills-remote-
|
|
64
|
-
import "./workspace-dirs-
|
|
63
|
+
import "./skills-remote-BDSyRdyX.js";
|
|
64
|
+
import "./workspace-dirs-QmSWJptJ.js";
|
|
65
65
|
import "./pi-model-discovery-DdkUSfiI.js";
|
|
66
|
-
import "./model-catalog-
|
|
67
|
-
import "./skill-commands-
|
|
68
|
-
import "./pairing-store-
|
|
66
|
+
import "./model-catalog-BrW9BL1p.js";
|
|
67
|
+
import "./skill-commands-RbglvrSW.js";
|
|
68
|
+
import "./pairing-store-S9CXOhSG.js";
|
|
69
69
|
import "./exec-approvals-CZOc8M5w.js";
|
|
70
|
-
import "./nodes-screen-
|
|
71
|
-
import "./control-service-
|
|
70
|
+
import "./nodes-screen-CT94yu_w.js";
|
|
71
|
+
import "./control-service-DhlgNQGb.js";
|
|
72
72
|
import "./stagger-BhvnarfO.js";
|
|
73
73
|
import "./channel-selection-BvIcXQLj.js";
|
|
74
74
|
import "./delivery-queue-DDs84baU.js";
|
|
75
75
|
import "./bindings-9LSA3Jr1.js";
|
|
76
|
-
import "./resolve-route-
|
|
76
|
+
import "./resolve-route-BbUl3Hi7.js";
|
|
77
77
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
78
78
|
import "./cli-utils-CX1oQ81G.js";
|
|
79
79
|
import "./help-format-BI_G2p1e.js";
|
|
80
80
|
import "./progress-CyPyGCDn.js";
|
|
81
|
-
import "./memory-cli-
|
|
81
|
+
import "./memory-cli-4vj-LpgO.js";
|
|
82
82
|
import "./logging-B5YNzZB9.js";
|
|
83
|
-
import "./replies-
|
|
84
|
-
import "./pi-tools.policy-
|
|
85
|
-
import "./model-
|
|
86
|
-
import { a as extractArchive, c as resolveArchiveKind, i as unscopedPackageName, l as resolvePackedRootDir, o as fileExists, s as readJsonFile, t as resolveSafeInstallDir } from "./install-safe-path-
|
|
87
|
-
import { a as installPackageDir, i as withTempDir, n as installFromNpmSpecArchive, r as resolveArchiveSourcePath, t as validateRegistryNpmSpec } from "./npm-registry-spec-
|
|
83
|
+
import "./replies-CbipVshj.js";
|
|
84
|
+
import "./pi-tools.policy-BcTgKDG6.js";
|
|
85
|
+
import "./model-CbRy_3xW.js";
|
|
86
|
+
import { a as extractArchive, c as resolveArchiveKind, i as unscopedPackageName, l as resolvePackedRootDir, o as fileExists, s as readJsonFile, t as resolveSafeInstallDir } from "./install-safe-path-B73BkVO3.js";
|
|
87
|
+
import { a as installPackageDir, i as withTempDir, n as installFromNpmSpecArchive, r as resolveArchiveSourcePath, t as validateRegistryNpmSpec } from "./npm-registry-spec-B8X06AqB.js";
|
|
88
88
|
import { t as renderTable } from "./table-DkAQzCOR.js";
|
|
89
89
|
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-CxAs2tsz.js";
|
|
90
90
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-DGjgoBZt.js";
|
|
91
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
91
|
+
import { t as buildPluginStatusReport } from "./status-CR4VgVZ0.js";
|
|
92
92
|
import path from "node:path";
|
|
93
93
|
import fs from "node:fs";
|
|
94
|
-
import
|
|
94
|
+
import fsPromises from "node:fs/promises";
|
|
95
95
|
|
|
96
96
|
//#region src/hooks/install.ts
|
|
97
97
|
const defaultLogger = {};
|
|
@@ -135,7 +135,7 @@ function resolveTimedHookInstallModeOptions(params) {
|
|
|
135
135
|
}
|
|
136
136
|
async function resolveInstallTargetDir(id, hooksDir) {
|
|
137
137
|
const baseHooksDir = hooksDir ? resolveUserPath(hooksDir) : path.join(CONFIG_DIR, "hooks");
|
|
138
|
-
await
|
|
138
|
+
await fsPromises.mkdir(baseHooksDir, { recursive: true });
|
|
139
139
|
const targetDirResult = resolveSafeInstallDir({
|
|
140
140
|
baseDir: baseHooksDir,
|
|
141
141
|
id,
|
|
@@ -153,7 +153,7 @@ async function resolveInstallTargetDir(id, hooksDir) {
|
|
|
153
153
|
async function resolveHookNameFromDir(hookDir) {
|
|
154
154
|
const hookMdPath = path.join(hookDir, "HOOK.md");
|
|
155
155
|
if (!await fileExists(hookMdPath)) throw new Error(`HOOK.md missing in ${hookDir}`);
|
|
156
|
-
return parseFrontmatter(await
|
|
156
|
+
return parseFrontmatter(await fsPromises.readFile(hookMdPath, "utf-8")).name || path.basename(hookDir);
|
|
157
157
|
}
|
|
158
158
|
async function validateHookDir(hookDir) {
|
|
159
159
|
if (!await fileExists(path.join(hookDir, "HOOK.md"))) throw new Error(`HOOK.md missing in ${hookDir}`);
|
|
@@ -286,24 +286,24 @@ async function installHookFromDir(params) {
|
|
|
286
286
|
let backupDir = null;
|
|
287
287
|
if (mode === "update" && await fileExists(targetDir)) {
|
|
288
288
|
backupDir = `${targetDir}.backup-${Date.now()}`;
|
|
289
|
-
await
|
|
289
|
+
await fsPromises.rename(targetDir, backupDir);
|
|
290
290
|
}
|
|
291
291
|
try {
|
|
292
|
-
await
|
|
292
|
+
await fsPromises.cp(params.hookDir, targetDir, { recursive: true });
|
|
293
293
|
} catch (err) {
|
|
294
294
|
if (backupDir) {
|
|
295
|
-
await
|
|
295
|
+
await fsPromises.rm(targetDir, {
|
|
296
296
|
recursive: true,
|
|
297
297
|
force: true
|
|
298
298
|
}).catch(() => void 0);
|
|
299
|
-
await
|
|
299
|
+
await fsPromises.rename(backupDir, targetDir).catch(() => void 0);
|
|
300
300
|
}
|
|
301
301
|
return {
|
|
302
302
|
ok: false,
|
|
303
303
|
error: `failed to copy hook: ${String(err)}`
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
|
-
if (backupDir) await
|
|
306
|
+
if (backupDir) await fsPromises.rm(backupDir, {
|
|
307
307
|
recursive: true,
|
|
308
308
|
force: true
|
|
309
309
|
}).catch(() => void 0);
|
|
@@ -322,7 +322,7 @@ async function installHooksFromArchive(params) {
|
|
|
322
322
|
const archivePath = archivePathResult.path;
|
|
323
323
|
return await withTempDir("symi-hook-", async (tmpDir) => {
|
|
324
324
|
const extractDir = path.join(tmpDir, "extract");
|
|
325
|
-
await
|
|
325
|
+
await fsPromises.mkdir(extractDir, { recursive: true });
|
|
326
326
|
logger.info?.(`Extracting ${archivePath}…`);
|
|
327
327
|
try {
|
|
328
328
|
await extractArchive({
|
|
@@ -408,7 +408,7 @@ async function installHooksFromPath(params) {
|
|
|
408
408
|
ok: false,
|
|
409
409
|
error: `path not found: ${resolved}`
|
|
410
410
|
};
|
|
411
|
-
if ((await
|
|
411
|
+
if ((await fsPromises.stat(resolved)).isDirectory()) {
|
|
412
412
|
if (await fileExists(path.join(resolved, "package.json"))) return await installHookPackageFromDir({
|
|
413
413
|
packageDir: resolved,
|
|
414
414
|
hooksDir: params.hooksDir,
|
|
@@ -557,7 +557,7 @@ function logGatewayRestartHint() {
|
|
|
557
557
|
}
|
|
558
558
|
async function readInstalledPackageVersion(dir) {
|
|
559
559
|
try {
|
|
560
|
-
const raw = await
|
|
560
|
+
const raw = await fsPromises.readFile(path.join(dir, "package.json"), "utf-8");
|
|
561
561
|
const parsed = JSON.parse(raw);
|
|
562
562
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
563
563
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as runExec } from "./exec-DKyLtSjm.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import os from "node:os";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
import { fileTypeFromBuffer } from "file-type";
|
|
6
6
|
|
|
7
7
|
//#region src/media/constants.ts
|
|
@@ -230,11 +230,11 @@ function readJpegExifOrientation(buffer) {
|
|
|
230
230
|
return null;
|
|
231
231
|
}
|
|
232
232
|
async function withTempDir(fn) {
|
|
233
|
-
const dir = await
|
|
233
|
+
const dir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "symi-img-"));
|
|
234
234
|
try {
|
|
235
235
|
return await fn(dir);
|
|
236
236
|
} finally {
|
|
237
|
-
await
|
|
237
|
+
await fsPromises.rm(dir, {
|
|
238
238
|
recursive: true,
|
|
239
239
|
force: true
|
|
240
240
|
}).catch(() => {});
|
|
@@ -243,7 +243,7 @@ async function withTempDir(fn) {
|
|
|
243
243
|
async function sipsMetadataFromBuffer(buffer) {
|
|
244
244
|
return await withTempDir(async (dir) => {
|
|
245
245
|
const input = path.join(dir, "in.img");
|
|
246
|
-
await
|
|
246
|
+
await fsPromises.writeFile(input, buffer);
|
|
247
247
|
const { stdout } = await runExec("/usr/bin/sips", [
|
|
248
248
|
"-g",
|
|
249
249
|
"pixelWidth",
|
|
@@ -271,7 +271,7 @@ async function sipsResizeToJpeg(params) {
|
|
|
271
271
|
return await withTempDir(async (dir) => {
|
|
272
272
|
const input = path.join(dir, "in.img");
|
|
273
273
|
const output = path.join(dir, "out.jpg");
|
|
274
|
-
await
|
|
274
|
+
await fsPromises.writeFile(input, params.buffer);
|
|
275
275
|
await runExec("/usr/bin/sips", [
|
|
276
276
|
"-Z",
|
|
277
277
|
String(Math.max(1, Math.round(params.maxSide))),
|
|
@@ -288,14 +288,14 @@ async function sipsResizeToJpeg(params) {
|
|
|
288
288
|
timeoutMs: 2e4,
|
|
289
289
|
maxBuffer: 1024 * 1024
|
|
290
290
|
});
|
|
291
|
-
return await
|
|
291
|
+
return await fsPromises.readFile(output);
|
|
292
292
|
});
|
|
293
293
|
}
|
|
294
294
|
async function sipsConvertToJpeg(buffer) {
|
|
295
295
|
return await withTempDir(async (dir) => {
|
|
296
296
|
const input = path.join(dir, "in.heic");
|
|
297
297
|
const output = path.join(dir, "out.jpg");
|
|
298
|
-
await
|
|
298
|
+
await fsPromises.writeFile(input, buffer);
|
|
299
299
|
await runExec("/usr/bin/sips", [
|
|
300
300
|
"-s",
|
|
301
301
|
"format",
|
|
@@ -307,7 +307,7 @@ async function sipsConvertToJpeg(buffer) {
|
|
|
307
307
|
timeoutMs: 2e4,
|
|
308
308
|
maxBuffer: 1024 * 1024
|
|
309
309
|
});
|
|
310
|
-
return await
|
|
310
|
+
return await fsPromises.readFile(output);
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
313
|
async function getImageMetadata(buffer) {
|
|
@@ -358,7 +358,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
358
358
|
return await withTempDir(async (dir) => {
|
|
359
359
|
const input = path.join(dir, "in.jpg");
|
|
360
360
|
const output = path.join(dir, "out.jpg");
|
|
361
|
-
await
|
|
361
|
+
await fsPromises.writeFile(input, buffer);
|
|
362
362
|
await runExec("/usr/bin/sips", [
|
|
363
363
|
...ops,
|
|
364
364
|
input,
|
|
@@ -368,7 +368,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
368
368
|
timeoutMs: 2e4,
|
|
369
369
|
maxBuffer: 1024 * 1024
|
|
370
370
|
});
|
|
371
|
-
return await
|
|
371
|
+
return await fsPromises.readFile(output);
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
374
|
async function resizeToJpeg(params) {
|
package/dist/index.js
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { Mt as prepareAgentRun, Tn as composeTurnMiddleware, _ as withContextUsageWarning, b as buildAgentTurnParams, jt as applyTemplate, on as installUnhandledRejectionHandler, t as runAgentTurn, ut as resolveCommitHash, v as withContextOverflowRecovery, x as prepareReplyTurn } from "./unified-runner-
|
|
2
|
+
import { Mt as prepareAgentRun, Tn as composeTurnMiddleware, _ as withContextUsageWarning, b as buildAgentTurnParams, jt as applyTemplate, on as installUnhandledRejectionHandler, t as runAgentTurn, ut as resolveCommitHash, v as withContextOverflowRecovery, x as prepareReplyTurn } from "./unified-runner-D6p4N2vu.js";
|
|
3
3
|
import { A as isRich, E as setVerbose, j as theme } from "./registry-DKJLAPDB.js";
|
|
4
4
|
import "./paths-BSzKwaxE.js";
|
|
5
5
|
import { c as escapeRegExp, d as normalizeE164 } from "./utils-BU8jVQFM.js";
|
|
6
6
|
import { f as defaultRuntime, r as enableConsoleCapture, u as visibleWidth } from "./subsystem-CtH6J8AV.js";
|
|
7
|
-
import "./auth-profiles-
|
|
7
|
+
import "./auth-profiles-BDvJK1Bg.js";
|
|
8
8
|
import { n as replaceCliName, r as resolveCliName } from "./command-format-BvAkTjTI.js";
|
|
9
9
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
10
|
-
import "./agent-scope-
|
|
10
|
+
import "./agent-scope-CKTVXF_1.js";
|
|
11
11
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
12
12
|
import "./boolean-Wzu0-e0P.js";
|
|
13
13
|
import { r as normalizeEnv, t as isTruthyEnvValue } from "./env-B97Ms861.js";
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import { F as loadDotEnv, N as VERSION, i as loadConfig } from "./config-
|
|
14
|
+
import "./pi-embedded-helpers-DGW2untm.js";
|
|
15
|
+
import { F as loadDotEnv, N as VERSION, i as loadConfig } 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 { l as ensureBinary, u as promptYesNo } from "./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 { r as formatUncaughtError } from "./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 { i as handlePortError, n as describePortOwner, r as ensurePortAvailable, t as PortInUseError } from "./ports-
|
|
30
|
+
import "./image-ops-c7_of0HT.js";
|
|
31
|
+
import { i as handlePortError, n as describePortOwner, r as ensurePortAvailable, t as PortInUseError } from "./ports-EAVAOFyK.js";
|
|
32
32
|
import "./trash-BjVrPcAx.js";
|
|
33
|
-
import { A as deriveSessionKey, j as resolveSessionKey, l as saveSessionStore, o as loadSessionStore } from "./sessions-
|
|
33
|
+
import { A as deriveSessionKey, j as resolveSessionKey, l as saveSessionStore, o as loadSessionStore } from "./sessions-DorP6zY8.js";
|
|
34
34
|
import "./dock-CnGWTXL4.js";
|
|
35
35
|
import "./message-channel-C_V8IAYx.js";
|
|
36
36
|
import "./plugins-DuuHorqi.js";
|
|
37
|
-
import "./send-
|
|
37
|
+
import "./send-CYJucYob.js";
|
|
38
38
|
import { c as resolveStorePath } from "./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 "./session-utils-
|
|
48
|
-
import "./with-timeout-
|
|
49
|
-
import "./reply-prefix-
|
|
50
|
-
import "./memory-
|
|
51
|
-
import "./manager-
|
|
52
|
-
import "./sqlite-
|
|
47
|
+
import "./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 "./call-
|
|
61
|
-
import "./pairing-token-
|
|
58
|
+
import "./commands-registry-CLePPNDW.js";
|
|
59
|
+
import "./client-Bs2zB0rY.js";
|
|
60
|
+
import "./call-BjHvYJx2.js";
|
|
61
|
+
import "./pairing-token-DorpwP8O.js";
|
|
62
62
|
import "./tool-display-Dr6VaTg5.js";
|
|
63
|
-
import "./skills-remote-
|
|
64
|
-
import "./workspace-dirs-
|
|
63
|
+
import "./skills-remote-BDSyRdyX.js";
|
|
64
|
+
import "./workspace-dirs-QmSWJptJ.js";
|
|
65
65
|
import "./pi-model-discovery-DdkUSfiI.js";
|
|
66
|
-
import "./model-catalog-
|
|
67
|
-
import "./skill-commands-
|
|
68
|
-
import "./pairing-store-
|
|
66
|
+
import "./model-catalog-BrW9BL1p.js";
|
|
67
|
+
import "./skill-commands-RbglvrSW.js";
|
|
68
|
+
import "./pairing-store-S9CXOhSG.js";
|
|
69
69
|
import "./exec-approvals-CZOc8M5w.js";
|
|
70
|
-
import "./nodes-screen-
|
|
71
|
-
import "./control-service-
|
|
70
|
+
import "./nodes-screen-CT94yu_w.js";
|
|
71
|
+
import "./control-service-DhlgNQGb.js";
|
|
72
72
|
import "./stagger-BhvnarfO.js";
|
|
73
73
|
import "./channel-selection-BvIcXQLj.js";
|
|
74
74
|
import "./delivery-queue-DDs84baU.js";
|
|
75
75
|
import "./bindings-9LSA3Jr1.js";
|
|
76
|
-
import "./resolve-route-
|
|
76
|
+
import "./resolve-route-BbUl3Hi7.js";
|
|
77
77
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
78
78
|
import "./cli-utils-CX1oQ81G.js";
|
|
79
79
|
import "./help-format-BI_G2p1e.js";
|
|
80
80
|
import "./progress-CyPyGCDn.js";
|
|
81
|
-
import "./memory-cli-
|
|
81
|
+
import "./memory-cli-4vj-LpgO.js";
|
|
82
82
|
import "./logging-B5YNzZB9.js";
|
|
83
|
-
import "./replies-
|
|
84
|
-
import "./pi-tools.policy-
|
|
85
|
-
import "./model-
|
|
86
|
-
import { t as createDefaultDeps } from "./deps-
|
|
83
|
+
import "./replies-CbipVshj.js";
|
|
84
|
+
import "./pi-tools.policy-BcTgKDG6.js";
|
|
85
|
+
import "./model-CbRy_3xW.js";
|
|
86
|
+
import { t as createDefaultDeps } from "./deps-B6QYsl_-.js";
|
|
87
87
|
import { t as ensureSymiCliOnPath } from "./path-env-DuQralyy.js";
|
|
88
88
|
import { t as assertSupportedRuntime } from "./runtime-guard-BZ3_1QqS.js";
|
|
89
|
-
import "./ports-
|
|
89
|
+
import "./ports-ChuJYhEL.js";
|
|
90
90
|
import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-Bt9A9Gfj.js";
|
|
91
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
91
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-C_uJXnZV.js";
|
|
92
92
|
import "./catalog-CSgSg5Gp.js";
|
|
93
|
-
import "./plugin-registry-
|
|
94
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
93
|
+
import "./plugin-registry-bskbnEuW.js";
|
|
94
|
+
import { n as resolveCliChannelOptions } from "./channel-options-77nGDc70.js";
|
|
95
95
|
import process$1 from "node:process";
|
|
96
96
|
import { fileURLToPath } from "node:url";
|
|
97
97
|
import path from "node:path";
|
|
@@ -551,13 +551,13 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
551
551
|
setVerbose(verbose);
|
|
552
552
|
if (!verbose) process.env.NODE_NO_WARNINGS ??= "1";
|
|
553
553
|
if (commandPath[0] === "doctor" || commandPath[0] === "completion") return;
|
|
554
|
-
const { ensureConfigReady } = await import("./config-guard-
|
|
554
|
+
const { ensureConfigReady } = await import("./config-guard-29sjAeg8.js");
|
|
555
555
|
await ensureConfigReady({
|
|
556
556
|
runtime: defaultRuntime,
|
|
557
557
|
commandPath
|
|
558
558
|
});
|
|
559
559
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
560
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
560
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-bskbnEuW.js").then((n) => n.n);
|
|
561
561
|
ensurePluginRegistryLoaded();
|
|
562
562
|
}
|
|
563
563
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, n as GATEWAY_SERVICE_KIND, r as GATEWAY_SERVICE_MARKER } from "./constants-DsZw7bas.js";
|
|
2
|
-
import { n as execSchtasks } from "./service-
|
|
2
|
+
import { n as execSchtasks } from "./service-9ItKCWWS.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/daemon/inspect.ts
|
|
7
7
|
const EXTRA_MARKERS = [
|
|
@@ -76,14 +76,14 @@ function isLegacyLabel(label) {
|
|
|
76
76
|
}
|
|
77
77
|
async function readDirEntries(dir) {
|
|
78
78
|
try {
|
|
79
|
-
return await
|
|
79
|
+
return await fsPromises.readdir(dir);
|
|
80
80
|
} catch {
|
|
81
81
|
return [];
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
async function readUtf8File(filePath) {
|
|
85
85
|
try {
|
|
86
|
-
return await
|
|
86
|
+
return await fsPromises.readFile(filePath, "utf8");
|
|
87
87
|
} catch {
|
|
88
88
|
return null;
|
|
89
89
|
}
|
|
@@ -2,7 +2,7 @@ import { n as resolveSafeBaseDir } from "./path-safety-pFCZCFPp.js";
|
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { createWriteStream } from "node:fs";
|
|
5
|
-
import
|
|
5
|
+
import fsPromises from "node:fs/promises";
|
|
6
6
|
import { pipeline } from "node:stream/promises";
|
|
7
7
|
import { Readable, Transform } from "node:stream";
|
|
8
8
|
import JSZip from "jszip";
|
|
@@ -69,9 +69,9 @@ function resolveArchiveKind(filePath) {
|
|
|
69
69
|
async function resolvePackedRootDir(extractDir) {
|
|
70
70
|
const direct = path.join(extractDir, "package");
|
|
71
71
|
try {
|
|
72
|
-
if ((await
|
|
72
|
+
if ((await fsPromises.stat(direct)).isDirectory()) return direct;
|
|
73
73
|
} catch {}
|
|
74
|
-
const dirs = (await
|
|
74
|
+
const dirs = (await fsPromises.readdir(extractDir, { withFileTypes: true })).filter((entry) => entry.isDirectory()).map((entry) => entry.name);
|
|
75
75
|
if (dirs.length !== 1) throw new Error(`unexpected archive layout (dirs: ${dirs.join(", ")})`);
|
|
76
76
|
const onlyDir = dirs[0];
|
|
77
77
|
if (!onlyDir) throw new Error("unexpected archive layout (no package dir found)");
|
|
@@ -144,8 +144,8 @@ async function readZipEntryStream(entry) {
|
|
|
144
144
|
}
|
|
145
145
|
async function extractZip(params) {
|
|
146
146
|
const limits = resolveExtractLimits(params.limits);
|
|
147
|
-
if ((await
|
|
148
|
-
const buffer = await
|
|
147
|
+
if ((await fsPromises.stat(params.archivePath)).size > limits.maxArchiveBytes) throw new Error(ERROR_ARCHIVE_SIZE_EXCEEDS_LIMIT);
|
|
148
|
+
const buffer = await fsPromises.readFile(params.archivePath);
|
|
149
149
|
const zip = await JSZip.loadAsync(buffer);
|
|
150
150
|
const entries = Object.values(zip.files);
|
|
151
151
|
const strip = Math.max(0, Math.floor(params.stripComponents ?? 0));
|
|
@@ -162,21 +162,21 @@ async function extractZip(params) {
|
|
|
162
162
|
originalPath: entry.name
|
|
163
163
|
});
|
|
164
164
|
if (entry.dir) {
|
|
165
|
-
await
|
|
165
|
+
await fsPromises.mkdir(outPath, { recursive: true });
|
|
166
166
|
continue;
|
|
167
167
|
}
|
|
168
|
-
await
|
|
168
|
+
await fsPromises.mkdir(path.dirname(outPath), { recursive: true });
|
|
169
169
|
budget.startEntry();
|
|
170
170
|
const readable = await readZipEntryStream(entry);
|
|
171
171
|
try {
|
|
172
172
|
await pipeline(readable, createExtractBudgetTransform({ onChunkBytes: budget.addBytes }), createWriteStream(outPath));
|
|
173
173
|
} catch (err) {
|
|
174
|
-
await
|
|
174
|
+
await fsPromises.unlink(outPath).catch(() => void 0);
|
|
175
175
|
throw err;
|
|
176
176
|
}
|
|
177
177
|
if (typeof entry.unixPermissions === "number") {
|
|
178
178
|
const mode = entry.unixPermissions & 511;
|
|
179
|
-
if (mode !== 0) await
|
|
179
|
+
if (mode !== 0) await fsPromises.chmod(outPath, mode).catch(() => void 0);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
}
|
|
@@ -236,14 +236,14 @@ async function extractArchive(params) {
|
|
|
236
236
|
}
|
|
237
237
|
async function fileExists(filePath) {
|
|
238
238
|
try {
|
|
239
|
-
await
|
|
239
|
+
await fsPromises.stat(filePath);
|
|
240
240
|
return true;
|
|
241
241
|
} catch {
|
|
242
242
|
return false;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
async function readJsonFile(filePath) {
|
|
246
|
-
const raw = await
|
|
246
|
+
const raw = await fsPromises.readFile(filePath, "utf-8");
|
|
247
247
|
return JSON.parse(raw);
|
|
248
248
|
}
|
|
249
249
|
|