@symerian/symi 3.4.32 → 3.4.33
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-BaSGoKPq.js → agent-DQfitMBw.js} +1 -1
- package/dist/{agent-C8IIjDyn.js → agent-DkDdGuzJ.js} +1 -1
- package/dist/{agents-D6Ygz9ED.js → agents-AMdYY8k4.js} +2 -2
- package/dist/{auth-choice-Bx4Duu6u.js → auth-choice-BfSOQfbj.js} +1 -1
- package/dist/{auth-choice-BBrEzoy2.js → auth-choice-Di69jPrV.js} +1 -1
- package/dist/{banner-l9GjW5Rm.js → banner-2AO478QB.js} +1 -1
- 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/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DGUqfnbP.js → channel-options-BCzXW2z-.js} +1 -1
- package/dist/{channel-options-COanIUoQ.js → channel-options-W61Bhzx-.js} +1 -1
- package/dist/{channels-cli-CZ3M3yE1.js → channels-cli-BUG1t9xo.js} +7 -7
- package/dist/{channels-cli-B1zmnm5a.js → channels-cli-Dw4fyG1g.js} +7 -7
- package/dist/{chrome-CQn8fDIy.js → chrome-CPSDqbK6.js} +7 -7
- package/dist/{chrome-B4P7ycw5.js → chrome-DT1fIVG1.js} +7 -7
- package/dist/{cli-CC5GrdTI.js → cli-CXO2Tt3f.js} +4 -4
- package/dist/{cli-C7I5uEFC.js → cli-CaF1rsTl.js} +4 -4
- package/dist/{command-registry-D8fj6th4.js → command-registry-HlICZbMN.js} +10 -10
- package/dist/{completion-cli-C-85b5b8.js → completion-cli-BGyTfZsT.js} +1 -1
- package/dist/{completion-cli-BxspmuYm.js → completion-cli-C9s04Ris.js} +2 -2
- package/dist/{config-cli-DSDGwckX.js → config-cli-Ce0FG7iI.js} +1 -1
- package/dist/{config-cli-BqzjDmIH.js → config-cli-p2PrIOF5.js} +1 -1
- package/dist/{configure-Dl1f1Den.js → configure-Dj3xQ-cs.js} +2 -2
- package/dist/{configure-BazJdwKU.js → configure-c96EHRee.js} +2 -2
- package/dist/{deliver-BkCYBlzi.js → deliver-59sRVaYQ.js} +4 -4
- package/dist/{deliver-DvW5xHHr.js → deliver-Mqq3tgqB.js} +4 -4
- package/dist/{doctor-completion-CX7LjkOD.js → doctor-completion-B1ny8yKk.js} +1 -1
- package/dist/{doctor-completion-BwHbIZjF.js → doctor-completion-RWwGjpox.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +4 -4
- package/dist/{gateway-cli-CW-Z71cE.js → gateway-cli-8lvej8_J.js} +10 -10
- package/dist/{gateway-cli-CTcK1Az2.js → gateway-cli-CkZXvPYl.js} +10 -10
- package/dist/{glass-ui-ws-BNJkhJrL.js → glass-ui-ws-Ce9TvGD_.js} +8 -8
- package/dist/{glass-ui-ws-BZvH4MBO.js → glass-ui-ws-CmUlgTXc.js} +8 -8
- package/dist/{hooks-cli-DkP3Y4ou.js → hooks-cli-BGzzZ0NS.js} +5 -5
- package/dist/{hooks-cli-qO421UdO.js → hooks-cli-hb_Ed-Jz.js} +5 -5
- package/dist/index.js +8 -8
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{manager-D0NIHMuQ.js → manager-CWnvYURh.js} +1 -1
- package/dist/{manager-DOiW-Koo.js → manager-CnHkbF80.js} +1 -1
- package/dist/{manager-BD_cpL9b.js → manager-DkZ5wkXy.js} +1 -1
- package/dist/{manager-BQaZlWzK.js → manager-v-DndeD8.js} +1 -1
- package/dist/{memory-Cl4I_45k.js → memory-DAiUTYsN.js} +2 -2
- package/dist/{memory-kIYeV9aO.js → memory-DIz78XgT.js} +2 -2
- package/dist/{memory-cli-DkD_OD70.js → memory-cli-DfW-A_QO.js} +2 -2
- package/dist/{memory-cli-CszP57Ee.js → memory-cli-Xhj74cTT.js} +2 -2
- package/dist/{models-BYi0Fo1a.js → models-CE_4elo3.js} +2 -2
- package/dist/{models-cli-Bn9M1TgO.js → models-cli-BKKWrGzr.js} +5 -5
- package/dist/{models-cli-EdjvkvFO.js → models-cli-Dc2tXjX2.js} +6 -6
- package/dist/{onboard-CAIujkV7.js → onboard-DepZiaNF.js} +1 -1
- package/dist/{onboard-channels-D_uUQbem.js → onboard-channels-C6BRMuCW.js} +1 -1
- package/dist/{onboard-channels-B2l6OoMg.js → onboard-channels-CXpGsHLr.js} +1 -1
- package/dist/{onboard-C8IQnigm.js → onboard-jE4b4C-p.js} +1 -1
- package/dist/{onboarding-BIq5BxG0.js → onboarding-DPH9gWr4.js} +3 -3
- package/dist/{onboarding-4v9LJueP.js → onboarding-DnTefFwg.js} +3 -3
- package/dist/{onboarding.finalize-CXAQzVXM.js → onboarding.finalize-3ZKGCjhd.js} +4 -4
- package/dist/{onboarding.finalize-Bkcwe5RS.js → onboarding.finalize-C8ibJ9uq.js} +3 -3
- package/dist/{pi-embedded-CGebiST2.js → pi-embedded-C1ziBpAk.js} +10 -99
- package/dist/{plugin-registry-D7ACpV2Y.js → plugin-registry-COJjE9SO.js} +1 -1
- package/dist/{plugin-registry-d4hMhLLZ.js → plugin-registry-c9GdlkR9.js} +1 -1
- package/dist/plugin-sdk/agents/model-aware-stream.d.ts +0 -21
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-CPf1hMaZ.js → plugins-cli-C9oli8ls.js} +5 -5
- package/dist/{plugins-cli-D1gd8p9T.js → plugins-cli-D6dclODT.js} +5 -5
- package/dist/{program-C19G7o-Q.js → program-9PTJNfZ7.js} +10 -10
- package/dist/{program-context-BSUkEz3n.js → program-context-BUekmPwY.js} +18 -18
- package/dist/{prompt-select-styled-CnYM7W0j.js → prompt-select-styled-BK0mAdgX.js} +4 -4
- package/dist/{prompt-select-styled-B5wlPYN5.js → prompt-select-styled-BUycx1hY.js} +4 -4
- package/dist/{provider-auth-helpers-DpRoNr_8.js → provider-auth-helpers-CczPUO0p.js} +1 -1
- package/dist/{provider-auth-helpers-BUC4xGK9.js → provider-auth-helpers-DgK9MncE.js} +1 -1
- package/dist/{push-apns-Bm39oOO9.js → push-apns-BGpLn10e.js} +1 -1
- package/dist/{push-apns-DqmFEcqh.js → push-apns-CgvbJbQC.js} +1 -1
- package/dist/{pw-ai-BsEf8C15.js → pw-ai-C5MJKzUM.js} +1 -1
- package/dist/{pw-ai-BB1pJj9_.js → pw-ai-w6Qalz1W.js} +1 -1
- package/dist/{register.agent-DZuxoC0a.js → register.agent-BdAFrDZP.js} +9 -9
- package/dist/{register.agent-CCKcgAXs.js → register.agent-CiSmK5cW.js} +8 -8
- package/dist/{register.configure-JT8T7HO5.js → register.configure-CJ8DVLfn.js} +8 -8
- package/dist/{register.configure-CJErdFO_.js → register.configure-FMKBV7zr.js} +8 -8
- package/dist/{register.maintenance-CKsv0lok.js → register.maintenance-C9VugUAp.js} +9 -9
- package/dist/{register.maintenance-DDzKUGYJ.js → register.maintenance-D5Li0TBK.js} +8 -8
- package/dist/{register.message-_bfhetTg.js → register.message-BYoMS5CB.js} +5 -5
- package/dist/{register.message-CpOXi1rz.js → register.message-Ds_xPChV.js} +5 -5
- package/dist/{register.onboard-CkIM3hU7.js → register.onboard-BzIJn1Lg.js} +2 -2
- package/dist/{register.onboard-BHtTh0b_.js → register.onboard-si2z7-YL.js} +2 -2
- package/dist/{register.setup-CYtYDKMU.js → register.setup-BsJUgbDb.js} +2 -2
- package/dist/{register.setup-CLhdFQHW.js → register.setup-Df3R4yLs.js} +2 -2
- package/dist/{register.status-health-sessions-DmX0DLAt.js → register.status-health-sessions-B8sNB-yT.js} +3 -3
- package/dist/{register.status-health-sessions-DZnebsxZ.js → register.status-health-sessions-D8NDF7y5.js} +3 -3
- package/dist/{register.subclis-CnDo2jzv.js → register.subclis-Yhn2bUmt.js} +9 -9
- package/dist/{run-main-BIRbWKyA.js → run-main-CFH2Lrwb.js} +17 -17
- package/dist/{server-methods-Dz6NGEg3.js → server-methods-C-CwdwCK.js} +6 -6
- package/dist/{server-methods-vp5zi6v5.js → server-methods-DeytIhcV.js} +6 -6
- package/dist/{server-node-events-B7UtUhkC.js → server-node-events-C1ClYFgH.js} +6 -6
- package/dist/{server-node-events-4ufB_olv.js → server-node-events-V9Lp56Gv.js} +6 -6
- package/dist/{status-DEXnB1sw.js → status-9g-DM9_P.js} +1 -1
- package/dist/{status-MMLxoRgQ.js → status-DI7oeBoM.js} +1 -1
- package/dist/{status-BD8gFYKH.js → status-DajsgZgR.js} +1 -1
- package/dist/{status-B0HecH1s.js → status-JGAm0LR-.js} +1 -1
- package/dist/{subagent-registry-C57PFGHU.js → subagent-registry-Fio11IHF.js} +3 -92
- package/dist/{synthesis-CjsIBd8X.js → synthesis-Bz8Yp6oI.js} +4 -4
- package/dist/{synthesis-j_kjlFo1.js → synthesis-CXXYGwNN.js} +4 -4
- package/dist/{synthesis-DSdF0vsi.js → synthesis-DUu4tYgx.js} +4 -4
- package/dist/{synthesis-CQdzrLFL.js → synthesis-DwljJPko.js} +4 -4
- package/dist/{unified-runner-DCiPB--z.js → unified-runner-B3G4fVeJ.js} +3 -92
- package/dist/{unified-runner-BNt7TQKM.js → unified-runner-V6KJgMsY.js} +10 -99
- package/dist/{update-cli-CWufRpkr.js → update-cli-BaLUelaZ.js} +8 -8
- package/dist/{update-cli-Dl_QbjXc.js → update-cli-C8Uy9Hox.js} +9 -9
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import { a as buildModelAliasLines } from "./model-DgN15006.js";
|
|
|
7
7
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-BP6p7GnN.js";
|
|
8
8
|
import { i as loadConfig } from "./config-igdtSRrZ.js";
|
|
9
9
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-CNPAq1Tl.js";
|
|
10
|
-
import { A as resolveRunWorkspaceDir, At as buildSystemPromptParams, Bt as applyModelOverrideToSessionEntry, Ft as resolveSendPolicy, H as resolveOutboundTarget, J as runWithModelFallback, Mt as getProcessSupervisor, Nt as detectRuntimeShell, Sn as emitAgentEvent, T as runAgentTurn, Tn as registerAgentRunContext, U as resolveSessionDeliveryTarget, Vt as applyVerboseOverride, Y as FailoverError, Z as resolveFailoverStatus, bt as AGENT_LANE_SUBAGENT, en as resolveAgentTimeoutMs, in as clearSessionAuthProfileOverride, k as redactRunIdentifier, kt as buildAgentSystemPrompt, ln as resolveSymiDocsPath, mn as resolveBootstrapContextForRun, pn as makeBootstrapWarn, xn as clearAgentRunContext, yt as AGENT_LANE_NESTED } from "./subagent-registry-
|
|
10
|
+
import { A as resolveRunWorkspaceDir, At as buildSystemPromptParams, Bt as applyModelOverrideToSessionEntry, Ft as resolveSendPolicy, H as resolveOutboundTarget, J as runWithModelFallback, Mt as getProcessSupervisor, Nt as detectRuntimeShell, Sn as emitAgentEvent, T as runAgentTurn, Tn as registerAgentRunContext, U as resolveSessionDeliveryTarget, Vt as applyVerboseOverride, Y as FailoverError, Z as resolveFailoverStatus, bt as AGENT_LANE_SUBAGENT, en as resolveAgentTimeoutMs, in as clearSessionAuthProfileOverride, k as redactRunIdentifier, kt as buildAgentSystemPrompt, ln as resolveSymiDocsPath, mn as resolveBootstrapContextForRun, pn as makeBootstrapWarn, xn as clearAgentRunContext, yt as AGENT_LANE_NESTED } from "./subagent-registry-Fio11IHF.js";
|
|
11
11
|
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-BNEDanZO.js";
|
|
12
12
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Bq-Msc8Z.js";
|
|
13
13
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-izdrXPr4.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dn as FailoverError, En as runWithModelFallback, Ft as clearSessionAuthProfileOverride, Gt as resolveAgentTimeoutMs, Jt as AGENT_LANE_NESTED, O as resolveOutboundTarget, Qt as emitAgentEvent, Yt as AGENT_LANE_SUBAGENT, Zt as clearAgentRunContext, bt as applyVerboseOverride, dt as getProcessSupervisor, ft as detectRuntimeShell, gn as resolveRunWorkspaceDir, hn as redactRunIdentifier, k as resolveSessionDeliveryTarget, kn as resolveFailoverStatus, ln as resolveSymiDocsPath, lt as buildSystemPromptParams, mn as resolveBootstrapContextForRun, mt as resolveSendPolicy, nn as buildAgentSystemPrompt, pn as makeBootstrapWarn, t as runAgentTurn, tn as registerAgentRunContext, yt as applyModelOverrideToSessionEntry } from "./unified-runner-
|
|
1
|
+
import { Dn as FailoverError, En as runWithModelFallback, Ft as clearSessionAuthProfileOverride, Gt as resolveAgentTimeoutMs, Jt as AGENT_LANE_NESTED, O as resolveOutboundTarget, Qt as emitAgentEvent, Yt as AGENT_LANE_SUBAGENT, Zt as clearAgentRunContext, bt as applyVerboseOverride, dt as getProcessSupervisor, ft as detectRuntimeShell, gn as resolveRunWorkspaceDir, hn as redactRunIdentifier, k as resolveSessionDeliveryTarget, kn as resolveFailoverStatus, ln as resolveSymiDocsPath, lt as buildSystemPromptParams, mn as resolveBootstrapContextForRun, mt as resolveSendPolicy, nn as buildAgentSystemPrompt, pn as makeBootstrapWarn, t as runAgentTurn, tn as registerAgentRunContext, yt as applyModelOverrideToSessionEntry } from "./unified-runner-B3G4fVeJ.js";
|
|
2
2
|
import { D as shouldLogVerbose, r as DEFAULT_CHAT_CHANNEL } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { u as isRecord } from "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
@@ -10,13 +10,13 @@ import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CNexk5_o.js";
|
|
|
10
10
|
import { t as WizardCancelledError } from "./prompts-fhztJPuZ.js";
|
|
11
11
|
import { t as createClackPrompter } from "./clack-prompter-Cm3OvXXT.js";
|
|
12
12
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DlWXcOEI.js";
|
|
13
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
13
|
+
import { r as setupChannels } from "./onboard-channels-CXpGsHLr.js";
|
|
14
14
|
import { t as requireValidConfigSnapshot } from "./config-validation-Bs1Gp2oG.js";
|
|
15
15
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-Bm-oyLWy.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-D7cHU-OU.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-BeA4q4J_.js";
|
|
18
18
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DBfm0y9l.js";
|
|
19
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
19
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-BfSOQfbj.js";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import fs from "node:fs/promises";
|
|
22
22
|
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-C2rNhRI4.js";
|
|
|
6
6
|
import { t as enablePluginInConfig } from "./enable-Dn-aw3YN.js";
|
|
7
7
|
import { f as openUrl } from "./onboard-helpers-Bm-oyLWy.js";
|
|
8
8
|
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-Brb1Askz.js";
|
|
9
|
-
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-
|
|
9
|
+
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-DgK9MncE.js";
|
|
10
10
|
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-BVPmAuXK.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-4NUXHy8M.js";
|
|
12
12
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-CaGfL-2g.js";
|
|
|
6
6
|
import { t as enablePluginInConfig } from "./enable-CAlFtzVH.js";
|
|
7
7
|
import { f as openUrl } from "./onboard-helpers-CHfdRdZR.js";
|
|
8
8
|
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-SebYuqfR.js";
|
|
9
|
-
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-
|
|
9
|
+
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-CczPUO0p.js";
|
|
10
10
|
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-CDDFpxUr.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-CV56GE8A.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Q as theme, Z as isRich, h as visibleWidth, tn as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { jt as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { jt as resolveCommitHash } from "./subagent-registry-Fio11IHF.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one Symi.";
|
package/dist/build-info.json
CHANGED
|
@@ -4,14 +4,14 @@ 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-V6KJgMsY.js";
|
|
8
8
|
import { $ as DEFAULT_MODEL, A as resolveThinkingDefault, C as normalizeModelRef, D as resolveDefaultModelForAgent, E as resolveConfiguredModelRef, Q as DEFAULT_CONTEXT_TOKENS, S as modelKey, Z as isTruthyEnvValue, _ as buildAllowedModelSet, d as ensureAuthProfileStore, et as DEFAULT_PROVIDER, tt as formatCliCommand, w as normalizeProviderId, x as isCliProvider } from "../../auth-profiles-Boy_KMd1.js";
|
|
9
9
|
import "../../github-copilot-token-B31ugq7R.js";
|
|
10
10
|
import "../../boolean-mcn6kL0s.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-59sRVaYQ.js";
|
|
12
12
|
import { c as loadConfig } from "../../ssrf-CeQ2Aub-.js";
|
|
13
13
|
import "../../manifest-registry-C0nJ3Ja3.js";
|
|
14
|
-
import "../../chrome-
|
|
14
|
+
import "../../chrome-DT1fIVG1.js";
|
|
15
15
|
import "../../frontmatter-CwO0i5Q7.js";
|
|
16
16
|
import { n as buildWorkspaceSkillSnapshot } from "../../skills-DaU_5XvP.js";
|
|
17
17
|
import "../../redact-Dd8jrogi.js";
|
|
@@ -27,7 +27,7 @@ import "../../diagnostic-D7z6O7v0.js";
|
|
|
27
27
|
import "../../diagnostic-session-state-BkfiP_y6.js";
|
|
28
28
|
import "../../pi-auth-json-De8XczIE.js";
|
|
29
29
|
import "../../reply-prefix-D3muTai5.js";
|
|
30
|
-
import "../../manager-
|
|
30
|
+
import "../../manager-DkZ5wkXy.js";
|
|
31
31
|
import "../../sqlite--aBEq1-J.js";
|
|
32
32
|
import "../../markdown-tables-ptfgMe6b.js";
|
|
33
33
|
import "../../commands-registry-CBFyeJ5K.js";
|
|
@@ -4,14 +4,14 @@ 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-V6KJgMsY.js";
|
|
8
8
|
import "../../auth-profiles-Boy_KMd1.js";
|
|
9
9
|
import "../../github-copilot-token-B31ugq7R.js";
|
|
10
10
|
import "../../boolean-mcn6kL0s.js";
|
|
11
|
-
import { Tt as hasInterSessionUserProvenance } from "../../deliver-
|
|
11
|
+
import { Tt as hasInterSessionUserProvenance } from "../../deliver-59sRVaYQ.js";
|
|
12
12
|
import "../../ssrf-CeQ2Aub-.js";
|
|
13
13
|
import "../../manifest-registry-C0nJ3Ja3.js";
|
|
14
|
-
import "../../chrome-
|
|
14
|
+
import "../../chrome-DT1fIVG1.js";
|
|
15
15
|
import "../../frontmatter-CwO0i5Q7.js";
|
|
16
16
|
import "../../skills-DaU_5XvP.js";
|
|
17
17
|
import "../../redact-Dd8jrogi.js";
|
|
@@ -27,7 +27,7 @@ import "../../diagnostic-D7z6O7v0.js";
|
|
|
27
27
|
import "../../diagnostic-session-state-BkfiP_y6.js";
|
|
28
28
|
import "../../pi-auth-json-De8XczIE.js";
|
|
29
29
|
import "../../reply-prefix-D3muTai5.js";
|
|
30
|
-
import "../../manager-
|
|
30
|
+
import "../../manager-DkZ5wkXy.js";
|
|
31
31
|
import "../../sqlite--aBEq1-J.js";
|
|
32
32
|
import "../../markdown-tables-ptfgMe6b.js";
|
|
33
33
|
import "../../commands-registry-CBFyeJ5K.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
15ffb02c13fc9300da479d7ecab79425ac45dd52ac5e34584ff26e9711a0d0c8
|
|
@@ -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-Bq-Msc8Z.js";
|
|
3
3
|
import { r as listChannelPluginCatalogEntries } from "./catalog-CJzUbDcX.js";
|
|
4
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
4
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-COJjE9SO.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-DKJLAPDB.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-B97Ms861.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-DuuHorqi.js";
|
|
4
4
|
import { r as listChannelPluginCatalogEntries } from "./catalog-CSgSg5Gp.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-c9GdlkR9.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -16,7 +16,7 @@ import "./client-Dp8LUTmF.js";
|
|
|
16
16
|
import { n as callGateway } from "./call-5IE9ycvm.js";
|
|
17
17
|
import "./message-channel-CNPAq1Tl.js";
|
|
18
18
|
import "./pairing-token-Bnr7QjVF.js";
|
|
19
|
-
import "./subagent-registry-
|
|
19
|
+
import "./subagent-registry-Fio11IHF.js";
|
|
20
20
|
import "./sessions-BNEDanZO.js";
|
|
21
21
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Bq-Msc8Z.js";
|
|
22
22
|
import { d as createSlackWebClient } from "./send-EluKytgO.js";
|
|
@@ -44,8 +44,8 @@ import "./paths-CNexk5_o.js";
|
|
|
44
44
|
import "./thinking-BDh5LPh-.js";
|
|
45
45
|
import "./models-config-yKxNCn4V.js";
|
|
46
46
|
import "./reply-prefix-B7pYEiW_.js";
|
|
47
|
-
import "./memory-
|
|
48
|
-
import "./manager-
|
|
47
|
+
import "./memory-DAiUTYsN.js";
|
|
48
|
+
import "./manager-v-DndeD8.js";
|
|
49
49
|
import "./sqlite-l3CZYU6t.js";
|
|
50
50
|
import "./chunk-BySyfaEr.js";
|
|
51
51
|
import "./markdown-tables-CCOfinlW.js";
|
|
@@ -76,7 +76,7 @@ import { t as formatDocsLink } from "./links-Db3Rw0Tg.js";
|
|
|
76
76
|
import { n as runCommandWithRuntime } from "./cli-utils-BqMwAlgf.js";
|
|
77
77
|
import { t as formatHelpExamples } from "./help-format-DbbIlOje.js";
|
|
78
78
|
import { n as withProgress } from "./progress-C4ck6JXh.js";
|
|
79
|
-
import "./memory-cli-
|
|
79
|
+
import "./memory-cli-Xhj74cTT.js";
|
|
80
80
|
import "./logging-D0L9TWhE.js";
|
|
81
81
|
import "./replies-DIHkSwoW.js";
|
|
82
82
|
import "./pi-tools.policy-BaRznBvu.js";
|
|
@@ -91,13 +91,13 @@ import "./install-safe-path-BiJP_bOf.js";
|
|
|
91
91
|
import "./npm-registry-spec-NLo2PCol.js";
|
|
92
92
|
import "./skill-scanner-CuoStu03.js";
|
|
93
93
|
import "./installs-cPraL4Dg.js";
|
|
94
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
94
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-CXpGsHLr.js";
|
|
95
95
|
import { t as requireValidConfigSnapshot } from "./config-validation-Bs1Gp2oG.js";
|
|
96
96
|
import { t as buildChannelAccountSnapshot } from "./status-C8iyvxFB.js";
|
|
97
97
|
import { t as parseLogLine } from "./parse-log-line-BTobl3T7.js";
|
|
98
98
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-GSsGZvfn.js";
|
|
99
|
-
import "./plugin-registry-
|
|
100
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
99
|
+
import "./plugin-registry-COJjE9SO.js";
|
|
100
|
+
import { t as formatCliChannelOptions } from "./channel-options-BCzXW2z-.js";
|
|
101
101
|
import fs from "node:fs/promises";
|
|
102
102
|
|
|
103
103
|
//#region src/commands/channels/add-mutators.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./unified-runner-
|
|
1
|
+
import "./unified-runner-B3G4fVeJ.js";
|
|
2
2
|
import { E as setVerbose, P as getResolvedLoggerSettings, b as danger, j as theme, r as DEFAULT_CHAT_CHANNEL } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import "./paths-BSzKwaxE.js";
|
|
4
4
|
import { u as isRecord } from "./utils-BU8jVQFM.js";
|
|
@@ -47,8 +47,8 @@ import "./session-cost-usage-DYcv40ss.js";
|
|
|
47
47
|
import { _ as loadProviderUsageSummary, v as formatUsageReportLines } from "./session-utils-CgGDr4eh.js";
|
|
48
48
|
import "./with-timeout-BE7lxhxW.js";
|
|
49
49
|
import "./reply-prefix-BOdARKaY.js";
|
|
50
|
-
import "./memory-
|
|
51
|
-
import "./manager-
|
|
50
|
+
import "./memory-DIz78XgT.js";
|
|
51
|
+
import "./manager-CnHkbF80.js";
|
|
52
52
|
import "./sqlite-DBEvS-Ne.js";
|
|
53
53
|
import "./chunk-DQGU0F8t.js";
|
|
54
54
|
import "./markdown-tables-GTLvbzuR.js";
|
|
@@ -79,14 +79,14 @@ import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
|
79
79
|
import { n as runCommandWithRuntime } from "./cli-utils-CX1oQ81G.js";
|
|
80
80
|
import { t as formatHelpExamples } from "./help-format-BI_G2p1e.js";
|
|
81
81
|
import { n as withProgress } from "./progress-CyPyGCDn.js";
|
|
82
|
-
import "./memory-cli-
|
|
82
|
+
import "./memory-cli-DfW-A_QO.js";
|
|
83
83
|
import "./logging-B5YNzZB9.js";
|
|
84
84
|
import "./replies-B2O2eRh6.js";
|
|
85
85
|
import "./pi-tools.policy-Dyx3nBmp.js";
|
|
86
86
|
import "./model-BRcKPW49.js";
|
|
87
87
|
import { r as listChannelPluginCatalogEntries } from "./catalog-CSgSg5Gp.js";
|
|
88
|
-
import "./plugin-registry-
|
|
89
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
88
|
+
import "./plugin-registry-c9GdlkR9.js";
|
|
89
|
+
import { t as formatCliChannelOptions } from "./channel-options-W61Bhzx-.js";
|
|
90
90
|
import { t as hasExplicitOptions } from "./command-options-ChiIn6Na.js";
|
|
91
91
|
import "./prompt-style-Cad0BDRS.js";
|
|
92
92
|
import "./note-CHrtEumO.js";
|
|
@@ -97,7 +97,7 @@ import "./install-safe-path-CQXx3s9R.js";
|
|
|
97
97
|
import "./npm-registry-spec-BXw_6vF6.js";
|
|
98
98
|
import "./skill-scanner-YF2jR4RY.js";
|
|
99
99
|
import "./installs-DhSLZRT7.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-C6BRMuCW.js";
|
|
101
101
|
import { t as requireValidConfigSnapshot } from "./config-validation-Bp2wJ610.js";
|
|
102
102
|
import { t as buildChannelAccountSnapshot } from "./status-DvTRhxOu.js";
|
|
103
103
|
import { t as parseLogLine } from "./parse-log-line-DLGp7cEA.js";
|
|
@@ -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$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
|
});
|
|
@@ -14,7 +14,7 @@ import "./client-Dp8LUTmF.js";
|
|
|
14
14
|
import "./call-5IE9ycvm.js";
|
|
15
15
|
import "./message-channel-CNPAq1Tl.js";
|
|
16
16
|
import "./pairing-token-Bnr7QjVF.js";
|
|
17
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
17
|
+
import { m as loadSymiPlugins } from "./subagent-registry-Fio11IHF.js";
|
|
18
18
|
import "./sessions-BNEDanZO.js";
|
|
19
19
|
import "./plugins-Bq-Msc8Z.js";
|
|
20
20
|
import "./send-EluKytgO.js";
|
|
@@ -42,8 +42,8 @@ import "./paths-CNexk5_o.js";
|
|
|
42
42
|
import "./thinking-BDh5LPh-.js";
|
|
43
43
|
import "./models-config-yKxNCn4V.js";
|
|
44
44
|
import "./reply-prefix-B7pYEiW_.js";
|
|
45
|
-
import "./memory-
|
|
46
|
-
import "./manager-
|
|
45
|
+
import "./memory-DAiUTYsN.js";
|
|
46
|
+
import "./manager-v-DndeD8.js";
|
|
47
47
|
import "./sqlite-l3CZYU6t.js";
|
|
48
48
|
import "./chunk-BySyfaEr.js";
|
|
49
49
|
import "./markdown-tables-CCOfinlW.js";
|
|
@@ -73,7 +73,7 @@ import "./links-Db3Rw0Tg.js";
|
|
|
73
73
|
import "./cli-utils-BqMwAlgf.js";
|
|
74
74
|
import "./help-format-DbbIlOje.js";
|
|
75
75
|
import "./progress-C4ck6JXh.js";
|
|
76
|
-
import "./memory-cli-
|
|
76
|
+
import "./memory-cli-Xhj74cTT.js";
|
|
77
77
|
import "./logging-D0L9TWhE.js";
|
|
78
78
|
import "./replies-DIHkSwoW.js";
|
|
79
79
|
import "./pi-tools.policy-BaRznBvu.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as loadSymiPlugins } from "./unified-runner-
|
|
1
|
+
import { s as loadSymiPlugins } from "./unified-runner-B3G4fVeJ.js";
|
|
2
2
|
import "./registry-DKJLAPDB.js";
|
|
3
3
|
import "./paths-BSzKwaxE.js";
|
|
4
4
|
import "./utils-BU8jVQFM.js";
|
|
@@ -45,8 +45,8 @@ import "./session-cost-usage-DYcv40ss.js";
|
|
|
45
45
|
import "./session-utils-CgGDr4eh.js";
|
|
46
46
|
import "./with-timeout-BE7lxhxW.js";
|
|
47
47
|
import "./reply-prefix-BOdARKaY.js";
|
|
48
|
-
import "./memory-
|
|
49
|
-
import "./manager-
|
|
48
|
+
import "./memory-DIz78XgT.js";
|
|
49
|
+
import "./manager-CnHkbF80.js";
|
|
50
50
|
import "./sqlite-DBEvS-Ne.js";
|
|
51
51
|
import "./chunk-DQGU0F8t.js";
|
|
52
52
|
import "./markdown-tables-GTLvbzuR.js";
|
|
@@ -76,7 +76,7 @@ import "./links-CSaUKNKm.js";
|
|
|
76
76
|
import "./cli-utils-CX1oQ81G.js";
|
|
77
77
|
import "./help-format-BI_G2p1e.js";
|
|
78
78
|
import "./progress-CyPyGCDn.js";
|
|
79
|
-
import "./memory-cli-
|
|
79
|
+
import "./memory-cli-DfW-A_QO.js";
|
|
80
80
|
import "./logging-B5YNzZB9.js";
|
|
81
81
|
import "./replies-B2O2eRh6.js";
|
|
82
82
|
import "./pi-tools.policy-Dyx3nBmp.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Zt as getPrimaryCommand, en as hasHelpOrVersion } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-Yhn2bUmt.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-BsJUgbDb.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-BzIJn1Lg.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -42,7 +42,7 @@ const coreEntries = [
|
|
|
42
42
|
hasSubcommands: false
|
|
43
43
|
}],
|
|
44
44
|
register: async ({ program }) => {
|
|
45
|
-
(await import("./register.configure-
|
|
45
|
+
(await import("./register.configure-CJ8DVLfn.js")).registerConfigureCommand(program);
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: true
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./config-cli-
|
|
55
|
+
(await import("./config-cli-Ce0FG7iI.js")).registerConfigCli(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-C9VugUAp.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -89,7 +89,7 @@ const coreEntries = [
|
|
|
89
89
|
hasSubcommands: true
|
|
90
90
|
}],
|
|
91
91
|
register: async ({ program, ctx }) => {
|
|
92
|
-
(await import("./register.message-
|
|
92
|
+
(await import("./register.message-BYoMS5CB.js")).registerMessageCommands(program, ctx);
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
{
|
|
@@ -99,7 +99,7 @@ const coreEntries = [
|
|
|
99
99
|
hasSubcommands: true
|
|
100
100
|
}],
|
|
101
101
|
register: async ({ program }) => {
|
|
102
|
-
(await import("./memory-cli-
|
|
102
|
+
(await import("./memory-cli-Xhj74cTT.js").then((n) => n.t)).registerMemoryCli(program);
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
{
|
|
@@ -113,7 +113,7 @@ const coreEntries = [
|
|
|
113
113
|
hasSubcommands: true
|
|
114
114
|
}],
|
|
115
115
|
register: async ({ program, ctx }) => {
|
|
116
|
-
(await import("./register.agent-
|
|
116
|
+
(await import("./register.agent-BdAFrDZP.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -135,7 +135,7 @@ const coreEntries = [
|
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
137
|
register: async ({ program }) => {
|
|
138
|
-
(await import("./register.status-health-sessions-
|
|
138
|
+
(await import("./register.status-health-sessions-B8sNB-yT.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
3
3
|
import { f as pathExists } from "./utils-BU8jVQFM.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
5
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-BUekmPwY.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { jt as pathExists, l as routeLogsToStderr, vt as resolveStateDir } from "./entry.js";
|
|
3
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
4
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
3
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-Yhn2bUmt.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-HlICZbMN.js";
|
|
5
5
|
import { t as getProgramContext } from "./program-context-BFKw4l9I.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -201,7 +201,7 @@ async function runConfigUnset(opts) {
|
|
|
201
201
|
}
|
|
202
202
|
function registerConfigCli(program) {
|
|
203
203
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.symi.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
204
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
204
|
+
const { configureCommandFromSectionsArg } = await import("./configure-c96EHRee.js").then((n) => n.t);
|
|
205
205
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
206
206
|
});
|
|
207
207
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -206,7 +206,7 @@ async function runConfigUnset(opts) {
|
|
|
206
206
|
}
|
|
207
207
|
function registerConfigCli(program) {
|
|
208
208
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.symi.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
209
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
209
|
+
const { configureCommandFromSectionsArg } = await import("./configure-Dj3xQ-cs.js").then((n) => n.t);
|
|
210
210
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
211
211
|
});
|
|
212
212
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -12,7 +12,7 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
12
12
|
import { t as note$1 } from "./note-CHrtEumO.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-CPtDKw-j.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-CWQQn_CK.js";
|
|
15
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
15
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-C6BRMuCW.js";
|
|
16
16
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BpfA4d6Q.js";
|
|
17
17
|
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-CHfdRdZR.js";
|
|
18
18
|
import { t as resolveGatewayService } from "./service-AP9pR9R5.js";
|
|
@@ -20,7 +20,7 @@ import { r as healthCommand } from "./health-D8cKia4i.js";
|
|
|
20
20
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DUhvOLUL.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-B96FQvnn.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-D8GvjOBX.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-Di69jPrV.js";
|
|
24
24
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-CV56GE8A.js";
|
|
25
25
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-PqG8iGCt.js";
|
|
26
26
|
import { a as promptCustomApiConfig } from "./onboard-custom-B2fJvyxt.js";
|
|
@@ -10,7 +10,7 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
10
10
|
import { t as note$1 } from "./note-DKRm9hYC.js";
|
|
11
11
|
import { t as WizardCancelledError } from "./prompts-fhztJPuZ.js";
|
|
12
12
|
import { t as createClackPrompter } from "./clack-prompter-Cm3OvXXT.js";
|
|
13
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
13
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-CXpGsHLr.js";
|
|
14
14
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-2Y9RfgcP.js";
|
|
15
15
|
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-Bm-oyLWy.js";
|
|
16
16
|
import { t as resolveGatewayService } from "./service-BIixwO-v.js";
|
|
@@ -18,7 +18,7 @@ import { r as healthCommand } from "./health-DdzNc1yA.js";
|
|
|
18
18
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B5BrwGRs.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-BeA4q4J_.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DBfm0y9l.js";
|
|
21
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
21
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-BfSOQfbj.js";
|
|
22
22
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-4NUXHy8M.js";
|
|
23
23
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BM4qvprK.js";
|
|
24
24
|
import { a as promptCustomApiConfig } from "./onboard-custom-DcZ2SEUv.js";
|