@symerian/symi 3.5.32 → 3.5.34
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/{agent-BsRYHa15.js → agent-DkwJ_C7T.js} +1 -1
- package/dist/{agent-TRt_SsAW.js → agent-Dyqpglpp.js} +1 -1
- package/dist/{agents-7qMp2MWu.js → agents-CuwUmffQ.js} +2 -2
- package/dist/{auth-choice-DcB72YWZ.js → auth-choice-CbNJI71b.js} +1 -1
- package/dist/{auth-choice-C8lwYiEQ.js → auth-choice-Di2NnC96.js} +1 -1
- package/dist/{banner-B5Hv4rlk.js → banner-F6EJmEcS.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-DOzFci6h.js → channel-options-CLEZcALj.js} +1 -1
- package/dist/{channel-options-ZkruGuHl.js → channel-options-IVQWWWuc.js} +1 -1
- package/dist/{channels-cli-CEz9LILV.js → channels-cli-Bl17If5e.js} +7 -7
- package/dist/{channels-cli-DMShhX0d.js → channels-cli-D8d9ok3b.js} +7 -7
- package/dist/{chrome-DNssqQJs.js → chrome-3jl2ulOE.js} +7 -7
- package/dist/{cli-MDHkESMC.js → cli-BIoLyk88.js} +4 -4
- package/dist/{cli-Byovb_j5.js → cli-CbAnYkYs.js} +4 -4
- package/dist/{command-registry-Dzj-Uz5N.js → command-registry-C5LOUwKq.js} +10 -10
- package/dist/{completion-cli-vAwL_uEK.js → completion-cli-Dcc5-bYY.js} +2 -2
- package/dist/{completion-cli-CsJ2f_fk.js → completion-cli-DewJuifK.js} +1 -1
- package/dist/{config-cli-cmea_Z-A.js → config-cli-CMsbPGB3.js} +1 -1
- package/dist/{config-cli-CqqCDyf0.js → config-cli-DemkhbXj.js} +1 -1
- package/dist/{configure-DymrZd1n.js → configure-CW75YbiI.js} +2 -2
- package/dist/{configure-BEPKQuJj.js → configure-Dc5xcSyf.js} +2 -2
- package/dist/control-ui/css/style.css +162 -0
- package/dist/control-ui/js/symframe.js +135 -0
- package/dist/{deliver-q23ar_Pm.js → deliver-f3cIWxXT.js} +4 -4
- package/dist/{doctor-completion--phnyAqO.js → doctor-completion-BpVYwGK0.js} +1 -1
- package/dist/{doctor-completion-BY72G6-l.js → doctor-completion-DQmw1ojx.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +4 -4
- package/dist/{gateway-cli-Bo80TSkq.js → gateway-cli-Dx6ulSWd.js} +10 -10
- package/dist/{gateway-cli-BVpyqk_H.js → gateway-cli-TdnIAl4W.js} +10 -10
- package/dist/{glass-ui-ws-CrmnRYxe.js → glass-ui-ws-BF5GGXNz.js} +8 -8
- package/dist/{glass-ui-ws-BK5qk7-_.js → glass-ui-ws-CZkskC04.js} +8 -8
- package/dist/{hooks-cli-CjklMDuK.js → hooks-cli-DFMpZI4k.js} +5 -5
- package/dist/{hooks-cli-CqmTdxT6.js → hooks-cli-Djw7WFoS.js} +5 -5
- package/dist/index.js +8 -8
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{manager-DM2oPS8M.js → manager-BVgukgOu.js} +1 -1
- package/dist/{manager-NDn8AFhr.js → manager-CAdF4u2G.js} +1 -1
- package/dist/{manager-XfNxjaX5.js → manager-DSXvXUZQ.js} +1 -1
- package/dist/{manager-CL767Sv9.js → manager-Dw6j9KTZ.js} +1 -1
- package/dist/{memory-CTf9MdBg.js → memory-7DZfwFEz.js} +2 -2
- package/dist/{memory-DOl2l2AS.js → memory-CuBkKhKM.js} +2 -2
- package/dist/{memory-cli-B9_Vfaow.js → memory-cli-C8h9g8yO.js} +2 -2
- package/dist/{memory-cli-CA5PbH9y.js → memory-cli-CGqqpDlw.js} +2 -2
- package/dist/{models-DgiBOeVH.js → models-CLJSIS8A.js} +2 -2
- package/dist/{models-cli-B7gTrlgn.js → models-cli-CbG4PAoP.js} +5 -5
- package/dist/{models-cli-BHN3bt0f.js → models-cli-D9bmuwoB.js} +6 -6
- package/dist/{onboard-DGp6mHJD.js → onboard-BY-QnWdl.js} +1 -1
- package/dist/{onboard-BNdKimpG.js → onboard-BdPqyQmJ.js} +1 -1
- package/dist/{onboard-channels-Dhb-28-_.js → onboard-channels-Bzi2ck6V.js} +1 -1
- package/dist/{onboard-channels-DSBWRjSp.js → onboard-channels-C8bsROUq.js} +1 -1
- package/dist/{onboarding-BG23DuS1.js → onboarding-Ccnav61g.js} +3 -3
- package/dist/{onboarding-MPSU9pXd.js → onboarding-Hbt4RoTz.js} +3 -3
- package/dist/{onboarding.finalize-Cv20GyNt.js → onboarding.finalize--xJkztAR.js} +3 -3
- package/dist/{onboarding.finalize-B-mxzJ08.js → onboarding.finalize-OpyyTxY1.js} +4 -4
- package/dist/{pi-embedded-V-5MAZNb.js → pi-embedded-RgjY3r6K.js} +92 -10
- package/dist/{plugin-registry-c3Skr0q9.js → plugin-registry-B_NJFVHQ.js} +1 -1
- package/dist/{plugin-registry-CBV_Y6Dj.js → plugin-registry-X13tkCTS.js} +1 -1
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-8Jo1X8SU.js → plugins-cli-C4bJxBRh.js} +5 -5
- package/dist/{plugins-cli-Dl7-FSCq.js → plugins-cli-DtdwfV-d.js} +5 -5
- package/dist/{program-context-BpeLcVUB.js → program-context-YblB1bz7.js} +18 -18
- package/dist/{program-D-LYHEvk.js → program-qzq3Lh15.js} +10 -10
- package/dist/{prompt-select-styled-ZWxB2Odf.js → prompt-select-styled-B_ial7p9.js} +4 -4
- package/dist/{prompt-select-styled-Ceih9wkY.js → prompt-select-styled-CQDea8e4.js} +4 -4
- package/dist/{provider-auth-helpers-BdvW7eau.js → provider-auth-helpers-BcP3qXzm.js} +1 -1
- package/dist/{provider-auth-helpers-BCejcf5o.js → provider-auth-helpers-BjVtTJHF.js} +1 -1
- package/dist/{push-apns-D4iLNyBo.js → push-apns-BWhqnXlG.js} +1 -1
- package/dist/{push-apns-HQd5hCpM.js → push-apns-D5FHZT1S.js} +1 -1
- package/dist/{pw-ai-v__CyAlM.js → pw-ai-DOAsQ5NX.js} +1 -1
- package/dist/{register.agent-DoUbqZIu.js → register.agent-BDw4ZFQo.js} +9 -9
- package/dist/{register.agent-zwVEiCHs.js → register.agent-DBb8ssU_.js} +8 -8
- package/dist/{register.configure-jBKvvOnk.js → register.configure-ClTC_gFo.js} +8 -8
- package/dist/{register.configure-CSe8Rlda.js → register.configure-DwN6_ucd.js} +8 -8
- package/dist/{register.maintenance-BdikNAV1.js → register.maintenance-C4EBdIW-.js} +9 -9
- package/dist/{register.maintenance-royLmVA2.js → register.maintenance-J8-7UEyc.js} +8 -8
- package/dist/{register.message-C_0uLdYn.js → register.message-CBkdglWp.js} +5 -5
- package/dist/{register.message-C1H5Vcnb.js → register.message-DkhnvbOo.js} +5 -5
- package/dist/{register.onboard-DTLtb0SN.js → register.onboard-B62sO2YM.js} +2 -2
- package/dist/{register.onboard-DnMRUtnl.js → register.onboard-BTM1uWDL.js} +2 -2
- package/dist/{register.setup-KA8Cs3HJ.js → register.setup-C7ai_6EG.js} +2 -2
- package/dist/{register.setup-B9sjRH7l.js → register.setup-X1z8nL1f.js} +2 -2
- package/dist/{register.status-health-sessions-BwiKHLEj.js → register.status-health-sessions-PBqHdGtS.js} +3 -3
- package/dist/{register.status-health-sessions-B_jcsH3c.js → register.status-health-sessions-oi4VY1yI.js} +3 -3
- package/dist/{register.subclis-B_V8vNI0.js → register.subclis-C1nbYmb-.js} +9 -9
- package/dist/{run-main-DhgQtxI0.js → run-main-Dcnq5F34.js} +17 -17
- package/dist/{server-methods-Bdz-OwQ4.js → server-methods-B8BrOzmI.js} +7 -7
- package/dist/{server-methods-6-10RyMD.js → server-methods-Cb-Z7rAJ.js} +7 -7
- package/dist/{server-node-events-C4giIb7q.js → server-node-events-BHcTrVe6.js} +6 -6
- package/dist/{server-node-events-B3Yey3h9.js → server-node-events-DnbQWd7e.js} +6 -6
- package/dist/{status-BRUIJsUm.js → status-CMnu_ZM8.js} +1 -1
- package/dist/{status-D_0593yR.js → status-DtfiqHU9.js} +1 -1
- package/dist/{status-B_CQpjQ9.js → status-KQBTdecN.js} +1 -1
- package/dist/{status-CCAO6ZHm.js → status-qu-13pDh.js} +1 -1
- package/dist/{subagent-registry-D8BIWG9Q.js → subagent-registry-BagjubTG.js} +85 -3
- package/dist/{synthesis-qvteT0Ti.js → synthesis-BFginQes.js} +4 -4
- package/dist/{synthesis-BfVWACNx.js → synthesis-CNxkpSl0.js} +4 -4
- package/dist/{synthesis-CV94EuT_.js → synthesis-CjbRZN2u.js} +4 -4
- package/dist/{synthesis-Bfhs-a4F.js → synthesis-CzEJh0zD.js} +2 -2
- package/dist/{unified-runner-C7BRCFJF.js → unified-runner-B2uJpfUK.js} +85 -3
- package/dist/{unified-runner-CtSJoaGS.js → unified-runner-BoNa4zCp.js} +85 -3
- package/dist/{update-cli-CUos9qgT.js → update-cli-D6uHO0yM.js} +9 -9
- package/dist/{update-cli-BrryYmFA.js → update-cli-Dj7wVif6.js} +8 -8
- package/extensions/memory-core/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ import "./client-BOd5o3Kp.js";
|
|
|
17
17
|
import "./call-DTshgdlW.js";
|
|
18
18
|
import "./message-channel-DXToSaWK.js";
|
|
19
19
|
import "./pairing-token-B-OTYROz.js";
|
|
20
|
-
import { Wt as installUnhandledRejectionHandler } from "./subagent-registry-
|
|
20
|
+
import { Wt as installUnhandledRejectionHandler } from "./subagent-registry-BagjubTG.js";
|
|
21
21
|
import "./sessions-Dn6VXn4p.js";
|
|
22
22
|
import "./plugins-BsEhWvLn.js";
|
|
23
23
|
import "./send-Dq252-bi.js";
|
|
@@ -47,8 +47,8 @@ import "./model-auth-Byr7Gic_.js";
|
|
|
47
47
|
import "./github-copilot-token-B5y4__YM.js";
|
|
48
48
|
import "./models-config-CiR_RUxw.js";
|
|
49
49
|
import "./reply-prefix-DV3KhOhL.js";
|
|
50
|
-
import "./memory-
|
|
51
|
-
import "./manager-
|
|
50
|
+
import "./memory-7DZfwFEz.js";
|
|
51
|
+
import "./manager-DSXvXUZQ.js";
|
|
52
52
|
import "./sqlite-9jF_eajd.js";
|
|
53
53
|
import "./chunk-B2lBXhR0.js";
|
|
54
54
|
import "./markdown-tables-BEdkErjm.js";
|
|
@@ -79,7 +79,7 @@ import "./links-Dnmd-RS-.js";
|
|
|
79
79
|
import "./cli-utils-DXfA5936.js";
|
|
80
80
|
import "./help-format-Dbp8yEhl.js";
|
|
81
81
|
import "./progress-CI19Xh3z.js";
|
|
82
|
-
import "./memory-cli-
|
|
82
|
+
import "./memory-cli-CGqqpDlw.js";
|
|
83
83
|
import "./logging-UO6tk8Em.js";
|
|
84
84
|
import "./replies-CLREUzzB.js";
|
|
85
85
|
import "./pi-tools.policy-06k__URR.js";
|
|
@@ -87,10 +87,10 @@ import "./catalog-BQgWCFTH.js";
|
|
|
87
87
|
import "./prompt-style-CZGg35Py.js";
|
|
88
88
|
import "./note-BIAQpZxi.js";
|
|
89
89
|
import "./plugin-auto-enable-DaR6Z6BC.js";
|
|
90
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
90
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-B_NJFVHQ.js";
|
|
91
91
|
import { t as assertSupportedRuntime } from "./runtime-guard-LRRZ73eX.js";
|
|
92
92
|
import { t as ensureSymiCliOnPath } from "./path-env-SUrcTSJ-.js";
|
|
93
|
-
import { t as emitCliBanner } from "./banner-
|
|
93
|
+
import { t as emitCliBanner } from "./banner-F6EJmEcS.js";
|
|
94
94
|
import "./doctor-config-flow-BIBJeoRl.js";
|
|
95
95
|
import { n as ensureConfigReady } from "./config-guard-CCLLHbZ3.js";
|
|
96
96
|
import process$1 from "node:process";
|
|
@@ -125,7 +125,7 @@ const routeStatus = {
|
|
|
125
125
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
126
126
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
127
127
|
if (timeoutMs === null) return false;
|
|
128
|
-
const { statusCommand } = await import("./status-
|
|
128
|
+
const { statusCommand } = await import("./status-DtfiqHU9.js").then((n) => n.t);
|
|
129
129
|
await statusCommand({
|
|
130
130
|
json,
|
|
131
131
|
deep,
|
|
@@ -159,7 +159,7 @@ const routeAgentsList = {
|
|
|
159
159
|
run: async (argv) => {
|
|
160
160
|
const json = hasFlag(argv, "--json");
|
|
161
161
|
const bindings = hasFlag(argv, "--bindings");
|
|
162
|
-
const { agentsListCommand } = await import("./agents-
|
|
162
|
+
const { agentsListCommand } = await import("./agents-CuwUmffQ.js").then((n) => n.t);
|
|
163
163
|
await agentsListCommand({
|
|
164
164
|
json,
|
|
165
165
|
bindings
|
|
@@ -176,7 +176,7 @@ const routeMemoryStatus = {
|
|
|
176
176
|
const deep = hasFlag(argv, "--deep");
|
|
177
177
|
const index = hasFlag(argv, "--index");
|
|
178
178
|
const verbose = hasFlag(argv, "--verbose");
|
|
179
|
-
const { runMemoryStatus } = await import("./memory-cli-
|
|
179
|
+
const { runMemoryStatus } = await import("./memory-cli-CGqqpDlw.js").then((n) => n.t);
|
|
180
180
|
await runMemoryStatus({
|
|
181
181
|
agent,
|
|
182
182
|
json,
|
|
@@ -230,7 +230,7 @@ const routes = [
|
|
|
230
230
|
const pathArg = getCommandPositionals(argv)[2];
|
|
231
231
|
if (!pathArg) return false;
|
|
232
232
|
const json = hasFlag(argv, "--json");
|
|
233
|
-
const { runConfigGet } = await import("./config-cli-
|
|
233
|
+
const { runConfigGet } = await import("./config-cli-DemkhbXj.js");
|
|
234
234
|
await runConfigGet({
|
|
235
235
|
path: pathArg,
|
|
236
236
|
json
|
|
@@ -243,7 +243,7 @@ const routes = [
|
|
|
243
243
|
run: async (argv) => {
|
|
244
244
|
const pathArg = getCommandPositionals(argv)[2];
|
|
245
245
|
if (!pathArg) return false;
|
|
246
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
246
|
+
const { runConfigUnset } = await import("./config-cli-DemkhbXj.js");
|
|
247
247
|
await runConfigUnset({ path: pathArg });
|
|
248
248
|
return true;
|
|
249
249
|
}
|
|
@@ -257,7 +257,7 @@ const routes = [
|
|
|
257
257
|
const local = hasFlag(argv, "--local");
|
|
258
258
|
const json = hasFlag(argv, "--json");
|
|
259
259
|
const plain = hasFlag(argv, "--plain");
|
|
260
|
-
const { modelsListCommand } = await import("./models-
|
|
260
|
+
const { modelsListCommand } = await import("./models-CLJSIS8A.js").then((n) => n.t);
|
|
261
261
|
await modelsListCommand({
|
|
262
262
|
all,
|
|
263
263
|
local,
|
|
@@ -288,7 +288,7 @@ const routes = [
|
|
|
288
288
|
const plain = hasFlag(argv, "--plain");
|
|
289
289
|
const check = hasFlag(argv, "--check");
|
|
290
290
|
const probe = hasFlag(argv, "--probe");
|
|
291
|
-
const { modelsStatusCommand } = await import("./models-
|
|
291
|
+
const { modelsStatusCommand } = await import("./models-CLJSIS8A.js").then((n) => n.t);
|
|
292
292
|
await modelsStatusCommand({
|
|
293
293
|
json,
|
|
294
294
|
plain,
|
|
@@ -366,7 +366,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
366
366
|
assertSupportedRuntime();
|
|
367
367
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
368
368
|
enableConsoleCapture();
|
|
369
|
-
const { buildProgram } = await import("./program-
|
|
369
|
+
const { buildProgram } = await import("./program-qzq3Lh15.js");
|
|
370
370
|
const program = buildProgram();
|
|
371
371
|
installUnhandledRejectionHandler();
|
|
372
372
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -398,10 +398,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
398
398
|
const { getProgramContext } = await import("./program-context-B_0V80zV.js").then((n) => n.n);
|
|
399
399
|
const ctx = getProgramContext(program);
|
|
400
400
|
if (ctx) {
|
|
401
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
401
|
+
const { registerCoreCliByName } = await import("./command-registry-C5LOUwKq.js").then((n) => n.t);
|
|
402
402
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
403
403
|
}
|
|
404
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
404
|
+
const { registerSubCliByName } = await import("./register.subclis-C1nbYmb-.js").then((n) => n.a);
|
|
405
405
|
await registerSubCliByName(program, primary);
|
|
406
406
|
}
|
|
407
407
|
const hasBuiltinPrimary = primary !== null && program.commands.some((command) => command.name() === primary);
|
|
@@ -410,7 +410,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
410
410
|
primary,
|
|
411
411
|
hasBuiltinPrimary
|
|
412
412
|
})) {
|
|
413
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
413
|
+
const { registerPluginCliCommands } = await import("./cli-BIoLyk88.js");
|
|
414
414
|
const { loadConfig } = await import("./config-D7TcU4qN.js").then((n) => n.t);
|
|
415
415
|
registerPluginCliCommands(program, loadConfig());
|
|
416
416
|
}
|
|
@@ -13,7 +13,7 @@ import { f as GATEWAY_CLIENT_CAPS, g as hasGatewayClientCap, i as isGatewayMessa
|
|
|
13
13
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-B-OTYROz.js";
|
|
14
14
|
import { s as pickPrimaryLanIPv4 } from "./net-TZUXtwGR.js";
|
|
15
15
|
import { i as normalizeInputProvenance } from "./input-provenance-BdV0rbga.js";
|
|
16
|
-
import { C as buildGlassUiProfile, Dt as scheduleGatewaySigusr1Restart, E as abortEmbeddedPiRun, En as registerAgentRunContext, Ft as normalizeSendPolicy, G as normalizePollInput, H as resolveOutboundSessionRoute, Ht as applyVerboseOverride, It as resolveSendPolicy, L as listTasksInWorkdir, N as buildAgentTurnParams, O as waitForEmbeddedPiRunEnd, P as prepareReplyTurn, Tn as onAgentEvent, U as resolveOutboundTarget, Ut as parseVerboseOverride, V as ensureOutboundSessionEntry, Vt as applyModelOverrideToSessionEntry, a as listSubagentRunsForRequester, c as clearSessionQueues, cn as stopSubagentsForRequester, et as normalizeCronJobCreate, i as listDescendantRunsForRequester, in as normalizeGroupActivation, m as loadSymiPlugins, nn as prepareAgentRun, on as formatZonedTimestamp, pn as resolveUserTimezone, rn as BARE_SESSION_RESET_PROMPT, sn as isAbortTrigger, tn as resolveAgentTimeoutMs, tt as normalizeCronJobPatch, vt as applyBrowserProxyPaths, w as runUnifiedTurn, x as createReplyDispatcher, y as getChannelActivity, yt as persistBrowserProxyFiles } from "./subagent-registry-
|
|
16
|
+
import { C as buildGlassUiProfile, Dt as scheduleGatewaySigusr1Restart, E as abortEmbeddedPiRun, En as registerAgentRunContext, Ft as normalizeSendPolicy, G as normalizePollInput, H as resolveOutboundSessionRoute, Ht as applyVerboseOverride, It as resolveSendPolicy, L as listTasksInWorkdir, N as buildAgentTurnParams, O as waitForEmbeddedPiRunEnd, P as prepareReplyTurn, Tn as onAgentEvent, U as resolveOutboundTarget, Ut as parseVerboseOverride, V as ensureOutboundSessionEntry, Vt as applyModelOverrideToSessionEntry, a as listSubagentRunsForRequester, c as clearSessionQueues, cn as stopSubagentsForRequester, et as normalizeCronJobCreate, i as listDescendantRunsForRequester, in as normalizeGroupActivation, m as loadSymiPlugins, nn as prepareAgentRun, on as formatZonedTimestamp, pn as resolveUserTimezone, rn as BARE_SESSION_RESET_PROMPT, sn as isAbortTrigger, tn as resolveAgentTimeoutMs, tt as normalizeCronJobPatch, vt as applyBrowserProxyPaths, w as runUnifiedTurn, x as createReplyDispatcher, y as getChannelActivity, yt as persistBrowserProxyFiles } from "./subagent-registry-BagjubTG.js";
|
|
17
17
|
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-Dn6VXn4p.js";
|
|
18
18
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BsEhWvLn.js";
|
|
19
19
|
import { n as createBrowserRouteDispatcher } from "./with-timeout-B9GM8DPj.js";
|
|
@@ -22,7 +22,7 @@ import { t as movePathToTrash } from "./trash-Bx4LIudf.js";
|
|
|
22
22
|
import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-DtiEyjsC.js";
|
|
23
23
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-BZDIJMl_.js";
|
|
24
24
|
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-DV3KhOhL.js";
|
|
25
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
25
|
+
import { t as getMemorySearchManager } from "./memory-7DZfwFEz.js";
|
|
26
26
|
import { c as approveNodePairing, d as renamePairedNode, f as requestNodePairing, l as listNodePairing, m as verifyNodeToken, t as getRemoteSkillEligibility, u as rejectNodePairing } from "./skills-remote-DSGpkPJE.js";
|
|
27
27
|
import { g as isSystemEventContextChanged, h as enqueueSystemEvent, i as formatDoctorNonInteractiveHint, l as writeRestartSentinel, u as loadProviderUsageSummary } from "./redact-identifier-BOxAUdff.js";
|
|
28
28
|
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-wlRR65M3.js";
|
|
@@ -37,11 +37,11 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-CBCZwlBW.js";
|
|
|
37
37
|
import { t as buildChannelAccountSnapshot } from "./status-BzmfZaEV.js";
|
|
38
38
|
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-t7tI9KSA.js";
|
|
39
39
|
import { c as resolveNodeCommandAllowlist, s as isNodeCommandAllowed } from "./audit-DyncRBKq.js";
|
|
40
|
-
import { r as getStatusSummary } from "./status-
|
|
40
|
+
import { r as getStatusSummary } from "./status-DtfiqHU9.js";
|
|
41
41
|
import { r as createOutboundSendDeps } from "./outbound-send-deps-BCyarBRf.js";
|
|
42
42
|
import { m as normalizeUpdateChannel } from "./update-check-DLOnLuop.js";
|
|
43
|
-
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-
|
|
44
|
-
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-
|
|
43
|
+
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-BWhqnXlG.js";
|
|
44
|
+
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-Dyqpglpp.js";
|
|
45
45
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-CqfMQEiy.js";
|
|
46
46
|
import { t as resolveSystemRunCommand } from "./system-run-command-CYEDiFm7.js";
|
|
47
47
|
import { t as installSkill } from "./skills-install-CZE8W7lV.js";
|
|
@@ -4223,7 +4223,7 @@ const chatHandlers = {
|
|
|
4223
4223
|
}
|
|
4224
4224
|
(async () => {
|
|
4225
4225
|
try {
|
|
4226
|
-
const [{ createSymiTools }, { loadConfig }] = await Promise.all([import("./subagent-registry-
|
|
4226
|
+
const [{ createSymiTools }, { loadConfig }] = await Promise.all([import("./subagent-registry-BagjubTG.js").then((n) => n.I), import("./config-D7TcU4qN.js").then((n) => n.t)]);
|
|
4227
4227
|
respond(true, { tools: createSymiTools({ config: loadConfig() }).map((tool) => {
|
|
4228
4228
|
const name = tool.name;
|
|
4229
4229
|
const description = tool.description;
|
|
@@ -7551,7 +7551,7 @@ const nodeHandlers = {
|
|
|
7551
7551
|
const p = params;
|
|
7552
7552
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
7553
7553
|
await respondUnavailableOnThrow(respond, async () => {
|
|
7554
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
7554
|
+
const { handleNodeEvent } = await import("./server-node-events-DnbQWd7e.js");
|
|
7555
7555
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
7556
7556
|
await handleNodeEvent({
|
|
7557
7557
|
deps: context.deps,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as ensureOutboundSessionEntry, Ft as normalizeGroupActivation, I as normalizeCronJobCreate, Kt as resolveAgentTimeoutMs, L as normalizeCronJobPatch, Lt as formatZonedTimestamp, Nt as prepareAgentRun, O as resolveOutboundSessionRoute, Pt as BARE_SESSION_RESET_PROMPT, Rt as isAbortTrigger, St as parseVerboseOverride, Ut as listDescendantRunsForRequester, Wt as listSubagentRunsForRequester, Zt as clearSessionQueues, b as prepareReplyTurn, bt as applyModelOverrideToSessionEntry, et as applyBrowserProxyPaths, f as getChannelActivity, g as buildGlassUiProfile, ht as resolveSendPolicy, in as abortEmbeddedPiRun, j as normalizePollInput, k as resolveOutboundTarget, m as createReplyDispatcher, mt as normalizeSendPolicy, nn as registerAgentRunContext, on as waitForEmbeddedPiRunEnd, pn as resolveUserTimezone, s as loadSymiPlugins, st as scheduleGatewaySigusr1Restart, tn as onAgentEvent, tt as persistBrowserProxyFiles, v as runUnifiedTurn, w as listTasksInWorkdir, xt as applyVerboseOverride, y as buildAgentTurnParams, zt as stopSubagentsForRequester } from "./unified-runner-
|
|
1
|
+
import { D as ensureOutboundSessionEntry, Ft as normalizeGroupActivation, I as normalizeCronJobCreate, Kt as resolveAgentTimeoutMs, L as normalizeCronJobPatch, Lt as formatZonedTimestamp, Nt as prepareAgentRun, O as resolveOutboundSessionRoute, Pt as BARE_SESSION_RESET_PROMPT, Rt as isAbortTrigger, St as parseVerboseOverride, Ut as listDescendantRunsForRequester, Wt as listSubagentRunsForRequester, Zt as clearSessionQueues, b as prepareReplyTurn, bt as applyModelOverrideToSessionEntry, et as applyBrowserProxyPaths, f as getChannelActivity, g as buildGlassUiProfile, ht as resolveSendPolicy, in as abortEmbeddedPiRun, j as normalizePollInput, k as resolveOutboundTarget, m as createReplyDispatcher, mt as normalizeSendPolicy, nn as registerAgentRunContext, on as waitForEmbeddedPiRunEnd, pn as resolveUserTimezone, s as loadSymiPlugins, st as scheduleGatewaySigusr1Restart, tn as onAgentEvent, tt as persistBrowserProxyFiles, v as runUnifiedTurn, w as listTasksInWorkdir, xt as applyVerboseOverride, y as buildAgentTurnParams, zt as stopSubagentsForRequester } from "./unified-runner-BoNa4zCp.js";
|
|
2
2
|
import { H as createInternalHookEvent, P as getResolvedLoggerSettings, W as triggerInternalHook, d as getActivePluginRegistry, r as DEFAULT_CHAT_CHANNEL } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import { _ as resolveStateDir, t as CONFIG_PATH } from "./paths-By0XjHBk.js";
|
|
4
4
|
import { S as isPlainObject, h as resolveUserPath, n as clamp } from "./utils-CTPsqyE_.js";
|
|
@@ -23,7 +23,7 @@ import { i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSe
|
|
|
23
23
|
import { C as enqueueSystemEvent, _ as loadProviderUsageSummary, a as loadCombinedSessionStoreForGateway, c as resolveGatewaySessionStoreTarget, d as formatDoctorNonInteractiveHint, g as writeRestartSentinel, i as listSessionsFromStore, l as resolveSessionModelRef, o as loadSessionEntry, r as listAgentsForGateway, s as pruneLegacyStoreKeys, t as canonicalizeSpawnedByForAgent, w as isSystemEventContextChanged } from "./session-utils-Cs1jlD-q.js";
|
|
24
24
|
import { n as createBrowserRouteDispatcher } from "./with-timeout-DPR4A2dx.js";
|
|
25
25
|
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-BFNeXT65.js";
|
|
26
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
26
|
+
import { t as getMemorySearchManager } from "./memory-CuBkKhKM.js";
|
|
27
27
|
import { $ as validateNodeInvokeResultParams, $t as rotateDeviceToken, A as validateCronListParams, At as validateTasksListParams, B as validateDeviceTokenRevokeParams, Bt as ErrorCodes, C as validateConfigApplyParams, Ct as validateSessionsUsageParams, D as validateConfigSetParams, Dt as validateSkillsUpdateParams, E as validateConfigSchemaParams, Et as validateSkillsStatusParams, F as validateCronUpdateParams, Ft as validateWizardCancelParams, G as validateExecApprovalsNodeGetParams, Gt as approveDevicePairing, I as validateDevicePairApproveParams, It as validateWizardNextParams, J as validateLogsTailParams, Jt as listDevicePairing, K as validateExecApprovalsNodeSetParams, L as validateDevicePairListParams, Lt as validateWizardStartParams, M as validateCronRunParams, Mt as validateWakeParams, N as validateCronRunsParams, Nt as validateWebLoginStartParams, Ot as validateTalkConfigParams, P as validateCronStatusParams, Pt as validateWebLoginWaitParams, Q as validateNodeInvokeParams, Qt as revokeDeviceToken, R as validateDevicePairRejectParams, Rt as validateWizardStatusParams, S as validateChatToolsListParams, St as validateSessionsSearchParams, T as validateConfigPatchParams, Tt as validateSkillsInstallParams, Ut as parseSessionLabel, V as validateDeviceTokenRotateParams, Vt as errorShape, W as validateExecApprovalsGetParams, X as validateNodeDescribeParams, Xt as removePairedDevice, Y as validateModelsListParams, Yt as rejectDevicePairing, Z as validateNodeEventParams, _ as validateChatHistoryParams, _t as validateSessionsPatchParams, a as validateAgentWaitParams, at as validateNodePairVerifyParams, b as validateChatSkillsListParams, bt as validateSessionsResolveParams, c as validateAgentsFilesGetParams, ct as validatePushTestParams, d as validateAgentsListParams, dt as validateSessionsAdoptFileParams, en as summarizeDeviceTokens, et as validateNodeListParams, f as validateAgentsUpdateParams, ft as validateSessionsCompactParams, g as validateChatCommandsListParams, gt as validateSessionsListParams, h as validateChatAbortParams, ht as validateSessionsFavoriteFileParams, i as validateAgentParams, it as validateNodePairRequestParams, j as validateCronRemoveParams, jt as validateUpdateRunParams, k as validateCronAddParams, kt as validateTalkModeParams, l as validateAgentsFilesListParams, m as validateChannelsStatusParams, mt as validateSessionsDeleteParams, n as formatValidationErrors, nt as validateNodePairListParams, o as validateAgentsCreateParams, ot as validateNodeRenameParams, p as validateChannelsLogoutParams, pt as validateSessionsDeleteFileParams, q as validateExecApprovalsSetParams, r as validateAgentIdentityParams, rt as validateNodePairRejectParams, s as validateAgentsDeleteParams, st as validatePollParams, tt as validateNodePairApproveParams, u as validateAgentsFilesSetParams, ut as validateSendParams, v as validateChatInjectParams, vt as validateSessionsPreviewParams, w as validateConfigGetParams, wt as validateSkillsBinsParams, x as validateChatSymframePushParams, xt as validateSessionsRestoreParams, y as validateChatSendParams, yt as validateSessionsResetParams, z as validateDevicePairRemoveParams } from "./client-DH75FlQF.js";
|
|
28
28
|
import { l as authorizeOperatorScopesForMethod, s as ADMIN_SCOPE$2, u as isNodeRoleMethod } from "./call-AZ9vNhST.js";
|
|
29
29
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-Dcy37-4s.js";
|
|
@@ -40,10 +40,10 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-G6zuddmF.js";
|
|
|
40
40
|
import { t as buildChannelAccountSnapshot } from "./status-Bah7VY4i.js";
|
|
41
41
|
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-7IGQ8nAM.js";
|
|
42
42
|
import { c as resolveNodeCommandAllowlist, s as isNodeCommandAllowed } from "./audit-C_3fAFeS.js";
|
|
43
|
-
import { n as getStatusSummary } from "./status-
|
|
43
|
+
import { n as getStatusSummary } from "./status-qu-13pDh.js";
|
|
44
44
|
import { m as normalizeUpdateChannel } from "./update-check-BCL_K7kx.js";
|
|
45
|
-
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-
|
|
46
|
-
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-
|
|
45
|
+
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-D5FHZT1S.js";
|
|
46
|
+
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-DkwJ_C7T.js";
|
|
47
47
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-B7sNDvhz.js";
|
|
48
48
|
import { t as resolveSystemRunCommand } from "./system-run-command-olPQqEUJ.js";
|
|
49
49
|
import { t as installSkill } from "./skills-install-Dwzsjoc8.js";
|
|
@@ -4225,7 +4225,7 @@ const chatHandlers = {
|
|
|
4225
4225
|
}
|
|
4226
4226
|
(async () => {
|
|
4227
4227
|
try {
|
|
4228
|
-
const [{ createSymiTools }, { loadConfig }] = await Promise.all([import("./unified-runner-
|
|
4228
|
+
const [{ createSymiTools }, { loadConfig }] = await Promise.all([import("./unified-runner-BoNa4zCp.js").then((n) => n.C), import("./config-B4jkreCN.js").then((n) => n.t)]);
|
|
4229
4229
|
respond(true, { tools: createSymiTools({ config: loadConfig() }).map((tool) => {
|
|
4230
4230
|
const name = tool.name;
|
|
4231
4231
|
const description = tool.description;
|
|
@@ -7553,7 +7553,7 @@ const nodeHandlers = {
|
|
|
7553
7553
|
const p = params;
|
|
7554
7554
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
7555
7555
|
await respondUnavailableOnThrow(respond, async () => {
|
|
7556
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
7556
|
+
const { handleNodeEvent } = await import("./server-node-events-BHcTrVe6.js");
|
|
7557
7557
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
7558
7558
|
await handleNodeEvent({
|
|
7559
7559
|
deps: context.deps,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as resolveOutboundTarget } from "./unified-runner-
|
|
1
|
+
import { k as resolveOutboundTarget } from "./unified-runner-BoNa4zCp.js";
|
|
2
2
|
import "./registry-Sbac4a4z.js";
|
|
3
3
|
import "./paths-By0XjHBk.js";
|
|
4
4
|
import "./utils-CTPsqyE_.js";
|
|
@@ -51,8 +51,8 @@ import "./session-cost-usage-D3mgssM_.js";
|
|
|
51
51
|
import { C as enqueueSystemEvent, c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-Cs1jlD-q.js";
|
|
52
52
|
import "./with-timeout-DPR4A2dx.js";
|
|
53
53
|
import "./reply-prefix-BFNeXT65.js";
|
|
54
|
-
import "./memory-
|
|
55
|
-
import "./manager-
|
|
54
|
+
import "./memory-CuBkKhKM.js";
|
|
55
|
+
import "./manager-Dw6j9KTZ.js";
|
|
56
56
|
import "./sqlite-Cod7C5ba.js";
|
|
57
57
|
import "./chunk-BxfKjCUx.js";
|
|
58
58
|
import "./markdown-tables-CS1Tvb3z.js";
|
|
@@ -83,14 +83,14 @@ import "./links-Bqr0FxXx.js";
|
|
|
83
83
|
import "./cli-utils-CuyGL3rq.js";
|
|
84
84
|
import "./help-format-7hFcsqss.js";
|
|
85
85
|
import "./progress-swt2y17x.js";
|
|
86
|
-
import "./memory-cli-
|
|
86
|
+
import "./memory-cli-C8h9g8yO.js";
|
|
87
87
|
import "./logging-BWknayJl.js";
|
|
88
88
|
import "./replies-CbXXjn9X.js";
|
|
89
89
|
import "./pi-tools.policy-H2t-Xkfc.js";
|
|
90
90
|
import "./model-MUMSB_7d.js";
|
|
91
91
|
import "./deps-Bf9dt2UO.js";
|
|
92
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
93
|
-
import { t as agentCommand } from "./agent-
|
|
92
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-D5FHZT1S.js";
|
|
93
|
+
import { t as agentCommand } from "./agent-DkwJ_C7T.js";
|
|
94
94
|
import { t as createOutboundSendDeps } from "./outbound-send-deps--SpwgFhS.js";
|
|
95
95
|
import { randomUUID } from "node:crypto";
|
|
96
96
|
|
|
@@ -18,7 +18,7 @@ import "./client-BOd5o3Kp.js";
|
|
|
18
18
|
import "./call-DTshgdlW.js";
|
|
19
19
|
import "./message-channel-DXToSaWK.js";
|
|
20
20
|
import "./pairing-token-B-OTYROz.js";
|
|
21
|
-
import { U as resolveOutboundTarget } from "./subagent-registry-
|
|
21
|
+
import { U as resolveOutboundTarget } from "./subagent-registry-BagjubTG.js";
|
|
22
22
|
import { d as updateSessionStore } from "./sessions-Dn6VXn4p.js";
|
|
23
23
|
import { r as normalizeChannelId } from "./plugins-BsEhWvLn.js";
|
|
24
24
|
import "./send-Dq252-bi.js";
|
|
@@ -48,8 +48,8 @@ import "./model-auth-Byr7Gic_.js";
|
|
|
48
48
|
import "./github-copilot-token-B5y4__YM.js";
|
|
49
49
|
import "./models-config-CiR_RUxw.js";
|
|
50
50
|
import "./reply-prefix-DV3KhOhL.js";
|
|
51
|
-
import "./memory-
|
|
52
|
-
import "./manager-
|
|
51
|
+
import "./memory-7DZfwFEz.js";
|
|
52
|
+
import "./manager-DSXvXUZQ.js";
|
|
53
53
|
import "./sqlite-9jF_eajd.js";
|
|
54
54
|
import "./chunk-B2lBXhR0.js";
|
|
55
55
|
import "./markdown-tables-BEdkErjm.js";
|
|
@@ -80,13 +80,13 @@ import "./links-Dnmd-RS-.js";
|
|
|
80
80
|
import "./cli-utils-DXfA5936.js";
|
|
81
81
|
import "./help-format-Dbp8yEhl.js";
|
|
82
82
|
import "./progress-CI19Xh3z.js";
|
|
83
|
-
import "./memory-cli-
|
|
83
|
+
import "./memory-cli-CGqqpDlw.js";
|
|
84
84
|
import "./logging-UO6tk8Em.js";
|
|
85
85
|
import "./replies-CLREUzzB.js";
|
|
86
86
|
import "./pi-tools.policy-06k__URR.js";
|
|
87
87
|
import { t as createOutboundSendDeps } from "./outbound-send-deps-BCyarBRf.js";
|
|
88
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
89
|
-
import { t as agentCommand } from "./agent-
|
|
88
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-BWhqnXlG.js";
|
|
89
|
+
import { t as agentCommand } from "./agent-Dyqpglpp.js";
|
|
90
90
|
import { randomUUID } from "node:crypto";
|
|
91
91
|
|
|
92
92
|
//#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-BoNa4zCp.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
3
3
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-DOrZjOnW.js";
|
|
4
4
|
import { i as loadConfig } from "./config-B4jkreCN.js";
|
|
@@ -14,7 +14,7 @@ import { n as listChannelPlugins } from "./plugins-BsEhWvLn.js";
|
|
|
14
14
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-FeJ1M0mP.js";
|
|
15
15
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-uA7P2qIK.js";
|
|
16
16
|
import { c as resolveStorePath } from "./paths-DtiEyjsC.js";
|
|
17
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
17
|
+
import { t as getMemorySearchManager } from "./memory-7DZfwFEz.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-CxLpEQOX.js";
|
|
19
19
|
import { t as getRemoteSkillEligibility } from "./skills-remote-DSGpkPJE.js";
|
|
20
20
|
import { _ as peekSystemEvents, b as formatChannelAllowFrom, d as formatUsageReportLines, n as sha256HexPrefix, o as readRestartSentinel, s as summarizeRestartSentinel, u as loadProviderUsageSummary, v as buildChannelSummary, y as buildChannelAccountSnapshot } from "./redact-identifier-BOxAUdff.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-C-Jte08L.js";
|
|
3
3
|
import { i as loadConfig } from "./config-D7TcU4qN.js";
|
|
4
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-BagjubTG.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -13,7 +13,7 @@ import { H as resolveMainSessionKey, R as resolveFreshSessionTotalTokens, o as l
|
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-CF5skkHh.js";
|
|
14
14
|
import { c as resolveStorePath } from "./paths-BtvQ7JvU.js";
|
|
15
15
|
import { A as sha256HexPrefix, D as buildChannelAccountSnapshot, E as buildChannelSummary, O as formatChannelAllowFrom, T as peekSystemEvents, _ as loadProviderUsageSummary, l as resolveSessionModelRef, m as summarizeRestartSentinel, n as classifySessionKey, p as readRestartSentinel, r as listAgentsForGateway, v as formatUsageReportLines, x as lookupContextTokens } from "./session-utils-Cs1jlD-q.js";
|
|
16
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
16
|
+
import { t as getMemorySearchManager } from "./memory-CuBkKhKM.js";
|
|
17
17
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-AZ9vNhST.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-D4GQsWlP.js";
|
|
19
19
|
import { t as getRemoteSkillEligibility } from "./skills-remote-bz71Bstn.js";
|
|
@@ -49,8 +49,8 @@ import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsX
|
|
|
49
49
|
import { i as resolveApiKeyForProvider, n as getCustomProviderApiKey, o as resolveEnvApiKey, r as requireApiKey, s as resolveModelAuthMode, t as getApiKeyForModel } from "./model-auth-Byr7Gic_.js";
|
|
50
50
|
import { b as OLLAMA_NATIVE_BASE_URL, c as normalizeGoogleModelId, t as ensureSymiModelsJson, x as createOllamaStreamFn } from "./models-config-CiR_RUxw.js";
|
|
51
51
|
import { i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-DV3KhOhL.js";
|
|
52
|
-
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-
|
|
53
|
-
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, n as retryAsync, o as collectProviderApiKeysForExecution, s as executeWithApiKeyRotation } from "./manager-
|
|
52
|
+
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-7DZfwFEz.js";
|
|
53
|
+
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, n as retryAsync, o as collectProviderApiKeysForExecution, s as executeWithApiKeyRotation } from "./manager-DSXvXUZQ.js";
|
|
54
54
|
import { f as runTasksWithConcurrency } from "./internal-D3mEiuyB.js";
|
|
55
55
|
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-B2lBXhR0.js";
|
|
56
56
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-BEdkErjm.js";
|
|
@@ -83,7 +83,7 @@ import { t as emitSymframePush } from "./symframe-broadcast-BVxModY5.js";
|
|
|
83
83
|
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-CmU8iVio.js";
|
|
84
84
|
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BVJ4-d9c.js";
|
|
85
85
|
import { t as parseTimeoutMs } from "./parse-timeout-widuTpq9.js";
|
|
86
|
-
import { n as registerMemoryCli } from "./memory-cli-
|
|
86
|
+
import { n as registerMemoryCli } from "./memory-cli-CGqqpDlw.js";
|
|
87
87
|
import { i as resolveSlackThreadTs, n as deliverReplies, t as createSlackReplyDeliveryPlan } from "./replies-CLREUzzB.js";
|
|
88
88
|
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-06k__URR.js";
|
|
89
89
|
import { createRequire } from "node:module";
|
|
@@ -33018,6 +33018,19 @@ async function handleToolExecutionStart(ctx, evt) {
|
|
|
33018
33018
|
toolCallId
|
|
33019
33019
|
}
|
|
33020
33020
|
});
|
|
33021
|
+
if (toolName !== "display_artifact") emitSymframePush({
|
|
33022
|
+
action: "add",
|
|
33023
|
+
id: `tool-${toolCallId}`,
|
|
33024
|
+
card: {
|
|
33025
|
+
id: `tool-${toolCallId}`,
|
|
33026
|
+
type: "tool",
|
|
33027
|
+
intent: "drafted",
|
|
33028
|
+
title: toolName,
|
|
33029
|
+
toolMeta: meta,
|
|
33030
|
+
toolStatus: "firing",
|
|
33031
|
+
toolStartedAt: Date.now()
|
|
33032
|
+
}
|
|
33033
|
+
});
|
|
33021
33034
|
if (ctx.params.onToolResult && shouldEmitToolEvents && !ctx.state.toolSummaryById.has(toolCallId)) {
|
|
33022
33035
|
ctx.state.toolSummaryById.add(toolCallId);
|
|
33023
33036
|
ctx.emitToolSummary(toolName, meta);
|
|
@@ -33146,6 +33159,19 @@ async function handleToolExecutionEnd(ctx, evt) {
|
|
|
33146
33159
|
isError: isToolError
|
|
33147
33160
|
}
|
|
33148
33161
|
});
|
|
33162
|
+
if (toolName !== "display_artifact") {
|
|
33163
|
+
const durationMs = startData?.startTime != null ? Date.now() - startData.startTime : void 0;
|
|
33164
|
+
emitSymframePush({
|
|
33165
|
+
action: "update",
|
|
33166
|
+
id: `tool-${toolCallId}`,
|
|
33167
|
+
card: {
|
|
33168
|
+
toolStatus: isToolError ? "error" : "done",
|
|
33169
|
+
toolMeta: meta,
|
|
33170
|
+
toolDurationMs: durationMs,
|
|
33171
|
+
releaseAfterMs: 3e3
|
|
33172
|
+
}
|
|
33173
|
+
});
|
|
33174
|
+
}
|
|
33149
33175
|
ctx.log.debug(`embedded run tool end: runId=${ctx.params.runId} tool=${toolName} toolCallId=${toolCallId}`);
|
|
33150
33176
|
if (ctx.params.onToolResult && ctx.shouldEmitToolOutput()) {
|
|
33151
33177
|
const outputText = extractToolResultText$2(sanitizedResult);
|
|
@@ -38162,6 +38188,44 @@ function injectHistoryImagesIntoMessages(messages, historyImagesByIndex) {
|
|
|
38162
38188
|
}
|
|
38163
38189
|
return didMutate;
|
|
38164
38190
|
}
|
|
38191
|
+
function parseMemorySnippet(path, snippet) {
|
|
38192
|
+
const baseName = (path.split(/[/\\]/).pop() ?? path).replace(/\.md$/i, "");
|
|
38193
|
+
const typeFromPrefix = (() => {
|
|
38194
|
+
const prefix = baseName.split("_")[0]?.toLowerCase() ?? "";
|
|
38195
|
+
if ([
|
|
38196
|
+
"user",
|
|
38197
|
+
"feedback",
|
|
38198
|
+
"project",
|
|
38199
|
+
"reference"
|
|
38200
|
+
].includes(prefix)) return prefix;
|
|
38201
|
+
return "memory";
|
|
38202
|
+
})();
|
|
38203
|
+
let title = baseName;
|
|
38204
|
+
let type = typeFromPrefix;
|
|
38205
|
+
let description = "";
|
|
38206
|
+
const lines = snippet.split(/\r?\n/);
|
|
38207
|
+
for (const raw of lines) {
|
|
38208
|
+
const line = raw.trim();
|
|
38209
|
+
if (!line || line === "---") continue;
|
|
38210
|
+
const m = line.match(/^([a-z][a-z0-9_-]*)\s*:\s*(.+)$/i);
|
|
38211
|
+
if (!m) {
|
|
38212
|
+
if (!description && line.length > 0 && !line.startsWith("#")) description = line;
|
|
38213
|
+
continue;
|
|
38214
|
+
}
|
|
38215
|
+
const key = m[1].toLowerCase();
|
|
38216
|
+
const value = m[2].trim();
|
|
38217
|
+
if (key === "name" && !title.includes(" ")) title = value;
|
|
38218
|
+
else if (key === "name") title = value;
|
|
38219
|
+
else if (key === "description") description = value;
|
|
38220
|
+
else if (key === "type") type = value.toLowerCase();
|
|
38221
|
+
}
|
|
38222
|
+
if (description.length > 160) description = `${description.slice(0, 157)}…`;
|
|
38223
|
+
return {
|
|
38224
|
+
title,
|
|
38225
|
+
type,
|
|
38226
|
+
description
|
|
38227
|
+
};
|
|
38228
|
+
}
|
|
38165
38229
|
function summarizeMessagePayload(msg) {
|
|
38166
38230
|
const content = msg.content;
|
|
38167
38231
|
if (typeof content === "string") return {
|
|
@@ -38864,6 +38928,24 @@ async function runEmbeddedAttempt(params) {
|
|
|
38864
38928
|
const recallBlock = `<memory_context>\nThe following memory snippets were automatically retrieved as relevant context:\n\n${recallResults.map((r) => `[${r.path}#L${r.startLine}-L${r.endLine}]\n${r.snippet}`).join("\n---\n")}\n</memory_context>`;
|
|
38865
38929
|
effectivePrompt = `${recallBlock}\n\n${effectivePrompt}`;
|
|
38866
38930
|
log$5.debug(`auto-recall: injected ${recallResults.length} snippets (${recallBlock.length} chars)`);
|
|
38931
|
+
for (const r of recallResults) {
|
|
38932
|
+
const parsed = parseMemorySnippet(r.path, r.snippet);
|
|
38933
|
+
emitSymframePush({
|
|
38934
|
+
action: "add",
|
|
38935
|
+
id: `memory-${r.path}#L${r.startLine}`,
|
|
38936
|
+
card: {
|
|
38937
|
+
id: `memory-${r.path}#L${r.startLine}`,
|
|
38938
|
+
type: "memory",
|
|
38939
|
+
intent: "holding",
|
|
38940
|
+
title: parsed.title,
|
|
38941
|
+
memoryType: parsed.type,
|
|
38942
|
+
memoryDescription: parsed.description,
|
|
38943
|
+
memoryPath: r.path,
|
|
38944
|
+
memoryScore: r.score,
|
|
38945
|
+
releaseAfterMs: 6e4
|
|
38946
|
+
}
|
|
38947
|
+
});
|
|
38948
|
+
}
|
|
38867
38949
|
}
|
|
38868
38950
|
}
|
|
38869
38951
|
} catch (recallErr) {
|
|
@@ -17,7 +17,7 @@ import "./client-BOd5o3Kp.js";
|
|
|
17
17
|
import "./call-DTshgdlW.js";
|
|
18
18
|
import "./message-channel-DXToSaWK.js";
|
|
19
19
|
import "./pairing-token-B-OTYROz.js";
|
|
20
|
-
import { T as runAgentTurn } from "./subagent-registry-
|
|
20
|
+
import { T as runAgentTurn } from "./subagent-registry-BagjubTG.js";
|
|
21
21
|
import "./sessions-Dn6VXn4p.js";
|
|
22
22
|
import "./plugins-BsEhWvLn.js";
|
|
23
23
|
import "./send-Dq252-bi.js";
|
|
@@ -47,8 +47,8 @@ import "./model-auth-Byr7Gic_.js";
|
|
|
47
47
|
import "./github-copilot-token-B5y4__YM.js";
|
|
48
48
|
import "./models-config-CiR_RUxw.js";
|
|
49
49
|
import "./reply-prefix-DV3KhOhL.js";
|
|
50
|
-
import "./memory-
|
|
51
|
-
import "./manager-
|
|
50
|
+
import "./memory-7DZfwFEz.js";
|
|
51
|
+
import "./manager-DSXvXUZQ.js";
|
|
52
52
|
import "./sqlite-9jF_eajd.js";
|
|
53
53
|
import "./chunk-B2lBXhR0.js";
|
|
54
54
|
import "./markdown-tables-BEdkErjm.js";
|
|
@@ -79,7 +79,7 @@ import "./links-Dnmd-RS-.js";
|
|
|
79
79
|
import "./cli-utils-DXfA5936.js";
|
|
80
80
|
import "./help-format-Dbp8yEhl.js";
|
|
81
81
|
import "./progress-CI19Xh3z.js";
|
|
82
|
-
import "./memory-cli-
|
|
82
|
+
import "./memory-cli-CGqqpDlw.js";
|
|
83
83
|
import "./logging-UO6tk8Em.js";
|
|
84
84
|
import "./replies-CLREUzzB.js";
|
|
85
85
|
import "./pi-tools.policy-06k__URR.js";
|
|
@@ -6,8 +6,8 @@ import "./model-selection-BisYvTBb.js";
|
|
|
6
6
|
import "./reply-prefix-i-FPYcoQ.js";
|
|
7
7
|
import "./plugins-CZ_mYwXq.js";
|
|
8
8
|
import "./replies-0nzkXt6o.js";
|
|
9
|
-
import { n as runAgentTurn } from "./pi-embedded-
|
|
10
|
-
import "./deliver-
|
|
9
|
+
import { n as runAgentTurn } from "./pi-embedded-RgjY3r6K.js";
|
|
10
|
+
import "./deliver-f3cIWxXT.js";
|
|
11
11
|
import "./diagnostic-BdRnGknC.js";
|
|
12
12
|
import "./diagnostic-session-state-DpxCUzoM.js";
|
|
13
13
|
import "./chunk-CAZujdOi.js";
|
|
@@ -16,14 +16,14 @@ import "./ssrf-BCSnhba8.js";
|
|
|
16
16
|
import "./boolean-BW6OTjPi.js";
|
|
17
17
|
import "./shell-env-DgjeObDZ.js";
|
|
18
18
|
import "./manifest-registry-CAWGTwb5.js";
|
|
19
|
-
import "./chrome-
|
|
19
|
+
import "./chrome-3jl2ulOE.js";
|
|
20
20
|
import "./skills-DO7WNsVJ.js";
|
|
21
21
|
import "./redact-DSOAcWMe.js";
|
|
22
22
|
import "./errors-BEU7IHU6.js";
|
|
23
23
|
import "./tokens-yWO1wD7Z.js";
|
|
24
24
|
import "./thinking-DgjGxdSP.js";
|
|
25
25
|
import "./paths-BsT3BvfH.js";
|
|
26
|
-
import "./manager-
|
|
26
|
+
import "./manager-CAdF4u2G.js";
|
|
27
27
|
import "./github-copilot-token-dYUr1mDQ.js";
|
|
28
28
|
import "./sqlite-D8iYC_CU.js";
|
|
29
29
|
import "./markdown-tables-jQzXAsf3.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
1
|
+
import { t as runAgentTurn } from "./unified-runner-BoNa4zCp.js";
|
|
2
2
|
import "./registry-Sbac4a4z.js";
|
|
3
3
|
import "./paths-By0XjHBk.js";
|
|
4
4
|
import "./utils-CTPsqyE_.js";
|
|
@@ -50,8 +50,8 @@ import "./session-cost-usage-D3mgssM_.js";
|
|
|
50
50
|
import "./session-utils-Cs1jlD-q.js";
|
|
51
51
|
import "./with-timeout-DPR4A2dx.js";
|
|
52
52
|
import "./reply-prefix-BFNeXT65.js";
|
|
53
|
-
import "./memory-
|
|
54
|
-
import "./manager-
|
|
53
|
+
import "./memory-CuBkKhKM.js";
|
|
54
|
+
import "./manager-Dw6j9KTZ.js";
|
|
55
55
|
import "./sqlite-Cod7C5ba.js";
|
|
56
56
|
import "./chunk-BxfKjCUx.js";
|
|
57
57
|
import "./markdown-tables-CS1Tvb3z.js";
|
|
@@ -82,7 +82,7 @@ import "./links-Bqr0FxXx.js";
|
|
|
82
82
|
import "./cli-utils-CuyGL3rq.js";
|
|
83
83
|
import "./help-format-7hFcsqss.js";
|
|
84
84
|
import "./progress-swt2y17x.js";
|
|
85
|
-
import "./memory-cli-
|
|
85
|
+
import "./memory-cli-C8h9g8yO.js";
|
|
86
86
|
import "./logging-BWknayJl.js";
|
|
87
87
|
import "./replies-CbXXjn9X.js";
|
|
88
88
|
import "./pi-tools.policy-H2t-Xkfc.js";
|
|
@@ -3,7 +3,7 @@ import "./registry-C-JddWwo.js";
|
|
|
3
3
|
import "./agent-scope-B1Ina6jV.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-DzRUKS9f.js";
|
|
5
5
|
import "./workspace-CsaDUuDn.js";
|
|
6
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
6
|
+
import { t as runAgentTurn } from "./unified-runner-B2uJpfUK.js";
|
|
7
7
|
import "./auth-profiles-BSw0aQND.js";
|
|
8
8
|
import "./model-selection-BqshlIZc.js";
|
|
9
9
|
import "./deliver-B04yNX82.js";
|
|
@@ -25,7 +25,7 @@ import "./paths-BsT3BvfH.js";
|
|
|
25
25
|
import "./tokens-D_vCJSzF.js";
|
|
26
26
|
import "./diagnostic-BALvP9wI.js";
|
|
27
27
|
import "./diagnostic-session-state-BDfanaOY.js";
|
|
28
|
-
import "./manager-
|
|
28
|
+
import "./manager-BVgukgOu.js";
|
|
29
29
|
import "./github-copilot-token-uhEBNQfj.js";
|
|
30
30
|
import "./pi-auth-json-DCGR3yfh.js";
|
|
31
31
|
import "./reply-prefix-D0NzzC4I.js";
|