@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,33 +1,33 @@
|
|
|
1
|
-
import { $t as emitAgentEvent, A as resolveSessionDeliveryTarget, An as resolveFailoverStatus, Dn as runWithModelFallback, It as clearSessionAuthProfileOverride, Kt as resolveAgentTimeoutMs, On as FailoverError, Qt as clearAgentRunContext, Xt as AGENT_LANE_SUBAGENT, Yt as AGENT_LANE_NESTED, _n as resolveRunWorkspaceDir, bt as applyModelOverrideToSessionEntry, ft as getProcessSupervisor, gn as redactRunIdentifier, hn as resolveBootstrapContextForRun, ht as resolveSendPolicy, k as resolveOutboundTarget, mn as makeBootstrapWarn, nn as registerAgentRunContext, pt as detectRuntimeShell, rn as buildAgentSystemPrompt, t as runAgentTurn, un as resolveSymiDocsPath, ut as buildSystemPromptParams, xt as applyVerboseOverride } from "./unified-runner-
|
|
1
|
+
import { $t as emitAgentEvent, A as resolveSessionDeliveryTarget, An as resolveFailoverStatus, Dn as runWithModelFallback, It as clearSessionAuthProfileOverride, Kt as resolveAgentTimeoutMs, On as FailoverError, Qt as clearAgentRunContext, Xt as AGENT_LANE_SUBAGENT, Yt as AGENT_LANE_NESTED, _n as resolveRunWorkspaceDir, bt as applyModelOverrideToSessionEntry, ft as getProcessSupervisor, gn as redactRunIdentifier, hn as resolveBootstrapContextForRun, ht as resolveSendPolicy, k as resolveOutboundTarget, mn as makeBootstrapWarn, nn as registerAgentRunContext, pt as detectRuntimeShell, rn as buildAgentSystemPrompt, t as runAgentTurn, un as resolveSymiDocsPath, ut as buildSystemPromptParams, xt as applyVerboseOverride } from "./unified-runner-4O0ifBsI.js";
|
|
2
2
|
import { D as shouldLogVerbose, r as DEFAULT_CHAT_CHANNEL } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import { u as isRecord } from "./utils-CTPsqyE_.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
5
|
-
import { b as ensureAuthProfileStore } from "./auth-profiles-
|
|
5
|
+
import { b as ensureAuthProfileStore } from "./auth-profiles-Ce7R_25e.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
7
7
|
import { c as resolveAgentIdFromSessionKey, o as normalizeAgentId, s as normalizeMainKey } from "./session-key-DUSb7CCb.js";
|
|
8
|
-
import { C as ensureAgentWorkspace, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, i as resolveAgentDir, n as listAgentIds, o as resolveAgentModelPrimary, s as resolveAgentSkillsFilter, u as resolveEffectiveModelFallbacks } from "./agent-scope-
|
|
9
|
-
import { C as DEFAULT_MODEL, S as DEFAULT_CONTEXT_TOKENS, b as resolveThinkingDefault, c as modelKey, h as resolveDefaultModelForAgent, l as normalizeModelRef, m as resolveConfiguredModelRef, s as isCliProvider, t as buildAllowedModelSet, u as normalizeProviderId, w as DEFAULT_PROVIDER } from "./model-selection-
|
|
10
|
-
import { D as isFailoverErrorMessage, g as classifyFailoverReason } from "./pi-embedded-helpers-
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
8
|
+
import { C as ensureAgentWorkspace, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, i as resolveAgentDir, n as listAgentIds, o as resolveAgentModelPrimary, s as resolveAgentSkillsFilter, u as resolveEffectiveModelFallbacks } from "./agent-scope-DOrZjOnW.js";
|
|
9
|
+
import { C as DEFAULT_MODEL, S as DEFAULT_CONTEXT_TOKENS, b as resolveThinkingDefault, c as modelKey, h as resolveDefaultModelForAgent, l as normalizeModelRef, m as resolveConfiguredModelRef, s as isCliProvider, t as buildAllowedModelSet, u as normalizeProviderId, w as DEFAULT_PROVIDER } from "./model-selection-7wdmO-Iw.js";
|
|
10
|
+
import { D as isFailoverErrorMessage, g as classifyFailoverReason } from "./pi-embedded-helpers-D-OFjhdI.js";
|
|
11
|
+
import { i as loadConfig } from "./config-B4jkreCN.js";
|
|
12
12
|
import { t as isTruthyEnvValue } from "./env-BRnPI9sO.js";
|
|
13
|
-
import { r as buildWorkspaceSkillSnapshot } from "./skills-
|
|
14
|
-
import { F as resolveSessionResetType, M as evaluateSessionFreshness, N as resolveChannelResetConfig, P as resolveSessionResetPolicy, V as resolveExplicitAgentSessionKey, a as resolveAndPersistSessionFile, b as normalizeAccountId, d as updateSessionStore, j as resolveSessionKey, n as parseSessionThreadInfo, o as loadSessionStore } from "./sessions-
|
|
13
|
+
import { r as buildWorkspaceSkillSnapshot } from "./skills-BwDmcZdt.js";
|
|
14
|
+
import { F as resolveSessionResetType, M as evaluateSessionFreshness, N as resolveChannelResetConfig, P as resolveSessionResetPolicy, V as resolveExplicitAgentSessionKey, a as resolveAndPersistSessionFile, b as normalizeAccountId, d as updateSessionStore, j as resolveSessionKey, n as parseSessionThreadInfo, o as loadSessionStore } from "./sessions-Dxf5Kjig.js";
|
|
15
15
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DgjXWzf-.js";
|
|
16
16
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CF5skkHh.js";
|
|
17
17
|
import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath } from "./paths-BtvQ7JvU.js";
|
|
18
18
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-COroyVA5.js";
|
|
19
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
19
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-lTZLIQqf.js";
|
|
20
20
|
import { c as hasNonzeroUsage, s as deriveSessionTotalTokens } from "./session-cost-usage-D3mgssM_.js";
|
|
21
|
-
import { x as lookupContextTokens } from "./session-utils-
|
|
22
|
-
import { g as getSkillsSnapshotVersion, t as getRemoteSkillEligibility } from "./skills-remote-
|
|
23
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
24
|
-
import { a as buildModelAliasLines } from "./model-
|
|
25
|
-
import { t as createDefaultDeps } from "./deps-
|
|
21
|
+
import { x as lookupContextTokens } from "./session-utils-Cs1jlD-q.js";
|
|
22
|
+
import { g as getSkillsSnapshotVersion, t as getRemoteSkillEligibility } from "./skills-remote-bz71Bstn.js";
|
|
23
|
+
import { n as loadModelCatalog } from "./model-catalog-IWi6-nY9.js";
|
|
24
|
+
import { a as buildModelAliasLines } from "./model-MUMSB_7d.js";
|
|
25
|
+
import { t as createDefaultDeps } from "./deps-Bf9dt2UO.js";
|
|
26
26
|
import { t as createOutboundSendDeps } from "./outbound-send-deps--SpwgFhS.js";
|
|
27
27
|
import crypto from "node:crypto";
|
|
28
28
|
import path from "node:path";
|
|
29
29
|
import os from "node:os";
|
|
30
|
-
import
|
|
30
|
+
import fs from "node:fs/promises";
|
|
31
31
|
|
|
32
32
|
//#region src/agents/cli-watchdog-defaults.ts
|
|
33
33
|
const CLI_WATCHDOG_MIN_TIMEOUT_MS = 1e3;
|
|
@@ -462,18 +462,18 @@ function appendImagePathsToPrompt(prompt, paths) {
|
|
|
462
462
|
return `${trimmed}${trimmed ? "\n\n" : ""}${paths.join("\n")}`;
|
|
463
463
|
}
|
|
464
464
|
async function writeCliImages(images) {
|
|
465
|
-
const tempDir = await
|
|
465
|
+
const tempDir = await fs.mkdtemp(path.join(os.tmpdir(), "symi-cli-images-"));
|
|
466
466
|
const paths = [];
|
|
467
467
|
for (let i = 0; i < images.length; i += 1) {
|
|
468
468
|
const image = images[i];
|
|
469
469
|
const ext = resolveImageExtension(image.mimeType);
|
|
470
470
|
const filePath = path.join(tempDir, `image-${i + 1}.${ext}`);
|
|
471
471
|
const buffer = Buffer.from(image.data, "base64");
|
|
472
|
-
await
|
|
472
|
+
await fs.writeFile(filePath, buffer, { mode: 384 });
|
|
473
473
|
paths.push(filePath);
|
|
474
474
|
}
|
|
475
475
|
const cleanup = async () => {
|
|
476
|
-
await
|
|
476
|
+
await fs.rm(tempDir, {
|
|
477
477
|
recursive: true,
|
|
478
478
|
force: true
|
|
479
479
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { _ as resolveStateDir, b as resolveRequiredHomeDir } from "./paths-By0XjHBk.js";
|
|
2
2
|
import { f as pathExists, h as resolveUserPath } from "./utils-CTPsqyE_.js";
|
|
3
3
|
import { b as isSubagentSessionKey, o as normalizeAgentId, t as DEFAULT_AGENT_ID, x as parseAgentSessionKey, y as isCronSessionKey } from "./session-key-DUSb7CCb.js";
|
|
4
|
-
import { i as normalizeSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-
|
|
4
|
+
import { i as normalizeSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-BQ0IpoW2.js";
|
|
5
5
|
import { t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
9
|
-
import
|
|
9
|
+
import fs from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/agents/workspace-templates.ts
|
|
12
12
|
const FALLBACK_TEMPLATE_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../docs/reference/templates");
|
|
@@ -73,10 +73,10 @@ const workspaceFileCache = /* @__PURE__ */ new Map();
|
|
|
73
73
|
*/
|
|
74
74
|
async function readFileWithCache(filePath) {
|
|
75
75
|
try {
|
|
76
|
-
const mtimeMs = (await
|
|
76
|
+
const mtimeMs = (await fs.stat(filePath)).mtimeMs;
|
|
77
77
|
const cached = workspaceFileCache.get(filePath);
|
|
78
78
|
if (cached && cached.mtimeMs === mtimeMs) return cached.content;
|
|
79
|
-
const content = await
|
|
79
|
+
const content = await fs.readFile(filePath, "utf-8");
|
|
80
80
|
workspaceFileCache.set(filePath, {
|
|
81
81
|
content,
|
|
82
82
|
mtimeMs
|
|
@@ -103,7 +103,7 @@ async function loadTemplate(name) {
|
|
|
103
103
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
104
104
|
const templatePath = path.join(templateDir, name);
|
|
105
105
|
try {
|
|
106
|
-
return stripFrontMatter(await
|
|
106
|
+
return stripFrontMatter(await fs.readFile(templatePath, "utf-8"));
|
|
107
107
|
} catch {
|
|
108
108
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
109
109
|
}
|
|
@@ -118,7 +118,7 @@ async function loadTemplate(name) {
|
|
|
118
118
|
}
|
|
119
119
|
async function writeFileIfMissing(filePath, content) {
|
|
120
120
|
try {
|
|
121
|
-
await
|
|
121
|
+
await fs.writeFile(filePath, content, {
|
|
122
122
|
encoding: "utf-8",
|
|
123
123
|
flag: "wx"
|
|
124
124
|
});
|
|
@@ -130,7 +130,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
130
130
|
}
|
|
131
131
|
async function fileExists(filePath) {
|
|
132
132
|
try {
|
|
133
|
-
await
|
|
133
|
+
await fs.access(filePath);
|
|
134
134
|
return true;
|
|
135
135
|
} catch {
|
|
136
136
|
return false;
|
|
@@ -154,7 +154,7 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
154
154
|
}
|
|
155
155
|
async function readWorkspaceOnboardingState(statePath) {
|
|
156
156
|
try {
|
|
157
|
-
return parseWorkspaceOnboardingState(await
|
|
157
|
+
return parseWorkspaceOnboardingState(await fs.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
158
158
|
} catch (err) {
|
|
159
159
|
if (err.code !== "ENOENT") throw err;
|
|
160
160
|
return { version: WORKSPACE_STATE_VERSION };
|
|
@@ -168,20 +168,20 @@ async function isWorkspaceOnboardingCompleted(dir) {
|
|
|
168
168
|
return typeof state.onboardingCompletedAt === "string" && state.onboardingCompletedAt.trim().length > 0;
|
|
169
169
|
}
|
|
170
170
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
171
|
-
await
|
|
171
|
+
await fs.mkdir(path.dirname(statePath), { recursive: true });
|
|
172
172
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
173
173
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
174
174
|
try {
|
|
175
|
-
await
|
|
176
|
-
await
|
|
175
|
+
await fs.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
176
|
+
await fs.rename(tmpPath, statePath);
|
|
177
177
|
} catch (err) {
|
|
178
|
-
await
|
|
178
|
+
await fs.unlink(tmpPath).catch(() => {});
|
|
179
179
|
throw err;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
async function hasGitRepo(dir) {
|
|
183
183
|
try {
|
|
184
|
-
await
|
|
184
|
+
await fs.stat(path.join(dir, ".git"));
|
|
185
185
|
return true;
|
|
186
186
|
} catch {
|
|
187
187
|
return false;
|
|
@@ -211,7 +211,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
211
211
|
}
|
|
212
212
|
async function ensureAgentWorkspace(params) {
|
|
213
213
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
214
|
-
await
|
|
214
|
+
await fs.mkdir(dir, { recursive: true });
|
|
215
215
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
216
216
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
217
217
|
const symicorePath = path.join(dir, DEFAULT_SYMICORE_FILENAME);
|
|
@@ -232,7 +232,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
232
232
|
];
|
|
233
233
|
return (await Promise.all(paths.map(async (p) => {
|
|
234
234
|
try {
|
|
235
|
-
await
|
|
235
|
+
await fs.access(p);
|
|
236
236
|
return true;
|
|
237
237
|
} catch {
|
|
238
238
|
return false;
|
|
@@ -263,7 +263,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
263
263
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
264
264
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
265
265
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
266
|
-
const [identityContent, userContent] = await Promise.all([
|
|
266
|
+
const [identityContent, userContent] = await Promise.all([fs.readFile(identityPath, "utf-8"), fs.readFile(userPath, "utf-8")]);
|
|
267
267
|
if (identityContent !== identityTemplate || userContent !== userTemplate) markState({ onboardingCompletedAt: nowIso() });
|
|
268
268
|
else {
|
|
269
269
|
if (!await writeFileIfMissing(bootstrapPath, await loadTemplate(DEFAULT_BOOTSTRAP_FILENAME))) bootstrapExists = await fileExists(bootstrapPath);
|
|
@@ -290,7 +290,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
290
290
|
for (const name of candidates) {
|
|
291
291
|
const filePath = path.join(resolvedDir, name);
|
|
292
292
|
try {
|
|
293
|
-
await
|
|
293
|
+
await fs.access(filePath);
|
|
294
294
|
entries.push({
|
|
295
295
|
name,
|
|
296
296
|
filePath
|
|
@@ -303,7 +303,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
303
303
|
for (const entry of entries) {
|
|
304
304
|
let key = entry.filePath;
|
|
305
305
|
try {
|
|
306
|
-
key = await
|
|
306
|
+
key = await fs.realpath(entry.filePath);
|
|
307
307
|
} catch {}
|
|
308
308
|
if (seen.has(key)) continue;
|
|
309
309
|
seen.add(key);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as normalizeAgentId } from "./session-key-DUSb7CCb.js";
|
|
2
|
-
import { c as resolveAgentWorkspaceDir, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-
|
|
2
|
+
import { c as resolveAgentWorkspaceDir, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-DOrZjOnW.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
|
|
@@ -2,34 +2,34 @@ import { _ as resolveStateDir, h as resolveOAuthDir, o as resolveConfigPath } fr
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
3
3
|
import { o as normalizeAgentId } from "./session-key-DUSb7CCb.js";
|
|
4
4
|
import { n as runExec } from "./exec-DuYbft0z.js";
|
|
5
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
-
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-
|
|
5
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-DOrZjOnW.js";
|
|
6
|
+
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-B4jkreCN.js";
|
|
7
7
|
import { u as normalizePluginsConfig } from "./manifest-registry-D1MLZEjS.js";
|
|
8
8
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-BQ9vKISY.js";
|
|
9
|
-
import { S as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-
|
|
9
|
+
import { S as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-BkznAPKO.js";
|
|
10
10
|
import { a as resolveGatewayAuth } from "./auth-Bkx-QuRN.js";
|
|
11
|
-
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-
|
|
12
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
11
|
+
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-ChcbJgNo.js";
|
|
12
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-BwDmcZdt.js";
|
|
13
13
|
import { n as formatErrorMessage } from "./errors-bI7Tdx75.js";
|
|
14
14
|
import { c as normalizeStringEntries } from "./dock-hF45sewN.js";
|
|
15
15
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DgjXWzf-.js";
|
|
16
16
|
import { n as listChannelPlugins } from "./plugins-CF5skkHh.js";
|
|
17
17
|
import { i as resolveNativeSkillsEnabled, r as resolveNativeCommandsEnabled } from "./commands-DUzLGgEZ.js";
|
|
18
|
-
import { t as GatewayClient } from "./client-
|
|
19
|
-
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
20
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
21
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
22
|
-
import { n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
18
|
+
import { t as GatewayClient } from "./client-DH75FlQF.js";
|
|
19
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-AZ9vNhST.js";
|
|
20
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-jKFQf7of.js";
|
|
21
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BNhJOnWn.js";
|
|
22
|
+
import { n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-H2t-Xkfc.js";
|
|
23
23
|
import { t as resolveChannelDefaultAccountId } from "./helpers-G6zuddmF.js";
|
|
24
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
25
|
-
import { t as resolveDmAllowState } from "./dm-policy-shared-
|
|
24
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-BCgVcIwi.js";
|
|
25
|
+
import { t as resolveDmAllowState } from "./dm-policy-shared-CeFt0nch.js";
|
|
26
26
|
import { t as inferParamBFromIdOrName } from "./model-param-b-BQFczpbd.js";
|
|
27
27
|
import { randomUUID } from "node:crypto";
|
|
28
28
|
import path from "node:path";
|
|
29
29
|
import os from "node:os";
|
|
30
30
|
import JSON5 from "json5";
|
|
31
|
-
import * as fs from "node:fs/promises";
|
|
32
|
-
import
|
|
31
|
+
import * as fs$1 from "node:fs/promises";
|
|
32
|
+
import fs from "node:fs/promises";
|
|
33
33
|
|
|
34
34
|
//#region src/gateway/probe.ts
|
|
35
35
|
async function probeGateway(opts) {
|
|
@@ -1166,7 +1166,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1166
1166
|
if (visited.has(resolved)) continue;
|
|
1167
1167
|
visited.add(resolved);
|
|
1168
1168
|
result.push(resolved);
|
|
1169
|
-
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1169
|
+
const rawText = await fs$1.readFile(resolved, "utf-8").catch(() => null);
|
|
1170
1170
|
if (!rawText) continue;
|
|
1171
1171
|
const nestedParsed = (() => {
|
|
1172
1172
|
try {
|
|
@@ -1345,7 +1345,7 @@ function createIcaclsResetCommand(targetPath, opts) {
|
|
|
1345
1345
|
//#region src/security/audit-fs.ts
|
|
1346
1346
|
async function safeStat(targetPath) {
|
|
1347
1347
|
try {
|
|
1348
|
-
const lst = await
|
|
1348
|
+
const lst = await fs.lstat(targetPath);
|
|
1349
1349
|
return {
|
|
1350
1350
|
ok: true,
|
|
1351
1351
|
isSymlink: lst.isSymbolicLink(),
|
|
@@ -1384,7 +1384,7 @@ async function inspectPathPermissions(targetPath, opts) {
|
|
|
1384
1384
|
let effectiveMode = st.mode;
|
|
1385
1385
|
let effectiveIsDir = st.isDir;
|
|
1386
1386
|
if (st.isSymlink) try {
|
|
1387
|
-
const target = await
|
|
1387
|
+
const target = await fs.stat(targetPath);
|
|
1388
1388
|
effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
|
|
1389
1389
|
effectiveIsDir = target.isDirectory();
|
|
1390
1390
|
} catch {}
|
|
@@ -1487,7 +1487,7 @@ function expandTilde(p, env) {
|
|
|
1487
1487
|
}
|
|
1488
1488
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1489
1489
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1490
|
-
const raw = await
|
|
1490
|
+
const raw = await fs.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1491
1491
|
if (!raw.trim()) return [];
|
|
1492
1492
|
const extensions = JSON.parse(raw)?.[MANIFEST_KEY]?.extensions;
|
|
1493
1493
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1509,7 +1509,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1509
1509
|
};
|
|
1510
1510
|
return {
|
|
1511
1511
|
extensionsDir,
|
|
1512
|
-
pluginDirs: (await
|
|
1512
|
+
pluginDirs: (await fs.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1513
1513
|
params.onReadError?.(err);
|
|
1514
1514
|
return [];
|
|
1515
1515
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1572,7 +1572,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1572
1572
|
}
|
|
1573
1573
|
async function readInstalledPackageVersion(dir) {
|
|
1574
1574
|
try {
|
|
1575
|
-
const raw = await
|
|
1575
|
+
const raw = await fs.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1576
1576
|
const parsed = JSON.parse(raw);
|
|
1577
1577
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1578
1578
|
} catch {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { b as ensureAuthProfileStore, d as generateChutesPkce, f as parseOAuthCallbackInput, h as listProfilesForProvider, l as CHUTES_AUTHORIZE_ENDPOINT, n as resolveAuthProfileOrder, u as exchangeChutesCodeForTokens, v as upsertAuthProfile } from "./auth-profiles-
|
|
3
|
-
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-
|
|
4
|
-
import { C as DEFAULT_MODEL, m as resolveConfiguredModelRef, w as DEFAULT_PROVIDER } from "./model-selection-
|
|
2
|
+
import { b as ensureAuthProfileStore, d as generateChutesPkce, f as parseOAuthCallbackInput, h as listProfilesForProvider, l as CHUTES_AUTHORIZE_ENDPOINT, n as resolveAuthProfileOrder, u as exchangeChutesCodeForTokens, v as upsertAuthProfile } from "./auth-profiles-Ce7R_25e.js";
|
|
3
|
+
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-DOrZjOnW.js";
|
|
4
|
+
import { C as DEFAULT_MODEL, m as resolveConfiguredModelRef, w as DEFAULT_PROVIDER } from "./model-selection-7wdmO-Iw.js";
|
|
5
5
|
import { t as resolveSymiAgentDir } from "./agent-paths-BbZSGrUA.js";
|
|
6
6
|
import { r as isLoopbackHost } from "./ws-C7Ktmt-R.js";
|
|
7
|
-
import { n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-auth-
|
|
8
|
-
import { D as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, E as isHuggingfacePolicyLocked, T as discoverHuggingfaceModels, _ as SYNTHETIC_DEFAULT_MODEL_REF, u as VENICE_DEFAULT_MODEL_REF } from "./models-config-
|
|
9
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
7
|
+
import { n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-auth-1EAQvYRv.js";
|
|
8
|
+
import { D as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, E as isHuggingfacePolicyLocked, T as discoverHuggingfaceModels, _ as SYNTHETIC_DEFAULT_MODEL_REF, u as VENICE_DEFAULT_MODEL_REF } from "./models-config-B5Xxy-c-.js";
|
|
9
|
+
import { n as loadModelCatalog } from "./model-catalog-IWi6-nY9.js";
|
|
10
10
|
import { t as enablePluginInConfig } from "./enable-B8TbkmWU.js";
|
|
11
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
12
|
-
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-
|
|
13
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
14
|
-
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-
|
|
15
|
-
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-
|
|
11
|
+
import { f as openUrl } from "./onboard-helpers-7IGQ8nAM.js";
|
|
12
|
+
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-Cr28IDKY.js";
|
|
13
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-DU8RlQz7.js";
|
|
14
|
+
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-BkuuK-Di.js";
|
|
15
|
+
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-Cf6UgQEh.js";
|
|
16
16
|
import { randomBytes } from "node:crypto";
|
|
17
17
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
18
18
|
import { createServer } from "node:http";
|
|
@@ -3,9 +3,9 @@ import { g as resolveOAuthPath } from "./paths-By0XjHBk.js";
|
|
|
3
3
|
import { h as resolveUserPath } from "./utils-CTPsqyE_.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
6
|
-
import { a as findNormalizedProviderValue, i as findNormalizedProviderKey, u as normalizeProviderId, x as getProviderAdapter } from "./model-selection-
|
|
6
|
+
import { a as findNormalizedProviderValue, i as findNormalizedProviderKey, u as normalizeProviderId, x as getProviderAdapter } from "./model-selection-7wdmO-Iw.js";
|
|
7
7
|
import { n as normalizeSecretInput } from "./normalize-secret-input-DjGU5EXe.js";
|
|
8
|
-
import { t as withFileLock } from "./file-lock-
|
|
8
|
+
import { t as withFileLock } from "./file-lock-BVUYnlQv.js";
|
|
9
9
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-CNp4GTiH.js";
|
|
10
10
|
import { t as resolveSymiAgentDir } from "./agent-paths-BbZSGrUA.js";
|
|
11
11
|
import { createHash, randomBytes } from "node:crypto";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as resolveStateDir } from "./paths-By0XjHBk.js";
|
|
2
|
-
import { v as upsertAuthProfile } from "./auth-profiles-
|
|
3
|
-
import { u as normalizeProviderId } from "./model-selection-
|
|
2
|
+
import { v as upsertAuthProfile } from "./auth-profiles-Ce7R_25e.js";
|
|
3
|
+
import { u as normalizeProviderId } from "./model-selection-7wdmO-Iw.js";
|
|
4
4
|
import { t as resolveSymiAgentDir } from "./agent-paths-BbZSGrUA.js";
|
|
5
|
-
import { C as HUGGINGFACE_MODEL_CATALOG, D as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, O as buildCloudflareAiGatewayModelDefinition, S as HUGGINGFACE_BASE_URL, _ as SYNTHETIC_DEFAULT_MODEL_REF, a as buildKimiCodingProvider, d as VENICE_MODEL_CATALOG, f as buildVeniceModelDefinition, g as SYNTHETIC_BASE_URL, h as buildTogetherModelDefinition, i as XIAOMI_DEFAULT_MODEL_ID, k as resolveCloudflareAiGatewayBaseUrl, l as VENICE_BASE_URL, m as TOGETHER_MODEL_CATALOG, n as QIANFAN_BASE_URL, o as buildQianfanProvider, p as TOGETHER_BASE_URL, r as QIANFAN_DEFAULT_MODEL_ID, s as buildXiaomiProvider, u as VENICE_DEFAULT_MODEL_REF, v as SYNTHETIC_MODEL_CATALOG, w as buildHuggingfaceModelDefinition, y as buildSyntheticModelDefinition } from "./models-config-
|
|
5
|
+
import { C as HUGGINGFACE_MODEL_CATALOG, D as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, O as buildCloudflareAiGatewayModelDefinition, S as HUGGINGFACE_BASE_URL, _ as SYNTHETIC_DEFAULT_MODEL_REF, a as buildKimiCodingProvider, d as VENICE_MODEL_CATALOG, f as buildVeniceModelDefinition, g as SYNTHETIC_BASE_URL, h as buildTogetherModelDefinition, i as XIAOMI_DEFAULT_MODEL_ID, k as resolveCloudflareAiGatewayBaseUrl, l as VENICE_BASE_URL, m as TOGETHER_MODEL_CATALOG, n as QIANFAN_BASE_URL, o as buildQianfanProvider, p as TOGETHER_BASE_URL, r as QIANFAN_DEFAULT_MODEL_ID, s as buildXiaomiProvider, u as VENICE_DEFAULT_MODEL_REF, v as SYNTHETIC_MODEL_CATALOG, w as buildHuggingfaceModelDefinition, y as buildSyntheticModelDefinition } from "./models-config-B5Xxy-c-.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
|
|
@@ -4,27 +4,27 @@ import { v as shortenHomePath } from "./utils-CTPsqyE_.js";
|
|
|
4
4
|
import { f as defaultRuntime } from "./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 { i as loadConfig } from "./config-
|
|
7
|
+
import "./agent-scope-DOrZjOnW.js";
|
|
8
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
9
|
+
import { i as loadConfig } from "./config-B4jkreCN.js";
|
|
10
10
|
import { t as parseBooleanValue } from "./boolean-CbZoNRMn.js";
|
|
11
11
|
import "./env-BRnPI9sO.js";
|
|
12
12
|
import "./shell-env-Dc3iU7HK.js";
|
|
13
13
|
import "./manifest-registry-D1MLZEjS.js";
|
|
14
14
|
import "./redact-B3O-RBO1.js";
|
|
15
15
|
import "./errors-bI7Tdx75.js";
|
|
16
|
-
import "./fs-safe-
|
|
17
|
-
import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-
|
|
16
|
+
import "./fs-safe-BdejYjW8.js";
|
|
17
|
+
import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-DObzwe08.js";
|
|
18
18
|
import { t as movePathToTrash } from "./trash-_YhavPQI.js";
|
|
19
19
|
import "./message-channel-DgjXWzf-.js";
|
|
20
|
-
import "./client-
|
|
21
|
-
import "./call-
|
|
22
|
-
import "./pairing-token-
|
|
20
|
+
import "./client-DH75FlQF.js";
|
|
21
|
+
import "./call-AZ9vNhST.js";
|
|
22
|
+
import "./pairing-token-Dcy37-4s.js";
|
|
23
23
|
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
24
24
|
import { n as runCommandWithRuntime } from "./cli-utils-CuyGL3rq.js";
|
|
25
25
|
import { t as formatHelpExamples } from "./help-format-7hFcsqss.js";
|
|
26
26
|
import "./progress-swt2y17x.js";
|
|
27
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
27
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-C6lKFbor.js";
|
|
28
28
|
import { t as copyToClipboard } from "./clipboard-BGveOWXP.js";
|
|
29
29
|
import { n as inheritOptionFromParent } from "./command-options-DDDwkB9t.js";
|
|
30
30
|
import { fileURLToPath } from "node:url";
|
package/dist/build-info.json
CHANGED
|
@@ -4,16 +4,16 @@ import { E as shouldLogVerbose, G as isRecord, r as DEFAULT_CHAT_CHANNEL, v as i
|
|
|
4
4
|
import { a as resolveAgentSkillsFilter, c as resolveEffectiveModelFallbacks, i as resolveAgentModelPrimary, l as resolveSessionAgentId, o as resolveAgentWorkspaceDir, r as resolveAgentDir, t as listAgentIds, u as resolveSessionAgentIds } from "../../agent-scope-B1Ina6jV.js";
|
|
5
5
|
import { r as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-DzRUKS9f.js";
|
|
6
6
|
import { l as ensureAgentWorkspace } from "../../workspace-CsaDUuDn.js";
|
|
7
|
-
import { A as runWithModelFallback, C as resolveSymiDocsPath, D as resolveRunWorkspaceDir, E as redactRunIdentifier, M as resolveFailoverStatus, O as deriveSessionTotalTokens, S as buildAgentSystemPrompt, T as resolveBootstrapContextForRun, _ as AGENT_LANE_NESTED, a as resolveSessionDeliveryTarget, b as emitAgentEvent, c as detectRuntimeShell, d as applyModelOverrideToSessionEntry, f as applyVerboseOverride, g as resolveAgentTimeoutMs, i as resolveOutboundTarget, j as FailoverError, k as hasNonzeroUsage, l as resolveSendPolicy, m as clearSessionAuthProfileOverride, n as buildModelAliasLines, o as buildSystemPromptParams, p as loadModelCatalog, s as getProcessSupervisor, t as runAgentTurn, u as lookupContextTokens, v as AGENT_LANE_SUBAGENT, w as makeBootstrapWarn, x as registerAgentRunContext, y as clearAgentRunContext } from "../../unified-runner-
|
|
7
|
+
import { A as runWithModelFallback, C as resolveSymiDocsPath, D as resolveRunWorkspaceDir, E as redactRunIdentifier, M as resolveFailoverStatus, O as deriveSessionTotalTokens, S as buildAgentSystemPrompt, T as resolveBootstrapContextForRun, _ as AGENT_LANE_NESTED, a as resolveSessionDeliveryTarget, b as emitAgentEvent, c as detectRuntimeShell, d as applyModelOverrideToSessionEntry, f as applyVerboseOverride, g as resolveAgentTimeoutMs, i as resolveOutboundTarget, j as FailoverError, k as hasNonzeroUsage, l as resolveSendPolicy, m as clearSessionAuthProfileOverride, n as buildModelAliasLines, o as buildSystemPromptParams, p as loadModelCatalog, s as getProcessSupervisor, t as runAgentTurn, u as lookupContextTokens, v as AGENT_LANE_SUBAGENT, w as makeBootstrapWarn, x as registerAgentRunContext, y as clearAgentRunContext } from "../../unified-runner-O3qR5Iie.js";
|
|
8
8
|
import { d as ensureAuthProfileStore } from "../../auth-profiles-BSw0aQND.js";
|
|
9
9
|
import { t as formatCliCommand } from "../../command-format-BrrHNE8r.js";
|
|
10
10
|
import { _ as DEFAULT_MODEL, a as isCliProvider, c as normalizeProviderId, d as resolveDefaultModelForAgent, g as DEFAULT_CONTEXT_TOKENS, m as resolveThinkingDefault, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, u as resolveConfiguredModelRef, v as DEFAULT_PROVIDER } from "../../model-selection-BqshlIZc.js";
|
|
11
|
-
import { At as resolveSessionResetPolicy, Dt as resolveSessionKey, It as resolveAgentMainSessionKey, Lt as resolveExplicitAgentSessionKey, M as classifyFailoverReason, Ot as evaluateSessionFreshness, Rt as resolveMainSessionKey, U as isFailoverErrorMessage, a as normalizeOutboundPayloadsForJson, at as loadSessionStore, i as normalizeOutboundPayloads, it as resolveAndPersistSessionFile, jt as resolveSessionResetType, kt as resolveChannelResetConfig, lt as updateSessionStore, nt as parseSessionThreadInfo, r as formatOutboundPayloadLog, t as deliverOutboundPayloads, vt as normalizeAccountId } from "../../deliver-
|
|
11
|
+
import { At as resolveSessionResetPolicy, Dt as resolveSessionKey, It as resolveAgentMainSessionKey, Lt as resolveExplicitAgentSessionKey, M as classifyFailoverReason, Ot as evaluateSessionFreshness, Rt as resolveMainSessionKey, U as isFailoverErrorMessage, a as normalizeOutboundPayloadsForJson, at as loadSessionStore, i as normalizeOutboundPayloads, it as resolveAndPersistSessionFile, jt as resolveSessionResetType, kt as resolveChannelResetConfig, lt as updateSessionStore, nt as parseSessionThreadInfo, r as formatOutboundPayloadLog, t as deliverOutboundPayloads, vt as normalizeAccountId } from "../../deliver-BiWlR84Y.js";
|
|
12
12
|
import { c as loadConfig } from "../../ssrf-DNhyFMRW.js";
|
|
13
13
|
import "../../boolean-BsqeuxE6.js";
|
|
14
14
|
import { s as isTruthyEnvValue } from "../../shell-env-B1lDWz4t.js";
|
|
15
15
|
import "../../manifest-registry-BGJu2aC-.js";
|
|
16
|
-
import "../../chrome-
|
|
16
|
+
import "../../chrome-OTJg3QKn.js";
|
|
17
17
|
import "../../frontmatter-CJEX1BrH.js";
|
|
18
18
|
import { n as buildWorkspaceSkillSnapshot } from "../../skills-Dm4gX4Tl.js";
|
|
19
19
|
import "../../redact-CSGZUFxa.js";
|
|
@@ -27,7 +27,7 @@ import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as re
|
|
|
27
27
|
import { t as SILENT_REPLY_TOKEN } from "../../tokens-D_vCJSzF.js";
|
|
28
28
|
import "../../diagnostic-BALvP9wI.js";
|
|
29
29
|
import "../../diagnostic-session-state-BDfanaOY.js";
|
|
30
|
-
import "../../manager-
|
|
30
|
+
import "../../manager-DbVMwpDc.js";
|
|
31
31
|
import "../../github-copilot-token-uhEBNQfj.js";
|
|
32
32
|
import "../../pi-auth-json-DCGR3yfh.js";
|
|
33
33
|
import "../../reply-prefix-D0NzzC4I.js";
|
|
@@ -4,15 +4,15 @@ import "../../registry-C-JddWwo.js";
|
|
|
4
4
|
import { o as resolveAgentWorkspaceDir } from "../../agent-scope-B1Ina6jV.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "../../subsystem-DzRUKS9f.js";
|
|
6
6
|
import "../../workspace-CsaDUuDn.js";
|
|
7
|
-
import "../../unified-runner-
|
|
7
|
+
import "../../unified-runner-O3qR5Iie.js";
|
|
8
8
|
import "../../auth-profiles-BSw0aQND.js";
|
|
9
9
|
import "../../model-selection-BqshlIZc.js";
|
|
10
|
-
import { Tt as hasInterSessionUserProvenance } from "../../deliver-
|
|
10
|
+
import { Tt as hasInterSessionUserProvenance } from "../../deliver-BiWlR84Y.js";
|
|
11
11
|
import "../../ssrf-DNhyFMRW.js";
|
|
12
12
|
import "../../boolean-BsqeuxE6.js";
|
|
13
13
|
import "../../shell-env-B1lDWz4t.js";
|
|
14
14
|
import "../../manifest-registry-BGJu2aC-.js";
|
|
15
|
-
import "../../chrome-
|
|
15
|
+
import "../../chrome-OTJg3QKn.js";
|
|
16
16
|
import "../../frontmatter-CJEX1BrH.js";
|
|
17
17
|
import "../../skills-Dm4gX4Tl.js";
|
|
18
18
|
import "../../redact-CSGZUFxa.js";
|
|
@@ -26,7 +26,7 @@ import "../../paths-BsT3BvfH.js";
|
|
|
26
26
|
import "../../tokens-D_vCJSzF.js";
|
|
27
27
|
import "../../diagnostic-BALvP9wI.js";
|
|
28
28
|
import "../../diagnostic-session-state-BDfanaOY.js";
|
|
29
|
-
import "../../manager-
|
|
29
|
+
import "../../manager-DbVMwpDc.js";
|
|
30
30
|
import "../../github-copilot-token-uhEBNQfj.js";
|
|
31
31
|
import "../../pi-auth-json-DCGR3yfh.js";
|
|
32
32
|
import "../../reply-prefix-D0NzzC4I.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { _ as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-By0XjHBk.js";
|
|
2
2
|
import { _ as shortenHomeInString, h as resolveUserPath, s as ensureDir, t as CONFIG_DIR } from "./utils-CTPsqyE_.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
3
|
+
import { i as loadConfig } from "./config-B4jkreCN.js";
|
|
4
4
|
import { i as isSecureWebSocketUrl } from "./ws-C7Ktmt-R.js";
|
|
5
5
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DgjXWzf-.js";
|
|
6
|
-
import { in as normalizeFingerprint, on as loadOrCreateDeviceIdentity, t as GatewayClient, zt as PROTOCOL_VERSION } from "./client-
|
|
6
|
+
import { in as normalizeFingerprint, on as loadOrCreateDeviceIdentity, t as GatewayClient, zt as PROTOCOL_VERSION } from "./client-DH75FlQF.js";
|
|
7
7
|
import { X509Certificate, randomUUID } from "node:crypto";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { promisify } from "node:util";
|
|
10
|
-
import
|
|
10
|
+
import fs from "node:fs/promises";
|
|
11
11
|
import { execFile } from "node:child_process";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/tls/gateway.ts
|
|
14
14
|
const execFileAsync = promisify(execFile);
|
|
15
15
|
async function fileExists(filePath) {
|
|
16
16
|
try {
|
|
17
|
-
await
|
|
17
|
+
await fs.access(filePath);
|
|
18
18
|
return true;
|
|
19
19
|
} catch {
|
|
20
20
|
return false;
|
|
@@ -41,8 +41,8 @@ async function generateSelfSignedCert(params) {
|
|
|
41
41
|
"-subj",
|
|
42
42
|
"/CN=symi-gateway"
|
|
43
43
|
]);
|
|
44
|
-
await
|
|
45
|
-
await
|
|
44
|
+
await fs.chmod(params.keyPath, 384).catch(() => {});
|
|
45
|
+
await fs.chmod(params.certPath, 384).catch(() => {});
|
|
46
46
|
params.log?.info?.(`gateway tls: generated self-signed cert at ${shortenHomeInString(params.certPath)}`);
|
|
47
47
|
}
|
|
48
48
|
async function loadGatewayTlsRuntime(cfg, log) {
|
|
@@ -80,9 +80,9 @@ async function loadGatewayTlsRuntime(cfg, log) {
|
|
|
80
80
|
error: "gateway tls: cert/key missing"
|
|
81
81
|
};
|
|
82
82
|
try {
|
|
83
|
-
const cert = await
|
|
84
|
-
const key = await
|
|
85
|
-
const ca = caPath ? await
|
|
83
|
+
const cert = await fs.readFile(certPath, "utf8");
|
|
84
|
+
const key = await fs.readFile(keyPath, "utf8");
|
|
85
|
+
const ca = caPath ? await fs.readFile(caPath, "utf8") : void 0;
|
|
86
86
|
const fingerprintSha256 = normalizeFingerprint(new X509Certificate(cert).fingerprint256 ?? "");
|
|
87
87
|
if (!fingerprintSha256) return {
|
|
88
88
|
enabled: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
349f09a6ce5be85c59d08a0185e259bb1849ed29f80328e848440238748bc461
|
|
@@ -2,7 +2,7 @@ import { n as CHAT_CHANNEL_ORDER } from "./registry-Sbac4a4z.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-BRnPI9sO.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-CF5skkHh.js";
|
|
4
4
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BptA-dUv.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-D2_TLnOr.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|