@symerian/symi 3.3.2 → 3.3.4
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-BED0HDsS.js → agent-9zPi5Bip.js} +1 -1
- package/dist/{agent-pDOR_idq.js → agent-M9EC02CI.js} +1 -1
- package/dist/{agents-mZX2a3hp.js → agents-CW9uf_n0.js} +2 -2
- package/dist/{auth-choice-BgCnInKE.js → auth-choice-Bio1-QUP.js} +1 -1
- package/dist/{auth-choice-nKtOJ3wF.js → auth-choice-DS5oaUTz.js} +1 -1
- package/dist/{banner-C2jUZyMq.js → banner-0vT1O9w2.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +4 -4
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DBKd8H2k.js → channel-options-CcGtiy0Q.js} +1 -1
- package/dist/{channel-options-DRzIcaL1.js → channel-options-DZ17japQ.js} +1 -1
- package/dist/{channels-cli-CxUB3oX1.js → channels-cli-BSvEpjOV.js} +7 -7
- package/dist/{channels-cli-CdfROBlW.js → channels-cli-DxSXTCCh.js} +7 -7
- package/dist/{chrome-CejiigNy.js → chrome-C9mX2mtt.js} +7 -7
- package/dist/{chrome-b556dOQ6.js → chrome-CQnRgvJz.js} +7 -7
- package/dist/{cli-CzEP9cIM.js → cli-CHk4wR-F.js} +4 -4
- package/dist/{cli-DWcoPSRG.js → cli-Dn9ylBb2.js} +4 -4
- package/dist/{command-registry-5O5dCHsD.js → command-registry-UxY6jjeo.js} +10 -10
- package/dist/{completion-cli-D4wYjxBG.js → completion-cli-DebZ6nSb.js} +1 -1
- package/dist/{completion-cli-DqrFJhG4.js → completion-cli-m9L2Gv9t.js} +2 -2
- package/dist/{config-cli-BE2vvf40.js → config-cli-D4_gO3Pd.js} +1 -1
- package/dist/{config-cli-CfA5xnD-.js → config-cli-D9YdRiN2.js} +1 -1
- package/dist/{configure-CPY4n9mx.js → configure-BXjJQG1p.js} +2 -2
- package/dist/{configure-DYDsHAWF.js → configure-D9NeIMjP.js} +2 -2
- package/dist/control-ui/css/style.css +0 -100
- package/dist/control-ui/index.html +0 -13
- package/dist/control-ui/js/app.js +7 -104
- package/dist/control-ui/js/render.js +0 -5
- package/dist/{deliver-i5knkyHl.js → deliver-DSMNXd9k.js} +4 -4
- package/dist/{deliver-BY0HHHHB.js → deliver-DSv-Z24A.js} +4 -4
- package/dist/{doctor-completion-DkwAZ_yS.js → doctor-completion--AgLv0kV.js} +1 -1
- package/dist/{doctor-completion-C6M7eRb_.js → doctor-completion-D1ImH_eM.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +4 -4
- package/dist/{gateway-cli-Dm5RZoKM.js → gateway-cli-5KVJJGFm.js} +10 -10
- package/dist/{gateway-cli-K_XVNWQc.js → gateway-cli-BjGvnfU3.js} +10 -10
- package/dist/{glass-ui-ws-BbsrTxei.js → glass-ui-ws-CwJdwqn6.js} +8 -8
- package/dist/{glass-ui-ws-B_7JgOGU.js → glass-ui-ws-f_OPXcN2.js} +8 -8
- package/dist/{hooks-cli-D5S_h70_.js → hooks-cli-BfVq5C1p.js} +5 -5
- package/dist/{hooks-cli-DyiztpNG.js → hooks-cli-CQ6rF_LQ.js} +5 -5
- package/dist/index.js +8 -8
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{manager-TrK63P2M.js → manager-BI8o6AGu.js} +1 -1
- package/dist/{manager-BTtaJXdu.js → manager-BQ5Wl5r-.js} +1 -1
- package/dist/{manager-ue49bRVP.js → manager-BUS2wGkQ.js} +1 -1
- package/dist/{manager-BT2SbOdg.js → manager-D_AVoLu8.js} +1 -1
- package/dist/{memory-Czxk_hJw.js → memory-2OKjMT7V.js} +2 -2
- package/dist/{memory-DJN1Q1jq.js → memory-CMKSFx1T.js} +2 -2
- package/dist/{memory-cli-B-nQp5HP.js → memory-cli-CmPcKzGZ.js} +2 -2
- package/dist/{memory-cli-C9ZqpaaB.js → memory-cli-rdfaJrCS.js} +2 -2
- package/dist/{models-oqT-RVMM.js → models-DRtgYyTB.js} +2 -2
- package/dist/{models-cli-D8rsqzuW.js → models-cli-183sPHZO.js} +5 -5
- package/dist/{models-cli-CuHQFbs7.js → models-cli-DN2zTFw9.js} +6 -6
- package/dist/{onboard-BICXrIV1.js → onboard-CPHA8CdV.js} +1 -1
- package/dist/{onboard-D-xPcbdk.js → onboard-bTgNnEHK.js} +1 -1
- package/dist/{onboard-channels-CiLPgwMl.js → onboard-channels-B_iyN1qL.js} +1 -1
- package/dist/{onboard-channels-IZ52XV8A.js → onboard-channels-D5ugcgBE.js} +1 -1
- package/dist/{onboarding-BmB9v20h.js → onboarding-D2SLzcWH.js} +3 -3
- package/dist/{onboarding-B-jxZvC2.js → onboarding-ii3ok0Ih.js} +3 -3
- package/dist/{onboarding.finalize-BejpUEVe.js → onboarding.finalize-DOHv_Xe8.js} +3 -3
- package/dist/{onboarding.finalize-DufFKTf4.js → onboarding.finalize-g-_d-wVY.js} +4 -4
- package/dist/{pi-embedded-DoWU3tbW.js → pi-embedded-CvGL6bij.js} +36 -36
- package/dist/{plugin-registry-BybhOEu2.js → plugin-registry-DSG-0min.js} +1 -1
- package/dist/{plugin-registry-CFRFz2CF.js → plugin-registry-Dl3HqI5J.js} +1 -1
- package/dist/plugin-sdk/agents/{symipulse-timeout.d.ts → idle-timeout.d.ts} +3 -3
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-D9jv4SGt.js → plugins-cli-CEj-qNus.js} +5 -5
- package/dist/{plugins-cli-Dw_F4XTt.js → plugins-cli-CUTyMzoz.js} +5 -5
- package/dist/{program-BijlJds3.js → program-CjZ65fN4.js} +10 -10
- package/dist/{program-context-f_krhr6H.js → program-context-GaV454D6.js} +18 -18
- package/dist/{prompt-select-styled-D4Dl6PAx.js → prompt-select-styled-BkowcFQR.js} +4 -4
- package/dist/{prompt-select-styled-wUs9hOXT.js → prompt-select-styled-CwXc8EFB.js} +4 -4
- package/dist/{provider-auth-helpers-Dqg9CSy6.js → provider-auth-helpers-Bo1_RSEb.js} +1 -1
- package/dist/{provider-auth-helpers-B0LgxUJm.js → provider-auth-helpers-CRobCJR_.js} +1 -1
- package/dist/{push-apns-DBG95KxK.js → push-apns-BBym2pAw.js} +1 -1
- package/dist/{push-apns-C8U43QIp.js → push-apns-Bv16DYOL.js} +1 -1
- package/dist/{pw-ai-BFZrohva.js → pw-ai-B3qisJP1.js} +1 -1
- package/dist/{pw-ai-BHSw4eGG.js → pw-ai-GICi0s74.js} +1 -1
- package/dist/{register.agent-BQa36aBT.js → register.agent-QXqsCc-q.js} +9 -9
- package/dist/{register.agent-B0UZREcL.js → register.agent-z4GJgPr-.js} +8 -8
- package/dist/{register.configure-DXxKMVFv.js → register.configure-CYXErdjF.js} +8 -8
- package/dist/{register.configure-C2da871z.js → register.configure-DaMmDTaj.js} +8 -8
- package/dist/{register.maintenance-DUuHNER1.js → register.maintenance-CBGhJ5R9.js} +9 -9
- package/dist/{register.maintenance-CU2sJOVr.js → register.maintenance-CcWTycM4.js} +8 -8
- package/dist/{register.message-DIDXm7JJ.js → register.message-Bcvdcd3v.js} +5 -5
- package/dist/{register.message-zAQ9mzwS.js → register.message-EMkIi8Ga.js} +5 -5
- package/dist/{register.onboard-BQrBlJMk.js → register.onboard-CtcLKgR4.js} +2 -2
- package/dist/{register.onboard-xApCQkav.js → register.onboard-lmLaYYZl.js} +2 -2
- package/dist/{register.setup-CfJlyVIU.js → register.setup-Cu8R_HaH.js} +2 -2
- package/dist/{register.setup-C3DgnQee.js → register.setup-D47FYXH2.js} +2 -2
- package/dist/{register.status-health-sessions-D7eQHV4A.js → register.status-health-sessions--q6ddHX9.js} +3 -3
- package/dist/{register.status-health-sessions-CZKtQH3R.js → register.status-health-sessions-B9CINBWm.js} +3 -3
- package/dist/{register.subclis-DBKLQ-vk.js → register.subclis-CHTY5PYx.js} +9 -9
- package/dist/{run-main-C_9MD69x.js → run-main-Bzub4qvZ.js} +17 -17
- package/dist/{server-methods-B4kcazJq.js → server-methods-C2UnIkWU.js} +6 -6
- package/dist/{server-methods-BLH71I9g.js → server-methods-THO5vDXZ.js} +6 -6
- package/dist/{server-node-events-DO4ug_A0.js → server-node-events-j4AWHS1m.js} +6 -6
- package/dist/{server-node-events-BercSdmp.js → server-node-events-mBi614x_.js} +6 -6
- package/dist/{status-uVc7h7PN.js → status-BtAHzMLu.js} +1 -1
- package/dist/{status-DA_sl7Yp.js → status-BuHx0FXI.js} +1 -1
- package/dist/{status-BdrH4P1l.js → status-FKqnkO3K.js} +1 -1
- package/dist/{status-3CIcz22o.js → status-MkJRgsTJ.js} +1 -1
- package/dist/{subagent-registry-CgZDo35C.js → subagent-registry-B1RgR3-0.js} +29 -29
- package/dist/{synthesis-DmdaBp-J.js → synthesis-BEaISjwW.js} +4 -4
- package/dist/{synthesis-DwfzSD3_.js → synthesis-BSUjIY0v.js} +4 -4
- package/dist/{synthesis-w1oM0_-6.js → synthesis-BtlmxJ7w.js} +4 -4
- package/dist/{synthesis-B_K7BSX3.js → synthesis-DsYfiC2s.js} +4 -4
- package/dist/{unified-runner-BPgxfuKU.js → unified-runner-BPyxPZv9.js} +36 -36
- package/dist/{unified-runner-DzycRpag.js → unified-runner-Bn9vq7Zy.js} +29 -29
- package/dist/{update-cli-C4I2k2u9.js → update-cli-BXtHo0ox.js} +9 -9
- package/dist/{update-cli-DYYKfrbM.js → update-cli-DLx7LNVB.js} +8 -8
- package/package.json +1 -1
- package/dist/control-ui/js/symipulse.js +0 -154
|
@@ -14,7 +14,7 @@ import "./client-CAz5aPpp.js";
|
|
|
14
14
|
import "./call-BocrIanP.js";
|
|
15
15
|
import "./message-channel-CNPAq1Tl.js";
|
|
16
16
|
import "./pairing-token-Bnr7QjVF.js";
|
|
17
|
-
import { Ut as installUnhandledRejectionHandler } from "./subagent-registry-
|
|
17
|
+
import { Ut as installUnhandledRejectionHandler } from "./subagent-registry-B1RgR3-0.js";
|
|
18
18
|
import "./sessions-7jk0D1BI.js";
|
|
19
19
|
import "./plugins-Bq-Msc8Z.js";
|
|
20
20
|
import "./send-CLJ2KPVT.js";
|
|
@@ -42,8 +42,8 @@ import "./paths-CNexk5_o.js";
|
|
|
42
42
|
import "./thinking-BDh5LPh-.js";
|
|
43
43
|
import "./models-config-BfmuswQ_.js";
|
|
44
44
|
import "./reply-prefix-CRdCnS44.js";
|
|
45
|
-
import "./memory-
|
|
46
|
-
import "./manager-
|
|
45
|
+
import "./memory-CMKSFx1T.js";
|
|
46
|
+
import "./manager-BI8o6AGu.js";
|
|
47
47
|
import "./sqlite-l3CZYU6t.js";
|
|
48
48
|
import "./chunk-BySyfaEr.js";
|
|
49
49
|
import "./markdown-tables-CCOfinlW.js";
|
|
@@ -73,7 +73,7 @@ import "./links-Db3Rw0Tg.js";
|
|
|
73
73
|
import "./cli-utils-BqMwAlgf.js";
|
|
74
74
|
import "./help-format-DbbIlOje.js";
|
|
75
75
|
import "./progress-C4ck6JXh.js";
|
|
76
|
-
import "./memory-cli-
|
|
76
|
+
import "./memory-cli-rdfaJrCS.js";
|
|
77
77
|
import "./logging-D0L9TWhE.js";
|
|
78
78
|
import "./replies-BOy28KVL.js";
|
|
79
79
|
import "./pi-tools.policy-D-WJTlz8.js";
|
|
@@ -81,10 +81,10 @@ import "./catalog-D2QxJOn1.js";
|
|
|
81
81
|
import "./prompt-style-Z2ZizQap.js";
|
|
82
82
|
import "./note-DKRm9hYC.js";
|
|
83
83
|
import "./plugin-auto-enable-B87oiELY.js";
|
|
84
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
84
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-Dl3HqI5J.js";
|
|
85
85
|
import { t as assertSupportedRuntime } from "./runtime-guard-p4-FMx0l.js";
|
|
86
86
|
import { t as ensureSymiCliOnPath } from "./path-env-DmaMvYrK.js";
|
|
87
|
-
import { t as emitCliBanner } from "./banner-
|
|
87
|
+
import { t as emitCliBanner } from "./banner-0vT1O9w2.js";
|
|
88
88
|
import "./doctor-config-flow-DlX_L8Y-.js";
|
|
89
89
|
import { n as ensureConfigReady } from "./config-guard-I1mvbCOr.js";
|
|
90
90
|
import process$1 from "node:process";
|
|
@@ -119,7 +119,7 @@ const routeStatus = {
|
|
|
119
119
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
120
120
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
121
121
|
if (timeoutMs === null) return false;
|
|
122
|
-
const { statusCommand } = await import("./status-
|
|
122
|
+
const { statusCommand } = await import("./status-FKqnkO3K.js").then((n) => n.t);
|
|
123
123
|
await statusCommand({
|
|
124
124
|
json,
|
|
125
125
|
deep,
|
|
@@ -153,7 +153,7 @@ const routeAgentsList = {
|
|
|
153
153
|
run: async (argv) => {
|
|
154
154
|
const json = hasFlag(argv, "--json");
|
|
155
155
|
const bindings = hasFlag(argv, "--bindings");
|
|
156
|
-
const { agentsListCommand } = await import("./agents-
|
|
156
|
+
const { agentsListCommand } = await import("./agents-CW9uf_n0.js").then((n) => n.t);
|
|
157
157
|
await agentsListCommand({
|
|
158
158
|
json,
|
|
159
159
|
bindings
|
|
@@ -170,7 +170,7 @@ const routeMemoryStatus = {
|
|
|
170
170
|
const deep = hasFlag(argv, "--deep");
|
|
171
171
|
const index = hasFlag(argv, "--index");
|
|
172
172
|
const verbose = hasFlag(argv, "--verbose");
|
|
173
|
-
const { runMemoryStatus } = await import("./memory-cli-
|
|
173
|
+
const { runMemoryStatus } = await import("./memory-cli-rdfaJrCS.js").then((n) => n.t);
|
|
174
174
|
await runMemoryStatus({
|
|
175
175
|
agent,
|
|
176
176
|
json,
|
|
@@ -224,7 +224,7 @@ const routes = [
|
|
|
224
224
|
const pathArg = getCommandPositionals(argv)[2];
|
|
225
225
|
if (!pathArg) return false;
|
|
226
226
|
const json = hasFlag(argv, "--json");
|
|
227
|
-
const { runConfigGet } = await import("./config-cli-
|
|
227
|
+
const { runConfigGet } = await import("./config-cli-D9YdRiN2.js");
|
|
228
228
|
await runConfigGet({
|
|
229
229
|
path: pathArg,
|
|
230
230
|
json
|
|
@@ -237,7 +237,7 @@ const routes = [
|
|
|
237
237
|
run: async (argv) => {
|
|
238
238
|
const pathArg = getCommandPositionals(argv)[2];
|
|
239
239
|
if (!pathArg) return false;
|
|
240
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
240
|
+
const { runConfigUnset } = await import("./config-cli-D9YdRiN2.js");
|
|
241
241
|
await runConfigUnset({ path: pathArg });
|
|
242
242
|
return true;
|
|
243
243
|
}
|
|
@@ -251,7 +251,7 @@ const routes = [
|
|
|
251
251
|
const local = hasFlag(argv, "--local");
|
|
252
252
|
const json = hasFlag(argv, "--json");
|
|
253
253
|
const plain = hasFlag(argv, "--plain");
|
|
254
|
-
const { modelsListCommand } = await import("./models-
|
|
254
|
+
const { modelsListCommand } = await import("./models-DRtgYyTB.js").then((n) => n.t);
|
|
255
255
|
await modelsListCommand({
|
|
256
256
|
all,
|
|
257
257
|
local,
|
|
@@ -282,7 +282,7 @@ const routes = [
|
|
|
282
282
|
const plain = hasFlag(argv, "--plain");
|
|
283
283
|
const check = hasFlag(argv, "--check");
|
|
284
284
|
const probe = hasFlag(argv, "--probe");
|
|
285
|
-
const { modelsStatusCommand } = await import("./models-
|
|
285
|
+
const { modelsStatusCommand } = await import("./models-DRtgYyTB.js").then((n) => n.t);
|
|
286
286
|
await modelsStatusCommand({
|
|
287
287
|
json,
|
|
288
288
|
plain,
|
|
@@ -360,7 +360,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
360
360
|
assertSupportedRuntime();
|
|
361
361
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
362
362
|
enableConsoleCapture();
|
|
363
|
-
const { buildProgram } = await import("./program-
|
|
363
|
+
const { buildProgram } = await import("./program-CjZ65fN4.js");
|
|
364
364
|
const program = buildProgram();
|
|
365
365
|
installUnhandledRejectionHandler();
|
|
366
366
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -392,10 +392,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
392
392
|
const { getProgramContext } = await import("./program-context-BFKw4l9I.js").then((n) => n.n);
|
|
393
393
|
const ctx = getProgramContext(program);
|
|
394
394
|
if (ctx) {
|
|
395
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
395
|
+
const { registerCoreCliByName } = await import("./command-registry-UxY6jjeo.js").then((n) => n.t);
|
|
396
396
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
397
397
|
}
|
|
398
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
398
|
+
const { registerSubCliByName } = await import("./register.subclis-CHTY5PYx.js").then((n) => n.a);
|
|
399
399
|
await registerSubCliByName(program, primary);
|
|
400
400
|
}
|
|
401
401
|
const hasBuiltinPrimary = primary !== null && program.commands.some((command) => command.name() === primary);
|
|
@@ -404,7 +404,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
404
404
|
primary,
|
|
405
405
|
hasBuiltinPrimary
|
|
406
406
|
})) {
|
|
407
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
407
|
+
const { registerPluginCliCommands } = await import("./cli-CHk4wR-F.js");
|
|
408
408
|
const { loadConfig } = await import("./config-B91360jE.js").then((n) => n.t);
|
|
409
409
|
registerPluginCliCommands(program, loadConfig());
|
|
410
410
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as applyBrowserProxyPaths, A as normalizePollInput, C as listTasksInWorkdir, D as resolveOutboundSessionRoute, E as ensureOutboundSessionEntry, F as normalizeCronJobCreate, Gt as resolveAgentTimeoutMs, Ht as listDescendantRunsForRequester, I as normalizeCronJobPatch, It as formatZonedTimestamp, Lt as isAbortTrigger, Mt as prepareAgentRun, Nt as BARE_SESSION_RESET_PROMPT, O as resolveOutboundTarget, Pt as normalizeGroupActivation, Rt as stopSubagentsForRequester, Ut as listSubagentRunsForRequester, Xt as clearSessionQueues, an as waitForEmbeddedPiRunEnd, b as buildAgentTurnParams, bt as applyVerboseOverride, en as onAgentEvent, et as persistBrowserProxyFiles, f as getChannelActivity, fn as resolveUserTimezone, g as buildGlassUiProfile, m as createReplyDispatcher, mt as resolveSendPolicy, ot as scheduleGatewaySigusr1Restart, pt as normalizeSendPolicy, rn as abortEmbeddedPiRun, s as loadSymiPlugins, tn as registerAgentRunContext, x as prepareReplyTurn, xt as parseVerboseOverride, y as runUnifiedTurn, yt as applyModelOverrideToSessionEntry } from "./unified-runner-
|
|
1
|
+
import { $ as applyBrowserProxyPaths, A as normalizePollInput, C as listTasksInWorkdir, D as resolveOutboundSessionRoute, E as ensureOutboundSessionEntry, F as normalizeCronJobCreate, Gt as resolveAgentTimeoutMs, Ht as listDescendantRunsForRequester, I as normalizeCronJobPatch, It as formatZonedTimestamp, Lt as isAbortTrigger, Mt as prepareAgentRun, Nt as BARE_SESSION_RESET_PROMPT, O as resolveOutboundTarget, Pt as normalizeGroupActivation, Rt as stopSubagentsForRequester, Ut as listSubagentRunsForRequester, Xt as clearSessionQueues, an as waitForEmbeddedPiRunEnd, b as buildAgentTurnParams, bt as applyVerboseOverride, en as onAgentEvent, et as persistBrowserProxyFiles, f as getChannelActivity, fn as resolveUserTimezone, g as buildGlassUiProfile, m as createReplyDispatcher, mt as resolveSendPolicy, ot as scheduleGatewaySigusr1Restart, pt as normalizeSendPolicy, rn as abortEmbeddedPiRun, s as loadSymiPlugins, tn as registerAgentRunContext, x as prepareReplyTurn, xt as parseVerboseOverride, y as runUnifiedTurn, yt as applyModelOverrideToSessionEntry } from "./unified-runner-Bn9vq7Zy.js";
|
|
2
2
|
import { H as createInternalHookEvent, P as getResolvedLoggerSettings, W as triggerInternalHook, d as getActivePluginRegistry, r as DEFAULT_CHAT_CHANNEL, t as CHANNEL_IDS } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { g as resolveStateDir, t as CONFIG_PATH } from "./paths-BSzKwaxE.js";
|
|
4
4
|
import { S as isPlainObject, h as resolveUserPath, n as clamp } from "./utils-BU8jVQFM.js";
|
|
@@ -22,7 +22,7 @@ import { i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSe
|
|
|
22
22
|
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-0F9pB5d6.js";
|
|
23
23
|
import { n as createBrowserRouteDispatcher } from "./with-timeout-C0UtpXBj.js";
|
|
24
24
|
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-xaWqfM9m.js";
|
|
25
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
25
|
+
import { t as getMemorySearchManager } from "./memory-2OKjMT7V.js";
|
|
26
26
|
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-ZZqt0H0-.js";
|
|
27
27
|
import { l as authorizeOperatorScopesForMethod, s as ADMIN_SCOPE$2, u as isNodeRoleMethod } from "./call-Du4CT1Hp.js";
|
|
28
28
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-CURbSHdi.js";
|
|
@@ -39,10 +39,10 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-BBypnAYf.js";
|
|
|
39
39
|
import { t as buildChannelAccountSnapshot } from "./status-DvTRhxOu.js";
|
|
40
40
|
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-D2mWJnFB.js";
|
|
41
41
|
import { c as resolveNodeCommandAllowlist, s as isNodeCommandAllowed } from "./audit-B_HL4UJ_.js";
|
|
42
|
-
import { n as getStatusSummary } from "./status-
|
|
42
|
+
import { n as getStatusSummary } from "./status-BuHx0FXI.js";
|
|
43
43
|
import { m as normalizeUpdateChannel } from "./update-check-CZxZhEXr.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 { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-
|
|
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-BBym2pAw.js";
|
|
45
|
+
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-M9EC02CI.js";
|
|
46
46
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-B_LFeRQS.js";
|
|
47
47
|
import { t as resolveSystemRunCommand } from "./system-run-command-QikSIqYG.js";
|
|
48
48
|
import { t as installSkill } from "./skills-install-C9uT4MR2.js";
|
|
@@ -7491,7 +7491,7 @@ const nodeHandlers = {
|
|
|
7491
7491
|
const p = params;
|
|
7492
7492
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
7493
7493
|
await respondUnavailableOnThrow(respond, async () => {
|
|
7494
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
7494
|
+
const { handleNodeEvent } = await import("./server-node-events-mBi614x_.js");
|
|
7495
7495
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
7496
7496
|
await handleNodeEvent({
|
|
7497
7497
|
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-Bnr7QjVF.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 normalizeCronJobCreate, B as ensureOutboundSessionEntry, Bt as applyModelOverrideToSessionEntry, C as buildGlassUiProfile, E as abortEmbeddedPiRun, Et as scheduleGatewaySigusr1Restart, Ft as resolveSendPolicy, H as resolveOutboundTarget, Ht as parseVerboseOverride, I as listTasksInWorkdir, N as buildAgentTurnParams, O as waitForEmbeddedPiRunEnd, P as prepareReplyTurn, Pt as normalizeSendPolicy, Tn as registerAgentRunContext, V as resolveOutboundSessionRoute, Vt as applyVerboseOverride, W as normalizePollInput, _t as applyBrowserProxyPaths, a as listSubagentRunsForRequester, an as formatZonedTimestamp, c as clearSessionQueues, en as resolveAgentTimeoutMs, et as normalizeCronJobPatch, fn as resolveUserTimezone, i as listDescendantRunsForRequester, m as loadSymiPlugins, nn as BARE_SESSION_RESET_PROMPT, on as isAbortTrigger, rn as normalizeGroupActivation, sn as stopSubagentsForRequester, tn as prepareAgentRun, vt as persistBrowserProxyFiles, w as runUnifiedTurn, wn as onAgentEvent, x as createReplyDispatcher, y as getChannelActivity } from "./subagent-registry-
|
|
15
|
+
import { $ as normalizeCronJobCreate, B as ensureOutboundSessionEntry, Bt as applyModelOverrideToSessionEntry, C as buildGlassUiProfile, E as abortEmbeddedPiRun, Et as scheduleGatewaySigusr1Restart, Ft as resolveSendPolicy, H as resolveOutboundTarget, Ht as parseVerboseOverride, I as listTasksInWorkdir, N as buildAgentTurnParams, O as waitForEmbeddedPiRunEnd, P as prepareReplyTurn, Pt as normalizeSendPolicy, Tn as registerAgentRunContext, V as resolveOutboundSessionRoute, Vt as applyVerboseOverride, W as normalizePollInput, _t as applyBrowserProxyPaths, a as listSubagentRunsForRequester, an as formatZonedTimestamp, c as clearSessionQueues, en as resolveAgentTimeoutMs, et as normalizeCronJobPatch, fn as resolveUserTimezone, i as listDescendantRunsForRequester, m as loadSymiPlugins, nn as BARE_SESSION_RESET_PROMPT, on as isAbortTrigger, rn as normalizeGroupActivation, sn as stopSubagentsForRequester, tn as prepareAgentRun, vt as persistBrowserProxyFiles, w as runUnifiedTurn, wn as onAgentEvent, x as createReplyDispatcher, y as getChannelActivity } from "./subagent-registry-B1RgR3-0.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-7jk0D1BI.js";
|
|
17
17
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Bq-Msc8Z.js";
|
|
18
18
|
import { n as createBrowserRouteDispatcher } from "./with-timeout-BsavN1IH.js";
|
|
@@ -21,7 +21,7 @@ import { t as movePathToTrash } from "./trash-CF1G530Y.js";
|
|
|
21
21
|
import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-CNexk5_o.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-BDh5LPh-.js";
|
|
23
23
|
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-CRdCnS44.js";
|
|
24
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
24
|
+
import { t as getMemorySearchManager } from "./memory-CMKSFx1T.js";
|
|
25
25
|
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-DEkSSz2R.js";
|
|
26
26
|
import { g as isSystemEventContextChanged, h as enqueueSystemEvent, i as formatDoctorNonInteractiveHint, l as writeRestartSentinel, u as loadProviderUsageSummary } from "./redact-identifier-gZfj5mH2.js";
|
|
27
27
|
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-B6EAh6SV.js";
|
|
@@ -36,11 +36,11 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-DlWXcOEI.js";
|
|
|
36
36
|
import { t as buildChannelAccountSnapshot } from "./status-C8iyvxFB.js";
|
|
37
37
|
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-LbRPhqLj.js";
|
|
38
38
|
import { c as resolveNodeCommandAllowlist, s as isNodeCommandAllowed } from "./audit-DEXQlMwn.js";
|
|
39
|
-
import { r as getStatusSummary } from "./status-
|
|
39
|
+
import { r as getStatusSummary } from "./status-FKqnkO3K.js";
|
|
40
40
|
import { r as createOutboundSendDeps } from "./outbound-send-deps-WKDU2JsO.js";
|
|
41
41
|
import { m as normalizeUpdateChannel } from "./update-check-C1JNxsic.js";
|
|
42
|
-
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-
|
|
43
|
-
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-
|
|
42
|
+
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-Bv16DYOL.js";
|
|
43
|
+
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-9zPi5Bip.js";
|
|
44
44
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-RCL-IJds.js";
|
|
45
45
|
import { t as resolveSystemRunCommand } from "./system-run-command-CkyUAE3i.js";
|
|
46
46
|
import { t as installSkill } from "./skills-install-BMhIk6vI.js";
|
|
@@ -7489,7 +7489,7 @@ const nodeHandlers = {
|
|
|
7489
7489
|
const p = params;
|
|
7490
7490
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
7491
7491
|
await respondUnavailableOnThrow(respond, async () => {
|
|
7492
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
7492
|
+
const { handleNodeEvent } = await import("./server-node-events-j4AWHS1m.js");
|
|
7493
7493
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
7494
7494
|
await handleNodeEvent({
|
|
7495
7495
|
deps: context.deps,
|
|
@@ -15,7 +15,7 @@ import "./client-CAz5aPpp.js";
|
|
|
15
15
|
import "./call-BocrIanP.js";
|
|
16
16
|
import "./message-channel-CNPAq1Tl.js";
|
|
17
17
|
import "./pairing-token-Bnr7QjVF.js";
|
|
18
|
-
import { H as resolveOutboundTarget } from "./subagent-registry-
|
|
18
|
+
import { H as resolveOutboundTarget } from "./subagent-registry-B1RgR3-0.js";
|
|
19
19
|
import { d as updateSessionStore } from "./sessions-7jk0D1BI.js";
|
|
20
20
|
import { r as normalizeChannelId } from "./plugins-Bq-Msc8Z.js";
|
|
21
21
|
import "./send-CLJ2KPVT.js";
|
|
@@ -43,8 +43,8 @@ import "./paths-CNexk5_o.js";
|
|
|
43
43
|
import "./thinking-BDh5LPh-.js";
|
|
44
44
|
import "./models-config-BfmuswQ_.js";
|
|
45
45
|
import "./reply-prefix-CRdCnS44.js";
|
|
46
|
-
import "./memory-
|
|
47
|
-
import "./manager-
|
|
46
|
+
import "./memory-CMKSFx1T.js";
|
|
47
|
+
import "./manager-BI8o6AGu.js";
|
|
48
48
|
import "./sqlite-l3CZYU6t.js";
|
|
49
49
|
import "./chunk-BySyfaEr.js";
|
|
50
50
|
import "./markdown-tables-CCOfinlW.js";
|
|
@@ -74,13 +74,13 @@ import "./links-Db3Rw0Tg.js";
|
|
|
74
74
|
import "./cli-utils-BqMwAlgf.js";
|
|
75
75
|
import "./help-format-DbbIlOje.js";
|
|
76
76
|
import "./progress-C4ck6JXh.js";
|
|
77
|
-
import "./memory-cli-
|
|
77
|
+
import "./memory-cli-rdfaJrCS.js";
|
|
78
78
|
import "./logging-D0L9TWhE.js";
|
|
79
79
|
import "./replies-BOy28KVL.js";
|
|
80
80
|
import "./pi-tools.policy-D-WJTlz8.js";
|
|
81
81
|
import { t as createOutboundSendDeps } from "./outbound-send-deps-WKDU2JsO.js";
|
|
82
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
83
|
-
import { t as agentCommand } from "./agent-
|
|
82
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-Bv16DYOL.js";
|
|
83
|
+
import { t as agentCommand } from "./agent-9zPi5Bip.js";
|
|
84
84
|
import { randomUUID } from "node:crypto";
|
|
85
85
|
|
|
86
86
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as resolveOutboundTarget } from "./unified-runner-
|
|
1
|
+
import { O as resolveOutboundTarget } from "./unified-runner-Bn9vq7Zy.js";
|
|
2
2
|
import "./registry-DKJLAPDB.js";
|
|
3
3
|
import "./paths-BSzKwaxE.js";
|
|
4
4
|
import "./utils-BU8jVQFM.js";
|
|
@@ -46,8 +46,8 @@ import "./session-cost-usage-DYcv40ss.js";
|
|
|
46
46
|
import { C as enqueueSystemEvent, c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-0F9pB5d6.js";
|
|
47
47
|
import "./with-timeout-C0UtpXBj.js";
|
|
48
48
|
import "./reply-prefix-xaWqfM9m.js";
|
|
49
|
-
import "./memory-
|
|
50
|
-
import "./manager-
|
|
49
|
+
import "./memory-2OKjMT7V.js";
|
|
50
|
+
import "./manager-BQ5Wl5r-.js";
|
|
51
51
|
import "./sqlite-DBEvS-Ne.js";
|
|
52
52
|
import "./chunk-DQGU0F8t.js";
|
|
53
53
|
import "./markdown-tables-GTLvbzuR.js";
|
|
@@ -77,14 +77,14 @@ import "./links-CSaUKNKm.js";
|
|
|
77
77
|
import "./cli-utils-CX1oQ81G.js";
|
|
78
78
|
import "./help-format-BI_G2p1e.js";
|
|
79
79
|
import "./progress-CyPyGCDn.js";
|
|
80
|
-
import "./memory-cli-
|
|
80
|
+
import "./memory-cli-CmPcKzGZ.js";
|
|
81
81
|
import "./logging-B5YNzZB9.js";
|
|
82
82
|
import "./replies-P7jbK6Bo.js";
|
|
83
83
|
import "./pi-tools.policy-BBHbN8Nh.js";
|
|
84
84
|
import "./model-BKtw-Bqs.js";
|
|
85
85
|
import "./deps-DD_ZCq3v.js";
|
|
86
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
87
|
-
import { t as agentCommand } from "./agent-
|
|
86
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-BBym2pAw.js";
|
|
87
|
+
import { t as agentCommand } from "./agent-M9EC02CI.js";
|
|
88
88
|
import { t as createOutboundSendDeps } from "./outbound-send-deps-BpziI1pC.js";
|
|
89
89
|
import { randomUUID } from "node:crypto";
|
|
90
90
|
|
|
@@ -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-8LjCKvga.js";
|
|
3
3
|
import { i as loadConfig } from "./config-B91360jE.js";
|
|
4
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-B1RgR3-0.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-DuuHorqi.js";
|
|
14
14
|
import { c as resolveStorePath } from "./paths-CJcw9nbZ.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-0F9pB5d6.js";
|
|
16
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
16
|
+
import { t as getMemorySearchManager } from "./memory-2OKjMT7V.js";
|
|
17
17
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-Du4CT1Hp.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-Vm-Tqk0h.js";
|
|
19
19
|
import { t as getRemoteSkillEligibility } from "./skills-remote-Db5Wwr4s.js";
|
|
@@ -14,7 +14,7 @@ import { n as listChannelPlugins } from "./plugins-Bq-Msc8Z.js";
|
|
|
14
14
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-BsA0YClX.js";
|
|
15
15
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-Cv4kt1bT.js";
|
|
16
16
|
import { c as resolveStorePath } from "./paths-CNexk5_o.js";
|
|
17
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
17
|
+
import { t as getMemorySearchManager } from "./memory-CMKSFx1T.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-Cyq001S7.js";
|
|
19
19
|
import { t as getRemoteSkillEligibility } from "./skills-remote-DEkSSz2R.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-gZfj5mH2.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
1
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-Bn9vq7Zy.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
3
3
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-B_oqIiaD.js";
|
|
4
4
|
import { i as loadConfig } from "./config-CphS_6eg.js";
|
|
@@ -44,8 +44,8 @@ import { t as emitSessionTranscriptUpdate } from "./transcript-events-C1GkbPky.j
|
|
|
44
44
|
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-BDh5LPh-.js";
|
|
45
45
|
import { t as ensureSymiModelsJson } from "./models-config-BfmuswQ_.js";
|
|
46
46
|
import { i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-CRdCnS44.js";
|
|
47
|
-
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-
|
|
48
|
-
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, n as retryAsync, o as collectProviderApiKeysForExecution, s as executeWithApiKeyRotation } from "./manager-
|
|
47
|
+
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-CMKSFx1T.js";
|
|
48
|
+
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, n as retryAsync, o as collectProviderApiKeysForExecution, s as executeWithApiKeyRotation } from "./manager-BI8o6AGu.js";
|
|
49
49
|
import { f as runTasksWithConcurrency } from "./internal-BuBDa4KX.js";
|
|
50
50
|
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-BySyfaEr.js";
|
|
51
51
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-CCOfinlW.js";
|
|
@@ -76,7 +76,7 @@ import { i as parseAbsoluteTimeMs, r as resolveDefaultCronStaggerMs, t as normal
|
|
|
76
76
|
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-p35DYzAL.js";
|
|
77
77
|
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BoF_Jubb.js";
|
|
78
78
|
import { t as parseTimeoutMs } from "./parse-timeout-CMozMfzr.js";
|
|
79
|
-
import { n as registerMemoryCli } from "./memory-cli-
|
|
79
|
+
import { n as registerMemoryCli } from "./memory-cli-rdfaJrCS.js";
|
|
80
80
|
import { i as resolveSlackThreadTs, n as deliverReplies, t as createSlackReplyDeliveryPlan } from "./replies-BOy28KVL.js";
|
|
81
81
|
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-D-WJTlz8.js";
|
|
82
82
|
import { createRequire } from "node:module";
|
|
@@ -30768,6 +30768,31 @@ function createCacheTrace(params) {
|
|
|
30768
30768
|
};
|
|
30769
30769
|
}
|
|
30770
30770
|
|
|
30771
|
+
//#endregion
|
|
30772
|
+
//#region src/agents/idle-timeout.ts
|
|
30773
|
+
/**
|
|
30774
|
+
* Per-run idle timeout resolution.
|
|
30775
|
+
*
|
|
30776
|
+
* The idle timer resets on every model/tool activity signal (streaming
|
|
30777
|
+
* chunk, tool execution, compaction, etc.). It fires only when the run is
|
|
30778
|
+
* truly idle — distinguishing "model working slowly on large context" from
|
|
30779
|
+
* "model stuck / connection lost".
|
|
30780
|
+
*/
|
|
30781
|
+
const DEFAULT_IDLE_RATIO = .5;
|
|
30782
|
+
const MIN_IDLE_MS = 12e4;
|
|
30783
|
+
const MAX_IDLE_MS = 9e5;
|
|
30784
|
+
const ABSOLUTE_MIN_IDLE_MS = 3e4;
|
|
30785
|
+
const normalizeNumber = (value) => typeof value === "number" && Number.isFinite(value) ? Math.floor(value) : void 0;
|
|
30786
|
+
function resolveIdleTimeoutMs(opts) {
|
|
30787
|
+
const cap = Math.max(ABSOLUTE_MIN_IDLE_MS, opts.runTimeoutMs - 1e3);
|
|
30788
|
+
const modelMs = normalizeNumber(opts.modelSeconds != null ? opts.modelSeconds * 1e3 : void 0);
|
|
30789
|
+
if (modelMs !== void 0 && modelMs > 0) return Math.min(Math.max(modelMs, ABSOLUTE_MIN_IDLE_MS), cap);
|
|
30790
|
+
const configMs = normalizeNumber(opts.configSeconds != null ? opts.configSeconds * 1e3 : void 0);
|
|
30791
|
+
if (configMs !== void 0 && configMs > 0) return Math.min(Math.max(configMs, ABSOLUTE_MIN_IDLE_MS), cap);
|
|
30792
|
+
const computed = Math.floor(opts.runTimeoutMs * DEFAULT_IDLE_RATIO);
|
|
30793
|
+
return Math.min(Math.max(computed, MIN_IDLE_MS), Math.min(MAX_IDLE_MS, cap));
|
|
30794
|
+
}
|
|
30795
|
+
|
|
30771
30796
|
//#endregion
|
|
30772
30797
|
//#region src/agents/model-token-filter.ts
|
|
30773
30798
|
/**
|
|
@@ -34924,31 +34949,6 @@ function hasRepetition(text, minBlockSize) {
|
|
|
34924
34949
|
return text.indexOf(sample, searchStart) >= 0;
|
|
34925
34950
|
}
|
|
34926
34951
|
|
|
34927
|
-
//#endregion
|
|
34928
|
-
//#region src/agents/symipulse-timeout.ts
|
|
34929
|
-
/**
|
|
34930
|
-
* Symipulse inactivity timeout resolution.
|
|
34931
|
-
*
|
|
34932
|
-
* The symipulse timer resets on every model/tool activity signal (streaming
|
|
34933
|
-
* chunk, tool execution, compaction, etc.). It fires only when the run is
|
|
34934
|
-
* truly idle — distinguishing "model working slowly on large context" from
|
|
34935
|
-
* "model stuck / connection lost".
|
|
34936
|
-
*/
|
|
34937
|
-
const DEFAULT_SYMIPULSE_RATIO = .5;
|
|
34938
|
-
const MIN_SYMIPULSE_MS = 12e4;
|
|
34939
|
-
const MAX_SYMIPULSE_MS = 9e5;
|
|
34940
|
-
const SYMIPULSE_MIN_TIMEOUT_MS = 3e4;
|
|
34941
|
-
const normalizeNumber = (value) => typeof value === "number" && Number.isFinite(value) ? Math.floor(value) : void 0;
|
|
34942
|
-
function resolveSymipulseMs(opts) {
|
|
34943
|
-
const cap = Math.max(SYMIPULSE_MIN_TIMEOUT_MS, opts.runTimeoutMs - 1e3);
|
|
34944
|
-
const modelMs = normalizeNumber(opts.modelSeconds != null ? opts.modelSeconds * 1e3 : void 0);
|
|
34945
|
-
if (modelMs !== void 0 && modelMs > 0) return Math.min(Math.max(modelMs, SYMIPULSE_MIN_TIMEOUT_MS), cap);
|
|
34946
|
-
const configMs = normalizeNumber(opts.configSeconds != null ? opts.configSeconds * 1e3 : void 0);
|
|
34947
|
-
if (configMs !== void 0 && configMs > 0) return Math.min(Math.max(configMs, SYMIPULSE_MIN_TIMEOUT_MS), cap);
|
|
34948
|
-
const computed = Math.floor(opts.runTimeoutMs * DEFAULT_SYMIPULSE_RATIO);
|
|
34949
|
-
return Math.min(Math.max(computed, MIN_SYMIPULSE_MS), Math.min(MAX_SYMIPULSE_MS, cap));
|
|
34950
|
-
}
|
|
34951
|
-
|
|
34952
34952
|
//#endregion
|
|
34953
34953
|
//#region src/agents/transcript-policy.ts
|
|
34954
34954
|
const GEMMA_MODEL_HINTS = ["gemma", "redsand/"];
|
|
@@ -38301,7 +38301,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
38301
38301
|
if (!key) return null;
|
|
38302
38302
|
return (params.config?.agents?.defaults?.models)?.[key]?.symipulseSeconds ?? null;
|
|
38303
38303
|
};
|
|
38304
|
-
const symipulseMs = params.symipulseMs ??
|
|
38304
|
+
const symipulseMs = params.symipulseMs ?? resolveIdleTimeoutMs({
|
|
38305
38305
|
runTimeoutMs: params.timeoutMs,
|
|
38306
38306
|
configSeconds: params.config?.agents?.defaults?.symipulseSeconds,
|
|
38307
38307
|
modelSeconds: resolveModelSymipulseSeconds()
|
|
@@ -7,21 +7,21 @@ import "./reply-prefix-BqgLflxO.js";
|
|
|
7
7
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
8
8
|
import "./plugins-Cp39v6b_.js";
|
|
9
9
|
import "./replies-BeK3uuQ8.js";
|
|
10
|
-
import { n as runAgentTurn } from "./pi-embedded-
|
|
11
|
-
import "./deliver-
|
|
10
|
+
import { n as runAgentTurn } from "./pi-embedded-CvGL6bij.js";
|
|
11
|
+
import "./deliver-DSMNXd9k.js";
|
|
12
12
|
import "./diagnostic-BvZmqxYI.js";
|
|
13
13
|
import "./diagnostic-session-state-CWtaDOiK.js";
|
|
14
14
|
import "./chunk-BjnT3w_x.js";
|
|
15
15
|
import "./ssrf-BJZIZ4yo.js";
|
|
16
16
|
import "./manifest-registry-BV_2TbGz.js";
|
|
17
|
-
import "./chrome-
|
|
17
|
+
import "./chrome-CQnRgvJz.js";
|
|
18
18
|
import "./skills-xmXjOnAV.js";
|
|
19
19
|
import "./redact-ojHFHOAb.js";
|
|
20
20
|
import "./errors-C6sHIFo_.js";
|
|
21
21
|
import "./tokens-CJgPtOxz.js";
|
|
22
22
|
import "./thinking-BKsvyjWX.js";
|
|
23
23
|
import "./paths-N698mtPE.js";
|
|
24
|
-
import "./manager-
|
|
24
|
+
import "./manager-BUS2wGkQ.js";
|
|
25
25
|
import "./sqlite-jFnvSfLz.js";
|
|
26
26
|
import "./markdown-tables-BtWlyyt1.js";
|
|
27
27
|
import "./commands-registry-BO62ZyK2.js";
|
|
@@ -14,7 +14,7 @@ import "./client-CAz5aPpp.js";
|
|
|
14
14
|
import "./call-BocrIanP.js";
|
|
15
15
|
import "./message-channel-CNPAq1Tl.js";
|
|
16
16
|
import "./pairing-token-Bnr7QjVF.js";
|
|
17
|
-
import { T as runAgentTurn } from "./subagent-registry-
|
|
17
|
+
import { T as runAgentTurn } from "./subagent-registry-B1RgR3-0.js";
|
|
18
18
|
import "./sessions-7jk0D1BI.js";
|
|
19
19
|
import "./plugins-Bq-Msc8Z.js";
|
|
20
20
|
import "./send-CLJ2KPVT.js";
|
|
@@ -42,8 +42,8 @@ import "./paths-CNexk5_o.js";
|
|
|
42
42
|
import "./thinking-BDh5LPh-.js";
|
|
43
43
|
import "./models-config-BfmuswQ_.js";
|
|
44
44
|
import "./reply-prefix-CRdCnS44.js";
|
|
45
|
-
import "./memory-
|
|
46
|
-
import "./manager-
|
|
45
|
+
import "./memory-CMKSFx1T.js";
|
|
46
|
+
import "./manager-BI8o6AGu.js";
|
|
47
47
|
import "./sqlite-l3CZYU6t.js";
|
|
48
48
|
import "./chunk-BySyfaEr.js";
|
|
49
49
|
import "./markdown-tables-CCOfinlW.js";
|
|
@@ -73,7 +73,7 @@ import "./links-Db3Rw0Tg.js";
|
|
|
73
73
|
import "./cli-utils-BqMwAlgf.js";
|
|
74
74
|
import "./help-format-DbbIlOje.js";
|
|
75
75
|
import "./progress-C4ck6JXh.js";
|
|
76
|
-
import "./memory-cli-
|
|
76
|
+
import "./memory-cli-rdfaJrCS.js";
|
|
77
77
|
import "./logging-D0L9TWhE.js";
|
|
78
78
|
import "./replies-BOy28KVL.js";
|
|
79
79
|
import "./pi-tools.policy-D-WJTlz8.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
1
|
+
import { t as runAgentTurn } from "./unified-runner-Bn9vq7Zy.js";
|
|
2
2
|
import "./registry-DKJLAPDB.js";
|
|
3
3
|
import "./paths-BSzKwaxE.js";
|
|
4
4
|
import "./utils-BU8jVQFM.js";
|
|
@@ -45,8 +45,8 @@ import "./session-cost-usage-DYcv40ss.js";
|
|
|
45
45
|
import "./session-utils-0F9pB5d6.js";
|
|
46
46
|
import "./with-timeout-C0UtpXBj.js";
|
|
47
47
|
import "./reply-prefix-xaWqfM9m.js";
|
|
48
|
-
import "./memory-
|
|
49
|
-
import "./manager-
|
|
48
|
+
import "./memory-2OKjMT7V.js";
|
|
49
|
+
import "./manager-BQ5Wl5r-.js";
|
|
50
50
|
import "./sqlite-DBEvS-Ne.js";
|
|
51
51
|
import "./chunk-DQGU0F8t.js";
|
|
52
52
|
import "./markdown-tables-GTLvbzuR.js";
|
|
@@ -76,7 +76,7 @@ import "./links-CSaUKNKm.js";
|
|
|
76
76
|
import "./cli-utils-CX1oQ81G.js";
|
|
77
77
|
import "./help-format-BI_G2p1e.js";
|
|
78
78
|
import "./progress-CyPyGCDn.js";
|
|
79
|
-
import "./memory-cli-
|
|
79
|
+
import "./memory-cli-CmPcKzGZ.js";
|
|
80
80
|
import "./logging-B5YNzZB9.js";
|
|
81
81
|
import "./replies-P7jbK6Bo.js";
|
|
82
82
|
import "./pi-tools.policy-BBHbN8Nh.js";
|
|
@@ -3,14 +3,14 @@ import "./registry-C-JddWwo.js";
|
|
|
3
3
|
import "./agent-scope-D_MtsuXX.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-BPyxPZv9.js";
|
|
7
7
|
import "./auth-profiles-duUuQXeC.js";
|
|
8
8
|
import "./github-copilot-token-B31ugq7R.js";
|
|
9
9
|
import "./boolean-mcn6kL0s.js";
|
|
10
|
-
import "./deliver-
|
|
10
|
+
import "./deliver-DSv-Z24A.js";
|
|
11
11
|
import "./ssrf-Dcgaqg3U.js";
|
|
12
12
|
import "./manifest-registry-DsTUFMvZ.js";
|
|
13
|
-
import "./chrome-
|
|
13
|
+
import "./chrome-C9mX2mtt.js";
|
|
14
14
|
import "./frontmatter-BzAaXBfE.js";
|
|
15
15
|
import "./skills-D0k4o0Ez.js";
|
|
16
16
|
import "./redact-Dd8jrogi.js";
|
|
@@ -26,7 +26,7 @@ import "./diagnostic-D7z6O7v0.js";
|
|
|
26
26
|
import "./diagnostic-session-state-BkfiP_y6.js";
|
|
27
27
|
import "./pi-auth-json-D4Bl4hBw.js";
|
|
28
28
|
import "./reply-prefix-ChIeKp-P.js";
|
|
29
|
-
import "./manager-
|
|
29
|
+
import "./manager-D_AVoLu8.js";
|
|
30
30
|
import "./sqlite--aBEq1-J.js";
|
|
31
31
|
import "./markdown-tables-ptfgMe6b.js";
|
|
32
32
|
import "./commands-registry-DaPrWQSe.js";
|