@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,54 +1,54 @@
|
|
|
1
|
-
import { _t as buildAuthHealthSummary, gt as DEFAULT_OAUTH_WARN_MS, s as loadSymiPlugins, vt as formatRemainingShort } from "./unified-runner-
|
|
1
|
+
import { _t as buildAuthHealthSummary, gt as DEFAULT_OAUTH_WARN_MS, s as loadSymiPlugins, vt as formatRemainingShort } from "./unified-runner-D6p4N2vu.js";
|
|
2
2
|
import { P as getResolvedLoggerSettings } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BSzKwaxE.js";
|
|
4
4
|
import { h as resolveUserPath, v as shortenHomePath, y as sleep } from "./utils-BU8jVQFM.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
6
|
-
import { Gt as CLAUDE_CLI_PROFILE_ID, Ht as DEFAULT_MODEL, Kt as CODEX_CLI_PROFILE_ID, N as getModelRefStatus, S as updateAuthProfileStoreWithLock, U as resolveHooksGmailModel, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, b as ensureAuthProfileStore, c as resolveApiKeyForProfile, p as repairOAuthProfileIdMismatch, s as resolveProfileUnusableUntilForDisplay, xt as resolveApiKeyForProvider } from "./auth-profiles-
|
|
6
|
+
import { Gt as CLAUDE_CLI_PROFILE_ID, Ht as DEFAULT_MODEL, Kt as CODEX_CLI_PROFILE_ID, N as getModelRefStatus, S as updateAuthProfileStoreWithLock, U as resolveHooksGmailModel, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, b as ensureAuthProfileStore, c as resolveApiKeyForProfile, p as repairOAuthProfileIdMismatch, s as resolveProfileUnusableUntilForDisplay, xt as resolveApiKeyForProvider } from "./auth-profiles-BDvJK1Bg.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
8
|
-
import { t as resolveSymiPackageRoot } from "./symi-root-
|
|
8
|
+
import { t as resolveSymiPackageRoot } from "./symi-root-0MUhiNlM.js";
|
|
9
9
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
10
|
-
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, p as DEFAULT_AGENTS_FILENAME } from "./agent-scope-
|
|
10
|
+
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, p as DEFAULT_AGENTS_FILENAME } from "./agent-scope-CKTVXF_1.js";
|
|
11
11
|
import { t as isTruthyEnvValue } from "./env-B97Ms861.js";
|
|
12
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
13
|
-
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-
|
|
12
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BEaq2Sb6.js";
|
|
13
|
+
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-DPn-s_K5.js";
|
|
14
14
|
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./ws-CahTJvD6.js";
|
|
15
15
|
import { a as resolveGatewayAuth } from "./auth-BbwD4lRX.js";
|
|
16
|
-
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-
|
|
17
|
-
import { H as resolveMainSessionKey, Y as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-
|
|
16
|
+
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-EAVAOFyK.js";
|
|
17
|
+
import { H as resolveMainSessionKey, Y as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-DorP6zY8.js";
|
|
18
18
|
import { n as listChannelPlugins } from "./plugins-DuuHorqi.js";
|
|
19
19
|
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-CJcw9nbZ.js";
|
|
20
|
-
import { n as resolveMemoryBackendConfig } from "./memory-
|
|
21
|
-
import { c as resolveMemorySearchConfig } from "./manager-
|
|
22
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
23
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
20
|
+
import { n as resolveMemoryBackendConfig } from "./memory-BZPO-RoX.js";
|
|
21
|
+
import { c as resolveMemorySearchConfig } from "./manager-C_5p8DxF.js";
|
|
22
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BjHvYJx2.js";
|
|
23
|
+
import { n as loadModelCatalog } from "./model-catalog-BrW9BL1p.js";
|
|
24
24
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, m as resolveNodeLaunchAgentLabel } from "./constants-DsZw7bas.js";
|
|
25
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
25
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-F7nlolZZ.js";
|
|
26
26
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-Cad0BDRS.js";
|
|
27
27
|
import { t as note$1 } from "./note-CHrtEumO.js";
|
|
28
28
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BBypnAYf.js";
|
|
29
29
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DC8vgOMo.js";
|
|
30
|
-
import { a as gatewayInstallErrorHint, f as renderSystemNodeWarning, i as buildGatewayInstallPlan, m as resolveSystemNodeInfo, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
31
|
-
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-
|
|
32
|
-
import { n as isWSLEnv, t as isWSL } from "./wsl-
|
|
33
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
34
|
-
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
35
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
36
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
37
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
38
|
-
import { r as healthCommand } from "./health-
|
|
39
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
40
|
-
import { t as resolveDmAllowState } from "./dm-policy-shared-
|
|
41
|
-
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-
|
|
30
|
+
import { a as gatewayInstallErrorHint, f as renderSystemNodeWarning, i as buildGatewayInstallPlan, m as resolveSystemNodeInfo, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dr_xKl0r.js";
|
|
31
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-wgkj6qF2.js";
|
|
32
|
+
import { n as isWSLEnv, t as isWSL } from "./wsl-DO9usEVV.js";
|
|
33
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-8KKQdTO_.js";
|
|
34
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-9ItKCWWS.js";
|
|
35
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-BefHB3bX.js";
|
|
36
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-nLP2i_BY.js";
|
|
37
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-op0Ov-v4.js";
|
|
38
|
+
import { r as healthCommand } from "./health-DUulgHFK.js";
|
|
39
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-D22DSxhv.js";
|
|
40
|
+
import { t as resolveDmAllowState } from "./dm-policy-shared-DiZ3lMtl.js";
|
|
41
|
+
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-DONOhYc3.js";
|
|
42
42
|
import { n as logConfigUpdated } from "./logging-BA2NbxMy.js";
|
|
43
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
44
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
43
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-Cu1ZuFHd.js";
|
|
44
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-C0-G8yq4.js";
|
|
45
45
|
import { t as formatHealthCheckFailure } from "./health-format-BQdYy0nL.js";
|
|
46
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
46
|
+
import { n as doctorShellCompletion } from "./doctor-completion-Cvu8koMQ.js";
|
|
47
47
|
import path from "node:path";
|
|
48
48
|
import fs from "node:fs";
|
|
49
49
|
import os from "node:os";
|
|
50
50
|
import { promisify } from "node:util";
|
|
51
|
-
import
|
|
51
|
+
import fsPromises from "node:fs/promises";
|
|
52
52
|
import { execFile } from "node:child_process";
|
|
53
53
|
import { confirm, intro, outro, select } from "@clack/prompts";
|
|
54
54
|
|
|
@@ -514,16 +514,16 @@ async function cleanupLegacyLaunchdService(params) {
|
|
|
514
514
|
await execFileAsync$1("launchctl", ["unload", params.plistPath]).catch(() => void 0);
|
|
515
515
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
516
516
|
try {
|
|
517
|
-
await
|
|
517
|
+
await fsPromises.mkdir(trashDir, { recursive: true });
|
|
518
518
|
} catch {}
|
|
519
519
|
try {
|
|
520
|
-
await
|
|
520
|
+
await fsPromises.access(params.plistPath);
|
|
521
521
|
} catch {
|
|
522
522
|
return null;
|
|
523
523
|
}
|
|
524
524
|
const dest = path.join(trashDir, `${params.label}-${Date.now()}.plist`);
|
|
525
525
|
try {
|
|
526
|
-
await
|
|
526
|
+
await fsPromises.rename(params.plistPath, dest);
|
|
527
527
|
return dest;
|
|
528
528
|
} catch {
|
|
529
529
|
return null;
|
|
@@ -698,6 +698,7 @@ async function noteMemorySearchHealth(cfg) {
|
|
|
698
698
|
].join("\n"), "Memory search");
|
|
699
699
|
return;
|
|
700
700
|
}
|
|
701
|
+
if (resolved.provider === "ollama") return;
|
|
701
702
|
if (hasRemoteApiKey || await hasApiKeyForProvider(resolved.provider, cfg, agentDir)) return;
|
|
702
703
|
const envVar = providerEnvVar(resolved.provider);
|
|
703
704
|
note$1([
|
|
@@ -1482,11 +1483,11 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1482
1483
|
argv1: process.argv[1]
|
|
1483
1484
|
})).indexPath ?? resolveControlUiDistIndexPathForRoot(root);
|
|
1484
1485
|
try {
|
|
1485
|
-
const [schemaStats, uiStats] = await Promise.all([
|
|
1486
|
+
const [schemaStats, uiStats] = await Promise.all([fsPromises.stat(schemaPath).catch(() => null), fsPromises.stat(uiIndexPath).catch(() => null)]);
|
|
1486
1487
|
if (schemaStats && !uiStats) {
|
|
1487
1488
|
note$1(["- Control UI assets are missing.", "- Run: pnpm ui:build"].join("\n"), "UI");
|
|
1488
1489
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1489
|
-
if (!await
|
|
1490
|
+
if (!await fsPromises.stat(uiSourcesPath).catch(() => null)) {
|
|
1490
1491
|
note$1("Skipping UI build: ui/ sources not present.", "UI");
|
|
1491
1492
|
return;
|
|
1492
1493
|
}
|
|
@@ -1531,7 +1532,7 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1531
1532
|
initialValue: true
|
|
1532
1533
|
})) {
|
|
1533
1534
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1534
|
-
if (!await
|
|
1535
|
+
if (!await fsPromises.stat(uiSourcesPath).catch(() => null)) {
|
|
1535
1536
|
note$1("Skipping UI rebuild: ui/ sources not present.", "UI");
|
|
1536
1537
|
return;
|
|
1537
1538
|
}
|
|
@@ -39,7 +39,7 @@ import { n as logConfigUpdated } from "./logging-Dt9kBzoO.js";
|
|
|
39
39
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-BayEnbIy.js";
|
|
40
40
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CoyAJEZx.js";
|
|
41
41
|
import { t as formatHealthCheckFailure } from "./health-format-OIqaDZ2V.js";
|
|
42
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
42
|
+
import { n as doctorShellCompletion } from "./doctor-completion-DwrIExJJ.js";
|
|
43
43
|
import { execFile } from "node:child_process";
|
|
44
44
|
import os from "node:os";
|
|
45
45
|
import path from "node:path";
|
|
@@ -694,6 +694,7 @@ async function noteMemorySearchHealth(cfg) {
|
|
|
694
694
|
].join("\n"), "Memory search");
|
|
695
695
|
return;
|
|
696
696
|
}
|
|
697
|
+
if (resolved.provider === "ollama") return;
|
|
697
698
|
if (hasRemoteApiKey || await hasApiKeyForProvider(resolved.provider, cfg, agentDir)) return;
|
|
698
699
|
const envVar = providerEnvVar(resolved.provider);
|
|
699
700
|
note$1([
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
1
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-D6p4N2vu.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
3
|
-
import { L as normalizeProviderId, b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-
|
|
3
|
+
import { L as normalizeProviderId, b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-BDvJK1Bg.js";
|
|
4
4
|
import { r as stylePromptTitle } from "./prompt-style-Cad0BDRS.js";
|
|
5
|
-
import { n as isWSLEnv } from "./wsl-
|
|
6
|
-
import { f as updateConfig } from "./shared-
|
|
7
|
-
import { d as applyAuthProfileConfig } from "./auth-token-
|
|
5
|
+
import { n as isWSLEnv } from "./wsl-DO9usEVV.js";
|
|
6
|
+
import { f as updateConfig } from "./shared-Z3KjnA8n.js";
|
|
7
|
+
import { d as applyAuthProfileConfig } from "./auth-token-BKp_ClDP.js";
|
|
8
8
|
import { n as logConfigUpdated } from "./logging-BA2NbxMy.js";
|
|
9
9
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
10
10
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { At as estimateBase64DecodedBytes, i as sniffMimeFromBase64 } from "./unified-runner-
|
|
1
|
+
import { At as estimateBase64DecodedBytes, i as sniffMimeFromBase64 } from "./unified-runner-D6p4N2vu.js";
|
|
2
2
|
import { S as isVerbose } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
4
4
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
5
|
import { x as parseAgentSessionKey } from "./session-key-B_ZVH1kE.js";
|
|
6
6
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-CSc_2Nka.js";
|
|
7
|
-
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-
|
|
7
|
+
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-DorpwP8O.js";
|
|
8
8
|
import { createHash, createPrivateKey, sign } from "node:crypto";
|
|
9
9
|
import chalk from "chalk";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fsPromises from "node:fs/promises";
|
|
12
12
|
import http2 from "node:http2";
|
|
13
13
|
|
|
14
14
|
//#region src/gateway/ws-logging.ts
|
|
@@ -525,7 +525,7 @@ async function resolveApnsAuthConfigFromEnv(env = process.env) {
|
|
|
525
525
|
value: {
|
|
526
526
|
teamId,
|
|
527
527
|
keyId,
|
|
528
|
-
privateKey: normalizePrivateKey(await
|
|
528
|
+
privateKey: normalizePrivateKey(await fsPromises.readFile(keyPath, "utf8"))
|
|
529
529
|
}
|
|
530
530
|
};
|
|
531
531
|
} catch (err) {
|
|
@@ -8,7 +8,7 @@ import "./github-copilot-token-B31ugq7R.js";
|
|
|
8
8
|
import "./boolean-mcn6kL0s.js";
|
|
9
9
|
import "./ssrf-BzPY2FrA.js";
|
|
10
10
|
import "./manifest-registry-C0nJ3Ja3.js";
|
|
11
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
11
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-C0vnHDyY.js";
|
|
12
12
|
import "./redact-Dd8jrogi.js";
|
|
13
13
|
import { n as formatErrorMessage } from "./errors-BkfLlDKo.js";
|
|
14
14
|
import path from "node:path";
|
|
@@ -6,7 +6,7 @@ import { Q as formatCliCommand } from "./model-selection-DUQlsUfk.js";
|
|
|
6
6
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
7
7
|
import "./ssrf-CJor4ewC.js";
|
|
8
8
|
import "./manifest-registry-CAWGTwb5.js";
|
|
9
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
9
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-droANDig.js";
|
|
10
10
|
import "./redact-ojHFHOAb.js";
|
|
11
11
|
import { n as formatErrorMessage } from "./errors-C6sHIFo_.js";
|
|
12
12
|
import path from "node:path";
|
|
@@ -2,23 +2,23 @@ import { B as resolvePreferredSymiTmpDir } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import "./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 "./config-
|
|
12
|
+
import "./config-BEaq2Sb6.js";
|
|
13
13
|
import "./manifest-registry-D_LsBSyt.js";
|
|
14
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
14
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-BQoO4LXq.js";
|
|
15
15
|
import "./redact-CSc_2Nka.js";
|
|
16
16
|
import { n as formatErrorMessage } from "./errors-Z-WkF18Q.js";
|
|
17
17
|
import "./ssrf-CC9kEPCT.js";
|
|
18
|
-
import "./ports-
|
|
18
|
+
import "./ports-EAVAOFyK.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
import path from "node:path";
|
|
21
|
-
import
|
|
21
|
+
import fsPromises from "node:fs/promises";
|
|
22
22
|
import { chromium, devices } from "playwright-core";
|
|
23
23
|
|
|
24
24
|
//#region src/browser/pw-ai-state.ts
|
|
@@ -897,7 +897,7 @@ function createPageDownloadWaiter(page, timeoutMs) {
|
|
|
897
897
|
async function saveDownloadPayload(download, outPath) {
|
|
898
898
|
const suggested = download.suggestedFilename?.() || "download.bin";
|
|
899
899
|
const resolvedOutPath = outPath?.trim() || buildTempDownloadPath(suggested);
|
|
900
|
-
await
|
|
900
|
+
await fsPromises.mkdir(path.dirname(resolvedOutPath), { recursive: true });
|
|
901
901
|
await download.saveAs?.(resolvedOutPath);
|
|
902
902
|
return {
|
|
903
903
|
url: download.url?.() || "",
|
|
@@ -4,14 +4,14 @@ import "./utils-BU8jVQFM.js";
|
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
5
|
import { x as parseAgentSessionKey } from "./session-key-B_ZVH1kE.js";
|
|
6
6
|
import "./exec-DKyLtSjm.js";
|
|
7
|
-
import { c as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { c as resolveAgentWorkspaceDir } from "./agent-scope-CKTVXF_1.js";
|
|
8
8
|
import "./redact-CSc_2Nka.js";
|
|
9
9
|
import "./paths-CJcw9nbZ.js";
|
|
10
|
-
import { m as statRegularFile, p as isFileMissingError } from "./internal-
|
|
11
|
-
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
10
|
+
import { m as statRegularFile, p as isFileMissingError } from "./internal-C3o_xyzP.js";
|
|
11
|
+
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-BUXBg2yu.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import os from "node:os";
|
|
14
|
-
import
|
|
14
|
+
import fsPromises from "node:fs/promises";
|
|
15
15
|
import { spawn } from "node:child_process";
|
|
16
16
|
import readline from "node:readline";
|
|
17
17
|
|
|
@@ -243,10 +243,10 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
243
243
|
async initialize(mode) {
|
|
244
244
|
this.bootstrapCollections();
|
|
245
245
|
if (mode === "status") return;
|
|
246
|
-
await
|
|
247
|
-
await
|
|
248
|
-
await
|
|
249
|
-
if (this.sessionExporter) await
|
|
246
|
+
await fsPromises.mkdir(this.xdgConfigHome, { recursive: true });
|
|
247
|
+
await fsPromises.mkdir(this.xdgCacheHome, { recursive: true });
|
|
248
|
+
await fsPromises.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
249
|
+
if (this.sessionExporter) await fsPromises.mkdir(this.sessionExporter.dir, { recursive: true });
|
|
250
250
|
await this.symlinkSharedModels();
|
|
251
251
|
await this.ensureCollections();
|
|
252
252
|
if (this.qmd.update.onBoot) {
|
|
@@ -322,7 +322,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
322
322
|
}
|
|
323
323
|
async ensureCollectionPath(collection) {
|
|
324
324
|
if (!this.isDirectoryGlobPattern(collection.pattern)) return;
|
|
325
|
-
await
|
|
325
|
+
await fsPromises.mkdir(collection.path, { recursive: true });
|
|
326
326
|
}
|
|
327
327
|
isDirectoryGlobPattern(pattern) {
|
|
328
328
|
return pattern.includes("*") || pattern.includes("?") || pattern.includes("[");
|
|
@@ -658,19 +658,19 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
658
658
|
const defaultModelsDir = path.join(defaultCacheHome, "qmd", "models");
|
|
659
659
|
const targetModelsDir = path.join(this.xdgCacheHome, "qmd", "models");
|
|
660
660
|
try {
|
|
661
|
-
if (!(await
|
|
661
|
+
if (!(await fsPromises.stat(defaultModelsDir).catch((err) => {
|
|
662
662
|
if (err.code === "ENOENT") return null;
|
|
663
663
|
throw err;
|
|
664
664
|
}))?.isDirectory()) return;
|
|
665
665
|
try {
|
|
666
|
-
await
|
|
666
|
+
await fsPromises.lstat(targetModelsDir);
|
|
667
667
|
return;
|
|
668
668
|
} catch {}
|
|
669
669
|
try {
|
|
670
|
-
await
|
|
670
|
+
await fsPromises.symlink(defaultModelsDir, targetModelsDir, "dir");
|
|
671
671
|
} catch (symlinkErr) {
|
|
672
672
|
const code = symlinkErr.code;
|
|
673
|
-
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await
|
|
673
|
+
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await fsPromises.symlink(defaultModelsDir, targetModelsDir, "junction");
|
|
674
674
|
else throw symlinkErr;
|
|
675
675
|
}
|
|
676
676
|
log.debug(`symlinked qmd models: ${defaultModelsDir} → ${targetModelsDir}`);
|
|
@@ -725,7 +725,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
725
725
|
const count = Math.max(1, lines ?? Number.POSITIVE_INFINITY);
|
|
726
726
|
let handle;
|
|
727
727
|
try {
|
|
728
|
-
handle = await
|
|
728
|
+
handle = await fsPromises.open(absPath);
|
|
729
729
|
} catch (err) {
|
|
730
730
|
if (isFileMissingError(err)) return { missing: true };
|
|
731
731
|
throw err;
|
|
@@ -757,7 +757,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
757
757
|
try {
|
|
758
758
|
return {
|
|
759
759
|
missing: false,
|
|
760
|
-
text: await
|
|
760
|
+
text: await fsPromises.readFile(absPath, "utf-8")
|
|
761
761
|
};
|
|
762
762
|
} catch (err) {
|
|
763
763
|
if (isFileMissingError(err)) return { missing: true };
|
|
@@ -774,7 +774,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
774
774
|
async exportSessions() {
|
|
775
775
|
if (!this.sessionExporter) return;
|
|
776
776
|
const exportDir = this.sessionExporter.dir;
|
|
777
|
-
await
|
|
777
|
+
await fsPromises.mkdir(exportDir, { recursive: true });
|
|
778
778
|
const files = await listSessionFilesForAgent(this.agentId);
|
|
779
779
|
const keep = /* @__PURE__ */ new Set();
|
|
780
780
|
const tracked = /* @__PURE__ */ new Set();
|
|
@@ -786,7 +786,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
786
786
|
const target = path.join(exportDir, `${path.basename(sessionFile, ".jsonl")}.md`);
|
|
787
787
|
tracked.add(sessionFile);
|
|
788
788
|
const state = this.exportedSessionState.get(sessionFile);
|
|
789
|
-
if (!state || state.hash !== entry.hash || state.mtimeMs !== entry.mtimeMs) await
|
|
789
|
+
if (!state || state.hash !== entry.hash || state.mtimeMs !== entry.mtimeMs) await fsPromises.writeFile(target, this.renderSessionMarkdown(entry), "utf-8");
|
|
790
790
|
this.exportedSessionState.set(sessionFile, {
|
|
791
791
|
hash: entry.hash,
|
|
792
792
|
mtimeMs: entry.mtimeMs,
|
|
@@ -794,11 +794,11 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
794
794
|
});
|
|
795
795
|
keep.add(target);
|
|
796
796
|
}
|
|
797
|
-
const exported = await
|
|
797
|
+
const exported = await fsPromises.readdir(exportDir).catch(() => []);
|
|
798
798
|
for (const name of exported) {
|
|
799
799
|
if (!name.endsWith(".md")) continue;
|
|
800
800
|
const full = path.join(exportDir, name);
|
|
801
|
-
if (!keep.has(full)) await
|
|
801
|
+
if (!keep.has(full)) await fsPromises.rm(full, { force: true });
|
|
802
802
|
}
|
|
803
803
|
for (const [sessionFile, state] of this.exportedSessionState) if (!tracked.has(sessionFile) || !state.target.startsWith(exportDir + path.sep)) this.exportedSessionState.delete(sessionFile);
|
|
804
804
|
}
|
|
@@ -2,13 +2,13 @@ import { j as theme } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./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 runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-CKTVXF_1.js";
|
|
8
8
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
9
9
|
import "./boolean-Wzu0-e0P.js";
|
|
10
10
|
import "./env-B97Ms861.js";
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
11
|
+
import { i as loadConfig } from "./config-BEaq2Sb6.js";
|
|
12
12
|
import "./manifest-registry-D_LsBSyt.js";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import qrcode from "qrcode-terminal";
|
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
import "./unified-runner-
|
|
1
|
+
import "./unified-runner-D6p4N2vu.js";
|
|
2
2
|
import { E as setVerbose, j as theme, r as DEFAULT_CHAT_CHANNEL } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import "./paths-BSzKwaxE.js";
|
|
4
4
|
import { h as resolveUserPath, v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
6
|
-
import { C as resolveAuthStorePath, b as ensureAuthProfileStore } from "./auth-profiles-
|
|
6
|
+
import { C as resolveAuthStorePath, b as ensureAuthProfileStore } from "./auth-profiles-BDvJK1Bg.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
8
8
|
import { o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID, t as DEFAULT_AGENT_ID } from "./session-key-B_ZVH1kE.js";
|
|
9
9
|
import "./exec-DKyLtSjm.js";
|
|
10
|
-
import { c as resolveAgentWorkspaceDir, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, n as listAgentIds, t as listAgentEntries } from "./agent-scope-
|
|
10
|
+
import { c as resolveAgentWorkspaceDir, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, n as listAgentIds, t as listAgentEntries } 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 } from "./config-
|
|
14
|
+
import "./pi-embedded-helpers-DGW2untm.js";
|
|
15
|
+
import { i as loadConfig, l as writeConfigFile } 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 { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-C_V8IAYx.js";
|
|
36
36
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DuuHorqi.js";
|
|
37
|
-
import "./send-
|
|
37
|
+
import "./send-CYJucYob.js";
|
|
38
38
|
import { s as resolveSessionTranscriptsDirForAgent } 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 { a as randomIdempotencyKey, n as callGateway } from "./call-
|
|
61
|
-
import "./pairing-token-
|
|
58
|
+
import "./commands-registry-CLePPNDW.js";
|
|
59
|
+
import "./client-Bs2zB0rY.js";
|
|
60
|
+
import { a as randomIdempotencyKey, n as callGateway } from "./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 { n as runCommandWithRuntime } from "./cli-utils-CX1oQ81G.js";
|
|
79
79
|
import { t as formatHelpExamples } from "./help-format-BI_G2p1e.js";
|
|
80
80
|
import { n as withProgress } from "./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 collectOption } from "./helpers-BER76F_2.js";
|
|
88
88
|
import "./catalog-CSgSg5Gp.js";
|
|
89
89
|
import { t as hasExplicitOptions } from "./command-options-ChiIn6Na.js";
|
|
@@ -92,26 +92,26 @@ import "./note-CHrtEumO.js";
|
|
|
92
92
|
import { t as WizardCancelledError } from "./prompts-CPtDKw-j.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 { r as setupChannels } from "./onboard-channels-
|
|
101
|
-
import { t as requireValidConfigSnapshot } from "./config-validation-
|
|
102
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
103
|
-
import { n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-
|
|
104
|
-
import { a as pruneAgentConfig, c as parseIdentityMarkdown, i as loadAgentIdentity, n as buildAgentSummaries, o as identityHasValues, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
105
|
-
import "./shared-
|
|
106
|
-
import "./auth-token-
|
|
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 { r as setupChannels } from "./onboard-channels-DqhDDHZ3.js";
|
|
101
|
+
import { t as requireValidConfigSnapshot } from "./config-validation-Bp2AdKjN.js";
|
|
102
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-wgkj6qF2.js";
|
|
103
|
+
import { n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-BcHmIY_n.js";
|
|
104
|
+
import { a as pruneAgentConfig, c as parseIdentityMarkdown, i as loadAgentIdentity, n as buildAgentSummaries, o as identityHasValues, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-D6lBCMyT.js";
|
|
105
|
+
import "./shared-Z3KjnA8n.js";
|
|
106
|
+
import "./auth-token-BKp_ClDP.js";
|
|
107
107
|
import { n as logConfigUpdated } from "./logging-BA2NbxMy.js";
|
|
108
|
-
import "./provider-auth-helpers-
|
|
108
|
+
import "./provider-auth-helpers-IsZNkaS0.js";
|
|
109
109
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-CXcrToaB.js";
|
|
110
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
111
|
-
import "./openai-model-default-
|
|
112
|
-
import "./model-picker-
|
|
110
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-s1SGAS0u.js";
|
|
111
|
+
import "./openai-model-default-DeTAMJKz.js";
|
|
112
|
+
import "./model-picker-UrQQVAuN.js";
|
|
113
113
|
import path from "node:path";
|
|
114
|
-
import
|
|
114
|
+
import fsPromises from "node:fs/promises";
|
|
115
115
|
|
|
116
116
|
//#region src/commands/agent-via-gateway.ts
|
|
117
117
|
const NO_GATEWAY_TIMEOUT_MS = 2147e6;
|
|
@@ -349,7 +349,7 @@ async function requireValidConfig(runtime) {
|
|
|
349
349
|
//#region src/commands/agents.commands.add.ts
|
|
350
350
|
async function fileExists(pathname) {
|
|
351
351
|
try {
|
|
352
|
-
await
|
|
352
|
+
await fsPromises.stat(pathname);
|
|
353
353
|
return true;
|
|
354
354
|
} catch {
|
|
355
355
|
return false;
|
|
@@ -489,8 +489,8 @@ async function agentsAddCommand(opts, runtime = defaultRuntime, params) {
|
|
|
489
489
|
message: `Copy auth profiles from "${defaultAgentId}"?`,
|
|
490
490
|
initialValue: false
|
|
491
491
|
})) {
|
|
492
|
-
await
|
|
493
|
-
await
|
|
492
|
+
await fsPromises.mkdir(path.dirname(destAuthPath), { recursive: true });
|
|
493
|
+
await fsPromises.copyFile(sourceAuthPath, destAuthPath);
|
|
494
494
|
await prompter.note(`Copied auth profiles from "${defaultAgentId}".`, "Auth profiles");
|
|
495
495
|
}
|
|
496
496
|
}
|
|
@@ -638,7 +638,7 @@ const coerceTrimmed = (value) => {
|
|
|
638
638
|
};
|
|
639
639
|
async function loadIdentityFromFile(filePath) {
|
|
640
640
|
try {
|
|
641
|
-
const parsed = parseIdentityMarkdown(await
|
|
641
|
+
const parsed = parseIdentityMarkdown(await fsPromises.readFile(filePath, "utf-8"));
|
|
642
642
|
if (!identityHasValues(parsed)) return null;
|
|
643
643
|
return parsed;
|
|
644
644
|
} catch {
|