@qingchencloud/openclaw-zh 2026.2.12-zh.3 → 2026.2.12-zh.5
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-C1qO9t63.js → audio-preflight-BNKhW-Vt.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-DBK0k-zW.js → chrome-BfB6JdKF.js} +7 -7
- package/dist/{completion-cli-29hSs7Be.js → completion-cli-Bh5I8KKW.js} +1 -1
- package/dist/{completion-cli-CQdsmnqz.js → completion-cli-CcaE0pUj.js} +2 -2
- package/dist/{config-guard-D9_It3AA.js → config-guard-Dwy_SXfj.js} +6 -6
- package/dist/{configure-B_ZaVlaT.js → configure-CVEM7ZqO.js} +1 -1
- package/dist/{configure-DRSUMlfQ.js → configure-DFwId08e.js} +1 -1
- package/dist/{deliver-ufxTyb_h.js → deliver-DwAAnv-O.js} +2 -2
- package/dist/{doctor-CT9FseG4.js → doctor-BLN7IPI4.js} +1 -1
- package/dist/{doctor-CL1Vk1FP.js → doctor-mJ96-PMI.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{fetch-timeout-CQAXYpkf.js → fetch-timeout-D9vZxmn-.js} +1 -1
- package/dist/{gateway-cli-BiX4UqWn.js → gateway-cli-DRTmlmrN.js} +5 -5
- package/dist/{gateway-cli-D78VNFTj.js → gateway-cli-JDQ6uvV5.js} +4 -4
- package/dist/{image-Se69TxM6.js → image-DYbYO_Of.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{onboard-skills-CsNz0Wkv.js → onboard-skills-DnHguAep.js} +46 -46
- package/dist/{onboard-skills-D6Y95BQU.js → onboard-skills-gWje1Dwu.js} +46 -46
- package/dist/{onboarding-OanncRVz.js → onboarding-FiHTLDne.js} +3 -3
- package/dist/{pi-embedded-BajpkVXG.js → pi-embedded-C-S7ujlk.js} +14 -14
- package/dist/{pi-embedded-helpers-D6YyZfbk.js → pi-embedded-helpers-BIu8IFQZ.js} +4 -4
- package/dist/{program-4GvkPUxO.js → program-CDBEm6if.js} +8 -8
- package/dist/{pw-ai-BC4pMrPo.js → pw-ai-FGoRVblI.js} +1 -1
- package/dist/{register.subclis-Ckg92JnL.js → register.subclis-RSfGxYNZ.js} +3 -3
- package/dist/{run-main-DmVeZxrJ.js → run-main-CoC16qlB.js} +10 -10
- package/dist/{runner-Dh_HAVq-.js → runner-nc039KUI.js} +3 -3
- package/dist/{status-BLlAKv15.js → status-D7wvJfkI.js} +3 -3
- package/dist/{update-cli-BF9GxtAB.js → update-cli-CWwlZWt8.js} +4 -4
- package/dist/{update-cli-DQ4jF07H.js → update-cli-I4ys5Qke.js} +5 -5
- package/dist/{update-runner-VnnYRmT8.js → update-runner-fgGnSCWB.js} +1 -1
- package/dist/{update-runner-BjsDLkPY.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-BIu8IFQZ.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-BfB6JdKF.js";
|
|
10
10
|
import "./paths-Zbzpgrfo.js";
|
|
11
|
-
import "./image-
|
|
11
|
+
import "./image-DYbYO_Of.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-D9vZxmn-.js";
|
|
14
|
+
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-nc039KUI.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-DwAAnv-O.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-C-S7ujlk.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-BIu8IFQZ.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-BfB6JdKF.js";
|
|
13
13
|
import { n as resolveSessionFilePath, o as resolveStorePath } from "../../paths-Zbzpgrfo.js";
|
|
14
|
-
import "../../image-
|
|
14
|
+
import "../../image-DYbYO_Of.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-D9vZxmn-.js";
|
|
19
|
+
import { s as loadModelCatalog } from "../../runner-nc039KUI.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-DwAAnv-O.js";
|
|
5
|
+
import { T as hasInterSessionUserProvenance } from "../../pi-embedded-C-S7ujlk.js";
|
|
6
|
+
import "../../pi-embedded-helpers-BIu8IFQZ.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-BfB6JdKF.js";
|
|
12
12
|
import "../../paths-Zbzpgrfo.js";
|
|
13
|
-
import "../../image-
|
|
13
|
+
import "../../image-DYbYO_Of.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-D9vZxmn-.js";
|
|
18
|
+
import "../../runner-nc039KUI.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
|
|
11
|
+
import WebSocket, { 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
|
|
176
|
+
if (!ws || ws.readyState !== WebSocket.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
|
|
193
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
194
194
|
ws.send(msg);
|
|
195
195
|
}
|
|
196
196
|
};
|
|
197
197
|
const sendResponseToCdp = (ws, res) => {
|
|
198
|
-
if (ws.readyState !== WebSocket
|
|
198
|
+
if (ws.readyState !== WebSocket.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
|
|
418
|
+
if (ws.readyState !== WebSocket.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
|
|
715
|
+
const ws = new WebSocket(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
|
|
1850
|
+
const ws = new WebSocket(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";
|
|
@@ -31,16 +31,16 @@ import { a as gatewayInstallErrorHint, h as assertSupportedRuntime, i as buildGa
|
|
|
31
31
|
import { t as resolveGatewayService } from "./service-DVi9-qHB.js";
|
|
32
32
|
import { r as isSystemdUserServiceAvailable } from "./systemd-C0VZriGM.js";
|
|
33
33
|
import { t as renderTable } from "./table-CwulTLQp.js";
|
|
34
|
-
import { _ as applyOpenAIConfig, a as applyCustomApiConfig, b as applyGoogleGeminiModelDefault, c as resolveCustomProviderId, g as applyAuthChoice, h as warnIfModelConfigLooksOff, i as CustomApiError, o as parseNonInteractiveCustomApiFlags, v as upsertSharedEnvVar, x as promptAuthChoiceGrouped, y as detectZaiEndpoint } from "./onboard-skills-
|
|
34
|
+
import { _ as applyOpenAIConfig, a as applyCustomApiConfig, b as applyGoogleGeminiModelDefault, c as resolveCustomProviderId, g as applyAuthChoice, h as warnIfModelConfigLooksOff, i as CustomApiError, o as parseNonInteractiveCustomApiFlags, v as upsertSharedEnvVar, x as promptAuthChoiceGrouped, y as detectZaiEndpoint } from "./onboard-skills-DnHguAep.js";
|
|
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
|
-
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-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";
|
|
@@ -2786,7 +2786,7 @@ async function loadValidConfig() {
|
|
|
2786
2786
|
}
|
|
2787
2787
|
function registerConfigCli(program) {
|
|
2788
2788
|
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) => {
|
|
2789
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2789
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-CVEM7ZqO.js").then((n) => n.t);
|
|
2790
2790
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2791
2791
|
if (sections.length === 0) {
|
|
2792
2792
|
await configureCommand(defaultRuntime);
|
|
@@ -15,7 +15,7 @@ import { t as createClackPrompter } from "./clack-prompter-ChCGXfyt.js";
|
|
|
15
15
|
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-DBBWvRSH.js";
|
|
16
16
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-N8YAnttH.js";
|
|
17
17
|
import { t as resolveGatewayService } from "./service-DVi9-qHB.js";
|
|
18
|
-
import { d as applyPrimaryModel, f as promptDefaultModel, g as applyAuthChoice, l as applyModelAllowlist, m as resolvePreferredProviderForAuthChoice, p as promptModelAllowlist, r as promptRemoteGatewayConfig, s as promptCustomApiConfig, t as setupSkills, u as applyModelFallbacksFromSelection, x as promptAuthChoiceGrouped } from "./onboard-skills-
|
|
18
|
+
import { d as applyPrimaryModel, f as promptDefaultModel, g as applyAuthChoice, l as applyModelAllowlist, m as resolvePreferredProviderForAuthChoice, p as promptModelAllowlist, r as promptRemoteGatewayConfig, s as promptCustomApiConfig, t as setupSkills, u as applyModelFallbacksFromSelection, x as promptAuthChoiceGrouped } from "./onboard-skills-DnHguAep.js";
|
|
19
19
|
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-CZ--pwnE.js";
|
|
20
20
|
import { n as logConfigUpdated } from "./logging-CRq4h04P.js";
|
|
21
21
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-xdn3BdPh.js";
|
|
@@ -15,7 +15,7 @@ import { n as logConfigUpdated } from "./logging-BAyPwvdH.js";
|
|
|
15
15
|
import { t as note$1 } from "./note-BhRSeNeu.js";
|
|
16
16
|
import { t as WizardCancelledError } from "./prompts-Bg96reub.js";
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-Bz3Mmcl-.js";
|
|
18
|
-
import { S as promptAuthChoiceGrouped, _ as applyAuthChoice, c as promptCustomApiConfig, d as applyModelFallbacksFromSelection, f as applyPrimaryModel, h as resolvePreferredProviderForAuthChoice, m as promptModelAllowlist, p as promptDefaultModel, r as promptRemoteGatewayConfig, t as setupSkills, u as applyModelAllowlist } from "./onboard-skills-
|
|
18
|
+
import { S as promptAuthChoiceGrouped, _ as applyAuthChoice, c as promptCustomApiConfig, d as applyModelFallbacksFromSelection, f as applyPrimaryModel, h as resolvePreferredProviderForAuthChoice, m as promptModelAllowlist, p as promptDefaultModel, r as promptRemoteGatewayConfig, t as setupSkills, u as applyModelAllowlist } from "./onboard-skills-gWje1Dwu.js";
|
|
19
19
|
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-C0RLYPhJ.js";
|
|
20
20
|
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-kTD3mmIm.js";
|
|
21
21
|
import { t as resolveGatewayService } from "./service-_k92xd0b.js";
|
|
@@ -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-BIu8IFQZ.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-D9vZxmn-.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
|
});
|
|
@@ -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-BIu8IFQZ.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";
|
|
@@ -77,13 +77,13 @@ import "./table-CwulTLQp.js";
|
|
|
77
77
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-BaIgNEhY.js";
|
|
78
78
|
import { a as toOptionString, i as parsePort$1, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-B2S2Z2NW.js";
|
|
79
79
|
import { i as probeGateway } from "./audit-CYu83z-9.js";
|
|
80
|
-
import { S as discoverGatewayBeacons, n as installSkill } from "./onboard-skills-
|
|
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,12 +59,12 @@ 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";
|
|
66
66
|
import { t as WizardCancelledError } from "./prompts-Bg96reub.js";
|
|
67
|
-
import { i as discoverGatewayBeacons, n as installSkill } from "./onboard-skills-
|
|
67
|
+
import { i as discoverGatewayBeacons, n as installSkill } from "./onboard-skills-gWje1Dwu.js";
|
|
68
68
|
import "./github-copilot-auth-BuJoinE9.js";
|
|
69
69
|
import "./onboard-channels-C0RLYPhJ.js";
|
|
70
70
|
import { r as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-DSrxJ2PG.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,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-BIu8IFQZ.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";
|
package/dist/index.js
CHANGED
|
@@ -56,13 +56,13 @@ import { t as createDefaultDeps } from "./deps-DFUmprQ6.js";
|
|
|
56
56
|
import { t as isMainModule } from "./is-main-BWoXGz7p.js";
|
|
57
57
|
import { t as ensureOpenClawCliOnPath } from "./path-env-CaYUVIML.js";
|
|
58
58
|
import { a as gatewayInstallErrorHint, g as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-iSrznGok.js";
|
|
59
|
-
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-
|
|
59
|
+
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-FiHTLDne.js";
|
|
60
60
|
import { t as resolveChannelDefaultAccountId } from "./helpers-HyeZXsnu.js";
|
|
61
61
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BAyPwvdH.js";
|
|
62
62
|
import "./note-BhRSeNeu.js";
|
|
63
63
|
import { t as WizardCancelledError } from "./prompts-Bg96reub.js";
|
|
64
64
|
import { t as createClackPrompter } from "./clack-prompter-Bz3Mmcl-.js";
|
|
65
|
-
import { S as promptAuthChoiceGrouped, _ as applyAuthChoice, a as CustomApiError, b as detectZaiEndpoint, g as warnIfModelConfigLooksOff, l as resolveCustomProviderId, o as applyCustomApiConfig, s as parseNonInteractiveCustomApiFlags, v as applyOpenAIConfig, x as applyGoogleGeminiModelDefault, y as upsertSharedEnvVar } from "./onboard-skills-
|
|
65
|
+
import { S as promptAuthChoiceGrouped, _ as applyAuthChoice, a as CustomApiError, b as detectZaiEndpoint, g as warnIfModelConfigLooksOff, l as resolveCustomProviderId, o as applyCustomApiConfig, s as parseNonInteractiveCustomApiFlags, v as applyOpenAIConfig, x as applyGoogleGeminiModelDefault, y as upsertSharedEnvVar } from "./onboard-skills-gWje1Dwu.js";
|
|
66
66
|
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-BuJoinE9.js";
|
|
67
67
|
import { n as setupChannels } from "./onboard-channels-C0RLYPhJ.js";
|
|
68
68
|
import "./plugin-auto-enable-DSrxJ2PG.js";
|
|
@@ -70,7 +70,7 @@ import "./archive-beaSfAzA.js";
|
|
|
70
70
|
import "./skill-scanner-CucvxYhu.js";
|
|
71
71
|
import "./installs-DscWb9b9.js";
|
|
72
72
|
import { l as healthCommand } from "./health-format-kTD3mmIm.js";
|
|
73
|
-
import "./update-runner-
|
|
73
|
+
import "./update-runner-fgGnSCWB.js";
|
|
74
74
|
import "./audit-CUmgk0Zg.js";
|
|
75
75
|
import { t as renderTable } from "./table-B8dx3v4v.js";
|
|
76
76
|
import "./skills-status-CVjDLqne.js";
|
|
@@ -79,17 +79,17 @@ import { r as isSystemdUserServiceAvailable } from "./systemd-DrmBtJ5T.js";
|
|
|
79
79
|
import "./service-audit-BKZxDDMk.js";
|
|
80
80
|
import "./node-service-Dkjve8e3.js";
|
|
81
81
|
import "./channels-status-issues-BZM5SM_X.js";
|
|
82
|
-
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-
|
|
82
|
+
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-CcaE0pUj.js";
|
|
83
83
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BSDURAX_.js";
|
|
84
84
|
import { t as formatHelpExamples } from "./help-format-C48TXngO.js";
|
|
85
85
|
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-DkJ7dZl8.js";
|
|
86
86
|
import { i as hasExplicitOptions, n as resolveCliChannelOptions, r as ensurePluginRegistryLoaded } from "./channel-options-BNXXM75U.js";
|
|
87
87
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-8O7IVGO-.js";
|
|
88
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
88
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-DFwId08e.js";
|
|
89
89
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-NC2kl1SC.js";
|
|
90
90
|
import "./widearea-dns-DzuRdwk5.js";
|
|
91
91
|
import "./auth-health-CMuCsJTt.js";
|
|
92
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
92
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-BLN7IPI4.js";
|
|
93
93
|
import "./hooks-status-D5px3C3Y.js";
|
|
94
94
|
import "./tui-BNFWBg77.js";
|
|
95
95
|
import process$1 from "node:process";
|
|
@@ -2839,7 +2839,7 @@ async function loadValidConfig() {
|
|
|
2839
2839
|
}
|
|
2840
2840
|
function registerConfigCli(program) {
|
|
2841
2841
|
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) => {
|
|
2842
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2842
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-DFwId08e.js").then((n) => n.t);
|
|
2843
2843
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2844
2844
|
if (sections.length === 0) {
|
|
2845
2845
|
await configureCommand(defaultRuntime);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "./paths-BZtyHNCi.js";
|
|
2
2
|
import { c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-CzIrFPCY.js";
|
|
3
3
|
import "./exec-B8lXct-k.js";
|
|
4
|
-
import "./deliver-
|
|
5
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
6
|
-
import "./pi-embedded-helpers-
|
|
4
|
+
import "./deliver-DwAAnv-O.js";
|
|
5
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-C-S7ujlk.js";
|
|
6
|
+
import "./pi-embedded-helpers-BIu8IFQZ.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-BfB6JdKF.js";
|
|
12
12
|
import "./paths-Zbzpgrfo.js";
|
|
13
|
-
import "./image-
|
|
13
|
+
import "./image-DYbYO_Of.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-D9vZxmn-.js";
|
|
18
|
+
import "./runner-nc039KUI.js";
|
|
19
19
|
import "./login-qr-DJ1Ty1b5.js";
|
|
20
20
|
import fs from "node:fs/promises";
|
|
21
21
|
import os from "node:os";
|