synurex 2026.2.28 → 2026.2.29
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/{chrome-CXlGlG3I.js → chrome-BTQJDtEX.js} +7 -7
- package/dist/{completion-cli-DpNwoqTr.js → completion-cli-DK707Er8.js} +2 -2
- package/dist/{completion-cli-CBYVj5aT.js → completion-cli-a5JMEnJS.js} +1 -1
- package/dist/{config-guard-BbjFIFTV.js → config-guard-DKJoUOyT.js} +3 -3
- package/dist/{deliver-BUV-sfaF.js → deliver-C2TEJxeH.js} +1 -1
- package/dist/{doctor-Cy7F-m8O.js → doctor-Cof9OUWJ.js} +1 -1
- package/dist/{doctor-OIoi3vgl.js → doctor-DoeDz6o-.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +9 -9
- package/dist/{gateway-cli-CKYTEmmp.js → gateway-cli-BDVBUNwY.js} +5 -5
- package/dist/{gateway-cli-BEOLqmDY.js → gateway-cli-BEqjSEsO.js} +4 -4
- package/dist/{image-C6SHcuJM.js → image-saBkWIDR.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/{onboarding-b_h8jMRf.js → onboarding-CaKb-_eZ.js} +2 -2
- package/dist/{pi-embedded-helpers-dkrwwXev.js → pi-embedded-helpers-DKKB89sm.js} +4 -4
- package/dist/{program-DBUx9mHf.js → program-DUm2Ko3G.js} +6 -6
- package/dist/{pw-ai-BUeSOvm-.js → pw-ai-BKN0Jm4P.js} +1 -1
- package/dist/{register.subclis-Dqn07ubX.js → register.subclis-CxW2atUr.js} +3 -3
- package/dist/{run-main-CwkGDX67.js → run-main-DWpvRRBI.js} +8 -8
- package/dist/{status-8TduleNO.js → status-MvIrUEv-.js} +2 -2
- package/dist/{update-cli-BnRgofHE.js → update-cli-BmJAMiaD.js} +3 -3
- package/dist/{update-cli-BlR8Q0jt.js → update-cli-VEgtZCt5.js} +4 -4
- package/dist/{update-runner-CFCNmYFh.js → update-runner-C8H9v6pQ.js} +1 -1
- package/dist/{update-runner-D0j65BJj.js → update-runner-D-aCyLVU.js} +1 -1
- package/docs/reference/templates/AGENTS.md +21 -0
- package/package.json +1 -1
- package/dist/build-info.json +0 -5
- package/dist/canvas-host/a2ui/.bundle.hash +0 -1
- package/dist/canvas-host/a2ui/a2ui.bundle.js +0 -17765
- package/dist/canvas-host/a2ui/index.html +0 -307
- package/dist/cli/daemon-cli.js +0 -2
- package/dist/hooks/bundled/boot-md/HOOK.md +0 -19
- package/dist/hooks/bundled/command-logger/HOOK.md +0 -122
- package/dist/hooks/bundled/session-memory/HOOK.md +0 -109
- package/dist/hooks/bundled/soul-evil/HOOK.md +0 -71
|
@@ -7,7 +7,7 @@ import fs$1 from "node:fs/promises";
|
|
|
7
7
|
import { execFileSync, spawn } from "node:child_process";
|
|
8
8
|
import { randomBytes } from "node:crypto";
|
|
9
9
|
import { createServer } from "node:http";
|
|
10
|
-
import WebSocket
|
|
10
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
11
11
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
12
12
|
import net from "node:net";
|
|
13
13
|
|
|
@@ -135,7 +135,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
135
135
|
let nextExtensionId = 1;
|
|
136
136
|
const sendToExtension = async (payload) => {
|
|
137
137
|
const ws = extensionWs;
|
|
138
|
-
if (!ws || ws.readyState !== WebSocket
|
|
138
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
139
139
|
ws.send(JSON.stringify(payload));
|
|
140
140
|
return await new Promise((resolve, reject) => {
|
|
141
141
|
const timer = setTimeout(() => {
|
|
@@ -152,12 +152,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
152
152
|
const broadcastToCdpClients = (evt) => {
|
|
153
153
|
const msg = JSON.stringify(evt);
|
|
154
154
|
for (const ws of cdpClients) {
|
|
155
|
-
if (ws.readyState !== WebSocket
|
|
155
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
156
156
|
ws.send(msg);
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
const sendResponseToCdp = (ws, res) => {
|
|
160
|
-
if (ws.readyState !== WebSocket
|
|
160
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
161
161
|
ws.send(JSON.stringify(res));
|
|
162
162
|
};
|
|
163
163
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -377,7 +377,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
377
377
|
wssExtension.on("connection", (ws) => {
|
|
378
378
|
extensionWs = ws;
|
|
379
379
|
const ping = setInterval(() => {
|
|
380
|
-
if (ws.readyState !== WebSocket
|
|
380
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
381
381
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
382
382
|
}, 5e3);
|
|
383
383
|
ws.on("message", (data) => {
|
|
@@ -674,7 +674,7 @@ async function fetchJson(url, timeoutMs = 1500, init) {
|
|
|
674
674
|
}
|
|
675
675
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
676
676
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
677
|
-
const ws = new WebSocket
|
|
677
|
+
const ws = new WebSocket(wsUrl, {
|
|
678
678
|
handshakeTimeout: 5e3,
|
|
679
679
|
...Object.keys(headers).length ? { headers } : {}
|
|
680
680
|
});
|
|
@@ -1808,7 +1808,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1808
1808
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1809
1809
|
return await new Promise((resolve) => {
|
|
1810
1810
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1811
|
-
const ws = new WebSocket
|
|
1811
|
+
const ws = new WebSocket(wsUrl, {
|
|
1812
1812
|
handshakeTimeout: timeoutMs,
|
|
1813
1813
|
...Object.keys(headers).length ? { headers } : {}
|
|
1814
1814
|
});
|
|
@@ -124,7 +124,7 @@ const entries = [
|
|
|
124
124
|
name: "gateway",
|
|
125
125
|
description: "Gateway control",
|
|
126
126
|
register: async (program) => {
|
|
127
|
-
(await import("./gateway-cli-
|
|
127
|
+
(await import("./gateway-cli-BEqjSEsO.js")).registerGatewayCli(program);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
{
|
|
@@ -282,7 +282,7 @@ const entries = [
|
|
|
282
282
|
name: "update",
|
|
283
283
|
description: "CLI update helpers",
|
|
284
284
|
register: async (program) => {
|
|
285
|
-
(await import("./update-cli-
|
|
285
|
+
(await import("./update-cli-BmJAMiaD.js")).registerUpdateCli(program);
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { X as resolveStateDir } from "./entry.js";
|
|
3
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
3
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-CxW2atUr.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -22,7 +22,7 @@ import { a as resolveSessionTranscriptsDirForAgent, i as resolveSessionTranscrip
|
|
|
22
22
|
import { d as loadSessionStore } from "./sandbox-DBpsZtIS.js";
|
|
23
23
|
import { r as runCommandWithRuntime } from "./cli-utils-DzrdzskQ.js";
|
|
24
24
|
import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-C3aRsW7k.js";
|
|
25
|
-
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-
|
|
25
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-CxW2atUr.js";
|
|
26
26
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-azbX_hrI.js";
|
|
27
27
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DqZGJ-5z.js";
|
|
28
28
|
import { t as createDefaultDeps } from "./deps-DHoBVhwZ.js";
|
|
@@ -34,12 +34,12 @@ import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrou
|
|
|
34
34
|
import { l as healthCommand } from "./health-format-B3wTmrqY.js";
|
|
35
35
|
import { $ as setOpenrouterApiKey, C as applyMoonshotConfig, D as applyOpenrouterConfig, F as applyVercelAiGatewayConfig, J as setGeminiApiKey, K as setAnthropicApiKey, L as applyXaiConfig, N as applyVeniceConfig, Q as setOpencodeZenApiKey, V as applyZaiConfig, X as setMinimaxApiKey, Y as setKimiCodingApiKey, Z as setMoonshotApiKey, at as setXiaomiApiKey, et as setQianfanApiKey, f as applyOpencodeZenConfig, ft as buildTokenProfileId, g as applyMinimaxConfig, it as setXaiApiKey, j as applySyntheticConfig, k as applyQianfanConfig, m as applyMinimaxApiConfig, nt as setVeniceApiKey, ot as setZaiApiKey, pt as validateAnthropicSetupToken, q as setCloudflareAiGatewayConfig, rt as setVercelAiGatewayApiKey, tt as setSyntheticApiKey, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyXiaomiConfig } from "./github-copilot-auth-DWFisj3D.js";
|
|
36
36
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-CzN9OPmT.js";
|
|
37
|
-
import { a as findAgentEntryIndex, c as pruneAgentConfig, d as parseIdentityMarkdown, f as runOnboardingWizard, i as buildAgentSummaries, l as identityHasValues, o as listAgentEntries, r as applyAgentConfig, s as loadAgentIdentity, t as statusCommand } from "./status-
|
|
37
|
+
import { a as findAgentEntryIndex, c as pruneAgentConfig, d as parseIdentityMarkdown, f as runOnboardingWizard, i as buildAgentSummaries, l as identityHasValues, o as listAgentEntries, r as applyAgentConfig, s as loadAgentIdentity, t as statusCommand } from "./status-MvIrUEv-.js";
|
|
38
38
|
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-COM-4PbL.js";
|
|
39
39
|
import { t as formatHelpExamples } from "./help-format-DuMTLWZ-.js";
|
|
40
40
|
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-BpnOD65O.js";
|
|
41
41
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-DS0IcHsk.js";
|
|
42
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
42
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-Cof9OUWJ.js";
|
|
43
43
|
import path from "node:path";
|
|
44
44
|
import fs from "node:fs";
|
|
45
45
|
import JSON5 from "json5";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { j as normalizeAccountId$1 } from "./agent-scope-CpSMNwey.js";
|
|
3
3
|
import { H as logVerbose, N as resolveUserPath, W as shouldLogVerbose, b as getActivePluginRegistry } from "./exec-EqLC5sqa.js";
|
|
4
|
-
import { At as hasAlphaChannel, En as mediaKindFromMime, G as appendAssistantMessageToSessionTranscript, It as closeDispatcher, K as resolveMirroredTranscriptText, Lt as createPinnedDispatcher, Mt as resizeToJpeg, On as resolveSignalAccount, Ot as convertHeicToJpeg, Pt as saveMediaBuffer, Rt as resolvePinnedHostname, Tn as maxBytesForKind, _n as detectMime, gt as getChannelDock, jn as normalizeChannelId, jt as optimizeImageToPng, kn as getChannelPlugin, m as isMessagingToolDuplicate, on as INTERNAL_MESSAGE_CHANNEL, vn as extensionForMime, zt as resolvePinnedHostnameWithPolicy } from "./pi-embedded-helpers-
|
|
4
|
+
import { At as hasAlphaChannel, En as mediaKindFromMime, G as appendAssistantMessageToSessionTranscript, It as closeDispatcher, K as resolveMirroredTranscriptText, Lt as createPinnedDispatcher, Mt as resizeToJpeg, On as resolveSignalAccount, Ot as convertHeicToJpeg, Pt as saveMediaBuffer, Rt as resolvePinnedHostname, Tn as maxBytesForKind, _n as detectMime, gt as getChannelDock, jn as normalizeChannelId, jt as optimizeImageToPng, kn as getChannelPlugin, m as isMessagingToolDuplicate, on as INTERNAL_MESSAGE_CHANNEL, vn as extensionForMime, zt as resolvePinnedHostnameWithPolicy } from "./pi-embedded-helpers-DKKB89sm.js";
|
|
5
5
|
import { t as loadConfig } from "./config-UB10lGn3.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
@@ -29,7 +29,7 @@ import { r as isSystemdUserServiceAvailable } from "./systemd-Gt0riLnX.js";
|
|
|
29
29
|
import { n as renderSystemdUnavailableHints, t as isSystemdUnavailableDetail } from "./systemd-hints-Db4JjAxJ.js";
|
|
30
30
|
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, o as readLastGatewayErrorLine, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-DO0Uy4z0.js";
|
|
31
31
|
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-B3wTmrqY.js";
|
|
32
|
-
import { f as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-
|
|
32
|
+
import { f as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-C8H9v6pQ.js";
|
|
33
33
|
import { n as logConfigUpdated } from "./logging-CzN9OPmT.js";
|
|
34
34
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Ck6eJ9hl.js";
|
|
35
35
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-BSF-YNSl.js";
|
|
@@ -26,7 +26,7 @@ import { n as logConfigUpdated } from "./logging-awp_aUN6.js";
|
|
|
26
26
|
import { t as note$1 } from "./note-rStT8AJi.js";
|
|
27
27
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-Ca3Ou67i.js";
|
|
28
28
|
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-CLSugjQl.js";
|
|
29
|
-
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-
|
|
29
|
+
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-D-aCyLVU.js";
|
|
30
30
|
import { i as resolveGatewayAuth } from "./auth-CVOB8Q9A.js";
|
|
31
31
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Bhe2beiQ.js";
|
|
32
32
|
import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLaunchAgentListed, o as resolveGatewayLogPaths, r as isLaunchAgentLoaded, t as resolveGatewayService } from "./service-CZFM7dlu.js";
|
package/dist/entry.js
CHANGED
|
@@ -1326,7 +1326,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
1326
1326
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
1327
1327
|
process$1.argv = parsed.argv;
|
|
1328
1328
|
}
|
|
1329
|
-
import("./run-main-
|
|
1329
|
+
import("./run-main-DWpvRRBI.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
1330
1330
|
console.error("[Synurex] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
1331
1331
|
process$1.exitCode = 1;
|
|
1332
1332
|
});
|
package/dist/extensionAPI.js
CHANGED
|
@@ -4,14 +4,14 @@ import { A as normalizeE164, B as danger, C as CONFIG_DIR, D as formatTerminalLi
|
|
|
4
4
|
import { B as resolveSynurexAgentDir, C as getShellPathFromLoginShell, F as resolveApiKeyForProfile, H as DEFAULT_CONTEXT_TOKENS, I as listProfilesForProvider, L as markAuthProfileGood, M as isProfileInCooldown, N as markAuthProfileFailure, O as isTruthyEnvValue, P as markAuthProfileUsed, R as ensureAuthProfileStore, S as resolveModelAuthMode, T as resolveShellEnvFallbackTimeoutMs, U as DEFAULT_MODEL, V as resolveAuthProfileDisplayLabel, W as DEFAULT_PROVIDER, _ as getApiKeyForModel, a as modelKey, b as resolveApiKeyForProvider, c as resolveConfiguredModelRef, d as resolveThinkingDefault, f as normalizeGoogleModelId, i as isCliProvider, j as resolveAuthProfileOrder, k as parseBooleanValue$1, l as resolveDefaultModelForAgent, n as buildConfiguredAllowlistKeys, o as normalizeProviderId, r as buildModelAliasIndex, t as buildAllowedModelSet, u as resolveModelRefFromString, v as getCustomProviderApiKey, x as resolveEnvApiKey, y as requireApiKey, z as resolveAuthStorePathForDisplay } from "./model-selection-Cz_VcpX5.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-BOoCTERW.js";
|
|
6
6
|
import { n as resolveCliName, t as formatCliCommand } from "./command-format-rFzrPj6c.js";
|
|
7
|
-
import { A as MediaFetchError, B as resolveTextChunkLimit, C as resolveFetch, D as markdownToIRWithMeta, E as markdownToIR, F as chunkMarkdownText, G as SILENT_REPLY_TOKEN, H as isSafeFenceBreak, I as chunkMarkdownTextWithMode, K as isSilentReplyText, L as chunkText, M as fetchWithSsrFGuard, N as resolveMarkdownTableMode, O as loadWebMedia, P as chunkByNewline, R as chunkTextWithMode, S as parseInlineDirectives$1, T as chunkMarkdownIR, U as parseFenceSpans, V as findFenceSpanAt, W as HEARTBEAT_TOKEN, _ as buildTargetResolverSignature, a as applyReplyThreading, b as parseReplyDirectives, c as shouldSuppressMessagingToolReplies, d as sendMessageSignal, f as sendReadReceiptSignal, g as streamSignalEvents, h as signalRpcRequest, i as applyReplyTagsToPayload, j as fetchRemoteMedia, k as loadWebMediaRaw, l as createReplyToModeFilterForChannel, m as signalCheck, o as filterMessagingToolDuplicates, p as sendTypingSignal, r as normalizeReplyPayloadsForDelivery, s as isRenderablePayload, t as deliverOutboundPayloads, u as resolveReplyToMode, v as normalizeChannelTargetInput, w as wrapFetchWithAbortSignal, x as splitMediaFromOutput, y as normalizeTargetForProvider, z as resolveChunkMode } from "./deliver-
|
|
8
|
-
import { $ as updateSessionStoreEntry, $t as normalizeToolName, A as isCloudCodeAssistFormatError, An as listChannelPlugins, B as parseImageSizeError, Bn as resolveSlackAppToken, Bt as buildWorkspaceSkillCommandSpecs, C as BILLING_ERROR_USER_MESSAGE, Cn as kindFromMime, Ct as resolveGroupSessionKey, D as getApiErrorPayloadFingerprint, Dn as listEnabledSignalAccounts, Dt as resolveProfile, E as formatRawAssistantErrorForUi, En as mediaKindFromMime, Et as resolveBrowserConfig, F as isLikelyContextOverflowError, Fn as listTelegramAccountIds, Ft as SsrFBlockedError, G as appendAssistantMessageToSessionTranscript, Gn as normalizeDiscordToken, Gt as applySkillEnvOverrides, H as ensureSandboxWorkspaceForSession, Hn as normalizeChatType, Ht as loadWorkspaceSkillEntries, I as isRateLimitAssistantError, In as resolveTelegramAccount, J as readSessionUpdatedAt, Jt as applyOwnerOnlyToolPolicy, Kt as applySkillEnvOverridesFromSnapshot, L as isRawApiErrorPayload, Ln as resolveTelegramToken, M as isContextOverflowError, Mn as isWhatsAppGroupJid, Mt as resizeToJpeg, N as isFailoverAssistantError, Nn as normalizeWhatsAppTarget, Nt as getMediaDir, O as isAuthAssistantError, On as resolveSignalAccount, P as isFailoverErrorMessage, Pn as listEnabledTelegramAccounts, Pt as saveMediaBuffer, Q as updateSessionStore, Qt as expandToolGroups, R as isTimeoutErrorMessage, Rn as listBindings, S as isGoogleModelApi, Sn as isGifMedia, St as resolveConversationLabel, T as formatAssistantErrorText, Tt as registerBrowserRoutes, U as resolveSandboxContext, Un as listEnabledDiscordAccounts, Ut as resolveSkillsPromptForRun, V as sanitizeUserFacingText, Vn as resolveSlackBotToken, Vt as buildWorkspaceSkillSnapshot, W as resolveSandboxRuntimeStatus, Wn as resolveDiscordAccount, Wt as resolvePluginSkillDirs, X as saveSessionStore, Xt as collectExplicitAllowlist, Y as recordSessionMetaFromInbound, Yt as buildPluginToolGroups, Z as updateLastRoute, Zt as expandPolicyWithPluginGroups, _ as sanitizeSessionMessagesImages, _n as detectMime, _t as listChannelDocks, a as formatXHighModelHint, an as sanitizeGoogleTurnOrdering, at as normalizeDeliveryContext, b as downgradeOpenAIReasoningBlocks, bn as imageMimeFromFormat, bt as resolveChannelGroupToolsPolicy, c as normalizeReasoningLevel, cn as isInternalMessageChannel, ct as evaluateSessionFreshness, d as normalizeVerboseLevel, dn as normalizeMessageChannel, dt as resolveSessionResetType, en as resolveToolProfilePolicy, et as isCacheEnabled, f as resolveResponseUsageMode, fn as resolveGatewayMessageChannel, ft as resolveThreadFlag, g as normalizeTextForComparison, gn as GATEWAY_CLIENT_NAMES, gt as getChannelDock, h as isMessagingToolDuplicateNormalized, hn as GATEWAY_CLIENT_MODES, ht as deriveSessionMetaPatch, i as formatThinkingLevels, in as resolveBootstrapMaxChars, it as mergeDeliveryContext, j as isCompactionFailureError, jn as normalizeChannelId$1, k as isBillingAssistantError, kn as getChannelPlugin, kt as getImageMetadata, l as normalizeThinkLevel, ln as isMarkdownCapableMessageChannel, lt as resolveChannelResetConfig, mn as GATEWAY_CLIENT_IDS, mt as resolveMainSessionKey, n as validateGeminiTurns, nn as buildBootstrapContextFiles, nt as deliveryContextFromSession, o as listThinkingLevels, on as INTERNAL_MESSAGE_CHANNEL, ot as normalizeSessionDeliveryFields, p as supportsXHighThinking, pn as resolveMessageChannel, pt as DEFAULT_RESET_TRIGGERS, q as loadSessionStore, qt as resolveSandboxConfigForAgent, r as pickFallbackThinkingLevel, rn as ensureSessionHeader, rt as deliveryContextKey, s as normalizeElevatedLevel, sn as isDeliverableMessageChannel, st as resolveSessionKey$1, t as validateAnthropicTurns, tn as stripPluginOnlyAllowlist, tt as resolveCacheTtlMs$1, u as normalizeUsageDisplay, un as listDeliverableMessageChannels, ut as resolveSessionResetPolicy, v as sanitizeImageBlocks, vn as extensionForMime, vt as resolveChannelGroupPolicy, w as classifyFailoverReason, wn as MAX_IMAGE_BYTES, wt as createBrowserRouteContext, x as isAntigravityClaude, xn as isAudioFileName, xt as resolveIMessageAccount, y as sanitizeToolResultImages, yn as getFileExtension, yt as resolveChannelGroupRequireMention, z as parseImageDimensionError, zn as resolveSlackAccount } from "./pi-embedded-helpers-
|
|
7
|
+
import { A as MediaFetchError, B as resolveTextChunkLimit, C as resolveFetch, D as markdownToIRWithMeta, E as markdownToIR, F as chunkMarkdownText, G as SILENT_REPLY_TOKEN, H as isSafeFenceBreak, I as chunkMarkdownTextWithMode, K as isSilentReplyText, L as chunkText, M as fetchWithSsrFGuard, N as resolveMarkdownTableMode, O as loadWebMedia, P as chunkByNewline, R as chunkTextWithMode, S as parseInlineDirectives$1, T as chunkMarkdownIR, U as parseFenceSpans, V as findFenceSpanAt, W as HEARTBEAT_TOKEN, _ as buildTargetResolverSignature, a as applyReplyThreading, b as parseReplyDirectives, c as shouldSuppressMessagingToolReplies, d as sendMessageSignal, f as sendReadReceiptSignal, g as streamSignalEvents, h as signalRpcRequest, i as applyReplyTagsToPayload, j as fetchRemoteMedia, k as loadWebMediaRaw, l as createReplyToModeFilterForChannel, m as signalCheck, o as filterMessagingToolDuplicates, p as sendTypingSignal, r as normalizeReplyPayloadsForDelivery, s as isRenderablePayload, t as deliverOutboundPayloads, u as resolveReplyToMode, v as normalizeChannelTargetInput, w as wrapFetchWithAbortSignal, x as splitMediaFromOutput, y as normalizeTargetForProvider, z as resolveChunkMode } from "./deliver-C2TEJxeH.js";
|
|
8
|
+
import { $ as updateSessionStoreEntry, $t as normalizeToolName, A as isCloudCodeAssistFormatError, An as listChannelPlugins, B as parseImageSizeError, Bn as resolveSlackAppToken, Bt as buildWorkspaceSkillCommandSpecs, C as BILLING_ERROR_USER_MESSAGE, Cn as kindFromMime, Ct as resolveGroupSessionKey, D as getApiErrorPayloadFingerprint, Dn as listEnabledSignalAccounts, Dt as resolveProfile, E as formatRawAssistantErrorForUi, En as mediaKindFromMime, Et as resolveBrowserConfig, F as isLikelyContextOverflowError, Fn as listTelegramAccountIds, Ft as SsrFBlockedError, G as appendAssistantMessageToSessionTranscript, Gn as normalizeDiscordToken, Gt as applySkillEnvOverrides, H as ensureSandboxWorkspaceForSession, Hn as normalizeChatType, Ht as loadWorkspaceSkillEntries, I as isRateLimitAssistantError, In as resolveTelegramAccount, J as readSessionUpdatedAt, Jt as applyOwnerOnlyToolPolicy, Kt as applySkillEnvOverridesFromSnapshot, L as isRawApiErrorPayload, Ln as resolveTelegramToken, M as isContextOverflowError, Mn as isWhatsAppGroupJid, Mt as resizeToJpeg, N as isFailoverAssistantError, Nn as normalizeWhatsAppTarget, Nt as getMediaDir, O as isAuthAssistantError, On as resolveSignalAccount, P as isFailoverErrorMessage, Pn as listEnabledTelegramAccounts, Pt as saveMediaBuffer, Q as updateSessionStore, Qt as expandToolGroups, R as isTimeoutErrorMessage, Rn as listBindings, S as isGoogleModelApi, Sn as isGifMedia, St as resolveConversationLabel, T as formatAssistantErrorText, Tt as registerBrowserRoutes, U as resolveSandboxContext, Un as listEnabledDiscordAccounts, Ut as resolveSkillsPromptForRun, V as sanitizeUserFacingText, Vn as resolveSlackBotToken, Vt as buildWorkspaceSkillSnapshot, W as resolveSandboxRuntimeStatus, Wn as resolveDiscordAccount, Wt as resolvePluginSkillDirs, X as saveSessionStore, Xt as collectExplicitAllowlist, Y as recordSessionMetaFromInbound, Yt as buildPluginToolGroups, Z as updateLastRoute, Zt as expandPolicyWithPluginGroups, _ as sanitizeSessionMessagesImages, _n as detectMime, _t as listChannelDocks, a as formatXHighModelHint, an as sanitizeGoogleTurnOrdering, at as normalizeDeliveryContext, b as downgradeOpenAIReasoningBlocks, bn as imageMimeFromFormat, bt as resolveChannelGroupToolsPolicy, c as normalizeReasoningLevel, cn as isInternalMessageChannel, ct as evaluateSessionFreshness, d as normalizeVerboseLevel, dn as normalizeMessageChannel, dt as resolveSessionResetType, en as resolveToolProfilePolicy, et as isCacheEnabled, f as resolveResponseUsageMode, fn as resolveGatewayMessageChannel, ft as resolveThreadFlag, g as normalizeTextForComparison, gn as GATEWAY_CLIENT_NAMES, gt as getChannelDock, h as isMessagingToolDuplicateNormalized, hn as GATEWAY_CLIENT_MODES, ht as deriveSessionMetaPatch, i as formatThinkingLevels, in as resolveBootstrapMaxChars, it as mergeDeliveryContext, j as isCompactionFailureError, jn as normalizeChannelId$1, k as isBillingAssistantError, kn as getChannelPlugin, kt as getImageMetadata, l as normalizeThinkLevel, ln as isMarkdownCapableMessageChannel, lt as resolveChannelResetConfig, mn as GATEWAY_CLIENT_IDS, mt as resolveMainSessionKey, n as validateGeminiTurns, nn as buildBootstrapContextFiles, nt as deliveryContextFromSession, o as listThinkingLevels, on as INTERNAL_MESSAGE_CHANNEL, ot as normalizeSessionDeliveryFields, p as supportsXHighThinking, pn as resolveMessageChannel, pt as DEFAULT_RESET_TRIGGERS, q as loadSessionStore, qt as resolveSandboxConfigForAgent, r as pickFallbackThinkingLevel, rn as ensureSessionHeader, rt as deliveryContextKey, s as normalizeElevatedLevel, sn as isDeliverableMessageChannel, st as resolveSessionKey$1, t as validateAnthropicTurns, tn as stripPluginOnlyAllowlist, tt as resolveCacheTtlMs$1, u as normalizeUsageDisplay, un as listDeliverableMessageChannels, ut as resolveSessionResetPolicy, v as sanitizeImageBlocks, vn as extensionForMime, vt as resolveChannelGroupPolicy, w as classifyFailoverReason, wn as MAX_IMAGE_BYTES, wt as createBrowserRouteContext, x as isAntigravityClaude, xn as isAudioFileName, xt as resolveIMessageAccount, y as sanitizeToolResultImages, yn as getFileExtension, yt as resolveChannelGroupRequireMention, z as parseImageDimensionError, zn as resolveSlackAccount } from "./pi-embedded-helpers-DKKB89sm.js";
|
|
9
9
|
import { A as getWebAuthAgeMs, C as getConfigValueAtPath, D as resolveAgentMaxConcurrent, E as unsetConfigValueAtPath, M as logoutWeb, O as VERSION, P as readWebSelfId, R as webAuthExists, S as unsetConfigOverride, T as setConfigValueAtPath, _ as resolveEnableState, a as validateConfigObjectWithPlugins, b as resetConfigOverrides, c as resolveTelegramCustomCommands, d as validateJsonSchemaValue, f as loadPluginManifestRegistry, g as normalizePluginsConfig, i as writeConfigFile, j as logWebSelfId, k as resolveWhatsAppAccount, l as isSafeExecutableValue, n as readConfigFileSnapshot, o as TELEGRAM_COMMAND_NAME_PATTERN, p as discoverSynurexPlugins, r as resolveConfigSnapshotHash, s as normalizeTelegramCommandName, t as loadConfig, u as parseDurationMs, v as resolveMemorySlotDecision, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-UB10lGn3.js";
|
|
10
10
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-EhM2JAQo.js";
|
|
11
|
-
import { C as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as rawDataToString, b as formatUncaughtError, h as ensureChromeExtensionRelayServer, v as extractErrorCode, y as formatErrorMessage$1 } from "./chrome-
|
|
11
|
+
import { C as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as rawDataToString, b as formatUncaughtError, h as ensureChromeExtensionRelayServer, v as extractErrorCode, y as formatErrorMessage$1 } from "./chrome-BTQJDtEX.js";
|
|
12
12
|
import { a as resolveStorePath, i as resolveSessionTranscriptsDirForAgent, n as resolveSessionFilePath, r as resolveSessionTranscriptPath } from "./paths-D4TjaAs9.js";
|
|
13
13
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-JLH5W4He.js";
|
|
14
|
-
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractAssistantThinking, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, t as describeImageWithModel, u as extractThinkingFromTaggedStream, v as resolveToolDisplay, y as ensureSynurexModelsJson } from "./image-
|
|
14
|
+
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractAssistantThinking, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, t as describeImageWithModel, u as extractThinkingFromTaggedStream, v as resolveToolDisplay, y as ensureSynurexModelsJson } from "./image-saBkWIDR.js";
|
|
15
15
|
import { i as resolveMemorySearchConfig, n as resolveRetryConfig, r as retryAsync } from "./manager-DORkoiXy.js";
|
|
16
16
|
import { c as listMemoryFiles, l as normalizeExtraMemoryPaths } from "./sqlite-BjBQdG8T.js";
|
|
17
17
|
import { t as redactSensitiveText } from "./redact-BIMJ3ntQ.js";
|
|
@@ -35,7 +35,7 @@ import { EdgeTTS } from "node-edge-tts";
|
|
|
35
35
|
import AjvPkg from "ajv";
|
|
36
36
|
import { createServer } from "node:http";
|
|
37
37
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
38
|
-
import { WebSocket } from "ws";
|
|
38
|
+
import { WebSocket as WebSocket$1 } from "ws";
|
|
39
39
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
40
40
|
import * as net$1 from "node:net";
|
|
41
41
|
import net from "node:net";
|
|
@@ -7182,7 +7182,7 @@ var GatewayClient = class {
|
|
|
7182
7182
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
7183
7183
|
});
|
|
7184
7184
|
}
|
|
7185
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
7185
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
7186
7186
|
this.ws.on("open", () => {
|
|
7187
7187
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
7188
7188
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -7386,7 +7386,7 @@ var GatewayClient = class {
|
|
|
7386
7386
|
return null;
|
|
7387
7387
|
}
|
|
7388
7388
|
async request(method, params, opts) {
|
|
7389
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
7389
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
7390
7390
|
const id = randomUUID();
|
|
7391
7391
|
const frame = {
|
|
7392
7392
|
type: "req",
|
|
@@ -9120,7 +9120,7 @@ async function routeReply(params) {
|
|
|
9120
9120
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
9121
9121
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
9122
9122
|
try {
|
|
9123
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
9123
|
+
const { deliverOutboundPayloads } = await import("./deliver-C2TEJxeH.js").then((n) => n.n);
|
|
9124
9124
|
return {
|
|
9125
9125
|
ok: true,
|
|
9126
9126
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -44332,7 +44332,7 @@ async function describeStickerImage(params) {
|
|
|
44332
44332
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
44333
44333
|
try {
|
|
44334
44334
|
const buffer = await fs$1.readFile(imagePath);
|
|
44335
|
-
const { describeImageWithModel } = await import("./image-
|
|
44335
|
+
const { describeImageWithModel } = await import("./image-saBkWIDR.js").then((n) => n.n);
|
|
44336
44336
|
return (await describeImageWithModel({
|
|
44337
44337
|
buffer,
|
|
44338
44338
|
fileName: "sticker.webp",
|
|
@@ -61,8 +61,8 @@ import { r as runCommandWithRuntime } from "./cli-utils-DzrdzskQ.js";
|
|
|
61
61
|
import "./pairing-labels-CrJtLbMY.js";
|
|
62
62
|
import { t as buildChannelAccountSnapshot } from "./status-CWDof7Cn.js";
|
|
63
63
|
import "./channels-status-issues-CgVNTMMz.js";
|
|
64
|
-
import "./register.subclis-
|
|
65
|
-
import "./completion-cli-
|
|
64
|
+
import "./register.subclis-CxW2atUr.js";
|
|
65
|
+
import "./completion-cli-a5JMEnJS.js";
|
|
66
66
|
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-DHoBVhwZ.js";
|
|
67
67
|
import "./daemon-runtime-sBNXpVgk.js";
|
|
68
68
|
import "./service-sZqtAG53.js";
|
|
@@ -76,11 +76,11 @@ import { a as toOptionString, i as parsePort$1, n as extractGatewayMiskeys, r as
|
|
|
76
76
|
import { i as probeGateway } from "./audit-DWZBSh2N.js";
|
|
77
77
|
import { g as discoverGatewayBeacons, n as installSkill } from "./onboard-skills-BPBFfhVp.js";
|
|
78
78
|
import { a as resolveControlUiRootOverrideSync, c as getHealthSnapshot, d as runHeartbeatOnce, f as setHeartbeatsEnabled, n as ensureControlUiAssetsBuilt, o as resolveControlUiRootSync, p as startHeartbeatRunner, s as formatHealthChannelLines } from "./health-format-B3wTmrqY.js";
|
|
79
|
-
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
79
|
+
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-C8H9v6pQ.js";
|
|
80
80
|
import "./github-copilot-auth-DWFisj3D.js";
|
|
81
81
|
import "./logging-CzN9OPmT.js";
|
|
82
82
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-DFRuWWMp.js";
|
|
83
|
-
import { a as findAgentEntryIndex, c as pruneAgentConfig, f as runOnboardingWizard, n as getStatusSummary, o as listAgentEntries, r as applyAgentConfig, s as loadAgentIdentity, u as loadAgentIdentityFromWorkspace } from "./status-
|
|
83
|
+
import { a as findAgentEntryIndex, c as pruneAgentConfig, f as runOnboardingWizard, n as getStatusSummary, o as listAgentEntries, r as applyAgentConfig, s as loadAgentIdentity, u as loadAgentIdentityFromWorkspace } from "./status-MvIrUEv-.js";
|
|
84
84
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Ck6eJ9hl.js";
|
|
85
85
|
import "./tui-Biuvuiog.js";
|
|
86
86
|
import { i as setGatewayWsLogStyle, n as logWs, r as summarizeAgentEventForWsLog, t as formatForLog } from "./ws-log-vBkmxf4_.js";
|
|
@@ -16522,7 +16522,7 @@ function attachGatewayWsMessageHandler(params) {
|
|
|
16522
16522
|
rejectUnauthorized();
|
|
16523
16523
|
return;
|
|
16524
16524
|
}
|
|
16525
|
-
if (device && devicePublicKey && !(allowControlUiBypass && sharedAuthOk || role === "operator" && sharedAuthOk || isLocalClient && sharedAuthOk)) {
|
|
16525
|
+
if (device && devicePublicKey && !(allowControlUiBypass && sharedAuthOk || role === "operator" && sharedAuthOk || role === "node" && sharedAuthOk || isLocalClient && sharedAuthOk)) {
|
|
16526
16526
|
const requirePairing = async (reason, _paired) => {
|
|
16527
16527
|
const pairing = await requestDevicePairing({
|
|
16528
16528
|
deviceId: device.id,
|
|
@@ -55,7 +55,7 @@ import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-DgFr
|
|
|
55
55
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-CGhNcgVS.js";
|
|
56
56
|
import { t as ensureSynurexCliOnPath } from "./path-env-Bc8ZqjfY.js";
|
|
57
57
|
import "./daemon-runtime-CRdmLdkD.js";
|
|
58
|
-
import { c as loadAgentIdentity, d as loadAgentIdentityFromWorkspace, i as applyAgentConfig, l as pruneAgentConfig, o as findAgentEntryIndex, p as forceFreePortAndWait, r as getStatusSummary, s as listAgentEntries, t as runOnboardingWizard } from "./onboarding-
|
|
58
|
+
import { c as loadAgentIdentity, d as loadAgentIdentityFromWorkspace, i as applyAgentConfig, l as pruneAgentConfig, o as findAgentEntryIndex, p as forceFreePortAndWait, r as getStatusSummary, s as listAgentEntries, t as runOnboardingWizard } from "./onboarding-CaKb-_eZ.js";
|
|
59
59
|
import { t as resolveChannelDefaultAccountId } from "./helpers-yjIEMzi8.js";
|
|
60
60
|
import "./logging-awp_aUN6.js";
|
|
61
61
|
import "./note-rStT8AJi.js";
|
|
@@ -68,7 +68,7 @@ import "./archive-Dy3Ezb-5.js";
|
|
|
68
68
|
import "./skill-scanner-BoGjHXUZ.js";
|
|
69
69
|
import "./installs-BvY-yqDY.js";
|
|
70
70
|
import { a as resolveControlUiRootOverrideSync, c as getHealthSnapshot, d as runHeartbeatOnce, f as setHeartbeatsEnabled, n as ensureControlUiAssetsBuilt, o as resolveControlUiRootSync, p as startHeartbeatRunner, s as formatHealthChannelLines } from "./health-format-CLSugjQl.js";
|
|
71
|
-
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
71
|
+
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-D-aCyLVU.js";
|
|
72
72
|
import { i as resolveGatewayAuth, n as authorizeGatewayConnect, r as isLocalDirectRequest, t as assertGatewayAuthConfigured } from "./auth-CVOB8Q9A.js";
|
|
73
73
|
import { i as probeGateway } from "./audit-CM8pyctg.js";
|
|
74
74
|
import "./table-DCcFNw6e.js";
|
|
@@ -78,7 +78,7 @@ import "./systemd-DerMq_3Y.js";
|
|
|
78
78
|
import "./service-audit-DptlZVXP.js";
|
|
79
79
|
import "./node-service-DB0Rp9Fr.js";
|
|
80
80
|
import "./channels-status-issues-CT6Q1t1h.js";
|
|
81
|
-
import "./completion-cli-
|
|
81
|
+
import "./completion-cli-DK707Er8.js";
|
|
82
82
|
import { a as createOutboundSendDeps$1, i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-N2Qtra36.js";
|
|
83
83
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-C2mRm6hu.js";
|
|
84
84
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-CpkHFMVY.js";
|
|
@@ -16523,7 +16523,7 @@ function attachGatewayWsMessageHandler(params) {
|
|
|
16523
16523
|
rejectUnauthorized();
|
|
16524
16524
|
return;
|
|
16525
16525
|
}
|
|
16526
|
-
if (device && devicePublicKey && !(allowControlUiBypass && sharedAuthOk || role === "operator" && sharedAuthOk || isLocalClient && sharedAuthOk)) {
|
|
16526
|
+
if (device && devicePublicKey && !(allowControlUiBypass && sharedAuthOk || role === "operator" && sharedAuthOk || role === "node" && sharedAuthOk || isLocalClient && sharedAuthOk)) {
|
|
16527
16527
|
const requirePairing = async (reason, _paired) => {
|
|
16528
16528
|
const pairing = await requestDevicePairing({
|
|
16529
16529
|
deviceId: device.id,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { P as shortenHomeInString } from "./exec-EqLC5sqa.js";
|
|
3
3
|
import { B as resolveSynurexAgentDir, _ as getApiKeyForModel, g as resolveImplicitProviders, h as resolveImplicitCopilotProvider, m as resolveImplicitBedrockProvider, p as normalizeProviders, y as requireApiKey } from "./model-selection-Cz_VcpX5.js";
|
|
4
|
-
import { V as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
4
|
+
import { V as sanitizeUserFacingText } from "./pi-embedded-helpers-DKKB89sm.js";
|
|
5
5
|
import { t as loadConfig } from "./config-UB10lGn3.js";
|
|
6
6
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-EhM2JAQo.js";
|
|
7
7
|
import { n as redactToolDetail } from "./redact-BIMJ3ntQ.js";
|
package/dist/index.js
CHANGED
|
@@ -51,7 +51,7 @@ import { l as ensureBinary, u as promptYesNo } from "./tailscale-CGhNcgVS.js";
|
|
|
51
51
|
import { t as isMainModule } from "./is-main-B6kCyqsv.js";
|
|
52
52
|
import { t as ensureSynurexCliOnPath } from "./path-env-Bc8ZqjfY.js";
|
|
53
53
|
import { a as gatewayInstallErrorHint, g as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CRdmLdkD.js";
|
|
54
|
-
import { a as buildAgentSummaries, c as loadAgentIdentity, f as parseIdentityMarkdown, i as applyAgentConfig, l as pruneAgentConfig, n as statusCommand, o as findAgentEntryIndex, s as listAgentEntries, t as runOnboardingWizard, u as identityHasValues } from "./onboarding-
|
|
54
|
+
import { a as buildAgentSummaries, c as loadAgentIdentity, f as parseIdentityMarkdown, i as applyAgentConfig, l as pruneAgentConfig, n as statusCommand, o as findAgentEntryIndex, s as listAgentEntries, t as runOnboardingWizard, u as identityHasValues } from "./onboarding-CaKb-_eZ.js";
|
|
55
55
|
import { t as resolveChannelDefaultAccountId } from "./helpers-yjIEMzi8.js";
|
|
56
56
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-awp_aUN6.js";
|
|
57
57
|
import "./note-rStT8AJi.js";
|
|
@@ -65,7 +65,7 @@ import "./archive-Dy3Ezb-5.js";
|
|
|
65
65
|
import "./skill-scanner-BoGjHXUZ.js";
|
|
66
66
|
import "./installs-BvY-yqDY.js";
|
|
67
67
|
import { l as healthCommand } from "./health-format-CLSugjQl.js";
|
|
68
|
-
import "./update-runner-
|
|
68
|
+
import "./update-runner-D-aCyLVU.js";
|
|
69
69
|
import "./auth-CVOB8Q9A.js";
|
|
70
70
|
import "./audit-CM8pyctg.js";
|
|
71
71
|
import { t as renderTable } from "./table-DCcFNw6e.js";
|
|
@@ -75,7 +75,7 @@ import { r as isSystemdUserServiceAvailable } from "./systemd-DerMq_3Y.js";
|
|
|
75
75
|
import "./service-audit-DptlZVXP.js";
|
|
76
76
|
import "./node-service-DB0Rp9Fr.js";
|
|
77
77
|
import "./channels-status-issues-CT6Q1t1h.js";
|
|
78
|
-
import { c as registerSubCliCommands, d as getPositiveIntFlagValue, f as getVerboseFlag, l as getCommandPath, m as hasHelpOrVersion, p as hasFlag, u as getFlagValue } from "./completion-cli-
|
|
78
|
+
import { c as registerSubCliCommands, d as getPositiveIntFlagValue, f as getVerboseFlag, l as getCommandPath, m as hasHelpOrVersion, p as hasFlag, u as getFlagValue } from "./completion-cli-DK707Er8.js";
|
|
79
79
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CFkdcw9l.js";
|
|
80
80
|
import { t as formatHelpExamples } from "./help-format-GYRujDx9.js";
|
|
81
81
|
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-N2Qtra36.js";
|
|
@@ -85,7 +85,7 @@ import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCo
|
|
|
85
85
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-CRL7Xf4C.js";
|
|
86
86
|
import "./widearea-dns-C2mRm6hu.js";
|
|
87
87
|
import "./auth-health-BrChJQW-.js";
|
|
88
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
88
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-DoeDz6o-.js";
|
|
89
89
|
import "./hooks-status-CpkHFMVY.js";
|
|
90
90
|
import { i as hasEmittedCliBanner, n as emitCliBanner, r as formatCliBannerLine } from "./tui-BPqDn4Jf.js";
|
|
91
91
|
import process$1 from "node:process";
|
|
@@ -24,7 +24,7 @@ import { t as WizardCancelledError } from "./prompts-FbZThK8w.js";
|
|
|
24
24
|
import { c as promptDefaultModel, d as warnIfModelConfigLooksOff, f as applyAuthChoice, g as promptAuthChoiceGrouped, r as promptRemoteGatewayConfig, s as applyPrimaryModel, t as setupSkills, u as resolvePreferredProviderForAuthChoice } from "./onboard-skills-BzZrWnt3.js";
|
|
25
25
|
import { n as setupChannels } from "./onboard-channels-CyYMvXjh.js";
|
|
26
26
|
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForAgent } from "./health-format-CLSugjQl.js";
|
|
27
|
-
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, d as formatUpdateOneLiner, f as getUpdateCheckResult, h as compareSemverStrings, l as ensureCompletionCacheExists, m as checkUpdateStatus, p as resolveUpdateAvailability, s as checkShellCompletionStatus, u as formatUpdateAvailableHint, x as formatUpdateChannelLabel } from "./update-runner-
|
|
27
|
+
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, d as formatUpdateOneLiner, f as getUpdateCheckResult, h as compareSemverStrings, l as ensureCompletionCacheExists, m as checkUpdateStatus, p as resolveUpdateAvailability, s as checkShellCompletionStatus, u as formatUpdateAvailableHint, x as formatUpdateChannelLabel } from "./update-runner-D-aCyLVU.js";
|
|
28
28
|
import { i as probeGateway, t as runSecurityAudit } from "./audit-CM8pyctg.js";
|
|
29
29
|
import { t as renderTable } from "./table-DCcFNw6e.js";
|
|
30
30
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Bhe2beiQ.js";
|
|
@@ -34,7 +34,7 @@ import { o as readLastGatewayErrorLine } from "./service-audit-DptlZVXP.js";
|
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-DB0Rp9Fr.js";
|
|
35
35
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-CT6Q1t1h.js";
|
|
36
36
|
import { i as redactSecrets, n as formatDuration$1, r as formatGatewayAuthUsed, t as formatAge$1 } from "./format-8citvr_1.js";
|
|
37
|
-
import { r as installCompletion } from "./completion-cli-
|
|
37
|
+
import { r as installCompletion } from "./completion-cli-DK707Er8.js";
|
|
38
38
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-CpkHFMVY.js";
|
|
39
39
|
import { t as runTui } from "./tui-BPqDn4Jf.js";
|
|
40
40
|
import os from "node:os";
|
|
@@ -4,7 +4,7 @@ import { A as normalizeE164, C as CONFIG_DIR, N as resolveUserPath, _ as normali
|
|
|
4
4
|
import { O as isTruthyEnvValue, k as parseBooleanValue } from "./model-selection-Cz_VcpX5.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-rFzrPj6c.js";
|
|
6
6
|
import { _ as resolveEnableState, f as loadPluginManifestRegistry, g as normalizePluginsConfig, h as MANIFEST_KEY, i as writeConfigFile, k as resolveWhatsAppAccount, m as LEGACY_MANIFEST_KEYS, t as loadConfig, v as resolveMemorySlotDecision } from "./config-UB10lGn3.js";
|
|
7
|
-
import { C as DEFAULT_AI_SNAPSHOT_MAX_CHARS, D as DEFAULT_SYNUREX_BROWSER_ENABLED, E as DEFAULT_SYNUREX_BROWSER_COLOR, O as DEFAULT_SYNUREX_BROWSER_PROFILE_NAME, S as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, T as DEFAULT_BROWSER_EVALUATE_ENABLED, a as resolveSynurexUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as stopChromeExtensionRelayServer, h as ensureChromeExtensionRelayServer, i as launchSynurexChrome, l as createTargetViaCdp, m as getHeadersWithAuth, n as isChromeCdpReady, o as stopSynurexChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as extractErrorCode, w as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, y as formatErrorMessage } from "./chrome-
|
|
7
|
+
import { C as DEFAULT_AI_SNAPSHOT_MAX_CHARS, D as DEFAULT_SYNUREX_BROWSER_ENABLED, E as DEFAULT_SYNUREX_BROWSER_COLOR, O as DEFAULT_SYNUREX_BROWSER_PROFILE_NAME, S as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, T as DEFAULT_BROWSER_EVALUATE_ENABLED, a as resolveSynurexUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as stopChromeExtensionRelayServer, h as ensureChromeExtensionRelayServer, i as launchSynurexChrome, l as createTargetViaCdp, m as getHeadersWithAuth, n as isChromeCdpReady, o as stopSynurexChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as extractErrorCode, w as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, y as formatErrorMessage } from "./chrome-BTQJDtEX.js";
|
|
8
8
|
import { r as resolveSessionTranscriptPath, t as resolveDefaultSessionStorePath } from "./paths-D4TjaAs9.js";
|
|
9
9
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-JLH5W4He.js";
|
|
10
10
|
import os from "node:os";
|
|
@@ -2042,7 +2042,7 @@ function isModuleNotFoundError(err) {
|
|
|
2042
2042
|
}
|
|
2043
2043
|
async function loadPwAiModule(mode) {
|
|
2044
2044
|
try {
|
|
2045
|
-
return await import("./pw-ai-
|
|
2045
|
+
return await import("./pw-ai-BKN0Jm4P.js");
|
|
2046
2046
|
} catch (err) {
|
|
2047
2047
|
if (mode === "soft") return null;
|
|
2048
2048
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -4864,11 +4864,11 @@ function createProfileContext(opts, profile) {
|
|
|
4864
4864
|
const userDataDir = resolveSynurexUserDataDir(profile.name);
|
|
4865
4865
|
const profileState = getProfileState();
|
|
4866
4866
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
4867
|
-
await (await import("./pw-ai-
|
|
4867
|
+
await (await import("./pw-ai-BKN0Jm4P.js")).closePlaywrightBrowserConnection();
|
|
4868
4868
|
} catch {}
|
|
4869
4869
|
if (profileState.running) await stopRunningBrowser();
|
|
4870
4870
|
try {
|
|
4871
|
-
await (await import("./pw-ai-
|
|
4871
|
+
await (await import("./pw-ai-BKN0Jm4P.js")).closePlaywrightBrowserConnection();
|
|
4872
4872
|
} catch {}
|
|
4873
4873
|
if (!fs.existsSync(userDataDir)) return {
|
|
4874
4874
|
moved: false,
|
|
@@ -52,8 +52,8 @@ import "./pairing-labels-CrJtLbMY.js";
|
|
|
52
52
|
import "./channels-status-issues-CgVNTMMz.js";
|
|
53
53
|
import { n as ensurePluginRegistryLoaded } from "./command-options-C3aRsW7k.js";
|
|
54
54
|
import { n as resolveCliChannelOptions } from "./channel-options-D-lP7aRV.js";
|
|
55
|
-
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-
|
|
56
|
-
import "./completion-cli-
|
|
55
|
+
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-CxW2atUr.js";
|
|
56
|
+
import "./completion-cli-a5JMEnJS.js";
|
|
57
57
|
import "./gateway-rpc-DqZGJ-5z.js";
|
|
58
58
|
import "./deps-DHoBVhwZ.js";
|
|
59
59
|
import "./daemon-runtime-sBNXpVgk.js";
|
|
@@ -65,22 +65,22 @@ import "./widearea-dns-DbdWF6kP.js";
|
|
|
65
65
|
import "./audit-DWZBSh2N.js";
|
|
66
66
|
import "./onboard-skills-BPBFfhVp.js";
|
|
67
67
|
import "./health-format-B3wTmrqY.js";
|
|
68
|
-
import "./update-runner-
|
|
68
|
+
import "./update-runner-C8H9v6pQ.js";
|
|
69
69
|
import "./github-copilot-auth-DWFisj3D.js";
|
|
70
70
|
import "./logging-CzN9OPmT.js";
|
|
71
71
|
import "./hooks-status-DFRuWWMp.js";
|
|
72
|
-
import "./status-
|
|
72
|
+
import "./status-MvIrUEv-.js";
|
|
73
73
|
import "./skills-status-Ck6eJ9hl.js";
|
|
74
74
|
import { i as hasEmittedCliBanner, n as emitCliBanner, r as formatCliBannerLine } from "./tui-Biuvuiog.js";
|
|
75
75
|
import "./agent-COM-4PbL.js";
|
|
76
76
|
import "./node-service-CmyQuldc.js";
|
|
77
77
|
import { t as forceFreePort } from "./ports-DKGBzWgI.js";
|
|
78
78
|
import "./auth-health-BSF-YNSl.js";
|
|
79
|
-
import { r as registerProgramCommands, t as ensureConfigReady } from "./config-guard-
|
|
79
|
+
import { r as registerProgramCommands, t as ensureConfigReady } from "./config-guard-DKJoUOyT.js";
|
|
80
80
|
import "./help-format-DuMTLWZ-.js";
|
|
81
81
|
import "./configure-BpnOD65O.js";
|
|
82
82
|
import "./systemd-linger-DS0IcHsk.js";
|
|
83
|
-
import "./doctor-
|
|
83
|
+
import "./doctor-Cof9OUWJ.js";
|
|
84
84
|
import { Command } from "commander";
|
|
85
85
|
|
|
86
86
|
//#region src/cli/program/context.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-8P2BYpvK.js";
|
|
2
2
|
import "./exec-EqLC5sqa.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-rFzrPj6c.js";
|
|
4
|
-
import { m as getHeadersWithAuth, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as formatErrorMessage } from "./chrome-
|
|
4
|
+
import { m as getHeadersWithAuth, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as formatErrorMessage } from "./chrome-BTQJDtEX.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import crypto from "node:crypto";
|
|
@@ -124,7 +124,7 @@ const entries = [
|
|
|
124
124
|
name: "gateway",
|
|
125
125
|
description: "Gateway control",
|
|
126
126
|
register: async (program) => {
|
|
127
|
-
(await import("./gateway-cli-
|
|
127
|
+
(await import("./gateway-cli-BDVBUNwY.js")).registerGatewayCli(program);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
{
|
|
@@ -282,14 +282,14 @@ const entries = [
|
|
|
282
282
|
name: "update",
|
|
283
283
|
description: "CLI update helpers",
|
|
284
284
|
register: async (program) => {
|
|
285
|
-
(await import("./update-cli-
|
|
285
|
+
(await import("./update-cli-VEgtZCt5.js")).registerUpdateCli(program);
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
{
|
|
289
289
|
name: "completion",
|
|
290
290
|
description: "Generate shell completion script",
|
|
291
291
|
register: async (program) => {
|
|
292
|
-
(await import("./completion-cli-
|
|
292
|
+
(await import("./completion-cli-a5JMEnJS.js").then((n) => n.n)).registerCompletionCli(program);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
];
|
|
@@ -51,8 +51,8 @@ import "./login-qr-BsYLJut1.js";
|
|
|
51
51
|
import "./pairing-labels-CrJtLbMY.js";
|
|
52
52
|
import "./channels-status-issues-CgVNTMMz.js";
|
|
53
53
|
import { n as ensurePluginRegistryLoaded } from "./command-options-C3aRsW7k.js";
|
|
54
|
-
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-
|
|
55
|
-
import "./completion-cli-
|
|
54
|
+
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-CxW2atUr.js";
|
|
55
|
+
import "./completion-cli-a5JMEnJS.js";
|
|
56
56
|
import "./gateway-rpc-DqZGJ-5z.js";
|
|
57
57
|
import "./deps-DHoBVhwZ.js";
|
|
58
58
|
import { h as assertSupportedRuntime } from "./daemon-runtime-sBNXpVgk.js";
|
|
@@ -64,21 +64,21 @@ import "./widearea-dns-DbdWF6kP.js";
|
|
|
64
64
|
import "./audit-DWZBSh2N.js";
|
|
65
65
|
import "./onboard-skills-BPBFfhVp.js";
|
|
66
66
|
import "./health-format-B3wTmrqY.js";
|
|
67
|
-
import "./update-runner-
|
|
67
|
+
import "./update-runner-C8H9v6pQ.js";
|
|
68
68
|
import "./github-copilot-auth-DWFisj3D.js";
|
|
69
69
|
import "./logging-CzN9OPmT.js";
|
|
70
70
|
import "./hooks-status-DFRuWWMp.js";
|
|
71
|
-
import "./status-
|
|
71
|
+
import "./status-MvIrUEv-.js";
|
|
72
72
|
import "./skills-status-Ck6eJ9hl.js";
|
|
73
73
|
import { n as emitCliBanner } from "./tui-Biuvuiog.js";
|
|
74
74
|
import "./agent-COM-4PbL.js";
|
|
75
75
|
import "./node-service-CmyQuldc.js";
|
|
76
76
|
import "./auth-health-BSF-YNSl.js";
|
|
77
|
-
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-
|
|
77
|
+
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-DKJoUOyT.js";
|
|
78
78
|
import "./help-format-DuMTLWZ-.js";
|
|
79
79
|
import "./configure-BpnOD65O.js";
|
|
80
80
|
import "./systemd-linger-DS0IcHsk.js";
|
|
81
|
-
import "./doctor-
|
|
81
|
+
import "./doctor-Cof9OUWJ.js";
|
|
82
82
|
import path from "node:path";
|
|
83
83
|
import process$1 from "node:process";
|
|
84
84
|
import fs from "node:fs";
|
|
@@ -140,7 +140,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
140
140
|
assertSupportedRuntime();
|
|
141
141
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
142
142
|
enableConsoleCapture();
|
|
143
|
-
const { buildProgram } = await import("./program-
|
|
143
|
+
const { buildProgram } = await import("./program-DUm2Ko3G.js");
|
|
144
144
|
const program = buildProgram();
|
|
145
145
|
installUnhandledRejectionHandler();
|
|
146
146
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -150,7 +150,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
150
150
|
const parseArgv = rewriteUpdateFlagArgv(normalizedArgv);
|
|
151
151
|
const primary = getPrimaryCommand(parseArgv);
|
|
152
152
|
if (primary) {
|
|
153
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
153
|
+
const { registerSubCliByName } = await import("./register.subclis-CxW2atUr.js").then((n) => n.i);
|
|
154
154
|
await registerSubCliByName(program, primary);
|
|
155
155
|
}
|
|
156
156
|
if (!(!primary && hasHelpOrVersion(parseArgv))) {
|
|
@@ -20,7 +20,7 @@ import { o as resolveStorePath } from "./paths-Cn5vXlEi.js";
|
|
|
20
20
|
import { I as resolveMainSessionKey, d as loadSessionStore } from "./sandbox-DBpsZtIS.js";
|
|
21
21
|
import { t as buildChannelSummary } from "./channel-summary-2b6qt5Cm.js";
|
|
22
22
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-CgVNTMMz.js";
|
|
23
|
-
import { r as installCompletion } from "./completion-cli-
|
|
23
|
+
import { r as installCompletion } from "./completion-cli-a5JMEnJS.js";
|
|
24
24
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-sBNXpVgk.js";
|
|
25
25
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-sZqtAG53.js";
|
|
26
26
|
import { r as isSystemdUserServiceAvailable } from "./systemd-Gt0riLnX.js";
|
|
@@ -29,7 +29,7 @@ import { t as renderTable } from "./table-BzJyfJCd.js";
|
|
|
29
29
|
import { i as probeGateway, t as runSecurityAudit } from "./audit-DWZBSh2N.js";
|
|
30
30
|
import { d as applyAuthChoice, h as promptAuthChoiceGrouped, l as resolvePreferredProviderForAuthChoice, o as applyPrimaryModel, r as promptRemoteGatewayConfig, s as promptDefaultModel, t as setupSkills, u as warnIfModelConfigLooksOff } from "./onboard-skills-BPBFfhVp.js";
|
|
31
31
|
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForAgent } from "./health-format-B3wTmrqY.js";
|
|
32
|
-
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, c as formatUpdateOneLiner, d as checkShellCompletionStatus, h as compareSemverStrings, l as getUpdateCheckResult, m as checkUpdateStatus, p as ensureCompletionCacheExists, s as formatUpdateAvailableHint, u as resolveUpdateAvailability, x as formatUpdateChannelLabel } from "./update-runner-
|
|
32
|
+
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, c as formatUpdateOneLiner, d as checkShellCompletionStatus, h as compareSemverStrings, l as getUpdateCheckResult, m as checkUpdateStatus, p as ensureCompletionCacheExists, s as formatUpdateAvailableHint, u as resolveUpdateAvailability, x as formatUpdateChannelLabel } from "./update-runner-C8H9v6pQ.js";
|
|
33
33
|
import { n as logConfigUpdated } from "./logging-CzN9OPmT.js";
|
|
34
34
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-DFRuWWMp.js";
|
|
35
35
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Ck6eJ9hl.js";
|
|
@@ -54,7 +54,7 @@ import "./archive-Dy3Ezb-5.js";
|
|
|
54
54
|
import "./skill-scanner-BoGjHXUZ.js";
|
|
55
55
|
import "./installs-BvY-yqDY.js";
|
|
56
56
|
import "./health-format-CLSugjQl.js";
|
|
57
|
-
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, _ as resolveNpmChannelTag, a as globalInstallArgs, b as channelToNpmTag, d as formatUpdateOneLiner, g as fetchNpmTagVersion, h as compareSemverStrings, i as detectGlobalInstallManagerForRoot, l as ensureCompletionCacheExists, m as checkUpdateStatus, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, p as resolveUpdateAvailability, r as detectGlobalInstallManagerByPresence, s as checkShellCompletionStatus, t as runGatewayUpdate, u as formatUpdateAvailableHint, v as DEFAULT_GIT_CHANNEL, x as formatUpdateChannelLabel, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
57
|
+
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, _ as resolveNpmChannelTag, a as globalInstallArgs, b as channelToNpmTag, d as formatUpdateOneLiner, g as fetchNpmTagVersion, h as compareSemverStrings, i as detectGlobalInstallManagerForRoot, l as ensureCompletionCacheExists, m as checkUpdateStatus, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, p as resolveUpdateAvailability, r as detectGlobalInstallManagerByPresence, s as checkShellCompletionStatus, t as runGatewayUpdate, u as formatUpdateAvailableHint, v as DEFAULT_GIT_CHANNEL, x as formatUpdateChannelLabel, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-D-aCyLVU.js";
|
|
58
58
|
import "./auth-CVOB8Q9A.js";
|
|
59
59
|
import { t as renderTable } from "./table-DCcFNw6e.js";
|
|
60
60
|
import "./skills-status-Bhe2beiQ.js";
|
|
@@ -62,11 +62,11 @@ import "./service-CZFM7dlu.js";
|
|
|
62
62
|
import "./systemd-DerMq_3Y.js";
|
|
63
63
|
import "./service-audit-DptlZVXP.js";
|
|
64
64
|
import "./channels-status-issues-CT6Q1t1h.js";
|
|
65
|
-
import { r as installCompletion } from "./completion-cli-
|
|
65
|
+
import { r as installCompletion } from "./completion-cli-DK707Er8.js";
|
|
66
66
|
import { t as formatHelpExamples } from "./help-format-GYRujDx9.js";
|
|
67
67
|
import "./systemd-linger-CRL7Xf4C.js";
|
|
68
68
|
import "./auth-health-BrChJQW-.js";
|
|
69
|
-
import { t as doctorCommand } from "./doctor-
|
|
69
|
+
import { t as doctorCommand } from "./doctor-DoeDz6o-.js";
|
|
70
70
|
import "./shared-Cpd7X2eE.js";
|
|
71
71
|
import { r as runDaemonRestart } from "./daemon-cli-C4IIRXZr.js";
|
|
72
72
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-BKGU5x_o.js";
|