@symerian/symi 3.5.26 → 3.5.27
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-CoHzNs_e.js → agent-DxRVDqSg.js} +18 -18
- package/dist/{agent-scope-Bnsyyeci.js → agent-scope-DOrZjOnW.js} +18 -18
- package/dist/{agents.config-DA0ISLi7.js → agents.config-B7sNDvhz.js} +1 -1
- package/dist/{audit-CuwXq_EA.js → audit-C_3fAFeS.js} +20 -20
- package/dist/{auth-choice-DKRHawfp.js → auth-choice-DQplW60s.js} +11 -11
- package/dist/{auth-profiles-D5nYBj_Z.js → auth-profiles-Ce7R_25e.js} +2 -2
- package/dist/{auth-token-fgnCQEHT.js → auth-token-Cr28IDKY.js} +3 -3
- package/dist/{browser-cli-BI81RlI8.js → browser-cli-D6xFqw9w.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-xUpyZDH4.js → call-AZ9vNhST.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-vjcKi2yl.js → channel-options-DnWkDAWi.js} +1 -1
- package/dist/{channels-cli-CfBFa-VO.js → channels-cli-CGCyzahW.js} +57 -57
- package/dist/{chrome-38OnGyuN.js → chrome-DJChpTwP.js} +2 -2
- package/dist/{chrome-CmQwGAuL.js → chrome-OTJg3QKn.js} +7 -7
- package/dist/{cli-qf0qK7oi.js → cli-DZAtyHzb.js} +45 -45
- package/dist/{client-DiPa71im.js → client-DH75FlQF.js} +1 -1
- package/dist/{commands-registry-CwXsDVuO.js → commands-registry-Ca5hh7nh.js} +1 -1
- package/dist/{completion-cli-Ddfrnilx.js → completion-cli-Cbf0-8ob.js} +12 -12
- package/dist/{config-BngIfn5l.js → config-B4jkreCN.js} +2 -2
- package/dist/{config-cli-JVGYyfYA.js → config-cli-D4RmoOxe.js} +4 -4
- package/dist/{config-guard-DStz4_V2.js → config-guard-BRm3RiOi.js} +6 -6
- package/dist/{config-validation-Dxj9LRzr.js → config-validation-Cdyg1BZB.js} +1 -1
- package/dist/{configure-Bqz2Hvnf.js → configure-kaf3aurx.js} +14 -14
- package/dist/{consolidate-CO32_TEx.js → consolidate-DymnvvYm.js} +6 -6
- package/dist/{control-service-CUreKVeY.js → control-service-D8kKOts5.js} +4 -4
- package/dist/control-ui/css/style.css +159 -0
- package/dist/{control-ui-assets-B8B9z_Ll.js → control-ui-assets-CJQ97d4u.js} +1 -1
- package/dist/{cost-cli-D-ssjcRF.js → cost-cli-DWiVCOCx.js} +3 -3
- package/dist/{cron-cli-pZ_7Wzhj.js → cron-cli-VH_t2D1o.js} +7 -7
- package/dist/{daemon-cli-BDzcfcu_.js → daemon-cli-3PFXkheJ.js} +11 -11
- package/dist/{daemon-runtime-CKn0wmCk.js → daemon-runtime-DlQla_dA.js} +10 -10
- package/dist/{deliver-B04yNX82.js → deliver-BiWlR84Y.js} +4 -4
- package/dist/{deliver-CWMFmMCv.js → deliver-lTZLIQqf.js} +2 -2
- package/dist/{deps-CdibsPMx.js → deps-Bf9dt2UO.js} +1 -1
- package/dist/{devices-cli-BIZbo_Pt.js → devices-cli-Bhi1rWnT.js} +6 -6
- package/dist/{diagnostics-CYkqD5lP.js → diagnostics-DlZODdRf.js} +5 -5
- package/dist/{directory-cli-giqTe8Yg.js → directory-cli-Bm5QYEo-.js} +3 -3
- package/dist/{dm-policy-shared-B61_yf6G.js → dm-policy-shared-CeFt0nch.js} +1 -1
- package/dist/{dns-cli-Dssz4RqF.js → dns-cli-CubLq4j9.js} +3 -3
- package/dist/{docs-cli-Ct1STieY.js → docs-cli-PS8m1er7.js} +1 -1
- package/dist/{doctor-completion-eh7aImCx.js → doctor-completion--j-3qqz6.js} +2 -2
- package/dist/{doctor-config-flow-ljVnQJjo.js → doctor-config-flow-C52W1uUK.js} +9 -9
- package/dist/{exec-approvals-cli-B2UY9dZC.js → exec-approvals-cli-xTOKcyZh.js} +13 -13
- package/dist/{file-lock-2AecMjCa.js → file-lock-BVUYnlQv.js} +8 -8
- package/dist/{fs-safe-B0Is-oLk.js → fs-safe-BdejYjW8.js} +6 -6
- package/dist/{gateway-cli-BwPy7u0B.js → gateway-cli-B3FuQctH.js} +98 -98
- package/dist/{gateway-rpc-DmFOiGIJ.js → gateway-rpc-C6lKFbor.js} +1 -1
- package/dist/{glass-ui-ws-CwOiILiY.js → glass-ui-ws-BJcI_IdV.js} +67 -67
- package/dist/{health-Bc1wmAO5.js → health-7UqIGG8U.js} +4 -4
- package/dist/{hooks-cli-DOjHV2fF.js → hooks-cli-D43GEG-W.js} +59 -59
- package/dist/{image-ops-BzCBIakN.js → image-ops-L70xVnpG.js} +10 -10
- package/dist/index.js +52 -52
- package/dist/{inspect-DzYUb_Dl.js → inspect-CGKsaVZ4.js} +4 -4
- package/dist/{install-safe-path-BrpA09f2.js → install-safe-path-B2JrFspY.js} +11 -11
- package/dist/{installs-bnDlOSq2.js → installs-D890uIIW.js} +10 -10
- package/dist/{internal-csqU78gW.js → internal-DVCddhhN.js} +9 -9
- package/dist/{lifecycle-core-cSR_xiIO.js → lifecycle-core-wFwnK_mD.js} +5 -5
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{local-roots-2Jb79HZ8.js → local-roots-CgDCgCuM.js} +1 -1
- package/dist/{logs-cli-CYFlhj51.js → logs-cli-BTU7zrkU.js} +7 -7
- package/dist/{manager-DuWp0CTD.js → manager-Cw7IJGbB.js} +15 -15
- package/dist/{manager-F0-SHT1B.js → manager-DbVMwpDc.js} +1 -1
- package/dist/{memory-fFc7GGPZ.js → memory-BZ24UkLW.js} +5 -5
- package/dist/{memory-cli-BnBKckEk.js → memory-cli-0HHYm-B8.js} +12 -12
- package/dist/{model-Cwbcw-km.js → model-MUMSB_7d.js} +1 -1
- package/dist/{model-auth-_C07_3Yr.js → model-auth-1EAQvYRv.js} +2 -2
- package/dist/{model-catalog-BWurV7gl.js → model-catalog-IWi6-nY9.js} +3 -3
- package/dist/{model-picker-Dpkr5xBW.js → model-picker-Cf6UgQEh.js} +5 -5
- package/dist/{model-selection-CCTzD29o.js → model-selection-7wdmO-Iw.js} +1 -1
- package/dist/{models-cli-DVdb_TUS.js → models-cli-C2EXmrYH.js} +55 -55
- package/dist/{models-config-DlXge3Sd.js → models-config-B5Xxy-c-.js} +8 -8
- package/dist/{node-cli-B0ePfMUr.js → node-cli-CWbA6YCw.js} +27 -27
- package/dist/{node-service-Cc18m-uk.js → node-service-BH08wY5j.js} +1 -1
- package/dist/{nodes-cli-L0gy-26E.js → nodes-cli-BfHcv62i.js} +10 -10
- package/dist/{nodes-screen-Cp5QP3ET.js → nodes-screen-De9ma6e1.js} +4 -4
- package/dist/{npm-registry-spec-C-muP97-.js → npm-registry-spec-DTqn-NXZ.js} +9 -9
- package/dist/{onboard-D6GZ2t-L.js → onboard-DnwWawQO.js} +15 -15
- package/dist/{onboard-channels-DVS9vciR.js → onboard-channels-qDThNkyj.js} +4 -4
- package/dist/{onboard-custom-DnDrvxSg.js → onboard-custom-BcRYreNG.js} +3 -3
- package/dist/{onboard-helpers-CJlheOSJ.js → onboard-helpers-7IGQ8nAM.js} +8 -8
- package/dist/{onboard-hooks-D9jHwImb.js → onboard-hooks-2SCajRKc.js} +1 -1
- package/dist/{onboard-remote-CVZ8l58S.js → onboard-remote-Dr75eqOQ.js} +1 -1
- package/dist/{onboard-skills-MgcaLiE6.js → onboard-skills-uO7HZwjc.js} +3 -3
- package/dist/{onboarding-D-mzwQ_f.js → onboarding-DxZAGVkD.js} +12 -12
- package/dist/{onboarding.finalize-DBFL76p0.js → onboarding.finalize-Dt-rcgpk.js} +31 -31
- package/dist/{onboarding.gateway-config-BCDgsFl8.js → onboarding.gateway-config-CkP7K4EN.js} +8 -8
- package/dist/{openai-model-default-De-UAjwg.js → openai-model-default-BkuuK-Di.js} +2 -2
- package/dist/{pairing-cli-CBMMCNnx.js → pairing-cli-Rsae0KnN.js} +5 -5
- package/dist/{pairing-store-Be-ZQK87.js → pairing-store-BNhJOnWn.js} +1 -1
- package/dist/{pairing-token-B703A1U3.js → pairing-token-Dcy37-4s.js} +7 -7
- package/dist/{paths-BWqg8NZT.js → paths-DObzwe08.js} +1 -1
- package/dist/{pi-auth-json-D-vdh-nY.js → pi-auth-json-Db8XJVGL.js} +6 -6
- package/dist/{pi-embedded-helpers-j1JrlsI0.js → pi-embedded-helpers-D-OFjhdI.js} +6 -6
- package/dist/{pi-tools.policy-CvAqjEH9.js → pi-tools.policy-H2t-Xkfc.js} +3 -3
- package/dist/{plugin-auto-enable-BXSJTxI7.js → plugin-auto-enable-DJBhDIMq.js} +1 -1
- package/dist/{plugin-registry-KP94aK4z.js → plugin-registry-D2_TLnOr.js} +3 -3
- package/dist/{plugins-cli-B4ljapU5.js → plugins-cli-CqV1Q7ao.js} +54 -54
- package/dist/{ports-CB_Iu83U.js → ports-gxLM5ahL.js} +2 -2
- package/dist/{ports-Bi3V_3n9.js → ports-r7LBic2V.js} +1 -1
- package/dist/{program-context-BzqGUxMS.js → program-context-B0ovpbFU.js} +40 -40
- package/dist/{prompt-select-styled-BVkRteee.js → prompt-select-styled-B5GrNfqR.js} +38 -38
- package/dist/{provider-auth-helpers-C6GjAO-s.js → provider-auth-helpers-DU8RlQz7.js} +6 -6
- package/dist/{push-apns-CbbWM63o.js → push-apns-CyAPMMJC.js} +4 -4
- package/dist/{pw-ai-CP5pn3eU.js → pw-ai-BiBvIJzd.js} +7 -7
- package/dist/{pw-ai-DLsdzdgc.js → pw-ai-DY_6l11g.js} +1 -1
- package/dist/{qmd-manager-Dxyue7B1.js → qmd-manager-C8-M4Pru.js} +19 -19
- package/dist/{qr-cli-DHw6muwK.js → qr-cli-1sCVaPcF.js} +3 -3
- package/dist/{register.agent-DhS2lmWo.js → register.agent-BKbQhrre.js} +67 -67
- package/dist/{register.configure-ChjzXxh8.js → register.configure-C4_ShaQV.js} +70 -70
- package/dist/{register.maintenance-frHWf6Xs.js → register.maintenance-BOYWTu9C.js} +67 -67
- package/dist/{register.message-DWB4eVII.js → register.message-BtCthbpo.js} +47 -47
- package/dist/{register.onboard-4P8ud4Sw.js → register.onboard-D5GmuX8K.js} +25 -25
- package/dist/{register.setup-D0I7sEGc.js → register.setup-DzospfSf.js} +28 -28
- package/dist/{register.status-health-sessions-69Gigo_H.js → register.status-health-sessions-NVbWTQpZ.js} +41 -41
- package/dist/{replies-B_3j7R_Q.js → replies-CbXXjn9X.js} +1 -1
- package/dist/{reply-prefix-CtZtkTJK.js → reply-prefix-BFNeXT65.js} +1 -1
- package/dist/{resolve-route-Du0VftVs.js → resolve-route-C1IIA6kH.js} +1 -1
- package/dist/{routes-BwTUoI5h.js → routes-ivqbutvM.js} +10 -10
- package/dist/{rpc-DTqyJZKO.js → rpc-B1czfnym.js} +1 -1
- package/dist/{sandbox-CZGTCone.js → sandbox-BkznAPKO.js} +18 -18
- package/dist/{sandbox-cli-DEtGT_4y.js → sandbox-cli-Bb9cBtBH.js} +13 -13
- package/dist/{security-cli-iJpHPABF.js → security-cli-l59T6lAJ.js} +29 -29
- package/dist/{send-CxjvucMO.js → send-B0jHSNMF.js} +7 -7
- package/dist/{server-context-DXdk410X.js → server-context-ChcbJgNo.js} +5 -5
- package/dist/{server-methods-DHWxmfIu.js → server-methods-Bl41VzMu.js} +60 -60
- package/dist/{server-node-events-DHSiqnRS.js → server-node-events-CxYKzrbU.js} +48 -48
- package/dist/{service-CRZoXO_n.js → service-e6MzlLCd.js} +15 -15
- package/dist/{session-dirs-a00Ad2SO.js → session-dirs-C9E2G0yZ.js} +2 -2
- package/dist/{session-utils-CJhcRx3E.js → session-utils-Cs1jlD-q.js} +14 -14
- package/dist/{sessions-BCc3THTm.js → sessions-Dxf5Kjig.js} +10 -10
- package/dist/{shared-C39SiDDJ.js → shared-1xPo9ygd.js} +1 -1
- package/dist/{shared-Dh-O8nRd.js → shared-COtpr3Ad.js} +3 -3
- package/dist/{skill-commands-DWvXs3lz.js → skill-commands-DDGGlq68.js} +4 -4
- package/dist/{skill-scanner-CIlHPszT.js → skill-scanner-BCgVcIwi.js} +5 -5
- package/dist/{skills-CYcBtLGH.js → skills-BwDmcZdt.js} +4 -4
- package/dist/{skills-cli-CD9s3cgm.js → skills-cli-B-7TY-vS.js} +7 -7
- package/dist/{skills-install-BTa9IuQ6.js → skills-install-Dwzsjoc8.js} +3 -3
- package/dist/{skills-remote-BcRQTDsZ.js → skills-remote-bz71Bstn.js} +3 -3
- package/dist/{skills-status-DLnCHUZ2.js → skills-status-BKX1PjCc.js} +1 -1
- package/dist/{sqlite-BpogPlQW.js → sqlite-Cod7C5ba.js} +5 -5
- package/dist/{status-ISN-LC9F.js → status-D7QX7VDk.js} +23 -23
- package/dist/{status-DUbs9rVu.js → status-DrWy5OkC.js} +3 -3
- package/dist/{status.update-CKfyV6zw.js → status.update-DGJi0OLl.js} +3 -3
- package/dist/{symframe-cli-CPE5nxuJ.js → symframe-cli-BVmRLRid.js} +9 -9
- package/dist/{symi-root-DeCVdZB4.js → symi-root-BQ0IpoW2.js} +2 -2
- package/dist/{synthesis-CDPVZw2P.js → synthesis-CO5pr92g.js} +4 -4
- package/dist/{synthesis-DkHCk0El.js → synthesis-ts2nG0tK.js} +45 -45
- package/dist/{system-cli-nWJwLo85.js → system-cli-Du1GEeoO.js} +7 -7
- package/dist/{systemd-CsoVnIbM.js → systemd-CUIM0n5P.js} +5 -5
- package/dist/{systemd-hints-QISwLlFU.js → systemd-hints-CsrzMCTD.js} +6 -6
- package/dist/{systemd-linger-BnhuRdbt.js → systemd-linger-BzYk7A6M.js} +1 -1
- package/dist/{tui-ZL7IGA7l.js → tui-B2MY6Mj2.js} +7 -7
- package/dist/{tui-cli-CEpMtmhP.js → tui-cli-BMEnosW9.js} +19 -19
- package/dist/{unified-runner-CsadjpQa.js → unified-runner-4O0ifBsI.js} +101 -101
- package/dist/{unified-runner-Cppo8O8z.js → unified-runner-O3qR5Iie.js} +10 -10
- package/dist/{update-check-u6Jgr1cz.js → update-check-BCL_K7kx.js} +5 -5
- package/dist/{update-cli-48-Nah-Y.js → update-cli-BMURsYJU.js} +77 -77
- package/dist/{update-runner-G2YgEATs.js → update-runner-BLV8SI96.js} +15 -15
- package/dist/{update-Cb0Fmxic.js → update-yYduAjKd.js} +3 -3
- package/dist/{webhooks-cli-DjUITimx.js → webhooks-cli-D5k-Y2A8.js} +4 -4
- package/dist/{with-timeout-CLrF-Yr_.js → with-timeout-DPR4A2dx.js} +1 -1
- package/dist/{workspace-dirs-DCICLTHx.js → workspace-dirs-jKFQf7of.js} +1 -1
- package/dist/{wsl-DTi7eX-V.js → wsl-CglTdtlb.js} +2 -2
- package/extensions/memory-core/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { _t as DEFAULT_OAUTH_WARN_MS, s as loadSymiPlugins, vt as buildAuthHealthSummary, yt as formatRemainingShort } from "./unified-runner-
|
|
1
|
+
import { _t as DEFAULT_OAUTH_WARN_MS, s as loadSymiPlugins, vt as buildAuthHealthSummary, yt as formatRemainingShort } from "./unified-runner-4O0ifBsI.js";
|
|
2
2
|
import { P as getResolvedLoggerSettings } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import { _ as resolveStateDir, b as resolveRequiredHomeDir, d as resolveIsNixMode, h as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-By0XjHBk.js";
|
|
4
4
|
import { h as resolveUserPath, v as shortenHomePath, y as sleep } from "./utils-CTPsqyE_.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
6
|
-
import { D as CODEX_CLI_PROFILE_ID, E as CLAUDE_CLI_PROFILE_ID, S as updateAuthProfileStoreWithLock, b as ensureAuthProfileStore, c as resolveApiKeyForProfile, p as repairOAuthProfileIdMismatch, s as resolveProfileUnusableUntilForDisplay } from "./auth-profiles-
|
|
6
|
+
import { D as CODEX_CLI_PROFILE_ID, E as CLAUDE_CLI_PROFILE_ID, S as updateAuthProfileStoreWithLock, b as ensureAuthProfileStore, c as resolveApiKeyForProfile, p as repairOAuthProfileIdMismatch, s as resolveProfileUnusableUntilForDisplay } from "./auth-profiles-Ce7R_25e.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
8
|
-
import { t as resolveSymiPackageRoot } from "./symi-root-
|
|
8
|
+
import { t as resolveSymiPackageRoot } from "./symi-root-BQ0IpoW2.js";
|
|
9
9
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
10
|
-
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, p as DEFAULT_AGENTS_FILENAME } from "./agent-scope-
|
|
11
|
-
import { C as DEFAULT_MODEL, g as resolveHooksGmailModel, m as resolveConfiguredModelRef, o as getModelRefStatus, w as DEFAULT_PROVIDER } from "./model-selection-
|
|
12
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
10
|
+
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, p as DEFAULT_AGENTS_FILENAME } from "./agent-scope-DOrZjOnW.js";
|
|
11
|
+
import { C as DEFAULT_MODEL, g as resolveHooksGmailModel, m as resolveConfiguredModelRef, o as getModelRefStatus, w as DEFAULT_PROVIDER } from "./model-selection-7wdmO-Iw.js";
|
|
12
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-B4jkreCN.js";
|
|
13
13
|
import { t as isTruthyEnvValue } from "./env-BRnPI9sO.js";
|
|
14
|
-
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-
|
|
14
|
+
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-BkznAPKO.js";
|
|
15
15
|
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./ws-C7Ktmt-R.js";
|
|
16
16
|
import { a as resolveGatewayAuth } from "./auth-Bkx-QuRN.js";
|
|
17
|
-
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-
|
|
18
|
-
import { H as resolveMainSessionKey, Y as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-
|
|
17
|
+
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-gxLM5ahL.js";
|
|
18
|
+
import { H as resolveMainSessionKey, Y as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-Dxf5Kjig.js";
|
|
19
19
|
import { n as listChannelPlugins } from "./plugins-CF5skkHh.js";
|
|
20
20
|
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-BtvQ7JvU.js";
|
|
21
|
-
import { i as resolveApiKeyForProvider } from "./model-auth-
|
|
22
|
-
import { n as resolveMemoryBackendConfig } from "./memory-
|
|
23
|
-
import { c as resolveMemorySearchConfig } from "./manager-
|
|
24
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
25
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
21
|
+
import { i as resolveApiKeyForProvider } from "./model-auth-1EAQvYRv.js";
|
|
22
|
+
import { n as resolveMemoryBackendConfig } from "./memory-BZ24UkLW.js";
|
|
23
|
+
import { c as resolveMemorySearchConfig } from "./manager-Cw7IJGbB.js";
|
|
24
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-AZ9vNhST.js";
|
|
25
|
+
import { n as loadModelCatalog } from "./model-catalog-IWi6-nY9.js";
|
|
26
26
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, m as resolveNodeLaunchAgentLabel } from "./constants-BLIhifCJ.js";
|
|
27
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
27
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-BKX1PjCc.js";
|
|
28
28
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-olk5zI5k.js";
|
|
29
29
|
import { t as note$1 } from "./note-D9FXI2qW.js";
|
|
30
30
|
import { t as resolveChannelDefaultAccountId } from "./helpers-G6zuddmF.js";
|
|
31
31
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DLIzUsjR.js";
|
|
32
|
-
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-
|
|
33
|
-
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-
|
|
34
|
-
import { n as isWSLEnv, t as isWSL } from "./wsl-
|
|
35
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
36
|
-
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
37
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
38
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
39
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
40
|
-
import { r as healthCommand } from "./health-
|
|
41
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
42
|
-
import { t as resolveDmAllowState } from "./dm-policy-shared-
|
|
43
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
44
|
-
import { t as resolveAgentSessionDirs } from "./session-dirs-
|
|
32
|
+
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-DlQla_dA.js";
|
|
33
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-7IGQ8nAM.js";
|
|
34
|
+
import { n as isWSLEnv, t as isWSL } from "./wsl-CglTdtlb.js";
|
|
35
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-CUIM0n5P.js";
|
|
36
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-e6MzlLCd.js";
|
|
37
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-CsrzMCTD.js";
|
|
38
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-DlZODdRf.js";
|
|
39
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-CGKsaVZ4.js";
|
|
40
|
+
import { r as healthCommand } from "./health-7UqIGG8U.js";
|
|
41
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-CJQ97d4u.js";
|
|
42
|
+
import { t as resolveDmAllowState } from "./dm-policy-shared-CeFt0nch.js";
|
|
43
|
+
import { t as runGatewayUpdate } from "./update-runner-BLV8SI96.js";
|
|
44
|
+
import { t as resolveAgentSessionDirs } from "./session-dirs-C9E2G0yZ.js";
|
|
45
45
|
import { n as logConfigUpdated } from "./logging-DDnP1BTp.js";
|
|
46
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
47
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
46
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-C52W1uUK.js";
|
|
47
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BzYk7A6M.js";
|
|
48
48
|
import { t as formatHealthCheckFailure } from "./health-format-Bxg84_f4.js";
|
|
49
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
49
|
+
import { n as doctorShellCompletion } from "./doctor-completion--j-3qqz6.js";
|
|
50
50
|
import path from "node:path";
|
|
51
51
|
import fs from "node:fs";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
import { promisify } from "node:util";
|
|
54
|
-
import
|
|
54
|
+
import fs$1 from "node:fs/promises";
|
|
55
55
|
import { execFile } from "node:child_process";
|
|
56
56
|
import { confirm, intro, outro, select } from "@clack/prompts";
|
|
57
57
|
|
|
@@ -517,16 +517,16 @@ async function cleanupLegacyLaunchdService(params) {
|
|
|
517
517
|
await execFileAsync$1("launchctl", ["unload", params.plistPath]).catch(() => void 0);
|
|
518
518
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
519
519
|
try {
|
|
520
|
-
await
|
|
520
|
+
await fs$1.mkdir(trashDir, { recursive: true });
|
|
521
521
|
} catch {}
|
|
522
522
|
try {
|
|
523
|
-
await
|
|
523
|
+
await fs$1.access(params.plistPath);
|
|
524
524
|
} catch {
|
|
525
525
|
return null;
|
|
526
526
|
}
|
|
527
527
|
const dest = path.join(trashDir, `${params.label}-${Date.now()}.plist`);
|
|
528
528
|
try {
|
|
529
|
-
await
|
|
529
|
+
await fs$1.rename(params.plistPath, dest);
|
|
530
530
|
return dest;
|
|
531
531
|
} catch {
|
|
532
532
|
return null;
|
|
@@ -1486,11 +1486,11 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1486
1486
|
argv1: process.argv[1]
|
|
1487
1487
|
})).indexPath ?? resolveControlUiDistIndexPathForRoot(root);
|
|
1488
1488
|
try {
|
|
1489
|
-
const [schemaStats, uiStats] = await Promise.all([
|
|
1489
|
+
const [schemaStats, uiStats] = await Promise.all([fs$1.stat(schemaPath).catch(() => null), fs$1.stat(uiIndexPath).catch(() => null)]);
|
|
1490
1490
|
if (schemaStats && !uiStats) {
|
|
1491
1491
|
note$1(["- Control UI assets are missing.", "- Run: pnpm ui:build"].join("\n"), "UI");
|
|
1492
1492
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1493
|
-
if (!await
|
|
1493
|
+
if (!await fs$1.stat(uiSourcesPath).catch(() => null)) {
|
|
1494
1494
|
note$1("Skipping UI build: ui/ sources not present.", "UI");
|
|
1495
1495
|
return;
|
|
1496
1496
|
}
|
|
@@ -1535,7 +1535,7 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1535
1535
|
initialValue: true
|
|
1536
1536
|
})) {
|
|
1537
1537
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1538
|
-
if (!await
|
|
1538
|
+
if (!await fs$1.stat(uiSourcesPath).catch(() => null)) {
|
|
1539
1539
|
note$1("Skipping UI rebuild: ui/ sources not present.", "UI");
|
|
1540
1540
|
return;
|
|
1541
1541
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
1
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-4O0ifBsI.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
3
|
-
import { b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-
|
|
4
|
-
import { u as normalizeProviderId } from "./model-selection-
|
|
3
|
+
import { b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-Ce7R_25e.js";
|
|
4
|
+
import { u as normalizeProviderId } from "./model-selection-7wdmO-Iw.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-olk5zI5k.js";
|
|
6
|
-
import { n as isWSLEnv } from "./wsl-
|
|
7
|
-
import { f as updateConfig } from "./shared-
|
|
8
|
-
import { d as applyAuthProfileConfig } from "./auth-token-
|
|
6
|
+
import { n as isWSLEnv } from "./wsl-CglTdtlb.js";
|
|
7
|
+
import { f as updateConfig } from "./shared-COtpr3Ad.js";
|
|
8
|
+
import { d as applyAuthProfileConfig } from "./auth-token-Cr28IDKY.js";
|
|
9
9
|
import { n as logConfigUpdated } from "./logging-DDnP1BTp.js";
|
|
10
10
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
11
11
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { i as sniffMimeFromBase64, jt as estimateBase64DecodedBytes } from "./unified-runner-
|
|
1
|
+
import { i as sniffMimeFromBase64, jt as estimateBase64DecodedBytes } from "./unified-runner-4O0ifBsI.js";
|
|
2
2
|
import { S as isVerbose } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import { _ as resolveStateDir } from "./paths-By0XjHBk.js";
|
|
4
4
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { x as parseAgentSessionKey } from "./session-key-DUSb7CCb.js";
|
|
6
6
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-B3O-RBO1.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-Dcy37-4s.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 fs 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 fs.readFile(keyPath, "utf8"))
|
|
529
529
|
}
|
|
530
530
|
};
|
|
531
531
|
} catch (err) {
|
|
@@ -4,21 +4,21 @@ import "./utils-CTPsqyE_.js";
|
|
|
4
4
|
import "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
6
6
|
import "./exec-DuYbft0z.js";
|
|
7
|
-
import "./agent-scope-
|
|
8
|
-
import "./model-selection-
|
|
9
|
-
import "./config-
|
|
7
|
+
import "./agent-scope-DOrZjOnW.js";
|
|
8
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
9
|
+
import "./config-B4jkreCN.js";
|
|
10
10
|
import "./boolean-CbZoNRMn.js";
|
|
11
11
|
import "./env-BRnPI9sO.js";
|
|
12
12
|
import "./shell-env-Dc3iU7HK.js";
|
|
13
13
|
import "./manifest-registry-D1MLZEjS.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-DJChpTwP.js";
|
|
15
15
|
import "./redact-B3O-RBO1.js";
|
|
16
16
|
import { n as formatErrorMessage } from "./errors-bI7Tdx75.js";
|
|
17
17
|
import "./ssrf-DOZRI5XH.js";
|
|
18
|
-
import "./ports-
|
|
18
|
+
import "./ports-gxLM5ahL.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
import path from "node:path";
|
|
21
|
-
import
|
|
21
|
+
import fs 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 fs.mkdir(path.dirname(resolvedOutPath), { recursive: true });
|
|
901
901
|
await download.saveAs?.(resolvedOutPath);
|
|
902
902
|
return {
|
|
903
903
|
url: download.url?.() || "",
|
|
@@ -9,7 +9,7 @@ import "./ssrf-DNhyFMRW.js";
|
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
10
|
import "./shell-env-B1lDWz4t.js";
|
|
11
11
|
import "./manifest-registry-BGJu2aC-.js";
|
|
12
|
-
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-
|
|
12
|
+
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-OTJg3QKn.js";
|
|
13
13
|
import "./redact-CSGZUFxa.js";
|
|
14
14
|
import { n as formatErrorMessage } from "./errors-C89ppfp9.js";
|
|
15
15
|
import path from "node:path";
|
|
@@ -4,14 +4,14 @@ import "./utils-CTPsqyE_.js";
|
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { x as parseAgentSessionKey } from "./session-key-DUSb7CCb.js";
|
|
6
6
|
import "./exec-DuYbft0z.js";
|
|
7
|
-
import { c as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { c as resolveAgentWorkspaceDir } from "./agent-scope-DOrZjOnW.js";
|
|
8
8
|
import "./redact-B3O-RBO1.js";
|
|
9
9
|
import "./paths-BtvQ7JvU.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-DVCddhhN.js";
|
|
11
|
+
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-Cod7C5ba.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import os from "node:os";
|
|
14
|
-
import
|
|
14
|
+
import fs 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 fs.mkdir(this.xdgConfigHome, { recursive: true });
|
|
247
|
+
await fs.mkdir(this.xdgCacheHome, { recursive: true });
|
|
248
|
+
await fs.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
249
|
+
if (this.sessionExporter) await fs.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 fs.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 fs.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 fs.lstat(targetModelsDir);
|
|
667
667
|
return;
|
|
668
668
|
} catch {}
|
|
669
669
|
try {
|
|
670
|
-
await
|
|
670
|
+
await fs.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 fs.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 fs.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 fs.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 fs.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 fs.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 fs.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 fs.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
|
}
|
|
@@ -3,9 +3,9 @@ import "./paths-By0XjHBk.js";
|
|
|
3
3
|
import "./utils-CTPsqyE_.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
6
|
+
import "./agent-scope-DOrZjOnW.js";
|
|
7
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
8
|
+
import { i as loadConfig } from "./config-B4jkreCN.js";
|
|
9
9
|
import "./boolean-CbZoNRMn.js";
|
|
10
10
|
import "./env-BRnPI9sO.js";
|
|
11
11
|
import "./shell-env-Dc3iU7HK.js";
|
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
import "./unified-runner-
|
|
1
|
+
import "./unified-runner-4O0ifBsI.js";
|
|
2
2
|
import { E as setVerbose, j as theme, r as DEFAULT_CHAT_CHANNEL } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import "./paths-By0XjHBk.js";
|
|
4
4
|
import { h as resolveUserPath, v as shortenHomePath } from "./utils-CTPsqyE_.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
6
|
-
import { C as resolveAuthStorePath, b as ensureAuthProfileStore } from "./auth-profiles-
|
|
6
|
+
import { C as resolveAuthStorePath, b as ensureAuthProfileStore } from "./auth-profiles-Ce7R_25e.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
8
8
|
import { o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID, t as DEFAULT_AGENT_ID } from "./session-key-DUSb7CCb.js";
|
|
9
9
|
import "./exec-DuYbft0z.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-
|
|
11
|
-
import "./model-selection-
|
|
12
|
-
import "./file-lock-
|
|
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-DOrZjOnW.js";
|
|
11
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
12
|
+
import "./file-lock-BVUYnlQv.js";
|
|
13
13
|
import "./agent-paths-BbZSGrUA.js";
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import { i as loadConfig, l as writeConfigFile } from "./config-
|
|
14
|
+
import "./pi-embedded-helpers-D-OFjhdI.js";
|
|
15
|
+
import { i as loadConfig, l as writeConfigFile } from "./config-B4jkreCN.js";
|
|
16
16
|
import "./boolean-CbZoNRMn.js";
|
|
17
17
|
import "./env-BRnPI9sO.js";
|
|
18
18
|
import "./shell-env-Dc3iU7HK.js";
|
|
19
19
|
import "./manifest-registry-D1MLZEjS.js";
|
|
20
|
-
import "./sandbox-
|
|
21
|
-
import "./chrome-
|
|
20
|
+
import "./sandbox-BkznAPKO.js";
|
|
21
|
+
import "./chrome-DJChpTwP.js";
|
|
22
22
|
import "./tailscale-DpKBMIvx.js";
|
|
23
23
|
import "./auth-Bkx-QuRN.js";
|
|
24
|
-
import "./server-context-
|
|
24
|
+
import "./server-context-ChcbJgNo.js";
|
|
25
25
|
import "./frontmatter-B_jqcova.js";
|
|
26
|
-
import "./skills-
|
|
27
|
-
import "./routes-
|
|
26
|
+
import "./skills-BwDmcZdt.js";
|
|
27
|
+
import "./routes-ivqbutvM.js";
|
|
28
28
|
import "./redact-B3O-RBO1.js";
|
|
29
29
|
import "./errors-bI7Tdx75.js";
|
|
30
|
-
import "./fs-safe-
|
|
31
|
-
import "./paths-
|
|
30
|
+
import "./fs-safe-BdejYjW8.js";
|
|
31
|
+
import "./paths-DObzwe08.js";
|
|
32
32
|
import "./ssrf-DOZRI5XH.js";
|
|
33
|
-
import "./image-ops-
|
|
34
|
-
import "./ports-
|
|
33
|
+
import "./image-ops-L70xVnpG.js";
|
|
34
|
+
import "./ports-gxLM5ahL.js";
|
|
35
35
|
import "./trash-_YhavPQI.js";
|
|
36
|
-
import "./sessions-
|
|
36
|
+
import "./sessions-Dxf5Kjig.js";
|
|
37
37
|
import "./dock-hF45sewN.js";
|
|
38
38
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-DgjXWzf-.js";
|
|
39
39
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CF5skkHh.js";
|
|
40
|
-
import "./send-
|
|
40
|
+
import "./send-B0jHSNMF.js";
|
|
41
41
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-BtvQ7JvU.js";
|
|
42
42
|
import "./thinking-COroyVA5.js";
|
|
43
43
|
import "./tokens-0yh2UnJq.js";
|
|
44
|
-
import "./deliver-
|
|
44
|
+
import "./deliver-lTZLIQqf.js";
|
|
45
45
|
import "./diagnostic-DbT9t0Sh.js";
|
|
46
46
|
import "./diagnostic-session-state-DnkpMfCl.js";
|
|
47
|
-
import "./model-auth-
|
|
47
|
+
import "./model-auth-1EAQvYRv.js";
|
|
48
48
|
import "./github-copilot-token-D-FdDfee.js";
|
|
49
|
-
import "./models-config-
|
|
50
|
-
import "./pi-auth-json-
|
|
49
|
+
import "./models-config-B5Xxy-c-.js";
|
|
50
|
+
import "./pi-auth-json-Db8XJVGL.js";
|
|
51
51
|
import "./session-cost-usage-D3mgssM_.js";
|
|
52
|
-
import "./session-utils-
|
|
53
|
-
import "./with-timeout-
|
|
54
|
-
import "./reply-prefix-
|
|
55
|
-
import "./memory-
|
|
56
|
-
import "./manager-
|
|
57
|
-
import "./sqlite-
|
|
52
|
+
import "./session-utils-Cs1jlD-q.js";
|
|
53
|
+
import "./with-timeout-DPR4A2dx.js";
|
|
54
|
+
import "./reply-prefix-BFNeXT65.js";
|
|
55
|
+
import "./memory-BZ24UkLW.js";
|
|
56
|
+
import "./manager-Cw7IJGbB.js";
|
|
57
|
+
import "./sqlite-Cod7C5ba.js";
|
|
58
58
|
import "./chunk-BxfKjCUx.js";
|
|
59
59
|
import "./markdown-tables-CS1Tvb3z.js";
|
|
60
60
|
import "./fetch-guard-JHxT9355.js";
|
|
61
|
-
import "./local-roots-
|
|
61
|
+
import "./local-roots-CgDCgCuM.js";
|
|
62
62
|
import "./commands-DUzLGgEZ.js";
|
|
63
|
-
import "./commands-registry-
|
|
64
|
-
import "./client-
|
|
65
|
-
import { a as randomIdempotencyKey, n as callGateway } from "./call-
|
|
66
|
-
import "./pairing-token-
|
|
63
|
+
import "./commands-registry-Ca5hh7nh.js";
|
|
64
|
+
import "./client-DH75FlQF.js";
|
|
65
|
+
import { a as randomIdempotencyKey, n as callGateway } from "./call-AZ9vNhST.js";
|
|
66
|
+
import "./pairing-token-Dcy37-4s.js";
|
|
67
67
|
import "./tool-display-DFOL6UQ9.js";
|
|
68
|
-
import "./skills-remote-
|
|
69
|
-
import "./workspace-dirs-
|
|
68
|
+
import "./skills-remote-bz71Bstn.js";
|
|
69
|
+
import "./workspace-dirs-jKFQf7of.js";
|
|
70
70
|
import "./pi-model-discovery-ClQLvlCW.js";
|
|
71
|
-
import "./model-catalog-
|
|
72
|
-
import "./skill-commands-
|
|
73
|
-
import "./pairing-store-
|
|
71
|
+
import "./model-catalog-IWi6-nY9.js";
|
|
72
|
+
import "./skill-commands-DDGGlq68.js";
|
|
73
|
+
import "./pairing-store-BNhJOnWn.js";
|
|
74
74
|
import "./exec-approvals-DioSaIeH.js";
|
|
75
|
-
import "./nodes-screen-
|
|
75
|
+
import "./nodes-screen-De9ma6e1.js";
|
|
76
76
|
import "./breakdown-B_Dhhm3K.js";
|
|
77
|
-
import "./control-service-
|
|
77
|
+
import "./control-service-D8kKOts5.js";
|
|
78
78
|
import "./stagger-DQs772BN.js";
|
|
79
79
|
import "./channel-selection-H1qOf0q-.js";
|
|
80
80
|
import "./delivery-queue-OAc7hsIs.js";
|
|
81
81
|
import "./bindings-DIhsYGa_.js";
|
|
82
|
-
import "./resolve-route-
|
|
82
|
+
import "./resolve-route-C1IIA6kH.js";
|
|
83
83
|
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
84
84
|
import { n as runCommandWithRuntime } from "./cli-utils-CuyGL3rq.js";
|
|
85
85
|
import { t as formatHelpExamples } from "./help-format-7hFcsqss.js";
|
|
86
86
|
import { n as withProgress } from "./progress-swt2y17x.js";
|
|
87
|
-
import "./memory-cli-
|
|
87
|
+
import "./memory-cli-0HHYm-B8.js";
|
|
88
88
|
import "./logging-BWknayJl.js";
|
|
89
|
-
import "./replies-
|
|
90
|
-
import "./pi-tools.policy-
|
|
91
|
-
import "./model-
|
|
92
|
-
import { t as createDefaultDeps } from "./deps-
|
|
89
|
+
import "./replies-CbXXjn9X.js";
|
|
90
|
+
import "./pi-tools.policy-H2t-Xkfc.js";
|
|
91
|
+
import "./model-MUMSB_7d.js";
|
|
92
|
+
import { t as createDefaultDeps } from "./deps-Bf9dt2UO.js";
|
|
93
93
|
import { t as collectOption } from "./helpers-B_p8ul9t.js";
|
|
94
94
|
import "./catalog-BptA-dUv.js";
|
|
95
95
|
import { t as hasExplicitOptions } from "./command-options-DDDwkB9t.js";
|
|
@@ -98,26 +98,26 @@ import "./note-D9FXI2qW.js";
|
|
|
98
98
|
import { t as WizardCancelledError } from "./prompts-CNzp9M83.js";
|
|
99
99
|
import { t as createClackPrompter } from "./clack-prompter-BpcKjPIh.js";
|
|
100
100
|
import { t as resolveChannelDefaultAccountId } from "./helpers-G6zuddmF.js";
|
|
101
|
-
import "./plugin-auto-enable-
|
|
102
|
-
import "./install-safe-path-
|
|
103
|
-
import "./npm-registry-spec-
|
|
104
|
-
import "./skill-scanner-
|
|
105
|
-
import "./installs-
|
|
106
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
107
|
-
import { t as requireValidConfigSnapshot } from "./config-validation-
|
|
108
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
109
|
-
import { n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-
|
|
110
|
-
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-
|
|
111
|
-
import "./shared-
|
|
112
|
-
import "./auth-token-
|
|
101
|
+
import "./plugin-auto-enable-DJBhDIMq.js";
|
|
102
|
+
import "./install-safe-path-B2JrFspY.js";
|
|
103
|
+
import "./npm-registry-spec-DTqn-NXZ.js";
|
|
104
|
+
import "./skill-scanner-BCgVcIwi.js";
|
|
105
|
+
import "./installs-D890uIIW.js";
|
|
106
|
+
import { r as setupChannels } from "./onboard-channels-qDThNkyj.js";
|
|
107
|
+
import { t as requireValidConfigSnapshot } from "./config-validation-Cdyg1BZB.js";
|
|
108
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-7IGQ8nAM.js";
|
|
109
|
+
import { n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-DxRVDqSg.js";
|
|
110
|
+
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-B7sNDvhz.js";
|
|
111
|
+
import "./shared-COtpr3Ad.js";
|
|
112
|
+
import "./auth-token-Cr28IDKY.js";
|
|
113
113
|
import { n as logConfigUpdated } from "./logging-DDnP1BTp.js";
|
|
114
|
-
import "./provider-auth-helpers-
|
|
114
|
+
import "./provider-auth-helpers-DU8RlQz7.js";
|
|
115
115
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-BAFfYZeR.js";
|
|
116
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
117
|
-
import "./openai-model-default-
|
|
118
|
-
import "./model-picker-
|
|
116
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-DQplW60s.js";
|
|
117
|
+
import "./openai-model-default-BkuuK-Di.js";
|
|
118
|
+
import "./model-picker-Cf6UgQEh.js";
|
|
119
119
|
import path from "node:path";
|
|
120
|
-
import
|
|
120
|
+
import fs from "node:fs/promises";
|
|
121
121
|
|
|
122
122
|
//#region src/commands/agent-via-gateway.ts
|
|
123
123
|
const NO_GATEWAY_TIMEOUT_MS = 2147e6;
|
|
@@ -355,7 +355,7 @@ async function requireValidConfig(runtime) {
|
|
|
355
355
|
//#region src/commands/agents.commands.add.ts
|
|
356
356
|
async function fileExists(pathname) {
|
|
357
357
|
try {
|
|
358
|
-
await
|
|
358
|
+
await fs.stat(pathname);
|
|
359
359
|
return true;
|
|
360
360
|
} catch {
|
|
361
361
|
return false;
|
|
@@ -495,8 +495,8 @@ async function agentsAddCommand(opts, runtime = defaultRuntime, params) {
|
|
|
495
495
|
message: `Copy auth profiles from "${defaultAgentId}"?`,
|
|
496
496
|
initialValue: false
|
|
497
497
|
})) {
|
|
498
|
-
await
|
|
499
|
-
await
|
|
498
|
+
await fs.mkdir(path.dirname(destAuthPath), { recursive: true });
|
|
499
|
+
await fs.copyFile(sourceAuthPath, destAuthPath);
|
|
500
500
|
await prompter.note(`Copied auth profiles from "${defaultAgentId}".`, "Auth profiles");
|
|
501
501
|
}
|
|
502
502
|
}
|
|
@@ -644,7 +644,7 @@ const coerceTrimmed = (value) => {
|
|
|
644
644
|
};
|
|
645
645
|
async function loadIdentityFromFile(filePath) {
|
|
646
646
|
try {
|
|
647
|
-
const parsed = parseIdentityMarkdown(await
|
|
647
|
+
const parsed = parseIdentityMarkdown(await fs.readFile(filePath, "utf-8"));
|
|
648
648
|
if (!identityHasValues(parsed)) return null;
|
|
649
649
|
return parsed;
|
|
650
650
|
} catch {
|