@haseebuchiha/silvr 2026.3.15 → 2026.3.19
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-Chu8M4xO.js → agent-BBNM4JBh.js} +7 -7
- package/dist/{audio-preflight-OxgvEIbv.js → audio-preflight-DPCEOBUK.js} +1 -1
- package/dist/{auth-profiles.runtime-CEpyU4to.js → auth-profiles.runtime-ic8RpA6C.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{compact.runtime-BcMs0y1E.js → compact.runtime-0wbfpMot.js} +1 -1
- package/dist/control-ui/apple-touch-icon.png +0 -0
- package/dist/control-ui/assets/{agents-D4lD7vnT.js → agents-Djb8y8X5.js} +2 -2
- package/dist/control-ui/assets/{agents-D4lD7vnT.js.map → agents-Djb8y8X5.js.map} +1 -1
- package/dist/control-ui/assets/{channels-BYUr_oWn.js → channels-CeIv4xL7.js} +2 -2
- package/dist/control-ui/assets/{channels-BYUr_oWn.js.map → channels-CeIv4xL7.js.map} +1 -1
- package/dist/control-ui/assets/{cron-DRoH_18P.js → cron-vpUiL-aC.js} +2 -2
- package/dist/control-ui/assets/{cron-DRoH_18P.js.map → cron-vpUiL-aC.js.map} +1 -1
- package/dist/control-ui/assets/{debug-DbB1hzet.js → debug-DpMY3vmW.js} +2 -2
- package/dist/control-ui/assets/{debug-DbB1hzet.js.map → debug-DpMY3vmW.js.map} +1 -1
- package/dist/control-ui/assets/{index-BuRzKVZo.js → index-C4WQH4rc.js} +78 -96
- package/dist/control-ui/assets/index-C4WQH4rc.js.map +1 -0
- package/dist/control-ui/assets/{instances-Deb1b-xb.js → instances-CI0TAwKd.js} +2 -2
- package/dist/control-ui/assets/{instances-Deb1b-xb.js.map → instances-CI0TAwKd.js.map} +1 -1
- package/dist/control-ui/assets/{sessions-DBd1dRtm.js → sessions-DH9UNOOk.js} +2 -2
- package/dist/control-ui/assets/{sessions-DBd1dRtm.js.map → sessions-DH9UNOOk.js.map} +1 -1
- package/dist/control-ui/favicon-32.png +0 -0
- package/dist/control-ui/favicon.ico +0 -0
- package/dist/control-ui/favicon.svg +2 -20
- package/dist/control-ui/index.html +1 -1
- package/dist/{deliver-runtime-DzLhITOe.js → deliver-runtime-DwbmLh83.js} +1 -1
- package/dist/{image-runtime-BQ165Pku.js → image-runtime-DYH_GCEJ.js} +1 -1
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{login-QNMXS5uL.js → login-BnOf2_OR.js} +2 -2
- package/dist/{login-qr-sI6iu_fE.js → login-qr-vNJffpmD.js} +2 -2
- package/dist/{manager-runtime-CyYraN0P.js → manager-runtime-DKaouQbZ.js} +1 -1
- package/dist/{manager.runtime-CieUm8Ii.js → manager.runtime-DoWiXSEi.js} +2 -2
- package/dist/{model-selection-lqb-eBNl.js → model-selection-CT3B1Am0.js} +43 -43
- package/dist/{pi-model-discovery-runtime-Ig186vI1.js → pi-model-discovery-runtime-BIrOETqQ.js} +1 -1
- package/dist/{pi-tools.before-tool-call.runtime-wVArZzH3.js → pi-tools.before-tool-call.runtime-CWe_sQ7A.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-DPmw1p6X.js → audio-preflight-4MdpOYT8.js} +12 -12
- package/dist/plugin-sdk/{audit-membership-runtime-DHo6vLy0.js → audit-membership-runtime-D1VvFm38.js} +5 -5
- package/dist/plugin-sdk/{auth-profiles.runtime-DWX_OU3d.js → auth-profiles.runtime-B_e4KXry.js} +12 -12
- package/dist/plugin-sdk/{bluebubbles-BPDNQxEz.js → bluebubbles-B_tcmPhi.js} +1 -1
- package/dist/plugin-sdk/bluebubbles.js +15 -15
- package/dist/plugin-sdk/{channel-access-configure-CR_peHiz.js → channel-access-configure-MWzMGRmg.js} +1 -1
- package/dist/plugin-sdk/{channel-access-DsAI06W1.js → channel-access-x4F67APW.js} +1 -1
- package/dist/plugin-sdk/{channel-config-helpers-CFkTEzkz.js → channel-config-helpers-CX9AfjCJ.js} +3 -3
- package/dist/plugin-sdk/{compact.runtime-BBoUa5c7.js → compact.runtime-By20RyWg.js} +12 -12
- package/dist/plugin-sdk/compat.js +28 -28
- package/dist/plugin-sdk/core.js +14 -14
- package/dist/plugin-sdk/{deliver-runtime-DcqbN2EW.js → deliver-runtime-B3czxRTS.js} +12 -12
- package/dist/plugin-sdk/device-pair.js +5 -5
- package/dist/plugin-sdk/diagnostics-otel.js +2 -2
- package/dist/plugin-sdk/{discord-CFdrFYfc.js → discord-Dj8Mb_wn.js} +4 -4
- package/dist/plugin-sdk/discord.js +16 -16
- package/dist/plugin-sdk/{exec-BvTkR9oI.js → exec-88qB5pUO.js} +2 -2
- package/dist/plugin-sdk/feishu.js +14 -14
- package/dist/plugin-sdk/{fetch-yk-axchG.js → fetch-Cqwcg-Kq.js} +2 -2
- package/dist/plugin-sdk/{fetch-guard-Cwx1pJhf.js → fetch-guard-DEyOIg88.js} +1 -1
- package/dist/plugin-sdk/google-gemini-cli-auth.js +4 -4
- package/dist/plugin-sdk/googlechat.js +14 -14
- package/dist/plugin-sdk/{helpers-x_l9piB-.js → helpers-CfIIkFSu.js} +1 -1
- package/dist/plugin-sdk/{http-registry-DyBqqyPO.js → http-registry-CR-l0QpT.js} +2 -2
- package/dist/plugin-sdk/{image-runtime-CvjYlyKN.js → image-runtime-DbwFg8bX.js} +12 -12
- package/dist/plugin-sdk/{imessage-CkpWB9uc.js → imessage-DWv_YFoG.js} +3 -3
- package/dist/plugin-sdk/imessage.js +14 -14
- package/dist/plugin-sdk/{inbound-reply-dispatch-Bwv_eu-G.js → inbound-reply-dispatch-BI9YMvYv.js} +1 -1
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/irc.js +15 -15
- package/dist/plugin-sdk/{logger-C9fkmDdb.js → logger-D-go2oXy.js} +2 -2
- package/dist/plugin-sdk/{logger-DXnvMlr-.js → logger-Jt8cCPPV.js} +2 -2
- package/dist/plugin-sdk/{login-CyKlpU9E.js → login-Cy1IQLfg.js} +5 -5
- package/dist/plugin-sdk/{login-qr-z59Dj0on.js → login-qr-LgAfrI1p.js} +13 -13
- package/dist/plugin-sdk/{manager-runtime-VM2qg5g4.js → manager-runtime-DLV0ve6h.js} +12 -12
- package/dist/plugin-sdk/{manager.runtime-Cb08bDVy.js → manager.runtime-BEIriNTO.js} +18 -18
- package/dist/plugin-sdk/matrix.js +16 -16
- package/dist/plugin-sdk/mattermost.js +14 -14
- package/dist/plugin-sdk/msteams.js +16 -16
- package/dist/plugin-sdk/nextcloud-talk.js +15 -15
- package/dist/plugin-sdk/nostr.js +4 -4
- package/dist/plugin-sdk/{outbound-media-DYbNhQ_E.js → outbound-media-8bhEY42D.js} +1 -1
- package/dist/plugin-sdk/{persistent-dedupe-DS3m5WG6.js → persistent-dedupe-CP6PuqL4.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DDJGcEIx.js → pi-model-discovery-runtime-Dc57E_n-.js} +12 -12
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DCouxalp.js → pi-tools.before-tool-call.runtime-CF7b4jSF.js} +12 -12
- package/dist/plugin-sdk/{pw-ai-CAo9arf1.js → pw-ai-Cu3NfgZw.js} +12 -12
- package/dist/plugin-sdk/{qmd-manager-Bwn33HK3.js → qmd-manager-CryYgEwP.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-DINIGp5S.js → query-expansion-dBUsAz2h.js} +5 -5
- package/dist/plugin-sdk/{redact-DTcVTGFU.js → redact-CqHkGWow.js} +1 -1
- package/dist/plugin-sdk/{run-command-qzkvaQG1.js → run-command-nYfMDZC3.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-CEmiEXMT.js +24 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dpkzb5jv.js +23 -0
- package/dist/plugin-sdk/{send-DDbji5k6.js → send-CsNw3q-L.js} +5 -5
- package/dist/plugin-sdk/{session-B2yjBpwg.js → session-B-1_5oYO.js} +5 -5
- package/dist/plugin-sdk/{signal-3aSvai9I.js → signal-BwW43W5i.js} +6 -6
- package/dist/plugin-sdk/signal.js +14 -14
- package/dist/plugin-sdk/{slack-BjYBuTcM.js → slack-DKfYGlSt.js} +3 -3
- package/dist/plugin-sdk/slack.js +16 -16
- package/dist/plugin-sdk/{slash-commands.runtime-CHY090q0.js → slash-commands.runtime-BJP-Vjou.js} +12 -12
- package/dist/plugin-sdk/{slash-dispatch.runtime-Ba_5OWX5.js → slash-dispatch.runtime-BLtK9-GQ.js} +12 -12
- package/dist/plugin-sdk/{slash-skill-commands.runtime-CskHLGjb.js → slash-skill-commands.runtime-CgyS_sqD.js} +12 -12
- package/dist/plugin-sdk/{subagent-registry-runtime-B0ePd1LR.js → subagent-registry-runtime-CS66kg75.js} +12 -12
- package/dist/plugin-sdk/{subsystem-DXcqLSNd.js → subsystem-DOh66yR6.js} +1 -1
- package/dist/plugin-sdk/synology-chat.js +4 -4
- package/dist/plugin-sdk/{telegram-PQnshN8a.js → telegram-DdYAdPNS.js} +4 -4
- package/dist/plugin-sdk/telegram.js +14 -14
- package/dist/plugin-sdk/{text-chunking-DR7Ynf1H.js → text-chunking-BZD0indn.js} +1 -1
- package/dist/plugin-sdk/{thread-bindings-CKc8lBUK.js → thread-bindings-s08Q6gLk.js} +48 -48
- package/dist/plugin-sdk/tlon.js +13 -13
- package/dist/plugin-sdk/twitch.js +14 -14
- package/dist/plugin-sdk/{utils-BQpbGej3.js → utils-BhiRkVxe.js} +1 -1
- package/dist/plugin-sdk/{vllm-setup-aGNAuqY6.js → vllm-setup-BD7VBM6I.js} +2 -2
- package/dist/plugin-sdk/voice-call.js +12 -12
- package/dist/plugin-sdk/{web-OBr8Vh-d.js → web-Q92lxrJ-.js} +16 -16
- package/dist/plugin-sdk/{webhook-targets-yTQuv0k1.js → webhook-targets-t3fxeJQf.js} +1 -1
- package/dist/plugin-sdk/{whatsapp-actions-C5NiCm9m.js → whatsapp-actions-BlHegGMG.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-JrbyW5rW.js → whatsapp-heartbeat-CJfQseWN.js} +3 -3
- package/dist/plugin-sdk/whatsapp.js +13 -13
- package/dist/plugin-sdk/zalo.js +15 -15
- package/dist/plugin-sdk/zalouser.js +16 -16
- package/dist/{pw-ai-CCaHNl69.js → pw-ai-4ZUo1wKO.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-DpI9pkPy.js → runtime-whatsapp-login.runtime-C8c64_Bg.js} +3 -3
- package/dist/{runtime-whatsapp-outbound.runtime-DRxneC1r.js → runtime-whatsapp-outbound.runtime-CGXy2oG1.js} +2 -2
- package/dist/{send-CwLwqyXr.js → send-DUkDUKM4.js} +1 -1
- package/dist/{session-w6ourRUd.js → session-D-TVYl1e.js} +1 -1
- package/dist/{slash-commands.runtime-DVQ-xr4E.js → slash-commands.runtime-CUjtFg_Z.js} +1 -1
- package/dist/{slash-dispatch.runtime-CdfaH7Qq.js → slash-dispatch.runtime-BZRL5Q4F.js} +1 -1
- package/dist/{slash-skill-commands.runtime-BbJjODG0.js → slash-skill-commands.runtime-BixOFj5F.js} +1 -1
- package/dist/{subagent-registry-runtime-C4b1JtIF.js → subagent-registry-runtime-La36Eh0-.js} +1 -1
- package/dist/{web-CpWavF-V.js → web-cGpqCiIx.js} +4 -4
- package/dist/{whatsapp-actions-zNzE9G_p.js → whatsapp-actions-myIVajIE.js} +2 -2
- package/package.json +1 -1
- package/dist/control-ui/assets/index-BuRzKVZo.js.map +0 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-CG8nF31M.js +0 -24
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BWgqnjHv.js +0 -23
|
@@ -34,7 +34,7 @@ import express from "express";
|
|
|
34
34
|
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
35
35
|
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
|
|
36
36
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
37
|
-
import WebSocket
|
|
37
|
+
import WebSocket, { WebSocket as WebSocket$1, WebSocketServer } from "ws";
|
|
38
38
|
import http, { createServer } from "node:http";
|
|
39
39
|
import https from "node:https";
|
|
40
40
|
import { lookup } from "node:dns";
|
|
@@ -18829,7 +18829,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
18829
18829
|
let extensionWs = null;
|
|
18830
18830
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
18831
18831
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
18832
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket
|
|
18832
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
18833
18833
|
const hasConnectedTargets = () => connectedTargets.size > 0;
|
|
18834
18834
|
let extensionDisconnectCleanupTimer = null;
|
|
18835
18835
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
@@ -18881,7 +18881,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
18881
18881
|
let nextExtensionId = 1;
|
|
18882
18882
|
const sendToExtension = async (payload) => {
|
|
18883
18883
|
const ws = extensionWs;
|
|
18884
|
-
if (!ws || ws.readyState !== WebSocket
|
|
18884
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
18885
18885
|
ws.send(JSON.stringify(payload));
|
|
18886
18886
|
return await new Promise((resolve, reject) => {
|
|
18887
18887
|
const timer = setTimeout(() => {
|
|
@@ -18898,12 +18898,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
18898
18898
|
const broadcastToCdpClients = (evt) => {
|
|
18899
18899
|
const msg = JSON.stringify(evt);
|
|
18900
18900
|
for (const ws of cdpClients) {
|
|
18901
|
-
if (ws.readyState !== WebSocket
|
|
18901
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
18902
18902
|
ws.send(msg);
|
|
18903
18903
|
}
|
|
18904
18904
|
};
|
|
18905
18905
|
const sendResponseToCdp = (ws, res) => {
|
|
18906
|
-
if (ws.readyState !== WebSocket
|
|
18906
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
18907
18907
|
ws.send(JSON.stringify(res));
|
|
18908
18908
|
};
|
|
18909
18909
|
const dropConnectedTargetSession = (sessionId) => {
|
|
@@ -19157,7 +19157,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
19157
19157
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
19158
19158
|
return;
|
|
19159
19159
|
}
|
|
19160
|
-
if (extensionWs && extensionWs.readyState !== WebSocket
|
|
19160
|
+
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
19161
19161
|
try {
|
|
19162
19162
|
extensionWs.terminate();
|
|
19163
19163
|
} catch {}
|
|
@@ -19190,7 +19190,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
19190
19190
|
clearExtensionDisconnectCleanupTimer();
|
|
19191
19191
|
flushExtensionReconnectWaiters(true);
|
|
19192
19192
|
const ping = setInterval(() => {
|
|
19193
|
-
if (ws.readyState !== WebSocket
|
|
19193
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
19194
19194
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
19195
19195
|
}, 5e3);
|
|
19196
19196
|
ws.on("message", (data) => {
|
|
@@ -19933,7 +19933,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
19933
19933
|
};
|
|
19934
19934
|
const closePlaywrightBrowserConnectionForProfile = async (cdpUrl) => {
|
|
19935
19935
|
try {
|
|
19936
|
-
await (await import("./pw-ai-
|
|
19936
|
+
await (await import("./pw-ai-4ZUo1wKO.js")).closePlaywrightBrowserConnection(cdpUrl ? { cdpUrl } : void 0);
|
|
19937
19937
|
} catch {}
|
|
19938
19938
|
};
|
|
19939
19939
|
const reconcileProfileRuntime = async () => {
|
|
@@ -20060,7 +20060,7 @@ async function movePathToTrash(targetPath) {
|
|
|
20060
20060
|
//#region src/browser/server-context.reset.ts
|
|
20061
20061
|
async function closePlaywrightBrowserConnectionForProfile(cdpUrl) {
|
|
20062
20062
|
try {
|
|
20063
|
-
await (await import("./pw-ai-
|
|
20063
|
+
await (await import("./pw-ai-4ZUo1wKO.js")).closePlaywrightBrowserConnection(cdpUrl ? { cdpUrl } : void 0);
|
|
20064
20064
|
} catch {}
|
|
20065
20065
|
}
|
|
20066
20066
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
|
|
@@ -20230,7 +20230,7 @@ function isModuleNotFoundError(err) {
|
|
|
20230
20230
|
}
|
|
20231
20231
|
async function loadPwAiModule(mode) {
|
|
20232
20232
|
try {
|
|
20233
|
-
return await import("./pw-ai-
|
|
20233
|
+
return await import("./pw-ai-4ZUo1wKO.js");
|
|
20234
20234
|
} catch (err) {
|
|
20235
20235
|
if (mode === "soft") return null;
|
|
20236
20236
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -21189,7 +21189,7 @@ function openCdpWebSocket(wsUrl, opts) {
|
|
|
21189
21189
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
21190
21190
|
const handshakeTimeoutMs = typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : CDP_WS_HANDSHAKE_TIMEOUT_MS;
|
|
21191
21191
|
const agent = getDirectAgentForCdp(wsUrl);
|
|
21192
|
-
return new WebSocket
|
|
21192
|
+
return new WebSocket(wsUrl, {
|
|
21193
21193
|
handshakeTimeout: handshakeTimeoutMs,
|
|
21194
21194
|
...Object.keys(headers).length ? { headers } : {},
|
|
21195
21195
|
...agent ? { agent } : {}
|
|
@@ -39973,7 +39973,7 @@ async function ensureOpenClawModelsJson(config, agentDirOverride) {
|
|
|
39973
39973
|
const log$30 = createSubsystemLogger("model-catalog");
|
|
39974
39974
|
let modelCatalogPromise = null;
|
|
39975
39975
|
let hasLoggedModelCatalogError = false;
|
|
39976
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-runtime-
|
|
39976
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-runtime-BIrOETqQ.js");
|
|
39977
39977
|
let importPiSdk = defaultImportPiSdk;
|
|
39978
39978
|
const CODEX_PROVIDER = "openai-codex";
|
|
39979
39979
|
const OPENAI_PROVIDER = "openai";
|
|
@@ -43145,7 +43145,7 @@ function resolveProviderVisionModelFromConfig(params) {
|
|
|
43145
43145
|
//#region src/media-understanding/providers/image.ts
|
|
43146
43146
|
let piModelDiscoveryRuntimePromise = null;
|
|
43147
43147
|
function loadPiModelDiscoveryRuntime() {
|
|
43148
|
-
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime-
|
|
43148
|
+
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime-BIrOETqQ.js");
|
|
43149
43149
|
return piModelDiscoveryRuntimePromise;
|
|
43150
43150
|
}
|
|
43151
43151
|
async function describeImageWithModel(params) {
|
|
@@ -58482,7 +58482,7 @@ var LegacyContextEngine = class {
|
|
|
58482
58482
|
}
|
|
58483
58483
|
async afterTurn(_params) {}
|
|
58484
58484
|
async compact(params) {
|
|
58485
|
-
const { compactEmbeddedPiSessionDirect } = await import("./compact.runtime-
|
|
58485
|
+
const { compactEmbeddedPiSessionDirect } = await import("./compact.runtime-0wbfpMot.js");
|
|
58486
58486
|
const runtimeContext = params.runtimeContext ?? {};
|
|
58487
58487
|
const currentTokenCount = params.currentTokenCount ?? (typeof runtimeContext.currentTokenCount === "number" && Number.isFinite(runtimeContext.currentTokenCount) && runtimeContext.currentTokenCount > 0 ? Math.floor(runtimeContext.currentTokenCount) : void 0);
|
|
58488
58488
|
const result = await compactEmbeddedPiSessionDirect({
|
|
@@ -62921,7 +62921,7 @@ const log$24 = createSubsystemLogger("memory");
|
|
|
62921
62921
|
const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
|
|
62922
62922
|
let managerRuntimePromise = null;
|
|
62923
62923
|
function loadManagerRuntime() {
|
|
62924
|
-
managerRuntimePromise ??= import("./manager-runtime-
|
|
62924
|
+
managerRuntimePromise ??= import("./manager-runtime-DKaouQbZ.js");
|
|
62925
62925
|
return managerRuntimePromise;
|
|
62926
62926
|
}
|
|
62927
62927
|
async function getMemorySearchManager(params) {
|
|
@@ -69287,7 +69287,7 @@ var GatewayClient = class {
|
|
|
69287
69287
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
69288
69288
|
});
|
|
69289
69289
|
}
|
|
69290
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
69290
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
69291
69291
|
this.ws.on("open", () => {
|
|
69292
69292
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
69293
69293
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -69563,7 +69563,7 @@ var GatewayClient = class {
|
|
|
69563
69563
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
69564
69564
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
69565
69565
|
this.connectTimer = setTimeout(() => {
|
|
69566
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
69566
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket$1.OPEN) return;
|
|
69567
69567
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
69568
69568
|
this.ws?.close(1008, "connect challenge timeout");
|
|
69569
69569
|
}, connectChallengeTimeoutMs);
|
|
@@ -69608,7 +69608,7 @@ var GatewayClient = class {
|
|
|
69608
69608
|
return null;
|
|
69609
69609
|
}
|
|
69610
69610
|
async request(method, params, opts) {
|
|
69611
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
69611
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
69612
69612
|
const id = randomUUID();
|
|
69613
69613
|
const frame = {
|
|
69614
69614
|
type: "req",
|
|
@@ -88884,7 +88884,7 @@ function normalizeReplyPayload(payload, opts = {}) {
|
|
|
88884
88884
|
*/
|
|
88885
88885
|
let deliverRuntimePromise$2 = null;
|
|
88886
88886
|
function loadDeliverRuntime$2() {
|
|
88887
|
-
deliverRuntimePromise$2 ??= import("./deliver-runtime-
|
|
88887
|
+
deliverRuntimePromise$2 ??= import("./deliver-runtime-DwbmLh83.js");
|
|
88888
88888
|
return deliverRuntimePromise$2;
|
|
88889
88889
|
}
|
|
88890
88890
|
/**
|
|
@@ -89420,7 +89420,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
89420
89420
|
await ensureOpenClawModelsJson(cfg);
|
|
89421
89421
|
} catch {}
|
|
89422
89422
|
try {
|
|
89423
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-
|
|
89423
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-BIrOETqQ.js");
|
|
89424
89424
|
const agentDir = resolveOpenClawAgentDir();
|
|
89425
89425
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
89426
89426
|
applyDiscoveredContextWindows({
|
|
@@ -94420,7 +94420,7 @@ const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
|
94420
94420
|
const GATEWAY_TIMEOUT_PATTERN = /gateway timeout/i;
|
|
94421
94421
|
let subagentRegistryRuntimePromise = null;
|
|
94422
94422
|
function loadSubagentRegistryRuntime() {
|
|
94423
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
94423
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-La36Eh0-.js");
|
|
94424
94424
|
return subagentRegistryRuntimePromise;
|
|
94425
94425
|
}
|
|
94426
94426
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -100445,7 +100445,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
|
|
|
100445
100445
|
const MAX_LOOP_WARNING_KEYS = 256;
|
|
100446
100446
|
let beforeToolCallRuntimePromise = null;
|
|
100447
100447
|
function loadBeforeToolCallRuntime() {
|
|
100448
|
-
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-
|
|
100448
|
+
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-CWe_sQ7A.js");
|
|
100449
100449
|
return beforeToolCallRuntimePromise;
|
|
100450
100450
|
}
|
|
100451
100451
|
function buildAdjustedParamsKey(params) {
|
|
@@ -108340,7 +108340,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
108340
108340
|
* Throws if the connection is not open.
|
|
108341
108341
|
*/
|
|
108342
108342
|
send(event) {
|
|
108343
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
108343
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
108344
108344
|
this.ws.send(JSON.stringify(event));
|
|
108345
108345
|
}
|
|
108346
108346
|
/**
|
|
@@ -108357,7 +108357,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
108357
108357
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
108358
108358
|
*/
|
|
108359
108359
|
isConnected() {
|
|
108360
|
-
return this.ws !== null && this.ws.readyState === WebSocket
|
|
108360
|
+
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
108361
108361
|
}
|
|
108362
108362
|
/**
|
|
108363
108363
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -108367,7 +108367,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
108367
108367
|
this._cancelRetryTimer();
|
|
108368
108368
|
if (this.ws) {
|
|
108369
108369
|
this.ws.removeAllListeners();
|
|
108370
|
-
if (this.ws.readyState === WebSocket
|
|
108370
|
+
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
108371
108371
|
this.ws = null;
|
|
108372
108372
|
}
|
|
108373
108373
|
}
|
|
@@ -108377,7 +108377,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
108377
108377
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
108378
108378
|
return;
|
|
108379
108379
|
}
|
|
108380
|
-
const socket = new WebSocket
|
|
108380
|
+
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
108381
108381
|
Authorization: `Bearer ${this.apiKey}`,
|
|
108382
108382
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
108383
108383
|
} });
|
|
@@ -116589,7 +116589,7 @@ async function runWithConcurrency(tasks, limit) {
|
|
|
116589
116589
|
//#region src/media-understanding/echo-transcript.ts
|
|
116590
116590
|
let deliverRuntimePromise$1 = null;
|
|
116591
116591
|
function loadDeliverRuntime$1() {
|
|
116592
|
-
deliverRuntimePromise$1 ??= import("./deliver-runtime-
|
|
116592
|
+
deliverRuntimePromise$1 ??= import("./deliver-runtime-DwbmLh83.js");
|
|
116593
116593
|
return deliverRuntimePromise$1;
|
|
116594
116594
|
}
|
|
116595
116595
|
function formatEchoTranscript(transcript, format) {
|
|
@@ -126421,7 +126421,7 @@ async function createModelSelectionState(params) {
|
|
|
126421
126421
|
}
|
|
126422
126422
|
}
|
|
126423
126423
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
126424
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles.runtime-
|
|
126424
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles.runtime-ic8RpA6C.js");
|
|
126425
126425
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
126426
126426
|
const providerKey = normalizeProviderId(provider);
|
|
126427
126427
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -132761,7 +132761,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
|
|
|
132761
132761
|
const log$5 = createSubsystemLogger("session-maintenance-warning");
|
|
132762
132762
|
let deliverRuntimePromise = null;
|
|
132763
132763
|
function loadDeliverRuntime() {
|
|
132764
|
-
deliverRuntimePromise ??= import("./deliver-runtime-
|
|
132764
|
+
deliverRuntimePromise ??= import("./deliver-runtime-DwbmLh83.js");
|
|
132765
132765
|
return deliverRuntimePromise;
|
|
132766
132766
|
}
|
|
132767
132767
|
function shouldSendWarning() {
|
|
@@ -137925,7 +137925,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
137925
137925
|
hasTypedText
|
|
137926
137926
|
};
|
|
137927
137927
|
try {
|
|
137928
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
137928
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DPCEOBUK.js");
|
|
137929
137929
|
if (params.abortSignal?.aborted) return {
|
|
137930
137930
|
hasAudioAttachment,
|
|
137931
137931
|
hasTypedText
|
|
@@ -143268,7 +143268,7 @@ function createGatewayPlugin(params) {
|
|
|
143268
143268
|
}
|
|
143269
143269
|
createWebSocket(url) {
|
|
143270
143270
|
if (!params.wsAgent) return super.createWebSocket(url);
|
|
143271
|
-
return new WebSocket
|
|
143271
|
+
return new WebSocket(url, { agent: params.wsAgent });
|
|
143272
143272
|
}
|
|
143273
143273
|
}
|
|
143274
143274
|
return new SafeGatewayPlugin();
|
|
@@ -144261,7 +144261,7 @@ function resolveDiscordRestFetch(proxyUrl, runtime) {
|
|
|
144261
144261
|
//#region extensions/discord/src/monitor/provider.ts
|
|
144262
144262
|
let discordVoiceRuntimePromise;
|
|
144263
144263
|
async function loadDiscordVoiceRuntime() {
|
|
144264
|
-
discordVoiceRuntimePromise ??= import("./manager.runtime-
|
|
144264
|
+
discordVoiceRuntimePromise ??= import("./manager.runtime-DoWiXSEi.js");
|
|
144265
144265
|
return await discordVoiceRuntimePromise;
|
|
144266
144266
|
}
|
|
144267
144267
|
function formatThreadBindingDurationForConfigLabel(durationMs) {
|
|
@@ -152238,15 +152238,15 @@ let slashCommandsRuntimePromise = null;
|
|
|
152238
152238
|
let slashDispatchRuntimePromise = null;
|
|
152239
152239
|
let slashSkillCommandsRuntimePromise = null;
|
|
152240
152240
|
function loadSlashCommandsRuntime() {
|
|
152241
|
-
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-
|
|
152241
|
+
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-CUjtFg_Z.js");
|
|
152242
152242
|
return slashCommandsRuntimePromise;
|
|
152243
152243
|
}
|
|
152244
152244
|
function loadSlashDispatchRuntime() {
|
|
152245
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
152245
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-BZRL5Q4F.js");
|
|
152246
152246
|
return slashDispatchRuntimePromise;
|
|
152247
152247
|
}
|
|
152248
152248
|
function loadSlashSkillCommandsRuntime() {
|
|
152249
|
-
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-
|
|
152249
|
+
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-BixOFj5F.js");
|
|
152250
152250
|
return slashSkillCommandsRuntimePromise;
|
|
152251
152251
|
}
|
|
152252
152252
|
const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
|
|
@@ -155866,7 +155866,7 @@ function getCacheStats() {
|
|
|
155866
155866
|
const STICKER_DESCRIPTION_PROMPT = "Describe this sticker image in 1-2 sentences. Focus on what the sticker depicts (character, object, action, emotion). Be concise and objective.";
|
|
155867
155867
|
let imageRuntimePromise = null;
|
|
155868
155868
|
function loadImageRuntime() {
|
|
155869
|
-
imageRuntimePromise ??= import("./image-runtime-
|
|
155869
|
+
imageRuntimePromise ??= import("./image-runtime-DYH_GCEJ.js");
|
|
155870
155870
|
return imageRuntimePromise;
|
|
155871
155871
|
}
|
|
155872
155872
|
/**
|
|
@@ -157598,7 +157598,7 @@ async function resolveTelegramInboundBody(params) {
|
|
|
157598
157598
|
const disableAudioPreflight = (topicConfig?.disableAudioPreflight ?? groupConfig?.disableAudioPreflight) === true;
|
|
157599
157599
|
let preflightTranscript;
|
|
157600
157600
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
157601
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
157601
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DPCEOBUK.js");
|
|
157602
157602
|
preflightTranscript = await transcribeFirstAudio({
|
|
157603
157603
|
ctx: {
|
|
157604
157604
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -165720,7 +165720,7 @@ function createWhatsAppLoginTool() {
|
|
|
165720
165720
|
force: Type.Optional(Type.Boolean())
|
|
165721
165721
|
}),
|
|
165722
165722
|
execute: async (_toolCallId, args) => {
|
|
165723
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
165723
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-vNJffpmD.js");
|
|
165724
165724
|
if ((args?.action ?? "start") === "wait") {
|
|
165725
165725
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
165726
165726
|
return {
|
|
@@ -165794,23 +165794,23 @@ let webOutboundPromise = null;
|
|
|
165794
165794
|
let webLoginPromise = null;
|
|
165795
165795
|
let whatsappActionsPromise = null;
|
|
165796
165796
|
function loadWebOutbound() {
|
|
165797
|
-
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-
|
|
165797
|
+
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-CGXy2oG1.js");
|
|
165798
165798
|
return webOutboundPromise;
|
|
165799
165799
|
}
|
|
165800
165800
|
function loadWebLogin() {
|
|
165801
|
-
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-
|
|
165801
|
+
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-C8c64_Bg.js");
|
|
165802
165802
|
return webLoginPromise;
|
|
165803
165803
|
}
|
|
165804
165804
|
function loadWebLoginQr() {
|
|
165805
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
165805
|
+
webLoginQrPromise ??= import("./login-qr-vNJffpmD.js");
|
|
165806
165806
|
return webLoginQrPromise;
|
|
165807
165807
|
}
|
|
165808
165808
|
function loadWebChannel() {
|
|
165809
|
-
webChannelPromise ??= import("./web-
|
|
165809
|
+
webChannelPromise ??= import("./web-cGpqCiIx.js");
|
|
165810
165810
|
return webChannelPromise;
|
|
165811
165811
|
}
|
|
165812
165812
|
function loadWhatsAppActions() {
|
|
165813
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
165813
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-myIVajIE.js");
|
|
165814
165814
|
return whatsappActionsPromise;
|
|
165815
165815
|
}
|
|
165816
165816
|
function createRuntimeWhatsApp() {
|
package/dist/{pi-model-discovery-runtime-Ig186vI1.js → pi-model-discovery-runtime-BIrOETqQ.js}
RENAMED
|
@@ -3,7 +3,7 @@ import "./paths-CNIc83Pn.js";
|
|
|
3
3
|
import "./subsystem-Cr1MiLhx.js";
|
|
4
4
|
import "./workspace-NUzlQide.js";
|
|
5
5
|
import "./logger-DCBlX1uz.js";
|
|
6
|
-
import { Bn as discoverModels, Ln as PiAuthStorageClass, Rn as PiModelRegistryClass, zn as discoverAuthStorage } from "./model-selection-
|
|
6
|
+
import { Bn as discoverModels, Ln as PiAuthStorageClass, Rn as PiModelRegistryClass, zn as discoverAuthStorage } from "./model-selection-CT3B1Am0.js";
|
|
7
7
|
import "./github-copilot-token-BeFx3MLn.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
9
|
import "./fetch-BdTTF2z-.js";
|
|
@@ -3,7 +3,7 @@ import "./paths-CNIc83Pn.js";
|
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Cr1MiLhx.js";
|
|
4
4
|
import "./workspace-NUzlQide.js";
|
|
5
5
|
import { D as isPlainObject } from "./logger-DCBlX1uz.js";
|
|
6
|
-
import { Jt as logToolLoopAction, Yt as getDiagnosticSessionState } from "./model-selection-
|
|
6
|
+
import { Jt as logToolLoopAction, Yt as getDiagnosticSessionState } from "./model-selection-CT3B1Am0.js";
|
|
7
7
|
import "./github-copilot-token-BeFx3MLn.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
9
|
import "./fetch-BdTTF2z-.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./channel-config-helpers-
|
|
2
|
-
import { Ei as resolveMediaAttachmentLocalRoots, Mi as isAudioAttachment, Si as runAudioTranscription, Ti as normalizeMediaAttachments } from "./thread-bindings-
|
|
1
|
+
import "./channel-config-helpers-CX9AfjCJ.js";
|
|
2
|
+
import { Ei as resolveMediaAttachmentLocalRoots, Mi as isAudioAttachment, Si as runAudioTranscription, Ti as normalizeMediaAttachments } from "./thread-bindings-s08Q6gLk.js";
|
|
3
3
|
import "./paths-WR8OhEmw.js";
|
|
4
4
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-
|
|
5
|
+
import "./logger-D-go2oXy.js";
|
|
6
6
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import { d as logVerbose, m as shouldLogVerbose } from "./subsystem-
|
|
8
|
-
import "./utils-
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./exec-
|
|
7
|
+
import { d as logVerbose, m as shouldLogVerbose } from "./subsystem-DOh66yR6.js";
|
|
8
|
+
import "./utils-BhiRkVxe.js";
|
|
9
|
+
import "./fetch-Cqwcg-Kq.js";
|
|
10
|
+
import "./exec-88qB5pUO.js";
|
|
11
11
|
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-
|
|
13
|
-
import "./logger-
|
|
12
|
+
import "./query-expansion-dBUsAz2h.js";
|
|
13
|
+
import "./logger-Jt8cCPPV.js";
|
|
14
14
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-
|
|
16
|
-
import "./http-registry-
|
|
15
|
+
import "./redact-CqHkGWow.js";
|
|
16
|
+
import "./http-registry-CR-l0QpT.js";
|
|
17
17
|
import "./pairing-token-BwgaSu88.js";
|
|
18
18
|
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-
|
|
19
|
+
import "./fetch-guard-DEyOIg88.js";
|
|
20
20
|
import "./registry-N-tffRct.js";
|
|
21
21
|
import "./http-body-CLS7yD5S.js";
|
|
22
22
|
//#region src/media-understanding/audio-preflight.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./paths-WR8OhEmw.js";
|
|
2
|
-
import "./logger-
|
|
2
|
+
import "./logger-D-go2oXy.js";
|
|
3
3
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import { c as isRecord } from "./utils-
|
|
6
|
-
import { o as makeProxyFetch, t as resolveTelegramFetch } from "./fetch-
|
|
7
|
-
import "./logger-
|
|
4
|
+
import "./subsystem-DOh66yR6.js";
|
|
5
|
+
import { c as isRecord } from "./utils-BhiRkVxe.js";
|
|
6
|
+
import { o as makeProxyFetch, t as resolveTelegramFetch } from "./fetch-Cqwcg-Kq.js";
|
|
7
|
+
import "./logger-Jt8cCPPV.js";
|
|
8
8
|
import { o as fetchWithTimeout } from "./wsl-obOgyd2b.js";
|
|
9
9
|
//#region extensions/telegram/src/audit-membership-runtime.ts
|
|
10
10
|
const TELEGRAM_API_BASE = "https://api.telegram.org";
|
package/dist/plugin-sdk/{auth-profiles.runtime-DWX_OU3d.js → auth-profiles.runtime-B_e4KXry.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./channel-config-helpers-
|
|
2
|
-
import { Es as ensureAuthProfileStore } from "./thread-bindings-
|
|
1
|
+
import "./channel-config-helpers-CX9AfjCJ.js";
|
|
2
|
+
import { Es as ensureAuthProfileStore } from "./thread-bindings-s08Q6gLk.js";
|
|
3
3
|
import "./paths-WR8OhEmw.js";
|
|
4
4
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-
|
|
5
|
+
import "./logger-D-go2oXy.js";
|
|
6
6
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./utils-
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./exec-
|
|
7
|
+
import "./subsystem-DOh66yR6.js";
|
|
8
|
+
import "./utils-BhiRkVxe.js";
|
|
9
|
+
import "./fetch-Cqwcg-Kq.js";
|
|
10
|
+
import "./exec-88qB5pUO.js";
|
|
11
11
|
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-
|
|
13
|
-
import "./logger-
|
|
12
|
+
import "./query-expansion-dBUsAz2h.js";
|
|
13
|
+
import "./logger-Jt8cCPPV.js";
|
|
14
14
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-
|
|
16
|
-
import "./http-registry-
|
|
15
|
+
import "./redact-CqHkGWow.js";
|
|
16
|
+
import "./http-registry-CR-l0QpT.js";
|
|
17
17
|
import "./pairing-token-BwgaSu88.js";
|
|
18
18
|
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-
|
|
19
|
+
import "./fetch-guard-DEyOIg88.js";
|
|
20
20
|
import "./registry-N-tffRct.js";
|
|
21
21
|
import "./http-body-CLS7yD5S.js";
|
|
22
22
|
export { ensureAuthProfileStore };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as isRecord } from "./utils-
|
|
1
|
+
import { c as isRecord } from "./utils-BhiRkVxe.js";
|
|
2
2
|
import { n as asString, r as collectIssuesForEnabledAccounts } from "./shared-B4PQjsPw.js";
|
|
3
3
|
//#region src/channels/plugins/status-issues/bluebubbles.ts
|
|
4
4
|
function readBlueBubblesAccountStatus(value) {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-CbP51u9x.js";
|
|
2
|
-
import { B as createAccountListHelpers, _ as formatPairingApproveHint, o as mapAllowFromEntries } from "./channel-config-helpers-
|
|
3
|
-
import { Dr as DM_GROUP_ACCESS_REASON, E as formatDocsLink, Ha as resolveBlueBubblesGroupRequireMention, Hn as resolveServicePrefixedTarget, Ln as parseChatAllowTargetPrefixes, Mr as resolveDmGroupAccessWithLists, Ns as BLUEBUBBLES_ACTIONS, Or as readStoreAllowFromForDmPolicy, P as extractToolSend, Ps as BLUEBUBBLES_ACTION_NAMES, Qn as readBooleanParam, Rn as parseChatTargetPrefixesOrThrow, Ua as resolveBlueBubblesGroupToolPolicy, V as resolveRequestUrl, Xn as resolveChannelMediaMaxBytes, Z as issuePairingChallenge, Zi as parseFiniteNumber, ar as createActionGate, at as logAckFailure, cr as readReactionParams, h as ToolPolicySchema, ht as recordPendingHistoryEntryIfEnabled, io as isAllowedParsedChatSender, it as createReplyPrefixOptions, lr as readStringParam, or as jsonResult, ot as logInboundDrop, pt as evictOldHistoryKeys, sr as readNumberParam, st as logTypingFailure, wn as resolveAckReaction, zn as resolveServicePrefixedAllowTarget, zr as resolveControlCommandGate } from "./thread-bindings-
|
|
2
|
+
import { B as createAccountListHelpers, _ as formatPairingApproveHint, o as mapAllowFromEntries } from "./channel-config-helpers-CX9AfjCJ.js";
|
|
3
|
+
import { Dr as DM_GROUP_ACCESS_REASON, E as formatDocsLink, Ha as resolveBlueBubblesGroupRequireMention, Hn as resolveServicePrefixedTarget, Ln as parseChatAllowTargetPrefixes, Mr as resolveDmGroupAccessWithLists, Ns as BLUEBUBBLES_ACTIONS, Or as readStoreAllowFromForDmPolicy, P as extractToolSend, Ps as BLUEBUBBLES_ACTION_NAMES, Qn as readBooleanParam, Rn as parseChatTargetPrefixesOrThrow, Ua as resolveBlueBubblesGroupToolPolicy, V as resolveRequestUrl, Xn as resolveChannelMediaMaxBytes, Z as issuePairingChallenge, Zi as parseFiniteNumber, ar as createActionGate, at as logAckFailure, cr as readReactionParams, h as ToolPolicySchema, ht as recordPendingHistoryEntryIfEnabled, io as isAllowedParsedChatSender, it as createReplyPrefixOptions, lr as readStringParam, or as jsonResult, ot as logInboundDrop, pt as evictOldHistoryKeys, sr as readNumberParam, st as logTypingFailure, wn as resolveAckReaction, zn as resolveServicePrefixedAllowTarget, zr as resolveControlCommandGate } from "./thread-bindings-s08Q6gLk.js";
|
|
4
4
|
import "./paths-WR8OhEmw.js";
|
|
5
5
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
6
|
-
import "./logger-
|
|
6
|
+
import "./logger-D-go2oXy.js";
|
|
7
7
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
8
|
-
import "./subsystem-
|
|
9
|
-
import "./utils-
|
|
10
|
-
import "./fetch-
|
|
11
|
-
import "./exec-
|
|
8
|
+
import "./subsystem-DOh66yR6.js";
|
|
9
|
+
import "./utils-BhiRkVxe.js";
|
|
10
|
+
import "./fetch-Cqwcg-Kq.js";
|
|
11
|
+
import "./exec-88qB5pUO.js";
|
|
12
12
|
import "./thinking-B2k7q5lY.js";
|
|
13
|
-
import "./query-expansion-
|
|
14
|
-
import "./logger-
|
|
13
|
+
import "./query-expansion-dBUsAz2h.js";
|
|
14
|
+
import "./logger-Jt8cCPPV.js";
|
|
15
15
|
import { H as setAccountEnabledInConfigSection, V as deleteAccountFromConfigSection, at as normalizeSecretInputString, it as normalizeResolvedSecretInputString, m as MarkdownConfigSchema, tt as hasConfiguredSecretInput } from "./zod-schema.core-GWl_s9xp.js";
|
|
16
|
-
import "./redact-
|
|
17
|
-
import "./http-registry-
|
|
16
|
+
import "./redact-CqHkGWow.js";
|
|
17
|
+
import "./http-registry-CR-l0QpT.js";
|
|
18
18
|
import "./pairing-token-BwgaSu88.js";
|
|
19
19
|
import "./ssrf-Dlo7BZU6.js";
|
|
20
|
-
import "./fetch-guard-
|
|
20
|
+
import "./fetch-guard-DEyOIg88.js";
|
|
21
21
|
import { u as stripMarkdown } from "./runtime-group-policy-CDs_9_tb.js";
|
|
22
22
|
import "./registry-N-tffRct.js";
|
|
23
23
|
import "./http-body-CLS7yD5S.js";
|
|
24
24
|
import { t as emptyPluginConfigSchema } from "./config-schema-D85tZOYm.js";
|
|
25
|
-
import { c as resolveWebhookTargets, l as withResolvedWebhookRequestPipeline, n as registerWebhookTargetWithPluginRoute, s as resolveWebhookTargetWithAuthOrRejectSync, u as normalizeWebhookPath } from "./webhook-targets-
|
|
25
|
+
import { c as resolveWebhookTargets, l as withResolvedWebhookRequestPipeline, n as registerWebhookTargetWithPluginRoute, s as resolveWebhookTargetWithAuthOrRejectSync, u as normalizeWebhookPath } from "./webhook-targets-t3fxeJQf.js";
|
|
26
26
|
import { a as createWebhookInFlightLimiter, c as readWebhookBodyOrReject, i as beginWebhookRequestPipelineOrReject } from "./webhook-request-guards-BSr2HYoW.js";
|
|
27
27
|
import { i as buildProbeChannelStatusSummary, r as buildComputedAccountStatusSnapshot } from "./status-helpers-BZuLH1ue.js";
|
|
28
28
|
import "./provider-env-vars-BJJqyIIb.js";
|
|
29
|
-
import { C as setTopLevelChannelDmPolicyWithAllowFrom, h as resolveAccountIdForConfigure, i as mergeAllowFromEntries, t as addWildcardAllowFrom, u as promptAccountId } from "./helpers-
|
|
29
|
+
import { C as setTopLevelChannelDmPolicyWithAllowFrom, h as resolveAccountIdForConfigure, i as mergeAllowFromEntries, t as addWildcardAllowFrom, u as promptAccountId } from "./helpers-CfIIkFSu.js";
|
|
30
30
|
import { a as patchScopedAccountConfig, r as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "./setup-helpers-B1M39J3a.js";
|
|
31
31
|
import { i as buildChannelConfigSchema } from "./config-schema-BPehl1ON.js";
|
|
32
32
|
import { t as createScopedPairingAccess } from "./pairing-access-bXidxMna.js";
|
|
33
33
|
import { t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-D2kONGcQ.js";
|
|
34
34
|
import "./shared-B4PQjsPw.js";
|
|
35
|
-
import { t as collectBlueBubblesStatusIssues } from "./bluebubbles-
|
|
35
|
+
import { t as collectBlueBubblesStatusIssues } from "./bluebubbles-B_tcmPhi.js";
|
|
36
36
|
import { t as buildSecretInputSchema } from "./secret-input-schema-BndfDcYr.js";
|
|
37
37
|
export { BLUEBUBBLES_ACTIONS, BLUEBUBBLES_ACTION_NAMES, DEFAULT_ACCOUNT_ID, DM_GROUP_ACCESS_REASON, MarkdownConfigSchema, PAIRING_APPROVED_MESSAGE, ToolPolicySchema, addWildcardAllowFrom, applyAccountNameToChannelSection, beginWebhookRequestPipelineOrReject, buildChannelConfigSchema, buildComputedAccountStatusSnapshot, buildProbeChannelStatusSummary, buildSecretInputSchema, collectBlueBubblesStatusIssues, createAccountListHelpers, createActionGate, createReplyPrefixOptions, createScopedPairingAccess, createWebhookInFlightLimiter, deleteAccountFromConfigSection, emptyPluginConfigSchema, evictOldHistoryKeys, extractToolSend, formatDocsLink, formatPairingApproveHint, hasConfiguredSecretInput, isAllowedParsedChatSender, issuePairingChallenge, jsonResult, logAckFailure, logInboundDrop, logTypingFailure, mapAllowFromEntries, mergeAllowFromEntries, migrateBaseNameToDefaultAccount, normalizeAccountId, normalizeResolvedSecretInputString, normalizeSecretInputString, normalizeWebhookPath, parseChatAllowTargetPrefixes, parseChatTargetPrefixesOrThrow, parseFiniteNumber, patchScopedAccountConfig, promptAccountId, readBooleanParam, readNumberParam, readReactionParams, readStoreAllowFromForDmPolicy, readStringParam, readWebhookBodyOrReject, recordPendingHistoryEntryIfEnabled, registerWebhookTargetWithPluginRoute, resolveAccountIdForConfigure, resolveAckReaction, resolveBlueBubblesGroupRequireMention, resolveBlueBubblesGroupToolPolicy, resolveChannelMediaMaxBytes, resolveControlCommandGate, resolveDmGroupAccessWithLists, resolveRequestUrl, resolveServicePrefixedAllowTarget, resolveServicePrefixedTarget, resolveWebhookTargetWithAuthOrRejectSync, resolveWebhookTargets, setAccountEnabledInConfigSection, setTopLevelChannelDmPolicyWithAllowFrom, stripMarkdown, withResolvedWebhookRequestPipeline };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as promptChannelAccessConfig } from "./channel-access-
|
|
1
|
+
import { t as promptChannelAccessConfig } from "./channel-access-x4F67APW.js";
|
|
2
2
|
//#region src/channels/plugins/onboarding/channel-access-configure.ts
|
|
3
3
|
async function configureChannelAccessWithAllowlist(params) {
|
|
4
4
|
let next = params.cfg;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as splitOnboardingEntries } from "./helpers-
|
|
1
|
+
import { T as splitOnboardingEntries } from "./helpers-CfIIkFSu.js";
|
|
2
2
|
//#region src/channels/plugins/onboarding/channel-access.ts
|
|
3
3
|
function parseAllowlistEntries(raw) {
|
|
4
4
|
return splitOnboardingEntries(String(raw ?? ""));
|
package/dist/plugin-sdk/{channel-config-helpers-CFkTEzkz.js → channel-config-helpers-CX9AfjCJ.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as normalizeOptionalAccountId, g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-CbP51u9x.js";
|
|
2
2
|
import { o as resolveOAuthDir } from "./paths-WR8OhEmw.js";
|
|
3
|
-
import { t as getChildLogger } from "./logger-
|
|
4
|
-
import { a as defaultRuntime, h as success, u as info } from "./subsystem-
|
|
5
|
-
import { d as normalizeE164, h as resolveUserPath, u as jidToE164 } from "./utils-
|
|
3
|
+
import { t as getChildLogger } from "./logger-D-go2oXy.js";
|
|
4
|
+
import { a as defaultRuntime, h as success, u as info } from "./subsystem-DOh66yR6.js";
|
|
5
|
+
import { d as normalizeE164, h as resolveUserPath, u as jidToE164 } from "./utils-BhiRkVxe.js";
|
|
6
6
|
import { r as normalizeStringEntries } from "./string-normalization--tsDKZhl.js";
|
|
7
7
|
import { H as setAccountEnabledInConfigSection, V as deleteAccountFromConfigSection } from "./zod-schema.core-GWl_s9xp.js";
|
|
8
8
|
import fs from "node:fs";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./channel-config-helpers-
|
|
2
|
-
import { Xt as compactEmbeddedPiSessionDirect } from "./thread-bindings-
|
|
1
|
+
import "./channel-config-helpers-CX9AfjCJ.js";
|
|
2
|
+
import { Xt as compactEmbeddedPiSessionDirect } from "./thread-bindings-s08Q6gLk.js";
|
|
3
3
|
import "./paths-WR8OhEmw.js";
|
|
4
4
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-
|
|
5
|
+
import "./logger-D-go2oXy.js";
|
|
6
6
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./utils-
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./exec-
|
|
7
|
+
import "./subsystem-DOh66yR6.js";
|
|
8
|
+
import "./utils-BhiRkVxe.js";
|
|
9
|
+
import "./fetch-Cqwcg-Kq.js";
|
|
10
|
+
import "./exec-88qB5pUO.js";
|
|
11
11
|
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-
|
|
13
|
-
import "./logger-
|
|
12
|
+
import "./query-expansion-dBUsAz2h.js";
|
|
13
|
+
import "./logger-Jt8cCPPV.js";
|
|
14
14
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-
|
|
16
|
-
import "./http-registry-
|
|
15
|
+
import "./redact-CqHkGWow.js";
|
|
16
|
+
import "./http-registry-CR-l0QpT.js";
|
|
17
17
|
import "./pairing-token-BwgaSu88.js";
|
|
18
18
|
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-
|
|
19
|
+
import "./fetch-guard-DEyOIg88.js";
|
|
20
20
|
import "./registry-N-tffRct.js";
|
|
21
21
|
import "./http-body-CLS7yD5S.js";
|
|
22
22
|
export { compactEmbeddedPiSessionDirect };
|