@lawpath-tech/openclaw 2026.2.21-31 → 2026.2.21-33
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-BP8GDc9z.js → agents-B1Ai7rsS.js} +4 -4
- package/dist/{agents.config-Bz7K-hIv.js → agents.config-CxHnl-lL.js} +1 -1
- package/dist/{agents.config-BelTNn6K.js → agents.config-DX3tDviB.js} +1 -1
- package/dist/{audio-preflight-DP74Yvkp.js → audio-preflight-Dp9KYMCX.js} +4 -4
- package/dist/{auth-choice-D1nW1tnt.js → auth-choice-CW81kzG9.js} +1 -1
- package/dist/{auth-choice-CBUsciQJ.js → auth-choice-DKrgElus.js} +1 -1
- package/dist/{banner-C18cJKYR.js → banner-B3qK6V55.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +8 -8
- package/dist/bundled/session-memory/handler.js +8 -8
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DUJnpe5D.js → channel-options-CvSrxm2D.js} +1 -1
- package/dist/{channel-options-Dh4UX17R.js → channel-options-UCu5_Nv-.js} +1 -1
- package/dist/{channel-web-wLJAIBDS.js → channel-web-BUJggj7Y.js} +1 -1
- package/dist/{channels-cli-B3GeraPZ.js → channels-cli-B5TJMyaR.js} +6 -6
- package/dist/{channels-cli-7lL-U0bT.js → channels-cli-CGweC0NS.js} +6 -6
- package/dist/{chrome-BukFhWVN.js → chrome-DAmaIuXa.js} +7 -7
- package/dist/{cli-BdmFE8Ie.js → cli-B1suYn5Q.js} +3 -3
- package/dist/{cli-C9y6JSoj.js → cli-BFVjC6gz.js} +3 -3
- package/dist/{command-registry-D-PJPg1t.js → command-registry-C3Cb6_lT.js} +9 -9
- package/dist/{completion-cli-CA5pvA6W.js → completion-cli-CiR_bu8-.js} +1 -1
- package/dist/{completion-cli-zfVgI7-n.js → completion-cli-D-U8-xK-.js} +2 -2
- package/dist/{config-cli-BPrhK0hV.js → config-cli-BOhut0nG.js} +1 -1
- package/dist/{config-cli-CgMtqspq.js → config-cli-CsmTCdxD.js} +1 -1
- package/dist/{configure-yDD4TKIJ.js → configure-B7NUZjG2.js} +3 -3
- package/dist/{configure-P0T5xCKn.js → configure-BWfLMNPf.js} +3 -3
- package/dist/{deliver-BLmoUvp-.js → deliver-BP564y6d.js} +1 -1
- package/dist/{doctor-completion-wNJ24zG1.js → doctor-completion-CRCM30Gd.js} +1 -1
- package/dist/{doctor-completion-QnB3fOSm.js → doctor-completion-GAbf1D6s.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +3 -3
- package/dist/{gateway-cli-jzI2iY9a.js → gateway-cli-DGPCB6rN.js} +10 -10
- package/dist/{gateway-cli-abohiHMm.js → gateway-cli-QMubBYii.js} +10 -10
- package/dist/{health-ChDsDryb.js → health-CwpYY0fN.js} +1 -1
- package/dist/{health-BJ6SHHDr.js → health-DR30gLMN.js} +1 -1
- package/dist/{hooks-cli-BmuxgZBH.js → hooks-cli-DNwlE26g.js} +4 -4
- package/dist/{hooks-cli-DuRDIltL.js → hooks-cli-DlkiBMJi.js} +4 -4
- package/dist/{image-hH4ugSJI.js → image-DL65NdIM.js} +1 -1
- package/dist/index.js +8 -8
- package/dist/llm-slug-generator.js +8 -8
- package/dist/{models-BpqbY6s6.js → models-DVkqCyTw.js} +2 -2
- package/dist/{models-cli-COanmcGm.js → models-cli-BEkmRLcC.js} +4 -4
- package/dist/{models-cli-DqWWTCao.js → models-cli-DVKgOKux.js} +5 -5
- package/dist/{onboard-wCY6TSre.js → onboard-BS7ZSQTR.js} +2 -2
- package/dist/{onboard-UEtBiCoJ.js → onboard-D9z9OO_A.js} +2 -2
- package/dist/{onboard-channels-BJ-tZka8.js → onboard-channels-CUuKFX-y.js} +1 -1
- package/dist/{onboard-channels-CPma01ab.js → onboard-channels-SRbD8DVG.js} +1 -1
- package/dist/{onboarding-Dp6k5p-a.js → onboarding-CQRQ7bCq.js} +3 -3
- package/dist/{onboarding-Di4SkJUj.js → onboarding-DVBEYCod.js} +3 -3
- package/dist/{onboarding.finalize-G-q87JA2.js → onboarding.finalize-BRewG-HX.js} +7 -7
- package/dist/{onboarding.finalize-DshqLGqp.js → onboarding.finalize-CTF-nyL8.js} +8 -8
- package/dist/{pi-embedded-C7TfFIPO.js → pi-embedded-BqyWOcTK.js} +200 -43
- package/dist/{pi-embedded-helpers-DR_3fJko.js → pi-embedded-helpers-HnqhrewN.js} +4 -4
- package/dist/{pi-embedded-BAqpVR_m.js → pi-embedded-rXq7jDOy.js} +214 -57
- package/dist/{plugin-registry-CFiYBSX2.js → plugin-registry-Bp0OjK16.js} +1 -1
- package/dist/{plugin-registry-BdQI8-bG.js → plugin-registry-Ca9kiZbZ.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BjU_kuyW.js → agent-scope-KjIvGpFh.js} +19 -19
- package/dist/plugin-sdk/{channel-web-DtyyUoWA.js → channel-web-i7Q0e2xL.js} +1 -1
- package/dist/plugin-sdk/index.js +4 -4
- package/dist/plugin-sdk/{manager-BBcNMx7F.js → manager-DeHKg0Ym.js} +28 -28
- package/dist/plugin-sdk/memory-host-search.js +4 -4
- package/dist/plugin-sdk/{qmd-manager-B5NFEjJd.js → qmd-manager-Ci6Ood2P.js} +2 -2
- package/dist/plugin-sdk/{replies-OoosoUz9.js → replies-CvKNemz4.js} +5 -4
- package/dist/plugin-sdk/{reply-C_4ajFUt.js → reply-CrBuiTf0.js} +200 -43
- package/dist/plugin-sdk/{send-C9Q83PfF.js → send-DzgvnkSq.js} +20 -1
- package/dist/plugin-sdk/slack/monitor/events/channels.d.ts +1 -0
- package/dist/plugin-sdk/slack/monitor/events/members.d.ts +1 -0
- package/dist/plugin-sdk/slack/monitor/events/pins.d.ts +1 -0
- package/dist/plugin-sdk/slack/monitor/events/reactions.d.ts +1 -0
- package/dist/plugin-sdk/slack/monitor/events.d.ts +2 -0
- package/dist/plugin-sdk/slack/monitor/message-handler.d.ts +2 -0
- package/dist/plugin-sdk/slack/monitor/provider.d.ts +6 -0
- package/dist/plugin-sdk/slack/monitor/replies.d.ts +2 -0
- package/dist/plugin-sdk/slack/monitor/types.d.ts +4 -0
- package/dist/plugin-sdk/slack/threading.d.ts +9 -0
- package/dist/plugin-sdk/{sqlite-CH_AglGD.js → sqlite-CcSeRdqy.js} +15 -15
- package/dist/plugin-sdk/{web-BlY2wNrk.js → web-DXbKqGiu.js} +4 -4
- package/dist/{plugins-cli-CmrER-zr.js → plugins-cli-B54I3YDp.js} +4 -4
- package/dist/{plugins-cli-B03aSLgf.js → plugins-cli-DQqPpkDg.js} +4 -4
- package/dist/{program-Djk08-l7.js → program-CiVPUyGe.js} +9 -9
- package/dist/{program-context-DlRS1tcr.js → program-context-B8jVIvqn.js} +17 -17
- package/dist/{prompt-select-styled-CMszn2hx.js → prompt-select-styled-DP6ORKEH.js} +4 -4
- package/dist/{prompt-select-styled-JkMJPt68.js → prompt-select-styled-XJNDuVI-.js} +4 -4
- package/dist/{provider-auth-helpers-36LOZ6SL.js → provider-auth-helpers-BvdnFgmZ.js} +1 -1
- package/dist/{provider-auth-helpers-ZV7-WRyR.js → provider-auth-helpers-GlPRMdgU.js} +1 -1
- package/dist/{push-apns-Cm-ZTdUp.js → push-apns-4PMWZHdd.js} +1 -1
- package/dist/{push-apns-TUUEPpx1.js → push-apns-BLl8QvkS.js} +1 -1
- package/dist/{pw-ai-Dp9c5KD_.js → pw-ai-BLLeU82T.js} +1 -1
- package/dist/{register.agent-DsFrb0R7.js → register.agent-DMDB7XFY.js} +8 -8
- package/dist/{register.agent-7Pku8mId.js → register.agent-O8MfanIY.js} +7 -7
- package/dist/{register.configure-BMfcA9Sh.js → register.configure-BnK5Jcux.js} +8 -8
- package/dist/{register.configure-CJ6IYgGS.js → register.configure-z-iZ8GQq.js} +8 -8
- package/dist/{register.maintenance-DfoSO5fo.js → register.maintenance-BnFA8dD9.js} +9 -9
- package/dist/{register.maintenance-BFSQHBgH.js → register.maintenance-DSLAHGdZ.js} +10 -10
- package/dist/{register.message-BTCpZ8RW.js → register.message-BEBbZm3E.js} +4 -4
- package/dist/{register.message-C-5P7V4g.js → register.message-Diwl2TLo.js} +4 -4
- package/dist/{register.onboard-CVXaGmEF.js → register.onboard-Bc4G3TMS.js} +6 -6
- package/dist/{register.onboard-CTO-qkWZ.js → register.onboard-gF_aeZ9o.js} +6 -6
- package/dist/{register.setup-Dg1Ud7ox.js → register.setup-B4r3oTHQ.js} +6 -6
- package/dist/{register.setup-BzaCK19n.js → register.setup-CdWPBfRb.js} +6 -6
- package/dist/{register.status-health-sessions-IymXWaoK.js → register.status-health-sessions-gEelqg9y.js} +5 -5
- package/dist/{register.status-health-sessions-DjwY1WQe.js → register.status-health-sessions-gHKOUBxw.js} +5 -5
- package/dist/{register.subclis-Bw1N3fIn.js → register.subclis-DflQa27k.js} +9 -9
- package/dist/{replies-MVPArv-r.js → replies-9ipbTXMP.js} +5 -4
- package/dist/{replies-DtFxhHfI.js → replies-BCd0AxfK.js} +5 -4
- package/dist/{replies-DKKNtkun.js → replies-BdkHHO5V.js} +5 -4
- package/dist/{replies-DhmTgroV.js → replies-CSjH2EQ6.js} +5 -4
- package/dist/{reply-pTxrsMtG.js → reply-CM9fxt2r.js} +200 -43
- package/dist/{run-main-DnYUey0K.js → run-main-3miuYYBs.js} +16 -16
- package/dist/{runner-CLY-9j7g.js → runner-CcRtHLpd.js} +1 -1
- package/dist/{send-CTGeWUSD.js → send-B3u53ZAu.js} +20 -1
- package/dist/{send-Cr8R-bMi.js → send-CAuzoyQe.js} +20 -1
- package/dist/{send-D_FU_HIa.js → send-D6r6s6Nf.js} +20 -1
- package/dist/{send-CKGUBMnM.js → send-DUc9Jw32.js} +20 -1
- package/dist/{server-node-events-Dhbdspn_.js → server-node-events-BcfA38Ht.js} +4 -4
- package/dist/{server-node-events-DQYNf8b_.js → server-node-events-DzAfZuLY.js} +4 -4
- package/dist/{session-dirs-CFHymbM9.js → session-dirs-BdEl6HTu.js} +1 -1
- package/dist/{session-dirs-DoK1aPxY.js → session-dirs-BeIjLerM.js} +1 -1
- package/dist/{status-D32_SxwC.js → status-B0MQkmRx.js} +2 -2
- package/dist/{status-CFnZ8E56.js → status-CgApQy5C.js} +1 -1
- package/dist/{status-C-PQHlxh.js → status-DpOLEQn-.js} +1 -1
- package/dist/{status-KRRAxPjg.js → status-dZ2UgRzN.js} +2 -2
- package/dist/{subagent-registry-DkjybHrK.js → subagent-registry-CEyaZMV5.js} +200 -43
- package/dist/{update-cli-DXd4fNuS.js → update-cli-COdYp-Y5.js} +10 -10
- package/dist/{update-cli-DMrRvy-m.js → update-cli-Y2wT8mXS.js} +9 -9
- package/dist/{web-Dsgry4ji.js → web-CQ4AF_Y7.js} +3 -3
- package/dist/{web-CCqlC0N_.js → web-Cp6O0VTJ.js} +4 -4
- package/dist/{web-IfDcZx01.js → web-D8FEwRAX.js} +3 -3
- package/dist/{web-DCNwbuhj.js → web-c0XVFCZq.js} +8 -8
- package/package.json +1 -1
|
@@ -5,19 +5,19 @@ import { t as formatCliCommand } from "./command-format-D-HPYIga.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-CRYIvJeA.js";
|
|
7
7
|
import { l as writeConfigFile } from "./config-BIssvwa3.js";
|
|
8
|
-
import { N as parseIdentityMarkdown, j as identityHasValues } from "./subagent-registry-
|
|
8
|
+
import { N as parseIdentityMarkdown, j as identityHasValues } from "./subagent-registry-CEyaZMV5.js";
|
|
9
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-z3bMeGdF.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-BOr3T_72.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-xm_EZevL.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-ByvTQBsU.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-SRbD8DVG.js";
|
|
16
16
|
import { t as requireValidConfigSnapshot } from "./config-validation-BQzBhKoW.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-DX3tDviB.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-q9BYdIYy.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-DKrgElus.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-
|
|
1
|
+
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-CM9fxt2r.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-BGlpyppa.js";
|
|
4
4
|
|
|
@@ -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-CRYIvJeA.js";
|
|
3
|
-
import { M as loadAgentIdentityFromWorkspace, j as identityHasValues } from "./subagent-registry-
|
|
3
|
+
import { M as loadAgentIdentityFromWorkspace, j as identityHasValues } from "./subagent-registry-CEyaZMV5.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -14,10 +14,10 @@ import "./model-auth-CZJx4V2b.js";
|
|
|
14
14
|
import "./github-copilot-token-Dgb9dAHW.js";
|
|
15
15
|
import "./pi-model-discovery-DaNAekda.js";
|
|
16
16
|
import "./message-channel-iIguLnrh.js";
|
|
17
|
-
import "./pi-embedded-helpers-
|
|
17
|
+
import "./pi-embedded-helpers-HnqhrewN.js";
|
|
18
18
|
import "./config-CAG6tF2v.js";
|
|
19
19
|
import "./manifest-registry-DIrjGjR5.js";
|
|
20
|
-
import "./chrome-
|
|
20
|
+
import "./chrome-DAmaIuXa.js";
|
|
21
21
|
import "./frontmatter-CdkBcBAo.js";
|
|
22
22
|
import "./skills-CshrABO7.js";
|
|
23
23
|
import "./redact-jSxx6Ep2.js";
|
|
@@ -28,10 +28,10 @@ import "./thinking-TlG86rbX.js";
|
|
|
28
28
|
import "./accounts-B3-U7ptq.js";
|
|
29
29
|
import "./paths-BEAbheM8.js";
|
|
30
30
|
import "./tool-images-zWf2wdvF.js";
|
|
31
|
-
import "./image-
|
|
31
|
+
import "./image-DL65NdIM.js";
|
|
32
32
|
import "./gemini-auth-CEx7Gd8x.js";
|
|
33
33
|
import "./local-roots-nQ6A1U7J.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-CcRtHLpd.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-CjwzHKkB.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-CuawFqeV.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-3sJLQq8Y.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-GlPRMdgU.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-CZOgt9C7.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-NGiZaAei.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-uXi_S3Cn.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-xm_EZevL.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-C2wn_hbZ.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-BvdnFgmZ.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-ZKgFcN18.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-D0ct-Y1I.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dt as isRich, Ot as theme, h as visibleWidth, un as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { sn as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { sn as resolveCommitHash } from "./subagent-registry-CEyaZMV5.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,15 +5,15 @@ import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-sc
|
|
|
5
5
|
import { r as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-DvzaTaH5.js";
|
|
6
6
|
import "../../workspace-BBrPy5so.js";
|
|
7
7
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-HGSJ1Ptu.js";
|
|
8
|
-
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-
|
|
8
|
+
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-rXq7jDOy.js";
|
|
9
9
|
import "../../plugins-3wQdZi9n.js";
|
|
10
10
|
import "../../accounts-I_wbc6A8.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
12
12
|
import "../../command-format-DNXTZvyP.js";
|
|
13
13
|
import "../../bindings-B8hJCI3W.js";
|
|
14
|
-
import "../../send-
|
|
14
|
+
import "../../send-B3u53ZAu.js";
|
|
15
15
|
import "../../send-ltdk4YkX.js";
|
|
16
|
-
import "../../deliver-
|
|
16
|
+
import "../../deliver-BP564y6d.js";
|
|
17
17
|
import "../../diagnostic-CIaxLukF.js";
|
|
18
18
|
import "../../diagnostic-session-state-Bxo4UHOL.js";
|
|
19
19
|
import "../../accounts-BoN2ZP7O.js";
|
|
@@ -23,10 +23,10 @@ import "../../model-auth-CZJx4V2b.js";
|
|
|
23
23
|
import "../../github-copilot-token-Dgb9dAHW.js";
|
|
24
24
|
import "../../pi-model-discovery-DaNAekda.js";
|
|
25
25
|
import "../../message-channel-iIguLnrh.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-HnqhrewN.js";
|
|
27
27
|
import "../../config-CAG6tF2v.js";
|
|
28
28
|
import "../../manifest-registry-DIrjGjR5.js";
|
|
29
|
-
import "../../chrome-
|
|
29
|
+
import "../../chrome-DAmaIuXa.js";
|
|
30
30
|
import "../../frontmatter-CdkBcBAo.js";
|
|
31
31
|
import "../../skills-CshrABO7.js";
|
|
32
32
|
import "../../redact-jSxx6Ep2.js";
|
|
@@ -37,7 +37,7 @@ import "../../thinking-TlG86rbX.js";
|
|
|
37
37
|
import "../../accounts-B3-U7ptq.js";
|
|
38
38
|
import { s as resolveStorePath } from "../../paths-BEAbheM8.js";
|
|
39
39
|
import "../../tool-images-zWf2wdvF.js";
|
|
40
|
-
import "../../image-
|
|
40
|
+
import "../../image-DL65NdIM.js";
|
|
41
41
|
import "../../reply-prefix-jp5l9qB5.js";
|
|
42
42
|
import "../../manager-DNkjmwyA.js";
|
|
43
43
|
import "../../gemini-auth-CEx7Gd8x.js";
|
|
@@ -51,7 +51,7 @@ import "../../ir-CEsPCZvD.js";
|
|
|
51
51
|
import "../../render-CDCvpfhh.js";
|
|
52
52
|
import "../../commands-registry-6W8L59D5.js";
|
|
53
53
|
import "../../skill-commands-BbyNOSCl.js";
|
|
54
|
-
import "../../runner-
|
|
54
|
+
import "../../runner-CcRtHLpd.js";
|
|
55
55
|
import "../../fetch-DtI0mtzx.js";
|
|
56
56
|
import "../../channel-activity-C6rHJUyP.js";
|
|
57
57
|
import "../../tables-BvZmTglR.js";
|
|
@@ -60,7 +60,7 @@ import "../../outbound-attachment-CQ13-o6-.js";
|
|
|
60
60
|
import "../../send-DdINVChS.js";
|
|
61
61
|
import "../../resolve-route-C9IpwJ25.js";
|
|
62
62
|
import "../../proxy-CBJ1upuz.js";
|
|
63
|
-
import "../../replies-
|
|
63
|
+
import "../../replies-BCd0AxfK.js";
|
|
64
64
|
import fs from "node:fs/promises";
|
|
65
65
|
import path from "node:path";
|
|
66
66
|
import crypto from "node:crypto";
|
|
@@ -5,15 +5,15 @@ import { s as resolveAgentWorkspaceDir } from "../../agent-scope-IcpoNgkO.js";
|
|
|
5
5
|
import { t as createSubsystemLogger } from "../../subsystem-DvzaTaH5.js";
|
|
6
6
|
import "../../workspace-BBrPy5so.js";
|
|
7
7
|
import "../../tokens-HGSJ1Ptu.js";
|
|
8
|
-
import "../../pi-embedded-
|
|
8
|
+
import "../../pi-embedded-rXq7jDOy.js";
|
|
9
9
|
import "../../plugins-3wQdZi9n.js";
|
|
10
10
|
import "../../accounts-I_wbc6A8.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
12
12
|
import "../../command-format-DNXTZvyP.js";
|
|
13
13
|
import "../../bindings-B8hJCI3W.js";
|
|
14
|
-
import "../../send-
|
|
14
|
+
import "../../send-B3u53ZAu.js";
|
|
15
15
|
import "../../send-ltdk4YkX.js";
|
|
16
|
-
import "../../deliver-
|
|
16
|
+
import "../../deliver-BP564y6d.js";
|
|
17
17
|
import "../../diagnostic-CIaxLukF.js";
|
|
18
18
|
import "../../diagnostic-session-state-Bxo4UHOL.js";
|
|
19
19
|
import "../../accounts-BoN2ZP7O.js";
|
|
@@ -23,10 +23,10 @@ import "../../model-auth-CZJx4V2b.js";
|
|
|
23
23
|
import "../../github-copilot-token-Dgb9dAHW.js";
|
|
24
24
|
import "../../pi-model-discovery-DaNAekda.js";
|
|
25
25
|
import "../../message-channel-iIguLnrh.js";
|
|
26
|
-
import { ct as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-
|
|
26
|
+
import { ct as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-HnqhrewN.js";
|
|
27
27
|
import "../../config-CAG6tF2v.js";
|
|
28
28
|
import "../../manifest-registry-DIrjGjR5.js";
|
|
29
|
-
import "../../chrome-
|
|
29
|
+
import "../../chrome-DAmaIuXa.js";
|
|
30
30
|
import "../../frontmatter-CdkBcBAo.js";
|
|
31
31
|
import "../../skills-CshrABO7.js";
|
|
32
32
|
import "../../redact-jSxx6Ep2.js";
|
|
@@ -37,7 +37,7 @@ import "../../thinking-TlG86rbX.js";
|
|
|
37
37
|
import "../../accounts-B3-U7ptq.js";
|
|
38
38
|
import "../../paths-BEAbheM8.js";
|
|
39
39
|
import "../../tool-images-zWf2wdvF.js";
|
|
40
|
-
import "../../image-
|
|
40
|
+
import "../../image-DL65NdIM.js";
|
|
41
41
|
import "../../reply-prefix-jp5l9qB5.js";
|
|
42
42
|
import "../../manager-DNkjmwyA.js";
|
|
43
43
|
import "../../gemini-auth-CEx7Gd8x.js";
|
|
@@ -51,7 +51,7 @@ import "../../ir-CEsPCZvD.js";
|
|
|
51
51
|
import "../../render-CDCvpfhh.js";
|
|
52
52
|
import "../../commands-registry-6W8L59D5.js";
|
|
53
53
|
import "../../skill-commands-BbyNOSCl.js";
|
|
54
|
-
import "../../runner-
|
|
54
|
+
import "../../runner-CcRtHLpd.js";
|
|
55
55
|
import "../../fetch-DtI0mtzx.js";
|
|
56
56
|
import "../../channel-activity-C6rHJUyP.js";
|
|
57
57
|
import "../../tables-BvZmTglR.js";
|
|
@@ -60,7 +60,7 @@ import "../../outbound-attachment-CQ13-o6-.js";
|
|
|
60
60
|
import "../../send-DdINVChS.js";
|
|
61
61
|
import "../../resolve-route-C9IpwJ25.js";
|
|
62
62
|
import "../../proxy-CBJ1upuz.js";
|
|
63
|
-
import "../../replies-
|
|
63
|
+
import "../../replies-BCd0AxfK.js";
|
|
64
64
|
import { generateSlugViaLLM } from "../../llm-slug-generator.js";
|
|
65
65
|
import { t as resolveHookConfig } from "../../config-ClSsetRi.js";
|
|
66
66
|
import fs from "node:fs/promises";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
77d35d93bab68e73a16d53ad1ababcafe6a99e9e4594709cebd37d0b45e1f3dd
|
|
@@ -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-z3bMeGdF.js";
|
|
3
3
|
import { r as listChannelPluginCatalogEntries } from "./catalog-c0_qsZP7.js";
|
|
4
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
4
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-Bp0OjK16.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-lBbEkQ26.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-C9RBJHeg.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-DufH79A4.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-Ca9kiZbZ.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-CM9fxt2r.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-Cu1fn6xi.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-CM9fxt2r.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-lBbEkQ26.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-Cu1fn6xi.js";
|
|
@@ -46,7 +46,7 @@ import "./accounts-BQX482gP.js";
|
|
|
46
46
|
import "./accounts-CAR30ERb.js";
|
|
47
47
|
import "./bindings-D_OoALBE.js";
|
|
48
48
|
import "./logging-w5jq5901.js";
|
|
49
|
-
import {
|
|
49
|
+
import { a as createSlackWebClient } from "./send-DUc9Jw32.js";
|
|
50
50
|
import "./paths-C6eomcf_.js";
|
|
51
51
|
import "./tool-images-BCkPMulQ.js";
|
|
52
52
|
import "./tool-display-2OmEbBUF.js";
|
|
@@ -88,7 +88,7 @@ import { n as runCommandWithRuntime } from "./cli-utils-DN_hM6ov.js";
|
|
|
88
88
|
import { t as formatHelpExamples } from "./help-format-BNbRyxky.js";
|
|
89
89
|
import { n as withProgress } from "./progress-9gCu2IkR.js";
|
|
90
90
|
import "./resolve-route-DuqgZ7wS.js";
|
|
91
|
-
import "./replies-
|
|
91
|
+
import "./replies-BdkHHO5V.js";
|
|
92
92
|
import "./skill-commands-VCmL7mMC.js";
|
|
93
93
|
import "./workspace-dirs-DbX5fBAC.js";
|
|
94
94
|
import "./outbound-attachment-91Q9pKkZ.js";
|
|
@@ -105,8 +105,8 @@ import "./stagger-B6VQyn1F.js";
|
|
|
105
105
|
import { n as resolveMessageChannelSelection } from "./channel-selection-B3CpzNsC.js";
|
|
106
106
|
import "./pi-tools.policy-CrKxTriv.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-Ca9kiZbZ.js";
|
|
109
|
+
import { t as formatCliChannelOptions } from "./channel-options-UCu5_Nv-.js";
|
|
110
110
|
import { t as hasExplicitOptions } from "./command-options-BtDai3oC.js";
|
|
111
111
|
import "./note-xON1rY4p.js";
|
|
112
112
|
import { t as createClackPrompter } from "./clack-prompter-BWVLqg-2.js";
|
|
@@ -116,7 +116,7 @@ import "./install-safe-path-tCLiMpmO.js";
|
|
|
116
116
|
import "./npm-registry-spec-Dw7Zv5pY.js";
|
|
117
117
|
import "./skill-scanner-CMBwwxis.js";
|
|
118
118
|
import "./installs-Bbb02byQ.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-CUuKFX-y.js";
|
|
120
120
|
import { t as requireValidConfigSnapshot } from "./config-validation-cyW76mmN.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,14 +15,14 @@ import "./client-Dsuc__Z5.js";
|
|
|
15
15
|
import { n as callGateway } from "./call-9P8a5VLv.js";
|
|
16
16
|
import "./message-channel-CVHJDItx.js";
|
|
17
17
|
import "./pairing-token-DIDmMgOf.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-CEyaZMV5.js";
|
|
19
19
|
import "./sessions-C2GoB4eB.js";
|
|
20
20
|
import "./tokens-BQcb3NZa.js";
|
|
21
21
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, u as resolveTelegramAccount } from "./plugins-z3bMeGdF.js";
|
|
22
22
|
import "./accounts-C-TqofPl.js";
|
|
23
23
|
import "./bindings-jVZjD48m.js";
|
|
24
24
|
import "./logging-CFvkxgcX.js";
|
|
25
|
-
import {
|
|
25
|
+
import { a as createSlackWebClient } from "./send-D6r6s6Nf.js";
|
|
26
26
|
import { $ as fetchChannelPermissionsDiscord, it as parseDiscordTarget } from "./send-BFb93sxb.js";
|
|
27
27
|
import "./with-timeout-X8qW3T0a.js";
|
|
28
28
|
import "./deliver-C9pjS-4q.js";
|
|
@@ -95,7 +95,7 @@ import { t as formatDocsLink } from "./links-CSp_i58l.js";
|
|
|
95
95
|
import { n as runCommandWithRuntime } from "./cli-utils-CCaEbxAz.js";
|
|
96
96
|
import { t as formatHelpExamples } from "./help-format-uFvlNrMU.js";
|
|
97
97
|
import { n as withProgress } from "./progress-BEwrJjhp.js";
|
|
98
|
-
import "./replies-
|
|
98
|
+
import "./replies-9ipbTXMP.js";
|
|
99
99
|
import "./onboard-helpers-xm_EZevL.js";
|
|
100
100
|
import "./prompt-style-BnX7ehmB.js";
|
|
101
101
|
import "./pairing-labels-Bq0F29US.js";
|
|
@@ -110,13 +110,13 @@ import "./install-safe-path-BK8js28D.js";
|
|
|
110
110
|
import "./npm-registry-spec-dKJk_jEl.js";
|
|
111
111
|
import "./skill-scanner-Cb7mXGIR.js";
|
|
112
112
|
import "./installs-DzFGKwGt.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-SRbD8DVG.js";
|
|
114
114
|
import { t as requireValidConfigSnapshot } from "./config-validation-BQzBhKoW.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-C6rVRnOy.js";
|
|
118
|
-
import "./plugin-registry-
|
|
119
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
118
|
+
import "./plugin-registry-Bp0OjK16.js";
|
|
119
|
+
import { t as formatCliChannelOptions } from "./channel-options-CvSrxm2D.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
|
|
13
|
+
import WebSocket, { 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
|
|
181
|
+
if (!ws || ws.readyState !== WebSocket.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
|
|
198
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
199
199
|
ws.send(msg);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
const sendResponseToCdp = (ws, res) => {
|
|
203
|
-
if (ws.readyState !== WebSocket
|
|
203
|
+
if (ws.readyState !== WebSocket.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
|
|
428
|
+
if (ws.readyState !== WebSocket.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
|
|
746
|
+
const ws = new WebSocket(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
|
|
1640
|
+
const ws = new WebSocket(wsUrl, {
|
|
1641
1641
|
handshakeTimeout: timeoutMs,
|
|
1642
1642
|
...Object.keys(headers).length ? { headers } : {}
|
|
1643
1643
|
});
|
|
@@ -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-CM9fxt2r.js";
|
|
5
5
|
import "./registry-lBbEkQ26.js";
|
|
6
6
|
import { t as createSubsystemLogger } from "./subsystem-Cu1fn6xi.js";
|
|
7
7
|
import "./exec-DwGfeG8v.js";
|
|
@@ -44,7 +44,7 @@ import "./accounts-BQX482gP.js";
|
|
|
44
44
|
import "./accounts-CAR30ERb.js";
|
|
45
45
|
import "./bindings-D_OoALBE.js";
|
|
46
46
|
import "./logging-w5jq5901.js";
|
|
47
|
-
import "./send-
|
|
47
|
+
import "./send-DUc9Jw32.js";
|
|
48
48
|
import "./paths-C6eomcf_.js";
|
|
49
49
|
import "./tool-images-BCkPMulQ.js";
|
|
50
50
|
import "./tool-display-2OmEbBUF.js";
|
|
@@ -85,7 +85,7 @@ import "./cli-utils-DN_hM6ov.js";
|
|
|
85
85
|
import "./help-format-BNbRyxky.js";
|
|
86
86
|
import "./progress-9gCu2IkR.js";
|
|
87
87
|
import "./resolve-route-DuqgZ7wS.js";
|
|
88
|
-
import "./replies-
|
|
88
|
+
import "./replies-BdkHHO5V.js";
|
|
89
89
|
import "./skill-commands-VCmL7mMC.js";
|
|
90
90
|
import "./workspace-dirs-DbX5fBAC.js";
|
|
91
91
|
import "./outbound-attachment-91Q9pKkZ.js";
|
|
@@ -13,14 +13,14 @@ import "./client-Dsuc__Z5.js";
|
|
|
13
13
|
import "./call-9P8a5VLv.js";
|
|
14
14
|
import "./message-channel-CVHJDItx.js";
|
|
15
15
|
import "./pairing-token-DIDmMgOf.js";
|
|
16
|
-
import { g as loadOpenClawPlugins } from "./subagent-registry-
|
|
16
|
+
import { g as loadOpenClawPlugins } from "./subagent-registry-CEyaZMV5.js";
|
|
17
17
|
import "./sessions-C2GoB4eB.js";
|
|
18
18
|
import "./tokens-BQcb3NZa.js";
|
|
19
19
|
import "./plugins-z3bMeGdF.js";
|
|
20
20
|
import "./accounts-C-TqofPl.js";
|
|
21
21
|
import "./bindings-jVZjD48m.js";
|
|
22
22
|
import "./logging-CFvkxgcX.js";
|
|
23
|
-
import "./send-
|
|
23
|
+
import "./send-D6r6s6Nf.js";
|
|
24
24
|
import "./send-BFb93sxb.js";
|
|
25
25
|
import "./with-timeout-X8qW3T0a.js";
|
|
26
26
|
import "./deliver-C9pjS-4q.js";
|
|
@@ -92,7 +92,7 @@ import "./links-CSp_i58l.js";
|
|
|
92
92
|
import "./cli-utils-CCaEbxAz.js";
|
|
93
93
|
import "./help-format-uFvlNrMU.js";
|
|
94
94
|
import "./progress-BEwrJjhp.js";
|
|
95
|
-
import "./replies-
|
|
95
|
+
import "./replies-9ipbTXMP.js";
|
|
96
96
|
import "./onboard-helpers-xm_EZevL.js";
|
|
97
97
|
import "./prompt-style-BnX7ehmB.js";
|
|
98
98
|
import "./pairing-labels-Bq0F29US.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { ln as hasHelpOrVersion, on as getPrimaryCommand } 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-DflQa27k.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-CdWPBfRb.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-Bc4G3TMS.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-BnK5Jcux.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-CsmTCdxD.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-DSLAHGdZ.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-Diwl2TLo.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-DMDB7XFY.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-gHKOUBxw.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-Cu1fn6xi.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-B8jVIvqn.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 { Xt as resolveStateDir, l as routeLogsToStderr, rt 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-DflQa27k.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-C3Cb6_lT.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";
|
|
@@ -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-B7NUZjG2.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) => {
|
|
@@ -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-BWfLMNPf.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) => {
|
|
@@ -13,14 +13,14 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
13
13
|
import { t as note$1 } from "./note-xON1rY4p.js";
|
|
14
14
|
import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
|
|
15
15
|
import { t as createClackPrompter } from "./clack-prompter-BWVLqg-2.js";
|
|
16
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-CUuKFX-y.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-b5AIw6-c.js";
|
|
18
18
|
import { t as resolveGatewayService } from "./service-x8sNoic1.js";
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
19
|
+
import { r as healthCommand } from "./health-CwpYY0fN.js";
|
|
20
20
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BcSek9LQ.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-CW81kzG9.js";
|
|
24
24
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-NGiZaAei.js";
|
|
25
25
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger--ZF5kAeJ.js";
|
|
26
26
|
import { a as promptCustomApiConfig } from "./onboard-custom-KUI3ky6Y.js";
|