@symerian/symi 3.0.11 → 3.0.13
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-xbSFKxk1.js → agents-C1EHWbfj.js} +4 -4
- package/dist/{agents.config-Bs7UUe0R.js → agents.config-BzHsLIJT.js} +1 -1
- package/dist/{agents.config-tTbDCubC.js → agents.config-DUjv7eRL.js} +1 -1
- package/dist/{audio-preflight-DeOidVY9.js → audio-preflight-Cd4oBX_d.js} +4 -4
- package/dist/{auth-choice-B-sy9GJ3.js → auth-choice-CcbSp-5F.js} +1 -1
- package/dist/{auth-choice-Cr03ewiv.js → auth-choice-DlQFNChK.js} +1 -1
- package/dist/{banner-D1PQmpuP.js → banner-Dwc6cysD.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-CR_Wk8eP.js → channel-options-Baxgs7Ac.js} +1 -1
- package/dist/{channel-options-DRtKFtZS.js → channel-options-cRW36Ig2.js} +1 -1
- package/dist/{channel-web-DQy6EOdz.js → channel-web-BXmHlcos.js} +1 -1
- package/dist/{channels-cli-maLqEQh7.js → channels-cli-BDVyJC_y.js} +6 -6
- package/dist/{channels-cli-CI_EDYQs.js → channels-cli-O7dsn4UZ.js} +6 -6
- package/dist/{chrome-cFjhP6kc.js → chrome-CqPheSG3.js} +7 -7
- package/dist/{cli-Cbe-5KnB.js → cli-BXOPJUyk.js} +3 -3
- package/dist/{cli-CwI9PVoY.js → cli-BZtnY7d6.js} +3 -3
- package/dist/{command-registry-CJjQMlj_.js → command-registry-C4fEo5jO.js} +10 -10
- package/dist/{completion-cli-CEknMySn.js → completion-cli-CTRhriVd.js} +1 -1
- package/dist/{completion-cli-vCFgly6i.js → completion-cli-D6k2XhFb.js} +2 -2
- package/dist/{config-cli-BUFk88DU.js → config-cli-CwufnTiJ.js} +1 -1
- package/dist/{config-cli-DLPWXbAt.js → config-cli-D-hgLpT3.js} +1 -1
- package/dist/{configure-BkoMFvEB.js → configure-C5t_r7sN.js} +3 -3
- package/dist/{configure-D80K613_.js → configure-DlSITc1U.js} +3 -3
- package/dist/control-ui/js/app.js +14 -1
- package/dist/{deliver-CgPAN0QZ.js → deliver-BVbveob8.js} +1 -1
- package/dist/{doctor-completion-BBDliPIB.js → doctor-completion-D31vWLKd.js} +1 -1
- package/dist/{doctor-completion-DVqUZPhO.js → doctor-completion-DLglYX3z.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-CIv75ODi.js → gateway-cli-BPpCax1I.js} +12 -12
- package/dist/{gateway-cli-DN9pqTkk.js → gateway-cli-D0b_yaeg.js} +12 -12
- package/dist/{glass-ui-ws-BBVOMP_3.js → glass-ui-ws-DIrqLWlg.js} +10 -10
- package/dist/{glass-ui-ws-DajvU2WU.js → glass-ui-ws-D_l8S-KZ.js} +10 -10
- package/dist/{health-DtWvvGSw.js → health-DxCLDRPA.js} +2 -2
- package/dist/{health-Dwt9mRYZ.js → health-dVQBgbn1.js} +2 -2
- package/dist/{heartbeat-visibility-o2h2sFYt.js → heartbeat-visibility-B2M69szZ.js} +1 -1
- package/dist/{heartbeat-visibility-Ot724yGm.js → heartbeat-visibility-B3jYfx_N.js} +1 -1
- package/dist/{hooks-cli-DgUKbUOY.js → hooks-cli-ClW2ErGr.js} +4 -4
- package/dist/{hooks-cli-COAJfD3O.js → hooks-cli-DkECWzYR.js} +4 -4
- package/dist/{image-DZQ_GyFY.js → image-CUTH9m-Y.js} +1 -1
- package/dist/index.js +9 -9
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{manager-B4ilZbUQ.js → manager-B8S9zNM5.js} +1 -1
- package/dist/{manager-CoO0CGga.js → manager-CHLCClaz.js} +1 -1
- package/dist/{manager-BkUG5C_1.js → manager-CSbEQqJL.js} +1 -1
- package/dist/{manager-BeNDdeqW.js → manager-wiJTQCIl.js} +1 -1
- package/dist/{memory-cli-Wh36KC0B.js → memory-cli-DYjxP-KO.js} +3 -3
- package/dist/{memory-cli-C6UdaC7T.js → memory-cli-xeFyVyjI.js} +3 -3
- package/dist/{models-Bq57ZYdQ.js → models-Dv2h1wDZ.js} +2 -2
- package/dist/{models-cli-BoKH3H5E.js → models-cli--aTN9HGH.js} +5 -5
- package/dist/{models-cli-CPooQm_v.js → models-cli-CqZ7dJ9_.js} +4 -4
- package/dist/{onboard-CzuWVQbi.js → onboard-ClVlvvio.js} +2 -2
- package/dist/{onboard-BSIQryd_.js → onboard-DTRtoJuX.js} +2 -2
- package/dist/{onboard-channels-DJji_VgU.js → onboard-channels-D36jVNHS.js} +1 -1
- package/dist/{onboard-channels-C95U6eDf.js → onboard-channels-uTnRY9Xc.js} +1 -1
- package/dist/{onboarding-B3ULVn2b.js → onboarding-DSzOCClw.js} +3 -3
- package/dist/{onboarding-Cr4UYEKi.js → onboarding-UknWo-xb.js} +3 -3
- package/dist/{onboarding.finalize-B7GJ-KWP.js → onboarding.finalize-DHXICh0E.js} +9 -9
- package/dist/{onboarding.finalize-PgZt3gN6.js → onboarding.finalize-rOrwkS0W.js} +8 -8
- package/dist/{pi-embedded-helpers-B3csacnv.js → pi-embedded-helpers-Bp4JFTbe.js} +4 -4
- package/dist/{pi-embedded-D89dyS-z.js → pi-embedded-wrv2rBWt.js} +10 -53
- package/dist/{plugin-registry-B6MlsL7T.js → plugin-registry-CE-bQL5d.js} +1 -1
- package/dist/{plugin-registry-yCMeMFu0.js → plugin-registry-CtkGVd3t.js} +1 -1
- package/dist/plugin-sdk/agents/system-prompt.d.ts +0 -8
- package/dist/plugin-sdk/{channel-web-3MFItfGM.js → channel-web-C18g6B0w.js} +1 -1
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{manager-3qq3BC5o.js → manager-Ynxj9D_4.js} +1 -1
- package/dist/plugin-sdk/{synthesis-CHIk9ebl.js → synthesis-CO2ZQFu6.js} +2 -2
- package/dist/plugin-sdk/{unified-runner-CS3TLTr5.js → unified-runner-BUI9ninR.js} +10 -53
- package/dist/plugin-sdk/{web-C_btjy2v.js → web-C_rB_m-e.js} +3 -3
- package/dist/{plugins-cli-DBM0eqIl.js → plugins-cli-B3YG8VEg.js} +4 -4
- package/dist/{plugins-cli-DnQRhfaI.js → plugins-cli-Bn8-8_23.js} +4 -4
- package/dist/{program-Dx8ddxuC.js → program-QzRBcmP4.js} +9 -9
- package/dist/{program-context-Kqz-xUms.js → program-context-CjPUq-R7.js} +18 -18
- package/dist/{prompt-select-styled-C-U7yJky.js → prompt-select-styled-d10JLxa3.js} +6 -6
- package/dist/{prompt-select-styled-BEZWd-py.js → prompt-select-styled-dqy-Baz2.js} +6 -6
- package/dist/{provider-auth-helpers-CJ108Rsr.js → provider-auth-helpers-CJPijGRq.js} +1 -1
- package/dist/{provider-auth-helpers-Dc3ug5a6.js → provider-auth-helpers-GQogKjFE.js} +1 -1
- package/dist/{push-apns-DasrMMsn.js → push-apns-DfSe7sOB.js} +1 -1
- package/dist/{push-apns-DRR-HRKQ.js → push-apns-UoRptSMP.js} +1 -1
- package/dist/{pw-ai-C_ZQ5KA2.js → pw-ai-BLFBlLvS.js} +1 -1
- package/dist/{register.agent-DF0zbJsS.js → register.agent-B5HMEuxb.js} +7 -7
- package/dist/{register.agent-Drr5pvPp.js → register.agent-B921Y-Xq.js} +8 -8
- package/dist/{register.configure-B7PDd52g.js → register.configure-CkrM0qTb.js} +9 -9
- package/dist/{register.configure-C4dZYkuQ.js → register.configure-DZ8PDClo.js} +9 -9
- package/dist/{register.maintenance-8F8uINLC.js → register.maintenance-B9YU5-GH.js} +11 -11
- package/dist/{register.maintenance-DkmjPWtb.js → register.maintenance-DIcuZbGe.js} +10 -10
- package/dist/{register.message-B1PiyGQ2.js → register.message-Bdq8-X7N.js} +4 -4
- package/dist/{register.message-CzyYuc7t.js → register.message-BmZ3x-eK.js} +4 -4
- package/dist/{register.onboard-DdYnTEjn.js → register.onboard-C96aB4BV.js} +7 -7
- package/dist/{register.onboard-BOmdO2qG.js → register.onboard-VpvDadRB.js} +7 -7
- package/dist/{register.setup-CnsgKGcx.js → register.setup-Btpke2Rx.js} +7 -7
- package/dist/{register.setup-CcyYgmFt.js → register.setup-a37lwmwS.js} +7 -7
- package/dist/{register.status-health-sessions-B1LYyJ5d.js → register.status-health-sessions-C2Wa5UnZ.js} +6 -6
- package/dist/{register.status-health-sessions-Dd-Lq7-v.js → register.status-health-sessions-ITqLC3Rb.js} +6 -6
- package/dist/{register.subclis-BN_La0-g.js → register.subclis-XCByhkDw.js} +9 -9
- package/dist/{run-main-DTa68vHK.js → run-main-BpWSzwB6.js} +17 -17
- package/dist/{runner-UgKupJ1D.js → runner-WxoM5P3c.js} +1 -1
- package/dist/{server-methods-DIxCrgKY.js → server-methods-CdYIBXWp.js} +9 -9
- package/dist/{server-methods-Ma0EgQYj.js → server-methods-DtNHC0b_.js} +9 -9
- package/dist/{server-node-events-Cw0XpTQ7.js → server-node-events-Dq1ZMCf6.js} +4 -4
- package/dist/{server-node-events-BhaLgVwj.js → server-node-events-yTZOzVQs.js} +4 -4
- package/dist/{status-WL5HKxk5.js → status-BF1RMYPZ.js} +1 -1
- package/dist/{status-CwoFZ1SN.js → status-C0MQarC1.js} +3 -3
- package/dist/{status-DSIeCLqw.js → status-DoHU1AjC.js} +3 -3
- package/dist/{status-SBqKRlSB.js → status-LPAgOj7a.js} +1 -1
- package/dist/{subagent-registry-Ci5g29Mp.js → subagent-registry-U0ugNIM_.js} +9 -52
- package/dist/{synthesis-CR7CavII.js → synthesis-BY2LWYcE.js} +3 -3
- package/dist/{synthesis-BcXONbp0.js → synthesis-CKPctksF.js} +7 -7
- package/dist/{synthesis-BeVG2lGs.js → synthesis-DT9QrCN7.js} +3 -3
- package/dist/{synthesis-YxmVZaLu.js → synthesis-DyJ5S1RD.js} +2 -2
- package/dist/{unified-runner-D_5_J0nE.js → unified-runner-BZ9aCu-a.js} +24 -67
- package/dist/{unified-runner-BXwSSfqN.js → unified-runner-CBI-Swnu.js} +9 -52
- package/dist/{update-cli-DA8fm8Rl.js → update-cli-BiI3lh2-.js} +10 -10
- package/dist/{update-cli-CLeCba_r.js → update-cli-C2P8Rlb9.js} +11 -11
- package/dist/{update-runner-CBhotLBj.js → update-runner-8kzamnJ4.js} +1 -1
- package/dist/{update-runner-CojT7WjB.js → update-runner-B8HeQMh9.js} +1 -1
- package/dist/{web-7whaNwuf.js → web-Bc4Wpswl.js} +4 -4
- package/dist/{web-DJLqJtdE.js → web-BlFUXBMY.js} +7 -7
- package/dist/{web-Bajdq5Wa.js → web-CkR_yCA_.js} +2 -2
- package/dist/{web-DDJKA0cd.js → web-D4YLetRH.js} +5 -5
- package/package.json +1 -1
|
@@ -49,7 +49,7 @@ const entries = [
|
|
|
49
49
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
50
50
|
hasSubcommands: true,
|
|
51
51
|
register: async (program) => {
|
|
52
|
-
(await import("./gateway-cli-
|
|
52
|
+
(await import("./gateway-cli-BPpCax1I.js")).registerGatewayCli(program);
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
{
|
|
@@ -81,7 +81,7 @@ const entries = [
|
|
|
81
81
|
description: "Discover, scan, and configure models",
|
|
82
82
|
hasSubcommands: true,
|
|
83
83
|
register: async (program) => {
|
|
84
|
-
(await import("./models-cli
|
|
84
|
+
(await import("./models-cli--aTN9HGH.js")).registerModelsCli(program);
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
{
|
|
@@ -161,7 +161,7 @@ const entries = [
|
|
|
161
161
|
description: "Manage internal agent hooks",
|
|
162
162
|
hasSubcommands: true,
|
|
163
163
|
register: async (program) => {
|
|
164
|
-
(await import("./hooks-cli-
|
|
164
|
+
(await import("./hooks-cli-DkECWzYR.js")).registerHooksCli(program);
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
{
|
|
@@ -185,7 +185,7 @@ const entries = [
|
|
|
185
185
|
description: "Secure DM pairing (approve inbound requests)",
|
|
186
186
|
hasSubcommands: true,
|
|
187
187
|
register: async (program) => {
|
|
188
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
188
|
+
const { registerPluginCliCommands } = await import("./cli-BZtnY7d6.js");
|
|
189
189
|
registerPluginCliCommands(program, await loadConfig());
|
|
190
190
|
(await import("./pairing-cli-CV7v_OAk.js")).registerPairingCli(program);
|
|
191
191
|
}
|
|
@@ -195,8 +195,8 @@ const entries = [
|
|
|
195
195
|
description: "Manage Symi plugins and extensions",
|
|
196
196
|
hasSubcommands: true,
|
|
197
197
|
register: async (program) => {
|
|
198
|
-
(await import("./plugins-cli-
|
|
199
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
198
|
+
(await import("./plugins-cli-Bn8-8_23.js")).registerPluginsCli(program);
|
|
199
|
+
const { registerPluginCliCommands } = await import("./cli-BZtnY7d6.js");
|
|
200
200
|
registerPluginCliCommands(program, await loadConfig());
|
|
201
201
|
}
|
|
202
202
|
},
|
|
@@ -205,7 +205,7 @@ const entries = [
|
|
|
205
205
|
description: "Manage connected chat channels (Telegram, Discord, etc.)",
|
|
206
206
|
hasSubcommands: true,
|
|
207
207
|
register: async (program) => {
|
|
208
|
-
(await import("./channels-cli-
|
|
208
|
+
(await import("./channels-cli-BDVyJC_y.js")).registerChannelsCli(program);
|
|
209
209
|
}
|
|
210
210
|
},
|
|
211
211
|
{
|
|
@@ -237,7 +237,7 @@ const entries = [
|
|
|
237
237
|
description: "Update Symi and inspect update channel status",
|
|
238
238
|
hasSubcommands: true,
|
|
239
239
|
register: async (program) => {
|
|
240
|
-
(await import("./update-cli-
|
|
240
|
+
(await import("./update-cli-C2P8Rlb9.js")).registerUpdateCli(program);
|
|
241
241
|
}
|
|
242
242
|
},
|
|
243
243
|
{
|
|
@@ -245,7 +245,7 @@ const entries = [
|
|
|
245
245
|
description: "Generate shell completion script",
|
|
246
246
|
hasSubcommands: false,
|
|
247
247
|
register: async (program) => {
|
|
248
|
-
(await import("./completion-cli-
|
|
248
|
+
(await import("./completion-cli-D6k2XhFb.js").then((n) => n.n)).registerCompletionCli(program);
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
];
|
|
@@ -14,7 +14,7 @@ import "./client-CJIMV1WD.js";
|
|
|
14
14
|
import "./call-kDKyoL1-.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-U0ugNIM_.js";
|
|
18
18
|
import "./sessions-BTIQHLw1.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-rmCpMKFF.js";
|
|
54
54
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
55
|
-
import "./memory-cli-
|
|
56
|
-
import "./manager-
|
|
55
|
+
import "./memory-cli-DYjxP-KO.js";
|
|
56
|
+
import "./manager-CSbEQqJL.js";
|
|
57
57
|
import "./gemini-auth-DJu92wJe.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-BcLFJj7I.js";
|
|
105
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
105
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CE-bQL5d.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-Dwc6cysD.js";
|
|
108
108
|
import "./doctor-config-flow-Cx621UYt.js";
|
|
109
109
|
import { n as ensureConfigReady } from "./config-guard-CAStPO4d.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-dVQBgbn1.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-C0MQarC1.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-C1EHWbfj.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-DYjxP-KO.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-CwufnTiJ.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-CwufnTiJ.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-Dv2h1wDZ.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-Dv2h1wDZ.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-QzRBcmP4.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-C4fEo5jO.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-XCByhkDw.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-BZtnY7d6.js");
|
|
428
428
|
const { loadConfig } = await import("./config-DUkEbW2B.js").then((n) => n.t);
|
|
429
429
|
registerPluginCliCommands(program, loadConfig());
|
|
430
430
|
}
|
|
@@ -4,7 +4,7 @@ import { B as requireApiKey, V as resolveApiKeyForProvider, j as normalizeGoogle
|
|
|
4
4
|
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-DHXmZSyF.js";
|
|
5
5
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-DFFGK0lW.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-3FRbbjbq.js";
|
|
7
|
-
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-CUTH9m-Y.js";
|
|
8
8
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-wyzssEnn.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-CVCBkyv1.js";
|
|
10
10
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-jzqRdkXA.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 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-
|
|
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-CBI-Swnu.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-CrvwoJwJ.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-DUzkHyjY.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-xeFyVyjI.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-C-ESeERE.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-DNTExLQg.js";
|
|
34
34
|
import { i as parseAbsoluteTimeMs } from "./stagger-BEsczMsw.js";
|
|
35
35
|
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-D6hypSND.js";
|
|
36
|
-
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-
|
|
36
|
+
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-B2M69szZ.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-D4eGKJx8.js";
|
|
43
|
-
import { n as getStatusSummary } from "./status-
|
|
44
|
-
import { l as abortHeartbeatRunForSession, s as setHeartbeatsEnabled } from "./health-
|
|
43
|
+
import { n as getStatusSummary } from "./status-DoHU1AjC.js";
|
|
44
|
+
import { l as abortHeartbeatRunForSession, s as setHeartbeatsEnabled } from "./health-DxCLDRPA.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-UoRptSMP.js";
|
|
47
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-BzHsLIJT.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-8kzamnJ4.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";
|
|
@@ -7582,7 +7582,7 @@ const nodeHandlers = {
|
|
|
7582
7582
|
const p = params;
|
|
7583
7583
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
7584
7584
|
await respondUnavailableOnThrow(respond, async () => {
|
|
7585
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
7585
|
+
const { handleNodeEvent } = await import("./server-node-events-Dq1ZMCf6.js");
|
|
7586
7586
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
7587
7587
|
await handleNodeEvent({
|
|
7588
7588
|
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, 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-
|
|
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-U0ugNIM_.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-BTIQHLw1.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-Cp7YNUso.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-DYjxP-KO.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-silnxdtL.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-C579Ky90.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-BdibzuQ3.js";
|
|
33
33
|
import { i as parseAbsoluteTimeMs } from "./stagger-BDqsqTKI.js";
|
|
34
34
|
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-8VqZn_a3.js";
|
|
35
|
-
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-
|
|
35
|
+
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-B3jYfx_N.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-2YJSSY8X.js";
|
|
41
|
-
import { r as getStatusSummary } from "./status-
|
|
42
|
-
import { c as setHeartbeatsEnabled, u as abortHeartbeatRunForSession } from "./health-
|
|
41
|
+
import { r as getStatusSummary } from "./status-C0MQarC1.js";
|
|
42
|
+
import { c as setHeartbeatsEnabled, u as abortHeartbeatRunForSession } from "./health-dVQBgbn1.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-DfSe7sOB.js";
|
|
45
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-DUjv7eRL.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-B8HeQMh9.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";
|
|
@@ -7580,7 +7580,7 @@ const nodeHandlers = {
|
|
|
7580
7580
|
const p = params;
|
|
7581
7581
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
7582
7582
|
await respondUnavailableOnThrow(respond, async () => {
|
|
7583
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
7583
|
+
const { handleNodeEvent } = await import("./server-node-events-yTZOzVQs.js");
|
|
7584
7584
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
7585
7585
|
await handleNodeEvent({
|
|
7586
7586
|
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-CBI-Swnu.js";
|
|
5
5
|
import "./registry-ClO_zVv-.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-zqierDLj.js";
|
|
7
7
|
import "./auth-profiles-CrvwoJwJ.js";
|
|
@@ -56,8 +56,8 @@ import "./send-Bi3X5tzR.js";
|
|
|
56
56
|
import "./model-BoA0I9Z3.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-xeFyVyjI.js";
|
|
60
|
+
import "./manager-wiJTQCIl.js";
|
|
61
61
|
import "./gemini-auth-BqFJSb7o.js";
|
|
62
62
|
import "./retry-DYICeae5.js";
|
|
63
63
|
import "./sqlite-CRogFEk1.js";
|
|
@@ -103,7 +103,7 @@ import "./onboard-helpers-D6hypSND.js";
|
|
|
103
103
|
import "./prompt-style-CSNJI4MG.js";
|
|
104
104
|
import "./pairing-labels-Bgr9UPYm.js";
|
|
105
105
|
import "./pi-tools.policy-jStbD7w8.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-UoRptSMP.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-kDKyoL1-.js";
|
|
16
16
|
import "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import { Pn as enqueueSystemEvent, T as createOutboundSendDeps, dn as requestHeartbeatNow, gt as resolveOutboundTarget, x as agentCommand } from "./subagent-registry-
|
|
18
|
+
import { Pn as enqueueSystemEvent, T as createOutboundSendDeps, dn as requestHeartbeatNow, gt as resolveOutboundTarget, x as agentCommand } from "./subagent-registry-U0ugNIM_.js";
|
|
19
19
|
import { d as updateSessionStore } from "./sessions-BTIQHLw1.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-rmCpMKFF.js";
|
|
55
55
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
56
|
-
import "./memory-cli-
|
|
57
|
-
import "./manager-
|
|
56
|
+
import "./memory-cli-DYjxP-KO.js";
|
|
57
|
+
import "./manager-CSbEQqJL.js";
|
|
58
58
|
import "./gemini-auth-DJu92wJe.js";
|
|
59
59
|
import "./retry-C4Q_VPOo.js";
|
|
60
60
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -99,7 +99,7 @@ import "./onboard-helpers-8VqZn_a3.js";
|
|
|
99
99
|
import "./prompt-style-BxVdnrLq.js";
|
|
100
100
|
import "./pairing-labels-dpL8GGa5.js";
|
|
101
101
|
import "./pi-tools.policy-CPzRWC47.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-DfSe7sOB.js";
|
|
103
103
|
import { randomUUID } from "node:crypto";
|
|
104
104
|
|
|
105
105
|
//#region src/gateway/server-node-events.ts
|
|
@@ -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-CBI-Swnu.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-BH6wUVyY.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-DUkEbW2B.js";
|
|
11
11
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-kDKyoL1-.js";
|
|
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-
|
|
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-U0ugNIM_.js";
|
|
13
13
|
import { F as resolveMainSessionKey, j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-BTIQHLw1.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-DYjxP-KO.js";
|
|
19
19
|
import { n as formatTimeAgo } from "./format-relative-BDwAggS5.js";
|
|
20
20
|
import { o as getRemoteSkillEligibility } from "./skill-commands-silnxdtL.js";
|
|
21
21
|
import { l as resolveSessionModelRef, n as classifySessionKey, r as listAgentsForGateway, u as lookupContextTokens } from "./session-utils-C579Ky90.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-2YJSSY8X.js";
|
|
32
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
32
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-dVQBgbn1.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,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, gt as readRestartSentinel, kn as buildChannelAccountSnapshot, nt as resolveSessionModelRef, on as lookupContextTokens, xr as sha256HexPrefix } from "./unified-runner-
|
|
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-CBI-Swnu.js";
|
|
4
4
|
import { Ht as DEFAULT_MODEL, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-CrvwoJwJ.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-BNZ47P3W.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-xeFyVyjI.js";
|
|
17
17
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-C-ESeERE.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
|
|
19
19
|
import { o as getRemoteSkillEligibility } from "./skill-commands-Bl1s-31_.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-D4eGKJx8.js";
|
|
31
|
-
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
31
|
+
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DxCLDRPA.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";
|
|
@@ -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-DUkEbW2B.js";
|
|
4
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-U0ugNIM_.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-rmCpMKFF.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-DYjxP-KO.js";
|
|
55
|
+
import { i as resolveMemorySearchConfig } from "./manager-CSbEQqJL.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,40 +15790,6 @@ 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
|
-
}
|
|
15827
15793
|
function buildSkillsSection(params) {
|
|
15828
15794
|
if (params.isMinimal) return [];
|
|
15829
15795
|
if (params.dropCatalog) return [];
|
|
@@ -15847,21 +15813,13 @@ function buildMemorySection(params) {
|
|
|
15847
15813
|
"## Memory Recall",
|
|
15848
15814
|
"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.",
|
|
15849
15815
|
"",
|
|
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
|
-
"",
|
|
15852
15816
|
"Memory is split into two layers you will see as files:",
|
|
15853
15817
|
"- `MEMORY.md` — user-authored short-term memory. Hand-edited by the user; treat as ground truth they wrote themselves. Never rewrite it yourself.",
|
|
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.
|
|
15855
|
-
"-
|
|
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 to `memory/YYYY-MM-DD.md` — the cycle will reconcile them.",
|
|
15819
|
+
"- `memory/YYYY-MM-DD.md` — daily append-only observations. This is where new memories land.",
|
|
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."
|
|
15856
15822
|
];
|
|
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.");
|
|
15865
15823
|
if (params.citationsMode === "off") lines.push("Citations are disabled: do not mention file paths or line numbers in replies unless the user explicitly asks.");
|
|
15866
15824
|
else lines.push("Citations: include Source: <path#line> when it helps the user verify memory snippets.");
|
|
15867
15825
|
lines.push("");
|
|
@@ -16150,8 +16108,7 @@ function buildAgentSystemPrompt(params) {
|
|
|
16150
16108
|
const memorySection = buildMemorySection({
|
|
16151
16109
|
isMinimal,
|
|
16152
16110
|
availableTools,
|
|
16153
|
-
citationsMode: params.memoryCitationsMode
|
|
16154
|
-
workspaceMemoryFiles: listWorkspaceMemoryFiles(params.workspaceDir)
|
|
16111
|
+
citationsMode: params.memoryCitationsMode
|
|
16155
16112
|
});
|
|
16156
16113
|
const docsSection = buildDocsSection({
|
|
16157
16114
|
docsPath: params.docsPath,
|
|
@@ -53446,7 +53403,7 @@ function setCliSessionId(entry, provider, sessionId) {
|
|
|
53446
53403
|
function createDefaultDeps() {
|
|
53447
53404
|
return {
|
|
53448
53405
|
sendMessageWhatsApp: async (...args) => {
|
|
53449
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
53406
|
+
const { sendMessageWhatsApp } = await import("./web-Bc4Wpswl.js");
|
|
53450
53407
|
return await sendMessageWhatsApp(...args);
|
|
53451
53408
|
},
|
|
53452
53409
|
sendMessageTelegram: async (...args) => {
|
|
@@ -68760,7 +68717,7 @@ function loadWebLoginQr() {
|
|
|
68760
68717
|
return webLoginQrPromise;
|
|
68761
68718
|
}
|
|
68762
68719
|
function loadWebChannel() {
|
|
68763
|
-
webChannelPromise ??= import("./web-
|
|
68720
|
+
webChannelPromise ??= import("./web-Bc4Wpswl.js");
|
|
68764
68721
|
return webChannelPromise;
|
|
68765
68722
|
}
|
|
68766
68723
|
function loadWhatsAppActions() {
|
|
@@ -14,7 +14,7 @@ import "./client-CJIMV1WD.js";
|
|
|
14
14
|
import "./call-kDKyoL1-.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-U0ugNIM_.js";
|
|
18
18
|
import "./sessions-BTIQHLw1.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-rmCpMKFF.js";
|
|
54
54
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
55
|
-
import "./memory-cli-
|
|
56
|
-
import "./manager-
|
|
55
|
+
import "./memory-cli-DYjxP-KO.js";
|
|
56
|
+
import "./manager-CSbEQqJL.js";
|
|
57
57
|
import "./gemini-auth-DJu92wJe.js";
|
|
58
58
|
import "./retry-C4Q_VPOo.js";
|
|
59
59
|
import "./sqlite-BP8tiuca.js";
|