@qingchencloud/openclaw-zh 2026.2.12-zh.4 → 2026.2.12-zh.6
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/{audio-preflight-BNKhW-Vt.js → audio-preflight-C1qO9t63.js} +5 -5
- package/dist/{audio-preflight-ZHvOxKXt.js → audio-preflight-H6j5U0KI.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/{chrome-BfB6JdKF.js → chrome-DBK0k-zW.js} +7 -7
- package/dist/{chrome-DdVSJTXz.js → chrome-DL0avO8n.js} +7 -7
- package/dist/{completion-cli-CyzyrHrR.js → completion-cli-Bh5I8KKW.js} +1 -1
- package/dist/{completion-cli-2Bc_7G0a.js → completion-cli-CcaE0pUj.js} +2 -2
- package/dist/{config-guard-Qy6xO2kN.js → config-guard-Dwy_SXfj.js} +3 -3
- package/dist/{deliver-DazjengH.js → deliver-Cfwk8SNA.js} +2 -2
- package/dist/{deliver-DwAAnv-O.js → deliver-ufxTyb_h.js} +2 -2
- package/dist/{doctor-x8clSb3C.js → doctor-BLN7IPI4.js} +1 -1
- package/dist/{doctor-DccTxMMp.js → doctor-mJ96-PMI.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +14 -14
- package/dist/{fetch-timeout-D9vZxmn-.js → fetch-timeout-CQAXYpkf.js} +1 -1
- package/dist/{fetch-timeout-urfh02mK.js → fetch-timeout-ZWIvvTQK.js} +1 -1
- package/dist/{gateway-cli-L7E32fcm.js → gateway-cli-DRTmlmrN.js} +4 -4
- package/dist/{gateway-cli-CnNUVLJw.js → gateway-cli-JDQ6uvV5.js} +3 -3
- package/dist/{image-Z9r6K1Eq.js → image-BE3W5CBO.js} +1 -1
- package/dist/{image-DYbYO_Of.js → image-Se69TxM6.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{onboarding-Cm5cxA6O.js → onboarding-FiHTLDne.js} +2 -2
- package/dist/{pi-embedded-C-S7ujlk.js → pi-embedded-BajpkVXG.js} +14 -14
- package/dist/{pi-embedded-helpers-B8kx4lpS.js → pi-embedded-helpers-BIzZ1S6e.js} +4 -4
- package/dist/{pi-embedded-helpers-BIu8IFQZ.js → pi-embedded-helpers-D6YyZfbk.js} +4 -4
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{program-Bv5v01xf.js → program-CDBEm6if.js} +6 -6
- package/dist/{pw-ai-FGoRVblI.js → pw-ai-BC4pMrPo.js} +1 -1
- package/dist/{pw-ai-eOgDb58E.js → pw-ai-sS1fRKW_.js} +1 -1
- package/dist/{register.subclis-B2BD8ORC.js → register.subclis-RSfGxYNZ.js} +3 -3
- package/dist/{run-main-BPyWOeaK.js → run-main-CoC16qlB.js} +8 -8
- package/dist/{runner-D-Iscnow.js → runner-BlBPOkt7.js} +3 -3
- package/dist/{runner-nc039KUI.js → runner-Dh_HAVq-.js} +3 -3
- package/dist/{status-DUJJSMsU.js → status-D7wvJfkI.js} +2 -2
- package/dist/{update-cli-BEUw_fIP.js → update-cli-CWwlZWt8.js} +4 -4
- package/dist/{update-cli-CHfWPN1e.js → update-cli-I4ys5Qke.js} +5 -5
- package/dist/{update-runner-DnDmKzoe.js → update-runner-fgGnSCWB.js} +1 -1
- package/dist/{update-runner-DKTjSH-j.js → update-runner-x-LsF29G.js} +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "./paths-BZtyHNCi.js";
|
|
2
2
|
import "./agent-scope-CzIrFPCY.js";
|
|
3
3
|
import { Y as logVerbose, Z as shouldLogVerbose } from "./exec-B8lXct-k.js";
|
|
4
|
-
import "./pi-embedded-helpers-
|
|
4
|
+
import "./pi-embedded-helpers-D6YyZfbk.js";
|
|
5
5
|
import "./model-auth-a4aBSOeG.js";
|
|
6
6
|
import "./config-Bwm-jWmj.js";
|
|
7
7
|
import "./github-copilot-token-DkiRbJdR.js";
|
|
8
8
|
import "./pi-model-discovery-DqgqUyAv.js";
|
|
9
|
-
import "./chrome-
|
|
9
|
+
import "./chrome-DBK0k-zW.js";
|
|
10
10
|
import "./paths-Zbzpgrfo.js";
|
|
11
|
-
import "./image-
|
|
11
|
+
import "./image-Se69TxM6.js";
|
|
12
12
|
import "./redact-BrXLgslJ.js";
|
|
13
|
-
import "./fetch-timeout-
|
|
14
|
-
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
13
|
+
import "./fetch-timeout-CQAXYpkf.js";
|
|
14
|
+
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-Dh_HAVq-.js";
|
|
15
15
|
|
|
16
16
|
//#region src/media-understanding/audio-preflight.ts
|
|
17
17
|
/**
|
|
@@ -3,15 +3,15 @@ import "./agent-scope-vDqmal6_.js";
|
|
|
3
3
|
import { J as logVerbose, X as shouldLogVerbose } from "./exec-CJFFoM7H.js";
|
|
4
4
|
import "./model-selection-DYQRxo9K.js";
|
|
5
5
|
import "./github-copilot-token-wCk9Fg_E.js";
|
|
6
|
-
import "./pi-embedded-helpers-
|
|
6
|
+
import "./pi-embedded-helpers-BIzZ1S6e.js";
|
|
7
7
|
import "./config-B7W10B0P.js";
|
|
8
8
|
import "./pi-model-discovery-EhM2JAQo.js";
|
|
9
|
-
import "./chrome-
|
|
9
|
+
import "./chrome-DL0avO8n.js";
|
|
10
10
|
import "./paths-BSvO0qdk.js";
|
|
11
|
-
import "./image-
|
|
11
|
+
import "./image-BE3W5CBO.js";
|
|
12
12
|
import "./redact-BIMJ3ntQ.js";
|
|
13
|
-
import "./fetch-timeout-
|
|
14
|
-
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
13
|
+
import "./fetch-timeout-ZWIvvTQK.js";
|
|
14
|
+
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-BlBPOkt7.js";
|
|
15
15
|
|
|
16
16
|
//#region src/media-understanding/audio-preflight.ts
|
|
17
17
|
/**
|
package/dist/build-info.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "../../paths-BZtyHNCi.js";
|
|
2
2
|
import { M as normalizeAgentId, N as normalizeMainKey, P as resolveAgentIdFromSessionKey, a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, y as ensureAgentWorkspace } from "../../agent-scope-CzIrFPCY.js";
|
|
3
3
|
import { g as DEFAULT_CHAT_CHANNEL, l as createSubsystemLogger, u as defaultRuntime } from "../../exec-B8lXct-k.js";
|
|
4
|
-
import { J as SILENT_REPLY_TOKEN, a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, m as sendMessageSignal, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-
|
|
5
|
-
import { C as emitAgentEvent, D as sendMessageSlack, E as sendMessageWhatsApp, S as clearAgentRunContext, _ as clearSessionAuthProfileOverride, a as getCliSessionId, b as resolveAgentTimeoutMs, c as resolveOutboundTarget, d as deriveSessionTotalTokens, f as hasNonzeroUsage, g as lookupContextTokens, h as getSkillsSnapshotVersion, i as sendMessageDiscord, l as resolveSessionDeliveryTarget, m as getRemoteSkillEligibility, n as sendMessageIMessage, o as setCliSessionId, p as resolveSendPolicy, r as sendMessageTelegram, s as runCliAgent, t as runEmbeddedPiAgent, u as runWithModelFallback, v as applyModelOverrideToSessionEntry, w as registerAgentRunContext, x as AGENT_LANE_NESTED, y as applyVerboseOverride } from "../../pi-embedded-
|
|
6
|
-
import { $ as updateSessionStore, Gt as buildWorkspaceSkillSnapshot, Ln as getChannelPlugin, Y as loadSessionStore, a as formatXHighModelHint, ct as normalizeAccountId, d as normalizeVerboseLevel, dt as evaluateSessionFreshness, ft as resolveChannelResetConfig, gn as isInternalMessageChannel, hn as isGatewayMessageChannel, i as formatThinkingLevels, l as normalizeThinkLevel, mn as isDeliverableMessageChannel, mt as resolveSessionResetType, p as supportsXHighThinking, pn as INTERNAL_MESSAGE_CHANNEL, pt as resolveSessionResetPolicy, ut as resolveSessionKey, vt as resolveExplicitAgentSessionKey, xn as resolveMessageChannel, yn as normalizeMessageChannel, yt as resolveMainSessionKey, zn as normalizeChannelId } from "../../pi-embedded-helpers-
|
|
4
|
+
import { J as SILENT_REPLY_TOKEN, a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, m as sendMessageSignal, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-ufxTyb_h.js";
|
|
5
|
+
import { C as emitAgentEvent, D as sendMessageSlack, E as sendMessageWhatsApp, S as clearAgentRunContext, _ as clearSessionAuthProfileOverride, a as getCliSessionId, b as resolveAgentTimeoutMs, c as resolveOutboundTarget, d as deriveSessionTotalTokens, f as hasNonzeroUsage, g as lookupContextTokens, h as getSkillsSnapshotVersion, i as sendMessageDiscord, l as resolveSessionDeliveryTarget, m as getRemoteSkillEligibility, n as sendMessageIMessage, o as setCliSessionId, p as resolveSendPolicy, r as sendMessageTelegram, s as runCliAgent, t as runEmbeddedPiAgent, u as runWithModelFallback, v as applyModelOverrideToSessionEntry, w as registerAgentRunContext, x as AGENT_LANE_NESTED, y as applyVerboseOverride } from "../../pi-embedded-BajpkVXG.js";
|
|
6
|
+
import { $ as updateSessionStore, Gt as buildWorkspaceSkillSnapshot, Ln as getChannelPlugin, Y as loadSessionStore, a as formatXHighModelHint, ct as normalizeAccountId, d as normalizeVerboseLevel, dt as evaluateSessionFreshness, ft as resolveChannelResetConfig, gn as isInternalMessageChannel, hn as isGatewayMessageChannel, i as formatThinkingLevels, l as normalizeThinkLevel, mn as isDeliverableMessageChannel, mt as resolveSessionResetType, p as supportsXHighThinking, pn as INTERNAL_MESSAGE_CHANNEL, pt as resolveSessionResetPolicy, ut as resolveSessionKey, vt as resolveExplicitAgentSessionKey, xn as resolveMessageChannel, yn as normalizeMessageChannel, yt as resolveMainSessionKey, zn as normalizeChannelId } from "../../pi-embedded-helpers-D6YyZfbk.js";
|
|
7
7
|
import { I as DEFAULT_CONTEXT_TOKENS, L as DEFAULT_MODEL, O as resolveThinkingDefault, R as DEFAULT_PROVIDER, S as modelKey, T as resolveConfiguredModelRef, h as ensureAuthProfileStore, v as buildAllowedModelSet, x as isCliProvider } from "../../model-auth-a4aBSOeG.js";
|
|
8
8
|
import { t as formatCliCommand } from "../../command-format-qUVxzqYm.js";
|
|
9
9
|
import { t as loadConfig } from "../../config-Bwm-jWmj.js";
|
|
10
10
|
import "../../github-copilot-token-DkiRbJdR.js";
|
|
11
11
|
import "../../pi-model-discovery-DqgqUyAv.js";
|
|
12
|
-
import "../../chrome-
|
|
12
|
+
import "../../chrome-DBK0k-zW.js";
|
|
13
13
|
import { n as resolveSessionFilePath, o as resolveStorePath } from "../../paths-Zbzpgrfo.js";
|
|
14
|
-
import "../../image-
|
|
14
|
+
import "../../image-Se69TxM6.js";
|
|
15
15
|
import "../../manager-uvWYLB0i.js";
|
|
16
16
|
import "../../sqlite-CVNCxBL9.js";
|
|
17
17
|
import "../../redact-BrXLgslJ.js";
|
|
18
|
-
import "../../fetch-timeout-
|
|
19
|
-
import { s as loadModelCatalog } from "../../runner-
|
|
18
|
+
import "../../fetch-timeout-CQAXYpkf.js";
|
|
19
|
+
import { s as loadModelCatalog } from "../../runner-Dh_HAVq-.js";
|
|
20
20
|
import "../../login-qr-DJ1Ty1b5.js";
|
|
21
21
|
import fs from "node:fs/promises";
|
|
22
22
|
import path from "node:path";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { s as resolveStateDir } from "../../paths-BZtyHNCi.js";
|
|
2
2
|
import { P as resolveAgentIdFromSessionKey, s as resolveAgentWorkspaceDir } from "../../agent-scope-CzIrFPCY.js";
|
|
3
3
|
import { l as createSubsystemLogger } from "../../exec-B8lXct-k.js";
|
|
4
|
-
import "../../deliver-
|
|
5
|
-
import { T as hasInterSessionUserProvenance } from "../../pi-embedded-
|
|
6
|
-
import "../../pi-embedded-helpers-
|
|
4
|
+
import "../../deliver-ufxTyb_h.js";
|
|
5
|
+
import { T as hasInterSessionUserProvenance } from "../../pi-embedded-BajpkVXG.js";
|
|
6
|
+
import "../../pi-embedded-helpers-D6YyZfbk.js";
|
|
7
7
|
import "../../model-auth-a4aBSOeG.js";
|
|
8
8
|
import "../../config-Bwm-jWmj.js";
|
|
9
9
|
import "../../github-copilot-token-DkiRbJdR.js";
|
|
10
10
|
import "../../pi-model-discovery-DqgqUyAv.js";
|
|
11
|
-
import "../../chrome-
|
|
11
|
+
import "../../chrome-DBK0k-zW.js";
|
|
12
12
|
import "../../paths-Zbzpgrfo.js";
|
|
13
|
-
import "../../image-
|
|
13
|
+
import "../../image-Se69TxM6.js";
|
|
14
14
|
import "../../manager-uvWYLB0i.js";
|
|
15
15
|
import "../../sqlite-CVNCxBL9.js";
|
|
16
16
|
import "../../redact-BrXLgslJ.js";
|
|
17
|
-
import "../../fetch-timeout-
|
|
18
|
-
import "../../runner-
|
|
17
|
+
import "../../fetch-timeout-CQAXYpkf.js";
|
|
18
|
+
import "../../runner-Dh_HAVq-.js";
|
|
19
19
|
import "../../login-qr-DJ1Ty1b5.js";
|
|
20
20
|
import { generateSlugViaLLM } from "../../llm-slug-generator.js";
|
|
21
21
|
import fs from "node:fs/promises";
|
|
@@ -8,7 +8,7 @@ import fs$1 from "node:fs";
|
|
|
8
8
|
import { execFileSync, spawn } from "node:child_process";
|
|
9
9
|
import { randomBytes } from "node:crypto";
|
|
10
10
|
import { createServer } from "node:http";
|
|
11
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
11
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
12
12
|
import net from "node:net";
|
|
13
13
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
14
14
|
|
|
@@ -173,7 +173,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
173
173
|
let nextExtensionId = 1;
|
|
174
174
|
const sendToExtension = async (payload) => {
|
|
175
175
|
const ws = extensionWs;
|
|
176
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
176
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
177
177
|
ws.send(JSON.stringify(payload));
|
|
178
178
|
return await new Promise((resolve, reject) => {
|
|
179
179
|
const timer = setTimeout(() => {
|
|
@@ -190,12 +190,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
190
190
|
const broadcastToCdpClients = (evt) => {
|
|
191
191
|
const msg = JSON.stringify(evt);
|
|
192
192
|
for (const ws of cdpClients) {
|
|
193
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
193
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
194
194
|
ws.send(msg);
|
|
195
195
|
}
|
|
196
196
|
};
|
|
197
197
|
const sendResponseToCdp = (ws, res) => {
|
|
198
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
198
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
199
199
|
ws.send(JSON.stringify(res));
|
|
200
200
|
};
|
|
201
201
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -415,7 +415,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
415
415
|
wssExtension.on("connection", (ws) => {
|
|
416
416
|
extensionWs = ws;
|
|
417
417
|
const ping = setInterval(() => {
|
|
418
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
418
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
419
419
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
420
420
|
}, 5e3);
|
|
421
421
|
ws.on("message", (data) => {
|
|
@@ -712,7 +712,7 @@ async function fetchJson(url, timeoutMs = 1500, init) {
|
|
|
712
712
|
}
|
|
713
713
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
714
714
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
715
|
-
const ws = new WebSocket(wsUrl, {
|
|
715
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
716
716
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
717
717
|
...Object.keys(headers).length ? { headers } : {}
|
|
718
718
|
});
|
|
@@ -1847,7 +1847,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1847
1847
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1848
1848
|
return await new Promise((resolve) => {
|
|
1849
1849
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1850
|
-
const ws = new WebSocket(wsUrl, {
|
|
1850
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1851
1851
|
handshakeTimeout: timeoutMs,
|
|
1852
1852
|
...Object.keys(headers).length ? { headers } : {}
|
|
1853
1853
|
});
|
|
@@ -8,7 +8,7 @@ import fs$1 from "node:fs/promises";
|
|
|
8
8
|
import { execFileSync, spawn } from "node:child_process";
|
|
9
9
|
import { randomBytes } from "node:crypto";
|
|
10
10
|
import { createServer } from "node:http";
|
|
11
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
11
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
12
12
|
import net from "node:net";
|
|
13
13
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
14
14
|
|
|
@@ -173,7 +173,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
173
173
|
let nextExtensionId = 1;
|
|
174
174
|
const sendToExtension = async (payload) => {
|
|
175
175
|
const ws = extensionWs;
|
|
176
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
176
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
177
177
|
ws.send(JSON.stringify(payload));
|
|
178
178
|
return await new Promise((resolve, reject) => {
|
|
179
179
|
const timer = setTimeout(() => {
|
|
@@ -190,12 +190,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
190
190
|
const broadcastToCdpClients = (evt) => {
|
|
191
191
|
const msg = JSON.stringify(evt);
|
|
192
192
|
for (const ws of cdpClients) {
|
|
193
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
193
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
194
194
|
ws.send(msg);
|
|
195
195
|
}
|
|
196
196
|
};
|
|
197
197
|
const sendResponseToCdp = (ws, res) => {
|
|
198
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
198
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
199
199
|
ws.send(JSON.stringify(res));
|
|
200
200
|
};
|
|
201
201
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -415,7 +415,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
415
415
|
wssExtension.on("connection", (ws) => {
|
|
416
416
|
extensionWs = ws;
|
|
417
417
|
const ping = setInterval(() => {
|
|
418
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
418
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
419
419
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
420
420
|
}, 5e3);
|
|
421
421
|
ws.on("message", (data) => {
|
|
@@ -712,7 +712,7 @@ async function fetchJson(url, timeoutMs = 1500, init) {
|
|
|
712
712
|
}
|
|
713
713
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
714
714
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
715
|
-
const ws = new WebSocket(wsUrl, {
|
|
715
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
716
716
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
717
717
|
...Object.keys(headers).length ? { headers } : {}
|
|
718
718
|
});
|
|
@@ -1847,7 +1847,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1847
1847
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1848
1848
|
return await new Promise((resolve) => {
|
|
1849
1849
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1850
|
-
const ws = new WebSocket(wsUrl, {
|
|
1850
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1851
1851
|
handshakeTimeout: timeoutMs,
|
|
1852
1852
|
...Object.keys(headers).length ? { headers } : {}
|
|
1853
1853
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Z as resolveStateDir } from "./entry.js";
|
|
3
3
|
import { h as pathExists } from "./utils-BLJAc3ZV.js";
|
|
4
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
4
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-RSfGxYNZ.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
@@ -125,7 +125,7 @@ const entries = [
|
|
|
125
125
|
name: "gateway",
|
|
126
126
|
description: "网关控制",
|
|
127
127
|
register: async (program) => {
|
|
128
|
-
(await import("./gateway-cli-
|
|
128
|
+
(await import("./gateway-cli-JDQ6uvV5.js")).registerGatewayCli(program);
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
{
|
|
@@ -283,7 +283,7 @@ const entries = [
|
|
|
283
283
|
name: "update",
|
|
284
284
|
description: "CLI 更新工具",
|
|
285
285
|
register: async (program) => {
|
|
286
|
-
(await import("./update-cli-
|
|
286
|
+
(await import("./update-cli-CWwlZWt8.js")).registerUpdateCli(program);
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
289
|
{
|
|
@@ -23,7 +23,7 @@ import { P as resolveFreshSessionTotalTokens, d as loadSessionStore } from "./sa
|
|
|
23
23
|
import { n as formatTimeAgo } from "./format-relative-CZOlQ2pA.js";
|
|
24
24
|
import { n as runCommandWithRuntime } from "./cli-utils-LcHOt63h.js";
|
|
25
25
|
import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-DYRvCvYt.js";
|
|
26
|
-
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-
|
|
26
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-RSfGxYNZ.js";
|
|
27
27
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-D_jqdWkd.js";
|
|
28
28
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DtfOsxPK.js";
|
|
29
29
|
import { t as createDefaultDeps } from "./deps-DT6W1A83.js";
|
|
@@ -35,12 +35,12 @@ import { _ as applyOpenAIConfig, a as applyCustomApiConfig, b as applyGoogleGemi
|
|
|
35
35
|
import { l as healthCommand } from "./health-format-CZ--pwnE.js";
|
|
36
36
|
import { C as applyLitellmConfig, E as applyMoonshotConfigCn, F as applySyntheticConfig, G as applyXiaomiConfig, L as applyTogetherConfig, N as applyShengsuanyunConfig, Ot as buildTokenProfileId, T as applyMoonshotConfig, U as applyXaiConfig, V as applyVercelAiGatewayConfig, _t as setXiaomiApiKey, at as setLitellmApiKey, ct as setOpencodeZenApiKey, dt as setShengSuanYunApiKey, f as applyOpencodeZenConfig, ft as setSyntheticApiKey, g as applyMinimaxConfig, gt as setXaiApiKey, ht as setVercelAiGatewayApiKey, it as setKimiCodingApiKey, j as applyQianfanConfig, k as applyOpenrouterConfig, kt as validateAnthropicSetupToken, lt as setOpenrouterApiKey, m as applyMinimaxApiConfig, mt as setVeniceApiKey, nt as setCloudflareAiGatewayConfig, ot as setMinimaxApiKey, pt as setTogetherApiKey, q as applyZaiConfig, rt as setGeminiApiKey, st as setMoonshotApiKey, tt as setAnthropicApiKey, ut as setQianfanApiKey, v as applyAuthProfileConfig, vt as setZaiApiKey, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyVeniceConfig } from "./github-copilot-auth-B60M4Pk2.js";
|
|
37
37
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-CRq4h04P.js";
|
|
38
|
-
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-
|
|
38
|
+
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-D7wvJfkI.js";
|
|
39
39
|
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-CRIyzXmq.js";
|
|
40
40
|
import { t as formatHelpExamples } from "./help-format-R5fLToDw.js";
|
|
41
41
|
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-CVEM7ZqO.js";
|
|
42
42
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-xdn3BdPh.js";
|
|
43
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
43
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-mJ96-PMI.js";
|
|
44
44
|
import path from "node:path";
|
|
45
45
|
import fs from "node:fs";
|
|
46
46
|
import JSON5 from "json5";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { j as normalizeAccountId$1 } from "./agent-scope-vDqmal6_.js";
|
|
3
3
|
import { J as logVerbose, O as escapeRegExp, R as resolveUserPath, X as shouldLogVerbose, b as getActivePluginRegistry, l as createSubsystemLogger } from "./exec-CJFFoM7H.js";
|
|
4
|
-
import { Cn as detectMime, Fn as getChannelPlugin, Ft as optimizeImageToPng, It as resizeToJpeg, J as resolveMirroredTranscriptText, Ln as normalizeChannelId, Mn as mediaKindFromMime, Mt as convertHeicToJpeg, Pn as resolveSignalAccount, Pt as hasAlphaChannel, Rt as saveMediaBuffer, bt as getChannelDock, fn as INTERNAL_MESSAGE_CHANNEL, jn as maxBytesForKind, m as isMessagingToolDuplicate, q as appendAssistantMessageToSessionTranscript, wn as extensionForMime } from "./pi-embedded-helpers-
|
|
4
|
+
import { Cn as detectMime, Fn as getChannelPlugin, Ft as optimizeImageToPng, It as resizeToJpeg, J as resolveMirroredTranscriptText, Ln as normalizeChannelId, Mn as mediaKindFromMime, Mt as convertHeicToJpeg, Pn as resolveSignalAccount, Pt as hasAlphaChannel, Rt as saveMediaBuffer, bt as getChannelDock, fn as INTERNAL_MESSAGE_CHANNEL, jn as maxBytesForKind, m as isMessagingToolDuplicate, q as appendAssistantMessageToSessionTranscript, wn as extensionForMime } from "./pi-embedded-helpers-BIzZ1S6e.js";
|
|
5
5
|
import { t as loadConfig } from "./config-B7W10B0P.js";
|
|
6
|
-
import { r as fetchRemoteMedia, t as fetchWithTimeout } from "./fetch-timeout-
|
|
6
|
+
import { r as fetchRemoteMedia, t as fetchWithTimeout } from "./fetch-timeout-ZWIvvTQK.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { j as normalizeAccountId$1 } from "./agent-scope-CzIrFPCY.js";
|
|
3
3
|
import { Y as logVerbose, Z as shouldLogVerbose, k as escapeRegExp, l as createSubsystemLogger, x as getActivePluginRegistry, z as resolveUserPath } from "./exec-B8lXct-k.js";
|
|
4
|
-
import { En as extensionForMime, Ft as hasAlphaChannel, In as resolveSignalAccount, It as optimizeImageToPng, J as resolveMirroredTranscriptText, Ln as getChannelPlugin, Lt as resizeToJpeg, Nn as maxBytesForKind, Nt as convertHeicToJpeg, Pn as mediaKindFromMime, Tn as detectMime, m as isMessagingToolDuplicate, pn as INTERNAL_MESSAGE_CHANNEL, q as appendAssistantMessageToSessionTranscript, xt as getChannelDock, zn as normalizeChannelId, zt as saveMediaBuffer } from "./pi-embedded-helpers-
|
|
4
|
+
import { En as extensionForMime, Ft as hasAlphaChannel, In as resolveSignalAccount, It as optimizeImageToPng, J as resolveMirroredTranscriptText, Ln as getChannelPlugin, Lt as resizeToJpeg, Nn as maxBytesForKind, Nt as convertHeicToJpeg, Pn as mediaKindFromMime, Tn as detectMime, m as isMessagingToolDuplicate, pn as INTERNAL_MESSAGE_CHANNEL, q as appendAssistantMessageToSessionTranscript, xt as getChannelDock, zn as normalizeChannelId, zt as saveMediaBuffer } from "./pi-embedded-helpers-D6YyZfbk.js";
|
|
5
5
|
import { t as loadConfig } from "./config-Bwm-jWmj.js";
|
|
6
|
-
import { r as fetchRemoteMedia, t as fetchWithTimeout } from "./fetch-timeout-
|
|
6
|
+
import { r as fetchRemoteMedia, t as fetchWithTimeout } from "./fetch-timeout-CQAXYpkf.js";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
@@ -28,7 +28,7 @@ import { n as logConfigUpdated } from "./logging-BAyPwvdH.js";
|
|
|
28
28
|
import { t as note$1 } from "./note-BhRSeNeu.js";
|
|
29
29
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-DSrxJ2PG.js";
|
|
30
30
|
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-kTD3mmIm.js";
|
|
31
|
-
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-
|
|
31
|
+
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-fgGnSCWB.js";
|
|
32
32
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-CVjDLqne.js";
|
|
33
33
|
import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLaunchAgentListed, o as resolveGatewayLogPaths, r as isLaunchAgentLoaded, t as resolveGatewayService } from "./service-_k92xd0b.js";
|
|
34
34
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DrmBtJ5T.js";
|
|
@@ -30,7 +30,7 @@ import { r as isSystemdUserServiceAvailable } from "./systemd-C0VZriGM.js";
|
|
|
30
30
|
import { n as renderSystemdUnavailableHints, t as isSystemdUnavailableDetail } from "./systemd-hints-DsH4XJ6V.js";
|
|
31
31
|
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, o as readLastGatewayErrorLine, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-Dj9U3c2F.js";
|
|
32
32
|
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-CZ--pwnE.js";
|
|
33
|
-
import { f as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-
|
|
33
|
+
import { f as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-x-LsF29G.js";
|
|
34
34
|
import { n as logConfigUpdated } from "./logging-CRq4h04P.js";
|
|
35
35
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DlFKDXgJ.js";
|
|
36
36
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-CAmZcrDg.js";
|
package/dist/entry.js
CHANGED
|
@@ -1454,7 +1454,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
1454
1454
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
1455
1455
|
process$1.argv = parsed.argv;
|
|
1456
1456
|
}
|
|
1457
|
-
import("./run-main-
|
|
1457
|
+
import("./run-main-CoC16qlB.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
1458
1458
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
1459
1459
|
process$1.exitCode = 1;
|
|
1460
1460
|
});
|
package/dist/extensionAPI.js
CHANGED
|
@@ -4,20 +4,20 @@ import { $ as colorize, A as isPlainObject, B as shortenHomeInString, C as CONFI
|
|
|
4
4
|
import { A as isTruthyEnvValue, B as ensureAuthProfileStore, C as resolveEnvApiKey, D as resolveShellEnvFallbackTimeoutMs, F as markAuthProfileFailure, G as DEFAULT_CONTEXT_TOKENS, H as resolveOpenClawAgentDir, I as markAuthProfileUsed, K as DEFAULT_MODEL, L as resolveApiKeyForProfile, N as resolveAuthProfileOrder, P as isProfileInCooldown, R as listProfilesForProvider, S as resolveApiKeyForProvider, T as getShellPathFromLoginShell, U as normalizeSecretInput, V as resolveAuthStorePathForDisplay, W as resolveAuthProfileDisplayLabel, _ as SHENGSUANYUN_BASE_URL, a as modelKey, b as getCustomProviderApiKey, c as resolveConfiguredModelRef, d as resolveThinkingDefault, i as isCliProvider, j as parseBooleanValue$1, l as resolveDefaultModelForAgent, n as buildConfiguredAllowlistKeys, o as normalizeProviderId, q as DEFAULT_PROVIDER, r as buildModelAliasIndex, t as buildAllowedModelSet, u as resolveModelRefFromString, v as getShengSuanYunModalityModels, w as resolveModelAuthMode, x as requireApiKey, y as getApiKeyForModel, z as markAuthProfileGood } from "./model-selection-DYQRxo9K.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-wCk9Fg_E.js";
|
|
6
6
|
import { n as resolveCliName, t as formatCliCommand } from "./command-format-CFzL448l.js";
|
|
7
|
-
import { A as loadWebMediaRaw, B as isSafeFenceBreak, C as parseInlineDirectives$1, D as markdownToIR, E as chunkMarkdownIR, F as chunkText, G as SILENT_REPLY_TOKEN, H as getGlobalHookRunner, I as chunkTextWithMode, K as isSilentReplyText, L as resolveChunkMode, M as chunkByNewline, N as chunkMarkdownText, O as markdownToIRWithMeta, P as chunkMarkdownTextWithMode, R as resolveTextChunkLimit, S as splitMediaFromOutput, T as wrapFetchWithAbortSignal, U as initializeGlobalHookRunner, V as parseFenceSpans, W as HEARTBEAT_TOKEN, _ as buildTargetResolverSignature, a as applyReplyThreading, b as throwIfAborted, c as shouldSuppressMessagingToolReplies, d as sendMessageSignal, f as sendReadReceiptSignal, g as streamSignalEvents, h as signalRpcRequest, i as applyReplyTagsToPayload, j as resolveMarkdownTableMode, k as loadWebMedia, 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 resolveFetch, x as parseReplyDirectives, y as normalizeTargetForProvider, z as findFenceSpanAt } from "./deliver-
|
|
8
|
-
import { $ as updateLastRoute, $t as resolveSandboxConfigForAgent, A as isBillingAssistantError, An as MAX_IMAGE_BYTES, At as resolveBrowserConfig, B as isTransientHttpError, Bn as listEnabledTelegramAccounts, C as BILLING_ERROR_USER_MESSAGE, Cn as detectMime, Ct as resolveChannelGroupPolicy, D as formatRawAssistantErrorForUi, Dn as isAudioFileName, Dt as resolveGroupSessionKey, E as formatBillingErrorMessage, En as imageMimeFromFormat, Et as resolveConversationLabel, F as isFailoverErrorMessage, Fn as getChannelPlugin, G as resolveSandboxContext, Gn as resolveSlackAccount, Gt as loadWorkspaceSkillEntries, H as parseImageSizeError, Hn as resolveTelegramAccount, I as isLikelyContextOverflowError, In as listChannelPlugins, It as resizeToJpeg, Jn as normalizeChatType, Jt as assertMediaNotDataUrl, K as resolveSandboxRuntimeStatus, Kn as resolveSlackAppToken, Kt as resolveSkillsPromptForRun, L as isRateLimitAssistantError, Ln as normalizeChannelId$1, Lt as getMediaDir, M as isCompactionFailureError, Mn as mediaKindFromMime, N as isContextOverflowError, Nn as listEnabledSignalAccounts, Nt as getImageMetadata, O as getApiErrorPayloadFingerprint, On as isGifMedia, Ot as createBrowserRouteContext, P as isFailoverAssistantError, Pn as resolveSignalAccount, Q as saveSessionStore, Qt as applySkillEnvOverridesFromSnapshot, R as isRawApiErrorPayload, Rn as isWhatsAppGroupJid, Rt as saveMediaBuffer, S as isGoogleModelApi, Sn as GATEWAY_CLIENT_NAMES, St as resolveIMessageAccount, T as formatAssistantErrorText, Tn as getFileExtension, Tt as resolveChannelGroupToolsPolicy, U as sanitizeUserFacingText, Un as resolveTelegramToken, Ut as buildWorkspaceSkillCommandSpecs, V as parseImageDimensionError, Vn as listTelegramAccountIds, W as ensureSandboxWorkspaceForSession, Wn as listBindings, Wt as buildWorkspaceSkillSnapshot, X as readSessionUpdatedAt, Xn as resolveDiscordAccount, Xt as resolveSandboxedMediaSource, Y as loadSessionStore, Yn as listEnabledDiscordAccounts, Yt as assertSandboxPath, Z as recordSessionMetaFromInbound, Zn as normalizeDiscordToken, Zt as applySkillEnvOverrides, _ as sanitizeSessionMessagesImages, _n as normalizeMessageChannel, _t as resolveFreshSessionTotalTokens, a as formatXHighModelHint, an as normalizeToolName, at as deliveryContextKey, b as downgradeOpenAIReasoningBlocks, bn as GATEWAY_CLIENT_IDS, bt as getChannelDock, c as normalizeReasoningLevel, cn as buildBootstrapContextFiles, ct as normalizeSessionDeliveryFields, d as normalizeVerboseLevel, dn as sanitizeGoogleTurnOrdering, dt as evaluateSessionFreshness, en as applyOwnerOnlyToolPolicy, et as updateSessionStore, f as resolveResponseUsageMode, fn as INTERNAL_MESSAGE_CHANNEL, ft as resolveChannelResetConfig, g as normalizeTextForComparison, gn as listDeliverableMessageChannels, gt as DEFAULT_RESET_TRIGGERS, h as isMessagingToolDuplicateNormalized, hn as isMarkdownCapableMessageChannel, ht as resolveThreadFlag, i as formatThinkingLevels, in as expandToolGroups, it as deliveryContextFromSession, j as isCloudCodeAssistFormatError, jt as resolveProfile, k as isAuthAssistantError, kt as registerBrowserRoutes, l as normalizeThinkLevel, ln as ensureSessionHeader, lt as acquireSessionWriteLock, mn as isInternalMessageChannel, mt as resolveSessionResetType, n as validateGeminiTurns, nn as collectExplicitAllowlist, nt as isCacheEnabled, o as listThinkingLevels, on as resolveToolProfilePolicy, ot as mergeDeliveryContext, p as supportsXHighThinking, pn as isDeliverableMessageChannel, pt as resolveSessionResetPolicy, q as appendAssistantMessageToSessionTranscript, qn as resolveSlackBotToken, qt as resolvePluginSkillDirs, r as pickFallbackThinkingLevel, rn as expandPolicyWithPluginGroups, rt as resolveCacheTtlMs$1, s as normalizeElevatedLevel, sn as stripPluginOnlyAllowlist, st as normalizeDeliveryContext, t as validateAnthropicTurns, tn as buildPluginToolGroups, tt as updateSessionStoreEntry, u as normalizeUsageDisplay, un as resolveBootstrapMaxChars, ut as resolveSessionKey$1, v as sanitizeImageBlocks, vn as resolveGatewayMessageChannel, vt as resolveMainSessionKey, w as classifyFailoverReason, wn as extensionForMime, wt as resolveChannelGroupRequireMention, x as isAntigravityClaude, xn as GATEWAY_CLIENT_MODES, xt as listChannelDocks, y as sanitizeToolResultImages, yn as resolveMessageChannel, yt as deriveSessionMetaPatch, z as isTimeoutErrorMessage, zn as normalizeWhatsAppTarget, zt as SsrFBlockedError } from "./pi-embedded-helpers-
|
|
7
|
+
import { A as loadWebMediaRaw, B as isSafeFenceBreak, C as parseInlineDirectives$1, D as markdownToIR, E as chunkMarkdownIR, F as chunkText, G as SILENT_REPLY_TOKEN, H as getGlobalHookRunner, I as chunkTextWithMode, K as isSilentReplyText, L as resolveChunkMode, M as chunkByNewline, N as chunkMarkdownText, O as markdownToIRWithMeta, P as chunkMarkdownTextWithMode, R as resolveTextChunkLimit, S as splitMediaFromOutput, T as wrapFetchWithAbortSignal, U as initializeGlobalHookRunner, V as parseFenceSpans, W as HEARTBEAT_TOKEN, _ as buildTargetResolverSignature, a as applyReplyThreading, b as throwIfAborted, c as shouldSuppressMessagingToolReplies, d as sendMessageSignal, f as sendReadReceiptSignal, g as streamSignalEvents, h as signalRpcRequest, i as applyReplyTagsToPayload, j as resolveMarkdownTableMode, k as loadWebMedia, 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 resolveFetch, x as parseReplyDirectives, y as normalizeTargetForProvider, z as findFenceSpanAt } from "./deliver-Cfwk8SNA.js";
|
|
8
|
+
import { $ as updateLastRoute, $t as resolveSandboxConfigForAgent, A as isBillingAssistantError, An as MAX_IMAGE_BYTES, At as resolveBrowserConfig, B as isTransientHttpError, Bn as listEnabledTelegramAccounts, C as BILLING_ERROR_USER_MESSAGE, Cn as detectMime, Ct as resolveChannelGroupPolicy, D as formatRawAssistantErrorForUi, Dn as isAudioFileName, Dt as resolveGroupSessionKey, E as formatBillingErrorMessage, En as imageMimeFromFormat, Et as resolveConversationLabel, F as isFailoverErrorMessage, Fn as getChannelPlugin, G as resolveSandboxContext, Gn as resolveSlackAccount, Gt as loadWorkspaceSkillEntries, H as parseImageSizeError, Hn as resolveTelegramAccount, I as isLikelyContextOverflowError, In as listChannelPlugins, It as resizeToJpeg, Jn as normalizeChatType, Jt as assertMediaNotDataUrl, K as resolveSandboxRuntimeStatus, Kn as resolveSlackAppToken, Kt as resolveSkillsPromptForRun, L as isRateLimitAssistantError, Ln as normalizeChannelId$1, Lt as getMediaDir, M as isCompactionFailureError, Mn as mediaKindFromMime, N as isContextOverflowError, Nn as listEnabledSignalAccounts, Nt as getImageMetadata, O as getApiErrorPayloadFingerprint, On as isGifMedia, Ot as createBrowserRouteContext, P as isFailoverAssistantError, Pn as resolveSignalAccount, Q as saveSessionStore, Qt as applySkillEnvOverridesFromSnapshot, R as isRawApiErrorPayload, Rn as isWhatsAppGroupJid, Rt as saveMediaBuffer, S as isGoogleModelApi, Sn as GATEWAY_CLIENT_NAMES, St as resolveIMessageAccount, T as formatAssistantErrorText, Tn as getFileExtension, Tt as resolveChannelGroupToolsPolicy, U as sanitizeUserFacingText, Un as resolveTelegramToken, Ut as buildWorkspaceSkillCommandSpecs, V as parseImageDimensionError, Vn as listTelegramAccountIds, W as ensureSandboxWorkspaceForSession, Wn as listBindings, Wt as buildWorkspaceSkillSnapshot, X as readSessionUpdatedAt, Xn as resolveDiscordAccount, Xt as resolveSandboxedMediaSource, Y as loadSessionStore, Yn as listEnabledDiscordAccounts, Yt as assertSandboxPath, Z as recordSessionMetaFromInbound, Zn as normalizeDiscordToken, Zt as applySkillEnvOverrides, _ as sanitizeSessionMessagesImages, _n as normalizeMessageChannel, _t as resolveFreshSessionTotalTokens, a as formatXHighModelHint, an as normalizeToolName, at as deliveryContextKey, b as downgradeOpenAIReasoningBlocks, bn as GATEWAY_CLIENT_IDS, bt as getChannelDock, c as normalizeReasoningLevel, cn as buildBootstrapContextFiles, ct as normalizeSessionDeliveryFields, d as normalizeVerboseLevel, dn as sanitizeGoogleTurnOrdering, dt as evaluateSessionFreshness, en as applyOwnerOnlyToolPolicy, et as updateSessionStore, f as resolveResponseUsageMode, fn as INTERNAL_MESSAGE_CHANNEL, ft as resolveChannelResetConfig, g as normalizeTextForComparison, gn as listDeliverableMessageChannels, gt as DEFAULT_RESET_TRIGGERS, h as isMessagingToolDuplicateNormalized, hn as isMarkdownCapableMessageChannel, ht as resolveThreadFlag, i as formatThinkingLevels, in as expandToolGroups, it as deliveryContextFromSession, j as isCloudCodeAssistFormatError, jt as resolveProfile, k as isAuthAssistantError, kt as registerBrowserRoutes, l as normalizeThinkLevel, ln as ensureSessionHeader, lt as acquireSessionWriteLock, mn as isInternalMessageChannel, mt as resolveSessionResetType, n as validateGeminiTurns, nn as collectExplicitAllowlist, nt as isCacheEnabled, o as listThinkingLevels, on as resolveToolProfilePolicy, ot as mergeDeliveryContext, p as supportsXHighThinking, pn as isDeliverableMessageChannel, pt as resolveSessionResetPolicy, q as appendAssistantMessageToSessionTranscript, qn as resolveSlackBotToken, qt as resolvePluginSkillDirs, r as pickFallbackThinkingLevel, rn as expandPolicyWithPluginGroups, rt as resolveCacheTtlMs$1, s as normalizeElevatedLevel, sn as stripPluginOnlyAllowlist, st as normalizeDeliveryContext, t as validateAnthropicTurns, tn as buildPluginToolGroups, tt as updateSessionStoreEntry, u as normalizeUsageDisplay, un as resolveBootstrapMaxChars, ut as resolveSessionKey$1, v as sanitizeImageBlocks, vn as resolveGatewayMessageChannel, vt as resolveMainSessionKey, w as classifyFailoverReason, wn as extensionForMime, wt as resolveChannelGroupRequireMention, x as isAntigravityClaude, xn as GATEWAY_CLIENT_MODES, xt as listChannelDocks, y as sanitizeToolResultImages, yn as resolveMessageChannel, yt as deriveSessionMetaPatch, z as isTimeoutErrorMessage, zn as normalizeWhatsAppTarget, zt as SsrFBlockedError } from "./pi-embedded-helpers-BIzZ1S6e.js";
|
|
9
9
|
import { A as VERSION, B as webAuthExists, C as setConfigOverride, D as setConfigValueAtPath, E as parseConfigPath, I as readWebSelfId, M as getWebAuthAgeMs, N as logWebSelfId, O as unsetConfigValueAtPath, P as logoutWeb, S as resetConfigOverrides, T as getConfigValueAtPath, _ as applyTestPluginDefaults, a as validateConfigObjectWithPlugins, b as resolveMemorySlotDecision, c as normalizeTelegramCommandName, d as parseDurationMs, f as validateJsonSchemaValue, i as writeConfigFile, j as resolveWhatsAppAccount, k as resolveAgentMaxConcurrent, l as resolveTelegramCustomCommands, m as discoverOpenClawPlugins, n as readConfigFileSnapshot, p as loadPluginManifestRegistry, r as resolveConfigSnapshotHash, s as TELEGRAM_COMMAND_NAME_PATTERN, t as loadConfig, u as isSafeExecutableValue, v as normalizePluginsConfig, w as unsetConfigOverride, x as getConfigOverrides, y as resolveEnableState } from "./config-B7W10B0P.js";
|
|
10
10
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-EhM2JAQo.js";
|
|
11
|
-
import { S as pickPrimaryTailnetIPv4, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, x as pickPrimaryLanIPv4, y as rawDataToString } from "./chrome-
|
|
11
|
+
import { S as pickPrimaryTailnetIPv4, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, x as pickPrimaryLanIPv4, y as rawDataToString } from "./chrome-DL0avO8n.js";
|
|
12
12
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-dpUbQseI.js";
|
|
13
13
|
import { a as resolveSessionTranscriptsDirForAgent, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveStorePath, r as resolveSessionFilePathOptions } from "./paths-BSvO0qdk.js";
|
|
14
14
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BrkSiEN9.js";
|
|
15
|
-
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureOpenClawModelsJson, 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, u as extractThinkingFromTaggedStream, v as resolveToolDisplay, y as stripReasoningTagsFromText } from "./image-
|
|
15
|
+
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureOpenClawModelsJson, 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, u as extractThinkingFromTaggedStream, v as resolveToolDisplay, y as stripReasoningTagsFromText } from "./image-BE3W5CBO.js";
|
|
16
16
|
import { i as resolveMemorySearchConfig, n as resolveRetryConfig, r as retryAsync } from "./manager-DkmC4noL.js";
|
|
17
17
|
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-Cx4BZXnU.js";
|
|
18
18
|
import { t as redactSensitiveText } from "./redact-BIMJ3ntQ.js";
|
|
19
|
-
import { i as fetchWithSsrFGuard, r as fetchRemoteMedia, t as fetchWithTimeout } from "./fetch-timeout-
|
|
20
|
-
import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-
|
|
19
|
+
import { i as fetchWithSsrFGuard, r as fetchRemoteMedia, t as fetchWithTimeout } from "./fetch-timeout-ZWIvvTQK.js";
|
|
20
|
+
import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-BlBPOkt7.js";
|
|
21
21
|
import { a as formatError$1, i as createWaSocket, n as startWebLoginWithQr, o as getStatusCode$1, r as waitForWebLogin, s as waitForWaConnection } from "./login-qr-Dzh1IX4z.js";
|
|
22
22
|
import { createRequire } from "node:module";
|
|
23
23
|
import * as path$1 from "node:path";
|
|
@@ -38,7 +38,7 @@ import { EdgeTTS } from "node-edge-tts";
|
|
|
38
38
|
import AjvPkg from "ajv";
|
|
39
39
|
import { createServer } from "node:http";
|
|
40
40
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
41
|
-
import { WebSocket
|
|
41
|
+
import { WebSocket } from "ws";
|
|
42
42
|
import * as net$1 from "node:net";
|
|
43
43
|
import net from "node:net";
|
|
44
44
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
@@ -8149,7 +8149,7 @@ var GatewayClient = class {
|
|
|
8149
8149
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
8150
8150
|
});
|
|
8151
8151
|
}
|
|
8152
|
-
this.ws = new WebSocket
|
|
8152
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
8153
8153
|
this.ws.on("open", () => {
|
|
8154
8154
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
8155
8155
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -8353,7 +8353,7 @@ var GatewayClient = class {
|
|
|
8353
8353
|
return null;
|
|
8354
8354
|
}
|
|
8355
8355
|
async request(method, params, opts) {
|
|
8356
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
8356
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
8357
8357
|
const id = randomUUID();
|
|
8358
8358
|
const frame = {
|
|
8359
8359
|
type: "req",
|
|
@@ -9275,7 +9275,7 @@ async function routeReply(params) {
|
|
|
9275
9275
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
9276
9276
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
9277
9277
|
try {
|
|
9278
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
9278
|
+
const { deliverOutboundPayloads } = await import("./deliver-Cfwk8SNA.js").then((n) => n.n);
|
|
9279
9279
|
return {
|
|
9280
9280
|
ok: true,
|
|
9281
9281
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -39595,7 +39595,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
39595
39595
|
return;
|
|
39596
39596
|
}
|
|
39597
39597
|
try {
|
|
39598
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
39598
|
+
const { deliverOutboundPayloads } = await import("./deliver-Cfwk8SNA.js").then((n) => n.n);
|
|
39599
39599
|
await deliverOutboundPayloads({
|
|
39600
39600
|
cfg: params.cfg,
|
|
39601
39601
|
channel,
|
|
@@ -44662,7 +44662,7 @@ async function describeStickerImage(params) {
|
|
|
44662
44662
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
44663
44663
|
try {
|
|
44664
44664
|
const buffer = await fs$1.readFile(imagePath);
|
|
44665
|
-
const { describeImageWithModel } = await import("./image-
|
|
44665
|
+
const { describeImageWithModel } = await import("./image-BE3W5CBO.js").then((n) => n.n);
|
|
44666
44666
|
return (await describeImageWithModel({
|
|
44667
44667
|
buffer,
|
|
44668
44668
|
fileName: "sticker.webp",
|
|
@@ -48954,7 +48954,7 @@ async function preflightDiscordMessage(params) {
|
|
|
48954
48954
|
let preflightTranscript;
|
|
48955
48955
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
48956
48956
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
48957
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
48957
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-H6j5U0KI.js");
|
|
48958
48958
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
48959
48959
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
48960
48960
|
ctx: {
|
|
@@ -59577,7 +59577,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
59577
59577
|
let preflightTranscript;
|
|
59578
59578
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
59579
59579
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
59580
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
59580
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-H6j5U0KI.js");
|
|
59581
59581
|
preflightTranscript = await transcribeFirstAudio({
|
|
59582
59582
|
ctx: {
|
|
59583
59583
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as logWarn } from "./exec-B8lXct-k.js";
|
|
2
|
-
import { Bt as SsrFBlockedError, En as extensionForMime, Ht as createPinnedDispatcher, Tn as detectMime, Ut as resolvePinnedHostnameWithPolicy, Vt as closeDispatcher } from "./pi-embedded-helpers-
|
|
2
|
+
import { Bt as SsrFBlockedError, En as extensionForMime, Ht as createPinnedDispatcher, Tn as detectMime, Ut as resolvePinnedHostnameWithPolicy, Vt as closeDispatcher } from "./pi-embedded-helpers-D6YyZfbk.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/net/fetch-guard.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as logWarn } from "./exec-CJFFoM7H.js";
|
|
2
|
-
import { Bt as closeDispatcher, Cn as detectMime, Ht as resolvePinnedHostnameWithPolicy, Vt as createPinnedDispatcher, wn as extensionForMime, zt as SsrFBlockedError } from "./pi-embedded-helpers-
|
|
2
|
+
import { Bt as closeDispatcher, Cn as detectMime, Ht as resolvePinnedHostnameWithPolicy, Vt as createPinnedDispatcher, wn as extensionForMime, zt as SsrFBlockedError } from "./pi-embedded-helpers-BIzZ1S6e.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/net/fetch-guard.ts
|
|
@@ -64,8 +64,8 @@ import { n as runCommandWithRuntime } from "./cli-utils-LcHOt63h.js";
|
|
|
64
64
|
import "./pairing-labels-B79qs8YT.js";
|
|
65
65
|
import { t as buildChannelAccountSnapshot } from "./status-CoAy6bEC.js";
|
|
66
66
|
import "./channels-status-issues-B8Y1nkIX.js";
|
|
67
|
-
import "./register.subclis-
|
|
68
|
-
import "./completion-cli-
|
|
67
|
+
import "./register.subclis-RSfGxYNZ.js";
|
|
68
|
+
import "./completion-cli-Bh5I8KKW.js";
|
|
69
69
|
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-DT6W1A83.js";
|
|
70
70
|
import "./daemon-runtime-N8YAnttH.js";
|
|
71
71
|
import "./service-DVi9-qHB.js";
|
|
@@ -79,11 +79,11 @@ import { a as toOptionString, i as parsePort$1, n as extractGatewayMiskeys, r as
|
|
|
79
79
|
import { i as probeGateway } from "./audit-CYu83z-9.js";
|
|
80
80
|
import { S as discoverGatewayBeacons, n as installSkill } from "./onboard-skills-DnHguAep.js";
|
|
81
81
|
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-CZ--pwnE.js";
|
|
82
|
-
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
82
|
+
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-x-LsF29G.js";
|
|
83
83
|
import "./github-copilot-auth-B60M4Pk2.js";
|
|
84
84
|
import "./logging-CRq4h04P.js";
|
|
85
85
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-mYce18XT.js";
|
|
86
|
-
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-
|
|
86
|
+
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-D7wvJfkI.js";
|
|
87
87
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DlFKDXgJ.js";
|
|
88
88
|
import "./tui-b6JyR0_t.js";
|
|
89
89
|
import { i as setGatewayWsLogStyle, n as logWs, r as summarizeAgentEventForWsLog, t as formatForLog } from "./ws-log-CIXbLCka.js";
|
|
@@ -59,7 +59,7 @@ import { n as resolveMessageChannelSelection } from "./channel-selection-ChpuaGX
|
|
|
59
59
|
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-DFUmprQ6.js";
|
|
60
60
|
import { t as ensureOpenClawCliOnPath } from "./path-env-CaYUVIML.js";
|
|
61
61
|
import "./daemon-runtime-iSrznGok.js";
|
|
62
|
-
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-
|
|
62
|
+
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-FiHTLDne.js";
|
|
63
63
|
import { t as resolveChannelDefaultAccountId } from "./helpers-HyeZXsnu.js";
|
|
64
64
|
import "./logging-BAyPwvdH.js";
|
|
65
65
|
import "./note-BhRSeNeu.js";
|
|
@@ -72,7 +72,7 @@ import "./archive-beaSfAzA.js";
|
|
|
72
72
|
import "./skill-scanner-CucvxYhu.js";
|
|
73
73
|
import "./installs-DscWb9b9.js";
|
|
74
74
|
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-kTD3mmIm.js";
|
|
75
|
-
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
75
|
+
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-fgGnSCWB.js";
|
|
76
76
|
import { i as probeGateway } from "./audit-CUmgk0Zg.js";
|
|
77
77
|
import "./table-B8dx3v4v.js";
|
|
78
78
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-CVjDLqne.js";
|
|
@@ -81,7 +81,7 @@ import "./systemd-DrmBtJ5T.js";
|
|
|
81
81
|
import "./service-audit-BKZxDDMk.js";
|
|
82
82
|
import "./node-service-Dkjve8e3.js";
|
|
83
83
|
import "./channels-status-issues-BZM5SM_X.js";
|
|
84
|
-
import "./completion-cli-
|
|
84
|
+
import "./completion-cli-CcaE0pUj.js";
|
|
85
85
|
import { a as createOutboundSendDeps$1, i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-DkJ7dZl8.js";
|
|
86
86
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-DzuRdwk5.js";
|
|
87
87
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-D5px3C3Y.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { B as shortenHomeInString, j as isRecord } from "./exec-CJFFoM7H.js";
|
|
3
3
|
import { H as resolveOpenClawAgentDir, U as normalizeSecretInput, g as resolveImplicitProviders, h as resolveImplicitCopilotProvider, m as resolveImplicitBedrockProvider, p as normalizeProviders, x as requireApiKey, y as getApiKeyForModel } from "./model-selection-DYQRxo9K.js";
|
|
4
|
-
import { U as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
4
|
+
import { U as sanitizeUserFacingText } from "./pi-embedded-helpers-BIzZ1S6e.js";
|
|
5
5
|
import { t as loadConfig } from "./config-B7W10B0P.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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { M as isRecord, V as shortenHomeInString } from "./exec-B8lXct-k.js";
|
|
3
|
-
import { U as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
3
|
+
import { U as sanitizeUserFacingText } from "./pi-embedded-helpers-D6YyZfbk.js";
|
|
4
4
|
import { A as normalizeProviders, B as normalizeSecretInput, M as resolveImplicitCopilotProvider, N as resolveImplicitProviders, _ as resolveOpenClawAgentDir, j as resolveImplicitBedrockProvider, r as requireApiKey, t as getApiKeyForModel } from "./model-auth-a4aBSOeG.js";
|
|
5
5
|
import { t as loadConfig } from "./config-Bwm-jWmj.js";
|
|
6
6
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DqgqUyAv.js";
|