@symerian/symi 2.8.17 → 2.9.0
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-9cAyC5ED.js → agents-CvNeiuSB.js} +4 -4
- package/dist/{agents.config-Cu9zTq04.js → agents.config-BCgY5FjE.js} +1 -1
- package/dist/{agents.config-DuwhYjpi.js → agents.config-Ct64cGQ8.js} +1 -1
- package/dist/{audio-preflight-rjCWpcfE.js → audio-preflight-Cb-T0r6e.js} +4 -4
- package/dist/{auth-choice-CPqyqc93.js → auth-choice-ChFU9OCF.js} +1 -1
- package/dist/{auth-choice-DeNzlUAR.js → auth-choice-DmMyKZX4.js} +1 -1
- package/dist/{banner-S1NGA6-s.js → banner-Bf46tqiY.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-C0v4BJgp.js → channel-options-Bqc2VCgt.js} +1 -1
- package/dist/{channel-options-C6y7Khvq.js → channel-options-D4a0ZJ72.js} +1 -1
- package/dist/{channel-web-DirOFV_n.js → channel-web-YNC2xS5K.js} +1 -1
- package/dist/{channels-cli-BhNHckMo.js → channels-cli-BFJcNLbB.js} +6 -6
- package/dist/{channels-cli-By_SbriI.js → channels-cli-h3GnmmM9.js} +6 -6
- package/dist/{chrome-C08Z0XAa.js → chrome-ROtrXlNs.js} +7 -7
- package/dist/{cli-B1QQv1cb.js → cli-BX54CAM7.js} +3 -3
- package/dist/{cli-Bx4RQCuK.js → cli-BpQlSGVs.js} +3 -3
- package/dist/{command-registry-uMOPbrbY.js → command-registry-BiRjJ2Sy.js} +10 -10
- package/dist/{completion-cli-B6s_3rEE.js → completion-cli-BYXofVqv.js} +2 -2
- package/dist/{completion-cli-DVD79pVj.js → completion-cli-C8K5J1ld.js} +1 -1
- package/dist/{config-cli-DzudcNAD.js → config-cli-BPPD3xqE.js} +1 -1
- package/dist/{config-cli-DCGgd-ZL.js → config-cli-Deoo6r2K.js} +1 -1
- package/dist/{configure-BybpK_1N.js → configure-BKHxUAAh.js} +3 -3
- package/dist/{configure-CItWwZwI.js → configure-D4f0P3bH.js} +3 -3
- package/dist/{deliver-qUx-eLKt.js → deliver-B0OUq6RP.js} +1 -1
- package/dist/{doctor-completion-BkwgaO4G.js → doctor-completion-gMWymNcA.js} +1 -1
- package/dist/{doctor-completion-Bf6dN4D-.js → doctor-completion-woDYSVtY.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-eNV6kb1V.js → gateway-cli-Bnh42-56.js} +85 -41
- package/dist/{gateway-cli-7CVmb3cX.js → gateway-cli-DsnkTUOp.js} +85 -41
- package/dist/{glass-ui-ws-i91Ms6ts.js → glass-ui-ws-0Y0KsBvU.js} +9 -9
- package/dist/{glass-ui-ws-B4fsBuHx.js → glass-ui-ws-uj3DRmL8.js} +9 -9
- package/dist/{health-C4tWTDu_.js → health-CcV5nKIK.js} +1 -1
- package/dist/{health-dA8r4WJ4.js → health-Dl2WRoTa.js} +1 -1
- package/dist/{hooks-cli-DYn9nXX0.js → hooks-cli-CTcHtm_0.js} +4 -4
- package/dist/{hooks-cli-uGLWBIcW.js → hooks-cli-DEJe3dUH.js} +4 -4
- package/dist/{image-C6rCON9L.js → image-BuVL0jHI.js} +1 -1
- package/dist/index.js +8 -8
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{manager-DhGfNqfc.js → manager-9Mni2AA9.js} +1 -1
- package/dist/{manager-D6E6EGWa.js → manager-C-H0XXJq.js} +1 -1
- package/dist/{manager-BaSutzfz.js → manager-CjW8kPVc.js} +1 -1
- package/dist/{manager-CgQo1mIM.js → manager-QPF0UtOC.js} +1 -1
- package/dist/{memory-cli-BMb31chU.js → memory-cli-BTByRgM0.js} +3 -3
- package/dist/{memory-cli-lJe72a5i.js → memory-cli-OW9XfyYu.js} +3 -3
- package/dist/{models-BITN17gY.js → models-Q1jV8ArL.js} +2 -2
- package/dist/{models-cli-CHjxevMe.js → models-cli-Cy6H1sFq.js} +5 -5
- package/dist/{models-cli-C6JJWWoI.js → models-cli-pfVmmgpv.js} +4 -4
- package/dist/{onboard-C8Si08MS.js → onboard-CvpyaUQd.js} +2 -2
- package/dist/{onboard-DdJV-Doq.js → onboard-EL8foMiP.js} +2 -2
- package/dist/{onboard-channels-Cb-bemSg.js → onboard-channels-BRoSUijQ.js} +1 -1
- package/dist/{onboard-channels-PQP9wlk8.js → onboard-channels-Bupbm6zh.js} +1 -1
- package/dist/{onboarding-QAtuyHtA.js → onboarding-Ch8WSJ3j.js} +3 -3
- package/dist/{onboarding-CAaoPaVQ.js → onboarding-Dg5ydWSh.js} +3 -3
- package/dist/{onboarding.finalize-MuO2mvHv.js → onboarding.finalize-Bo8-8TtH.js} +7 -7
- package/dist/{onboarding.finalize-BhlQmJlX.js → onboarding.finalize-CCTaCp2s.js} +8 -8
- package/dist/{pi-embedded-BUYKq7Wv.js → pi-embedded-Bl3YkBkI.js} +149 -35
- package/dist/{pi-embedded-helpers-P13adotN.js → pi-embedded-helpers-D1_Sab0M.js} +4 -4
- package/dist/{plugin-registry-tXiHw0vr.js → plugin-registry-BVYZLxmo.js} +1 -1
- package/dist/{plugin-registry-DEhkDNDx.js → plugin-registry-Bn9Mj8mP.js} +1 -1
- package/dist/plugin-sdk/agents/pi-tools.read-edit-guard.d.ts +5 -0
- package/dist/plugin-sdk/agents/pi-tools.read-edit-tracker.d.ts +26 -0
- package/dist/plugin-sdk/{channel-web-C7aP_KKZ.js → channel-web-BhqGIC7q.js} +1 -1
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{manager-CvrDwB1Q.js → manager-DdOb0Em2.js} +1 -1
- package/dist/plugin-sdk/{reply-BI7Rf3_S.js → reply-Cjjf4VYT.js} +149 -35
- package/dist/plugin-sdk/{synthesis-B3z0Jqt1.js → synthesis-CZ8BYNXP.js} +2 -2
- package/dist/plugin-sdk/{web-D2WrY-DI.js → web-B8upqMUo.js} +3 -3
- package/dist/{plugins-cli-ByG6o7D2.js → plugins-cli-3h1N5N8n.js} +4 -4
- package/dist/{plugins-cli-D1vPxTOQ.js → plugins-cli-CYOQh2DM.js} +4 -4
- package/dist/{program-Q44fKoq6.js → program-D3_xE9BL.js} +9 -9
- package/dist/{program-context-C3QEc34t.js → program-context-COwsYCbf.js} +18 -18
- package/dist/{prompt-select-styled-DBVeLysq.js → prompt-select-styled-D88AWCeM.js} +6 -6
- package/dist/{prompt-select-styled-BSZrZcW2.js → prompt-select-styled-rKPBDv7n.js} +6 -6
- package/dist/{provider-auth-helpers-Bm4cf-Ms.js → provider-auth-helpers-CyZyVx-V.js} +1 -1
- package/dist/{provider-auth-helpers-rH91VXG-.js → provider-auth-helpers-rff7s_gC.js} +1 -1
- package/dist/{push-apns-CRD9IH1s.js → push-apns-BNzgqUl3.js} +1 -1
- package/dist/{push-apns-Cj10sUbK.js → push-apns-d9qKGKPe.js} +1 -1
- package/dist/{pw-ai-CeWN4iD9.js → pw-ai-DWkC5eGA.js} +1 -1
- package/dist/{register.agent-DGDnsvVd.js → register.agent-BjaqQA02.js} +7 -7
- package/dist/{register.agent-Dfu85lRL.js → register.agent-D_MON8p-.js} +8 -8
- package/dist/{register.configure-FCTbPCwe.js → register.configure-BWkkQhpH.js} +8 -8
- package/dist/{register.configure-BcdyiQui.js → register.configure-UJi9sfNv.js} +8 -8
- package/dist/{register.maintenance-Y8P9AnLe.js → register.maintenance-ChskcWGz.js} +10 -10
- package/dist/{register.maintenance-DvDwpW6B.js → register.maintenance-DJptz3DR.js} +9 -9
- package/dist/{register.message-mTqwOntI.js → register.message-BDTsiyrW.js} +4 -4
- package/dist/{register.message-C57ubt4f.js → register.message-CiadI_oS.js} +4 -4
- package/dist/{register.onboard-MIChlygg.js → register.onboard-BflOE1jy.js} +6 -6
- package/dist/{register.onboard-YCmMzAW-.js → register.onboard-KR_-4TLY.js} +6 -6
- package/dist/{register.setup-sQeN5xag.js → register.setup-Cl0sD25T.js} +6 -6
- package/dist/{register.setup-DzUZ2x6y.js → register.setup-W-oNfOp0.js} +6 -6
- package/dist/{register.status-health-sessions-DaPK2tow.js → register.status-health-sessions-CCQs235z.js} +5 -5
- package/dist/{register.status-health-sessions-DsptpS7K.js → register.status-health-sessions-CT_SmmOH.js} +5 -5
- package/dist/{register.subclis-17z5d7uO.js → register.subclis-ByZAz4st.js} +9 -9
- package/dist/{reply-2awhibgG.js → reply-CgyjcoxC.js} +148 -34
- package/dist/{run-main-CfVO6DFS.js → run-main-xmWpjZL9.js} +17 -17
- package/dist/{runner-D633VT13.js → runner-ecX1WzDt.js} +1 -1
- package/dist/{server-methods-Bdgs89ve.js → server-methods-CBn954AO.js} +8 -8
- package/dist/{server-methods-D_g3GJhv.js → server-methods-DDpCXuOU.js} +8 -8
- package/dist/{server-node-events-BZN3RZ8H.js → server-node-events-BBEMSKVE.js} +4 -4
- package/dist/{server-node-events-Cvgmf8fS.js → server-node-events-BUEZ3py9.js} +4 -4
- package/dist/{status-CwqBkxi2.js → status-BjMiGq0n.js} +1 -1
- package/dist/{status-Dkr4Celv.js → status-CG5iHUJ6.js} +3 -3
- package/dist/{status-DcxWlds6.js → status-CpvzoCOC.js} +1 -1
- package/dist/{status-Ca_VZkZV.js → status-PfvX-BjO.js} +3 -3
- package/dist/{subagent-registry-CncIZPCd.js → subagent-registry-D0IYimMO.js} +148 -34
- package/dist/{synthesis-CxvpkXBW.js → synthesis-BVZ5RJLg.js} +3 -3
- package/dist/{synthesis-lD0Vb_9q.js → synthesis-CBwKBuLy.js} +7 -7
- package/dist/{synthesis-CTC73eY9.js → synthesis-D55QrjAJ.js} +3 -3
- package/dist/{synthesis-DOmJ2Gay.js → synthesis-itgrzpuj.js} +2 -2
- package/dist/{unified-runner-JQaSdhSg.js → unified-runner-BhnvjB1J.js} +163 -49
- package/dist/{update-cli-BO1uw-SU.js → update-cli-CL1_LPBS.js} +10 -10
- package/dist/{update-cli-CplnPSZ5.js → update-cli-D3K4mhrr.js} +9 -9
- package/dist/{update-runner-Df4mjndq.js → update-runner-Bmq67eos.js} +1 -1
- package/dist/{update-runner-DFp9PDMN.js → update-runner-DMucmRlv.js} +1 -1
- package/dist/{web-CCEVjDcU.js → web-B0lZdBBl.js} +3 -3
- package/dist/{web-CZoQ03ZE.js → web-C1HPdY_D.js} +2 -2
- package/dist/{web-BEDc6iEz.js → web-DCO_YCRw.js} +7 -7
- package/dist/{web-Dn33Cd3-.js → web-DmgQtLx3.js} +4 -4
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
|
@@ -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-ByDX0v9V.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-C8K5J1ld.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-DewoEWtc.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-BYXofVqv.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-xmWpjZL9.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 { O as resolveAgentTimeoutMs, m as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { O as resolveAgentTimeoutMs, m as runEmbeddedPiAgent } from "./pi-embedded-Bl3YkBkI.js";
|
|
11
11
|
import "./plugins-71oIavrF.js";
|
|
12
12
|
import "./accounts-DDEyGwby.js";
|
|
13
13
|
import "./bindings-DYVakimr.js";
|
|
@@ -35,7 +35,7 @@ import "./accounts-DImOt9jX.js";
|
|
|
35
35
|
import { n as resolveSessionFilePath, s as resolveStorePath } from "./paths-DkMamAQ-.js";
|
|
36
36
|
import "./tool-images-ChC2CXaN.js";
|
|
37
37
|
import "./image-MNvheU8U.js";
|
|
38
|
-
import "./manager-
|
|
38
|
+
import "./manager-C-H0XXJq.js";
|
|
39
39
|
import "./gemini-auth-DVcG-42i.js";
|
|
40
40
|
import "./retry-QGp0jvVi.js";
|
|
41
41
|
import "./sqlite-Bo4pHfp8.js";
|
|
@@ -22,9 +22,9 @@ import "./pairing-token-Byh6drgn.js";
|
|
|
22
22
|
import { t as safeEqualSecret } from "./secret-equal-CbntzRkh.js";
|
|
23
23
|
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";
|
|
24
24
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-Cmumpn76.js";
|
|
25
|
-
import { $ as getCliSessionId, $t as setGatewaySigusr1RestartPolicy, An as DEFAULT_INPUT_MAX_REDIRECTS, At as normalizeOptionalAgentId, Cr as getAgentRunContext, Ct as summarizeRestartSentinel, E as createDefaultDeps, Et as normalizeHttpWebhookUrl, F as buildHistoryContextFromEntries, Fn as resolveInputFileLimits, Ft as migrateLegacyCronPayload, H as getTotalPendingReplies, Ht as detectSuspiciousPatterns, It as buildDeliveryFromLegacyPayload, J as runAgentTurn, Jt as deferGatewayRestartUntilIdle, Ln as resolveAgentTimeoutMs, Lt as hasLegacyDeliveryHints, Mn as extractFileContentFromSource, Mt as normalizeOptionalText, Nn as extractImageContentFromSource, Nt as normalizePayloadToSystemText, O as resolveAgentAvatar, On as DEFAULT_INPUT_IMAGE_MAX_BYTES, Pn as normalizeMimeList, Pt as normalizeRequiredName, Q as resolveModelProfile, Rt as stripLegacyDeliveryFields, Sr as emitAgentEvent, T as createOutboundSendDeps, Tr as registerAgentRunContext, Ut as getHookType, Vt as buildSafeExternalPrompt, Wt as isExternalHookSession, X as getActiveEmbeddedRunCount, Xt as isGatewaySigusr1RestartExternallyAllowed, Yt as emitGatewayRestart, Zt as markGatewaySigusr1RestartHandled, _ as readJsonBodyWithLimit, _t as runWithModelFallback, at as readLatestAssistantReply, b as sleepWithAbort, br as stripHeartbeatToken, dr as getTotalQueueSize, en as setPreRestartDeferralCheck, et as setCliSessionId, f as getPluginToolMeta, fn as requestHeartbeatNow, fr as resetAllLanes, ft as resolveOutboundTarget, g as handleSlackHttpRequest, gr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, hr as CommandLane, ht as resetDirectoryCache, i as listDescendantRunsForRequester, jn as DEFAULT_INPUT_TIMEOUT_MS, jt as normalizeOptionalSessionKey, kn as DEFAULT_INPUT_IMAGE_MIMES, kt as inferLegacyName, l as applyToolPolicyPipeline, lr as getActiveTaskCount, lt as resolveOutboundSessionRoute, m as loadSymiPlugins, mr as waitForActiveTasks, n as countActiveRunsForSession, ot as resolveAnnounceTargetFromKey, pr as setCommandLaneConcurrency, pt as resolveSessionDeliveryTarget, q as resolveCronStyleNow, qt as consumeGatewaySigusr1RestartAuthorization, r as initSubagentRegistry, rt as createSymiTools, s as runSubagentAnnounceFlow, t as countActiveDescendantRuns, tt as runCliAgent, u as buildDefaultToolPolicyPipelineSteps, v as requestBodyErrorToText, wn as enqueueSystemEvent, wr as onAgentEvent, x as agentCommand, xr as clearAgentRunContext, xt as formatRestartSentinelMessage, y as computeBackoff, yt as consumeRestartSentinel } from "./subagent-registry-
|
|
25
|
+
import { $ as getCliSessionId, $t as setGatewaySigusr1RestartPolicy, An as DEFAULT_INPUT_MAX_REDIRECTS, At as normalizeOptionalAgentId, Cr as getAgentRunContext, Ct as summarizeRestartSentinel, E as createDefaultDeps, Et as normalizeHttpWebhookUrl, F as buildHistoryContextFromEntries, Fn as resolveInputFileLimits, Ft as migrateLegacyCronPayload, H as getTotalPendingReplies, Ht as detectSuspiciousPatterns, It as buildDeliveryFromLegacyPayload, J as runAgentTurn, Jt as deferGatewayRestartUntilIdle, Ln as resolveAgentTimeoutMs, Lt as hasLegacyDeliveryHints, Mn as extractFileContentFromSource, Mt as normalizeOptionalText, Nn as extractImageContentFromSource, Nt as normalizePayloadToSystemText, O as resolveAgentAvatar, On as DEFAULT_INPUT_IMAGE_MAX_BYTES, Pn as normalizeMimeList, Pt as normalizeRequiredName, Q as resolveModelProfile, Rt as stripLegacyDeliveryFields, Sr as emitAgentEvent, T as createOutboundSendDeps, Tr as registerAgentRunContext, Ut as getHookType, Vt as buildSafeExternalPrompt, Wt as isExternalHookSession, X as getActiveEmbeddedRunCount, Xt as isGatewaySigusr1RestartExternallyAllowed, Yt as emitGatewayRestart, Zt as markGatewaySigusr1RestartHandled, _ as readJsonBodyWithLimit, _t as runWithModelFallback, at as readLatestAssistantReply, b as sleepWithAbort, br as stripHeartbeatToken, dr as getTotalQueueSize, en as setPreRestartDeferralCheck, et as setCliSessionId, f as getPluginToolMeta, fn as requestHeartbeatNow, fr as resetAllLanes, ft as resolveOutboundTarget, g as handleSlackHttpRequest, gr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, hr as CommandLane, ht as resetDirectoryCache, i as listDescendantRunsForRequester, jn as DEFAULT_INPUT_TIMEOUT_MS, jt as normalizeOptionalSessionKey, kn as DEFAULT_INPUT_IMAGE_MIMES, kt as inferLegacyName, l as applyToolPolicyPipeline, lr as getActiveTaskCount, lt as resolveOutboundSessionRoute, m as loadSymiPlugins, mr as waitForActiveTasks, n as countActiveRunsForSession, ot as resolveAnnounceTargetFromKey, pr as setCommandLaneConcurrency, pt as resolveSessionDeliveryTarget, q as resolveCronStyleNow, qt as consumeGatewaySigusr1RestartAuthorization, r as initSubagentRegistry, rt as createSymiTools, s as runSubagentAnnounceFlow, t as countActiveDescendantRuns, tt as runCliAgent, u as buildDefaultToolPolicyPipelineSteps, v as requestBodyErrorToText, wn as enqueueSystemEvent, wr as onAgentEvent, x as agentCommand, xr as clearAgentRunContext, xt as formatRestartSentinelMessage, y as computeBackoff, yt as consumeRestartSentinel } from "./subagent-registry-D0IYimMO.js";
|
|
26
26
|
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-BPD85pWA.js";
|
|
27
|
-
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-Csntmwwn.js";
|
|
27
|
+
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as SYMIPULSE_TOKEN } from "./tokens-Csntmwwn.js";
|
|
28
28
|
import { n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CwSlLxM8.js";
|
|
29
29
|
import { n as resolveWhatsAppAccount } from "./accounts-D9ITgITj.js";
|
|
30
30
|
import { t as buildChannelAccountBindings } from "./bindings-DlWb_Kaq.js";
|
|
@@ -60,8 +60,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
60
60
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, s as normalizeThinkLevel } from "./thinking-8sKPnzpp.js";
|
|
61
61
|
import "./models-config-J1x_DaPn.js";
|
|
62
62
|
import { a as resolveAgentIdentity } from "./reply-prefix-BUN71nd5.js";
|
|
63
|
-
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-
|
|
64
|
-
import { a as resolveMemorySearchConfig } from "./manager-
|
|
63
|
+
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-OW9XfyYu.js";
|
|
64
|
+
import { a as resolveMemorySearchConfig } from "./manager-QPF0UtOC.js";
|
|
65
65
|
import "./gemini-auth-DEakvf-D.js";
|
|
66
66
|
import "./retry-C4Q_VPOo.js";
|
|
67
67
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -131,20 +131,20 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
131
131
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-vevi4OAS.js";
|
|
132
132
|
import { c as probeGateway, s as resolveNodeCommandAllowlist } from "./audit-CuKP86d_.js";
|
|
133
133
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-BWaTCKHh.js";
|
|
134
|
-
import { i as pickGatewaySelfPresence } from "./status-
|
|
135
|
-
import { a as styleHealthChannelLine, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
134
|
+
import { i as pickGatewaySelfPresence } from "./status-PfvX-BjO.js";
|
|
135
|
+
import { a as styleHealthChannelLine, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-CcV5nKIK.js";
|
|
136
136
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Clf7H-Sm.js";
|
|
137
137
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-BNjupSIM.js";
|
|
138
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
139
|
-
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-
|
|
140
|
-
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-
|
|
138
|
+
import { t as runOnboardingWizard } from "./onboarding-Dg5ydWSh.js";
|
|
139
|
+
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-DDpCXuOU.js";
|
|
140
|
+
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-d9qKGKPe.js";
|
|
141
141
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-YTXXLbHH.js";
|
|
142
|
-
import "./agents.config-
|
|
142
|
+
import "./agents.config-BCgY5FjE.js";
|
|
143
143
|
import "./dm-policy-shared-JiSNSaKz.js";
|
|
144
144
|
import "./node-service-B-qdOCNb.js";
|
|
145
145
|
import "./status.update-B5zI1_Id.js";
|
|
146
146
|
import "./skills-install-BnEN_qla.js";
|
|
147
|
-
import "./update-runner-
|
|
147
|
+
import "./update-runner-Bmq67eos.js";
|
|
148
148
|
import { t as resolveAgentSessionDirs } from "./session-dirs-Dgz7kkUM.js";
|
|
149
149
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-mCPSj6kV.js";
|
|
150
150
|
import { n as forceFreePortAndWait } from "./ports-DQg7kV5s.js";
|
|
@@ -1859,6 +1859,66 @@ function createChannelManager(opts) {
|
|
|
1859
1859
|
};
|
|
1860
1860
|
}
|
|
1861
1861
|
|
|
1862
|
+
//#endregion
|
|
1863
|
+
//#region src/gateway/outbound-filter.ts
|
|
1864
|
+
const SILENT_REPLY_BARE_RE = new RegExp(`^\\s*(?:["'\`]|\\*+|_+)?\\s*${SILENT_REPLY_TOKEN}\\s*(?:["'\`]|\\*+|_+)?\\s*$`);
|
|
1865
|
+
const SYMIPULSE_BARE_RE = new RegExp(`^\\s*(?:["'\`]|\\*+|_+)?\\s*${SYMIPULSE_TOKEN}\\s*(?:["'\`]|\\*+|_+)?\\s*$`);
|
|
1866
|
+
/** Strict-match check for the bare NO_REPLY token. */
|
|
1867
|
+
function isBareSilentReply(text) {
|
|
1868
|
+
if (!text) return false;
|
|
1869
|
+
return SILENT_REPLY_BARE_RE.test(text);
|
|
1870
|
+
}
|
|
1871
|
+
/** Strict-match check for the bare SYMIPULSE_OK token. */
|
|
1872
|
+
function isBareSymipulseAck(text) {
|
|
1873
|
+
if (!text) return false;
|
|
1874
|
+
return SYMIPULSE_BARE_RE.test(text);
|
|
1875
|
+
}
|
|
1876
|
+
/**
|
|
1877
|
+
* Classify an outbound assistant message at the gateway boundary.
|
|
1878
|
+
*
|
|
1879
|
+
* Returns a structured verdict the caller uses to decide whether to
|
|
1880
|
+
* broadcast / persist a payload. Pure function — no side effects.
|
|
1881
|
+
*/
|
|
1882
|
+
function classifyOutboundMessage(rawText, opts) {
|
|
1883
|
+
const text = typeof rawText === "string" ? rawText : "";
|
|
1884
|
+
if (isBareSilentReply(text)) return {
|
|
1885
|
+
action: "drop",
|
|
1886
|
+
output: "",
|
|
1887
|
+
reason: "silent-reply-bare"
|
|
1888
|
+
};
|
|
1889
|
+
if (opts.isHeartbeat) {
|
|
1890
|
+
const stripped = stripHeartbeatToken(text, {
|
|
1891
|
+
mode: "heartbeat",
|
|
1892
|
+
maxAckChars: opts.heartbeatAckMaxChars
|
|
1893
|
+
});
|
|
1894
|
+
if (stripped.shouldSkip) return {
|
|
1895
|
+
action: "drop",
|
|
1896
|
+
output: "",
|
|
1897
|
+
reason: stripped.didStrip ? "symipulse-heartbeat-ack" : "silent-reply-bare"
|
|
1898
|
+
};
|
|
1899
|
+
if (stripped.didStrip) return {
|
|
1900
|
+
action: "deliver-stripped",
|
|
1901
|
+
output: stripped.text,
|
|
1902
|
+
reason: "symipulse-heartbeat-stripped"
|
|
1903
|
+
};
|
|
1904
|
+
return {
|
|
1905
|
+
action: "deliver",
|
|
1906
|
+
output: text,
|
|
1907
|
+
reason: "deliver"
|
|
1908
|
+
};
|
|
1909
|
+
}
|
|
1910
|
+
if (isBareSymipulseAck(text)) return {
|
|
1911
|
+
action: "drop",
|
|
1912
|
+
output: "",
|
|
1913
|
+
reason: "symipulse-non-heartbeat-bare"
|
|
1914
|
+
};
|
|
1915
|
+
return {
|
|
1916
|
+
action: "deliver",
|
|
1917
|
+
output: text,
|
|
1918
|
+
reason: "deliver"
|
|
1919
|
+
};
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1862
1922
|
//#endregion
|
|
1863
1923
|
//#region src/gateway/server-chat.ts
|
|
1864
1924
|
function resolveHeartbeatAckMaxChars$1() {
|
|
@@ -1892,28 +1952,6 @@ function shouldHideHeartbeatChatOutput(runId, sourceRunId) {
|
|
|
1892
1952
|
return true;
|
|
1893
1953
|
}
|
|
1894
1954
|
}
|
|
1895
|
-
function normalizeHeartbeatChatFinalText(params) {
|
|
1896
|
-
if (!shouldHideHeartbeatChatOutput(params.runId, params.sourceRunId)) return {
|
|
1897
|
-
suppress: false,
|
|
1898
|
-
text: params.text
|
|
1899
|
-
};
|
|
1900
|
-
const stripped = stripHeartbeatToken(params.text, {
|
|
1901
|
-
mode: "heartbeat",
|
|
1902
|
-
maxAckChars: resolveHeartbeatAckMaxChars$1()
|
|
1903
|
-
});
|
|
1904
|
-
if (!stripped.didStrip) return {
|
|
1905
|
-
suppress: false,
|
|
1906
|
-
text: params.text
|
|
1907
|
-
};
|
|
1908
|
-
if (stripped.shouldSkip) return {
|
|
1909
|
-
suppress: true,
|
|
1910
|
-
text: ""
|
|
1911
|
-
};
|
|
1912
|
-
return {
|
|
1913
|
-
suppress: false,
|
|
1914
|
-
text: stripped.text
|
|
1915
|
-
};
|
|
1916
|
-
}
|
|
1917
1955
|
function createChatRunRegistry() {
|
|
1918
1956
|
const chatRunSessions = /* @__PURE__ */ new Map();
|
|
1919
1957
|
const add = (sessionId, entry) => {
|
|
@@ -2067,16 +2105,22 @@ function createAgentEventHandler({ broadcast, broadcastToConnIds, nodeSendToSess
|
|
|
2067
2105
|
nodeSendToSession(sessionKey, "chat", flushPayload);
|
|
2068
2106
|
}
|
|
2069
2107
|
chatRunState.pendingDeltaText.delete(clientRunId);
|
|
2070
|
-
const
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2108
|
+
const bufferedText = chatRunState.buffers.get(clientRunId)?.trim() ?? "";
|
|
2109
|
+
const heartbeatCtx = resolveHeartbeatContext(clientRunId, sourceRunId);
|
|
2110
|
+
const isHeartbeatRun = !!heartbeatCtx?.isHeartbeat;
|
|
2111
|
+
const heartbeatHidden = isHeartbeatRun && shouldHideHeartbeatChatOutput(clientRunId, sourceRunId);
|
|
2112
|
+
const filterResult = isHeartbeatRun && !heartbeatHidden ? {
|
|
2113
|
+
action: "deliver",
|
|
2114
|
+
output: bufferedText,
|
|
2115
|
+
reason: "deliver"
|
|
2116
|
+
} : classifyOutboundMessage(bufferedText, {
|
|
2117
|
+
isHeartbeat: heartbeatHidden,
|
|
2118
|
+
heartbeatAckMaxChars: resolveHeartbeatAckMaxChars$1()
|
|
2074
2119
|
});
|
|
2075
|
-
const text =
|
|
2076
|
-
const shouldSuppressSilent =
|
|
2120
|
+
const text = filterResult.output.trim();
|
|
2121
|
+
const shouldSuppressSilent = filterResult.action === "drop";
|
|
2077
2122
|
chatRunState.buffers.delete(clientRunId);
|
|
2078
2123
|
chatRunState.deltaSentAt.delete(clientRunId);
|
|
2079
|
-
const heartbeatCtx = resolveHeartbeatContext(clientRunId, sourceRunId);
|
|
2080
2124
|
if (jobState === "done") {
|
|
2081
2125
|
const payload = {
|
|
2082
2126
|
runId: clientRunId,
|
|
@@ -12143,7 +12187,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
12143
12187
|
});
|
|
12144
12188
|
let glassUiBridgeCleanup = null;
|
|
12145
12189
|
if (!minimalTestGateway) {
|
|
12146
|
-
const { createGlassUiBridge } = await import("./glass-ui-ws-
|
|
12190
|
+
const { createGlassUiBridge } = await import("./glass-ui-ws-0Y0KsBvU.js");
|
|
12147
12191
|
glassUiBridgeCleanup = createGlassUiBridge({
|
|
12148
12192
|
wss: glassUiWss,
|
|
12149
12193
|
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 migrateLegacyCronPayload, A as deferGatewayRestartUntilIdle, An as countActiveRunsForSession, Ar as extractFileContentFromSource, Bn as onAgentEvent, Bt as runAgentTurn, Ct as readJsonBodyWithLimit, D as resetDirectoryCache, Dr as DEFAULT_INPUT_IMAGE_MIMES, Dt as agentCommand, Er as DEFAULT_INPUT_IMAGE_MAX_BYTES, Et as sleepWithAbort, F as setGatewaySigusr1RestartPolicy, Fn as runSubagentAnnounceFlow, Fr as resolveAgentTimeoutMs, Ft as createOutboundSendDeps, Gt as runWithModelFallback, Ht as getActiveEmbeddedRunCount, I as setPreRestartDeferralCheck, In as readLatestAssistantReply, J as normalizeOptionalAgentId, Jt as runCliAgent, Kt as getCliSessionId, L as consumeRestartSentinel, Ln as clearAgentRunContext, M as isGatewaySigusr1RestartExternallyAllowed, Mn as listDescendantRunsForRequester, Mr as normalizeMimeList, N as markGatewaySigusr1RestartHandled, Nr as resolveInputFileLimits, Nt as resolveOutboundTarget, Or as DEFAULT_INPUT_MAX_REDIRECTS, Pt as resolveSessionDeliveryTarget, Q as normalizeRequiredName, Rn as emitAgentEvent, Rt as createDefaultDeps, Sr as enqueueSystemEvent, St as handleSlackHttpRequest, T as resolveOutboundSessionRoute, Tt as computeBackoff, V as summarizeRestartSentinel, Vn as registerAgentRunContext, W as normalizeHttpWebhookUrl, Wt as resolveModelProfile, X as normalizeOptionalText, Y as normalizeOptionalSessionKey, Z as normalizePayloadToSystemText, Zt as resolveAgentAvatar, _ as listSessionsFromStore, ar as resetAllLanes, cr as CommandLane, ct as requestHeartbeatNow, d as createSymiTools, dt as getPluginToolMeta, et as buildDeliveryFromLegacyPayload, gn as getTotalPendingReplies, i as resolveCronStyleNow, in as isExternalHookSession, ir as getTotalQueueSize, j as emitGatewayRestart, jn as initSubagentRegistry, jr as extractImageContentFromSource, k as consumeGatewaySigusr1RestartAuthorization, kn as countActiveDescendantRuns, kr as DEFAULT_INPUT_TIMEOUT_MS, l as applyToolPolicyPipeline, ln as buildHistoryContextFromEntries, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, mr as lookupContextTokens, nn as detectSuspiciousPatterns, nr as getActiveTaskCount, nt as stripLegacyDeliveryFields, or as setCommandLaneConcurrency, p as resolveAnnounceTargetFromKey, pr as stripHeartbeatToken, pt as loadSymiPlugins, q as inferLegacyName, qt as setCliSessionId, rn as getHookType, sr as waitForActiveTasks, tn as buildSafeExternalPrompt, tt as hasLegacyDeliveryHints, u as buildDefaultToolPolicyPipelineSteps, v as loadCombinedSessionStoreForGateway, wt as requestBodyErrorToText, y as loadSessionEntry, z as formatRestartSentinelMessage, zn as getAgentRunContext } from "./reply-
|
|
4
|
+
import { $ as migrateLegacyCronPayload, A as deferGatewayRestartUntilIdle, An as countActiveRunsForSession, Ar as extractFileContentFromSource, Bn as onAgentEvent, Bt as runAgentTurn, Ct as readJsonBodyWithLimit, D as resetDirectoryCache, Dr as DEFAULT_INPUT_IMAGE_MIMES, Dt as agentCommand, Er as DEFAULT_INPUT_IMAGE_MAX_BYTES, Et as sleepWithAbort, F as setGatewaySigusr1RestartPolicy, Fn as runSubagentAnnounceFlow, Fr as resolveAgentTimeoutMs, Ft as createOutboundSendDeps, Gt as runWithModelFallback, Ht as getActiveEmbeddedRunCount, I as setPreRestartDeferralCheck, In as readLatestAssistantReply, J as normalizeOptionalAgentId, Jt as runCliAgent, Kt as getCliSessionId, L as consumeRestartSentinel, Ln as clearAgentRunContext, M as isGatewaySigusr1RestartExternallyAllowed, Mn as listDescendantRunsForRequester, Mr as normalizeMimeList, N as markGatewaySigusr1RestartHandled, Nr as resolveInputFileLimits, Nt as resolveOutboundTarget, Or as DEFAULT_INPUT_MAX_REDIRECTS, Pt as resolveSessionDeliveryTarget, Q as normalizeRequiredName, Rn as emitAgentEvent, Rt as createDefaultDeps, Sr as enqueueSystemEvent, St as handleSlackHttpRequest, T as resolveOutboundSessionRoute, Tt as computeBackoff, V as summarizeRestartSentinel, Vn as registerAgentRunContext, W as normalizeHttpWebhookUrl, Wt as resolveModelProfile, X as normalizeOptionalText, Y as normalizeOptionalSessionKey, Z as normalizePayloadToSystemText, Zt as resolveAgentAvatar, _ as listSessionsFromStore, ar as resetAllLanes, cr as CommandLane, ct as requestHeartbeatNow, d as createSymiTools, dt as getPluginToolMeta, et as buildDeliveryFromLegacyPayload, gn as getTotalPendingReplies, i as resolveCronStyleNow, in as isExternalHookSession, ir as getTotalQueueSize, j as emitGatewayRestart, jn as initSubagentRegistry, jr as extractImageContentFromSource, k as consumeGatewaySigusr1RestartAuthorization, kn as countActiveDescendantRuns, kr as DEFAULT_INPUT_TIMEOUT_MS, l as applyToolPolicyPipeline, ln as buildHistoryContextFromEntries, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, mr as lookupContextTokens, nn as detectSuspiciousPatterns, nr as getActiveTaskCount, nt as stripLegacyDeliveryFields, or as setCommandLaneConcurrency, p as resolveAnnounceTargetFromKey, pr as stripHeartbeatToken, pt as loadSymiPlugins, q as inferLegacyName, qt as setCliSessionId, rn as getHookType, sr as waitForActiveTasks, tn as buildSafeExternalPrompt, tt as hasLegacyDeliveryHints, u as buildDefaultToolPolicyPipelineSteps, v as loadCombinedSessionStoreForGateway, wt as requestBodyErrorToText, y as loadSessionEntry, z as formatRestartSentinelMessage, zn as getAgentRunContext } from "./reply-CgyjcoxC.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";
|
|
@@ -59,7 +59,7 @@ import { t as fetchWithSsrFGuard } from "./fetch-guard-DOPkVbh3.js";
|
|
|
59
59
|
import "./api-key-rotation-CI0CtTtl.js";
|
|
60
60
|
import "./local-roots-aAFLQGkY.js";
|
|
61
61
|
import { n as loadModelCatalog } from "./model-catalog-D7k3dDQq.js";
|
|
62
|
-
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-BuceUQDl.js";
|
|
62
|
+
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as SYMIPULSE_TOKEN } from "./tokens-BuceUQDl.js";
|
|
63
63
|
import { r as getMachineDisplayName } from "./with-timeout-DwriPEWn.js";
|
|
64
64
|
import { C as getGlobalHookRunner, T as runGlobalGatewayStopSafely, t as deliverOutboundPayloads } from "./deliver-D7BQXt0l.js";
|
|
65
65
|
import { d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, m as isDiagnosticsEnabled } from "./diagnostic-JkjuvDGH.js";
|
|
@@ -67,8 +67,8 @@ import "./diagnostic-session-state-CUslJyKP.js";
|
|
|
67
67
|
import "./send-DpMnSIi5.js";
|
|
68
68
|
import "./model-ECsJuJew.js";
|
|
69
69
|
import { a as resolveAgentIdentity } from "./reply-prefix-CE2YmmsD.js";
|
|
70
|
-
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-
|
|
71
|
-
import { a as resolveMemorySearchConfig } from "./manager-
|
|
70
|
+
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-BTByRgM0.js";
|
|
71
|
+
import { a as resolveMemorySearchConfig } from "./manager-9Mni2AA9.js";
|
|
72
72
|
import "./retry-BoS4e4X_.js";
|
|
73
73
|
import "./sqlite-D55gRQbH.js";
|
|
74
74
|
import { a as ToolInputError } from "./target-errors-C9e6dMU_.js";
|
|
@@ -136,20 +136,20 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
136
136
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-pJIdlnB5.js";
|
|
137
137
|
import { c as probeGateway, s as resolveNodeCommandAllowlist } from "./audit-C9nq99IR.js";
|
|
138
138
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-CDkyebpA.js";
|
|
139
|
-
import { r as pickGatewaySelfPresence } from "./status-
|
|
140
|
-
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
139
|
+
import { r as pickGatewaySelfPresence } from "./status-CG5iHUJ6.js";
|
|
140
|
+
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-Dl2WRoTa.js";
|
|
141
141
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BrP31IQR.js";
|
|
142
142
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-Bbvpax6u.js";
|
|
143
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
144
|
-
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-
|
|
145
|
-
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-
|
|
143
|
+
import { t as runOnboardingWizard } from "./onboarding-Ch8WSJ3j.js";
|
|
144
|
+
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-CBn954AO.js";
|
|
145
|
+
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-BNzgqUl3.js";
|
|
146
146
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CjltkjCx.js";
|
|
147
|
-
import "./agents.config-
|
|
147
|
+
import "./agents.config-Ct64cGQ8.js";
|
|
148
148
|
import "./dm-policy-shared-KlzpDeT_.js";
|
|
149
149
|
import "./node-service-DxPZ_ZFk.js";
|
|
150
150
|
import "./status.update-8HXdAdwz.js";
|
|
151
151
|
import "./skills-install-B8r7cGKR.js";
|
|
152
|
-
import "./update-runner-
|
|
152
|
+
import "./update-runner-DMucmRlv.js";
|
|
153
153
|
import { t as resolveAgentSessionDirs } from "./session-dirs-CBqamQff.js";
|
|
154
154
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-D2fHsr-Z.js";
|
|
155
155
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -1863,6 +1863,66 @@ function createChannelManager(opts) {
|
|
|
1863
1863
|
};
|
|
1864
1864
|
}
|
|
1865
1865
|
|
|
1866
|
+
//#endregion
|
|
1867
|
+
//#region src/gateway/outbound-filter.ts
|
|
1868
|
+
const SILENT_REPLY_BARE_RE = new RegExp(`^\\s*(?:["'\`]|\\*+|_+)?\\s*${SILENT_REPLY_TOKEN}\\s*(?:["'\`]|\\*+|_+)?\\s*$`);
|
|
1869
|
+
const SYMIPULSE_BARE_RE = new RegExp(`^\\s*(?:["'\`]|\\*+|_+)?\\s*${SYMIPULSE_TOKEN}\\s*(?:["'\`]|\\*+|_+)?\\s*$`);
|
|
1870
|
+
/** Strict-match check for the bare NO_REPLY token. */
|
|
1871
|
+
function isBareSilentReply(text) {
|
|
1872
|
+
if (!text) return false;
|
|
1873
|
+
return SILENT_REPLY_BARE_RE.test(text);
|
|
1874
|
+
}
|
|
1875
|
+
/** Strict-match check for the bare SYMIPULSE_OK token. */
|
|
1876
|
+
function isBareSymipulseAck(text) {
|
|
1877
|
+
if (!text) return false;
|
|
1878
|
+
return SYMIPULSE_BARE_RE.test(text);
|
|
1879
|
+
}
|
|
1880
|
+
/**
|
|
1881
|
+
* Classify an outbound assistant message at the gateway boundary.
|
|
1882
|
+
*
|
|
1883
|
+
* Returns a structured verdict the caller uses to decide whether to
|
|
1884
|
+
* broadcast / persist a payload. Pure function — no side effects.
|
|
1885
|
+
*/
|
|
1886
|
+
function classifyOutboundMessage(rawText, opts) {
|
|
1887
|
+
const text = typeof rawText === "string" ? rawText : "";
|
|
1888
|
+
if (isBareSilentReply(text)) return {
|
|
1889
|
+
action: "drop",
|
|
1890
|
+
output: "",
|
|
1891
|
+
reason: "silent-reply-bare"
|
|
1892
|
+
};
|
|
1893
|
+
if (opts.isHeartbeat) {
|
|
1894
|
+
const stripped = stripHeartbeatToken(text, {
|
|
1895
|
+
mode: "heartbeat",
|
|
1896
|
+
maxAckChars: opts.heartbeatAckMaxChars
|
|
1897
|
+
});
|
|
1898
|
+
if (stripped.shouldSkip) return {
|
|
1899
|
+
action: "drop",
|
|
1900
|
+
output: "",
|
|
1901
|
+
reason: stripped.didStrip ? "symipulse-heartbeat-ack" : "silent-reply-bare"
|
|
1902
|
+
};
|
|
1903
|
+
if (stripped.didStrip) return {
|
|
1904
|
+
action: "deliver-stripped",
|
|
1905
|
+
output: stripped.text,
|
|
1906
|
+
reason: "symipulse-heartbeat-stripped"
|
|
1907
|
+
};
|
|
1908
|
+
return {
|
|
1909
|
+
action: "deliver",
|
|
1910
|
+
output: text,
|
|
1911
|
+
reason: "deliver"
|
|
1912
|
+
};
|
|
1913
|
+
}
|
|
1914
|
+
if (isBareSymipulseAck(text)) return {
|
|
1915
|
+
action: "drop",
|
|
1916
|
+
output: "",
|
|
1917
|
+
reason: "symipulse-non-heartbeat-bare"
|
|
1918
|
+
};
|
|
1919
|
+
return {
|
|
1920
|
+
action: "deliver",
|
|
1921
|
+
output: text,
|
|
1922
|
+
reason: "deliver"
|
|
1923
|
+
};
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1866
1926
|
//#endregion
|
|
1867
1927
|
//#region src/gateway/server-chat.ts
|
|
1868
1928
|
function resolveHeartbeatAckMaxChars$1() {
|
|
@@ -1896,28 +1956,6 @@ function shouldHideHeartbeatChatOutput(runId, sourceRunId) {
|
|
|
1896
1956
|
return true;
|
|
1897
1957
|
}
|
|
1898
1958
|
}
|
|
1899
|
-
function normalizeHeartbeatChatFinalText(params) {
|
|
1900
|
-
if (!shouldHideHeartbeatChatOutput(params.runId, params.sourceRunId)) return {
|
|
1901
|
-
suppress: false,
|
|
1902
|
-
text: params.text
|
|
1903
|
-
};
|
|
1904
|
-
const stripped = stripHeartbeatToken(params.text, {
|
|
1905
|
-
mode: "heartbeat",
|
|
1906
|
-
maxAckChars: resolveHeartbeatAckMaxChars$1()
|
|
1907
|
-
});
|
|
1908
|
-
if (!stripped.didStrip) return {
|
|
1909
|
-
suppress: false,
|
|
1910
|
-
text: params.text
|
|
1911
|
-
};
|
|
1912
|
-
if (stripped.shouldSkip) return {
|
|
1913
|
-
suppress: true,
|
|
1914
|
-
text: ""
|
|
1915
|
-
};
|
|
1916
|
-
return {
|
|
1917
|
-
suppress: false,
|
|
1918
|
-
text: stripped.text
|
|
1919
|
-
};
|
|
1920
|
-
}
|
|
1921
1959
|
function createChatRunRegistry() {
|
|
1922
1960
|
const chatRunSessions = /* @__PURE__ */ new Map();
|
|
1923
1961
|
const add = (sessionId, entry) => {
|
|
@@ -2071,16 +2109,22 @@ function createAgentEventHandler({ broadcast, broadcastToConnIds, nodeSendToSess
|
|
|
2071
2109
|
nodeSendToSession(sessionKey, "chat", flushPayload);
|
|
2072
2110
|
}
|
|
2073
2111
|
chatRunState.pendingDeltaText.delete(clientRunId);
|
|
2074
|
-
const
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2112
|
+
const bufferedText = chatRunState.buffers.get(clientRunId)?.trim() ?? "";
|
|
2113
|
+
const heartbeatCtx = resolveHeartbeatContext(clientRunId, sourceRunId);
|
|
2114
|
+
const isHeartbeatRun = !!heartbeatCtx?.isHeartbeat;
|
|
2115
|
+
const heartbeatHidden = isHeartbeatRun && shouldHideHeartbeatChatOutput(clientRunId, sourceRunId);
|
|
2116
|
+
const filterResult = isHeartbeatRun && !heartbeatHidden ? {
|
|
2117
|
+
action: "deliver",
|
|
2118
|
+
output: bufferedText,
|
|
2119
|
+
reason: "deliver"
|
|
2120
|
+
} : classifyOutboundMessage(bufferedText, {
|
|
2121
|
+
isHeartbeat: heartbeatHidden,
|
|
2122
|
+
heartbeatAckMaxChars: resolveHeartbeatAckMaxChars$1()
|
|
2078
2123
|
});
|
|
2079
|
-
const text =
|
|
2080
|
-
const shouldSuppressSilent =
|
|
2124
|
+
const text = filterResult.output.trim();
|
|
2125
|
+
const shouldSuppressSilent = filterResult.action === "drop";
|
|
2081
2126
|
chatRunState.buffers.delete(clientRunId);
|
|
2082
2127
|
chatRunState.deltaSentAt.delete(clientRunId);
|
|
2083
|
-
const heartbeatCtx = resolveHeartbeatContext(clientRunId, sourceRunId);
|
|
2084
2128
|
if (jobState === "done") {
|
|
2085
2129
|
const payload = {
|
|
2086
2130
|
runId: clientRunId,
|
|
@@ -12147,7 +12191,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
12147
12191
|
});
|
|
12148
12192
|
let glassUiBridgeCleanup = null;
|
|
12149
12193
|
if (!minimalTestGateway) {
|
|
12150
|
-
const { createGlassUiBridge } = await import("./glass-ui-ws-
|
|
12194
|
+
const { createGlassUiBridge } = await import("./glass-ui-ws-uj3DRmL8.js");
|
|
12151
12195
|
glassUiBridgeCleanup = createGlassUiBridge({
|
|
12152
12196
|
wss: glassUiWss,
|
|
12153
12197
|
context: gatewayRequestContext,
|
|
@@ -14,7 +14,7 @@ import "./client-CJIMV1WD.js";
|
|
|
14
14
|
import "./call-M4YyUnwu.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import { Q as resolveModelProfile } from "./subagent-registry-
|
|
17
|
+
import { Q as resolveModelProfile } from "./subagent-registry-D0IYimMO.js";
|
|
18
18
|
import "./sessions-BPD85pWA.js";
|
|
19
19
|
import "./tokens-Csntmwwn.js";
|
|
20
20
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -52,8 +52,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
52
52
|
import "./thinking-8sKPnzpp.js";
|
|
53
53
|
import "./models-config-J1x_DaPn.js";
|
|
54
54
|
import "./reply-prefix-BUN71nd5.js";
|
|
55
|
-
import "./memory-cli-
|
|
56
|
-
import "./manager-
|
|
55
|
+
import "./memory-cli-OW9XfyYu.js";
|
|
56
|
+
import "./manager-QPF0UtOC.js";
|
|
57
57
|
import "./gemini-auth-DEakvf-D.js";
|
|
58
58
|
import "./retry-C4Q_VPOo.js";
|
|
59
59
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -109,18 +109,18 @@ import "./service-RxN7lQKN.js";
|
|
|
109
109
|
import "./diagnostics-C6xPE2ln.js";
|
|
110
110
|
import "./table-Bka4fasy.js";
|
|
111
111
|
import "./audit-CuKP86d_.js";
|
|
112
|
-
import "./status-
|
|
113
|
-
import "./health-
|
|
112
|
+
import "./status-PfvX-BjO.js";
|
|
113
|
+
import "./health-CcV5nKIK.js";
|
|
114
114
|
import "./control-ui-assets-Clf7H-Sm.js";
|
|
115
115
|
import "./update-check-BNjupSIM.js";
|
|
116
|
-
import { n as handleGatewayRequest } from "./server-methods-
|
|
117
|
-
import "./push-apns-
|
|
118
|
-
import "./agents.config-
|
|
116
|
+
import { n as handleGatewayRequest } from "./server-methods-DDpCXuOU.js";
|
|
117
|
+
import "./push-apns-d9qKGKPe.js";
|
|
118
|
+
import "./agents.config-BCgY5FjE.js";
|
|
119
119
|
import "./dm-policy-shared-JiSNSaKz.js";
|
|
120
120
|
import "./node-service-B-qdOCNb.js";
|
|
121
121
|
import "./status.update-B5zI1_Id.js";
|
|
122
122
|
import "./skills-install-BnEN_qla.js";
|
|
123
|
-
import "./update-runner-
|
|
123
|
+
import "./update-runner-Bmq67eos.js";
|
|
124
124
|
|
|
125
125
|
//#region src/gateway/glass-ui-ws.ts
|
|
126
126
|
const SESSION_KEY = "agent:main:main";
|
|
@@ -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 { Wt as resolveModelProfile } from "./reply-
|
|
4
|
+
import { Wt as resolveModelProfile } from "./reply-CgyjcoxC.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -60,8 +60,8 @@ import "./diagnostic-session-state-CUslJyKP.js";
|
|
|
60
60
|
import "./send-DpMnSIi5.js";
|
|
61
61
|
import "./model-ECsJuJew.js";
|
|
62
62
|
import "./reply-prefix-CE2YmmsD.js";
|
|
63
|
-
import "./memory-cli-
|
|
64
|
-
import "./manager-
|
|
63
|
+
import "./memory-cli-BTByRgM0.js";
|
|
64
|
+
import "./manager-9Mni2AA9.js";
|
|
65
65
|
import "./retry-BoS4e4X_.js";
|
|
66
66
|
import "./sqlite-D55gRQbH.js";
|
|
67
67
|
import "./target-errors-C9e6dMU_.js";
|
|
@@ -114,18 +114,18 @@ import "./service-DzLem5vL.js";
|
|
|
114
114
|
import "./diagnostics-1uBuB9IE.js";
|
|
115
115
|
import "./table-BWuvjnmY.js";
|
|
116
116
|
import "./audit-C9nq99IR.js";
|
|
117
|
-
import "./status-
|
|
118
|
-
import "./health-
|
|
117
|
+
import "./status-CG5iHUJ6.js";
|
|
118
|
+
import "./health-Dl2WRoTa.js";
|
|
119
119
|
import "./control-ui-assets-BrP31IQR.js";
|
|
120
120
|
import "./update-check-Bbvpax6u.js";
|
|
121
|
-
import { n as handleGatewayRequest } from "./server-methods-
|
|
122
|
-
import "./push-apns-
|
|
123
|
-
import "./agents.config-
|
|
121
|
+
import { n as handleGatewayRequest } from "./server-methods-CBn954AO.js";
|
|
122
|
+
import "./push-apns-BNzgqUl3.js";
|
|
123
|
+
import "./agents.config-Ct64cGQ8.js";
|
|
124
124
|
import "./dm-policy-shared-KlzpDeT_.js";
|
|
125
125
|
import "./node-service-DxPZ_ZFk.js";
|
|
126
126
|
import "./status.update-8HXdAdwz.js";
|
|
127
127
|
import "./skills-install-B8r7cGKR.js";
|
|
128
|
-
import "./update-runner-
|
|
128
|
+
import "./update-runner-DMucmRlv.js";
|
|
129
129
|
|
|
130
130
|
//#region src/gateway/glass-ui-ws.ts
|
|
131
131
|
const SESSION_KEY = "agent:main:main";
|
|
@@ -4,7 +4,7 @@ import { l as resolveAgentIdFromSessionKey, p as toAgentStoreSessionKey, s as no
|
|
|
4
4
|
import { b as DEFAULT_SYMIPULSE_FILENAME, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-D-jRCY0d.js";
|
|
5
5
|
import { C as parseDurationMs, i as loadConfig } from "./config-DXt3pc08.js";
|
|
6
6
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-M4YyUnwu.js";
|
|
7
|
-
import { En as peekSystemEventEntries, K as appendCronStyleCurrentTimeLine, W as getReplyFromConfig, Yn as resolveUserTimezone, _r as DEFAULT_HEARTBEAT_EVERY, br as stripHeartbeatToken, dt as resolveHeartbeatSenderContext, fn as requestHeartbeatNow, gr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, hr as CommandLane, mn as resolveHeartbeatReasonKind, pn as setHeartbeatWakeHandler, ur as getQueueSize, ut as resolveHeartbeatDeliveryTarget, vr as isHeartbeatContentEffectivelyEmpty, yr as resolveHeartbeatPrompt$1 } from "./subagent-registry-
|
|
7
|
+
import { En as peekSystemEventEntries, K as appendCronStyleCurrentTimeLine, W as getReplyFromConfig, Yn as resolveUserTimezone, _r as DEFAULT_HEARTBEAT_EVERY, br as stripHeartbeatToken, dt as resolveHeartbeatSenderContext, fn as requestHeartbeatNow, gr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, hr as CommandLane, mn as resolveHeartbeatReasonKind, pn as setHeartbeatWakeHandler, ur as getQueueSize, ut as resolveHeartbeatDeliveryTarget, vr as isHeartbeatContentEffectivelyEmpty, yr as resolveHeartbeatPrompt$1 } from "./subagent-registry-D0IYimMO.js";
|
|
8
8
|
import { M as canonicalizeMainSessionAlias, N as resolveAgentMainSessionKey, d as updateSessionStore, l as saveSessionStore, o as loadSessionStore } from "./sessions-BPD85pWA.js";
|
|
9
9
|
import { r as SYMIPULSE_TOKEN } from "./tokens-Csntmwwn.js";
|
|
10
10
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CwSlLxM8.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as theme, k as info, l as escapeRegExp, z as isRich } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { Hn as resolveUserTimezone, Mt as resolveHeartbeatSenderContext, cr as CommandLane, ct as requestHeartbeatNow, dr as isHeartbeatContentEffectivelyEmpty, fr as resolveHeartbeatPrompt$1, jt as resolveHeartbeatDeliveryTarget, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, lt as setHeartbeatWakeHandler, pr as stripHeartbeatToken, r as appendCronStyleCurrentTimeLine, rr as getQueueSize, t as getReplyFromConfig, ur as DEFAULT_HEARTBEAT_EVERY, ut as resolveHeartbeatReasonKind, wr as peekSystemEventEntries } from "./reply-
|
|
2
|
+
import { Hn as resolveUserTimezone, Mt as resolveHeartbeatSenderContext, cr as CommandLane, ct as requestHeartbeatNow, dr as isHeartbeatContentEffectivelyEmpty, fr as resolveHeartbeatPrompt$1, jt as resolveHeartbeatDeliveryTarget, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, lt as setHeartbeatWakeHandler, pr as stripHeartbeatToken, r as appendCronStyleCurrentTimeLine, rr as getQueueSize, t as getReplyFromConfig, ur as DEFAULT_HEARTBEAT_EVERY, ut as resolveHeartbeatReasonKind, wr as peekSystemEventEntries } from "./reply-CgyjcoxC.js";
|
|
3
3
|
import { l as resolveAgentIdFromSessionKey, p as toAgentStoreSessionKey, s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import { b as DEFAULT_SYMIPULSE_FILENAME, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-CgUHAtCo.js";
|
|
@@ -16,7 +16,7 @@ import "./client-CJIMV1WD.js";
|
|
|
16
16
|
import "./call-M4YyUnwu.js";
|
|
17
17
|
import "./message-channel-C9dERklz.js";
|
|
18
18
|
import "./pairing-token-Byh6drgn.js";
|
|
19
|
-
import "./subagent-registry-
|
|
19
|
+
import "./subagent-registry-D0IYimMO.js";
|
|
20
20
|
import "./sessions-BPD85pWA.js";
|
|
21
21
|
import "./tokens-Csntmwwn.js";
|
|
22
22
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -54,8 +54,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
54
54
|
import "./thinking-8sKPnzpp.js";
|
|
55
55
|
import "./models-config-J1x_DaPn.js";
|
|
56
56
|
import "./reply-prefix-BUN71nd5.js";
|
|
57
|
-
import "./memory-cli-
|
|
58
|
-
import "./manager-
|
|
57
|
+
import "./memory-cli-OW9XfyYu.js";
|
|
58
|
+
import "./manager-QPF0UtOC.js";
|
|
59
59
|
import "./gemini-auth-DEakvf-D.js";
|
|
60
60
|
import "./retry-C4Q_VPOo.js";
|
|
61
61
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -105,7 +105,7 @@ import { a as installPackageDir, i as withTempDir, n as installFromNpmSpecArchiv
|
|
|
105
105
|
import { t as renderTable } from "./table-Bka4fasy.js";
|
|
106
106
|
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-mCPSj6kV.js";
|
|
107
107
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-CS4zxjqL.js";
|
|
108
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
108
|
+
import { t as buildPluginStatusReport } from "./status-CpvzoCOC.js";
|
|
109
109
|
import path from "node:path";
|
|
110
110
|
import fs from "node:fs";
|
|
111
111
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, S as shortenHomePath, t as CONFIG_DIR, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-CgyjcoxC.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -62,8 +62,8 @@ import "./diagnostic-session-state-CUslJyKP.js";
|
|
|
62
62
|
import "./send-DpMnSIi5.js";
|
|
63
63
|
import "./model-ECsJuJew.js";
|
|
64
64
|
import "./reply-prefix-CE2YmmsD.js";
|
|
65
|
-
import "./memory-cli-
|
|
66
|
-
import "./manager-
|
|
65
|
+
import "./memory-cli-BTByRgM0.js";
|
|
66
|
+
import "./manager-9Mni2AA9.js";
|
|
67
67
|
import "./retry-BoS4e4X_.js";
|
|
68
68
|
import "./sqlite-D55gRQbH.js";
|
|
69
69
|
import "./target-errors-C9e6dMU_.js";
|
|
@@ -109,7 +109,7 @@ import { a as installPackageDir, i as withTempDir, n as installFromNpmSpecArchiv
|
|
|
109
109
|
import { t as renderTable } from "./table-BWuvjnmY.js";
|
|
110
110
|
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-D2fHsr-Z.js";
|
|
111
111
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-egB5Xv4U.js";
|
|
112
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
112
|
+
import { t as buildPluginStatusReport } from "./status-BjMiGq0n.js";
|
|
113
113
|
import fs from "node:fs";
|
|
114
114
|
import path from "node:path";
|
|
115
115
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { R as shortenHomeInString, k as isRecord } from "./registry-DYq1AYOv.js";
|
|
3
3
|
import { L as getApiKeyForModel, M as resolveImplicitBedrockProvider, N as resolveImplicitCopilotProvider, P as resolveImplicitProviders, W as normalizeSecretInput, et as resolveSymiAgentDir, j as normalizeProviders, z as requireApiKey } from "./auth-profiles-C2vj6htZ.js";
|
|
4
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
4
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-D1_Sab0M.js";
|
|
5
5
|
import { n as loadConfig } from "./config-BkZ9HOKT.js";
|
|
6
6
|
import { n as redactToolDetail } from "./redact-BDMXB06K.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CuZX_Q4t.js";
|