@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
|
@@ -60199,7 +60199,7 @@ async function runAgentTurn(params) {
|
|
|
60199
60199
|
function createDefaultDeps() {
|
|
60200
60200
|
return {
|
|
60201
60201
|
sendMessageWhatsApp: async (...args) => {
|
|
60202
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
60202
|
+
const { sendMessageWhatsApp } = await import("./web-B9ciy43q.js");
|
|
60203
60203
|
return await sendMessageWhatsApp(...args);
|
|
60204
60204
|
},
|
|
60205
60205
|
sendMessageTelegram: async (...args) => {
|
|
@@ -75479,7 +75479,7 @@ function loadWebLoginQr() {
|
|
|
75479
75479
|
return webLoginQrPromise;
|
|
75480
75480
|
}
|
|
75481
75481
|
function loadWebChannel() {
|
|
75482
|
-
webChannelPromise ??= import("./web-
|
|
75482
|
+
webChannelPromise ??= import("./web-B9ciy43q.js");
|
|
75483
75483
|
return webChannelPromise;
|
|
75484
75484
|
}
|
|
75485
75485
|
function loadWhatsAppActions() {
|
|
@@ -77500,31 +77500,6 @@ function resolveToolLoopDetectionConfig(params) {
|
|
|
77500
77500
|
}
|
|
77501
77501
|
};
|
|
77502
77502
|
}
|
|
77503
|
-
/**
|
|
77504
|
-
* Wrap a tool to strip model-specific control tokens from string arguments
|
|
77505
|
-
* before execution. Gemma 4 via vLLM sometimes injects tokens like `<|`
|
|
77506
|
-
* into tool call arguments (e.g. `exec("<|node -v")`). This wrapper
|
|
77507
|
-
* sanitizes all string values in the argument object.
|
|
77508
|
-
*/
|
|
77509
|
-
function wrapToolWithArgSanitization(tool, modelId) {
|
|
77510
|
-
const execute = tool.execute;
|
|
77511
|
-
if (!execute) return tool;
|
|
77512
|
-
return {
|
|
77513
|
-
...tool,
|
|
77514
|
-
execute: async (toolCallId, params, signal, onUpdate) => {
|
|
77515
|
-
return execute(toolCallId, sanitizeToolArgs(params, modelId), signal, onUpdate);
|
|
77516
|
-
}
|
|
77517
|
-
};
|
|
77518
|
-
}
|
|
77519
|
-
function sanitizeToolArgs(params, modelId) {
|
|
77520
|
-
if (!params || typeof params !== "object") return typeof params === "string" ? stripModelTokensAggressive(params, modelId) : params;
|
|
77521
|
-
if (Array.isArray(params)) return params.map((item) => sanitizeToolArgs(item, modelId));
|
|
77522
|
-
const result = {};
|
|
77523
|
-
for (const [key, value] of Object.entries(params)) if (typeof value === "string") result[key] = stripModelTokensAggressive(value, modelId);
|
|
77524
|
-
else if (value && typeof value === "object") result[key] = sanitizeToolArgs(value, modelId);
|
|
77525
|
-
else result[key] = value;
|
|
77526
|
-
return result;
|
|
77527
|
-
}
|
|
77528
77503
|
function createSymiCodingTools(options) {
|
|
77529
77504
|
const execToolName = "exec";
|
|
77530
77505
|
const sandbox = options?.sandbox?.enabled ? options.sandbox : void 0;
|
|
@@ -77748,11 +77723,7 @@ function createSymiCodingTools(options) {
|
|
|
77748
77723
|
agentId
|
|
77749
77724
|
})
|
|
77750
77725
|
}));
|
|
77751
|
-
|
|
77752
|
-
const modelId = options?.modelId ?? "";
|
|
77753
|
-
const modelProvider = options?.modelProvider ?? "";
|
|
77754
|
-
const fullModelId = modelProvider ? `${modelProvider}/${modelId}` : modelId;
|
|
77755
|
-
return fullModelId ? withAbort.map((tool) => wrapToolWithArgSanitization(tool, fullModelId)) : withAbort;
|
|
77726
|
+
return options?.abortSignal ? withHooks.map((tool) => wrapToolWithAbortSignal(tool, options.abortSignal)) : withHooks;
|
|
77756
77727
|
}
|
|
77757
77728
|
|
|
77758
77729
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { M as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-D-jRCY0d.js";
|
|
4
4
|
import { i as loadConfig } from "./config-DHBLS1Hl.js";
|
|
5
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
5
|
+
import { m as loadSymiPlugins } from "./subagent-registry-yBrXpTO-.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ft as loadSymiPlugins } from "./reply-
|
|
2
|
+
import { ft as loadSymiPlugins } from "./reply-DiFKjgpz.js";
|
|
3
3
|
import { d as getActivePluginRegistry } from "./registry-Cja8eT7G.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-Ddm33hQm.js";
|
|
3
|
-
import { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-
|
|
3
|
+
import { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-DqjPcp_q.js";
|
|
4
4
|
import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry-D0xTnUWt.js";
|
|
5
5
|
import { n as loadConfig } from "./config-KlTNfkFF.js";
|
|
6
6
|
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-Ddm33hQm.js";
|
|
3
|
-
import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as normalizeAccountId$1, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-
|
|
3
|
+
import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as normalizeAccountId$1, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-DqjPcp_q.js";
|
|
4
4
|
import "./paths-DR2yt_mP.js";
|
|
5
5
|
import "./github-copilot-token-D9X2phUj.js";
|
|
6
6
|
import { D as resolveSlackAccount, E as resolveDefaultSlackAccountId, F as resolveDiscordAccount, M as listDiscordAccountIds, O as resolveSlackReplyToMode, P as resolveDefaultDiscordAccountId, S as resolveTelegramAccount, T as listSlackAccountIds, _ as normalizeWhatsAppTarget, a as listDiscordDirectoryPeersFromConfig, b as listTelegramAccountIds, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, g as isWhatsAppGroupJid, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, w as listEnabledSlackAccounts, x as resolveDefaultTelegramAccountId } from "./plugins-BNByVCIH.js";
|
|
@@ -47,7 +47,7 @@ import "./paths-A0xdf3yk.js";
|
|
|
47
47
|
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-05pm5Rxi.js";
|
|
48
48
|
import { n as extractOriginalFilename } from "./store-BdrNabcU.js";
|
|
49
49
|
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BiyAyTWz.js";
|
|
50
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
50
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-Dn3ufSyq.js";
|
|
51
51
|
import "./image-CLOPx7yW.js";
|
|
52
52
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
53
53
|
import "./api-key-rotation-D_sMvI5W.js";
|
|
@@ -35797,7 +35797,7 @@ async function runAgentTurn(params) {
|
|
|
35797
35797
|
function createDefaultDeps() {
|
|
35798
35798
|
return {
|
|
35799
35799
|
sendMessageWhatsApp: async (...args) => {
|
|
35800
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
35800
|
+
const { sendMessageWhatsApp } = await import("./web-GvAx9MMo.js");
|
|
35801
35801
|
return await sendMessageWhatsApp(...args);
|
|
35802
35802
|
},
|
|
35803
35803
|
sendMessageTelegram: async (...args) => {
|
|
@@ -53235,7 +53235,7 @@ function loadWebLoginQr() {
|
|
|
53235
53235
|
return webLoginQrPromise;
|
|
53236
53236
|
}
|
|
53237
53237
|
function loadWebChannel() {
|
|
53238
|
-
webChannelPromise ??= import("./web-
|
|
53238
|
+
webChannelPromise ??= import("./web-GvAx9MMo.js");
|
|
53239
53239
|
return webChannelPromise;
|
|
53240
53240
|
}
|
|
53241
53241
|
function loadWhatsAppActions() {
|
|
@@ -69111,31 +69111,6 @@ function resolveToolLoopDetectionConfig(params) {
|
|
|
69111
69111
|
}
|
|
69112
69112
|
};
|
|
69113
69113
|
}
|
|
69114
|
-
/**
|
|
69115
|
-
* Wrap a tool to strip model-specific control tokens from string arguments
|
|
69116
|
-
* before execution. Gemma 4 via vLLM sometimes injects tokens like `<|`
|
|
69117
|
-
* into tool call arguments (e.g. `exec("<|node -v")`). This wrapper
|
|
69118
|
-
* sanitizes all string values in the argument object.
|
|
69119
|
-
*/
|
|
69120
|
-
function wrapToolWithArgSanitization(tool, modelId) {
|
|
69121
|
-
const execute = tool.execute;
|
|
69122
|
-
if (!execute) return tool;
|
|
69123
|
-
return {
|
|
69124
|
-
...tool,
|
|
69125
|
-
execute: async (toolCallId, params, signal, onUpdate) => {
|
|
69126
|
-
return execute(toolCallId, sanitizeToolArgs(params, modelId), signal, onUpdate);
|
|
69127
|
-
}
|
|
69128
|
-
};
|
|
69129
|
-
}
|
|
69130
|
-
function sanitizeToolArgs(params, modelId) {
|
|
69131
|
-
if (!params || typeof params !== "object") return typeof params === "string" ? stripModelTokensAggressive(params, modelId) : params;
|
|
69132
|
-
if (Array.isArray(params)) return params.map((item) => sanitizeToolArgs(item, modelId));
|
|
69133
|
-
const result = {};
|
|
69134
|
-
for (const [key, value] of Object.entries(params)) if (typeof value === "string") result[key] = stripModelTokensAggressive(value, modelId);
|
|
69135
|
-
else if (value && typeof value === "object") result[key] = sanitizeToolArgs(value, modelId);
|
|
69136
|
-
else result[key] = value;
|
|
69137
|
-
return result;
|
|
69138
|
-
}
|
|
69139
69114
|
function createSymiCodingTools(options) {
|
|
69140
69115
|
const execToolName = "exec";
|
|
69141
69116
|
const sandbox = options?.sandbox?.enabled ? options.sandbox : void 0;
|
|
@@ -69359,11 +69334,7 @@ function createSymiCodingTools(options) {
|
|
|
69359
69334
|
agentId
|
|
69360
69335
|
})
|
|
69361
69336
|
}));
|
|
69362
|
-
|
|
69363
|
-
const modelId = options?.modelId ?? "";
|
|
69364
|
-
const modelProvider = options?.modelProvider ?? "";
|
|
69365
|
-
const fullModelId = modelProvider ? `${modelProvider}/${modelId}` : modelId;
|
|
69366
|
-
return fullModelId ? withAbort.map((tool) => wrapToolWithArgSanitization(tool, fullModelId)) : withAbort;
|
|
69337
|
+
return options?.abortSignal ? withHooks.map((tool) => wrapToolWithAbortSignal(tool, options.abortSignal)) : withHooks;
|
|
69367
69338
|
}
|
|
69368
69339
|
|
|
69369
69340
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as WA_WEB_AUTH_DIR, g as webAuthExists, s as logWebSelfId, u as pickWebChannel } from "./accounts-Ddm33hQm.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-DqjPcp_q.js";
|
|
3
3
|
import "./paths-DR2yt_mP.js";
|
|
4
4
|
import "./github-copilot-token-D9X2phUj.js";
|
|
5
5
|
import "./plugins-BNByVCIH.js";
|
|
@@ -45,7 +45,7 @@ import "./pi-embedded-helpers-CW630epe.js";
|
|
|
45
45
|
import "./paths-A0xdf3yk.js";
|
|
46
46
|
import "./diagnostic-05pm5Rxi.js";
|
|
47
47
|
import "./store-BdrNabcU.js";
|
|
48
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
48
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-Dn3ufSyq.js";
|
|
49
49
|
import "./image-CLOPx7yW.js";
|
|
50
50
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
51
51
|
import "./api-key-rotation-D_sMvI5W.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, S as shortenHomePath, g as resolveConfigDir, x as shortenHomeInString, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-DiFKjgpz.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -106,7 +106,7 @@ import "./npm-registry-spec-C2JDdSZS.js";
|
|
|
106
106
|
import "./skill-scanner-CLs8u6vQ.js";
|
|
107
107
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-C1Cebk97.js";
|
|
108
108
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
109
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
109
|
+
import { t as buildPluginStatusReport } from "./status-BKc593Qu.js";
|
|
110
110
|
import { n as updateNpmInstalledPlugins } from "./update-rw7wJwHd.js";
|
|
111
111
|
import fs from "node:fs";
|
|
112
112
|
import os from "node:os";
|
|
@@ -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 "./subagent-registry-
|
|
16
|
+
import "./subagent-registry-yBrXpTO-.js";
|
|
17
17
|
import "./sessions-CJXnZVjR.js";
|
|
18
18
|
import "./tokens-Csntmwwn.js";
|
|
19
19
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -102,7 +102,7 @@ import "./npm-registry-spec-DkaZNHAW.js";
|
|
|
102
102
|
import "./skill-scanner-BGWOBqLY.js";
|
|
103
103
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-CgQpVncj.js";
|
|
104
104
|
import { t as renderTable } from "./table-D01d2GuY.js";
|
|
105
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
105
|
+
import { t as buildPluginStatusReport } from "./status-BNOqNwMY.js";
|
|
106
106
|
import { n as updateNpmInstalledPlugins } from "./update-DEMKx4eC.js";
|
|
107
107
|
import os from "node:os";
|
|
108
108
|
import path from "node:path";
|
|
@@ -14,7 +14,7 @@ import "./client-DMBZpU6X.js";
|
|
|
14
14
|
import "./call-BcE47FtD.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-yBrXpTO-.js";
|
|
18
18
|
import "./sessions-CJXnZVjR.js";
|
|
19
19
|
import "./tokens-Csntmwwn.js";
|
|
20
20
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -99,13 +99,13 @@ import "./prompt-style-DwCXob2h.js";
|
|
|
99
99
|
import "./pairing-labels-D1HDboV2.js";
|
|
100
100
|
import "./pi-tools.policy-De00gPXt.js";
|
|
101
101
|
import "./catalog-DLQFKucJ.js";
|
|
102
|
-
import "./plugin-registry-
|
|
103
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
104
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
105
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
102
|
+
import "./plugin-registry-ByLEBcK_.js";
|
|
103
|
+
import { n as resolveCliChannelOptions } from "./channel-options-BcCKOiwh.js";
|
|
104
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-DcJgaLOK.js";
|
|
105
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-YX9EbrJh.js";
|
|
106
106
|
import { r as setProgramContext } from "./program-context-CqzR_m-7.js";
|
|
107
107
|
import { t as forceFreePort } from "./ports-Dn122MUd.js";
|
|
108
|
-
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-
|
|
108
|
+
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-BRzyFiIY.js";
|
|
109
109
|
import { Command } from "commander";
|
|
110
110
|
|
|
111
111
|
//#region src/cli/program/context.ts
|
|
@@ -213,7 +213,7 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
213
213
|
commandPath
|
|
214
214
|
});
|
|
215
215
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
216
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
216
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-ByLEBcK_.js").then((n) => n.n);
|
|
217
217
|
ensurePluginRegistryLoaded();
|
|
218
218
|
}
|
|
219
219
|
});
|
|
@@ -43,7 +43,7 @@ const entries = [
|
|
|
43
43
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
44
44
|
hasSubcommands: true,
|
|
45
45
|
register: async (program) => {
|
|
46
|
-
(await import("./gateway-cli-
|
|
46
|
+
(await import("./gateway-cli-ZbqwB66o.js")).registerGatewayCli(program);
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
{
|
|
@@ -75,7 +75,7 @@ const entries = [
|
|
|
75
75
|
description: "Discover, scan, and configure models",
|
|
76
76
|
hasSubcommands: true,
|
|
77
77
|
register: async (program) => {
|
|
78
|
-
(await import("./models-cli-
|
|
78
|
+
(await import("./models-cli-D9miPqtu.js")).registerModelsCli(program);
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
{
|
|
@@ -155,7 +155,7 @@ const entries = [
|
|
|
155
155
|
description: "Manage internal agent hooks",
|
|
156
156
|
hasSubcommands: true,
|
|
157
157
|
register: async (program) => {
|
|
158
|
-
(await import("./hooks-cli-
|
|
158
|
+
(await import("./hooks-cli-CQUjUbF8.js")).registerHooksCli(program);
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
{
|
|
@@ -179,7 +179,7 @@ const entries = [
|
|
|
179
179
|
description: "Secure DM pairing (approve inbound requests)",
|
|
180
180
|
hasSubcommands: true,
|
|
181
181
|
register: async (program) => {
|
|
182
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
182
|
+
const { registerPluginCliCommands } = await import("./cli-YBkGYxfg.js");
|
|
183
183
|
registerPluginCliCommands(program, await loadConfig());
|
|
184
184
|
(await import("./pairing-cli-CBLfGvqW.js")).registerPairingCli(program);
|
|
185
185
|
}
|
|
@@ -189,8 +189,8 @@ const entries = [
|
|
|
189
189
|
description: "Manage Symi plugins and extensions",
|
|
190
190
|
hasSubcommands: true,
|
|
191
191
|
register: async (program) => {
|
|
192
|
-
(await import("./plugins-cli-
|
|
193
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
192
|
+
(await import("./plugins-cli-BJRG_tkQ.js")).registerPluginsCli(program);
|
|
193
|
+
const { registerPluginCliCommands } = await import("./cli-YBkGYxfg.js");
|
|
194
194
|
registerPluginCliCommands(program, await loadConfig());
|
|
195
195
|
}
|
|
196
196
|
},
|
|
@@ -199,7 +199,7 @@ const entries = [
|
|
|
199
199
|
description: "Manage connected chat channels (Telegram, Discord, etc.)",
|
|
200
200
|
hasSubcommands: true,
|
|
201
201
|
register: async (program) => {
|
|
202
|
-
(await import("./channels-cli-
|
|
202
|
+
(await import("./channels-cli-DG3sTlC7.js")).registerChannelsCli(program);
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
{
|
|
@@ -231,7 +231,7 @@ const entries = [
|
|
|
231
231
|
description: "Update Symi and inspect update channel status",
|
|
232
232
|
hasSubcommands: true,
|
|
233
233
|
register: async (program) => {
|
|
234
|
-
(await import("./update-cli-
|
|
234
|
+
(await import("./update-cli-Cma87YH0.js")).registerUpdateCli(program);
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
237
|
{
|
|
@@ -239,7 +239,7 @@ const entries = [
|
|
|
239
239
|
description: "Generate shell completion script",
|
|
240
240
|
hasSubcommands: false,
|
|
241
241
|
register: async (program) => {
|
|
242
|
-
(await import("./completion-cli-
|
|
242
|
+
(await import("./completion-cli-DZf03KrT.js").then((n) => n.n)).registerCompletionCli(program);
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
];
|
|
@@ -302,7 +302,7 @@ const coreEntries = [
|
|
|
302
302
|
hasSubcommands: false
|
|
303
303
|
}],
|
|
304
304
|
register: async ({ program }) => {
|
|
305
|
-
(await import("./register.setup-
|
|
305
|
+
(await import("./register.setup-B3pPkZ-g.js")).registerSetupCommand(program);
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
308
|
{
|
|
@@ -312,7 +312,7 @@ const coreEntries = [
|
|
|
312
312
|
hasSubcommands: false
|
|
313
313
|
}],
|
|
314
314
|
register: async ({ program }) => {
|
|
315
|
-
(await import("./register.onboard-
|
|
315
|
+
(await import("./register.onboard-Dgsu5_C8.js")).registerOnboardCommand(program);
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
318
|
{
|
|
@@ -322,7 +322,7 @@ const coreEntries = [
|
|
|
322
322
|
hasSubcommands: false
|
|
323
323
|
}],
|
|
324
324
|
register: async ({ program }) => {
|
|
325
|
-
(await import("./register.configure-
|
|
325
|
+
(await import("./register.configure-B4ssKdGP.js")).registerConfigureCommand(program);
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
328
|
{
|
|
@@ -332,7 +332,7 @@ const coreEntries = [
|
|
|
332
332
|
hasSubcommands: true
|
|
333
333
|
}],
|
|
334
334
|
register: async ({ program }) => {
|
|
335
|
-
(await import("./config-cli-
|
|
335
|
+
(await import("./config-cli-1PDMhq8v.js")).registerConfigCli(program);
|
|
336
336
|
}
|
|
337
337
|
},
|
|
338
338
|
{
|
|
@@ -359,7 +359,7 @@ const coreEntries = [
|
|
|
359
359
|
}
|
|
360
360
|
],
|
|
361
361
|
register: async ({ program }) => {
|
|
362
|
-
(await import("./register.maintenance-
|
|
362
|
+
(await import("./register.maintenance-B6JGjudV.js")).registerMaintenanceCommands(program);
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
365
|
{
|
|
@@ -369,7 +369,7 @@ const coreEntries = [
|
|
|
369
369
|
hasSubcommands: true
|
|
370
370
|
}],
|
|
371
371
|
register: async ({ program, ctx }) => {
|
|
372
|
-
(await import("./register.message-
|
|
372
|
+
(await import("./register.message-B-hq0-gd.js")).registerMessageCommands(program, ctx);
|
|
373
373
|
}
|
|
374
374
|
},
|
|
375
375
|
{
|
|
@@ -393,7 +393,7 @@ const coreEntries = [
|
|
|
393
393
|
hasSubcommands: true
|
|
394
394
|
}],
|
|
395
395
|
register: async ({ program, ctx }) => {
|
|
396
|
-
(await import("./register.agent-
|
|
396
|
+
(await import("./register.agent-B7jOO00w.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
397
397
|
}
|
|
398
398
|
},
|
|
399
399
|
{
|
|
@@ -415,7 +415,7 @@ const coreEntries = [
|
|
|
415
415
|
}
|
|
416
416
|
],
|
|
417
417
|
register: async ({ program }) => {
|
|
418
|
-
(await import("./register.status-health-sessions-
|
|
418
|
+
(await import("./register.status-health-sessions-DzM7DkCi.js")).registerStatusHealthSessionsCommands(program);
|
|
419
419
|
}
|
|
420
420
|
},
|
|
421
421
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { C as sleep, S as shortenHomePath, U as getResolvedLoggerSettings, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { _r as
|
|
3
|
+
import { _r as formatRemainingShort, ft as loadSymiPlugins, gr as buildAuthHealthSummary, hr as DEFAULT_OAUTH_WARN_MS } from "./reply-DiFKjgpz.js";
|
|
4
4
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
6
6
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
@@ -34,16 +34,16 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
|
|
|
34
34
|
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-BR6gChwm.js";
|
|
35
35
|
import { t as readLastGatewayErrorLine } from "./diagnostics-BAMlsVVX.js";
|
|
36
36
|
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-CllGjsWo.js";
|
|
37
|
-
import { r as healthCommand } from "./health-
|
|
37
|
+
import { r as healthCommand } from "./health-BMKu3MJz.js";
|
|
38
38
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-Z947tKLt.js";
|
|
39
39
|
import { t as resolveDmAllowState } from "./dm-policy-shared-Bh3TbexU.js";
|
|
40
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
40
|
+
import { t as runGatewayUpdate } from "./update-runner-DZmjPgW-.js";
|
|
41
41
|
import { t as resolveAgentSessionDirs } from "./session-dirs-DWgIYmAt.js";
|
|
42
42
|
import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
|
|
43
43
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-QnaBd8kL.js";
|
|
44
44
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-aQ75ZlXY.js";
|
|
45
45
|
import { t as formatHealthCheckFailure } from "./health-format-DSwnXZPU.js";
|
|
46
|
-
import { n as doctorShellCompletion } from "./doctor-completion
|
|
46
|
+
import { n as doctorShellCompletion } from "./doctor-completion--aLGEAgK.js";
|
|
47
47
|
import fs from "node:fs";
|
|
48
48
|
import os from "node:os";
|
|
49
49
|
import path from "node:path";
|
|
@@ -8,7 +8,7 @@ import { t as buildWorkspaceSkillStatus } from "./skills-status-DKXJ-tbi.js";
|
|
|
8
8
|
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-DHBLS1Hl.js";
|
|
9
9
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BcE47FtD.js";
|
|
10
10
|
import { l as resolveGatewayBindHost, n as isLoopbackHost } from "./net-DZ5Ayk-W.js";
|
|
11
|
-
import {
|
|
11
|
+
import { _n as DEFAULT_OAUTH_WARN_MS, m as loadSymiPlugins, vn as buildAuthHealthSummary, yn as formatRemainingShort } from "./subagent-registry-yBrXpTO-.js";
|
|
12
12
|
import { F as resolveMainSessionKey, H as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-CJXnZVjR.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-CwSlLxM8.js";
|
|
14
14
|
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-BFzSUT19.js";
|
|
@@ -31,16 +31,16 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
|
|
|
31
31
|
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-sQipWGd1.js";
|
|
32
32
|
import { t as readLastGatewayErrorLine } from "./diagnostics-CS1ov_hH.js";
|
|
33
33
|
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-t04OgGMk.js";
|
|
34
|
-
import { r as healthCommand } from "./health-
|
|
34
|
+
import { r as healthCommand } from "./health-CGoPVhko.js";
|
|
35
35
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-BseSWee1.js";
|
|
36
36
|
import { t as resolveDmAllowState } from "./dm-policy-shared-DJ-61hCT.js";
|
|
37
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
37
|
+
import { t as runGatewayUpdate } from "./update-runner-Cx6XjioC.js";
|
|
38
38
|
import { t as resolveAgentSessionDirs } from "./session-dirs-DWgIYmAt.js";
|
|
39
39
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
40
40
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-CA3eiKhd.js";
|
|
41
41
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DA_LW52P.js";
|
|
42
42
|
import { t as formatHealthCheckFailure } from "./health-format-CzgUHmmX.js";
|
|
43
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
43
|
+
import { n as doctorShellCompletion } from "./doctor-completion-D4SLAoAE.js";
|
|
44
44
|
import { execFile } from "node:child_process";
|
|
45
45
|
import os from "node:os";
|
|
46
46
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { L as normalizeProviderId, b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-Q1xTr5SX.js";
|
|
3
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
3
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-yBrXpTO-.js";
|
|
4
4
|
import { n as isWSLEnv } from "./wsl-jdLWdiKy.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-DwCXob2h.js";
|
|
6
6
|
import { f as updateConfig } from "./shared-D8K9MkWg.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-
|
|
1
|
+
import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-DiFKjgpz.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
3
3
|
import { At as ensureAuthProfileStore, Ot as upsertAuthProfile, l as normalizeProviderId } from "./model-selection-CyFvYcRt.js";
|
|
4
4
|
import { n as isWSLEnv } from "./wsl-C4424szg.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { A as isVerbose } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Nr as estimateBase64DecodedBytes, ot as sniffMimeFromBase64 } from "./reply-DiFKjgpz.js";
|
|
4
4
|
import { S as parseAgentSessionKey } from "./session-key-DCt45XZa.js";
|
|
5
5
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
6
6
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-f-Q-hFt_.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Yt as resolveStateDir, _t as isVerbose, f as shouldLogSubsystemToConsole, o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { S as parseAgentSessionKey } from "./session-key-DjZ7Z1hW.js";
|
|
3
3
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-Byh6drgn.js";
|
|
4
|
-
import {
|
|
4
|
+
import { Fn as estimateBase64DecodedBytes, d as sniffMimeFromBase64 } from "./subagent-registry-yBrXpTO-.js";
|
|
5
5
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-B40lik2B.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import chalk from "chalk";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, P as setVerbose, S as shortenHomePath, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { Dt as resolveSessionKeyForRequest, Et as agentCommand, Lt as createDefaultDeps,
|
|
4
|
+
import { $t as parseIdentityMarkdown, Dt as resolveSessionKeyForRequest, Et as agentCommand, Lt as createDefaultDeps, Zt as identityHasValues } from "./reply-DiFKjgpz.js";
|
|
5
5
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_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";
|
|
@@ -115,15 +115,15 @@ import "./install-safe-path-tCLiMpmO.js";
|
|
|
115
115
|
import "./npm-registry-spec-C2JDdSZS.js";
|
|
116
116
|
import "./skill-scanner-CLs8u6vQ.js";
|
|
117
117
|
import "./installs-C1Cebk97.js";
|
|
118
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
118
|
+
import { r as setupChannels } from "./onboard-channels-CaRYhl9J.js";
|
|
119
119
|
import { t as requireValidConfigSnapshot } from "./config-validation-CmimHAES.js";
|
|
120
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
120
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-CsltNAhl.js";
|
|
121
121
|
import "./shared-Knv1hy6h.js";
|
|
122
122
|
import "./auth-token-BnOynwk4.js";
|
|
123
123
|
import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
|
|
124
|
-
import "./provider-auth-helpers-
|
|
124
|
+
import "./provider-auth-helpers-DyW_7UGQ.js";
|
|
125
125
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-BLzEBA1v.js";
|
|
126
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
126
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-Cy78Q2jy.js";
|
|
127
127
|
import "./openai-model-default-DMjQRsb1.js";
|
|
128
128
|
import "./model-picker-Ddo3jHe-.js";
|
|
129
129
|
import path from "node:path";
|
|
@@ -15,7 +15,7 @@ import "./client-DMBZpU6X.js";
|
|
|
15
15
|
import { a as randomIdempotencyKey, n as callGateway } from "./call-BcE47FtD.js";
|
|
16
16
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import { E as createDefaultDeps, S as resolveSessionKeyForRequest, x as agentCommand } from "./subagent-registry-
|
|
18
|
+
import { E as createDefaultDeps, S as resolveSessionKeyForRequest, x as agentCommand } from "./subagent-registry-yBrXpTO-.js";
|
|
19
19
|
import "./sessions-CJXnZVjR.js";
|
|
20
20
|
import "./tokens-Csntmwwn.js";
|
|
21
21
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -108,16 +108,16 @@ import "./install-safe-path-BK8js28D.js";
|
|
|
108
108
|
import "./npm-registry-spec-DkaZNHAW.js";
|
|
109
109
|
import "./skill-scanner-BGWOBqLY.js";
|
|
110
110
|
import "./installs-CgQpVncj.js";
|
|
111
|
-
import "./onboard-channels-
|
|
111
|
+
import "./onboard-channels-B188R3F1.js";
|
|
112
112
|
import "./config-validation-BITwrsxY.js";
|
|
113
113
|
import { t as collectOption } from "./helpers-ITexi1_a.js";
|
|
114
|
-
import "./agents.config-
|
|
114
|
+
import "./agents.config-aAHTt-cM.js";
|
|
115
115
|
import "./shared-D8K9MkWg.js";
|
|
116
116
|
import "./auth-token-Cmrk2TPo.js";
|
|
117
117
|
import "./logging-BGewRZy0.js";
|
|
118
|
-
import "./provider-auth-helpers-
|
|
119
|
-
import { a as agentsAddCommand, i as agentsDeleteCommand, n as agentsListCommand, r as agentsSetIdentityCommand } from "./agents-
|
|
120
|
-
import "./auth-choice-
|
|
118
|
+
import "./provider-auth-helpers-C9GRYN-o.js";
|
|
119
|
+
import { a as agentsAddCommand, i as agentsDeleteCommand, n as agentsListCommand, r as agentsSetIdentityCommand } from "./agents-Cf7lxbx4.js";
|
|
120
|
+
import "./auth-choice-wU5fEl73.js";
|
|
121
121
|
import "./openai-model-default-DAwnTUcK.js";
|
|
122
122
|
import "./model-picker-D5nCutGW.js";
|
|
123
123
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-DiFKjgpz.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -111,23 +111,23 @@ import "./install-safe-path-tCLiMpmO.js";
|
|
|
111
111
|
import "./npm-registry-spec-C2JDdSZS.js";
|
|
112
112
|
import "./skill-scanner-CLs8u6vQ.js";
|
|
113
113
|
import "./installs-C1Cebk97.js";
|
|
114
|
-
import "./onboard-channels-
|
|
114
|
+
import "./onboard-channels-CaRYhl9J.js";
|
|
115
115
|
import "./daemon-runtime-2mwX-jqj.js";
|
|
116
116
|
import "./systemd-riq8uNJQ.js";
|
|
117
117
|
import "./service-Cl74hx8J.js";
|
|
118
118
|
import "./widearea-dns-DzLerlJb.js";
|
|
119
119
|
import "./bonjour-discovery-BHTF5p0X.js";
|
|
120
|
-
import "./health-
|
|
120
|
+
import "./health-BMKu3MJz.js";
|
|
121
121
|
import "./control-ui-assets-Z947tKLt.js";
|
|
122
122
|
import "./skills-install-D67isO1L.js";
|
|
123
123
|
import "./shared-Knv1hy6h.js";
|
|
124
124
|
import "./auth-token-BnOynwk4.js";
|
|
125
125
|
import "./logging-BzzwiKjv.js";
|
|
126
|
-
import "./provider-auth-helpers-
|
|
127
|
-
import "./auth-choice-
|
|
126
|
+
import "./provider-auth-helpers-DyW_7UGQ.js";
|
|
127
|
+
import "./auth-choice-Cy78Q2jy.js";
|
|
128
128
|
import "./openai-model-default-DMjQRsb1.js";
|
|
129
129
|
import "./model-picker-Ddo3jHe-.js";
|
|
130
|
-
import { n as configureCommandFromSectionsArg, r as CONFIGURE_WIZARD_SECTIONS } from "./configure-
|
|
130
|
+
import { n as configureCommandFromSectionsArg, r as CONFIGURE_WIZARD_SECTIONS } from "./configure-DZn4tz03.js";
|
|
131
131
|
import "./systemd-linger-aQ75ZlXY.js";
|
|
132
132
|
import "./onboard-custom-C7O-zfQ1.js";
|
|
133
133
|
import "./health-format-DSwnXZPU.js";
|