@lawpath-tech/openclaw 2026.2.21-5 → 2026.2.21-7
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/{agents-CuMsK_DS.js → agents-7Q8UpA5j.js} +4 -4
- package/dist/{agents.config-e_xeppAS.js → agents.config-B15zpZGt.js} +1 -1
- package/dist/{agents.config-BXoIfujZ.js → agents.config-CwEtNKiI.js} +1 -1
- package/dist/{audio-preflight-DSln0Zsg.js → audio-preflight-ZIJNGHIM.js} +4 -4
- package/dist/{auth-choice-Cds0pSuL.js → auth-choice-Budhs7AA.js} +1 -1
- package/dist/{auth-choice-B45xiAZ_.js → auth-choice-DFbnmkw5.js} +1 -1
- package/dist/{banner-BrBNvO5B.js → banner-DxWInoxb.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-HIUzORO6.js → channel-options-DWLeOUBy.js} +1 -1
- package/dist/{channel-options-K4gVRVl0.js → channel-options-W6nGSLO0.js} +1 -1
- package/dist/{channel-web-BhQMRa2x.js → channel-web-CJyeVI48.js} +1 -1
- package/dist/{channels-cli-SwsUfdhN.js → channels-cli-BvtSTQfF.js} +4 -4
- package/dist/{channels-cli-RbZdgktP.js → channels-cli-C33gfn1H.js} +4 -4
- package/dist/{chrome-_026ohiG.js → chrome-HMhmjNaM.js} +7 -7
- package/dist/{cli-DCtguEMl.js → cli-A46q0zpY.js} +1 -1
- package/dist/{cli-DZR34VYb.js → cli-XcEs8KK_.js} +1 -1
- package/dist/{command-registry-CuwwryVI.js → command-registry-BNqpshUx.js} +9 -9
- package/dist/{completion-cli-Cq8iP9Aw.js → completion-cli-CIFG5xWV.js} +1 -1
- package/dist/{completion-cli-CHvR27lh.js → completion-cli-Ceqiqhkn.js} +2 -2
- package/dist/{config-cli-Ci5S1iD4.js → config-cli-CXWx88no.js} +1 -1
- package/dist/{config-cli-BwShV3v6.js → config-cli-eyAbRY_5.js} +1 -1
- package/dist/{configure-DPlBhyXy.js → configure-DVaPAS_m.js} +3 -3
- package/dist/{configure-D_1pz9E3.js → configure-bWqFA3HM.js} +3 -3
- package/dist/{deliver-CChv42uL.js → deliver-CjITvpSg.js} +1 -1
- package/dist/{doctor-completion-BJIw8vai.js → doctor-completion-5E2ZEWx5.js} +1 -1
- package/dist/{doctor-completion-BfrgA2mV.js → doctor-completion-9UfiLRPo.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-BeBfQrbx.js → gateway-cli-DZa4pL87.js} +14 -9
- package/dist/{gateway-cli-yqwgOF3f.js → gateway-cli-_LSIHPmW.js} +14 -9
- package/dist/{health-BTIp89si.js → health-Bj5SETXV.js} +1 -1
- package/dist/{health-CKF0OJ25.js → health-CCZhny3_.js} +1 -1
- package/dist/{hooks-cli-Cjs7SuB4.js → hooks-cli-BSS-5THm.js} +2 -2
- package/dist/{hooks-cli-BKn8RjUM.js → hooks-cli-Bmqf1lky.js} +2 -2
- package/dist/{image-B9TdLqUC.js → image-DtRcO0W5.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{models-C08NQUuO.js → models-DxDVtTQ_.js} +2 -2
- package/dist/{models-cli-COXYLQjz.js → models-cli--9ogIpnA.js} +2 -2
- package/dist/{models-cli-uJJpIivJ.js → models-cli-B3OGW16o.js} +3 -3
- package/dist/{onboard-CnHHrRkg.js → onboard-Bf3Du6Lh.js} +2 -2
- package/dist/{onboard-D9sqU2kW.js → onboard-Bx0l-ThR.js} +2 -2
- package/dist/{onboard-channels-DFdGULvK.js → onboard-channels-DnVJfSLM.js} +1 -1
- package/dist/{onboard-channels-FyoGJoRI.js → onboard-channels-kZWwETyO.js} +1 -1
- package/dist/{onboarding-ys5PK2iC.js → onboarding-BulXrKLU.js} +3 -3
- package/dist/{onboarding-BMdfhdc1.js → onboarding-BwpIqFy7.js} +3 -3
- package/dist/{onboarding.finalize-DGwRmQPQ.js → onboarding.finalize-BMjuATUX.js} +5 -5
- package/dist/{onboarding.finalize-Czj9rIDx.js → onboarding.finalize-DKPzqhHG.js} +6 -6
- package/dist/{pi-embedded-CQ9C6y-Z.js → pi-embedded-BvySB0sN.js} +18 -9
- package/dist/{pi-embedded-BFfZiGJD.js → pi-embedded-DXyDVB4-.js} +32 -23
- package/dist/{pi-embedded-helpers-Mzn8kkGx.js → pi-embedded-helpers-YPvzHDpd.js} +4 -4
- package/dist/{plugin-registry-Bm3oXtZ_.js → plugin-registry-BaocjXe1.js} +1 -1
- package/dist/{plugin-registry-CbLd0SuX.js → plugin-registry-DBbZIWU8.js} +1 -1
- package/dist/plugin-sdk/{channel-web-BijwJ-sy.js → channel-web-DHH_bts_.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-7CRdEEVf.js → reply-Ctmq0UrQ.js} +18 -9
- package/dist/plugin-sdk/{web-DbfteoVI.js → web-D1aGJ2Sm.js} +2 -2
- package/dist/{plugins-cli-D9kYnV70.js → plugins-cli-DB5K4VPo.js} +2 -2
- package/dist/{plugins-cli-CuZ9yeLM.js → plugins-cli-s8CoSlEa.js} +2 -2
- package/dist/{program-DnLmcYvI.js → program-1YJsHnzE.js} +7 -7
- package/dist/{program-context-BFlDtZ7u.js → program-context-1gnu7TsY.js} +17 -17
- package/dist/{prompt-select-styled-vecx8TWe.js → prompt-select-styled-CZjpMPcG.js} +4 -4
- package/dist/{prompt-select-styled-ByfdmSdC.js → prompt-select-styled-DHscKoJh.js} +4 -4
- package/dist/{provider-auth-helpers-D5aiUDUx.js → provider-auth-helpers-BADMU-gY.js} +1 -1
- package/dist/{provider-auth-helpers-CDiCEf5I.js → provider-auth-helpers-DTztOrzV.js} +1 -1
- package/dist/{push-apns-CIFN_ehC.js → push-apns-B3AqbUSc.js} +1 -1
- package/dist/{push-apns-DnQI6P_1.js → push-apns-CxOD57Cj.js} +1 -1
- package/dist/{pw-ai-BE9RDOQB.js → pw-ai-CgdTTLSx.js} +1 -1
- package/dist/{register.agent-m9s6Wdxg.js → register.agent-AEomswlU.js} +6 -6
- package/dist/{register.agent-BAb4XSav.js → register.agent-Do_Gd0GT.js} +5 -5
- package/dist/{register.configure-lUHQYgJj.js → register.configure-CjqsbKAa.js} +6 -6
- package/dist/{register.configure-CH9nyxsf.js → register.configure-eUF_ZUCV.js} +6 -6
- package/dist/{register.maintenance-D6b4iNV5.js → register.maintenance-DYOC2Zvi.js} +8 -8
- package/dist/{register.maintenance-BZ5w5uEj.js → register.maintenance-abhqOe8J.js} +7 -7
- package/dist/{register.message-DrqsD-cs.js → register.message-CjR1KXY8.js} +2 -2
- package/dist/{register.message-BNwoWgh6.js → register.message-DMy_CNDU.js} +2 -2
- package/dist/{register.onboard-CWGIbeMt.js → register.onboard-BBd_n0-D.js} +4 -4
- package/dist/{register.onboard-BJC-pkiP.js → register.onboard-Cc24eL4m.js} +4 -4
- package/dist/{register.setup-B2Q7oNUf.js → register.setup-B3NPY8uf.js} +4 -4
- package/dist/{register.setup-Cyy-u_LT.js → register.setup-C9e2P0Ve.js} +4 -4
- package/dist/{register.status-health-sessions-CbFmRZ23.js → register.status-health-sessions-Bah8_vHz.js} +3 -3
- package/dist/{register.status-health-sessions-XToqPPob.js → register.status-health-sessions-CBsUg8MP.js} +3 -3
- package/dist/{register.subclis-kiCDYnvk.js → register.subclis-B7MsoFZQ.js} +9 -9
- package/dist/{reply-BLgYvx8K.js → reply-CzyQ7_dW.js} +18 -9
- package/dist/{run-main-ClQN17NG.js → run-main-DVjbTOri.js} +14 -14
- package/dist/{runner-DU6rPdbF.js → runner-C4xlUAR9.js} +1 -1
- package/dist/{server-node-events-D8mdarwc.js → server-node-events-DW1wcD9u.js} +2 -2
- package/dist/{server-node-events-CtGYZ4NX.js → server-node-events-Lfb6LBpF.js} +2 -2
- package/dist/{session-dirs-CLp_APkW.js → session-dirs-C8HpuvAC.js} +1 -1
- package/dist/{session-dirs-qa1wz8KY.js → session-dirs-Co80nucN.js} +1 -1
- package/dist/{status-DlprmiLH.js → status-B88vffEy.js} +2 -2
- package/dist/{status-CUi6ZcuM.js → status-C9mzS9f-.js} +2 -2
- package/dist/{status-B0DTmnlx.js → status-CpRINy6s.js} +1 -1
- package/dist/{status-BpU9At8G.js → status-M-5d2BWR.js} +1 -1
- package/dist/{subagent-registry-DoLtM6tb.js → subagent-registry-wQzxRrPx.js} +18 -9
- package/dist/{update-cli-eHwjFIY5.js → update-cli-ChjFReVc.js} +8 -8
- package/dist/{update-cli-DDK1P0nj.js → update-cli-DPQq4Xxx.js} +7 -7
- package/dist/{web-DPUOYear.js → web-CwxAht8t.js} +6 -6
- package/dist/{web-BNiJyHah.js → web-F3oNAXT3.js} +1 -1
- package/dist/{web-w_Wqd8mO.js → web-LbWfo0bk.js} +2 -2
- package/dist/{web-gOkp0QXS.js → web-yhRvp7S-.js} +1 -1
- package/package.json +1 -1
|
@@ -5,19 +5,19 @@ import { t as formatCliCommand } from "./command-format-D3syQOZg.js";
|
|
|
5
5
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DjZ7Z1hW.js";
|
|
6
6
|
import { _ as DEFAULT_IDENTITY_FILENAME, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-DhajVyRS.js";
|
|
7
7
|
import { l as writeConfigFile } from "./config-D-Tvm4yj.js";
|
|
8
|
-
import { N as parseIdentityMarkdown, j as identityHasValues } from "./subagent-registry-
|
|
8
|
+
import { N as parseIdentityMarkdown, j as identityHasValues } from "./subagent-registry-wQzxRrPx.js";
|
|
9
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Dhh2a3qc.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-BYflTvTz.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-B1aVoXd5.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-cLP5YLeQ.js";
|
|
15
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
15
|
+
import { r as setupChannels } from "./onboard-channels-DnVJfSLM.js";
|
|
16
16
|
import { t as requireValidConfigSnapshot } from "./config-validation-CmNPH7TT.js";
|
|
17
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-B15zpZGt.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-PVQxLC6I.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DF6R_pgV.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-Budhs7AA.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-DjZ7Z1hW.js";
|
|
2
2
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-DhajVyRS.js";
|
|
3
|
-
import { M as loadAgentIdentityFromWorkspace, j as identityHasValues } from "./subagent-registry-
|
|
3
|
+
import { M as loadAgentIdentityFromWorkspace, j as identityHasValues } from "./subagent-registry-wQzxRrPx.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-
|
|
1
|
+
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-CzyQ7_dW.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-CU-9CR31.js";
|
|
4
4
|
|
|
@@ -14,10 +14,10 @@ import "./model-auth-3yb_4VXX.js";
|
|
|
14
14
|
import "./github-copilot-token-Dgb9dAHW.js";
|
|
15
15
|
import "./pi-model-discovery-DaNAekda.js";
|
|
16
16
|
import "./message-channel-CHYSjmbr.js";
|
|
17
|
-
import "./pi-embedded-helpers-
|
|
17
|
+
import "./pi-embedded-helpers-YPvzHDpd.js";
|
|
18
18
|
import "./config-CScuPNjn.js";
|
|
19
19
|
import "./manifest-registry-Dhk4A5vb.js";
|
|
20
|
-
import "./chrome-
|
|
20
|
+
import "./chrome-HMhmjNaM.js";
|
|
21
21
|
import "./frontmatter-CdkBcBAo.js";
|
|
22
22
|
import "./skills-DgwYCNoi.js";
|
|
23
23
|
import "./redact-jSxx6Ep2.js";
|
|
@@ -28,10 +28,10 @@ import "./thinking-CYyGFSWd.js";
|
|
|
28
28
|
import "./accounts-DFrH9IVU.js";
|
|
29
29
|
import "./paths-BEAbheM8.js";
|
|
30
30
|
import "./tool-images-i5cb4-nX.js";
|
|
31
|
-
import "./image-
|
|
31
|
+
import "./image-DtRcO0W5.js";
|
|
32
32
|
import "./gemini-auth-cD8BrH5d.js";
|
|
33
33
|
import "./local-roots-DxIZcL-f.js";
|
|
34
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
34
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-C4xlUAR9.js";
|
|
35
35
|
|
|
36
36
|
//#region src/media-understanding/audio-preflight.ts
|
|
37
37
|
/**
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-BArXr_C_.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-BYflTvTz.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-CknE1f0w.js";
|
|
8
8
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-ED-ILVvP.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-DTztOrzV.js";
|
|
10
10
|
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-C6iwMU4X.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-CpR4F3Tp.js";
|
|
12
12
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-O8FG_tUO.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-D1r7MfQn.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-HSYin9n7.js";
|
|
8
8
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-DtCLmYKX.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BADMU-gY.js";
|
|
10
10
|
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-axQGBFUI.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-7lns6xv3.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dt as theme, Et as isRich, h as visibleWidth, ln as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { sn as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { sn as resolveCommitHash } from "./subagent-registry-wQzxRrPx.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one OpenClaw.";
|
package/dist/build-info.json
CHANGED
|
@@ -5,7 +5,7 @@ import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-sc
|
|
|
5
5
|
import { r as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-BF9jT_Nw.js";
|
|
6
6
|
import "../../workspace-D-fnhRGM.js";
|
|
7
7
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-B-c56SkM.js";
|
|
8
|
-
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-
|
|
8
|
+
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-DXyDVB4-.js";
|
|
9
9
|
import "../../plugins-BfEZesgD.js";
|
|
10
10
|
import "../../accounts-C8m4ADkw.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
@@ -13,7 +13,7 @@ import "../../command-format-BOHIfoCX.js";
|
|
|
13
13
|
import "../../bindings-DL-vZcXK.js";
|
|
14
14
|
import "../../send-CcqTwaor.js";
|
|
15
15
|
import "../../send-CT34cBxw.js";
|
|
16
|
-
import "../../deliver-
|
|
16
|
+
import "../../deliver-CjITvpSg.js";
|
|
17
17
|
import "../../diagnostic-DriDPU6M.js";
|
|
18
18
|
import "../../diagnostic-session-state-Bxo4UHOL.js";
|
|
19
19
|
import "../../accounts-CQT5u65w.js";
|
|
@@ -23,10 +23,10 @@ import "../../model-auth-3yb_4VXX.js";
|
|
|
23
23
|
import "../../github-copilot-token-Dgb9dAHW.js";
|
|
24
24
|
import "../../pi-model-discovery-DaNAekda.js";
|
|
25
25
|
import "../../message-channel-CHYSjmbr.js";
|
|
26
|
-
import { H as loadSessionStore, K as updateSessionStore, xt as resolveMainSessionKey, yt as resolveAgentMainSessionKey } from "../../pi-embedded-helpers-
|
|
26
|
+
import { H as loadSessionStore, K as updateSessionStore, xt as resolveMainSessionKey, yt as resolveAgentMainSessionKey } from "../../pi-embedded-helpers-YPvzHDpd.js";
|
|
27
27
|
import "../../config-CScuPNjn.js";
|
|
28
28
|
import "../../manifest-registry-Dhk4A5vb.js";
|
|
29
|
-
import "../../chrome-
|
|
29
|
+
import "../../chrome-HMhmjNaM.js";
|
|
30
30
|
import "../../frontmatter-CdkBcBAo.js";
|
|
31
31
|
import "../../skills-DgwYCNoi.js";
|
|
32
32
|
import "../../redact-jSxx6Ep2.js";
|
|
@@ -37,7 +37,7 @@ import "../../thinking-CYyGFSWd.js";
|
|
|
37
37
|
import "../../accounts-DFrH9IVU.js";
|
|
38
38
|
import { s as resolveStorePath } from "../../paths-BEAbheM8.js";
|
|
39
39
|
import "../../tool-images-i5cb4-nX.js";
|
|
40
|
-
import "../../image-
|
|
40
|
+
import "../../image-DtRcO0W5.js";
|
|
41
41
|
import "../../reply-prefix-CssWitTj.js";
|
|
42
42
|
import "../../manager-CHKGgP5H.js";
|
|
43
43
|
import "../../gemini-auth-cD8BrH5d.js";
|
|
@@ -51,7 +51,7 @@ import "../../ir-p6xtdC2E.js";
|
|
|
51
51
|
import "../../render-CDCvpfhh.js";
|
|
52
52
|
import "../../commands-registry-3kTkR4r1.js";
|
|
53
53
|
import "../../skill-commands-BTCEJgtW.js";
|
|
54
|
-
import "../../runner-
|
|
54
|
+
import "../../runner-C4xlUAR9.js";
|
|
55
55
|
import "../../fetch-DtI0mtzx.js";
|
|
56
56
|
import "../../channel-activity-BgsTqLau.js";
|
|
57
57
|
import "../../tables-3Vjm1My5.js";
|
|
@@ -5,7 +5,7 @@ import { s as resolveAgentWorkspaceDir } from "../../agent-scope-D-SlG1bQ.js";
|
|
|
5
5
|
import { t as createSubsystemLogger } from "../../subsystem-BF9jT_Nw.js";
|
|
6
6
|
import "../../workspace-D-fnhRGM.js";
|
|
7
7
|
import "../../tokens-B-c56SkM.js";
|
|
8
|
-
import "../../pi-embedded-
|
|
8
|
+
import "../../pi-embedded-DXyDVB4-.js";
|
|
9
9
|
import "../../plugins-BfEZesgD.js";
|
|
10
10
|
import "../../accounts-C8m4ADkw.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
@@ -13,7 +13,7 @@ import "../../command-format-BOHIfoCX.js";
|
|
|
13
13
|
import "../../bindings-DL-vZcXK.js";
|
|
14
14
|
import "../../send-CcqTwaor.js";
|
|
15
15
|
import "../../send-CT34cBxw.js";
|
|
16
|
-
import "../../deliver-
|
|
16
|
+
import "../../deliver-CjITvpSg.js";
|
|
17
17
|
import "../../diagnostic-DriDPU6M.js";
|
|
18
18
|
import "../../diagnostic-session-state-Bxo4UHOL.js";
|
|
19
19
|
import "../../accounts-CQT5u65w.js";
|
|
@@ -23,10 +23,10 @@ import "../../model-auth-3yb_4VXX.js";
|
|
|
23
23
|
import "../../github-copilot-token-Dgb9dAHW.js";
|
|
24
24
|
import "../../pi-model-discovery-DaNAekda.js";
|
|
25
25
|
import "../../message-channel-CHYSjmbr.js";
|
|
26
|
-
import { ct as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-
|
|
26
|
+
import { ct as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-YPvzHDpd.js";
|
|
27
27
|
import "../../config-CScuPNjn.js";
|
|
28
28
|
import "../../manifest-registry-Dhk4A5vb.js";
|
|
29
|
-
import "../../chrome-
|
|
29
|
+
import "../../chrome-HMhmjNaM.js";
|
|
30
30
|
import "../../frontmatter-CdkBcBAo.js";
|
|
31
31
|
import "../../skills-DgwYCNoi.js";
|
|
32
32
|
import "../../redact-jSxx6Ep2.js";
|
|
@@ -37,7 +37,7 @@ import "../../thinking-CYyGFSWd.js";
|
|
|
37
37
|
import "../../accounts-DFrH9IVU.js";
|
|
38
38
|
import "../../paths-BEAbheM8.js";
|
|
39
39
|
import "../../tool-images-i5cb4-nX.js";
|
|
40
|
-
import "../../image-
|
|
40
|
+
import "../../image-DtRcO0W5.js";
|
|
41
41
|
import "../../reply-prefix-CssWitTj.js";
|
|
42
42
|
import "../../manager-CHKGgP5H.js";
|
|
43
43
|
import "../../gemini-auth-cD8BrH5d.js";
|
|
@@ -51,7 +51,7 @@ import "../../ir-p6xtdC2E.js";
|
|
|
51
51
|
import "../../render-CDCvpfhh.js";
|
|
52
52
|
import "../../commands-registry-3kTkR4r1.js";
|
|
53
53
|
import "../../skill-commands-BTCEJgtW.js";
|
|
54
|
-
import "../../runner-
|
|
54
|
+
import "../../runner-C4xlUAR9.js";
|
|
55
55
|
import "../../fetch-DtI0mtzx.js";
|
|
56
56
|
import "../../channel-activity-BgsTqLau.js";
|
|
57
57
|
import "../../tables-3Vjm1My5.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
589e6a235acaa8407cec2e98c6f67b0fb062f7bc6dedfecaae573f7062130032
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as CHAT_CHANNEL_ORDER, n as isTruthyEnvValue } from "./entry.js";
|
|
2
2
|
import { n as listChannelPlugins } from "./plugins-Dhh2a3qc.js";
|
|
3
3
|
import { r as listChannelPluginCatalogEntries } from "./catalog-Da8o-cxw.js";
|
|
4
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
4
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-BaocjXe1.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/channel-options.ts
|
|
7
7
|
function dedupe(values) {
|
|
@@ -2,7 +2,7 @@ import { n as CHAT_CHANNEL_ORDER } from "./registry-Dygi7Azw.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-BId0WVVL.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-C-_54oRw.js";
|
|
4
4
|
import { r as listChannelPluginCatalogEntries } from "./catalog-C7TxlaHu.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-DBbZIWU8.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as sleep, F as shouldLogVerbose, M as logVerbose, T as toWhatsappJid, V as getChildLogger, f as isSelfChatMode, m as normalizeE164, p as jidToE164, r as clamp, v as resolveJidToE164 } from "./utils-BlC2Fskb.js";
|
|
2
|
-
import { En as normalizeMentionText, Ot as computeBackoff, Sn as shouldComputeCommandAuthorized, Tn as buildMentionRegexes, _n as resolveInboundDebounceMs, an as resolveMentionGating, cn as recordPendingHistoryEntryIfEnabled, gn as createInboundDebouncer, hn as createDedupeCache, in as buildPairingReply, kt as sleepWithAbort, ln as shouldAckReactionForWhatsApp, on as DEFAULT_GROUP_HISTORY_LIMIT, sn as buildHistoryContextFromEntries, t as getReplyFromConfig, un as dispatchReplyWithBufferedBlockDispatcher, vn as formatInboundEnvelope, vr as enqueueSystemEvent, vt as normalizeGroupActivation, xn as hasControlCommand, yn as resolveEnvelopeFormatOptions, yt as parseActivationCommand } from "./reply-
|
|
2
|
+
import { En as normalizeMentionText, Ot as computeBackoff, Sn as shouldComputeCommandAuthorized, Tn as buildMentionRegexes, _n as resolveInboundDebounceMs, an as resolveMentionGating, cn as recordPendingHistoryEntryIfEnabled, gn as createInboundDebouncer, hn as createDedupeCache, in as buildPairingReply, kt as sleepWithAbort, ln as shouldAckReactionForWhatsApp, on as DEFAULT_GROUP_HISTORY_LIMIT, sn as buildHistoryContextFromEntries, t as getReplyFromConfig, un as dispatchReplyWithBufferedBlockDispatcher, vn as formatInboundEnvelope, vr as enqueueSystemEvent, vt as normalizeGroupActivation, xn as hasControlCommand, yn as resolveEnvelopeFormatOptions, yt as parseActivationCommand } from "./reply-CzyQ7_dW.js";
|
|
3
3
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-8bY95KEB.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-B4BZAPZh.js";
|
|
2
2
|
import { B as theme, O as danger, P as setVerbose, U as getResolvedLoggerSettings, d as isRecord } from "./utils-BlC2Fskb.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { _t as deleteTelegramUpdateOffset, bt as loadProviderUsageSummary, xt as formatUsageReportLines } from "./reply-
|
|
4
|
+
import { _t as deleteTelegramUpdateOffset, bt as loadProviderUsageSummary, xt as formatUsageReportLines } from "./reply-CzyQ7_dW.js";
|
|
5
5
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import { r as DEFAULT_CHAT_CHANNEL } from "./registry-Dygi7Azw.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-8bY95KEB.js";
|
|
@@ -105,8 +105,8 @@ import "./stagger-B6VQyn1F.js";
|
|
|
105
105
|
import { n as resolveMessageChannelSelection } from "./channel-selection-C27fdBDC.js";
|
|
106
106
|
import "./pi-tools.policy-B3nJHwWp.js";
|
|
107
107
|
import { r as listChannelPluginCatalogEntries } from "./catalog-C7TxlaHu.js";
|
|
108
|
-
import "./plugin-registry-
|
|
109
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
108
|
+
import "./plugin-registry-DBbZIWU8.js";
|
|
109
|
+
import { t as formatCliChannelOptions } from "./channel-options-W6nGSLO0.js";
|
|
110
110
|
import { t as hasExplicitOptions } from "./command-options-BtDai3oC.js";
|
|
111
111
|
import "./note-DRZSQe0n.js";
|
|
112
112
|
import { t as createClackPrompter } from "./clack-prompter-Cpl8cd_B.js";
|
|
@@ -116,7 +116,7 @@ import "./install-safe-path-tCLiMpmO.js";
|
|
|
116
116
|
import "./npm-registry-spec-DVXqd4Pf.js";
|
|
117
117
|
import "./skill-scanner-CMBwwxis.js";
|
|
118
118
|
import "./installs-B9skpWIo.js";
|
|
119
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
119
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-kZWwETyO.js";
|
|
120
120
|
import { t as requireValidConfigSnapshot } from "./config-validation-812vX6zY.js";
|
|
121
121
|
import { t as buildChannelAccountSnapshot } from "./status-BrV-afZE.js";
|
|
122
122
|
import { t as parseLogLine } from "./parse-log-line-BHCUQaF3.js";
|
|
@@ -15,7 +15,7 @@ import "./client-DrK7aLru.js";
|
|
|
15
15
|
import { n as callGateway } from "./call-mR3kLwRx.js";
|
|
16
16
|
import "./message-channel-CVHJDItx.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import { _ as deleteTelegramUpdateOffset, en as loadProviderUsageSummary, tn as formatUsageReportLines } from "./subagent-registry-
|
|
18
|
+
import { _ as deleteTelegramUpdateOffset, en as loadProviderUsageSummary, tn as formatUsageReportLines } from "./subagent-registry-wQzxRrPx.js";
|
|
19
19
|
import "./sessions-CPk6B4FT.js";
|
|
20
20
|
import "./tokens-ANnYrShl.js";
|
|
21
21
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, u as resolveTelegramAccount } from "./plugins-Dhh2a3qc.js";
|
|
@@ -110,13 +110,13 @@ import "./install-safe-path-BK8js28D.js";
|
|
|
110
110
|
import "./npm-registry-spec-DkaZNHAW.js";
|
|
111
111
|
import "./skill-scanner-Cb7mXGIR.js";
|
|
112
112
|
import "./installs-DDy4Ij7L.js";
|
|
113
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
113
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-DnVJfSLM.js";
|
|
114
114
|
import { t as requireValidConfigSnapshot } from "./config-validation-CmNPH7TT.js";
|
|
115
115
|
import { t as buildChannelAccountSnapshot } from "./status-BUedPCLb.js";
|
|
116
116
|
import { t as parseLogLine } from "./parse-log-line-C6yJx969.js";
|
|
117
117
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-CmHZBwQD.js";
|
|
118
|
-
import "./plugin-registry-
|
|
119
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
118
|
+
import "./plugin-registry-BaocjXe1.js";
|
|
119
|
+
import { t as formatCliChannelOptions } from "./channel-options-DWLeOUBy.js";
|
|
120
120
|
import fs from "node:fs/promises";
|
|
121
121
|
|
|
122
122
|
//#region src/commands/channels/add-mutators.ts
|
|
@@ -10,7 +10,7 @@ import fs$1 from "node:fs";
|
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
11
|
import net from "node:net";
|
|
12
12
|
import { createServer } from "node:http";
|
|
13
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
13
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
14
14
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
15
15
|
|
|
16
16
|
//#region src/browser/constants.ts
|
|
@@ -178,7 +178,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
178
178
|
let nextExtensionId = 1;
|
|
179
179
|
const sendToExtension = async (payload) => {
|
|
180
180
|
const ws = extensionWs;
|
|
181
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
181
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
182
182
|
ws.send(JSON.stringify(payload));
|
|
183
183
|
return await new Promise((resolve, reject) => {
|
|
184
184
|
const timer = setTimeout(() => {
|
|
@@ -195,12 +195,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
195
195
|
const broadcastToCdpClients = (evt) => {
|
|
196
196
|
const msg = JSON.stringify(evt);
|
|
197
197
|
for (const ws of cdpClients) {
|
|
198
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
198
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
199
199
|
ws.send(msg);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
const sendResponseToCdp = (ws, res) => {
|
|
203
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
203
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
204
204
|
ws.send(JSON.stringify(res));
|
|
205
205
|
};
|
|
206
206
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -425,7 +425,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
425
425
|
wssExtension.on("connection", (ws) => {
|
|
426
426
|
extensionWs = ws;
|
|
427
427
|
const ping = setInterval(() => {
|
|
428
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
428
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
429
429
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
430
430
|
}, 5e3);
|
|
431
431
|
ws.on("message", (data) => {
|
|
@@ -743,7 +743,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
743
743
|
}
|
|
744
744
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
745
745
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
746
|
-
const ws = new WebSocket(wsUrl, {
|
|
746
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
747
747
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
748
748
|
...Object.keys(headers).length ? { headers } : {}
|
|
749
749
|
});
|
|
@@ -1637,7 +1637,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1637
1637
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1638
1638
|
return await new Promise((resolve) => {
|
|
1639
1639
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1640
|
-
const ws = new WebSocket(wsUrl, {
|
|
1640
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1641
1641
|
handshakeTimeout: timeoutMs,
|
|
1642
1642
|
...Object.keys(headers).length ? { headers } : {}
|
|
1643
1643
|
});
|
|
@@ -13,7 +13,7 @@ import "./client-DrK7aLru.js";
|
|
|
13
13
|
import "./call-mR3kLwRx.js";
|
|
14
14
|
import "./message-channel-CVHJDItx.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import { g as loadOpenClawPlugins } from "./subagent-registry-
|
|
16
|
+
import { g as loadOpenClawPlugins } from "./subagent-registry-wQzxRrPx.js";
|
|
17
17
|
import "./sessions-CPk6B4FT.js";
|
|
18
18
|
import "./tokens-ANnYrShl.js";
|
|
19
19
|
import "./plugins-Dhh2a3qc.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-B4BZAPZh.js";
|
|
2
2
|
import "./utils-BlC2Fskb.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { gt as loadOpenClawPlugins } from "./reply-
|
|
4
|
+
import { gt as loadOpenClawPlugins } from "./reply-CzyQ7_dW.js";
|
|
5
5
|
import "./registry-Dygi7Azw.js";
|
|
6
6
|
import { t as createSubsystemLogger } from "./subsystem-8bY95KEB.js";
|
|
7
7
|
import "./exec-BmMB8-Xs.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { an as getPrimaryCommand, cn as hasHelpOrVersion } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-B7MsoFZQ.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-C9e2P0Ve.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-BBd_n0-D.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -42,7 +42,7 @@ const coreEntries = [
|
|
|
42
42
|
hasSubcommands: false
|
|
43
43
|
}],
|
|
44
44
|
register: async ({ program }) => {
|
|
45
|
-
(await import("./register.configure-
|
|
45
|
+
(await import("./register.configure-eUF_ZUCV.js")).registerConfigureCommand(program);
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: true
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./config-cli-
|
|
55
|
+
(await import("./config-cli-CXWx88no.js")).registerConfigCli(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-DYOC2Zvi.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -89,7 +89,7 @@ const coreEntries = [
|
|
|
89
89
|
hasSubcommands: true
|
|
90
90
|
}],
|
|
91
91
|
register: async ({ program, ctx }) => {
|
|
92
|
-
(await import("./register.message-
|
|
92
|
+
(await import("./register.message-DMy_CNDU.js")).registerMessageCommands(program, ctx);
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
{
|
|
@@ -113,7 +113,7 @@ const coreEntries = [
|
|
|
113
113
|
hasSubcommands: true
|
|
114
114
|
}],
|
|
115
115
|
register: async ({ program, ctx }) => {
|
|
116
|
-
(await import("./register.agent-
|
|
116
|
+
(await import("./register.agent-AEomswlU.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -135,7 +135,7 @@ const coreEntries = [
|
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
137
|
register: async ({ program }) => {
|
|
138
|
-
(await import("./register.status-health-sessions-
|
|
138
|
+
(await import("./register.status-health-sessions-Bah8_vHz.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-B4BZAPZh.js";
|
|
3
3
|
import { h as pathExists } from "./utils-BlC2Fskb.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-8bY95KEB.js";
|
|
5
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
5
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-1gnu7TsY.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Yt as resolveStateDir, l as routeLogsToStderr, nt as pathExists } from "./entry.js";
|
|
3
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
4
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
3
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-B7MsoFZQ.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-BNqpshUx.js";
|
|
5
5
|
import { t as getProgramContext } from "./program-context-5q-A0wbP.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -201,7 +201,7 @@ async function runConfigUnset(opts) {
|
|
|
201
201
|
}
|
|
202
202
|
function registerConfigCli(program) {
|
|
203
203
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup 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) => {
|
|
204
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
204
|
+
const { configureCommandFromSectionsArg } = await import("./configure-bWqFA3HM.js").then((n) => n.t);
|
|
205
205
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
206
206
|
});
|
|
207
207
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -206,7 +206,7 @@ async function runConfigUnset(opts) {
|
|
|
206
206
|
}
|
|
207
207
|
function registerConfigCli(program) {
|
|
208
208
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup 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) => {
|
|
209
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
209
|
+
const { configureCommandFromSectionsArg } = await import("./configure-DVaPAS_m.js").then((n) => n.t);
|
|
210
210
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
211
211
|
});
|
|
212
212
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -13,14 +13,14 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
13
13
|
import { t as note$1 } from "./note-DRZSQe0n.js";
|
|
14
14
|
import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
|
|
15
15
|
import { t as createClackPrompter } from "./clack-prompter-Cpl8cd_B.js";
|
|
16
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-kZWwETyO.js";
|
|
17
17
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D5lkiu2O.js";
|
|
18
18
|
import { t as resolveGatewayService } from "./service-CJGWS46r.js";
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
19
|
+
import { r as healthCommand } from "./health-Bj5SETXV.js";
|
|
20
20
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CjH2ywP0.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-DNqMaj3H.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-Cn6U3t8O.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-DFbnmkw5.js";
|
|
24
24
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-7lns6xv3.js";
|
|
25
25
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-zXWRcQMp.js";
|
|
26
26
|
import { a as promptCustomApiConfig } from "./onboard-custom-BxSvKcCx.js";
|
|
@@ -11,14 +11,14 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
11
11
|
import { t as note$1 } from "./note-DDecZomM.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-B1aVoXd5.js";
|
|
14
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
14
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-DnVJfSLM.js";
|
|
15
15
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DAGH3gDr.js";
|
|
16
16
|
import { t as resolveGatewayService } from "./service-DcFI40_W.js";
|
|
17
|
-
import { r as healthCommand } from "./health-
|
|
17
|
+
import { r as healthCommand } from "./health-CCZhny3_.js";
|
|
18
18
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BC2GSxMJ.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-PVQxLC6I.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DF6R_pgV.js";
|
|
21
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
21
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-Budhs7AA.js";
|
|
22
22
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-CpR4F3Tp.js";
|
|
23
23
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-B8oXYjfA.js";
|
|
24
24
|
import { a as promptCustomApiConfig } from "./onboard-custom-zhlfzOTA.js";
|
|
@@ -5,7 +5,7 @@ import { c as getActivePluginRegistry, v as createInternalHookEvent, x as trigge
|
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-BF9jT_Nw.js";
|
|
6
6
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-B-c56SkM.js";
|
|
7
7
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BfEZesgD.js";
|
|
8
|
-
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-
|
|
8
|
+
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-YPvzHDpd.js";
|
|
9
9
|
import { d as getChannelDock } from "./thinking-CYyGFSWd.js";
|
|
10
10
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-fZrBDWYg.js";
|
|
11
11
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-_e0OifWF.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-D3syQOZg.js";
|
|
2
2
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-B5pKN_cp.js";
|
|
3
3
|
import { t as note } from "./note-DDecZomM.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-Ceqiqhkn.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-BM-yQZH6.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-DEKzLnLg.js";
|
|
3
3
|
import { t as note } from "./note-DRZSQe0n.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-CIFG5xWV.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -2547,7 +2547,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
2547
2547
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2548
2548
|
process$1.argv = parsed.argv;
|
|
2549
2549
|
}
|
|
2550
|
-
import("./run-main-
|
|
2550
|
+
import("./run-main-DVjbTOri.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2551
2551
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2552
2552
|
process$1.exitCode = 1;
|
|
2553
2553
|
});
|
package/dist/extensionAPI.js
CHANGED
|
@@ -7,7 +7,7 @@ import { a as resolveAgentIdentity } from "./reply-prefix-uLJjKH8L.js";
|
|
|
7
7
|
import "./github-copilot-token-ttqQRqMA.js";
|
|
8
8
|
import "./env-DulyEJtM.js";
|
|
9
9
|
import "./tokens-DnMmat9I.js";
|
|
10
|
-
import { D as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { D as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-BvySB0sN.js";
|
|
11
11
|
import "./plugins-CSfKuooL.js";
|
|
12
12
|
import "./accounts-Cxza2UXO.js";
|
|
13
13
|
import "./bindings-cmeB41uO.js";
|