@symerian/symi 3.0.1 → 3.0.3
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-D4F5bhNg.js → agents-CeafvAwk.js} +4 -4
- package/dist/{agents.config-Czr0DbSr.js → agents.config-DyAqyKIS.js} +1 -1
- package/dist/{agents.config-DS9Gbqqg.js → agents.config-wJSTSxHw.js} +1 -1
- package/dist/{audio-preflight-Cje-A0Fs.js → audio-preflight-BrKBM7JM.js} +4 -4
- package/dist/{auth-choice-DU5o68ia.js → auth-choice-BrH3g0l7.js} +1 -1
- package/dist/{auth-choice-BU6XwruP.js → auth-choice-CSXt138B.js} +1 -1
- package/dist/{banner-qaKrETF8.js → banner-kkSwCGXn.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-Bkfyg4nZ.js → channel-options-BC-QbEPJ.js} +1 -1
- package/dist/{channel-options-DW3nWxkv.js → channel-options-BdMw9pwh.js} +1 -1
- package/dist/{channel-web-DoDJqXyN.js → channel-web-B9o347ZR.js} +1 -1
- package/dist/{channels-cli-V7ii1g6k.js → channels-cli-CFZVgAxq.js} +6 -6
- package/dist/{channels-cli-B9tesYLD.js → channels-cli-n1iS1gNN.js} +6 -6
- package/dist/{chrome-DaduLVA1.js → chrome-WfENE6tB.js} +7 -7
- package/dist/{cli-CAhOnKQ3.js → cli-B3M7EAy1.js} +3 -3
- package/dist/{cli-0GHBNwqe.js → cli-C852-xID.js} +3 -3
- package/dist/{command-registry-Phoz_hat.js → command-registry-BRN6NMOS.js} +10 -10
- package/dist/{completion-cli-BAebbT-g.js → completion-cli-CQtI0ASD.js} +2 -2
- package/dist/{completion-cli-FR_B0tX1.js → completion-cli-EvxmKJ-O.js} +1 -1
- package/dist/{config-cli-BXus9Npr.js → config-cli-CiV_YQf4.js} +1 -1
- package/dist/{config-cli-DLSg0aaH.js → config-cli-DeCSlj0Y.js} +1 -1
- package/dist/{configure-BsrDBB87.js → configure-BE0YRZWd.js} +3 -3
- package/dist/{configure-CPweqV68.js → configure-By6_8Jvs.js} +3 -3
- package/dist/daemon-cli.js +6 -6
- package/dist/{deliver-B6vfVmif.js → deliver-DShQE_sq.js} +1 -1
- package/dist/{doctor-completion-D5BKaeyT.js → doctor-completion-BmjVxgkV.js} +1 -1
- package/dist/{doctor-completion-DBs809iZ.js → doctor-completion-Cts2UOop.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +7 -7
- package/dist/{gateway-cli-DDxIyaeu.js → gateway-cli-DO4uSyVT.js} +12 -12
- package/dist/{gateway-cli-D7ppw9MR.js → gateway-cli-bu8Eq_hB.js} +12 -12
- package/dist/{glass-ui-ws-DSCEyW9z.js → glass-ui-ws-CUWkP3XZ.js} +10 -10
- package/dist/{glass-ui-ws-BK6Ca98g.js → glass-ui-ws-oxSeDi37.js} +10 -10
- package/dist/{health-ByAPhIlQ.js → health-DZB8SV6G.js} +69 -5
- package/dist/{health-VfVqsLcU.js → health-N-jvgpZZ.js} +69 -5
- package/dist/{heartbeat-visibility-ol7hy6FB.js → heartbeat-visibility-D6uZvFVV.js} +1 -1
- package/dist/{heartbeat-visibility-BdqXBLOd.js → heartbeat-visibility-_mPYbQT2.js} +1 -1
- package/dist/{hooks-cli-D8u-iqwZ.js → hooks-cli-BFZv9uGo.js} +4 -4
- package/dist/{hooks-cli-CA2ikPts.js → hooks-cli-DuKd3-QN.js} +4 -4
- package/dist/{image-C12-WOMI.js → image-DfzwGNoa.js} +1 -1
- package/dist/index.js +9 -9
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{manager-DxihqoWd.js → manager-2D0Tevoj.js} +1 -1
- package/dist/{manager-DPxj_q1-.js → manager-DjHARmFk.js} +1 -1
- package/dist/{manager-DfZDS6-4.js → manager-DnkWmUWs.js} +1 -1
- package/dist/{manager-C9NXB77i.js → manager-Dp_9v8j5.js} +1 -1
- package/dist/{memory-cli-Bjj5cTuq.js → memory-cli-D69x8sVz.js} +3 -3
- package/dist/{memory-cli-D_O5bN6m.js → memory-cli-z9Rsga03.js} +3 -3
- package/dist/{models-CD7SOI3V.js → models-U6PPfAmY.js} +2 -2
- package/dist/{models-cli-Wjh_xd50.js → models-cli-DDev4qyK.js} +5 -5
- package/dist/{models-cli-Dj5BnQIi.js → models-cli-DiqDhhoK.js} +4 -4
- package/dist/{onboard-Bgl-nPXW.js → onboard-Bl0XFCEJ.js} +2 -2
- package/dist/{onboard-CCfkebWZ.js → onboard-DeH6Vxxg.js} +2 -2
- package/dist/{onboard-channels-CHJjmcTz.js → onboard-channels-CkFD8gYa.js} +1 -1
- package/dist/{onboard-channels-DKFmls3m.js → onboard-channels-Cky54l0-.js} +1 -1
- package/dist/{onboarding-CtCbkyNo.js → onboarding-BZVJ24wI.js} +3 -3
- package/dist/{onboarding-GXSRt2Z4.js → onboarding-DgpTBpWU.js} +3 -3
- package/dist/{onboarding.finalize-CTqy_Unj.js → onboarding.finalize-DVSMLcSy.js} +8 -8
- package/dist/{onboarding.finalize-Cyo7tKOt.js → onboarding.finalize-YB2UOZUK.js} +9 -9
- package/dist/{pi-embedded-gBOzgRYn.js → pi-embedded-C6GkUoi8.js} +77 -25
- package/dist/{pi-embedded-helpers-pMH6u36v.js → pi-embedded-helpers-B1k1RWqM.js} +4 -4
- package/dist/{plugin-registry-BMavDLfZ.js → plugin-registry-2T2NDPGh.js} +1 -1
- package/dist/{plugin-registry-CO6iA1TE.js → plugin-registry-739qhWq3.js} +1 -1
- package/dist/plugin-sdk/agents/system-prompt.d.ts +8 -0
- package/dist/plugin-sdk/{channel-web--Ru_sFHM.js → channel-web-DAJtsqF_.js} +1 -1
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/infra/active-heartbeat-runs.d.ts +34 -0
- package/dist/plugin-sdk/{manager-CDV3YWoX.js → manager-DhiL-RSO.js} +1 -1
- package/dist/plugin-sdk/{synthesis-Bojs0PJL.js → synthesis-cOQ27lCy.js} +2 -2
- package/dist/plugin-sdk/{unified-runner-D7m-WeUt.js → unified-runner-KBVvJUFF.js} +63 -11
- package/dist/plugin-sdk/{web-BoYy2HSO.js → web-Bj-jTlHW.js} +3 -3
- package/dist/{plugins-cli-2A8lifj4.js → plugins-cli-BrLY9BMq.js} +4 -4
- package/dist/{plugins-cli-DhQzD98q.js → plugins-cli-rLBIo-nA.js} +4 -4
- package/dist/{program-DEaYsa-L.js → program-CKansE2A.js} +9 -9
- package/dist/{program-context-rJ500lzQ.js → program-context-DlM7Bnwp.js} +18 -18
- package/dist/{prompt-select-styled-BcJXLROq.js → prompt-select-styled-RR_-htsV.js} +6 -6
- package/dist/{prompt-select-styled-3tYztnc1.js → prompt-select-styled-YeADoH1b.js} +6 -6
- package/dist/{provider-auth-helpers-eQzmopYc.js → provider-auth-helpers-D7_-bTJg.js} +1 -1
- package/dist/{provider-auth-helpers-COKxBW7N.js → provider-auth-helpers-tiuH9v1U.js} +1 -1
- package/dist/{push-apns-CBPUnPja.js → push-apns-BP1rb3hW.js} +1 -1
- package/dist/{push-apns-kuIc4QSa.js → push-apns-CB9rSO0r.js} +1 -1
- package/dist/{pw-ai-D0CMQA23.js → pw-ai-Dd_QrTWR.js} +1 -1
- package/dist/{register.agent-Bj4dYxX1.js → register.agent-BXfiPWJL.js} +8 -8
- package/dist/{register.agent-CNpLOx-Y.js → register.agent-BadsiDY7.js} +7 -7
- package/dist/{register.configure-BsXY0hbE.js → register.configure-J5GbnUak.js} +9 -9
- package/dist/{register.configure-CM4isxt8.js → register.configure-ndWF-EwD.js} +9 -9
- package/dist/{register.maintenance-Bvt-fYOe.js → register.maintenance-BAlGfjMJ.js} +10 -10
- package/dist/{register.maintenance-Dphm3utW.js → register.maintenance-BvAh-5NH.js} +11 -11
- package/dist/{register.message-CuJ6kd3Y.js → register.message-CTQZsi6c.js} +4 -4
- package/dist/{register.message-C4WU4qwG.js → register.message-CyNUsm17.js} +4 -4
- package/dist/{register.onboard-D_HBo-CG.js → register.onboard-DPpsT1JH.js} +7 -7
- package/dist/{register.onboard-4GJ7224e.js → register.onboard-Dh4f0cDp.js} +7 -7
- package/dist/{register.setup-Blb61XAC.js → register.setup-BrjFdUZ8.js} +7 -7
- package/dist/{register.setup-BJ9kJazQ.js → register.setup-DU8piCcQ.js} +7 -7
- package/dist/{register.status-health-sessions-CRAYzQLg.js → register.status-health-sessions-Cyljneob.js} +6 -6
- package/dist/{register.status-health-sessions-B4hENuHX.js → register.status-health-sessions-jQvctMC3.js} +6 -6
- package/dist/{register.subclis-CmDRn7Z2.js → register.subclis-DOLKNKZj.js} +9 -9
- package/dist/{run-main-CPcu8T5o.js → run-main-DnvLmulK.js} +17 -17
- package/dist/{runner-7XhJhCc0.js → runner-CaXOtv_D.js} +1 -1
- package/dist/{server-methods-CX3ldLPd.js → server-methods-DFQlsPZN.js} +10 -9
- package/dist/{server-methods-DDbTMvnA.js → server-methods-DGQu3NEO.js} +10 -9
- package/dist/{server-node-events-Bzoq_nfx.js → server-node-events-BH1YaeId.js} +4 -4
- package/dist/{server-node-events-Ccoeyw6p.js → server-node-events-C3EVBwcx.js} +4 -4
- package/dist/{status-OAdlubd0.js → status-Cx2g82Iv.js} +3 -3
- package/dist/{status-BEAngZOJ.js → status-DBn69Azp.js} +3 -3
- package/dist/{status-CyHHusPc.js → status-DX8BiUs2.js} +1 -1
- package/dist/{status-BdKI8eQ7.js → status-DyQuiOVn.js} +1 -1
- package/dist/{subagent-registry-UkXCmOLK.js → subagent-registry-Y_8a_o-m.js} +63 -11
- package/dist/{synthesis-DGBPTml_.js → synthesis-BVbYJPM-.js} +3 -3
- package/dist/{synthesis-BkOyAKJV.js → synthesis-CTHSaeoU.js} +7 -7
- package/dist/{synthesis-DnRaxWS6.js → synthesis-DnFo8jPe.js} +2 -2
- package/dist/{synthesis-D_fSgB6z.js → synthesis-ntqeiu25.js} +3 -3
- package/dist/{unified-runner-BNTy0IvK.js → unified-runner-DWZT5BCl.js} +63 -11
- package/dist/{unified-runner-BlsArDPO.js → unified-runner-DwlXIEtb.js} +63 -11
- package/dist/{update-cli-Cwi3bnhh.js → update-cli-CYpz_sg2.js} +11 -11
- package/dist/{update-cli-DuALcXLb.js → update-cli-DKbaVaEp.js} +10 -10
- package/dist/{update-runner-DkNNsx67.js → update-runner-D1V7cGWA.js} +1 -1
- package/dist/{update-runner-C3OhMuSJ.js → update-runner-Des8yO8-.js} +1 -1
- package/dist/{web-Cp_dpAof.js → web-Cm1sUEcG.js} +5 -5
- package/dist/{web-DtgGgNSl.js → web-Dd2K5DCI.js} +4 -4
- package/dist/{web-arCxqOL_.js → web-DuUOtg8X.js} +7 -7
- package/dist/{web-PndcPkY5.js → web-VH47KruC.js} +2 -2
- 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 +12 -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 +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -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 +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ import "./client-CJIMV1WD.js";
|
|
|
14
14
|
import "./call-e869fla2.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-Y_8a_o-m.js";
|
|
18
18
|
import "./sessions-CBlCXpU2.js";
|
|
19
19
|
import "./tokens-BEvOiQ65.js";
|
|
20
20
|
import "./plugins-DTKQE9kt.js";
|
|
@@ -52,8 +52,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
52
52
|
import "./thinking-8sKPnzpp.js";
|
|
53
53
|
import "./models-config-BjWk_WQa.js";
|
|
54
54
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
55
|
-
import "./memory-cli-
|
|
56
|
-
import "./manager-
|
|
55
|
+
import "./memory-cli-z9Rsga03.js";
|
|
56
|
+
import "./manager-DnkWmUWs.js";
|
|
57
57
|
import "./gemini-auth-CdtQ-GuM.js";
|
|
58
58
|
import "./retry-C4Q_VPOo.js";
|
|
59
59
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -102,9 +102,9 @@ import { t as ensureSymiCliOnPath } from "./path-env-CaiY2aOj.js";
|
|
|
102
102
|
import "./catalog-KcLvtTfa.js";
|
|
103
103
|
import "./note-DewoEWtc.js";
|
|
104
104
|
import "./plugin-auto-enable-BycSxaow.js";
|
|
105
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
105
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-739qhWq3.js";
|
|
106
106
|
import { t as assertSupportedRuntime } from "./runtime-guard-BofkqBu7.js";
|
|
107
|
-
import { t as emitCliBanner } from "./banner-
|
|
107
|
+
import { t as emitCliBanner } from "./banner-kkSwCGXn.js";
|
|
108
108
|
import "./doctor-config-flow-O07GAnrR.js";
|
|
109
109
|
import { n as ensureConfigReady } from "./config-guard-DJkF2-IA.js";
|
|
110
110
|
import process$1 from "node:process";
|
|
@@ -119,7 +119,7 @@ const routeHealth = {
|
|
|
119
119
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
120
120
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
121
121
|
if (timeoutMs === null) return false;
|
|
122
|
-
const { healthCommand } = await import("./health-
|
|
122
|
+
const { healthCommand } = await import("./health-DZB8SV6G.js").then((n) => n.i);
|
|
123
123
|
await healthCommand({
|
|
124
124
|
json,
|
|
125
125
|
timeoutMs,
|
|
@@ -139,7 +139,7 @@ const routeStatus = {
|
|
|
139
139
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
140
140
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
141
141
|
if (timeoutMs === null) return false;
|
|
142
|
-
const { statusCommand } = await import("./status-
|
|
142
|
+
const { statusCommand } = await import("./status-DBn69Azp.js").then((n) => n.t);
|
|
143
143
|
await statusCommand({
|
|
144
144
|
json,
|
|
145
145
|
deep,
|
|
@@ -173,7 +173,7 @@ const routeAgentsList = {
|
|
|
173
173
|
run: async (argv) => {
|
|
174
174
|
const json = hasFlag(argv, "--json");
|
|
175
175
|
const bindings = hasFlag(argv, "--bindings");
|
|
176
|
-
const { agentsListCommand } = await import("./agents-
|
|
176
|
+
const { agentsListCommand } = await import("./agents-CeafvAwk.js").then((n) => n.t);
|
|
177
177
|
await agentsListCommand({
|
|
178
178
|
json,
|
|
179
179
|
bindings
|
|
@@ -190,7 +190,7 @@ const routeMemoryStatus = {
|
|
|
190
190
|
const deep = hasFlag(argv, "--deep");
|
|
191
191
|
const index = hasFlag(argv, "--index");
|
|
192
192
|
const verbose = hasFlag(argv, "--verbose");
|
|
193
|
-
const { runMemoryStatus } = await import("./memory-cli-
|
|
193
|
+
const { runMemoryStatus } = await import("./memory-cli-z9Rsga03.js").then((n) => n.t);
|
|
194
194
|
await runMemoryStatus({
|
|
195
195
|
agent,
|
|
196
196
|
json,
|
|
@@ -244,7 +244,7 @@ const routes = [
|
|
|
244
244
|
const pathArg = getCommandPositionals(argv)[2];
|
|
245
245
|
if (!pathArg) return false;
|
|
246
246
|
const json = hasFlag(argv, "--json");
|
|
247
|
-
const { runConfigGet } = await import("./config-cli-
|
|
247
|
+
const { runConfigGet } = await import("./config-cli-CiV_YQf4.js");
|
|
248
248
|
await runConfigGet({
|
|
249
249
|
path: pathArg,
|
|
250
250
|
json
|
|
@@ -257,7 +257,7 @@ const routes = [
|
|
|
257
257
|
run: async (argv) => {
|
|
258
258
|
const pathArg = getCommandPositionals(argv)[2];
|
|
259
259
|
if (!pathArg) return false;
|
|
260
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
260
|
+
const { runConfigUnset } = await import("./config-cli-CiV_YQf4.js");
|
|
261
261
|
await runConfigUnset({ path: pathArg });
|
|
262
262
|
return true;
|
|
263
263
|
}
|
|
@@ -271,7 +271,7 @@ const routes = [
|
|
|
271
271
|
const local = hasFlag(argv, "--local");
|
|
272
272
|
const json = hasFlag(argv, "--json");
|
|
273
273
|
const plain = hasFlag(argv, "--plain");
|
|
274
|
-
const { modelsListCommand } = await import("./models-
|
|
274
|
+
const { modelsListCommand } = await import("./models-U6PPfAmY.js").then((n) => n.t);
|
|
275
275
|
await modelsListCommand({
|
|
276
276
|
all,
|
|
277
277
|
local,
|
|
@@ -302,7 +302,7 @@ const routes = [
|
|
|
302
302
|
const plain = hasFlag(argv, "--plain");
|
|
303
303
|
const check = hasFlag(argv, "--check");
|
|
304
304
|
const probe = hasFlag(argv, "--probe");
|
|
305
|
-
const { modelsStatusCommand } = await import("./models-
|
|
305
|
+
const { modelsStatusCommand } = await import("./models-U6PPfAmY.js").then((n) => n.t);
|
|
306
306
|
await modelsStatusCommand({
|
|
307
307
|
json,
|
|
308
308
|
plain,
|
|
@@ -380,7 +380,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
380
380
|
assertSupportedRuntime();
|
|
381
381
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
382
382
|
enableConsoleCapture();
|
|
383
|
-
const { buildProgram } = await import("./program-
|
|
383
|
+
const { buildProgram } = await import("./program-CKansE2A.js");
|
|
384
384
|
const program = buildProgram();
|
|
385
385
|
installUnhandledRejectionHandler();
|
|
386
386
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -412,10 +412,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
412
412
|
const { getProgramContext } = await import("./program-context-DeZ44oQ9.js").then((n) => n.n);
|
|
413
413
|
const ctx = getProgramContext(program);
|
|
414
414
|
if (ctx) {
|
|
415
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
415
|
+
const { registerCoreCliByName } = await import("./command-registry-BRN6NMOS.js").then((n) => n.t);
|
|
416
416
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
417
417
|
}
|
|
418
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
418
|
+
const { registerSubCliByName } = await import("./register.subclis-DOLKNKZj.js").then((n) => n.a);
|
|
419
419
|
await registerSubCliByName(program, primary);
|
|
420
420
|
}
|
|
421
421
|
const hasBuiltinPrimary = primary !== null && program.commands.some((command) => command.name() === primary);
|
|
@@ -424,7 +424,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
424
424
|
primary,
|
|
425
425
|
hasBuiltinPrimary
|
|
426
426
|
})) {
|
|
427
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
427
|
+
const { registerPluginCliCommands } = await import("./cli-C852-xID.js");
|
|
428
428
|
const { loadConfig } = await import("./config-BaxT9cN4.js").then((n) => n.t);
|
|
429
429
|
registerPluginCliCommands(program, loadConfig());
|
|
430
430
|
}
|
|
@@ -4,7 +4,7 @@ import { G as resolveSymiAgentDir, T as resolveApiKeyForProvider, c as normalize
|
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-DFDuk3FY.js";
|
|
5
5
|
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./image-ops-BKUwjozo.js";
|
|
6
6
|
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-BOuq5KZE.js";
|
|
7
|
-
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-DfzwGNoa.js";
|
|
8
8
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-D3D-a_lj.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-DwuL9y6C.js";
|
|
10
10
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-cwNFw4qu.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as resolveStateDir, t as CONFIG_PATH } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { D as isPlainObject, U as getResolvedLoggerSettings, r as clamp, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { $ as loadSessionEntry, Bt as persistBrowserProxyFiles, Cn as prepareAgentRun, H as runUnifiedTurn, Hn as stopSubagentsForRequester, I as createReplyDispatcher, J as canonicalizeSpawnedByForAgent, Jn as listDescendantRunsForRequester, K as listTasksInWorkdir, Kt as scheduleGatewaySigusr1Restart, Mn as normalizeGroupActivation, Mr as registerAgentRunContext, Q as loadCombinedSessionStoreForGateway, R as buildGlassUiProfile, Rn as formatZonedTimestamp, St as normalizeCronJobPatch, Tn as isSystemEventContextChanged, U as buildAgentTurnParams, Vn as isAbortTrigger, W as prepareReplyTurn, X as listAgentsForGateway, Xt as loadProviderUsageSummary, Yn as listSubagentRunsForRequester, Yt as unbindThreadBindingsBySessionKey, Z as listSessionsFromStore, Zn as resolveAgentTimeoutMs, _ as resolveAgentOutboundTarget, _r as
|
|
3
|
+
import { $ as loadSessionEntry, Bt as persistBrowserProxyFiles, Cn as prepareAgentRun, H as runUnifiedTurn, Hn as stopSubagentsForRequester, I as createReplyDispatcher, J as canonicalizeSpawnedByForAgent, Jn as listDescendantRunsForRequester, K as listTasksInWorkdir, Kt as scheduleGatewaySigusr1Restart, Mn as normalizeGroupActivation, Mr as onAgentEvent, Nr as registerAgentRunContext, Q as loadCombinedSessionStoreForGateway, R as buildGlassUiProfile, Rn as formatZonedTimestamp, St as normalizeCronJobPatch, Tn as isSystemEventContextChanged, U as buildAgentTurnParams, Vn as isAbortTrigger, W as prepareReplyTurn, X as listAgentsForGateway, Xt as loadProviderUsageSummary, Yn as listSubagentRunsForRequester, Yt as unbindThreadBindingsBySessionKey, Z as listSessionsFromStore, Zn as resolveAgentTimeoutMs, _ as resolveAgentOutboundTarget, _r as setTtsProvider, an as resolveSendPolicy, at as resolveOutboundSessionRoute, b as createOutboundSendDeps, br as OPENAI_TTS_VOICES, cr as getTtsProvider, ct as resolveOutboundTarget, dn as applyModelOverrideToSessionEntry, dr as resolveTtsApiKey, er as clearSessionQueues, et as pruneLegacyStoreKeys, fn as applyVerboseOverride, fr as resolveTtsAutoMode, g as resolveAgentDeliveryPlan, gr as setTtsEnabled, hr as resolveTtsProviderOrder, in as normalizeSendPolicy, it as ensureOutboundSessionEntry, jn as BARE_SESSION_RESET_PROMPT, lr as isTtsEnabled, m as agentCommand, mr as resolveTtsPrefsPath, mt as formatDoctorNonInteractiveHint, nt as resolveSessionModelRef, pn as parseVerboseOverride, pr as resolveTtsConfig, rr as waitForEmbeddedPiRunEnd, s as loadSymiPlugins, sr as resolveUserTimezone, tr as abortEmbeddedPiRun, tt as resolveGatewaySessionStoreTarget, ur as isTtsProviderConfigured, vr as textToSpeech, wn as enqueueSystemEvent, xt as normalizeCronJobCreate, yr as OPENAI_TTS_MODELS, yt as writeRestartSentinel, zt as applyBrowserProxyPaths } from "./unified-runner-DWZT5BCl.js";
|
|
4
4
|
import { C as createInternalHookEvent, T as triggerInternalHook, d as getActivePluginRegistry, r as DEFAULT_CHAT_CHANNEL, t as CHANNEL_IDS } from "./registry-ClO_zVv-.js";
|
|
5
5
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-zqierDLj.js";
|
|
6
6
|
import { Et as normalizeSecretInput, G as resolveSubagentConfiguredModelSelection, H as resolveDefaultModelForAgent, q as resolveThinkingDefault, z as resolveAllowedModelRef } from "./auth-profiles-CtBXKml4.js";
|
|
@@ -21,7 +21,7 @@ import { h as getGlobalHookRunner, o as normalizeReplyPayloadsForDelivery, t as
|
|
|
21
21
|
import { i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSessionCostSummary, t as discoverAllSessions } from "./session-cost-usage-CfQCToqp.js";
|
|
22
22
|
import { n as createBrowserRouteDispatcher } from "./with-timeout-DcVpQelp.js";
|
|
23
23
|
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-DnXliXio.js";
|
|
24
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
24
|
+
import { r as getMemorySearchManager } from "./memory-cli-D69x8sVz.js";
|
|
25
25
|
import { $ as validateNodePairRejectParams, A as validateCronStatusParams, At as validateWebLoginWaitParams, B as validateExecApprovalsGetParams, C as validateConfigSetParams, Ct as validateSkillsUpdateParams, D as validateCronRemoveParams, Dt as validateUpdateRunParams, E as validateCronListParams, Et as validateTasksListParams, F as validateDevicePairRemoveParams, G as validateModelsListParams, Gt as rejectDevicePairing, H as validateExecApprovalsNodeSetParams, I as validateDeviceTokenRevokeParams, It as ErrorCodes, J as validateNodeInvokeParams, Jt as revokeDeviceToken, K as validateNodeDescribeParams, Kt as removePairedDevice, L as validateDeviceTokenRotateParams, Lt as errorShape, M as validateDevicePairApproveParams, Mt as validateWizardNextParams, N as validateDevicePairListParams, Nt as validateWizardStartParams, O as validateCronRunParams, Ot as validateWakeParams, P as validateDevicePairRejectParams, Pt as validateWizardStatusParams, Q as validateNodePairListParams, S as validateConfigSchemaParams, St as validateSkillsStatusParams, T as validateCronAddParams, Tt as validateTalkModeParams, U as validateExecApprovalsSetParams, V as validateExecApprovalsNodeGetParams, Vt as approveDevicePairing, W as validateLogsTailParams, Wt as listDevicePairing, X as validateNodeListParams, Xt as summarizeDeviceTokens, Y as validateNodeInvokeResultParams, Yt as rotateDeviceToken, Z as validateNodePairApproveParams, _ as validateChatInjectParams, _t as validateSessionsRestoreParams, a as validateAgentWaitParams, b as validateConfigGetParams, bt as validateSkillsBinsParams, c as validateAgentsFilesGetParams, ct as validateSessionsCompactParams, d as validateAgentsListParams, dt as validateSessionsFavoriteFileParams, et as validateNodePairRequestParams, f as validateAgentsUpdateParams, ft as validateSessionsListParams, g as validateChatHistoryParams, gt as validateSessionsResolveParams, h as validateChatAbortParams, ht as validateSessionsResetParams, i as validateAgentParams, it as validatePushTestParams, j as validateCronUpdateParams, jt as validateWizardCancelParams, k as validateCronRunsParams, kt as validateWebLoginStartParams, l as validateAgentsFilesListParams, lt as validateSessionsDeleteFileParams, m as validateChannelsStatusParams, mt as validateSessionsPreviewParams, n as formatValidationErrors, nt as validateNodeRenameParams, o as validateAgentsCreateParams, ot as validateSendParams, p as validateChannelsLogoutParams, pt as validateSessionsPatchParams, q as validateNodeEventParams, r as validateAgentIdentityParams, rt as validatePollParams, s as validateAgentsDeleteParams, st as validateSessionsAdoptFileParams, tt as validateNodePairVerifyParams, u as validateAgentsFilesSetParams, ut as validateSessionsDeleteParams, v as validateChatSendParams, vt as validateSessionsSearchParams, wt as validateTalkConfigParams, x as validateConfigPatchParams, xt as validateSkillsInstallParams, y as validateConfigApplyParams, yt as validateSessionsUsageParams, zt as parseSessionLabel } from "./client-CZSkE50e.js";
|
|
26
26
|
import { l as authorizeOperatorScopesForMethod, s as ADMIN_SCOPE$2, u as isNodeRoleMethod } from "./call-BT57Dzye.js";
|
|
27
27
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-CTHqnrDZ.js";
|
|
@@ -33,21 +33,21 @@ import { n as normalizePollInput } from "./polls-C5iuAHi5.js";
|
|
|
33
33
|
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-BX-OwK26.js";
|
|
34
34
|
import { i as parseAbsoluteTimeMs } from "./stagger-BEsczMsw.js";
|
|
35
35
|
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-ncV67aOo.js";
|
|
36
|
-
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-
|
|
36
|
+
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-_mPYbQT2.js";
|
|
37
37
|
import { t as buildChannelUiCatalog } from "./catalog-pt1jhhyb.js";
|
|
38
38
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DzvtNke3.js";
|
|
39
39
|
import { t as WizardCancelledError } from "./prompts-NOUgk6FH.js";
|
|
40
40
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CYGbI-uz.js";
|
|
41
41
|
import { t as buildChannelAccountSnapshot } from "./status-TtGsgDjP.js";
|
|
42
42
|
import { o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-BFAHZWI2.js";
|
|
43
|
-
import { n as getStatusSummary } from "./status-
|
|
44
|
-
import { s as setHeartbeatsEnabled } from "./health-
|
|
43
|
+
import { n as getStatusSummary } from "./status-Cx2g82Iv.js";
|
|
44
|
+
import { l as abortHeartbeatRunForSession, s as setHeartbeatsEnabled } from "./health-N-jvgpZZ.js";
|
|
45
45
|
import { m as normalizeUpdateChannel } from "./update-check-BIE5FLmi.js";
|
|
46
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-
|
|
47
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
46
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-BP1rb3hW.js";
|
|
47
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-wJSTSxHw.js";
|
|
48
48
|
import { t as resolveSystemRunCommand } from "./system-run-command-DKiCEPJc.js";
|
|
49
49
|
import { t as installSkill } from "./skills-install-ClMBHyh2.js";
|
|
50
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
50
|
+
import { t as runGatewayUpdate } from "./update-runner-D1V7cGWA.js";
|
|
51
51
|
import crypto, { randomUUID } from "node:crypto";
|
|
52
52
|
import * as fs$2 from "node:fs";
|
|
53
53
|
import fs from "node:fs";
|
|
@@ -4418,6 +4418,7 @@ const chatHandlers = {
|
|
|
4418
4418
|
clientRunId
|
|
4419
4419
|
});
|
|
4420
4420
|
registerAgentRunContext(clientRunId, { sessionKey });
|
|
4421
|
+
abortHeartbeatRunForSession(sessionKey);
|
|
4421
4422
|
let agentRunStarted = false;
|
|
4422
4423
|
runGlassUiTurn({
|
|
4423
4424
|
ctx,
|
|
@@ -7580,7 +7581,7 @@ const nodeHandlers = {
|
|
|
7580
7581
|
const p = params;
|
|
7581
7582
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
7582
7583
|
await respondUnavailableOnThrow(respond, async () => {
|
|
7583
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
7584
|
+
const { handleNodeEvent } = await import("./server-node-events-BH1YaeId.js");
|
|
7584
7585
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
7585
7586
|
await handleNodeEvent({
|
|
7586
7587
|
deps: context.deps,
|
|
@@ -12,7 +12,7 @@ import { f as GATEWAY_CLIENT_CAPS, g as hasGatewayClientCap, i as isGatewayMessa
|
|
|
12
12
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-Byh6drgn.js";
|
|
13
13
|
import { s as pickPrimaryLanIPv4 } from "./net-DZ5Ayk-W.js";
|
|
14
14
|
import { i as normalizeInputProvenance } from "./input-provenance-D0lNkCf6.js";
|
|
15
|
-
import { $ as waitForEmbeddedPiRunEnd,
|
|
15
|
+
import { $ as waitForEmbeddedPiRunEnd, C as resolveAgentDeliveryPlan, D as createOutboundSendDeps, Fn as isSystemEventContextChanged, G as buildGlassUiProfile, Hn as normalizeGroupActivation, Jn as formatZonedTimestamp, Mn as resolveAgentTimeoutMs, Mr as onAgentEvent, Mt as normalizeCronJobPatch, Nn as prepareAgentRun, Nr as registerAgentRunContext, Pn as enqueueSystemEvent, Qn as stopSubagentsForRequester, Sn as parseVerboseOverride, U as createReplyDispatcher, Vn as BARE_SESSION_RESET_PROMPT, Xt as persistBrowserProxyFiles, Y as runUnifiedTurn, Yt as applyBrowserProxyPaths, Z as abortEmbeddedPiRun, Zn as isAbortTrigger, a as listSubagentRunsForRequester, an as unbindThreadBindingsBySessionKey, ar as isTtsEnabled, at as buildAgentTurnParams, bn as applyModelOverrideToSessionEntry, c as clearSessionQueues, cr as resolveTtsAutoMode, ct as listTasksInWorkdir, dr as resolveTtsProviderOrder, fr as setTtsEnabled, ft as ensureOutboundSessionEntry, gr as OPENAI_TTS_VOICES, gt as resolveOutboundTarget, hn as resolveSendPolicy, hr as OPENAI_TTS_MODELS, i as listDescendantRunsForRequester, ir as getTtsProvider, jt as normalizeCronJobCreate, kt as writeRestartSentinel, lr as resolveTtsConfig, m as loadSymiPlugins, mn as normalizeSendPolicy, mr as textToSpeech, nn as scheduleGatewaySigusr1Restart, on as loadProviderUsageSummary, or as isTtsProviderConfigured, ot as prepareReplyTurn, pr as setTtsProvider, pt as resolveOutboundSessionRoute, rr as resolveUserTimezone, sr as resolveTtsApiKey, ur as resolveTtsPrefsPath, w as resolveAgentOutboundTarget, wt as formatDoctorNonInteractiveHint, x as agentCommand, xn as applyVerboseOverride } from "./subagent-registry-Y_8a_o-m.js";
|
|
16
16
|
import { F as resolveMainSessionKey, I as resolveMainSessionKeyFromConfig, J as normalizeSessionDeliveryFields, N as resolveAgentMainSessionKey, P as resolveExplicitAgentSessionKey, R as snapshotSessionOrigin, S as stripEnvelopeFromMessages, _ as capArrayByJsonBytes, d as updateSessionStore, g as archiveSessionTranscripts, h as archiveFileOnDisk, o as loadSessionStore, t as extractDeliveryInfo, v as readSessionMessages, x as resolveSessionTranscriptCandidates, y as readSessionPreviewItemsFromTranscript } from "./sessions-CBlCXpU2.js";
|
|
17
17
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DTKQE9kt.js";
|
|
18
18
|
import { n as createBrowserRouteDispatcher } from "./with-timeout-81WkgT69.js";
|
|
@@ -21,7 +21,7 @@ import { t as movePathToTrash } from "./trash-CWQQXWX3.js";
|
|
|
21
21
|
import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
22
22
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-8sKPnzpp.js";
|
|
23
23
|
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-Pz-5t5RS.js";
|
|
24
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
24
|
+
import { r as getMemorySearchManager } from "./memory-cli-z9Rsga03.js";
|
|
25
25
|
import { _ as requestNodePairing, g as renamePairedNode, h as rejectNodePairing, m as listNodePairing, o as getRemoteSkillEligibility, p as approveNodePairing, y as verifyNodeToken } from "./skill-commands-BPYG9C7v.js";
|
|
26
26
|
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-CFbo15ku.js";
|
|
27
27
|
import { a as loadCombinedSessionStoreForGateway, c as resolveGatewaySessionStoreTarget, i as listSessionsFromStore, l as resolveSessionModelRef, o as loadSessionEntry, r as listAgentsForGateway, s as pruneLegacyStoreKeys, t as canonicalizeSpawnedByForAgent } from "./session-utils-fqK0m0xe.js";
|
|
@@ -32,20 +32,20 @@ import { n as normalizePollInput } from "./polls-Cm1-n4jF.js";
|
|
|
32
32
|
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-B5VdSr2K.js";
|
|
33
33
|
import { i as parseAbsoluteTimeMs } from "./stagger-BDqsqTKI.js";
|
|
34
34
|
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-C_ASAAp0.js";
|
|
35
|
-
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-
|
|
35
|
+
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-D6uZvFVV.js";
|
|
36
36
|
import { t as buildChannelUiCatalog } from "./catalog-KcLvtTfa.js";
|
|
37
37
|
import { t as WizardCancelledError } from "./prompts-DbHSz44H.js";
|
|
38
38
|
import { t as resolveChannelDefaultAccountId } from "./helpers-gWnZ9zWR.js";
|
|
39
39
|
import { t as buildChannelAccountSnapshot } from "./status-B8TZsG0t.js";
|
|
40
40
|
import { o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-CfXVd09Y.js";
|
|
41
|
-
import { r as getStatusSummary } from "./status-
|
|
42
|
-
import { c as setHeartbeatsEnabled } from "./health-
|
|
41
|
+
import { r as getStatusSummary } from "./status-DBn69Azp.js";
|
|
42
|
+
import { c as setHeartbeatsEnabled, u as abortHeartbeatRunForSession } from "./health-DZB8SV6G.js";
|
|
43
43
|
import { m as normalizeUpdateChannel } from "./update-check-BNjupSIM.js";
|
|
44
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-
|
|
45
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
44
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-CB9rSO0r.js";
|
|
45
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-DyAqyKIS.js";
|
|
46
46
|
import { t as resolveSystemRunCommand } from "./system-run-command-B_qw8CXP.js";
|
|
47
47
|
import { t as installSkill } from "./skills-install-DEq4Ey44.js";
|
|
48
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
48
|
+
import { t as runGatewayUpdate } from "./update-runner-Des8yO8-.js";
|
|
49
49
|
import { spawnSync } from "node:child_process";
|
|
50
50
|
import * as os$1 from "node:os";
|
|
51
51
|
import os from "node:os";
|
|
@@ -4416,6 +4416,7 @@ const chatHandlers = {
|
|
|
4416
4416
|
clientRunId
|
|
4417
4417
|
});
|
|
4418
4418
|
registerAgentRunContext(clientRunId, { sessionKey });
|
|
4419
|
+
abortHeartbeatRunForSession(sessionKey);
|
|
4419
4420
|
let agentRunStarted = false;
|
|
4420
4421
|
runGlassUiTurn({
|
|
4421
4422
|
ctx,
|
|
@@ -7578,7 +7579,7 @@ const nodeHandlers = {
|
|
|
7578
7579
|
const p = params;
|
|
7579
7580
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
7580
7581
|
await respondUnavailableOnThrow(respond, async () => {
|
|
7581
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
7582
|
+
const { handleNodeEvent } = await import("./server-node-events-C3EVBwcx.js");
|
|
7582
7583
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
7583
7584
|
await handleNodeEvent({
|
|
7584
7585
|
deps: context.deps,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./tokens-Cz6cgZ7r.js";
|
|
4
|
-
import { $ as loadSessionEntry, ct as resolveOutboundTarget, et as pruneLegacyStoreKeys, m as agentCommand, tn as requestHeartbeatNow, tt as resolveGatewaySessionStoreTarget, v as createOutboundSendDeps, wn as enqueueSystemEvent } from "./unified-runner-
|
|
4
|
+
import { $ as loadSessionEntry, ct as resolveOutboundTarget, et as pruneLegacyStoreKeys, m as agentCommand, tn as requestHeartbeatNow, tt as resolveGatewaySessionStoreTarget, v as createOutboundSendDeps, wn as enqueueSystemEvent } from "./unified-runner-DWZT5BCl.js";
|
|
5
5
|
import "./registry-ClO_zVv-.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-zqierDLj.js";
|
|
7
7
|
import "./auth-profiles-CtBXKml4.js";
|
|
@@ -56,8 +56,8 @@ import "./send-CrFVrFoV.js";
|
|
|
56
56
|
import "./model-JOScPOPJ.js";
|
|
57
57
|
import "./pi-model-discovery-CXXH7biP.js";
|
|
58
58
|
import "./reply-prefix-DnXliXio.js";
|
|
59
|
-
import "./memory-cli-
|
|
60
|
-
import "./manager-
|
|
59
|
+
import "./memory-cli-D69x8sVz.js";
|
|
60
|
+
import "./manager-DjHARmFk.js";
|
|
61
61
|
import "./gemini-auth-rYBkv11i.js";
|
|
62
62
|
import "./retry-DYICeae5.js";
|
|
63
63
|
import "./sqlite-CRogFEk1.js";
|
|
@@ -103,7 +103,7 @@ import "./onboard-helpers-ncV67aOo.js";
|
|
|
103
103
|
import "./prompt-style-CSNJI4MG.js";
|
|
104
104
|
import "./pairing-labels-DJfFSZUS.js";
|
|
105
105
|
import "./pi-tools.policy-D4i_i5CV.js";
|
|
106
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
106
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-BP1rb3hW.js";
|
|
107
107
|
import { randomUUID } from "node:crypto";
|
|
108
108
|
|
|
109
109
|
//#region src/gateway/server-node-events.ts
|
|
@@ -15,7 +15,7 @@ import "./client-CJIMV1WD.js";
|
|
|
15
15
|
import "./call-e869fla2.js";
|
|
16
16
|
import "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import {
|
|
18
|
+
import { Pn as enqueueSystemEvent, T as createOutboundSendDeps, dn as requestHeartbeatNow, gt as resolveOutboundTarget, x as agentCommand } from "./subagent-registry-Y_8a_o-m.js";
|
|
19
19
|
import { d as updateSessionStore } from "./sessions-CBlCXpU2.js";
|
|
20
20
|
import "./tokens-BEvOiQ65.js";
|
|
21
21
|
import { r as normalizeChannelId } from "./plugins-DTKQE9kt.js";
|
|
@@ -53,8 +53,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
53
53
|
import "./thinking-8sKPnzpp.js";
|
|
54
54
|
import "./models-config-BjWk_WQa.js";
|
|
55
55
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
56
|
-
import "./memory-cli-
|
|
57
|
-
import "./manager-
|
|
56
|
+
import "./memory-cli-z9Rsga03.js";
|
|
57
|
+
import "./manager-DnkWmUWs.js";
|
|
58
58
|
import "./gemini-auth-CdtQ-GuM.js";
|
|
59
59
|
import "./retry-C4Q_VPOo.js";
|
|
60
60
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -99,7 +99,7 @@ import "./onboard-helpers-C_ASAAp0.js";
|
|
|
99
99
|
import "./prompt-style-BxVdnrLq.js";
|
|
100
100
|
import "./pairing-labels-B6chnvfn.js";
|
|
101
101
|
import "./pi-tools.policy-DcwVdzSK.js";
|
|
102
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
102
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-CB9rSO0r.js";
|
|
103
103
|
import { randomUUID } from "node:crypto";
|
|
104
104
|
|
|
105
105
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, k as info, z as isRich } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { An as formatChannelAllowFrom, Dn as peekSystemEvents, On as buildChannelSummary, X as listAgentsForGateway, Xt as loadProviderUsageSummary, Y as classifySessionKey, Zt as formatUsageReportLines, _t as summarizeRestartSentinel,
|
|
3
|
+
import { An as formatChannelAllowFrom, Dn as peekSystemEvents, On as buildChannelSummary, X as listAgentsForGateway, Xt as loadProviderUsageSummary, Y as classifySessionKey, Zt as formatUsageReportLines, _t as summarizeRestartSentinel, gt as readRestartSentinel, kn as buildChannelAccountSnapshot, nt as resolveSessionModelRef, on as lookupContextTokens, xr as sha256HexPrefix } from "./unified-runner-DWZT5BCl.js";
|
|
4
4
|
import { Ht as DEFAULT_MODEL, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-CtBXKml4.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CyXZlazG.js";
|
|
6
6
|
import { S as parseAgentSessionKey } from "./session-key-oOB32jSB.js";
|
|
@@ -13,7 +13,7 @@ import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-VTIa2
|
|
|
13
13
|
import { H as resolveMainSessionKey, R as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-DLc3lsLf.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-BL5D1_sT.js";
|
|
15
15
|
import { c as resolveStorePath } from "./paths-BtFfPm8h.js";
|
|
16
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
16
|
+
import { r as getMemorySearchManager } from "./memory-cli-D69x8sVz.js";
|
|
17
17
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BT57Dzye.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
|
|
19
19
|
import { o as getRemoteSkillEligibility } from "./skill-commands-DLaQe9aq.js";
|
|
@@ -28,7 +28,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-D0P5lDGf.j
|
|
|
28
28
|
import { t as readLastGatewayErrorLine } from "./diagnostics-D40jPn_9.js";
|
|
29
29
|
import { t as renderTable } from "./table-Cg6YZXv9.js";
|
|
30
30
|
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-BFAHZWI2.js";
|
|
31
|
-
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
31
|
+
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-N-jvgpZZ.js";
|
|
32
32
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-BIE5FLmi.js";
|
|
33
33
|
import { t as resolveNodeService } from "./node-service-DiZDC-T7.js";
|
|
34
34
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-DNqZrSx7.js";
|
|
@@ -9,13 +9,13 @@ import { c as resolveAgentWorkspaceDir } from "./agent-scope-xM36I1Em.js";
|
|
|
9
9
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-BNfHkto8.js";
|
|
10
10
|
import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-BaxT9cN4.js";
|
|
11
11
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-e869fla2.js";
|
|
12
|
-
import {
|
|
12
|
+
import { Bn as formatChannelAllowFrom, Dt as summarizeRestartSentinel, Et as readRestartSentinel, Ln as peekSystemEvents, Rn as buildChannelSummary, on as loadProviderUsageSummary, sn as formatUsageReportLines, tt as sha256HexPrefix, zn as buildChannelAccountSnapshot } from "./subagent-registry-Y_8a_o-m.js";
|
|
13
13
|
import { F as resolveMainSessionKey, j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-CBlCXpU2.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-DTKQE9kt.js";
|
|
15
15
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-CbbvYNVw.js";
|
|
16
16
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-2xFXbwLq.js";
|
|
17
17
|
import { c as resolveStorePath } from "./paths-DNdWAq7b.js";
|
|
18
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
18
|
+
import { r as getMemorySearchManager } from "./memory-cli-z9Rsga03.js";
|
|
19
19
|
import { n as formatTimeAgo } from "./format-relative-BDwAggS5.js";
|
|
20
20
|
import { o as getRemoteSkillEligibility } from "./skill-commands-BPYG9C7v.js";
|
|
21
21
|
import { l as resolveSessionModelRef, n as classifySessionKey, r as listAgentsForGateway, u as lookupContextTokens } from "./session-utils-fqK0m0xe.js";
|
|
@@ -29,7 +29,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-DJYthOLz.j
|
|
|
29
29
|
import { t as readLastGatewayErrorLine } from "./diagnostics-C6xPE2ln.js";
|
|
30
30
|
import { t as renderTable } from "./table-Bka4fasy.js";
|
|
31
31
|
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-CfXVd09Y.js";
|
|
32
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
32
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DZB8SV6G.js";
|
|
33
33
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-BNjupSIM.js";
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-B-qdOCNb.js";
|
|
35
35
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-yQZNwAF2.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
1
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-DWZT5BCl.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-zqierDLj.js";
|
|
3
3
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BajBuriF.js";
|
|
4
4
|
import { i as loadConfig } from "./config-8TlkL9Xl.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-xM36I1Em.js";
|
|
3
3
|
import { i as loadConfig } from "./config-BaxT9cN4.js";
|
|
4
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-Y_8a_o-m.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -51,8 +51,8 @@ import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as san
|
|
|
51
51
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-8sKPnzpp.js";
|
|
52
52
|
import { t as ensureSymiModelsJson } from "./models-config-BjWk_WQa.js";
|
|
53
53
|
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-Pz-5t5RS.js";
|
|
54
|
-
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-
|
|
55
|
-
import { i as resolveMemorySearchConfig } from "./manager-
|
|
54
|
+
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-z9Rsga03.js";
|
|
55
|
+
import { i as resolveMemorySearchConfig } from "./manager-DnkWmUWs.js";
|
|
56
56
|
import { f as runTasksWithConcurrency } from "./internal-C2jxeHS9.js";
|
|
57
57
|
import { n as retryAsync } from "./retry-C4Q_VPOo.js";
|
|
58
58
|
import { c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-Co0LcWKH.js";
|
|
@@ -15790,6 +15790,40 @@ function sanitizeForPromptLiteral(value) {
|
|
|
15790
15790
|
|
|
15791
15791
|
//#endregion
|
|
15792
15792
|
//#region src/agents/system-prompt.ts
|
|
15793
|
+
/**
|
|
15794
|
+
* Read up to `limit` markdown filenames from `<workspaceDir>/memory/`,
|
|
15795
|
+
* sorted by mtime descending. Returns relative names (e.g. "2026-04-30.md")
|
|
15796
|
+
* for inlining into the system prompt — gives the agent the actual file
|
|
15797
|
+
* surface so it doesn't speculate names like "memory/2026-04-30.md" from
|
|
15798
|
+
* training-data priors. Resilient: missing dir → [], unreadable → [].
|
|
15799
|
+
*/
|
|
15800
|
+
function listWorkspaceMemoryFiles(workspaceDir, limit = 10) {
|
|
15801
|
+
if (!workspaceDir) return [];
|
|
15802
|
+
const memoryDir = path.join(workspaceDir, "memory");
|
|
15803
|
+
let entries;
|
|
15804
|
+
try {
|
|
15805
|
+
entries = fs.readdirSync(memoryDir, { withFileTypes: true });
|
|
15806
|
+
} catch {
|
|
15807
|
+
return [];
|
|
15808
|
+
}
|
|
15809
|
+
const files = [];
|
|
15810
|
+
for (const entry of entries) {
|
|
15811
|
+
if (!entry.isFile()) continue;
|
|
15812
|
+
if (!entry.name.toLowerCase().endsWith(".md")) continue;
|
|
15813
|
+
let mtimeMs = 0;
|
|
15814
|
+
try {
|
|
15815
|
+
mtimeMs = fs.statSync(path.join(memoryDir, entry.name)).mtimeMs;
|
|
15816
|
+
} catch {
|
|
15817
|
+
mtimeMs = 0;
|
|
15818
|
+
}
|
|
15819
|
+
files.push({
|
|
15820
|
+
name: entry.name,
|
|
15821
|
+
mtimeMs
|
|
15822
|
+
});
|
|
15823
|
+
}
|
|
15824
|
+
files.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
15825
|
+
return files.slice(0, limit).map((f) => f.name);
|
|
15826
|
+
}
|
|
15793
15827
|
function buildSkillsSection(params) {
|
|
15794
15828
|
if (params.isMinimal) return [];
|
|
15795
15829
|
if (params.dropCatalog) return [];
|
|
@@ -15813,13 +15847,21 @@ function buildMemorySection(params) {
|
|
|
15813
15847
|
"## Memory Recall",
|
|
15814
15848
|
"Before answering anything about prior work, decisions, dates, people, preferences, or todos: run memory_search on MEMORY.md + memory/*.md; then use memory_get to pull only the needed lines. If low confidence after search, say you checked.",
|
|
15815
15849
|
"",
|
|
15850
|
+
"**Never speculate memory file paths.** Use memory_search to find content; do not construct paths like `memory/<date>.md` from training-data priors and call read on them — that produces ENOENT spam and trips the consecutive-tool-error breaker.",
|
|
15851
|
+
"",
|
|
15816
15852
|
"Memory is split into two layers you will see as files:",
|
|
15817
15853
|
"- `MEMORY.md` — user-authored short-term memory. Hand-edited by the user; treat as ground truth they wrote themselves. Never rewrite it yourself.",
|
|
15818
|
-
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation
|
|
15819
|
-
"- `memory
|
|
15820
|
-
"",
|
|
15821
|
-
"When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it."
|
|
15854
|
+
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation. The cycle will reconcile them.",
|
|
15855
|
+
"- New observations go in dated daily files (e.g. `memory/<today>.md`); use `memory_search` to discover what already exists rather than guessing filenames."
|
|
15822
15856
|
];
|
|
15857
|
+
const memoryFiles = (params.workspaceMemoryFiles ?? []).filter(Boolean);
|
|
15858
|
+
if (memoryFiles.length > 0) {
|
|
15859
|
+
lines.push("");
|
|
15860
|
+
lines.push("Existing memory files in this workspace (most-recently-modified first):");
|
|
15861
|
+
for (const name of memoryFiles) lines.push(`- \`memory/${name}\``);
|
|
15862
|
+
}
|
|
15863
|
+
lines.push("");
|
|
15864
|
+
lines.push("When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it.");
|
|
15823
15865
|
if (params.citationsMode === "off") lines.push("Citations are disabled: do not mention file paths or line numbers in replies unless the user explicitly asks.");
|
|
15824
15866
|
else lines.push("Citations: include Source: <path#line> when it helps the user verify memory snippets.");
|
|
15825
15867
|
lines.push("");
|
|
@@ -16108,7 +16150,8 @@ function buildAgentSystemPrompt(params) {
|
|
|
16108
16150
|
const memorySection = buildMemorySection({
|
|
16109
16151
|
isMinimal,
|
|
16110
16152
|
availableTools,
|
|
16111
|
-
citationsMode: params.memoryCitationsMode
|
|
16153
|
+
citationsMode: params.memoryCitationsMode,
|
|
16154
|
+
workspaceMemoryFiles: listWorkspaceMemoryFiles(params.workspaceDir)
|
|
16112
16155
|
});
|
|
16113
16156
|
const docsSection = buildDocsSection({
|
|
16114
16157
|
docsPath: params.docsPath,
|
|
@@ -16146,6 +16189,11 @@ function buildAgentSystemPrompt(params) {
|
|
|
16146
16189
|
"If a task is more complex or takes longer, spawn a sub-agent. Completion is push-based: it will auto-announce when done.",
|
|
16147
16190
|
"Do not poll `subagents list` / `sessions_list` in a loop; only check status on-demand (for intervention, debugging, or when explicitly asked).",
|
|
16148
16191
|
"",
|
|
16192
|
+
"## Tool Use Discipline (mandatory)",
|
|
16193
|
+
"- If the user explicitly tells you to use a tool (e.g., \"use exec to run X\", \"read the file with read\", \"check the hostname\"), you MUST invoke that tool. Do not answer from training data or memory in place of the tool call.",
|
|
16194
|
+
"- Never narrate or quote tool output you did not actually receive from a real tool result. Writing \"I ran X and got Y\" without a corresponding tool invocation is fabrication and breaks user trust.",
|
|
16195
|
+
"- For factual local-system lookups (hostname, file contents, process state, env vars, current dir, system info), the answer comes from invoking the appropriate tool — not from priors. Always invoke.",
|
|
16196
|
+
"",
|
|
16149
16197
|
...compactMode ? [] : [
|
|
16150
16198
|
"## Tool Call Style",
|
|
16151
16199
|
"Default: do not narrate routine, low-risk tool calls (just call the tool).",
|
|
@@ -33945,7 +33993,11 @@ const SAFETY_AND_STYLE_ADDITIONS = [
|
|
|
33945
33993
|
"- Do not write verification checklists, self-assessments, or numbered assessment lists after your answer.",
|
|
33946
33994
|
"- Do not write 'Verification:', 'Requirements:', 'Status Check:', or 'Everything is correct'.",
|
|
33947
33995
|
"- If you need to verify your work, do so before writing your response, not after.",
|
|
33948
|
-
"- Send brief progress updates on long tasks so the user knows you are active."
|
|
33996
|
+
"- Send brief progress updates on long tasks so the user knows you are active.",
|
|
33997
|
+
"TOOL USE DISCIPLINE (no fabrication):",
|
|
33998
|
+
"- If the user asks you to use a tool (e.g., 'use exec to run X', 'read the file', 'check the hostname'), you MUST invoke that tool. Do not answer from training data or priors in place of an actual tool call.",
|
|
33999
|
+
"- Never narrate or quote tool output you did not receive from a real tool result. Writing 'I ran X and got Y' without a corresponding tool call is fabrication.",
|
|
34000
|
+
"- For local-system facts (hostname, file contents, process state, env vars, current dir), the answer comes from running the tool, not from priors — always invoke."
|
|
33949
34001
|
];
|
|
33950
34002
|
/** Hint for native-reasoning models (Nemotron, Qwen 3.5/3.6) to keep
|
|
33951
34003
|
* planning internal. Not applied to Gemma/Ollama because those models
|
|
@@ -53300,7 +53352,7 @@ function setCliSessionId(entry, provider, sessionId) {
|
|
|
53300
53352
|
function createDefaultDeps() {
|
|
53301
53353
|
return {
|
|
53302
53354
|
sendMessageWhatsApp: async (...args) => {
|
|
53303
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
53355
|
+
const { sendMessageWhatsApp } = await import("./web-Dd2K5DCI.js");
|
|
53304
53356
|
return await sendMessageWhatsApp(...args);
|
|
53305
53357
|
},
|
|
53306
53358
|
sendMessageTelegram: async (...args) => {
|
|
@@ -68614,7 +68666,7 @@ function loadWebLoginQr() {
|
|
|
68614
68666
|
return webLoginQrPromise;
|
|
68615
68667
|
}
|
|
68616
68668
|
function loadWebChannel() {
|
|
68617
|
-
webChannelPromise ??= import("./web-
|
|
68669
|
+
webChannelPromise ??= import("./web-Dd2K5DCI.js");
|
|
68618
68670
|
return webChannelPromise;
|
|
68619
68671
|
}
|
|
68620
68672
|
function loadWhatsAppActions() {
|
|
@@ -72931,4 +72983,4 @@ function initSubagentRegistry() {
|
|
|
72931
72983
|
}
|
|
72932
72984
|
|
|
72933
72985
|
//#endregion
|
|
72934
|
-
export { waitForEmbeddedPiRunEnd as $,
|
|
72986
|
+
export { waitForEmbeddedPiRunEnd as $, buildMentionRegexes as $n, emitGatewayRestart as $t, runCliAgent as A, resolveInputFileLimits as An, emitAgentEvent as Ar, normalizeHttpWebhookUrl as At, shouldAckReactionForWhatsApp as B, formatChannelAllowFrom as Bn, buildDeliveryFromLegacyPayload as Bt, resolveAgentDeliveryPlan as C, DEFAULT_INPUT_IMAGE_MAX_BYTES as Cn, CommandLane as Cr, consumeRestartSentinel as Ct, createOutboundSendDeps$1 as D, extractFileContentFromSource as Dn, resolveHeartbeatPrompt as Dr, summarizeRestartSentinel as Dt, createDefaultDeps as E, DEFAULT_INPUT_TIMEOUT_MS as En, isHeartbeatContentEffectivelyEmpty as Er, readRestartSentinel as Et, buildPairingReply as F, isSystemEventContextChanged as Fn, normalizeOptionalSessionKey as Ft, buildGlassUiProfile as G, resolveInboundDebounceMs as Gn, buildSafeExternalPrompt as Gt, provider_dispatcher_exports as H, normalizeGroupActivation as Hn, stripLegacyDeliveryFields as Ht, resolveMentionGating as I, peekSystemEventEntries as In, normalizeOptionalText as It, withContextOverflowRecovery as J, formatZonedTimestamp as Jn, isExternalHookSession as Jt, createDedupeCache as K, formatInboundEnvelope as Kn, detectSuspiciousPatterns as Kt, DEFAULT_GROUP_HISTORY_LIMIT as L, peekSystemEvents as Ln, normalizePayloadToSystemText as Lt, identityHasValues as M, resolveAgentTimeoutMs as Mn, onAgentEvent as Mr, normalizeCronJobPatch as Mt, loadAgentIdentityFromWorkspace as N, prepareAgentRun as Nn, registerAgentRunContext as Nr, inferLegacyName as Nt, getCliSessionId as O, extractImageContentFromSource as On, stripHeartbeatToken as Or, trimLogTail as Ot, parseIdentityMarkdown as P, enqueueSystemEvent as Pn, normalizeOptionalAgentId as Pt, getActiveEmbeddedRunCount as Q, stopSubagentsForRequester as Qn, deferGatewayRestartUntilIdle as Qt, buildHistoryContextFromEntries as R, buildChannelSummary as Rn, normalizeRequiredName as Rt, resolveSessionKeyForRequest as S, parseVerboseOverride as Sn, waitForActiveTasks as Sr, describeFailoverError as St, createOutboundSendDeps as T, DEFAULT_INPUT_MAX_REDIRECTS as Tn, DEFAULT_HEARTBEAT_EVERY as Tr, formatRestartSentinelMessage as Tt, createReplyDispatcher as U, parseActivationCommand as Un, CHANNEL_TARGETS_DESCRIPTION as Ut, dispatchReplyWithBufferedBlockDispatcher as V, BARE_SESSION_RESET_PROMPT as Vn, hasLegacyDeliveryHints as Vt, getTotalPendingReplies as W, createInboundDebouncer as Wn, CHANNEL_TARGET_DESCRIPTION as Wt, runAgentTurn as X, shouldComputeCommandAuthorized as Xn, persistBrowserProxyFiles as Xt, runUnifiedTurn as Y, hasControlCommand as Yn, applyBrowserProxyPaths as Yt, abortEmbeddedPiRun as Z, isAbortTrigger as Zn, consumeGatewaySigusr1RestartAuthorization as Zt, readJsonBodyWithLimit as _, DEFAULT_OAUTH_WARN_MS as _n, getActiveTaskCount as _r, resolveSessionDeliveryTarget as _t, listSubagentRunsForRequester as a, unbindThreadBindingsBySessionKey as an, isTtsEnabled as ar, buildAgentTurnParams as at, sleepWithAbort as b, applyModelOverrideToSessionEntry as bn, resetAllLanes as br, CHANNEL_MESSAGE_ACTION_NAMES as bt, clearSessionQueues as c, formatUsageWindowSummary as cn, resolveTtsAutoMode as cr, listTasksInWorkdir as ct, sniffMimeFromBase64 as d, requestHeartbeatNow as dn, resolveTtsProviderOrder as dr, runMessageAction as dt, isGatewaySigusr1RestartExternallyAllowed as en, normalizeMentionText as er, resolveEmbeddedSessionLane as et, getPluginToolMeta as f, setHeartbeatWakeHandler as fn, setTtsEnabled as fr, ensureOutboundSessionEntry as ft, handleSlackHttpRequest as g, maskApiKey as gn, OPENAI_TTS_VOICES as gr, resolveOutboundTarget as gt, deleteTelegramUpdateOffset as h, resolveSendPolicy as hn, OPENAI_TTS_MODELS as hr, resolveHeartbeatSenderContext as ht, listDescendantRunsForRequester as i, setPreRestartDeferralCheck as in, getTtsProvider as ir, composeTurnMiddleware as it, resolveAgentAvatar as j, estimateBase64DecodedBytes as jn, getAgentRunContext as jr, normalizeCronJobCreate as jt, setCliSessionId as k, normalizeMimeList as kn, clearAgentRunContext as kr, writeRestartSentinel as kt, applyToolPolicyPipeline as l, resolveUsageProviderId as ln, resolveTtsConfig as lr, readLatestAssistantReply as lt, loadSymiPlugins as m, normalizeSendPolicy as mn, textToSpeech as mr, resolveHeartbeatDeliveryTarget as mt, countActiveRunsForSession as n, scheduleGatewaySigusr1Restart as nn, resolveUserTimeFormat as nr, classifyOutboundMessage as nt, subagent_registry_exports as o, loadProviderUsageSummary as on, isTtsProviderConfigured as or, prepareReplyTurn as ot, createPluginLoaderLogger as p, resolveHeartbeatReasonKind as pn, setTtsProvider as pr, resolveOutboundSessionRoute as pt, withContextUsageWarning as q, resolveEnvelopeFormatOptions as qn, getHookType as qt, initSubagentRegistry as r, setGatewaySigusr1RestartPolicy as rn, resolveUserTimezone as rr, resolveModelProfile as rt, runSubagentAnnounceFlow as s, formatUsageReportLines as sn, resolveTtsApiKey as sr, createSymiTools as st, countActiveDescendantRuns as t, markGatewaySigusr1RestartHandled as tn, formatUserTime as tr, sha256HexPrefix as tt, buildDefaultToolPolicyPipelineSteps as u, resolveCommitHash as un, resolveTtsPrefsPath as ur, resolveAnnounceTargetFromKey as ut, requestBodyErrorToText as v, buildAuthHealthSummary as vn, getQueueSize as vr, formatTargetDisplay as vt, resolveAgentOutboundTarget as w, DEFAULT_INPUT_IMAGE_MIMES as wn, DEFAULT_HEARTBEAT_ACK_MAX_CHARS as wr, formatDoctorNonInteractiveHint as wt, agentCommand as x, applyVerboseOverride as xn, setCommandLaneConcurrency as xr, runWithModelFallback as xt, computeBackoff as y, formatRemainingShort as yn, getTotalQueueSize as yr, resetDirectoryCache as yt, recordPendingHistoryEntryIfEnabled as z, buildChannelAccountSnapshot as zn, migrateLegacyCronPayload as zt };
|
|
@@ -14,7 +14,7 @@ import "./client-CJIMV1WD.js";
|
|
|
14
14
|
import "./call-e869fla2.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import { X as runAgentTurn } from "./subagent-registry-
|
|
17
|
+
import { X as runAgentTurn } from "./subagent-registry-Y_8a_o-m.js";
|
|
18
18
|
import "./sessions-CBlCXpU2.js";
|
|
19
19
|
import "./tokens-BEvOiQ65.js";
|
|
20
20
|
import "./plugins-DTKQE9kt.js";
|
|
@@ -52,8 +52,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
52
52
|
import "./thinking-8sKPnzpp.js";
|
|
53
53
|
import "./models-config-BjWk_WQa.js";
|
|
54
54
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
55
|
-
import "./memory-cli-
|
|
56
|
-
import "./manager-
|
|
55
|
+
import "./memory-cli-z9Rsga03.js";
|
|
56
|
+
import "./manager-DnkWmUWs.js";
|
|
57
57
|
import "./gemini-auth-CdtQ-GuM.js";
|
|
58
58
|
import "./retry-C4Q_VPOo.js";
|
|
59
59
|
import "./sqlite-BP8tiuca.js";
|