openclaw 2026.2.22-1 → 2026.2.22-2
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-BMfCalHV.js → agents-D-KqorSh.js} +4 -4
- package/dist/{agents.config-BKK5FzPQ.js → agents.config-B6OGp-GS.js} +1 -1
- package/dist/{agents.config-wiuxH8Gn.js → agents.config-C14C5L14.js} +1 -1
- package/dist/{auth-choice-DBo9VFvP.js → auth-choice-CJHNRzZT.js} +1 -1
- package/dist/{auth-choice-BdgYRDwO.js → auth-choice-mxItC_dD.js} +1 -1
- package/dist/{banner-DqZDqj3Y.js → banner-C9JX9-YB.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DFcZRuYZ.js → channel-options-B5GRdeOp.js} +1 -1
- package/dist/{channel-options-BGbuhUMI.js → channel-options-B_Ut50Fo.js} +1 -1
- package/dist/{channel-web-DM3DeFRe.js → channel-web-pz2P6JD5.js} +1 -1
- package/dist/{channels-cli-CDXVJjh7.js → channels-cli-D_LkDfV5.js} +4 -4
- package/dist/{channels-cli-BaI6CgMi.js → channels-cli-Dct8EcwX.js} +4 -4
- package/dist/{cli-Psz4qC8e.js → cli-B335fyxg.js} +1 -1
- package/dist/{cli-O2nhoSD3.js → cli-DOucpokC.js} +1 -1
- package/dist/{command-registry-DCVRY4S7.js → command-registry-DqN8qysD.js} +9 -9
- package/dist/{completion-cli-BB6sJnPq.js → completion-cli-C_f_XIqS.js} +1 -1
- package/dist/{completion-cli-CCiZkZkL.js → completion-cli-CsFfrh5F.js} +2 -2
- package/dist/{config-cli-Dai0LDdO.js → config-cli-CpEruJQt.js} +1 -1
- package/dist/{config-cli-sZV2pTQH.js → config-cli-Dlb1xCJf.js} +1 -1
- package/dist/{configure-BjYTHs0W.js → configure-B3NEZpCA.js} +3 -3
- package/dist/{configure-tkq8KlN8.js → configure-BAY5UILH.js} +3 -3
- package/dist/{doctor-completion-Bgsr8EY1.js → doctor-completion-Cvx1eK7i.js} +1 -1
- package/dist/{doctor-completion-CoOeEDU5.js → doctor-completion-Y8wu4W8j.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-C2ru6dts.js → gateway-cli-CejL4akr.js} +9 -9
- package/dist/{gateway-cli-hmcx-lP2.js → gateway-cli-fbk02TsX.js} +9 -9
- package/dist/{health-HtHzJS3U.js → health-5LtHJG-Z.js} +1 -1
- package/dist/{health-COBjudYx.js → health-DAdRLxND.js} +1 -1
- package/dist/{hooks-cli-BHC16sCJ.js → hooks-cli-CtMnljTA.js} +2 -2
- package/dist/{hooks-cli-CZqs0xey.js → hooks-cli-Cw3U9hV9.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models--zSRklle.js → models-Cp3p0FSE.js} +2 -2
- package/dist/{models-cli-aHYecnSH.js → models-cli-BvjPdAHs.js} +3 -3
- package/dist/{models-cli-D1B3tBX3.js → models-cli-C_xnzDjg.js} +2 -2
- package/dist/{npm-resolution-CwU0zcud.js → npm-resolution-B85twfI2.js} +1 -1
- package/dist/{npm-resolution-ZCLtpW72.js → npm-resolution-Dz93qmVK.js} +1 -1
- package/dist/{onboard-DWWSdgC1.js → onboard-BNxTmRYP.js} +2 -2
- package/dist/{onboard-BLUArPus.js → onboard-BToTNuNm.js} +2 -2
- package/dist/{onboard-channels-CRSPlaeq.js → onboard-channels-Ba9NDV44.js} +1 -1
- package/dist/{onboard-channels-DNw-FYFb.js → onboard-channels-CkuhKFCM.js} +1 -1
- package/dist/{onboarding-CeHtDBJ2.js → onboarding-6zf-mJnF.js} +3 -3
- package/dist/{onboarding-CWVmZTBn.js → onboarding-B9CIBPg8.js} +3 -3
- package/dist/{onboarding.finalize-D0cN96I1.js → onboarding.finalize-CcNXvCSn.js} +6 -6
- package/dist/{onboarding.finalize-DeImdLGf.js → onboarding.finalize-Lx1MnC7v.js} +5 -5
- package/dist/{pi-embedded-bpk6xf0s.js → pi-embedded-CZp-Kzhd.js} +3 -4
- package/dist/{pi-embedded-BLSq2QpL.js → pi-embedded-Vt2x_Jl3.js} +3 -4
- package/dist/{plugin-registry-CTWpHiwS.js → plugin-registry-DFjFNEmq.js} +1 -1
- package/dist/{plugin-registry-ENw00eOG.js → plugin-registry-jYcutNcc.js} +1 -1
- package/dist/plugin-sdk/{channel-web-B2GhZxQu.js → channel-web-BmPNpYnt.js} +1 -1
- package/dist/plugin-sdk/config/types.tools.d.ts +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-kEnfQ5xH.js → reply-DG5oS1Oj.js} +3 -4
- package/dist/plugin-sdk/{web-CcvT9l8_.js → web-C1dVrktT.js} +2 -2
- package/dist/{plugins-cli-CVPAvkog.js → plugins-cli-Cl-D37oW.js} +2 -2
- package/dist/{plugins-cli-gdNNQ5js.js → plugins-cli-DkjRuxfs.js} +2 -2
- package/dist/{program-Bm_h6013.js → program-Blp81-yp.js} +7 -7
- package/dist/{program-context-CkjnpDEZ.js → program-context-DSzCv-t_.js} +17 -17
- package/dist/{prompt-select-styled-CJMQlWB0.js → prompt-select-styled-BdefqC7X.js} +4 -4
- package/dist/{prompt-select-styled-D1NqQGUL.js → prompt-select-styled-DLIQZg2Q.js} +4 -4
- package/dist/{provider-auth-helpers-Bp7iqqTy.js → provider-auth-helpers-B5w3w35l.js} +1 -1
- package/dist/{provider-auth-helpers-BU2bNjF3.js → provider-auth-helpers-BYiHuqA9.js} +1 -1
- package/dist/{push-apns-CypkiUTG.js → push-apns-CtNMQDVT.js} +1 -1
- package/dist/{push-apns-DZ-sbEOs.js → push-apns-D9T__dvr.js} +1 -1
- package/dist/{register.agent-BYe4liYL.js → register.agent-B4iY54YA.js} +5 -5
- package/dist/{register.agent-DPKlyea9.js → register.agent-EzW55Oy9.js} +6 -6
- package/dist/{register.configure-CS34mZ65.js → register.configure-XbEm3zBp.js} +6 -6
- package/dist/{register.configure-CUKa-h-B.js → register.configure-kmqWB2Gx.js} +6 -6
- package/dist/{register.maintenance-C8mnYzQI.js → register.maintenance-1DJWvPtU.js} +7 -7
- package/dist/{register.maintenance-vHMnvjEN.js → register.maintenance-B1WQruYX.js} +8 -8
- package/dist/{register.message-DeNx0h-f.js → register.message-3EYI3N-1.js} +2 -2
- package/dist/{register.message-DOHAuJSs.js → register.message-CU28D2Ri.js} +2 -2
- package/dist/{register.onboard-WQF-exFw.js → register.onboard-C6fATUif.js} +2 -2
- package/dist/{register.onboard-DMXWXNR1.js → register.onboard-DZJzI6-h.js} +2 -2
- package/dist/{register.setup-iKk8377P.js → register.setup-CReApJK3.js} +2 -2
- package/dist/{register.setup-B9Ki8_fQ.js → register.setup-CVG8XGvh.js} +2 -2
- package/dist/{register.status-health-sessions-DviN5UcG.js → register.status-health-sessions-Ba5wUf3d.js} +3 -3
- package/dist/{register.status-health-sessions-GscM_SGO.js → register.status-health-sessions-_uazhSJJ.js} +3 -3
- package/dist/{register.subclis-DpMkqoiX.js → register.subclis-lSWlILRv.js} +9 -9
- package/dist/{reply-BiDEjvyM.js → reply-CdjLMJxg.js} +3 -4
- package/dist/{run-main-fxMzsY6R.js → run-main-CliBS3ma.js} +14 -14
- package/dist/{server-node-events-CLxnnORp.js → server-node-events-CWOtZQtU.js} +2 -2
- package/dist/{server-node-events-Wo3apzBP.js → server-node-events-Ck5gdHlC.js} +2 -2
- package/dist/{session-dirs-DZUvDZ8g.js → session-dirs-Dey11BPY.js} +1 -1
- package/dist/{session-dirs-QNBHiexC.js → session-dirs-pWarHWoh.js} +1 -1
- package/dist/{status-DDUX0-s-.js → status-BMsXi6N4.js} +2 -2
- package/dist/{status-DkxWVYGj.js → status-Do-wJmmw.js} +2 -2
- package/dist/{subagent-registry-BYlWf6cX.js → subagent-registry-BCf5fWt9.js} +3 -4
- package/dist/{update-cli-DKDc89Yx.js → update-cli-BEksDHNl.js} +7 -7
- package/dist/{update-cli-di9BsMwg.js → update-cli-EvMNMOBr.js} +8 -8
- package/dist/{web-DB7ow8Zp.js → web-B-_u70AN.js} +1 -1
- package/dist/{web-DzkbsOlP.js → web-BMwGycon.js} +2 -2
- package/dist/{web-PvXR18_u.js → web-CIrzvUVJ.js} +1 -1
- package/dist/{web-DCpwkF7M.js → web-DUH_Nvg5.js} +1 -1
- package/package.json +1 -1
|
@@ -5,19 +5,19 @@ import { t as formatCliCommand } from "./command-format-_PO7rvrJ.js";
|
|
|
5
5
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DmcFQksq.js";
|
|
6
6
|
import { _ as DEFAULT_IDENTITY_FILENAME, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-Vp6cG_dU.js";
|
|
7
7
|
import { l as writeConfigFile } from "./config-T-YRaqlE.js";
|
|
8
|
-
import { N as parseIdentityMarkdown, j as identityHasValues } from "./subagent-registry-
|
|
8
|
+
import { N as parseIdentityMarkdown, j as identityHasValues } from "./subagent-registry-BCf5fWt9.js";
|
|
9
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-mjKPZoHW.js";
|
|
10
10
|
import { c as resolveSessionTranscriptsDirForAgent } from "./paths-CXIOqFsA.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-DbKs-NAe.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-DbBg4o39.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-WNNLlfYu.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CVfs7hut.js";
|
|
15
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
15
|
+
import { r as setupChannels } from "./onboard-channels-Ba9NDV44.js";
|
|
16
16
|
import { t as requireValidConfigSnapshot } from "./config-validation-C0d71T5-.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-C14C5L14.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-B5bG5-6Z.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-Co3F_msW.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-CJHNRzZT.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Qt as loadAgentIdentityFromWorkspace, Zt as identityHasValues } from "./reply-
|
|
1
|
+
import { Qt as loadAgentIdentityFromWorkspace, Zt as identityHasValues } from "./reply-CdjLMJxg.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-D7AdMgCp.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-CJ4YDowp.js";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-DmcFQksq.js";
|
|
2
2
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-Vp6cG_dU.js";
|
|
3
|
-
import { M as loadAgentIdentityFromWorkspace, j as identityHasValues } from "./subagent-registry-
|
|
3
|
+
import { M as loadAgentIdentityFromWorkspace, j as identityHasValues } from "./subagent-registry-BCf5fWt9.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-Dw64TluO.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-DbKs-NAe.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-DoMvL_ck.js";
|
|
8
8
|
import { $ as setCloudflareAiGatewayConfig, A as applyVeniceConfig, B as applyCloudflareAiGatewayConfig, C as applyOpenrouterProviderConfig, D as applySyntheticProviderConfig, E as applySyntheticConfig, F as applyXiaomiProviderConfig, G as HUGGINGFACE_DEFAULT_MODEL_REF, H as applyVercelAiGatewayConfig, I as applyZaiConfig, J as TOGETHER_DEFAULT_MODEL_REF, K as LITELLM_DEFAULT_MODEL_REF, L as applyZaiProviderConfig, M as applyXaiConfig, N as applyXaiProviderConfig, O as applyTogetherConfig, P as applyXiaomiConfig, Q as setAnthropicApiKey, R as applyLitellmConfig, S as applyOpenrouterConfig, St as XAI_DEFAULT_MODEL_REF, T as applyQianfanProviderConfig, U as applyVercelAiGatewayProviderConfig, V as applyCloudflareAiGatewayProviderConfig, W as applyAgentDefaultModelPrimary, X as XIAOMI_DEFAULT_MODEL_REF, Y as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, Z as ZAI_DEFAULT_MODEL_REF, _ as applyMistralProviderConfig, _t as writeOAuthCredentials, a as applyMinimaxApiConfig, at as setMistralApiKey, b as applyMoonshotProviderConfig, bt as MOONSHOT_DEFAULT_MODEL_REF, c as applyMinimaxApiProviderConfigCn, ct as setOpenrouterApiKey, d as applyAuthProfileConfig, dt as setTogetherApiKey, et as setGeminiApiKey, ft as setVeniceApiKey, g as applyMistralConfig, gt as setZaiApiKey, h as applyKimiCodeProviderConfig, ht as setXiaomiApiKey, i as applyOpencodeZenProviderConfig, it as setMinimaxApiKey, j as applyVeniceProviderConfig, k as applyTogetherProviderConfig, l as applyMinimaxConfig, lt as setQianfanApiKey, m as applyKimiCodeConfig, mt as setXaiApiKey, n as validateAnthropicSetupToken, nt as setKimiCodingApiKey, o as applyMinimaxApiConfigCn, ot as setMoonshotApiKey, p as applyHuggingfaceProviderConfig, pt as setVercelAiGatewayApiKey, q as OPENROUTER_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setLitellmApiKey, s as applyMinimaxApiProviderConfig, st as setOpencodeZenApiKey, t as buildTokenProfileId, tt as setHuggingfaceApiKey, u as applyMinimaxProviderConfig, ut as setSyntheticApiKey, v as applyMoonshotConfig, vt as KIMI_CODING_MODEL_REF, w as applyQianfanConfig, x as applyMoonshotProviderConfigCn, xt as QIANFAN_DEFAULT_MODEL_REF, y as applyMoonshotConfigCn, yt as MISTRAL_DEFAULT_MODEL_REF, z as applyLitellmProviderConfig } from "./auth-token-DcV_42yI.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-BYiHuqA9.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-lCoTqLib.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-Db4VTcgn.js";
|
|
12
12
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-DZ-gnGw0.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-D_b_dmpO.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-8JMVmNMv.js";
|
|
8
8
|
import { $ as setCloudflareAiGatewayConfig, A as applyVeniceConfig, B as applyCloudflareAiGatewayConfig, C as applyOpenrouterProviderConfig, D as applySyntheticProviderConfig, E as applySyntheticConfig, F as applyXiaomiProviderConfig, G as HUGGINGFACE_DEFAULT_MODEL_REF, H as applyVercelAiGatewayConfig, I as applyZaiConfig, J as TOGETHER_DEFAULT_MODEL_REF, K as LITELLM_DEFAULT_MODEL_REF, L as applyZaiProviderConfig, M as applyXaiConfig, N as applyXaiProviderConfig, O as applyTogetherConfig, P as applyXiaomiConfig, Q as setAnthropicApiKey, R as applyLitellmConfig, S as applyOpenrouterConfig, St as XAI_DEFAULT_MODEL_REF, T as applyQianfanProviderConfig, U as applyVercelAiGatewayProviderConfig, V as applyCloudflareAiGatewayProviderConfig, W as applyAgentDefaultModelPrimary, X as XIAOMI_DEFAULT_MODEL_REF, Y as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, Z as ZAI_DEFAULT_MODEL_REF, _ as applyMistralProviderConfig, _t as writeOAuthCredentials, a as applyMinimaxApiConfig, at as setMistralApiKey, b as applyMoonshotProviderConfig, bt as MOONSHOT_DEFAULT_MODEL_REF, c as applyMinimaxApiProviderConfigCn, ct as setOpenrouterApiKey, d as applyAuthProfileConfig, dt as setTogetherApiKey, et as setGeminiApiKey, ft as setVeniceApiKey, g as applyMistralConfig, gt as setZaiApiKey, h as applyKimiCodeProviderConfig, ht as setXiaomiApiKey, i as applyOpencodeZenProviderConfig, it as setMinimaxApiKey, j as applyVeniceProviderConfig, k as applyTogetherProviderConfig, l as applyMinimaxConfig, lt as setQianfanApiKey, m as applyKimiCodeConfig, mt as setXaiApiKey, n as validateAnthropicSetupToken, nt as setKimiCodingApiKey, o as applyMinimaxApiConfigCn, ot as setMoonshotApiKey, p as applyHuggingfaceProviderConfig, pt as setVercelAiGatewayApiKey, q as OPENROUTER_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setLitellmApiKey, s as applyMinimaxApiProviderConfig, st as setOpencodeZenApiKey, t as buildTokenProfileId, tt as setHuggingfaceApiKey, u as applyMinimaxProviderConfig, ut as setSyntheticApiKey, v as applyMoonshotConfig, vt as KIMI_CODING_MODEL_REF, w as applyQianfanConfig, x as applyMoonshotProviderConfigCn, xt as QIANFAN_DEFAULT_MODEL_REF, y as applyMoonshotConfigCn, yt as MISTRAL_DEFAULT_MODEL_REF, z as applyLitellmProviderConfig } from "./auth-token-B63lZ8v0.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-B5w3w35l.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-B6ncH2kY.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-JjEKvOIt.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dt as theme, Et as isRich, fn as hasRootVersionAlias, g as visibleWidth } from "./entry.js";
|
|
2
|
-
import { un as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { un as resolveCommitHash } from "./subagent-registry-BCf5fWt9.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
|
@@ -4,7 +4,7 @@ import { l as resolveAgentIdFromSessionKey } from "../../session-key-CsUx6Yfs.js
|
|
|
4
4
|
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-scope-DGv_lb5V.js";
|
|
5
5
|
import "../../workspace-DSaPuILJ.js";
|
|
6
6
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-D_6bHP0d.js";
|
|
7
|
-
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-
|
|
7
|
+
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-CZp-Kzhd.js";
|
|
8
8
|
import "../../plugins-DRxcIsdW.js";
|
|
9
9
|
import "../../accounts-BdsaOk1K.js";
|
|
10
10
|
import "../../boolean-mcn6kL0s.js";
|
|
@@ -4,7 +4,7 @@ import { l as resolveAgentIdFromSessionKey } from "../../session-key-CsUx6Yfs.js
|
|
|
4
4
|
import { s as resolveAgentWorkspaceDir } from "../../agent-scope-DGv_lb5V.js";
|
|
5
5
|
import "../../workspace-DSaPuILJ.js";
|
|
6
6
|
import "../../tokens-D_6bHP0d.js";
|
|
7
|
-
import "../../pi-embedded-
|
|
7
|
+
import "../../pi-embedded-CZp-Kzhd.js";
|
|
8
8
|
import "../../plugins-DRxcIsdW.js";
|
|
9
9
|
import "../../accounts-BdsaOk1K.js";
|
|
10
10
|
import "../../boolean-mcn6kL0s.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c9f892f5524e5a6f8fb9c8776416c415fbb58bcb6f1e6854e46dc45a8b6f9e67
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isTruthyEnvValue, w as CHAT_CHANNEL_ORDER } from "./entry.js";
|
|
2
2
|
import { n as listChannelPlugins } from "./plugins-mjKPZoHW.js";
|
|
3
3
|
import { r as listChannelPluginCatalogEntries } from "./catalog-Csdt88Yh.js";
|
|
4
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
4
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-jYcutNcc.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/channel-options.ts
|
|
7
7
|
function dedupe(values) {
|
|
@@ -2,7 +2,7 @@ import { v as CHAT_CHANNEL_ORDER } from "./subsystem-CYc2uK4P.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-Bi5nSj2_.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-D_vAsEMg.js";
|
|
4
4
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BPM1O4lX.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-DFjFNEmq.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-DCtXtPui.js";
|
|
2
|
-
import { An as normalizeMentionText, At as sleepWithAbort, Cn as resolveEnvelopeFormatOptions, Cr as enqueueSystemEvent, En as shouldComputeCommandAuthorized, Sn as formatInboundEnvelope, Tn as hasControlCommand, an as buildPairingReply, bn as createInboundDebouncer, bt as parseActivationCommand, cn as buildHistoryContextFromEntries, dn as resolveOpenProviderRuntimeGroupPolicy, fn as warnMissingProviderGroupPolicyFallbackOnce, kn as buildMentionRegexes, kt as computeBackoff, ln as recordPendingHistoryEntryIfEnabled, mn as dispatchReplyWithBufferedBlockDispatcher, on as resolveMentionGating, pn as shouldAckReactionForWhatsApp, sn as DEFAULT_GROUP_HISTORY_LIMIT, t as getReplyFromConfig, un as resolveDefaultGroupPolicy, xn as resolveInboundDebounceMs, yn as createDedupeCache, yt as normalizeGroupActivation } from "./reply-
|
|
2
|
+
import { An as normalizeMentionText, At as sleepWithAbort, Cn as resolveEnvelopeFormatOptions, Cr as enqueueSystemEvent, En as shouldComputeCommandAuthorized, Sn as formatInboundEnvelope, Tn as hasControlCommand, an as buildPairingReply, bn as createInboundDebouncer, bt as parseActivationCommand, cn as buildHistoryContextFromEntries, dn as resolveOpenProviderRuntimeGroupPolicy, fn as warnMissingProviderGroupPolicyFallbackOnce, kn as buildMentionRegexes, kt as computeBackoff, ln as recordPendingHistoryEntryIfEnabled, mn as dispatchReplyWithBufferedBlockDispatcher, on as resolveMentionGating, pn as shouldAckReactionForWhatsApp, sn as DEFAULT_GROUP_HISTORY_LIMIT, t as getReplyFromConfig, un as resolveDefaultGroupPolicy, xn as resolveInboundDebounceMs, yn as createDedupeCache, yt as normalizeGroupActivation } from "./reply-CdjLMJxg.js";
|
|
3
3
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CYc2uK4P.js";
|
|
4
4
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-D7AdMgCp.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-ChfKqObn.js";
|
|
@@ -21,7 +21,7 @@ import "./pairing-token-CNOCqkS5.js";
|
|
|
21
21
|
import "./net-BeVBFfmJ.js";
|
|
22
22
|
import "./ip-CgUPLMdA.js";
|
|
23
23
|
import "./tailnet-01ygwTnc.js";
|
|
24
|
-
import { _ as deleteTelegramUpdateOffset, in as formatUsageReportLines, rn as loadProviderUsageSummary } from "./subagent-registry-
|
|
24
|
+
import { _ as deleteTelegramUpdateOffset, in as formatUsageReportLines, rn as loadProviderUsageSummary } from "./subagent-registry-BCf5fWt9.js";
|
|
25
25
|
import "./sessions-CNNf0H7T.js";
|
|
26
26
|
import "./tokens-CEQAF_FI.js";
|
|
27
27
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, u as resolveTelegramAccount } from "./plugins-mjKPZoHW.js";
|
|
@@ -119,13 +119,13 @@ import "./install-safe-path-Ba_l6HgK.js";
|
|
|
119
119
|
import "./npm-registry-spec-CktJH0Kc.js";
|
|
120
120
|
import "./skill-scanner-BexBfR1i.js";
|
|
121
121
|
import "./installs-Bumr_o2H.js";
|
|
122
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
122
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-Ba9NDV44.js";
|
|
123
123
|
import { t as requireValidConfigSnapshot } from "./config-validation-C0d71T5-.js";
|
|
124
124
|
import { t as buildChannelAccountSnapshot } from "./status-BVTsuvCS.js";
|
|
125
125
|
import { t as parseLogLine } from "./parse-log-line-BqNWR10F.js";
|
|
126
126
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-3x6ZUz93.js";
|
|
127
|
-
import "./plugin-registry-
|
|
128
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
127
|
+
import "./plugin-registry-jYcutNcc.js";
|
|
128
|
+
import { t as formatCliChannelOptions } from "./channel-options-B5GRdeOp.js";
|
|
129
129
|
import fs from "node:fs/promises";
|
|
130
130
|
|
|
131
131
|
//#region src/commands/channels/add-mutators.ts
|
|
@@ -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-DCtXtPui.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { St as formatUsageReportLines, vt as deleteTelegramUpdateOffset, xt as loadProviderUsageSummary } from "./reply-
|
|
4
|
+
import { St as formatUsageReportLines, vt as deleteTelegramUpdateOffset, xt as loadProviderUsageSummary } from "./reply-CdjLMJxg.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CYc2uK4P.js";
|
|
6
6
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-D7AdMgCp.js";
|
|
7
7
|
import "./exec-QOib7mc9.js";
|
|
@@ -112,8 +112,8 @@ import "./control-service-DbPEGVYQ.js";
|
|
|
112
112
|
import "./stagger-CA349KVs.js";
|
|
113
113
|
import "./pi-tools.policy-Bpdln15O.js";
|
|
114
114
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BPM1O4lX.js";
|
|
115
|
-
import "./plugin-registry-
|
|
116
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
115
|
+
import "./plugin-registry-DFjFNEmq.js";
|
|
116
|
+
import { t as formatCliChannelOptions } from "./channel-options-B_Ut50Fo.js";
|
|
117
117
|
import { t as hasExplicitOptions } from "./command-options-CqFPOBqQ.js";
|
|
118
118
|
import "./note-D0hhOlsB.js";
|
|
119
119
|
import { t as createClackPrompter } from "./clack-prompter-BW4jch76.js";
|
|
@@ -124,7 +124,7 @@ import "./install-safe-path-B3JfE8pS.js";
|
|
|
124
124
|
import "./npm-registry-spec-D8z_rnQk.js";
|
|
125
125
|
import "./skill-scanner-BHhUFXAR.js";
|
|
126
126
|
import "./installs-B84KQEfW.js";
|
|
127
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
127
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-CkuhKFCM.js";
|
|
128
128
|
import { t as requireValidConfigSnapshot } from "./config-validation-iyy6HgvL.js";
|
|
129
129
|
import { t as buildChannelAccountSnapshot } from "./status-BIGnLqNr.js";
|
|
130
130
|
import { t as parseLogLine } from "./parse-log-line-CdPly8f9.js";
|
|
@@ -19,7 +19,7 @@ import "./pairing-token-CNOCqkS5.js";
|
|
|
19
19
|
import "./net-BeVBFfmJ.js";
|
|
20
20
|
import "./ip-CgUPLMdA.js";
|
|
21
21
|
import "./tailnet-01ygwTnc.js";
|
|
22
|
-
import { g as loadOpenClawPlugins } from "./subagent-registry-
|
|
22
|
+
import { g as loadOpenClawPlugins } from "./subagent-registry-BCf5fWt9.js";
|
|
23
23
|
import "./sessions-CNNf0H7T.js";
|
|
24
24
|
import "./tokens-CEQAF_FI.js";
|
|
25
25
|
import "./plugins-mjKPZoHW.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-B4BZAPZh.js";
|
|
2
2
|
import "./utils-DCtXtPui.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { _t as loadOpenClawPlugins } from "./reply-
|
|
4
|
+
import { _t as loadOpenClawPlugins } from "./reply-CdjLMJxg.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-CYc2uK4P.js";
|
|
6
6
|
import "./exec-QOib7mc9.js";
|
|
7
7
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CJ4YDowp.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { cn as getPrimaryCommand, dn as hasHelpOrVersion } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-lSWlILRv.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-CReApJK3.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-C6fATUif.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-XbEm3zBp.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-CpEruJQt.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-B1WQruYX.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-CU28D2Ri.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-EzW55Oy9.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-Ba5wUf3d.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -3,7 +3,7 @@ import { g as resolveStateDir } from "./paths-B4BZAPZh.js";
|
|
|
3
3
|
import { B as theme, h as pathExists } from "./utils-DCtXtPui.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-CYc2uK4P.js";
|
|
5
5
|
import { t as formatDocsLink } from "./links-Xz2s6XZA.js";
|
|
6
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
6
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-DSzCv-t_.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Dt as theme, Qt as resolveStateDir, nt as pathExists, u as routeLogsToStderr } from "./entry.js";
|
|
3
3
|
import { t as formatDocsLink } from "./links-CeoK7yOD.js";
|
|
4
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
5
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
4
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-lSWlILRv.js";
|
|
5
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-DqN8qysD.js";
|
|
6
6
|
import { t as getProgramContext } from "./program-context-Jplgkt2G.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
@@ -204,7 +204,7 @@ async function runConfigUnset(opts) {
|
|
|
204
204
|
}
|
|
205
205
|
function registerConfigCli(program) {
|
|
206
206
|
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) => {
|
|
207
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
207
|
+
const { configureCommandFromSectionsArg } = await import("./configure-BAY5UILH.js").then((n) => n.t);
|
|
208
208
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
209
209
|
});
|
|
210
210
|
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) => {
|
|
@@ -208,7 +208,7 @@ async function runConfigUnset(opts) {
|
|
|
208
208
|
}
|
|
209
209
|
function registerConfigCli(program) {
|
|
210
210
|
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) => {
|
|
211
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
211
|
+
const { configureCommandFromSectionsArg } = await import("./configure-B3NEZpCA.js").then((n) => n.t);
|
|
212
212
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
213
213
|
});
|
|
214
214
|
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,15 +13,15 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
13
13
|
import { t as note$1 } from "./note-D0hhOlsB.js";
|
|
14
14
|
import { t as WizardCancelledError } from "./prompts-BkPGYLNt.js";
|
|
15
15
|
import { t as createClackPrompter } from "./clack-prompter-BW4jch76.js";
|
|
16
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-CkuhKFCM.js";
|
|
17
17
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-Cb2eHS7F.js";
|
|
18
18
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DGAMIyu9.js";
|
|
19
19
|
import { t as resolveGatewayService } from "./service-CjBBwTaL.js";
|
|
20
|
-
import { r as healthCommand } from "./health-
|
|
20
|
+
import { r as healthCommand } from "./health-5LtHJG-Z.js";
|
|
21
21
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Bn6HfMc-.js";
|
|
22
22
|
import { n as logConfigUpdated } from "./logging-CZ-_2LkS.js";
|
|
23
23
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-WIsuKxmI.js";
|
|
24
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
24
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-mxItC_dD.js";
|
|
25
25
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-JjEKvOIt.js";
|
|
26
26
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CER1evvR.js";
|
|
27
27
|
import { a as promptCustomApiConfig } from "./onboard-custom-BKc0LYQ-.js";
|
|
@@ -11,15 +11,15 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
11
11
|
import { t as note$1 } from "./note-Di2CVd8s.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-DbBg4o39.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-WNNLlfYu.js";
|
|
14
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
14
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-Ba9NDV44.js";
|
|
15
15
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CyDHyjB9.js";
|
|
16
16
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-3JIB5wIv.js";
|
|
17
17
|
import { t as resolveGatewayService } from "./service-BnwVcejb.js";
|
|
18
|
-
import { r as healthCommand } from "./health-
|
|
18
|
+
import { r as healthCommand } from "./health-DAdRLxND.js";
|
|
19
19
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CYTuwBaP.js";
|
|
20
20
|
import { n as logConfigUpdated } from "./logging-B5bG5-6Z.js";
|
|
21
21
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-Co3F_msW.js";
|
|
22
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
22
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-CJHNRzZT.js";
|
|
23
23
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-Db4VTcgn.js";
|
|
24
24
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-Qr-P2ZWq.js";
|
|
25
25
|
import { a as promptCustomApiConfig } from "./onboard-custom-DVQhPnLo.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-_PO7rvrJ.js";
|
|
2
2
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-CpnCVZWO.js";
|
|
3
3
|
import { t as note } from "./note-Di2CVd8s.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-CsFfrh5F.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-ColUA4L7.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-ChfKqObn.js";
|
|
3
3
|
import { t as note } from "./note-D0hhOlsB.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-C_f_XIqS.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -2606,7 +2606,7 @@ if (!isMainModule({
|
|
|
2606
2606
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2607
2607
|
process$1.argv = parsed.argv;
|
|
2608
2608
|
}
|
|
2609
|
-
import("./run-main-
|
|
2609
|
+
import("./run-main-CliBS3ma.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2610
2610
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2611
2611
|
process$1.exitCode = 1;
|
|
2612
2612
|
});
|
package/dist/extensionAPI.js
CHANGED
|
@@ -6,7 +6,7 @@ import { a as resolveAgentIdentity } from "./reply-prefix-Bd-zqhaC.js";
|
|
|
6
6
|
import "./github-copilot-token-Bpxb7S7I.js";
|
|
7
7
|
import "./env-CtORg1Fr.js";
|
|
8
8
|
import "./tokens-DoxQvhOW.js";
|
|
9
|
-
import { A as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
9
|
+
import { A as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-Vt2x_Jl3.js";
|
|
10
10
|
import "./plugins-CMqWDObz.js";
|
|
11
11
|
import "./accounts-ETt7H2v2.js";
|
|
12
12
|
import "./bindings-Cs1_iD7i.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as expandHomePrefix, g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as resolveConfigPath, r as STATE_DIR, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-B4BZAPZh.js";
|
|
2
2
|
import { B as theme, D as isPlainObject, E as truncateUtf16Safe, H as getLogger, P as setVerbose, R as colorize, S as shortenHomePath, U as getResolvedLoggerSettings, V as getChildLogger, c as ensureDir, r as clamp, t as CONFIG_DIR, y as resolveUserPath, z as isRich } from "./utils-DCtXtPui.js";
|
|
3
3
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-EAliFiVK.js";
|
|
4
|
-
import { $ as normalizeOptionalAgentId, $n as textToSpeech, A as resolveOutboundSessionRoute, Ar as DEFAULT_INPUT_TIMEOUT_MS, At as sleepWithAbort, B as setGatewaySigusr1RestartPolicy, Bn as onAgentEvent, Bt as normalizeSendPolicy, C as loadSessionEntry, Cr as enqueueSystemEvent, D as openVerifiedFileSync, Dn as isAbortTrigger, Dr as DEFAULT_INPUT_IMAGE_MAX_BYTES, Dt as readJsonBodyWithLimit, E as resolveSessionModelRef, Et as handleSlackHttpRequest, F as deferGatewayRestartUntilIdle, Fn as runSubagentAnnounceFlow, Gn as isTtsProviderConfigured, Gt as getCliSessionId, H as consumeRestartSentinel, Hn as resolveUserTimezone, Ht as createDefaultDeps, I as emitGatewayRestart, In as readLatestAssistantReply, Ir as resolveAgentTimeoutMs, J as writeRestartSentinel, Jn as resolveTtsConfig, K as summarizeRestartSentinel, Kn as resolveTtsApiKey, Kt as setCliSessionId, L as isGatewaySigusr1RestartExternallyAllowed, Ln as clearAgentRunContext, Lt as resolveOutboundTarget, M as resetDirectoryCache, Mn as initSubagentRegistry, Mr as extractImageContentFromSource, Nn as listDescendantRunsForRequester, Nr as normalizeMimeList, Nt as resolveAgentDeliveryPlan, On as stopSubagentsForRequester, Or as DEFAULT_INPUT_IMAGE_MIMES, Ot as requestBodyErrorToText, P as consumeGatewaySigusr1RestartAuthorization, Pr as resolveInputFileLimits, Pt as resolveAgentOutboundTarget, Q as inferLegacyName, Qn as setTtsProvider, R as markGatewaySigusr1RestartHandled, Rn as emitAgentEvent, Rt as resolveSessionDeliveryTarget, S as loadCombinedSessionStoreForGateway, Sr as parseVerboseOverride, T as resolveGatewaySessionStoreTarget, U as formatDoctorNonInteractiveHint, Un as getTtsProvider, Ut as createOutboundSendDeps$1, V as setPreRestartDeferralCheck, Vn as registerAgentRunContext, Vt as resolveSendPolicy, W as formatRestartSentinelMessage, Wn as isTtsEnabled, Wt as runWithModelFallback, X as normalizeCronJobCreate, Xn as resolveTtsProviderOrder, Xt as resolveAgentAvatar, Y as normalizeHttpWebhookUrl, Yn as resolveTtsPrefsPath, Z as normalizeCronJobPatch, Zn as setTtsEnabled, _ as resolveAnnounceTargetFromKey, _n as createReplyDispatcher, _t as loadOpenClawPlugins, ar as resetAllLanes, at as buildDeliveryFromLegacyPayload, b as listAgentsForGateway, br as applyModelOverrideToSessionEntry, c as clearSessionQueues, cn as buildHistoryContextFromEntries, cr as CommandLane, d as getActiveEmbeddedRunCount, dt as persistBrowserProxyFiles, en as buildSafeExternalPrompt, er as OPENAI_TTS_MODELS, et as normalizeOptionalSessionKey, f as waitForEmbeddedPiRunEnd, ft as requestHeartbeatNow, g as createOpenClawTools, gn as dispatchInboundMessage, hr as resolveSessionAuthProfileOverride, ht as getPluginToolMeta, i as resolveCronStyleNow, in as unbindThreadBindingsBySessionKey, ir as getTotalQueueSize, it as migrateLegacyCronPayload, jn as countActiveDescendantRuns, jr as extractFileContentFromSource, jt as agentCommand, k as ensureOutboundSessionEntry, kr as DEFAULT_INPUT_MAX_REDIRECTS, kt as computeBackoff, l as runEmbeddedPiAgent, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, m as buildDefaultToolPolicyPipelineSteps, mr as lookupContextTokens, n as BARE_SESSION_RESET_PROMPT, nn as getHookType, nr as getActiveTaskCount, nt as normalizePayloadToSystemText, or as setCommandLaneConcurrency, ot as hasLegacyDeliveryHints, p as applyToolPolicyPipeline, pr as stripHeartbeatToken, qn as resolveTtsAutoMode, qt as runCliAgent, rn as isExternalHookSession, rt as normalizeRequiredName, sr as waitForActiveTasks, st as stripLegacyDeliveryFields, tn as detectSuspiciousPatterns, tr as OPENAI_TTS_VOICES, tt as normalizeOptionalText, u as abortEmbeddedPiRun, ut as applyBrowserProxyPaths, v as canonicalizeSpawnedByForAgent, vn as getTotalPendingReplies, w as pruneLegacyStoreKeys, wn as formatZonedTimestamp, wr as isSystemEventContextChanged, x as listSessionsFromStore, xr as applyVerboseOverride, xt as loadProviderUsageSummary, yt as normalizeGroupActivation, z as scheduleGatewaySigusr1Restart, zn as getAgentRunContext, zt as createOutboundSendDeps } from "./reply-
|
|
4
|
+
import { $ as normalizeOptionalAgentId, $n as textToSpeech, A as resolveOutboundSessionRoute, Ar as DEFAULT_INPUT_TIMEOUT_MS, At as sleepWithAbort, B as setGatewaySigusr1RestartPolicy, Bn as onAgentEvent, Bt as normalizeSendPolicy, C as loadSessionEntry, Cr as enqueueSystemEvent, D as openVerifiedFileSync, Dn as isAbortTrigger, Dr as DEFAULT_INPUT_IMAGE_MAX_BYTES, Dt as readJsonBodyWithLimit, E as resolveSessionModelRef, Et as handleSlackHttpRequest, F as deferGatewayRestartUntilIdle, Fn as runSubagentAnnounceFlow, Gn as isTtsProviderConfigured, Gt as getCliSessionId, H as consumeRestartSentinel, Hn as resolveUserTimezone, Ht as createDefaultDeps, I as emitGatewayRestart, In as readLatestAssistantReply, Ir as resolveAgentTimeoutMs, J as writeRestartSentinel, Jn as resolveTtsConfig, K as summarizeRestartSentinel, Kn as resolveTtsApiKey, Kt as setCliSessionId, L as isGatewaySigusr1RestartExternallyAllowed, Ln as clearAgentRunContext, Lt as resolveOutboundTarget, M as resetDirectoryCache, Mn as initSubagentRegistry, Mr as extractImageContentFromSource, Nn as listDescendantRunsForRequester, Nr as normalizeMimeList, Nt as resolveAgentDeliveryPlan, On as stopSubagentsForRequester, Or as DEFAULT_INPUT_IMAGE_MIMES, Ot as requestBodyErrorToText, P as consumeGatewaySigusr1RestartAuthorization, Pr as resolveInputFileLimits, Pt as resolveAgentOutboundTarget, Q as inferLegacyName, Qn as setTtsProvider, R as markGatewaySigusr1RestartHandled, Rn as emitAgentEvent, Rt as resolveSessionDeliveryTarget, S as loadCombinedSessionStoreForGateway, Sr as parseVerboseOverride, T as resolveGatewaySessionStoreTarget, U as formatDoctorNonInteractiveHint, Un as getTtsProvider, Ut as createOutboundSendDeps$1, V as setPreRestartDeferralCheck, Vn as registerAgentRunContext, Vt as resolveSendPolicy, W as formatRestartSentinelMessage, Wn as isTtsEnabled, Wt as runWithModelFallback, X as normalizeCronJobCreate, Xn as resolveTtsProviderOrder, Xt as resolveAgentAvatar, Y as normalizeHttpWebhookUrl, Yn as resolveTtsPrefsPath, Z as normalizeCronJobPatch, Zn as setTtsEnabled, _ as resolveAnnounceTargetFromKey, _n as createReplyDispatcher, _t as loadOpenClawPlugins, ar as resetAllLanes, at as buildDeliveryFromLegacyPayload, b as listAgentsForGateway, br as applyModelOverrideToSessionEntry, c as clearSessionQueues, cn as buildHistoryContextFromEntries, cr as CommandLane, d as getActiveEmbeddedRunCount, dt as persistBrowserProxyFiles, en as buildSafeExternalPrompt, er as OPENAI_TTS_MODELS, et as normalizeOptionalSessionKey, f as waitForEmbeddedPiRunEnd, ft as requestHeartbeatNow, g as createOpenClawTools, gn as dispatchInboundMessage, hr as resolveSessionAuthProfileOverride, ht as getPluginToolMeta, i as resolveCronStyleNow, in as unbindThreadBindingsBySessionKey, ir as getTotalQueueSize, it as migrateLegacyCronPayload, jn as countActiveDescendantRuns, jr as extractFileContentFromSource, jt as agentCommand, k as ensureOutboundSessionEntry, kr as DEFAULT_INPUT_MAX_REDIRECTS, kt as computeBackoff, l as runEmbeddedPiAgent, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, m as buildDefaultToolPolicyPipelineSteps, mr as lookupContextTokens, n as BARE_SESSION_RESET_PROMPT, nn as getHookType, nr as getActiveTaskCount, nt as normalizePayloadToSystemText, or as setCommandLaneConcurrency, ot as hasLegacyDeliveryHints, p as applyToolPolicyPipeline, pr as stripHeartbeatToken, qn as resolveTtsAutoMode, qt as runCliAgent, rn as isExternalHookSession, rt as normalizeRequiredName, sr as waitForActiveTasks, st as stripLegacyDeliveryFields, tn as detectSuspiciousPatterns, tr as OPENAI_TTS_VOICES, tt as normalizeOptionalText, u as abortEmbeddedPiRun, ut as applyBrowserProxyPaths, v as canonicalizeSpawnedByForAgent, vn as getTotalPendingReplies, w as pruneLegacyStoreKeys, wn as formatZonedTimestamp, wr as isSystemEventContextChanged, x as listSessionsFromStore, xr as applyVerboseOverride, xt as loadProviderUsageSummary, yt as normalizeGroupActivation, z as scheduleGatewaySigusr1Restart, zn as getAgentRunContext, zt as createOutboundSendDeps } from "./reply-CdjLMJxg.js";
|
|
5
5
|
import { B as triggerInternalHook, E as getActivePluginRegistry, L as clearInternalHooks, R as createInternalHookEvent, _ as CHANNEL_IDS, a as setConsoleSubsystemFilter, f as defaultRuntime, k as createEmptyPluginRegistry, n as runtimeForLogger, o as setConsoleTimestampPrefix, t as createSubsystemLogger, z as registerInternalHook } from "./subsystem-CYc2uK4P.js";
|
|
6
6
|
import { C as parseAgentSessionKey, S as isSubagentSessionKey, b as isCronRunSessionKey, c as normalizeMainKey, f as toAgentRequestSessionKey, h as normalizeAccountId, l as resolveAgentIdFromSessionKey, m as DEFAULT_ACCOUNT_ID, o as classifySessionKeyShape, p as toAgentStoreSessionKey, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-D7AdMgCp.js";
|
|
7
7
|
import { r as matchesSkillFilter, t as resolveOpenClawPackageRoot } from "./openclaw-root-ColUA4L7.js";
|
|
@@ -146,20 +146,20 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
146
146
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-BoL6maYo.js";
|
|
147
147
|
import { c as resolveNodeCommandAllowlist, l as probeGateway, n as collectEnabledInsecureOrDangerousFlags, s as isNodeCommandAllowed } from "./audit-3Ykv08Yg.js";
|
|
148
148
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-CAhvS9_d.js";
|
|
149
|
-
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-
|
|
150
|
-
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
149
|
+
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-Do-wJmmw.js";
|
|
150
|
+
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-5LtHJG-Z.js";
|
|
151
151
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Bn6HfMc-.js";
|
|
152
152
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-D7QjKmHU.js";
|
|
153
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
154
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-
|
|
153
|
+
import { t as runOnboardingWizard } from "./onboarding-B9CIBPg8.js";
|
|
154
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-D9T__dvr.js";
|
|
155
155
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-B7LOjAaC.js";
|
|
156
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
156
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-B6OGp-GS.js";
|
|
157
157
|
import "./dm-policy-shared-BNYD3mks.js";
|
|
158
158
|
import "./node-service-yX111hqN.js";
|
|
159
159
|
import "./status.update-CL9YRj-c.js";
|
|
160
160
|
import { t as resolveSystemRunCommand } from "./system-run-command-CnRo2CaG.js";
|
|
161
161
|
import { t as installSkill } from "./skills-install-DJuYKib8.js";
|
|
162
|
-
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-
|
|
162
|
+
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-Dey11BPY.js";
|
|
163
163
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-7_K_qvbP.js";
|
|
164
164
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
165
165
|
import * as fsSync from "node:fs";
|
|
@@ -5738,7 +5738,7 @@ async function run(state, id, mode) {
|
|
|
5738
5738
|
action: "removed"
|
|
5739
5739
|
});
|
|
5740
5740
|
}
|
|
5741
|
-
|
|
5741
|
+
recomputeNextRunsForMaintenance(state);
|
|
5742
5742
|
await persist(state);
|
|
5743
5743
|
armTimer(state);
|
|
5744
5744
|
});
|
|
@@ -11771,7 +11771,7 @@ const nodeHandlers = {
|
|
|
11771
11771
|
const p = params;
|
|
11772
11772
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
11773
11773
|
await respondUnavailableOnThrow(respond, async () => {
|
|
11774
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
11774
|
+
const { handleNodeEvent } = await import("./server-node-events-Ck5gdHlC.js");
|
|
11775
11775
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
11776
11776
|
await handleNodeEvent({
|
|
11777
11777
|
deps: context.deps,
|
|
@@ -26,7 +26,7 @@ import { a as isTrustedProxyAddress, c as pickPrimaryLanIPv4, d as resolveGatewa
|
|
|
26
26
|
import "./ip-CgUPLMdA.js";
|
|
27
27
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-01ygwTnc.js";
|
|
28
28
|
import { i as normalizeInputProvenance } from "./input-provenance-Dp7sea2R.js";
|
|
29
|
-
import { $ as getCliSessionId, $n as resolveTtsApiKey, $t as setPreRestartDeferralCheck, A as resolveAgentAvatar, An as DEFAULT_INPUT_MAX_REDIRECTS, At as normalizeOptionalSessionKey, Bt as buildSafeExternalPrompt, C as agentCommand, Cn as parseVerboseOverride, Cr as getAgentRunContext, D as createOutboundSendDeps, Dt as normalizeCronJobPatch, E as resolveAgentOutboundTarget, Et as normalizeCronJobCreate, Fn as resolveInputFileLimits, Ft as buildDeliveryFromLegacyPayload, G as dispatchInboundMessage, Gn as isAbortTrigger, Gt as persistBrowserProxyFiles, Hn as formatZonedTimestamp, Ht as getHookType, It as hasLegacyDeliveryHints, Jt as emitGatewayRestart, K as createReplyDispatcher, Kn as stopSubagentsForRequester, Kt as consumeGatewaySigusr1RestartAuthorization, L as buildHistoryContextFromEntries, Ln as resolveAgentTimeoutMs, Lt as stripLegacyDeliveryFields, Mn as extractFileContentFromSource, Mt as normalizePayloadToSystemText, Nn as extractImageContentFromSource, Nt as normalizeRequiredName, O as createDefaultDeps, On as DEFAULT_INPUT_IMAGE_MAX_BYTES, Ot as inferLegacyName, Pn as normalizeMimeList, Pt as migrateLegacyCronPayload, Q as resolveCronStyleNow, Qn as isTtsProviderConfigured, Qt as setGatewaySigusr1RestartPolicy, S as sleepWithAbort, Sn as applyVerboseOverride, Sr as emitAgentEvent, St as summarizeRestartSentinel, T as resolveAgentDeliveryPlan, Tn as isSystemEventContextChanged, Tr as registerAgentRunContext, Tt as normalizeHttpWebhookUrl, Ut as isExternalHookSession, Vt as detectSuspiciousPatterns, Wt as applyBrowserProxyPaths, X as BARE_SESSION_RESET_PROMPT, Xn as getTtsProvider, Xt as markGatewaySigusr1RestartHandled, Yn as resolveUserTimezone, Yt as isGatewaySigusr1RestartExternallyAllowed, Zn as isTtsEnabled, Zt as scheduleGatewaySigusr1Restart, a as runSubagentAnnounceFlow, ar as setTtsProvider, at as resolveAnnounceTargetFromKey, b as requestBodyErrorToText, br as stripHeartbeatToken, bt as formatRestartSentinelMessage, c as abortEmbeddedPiRun, cr as OPENAI_TTS_VOICES, ct as resolveOutboundSessionRoute, d as applyToolPolicyPipeline, dn as requestHeartbeatNow, dr as getTotalQueueSize, dt as resolveOutboundTarget, en as unbindThreadBindingsBySessionKey, er as resolveTtsAutoMode, et as setCliSessionId, f as buildDefaultToolPolicyPipelineSteps, fr as resetAllLanes, ft as resolveSessionDeliveryTarget, g as loadOpenClawPlugins, gn as resolveSessionAuthProfileOverride, gr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, gt as runWithModelFallback, hn as resolveSendPolicy, hr as CommandLane, ir as setTtsEnabled, it as readLatestAssistantReply, jn as DEFAULT_INPUT_TIMEOUT_MS, jt as normalizeOptionalText, k as createOutboundSendDeps$1, kn as DEFAULT_INPUT_IMAGE_MIMES, kt as normalizeOptionalAgentId, l as getActiveEmbeddedRunCount, lr as getActiveTaskCount, m as getPluginToolMeta, mn as normalizeSendPolicy, mr as waitForActiveTasks, mt as resetDirectoryCache, n as initSubagentRegistry, nr as resolveTtsPrefsPath, o as clearSessionQueues, or as textToSpeech, pr as setCommandLaneConcurrency, q as getTotalPendingReplies, qt as deferGatewayRestartUntilIdle, r as listDescendantRunsForRequester, rn as loadProviderUsageSummary, rr as resolveTtsProviderOrder, rt as createOpenClawTools, s as runEmbeddedPiAgent, sr as OPENAI_TTS_MODELS, st as ensureOutboundSessionEntry, t as countActiveDescendantRuns, tn as normalizeGroupActivation, tr as resolveTtsConfig, tt as runCliAgent, u as waitForEmbeddedPiRunEnd, v as handleSlackHttpRequest, vt as consumeRestartSentinel, wn as enqueueSystemEvent, wr as onAgentEvent, wt as writeRestartSentinel, x as computeBackoff, xn as applyModelOverrideToSessionEntry, xr as clearAgentRunContext, y as readJsonBodyWithLimit, yt as formatDoctorNonInteractiveHint } from "./subagent-registry-
|
|
29
|
+
import { $ as getCliSessionId, $n as resolveTtsApiKey, $t as setPreRestartDeferralCheck, A as resolveAgentAvatar, An as DEFAULT_INPUT_MAX_REDIRECTS, At as normalizeOptionalSessionKey, Bt as buildSafeExternalPrompt, C as agentCommand, Cn as parseVerboseOverride, Cr as getAgentRunContext, D as createOutboundSendDeps, Dt as normalizeCronJobPatch, E as resolveAgentOutboundTarget, Et as normalizeCronJobCreate, Fn as resolveInputFileLimits, Ft as buildDeliveryFromLegacyPayload, G as dispatchInboundMessage, Gn as isAbortTrigger, Gt as persistBrowserProxyFiles, Hn as formatZonedTimestamp, Ht as getHookType, It as hasLegacyDeliveryHints, Jt as emitGatewayRestart, K as createReplyDispatcher, Kn as stopSubagentsForRequester, Kt as consumeGatewaySigusr1RestartAuthorization, L as buildHistoryContextFromEntries, Ln as resolveAgentTimeoutMs, Lt as stripLegacyDeliveryFields, Mn as extractFileContentFromSource, Mt as normalizePayloadToSystemText, Nn as extractImageContentFromSource, Nt as normalizeRequiredName, O as createDefaultDeps, On as DEFAULT_INPUT_IMAGE_MAX_BYTES, Ot as inferLegacyName, Pn as normalizeMimeList, Pt as migrateLegacyCronPayload, Q as resolveCronStyleNow, Qn as isTtsProviderConfigured, Qt as setGatewaySigusr1RestartPolicy, S as sleepWithAbort, Sn as applyVerboseOverride, Sr as emitAgentEvent, St as summarizeRestartSentinel, T as resolveAgentDeliveryPlan, Tn as isSystemEventContextChanged, Tr as registerAgentRunContext, Tt as normalizeHttpWebhookUrl, Ut as isExternalHookSession, Vt as detectSuspiciousPatterns, Wt as applyBrowserProxyPaths, X as BARE_SESSION_RESET_PROMPT, Xn as getTtsProvider, Xt as markGatewaySigusr1RestartHandled, Yn as resolveUserTimezone, Yt as isGatewaySigusr1RestartExternallyAllowed, Zn as isTtsEnabled, Zt as scheduleGatewaySigusr1Restart, a as runSubagentAnnounceFlow, ar as setTtsProvider, at as resolveAnnounceTargetFromKey, b as requestBodyErrorToText, br as stripHeartbeatToken, bt as formatRestartSentinelMessage, c as abortEmbeddedPiRun, cr as OPENAI_TTS_VOICES, ct as resolveOutboundSessionRoute, d as applyToolPolicyPipeline, dn as requestHeartbeatNow, dr as getTotalQueueSize, dt as resolveOutboundTarget, en as unbindThreadBindingsBySessionKey, er as resolveTtsAutoMode, et as setCliSessionId, f as buildDefaultToolPolicyPipelineSteps, fr as resetAllLanes, ft as resolveSessionDeliveryTarget, g as loadOpenClawPlugins, gn as resolveSessionAuthProfileOverride, gr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, gt as runWithModelFallback, hn as resolveSendPolicy, hr as CommandLane, ir as setTtsEnabled, it as readLatestAssistantReply, jn as DEFAULT_INPUT_TIMEOUT_MS, jt as normalizeOptionalText, k as createOutboundSendDeps$1, kn as DEFAULT_INPUT_IMAGE_MIMES, kt as normalizeOptionalAgentId, l as getActiveEmbeddedRunCount, lr as getActiveTaskCount, m as getPluginToolMeta, mn as normalizeSendPolicy, mr as waitForActiveTasks, mt as resetDirectoryCache, n as initSubagentRegistry, nr as resolveTtsPrefsPath, o as clearSessionQueues, or as textToSpeech, pr as setCommandLaneConcurrency, q as getTotalPendingReplies, qt as deferGatewayRestartUntilIdle, r as listDescendantRunsForRequester, rn as loadProviderUsageSummary, rr as resolveTtsProviderOrder, rt as createOpenClawTools, s as runEmbeddedPiAgent, sr as OPENAI_TTS_MODELS, st as ensureOutboundSessionEntry, t as countActiveDescendantRuns, tn as normalizeGroupActivation, tr as resolveTtsConfig, tt as runCliAgent, u as waitForEmbeddedPiRunEnd, v as handleSlackHttpRequest, vt as consumeRestartSentinel, wn as enqueueSystemEvent, wr as onAgentEvent, wt as writeRestartSentinel, x as computeBackoff, xn as applyModelOverrideToSessionEntry, xr as clearAgentRunContext, y as readJsonBodyWithLimit, yt as formatDoctorNonInteractiveHint } from "./subagent-registry-BCf5fWt9.js";
|
|
30
30
|
import { B as resolveMainSessionKeyFromConfig, C as stripEnvelopeFromMessage, D as stripInlineDirectiveTagsFromMessageForDisplay, E as stripInlineDirectiveTagsForDisplay, H as snapshotSessionOrigin, I as canonicalizeMainSessionAlias, J as deliveryContextFromSession, K as cleanStaleLockFiles, L as resolveAgentMainSessionKey, Q as normalizeSessionDeliveryFields, R as resolveExplicitAgentSessionKey, S as resolveSessionTranscriptCandidates, X as mergeDeliveryContext, _ as archiveSessionTranscripts, b as readSessionPreviewItemsFromTranscript, f as updateSessionStore, g as archiveFileOnDisk, j as resolveSessionResetPolicy, k as evaluateSessionFreshness, n as extractDeliveryInfo, r as parseSessionThreadInfo, s as loadSessionStore, v as capArrayByJsonBytes, w as stripEnvelopeFromMessages, y as readSessionMessages, z as resolveMainSessionKey } from "./sessions-CNNf0H7T.js";
|
|
31
31
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-CEQAF_FI.js";
|
|
32
32
|
import { n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-mjKPZoHW.js";
|
|
@@ -142,20 +142,20 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
142
142
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-DdfGJUXF.js";
|
|
143
143
|
import { c as resolveNodeCommandAllowlist, l as probeGateway, n as collectEnabledInsecureOrDangerousFlags, s as isNodeCommandAllowed } from "./audit-C_PrQ0YX.js";
|
|
144
144
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-CqUM4RKx.js";
|
|
145
|
-
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-
|
|
146
|
-
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
145
|
+
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-BMsXi6N4.js";
|
|
146
|
+
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-DAdRLxND.js";
|
|
147
147
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CYTuwBaP.js";
|
|
148
148
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-5gHtx_hh.js";
|
|
149
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
150
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-
|
|
149
|
+
import { t as runOnboardingWizard } from "./onboarding-6zf-mJnF.js";
|
|
150
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-CtNMQDVT.js";
|
|
151
151
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CeqADdq2.js";
|
|
152
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
152
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-C14C5L14.js";
|
|
153
153
|
import "./dm-policy-shared-CPaxpZrN.js";
|
|
154
154
|
import "./node-service-BF39YbK_.js";
|
|
155
155
|
import "./status.update-Cmf9XC80.js";
|
|
156
156
|
import { t as resolveSystemRunCommand } from "./system-run-command-X0z0eGPu.js";
|
|
157
157
|
import { t as installSkill } from "./skills-install-BVb-dliA.js";
|
|
158
|
-
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-
|
|
158
|
+
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-pWarHWoh.js";
|
|
159
159
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-BYQw7-Ra.js";
|
|
160
160
|
import { n as forceFreePortAndWait } from "./ports-DLITf6m2.js";
|
|
161
161
|
import { spawn, spawnSync } from "node:child_process";
|
|
@@ -5735,7 +5735,7 @@ async function run(state, id, mode) {
|
|
|
5735
5735
|
action: "removed"
|
|
5736
5736
|
});
|
|
5737
5737
|
}
|
|
5738
|
-
|
|
5738
|
+
recomputeNextRunsForMaintenance(state);
|
|
5739
5739
|
await persist(state);
|
|
5740
5740
|
armTimer(state);
|
|
5741
5741
|
});
|
|
@@ -11768,7 +11768,7 @@ const nodeHandlers = {
|
|
|
11768
11768
|
const p = params;
|
|
11769
11769
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
11770
11770
|
await respondUnavailableOnThrow(respond, async () => {
|
|
11771
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
11771
|
+
const { handleNodeEvent } = await import("./server-node-events-CWOtZQtU.js");
|
|
11772
11772
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
11773
11773
|
await handleNodeEvent({
|
|
11774
11774
|
deps: context.deps,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { B as theme, k as info, l as escapeRegExp, z as isRich } from "./utils-DCtXtPui.js";
|
|
3
|
-
import { Ft as resolveHeartbeatDeliveryTarget, Hn as resolveUserTimezone, It as resolveHeartbeatSenderContext, Tr as peekSystemEventEntries, cr as CommandLane, dr as isHeartbeatContentEffectivelyEmpty, fr as resolveHeartbeatPrompt$1, ft as requestHeartbeatNow, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, mt as resolveHeartbeatReasonKind, pr as stripHeartbeatToken, pt as setHeartbeatWakeHandler, r as appendCronStyleCurrentTimeLine, rr as getQueueSize, t as getReplyFromConfig, ur as DEFAULT_HEARTBEAT_EVERY } from "./reply-
|
|
3
|
+
import { Ft as resolveHeartbeatDeliveryTarget, Hn as resolveUserTimezone, It as resolveHeartbeatSenderContext, Tr as peekSystemEventEntries, cr as CommandLane, dr as isHeartbeatContentEffectivelyEmpty, fr as resolveHeartbeatPrompt$1, ft as requestHeartbeatNow, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, mt as resolveHeartbeatReasonKind, pr as stripHeartbeatToken, pt as setHeartbeatWakeHandler, r as appendCronStyleCurrentTimeLine, rr as getQueueSize, t as getReplyFromConfig, ur as DEFAULT_HEARTBEAT_EVERY } from "./reply-CdjLMJxg.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CYc2uK4P.js";
|
|
5
5
|
import { l as resolveAgentIdFromSessionKey, p as toAgentStoreSessionKey, s as normalizeAgentId } from "./session-key-D7AdMgCp.js";
|
|
6
6
|
import { c as resolveAgentWorkspaceDir, g as DEFAULT_HEARTBEAT_FILENAME, l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-CJ4YDowp.js";
|