@symerian/symi 2.6.20 → 2.6.21
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/{agents-p4UQ5QFH.js → agents-CZaT6WIB.js} +4 -4
- package/dist/{agents.config-DDFFWWKf.js → agents.config-5CYVA8Hd.js} +1 -1
- package/dist/{agents.config-D7aaLeuW.js → agents.config-DMGQYe5Q.js} +1 -1
- package/dist/{audio-preflight-C40mKAp7.js → audio-preflight-CPBOQV4I.js} +4 -4
- package/dist/{auth-choice-BXoSDb_9.js → auth-choice-BZ-VvXy8.js} +1 -1
- package/dist/{auth-choice-DeYYQOns.js → auth-choice-CPp0BHDW.js} +1 -1
- package/dist/{banner-_OS2xmMF.js → banner-DnIUGyR6.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-D9UfDD9j.js → channel-options-C8jRwsJ_.js} +1 -1
- package/dist/{channel-options-CbZIcMGC.js → channel-options-DdOD0YNT.js} +1 -1
- package/dist/{channel-web-L1DDfHzk.js → channel-web-CcHnfKee.js} +1 -1
- package/dist/{channels-cli-4GM5fqNa.js → channels-cli-BRYQ2M9c.js} +4 -4
- package/dist/{channels-cli-CXa7mgR9.js → channels-cli-BT9ku2d9.js} +4 -4
- package/dist/{chrome-CDJYxX5a.js → chrome-D2SKJnR7.js} +7 -7
- package/dist/{cli-C8QNJgG8.js → cli-Ce52IuiN.js} +1 -1
- package/dist/{cli-B-wwaV4Y.js → cli-Dci3THZr.js} +1 -1
- package/dist/{command-registry-DXdP9h9E.js → command-registry-S9YUi0ss.js} +9 -9
- package/dist/{completion-cli-BqsjyQ-I.js → completion-cli-3BdNxUMh.js} +1 -1
- package/dist/{completion-cli-hQmnRt3u.js → completion-cli-_BrPWIk6.js} +2 -2
- package/dist/{config-cli-i08FMBVe.js → config-cli-CpwArAa6.js} +1 -1
- package/dist/{config-cli-DvqG-E-3.js → config-cli-N-3Rs_EV.js} +1 -1
- package/dist/{configure-DKc61kbD.js → configure-BSQ1A_u4.js} +3 -3
- package/dist/{configure-Cxa5EWql.js → configure-CqzJZ6cW.js} +3 -3
- package/dist/control-ui/js/render.js +12 -6
- package/dist/{deliver-BH0l3UKW.js → deliver-C-37cZUe.js} +1 -1
- package/dist/{doctor-completion-Dq3zKXdh.js → doctor-completion-BXq5WO3e.js} +1 -1
- package/dist/{doctor-completion-C9CcD8pq.js → doctor-completion-BckdZxb9.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-CxzaL9HR.js → gateway-cli-BKTA2AwU.js} +9 -9
- package/dist/{gateway-cli-D4JEZSb9.js → gateway-cli-DzogxqEL.js} +9 -9
- package/dist/{glass-ui-ws-D4Dqbeuw.js → glass-ui-ws-BMBCZSmn.js} +7 -7
- package/dist/{glass-ui-ws-KXmUDlRi.js → glass-ui-ws-C-g_dxDZ.js} +7 -7
- package/dist/{health-B8uQe9CP.js → health-DyYKe0PU.js} +1 -1
- package/dist/{health-8DlAtuas.js → health-dUpSaCiK.js} +1 -1
- package/dist/{hooks-cli-BAM_LcfL.js → hooks-cli-DO27Q0Tl.js} +2 -2
- package/dist/{hooks-cli-B7qROHCQ.js → hooks-cli-DaZZtW3X.js} +2 -2
- package/dist/{image-CHzdaNJ4.js → image-DcpMiprB.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-xTtbDVki.js → models-DWuFQk1_.js} +2 -2
- package/dist/{models-cli-BFkooNFz.js → models-cli-BysbDjT_.js} +3 -3
- package/dist/{models-cli-DwXzh6z6.js → models-cli-DgmYQV8m.js} +2 -2
- package/dist/{onboard-8nBHoLPU.js → onboard-BhopF_nb.js} +2 -2
- package/dist/{onboard-D9GAiRIO.js → onboard-OD8essgN.js} +2 -2
- package/dist/{onboard-channels-pSqXeoTx.js → onboard-channels-BxvQtyYH.js} +1 -1
- package/dist/{onboard-channels-G9yKy7Ui.js → onboard-channels-z4Uti7yg.js} +1 -1
- package/dist/{onboarding-C8K3ipt8.js → onboarding-BLjfVkjR.js} +3 -3
- package/dist/{onboarding-Wha0uWD5.js → onboarding-wOaqG71g.js} +3 -3
- package/dist/{onboarding.finalize-CC_hOdGz.js → onboarding.finalize-7nDfLTbn.js} +5 -5
- package/dist/{onboarding.finalize-CPqgV8GM.js → onboarding.finalize-D3HOebIf.js} +6 -6
- package/dist/{pi-embedded-9mHDXoCz.js → pi-embedded-YVZKY_Fx.js} +21 -31
- package/dist/{pi-embedded-helpers-lgx_U5KS.js → pi-embedded-helpers-B8kqLWns.js} +4 -4
- package/dist/{plugin-registry-8Diq8Bpt.js → plugin-registry-BJzkHJ7r.js} +1 -1
- package/dist/{plugin-registry-8qRWG0zs.js → plugin-registry-Dxq6zQv-.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CVpBWp5N.js → channel-web-y5QaX6GR.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-qc0sy-0a.js → reply-Dsz8SoyG.js} +7 -17
- package/dist/plugin-sdk/{web-BRiKjFQe.js → web--95Tj_hv.js} +2 -2
- package/dist/{plugins-cli-DSVlBtQR.js → plugins-cli-B4KWysEg.js} +2 -2
- package/dist/{plugins-cli-BsGLF2yJ.js → plugins-cli-BEGdBzkV.js} +2 -2
- package/dist/{program-DXDaxm5S.js → program-Oc5snxnS.js} +7 -7
- package/dist/{program-context-0iUzRT8G.js → program-context-CSpR6ryN.js} +17 -17
- package/dist/{prompt-select-styled-B9Vx6n4u.js → prompt-select-styled-Cqj_1K21.js} +4 -4
- package/dist/{prompt-select-styled-BTsilnfC.js → prompt-select-styled-gHjx_jUt.js} +4 -4
- package/dist/{provider-auth-helpers-Ta9EaBo3.js → provider-auth-helpers-BZs4hnfR.js} +1 -1
- package/dist/{provider-auth-helpers-DEqcL4cK.js → provider-auth-helpers-BevVP3-V.js} +1 -1
- package/dist/{push-apns-ivn-KjGr.js → push-apns-Br1gW9_d.js} +1 -1
- package/dist/{push-apns-_7NSUBR2.js → push-apns-DFL18MGz.js} +1 -1
- package/dist/{pw-ai-De-KR9_s.js → pw-ai-1htA-NnS.js} +1 -1
- package/dist/{register.agent-BR0TqnOO.js → register.agent-C6S0QEWo.js} +5 -5
- package/dist/{register.agent-BKM1SK6p.js → register.agent-CB6rW5Zg.js} +6 -6
- package/dist/{register.configure-B5vBXQB9.js → register.configure-CbH1hJ_1.js} +6 -6
- package/dist/{register.configure-BIiuwamc.js → register.configure-DqsXKWga.js} +6 -6
- package/dist/{register.maintenance-CQMV0_xM.js → register.maintenance-Bf2gxts7.js} +8 -8
- package/dist/{register.maintenance-CzpoyDDR.js → register.maintenance-DeZoxJIW.js} +7 -7
- package/dist/{register.message-Dg0DcwTW.js → register.message-BKpaTg-S.js} +2 -2
- package/dist/{register.message-DCx7M65y.js → register.message-BUvXx9br.js} +2 -2
- package/dist/{register.onboard-BWoUYNe1.js → register.onboard-C5eHpvtL.js} +4 -4
- package/dist/{register.onboard-BG0dlbOM.js → register.onboard-CYU37dmi.js} +4 -4
- package/dist/{register.setup-BsA9V9Zh.js → register.setup-B9CBQjEN.js} +4 -4
- package/dist/{register.setup-BlhLiXjH.js → register.setup-CHVvh2PQ.js} +4 -4
- package/dist/{register.status-health-sessions-DnPQ6EbH.js → register.status-health-sessions-B_jOF8uD.js} +3 -3
- package/dist/{register.status-health-sessions-DMBqK6OA.js → register.status-health-sessions-PIMw1UCn.js} +3 -3
- package/dist/{register.subclis-nswajsbE.js → register.subclis-DuPaRiS4.js} +9 -9
- package/dist/{reply-DU025-Dw.js → reply-BlBH8dSQ.js} +7 -17
- package/dist/{run-main-DjiZHV0H.js → run-main-CGov6IAe.js} +14 -14
- package/dist/{runner-DUBExAb5.js → runner-BcQ0sF9T.js} +1 -1
- package/dist/{server-methods-BefrlQc3.js → server-methods-CBqxBVGT.js} +7 -7
- package/dist/{server-methods-CrPLWtui.js → server-methods-DFW_3AHP.js} +7 -7
- package/dist/{server-node-events-CKYqZ_QS.js → server-node-events-CxJPK9FR.js} +2 -2
- package/dist/{server-node-events-CjsIxKpS.js → server-node-events-Wzxr7YBf.js} +2 -2
- package/dist/{status-DWpakHjS.js → status-B36MB5zR.js} +1 -1
- package/dist/{status-eergZLRZ.js → status-Dxjiiwky.js} +2 -2
- package/dist/{status-BWaIkbur.js → status-ZFwGChtz.js} +1 -1
- package/dist/{status-iuYHrvPw.js → status-rn33Fd13.js} +2 -2
- package/dist/{subagent-registry-C-JJ2VmR.js → subagent-registry-Bo9roElD.js} +7 -17
- package/dist/{unified-runner-BEC009tx.js → unified-runner-D-hgUX36.js} +7 -17
- package/dist/{update-cli-C1B-X-g-.js → update-cli-CuXMzC8-.js} +8 -8
- package/dist/{update-cli-BEQF9OZ6.js → update-cli-D9cq8N1u.js} +7 -7
- package/dist/{update-runner-zv3kaly2.js → update-runner-CE9ZcI8F.js} +1 -1
- package/dist/{update-runner-Dnq8KGjY.js → update-runner-CJ1spiae.js} +1 -1
- package/dist/{web-Dkz9WSaL.js → web-B6vw5hrG.js} +6 -6
- package/dist/{web-BUXU8aHt.js → web-BBSSSOl9.js} +1 -1
- package/dist/{web-DLKmJqCG.js → web-BJaoBL8P.js} +2 -2
- package/dist/{web-B5ciapWd.js → web-Byte6Exg.js} +1 -1
- package/package.json +1 -1
|
@@ -5,19 +5,19 @@ import { t as formatCliCommand } from "./command-format-BtYOfWxC.js";
|
|
|
5
5
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DjZ7Z1hW.js";
|
|
6
6
|
import { c as resolveAgentWorkspaceDir, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-D-jRCY0d.js";
|
|
7
7
|
import { l as writeConfigFile } from "./config-DHBLS1Hl.js";
|
|
8
|
-
import { j as parseIdentityMarkdown, k as identityHasValues } from "./subagent-registry-
|
|
8
|
+
import { j as parseIdentityMarkdown, k as identityHasValues } from "./subagent-registry-Bo9roElD.js";
|
|
9
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CwSlLxM8.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-_pit1NZW.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-B1aVoXd5.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-cLP5YLeQ.js";
|
|
15
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
15
|
+
import { r as setupChannels } from "./onboard-channels-BxvQtyYH.js";
|
|
16
16
|
import { t as requireValidConfigSnapshot } from "./config-validation-BITwrsxY.js";
|
|
17
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-5CYVA8Hd.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DVcYPG2v.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-BZ-VvXy8.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-DjZ7Z1hW.js";
|
|
2
2
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-D-jRCY0d.js";
|
|
3
|
-
import { A as loadAgentIdentityFromWorkspace, k as identityHasValues } from "./subagent-registry-
|
|
3
|
+
import { A as loadAgentIdentityFromWorkspace, k as identityHasValues } from "./subagent-registry-Bo9roElD.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Qt as loadAgentIdentityFromWorkspace, Zt as identityHasValues } from "./reply-
|
|
1
|
+
import { Qt as loadAgentIdentityFromWorkspace, Zt as identityHasValues } from "./reply-BlBH8dSQ.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-CgUHAtCo.js";
|
|
4
4
|
|
|
@@ -12,10 +12,10 @@ import "./accounts-8zZqL37v.js";
|
|
|
12
12
|
import "./image-ops-ByaQt43P.js";
|
|
13
13
|
import "./pi-model-discovery-j5tVLINv.js";
|
|
14
14
|
import "./message-channel-BQINJQIT.js";
|
|
15
|
-
import "./pi-embedded-helpers-
|
|
15
|
+
import "./pi-embedded-helpers-B8kqLWns.js";
|
|
16
16
|
import "./config-BmV60pPT.js";
|
|
17
17
|
import "./manifest-registry-D-mTF1cj.js";
|
|
18
|
-
import "./chrome-
|
|
18
|
+
import "./chrome-D2SKJnR7.js";
|
|
19
19
|
import "./skills-BNpGMnp-.js";
|
|
20
20
|
import "./redact-1NGYV_8p.js";
|
|
21
21
|
import "./errors-CPfngF0S.js";
|
|
@@ -25,10 +25,10 @@ import "./thinking-W85Rb32m.js";
|
|
|
25
25
|
import "./accounts-DImOt9jX.js";
|
|
26
26
|
import "./paths-DkMamAQ-.js";
|
|
27
27
|
import "./tool-images-ChC2CXaN.js";
|
|
28
|
-
import "./image-
|
|
28
|
+
import "./image-DcpMiprB.js";
|
|
29
29
|
import "./gemini-auth-CSlZZ1Pw.js";
|
|
30
30
|
import "./local-roots-CC8jiKDk.js";
|
|
31
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
31
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-BcQ0sF9T.js";
|
|
32
32
|
|
|
33
33
|
//#region src/media-understanding/audio-preflight.ts
|
|
34
34
|
/**
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-CqCsARJX.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-_pit1NZW.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-CknE1f0w.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-Cmrk2TPo.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-BZs4hnfR.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-DAwnTUcK.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-D5nCutGW.js";
|
|
12
12
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-DvBJ8pMD.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-ZmZYzlq3.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-HSYin9n7.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-BnOynwk4.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-BevVP3-V.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-DMjQRsb1.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-Ddo3jHe-.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dt as theme, Et as isRich, h as visibleWidth, ln as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { un as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { un as resolveCommitHash } from "./subagent-registry-Bo9roElD.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,7 +4,7 @@ import { b as isGatewayStartupEvent } from "../../registry-DYq1AYOv.js";
|
|
|
4
4
|
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-scope-CpEJ0B88.js";
|
|
5
5
|
import { r as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-BjyjJF-d.js";
|
|
6
6
|
import "../../workspace-DscDraUb.js";
|
|
7
|
-
import { a as createDefaultDeps, i as agentCommand } from "../../unified-runner-
|
|
7
|
+
import { a as createDefaultDeps, i as agentCommand } from "../../unified-runner-D-hgUX36.js";
|
|
8
8
|
import { s as resolveStorePath } from "../../paths-CbQV9WEg.js";
|
|
9
9
|
import "../../auth-profiles-DdK1Hxaa.js";
|
|
10
10
|
import "../../env-BDXYbTKj.js";
|
|
@@ -4,7 +4,7 @@ import "../../registry-DYq1AYOv.js";
|
|
|
4
4
|
import { s as resolveAgentWorkspaceDir } from "../../agent-scope-CpEJ0B88.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "../../subsystem-BjyjJF-d.js";
|
|
6
6
|
import "../../workspace-DscDraUb.js";
|
|
7
|
-
import "../../unified-runner-
|
|
7
|
+
import "../../unified-runner-D-hgUX36.js";
|
|
8
8
|
import "../../paths-CbQV9WEg.js";
|
|
9
9
|
import "../../auth-profiles-DdK1Hxaa.js";
|
|
10
10
|
import "../../env-BDXYbTKj.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6c9e2de1e8766e0d811232e0805648d207968879a9a7436105fa9f0623fbab39
|
|
@@ -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-CwSlLxM8.js";
|
|
3
3
|
import { r as listChannelPluginCatalogEntries } from "./catalog-DLQFKucJ.js";
|
|
4
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
4
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-Dxq6zQv-.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-Cja8eT7G.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-DPCHYPeH.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-DKDeQZF0.js";
|
|
4
4
|
import { r as listChannelPluginCatalogEntries } from "./catalog-RiADx7MA.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-BJzkHJ7r.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as sleep, F as shouldLogVerbose, M as logVerbose, T as toWhatsappJid, V as getChildLogger, f as isSelfChatMode, m as normalizeE164, p as jidToE164, r as clamp, v as resolveJidToE164 } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { Cn as shouldComputeCommandAuthorized, Dn as normalizeMentionText, En as buildMentionRegexes, Sn as hasControlCommand, Tt as sleepWithAbort, _n as createInboundDebouncer, an as buildPairingReply, bn as resolveEnvelopeFormatOptions, cn as buildHistoryContextFromEntries, dn as dispatchReplyWithBufferedBlockDispatcher, gn as createDedupeCache, ht as parseActivationCommand, ln as recordPendingHistoryEntryIfEnabled, mt as normalizeGroupActivation, on as resolveMentionGating, sn as DEFAULT_GROUP_HISTORY_LIMIT, t as getReplyFromConfig, un as shouldAckReactionForWhatsApp, vn as resolveInboundDebounceMs, wt as computeBackoff, xr as enqueueSystemEvent, yn as formatInboundEnvelope } from "./reply-
|
|
2
|
+
import { Cn as shouldComputeCommandAuthorized, Dn as normalizeMentionText, En as buildMentionRegexes, Sn as hasControlCommand, Tt as sleepWithAbort, _n as createInboundDebouncer, an as buildPairingReply, bn as resolveEnvelopeFormatOptions, cn as buildHistoryContextFromEntries, dn as dispatchReplyWithBufferedBlockDispatcher, gn as createDedupeCache, ht as parseActivationCommand, ln as recordPendingHistoryEntryIfEnabled, mt as normalizeGroupActivation, on as resolveMentionGating, sn as DEFAULT_GROUP_HISTORY_LIMIT, t as getReplyFromConfig, un as shouldAckReactionForWhatsApp, vn as resolveInboundDebounceMs, wt as computeBackoff, xr as enqueueSystemEvent, yn as formatInboundEnvelope } from "./reply-BlBH8dSQ.js";
|
|
3
3
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
@@ -15,7 +15,7 @@ import "./client-DMBZpU6X.js";
|
|
|
15
15
|
import { n as callGateway } from "./call-BcE47FtD.js";
|
|
16
16
|
import "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import { h as deleteTelegramUpdateOffset, in as formatUsageReportLines, rn as loadProviderUsageSummary } from "./subagent-registry-
|
|
18
|
+
import { h as deleteTelegramUpdateOffset, in as formatUsageReportLines, rn as loadProviderUsageSummary } from "./subagent-registry-Bo9roElD.js";
|
|
19
19
|
import "./sessions-CJXnZVjR.js";
|
|
20
20
|
import "./tokens-Csntmwwn.js";
|
|
21
21
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, u as resolveTelegramAccount } from "./plugins-CwSlLxM8.js";
|
|
@@ -110,13 +110,13 @@ import "./install-safe-path-BK8js28D.js";
|
|
|
110
110
|
import "./npm-registry-spec-DkaZNHAW.js";
|
|
111
111
|
import "./skill-scanner-BGWOBqLY.js";
|
|
112
112
|
import "./installs-CgQpVncj.js";
|
|
113
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
113
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-BxvQtyYH.js";
|
|
114
114
|
import { t as requireValidConfigSnapshot } from "./config-validation-BITwrsxY.js";
|
|
115
115
|
import { t as buildChannelAccountSnapshot } from "./status-BUedPCLb.js";
|
|
116
116
|
import { t as parseLogLine } from "./parse-log-line-C6yJx969.js";
|
|
117
117
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-c7qZbYG5.js";
|
|
118
|
-
import "./plugin-registry-
|
|
119
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
118
|
+
import "./plugin-registry-Dxq6zQv-.js";
|
|
119
|
+
import { t as formatCliChannelOptions } from "./channel-options-C8jRwsJ_.js";
|
|
120
120
|
import fs from "node:fs/promises";
|
|
121
121
|
|
|
122
122
|
//#region src/commands/channels/add-mutators.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, O as danger, P as setVerbose, U as getResolvedLoggerSettings, d as isRecord } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { _t as formatUsageReportLines, gt as loadProviderUsageSummary, pt as deleteTelegramUpdateOffset } from "./reply-
|
|
4
|
+
import { _t as formatUsageReportLines, gt as loadProviderUsageSummary, pt as deleteTelegramUpdateOffset } from "./reply-BlBH8dSQ.js";
|
|
5
5
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import { r as DEFAULT_CHAT_CHANNEL } from "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
@@ -105,8 +105,8 @@ import "./control-service-Bz7rxLWq.js";
|
|
|
105
105
|
import "./stagger-BUClb97_.js";
|
|
106
106
|
import { n as resolveMessageChannelSelection } from "./channel-selection-DuWs0Aak.js";
|
|
107
107
|
import { r as listChannelPluginCatalogEntries } from "./catalog-RiADx7MA.js";
|
|
108
|
-
import "./plugin-registry-
|
|
109
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
108
|
+
import "./plugin-registry-BJzkHJ7r.js";
|
|
109
|
+
import { t as formatCliChannelOptions } from "./channel-options-DdOD0YNT.js";
|
|
110
110
|
import { t as hasExplicitOptions } from "./command-options-BtDai3oC.js";
|
|
111
111
|
import "./note-DeHoW7xO.js";
|
|
112
112
|
import { t as createClackPrompter } from "./clack-prompter-B7pN13HV.js";
|
|
@@ -116,7 +116,7 @@ import "./install-safe-path-tCLiMpmO.js";
|
|
|
116
116
|
import "./npm-registry-spec-C2JDdSZS.js";
|
|
117
117
|
import "./skill-scanner-CLs8u6vQ.js";
|
|
118
118
|
import "./installs-C1Cebk97.js";
|
|
119
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
119
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-z4Uti7yg.js";
|
|
120
120
|
import { t as requireValidConfigSnapshot } from "./config-validation-CmimHAES.js";
|
|
121
121
|
import { t as buildChannelAccountSnapshot } from "./status-BrV-afZE.js";
|
|
122
122
|
import { t as parseLogLine } from "./parse-log-line-BHCUQaF3.js";
|
|
@@ -10,7 +10,7 @@ import fs$1 from "node:fs/promises";
|
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
11
|
import net from "node:net";
|
|
12
12
|
import { createServer } from "node:http";
|
|
13
|
-
import WebSocket
|
|
13
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
14
14
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
15
15
|
|
|
16
16
|
//#region src/browser/constants.ts
|
|
@@ -178,7 +178,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
178
178
|
let nextExtensionId = 1;
|
|
179
179
|
const sendToExtension = async (payload) => {
|
|
180
180
|
const ws = extensionWs;
|
|
181
|
-
if (!ws || ws.readyState !== WebSocket
|
|
181
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
182
182
|
ws.send(JSON.stringify(payload));
|
|
183
183
|
return await new Promise((resolve, reject) => {
|
|
184
184
|
const timer = setTimeout(() => {
|
|
@@ -195,12 +195,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
195
195
|
const broadcastToCdpClients = (evt) => {
|
|
196
196
|
const msg = JSON.stringify(evt);
|
|
197
197
|
for (const ws of cdpClients) {
|
|
198
|
-
if (ws.readyState !== WebSocket
|
|
198
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
199
199
|
ws.send(msg);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
const sendResponseToCdp = (ws, res) => {
|
|
203
|
-
if (ws.readyState !== WebSocket
|
|
203
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
204
204
|
ws.send(JSON.stringify(res));
|
|
205
205
|
};
|
|
206
206
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -425,7 +425,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
425
425
|
wssExtension.on("connection", (ws) => {
|
|
426
426
|
extensionWs = ws;
|
|
427
427
|
const ping = setInterval(() => {
|
|
428
|
-
if (ws.readyState !== WebSocket
|
|
428
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
429
429
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
430
430
|
}, 5e3);
|
|
431
431
|
ws.on("message", (data) => {
|
|
@@ -743,7 +743,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
743
743
|
}
|
|
744
744
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
745
745
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
746
|
-
const ws = new WebSocket
|
|
746
|
+
const ws = new WebSocket(wsUrl, {
|
|
747
747
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
748
748
|
...Object.keys(headers).length ? { headers } : {}
|
|
749
749
|
});
|
|
@@ -1637,7 +1637,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1637
1637
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1638
1638
|
return await new Promise((resolve) => {
|
|
1639
1639
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1640
|
-
const ws = new WebSocket
|
|
1640
|
+
const ws = new WebSocket(wsUrl, {
|
|
1641
1641
|
handshakeTimeout: timeoutMs,
|
|
1642
1642
|
...Object.keys(headers).length ? { headers } : {}
|
|
1643
1643
|
});
|
|
@@ -13,7 +13,7 @@ import "./client-DMBZpU6X.js";
|
|
|
13
13
|
import "./call-BcE47FtD.js";
|
|
14
14
|
import "./message-channel-C9dERklz.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
16
|
+
import { m as loadSymiPlugins } from "./subagent-registry-Bo9roElD.js";
|
|
17
17
|
import "./sessions-CJXnZVjR.js";
|
|
18
18
|
import "./tokens-Csntmwwn.js";
|
|
19
19
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { ft as loadSymiPlugins } from "./reply-
|
|
4
|
+
import { ft as loadSymiPlugins } from "./reply-BlBH8dSQ.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { an as getPrimaryCommand, cn 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-DuPaRiS4.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-B9CBQjEN.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-C5eHpvtL.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-DqsXKWga.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-CpwArAa6.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-Bf2gxts7.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-BUvXx9br.js")).registerMessageCommands(program, ctx);
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
{
|
|
@@ -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-CB6rW5Zg.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-PIMw1UCn.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-Cqn-zk3M.js";
|
|
3
3
|
import { h as pathExists } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-D9vIQve0.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-CSpR6ryN.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
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 { Yt as resolveStateDir, l as routeLogsToStderr, nt as pathExists } 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-DuPaRiS4.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-S9YUi0ss.js";
|
|
5
5
|
import { t as getProgramContext } from "./program-context-CqzR_m-7.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-BSQ1A_u4.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-CqzJZ6cW.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) => {
|
|
@@ -11,14 +11,14 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
11
11
|
import { t as note$1 } from "./note-DDecZomM.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-B1aVoXd5.js";
|
|
14
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
14
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-BxvQtyYH.js";
|
|
15
15
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CfRwa6qh.js";
|
|
16
16
|
import { t as resolveGatewayService } from "./service-Cm9j9WzQ.js";
|
|
17
|
-
import { r as healthCommand } from "./health-
|
|
17
|
+
import { r as healthCommand } from "./health-dUpSaCiK.js";
|
|
18
18
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BseSWee1.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DVcYPG2v.js";
|
|
21
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
21
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-BZ-VvXy8.js";
|
|
22
22
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-D5nCutGW.js";
|
|
23
23
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DA_LW52P.js";
|
|
24
24
|
import { a as promptCustomApiConfig } from "./onboard-custom-DdWPfzJO.js";
|
|
@@ -13,14 +13,14 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
13
13
|
import { t as note$1 } from "./note-DeHoW7xO.js";
|
|
14
14
|
import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
|
|
15
15
|
import { t as createClackPrompter } from "./clack-prompter-B7pN13HV.js";
|
|
16
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-z4Uti7yg.js";
|
|
17
17
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-2mwX-jqj.js";
|
|
18
18
|
import { t as resolveGatewayService } from "./service-Cl74hx8J.js";
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
19
|
+
import { r as healthCommand } from "./health-DyYKe0PU.js";
|
|
20
20
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Z947tKLt.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-BLzEBA1v.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-CPp0BHDW.js";
|
|
24
24
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-Ddo3jHe-.js";
|
|
25
25
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-aQ75ZlXY.js";
|
|
26
26
|
import { a as promptCustomApiConfig } from "./onboard-custom-C7O-zfQ1.js";
|
|
@@ -289,7 +289,11 @@ window.copyCode = async (btn) => {
|
|
|
289
289
|
};
|
|
290
290
|
|
|
291
291
|
// ── Model token stripping (defense-in-depth for server-side filter) ──
|
|
292
|
-
|
|
292
|
+
// These patterns are Gemma-specific control tokens. Only apply when the
|
|
293
|
+
// active profile does NOT have structured thinking (i.e. Gemma/Ollama).
|
|
294
|
+
// Models with native thinking (Claude, Nemotron) don't leak these tokens
|
|
295
|
+
// and the regexes can corrupt legitimate output if applied blindly.
|
|
296
|
+
const GEMMA_STRIP_TOKENS = [
|
|
293
297
|
/<\|channel>\w*/gi,
|
|
294
298
|
/<channel\|>/gi,
|
|
295
299
|
/<start_of_turn>(?:model|user)?/gi,
|
|
@@ -299,16 +303,18 @@ const ALWAYS_STRIP_TOKENS = [
|
|
|
299
303
|
];
|
|
300
304
|
|
|
301
305
|
function stripModelTokensClient(text) {
|
|
306
|
+
const profile = window.activeModelProfile;
|
|
302
307
|
let cleaned = text;
|
|
303
308
|
|
|
304
|
-
//
|
|
305
|
-
|
|
306
|
-
re
|
|
307
|
-
|
|
309
|
+
// Only strip Gemma control tokens for models that need it
|
|
310
|
+
if (!profile?.filters?.hasStructuredThinking) {
|
|
311
|
+
for (const re of GEMMA_STRIP_TOKENS) {
|
|
312
|
+
re.lastIndex = 0;
|
|
313
|
+
cleaned = cleaned.replace(re, "");
|
|
314
|
+
}
|
|
308
315
|
}
|
|
309
316
|
|
|
310
317
|
// Profile-specific patterns on top
|
|
311
|
-
const profile = window.activeModelProfile;
|
|
312
318
|
if (profile?.filters?.stripPatterns?.length) {
|
|
313
319
|
for (const pat of profile.filters.stripPatterns) {
|
|
314
320
|
try {
|
|
@@ -5,7 +5,7 @@ import { c as getActivePluginRegistry, v as createInternalHookEvent, y as trigge
|
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-CZixfwU8.js";
|
|
6
6
|
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-Cn6drXx2.js";
|
|
7
7
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-71oIavrF.js";
|
|
8
|
-
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-
|
|
8
|
+
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-B8kqLWns.js";
|
|
9
9
|
import { d as getChannelDock } from "./thinking-W85Rb32m.js";
|
|
10
10
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-DTMTDXwE.js";
|
|
11
11
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-DawaaZEe.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-COaS-S7B.js";
|
|
3
3
|
import { t as note } from "./note-DeHoW7xO.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-3BdNxUMh.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-BtYOfWxC.js";
|
|
2
2
|
import { t as resolveSymiPackageRoot } from "./symi-root-BNuQ4lAT.js";
|
|
3
3
|
import { t as note } from "./note-DDecZomM.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-_BrPWIk6.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -2500,7 +2500,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
2500
2500
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2501
2501
|
process$1.argv = parsed.argv;
|
|
2502
2502
|
}
|
|
2503
|
-
import("./run-main-
|
|
2503
|
+
import("./run-main-CGov6IAe.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2504
2504
|
console.error("[symi] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2505
2505
|
process$1.exitCode = 1;
|
|
2506
2506
|
});
|
package/dist/extensionAPI.js
CHANGED
|
@@ -7,13 +7,13 @@ import { a as resolveAgentIdentity } from "./reply-prefix-K_J_nfgx.js";
|
|
|
7
7
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
8
8
|
import "./env-CQ_DQOwT.js";
|
|
9
9
|
import "./tokens-Cn6drXx2.js";
|
|
10
|
-
import { D as resolveAgentTimeoutMs, p as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { D as resolveAgentTimeoutMs, p as runEmbeddedPiAgent } from "./pi-embedded-YVZKY_Fx.js";
|
|
11
11
|
import "./plugins-71oIavrF.js";
|
|
12
12
|
import "./accounts-DDEyGwby.js";
|
|
13
13
|
import "./bindings-DYVakimr.js";
|
|
14
14
|
import "./send-D-hWrHoH.js";
|
|
15
15
|
import "./send-C1IYd3g7.js";
|
|
16
|
-
import "./deliver-
|
|
16
|
+
import "./deliver-C-37cZUe.js";
|
|
17
17
|
import "./diagnostic-D0xmLpej.js";
|
|
18
18
|
import "./diagnostic-session-state-C1vRJs5w.js";
|
|
19
19
|
import "./accounts-8zZqL37v.js";
|
|
@@ -21,10 +21,10 @@ import "./send-C4Ucr8ep.js";
|
|
|
21
21
|
import "./image-ops-ByaQt43P.js";
|
|
22
22
|
import "./pi-model-discovery-j5tVLINv.js";
|
|
23
23
|
import "./message-channel-BQINJQIT.js";
|
|
24
|
-
import { G as saveSessionStore, H as loadSessionStore } from "./pi-embedded-helpers-
|
|
24
|
+
import { G as saveSessionStore, H as loadSessionStore } from "./pi-embedded-helpers-B8kqLWns.js";
|
|
25
25
|
import "./config-BmV60pPT.js";
|
|
26
26
|
import "./manifest-registry-D-mTF1cj.js";
|
|
27
|
-
import "./chrome-
|
|
27
|
+
import "./chrome-D2SKJnR7.js";
|
|
28
28
|
import "./skills-BNpGMnp-.js";
|
|
29
29
|
import "./redact-1NGYV_8p.js";
|
|
30
30
|
import "./errors-CPfngF0S.js";
|
|
@@ -34,7 +34,7 @@ import "./thinking-W85Rb32m.js";
|
|
|
34
34
|
import "./accounts-DImOt9jX.js";
|
|
35
35
|
import { n as resolveSessionFilePath, s as resolveStorePath } from "./paths-DkMamAQ-.js";
|
|
36
36
|
import "./tool-images-ChC2CXaN.js";
|
|
37
|
-
import "./image-
|
|
37
|
+
import "./image-DcpMiprB.js";
|
|
38
38
|
import "./manager-jpn5vRTY.js";
|
|
39
39
|
import "./gemini-auth-CSlZZ1Pw.js";
|
|
40
40
|
import "./sqlite-BNh23mUR.js";
|
|
@@ -47,7 +47,7 @@ import "./ir-F0moAwIl.js";
|
|
|
47
47
|
import "./render-B1VqYyvo.js";
|
|
48
48
|
import "./commands-registry-C_aYUwpl.js";
|
|
49
49
|
import "./skill-commands-DklY7Cj7.js";
|
|
50
|
-
import "./runner-
|
|
50
|
+
import "./runner-BcQ0sF9T.js";
|
|
51
51
|
import "./fetch-DtLn7YU3.js";
|
|
52
52
|
import "./channel-activity-D9q-fIPB.js";
|
|
53
53
|
import "./tables-COnZ169v.js";
|