@symerian/symi 3.5.7 → 3.5.9
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-BCszhl_7.js → agent-7Xrh1XVG.js} +2 -2
- package/dist/{agent-Cmx-1Tfs.js → agent-Cq8f1rHB.js} +1 -1
- package/dist/{agents-BkTzJJ83.js → agents-BiKiy1SO.js} +3 -3
- package/dist/{audit-CtrXFZb5.js → audit-DJURK8ly.js} +2 -2
- package/dist/{audit-Bk6kay2Z.js → audit-DlO49y-U.js} +5 -5
- package/dist/{auth-choice-D-iIJjJY.js → auth-choice-BPN4vEBk.js} +2 -2
- package/dist/{auth-choice-CucG4Wor.js → auth-choice-BYOypIGE.js} +2 -2
- package/dist/{banner-CApT91CY.js → banner-BDexjPFs.js} +1 -1
- package/dist/{browser-cli-rZb2WjFF.js → browser-cli-BT0akXlr.js} +3 -3
- package/dist/{browser-cli-DGjYBquX.js → browser-cli-D_DjThgn.js} +3 -3
- 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-DKQC0JT1.js → call-C386w5E5.js} +2 -1
- package/dist/{call-ogggp9QZ.js → call-mzNPQq1S.js} +2 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-CdIEyHya.js → channel-options-BjgoCETm.js} +1 -1
- package/dist/{channel-options-DYh8mLMN.js → channel-options-VQMByP4c.js} +1 -1
- package/dist/{channels-cli-sG9Wf2LH.js → channels-cli-BzwYp-BP.js} +19 -19
- package/dist/{channels-cli-Bb18aE2b.js → channels-cli-DokpJOeN.js} +11 -11
- package/dist/{chrome-DNssqQJs.js → chrome-3jl2ulOE.js} +7 -7
- package/dist/{chrome-DJChpTwP.js → chrome-suE09Iax.js} +7 -7
- package/dist/{cli-DEGt0Tp0.js → cli-ay-COtm8.js} +8 -8
- package/dist/{cli-DtdTf-ZQ.js → cli-mZdo-h84.js} +16 -16
- package/dist/{client-DhdWcgZP.js → client-BcvL_D-H.js} +3 -1
- package/dist/{client-B9E9fdCA.js → client-CJeYdM6G.js} +6 -4
- package/dist/{command-registry-O155hUhR.js → command-registry-CjxdlqkY.js} +11 -11
- package/dist/{commands-registry-BuOUfpmg.js → commands-registry-7vX6rnw_.js} +2 -1
- package/dist/{commands-registry-DG2kGyg5.js → commands-registry-CX-kLuQz.js} +2 -1
- package/dist/{commands-registry-C2Hvwjym.js → commands-registry-Ca5hh7nh.js} +2 -1
- package/dist/{commands-registry-CJPBJPlh.js → commands-registry-D8LQ9fss.js} +2 -1
- package/dist/{completion-cli-BaOjuoPX.js → completion-cli-D2pLg5yF.js} +2 -2
- package/dist/{completion-cli-DLUKoSIx.js → completion-cli-Dz6vTqBm.js} +1 -1
- package/dist/{config-cli-BxWavRxN.js → config-cli-BdPn_06D.js} +1 -1
- package/dist/{config-cli-BuZ-L1Iw.js → config-cli-D12Nouyy.js} +1 -1
- package/dist/{configure-gxAEhC9E.js → configure-B8-2sqW3.js} +6 -6
- package/dist/{configure-BSKWgEhS.js → configure-CxjXughP.js} +6 -6
- package/dist/{control-service-DOGU9T2P.js → control-service-CCto6i0v.js} +3 -3
- package/dist/control-ui/css/style.css +14 -0
- package/dist/control-ui/js/slash-autocomplete.js +276 -44
- package/dist/{cron-cli-L4iwVTNV.js → cron-cli-BJzi2QtY.js} +3 -3
- package/dist/{cron-cli-DtDqHIZn.js → cron-cli-CDUzTSlx.js} +3 -3
- package/dist/{daemon-cli-B5TdtWCQ.js → daemon-cli-D93uCvD0.js} +2 -2
- package/dist/{daemon-cli-39fFIU2G.js → daemon-cli-DXHRewv8.js} +2 -2
- package/dist/daemon-cli.js +3 -0
- package/dist/{deliver-q23ar_Pm.js → deliver-f3cIWxXT.js} +4 -4
- package/dist/{devices-cli-Ec6d58OB.js → devices-cli-18molb2z.js} +2 -2
- package/dist/{devices-cli-DuVhACtW.js → devices-cli-YdVaVQkF.js} +2 -2
- package/dist/{doctor-completion-BzfgfpBH.js → doctor-completion-C9sFv9qq.js} +1 -1
- package/dist/{doctor-completion-wlBp8bv7.js → doctor-completion-Ca692KiP.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-N45JsIvc.js → exec-approvals-cli-Cnie7kMb.js} +4 -4
- package/dist/{exec-approvals-cli-1K1PMf0f.js → exec-approvals-cli-De0WMHXi.js} +4 -4
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-Bz5fqsnE.js → gateway-cli-CvzoUDQs.js} +18 -18
- package/dist/{gateway-cli-_xNZ2L_e.js → gateway-cli-D-Rztk2z.js} +27 -27
- package/dist/{gateway-rpc-c2_A2rwu.js → gateway-rpc-CIHuIeji.js} +1 -1
- package/dist/{gateway-rpc-gDrdC_J6.js → gateway-rpc-Cwi5kJzl.js} +1 -1
- package/dist/{glass-ui-ws-CbKVlQRh.js → glass-ui-ws-DCXg7AbP.js} +15 -15
- package/dist/{glass-ui-ws-DO8WKPIK.js → glass-ui-ws-gmSoTQpl.js} +23 -23
- package/dist/{health-B7yvi1O9.js → health-BaYDaHPT.js} +1 -1
- package/dist/{health-B5BrlZ8G.js → health-ksdFZpDU.js} +1 -1
- package/dist/{hooks-cli-CrgD2ZqP.js → hooks-cli-B_eznWUl.js} +17 -17
- package/dist/{hooks-cli-mwiHuRfO.js → hooks-cli-ClMPrbD7.js} +9 -9
- package/dist/index.js +20 -20
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{logs-cli-DvbMaSKU.js → logs-cli-CK9YhKnf.js} +3 -3
- package/dist/{logs-cli-T5v8efuM.js → logs-cli-DVvGi5J7.js} +3 -3
- package/dist/{manager-CvqH_tah.js → manager-5k1CRLn-.js} +1 -1
- package/dist/{manager-CpBJ1BE6.js → manager-B4U7ahZq.js} +1 -1
- package/dist/{manager-D9m8F3HR.js → manager-Ct4kRT7n.js} +1 -1
- package/dist/{manager-BVPXSK-I.js → manager-Dh_-GTcG.js} +1 -1
- package/dist/{memory-CbwmxmxW.js → memory-CkJCn1Gg.js} +2 -2
- package/dist/{memory-BsGfHO_F.js → memory-DTDeG3u8.js} +2 -2
- package/dist/{memory-cli-BwQsPEFk.js → memory-cli-Bv8Rcg5s.js} +2 -2
- package/dist/{memory-cli-B1dFPZw-.js → memory-cli-C3CONZGB.js} +2 -2
- package/dist/{models-Dm6dSSSx.js → models-Cbad7KB1.js} +3 -3
- package/dist/{models-cli-BA6ufqLd.js → models-cli-BXzUBQYo.js} +18 -18
- package/dist/{models-cli-BPSrz6tf.js → models-cli-C1yhTK5G.js} +11 -11
- package/dist/{node-cli-CH1yLZuO.js → node-cli-Cmfs9las.js} +1 -1
- package/dist/{node-cli-2HDdeLgi.js → node-cli-CtliTCQh.js} +6 -6
- package/dist/{nodes-cli-DIm6cMS_.js → nodes-cli-BH1TUf3n.js} +3 -3
- package/dist/{nodes-cli-ARs9ZPma.js → nodes-cli-C92vI9eX.js} +3 -3
- package/dist/{onboard-CjnPughY.js → onboard-8eYravsD.js} +3 -3
- package/dist/{onboard-Cmz6Rtm-.js → onboard-DeJaaNHV.js} +3 -3
- package/dist/{onboard-channels-D00NAtQt.js → onboard-channels-3AkHwrP_.js} +1 -1
- package/dist/{onboard-channels-Cozz3CQv.js → onboard-channels-BRi2UP_-.js} +1 -1
- package/dist/{onboard-helpers-CCI7SimM.js → onboard-helpers-DahbbzzQ.js} +1 -1
- package/dist/{onboard-helpers-BKfeJ1xj.js → onboard-helpers-mW55B30K.js} +1 -1
- package/dist/{onboard-remote-D4R-Yq2Q.js → onboard-remote-BgDE1b8f.js} +1 -1
- package/dist/{onboard-remote-DKXBH_lQ.js → onboard-remote-BxtpQ74l.js} +1 -1
- package/dist/{onboard-skills-jVyIFojF.js → onboard-skills-BaRS2GUY.js} +1 -1
- package/dist/{onboard-skills-BPmu8XLA.js → onboard-skills-V1IT5l9E.js} +1 -1
- package/dist/{onboarding-BPZb40BJ.js → onboarding-Bm0DgGhb.js} +7 -7
- package/dist/{onboarding-BrTMOcPF.js → onboarding-D35WPHUd.js} +7 -7
- package/dist/{onboarding.finalize-BiL_LXrR.js → onboarding.finalize-BStHm3Q-.js} +10 -10
- package/dist/{onboarding.finalize-Bd2rGMjo.js → onboarding.finalize-DQmEXf6p.js} +14 -14
- package/dist/{onboarding.gateway-config-B301LxTx.js → onboarding.gateway-config-D6xPpItN.js} +3 -3
- package/dist/{onboarding.gateway-config-ChCxv8dy.js → onboarding.gateway-config-DNGUJthU.js} +3 -3
- package/dist/{pi-embedded-C2-v_4OT.js → pi-embedded-BxKs-STI.js} +17 -14
- package/dist/{pi-embedded-helpers-CDzBxa-P.js → pi-embedded-helpers-B0Vz7hRL.js} +1 -1
- package/dist/{pi-tools.policy-WaLKhqJQ.js → pi-tools.policy-CYlUAnkU.js} +1 -1
- package/dist/{plugin-registry-BLoSesyj.js → plugin-registry-B9SUsQmV.js} +1 -1
- package/dist/{plugin-registry-CZDG8fjK.js → plugin-registry-CP_RBN-f.js} +1 -1
- package/dist/plugin-sdk/auto-reply/commands-registry.types.d.ts +8 -0
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +5 -2
- package/dist/plugin-sdk/gateway/protocol/schema/logs-chat.d.ts +1 -0
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-CGs9-UtO.js → plugins-cli-DKEgD6T2.js} +9 -9
- package/dist/{plugins-cli-2yraoR6V.js → plugins-cli-tYEFfttj.js} +17 -17
- package/dist/{program-BnKEJpZF.js → program-C668x3bd.js} +14 -14
- package/dist/{program-context-BvP9L_1W.js → program-context-BiDn7yCz.js} +30 -30
- package/dist/{prompt-select-styled-BTF5vvv8.js → prompt-select-styled-BhjycLZw.js} +8 -8
- package/dist/{prompt-select-styled-Brx330O3.js → prompt-select-styled-BlpvaJVg.js} +7 -7
- package/dist/{provider-auth-helpers-hjy3e-oS.js → provider-auth-helpers-Dhd06_t2.js} +1 -1
- package/dist/{provider-auth-helpers-CppzYZM9.js → provider-auth-helpers-R-cnIeud.js} +1 -1
- package/dist/{push-apns-DJ55TFPT.js → push-apns-BZWInkPg.js} +1 -1
- package/dist/{push-apns-BD2iO09c.js → push-apns-Bx0i-bNw.js} +1 -1
- package/dist/{pw-ai-DQZa9DUQ.js → pw-ai-DMvtunBE.js} +1 -1
- package/dist/{pw-ai-v__CyAlM.js → pw-ai-DOAsQ5NX.js} +1 -1
- package/dist/{register.agent-DTGvQGla.js → register.agent-CYRt1iiv.js} +14 -14
- package/dist/{register.agent-Dz_P7PxO.js → register.agent-D2CwHq-q.js} +21 -21
- package/dist/{register.configure-CrgU3FzU.js → register.configure-CsvtHB87.js} +16 -16
- package/dist/{register.configure-D9w7Tm9e.js → register.configure-DxT5PQFo.js} +24 -24
- package/dist/{register.maintenance-d5xHdDgu.js → register.maintenance-6vebxogW.js} +22 -22
- package/dist/{register.maintenance-CqvrXPF7.js → register.maintenance-DMLKAqqc.js} +15 -15
- package/dist/{register.message-C0tqgEor.js → register.message-9WxgUBSA.js} +9 -9
- package/dist/{register.message-DNMCxaAD.js → register.message-DxqvQsSN.js} +17 -17
- package/dist/{register.onboard--eJVfJGa.js → register.onboard-Bpo5ofDH.js} +6 -6
- package/dist/{register.onboard-dkAvGraV.js → register.onboard-CuHwcxsE.js} +6 -6
- package/dist/{register.setup-CgufX-6c.js → register.setup-DQXuZsGD.js} +6 -6
- package/dist/{register.setup-Dwh0ylCS.js → register.setup-b8h71HJ7.js} +6 -6
- package/dist/{register.status-health-sessions-BeAm7HAq.js → register.status-health-sessions-B600sqsd.js} +8 -8
- package/dist/{register.status-health-sessions-D6BRCFg_.js → register.status-health-sessions-Sn1WS-fC.js} +13 -13
- package/dist/{register.subclis-Hb2xSHBy.js → register.subclis-DdlLdgzD.js} +19 -19
- package/dist/{routes-DIyAmLYR.js → routes-DmyY3P7a.js} +2 -2
- package/dist/{rpc-gUsL9Mqf.js → rpc-Batd5KYw.js} +1 -1
- package/dist/{rpc-B2BLRS45.js → rpc-Co5Ci69t.js} +1 -1
- package/dist/{run-main-B_NTFmz1.js → run-main-C1YGbNWb.js} +22 -22
- package/dist/{sandbox-61-kshSF.js → sandbox-H5Lewbd2.js} +3 -3
- package/dist/{sandbox-cli-D9v0jhBb.js → sandbox-cli-BUrDdb-H.js} +4 -4
- package/dist/{security-cli-J9J0qvDy.js → security-cli-Bkcil7sD.js} +3 -3
- package/dist/{security-cli-CZix5cXq.js → security-cli-CTTidNLu.js} +8 -8
- package/dist/{server-context-SbbjNkPL.js → server-context-DVX-C1f0.js} +4 -4
- package/dist/{server-methods-Cz_-FX5B.js → server-methods-DKW7md4I.js} +31 -14
- package/dist/{server-methods-CFWjtx32.js → server-methods-FxoNbY02.js} +29 -12
- package/dist/{server-node-events-UJ4Hwcsf.js → server-node-events-Dp9EiddI.js} +10 -10
- package/dist/{server-node-events-BiMD-Sik.js → server-node-events-phrERc91.js} +18 -18
- package/dist/{skill-commands-DKkiQJxU.js → skill-commands-BXP2zJNy.js} +1 -1
- package/dist/{skill-commands-D0xAWG0l.js → skill-commands-BbMYpaLS.js} +1 -1
- package/dist/{skill-commands-KnANH5Qm.js → skill-commands-DDGGlq68.js} +1 -1
- package/dist/{skill-commands-JIccKWkf.js → skill-commands-lyuYvLis.js} +1 -1
- package/dist/{status-FX0BMcCb.js → status-B2VahFlJ.js} +5 -5
- package/dist/{status-BGUaaSHe.js → status-CHEd1LqO.js} +1 -1
- package/dist/{status-Bp48-ySL.js → status-CYqfS1u_.js} +5 -5
- package/dist/{status-CObdh7-H.js → status-XrKWGanJ.js} +1 -1
- package/dist/{subagent-registry-ChDWDl_p.js → subagent-registry-4qeNm1OL.js} +9 -9
- package/dist/{synthesis-CmQvOHg6.js → synthesis-BfiHweOO.js} +4 -4
- package/dist/{synthesis-Dq-zHW08.js → synthesis-CxR-cX-4.js} +6 -6
- package/dist/{synthesis-DdP6tbyk.js → synthesis-D9Lu46sl.js} +16 -16
- package/dist/{synthesis-m6WCyI41.js → synthesis-DceZPirI.js} +8 -8
- package/dist/{system-cli-DB9etQxq.js → system-cli-CPEHtbdA.js} +3 -3
- package/dist/{system-cli-szRqg1_v.js → system-cli-GwzCZpdT.js} +3 -3
- package/dist/{tui-Dp58oYvX.js → tui-9lZLkRZm.js} +3 -3
- package/dist/{tui-CEhOf9fk.js → tui-D4Al5sge.js} +4 -4
- package/dist/{tui-cli-DFaOwBwg.js → tui-cli-C7NUBeQi.js} +4 -4
- package/dist/{tui-cli-wxh3YpaV.js → tui-cli-Z50zaJvB.js} +9 -9
- package/dist/{unified-runner-Cu3lGa3A.js → unified-runner-DaGiGHel.js} +10 -7
- package/dist/{unified-runner-DL-sfvGT.js → unified-runner-DpZ49TWj.js} +17 -17
- package/dist/{update-cli-gEBRNrm2.js → update-cli-CWYfdfuU.js} +16 -16
- package/dist/{update-cli-DAKoU0Wn.js → update-cli-DP18R4I_.js} +23 -23
- package/dist/{with-timeout-GbJ1Yzsh.js → with-timeout-GyVVFtnd.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
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-DpZ49TWj.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";
|
|
@@ -7,7 +7,7 @@ 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
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
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-
|
|
10
|
+
import { D as isFailoverErrorMessage, g as classifyFailoverReason } from "./pi-embedded-helpers-B0Vz7hRL.js";
|
|
11
11
|
import { i as loadConfig } from "./config-B4jkreCN.js";
|
|
12
12
|
import { t as isTruthyEnvValue } from "./env-BRnPI9sO.js";
|
|
13
13
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-BwDmcZdt.js";
|
|
@@ -8,7 +8,7 @@ import { a as buildModelAliasLines } from "./model-B4Btg-Q6.js";
|
|
|
8
8
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-cLBEdkqu.js";
|
|
9
9
|
import { i as loadConfig } from "./config-D7TcU4qN.js";
|
|
10
10
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DXToSaWK.js";
|
|
11
|
-
import { A as resolveRunWorkspaceDir, At as buildAgentSystemPrompt, Cn as emitAgentEvent, En as registerAgentRunContext, Ht as applyVerboseOverride, It as resolveSendPolicy, Nt as getProcessSupervisor, Pt as detectRuntimeShell, Q as resolveFailoverStatus, Sn as clearAgentRunContext, T as runAgentTurn, U as resolveOutboundTarget, Vt as applyModelOverrideToSessionEntry, W as resolveSessionDeliveryTarget, X as FailoverError, Y as runWithModelFallback, an as clearSessionAuthProfileOverride, bt as AGENT_LANE_NESTED, hn as resolveBootstrapContextForRun, jt as buildSystemPromptParams, k as redactRunIdentifier, mn as makeBootstrapWarn, tn as resolveAgentTimeoutMs, un as resolveSymiDocsPath, xt as AGENT_LANE_SUBAGENT } from "./subagent-registry-
|
|
11
|
+
import { A as resolveRunWorkspaceDir, At as buildAgentSystemPrompt, Cn as emitAgentEvent, En as registerAgentRunContext, Ht as applyVerboseOverride, It as resolveSendPolicy, Nt as getProcessSupervisor, Pt as detectRuntimeShell, Q as resolveFailoverStatus, Sn as clearAgentRunContext, T as runAgentTurn, U as resolveOutboundTarget, Vt as applyModelOverrideToSessionEntry, W as resolveSessionDeliveryTarget, X as FailoverError, Y as runWithModelFallback, an as clearSessionAuthProfileOverride, bt as AGENT_LANE_NESTED, hn as resolveBootstrapContextForRun, jt as buildSystemPromptParams, k as redactRunIdentifier, mn as makeBootstrapWarn, tn as resolveAgentTimeoutMs, un as resolveSymiDocsPath, xt as AGENT_LANE_SUBAGENT } from "./subagent-registry-4qeNm1OL.js";
|
|
12
12
|
import { D as resolveSessionResetPolicy, E as resolveChannelResetConfig, O as resolveSessionResetType, P as resolveExplicitAgentSessionKey, T as evaluateSessionFreshness, Y as normalizeAccountId, a as resolveAndPersistSessionFile, d as updateSessionStore, n as parseSessionThreadInfo, o as loadSessionStore, w as resolveSessionKey } from "./sessions-Dn6VXn4p.js";
|
|
13
13
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BsEhWvLn.js";
|
|
14
14
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-0nDhDdKd.js";
|
|
@@ -10,13 +10,13 @@ import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DtiEyjsC.js";
|
|
|
10
10
|
import { t as WizardCancelledError } from "./prompts-CqJkfsHC.js";
|
|
11
11
|
import { t as createClackPrompter } from "./clack-prompter-_kEnSVz4.js";
|
|
12
12
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CoScWBmD.js";
|
|
13
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
13
|
+
import { r as setupChannels } from "./onboard-channels-BRi2UP_-.js";
|
|
14
14
|
import { t as requireValidConfigSnapshot } from "./config-validation-DhsYEtLL.js";
|
|
15
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
15
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-DahbbzzQ.js";
|
|
16
16
|
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-Cyc_RegL.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-BRejMykf.js";
|
|
18
18
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-kt2FcieM.js";
|
|
19
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
19
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-BYOypIGE.js";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import fs from "node:fs/promises";
|
|
22
22
|
|
|
@@ -7,8 +7,8 @@ import { a as MANIFEST_KEY, n as isPathInside, t as extensionUsesSkippedScannerP
|
|
|
7
7
|
import { i as loadWorkspaceSkillEntries } from "./skills-cLBEdkqu.js";
|
|
8
8
|
import { u as normalizePluginsConfig } from "./manifest-registry-CVLmi8rz.js";
|
|
9
9
|
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-D7TcU4qN.js";
|
|
10
|
-
import { t as GatewayClient } from "./client-
|
|
11
|
-
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
+
import { t as GatewayClient } from "./client-BcvL_D-H.js";
|
|
11
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-mzNPQq1S.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DXToSaWK.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-BsEhWvLn.js";
|
|
14
14
|
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-J92UBQK8.js";
|
|
@@ -6,20 +6,20 @@ import { l as resolveDefaultAgentId } from "./agent-scope-DOrZjOnW.js";
|
|
|
6
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-H5Lewbd2.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-
|
|
11
|
+
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-DVX-C1f0.js";
|
|
12
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-
|
|
18
|
+
import { t as GatewayClient } from "./client-CJeYdM6G.js";
|
|
19
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-C386w5E5.js";
|
|
20
20
|
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-jKFQf7of.js";
|
|
21
21
|
import { i as readChannelAllowFromStore } from "./pairing-store-BNhJOnWn.js";
|
|
22
|
-
import { n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
22
|
+
import { n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-CYlUAnkU.js";
|
|
23
23
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BnXDQL2q.js";
|
|
24
24
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-D5p8L-xO.js";
|
|
25
25
|
import { t as resolveDmAllowState } from "./dm-policy-shared-BUwZ6Ajx.js";
|
|
@@ -8,9 +8,9 @@ import { n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-aut
|
|
|
8
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
9
|
import { n as loadModelCatalog } from "./model-catalog-IWi6-nY9.js";
|
|
10
10
|
import { t as enablePluginInConfig } from "./enable-BI6rQ1Fb.js";
|
|
11
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
11
|
+
import { f as openUrl } from "./onboard-helpers-mW55B30K.js";
|
|
12
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-DyhvQgv4.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-
|
|
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-Dhd06_t2.js";
|
|
14
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-CKfNKTZD.js";
|
|
15
15
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-DN-co6Oy.js";
|
|
16
16
|
import { randomBytes } from "node:crypto";
|
|
@@ -8,9 +8,9 @@ import { n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-aut
|
|
|
8
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-CiR_RUxw.js";
|
|
9
9
|
import { n as loadModelCatalog } from "./model-catalog-CzKsiNZA.js";
|
|
10
10
|
import { t as enablePluginInConfig } from "./enable-xfczksnk.js";
|
|
11
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
11
|
+
import { f as openUrl } from "./onboard-helpers-DahbbzzQ.js";
|
|
12
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-lPWiklDD.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-
|
|
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-R-cnIeud.js";
|
|
14
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-ChdgeMqX.js";
|
|
15
15
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-CS_h9RHv.js";
|
|
16
16
|
import { randomBytes } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Q as theme, Z as isRich, h as visibleWidth, nn as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { Mt as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { Mt as resolveCommitHash } from "./subagent-registry-4qeNm1OL.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one Symi.";
|
|
@@ -6,8 +6,8 @@ import "./model-selection-CMx1evaF.js";
|
|
|
6
6
|
import "./manifest-registry-CVLmi8rz.js";
|
|
7
7
|
import { i as loadConfig } from "./config-D7TcU4qN.js";
|
|
8
8
|
import "./shell-env-CTYaxUs_.js";
|
|
9
|
-
import "./client-
|
|
10
|
-
import "./call-
|
|
9
|
+
import "./client-BcvL_D-H.js";
|
|
10
|
+
import "./call-mzNPQq1S.js";
|
|
11
11
|
import "./message-channel-DXToSaWK.js";
|
|
12
12
|
import "./pairing-token-B-OTYROz.js";
|
|
13
13
|
import "./redact-Dj3r1_tS.js";
|
|
@@ -19,7 +19,7 @@ import { t as formatDocsLink } from "./links-B9CbwY46.js";
|
|
|
19
19
|
import { n as runCommandWithRuntime } from "./cli-utils-Ca0KE-dW.js";
|
|
20
20
|
import { t as formatHelpExamples } from "./help-format-BTNd5kFC.js";
|
|
21
21
|
import "./progress-BOQ0hkeM.js";
|
|
22
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
22
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CIHuIeji.js";
|
|
23
23
|
import { t as copyToClipboard } from "./clipboard-CHn5r7Kj.js";
|
|
24
24
|
import { n as inheritOptionFromParent } from "./command-options-Vxb4M7Aj.js";
|
|
25
25
|
import path from "node:path";
|
|
@@ -17,14 +17,14 @@ import "./fs-safe-BdejYjW8.js";
|
|
|
17
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-
|
|
20
|
+
import "./client-CJeYdM6G.js";
|
|
21
|
+
import "./call-C386w5E5.js";
|
|
22
22
|
import "./pairing-token-Dcy37-4s.js";
|
|
23
23
|
import { t as formatDocsLink } from "./links-CQZxjjCO.js";
|
|
24
24
|
import { n as runCommandWithRuntime } from "./cli-utils-CbnnSB38.js";
|
|
25
25
|
import { t as formatHelpExamples } from "./help-format-8IYCRvx1.js";
|
|
26
26
|
import "./progress-DQTvTiEg.js";
|
|
27
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
27
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-Cwi5kJzl.js";
|
|
28
28
|
import { t as copyToClipboard } from "./clipboard-BSTxQ2tO.js";
|
|
29
29
|
import { n as inheritOptionFromParent } from "./command-options-DgcCGXMQ.js";
|
|
30
30
|
import { fileURLToPath } from "node:url";
|
package/dist/build-info.json
CHANGED
|
@@ -4,7 +4,7 @@ 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-DaGiGHel.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";
|
|
@@ -27,14 +27,14 @@ 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-B4U7ahZq.js";
|
|
31
31
|
import "../../github-copilot-token-uhEBNQfj.js";
|
|
32
32
|
import "../../pi-auth-json-DCGR3yfh.js";
|
|
33
33
|
import "../../reply-prefix-D0NzzC4I.js";
|
|
34
34
|
import "../../sqlite-CmMv0ans.js";
|
|
35
35
|
import "../../markdown-tables-CGqX2WvO.js";
|
|
36
|
-
import "../../commands-registry-
|
|
37
|
-
import { c as getSkillsSnapshotVersion, o as getRemoteSkillEligibility } from "../../skill-commands-
|
|
36
|
+
import "../../commands-registry-7vX6rnw_.js";
|
|
37
|
+
import { c as getSkillsSnapshotVersion, o as getRemoteSkillEligibility } from "../../skill-commands-lyuYvLis.js";
|
|
38
38
|
import "../../pi-model-discovery-Rgm3jE5N.js";
|
|
39
39
|
import "../../resolve-route-CDsQda0z.js";
|
|
40
40
|
import "../../replies-D0FYSIJg.js";
|
|
@@ -4,7 +4,7 @@ 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-DaGiGHel.js";
|
|
8
8
|
import "../../auth-profiles-BSw0aQND.js";
|
|
9
9
|
import "../../model-selection-BqshlIZc.js";
|
|
10
10
|
import { Tt as hasInterSessionUserProvenance } from "../../deliver-BiWlR84Y.js";
|
|
@@ -26,14 +26,14 @@ 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-B4U7ahZq.js";
|
|
30
30
|
import "../../github-copilot-token-uhEBNQfj.js";
|
|
31
31
|
import "../../pi-auth-json-DCGR3yfh.js";
|
|
32
32
|
import "../../reply-prefix-D0NzzC4I.js";
|
|
33
33
|
import "../../sqlite-CmMv0ans.js";
|
|
34
34
|
import "../../markdown-tables-CGqX2WvO.js";
|
|
35
|
-
import "../../commands-registry-
|
|
36
|
-
import "../../skill-commands-
|
|
35
|
+
import "../../commands-registry-7vX6rnw_.js";
|
|
36
|
+
import "../../skill-commands-lyuYvLis.js";
|
|
37
37
|
import "../../pi-model-discovery-Rgm3jE5N.js";
|
|
38
38
|
import "../../resolve-route-CDsQda0z.js";
|
|
39
39
|
import "../../replies-D0FYSIJg.js";
|
|
@@ -3,7 +3,7 @@ import { _ as shortenHomeInString, h as resolveUserPath, s as ensureDir, t as CO
|
|
|
3
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 {
|
|
6
|
+
import { Rt as PROTOCOL_VERSION, an as loadOrCreateDeviceIdentity, rn as normalizeFingerprint, t as GatewayClient } from "./client-CJeYdM6G.js";
|
|
7
7
|
import { X509Certificate, randomUUID } from "node:crypto";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { promisify } from "node:util";
|
|
@@ -187,6 +187,7 @@ const METHOD_SCOPE_GROUPS = {
|
|
|
187
187
|
"chat.history",
|
|
188
188
|
"chat.commands.list",
|
|
189
189
|
"chat.tools.list",
|
|
190
|
+
"chat.skills.list",
|
|
190
191
|
"config.get",
|
|
191
192
|
"talk.config",
|
|
192
193
|
"agents.files.list",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dt as ensureDir, Ft as resolveUserPath, Lt as shortenHomeInString, ct as resolveConfigPath, ft as resolveGatewayPort, xt as CONFIG_DIR, yt as resolveStateDir } from "./entry.js";
|
|
2
2
|
import { i as loadConfig } from "./config-D7TcU4qN.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Rt as PROTOCOL_VERSION, an as loadOrCreateDeviceIdentity, rn as normalizeFingerprint, t as GatewayClient } from "./client-BcvL_D-H.js";
|
|
4
4
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DXToSaWK.js";
|
|
5
5
|
import { r as isSecureWebSocketUrl } from "./net-TZUXtwGR.js";
|
|
6
6
|
import { execFile } from "node:child_process";
|
|
@@ -186,6 +186,7 @@ const METHOD_SCOPE_GROUPS = {
|
|
|
186
186
|
"chat.history",
|
|
187
187
|
"chat.commands.list",
|
|
188
188
|
"chat.tools.list",
|
|
189
|
+
"chat.skills.list",
|
|
189
190
|
"config.get",
|
|
190
191
|
"talk.config",
|
|
191
192
|
"agents.files.list",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
47bff8a976c20921b6688051cea0fc7238269b210e25ee9f32f35f47d8db5ba4
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as CHAT_CHANNEL_ORDER, n as isTruthyEnvValue } from "./entry.js";
|
|
2
2
|
import { n as listChannelPlugins } from "./plugins-BsEhWvLn.js";
|
|
3
3
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BaM8d1-T.js";
|
|
4
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
4
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-B9SUsQmV.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/channel-options.ts
|
|
7
7
|
function dedupe(values) {
|
|
@@ -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-BnLcGVie.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CP_RBN-f.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./unified-runner-
|
|
1
|
+
import "./unified-runner-DpZ49TWj.js";
|
|
2
2
|
import { E as setVerbose, P as getResolvedLoggerSettings, b as danger, j as theme, r as DEFAULT_CHAT_CHANNEL } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import "./paths-By0XjHBk.js";
|
|
4
4
|
import { u as isRecord } from "./utils-CTPsqyE_.js";
|
|
@@ -11,20 +11,20 @@ import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./age
|
|
|
11
11
|
import "./model-selection-7wdmO-Iw.js";
|
|
12
12
|
import "./file-lock-BVUYnlQv.js";
|
|
13
13
|
import "./agent-paths-BbZSGrUA.js";
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
14
|
+
import "./pi-embedded-helpers-B0Vz7hRL.js";
|
|
15
15
|
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } 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-H5Lewbd2.js";
|
|
21
|
+
import "./chrome-suE09Iax.js";
|
|
22
22
|
import "./tailscale-DpKBMIvx.js";
|
|
23
23
|
import "./auth-Bkx-QuRN.js";
|
|
24
|
-
import "./server-context-
|
|
24
|
+
import "./server-context-DVX-C1f0.js";
|
|
25
25
|
import "./frontmatter-B_jqcova.js";
|
|
26
26
|
import "./skills-BwDmcZdt.js";
|
|
27
|
-
import "./routes-
|
|
27
|
+
import "./routes-DmyY3P7a.js";
|
|
28
28
|
import "./redact-B3O-RBO1.js";
|
|
29
29
|
import "./errors-bI7Tdx75.js";
|
|
30
30
|
import "./fs-safe-BdejYjW8.js";
|
|
@@ -50,19 +50,19 @@ import "./models-config-B5Xxy-c-.js";
|
|
|
50
50
|
import "./pi-auth-json-Db8XJVGL.js";
|
|
51
51
|
import "./session-cost-usage-D3mgssM_.js";
|
|
52
52
|
import { _ as loadProviderUsageSummary, v as formatUsageReportLines } from "./session-utils-Cs1jlD-q.js";
|
|
53
|
-
import "./with-timeout-
|
|
53
|
+
import "./with-timeout-GyVVFtnd.js";
|
|
54
54
|
import "./reply-prefix-BFNeXT65.js";
|
|
55
|
-
import "./memory-
|
|
56
|
-
import "./manager-
|
|
55
|
+
import "./memory-DTDeG3u8.js";
|
|
56
|
+
import "./manager-5k1CRLn-.js";
|
|
57
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
61
|
import "./local-roots-CgDCgCuM.js";
|
|
62
62
|
import "./commands-DUzLGgEZ.js";
|
|
63
|
-
import "./commands-registry-
|
|
64
|
-
import "./client-
|
|
65
|
-
import { n as callGateway } from "./call-
|
|
63
|
+
import "./commands-registry-Ca5hh7nh.js";
|
|
64
|
+
import "./client-CJeYdM6G.js";
|
|
65
|
+
import { n as callGateway } from "./call-C386w5E5.js";
|
|
66
66
|
import "./pairing-token-Dcy37-4s.js";
|
|
67
67
|
import "./tool-display-DFOL6UQ9.js";
|
|
68
68
|
import { n as formatTimeAgo } from "./format-relative-D4GQsWlP.js";
|
|
@@ -70,12 +70,12 @@ import "./skills-remote-bz71Bstn.js";
|
|
|
70
70
|
import "./workspace-dirs-jKFQf7of.js";
|
|
71
71
|
import "./pi-model-discovery-ClQLvlCW.js";
|
|
72
72
|
import "./model-catalog-IWi6-nY9.js";
|
|
73
|
-
import "./skill-commands-
|
|
73
|
+
import "./skill-commands-DDGGlq68.js";
|
|
74
74
|
import "./pairing-store-BNhJOnWn.js";
|
|
75
75
|
import "./exec-approvals-DioSaIeH.js";
|
|
76
76
|
import "./nodes-screen-De9ma6e1.js";
|
|
77
77
|
import "./breakdown-B_Dhhm3K.js";
|
|
78
|
-
import "./control-service-
|
|
78
|
+
import "./control-service-CCto6i0v.js";
|
|
79
79
|
import "./stagger-DQs772BN.js";
|
|
80
80
|
import { n as resolveMessageChannelSelection } from "./channel-selection-DjrS6oiz.js";
|
|
81
81
|
import "./delivery-queue-duM0RT18.js";
|
|
@@ -85,14 +85,14 @@ import { t as formatDocsLink } from "./links-CQZxjjCO.js";
|
|
|
85
85
|
import { n as runCommandWithRuntime } from "./cli-utils-CbnnSB38.js";
|
|
86
86
|
import { t as formatHelpExamples } from "./help-format-8IYCRvx1.js";
|
|
87
87
|
import { n as withProgress } from "./progress-DQTvTiEg.js";
|
|
88
|
-
import "./memory-cli-
|
|
88
|
+
import "./memory-cli-Bv8Rcg5s.js";
|
|
89
89
|
import "./logging-CLWZ3KQI.js";
|
|
90
90
|
import "./replies-C5CBlnFS.js";
|
|
91
|
-
import "./pi-tools.policy-
|
|
91
|
+
import "./pi-tools.policy-CYlUAnkU.js";
|
|
92
92
|
import "./model-BMFj7NXy.js";
|
|
93
93
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BnLcGVie.js";
|
|
94
|
-
import "./plugin-registry-
|
|
95
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
94
|
+
import "./plugin-registry-CP_RBN-f.js";
|
|
95
|
+
import { t as formatCliChannelOptions } from "./channel-options-VQMByP4c.js";
|
|
96
96
|
import { t as hasExplicitOptions } from "./command-options-DgcCGXMQ.js";
|
|
97
97
|
import "./prompt-style-pphr4yLK.js";
|
|
98
98
|
import "./note-ytwb4wwn.js";
|
|
@@ -103,7 +103,7 @@ import "./install-safe-path-BBe6qFNr.js";
|
|
|
103
103
|
import "./npm-registry-spec-DPqOMFd9.js";
|
|
104
104
|
import "./skill-scanner-D5p8L-xO.js";
|
|
105
105
|
import "./installs-Bb1phV9x.js";
|
|
106
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
106
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-3AkHwrP_.js";
|
|
107
107
|
import { t as requireValidConfigSnapshot } from "./config-validation-DQ-lm2Qx.js";
|
|
108
108
|
import { t as buildChannelAccountSnapshot } from "./status-dOhj12u0.js";
|
|
109
109
|
import { t as parseLogLine } from "./parse-log-line-Cg7e_EO6.js";
|
|
@@ -15,11 +15,11 @@ import "./skills-cLBEdkqu.js";
|
|
|
15
15
|
import "./manifest-registry-CVLmi8rz.js";
|
|
16
16
|
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-D7TcU4qN.js";
|
|
17
17
|
import "./shell-env-CTYaxUs_.js";
|
|
18
|
-
import "./client-
|
|
19
|
-
import { n as callGateway } from "./call-
|
|
18
|
+
import "./client-BcvL_D-H.js";
|
|
19
|
+
import { n as callGateway } from "./call-mzNPQq1S.js";
|
|
20
20
|
import "./message-channel-DXToSaWK.js";
|
|
21
21
|
import "./pairing-token-B-OTYROz.js";
|
|
22
|
-
import "./subagent-registry-
|
|
22
|
+
import "./subagent-registry-4qeNm1OL.js";
|
|
23
23
|
import "./sessions-Dn6VXn4p.js";
|
|
24
24
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BsEhWvLn.js";
|
|
25
25
|
import { d as createSlackWebClient } from "./send-Dq252-bi.js";
|
|
@@ -49,15 +49,15 @@ import "./model-auth-Byr7Gic_.js";
|
|
|
49
49
|
import "./github-copilot-token-B5y4__YM.js";
|
|
50
50
|
import "./models-config-CiR_RUxw.js";
|
|
51
51
|
import "./reply-prefix-DV3KhOhL.js";
|
|
52
|
-
import "./memory-
|
|
53
|
-
import "./manager-
|
|
52
|
+
import "./memory-CkJCn1Gg.js";
|
|
53
|
+
import "./manager-Dh_-GTcG.js";
|
|
54
54
|
import "./sqlite-9jF_eajd.js";
|
|
55
55
|
import "./chunk-B2lBXhR0.js";
|
|
56
56
|
import "./markdown-tables-BEdkErjm.js";
|
|
57
57
|
import "./fetch-guard-3_W2W6u_.js";
|
|
58
58
|
import "./local-roots-Bm30yHHs.js";
|
|
59
59
|
import "./commands-BiW8npr7.js";
|
|
60
|
-
import "./commands-registry-
|
|
60
|
+
import "./commands-registry-D8LQ9fss.js";
|
|
61
61
|
import "./tool-display-DxbOx1Kx.js";
|
|
62
62
|
import { n as formatTimeAgo } from "./format-relative-CxLpEQOX.js";
|
|
63
63
|
import "./tokens-CC6jvm1-.js";
|
|
@@ -66,7 +66,7 @@ import { d as formatUsageReportLines, u as loadProviderUsageSummary } from "./re
|
|
|
66
66
|
import "./workspace-dirs-wlRR65M3.js";
|
|
67
67
|
import "./model-catalog-CzKsiNZA.js";
|
|
68
68
|
import "./session-utils-Zpe3t68b.js";
|
|
69
|
-
import "./skill-commands-
|
|
69
|
+
import "./skill-commands-BXP2zJNy.js";
|
|
70
70
|
import "./pairing-store-C4KBIVqJ.js";
|
|
71
71
|
import "./exec-approvals-DEjIocmZ.js";
|
|
72
72
|
import "./nodes-screen-_JvT4DjZ.js";
|
|
@@ -82,7 +82,7 @@ import { t as formatDocsLink } from "./links-B9CbwY46.js";
|
|
|
82
82
|
import { n as runCommandWithRuntime } from "./cli-utils-Ca0KE-dW.js";
|
|
83
83
|
import { t as formatHelpExamples } from "./help-format-BTNd5kFC.js";
|
|
84
84
|
import { n as withProgress } from "./progress-BOQ0hkeM.js";
|
|
85
|
-
import "./memory-cli-
|
|
85
|
+
import "./memory-cli-C3CONZGB.js";
|
|
86
86
|
import "./logging-uD67RPtO.js";
|
|
87
87
|
import "./replies-_DV8VSSj.js";
|
|
88
88
|
import "./pi-tools.policy-CU8U7--z.js";
|
|
@@ -97,13 +97,13 @@ import "./install-safe-path-79R0iPyC.js";
|
|
|
97
97
|
import "./npm-registry-spec-CONWlhd6.js";
|
|
98
98
|
import "./skill-scanner-EhsZUzzk.js";
|
|
99
99
|
import "./installs-BVJQl3Tj.js";
|
|
100
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
100
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-BRi2UP_-.js";
|
|
101
101
|
import { t as requireValidConfigSnapshot } from "./config-validation-DhsYEtLL.js";
|
|
102
102
|
import { t as buildChannelAccountSnapshot } from "./status-DtyqId3v.js";
|
|
103
103
|
import { t as parseLogLine } from "./parse-log-line-BQPvB6cZ.js";
|
|
104
104
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-BwbA2OBt.js";
|
|
105
|
-
import "./plugin-registry-
|
|
106
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
105
|
+
import "./plugin-registry-B9SUsQmV.js";
|
|
106
|
+
import { t as formatCliChannelOptions } from "./channel-options-BjgoCETm.js";
|
|
107
107
|
import fs from "node:fs/promises";
|
|
108
108
|
|
|
109
109
|
//#region src/commands/channels/add-mutators.ts
|
|
@@ -9,7 +9,7 @@ import fs$1 from "node:fs/promises";
|
|
|
9
9
|
import { execFileSync, spawn } from "node:child_process";
|
|
10
10
|
import net from "node:net";
|
|
11
11
|
import { createServer } from "node:http";
|
|
12
|
-
import WebSocket
|
|
12
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
13
13
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
14
14
|
|
|
15
15
|
//#region src/browser/constants.ts
|
|
@@ -177,7 +177,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
177
177
|
let nextExtensionId = 1;
|
|
178
178
|
const sendToExtension = async (payload) => {
|
|
179
179
|
const ws = extensionWs;
|
|
180
|
-
if (!ws || ws.readyState !== WebSocket
|
|
180
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
181
181
|
ws.send(JSON.stringify(payload));
|
|
182
182
|
return await new Promise((resolve, reject) => {
|
|
183
183
|
const timer = setTimeout(() => {
|
|
@@ -194,12 +194,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
194
194
|
const broadcastToCdpClients = (evt) => {
|
|
195
195
|
const msg = JSON.stringify(evt);
|
|
196
196
|
for (const ws of cdpClients) {
|
|
197
|
-
if (ws.readyState !== WebSocket
|
|
197
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
198
198
|
ws.send(msg);
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
const sendResponseToCdp = (ws, res) => {
|
|
202
|
-
if (ws.readyState !== WebSocket
|
|
202
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
203
203
|
ws.send(JSON.stringify(res));
|
|
204
204
|
};
|
|
205
205
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -424,7 +424,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
424
424
|
wssExtension.on("connection", (ws) => {
|
|
425
425
|
extensionWs = ws;
|
|
426
426
|
const ping = setInterval(() => {
|
|
427
|
-
if (ws.readyState !== WebSocket
|
|
427
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
428
428
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
429
429
|
}, 5e3);
|
|
430
430
|
ws.on("message", (data) => {
|
|
@@ -742,7 +742,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
742
742
|
}
|
|
743
743
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
744
744
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
745
|
-
const ws = new WebSocket
|
|
745
|
+
const ws = new WebSocket(wsUrl, {
|
|
746
746
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
747
747
|
...Object.keys(headers).length ? { headers } : {}
|
|
748
748
|
});
|
|
@@ -1636,7 +1636,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1636
1636
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1637
1637
|
return await new Promise((resolve) => {
|
|
1638
1638
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1639
|
-
const ws = new WebSocket
|
|
1639
|
+
const ws = new WebSocket(wsUrl, {
|
|
1640
1640
|
handshakeTimeout: timeoutMs,
|
|
1641
1641
|
...Object.keys(headers).length ? { headers } : {}
|
|
1642
1642
|
});
|
|
@@ -9,7 +9,7 @@ import fs from "node:fs";
|
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
11
|
import { createServer } from "node:http";
|
|
12
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
12
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
13
13
|
|
|
14
14
|
//#region src/browser/constants.ts
|
|
15
15
|
const DEFAULT_SYMI_BROWSER_ENABLED = true;
|
|
@@ -123,7 +123,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
123
123
|
let nextExtensionId = 1;
|
|
124
124
|
const sendToExtension = async (payload) => {
|
|
125
125
|
const ws = extensionWs;
|
|
126
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
126
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
127
127
|
ws.send(JSON.stringify(payload));
|
|
128
128
|
return await new Promise((resolve, reject) => {
|
|
129
129
|
const timer = setTimeout(() => {
|
|
@@ -140,12 +140,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
140
140
|
const broadcastToCdpClients = (evt) => {
|
|
141
141
|
const msg = JSON.stringify(evt);
|
|
142
142
|
for (const ws of cdpClients) {
|
|
143
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
143
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
144
144
|
ws.send(msg);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
const sendResponseToCdp = (ws, res) => {
|
|
148
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
148
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
149
149
|
ws.send(JSON.stringify(res));
|
|
150
150
|
};
|
|
151
151
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -370,7 +370,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
370
370
|
wssExtension.on("connection", (ws) => {
|
|
371
371
|
extensionWs = ws;
|
|
372
372
|
const ping = setInterval(() => {
|
|
373
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
373
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
374
374
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
375
375
|
}, 5e3);
|
|
376
376
|
ws.on("message", (data) => {
|
|
@@ -688,7 +688,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
688
688
|
}
|
|
689
689
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
690
690
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
691
|
-
const ws = new WebSocket(wsUrl, {
|
|
691
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
692
692
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
693
693
|
...Object.keys(headers).length ? { headers } : {}
|
|
694
694
|
});
|
|
@@ -1555,7 +1555,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1555
1555
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1556
1556
|
return await new Promise((resolve) => {
|
|
1557
1557
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1558
|
-
const ws = new WebSocket(wsUrl, {
|
|
1558
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1559
1559
|
handshakeTimeout: timeoutMs,
|
|
1560
1560
|
...Object.keys(headers).length ? { headers } : {}
|
|
1561
1561
|
});
|