@symerian/symi 2.5.0 → 2.5.1
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-BEPfMqrg.js → agents-Cf7lxbx4.js} +4 -4
- package/dist/{agents.config-DPv-AmZD.js → agents.config-CsltNAhl.js} +1 -1
- package/dist/{agents.config-D60gMagv.js → agents.config-aAHTt-cM.js} +1 -1
- package/dist/{auth-choice-CTeG2A5P.js → auth-choice-Cy78Q2jy.js} +1 -1
- package/dist/{auth-choice-BeHaRQfM.js → auth-choice-wU5fEl73.js} +1 -1
- package/dist/{banner-DihS8WHF.js → banner-BRzyFiIY.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-BJphNYiq.js → channel-options-BcCKOiwh.js} +1 -1
- package/dist/{channel-options-D2Zf6a2L.js → channel-options-up8R2ST5.js} +1 -1
- package/dist/{channel-web-BnZ6c0_u.js → channel-web-CrH0yvww.js} +1 -1
- package/dist/{channels-cli-COMko9mZ.js → channels-cli-BiHu6J16.js} +4 -4
- package/dist/{channels-cli-CF9LDCSC.js → channels-cli-DG3sTlC7.js} +4 -4
- package/dist/{cli-DXpAHJS4.js → cli-BUkGaPzi.js} +1 -1
- package/dist/{cli-DYNTJxmZ.js → cli-YBkGYxfg.js} +1 -1
- package/dist/{command-registry-X_FmrHib.js → command-registry-YX9EbrJh.js} +9 -9
- package/dist/{completion-cli-Dhj0jCR_.js → completion-cli-Cm8iWdRA.js} +2 -2
- package/dist/{completion-cli-D1aObtjM.js → completion-cli-DZf03KrT.js} +1 -1
- package/dist/{config-cli-BrmaXVj4.js → config-cli-1PDMhq8v.js} +1 -1
- package/dist/{config-cli-BDpBT1b-.js → config-cli-Dx3mtUwm.js} +1 -1
- package/dist/{configure-oMqP6jIk.js → configure-DKN7f4VI.js} +3 -3
- package/dist/{configure-CkCFJCKp.js → configure-DZn4tz03.js} +3 -3
- package/dist/control-ui/js/render.js +4 -32
- package/dist/{doctor-completion-vhqAoURB.js → doctor-completion--aLGEAgK.js} +1 -1
- package/dist/{doctor-completion-wGoyzRH8.js → doctor-completion-D4SLAoAE.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-BBPEwiAc.js → gateway-cli-CMVvut5c.js} +11 -45
- package/dist/{gateway-cli-uDuGdJsH.js → gateway-cli-ZbqwB66o.js} +11 -45
- package/dist/{glass-ui-ws-TCkne4L4.js → glass-ui-ws-Bg6ek2Vs.js} +7 -7
- package/dist/{glass-ui-ws-DiqQflvy.js → glass-ui-ws-Cykb9Xv4.js} +7 -7
- package/dist/{health-1KsVR3eN.js → health-BMKu3MJz.js} +1 -1
- package/dist/{health-CPYlV7Zg.js → health-CGoPVhko.js} +1 -1
- package/dist/{hooks-cli-PKy2h3eb.js → hooks-cli-CFtgfZBU.js} +2 -2
- package/dist/{hooks-cli-CL266d2E.js → hooks-cli-CQUjUbF8.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-BsS_l1gY.js → models-BPJ5Z5tU.js} +2 -2
- package/dist/{models-cli-CmR7k-2e.js → models-cli-D9miPqtu.js} +2 -2
- package/dist/{models-cli-CvxkLybz.js → models-cli-I7FIJUNa.js} +3 -3
- package/dist/{onboard-Bgo_BcMo.js → onboard-BU6-iBln.js} +2 -2
- package/dist/{onboard-D2GpwLzg.js → onboard-CCZ5n-rI.js} +2 -2
- package/dist/{onboard-channels-BNTeFCna.js → onboard-channels-B188R3F1.js} +1 -1
- package/dist/{onboard-channels-3WFDi7Ts.js → onboard-channels-CaRYhl9J.js} +1 -1
- package/dist/{onboarding-BUumoJYB.js → onboarding-CNgU4kg8.js} +3 -3
- package/dist/{onboarding-CbkyewZp.js → onboarding-Gsj-iMyY.js} +3 -3
- package/dist/{onboarding.finalize-sESCY9Iq.js → onboarding.finalize-BvPgcu7R.js} +5 -5
- package/dist/{onboarding.finalize-B2_mgA4K.js → onboarding.finalize-C64KHESC.js} +6 -6
- package/dist/{pi-embedded-BIIdwXKr.js → pi-embedded-DXSWVPEZ.js} +3 -32
- package/dist/{pi-embedded-BOF7XlCO.js → pi-embedded-RoXbo73e.js} +3 -32
- package/dist/{plugin-registry-BDfC2z-e.js → plugin-registry-ByLEBcK_.js} +1 -1
- package/dist/{plugin-registry-IXa-nyg0.js → plugin-registry-dNrBrnR0.js} +1 -1
- package/dist/plugin-sdk/{channel-web-HznAZS1r.js → channel-web-Dn3ufSyq.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-DpnW-aMb.js → reply-DqjPcp_q.js} +3 -32
- package/dist/plugin-sdk/{web-CGNEXRkp.js → web-GvAx9MMo.js} +2 -2
- package/dist/{plugins-cli-DsYvb9az.js → plugins-cli-BJRG_tkQ.js} +2 -2
- package/dist/{plugins-cli-DAxj0T7n.js → plugins-cli-DPaKpbZ0.js} +2 -2
- package/dist/{program-C_UFd0ph.js → program-DCyh129g.js} +7 -7
- package/dist/{program-context-C-1s9IMf.js → program-context-27mCl36z.js} +17 -17
- package/dist/{prompt-select-styled-uEjL8GAK.js → prompt-select-styled-JUdZMeZI.js} +4 -4
- package/dist/{prompt-select-styled-CYRG7OzR.js → prompt-select-styled-kpNeUDud.js} +4 -4
- package/dist/{provider-auth-helpers-CpOR6tLS.js → provider-auth-helpers-C9GRYN-o.js} +1 -1
- package/dist/{provider-auth-helpers-CJUiVhCt.js → provider-auth-helpers-DyW_7UGQ.js} +1 -1
- package/dist/{push-apns-21LKYvkS.js → push-apns-CZw1UMXk.js} +1 -1
- package/dist/{push-apns-Ciljlk7J.js → push-apns-DSpV-UMg.js} +1 -1
- package/dist/{register.agent-stsk6Gip.js → register.agent-B7jOO00w.js} +5 -5
- package/dist/{register.agent-BSv7WO-U.js → register.agent-Dt-fGSRM.js} +6 -6
- package/dist/{register.configure-C8oDtnaI.js → register.configure-B4ssKdGP.js} +6 -6
- package/dist/{register.configure-DNQTd6SJ.js → register.configure-BB1NVcZv.js} +6 -6
- package/dist/{register.maintenance-B3f3jkUo.js → register.maintenance-B6JGjudV.js} +7 -7
- package/dist/{register.maintenance-dTI3y4Eh.js → register.maintenance-ICQUl02l.js} +8 -8
- package/dist/{register.message-Cbb4nH_0.js → register.message-B-hq0-gd.js} +2 -2
- package/dist/{register.message-K9BDeFyy.js → register.message-BEP0P-gF.js} +2 -2
- package/dist/{register.onboard-Djz7Di9K.js → register.onboard-CrgzRM5X.js} +4 -4
- package/dist/{register.onboard-BBfmwa3j.js → register.onboard-Dgsu5_C8.js} +4 -4
- package/dist/{register.setup-Dmu1jt3n.js → register.setup-B3pPkZ-g.js} +4 -4
- package/dist/{register.setup-B6hkCLH0.js → register.setup-C8xPuOMY.js} +4 -4
- package/dist/{register.status-health-sessions-DaSrMm3l.js → register.status-health-sessions-DzM7DkCi.js} +3 -3
- package/dist/{register.status-health-sessions-CvwhBkbb.js → register.status-health-sessions-RqNzd4Pm.js} +3 -3
- package/dist/{register.subclis-Dv1WM9Kj.js → register.subclis-DcJgaLOK.js} +9 -9
- package/dist/{reply-BvVsPU7v.js → reply-DiFKjgpz.js} +4 -33
- package/dist/{run-main-55CDVAv6.js → run-main-Ck0iMwKh.js} +14 -14
- package/dist/{server-methods-CDDLS3ke.js → server-methods-CBQha8Aw.js} +7 -7
- package/dist/{server-methods-Bf8SpXoW.js → server-methods-pP1Q9SDn.js} +7 -7
- package/dist/{server-node-events-Dx0L419d.js → server-node-events-CfY2QTYr.js} +2 -2
- package/dist/{server-node-events-B9iZK3qE.js → server-node-events-aW9AFIXA.js} +2 -2
- package/dist/{status-5XgxbiNb.js → status-BKc593Qu.js} +1 -1
- package/dist/{status-C-kU0UFm.js → status-BNOqNwMY.js} +1 -1
- package/dist/{status-DEymUALi.js → status-DYp8kqmj.js} +2 -2
- package/dist/{status-C-vthqzQ.js → status-iwhTBXbZ.js} +2 -2
- package/dist/{subagent-registry-CZah-77E.js → subagent-registry-yBrXpTO-.js} +4 -33
- package/dist/{update-cli-BSk-OFnI.js → update-cli-B8lS5-Z5.js} +8 -8
- package/dist/{update-cli-B21iNb0v.js → update-cli-Cma87YH0.js} +7 -7
- package/dist/{update-runner-B5bKK21U.js → update-runner-Cx6XjioC.js} +1 -1
- package/dist/{update-runner-DPwXk0QQ.js → update-runner-DZmjPgW-.js} +1 -1
- package/dist/{web-DVvZ_mDC.js → web-B9ciy43q.js} +1 -1
- package/dist/{web-DSgWG_2m.js → web-BWuN3c4n.js} +1 -1
- package/dist/{web-mkZpWfVs.js → web-C5liFFox.js} +1 -1
- package/dist/{web-CB23XCVF.js → web-CycbZoQb.js} +2 -2
- 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 {
|
|
8
|
+
import { I as parseIdentityMarkdown, P as identityHasValues } from "./subagent-registry-yBrXpTO-.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-B188R3F1.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-aAHTt-cM.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-wU5fEl73.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Qt as loadAgentIdentityFromWorkspace, Zt as identityHasValues } from "./reply-DiFKjgpz.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
|
|
|
@@ -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 { F as
|
|
3
|
+
import { F as loadAgentIdentityFromWorkspace, P as identityHasValues } from "./subagent-registry-yBrXpTO-.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -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-DyW_7UGQ.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";
|
|
@@ -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-C9GRYN-o.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dt as theme, Et as isRich, h as visibleWidth, ln as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import {
|
|
2
|
+
import { un as resolveCommitHash } from "./subagent-registry-yBrXpTO-.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
|
@@ -5,7 +5,7 @@ import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-sc
|
|
|
5
5
|
import { r as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-Bs9YvKLa.js";
|
|
6
6
|
import "../../workspace-wAaHI8-5.js";
|
|
7
7
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-H1H1LiSQ.js";
|
|
8
|
-
import { i as createDefaultDeps, r as agentCommand } from "../../pi-embedded-
|
|
8
|
+
import { i as createDefaultDeps, r as agentCommand } from "../../pi-embedded-DXSWVPEZ.js";
|
|
9
9
|
import "../../plugins-DQYI3Fr-.js";
|
|
10
10
|
import "../../accounts-tNElYrCH.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
@@ -5,7 +5,7 @@ import { s as resolveAgentWorkspaceDir } from "../../agent-scope-BxoUQqgM.js";
|
|
|
5
5
|
import { t as createSubsystemLogger } from "../../subsystem-Bs9YvKLa.js";
|
|
6
6
|
import "../../workspace-wAaHI8-5.js";
|
|
7
7
|
import "../../tokens-H1H1LiSQ.js";
|
|
8
|
-
import "../../pi-embedded-
|
|
8
|
+
import "../../pi-embedded-DXSWVPEZ.js";
|
|
9
9
|
import "../../plugins-DQYI3Fr-.js";
|
|
10
10
|
import "../../accounts-tNElYrCH.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
39d6d039aff0ebffb80e5309ab147aec8a7dec2fd8b06747a0f6dc5467f9b4d2
|
|
@@ -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-ByLEBcK_.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-dNrBrnR0.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
|
|
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-DiFKjgpz.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 {
|
|
18
|
+
import { h as deleteTelegramUpdateOffset, in as formatUsageReportLines, rn as loadProviderUsageSummary } from "./subagent-registry-yBrXpTO-.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-B188R3F1.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-ByLEBcK_.js";
|
|
119
|
+
import { t as formatCliChannelOptions } from "./channel-options-BcCKOiwh.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-DiFKjgpz.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-dNrBrnR0.js";
|
|
109
|
+
import { t as formatCliChannelOptions } from "./channel-options-up8R2ST5.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-CaRYhl9J.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";
|
|
@@ -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-yBrXpTO-.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-DiFKjgpz.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-DcJgaLOK.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-C8xPuOMY.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-CrgzRM5X.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-BB1NVcZv.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-Dx3mtUwm.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-ICQUl02l.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-BEP0P-gF.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-Dt-fGSRM.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-RqNzd4Pm.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -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-DcJgaLOK.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-YX9EbrJh.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";
|
|
@@ -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-27mCl36z.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -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-DZn4tz03.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) => {
|
|
@@ -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-DKN7f4VI.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) => {
|
|
@@ -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-B188R3F1.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-CGoPVhko.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-wU5fEl73.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-CaRYhl9J.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-BMKu3MJz.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-Cy78Q2jy.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";
|
|
@@ -322,27 +322,9 @@ function stripModelTokensClient(text) {
|
|
|
322
322
|
return cleaned;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
//
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
/^Current Status:\s*\n/i,
|
|
329
|
-
/^Plan to fix:/i,
|
|
330
|
-
/^Address requirements:/i,
|
|
331
|
-
/^Let me (?:check|assess|evaluate) (?:my|the) (?:progress|status)/i,
|
|
332
|
-
/^(?:Task|Goal) (?:Status|Progress|Assessment):/i,
|
|
333
|
-
/^I (?:need to|should|must) (?:now |next )?(?:verify|check|confirm|assess)/i,
|
|
334
|
-
/^Verification:.*(?:failed|passed|pending)/i,
|
|
335
|
-
/^Self-assessment:/i,
|
|
336
|
-
];
|
|
337
|
-
|
|
338
|
-
function isInternalMonologue(text) {
|
|
339
|
-
const profile = window.activeModelProfile;
|
|
340
|
-
if (profile?.filters?.suppressMonologue !== true) {
|
|
341
|
-
return false;
|
|
342
|
-
}
|
|
343
|
-
const trimmed = text.trim();
|
|
344
|
-
return MONOLOGUE_PATTERNS.some((re) => re.test(trimmed));
|
|
345
|
-
}
|
|
325
|
+
// NOTE: Monologue suppression has moved to the OutputNormalizer (server-side).
|
|
326
|
+
// The model stream is cleaned before events reach the Glass UI, so client-side
|
|
327
|
+
// monologue detection is no longer needed.
|
|
346
328
|
|
|
347
329
|
// ── Markdown renderer ─────────────────────────────────────────────────
|
|
348
330
|
function renderMarkdown(text) {
|
|
@@ -805,17 +787,7 @@ window.renderMessage = function (message) {
|
|
|
805
787
|
return null;
|
|
806
788
|
}
|
|
807
789
|
|
|
808
|
-
//
|
|
809
|
-
if (!isUser && isInternalMonologue(_msgText)) {
|
|
810
|
-
if (typeof window.appendToReasoningPanel === "function") {
|
|
811
|
-
window.appendToReasoningPanel({
|
|
812
|
-
type: "thinking",
|
|
813
|
-
thinking: _msgText,
|
|
814
|
-
_source: "monologue-filter",
|
|
815
|
-
});
|
|
816
|
-
}
|
|
817
|
-
return null;
|
|
818
|
-
}
|
|
790
|
+
// NOTE: Monologue suppression moved server-side to OutputNormalizer.
|
|
819
791
|
|
|
820
792
|
// Plugin context messages (e.g. "[Outlook 365] Not connected...")
|
|
821
793
|
if (role === "user" && /^\[.+\]\s+(Not connected|Connected as)\b/i.test(_msgText)) {
|
|
@@ -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-DZf03KrT.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-Cm8iWdRA.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-Ck0iMwKh.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,7 +7,7 @@ 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, r as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { D as resolveAgentTimeoutMs, r as runEmbeddedPiAgent } from "./pi-embedded-RoXbo73e.js";
|
|
11
11
|
import "./plugins-71oIavrF.js";
|
|
12
12
|
import "./accounts-DDEyGwby.js";
|
|
13
13
|
import "./bindings-DYVakimr.js";
|
|
@@ -21,7 +21,7 @@ import "./pairing-token-Byh6drgn.js";
|
|
|
21
21
|
import { t as safeEqualSecret } from "./secret-equal-CbntzRkh.js";
|
|
22
22
|
import { a as isValidIPv4, c as resolveClientIp, d as resolveHostName, f as rawDataToString, i as isTrustedProxyAddress, l as resolveGatewayBindHost, n as isLoopbackHost, o as normalizeHostHeader, t as isLoopbackAddress, u as resolveGatewayListenHosts } from "./net-DZ5Ayk-W.js";
|
|
23
23
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-Cmumpn76.js";
|
|
24
|
-
import { $ as
|
|
24
|
+
import { $ as getCliSessionId, $t as setPreRestartDeferralCheck, A as getActiveEmbeddedRunCount, An as DEFAULT_INPUT_TIMEOUT_MS, At as normalizeOptionalSessionKey, B as buildHistoryContextFromEntries, Bt as buildSafeExternalPrompt, Cn as enqueueSystemEvent, Cr as onAgentEvent, Dn as DEFAULT_INPUT_IMAGE_MAX_BYTES, E as createDefaultDeps, Ft as buildDeliveryFromLegacyPayload, Ht as getHookType, In as resolveAgentTimeoutMs, It as hasLegacyDeliveryHints, Jt as emitGatewayRestart, Kt as consumeGatewaySigusr1RestartAuthorization, Lt as stripLegacyDeliveryFields, M as resolveModelProfile, Mn as extractImageContentFromSource, Mt as normalizePayloadToSystemText, N as resolveAgentAvatar, Nn as normalizeMimeList, Nt as normalizeRequiredName, O as runEmbeddedPiAgent, On as DEFAULT_INPUT_IMAGE_MIMES, Ot as inferLegacyName, Pn as resolveInputFileLimits, Pt as migrateLegacyCronPayload, Q as resolveCronStyleNow, Qt as setGatewaySigusr1RestartPolicy, Sr as getAgentRunContext, St as summarizeRestartSentinel, T as createOutboundSendDeps, Tt as normalizeHttpWebhookUrl, Ut as isExternalHookSession, Vt as detectSuspiciousPatterns, Xt as markGatewaySigusr1RestartHandled, Yt as isGatewaySigusr1RestartExternallyAllowed, _ as readJsonBodyWithLimit, at as resolveAnnounceTargetFromKey, b as sleepWithAbort, br as clearAgentRunContext, bt as formatRestartSentinelMessage, cr as getActiveTaskCount, ct as resolveOutboundSessionRoute, dn as requestHeartbeatNow, dr as resetAllLanes, dt as resolveOutboundTarget, et as setCliSessionId, f as getPluginToolMeta, fr as setCommandLaneConcurrency, ft as resolveSessionDeliveryTarget, g as handleSlackHttpRequest, gt as runWithModelFallback, hr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, i as listDescendantRunsForRequester, it as readLatestAssistantReply, jn as extractFileContentFromSource, jt as normalizeOptionalText, kn as DEFAULT_INPUT_MAX_REDIRECTS, kt as normalizeOptionalAgentId, l as applyToolPolicyPipeline, m as loadSymiPlugins, mr as CommandLane, mt as resetDirectoryCache, n as countActiveRunsForSession, pr as waitForActiveTasks, q as getTotalPendingReplies, qt as deferGatewayRestartUntilIdle, r as initSubagentRegistry, rt as createSymiTools, s as runSubagentAnnounceFlow, t as countActiveDescendantRuns, tt as runCliAgent, u as buildDefaultToolPolicyPipelineSteps, ur as getTotalQueueSize, v as requestBodyErrorToText, vt as consumeRestartSentinel, wr as registerAgentRunContext, x as agentCommand, xr as emitAgentEvent, y as computeBackoff, yr as stripHeartbeatToken } from "./subagent-registry-yBrXpTO-.js";
|
|
25
25
|
import { D as resolveSessionResetPolicy, F as resolveMainSessionKey, H as cleanStaleLockFiles, I as resolveMainSessionKeyFromConfig, K as mergeDeliveryContext, M as canonicalizeMainSessionAlias, N as resolveAgentMainSessionKey, T as evaluateSessionFreshness, W as deliveryContextFromSession, d as updateSessionStore, n as parseSessionThreadInfo, o as loadSessionStore } from "./sessions-CJXnZVjR.js";
|
|
26
26
|
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-Csntmwwn.js";
|
|
27
27
|
import { n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CwSlLxM8.js";
|
|
@@ -130,20 +130,20 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
130
130
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-BtG9rny3.js";
|
|
131
131
|
import { c as probeGateway, s as resolveNodeCommandAllowlist } from "./audit-Byo5jCLN.js";
|
|
132
132
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-CA_XIzr_.js";
|
|
133
|
-
import { i as pickGatewaySelfPresence } from "./status-
|
|
134
|
-
import { a as styleHealthChannelLine, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
133
|
+
import { i as pickGatewaySelfPresence } from "./status-iwhTBXbZ.js";
|
|
134
|
+
import { a as styleHealthChannelLine, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-CGoPVhko.js";
|
|
135
135
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BseSWee1.js";
|
|
136
136
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-ZdimP1aU.js";
|
|
137
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
138
|
-
import { _ as getHandshakeTimeoutMs, a as DEFAULT_ASSISTANT_IDENTITY, b as resolveCronRunLogPath, c as upsertPresence, d as DEDUPE_MAX, f as DEDUPE_TTL_MS, g as TICK_INTERVAL_MS, h as MAX_PAYLOAD_BYTES, i as safeParseJson, l as formatError, m as MAX_BUFFERED_BYTES, n as handleGatewayRequest, o as resolveAssistantIdentity, p as HEALTH_REFRESH_INTERVAL_MS, r as broadcastPresenceSnapshot, s as listSystemPresence, t as coreGatewayHandlers, u as loadVoiceWakeConfig, v as abortChatRunById, x as startGatewayConfigReloader, y as appendCronRunLog } from "./server-methods-
|
|
139
|
-
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-
|
|
137
|
+
import { t as runOnboardingWizard } from "./onboarding-CNgU4kg8.js";
|
|
138
|
+
import { _ as getHandshakeTimeoutMs, a as DEFAULT_ASSISTANT_IDENTITY, b as resolveCronRunLogPath, c as upsertPresence, d as DEDUPE_MAX, f as DEDUPE_TTL_MS, g as TICK_INTERVAL_MS, h as MAX_PAYLOAD_BYTES, i as safeParseJson, l as formatError, m as MAX_BUFFERED_BYTES, n as handleGatewayRequest, o as resolveAssistantIdentity, p as HEALTH_REFRESH_INTERVAL_MS, r as broadcastPresenceSnapshot, s as listSystemPresence, t as coreGatewayHandlers, u as loadVoiceWakeConfig, v as abortChatRunById, x as startGatewayConfigReloader, y as appendCronRunLog } from "./server-methods-CBQha8Aw.js";
|
|
139
|
+
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-DSpV-UMg.js";
|
|
140
140
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CzWeiE-Y.js";
|
|
141
|
-
import "./agents.config-
|
|
141
|
+
import "./agents.config-aAHTt-cM.js";
|
|
142
142
|
import "./dm-policy-shared-DJ-61hCT.js";
|
|
143
143
|
import "./node-service-fcZExd22.js";
|
|
144
144
|
import "./status.update-DbmZz0Aq.js";
|
|
145
145
|
import "./skills-install-1ZdwGTnh.js";
|
|
146
|
-
import "./update-runner-
|
|
146
|
+
import "./update-runner-Cx6XjioC.js";
|
|
147
147
|
import { t as resolveAgentSessionDirs } from "./session-dirs-DWgIYmAt.js";
|
|
148
148
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-B51TF6q3.js";
|
|
149
149
|
import { n as forceFreePortAndWait } from "./ports-Dn122MUd.js";
|
|
@@ -1860,27 +1860,6 @@ function createChannelManager(opts) {
|
|
|
1860
1860
|
|
|
1861
1861
|
//#endregion
|
|
1862
1862
|
//#region src/gateway/server-chat.ts
|
|
1863
|
-
/**
|
|
1864
|
-
* Strip Gemma's self-verification monologue blocks from the final text.
|
|
1865
|
-
* Gemma produces several variants of this pattern:
|
|
1866
|
-
* "I have addressed the request fully.\n**Verification:**\n..."
|
|
1867
|
-
* "I've reviewed my response against your request:\n1. Requirements:..."
|
|
1868
|
-
* "**Verification:**\n1. **Address requirements:**..."
|
|
1869
|
-
*/
|
|
1870
|
-
const MONOLOGUE_PATTERNS = [
|
|
1871
|
-
/\n*I have addressed the request fully\.?\s*(?:\n[\s\S]*)?$/,
|
|
1872
|
-
/\n*I['']ve reviewed my response[\s\S]*$/,
|
|
1873
|
-
/\n*\*?\*?Verification:?\*?\*?\s*\n[\s\S]*?(?:Everything is correct|All requirements met)\.?\s*✅?\s*$/,
|
|
1874
|
-
/\n*(?:\*?\*?)?(?:Status Check|Address requirements|Requirements):?(?:\*?\*?)?\s*\n[\s\S]*?(?:Everything is correct|All requirements met|is correct)\.?\s*✅?\s*$/,
|
|
1875
|
-
/\n*\d+\.\s*\*?\*?Requirements:?\*?\*?[\s\S]*?\d+\.\s*\*?\*?Verification:?\*?\*?[\s\S]*$/
|
|
1876
|
-
];
|
|
1877
|
-
function suppressMonologueBlock(text) {
|
|
1878
|
-
for (const pattern of MONOLOGUE_PATTERNS) {
|
|
1879
|
-
const result = text.replace(pattern, "");
|
|
1880
|
-
if (result !== text && result.trim()) return result.trim();
|
|
1881
|
-
}
|
|
1882
|
-
return text;
|
|
1883
|
-
}
|
|
1884
1863
|
function resolveHeartbeatAckMaxChars$1() {
|
|
1885
1864
|
try {
|
|
1886
1865
|
const cfg = loadConfig();
|
|
@@ -2065,11 +2044,7 @@ function createAgentEventHandler({ broadcast, broadcastToConnIds, nodeSendToSess
|
|
|
2065
2044
|
nodeSendToSession(sessionKey, "chat", payload);
|
|
2066
2045
|
};
|
|
2067
2046
|
const emitChatFinal = (sessionKey, clientRunId, sourceRunId, seq, jobState, error) => {
|
|
2068
|
-
|
|
2069
|
-
if (remainingDelta) try {
|
|
2070
|
-
const flushModelId = loadConfig().agents?.defaults?.model?.primary;
|
|
2071
|
-
if (flushModelId) remainingDelta = stripModelTokens(remainingDelta, flushModelId);
|
|
2072
|
-
} catch {}
|
|
2047
|
+
const remainingDelta = chatRunState.pendingDeltaText.get(clientRunId);
|
|
2073
2048
|
if (remainingDelta && !shouldHideHeartbeatChatOutput(clientRunId, sourceRunId)) {
|
|
2074
2049
|
const flushPayload = {
|
|
2075
2050
|
runId: clientRunId,
|
|
@@ -2090,19 +2065,10 @@ function createAgentEventHandler({ broadcast, broadcastToConnIds, nodeSendToSess
|
|
|
2090
2065
|
nodeSendToSession(sessionKey, "chat", flushPayload);
|
|
2091
2066
|
}
|
|
2092
2067
|
chatRunState.pendingDeltaText.delete(clientRunId);
|
|
2093
|
-
let bufferedText = chatRunState.buffers.get(clientRunId)?.trim() ?? "";
|
|
2094
|
-
try {
|
|
2095
|
-
const modelId = loadConfig().agents?.defaults?.model?.primary;
|
|
2096
|
-
if (modelId) {
|
|
2097
|
-
const profile = resolveModelProfile(modelId);
|
|
2098
|
-
bufferedText = stripModelTokens(bufferedText, modelId);
|
|
2099
|
-
if (profile.filters.suppressMonologue) bufferedText = suppressMonologueBlock(bufferedText);
|
|
2100
|
-
}
|
|
2101
|
-
} catch {}
|
|
2102
2068
|
const normalizedHeartbeatText = normalizeHeartbeatChatFinalText({
|
|
2103
2069
|
runId: clientRunId,
|
|
2104
2070
|
sourceRunId,
|
|
2105
|
-
text:
|
|
2071
|
+
text: chatRunState.buffers.get(clientRunId)?.trim() ?? ""
|
|
2106
2072
|
});
|
|
2107
2073
|
const text = normalizedHeartbeatText.text.trim();
|
|
2108
2074
|
const shouldSuppressSilent = normalizedHeartbeatText.suppress || isSilentReplyText(text, SILENT_REPLY_TOKEN);
|
|
@@ -11729,7 +11695,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
11729
11695
|
});
|
|
11730
11696
|
let glassUiBridgeCleanup = null;
|
|
11731
11697
|
if (!minimalTestGateway) {
|
|
11732
|
-
const { createGlassUiBridge } = await import("./glass-ui-ws-
|
|
11698
|
+
const { createGlassUiBridge } = await import("./glass-ui-ws-Cykb9Xv4.js");
|
|
11733
11699
|
glassUiBridgeCleanup = createGlassUiBridge({
|
|
11734
11700
|
wss: glassUiWss,
|
|
11735
11701
|
context: gatewayRequestContext,
|