@guadskill/openclaw-proxy 2026.2.10 → 2026.2.11
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/build-info.json +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-FITXsKSB.js → chrome-CBxye_ED.js} +7 -7
- package/dist/{completion-cli-DBmFb2Zz.js → completion-cli-BkcNcF2W.js} +2 -2
- package/dist/{completion-cli-DrFgqXz-.js → completion-cli-DzFGiqKN.js} +1 -1
- package/dist/{config-guard-B_Hef8AW.js → config-guard-GXJBeXgt.js} +6 -6
- package/dist/{configure-CnH4eas2.js → configure-Cn-9vqSs.js} +1 -1
- package/dist/{configure-BShkc6Iy.js → configure-Mwbu9bfG.js} +1 -1
- package/dist/{deliver-BssKD-vg.js → deliver-CR0uQwr7.js} +1 -1
- package/dist/{doctor-Bb0C7PCD.js → doctor-D_er5eUz.js} +2 -2
- package/dist/{doctor-C5EhTQAn.js → doctor-iSnCqUEi.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +9 -9
- package/dist/{gateway-cli-BQvs5yMg.js → gateway-cli-BUHCHKE6.js} +5 -5
- package/dist/{gateway-cli-ClF2zEog.js → gateway-cli-DfFbLb7d.js} +4 -4
- package/dist/{health-format-i1geK3KG.js → health-format-BSrJdaJW.js} +2 -1
- package/dist/{health-format-BOaLA7v1.js → health-format-fowslicT.js} +2 -1
- package/dist/{image-DaoVwbBU.js → image-BNNazXqI.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{onboarding-o9D1SpDa.js → onboarding-KdG_ApLH.js} +3 -3
- package/dist/{pi-embedded-helpers-CcE0hKxw.js → pi-embedded-helpers-DBsbz1Wq.js} +4 -4
- package/dist/{program-3AvELN6H.js → program-CFqsq13P.js} +8 -8
- package/dist/{pw-ai-kZMIzSdQ.js → pw-ai-C3QEyFGj.js} +1 -1
- package/dist/{register.subclis-gkkP8-Yx.js → register.subclis-CYsvBF5c.js} +3 -3
- package/dist/{run-main-DM5TUpMe.js → run-main-Couc_fdJ.js} +10 -10
- package/dist/{status-Bcl2H-Cb.js → status-CHFPyXak.js} +3 -3
- package/dist/{update-cli-B44pCOmM.js → update-cli-C72mF9AM.js} +4 -4
- package/dist/{update-cli-CeCOtfHd.js → update-cli-MVVbpgcz.js} +5 -5
- package/dist/{update-runner-BZsT7ZyA.js → update-runner-CsWAyRQf.js} +2 -2
- package/dist/{update-runner-CkoLrD4r.js → update-runner-CztlHuQ9.js} +2 -2
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c2b27f41fbeef39ec1e9b357e454f8218794384202e965b5cf39db78ea901241
|
|
@@ -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
|
|
|
@@ -181,7 +181,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
181
181
|
let nextExtensionId = 1;
|
|
182
182
|
const sendToExtension = async (payload) => {
|
|
183
183
|
const ws = extensionWs;
|
|
184
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
184
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
185
185
|
ws.send(JSON.stringify(payload));
|
|
186
186
|
return await new Promise((resolve, reject) => {
|
|
187
187
|
const timer = setTimeout(() => {
|
|
@@ -198,12 +198,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
198
198
|
const broadcastToCdpClients = (evt) => {
|
|
199
199
|
const msg = JSON.stringify(evt);
|
|
200
200
|
for (const ws of cdpClients) {
|
|
201
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
201
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
202
202
|
ws.send(msg);
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
205
|
const sendResponseToCdp = (ws, res) => {
|
|
206
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
206
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
207
207
|
ws.send(JSON.stringify(res));
|
|
208
208
|
};
|
|
209
209
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -423,7 +423,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
423
423
|
wssExtension.on("connection", (ws) => {
|
|
424
424
|
extensionWs = ws;
|
|
425
425
|
const ping = setInterval(() => {
|
|
426
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
426
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
427
427
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
428
428
|
}, 5e3);
|
|
429
429
|
ws.on("message", (data) => {
|
|
@@ -716,7 +716,7 @@ async function fetchJson(url, timeoutMs = 1500, init) {
|
|
|
716
716
|
}
|
|
717
717
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
718
718
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
719
|
-
const ws = new WebSocket(wsUrl, {
|
|
719
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
720
720
|
handshakeTimeout: 5e3,
|
|
721
721
|
...Object.keys(headers).length ? { headers } : {}
|
|
722
722
|
});
|
|
@@ -1844,7 +1844,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1844
1844
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1845
1845
|
return await new Promise((resolve) => {
|
|
1846
1846
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1847
|
-
const ws = new WebSocket(wsUrl, {
|
|
1847
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1848
1848
|
handshakeTimeout: timeoutMs,
|
|
1849
1849
|
...Object.keys(headers).length ? { headers } : {}
|
|
1850
1850
|
});
|
|
@@ -124,7 +124,7 @@ const entries = [
|
|
|
124
124
|
name: "gateway",
|
|
125
125
|
description: "Gateway control",
|
|
126
126
|
register: async (program) => {
|
|
127
|
-
(await import("./gateway-cli-
|
|
127
|
+
(await import("./gateway-cli-DfFbLb7d.js")).registerGatewayCli(program);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
{
|
|
@@ -282,7 +282,7 @@ const entries = [
|
|
|
282
282
|
name: "update",
|
|
283
283
|
description: "CLI update helpers",
|
|
284
284
|
register: async (program) => {
|
|
285
|
-
(await import("./update-cli-
|
|
285
|
+
(await import("./update-cli-C72mF9AM.js")).registerUpdateCli(program);
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { X as resolveStateDir } from "./entry.js";
|
|
3
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
3
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-CYsvBF5c.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fsPromises from "node:fs/promises";
|
|
@@ -23,7 +23,7 @@ import { d as loadSessionStore } from "./sandbox-D889a-F8.js";
|
|
|
23
23
|
import { n as formatTimeAgo } from "./format-relative-CZOlQ2pA.js";
|
|
24
24
|
import { n as runCommandWithRuntime } from "./cli-utils-DKF-leO3.js";
|
|
25
25
|
import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-DFbsypaU.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-CYsvBF5c.js";
|
|
27
27
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-CRGd0w3b.js";
|
|
28
28
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CUNihWum.js";
|
|
29
29
|
import { t as createDefaultDeps } from "./deps-BBw98Cve.js";
|
|
@@ -32,15 +32,15 @@ import { t as resolveGatewayService } from "./service-CJ_9zG2c.js";
|
|
|
32
32
|
import { r as isSystemdUserServiceAvailable } from "./systemd-D8TmVYdf.js";
|
|
33
33
|
import { t as renderTable } from "./table--JAk2fhT.js";
|
|
34
34
|
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-Cli5aapW.js";
|
|
35
|
-
import { l as healthCommand } from "./health-format-
|
|
35
|
+
import { l as healthCommand } from "./health-format-fowslicT.js";
|
|
36
36
|
import { $ as setMinimaxApiKey, C as applyMoonshotConfig, D as applyOpenrouterConfig, F as applyVeniceConfig, L as applyVercelAiGatewayConfig, N as applyTogetherConfig, Q as setKimiCodingApiKey, U as applyZaiConfig, V as applyXiaomiConfig, X as setCloudflareAiGatewayConfig, Y as setAnthropicApiKey, Z as setGeminiApiKey, _t as validateAnthropicSetupToken, at as setTogetherApiKey, ct as setXaiApiKey, et as setMoonshotApiKey, f as applyOpencodeZenConfig, g as applyMinimaxConfig, gt as buildTokenProfileId, it as setSyntheticApiKey, j as applySyntheticConfig, k as applyQianfanConfig, lt as setXiaomiApiKey, m as applyMinimaxApiConfig, nt as setOpenrouterApiKey, ot as setVeniceApiKey, rt as setQianfanApiKey, st as setVercelAiGatewayApiKey, tt as setOpencodeZenApiKey, ut as setZaiApiKey, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyXaiConfig } from "./github-copilot-auth-TxtjXx5m.js";
|
|
37
37
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BENMfvo0.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-CHFPyXak.js";
|
|
39
39
|
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-D-ZY5Ay1.js";
|
|
40
40
|
import { t as formatHelpExamples } from "./help-format-BBZy5-Be.js";
|
|
41
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
41
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-Cn-9vqSs.js";
|
|
42
42
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-C57Dz7hA.js";
|
|
43
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
43
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-iSnCqUEi.js";
|
|
44
44
|
import path from "node:path";
|
|
45
45
|
import fs from "node:fs";
|
|
46
46
|
import JSON5 from "json5";
|
|
@@ -2782,7 +2782,7 @@ async function loadValidConfig() {
|
|
|
2782
2782
|
}
|
|
2783
2783
|
function registerConfigCli(program) {
|
|
2784
2784
|
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.openclaw.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
2785
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2785
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-Cn-9vqSs.js").then((n) => n.t);
|
|
2786
2786
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2787
2787
|
if (sections.length === 0) {
|
|
2788
2788
|
await configureCommand(defaultRuntime);
|
|
@@ -16,7 +16,7 @@ import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-B
|
|
|
16
16
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DLtjWz00.js";
|
|
17
17
|
import { t as resolveGatewayService } from "./service-CJ_9zG2c.js";
|
|
18
18
|
import { a as applyModelFallbacksFromSelection, c as promptModelAllowlist, d as applyAuthChoice, h as promptAuthChoiceGrouped, i as applyModelAllowlist, l as resolvePreferredProviderForAuthChoice, o as applyPrimaryModel, r as promptRemoteGatewayConfig, s as promptDefaultModel, t as setupSkills } from "./onboard-skills-Cli5aapW.js";
|
|
19
|
-
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-
|
|
19
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-fowslicT.js";
|
|
20
20
|
import { n as logConfigUpdated } from "./logging-BENMfvo0.js";
|
|
21
21
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-C57Dz7hA.js";
|
|
22
22
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
@@ -17,7 +17,7 @@ import { t as WizardCancelledError } from "./prompts-CMFALzCp.js";
|
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-S0qXMAox.js";
|
|
18
18
|
import { a as applyModelAllowlist, c as promptDefaultModel, f as applyAuthChoice, g as promptAuthChoiceGrouped, l as promptModelAllowlist, o as applyModelFallbacksFromSelection, r as promptRemoteGatewayConfig, s as applyPrimaryModel, t as setupSkills, u as resolvePreferredProviderForAuthChoice } from "./onboard-skills-bQdrzd5W.js";
|
|
19
19
|
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-Bi5gN7Cg.js";
|
|
20
|
-
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-
|
|
20
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-BSrJdaJW.js";
|
|
21
21
|
import { t as resolveGatewayService } from "./service-gVhgRoT3.js";
|
|
22
22
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-Cg55REe7.js";
|
|
23
23
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { j as normalizeAccountId$1 } from "./agent-scope-Bxl1Ieu_.js";
|
|
3
3
|
import { L as resolveUserPath, O as escapeRegExp, Y as shouldLogVerbose, b as getActivePluginRegistry, q as logVerbose } from "./exec-BfU1Ka_V.js";
|
|
4
|
-
import { At as hasAlphaChannel, En as mediaKindFromMime, G as appendAssistantMessageToSessionTranscript, It as closeDispatcher, K as resolveMirroredTranscriptText, Lt as createPinnedDispatcher, Mt as resizeToJpeg, On as resolveSignalAccount, Ot as convertHeicToJpeg, Pt as saveMediaBuffer, Rt as resolvePinnedHostname, Tn as maxBytesForKind, _n as detectMime, gt as getChannelDock, jn as normalizeChannelId, jt as optimizeImageToPng, kn as getChannelPlugin, m as isMessagingToolDuplicate, on as INTERNAL_MESSAGE_CHANNEL, vn as extensionForMime, zt as resolvePinnedHostnameWithPolicy } from "./pi-embedded-helpers-
|
|
4
|
+
import { At as hasAlphaChannel, En as mediaKindFromMime, G as appendAssistantMessageToSessionTranscript, It as closeDispatcher, K as resolveMirroredTranscriptText, Lt as createPinnedDispatcher, Mt as resizeToJpeg, On as resolveSignalAccount, Ot as convertHeicToJpeg, Pt as saveMediaBuffer, Rt as resolvePinnedHostname, Tn as maxBytesForKind, _n as detectMime, gt as getChannelDock, jn as normalizeChannelId, jt as optimizeImageToPng, kn as getChannelPlugin, m as isMessagingToolDuplicate, on as INTERNAL_MESSAGE_CHANNEL, vn as extensionForMime, zt as resolvePinnedHostnameWithPolicy } from "./pi-embedded-helpers-DBsbz1Wq.js";
|
|
5
5
|
import { t as loadConfig } from "./config-NtjUezp5.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
@@ -25,8 +25,8 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-BNHVKXjR.js";
|
|
|
25
25
|
import { n as logConfigUpdated } from "./logging-CXcMKWSI.js";
|
|
26
26
|
import { t as note$1 } from "./note-CNcI64MY.js";
|
|
27
27
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-CTA5rOU5.js";
|
|
28
|
-
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-
|
|
29
|
-
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-
|
|
28
|
+
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-BSrJdaJW.js";
|
|
29
|
+
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-CsWAyRQf.js";
|
|
30
30
|
import { i as resolveGatewayAuth } from "./auth-BpUy1iRX.js";
|
|
31
31
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-8m5p33dD.js";
|
|
32
32
|
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-gVhgRoT3.js";
|
|
@@ -28,8 +28,8 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
|
|
|
28
28
|
import { r as isSystemdUserServiceAvailable } from "./systemd-D8TmVYdf.js";
|
|
29
29
|
import { n as renderSystemdUnavailableHints, t as isSystemdUnavailableDetail } from "./systemd-hints-9qpENznv.js";
|
|
30
30
|
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, o as readLastGatewayErrorLine, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-CURwIRFh.js";
|
|
31
|
-
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-
|
|
32
|
-
import { f as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-
|
|
31
|
+
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-fowslicT.js";
|
|
32
|
+
import { f as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-CztlHuQ9.js";
|
|
33
33
|
import { n as logConfigUpdated } from "./logging-BENMfvo0.js";
|
|
34
34
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-BA2DOmHk.js";
|
|
35
35
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-ov3toXHm.js";
|
package/dist/entry.js
CHANGED
|
@@ -1404,7 +1404,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
1404
1404
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
1405
1405
|
process$1.argv = parsed.argv;
|
|
1406
1406
|
}
|
|
1407
|
-
import("./run-main-
|
|
1407
|
+
import("./run-main-Couc_fdJ.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
1408
1408
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
1409
1409
|
process$1.exitCode = 1;
|
|
1410
1410
|
});
|
package/dist/extensionAPI.js
CHANGED
|
@@ -4,15 +4,15 @@ import { $ as isRich, A as isPlainObject, B as shortenHomePath, C as CONFIG_DIR,
|
|
|
4
4
|
import { B as resolveOpenClawAgentDir, C as getShellPathFromLoginShell, F as resolveApiKeyForProfile, G as DEFAULT_PROVIDER, H as resolveAuthProfileDisplayLabel, I as listProfilesForProvider, L as markAuthProfileGood, M as isProfileInCooldown, N as markAuthProfileFailure, O as isTruthyEnvValue, P as markAuthProfileUsed, R as ensureAuthProfileStore, S as resolveModelAuthMode, T as resolveShellEnvFallbackTimeoutMs, U as DEFAULT_CONTEXT_TOKENS, V as normalizeSecretInput, W as DEFAULT_MODEL, _ as getApiKeyForModel, a as modelKey, b as resolveApiKeyForProvider, c as resolveConfiguredModelRef, d as resolveThinkingDefault, f as normalizeGoogleModelId, i as isCliProvider, j as resolveAuthProfileOrder, k as parseBooleanValue$1, l as resolveDefaultModelForAgent, n as buildConfiguredAllowlistKeys, o as normalizeProviderId, r as buildModelAliasIndex, t as buildAllowedModelSet, u as resolveModelRefFromString, v as getCustomProviderApiKey, x as resolveEnvApiKey, y as requireApiKey, z as resolveAuthStorePathForDisplay } from "./model-selection-BqJ7D4pt.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 resolveChunkMode, C as parseInlineDirectives$1, D as markdownToIR, E as chunkMarkdownIR, F as chunkByNewline, G as HEARTBEAT_TOKEN, H as findFenceSpanAt, I as chunkMarkdownText, K as SILENT_REPLY_TOKEN, L as chunkMarkdownTextWithMode, M as fetchRemoteMedia, N as fetchWithSsrFGuard, O as markdownToIRWithMeta, P as resolveMarkdownTableMode, R as chunkText, S as splitMediaFromOutput, T as wrapFetchWithAbortSignal, U as isSafeFenceBreak, V as resolveTextChunkLimit, W as parseFenceSpans, _ 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 MediaFetchError, k as loadWebMedia, l as createReplyToModeFilterForChannel, m as signalCheck, o as filterMessagingToolDuplicates, p as sendTypingSignal, q as isSilentReplyText, 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 chunkTextWithMode } from "./deliver-
|
|
8
|
-
import { $ as updateSessionStoreEntry, $t as normalizeToolName, A as isCloudCodeAssistFormatError, An as listChannelPlugins, B as parseImageSizeError, Bn as resolveSlackAppToken, Bt as buildWorkspaceSkillCommandSpecs, C as BILLING_ERROR_USER_MESSAGE, Cn as kindFromMime, Ct as resolveGroupSessionKey, D as getApiErrorPayloadFingerprint, Dn as listEnabledSignalAccounts, Dt as resolveProfile, E as formatRawAssistantErrorForUi, En as mediaKindFromMime, Et as resolveBrowserConfig, F as isLikelyContextOverflowError, Fn as listTelegramAccountIds, Ft as SsrFBlockedError, G as appendAssistantMessageToSessionTranscript, Gn as normalizeDiscordToken, Gt as applySkillEnvOverrides, H as ensureSandboxWorkspaceForSession, Hn as normalizeChatType, Ht as loadWorkspaceSkillEntries, I as isRateLimitAssistantError, In as resolveTelegramAccount, J as readSessionUpdatedAt, Jt as applyOwnerOnlyToolPolicy, Kt as applySkillEnvOverridesFromSnapshot, L as isRawApiErrorPayload, Ln as resolveTelegramToken, M as isContextOverflowError, Mn as isWhatsAppGroupJid, Mt as resizeToJpeg, N as isFailoverAssistantError, Nn as normalizeWhatsAppTarget, Nt as getMediaDir, O as isAuthAssistantError, On as resolveSignalAccount, P as isFailoverErrorMessage, Pn as listEnabledTelegramAccounts, Pt as saveMediaBuffer, Q as updateSessionStore, Qt as expandToolGroups, R as isTimeoutErrorMessage, Rn as listBindings, S as isGoogleModelApi, Sn as isGifMedia, St as resolveConversationLabel, T as formatAssistantErrorText, Tt as registerBrowserRoutes, U as resolveSandboxContext, Un as listEnabledDiscordAccounts, Ut as resolveSkillsPromptForRun, V as sanitizeUserFacingText, Vn as resolveSlackBotToken, Vt as buildWorkspaceSkillSnapshot, W as resolveSandboxRuntimeStatus, Wn as resolveDiscordAccount, Wt as resolvePluginSkillDirs, X as saveSessionStore, Xt as collectExplicitAllowlist, Y as recordSessionMetaFromInbound, Yt as buildPluginToolGroups, Z as updateLastRoute, Zt as expandPolicyWithPluginGroups, _ as sanitizeSessionMessagesImages, _n as detectMime, _t as listChannelDocks, a as formatXHighModelHint, an as sanitizeGoogleTurnOrdering, at as normalizeDeliveryContext, b as downgradeOpenAIReasoningBlocks, bn as imageMimeFromFormat, bt as resolveChannelGroupToolsPolicy, c as normalizeReasoningLevel, cn as isInternalMessageChannel, ct as evaluateSessionFreshness, d as normalizeVerboseLevel, dn as normalizeMessageChannel, dt as resolveSessionResetType, en as resolveToolProfilePolicy, et as isCacheEnabled, f as resolveResponseUsageMode, fn as resolveGatewayMessageChannel, ft as resolveThreadFlag, g as normalizeTextForComparison, gn as GATEWAY_CLIENT_NAMES, gt as getChannelDock, h as isMessagingToolDuplicateNormalized, hn as GATEWAY_CLIENT_MODES, ht as deriveSessionMetaPatch, i as formatThinkingLevels, in as resolveBootstrapMaxChars, it as mergeDeliveryContext, j as isCompactionFailureError, jn as normalizeChannelId$1, k as isBillingAssistantError, kn as getChannelPlugin, kt as getImageMetadata, l as normalizeThinkLevel, ln as isMarkdownCapableMessageChannel, lt as resolveChannelResetConfig, mn as GATEWAY_CLIENT_IDS, mt as resolveMainSessionKey, n as validateGeminiTurns, nn as buildBootstrapContextFiles, nt as deliveryContextFromSession, o as listThinkingLevels, on as INTERNAL_MESSAGE_CHANNEL, ot as normalizeSessionDeliveryFields, p as supportsXHighThinking, pn as resolveMessageChannel, pt as DEFAULT_RESET_TRIGGERS, q as loadSessionStore, qt as resolveSandboxConfigForAgent, r as pickFallbackThinkingLevel, rn as ensureSessionHeader, rt as deliveryContextKey, s as normalizeElevatedLevel, sn as isDeliverableMessageChannel, st as resolveSessionKey$1, t as validateAnthropicTurns, tn as stripPluginOnlyAllowlist, tt as resolveCacheTtlMs$1, u as normalizeUsageDisplay, un as listDeliverableMessageChannels, ut as resolveSessionResetPolicy, v as sanitizeImageBlocks, vn as extensionForMime, vt as resolveChannelGroupPolicy, w as classifyFailoverReason, wn as MAX_IMAGE_BYTES, wt as createBrowserRouteContext, x as isAntigravityClaude, xn as isAudioFileName, xt as resolveIMessageAccount, y as sanitizeToolResultImages, yn as getFileExtension, yt as resolveChannelGroupRequireMention, z as parseImageDimensionError, zn as resolveSlackAccount } from "./pi-embedded-helpers-
|
|
7
|
+
import { A as loadWebMediaRaw, B as resolveChunkMode, C as parseInlineDirectives$1, D as markdownToIR, E as chunkMarkdownIR, F as chunkByNewline, G as HEARTBEAT_TOKEN, H as findFenceSpanAt, I as chunkMarkdownText, K as SILENT_REPLY_TOKEN, L as chunkMarkdownTextWithMode, M as fetchRemoteMedia, N as fetchWithSsrFGuard, O as markdownToIRWithMeta, P as resolveMarkdownTableMode, R as chunkText, S as splitMediaFromOutput, T as wrapFetchWithAbortSignal, U as isSafeFenceBreak, V as resolveTextChunkLimit, W as parseFenceSpans, _ 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 MediaFetchError, k as loadWebMedia, l as createReplyToModeFilterForChannel, m as signalCheck, o as filterMessagingToolDuplicates, p as sendTypingSignal, q as isSilentReplyText, 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 chunkTextWithMode } from "./deliver-CR0uQwr7.js";
|
|
8
|
+
import { $ as updateSessionStoreEntry, $t as normalizeToolName, A as isCloudCodeAssistFormatError, An as listChannelPlugins, B as parseImageSizeError, Bn as resolveSlackAppToken, Bt as buildWorkspaceSkillCommandSpecs, C as BILLING_ERROR_USER_MESSAGE, Cn as kindFromMime, Ct as resolveGroupSessionKey, D as getApiErrorPayloadFingerprint, Dn as listEnabledSignalAccounts, Dt as resolveProfile, E as formatRawAssistantErrorForUi, En as mediaKindFromMime, Et as resolveBrowserConfig, F as isLikelyContextOverflowError, Fn as listTelegramAccountIds, Ft as SsrFBlockedError, G as appendAssistantMessageToSessionTranscript, Gn as normalizeDiscordToken, Gt as applySkillEnvOverrides, H as ensureSandboxWorkspaceForSession, Hn as normalizeChatType, Ht as loadWorkspaceSkillEntries, I as isRateLimitAssistantError, In as resolveTelegramAccount, J as readSessionUpdatedAt, Jt as applyOwnerOnlyToolPolicy, Kt as applySkillEnvOverridesFromSnapshot, L as isRawApiErrorPayload, Ln as resolveTelegramToken, M as isContextOverflowError, Mn as isWhatsAppGroupJid, Mt as resizeToJpeg, N as isFailoverAssistantError, Nn as normalizeWhatsAppTarget, Nt as getMediaDir, O as isAuthAssistantError, On as resolveSignalAccount, P as isFailoverErrorMessage, Pn as listEnabledTelegramAccounts, Pt as saveMediaBuffer, Q as updateSessionStore, Qt as expandToolGroups, R as isTimeoutErrorMessage, Rn as listBindings, S as isGoogleModelApi, Sn as isGifMedia, St as resolveConversationLabel, T as formatAssistantErrorText, Tt as registerBrowserRoutes, U as resolveSandboxContext, Un as listEnabledDiscordAccounts, Ut as resolveSkillsPromptForRun, V as sanitizeUserFacingText, Vn as resolveSlackBotToken, Vt as buildWorkspaceSkillSnapshot, W as resolveSandboxRuntimeStatus, Wn as resolveDiscordAccount, Wt as resolvePluginSkillDirs, X as saveSessionStore, Xt as collectExplicitAllowlist, Y as recordSessionMetaFromInbound, Yt as buildPluginToolGroups, Z as updateLastRoute, Zt as expandPolicyWithPluginGroups, _ as sanitizeSessionMessagesImages, _n as detectMime, _t as listChannelDocks, a as formatXHighModelHint, an as sanitizeGoogleTurnOrdering, at as normalizeDeliveryContext, b as downgradeOpenAIReasoningBlocks, bn as imageMimeFromFormat, bt as resolveChannelGroupToolsPolicy, c as normalizeReasoningLevel, cn as isInternalMessageChannel, ct as evaluateSessionFreshness, d as normalizeVerboseLevel, dn as normalizeMessageChannel, dt as resolveSessionResetType, en as resolveToolProfilePolicy, et as isCacheEnabled, f as resolveResponseUsageMode, fn as resolveGatewayMessageChannel, ft as resolveThreadFlag, g as normalizeTextForComparison, gn as GATEWAY_CLIENT_NAMES, gt as getChannelDock, h as isMessagingToolDuplicateNormalized, hn as GATEWAY_CLIENT_MODES, ht as deriveSessionMetaPatch, i as formatThinkingLevels, in as resolveBootstrapMaxChars, it as mergeDeliveryContext, j as isCompactionFailureError, jn as normalizeChannelId$1, k as isBillingAssistantError, kn as getChannelPlugin, kt as getImageMetadata, l as normalizeThinkLevel, ln as isMarkdownCapableMessageChannel, lt as resolveChannelResetConfig, mn as GATEWAY_CLIENT_IDS, mt as resolveMainSessionKey, n as validateGeminiTurns, nn as buildBootstrapContextFiles, nt as deliveryContextFromSession, o as listThinkingLevels, on as INTERNAL_MESSAGE_CHANNEL, ot as normalizeSessionDeliveryFields, p as supportsXHighThinking, pn as resolveMessageChannel, pt as DEFAULT_RESET_TRIGGERS, q as loadSessionStore, qt as resolveSandboxConfigForAgent, r as pickFallbackThinkingLevel, rn as ensureSessionHeader, rt as deliveryContextKey, s as normalizeElevatedLevel, sn as isDeliverableMessageChannel, st as resolveSessionKey$1, t as validateAnthropicTurns, tn as stripPluginOnlyAllowlist, tt as resolveCacheTtlMs$1, u as normalizeUsageDisplay, un as listDeliverableMessageChannels, ut as resolveSessionResetPolicy, v as sanitizeImageBlocks, vn as extensionForMime, vt as resolveChannelGroupPolicy, w as classifyFailoverReason, wn as MAX_IMAGE_BYTES, wt as createBrowserRouteContext, x as isAntigravityClaude, xn as isAudioFileName, xt as resolveIMessageAccount, y as sanitizeToolResultImages, yn as getFileExtension, yt as resolveChannelGroupRequireMention, z as parseImageDimensionError, zn as resolveSlackAccount } from "./pi-embedded-helpers-DBsbz1Wq.js";
|
|
9
9
|
import { A as getWebAuthAgeMs, C as getConfigValueAtPath, D as resolveAgentMaxConcurrent, E as unsetConfigValueAtPath, M as logoutWeb, O as VERSION, P as readWebSelfId, R as webAuthExists, S as unsetConfigOverride, T as setConfigValueAtPath, _ as resolveEnableState, a as validateConfigObjectWithPlugins, b as resetConfigOverrides, c as resolveTelegramCustomCommands, d as validateJsonSchemaValue, f as loadPluginManifestRegistry, g as normalizePluginsConfig, i as writeConfigFile, j as logWebSelfId, k as resolveWhatsAppAccount, l as isSafeExecutableValue, n as readConfigFileSnapshot, o as TELEGRAM_COMMAND_NAME_PATTERN, p as discoverOpenClawPlugins, r as resolveConfigSnapshotHash, s as normalizeTelegramCommandName, t as loadConfig, u as parseDurationMs, v as resolveMemorySlotDecision, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-NtjUezp5.js";
|
|
10
10
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-EhM2JAQo.js";
|
|
11
|
-
import { C as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as rawDataToString, b as pickPrimaryTailnetIPv4, h as ensureChromeExtensionRelayServer, y as pickPrimaryLanIPv4 } from "./chrome-
|
|
11
|
+
import { C as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as rawDataToString, b as pickPrimaryTailnetIPv4, h as ensureChromeExtensionRelayServer, y as pickPrimaryLanIPv4 } from "./chrome-CBxye_ED.js";
|
|
12
12
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-dpUbQseI.js";
|
|
13
13
|
import { a as resolveStorePath, i as resolveSessionTranscriptsDirForAgent, n as resolveSessionFilePath, r as resolveSessionTranscriptPath } from "./paths-BifbScbU.js";
|
|
14
14
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BrkSiEN9.js";
|
|
15
|
-
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractAssistantThinking, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, t as describeImageWithModel, u as extractThinkingFromTaggedStream, v as resolveToolDisplay, y as ensureOpenClawModelsJson } from "./image-
|
|
15
|
+
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractAssistantThinking, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, t as describeImageWithModel, u as extractThinkingFromTaggedStream, v as resolveToolDisplay, y as ensureOpenClawModelsJson } from "./image-BNNazXqI.js";
|
|
16
16
|
import { i as resolveMemorySearchConfig, n as resolveRetryConfig, r as retryAsync } from "./manager-BLQprOme.js";
|
|
17
17
|
import { c as listMemoryFiles, l as normalizeExtraMemoryPaths } from "./sqlite-CpqIbY4-.js";
|
|
18
18
|
import { t as redactSensitiveText } from "./redact-BrXLgslJ.js";
|
|
@@ -36,7 +36,7 @@ import { EdgeTTS } from "node-edge-tts";
|
|
|
36
36
|
import AjvPkg from "ajv";
|
|
37
37
|
import { createServer } from "node:http";
|
|
38
38
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
39
|
-
import { WebSocket
|
|
39
|
+
import { WebSocket } from "ws";
|
|
40
40
|
import * as net$1 from "node:net";
|
|
41
41
|
import net from "node:net";
|
|
42
42
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
@@ -7154,7 +7154,7 @@ var GatewayClient = class {
|
|
|
7154
7154
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
7155
7155
|
});
|
|
7156
7156
|
}
|
|
7157
|
-
this.ws = new WebSocket
|
|
7157
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
7158
7158
|
this.ws.on("open", () => {
|
|
7159
7159
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
7160
7160
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -7358,7 +7358,7 @@ var GatewayClient = class {
|
|
|
7358
7358
|
return null;
|
|
7359
7359
|
}
|
|
7360
7360
|
async request(method, params, opts) {
|
|
7361
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
7361
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
7362
7362
|
const id = randomUUID();
|
|
7363
7363
|
const frame = {
|
|
7364
7364
|
type: "req",
|
|
@@ -9075,7 +9075,7 @@ async function routeReply(params) {
|
|
|
9075
9075
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
9076
9076
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
9077
9077
|
try {
|
|
9078
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
9078
|
+
const { deliverOutboundPayloads } = await import("./deliver-CR0uQwr7.js").then((n) => n.n);
|
|
9079
9079
|
return {
|
|
9080
9080
|
ok: true,
|
|
9081
9081
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -44602,7 +44602,7 @@ async function describeStickerImage(params) {
|
|
|
44602
44602
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
44603
44603
|
try {
|
|
44604
44604
|
const buffer = await fs$1.readFile(imagePath);
|
|
44605
|
-
const { describeImageWithModel } = await import("./image-
|
|
44605
|
+
const { describeImageWithModel } = await import("./image-BNNazXqI.js").then((n) => n.n);
|
|
44606
44606
|
return (await describeImageWithModel({
|
|
44607
44607
|
buffer,
|
|
44608
44608
|
fileName: "sticker.webp",
|
|
@@ -62,8 +62,8 @@ import { n as runCommandWithRuntime } from "./cli-utils-DKF-leO3.js";
|
|
|
62
62
|
import "./pairing-labels-B6ViJi8r.js";
|
|
63
63
|
import { t as buildChannelAccountSnapshot } from "./status-BggorVtQ.js";
|
|
64
64
|
import "./channels-status-issues-CftEAWF4.js";
|
|
65
|
-
import "./register.subclis-
|
|
66
|
-
import "./completion-cli-
|
|
65
|
+
import "./register.subclis-CYsvBF5c.js";
|
|
66
|
+
import "./completion-cli-DzFGiqKN.js";
|
|
67
67
|
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-BBw98Cve.js";
|
|
68
68
|
import "./daemon-runtime-DLtjWz00.js";
|
|
69
69
|
import "./service-CJ_9zG2c.js";
|
|
@@ -76,12 +76,12 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
76
76
|
import { a as toOptionString, i as parsePort$1, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-CXK7Zt_F.js";
|
|
77
77
|
import { i as probeGateway } from "./audit-Dnyfbisl.js";
|
|
78
78
|
import { g as discoverGatewayBeacons, n as installSkill } from "./onboard-skills-Cli5aapW.js";
|
|
79
|
-
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-
|
|
80
|
-
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
79
|
+
import { 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-fowslicT.js";
|
|
80
|
+
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-CztlHuQ9.js";
|
|
81
81
|
import "./github-copilot-auth-TxtjXx5m.js";
|
|
82
82
|
import "./logging-BENMfvo0.js";
|
|
83
83
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-Dr9j7oSo.js";
|
|
84
|
-
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-
|
|
84
|
+
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-CHFPyXak.js";
|
|
85
85
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-BA2DOmHk.js";
|
|
86
86
|
import "./tui-B8ryM4-q.js";
|
|
87
87
|
import { i as setGatewayWsLogStyle, n as logWs, r as summarizeAgentEventForWsLog, t as formatForLog } from "./ws-log-61vWaDj3.js";
|
|
@@ -56,7 +56,7 @@ import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-Dlhl
|
|
|
56
56
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-CAxaFrEP.js";
|
|
57
57
|
import { t as ensureOpenClawCliOnPath } from "./path-env-IQpWNtKc.js";
|
|
58
58
|
import "./daemon-runtime-q4XITAGg.js";
|
|
59
|
-
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-
|
|
59
|
+
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-KdG_ApLH.js";
|
|
60
60
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BNHVKXjR.js";
|
|
61
61
|
import "./logging-CXcMKWSI.js";
|
|
62
62
|
import "./note-CNcI64MY.js";
|
|
@@ -68,8 +68,8 @@ import { r as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin
|
|
|
68
68
|
import "./archive-CCWYT_Aq.js";
|
|
69
69
|
import "./skill-scanner-BRoRPexZ.js";
|
|
70
70
|
import "./installs-D7yfde04.js";
|
|
71
|
-
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-
|
|
72
|
-
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
71
|
+
import { 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-BSrJdaJW.js";
|
|
72
|
+
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-CsWAyRQf.js";
|
|
73
73
|
import { i as resolveGatewayAuth, n as authorizeGatewayConnect, r as isLocalDirectRequest, t as assertGatewayAuthConfigured } from "./auth-BpUy1iRX.js";
|
|
74
74
|
import { i as probeGateway } from "./audit-DJRS7Nza.js";
|
|
75
75
|
import "./table-BwcmzWVS.js";
|
|
@@ -79,7 +79,7 @@ import "./systemd-BBNP9bBm.js";
|
|
|
79
79
|
import "./service-audit-DtmRGU4O.js";
|
|
80
80
|
import "./node-service-D-Vn9yxc.js";
|
|
81
81
|
import "./channels-status-issues-CZVE---T.js";
|
|
82
|
-
import "./completion-cli-
|
|
82
|
+
import "./completion-cli-BkcNcF2W.js";
|
|
83
83
|
import { a as createOutboundSendDeps$1, i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-CVUy1Thi.js";
|
|
84
84
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-BlEx7SXC.js";
|
|
85
85
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-Dbj4IlQS.js";
|
|
@@ -1241,7 +1241,8 @@ async function resolveControlUiDistIndexPath(argv1 = process.argv[1]) {
|
|
|
1241
1241
|
const indexPath = path.join(dir, "dist", "control-ui", "index.html");
|
|
1242
1242
|
if (fs.existsSync(pkgJsonPath) && fs.existsSync(indexPath)) try {
|
|
1243
1243
|
const raw = fs.readFileSync(pkgJsonPath, "utf-8");
|
|
1244
|
-
|
|
1244
|
+
const parsed = JSON.parse(raw);
|
|
1245
|
+
if (parsed.name === "openclaw" || parsed.name === "@guadskill/openclaw-proxy") return indexPath;
|
|
1245
1246
|
} catch {}
|
|
1246
1247
|
const parent = path.dirname(dir);
|
|
1247
1248
|
if (parent === dir) break;
|
|
@@ -1240,7 +1240,8 @@ async function resolveControlUiDistIndexPath(argv1 = process.argv[1]) {
|
|
|
1240
1240
|
const indexPath = path.join(dir, "dist", "control-ui", "index.html");
|
|
1241
1241
|
if (fs.existsSync(pkgJsonPath) && fs.existsSync(indexPath)) try {
|
|
1242
1242
|
const raw = fs.readFileSync(pkgJsonPath, "utf-8");
|
|
1243
|
-
|
|
1243
|
+
const parsed = JSON.parse(raw);
|
|
1244
|
+
if (parsed.name === "openclaw" || parsed.name === "@guadskill/openclaw-proxy") return indexPath;
|
|
1244
1245
|
} catch {}
|
|
1245
1246
|
const parent = path.dirname(dir);
|
|
1246
1247
|
if (parent === dir) break;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { j as isRecord, z as shortenHomeInString } from "./exec-BfU1Ka_V.js";
|
|
3
3
|
import { B as resolveOpenClawAgentDir, V as normalizeSecretInput, _ as getApiKeyForModel, g as resolveImplicitProviders, h as resolveImplicitCopilotProvider, m as resolveImplicitBedrockProvider, p as normalizeProviders, y as requireApiKey } from "./model-selection-BqJ7D4pt.js";
|
|
4
|
-
import { V as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
4
|
+
import { V as sanitizeUserFacingText } from "./pi-embedded-helpers-DBsbz1Wq.js";
|
|
5
5
|
import { t as loadConfig } from "./config-NtjUezp5.js";
|
|
6
6
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-EhM2JAQo.js";
|
|
7
7
|
import { n as redactToolDetail } from "./redact-BrXLgslJ.js";
|
package/dist/index.js
CHANGED
|
@@ -53,7 +53,7 @@ import { l as ensureBinary, u as promptYesNo } from "./tailscale-CAxaFrEP.js";
|
|
|
53
53
|
import { t as isMainModule } from "./is-main-iERzpHyZ.js";
|
|
54
54
|
import { t as ensureOpenClawCliOnPath } from "./path-env-IQpWNtKc.js";
|
|
55
55
|
import { a as gatewayInstallErrorHint, g as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-q4XITAGg.js";
|
|
56
|
-
import { a as buildAgentSummaries, c as loadAgentIdentity, f as parseIdentityMarkdown, i as applyAgentConfig, l as pruneAgentConfig, n as statusCommand, o as findAgentEntryIndex, s as listAgentEntries, t as runOnboardingWizard, u as identityHasValues } from "./onboarding-
|
|
56
|
+
import { a as buildAgentSummaries, c as loadAgentIdentity, f as parseIdentityMarkdown, i as applyAgentConfig, l as pruneAgentConfig, n as statusCommand, o as findAgentEntryIndex, s as listAgentEntries, t as runOnboardingWizard, u as identityHasValues } from "./onboarding-KdG_ApLH.js";
|
|
57
57
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BNHVKXjR.js";
|
|
58
58
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-CXcMKWSI.js";
|
|
59
59
|
import "./note-CNcI64MY.js";
|
|
@@ -66,8 +66,8 @@ import "./plugin-auto-enable-CTA5rOU5.js";
|
|
|
66
66
|
import "./archive-CCWYT_Aq.js";
|
|
67
67
|
import "./skill-scanner-BRoRPexZ.js";
|
|
68
68
|
import "./installs-D7yfde04.js";
|
|
69
|
-
import { l as healthCommand } from "./health-format-
|
|
70
|
-
import "./update-runner-
|
|
69
|
+
import { l as healthCommand } from "./health-format-BSrJdaJW.js";
|
|
70
|
+
import "./update-runner-CsWAyRQf.js";
|
|
71
71
|
import "./auth-BpUy1iRX.js";
|
|
72
72
|
import "./audit-DJRS7Nza.js";
|
|
73
73
|
import { t as renderTable } from "./table-BwcmzWVS.js";
|
|
@@ -77,17 +77,17 @@ import { r as isSystemdUserServiceAvailable } from "./systemd-BBNP9bBm.js";
|
|
|
77
77
|
import "./service-audit-DtmRGU4O.js";
|
|
78
78
|
import "./node-service-D-Vn9yxc.js";
|
|
79
79
|
import "./channels-status-issues-CZVE---T.js";
|
|
80
|
-
import { c as registerSubCliCommands, d as getPositiveIntFlagValue, f as getVerboseFlag, l as getCommandPath, m as hasHelpOrVersion, p as hasFlag, u as getFlagValue } from "./completion-cli-
|
|
80
|
+
import { c as registerSubCliCommands, d as getPositiveIntFlagValue, f as getVerboseFlag, l as getCommandPath, m as hasHelpOrVersion, p as hasFlag, u as getFlagValue } from "./completion-cli-BkcNcF2W.js";
|
|
81
81
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-ftABAYn5.js";
|
|
82
82
|
import { t as formatHelpExamples } from "./help-format-BJ7LtzwC.js";
|
|
83
83
|
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-CVUy1Thi.js";
|
|
84
84
|
import { i as hasExplicitOptions, n as resolveCliChannelOptions, r as ensurePluginRegistryLoaded } from "./channel-options-P2xeFf1J.js";
|
|
85
85
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-CdNw2RUq.js";
|
|
86
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
86
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-Mwbu9bfG.js";
|
|
87
87
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-Cg55REe7.js";
|
|
88
88
|
import "./widearea-dns-BlEx7SXC.js";
|
|
89
89
|
import "./auth-health-CE7uy9mo.js";
|
|
90
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
90
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-D_er5eUz.js";
|
|
91
91
|
import "./hooks-status-Dbj4IlQS.js";
|
|
92
92
|
import "./tui-DMtfTPeq.js";
|
|
93
93
|
import process$1 from "node:process";
|
|
@@ -2833,7 +2833,7 @@ async function loadValidConfig() {
|
|
|
2833
2833
|
}
|
|
2834
2834
|
function registerConfigCli(program) {
|
|
2835
2835
|
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.openclaw.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
2836
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2836
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-Mwbu9bfG.js").then((n) => n.t);
|
|
2837
2837
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2838
2838
|
if (sections.length === 0) {
|
|
2839
2839
|
await configureCommand(defaultRuntime);
|
|
@@ -24,8 +24,8 @@ import { n as logConfigUpdated } from "./logging-CXcMKWSI.js";
|
|
|
24
24
|
import { t as WizardCancelledError } from "./prompts-CMFALzCp.js";
|
|
25
25
|
import { c as promptDefaultModel, d as warnIfModelConfigLooksOff, f as applyAuthChoice, g as promptAuthChoiceGrouped, r as promptRemoteGatewayConfig, s as applyPrimaryModel, t as setupSkills, u as resolvePreferredProviderForAuthChoice } from "./onboard-skills-bQdrzd5W.js";
|
|
26
26
|
import { n as setupChannels } from "./onboard-channels-Bi5gN7Cg.js";
|
|
27
|
-
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForAgent } from "./health-format-
|
|
28
|
-
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, d as formatUpdateOneLiner, f as getUpdateCheckResult, h as compareSemverStrings, l as ensureCompletionCacheExists, m as checkUpdateStatus, p as resolveUpdateAvailability, s as checkShellCompletionStatus, u as formatUpdateAvailableHint, x as formatUpdateChannelLabel } from "./update-runner-
|
|
27
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForAgent } from "./health-format-BSrJdaJW.js";
|
|
28
|
+
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, d as formatUpdateOneLiner, f as getUpdateCheckResult, h as compareSemverStrings, l as ensureCompletionCacheExists, m as checkUpdateStatus, p as resolveUpdateAvailability, s as checkShellCompletionStatus, u as formatUpdateAvailableHint, x as formatUpdateChannelLabel } from "./update-runner-CsWAyRQf.js";
|
|
29
29
|
import { i as probeGateway, t as runSecurityAudit } from "./audit-DJRS7Nza.js";
|
|
30
30
|
import { t as renderTable } from "./table-BwcmzWVS.js";
|
|
31
31
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-8m5p33dD.js";
|
|
@@ -35,7 +35,7 @@ import { o as readLastGatewayErrorLine } from "./service-audit-DtmRGU4O.js";
|
|
|
35
35
|
import { t as resolveNodeService } from "./node-service-D-Vn9yxc.js";
|
|
36
36
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-CZVE---T.js";
|
|
37
37
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-3UVGDXoH.js";
|
|
38
|
-
import { r as installCompletion } from "./completion-cli-
|
|
38
|
+
import { r as installCompletion } from "./completion-cli-BkcNcF2W.js";
|
|
39
39
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-Dbj4IlQS.js";
|
|
40
40
|
import { t as runTui } from "./tui-DMtfTPeq.js";
|
|
41
41
|
import fs from "node:fs";
|
|
@@ -4,7 +4,7 @@ import { C as CONFIG_DIR, F as resolveConfigDir, L as resolveUserPath, O as esca
|
|
|
4
4
|
import { O as isTruthyEnvValue, k as parseBooleanValue } from "./model-selection-BqJ7D4pt.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CFzL448l.js";
|
|
6
6
|
import { _ as resolveEnableState, f as loadPluginManifestRegistry, g as normalizePluginsConfig, h as MANIFEST_KEY, i as writeConfigFile, k as resolveWhatsAppAccount, m as LEGACY_MANIFEST_KEYS, t as loadConfig, v as resolveMemorySlotDecision } from "./config-NtjUezp5.js";
|
|
7
|
-
import { C as DEFAULT_AI_SNAPSHOT_MAX_CHARS, D as DEFAULT_OPENCLAW_BROWSER_ENABLED, E as DEFAULT_OPENCLAW_BROWSER_COLOR, O as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, S as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, T as DEFAULT_BROWSER_EVALUATE_ENABLED, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as stopChromeExtensionRelayServer, h as ensureChromeExtensionRelayServer, i as launchOpenClawChrome, l as createTargetViaCdp, m as getHeadersWithAuth, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as isLoopbackHost, w as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH } from "./chrome-
|
|
7
|
+
import { C as DEFAULT_AI_SNAPSHOT_MAX_CHARS, D as DEFAULT_OPENCLAW_BROWSER_ENABLED, E as DEFAULT_OPENCLAW_BROWSER_COLOR, O as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, S as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, T as DEFAULT_BROWSER_EVALUATE_ENABLED, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as stopChromeExtensionRelayServer, h as ensureChromeExtensionRelayServer, i as launchOpenClawChrome, l as createTargetViaCdp, m as getHeadersWithAuth, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as isLoopbackHost, w as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH } from "./chrome-CBxye_ED.js";
|
|
8
8
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-dpUbQseI.js";
|
|
9
9
|
import { r as resolveSessionTranscriptPath, t as resolveDefaultSessionStorePath } from "./paths-BifbScbU.js";
|
|
10
10
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BrkSiEN9.js";
|
|
@@ -2042,7 +2042,7 @@ function isModuleNotFoundError(err) {
|
|
|
2042
2042
|
}
|
|
2043
2043
|
async function loadPwAiModule(mode) {
|
|
2044
2044
|
try {
|
|
2045
|
-
return await import("./pw-ai-
|
|
2045
|
+
return await import("./pw-ai-C3QEyFGj.js");
|
|
2046
2046
|
} catch (err) {
|
|
2047
2047
|
if (mode === "soft") return null;
|
|
2048
2048
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -4860,11 +4860,11 @@ function createProfileContext(opts, profile) {
|
|
|
4860
4860
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
4861
4861
|
const profileState = getProfileState();
|
|
4862
4862
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
4863
|
-
await (await import("./pw-ai-
|
|
4863
|
+
await (await import("./pw-ai-C3QEyFGj.js")).closePlaywrightBrowserConnection();
|
|
4864
4864
|
} catch {}
|
|
4865
4865
|
if (profileState.running) await stopRunningBrowser();
|
|
4866
4866
|
try {
|
|
4867
|
-
await (await import("./pw-ai-
|
|
4867
|
+
await (await import("./pw-ai-C3QEyFGj.js")).closePlaywrightBrowserConnection();
|
|
4868
4868
|
} catch {}
|
|
4869
4869
|
if (!fs.existsSync(userDataDir)) return {
|
|
4870
4870
|
moved: false,
|
|
@@ -52,8 +52,8 @@ import "./pairing-labels-B6ViJi8r.js";
|
|
|
52
52
|
import "./channels-status-issues-CftEAWF4.js";
|
|
53
53
|
import { n as ensurePluginRegistryLoaded } from "./command-options-DFbsypaU.js";
|
|
54
54
|
import { n as resolveCliChannelOptions } from "./channel-options-oOUobhHQ.js";
|
|
55
|
-
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-
|
|
56
|
-
import "./completion-cli-
|
|
55
|
+
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-CYsvBF5c.js";
|
|
56
|
+
import "./completion-cli-DzFGiqKN.js";
|
|
57
57
|
import "./gateway-rpc-CUNihWum.js";
|
|
58
58
|
import "./deps-BBw98Cve.js";
|
|
59
59
|
import "./daemon-runtime-DLtjWz00.js";
|
|
@@ -64,23 +64,23 @@ import "./table--JAk2fhT.js";
|
|
|
64
64
|
import "./widearea-dns-DaX8jMWT.js";
|
|
65
65
|
import "./audit-Dnyfbisl.js";
|
|
66
66
|
import "./onboard-skills-Cli5aapW.js";
|
|
67
|
-
import "./health-format-
|
|
68
|
-
import "./update-runner-
|
|
67
|
+
import "./health-format-fowslicT.js";
|
|
68
|
+
import "./update-runner-CztlHuQ9.js";
|
|
69
69
|
import "./github-copilot-auth-TxtjXx5m.js";
|
|
70
70
|
import "./logging-BENMfvo0.js";
|
|
71
71
|
import "./hooks-status-Dr9j7oSo.js";
|
|
72
|
-
import "./status-
|
|
72
|
+
import "./status-CHFPyXak.js";
|
|
73
73
|
import "./skills-status-BA2DOmHk.js";
|
|
74
74
|
import "./tui-B8ryM4-q.js";
|
|
75
75
|
import "./agent-D-ZY5Ay1.js";
|
|
76
76
|
import "./node-service-CkPOvRv0.js";
|
|
77
77
|
import { t as forceFreePort } from "./ports-DbnuiZZO.js";
|
|
78
78
|
import "./auth-health-ov3toXHm.js";
|
|
79
|
-
import { i as hasEmittedCliBanner, n as emitCliBanner, o as registerProgramCommands, r as formatCliBannerLine, t as ensureConfigReady } from "./config-guard-
|
|
79
|
+
import { i as hasEmittedCliBanner, n as emitCliBanner, o as registerProgramCommands, r as formatCliBannerLine, t as ensureConfigReady } from "./config-guard-GXJBeXgt.js";
|
|
80
80
|
import "./help-format-BBZy5-Be.js";
|
|
81
|
-
import "./configure-
|
|
81
|
+
import "./configure-Cn-9vqSs.js";
|
|
82
82
|
import "./systemd-linger-C57Dz7hA.js";
|
|
83
|
-
import "./doctor-
|
|
83
|
+
import "./doctor-iSnCqUEi.js";
|
|
84
84
|
import { Command } from "commander";
|
|
85
85
|
|
|
86
86
|
//#region src/cli/program/context.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-rb94mUrR.js";
|
|
2
2
|
import "./exec-BfU1Ka_V.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CFzL448l.js";
|
|
4
|
-
import { m as getHeadersWithAuth, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-
|
|
4
|
+
import { m as getHeadersWithAuth, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-CBxye_ED.js";
|
|
5
5
|
import { n as formatErrorMessage } from "./errors-dpUbQseI.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
@@ -124,7 +124,7 @@ const entries = [
|
|
|
124
124
|
name: "gateway",
|
|
125
125
|
description: "Gateway control",
|
|
126
126
|
register: async (program) => {
|
|
127
|
-
(await import("./gateway-cli-
|
|
127
|
+
(await import("./gateway-cli-BUHCHKE6.js")).registerGatewayCli(program);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
{
|
|
@@ -282,14 +282,14 @@ const entries = [
|
|
|
282
282
|
name: "update",
|
|
283
283
|
description: "CLI update helpers",
|
|
284
284
|
register: async (program) => {
|
|
285
|
-
(await import("./update-cli-
|
|
285
|
+
(await import("./update-cli-MVVbpgcz.js")).registerUpdateCli(program);
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
{
|
|
289
289
|
name: "completion",
|
|
290
290
|
description: "Generate shell completion script",
|
|
291
291
|
register: async (program) => {
|
|
292
|
-
(await import("./completion-cli-
|
|
292
|
+
(await import("./completion-cli-DzFGiqKN.js").then((n) => n.n)).registerCompletionCli(program);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
];
|
|
@@ -52,8 +52,8 @@ import "./login-qr-BoEpQD7W.js";
|
|
|
52
52
|
import "./pairing-labels-B6ViJi8r.js";
|
|
53
53
|
import "./channels-status-issues-CftEAWF4.js";
|
|
54
54
|
import { n as ensurePluginRegistryLoaded } from "./command-options-DFbsypaU.js";
|
|
55
|
-
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-
|
|
56
|
-
import "./completion-cli-
|
|
55
|
+
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-CYsvBF5c.js";
|
|
56
|
+
import "./completion-cli-DzFGiqKN.js";
|
|
57
57
|
import "./gateway-rpc-CUNihWum.js";
|
|
58
58
|
import "./deps-BBw98Cve.js";
|
|
59
59
|
import { h as assertSupportedRuntime } from "./daemon-runtime-DLtjWz00.js";
|
|
@@ -64,22 +64,22 @@ import "./table--JAk2fhT.js";
|
|
|
64
64
|
import "./widearea-dns-DaX8jMWT.js";
|
|
65
65
|
import "./audit-Dnyfbisl.js";
|
|
66
66
|
import "./onboard-skills-Cli5aapW.js";
|
|
67
|
-
import "./health-format-
|
|
68
|
-
import "./update-runner-
|
|
67
|
+
import "./health-format-fowslicT.js";
|
|
68
|
+
import "./update-runner-CztlHuQ9.js";
|
|
69
69
|
import "./github-copilot-auth-TxtjXx5m.js";
|
|
70
70
|
import "./logging-BENMfvo0.js";
|
|
71
71
|
import "./hooks-status-Dr9j7oSo.js";
|
|
72
|
-
import "./status-
|
|
72
|
+
import "./status-CHFPyXak.js";
|
|
73
73
|
import "./skills-status-BA2DOmHk.js";
|
|
74
74
|
import "./tui-B8ryM4-q.js";
|
|
75
75
|
import "./agent-D-ZY5Ay1.js";
|
|
76
76
|
import "./node-service-CkPOvRv0.js";
|
|
77
77
|
import "./auth-health-ov3toXHm.js";
|
|
78
|
-
import { a as findRoutedCommand, n as emitCliBanner, t as ensureConfigReady } from "./config-guard-
|
|
78
|
+
import { a as findRoutedCommand, n as emitCliBanner, t as ensureConfigReady } from "./config-guard-GXJBeXgt.js";
|
|
79
79
|
import "./help-format-BBZy5-Be.js";
|
|
80
|
-
import "./configure-
|
|
80
|
+
import "./configure-Cn-9vqSs.js";
|
|
81
81
|
import "./systemd-linger-C57Dz7hA.js";
|
|
82
|
-
import "./doctor-
|
|
82
|
+
import "./doctor-iSnCqUEi.js";
|
|
83
83
|
import path from "node:path";
|
|
84
84
|
import process$1 from "node:process";
|
|
85
85
|
import fs from "node:fs";
|
|
@@ -126,7 +126,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
126
126
|
assertSupportedRuntime();
|
|
127
127
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
128
128
|
enableConsoleCapture();
|
|
129
|
-
const { buildProgram } = await import("./program-
|
|
129
|
+
const { buildProgram } = await import("./program-CFqsq13P.js");
|
|
130
130
|
const program = buildProgram();
|
|
131
131
|
installUnhandledRejectionHandler();
|
|
132
132
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -136,7 +136,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
136
136
|
const parseArgv = rewriteUpdateFlagArgv(normalizedArgv);
|
|
137
137
|
const primary = getPrimaryCommand(parseArgv);
|
|
138
138
|
if (primary) {
|
|
139
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
139
|
+
const { registerSubCliByName } = await import("./register.subclis-CYsvBF5c.js").then((n) => n.i);
|
|
140
140
|
await registerSubCliByName(program, primary);
|
|
141
141
|
}
|
|
142
142
|
if (!(!primary && hasHelpOrVersion(parseArgv))) {
|
|
@@ -21,7 +21,7 @@ import { I as resolveMainSessionKey, d as loadSessionStore } from "./sandbox-D88
|
|
|
21
21
|
import { r as formatDurationPrecise } from "./format-duration-DCXJx2ba.js";
|
|
22
22
|
import { n as formatTimeAgo } from "./format-relative-CZOlQ2pA.js";
|
|
23
23
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-CftEAWF4.js";
|
|
24
|
-
import { r as installCompletion } from "./completion-cli-
|
|
24
|
+
import { r as installCompletion } from "./completion-cli-DzFGiqKN.js";
|
|
25
25
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DLtjWz00.js";
|
|
26
26
|
import { n as isPm2Available, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CJ_9zG2c.js";
|
|
27
27
|
import { r as isSystemdUserServiceAvailable } from "./systemd-D8TmVYdf.js";
|
|
@@ -29,8 +29,8 @@ import { o as readLastGatewayErrorLine } from "./service-audit-CURwIRFh.js";
|
|
|
29
29
|
import { t as renderTable } from "./table--JAk2fhT.js";
|
|
30
30
|
import { i as probeGateway, t as runSecurityAudit } from "./audit-Dnyfbisl.js";
|
|
31
31
|
import { d as applyAuthChoice, h as promptAuthChoiceGrouped, l as resolvePreferredProviderForAuthChoice, o as applyPrimaryModel, r as promptRemoteGatewayConfig, s as promptDefaultModel, t as setupSkills, u as warnIfModelConfigLooksOff } from "./onboard-skills-Cli5aapW.js";
|
|
32
|
-
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForAgent } from "./health-format-
|
|
33
|
-
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, c as formatUpdateOneLiner, d as checkShellCompletionStatus, h as compareSemverStrings, l as getUpdateCheckResult, m as checkUpdateStatus, p as ensureCompletionCacheExists, s as formatUpdateAvailableHint, u as resolveUpdateAvailability, x as formatUpdateChannelLabel } from "./update-runner-
|
|
32
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForAgent } from "./health-format-fowslicT.js";
|
|
33
|
+
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, c as formatUpdateOneLiner, d as checkShellCompletionStatus, h as compareSemverStrings, l as getUpdateCheckResult, m as checkUpdateStatus, p as ensureCompletionCacheExists, s as formatUpdateAvailableHint, u as resolveUpdateAvailability, x as formatUpdateChannelLabel } from "./update-runner-CztlHuQ9.js";
|
|
34
34
|
import { n as logConfigUpdated } from "./logging-BENMfvo0.js";
|
|
35
35
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-Dr9j7oSo.js";
|
|
36
36
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-BA2DOmHk.js";
|
|
@@ -54,8 +54,8 @@ import "./plugin-auto-enable-CTA5rOU5.js";
|
|
|
54
54
|
import "./archive-CCWYT_Aq.js";
|
|
55
55
|
import "./skill-scanner-BRoRPexZ.js";
|
|
56
56
|
import "./installs-D7yfde04.js";
|
|
57
|
-
import "./health-format-
|
|
58
|
-
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, _ as resolveNpmChannelTag, a as globalInstallArgs, b as channelToNpmTag, d as formatUpdateOneLiner, g as fetchNpmTagVersion, h as compareSemverStrings, i as detectGlobalInstallManagerForRoot, l as ensureCompletionCacheExists, m as checkUpdateStatus, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, p as resolveUpdateAvailability, r as detectGlobalInstallManagerByPresence, s as checkShellCompletionStatus, t as runGatewayUpdate, u as formatUpdateAvailableHint, v as DEFAULT_GIT_CHANNEL, x as formatUpdateChannelLabel, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
57
|
+
import "./health-format-BSrJdaJW.js";
|
|
58
|
+
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, _ as resolveNpmChannelTag, a as globalInstallArgs, b as channelToNpmTag, d as formatUpdateOneLiner, g as fetchNpmTagVersion, h as compareSemverStrings, i as detectGlobalInstallManagerForRoot, l as ensureCompletionCacheExists, m as checkUpdateStatus, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, p as resolveUpdateAvailability, r as detectGlobalInstallManagerByPresence, s as checkShellCompletionStatus, t as runGatewayUpdate, u as formatUpdateAvailableHint, v as DEFAULT_GIT_CHANNEL, x as formatUpdateChannelLabel, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-CsWAyRQf.js";
|
|
59
59
|
import "./auth-BpUy1iRX.js";
|
|
60
60
|
import { t as renderTable } from "./table-BwcmzWVS.js";
|
|
61
61
|
import "./skills-status-8m5p33dD.js";
|
|
@@ -63,11 +63,11 @@ import "./service-gVhgRoT3.js";
|
|
|
63
63
|
import "./systemd-BBNP9bBm.js";
|
|
64
64
|
import "./service-audit-DtmRGU4O.js";
|
|
65
65
|
import "./channels-status-issues-CZVE---T.js";
|
|
66
|
-
import { r as installCompletion } from "./completion-cli-
|
|
66
|
+
import { r as installCompletion } from "./completion-cli-BkcNcF2W.js";
|
|
67
67
|
import { t as formatHelpExamples } from "./help-format-BJ7LtzwC.js";
|
|
68
68
|
import "./systemd-linger-Cg55REe7.js";
|
|
69
69
|
import "./auth-health-CE7uy9mo.js";
|
|
70
|
-
import { t as doctorCommand } from "./doctor-
|
|
70
|
+
import { t as doctorCommand } from "./doctor-D_er5eUz.js";
|
|
71
71
|
import "./shared-j8Sd-aqF.js";
|
|
72
72
|
import { r as runDaemonRestart } from "./daemon-cli-BQFZUZXG.js";
|
|
73
73
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-CyXj3fJ1.js";
|
|
@@ -50,8 +50,8 @@ import "./pairing-store-DKhgYwjg.js";
|
|
|
50
50
|
import "./login-qr-BoEpQD7W.js";
|
|
51
51
|
import "./pairing-labels-B6ViJi8r.js";
|
|
52
52
|
import "./channels-status-issues-CftEAWF4.js";
|
|
53
|
-
import "./register.subclis-
|
|
54
|
-
import { r as installCompletion } from "./completion-cli-
|
|
53
|
+
import "./register.subclis-CYsvBF5c.js";
|
|
54
|
+
import { r as installCompletion } from "./completion-cli-DzFGiqKN.js";
|
|
55
55
|
import "./deps-BBw98Cve.js";
|
|
56
56
|
import { g as parseSemver } from "./daemon-runtime-DLtjWz00.js";
|
|
57
57
|
import "./service-CJ_9zG2c.js";
|
|
@@ -60,15 +60,15 @@ import "./shared-BFnl2Cjh.js";
|
|
|
60
60
|
import { r as runDaemonRestart } from "./daemon-cli-D7bFcRv4.js";
|
|
61
61
|
import "./service-audit-CURwIRFh.js";
|
|
62
62
|
import { t as renderTable } from "./table--JAk2fhT.js";
|
|
63
|
-
import "./health-format-
|
|
64
|
-
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, _ as resolveNpmChannelTag, a as globalInstallArgs, b as channelToNpmTag, c as formatUpdateOneLiner, d as checkShellCompletionStatus, g as fetchNpmTagVersion, h as compareSemverStrings, i as detectGlobalInstallManagerForRoot, m as checkUpdateStatus, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, p as ensureCompletionCacheExists, r as detectGlobalInstallManagerByPresence, s as formatUpdateAvailableHint, t as runGatewayUpdate, u as resolveUpdateAvailability, v as DEFAULT_GIT_CHANNEL, x as formatUpdateChannelLabel, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
63
|
+
import "./health-format-fowslicT.js";
|
|
64
|
+
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, _ as resolveNpmChannelTag, a as globalInstallArgs, b as channelToNpmTag, c as formatUpdateOneLiner, d as checkShellCompletionStatus, g as fetchNpmTagVersion, h as compareSemverStrings, i as detectGlobalInstallManagerForRoot, m as checkUpdateStatus, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, p as ensureCompletionCacheExists, r as detectGlobalInstallManagerByPresence, s as formatUpdateAvailableHint, t as runGatewayUpdate, u as resolveUpdateAvailability, v as DEFAULT_GIT_CHANNEL, x as formatUpdateChannelLabel, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-CztlHuQ9.js";
|
|
65
65
|
import "./logging-BENMfvo0.js";
|
|
66
66
|
import "./skills-status-BA2DOmHk.js";
|
|
67
67
|
import "./auth-health-ov3toXHm.js";
|
|
68
68
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-DkJ6rvG7.js";
|
|
69
69
|
import { t as formatHelpExamples } from "./help-format-BBZy5-Be.js";
|
|
70
70
|
import "./systemd-linger-C57Dz7hA.js";
|
|
71
|
-
import { t as doctorCommand } from "./doctor-
|
|
71
|
+
import { t as doctorCommand } from "./doctor-iSnCqUEi.js";
|
|
72
72
|
import { spawnSync } from "node:child_process";
|
|
73
73
|
import path from "node:path";
|
|
74
74
|
import os from "node:os";
|
|
@@ -5,8 +5,8 @@ import { r as resolveCliName, t as formatCliCommand } from "./command-format-Chf
|
|
|
5
5
|
import { j as VERSION } from "./config-yg3MNzIZ.js";
|
|
6
6
|
import { _ as parseSemver } from "./daemon-runtime-q4XITAGg.js";
|
|
7
7
|
import { t as note } from "./note-CNcI64MY.js";
|
|
8
|
-
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth } from "./health-format-
|
|
9
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
8
|
+
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth } from "./health-format-BSrJdaJW.js";
|
|
9
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-BkcNcF2W.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
@@ -4,9 +4,9 @@ import { t as resolveOpenClawPackageRoot } from "./openclaw-root-zKi4apQH.js";
|
|
|
4
4
|
import { j as VERSION } from "./config-DFgdMueL.js";
|
|
5
5
|
import { Bn as trimLogTail } from "./loader-BNGc0TMW.js";
|
|
6
6
|
import { t as note } from "./note-Ci08TSbV.js";
|
|
7
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
7
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-DzFGiqKN.js";
|
|
8
8
|
import { g as parseSemver } from "./daemon-runtime-DLtjWz00.js";
|
|
9
|
-
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth } from "./health-format-
|
|
9
|
+
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth } from "./health-format-fowslicT.js";
|
|
10
10
|
import { spawnSync } from "node:child_process";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import os from "node:os";
|