@symerian/symi 2.0.6 → 2.0.7
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-CypLQ-TX.js → agents-CNsMe4Dr.js} +4 -4
- package/dist/{agents.config-S5g63_Ww.js → agents.config-CdDf19dm.js} +1 -1
- package/dist/{agents.config-DWqwPV32.js → agents.config-yx78oSLx.js} +1 -1
- package/dist/{auth-choice-1csNxn5J.js → auth-choice-CXMFi9LR.js} +1 -1
- package/dist/{auth-choice-DxhF9BuU.js → auth-choice-mw9ndZQO.js} +1 -1
- package/dist/{banner-CV_YEEQe.js → banner-B-joBGLz.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-NbbM348A.js → channel-options-D74Jofp4.js} +1 -1
- package/dist/{channel-options-DN7ZZEMr.js → channel-options-XPRRVrmU.js} +1 -1
- package/dist/{channel-web-BUODlmfF.js → channel-web-vRvvtf0S.js} +1 -1
- package/dist/{channels-cli-6MNbtk6T.js → channels-cli-D3lj5dXo.js} +4 -4
- package/dist/{channels-cli-DOoGJd4k.js → channels-cli-DgxPfJF7.js} +4 -4
- package/dist/{cli-DxHEDvD7.js → cli-Bg_5WQFe.js} +1 -1
- package/dist/{cli-TVchR8N9.js → cli-DQQAfUbo.js} +1 -1
- package/dist/{command-registry-S2yEeoft.js → command-registry-Cde2LqTh.js} +9 -9
- package/dist/{completion-cli-BrgaQVPk.js → completion-cli-Cx9htCOm.js} +1 -1
- package/dist/{completion-cli-u1z9O4lQ.js → completion-cli-KJUTWJP3.js} +2 -2
- package/dist/{config-cli-CUdFNGGC.js → config-cli-C5-P9Nzz.js} +1 -1
- package/dist/{config-cli-CipxRDcw.js → config-cli-ozfA6MGF.js} +1 -1
- package/dist/{configure-B2DVh1MI.js → configure-DiuQ_aTS.js} +3 -3
- package/dist/{configure-D9n_M6Ra.js → configure-ktsZw1bT.js} +3 -3
- package/dist/{doctor-completion-94bdxcgy.js → doctor-completion-CrN6Ly8x.js} +1 -1
- package/dist/{doctor-completion-Beg_3VG2.js → doctor-completion-Vwi_je1c.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-BkfAKxxR.js → gateway-cli-CwO3878F.js} +9 -9
- package/dist/{gateway-cli-CKIJn013.js → gateway-cli-DyqK4XZ1.js} +9 -9
- package/dist/{glass-ui-ws-BQ6j-PII.js → glass-ui-ws-BmqwQaCf.js} +7 -7
- package/dist/{glass-ui-ws-BrvN2A06.js → glass-ui-ws-zVNodseh.js} +7 -7
- package/dist/{health-9kUMJPU4.js → health-Q1RP1M2f.js} +1 -1
- package/dist/{health-BUaaGug2.js → health-UjXEBnzA.js} +1 -1
- package/dist/{hooks-cli-CBkjAKu_.js → hooks-cli-D4qJl6do.js} +2 -2
- package/dist/{hooks-cli-CxqrpSnT.js → hooks-cli-DOT9uGZw.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-CZSMuo5B.js → models-DKsiIvSx.js} +2 -2
- package/dist/{models-cli-Ds23awjm.js → models-cli-BS6UJ98e.js} +3 -3
- package/dist/{models-cli-MqWvGB7f.js → models-cli-ULbdeSgc.js} +2 -2
- package/dist/{onboard-D3oW4O-4.js → onboard-B387frTY.js} +2 -2
- package/dist/{onboard-G9IN6QQx.js → onboard-Bt-BwfkR.js} +2 -2
- package/dist/{onboard-channels-dfTDyb59.js → onboard-channels-COcxT5Q0.js} +1 -1
- package/dist/{onboard-channels-oFTqVfhO.js → onboard-channels-ybPEmcP8.js} +1 -1
- package/dist/{onboarding-g2bI9l8x.js → onboarding-BibGEGIS.js} +3 -3
- package/dist/{onboarding-Ckpz4QDg.js → onboarding-CdN_NU2d.js} +3 -3
- package/dist/{onboarding.finalize-C1lR3Y__.js → onboarding.finalize-CY1NjrGb.js} +6 -6
- package/dist/{onboarding.finalize-MWEKi_hL.js → onboarding.finalize-CvahVrDM.js} +5 -5
- package/dist/{pi-embedded-Cll2enMR.js → pi-embedded-BvCoZBNg.js} +159 -2
- package/dist/{pi-embedded-BJC3CNWN.js → pi-embedded-ZzUH4ioO.js} +159 -2
- package/dist/{plugin-registry-KUffgxdX.js → plugin-registry-BAbkdLQ7.js} +1 -1
- package/dist/{plugin-registry-C5KPfoPc.js → plugin-registry-CEoSVvL1.js} +1 -1
- package/dist/plugin-sdk/agents/plan-mode.d.ts +32 -0
- package/dist/plugin-sdk/{channel-web-DTV6QoJV.js → channel-web-xXTpy0N_.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-CzCsghFB.js → reply-EEvLfWgt.js} +159 -2
- package/dist/plugin-sdk/{web-BLcsH45O.js → web-COWtpMAH.js} +2 -2
- package/dist/{plugins-cli-BIHhue19.js → plugins-cli-BpuQ7Y9l.js} +2 -2
- package/dist/{plugins-cli-DRDUAaBR.js → plugins-cli-C_S07pgO.js} +2 -2
- package/dist/{program-BCEnYzi8.js → program-cO9YX6wL.js} +7 -7
- package/dist/{program-context-CS1wSnZE.js → program-context-QBBvnWFX.js} +17 -17
- package/dist/{prompt-select-styled-AZW_g_xe.js → prompt-select-styled-CepuQSKg.js} +4 -4
- package/dist/{prompt-select-styled-99u32PPK.js → prompt-select-styled-D3dYbx2P.js} +4 -4
- package/dist/{provider-auth-helpers-CeJqzcdK.js → provider-auth-helpers-BMACaaEd.js} +1 -1
- package/dist/{provider-auth-helpers-DqJ69hdw.js → provider-auth-helpers-DXqvuBCi.js} +1 -1
- package/dist/{push-apns-Dwt-_Kns.js → push-apns-8YIzbTM7.js} +1 -1
- package/dist/{push-apns-C5xLtVxl.js → push-apns-DhZgao_r.js} +1 -1
- package/dist/{register.agent-Cyq17z22.js → register.agent-CSUoUVKd.js} +6 -6
- package/dist/{register.agent-nnrj8tc5.js → register.agent-CiTS9lyx.js} +5 -5
- package/dist/{register.configure-DSknC_88.js → register.configure-BbE9MAer.js} +6 -6
- package/dist/{register.configure-D1zZ3jgM.js → register.configure-CuCVLOW0.js} +6 -6
- package/dist/{register.maintenance-Dt1AUhn3.js → register.maintenance-CJG75LTu.js} +8 -8
- package/dist/{register.maintenance-ClQi_hVH.js → register.maintenance-D8bthvou.js} +7 -7
- package/dist/{register.message-x7nPJjwN.js → register.message-CyqE4E2O.js} +2 -2
- package/dist/{register.message-C0R7nCJf.js → register.message-nUpHGrEE.js} +2 -2
- package/dist/{register.onboard-Bry0wxl_.js → register.onboard-BDlne5KX.js} +4 -4
- package/dist/{register.onboard-BOXdnoFU.js → register.onboard-Dlw-TCPH.js} +4 -4
- package/dist/{register.setup-fPrs1eMy.js → register.setup-B8kiMuah.js} +4 -4
- package/dist/{register.setup-C5d8909b.js → register.setup-ByMyofSq.js} +4 -4
- package/dist/{register.status-health-sessions-Bg3bAzzg.js → register.status-health-sessions-0odRpA-p.js} +3 -3
- package/dist/{register.status-health-sessions-C6FKgGFx.js → register.status-health-sessions-Diirshgb.js} +3 -3
- package/dist/{register.subclis-BrOWQICr.js → register.subclis-CqEj9vfW.js} +9 -9
- package/dist/{reply-D_FZec1Q.js → reply-B9o45s3E.js} +159 -2
- package/dist/{run-main-BNSY40iN.js → run-main-C__lZ7VF.js} +14 -14
- package/dist/{server-methods-BBkI0oCw.js → server-methods-B_NSJmhc.js} +7 -7
- package/dist/{server-methods-CQo9n7_8.js → server-methods-Df9KsV_-.js} +7 -7
- package/dist/{server-node-events-DBIaf_Oj.js → server-node-events-C2mugatX.js} +2 -2
- package/dist/{server-node-events-DXVd5rRh.js → server-node-events-ZG0SBDkU.js} +2 -2
- package/dist/{status-B77mKduK.js → status-BTF6_aBO.js} +1 -1
- package/dist/{status-Be3sgGJN.js → status-BytVj4kU.js} +1 -1
- package/dist/{status-CqnXLNV0.js → status-PADx9rG7.js} +2 -2
- package/dist/{status-CsoUJxpm.js → status-hgm5EhwS.js} +2 -2
- package/dist/{subagent-registry-BH79W7i1.js → subagent-registry-BR2Qhqjf.js} +159 -2
- package/dist/{update-cli-Ce9xf_CT.js → update-cli-CHr8rjf-.js} +8 -8
- package/dist/{update-cli-BhPzUXNP.js → update-cli-qacplfF4.js} +7 -7
- package/dist/{update-runner-DYnn5y5L.js → update-runner-DM8zQvQB.js} +1 -1
- package/dist/{update-runner-BpQxWph5.js → update-runner-DNA7FJa2.js} +1 -1
- package/dist/{web-D3J3pm9B.js → web-0bP0TLM2.js} +1 -1
- package/dist/{web-sN6ARhg2.js → web-DkQc82PT.js} +1 -1
- package/dist/{web-07aQbQrq.js → web-G0LUda_q.js} +1 -1
- package/dist/{web-uh4O13Iu.js → web-UroM-w6c.js} +2 -2
- package/docs/reference/templates/AGENTS.md +18 -0
- package/docs/reference/templates/SYMICORE.md +2 -0
- 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-amjzHiWZ.js";
|
|
8
|
-
import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-
|
|
8
|
+
import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-BR2Qhqjf.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-CUQrf3zD.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-ybPEmcP8.js";
|
|
16
16
|
import { t as requireValidConfigSnapshot } from "./config-validation-BHjDr-an.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-yx78oSLx.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-CXMFi9LR.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-
|
|
1
|
+
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-B9o45s3E.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 { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-
|
|
3
|
+
import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-BR2Qhqjf.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-Dj5pIc1G.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-CUQrf3zD.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-CNnt7guc.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-DXqvuBCi.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-DJwRgrAC.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-ay4NPk8S.js";
|
|
12
12
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-DjJ9GtKX.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-BuSj9DUm.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-BrlnZiCq.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-BMACaaEd.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-DF334-MD.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-DXwUsLAy.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 { cn as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { cn as resolveCommitHash } from "./subagent-registry-BR2Qhqjf.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 { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-
|
|
8
|
+
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-ZzUH4ioO.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-ZzUH4ioO.js";
|
|
9
9
|
import "../../plugins-DQYI3Fr-.js";
|
|
10
10
|
import "../../accounts-tNElYrCH.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
8ac906f042de9f9f36ca9daee327f466bf2663ce8cc4000148832498dbcea673
|
|
@@ -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-BAbkdLQ7.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-CEoSVvL1.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 { En as normalizeMentionText, Ot as computeBackoff, Sn as shouldComputeCommandAuthorized, Tn as buildMentionRegexes, _n as resolveInboundDebounceMs, an as resolveMentionGating, cn as recordPendingHistoryEntryIfEnabled, gn as createInboundDebouncer, hn as createDedupeCache, in as buildPairingReply, kt as sleepWithAbort, ln as shouldAckReactionForWhatsApp, on as DEFAULT_GROUP_HISTORY_LIMIT, sn as buildHistoryContextFromEntries, t as getReplyFromConfig, un as dispatchReplyWithBufferedBlockDispatcher, vn as formatInboundEnvelope, vt as normalizeGroupActivation, xn as hasControlCommand, yn as resolveEnvelopeFormatOptions, yr as enqueueSystemEvent, yt as parseActivationCommand } from "./reply-
|
|
2
|
+
import { En as normalizeMentionText, Ot as computeBackoff, Sn as shouldComputeCommandAuthorized, Tn as buildMentionRegexes, _n as resolveInboundDebounceMs, an as resolveMentionGating, cn as recordPendingHistoryEntryIfEnabled, gn as createInboundDebouncer, hn as createDedupeCache, in as buildPairingReply, kt as sleepWithAbort, ln as shouldAckReactionForWhatsApp, on as DEFAULT_GROUP_HISTORY_LIMIT, sn as buildHistoryContextFromEntries, t as getReplyFromConfig, un as dispatchReplyWithBufferedBlockDispatcher, vn as formatInboundEnvelope, vt as normalizeGroupActivation, xn as hasControlCommand, yn as resolveEnvelopeFormatOptions, yr as enqueueSystemEvent, yt as parseActivationCommand } from "./reply-B9o45s3E.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";
|
|
@@ -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 deleteTelegramUpdateOffset, bt as loadProviderUsageSummary, xt as formatUsageReportLines } from "./reply-
|
|
4
|
+
import { _t as deleteTelegramUpdateOffset, bt as loadProviderUsageSummary, xt as formatUsageReportLines } from "./reply-B9o45s3E.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-DMz_CcLi.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-CEoSVvL1.js";
|
|
109
|
+
import { t as formatCliChannelOptions } from "./channel-options-XPRRVrmU.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-COcxT5Q0.js";
|
|
120
120
|
import { t as requireValidConfigSnapshot } from "./config-validation-pVfqbrLy.js";
|
|
121
121
|
import { t as buildChannelAccountSnapshot } from "./status-BrV-afZE.js";
|
|
122
122
|
import { t as parseLogLine } from "./parse-log-line-BHCUQaF3.js";
|
|
@@ -15,7 +15,7 @@ import "./client-LeVQns9-.js";
|
|
|
15
15
|
import { n as callGateway } from "./call-BQiCOxB6.js";
|
|
16
16
|
import "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import { nn as formatUsageReportLines, tn as loadProviderUsageSummary, v as deleteTelegramUpdateOffset } from "./subagent-registry-
|
|
18
|
+
import { nn as formatUsageReportLines, tn as loadProviderUsageSummary, v as deleteTelegramUpdateOffset } from "./subagent-registry-BR2Qhqjf.js";
|
|
19
19
|
import "./sessions-DJAxaVI7.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-ybPEmcP8.js";
|
|
114
114
|
import { t as requireValidConfigSnapshot } from "./config-validation-BHjDr-an.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-BAbkdLQ7.js";
|
|
119
|
+
import { t as formatCliChannelOptions } from "./channel-options-D74Jofp4.js";
|
|
120
120
|
import fs from "node:fs/promises";
|
|
121
121
|
|
|
122
122
|
//#region src/commands/channels/add-mutators.ts
|
|
@@ -13,7 +13,7 @@ import "./client-LeVQns9-.js";
|
|
|
13
13
|
import "./call-BQiCOxB6.js";
|
|
14
14
|
import "./message-channel-C9dERklz.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import { _ as loadSymiPlugins } from "./subagent-registry-
|
|
16
|
+
import { _ as loadSymiPlugins } from "./subagent-registry-BR2Qhqjf.js";
|
|
17
17
|
import "./sessions-DJAxaVI7.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 { gt as loadSymiPlugins } from "./reply-
|
|
4
|
+
import { gt as loadSymiPlugins } from "./reply-B9o45s3E.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-CqEj9vfW.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-ByMyofSq.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-BDlne5KX.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-CuCVLOW0.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-ozfA6MGF.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-CJG75LTu.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-CyqE4E2O.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-CSUoUVKd.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-0odRpA-p.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-QBBvnWFX.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-CqEj9vfW.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-Cde2LqTh.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";
|
|
@@ -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-DiuQ_aTS.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-ktsZw1bT.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) => {
|
|
@@ -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-COcxT5Q0.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-CjgoCPLb.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-Q1RP1M2f.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-mw9ndZQO.js";
|
|
24
24
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-DXwUsLAy.js";
|
|
25
25
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-aQ75ZlXY.js";
|
|
26
26
|
import { a as promptCustomApiConfig } from "./onboard-custom-DoIhWPnb.js";
|
|
@@ -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-ybPEmcP8.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-B38pOixq.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-UjXEBnzA.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-CXMFi9LR.js";
|
|
22
22
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-ay4NPk8S.js";
|
|
23
23
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DA_LW52P.js";
|
|
24
24
|
import { a as promptCustomApiConfig } from "./onboard-custom-BKR6vm2R.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-Cx9htCOm.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-KJUTWJP3.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-C__lZ7VF.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, t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { D as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-BvCoZBNg.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 runCliAgent, An as extractImageContentFromSource, At as normalizePayloadToSystemText, Bt as getHookType, C as sleepWithAbort, Ct as normalizeHttpWebhookUrl, Dn as DEFAULT_INPUT_MAX_REDIRECTS, Dt as normalizeOptionalAgentId, En as DEFAULT_INPUT_IMAGE_MIMES, Et as inferLegacyName, Ft as stripLegacyDeliveryFields, G as getTotalPendingReplies, Gt as deferGatewayRestartUntilIdle, Jt as markGatewaySigusr1RestartHandled, Kt as emitGatewayRestart, Mn as resolveInputFileLimits, Mt as migrateLegacyCronPayload, Nt as buildDeliveryFromLegacyPayload, O as createOutboundSendDeps, On as DEFAULT_INPUT_TIMEOUT_MS, Ot as normalizeOptionalSessionKey, Pn as resolveAgentTimeoutMs, Pt as hasLegacyDeliveryHints, Q as setCliSessionId, R as buildHistoryContextFromEntries, Rt as buildSafeExternalPrompt, S as computeBackoff, Sr as registerAgentRunContext, Tn as DEFAULT_INPUT_IMAGE_MAX_BYTES, Vt as isExternalHookSession, Wt as consumeGatewaySigusr1RestartAuthorization, X as resolveCronStyleNow, Xt as setGatewaySigusr1RestartPolicy, Z as getCliSessionId, Zt as setPreRestartDeferralCheck, _ as loadSymiPlugins, _r as stripHeartbeatToken, b as readJsonBodyWithLimit, br as getAgentRunContext, bt as summarizeRestartSentinel, c as runEmbeddedPiAgent, cr as getTotalQueueSize, dr as waitForActiveTasks, f as applyToolPolicyPipeline, fr as CommandLane, ft as resetDirectoryCache, gt as consumeRestartSentinel, h as getPluginToolMeta, j as resolveAgentAvatar, jn as normalizeMimeList, jt as normalizeRequiredName, k as createDefaultDeps, kn as extractFileContentFromSource, kt as normalizeOptionalText, ln as requestHeartbeatNow, lr as resetAllLanes, lt as resolveOutboundTarget, mt as runWithModelFallback, n as initSubagentRegistry, nt as readLatestAssistantReply, o as runSubagentAnnounceFlow, or as getActiveTaskCount, ot as resolveOutboundSessionRoute, p as buildDefaultToolPolicyPipelineSteps, pr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, qt as isGatewaySigusr1RestartExternallyAllowed, r as listDescendantRunsForRequester, rt as resolveAnnounceTargetFromKey, t as countActiveDescendantRuns, tt as createSymiTools, u as getActiveEmbeddedRunCount, ur as setCommandLaneConcurrency, ut as resolveSessionDeliveryTarget, vr as clearAgentRunContext, vt as formatRestartSentinelMessage, w as agentCommand, x as requestBodyErrorToText, xn as enqueueSystemEvent, xr as onAgentEvent, y as handleSlackHttpRequest, yr as emitAgentEvent, zt as detectSuspiciousPatterns } from "./subagent-registry-
|
|
24
|
+
import { $ as runCliAgent, An as extractImageContentFromSource, At as normalizePayloadToSystemText, Bt as getHookType, C as sleepWithAbort, Ct as normalizeHttpWebhookUrl, Dn as DEFAULT_INPUT_MAX_REDIRECTS, Dt as normalizeOptionalAgentId, En as DEFAULT_INPUT_IMAGE_MIMES, Et as inferLegacyName, Ft as stripLegacyDeliveryFields, G as getTotalPendingReplies, Gt as deferGatewayRestartUntilIdle, Jt as markGatewaySigusr1RestartHandled, Kt as emitGatewayRestart, Mn as resolveInputFileLimits, Mt as migrateLegacyCronPayload, Nt as buildDeliveryFromLegacyPayload, O as createOutboundSendDeps, On as DEFAULT_INPUT_TIMEOUT_MS, Ot as normalizeOptionalSessionKey, Pn as resolveAgentTimeoutMs, Pt as hasLegacyDeliveryHints, Q as setCliSessionId, R as buildHistoryContextFromEntries, Rt as buildSafeExternalPrompt, S as computeBackoff, Sr as registerAgentRunContext, Tn as DEFAULT_INPUT_IMAGE_MAX_BYTES, Vt as isExternalHookSession, Wt as consumeGatewaySigusr1RestartAuthorization, X as resolveCronStyleNow, Xt as setGatewaySigusr1RestartPolicy, Z as getCliSessionId, Zt as setPreRestartDeferralCheck, _ as loadSymiPlugins, _r as stripHeartbeatToken, b as readJsonBodyWithLimit, br as getAgentRunContext, bt as summarizeRestartSentinel, c as runEmbeddedPiAgent, cr as getTotalQueueSize, dr as waitForActiveTasks, f as applyToolPolicyPipeline, fr as CommandLane, ft as resetDirectoryCache, gt as consumeRestartSentinel, h as getPluginToolMeta, j as resolveAgentAvatar, jn as normalizeMimeList, jt as normalizeRequiredName, k as createDefaultDeps, kn as extractFileContentFromSource, kt as normalizeOptionalText, ln as requestHeartbeatNow, lr as resetAllLanes, lt as resolveOutboundTarget, mt as runWithModelFallback, n as initSubagentRegistry, nt as readLatestAssistantReply, o as runSubagentAnnounceFlow, or as getActiveTaskCount, ot as resolveOutboundSessionRoute, p as buildDefaultToolPolicyPipelineSteps, pr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, qt as isGatewaySigusr1RestartExternallyAllowed, r as listDescendantRunsForRequester, rt as resolveAnnounceTargetFromKey, t as countActiveDescendantRuns, tt as createSymiTools, u as getActiveEmbeddedRunCount, ur as setCommandLaneConcurrency, ut as resolveSessionDeliveryTarget, vr as clearAgentRunContext, vt as formatRestartSentinelMessage, w as agentCommand, x as requestBodyErrorToText, xn as enqueueSystemEvent, xr as onAgentEvent, y as handleSlackHttpRequest, yr as emitAgentEvent, zt as detectSuspiciousPatterns } from "./subagent-registry-BR2Qhqjf.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-DJAxaVI7.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-DKUpFt8z.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-PADx9rG7.js";
|
|
134
|
+
import { a as styleHealthChannelLine, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-UjXEBnzA.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-BibGEGIS.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-Df9KsV_-.js";
|
|
139
|
+
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-8YIzbTM7.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-yx78oSLx.js";
|
|
142
142
|
import "./dm-policy-shared-BovJdm5T.js";
|
|
143
143
|
import "./node-service-fcZExd22.js";
|
|
144
144
|
import "./status.update-BXs3adtg.js";
|
|
145
145
|
import "./skills-install-1ZdwGTnh.js";
|
|
146
|
-
import "./update-runner-
|
|
146
|
+
import "./update-runner-DNA7FJa2.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";
|
|
@@ -11630,7 +11630,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
11630
11630
|
});
|
|
11631
11631
|
let glassUiBridgeCleanup = null;
|
|
11632
11632
|
if (!minimalTestGateway) {
|
|
11633
|
-
const { createGlassUiBridge } = await import("./glass-ui-ws-
|
|
11633
|
+
const { createGlassUiBridge } = await import("./glass-ui-ws-BmqwQaCf.js");
|
|
11634
11634
|
glassUiBridgeCleanup = createGlassUiBridge({
|
|
11635
11635
|
wss: glassUiWss,
|
|
11636
11636
|
context: gatewayRequestContext,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as expandHomePrefix, g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as resolveConfigPath, r as STATE_DIR, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, E as truncateUtf16Safe, H as getLogger, P as setVerbose, R as colorize, S as shortenHomePath, U as getResolvedLoggerSettings, V as getChildLogger, c as ensureDir, t as CONFIG_DIR, y as resolveUserPath, z as isRich } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, s as normalizeThinkLevel } from "./thinking-EAliFiVK.js";
|
|
4
|
-
import { $ as normalizeOptionalText, $n as getActiveTaskCount, $t as buildSafeExternalPrompt, A as resetDirectoryCache, Ar as resolveInputFileLimits, At as agentCommand, B as consumeRestartSentinel, Cr as DEFAULT_INPUT_IMAGE_MAX_BYTES, Dn as countActiveDescendantRuns, Dr as extractFileContentFromSource, Dt as requestBodyErrorToText, Er as DEFAULT_INPUT_TIMEOUT_MS, Et as readJsonBodyWithLimit, F as isGatewaySigusr1RestartExternallyAllowed, Fn as emitAgentEvent, Gt as setCliSessionId, H as formatRestartSentinelMessage, I as markGatewaySigusr1RestartHandled, In as getAgentRunContext, It as resolveOutboundTarget, Kt as runCliAgent, Ln as onAgentEvent, Lt as resolveSessionDeliveryTarget, M as consumeGatewaySigusr1RestartAuthorization, Mn as runSubagentAnnounceFlow, Mr as resolveAgentTimeoutMs, N as deferGatewayRestartUntilIdle, Nn as readLatestAssistantReply, O as resolveOutboundSessionRoute, On as initSubagentRegistry, Or as extractImageContentFromSource, Ot as computeBackoff, P as emitGatewayRestart, Pn as clearAgentRunContext, Q as normalizeOptionalSessionKey, R as setGatewaySigusr1RestartPolicy, Rn as registerAgentRunContext, Rt as createOutboundSendDeps, S as loadSessionEntry, Tr as DEFAULT_INPUT_MAX_REDIRECTS, Tt as handleSlackHttpRequest, Ut as runWithModelFallback, Vt as createDefaultDeps, W as summarizeRestartSentinel, Wt as getCliSessionId, X as inferLegacyName, Yt as resolveAgentAvatar, Z as normalizeOptionalAgentId, ar as CommandLane, at as stripLegacyDeliveryFields, d as getActiveEmbeddedRunCount, dr as lookupContextTokens, dt as requestHeartbeatNow, en as detectSuspiciousPatterns, et as normalizePayloadToSystemText, g as resolveAnnounceTargetFromKey, gt as loadSymiPlugins, h as createSymiTools, i as resolveCronStyleNow, ir as waitForActiveTasks, it as hasLegacyDeliveryHints, kn as listDescendantRunsForRequester, kr as normalizeMimeList, kt as sleepWithAbort, l as runEmbeddedPiAgent, m as buildDefaultToolPolicyPipelineSteps, mn as getTotalPendingReplies, mt as getPluginToolMeta, nn as isExternalHookSession, nr as resetAllLanes, nt as migrateLegacyCronPayload, or as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, p as applyToolPolicyPipeline, q as normalizeHttpWebhookUrl, rr as setCommandLaneConcurrency, rt as buildDeliveryFromLegacyPayload, sn as buildHistoryContextFromEntries, tn as getHookType, tr as getTotalQueueSize, tt as normalizeRequiredName, ur as stripHeartbeatToken, wr as DEFAULT_INPUT_IMAGE_MIMES, yr as enqueueSystemEvent, z as setPreRestartDeferralCheck } from "./reply-
|
|
4
|
+
import { $ as normalizeOptionalText, $n as getActiveTaskCount, $t as buildSafeExternalPrompt, A as resetDirectoryCache, Ar as resolveInputFileLimits, At as agentCommand, B as consumeRestartSentinel, Cr as DEFAULT_INPUT_IMAGE_MAX_BYTES, Dn as countActiveDescendantRuns, Dr as extractFileContentFromSource, Dt as requestBodyErrorToText, Er as DEFAULT_INPUT_TIMEOUT_MS, Et as readJsonBodyWithLimit, F as isGatewaySigusr1RestartExternallyAllowed, Fn as emitAgentEvent, Gt as setCliSessionId, H as formatRestartSentinelMessage, I as markGatewaySigusr1RestartHandled, In as getAgentRunContext, It as resolveOutboundTarget, Kt as runCliAgent, Ln as onAgentEvent, Lt as resolveSessionDeliveryTarget, M as consumeGatewaySigusr1RestartAuthorization, Mn as runSubagentAnnounceFlow, Mr as resolveAgentTimeoutMs, N as deferGatewayRestartUntilIdle, Nn as readLatestAssistantReply, O as resolveOutboundSessionRoute, On as initSubagentRegistry, Or as extractImageContentFromSource, Ot as computeBackoff, P as emitGatewayRestart, Pn as clearAgentRunContext, Q as normalizeOptionalSessionKey, R as setGatewaySigusr1RestartPolicy, Rn as registerAgentRunContext, Rt as createOutboundSendDeps, S as loadSessionEntry, Tr as DEFAULT_INPUT_MAX_REDIRECTS, Tt as handleSlackHttpRequest, Ut as runWithModelFallback, Vt as createDefaultDeps, W as summarizeRestartSentinel, Wt as getCliSessionId, X as inferLegacyName, Yt as resolveAgentAvatar, Z as normalizeOptionalAgentId, ar as CommandLane, at as stripLegacyDeliveryFields, d as getActiveEmbeddedRunCount, dr as lookupContextTokens, dt as requestHeartbeatNow, en as detectSuspiciousPatterns, et as normalizePayloadToSystemText, g as resolveAnnounceTargetFromKey, gt as loadSymiPlugins, h as createSymiTools, i as resolveCronStyleNow, ir as waitForActiveTasks, it as hasLegacyDeliveryHints, kn as listDescendantRunsForRequester, kr as normalizeMimeList, kt as sleepWithAbort, l as runEmbeddedPiAgent, m as buildDefaultToolPolicyPipelineSteps, mn as getTotalPendingReplies, mt as getPluginToolMeta, nn as isExternalHookSession, nr as resetAllLanes, nt as migrateLegacyCronPayload, or as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, p as applyToolPolicyPipeline, q as normalizeHttpWebhookUrl, rr as setCommandLaneConcurrency, rt as buildDeliveryFromLegacyPayload, sn as buildHistoryContextFromEntries, tn as getHookType, tr as getTotalQueueSize, tt as normalizeRequiredName, ur as stripHeartbeatToken, wr as DEFAULT_INPUT_IMAGE_MIMES, yr as enqueueSystemEvent, z as setPreRestartDeferralCheck } from "./reply-B9o45s3E.js";
|
|
5
5
|
import { S as parseAgentSessionKey, c as normalizeMainKey, f as toAgentRequestSessionKey, l as resolveAgentIdFromSessionKey, m as DEFAULT_ACCOUNT_ID, p as toAgentStoreSessionKey, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as isSubagentSessionKey, y as isCronRunSessionKey } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import { r as matchesSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
7
7
|
import { C as createInternalHookEvent, S as clearInternalHooks, T as triggerInternalHook, m as createEmptyPluginRegistry, r as DEFAULT_CHAT_CHANNEL, w as registerInternalHook } from "./registry-Cja8eT7G.js";
|
|
@@ -135,20 +135,20 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
135
135
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-BJvwnR5z.js";
|
|
136
136
|
import { c as probeGateway, s as resolveNodeCommandAllowlist } from "./audit-CiugrQda.js";
|
|
137
137
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-BHTF5p0X.js";
|
|
138
|
-
import { r as pickGatewaySelfPresence } from "./status-
|
|
139
|
-
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
138
|
+
import { r as pickGatewaySelfPresence } from "./status-hgm5EhwS.js";
|
|
139
|
+
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-Q1RP1M2f.js";
|
|
140
140
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Z947tKLt.js";
|
|
141
141
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-CtckACbb.js";
|
|
142
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
143
|
-
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-
|
|
144
|
-
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-
|
|
142
|
+
import { t as runOnboardingWizard } from "./onboarding-CdN_NU2d.js";
|
|
143
|
+
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-B_NSJmhc.js";
|
|
144
|
+
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-DhZgao_r.js";
|
|
145
145
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-Bv0M7ka7.js";
|
|
146
|
-
import "./agents.config-
|
|
146
|
+
import "./agents.config-CdDf19dm.js";
|
|
147
147
|
import "./dm-policy-shared-DckBYBwg.js";
|
|
148
148
|
import "./node-service-Cxz4e-Qd.js";
|
|
149
149
|
import "./status.update-DlaskfTr.js";
|
|
150
150
|
import "./skills-install-D67isO1L.js";
|
|
151
|
-
import "./update-runner-
|
|
151
|
+
import "./update-runner-DM8zQvQB.js";
|
|
152
152
|
import { t as resolveAgentSessionDirs } from "./session-dirs-DWgIYmAt.js";
|
|
153
153
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-CYxdoAlY.js";
|
|
154
154
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -11634,7 +11634,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
11634
11634
|
});
|
|
11635
11635
|
let glassUiBridgeCleanup = null;
|
|
11636
11636
|
if (!minimalTestGateway) {
|
|
11637
|
-
const { createGlassUiBridge } = await import("./glass-ui-ws-
|
|
11637
|
+
const { createGlassUiBridge } = await import("./glass-ui-ws-zVNodseh.js");
|
|
11638
11638
|
glassUiBridgeCleanup = createGlassUiBridge({
|
|
11639
11639
|
wss: glassUiWss,
|
|
11640
11640
|
context: gatewayRequestContext,
|
|
@@ -13,7 +13,7 @@ import "./client-LeVQns9-.js";
|
|
|
13
13
|
import "./call-BQiCOxB6.js";
|
|
14
14
|
import "./message-channel-C9dERklz.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import "./subagent-registry-
|
|
16
|
+
import "./subagent-registry-BR2Qhqjf.js";
|
|
17
17
|
import "./sessions-DJAxaVI7.js";
|
|
18
18
|
import "./tokens-Csntmwwn.js";
|
|
19
19
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -108,18 +108,18 @@ import "./service-Cm9j9WzQ.js";
|
|
|
108
108
|
import "./diagnostics-CS1ov_hH.js";
|
|
109
109
|
import "./table-D01d2GuY.js";
|
|
110
110
|
import "./audit-DKUpFt8z.js";
|
|
111
|
-
import "./status-
|
|
112
|
-
import "./health-
|
|
111
|
+
import "./status-PADx9rG7.js";
|
|
112
|
+
import "./health-UjXEBnzA.js";
|
|
113
113
|
import "./control-ui-assets-BseSWee1.js";
|
|
114
114
|
import "./update-check-ZdimP1aU.js";
|
|
115
|
-
import { n as handleGatewayRequest } from "./server-methods-
|
|
116
|
-
import "./push-apns-
|
|
117
|
-
import "./agents.config-
|
|
115
|
+
import { n as handleGatewayRequest } from "./server-methods-Df9KsV_-.js";
|
|
116
|
+
import "./push-apns-8YIzbTM7.js";
|
|
117
|
+
import "./agents.config-yx78oSLx.js";
|
|
118
118
|
import "./dm-policy-shared-BovJdm5T.js";
|
|
119
119
|
import "./node-service-fcZExd22.js";
|
|
120
120
|
import "./status.update-BXs3adtg.js";
|
|
121
121
|
import "./skills-install-1ZdwGTnh.js";
|
|
122
|
-
import "./update-runner-
|
|
122
|
+
import "./update-runner-DNA7FJa2.js";
|
|
123
123
|
|
|
124
124
|
//#region src/gateway/glass-ui-ws.ts
|
|
125
125
|
const SESSION_KEY = "agent:main:main";
|