@lawpath-tech/openclaw 2026.2.21-4 → 2026.2.21-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agents-BtqLW18n.js → agents-CuMsK_DS.js} +4 -4
- package/dist/{agents.config-B-tuPgrg.js → agents.config-BXoIfujZ.js} +1 -1
- package/dist/{agents.config-ICVDwC0C.js → agents.config-e_xeppAS.js} +1 -1
- package/dist/{auth-choice-6iuXqwcN.js → auth-choice-B45xiAZ_.js} +1 -1
- package/dist/{auth-choice-BjZRva43.js → auth-choice-Cds0pSuL.js} +1 -1
- package/dist/{banner-B3WC17dn.js → banner-BrBNvO5B.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-G8V1c6AS.js → channel-options-HIUzORO6.js} +1 -1
- package/dist/{channel-options-BDj65ZyO.js → channel-options-K4gVRVl0.js} +1 -1
- package/dist/{channel-web-B_ZYKCEQ.js → channel-web-BhQMRa2x.js} +1 -1
- package/dist/{channels-cli-raxsTCN2.js → channels-cli-RbZdgktP.js} +4 -4
- package/dist/{channels-cli-DqFbn6qS.js → channels-cli-SwsUfdhN.js} +4 -4
- package/dist/{cli-CR9BTL9c.js → cli-DCtguEMl.js} +1 -1
- package/dist/{cli-E0T5u43Z.js → cli-DZR34VYb.js} +1 -1
- package/dist/{command-registry-BmpWsMTW.js → command-registry-CuwwryVI.js} +9 -9
- package/dist/{completion-cli-ilRVVz-z.js → completion-cli-CHvR27lh.js} +2 -2
- package/dist/{completion-cli-S4G6qt8g.js → completion-cli-Cq8iP9Aw.js} +1 -1
- package/dist/{config-cli-WbPlELKk.js → config-cli-BwShV3v6.js} +1 -1
- package/dist/{config-cli-Cko5ncf5.js → config-cli-Ci5S1iD4.js} +1 -1
- package/dist/{configure-BBkx0Gee.js → configure-DPlBhyXy.js} +3 -3
- package/dist/{configure-B-GCDUGh.js → configure-D_1pz9E3.js} +3 -3
- package/dist/{doctor-completion-7mRw3cHh.js → doctor-completion-BJIw8vai.js} +1 -1
- package/dist/{doctor-completion-CJKoQcYI.js → doctor-completion-BfrgA2mV.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-AhPjzNqQ.js → gateway-cli-BeBfQrbx.js} +8 -8
- package/dist/{gateway-cli-CmSTW0ue.js → gateway-cli-yqwgOF3f.js} +8 -8
- package/dist/{health-ADwLM-Or.js → health-BTIp89si.js} +1 -1
- package/dist/{health-fiXB0fGK.js → health-CKF0OJ25.js} +1 -1
- package/dist/{hooks-cli-DRoJbg8P.js → hooks-cli-BKn8RjUM.js} +2 -2
- package/dist/{hooks-cli-XfbsybsC.js → hooks-cli-Cjs7SuB4.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-2tG63q_V.js → models-C08NQUuO.js} +2 -2
- package/dist/{models-cli-CR_SMGJ0.js → models-cli-COXYLQjz.js} +2 -2
- package/dist/{models-cli-BWxHuaVU.js → models-cli-uJJpIivJ.js} +3 -3
- package/dist/{onboard-a3lJkMHB.js → onboard-CnHHrRkg.js} +2 -2
- package/dist/{onboard-DBSlZhzk.js → onboard-D9sqU2kW.js} +2 -2
- package/dist/{onboard-channels-B8j2CJsJ.js → onboard-channels-DFdGULvK.js} +1 -1
- package/dist/{onboard-channels-BUE80D3V.js → onboard-channels-FyoGJoRI.js} +1 -1
- package/dist/{onboarding-BPiYCwYW.js → onboarding-BMdfhdc1.js} +3 -3
- package/dist/{onboarding-vEEafQpu.js → onboarding-ys5PK2iC.js} +3 -3
- package/dist/{onboarding.finalize-ASGzuJ_m.js → onboarding.finalize-Czj9rIDx.js} +6 -6
- package/dist/{onboarding.finalize-C7185nuS.js → onboarding.finalize-DGwRmQPQ.js} +5 -5
- package/dist/{pi-embedded-BfX7An0n.js → pi-embedded-BFfZiGJD.js} +38 -5
- package/dist/{pi-embedded-DtVM2K0j.js → pi-embedded-CQ9C6y-Z.js} +38 -5
- package/dist/{plugin-registry-DAvWT8O2.js → plugin-registry-Bm3oXtZ_.js} +1 -1
- package/dist/{plugin-registry-CDCLBIsW.js → plugin-registry-CbLd0SuX.js} +1 -1
- package/dist/plugin-sdk/{channel-web-D7oXjz9F.js → channel-web-BijwJ-sy.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-CcZVzbxJ.js → reply-7CRdEEVf.js} +38 -5
- package/dist/plugin-sdk/{web-DKcOGlkN.js → web-DbfteoVI.js} +2 -2
- package/dist/{plugins-cli-BUojFAGL.js → plugins-cli-CuZ9yeLM.js} +2 -2
- package/dist/{plugins-cli-ekc2VJ2E.js → plugins-cli-D9kYnV70.js} +2 -2
- package/dist/{program-C6lY3-78.js → program-DnLmcYvI.js} +7 -7
- package/dist/{program-context-Cf4DLb4D.js → program-context-BFlDtZ7u.js} +17 -17
- package/dist/{prompt-select-styled-DZrDBBvM.js → prompt-select-styled-ByfdmSdC.js} +4 -4
- package/dist/{prompt-select-styled-BB0toldS.js → prompt-select-styled-vecx8TWe.js} +4 -4
- package/dist/{provider-auth-helpers-DzLX-hrT.js → provider-auth-helpers-CDiCEf5I.js} +1 -1
- package/dist/{provider-auth-helpers-BmRtSzv1.js → provider-auth-helpers-D5aiUDUx.js} +1 -1
- package/dist/{push-apns-BoavuUl1.js → push-apns-CIFN_ehC.js} +1 -1
- package/dist/{push-apns-DRicQb8n.js → push-apns-DnQI6P_1.js} +1 -1
- package/dist/{register.agent-BmmgT0mN.js → register.agent-BAb4XSav.js} +5 -5
- package/dist/{register.agent-Ddx0H8cv.js → register.agent-m9s6Wdxg.js} +6 -6
- package/dist/{register.configure-DJnHqk6O.js → register.configure-CH9nyxsf.js} +6 -6
- package/dist/{register.configure-CQU6KgeW.js → register.configure-lUHQYgJj.js} +6 -6
- package/dist/{register.maintenance-Cqc5yCQG.js → register.maintenance-BZ5w5uEj.js} +7 -7
- package/dist/{register.maintenance-BV1xriuR.js → register.maintenance-D6b4iNV5.js} +8 -8
- package/dist/{register.message-Ihec9Qhj.js → register.message-BNwoWgh6.js} +2 -2
- package/dist/{register.message-CNpNd0Ap.js → register.message-DrqsD-cs.js} +2 -2
- package/dist/{register.onboard-CL9W60Ru.js → register.onboard-BJC-pkiP.js} +4 -4
- package/dist/{register.onboard-DIwP9ira.js → register.onboard-CWGIbeMt.js} +4 -4
- package/dist/{register.setup-CsdexgyX.js → register.setup-B2Q7oNUf.js} +4 -4
- package/dist/{register.setup-2GCiWxqM.js → register.setup-Cyy-u_LT.js} +4 -4
- package/dist/{register.status-health-sessions-GhqBz76y.js → register.status-health-sessions-CbFmRZ23.js} +3 -3
- package/dist/{register.status-health-sessions-CZoLCevz.js → register.status-health-sessions-XToqPPob.js} +3 -3
- package/dist/{register.subclis-B4o6BJ2N.js → register.subclis-kiCDYnvk.js} +9 -9
- package/dist/{reply-CebOfFpO.js → reply-BLgYvx8K.js} +38 -5
- package/dist/{run-main-Dhw3C-_j.js → run-main-ClQN17NG.js} +14 -14
- package/dist/{server-node-events-Cd_Um0Ih.js → server-node-events-CtGYZ4NX.js} +2 -2
- package/dist/{server-node-events-Cx6vpHYY.js → server-node-events-D8mdarwc.js} +2 -2
- package/dist/{session-dirs-D1JZtaFB.js → session-dirs-CLp_APkW.js} +1 -1
- package/dist/{session-dirs-BksC_ZJx.js → session-dirs-qa1wz8KY.js} +1 -1
- package/dist/{status-vxjEMgge.js → status-B0DTmnlx.js} +1 -1
- package/dist/{status-BcZRY3RM.js → status-BpU9At8G.js} +1 -1
- package/dist/{status-CadxgcYe.js → status-CUi6ZcuM.js} +2 -2
- package/dist/{status-UO6LTko9.js → status-DlprmiLH.js} +2 -2
- package/dist/{subagent-registry-DxAANdOO.js → subagent-registry-DoLtM6tb.js} +38 -5
- package/dist/{update-cli-CqsOKfGt.js → update-cli-DDK1P0nj.js} +7 -7
- package/dist/{update-cli-CidTQDU8.js → update-cli-eHwjFIY5.js} +8 -8
- package/dist/{web-CxJJ94q0.js → web-BNiJyHah.js} +1 -1
- package/dist/{web-BBMLIpu1.js → web-DPUOYear.js} +1 -1
- package/dist/{web-IvoqYVGl.js → web-gOkp0QXS.js} +1 -1
- package/dist/{web-IgO1--qh.js → web-w_Wqd8mO.js} +2 -2
- package/package.json +1 -1
|
@@ -5,19 +5,19 @@ import { t as formatCliCommand } from "./command-format-D3syQOZg.js";
|
|
|
5
5
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DjZ7Z1hW.js";
|
|
6
6
|
import { _ as DEFAULT_IDENTITY_FILENAME, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-DhajVyRS.js";
|
|
7
7
|
import { l as writeConfigFile } from "./config-D-Tvm4yj.js";
|
|
8
|
-
import { N as parseIdentityMarkdown, j as identityHasValues } from "./subagent-registry-
|
|
8
|
+
import { N as parseIdentityMarkdown, j as identityHasValues } from "./subagent-registry-DoLtM6tb.js";
|
|
9
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Dhh2a3qc.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-BYflTvTz.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-B1aVoXd5.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-cLP5YLeQ.js";
|
|
15
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
15
|
+
import { r as setupChannels } from "./onboard-channels-DFdGULvK.js";
|
|
16
16
|
import { t as requireValidConfigSnapshot } from "./config-validation-CmNPH7TT.js";
|
|
17
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-e_xeppAS.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-PVQxLC6I.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DF6R_pgV.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-Cds0pSuL.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-BLgYvx8K.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-CU-9CR31.js";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-DjZ7Z1hW.js";
|
|
2
2
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-DhajVyRS.js";
|
|
3
|
-
import { M as loadAgentIdentityFromWorkspace, j as identityHasValues } from "./subagent-registry-
|
|
3
|
+
import { M as loadAgentIdentityFromWorkspace, j as identityHasValues } from "./subagent-registry-DoLtM6tb.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-O8FG_tUO.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-D1r7MfQn.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-HSYin9n7.js";
|
|
8
8
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-DtCLmYKX.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-D5aiUDUx.js";
|
|
10
10
|
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-axQGBFUI.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-7lns6xv3.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-BArXr_C_.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-BYflTvTz.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-CknE1f0w.js";
|
|
8
8
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-ED-ILVvP.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CDiCEf5I.js";
|
|
10
10
|
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-C6iwMU4X.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-CpR4F3Tp.js";
|
|
12
12
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dt as theme, Et as isRich, h as visibleWidth, ln as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { sn as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { sn as resolveCommitHash } from "./subagent-registry-DoLtM6tb.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one OpenClaw.";
|
package/dist/build-info.json
CHANGED
|
@@ -5,7 +5,7 @@ import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-sc
|
|
|
5
5
|
import { r as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-BF9jT_Nw.js";
|
|
6
6
|
import "../../workspace-D-fnhRGM.js";
|
|
7
7
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-B-c56SkM.js";
|
|
8
|
-
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-
|
|
8
|
+
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-BFfZiGJD.js";
|
|
9
9
|
import "../../plugins-BfEZesgD.js";
|
|
10
10
|
import "../../accounts-C8m4ADkw.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
@@ -5,7 +5,7 @@ import { s as resolveAgentWorkspaceDir } from "../../agent-scope-D-SlG1bQ.js";
|
|
|
5
5
|
import { t as createSubsystemLogger } from "../../subsystem-BF9jT_Nw.js";
|
|
6
6
|
import "../../workspace-D-fnhRGM.js";
|
|
7
7
|
import "../../tokens-B-c56SkM.js";
|
|
8
|
-
import "../../pi-embedded-
|
|
8
|
+
import "../../pi-embedded-BFfZiGJD.js";
|
|
9
9
|
import "../../plugins-BfEZesgD.js";
|
|
10
10
|
import "../../accounts-C8m4ADkw.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d7c141c44561f84cc5d8e0a9496d3f6db4b81903a6c52304225cea0bf380a1eb
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as CHAT_CHANNEL_ORDER, n as isTruthyEnvValue } from "./entry.js";
|
|
2
2
|
import { n as listChannelPlugins } from "./plugins-Dhh2a3qc.js";
|
|
3
3
|
import { r as listChannelPluginCatalogEntries } from "./catalog-Da8o-cxw.js";
|
|
4
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
4
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-Bm3oXtZ_.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/channel-options.ts
|
|
7
7
|
function dedupe(values) {
|
|
@@ -2,7 +2,7 @@ import { n as CHAT_CHANNEL_ORDER } from "./registry-Dygi7Azw.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-BId0WVVL.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-C-_54oRw.js";
|
|
4
4
|
import { r as listChannelPluginCatalogEntries } from "./catalog-C7TxlaHu.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CbLd0SuX.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-BLgYvx8K.js";
|
|
3
3
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-8bY95KEB.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DEKzLnLg.js";
|
|
@@ -15,7 +15,7 @@ import "./client-DrK7aLru.js";
|
|
|
15
15
|
import { n as callGateway } from "./call-mR3kLwRx.js";
|
|
16
16
|
import "./message-channel-CVHJDItx.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import { _ as deleteTelegramUpdateOffset, en as loadProviderUsageSummary, tn as formatUsageReportLines } from "./subagent-registry-
|
|
18
|
+
import { _ as deleteTelegramUpdateOffset, en as loadProviderUsageSummary, tn as formatUsageReportLines } from "./subagent-registry-DoLtM6tb.js";
|
|
19
19
|
import "./sessions-CPk6B4FT.js";
|
|
20
20
|
import "./tokens-ANnYrShl.js";
|
|
21
21
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, u as resolveTelegramAccount } from "./plugins-Dhh2a3qc.js";
|
|
@@ -110,13 +110,13 @@ import "./install-safe-path-BK8js28D.js";
|
|
|
110
110
|
import "./npm-registry-spec-DkaZNHAW.js";
|
|
111
111
|
import "./skill-scanner-Cb7mXGIR.js";
|
|
112
112
|
import "./installs-DDy4Ij7L.js";
|
|
113
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
113
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-DFdGULvK.js";
|
|
114
114
|
import { t as requireValidConfigSnapshot } from "./config-validation-CmNPH7TT.js";
|
|
115
115
|
import { t as buildChannelAccountSnapshot } from "./status-BUedPCLb.js";
|
|
116
116
|
import { t as parseLogLine } from "./parse-log-line-C6yJx969.js";
|
|
117
117
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-CmHZBwQD.js";
|
|
118
|
-
import "./plugin-registry-
|
|
119
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
118
|
+
import "./plugin-registry-Bm3oXtZ_.js";
|
|
119
|
+
import { t as formatCliChannelOptions } from "./channel-options-HIUzORO6.js";
|
|
120
120
|
import fs from "node:fs/promises";
|
|
121
121
|
|
|
122
122
|
//#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-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-BLgYvx8K.js";
|
|
5
5
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import { r as DEFAULT_CHAT_CHANNEL } from "./registry-Dygi7Azw.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-8bY95KEB.js";
|
|
@@ -105,8 +105,8 @@ import "./stagger-B6VQyn1F.js";
|
|
|
105
105
|
import { n as resolveMessageChannelSelection } from "./channel-selection-C27fdBDC.js";
|
|
106
106
|
import "./pi-tools.policy-B3nJHwWp.js";
|
|
107
107
|
import { r as listChannelPluginCatalogEntries } from "./catalog-C7TxlaHu.js";
|
|
108
|
-
import "./plugin-registry-
|
|
109
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
108
|
+
import "./plugin-registry-CbLd0SuX.js";
|
|
109
|
+
import { t as formatCliChannelOptions } from "./channel-options-K4gVRVl0.js";
|
|
110
110
|
import { t as hasExplicitOptions } from "./command-options-BtDai3oC.js";
|
|
111
111
|
import "./note-DRZSQe0n.js";
|
|
112
112
|
import { t as createClackPrompter } from "./clack-prompter-Cpl8cd_B.js";
|
|
@@ -116,7 +116,7 @@ import "./install-safe-path-tCLiMpmO.js";
|
|
|
116
116
|
import "./npm-registry-spec-DVXqd4Pf.js";
|
|
117
117
|
import "./skill-scanner-CMBwwxis.js";
|
|
118
118
|
import "./installs-B9skpWIo.js";
|
|
119
|
-
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-
|
|
119
|
+
import { a as reloadOnboardingPluginRegistry, i as ensureOnboardingPluginInstalled, r as setupChannels } from "./onboard-channels-FyoGJoRI.js";
|
|
120
120
|
import { t as requireValidConfigSnapshot } from "./config-validation-812vX6zY.js";
|
|
121
121
|
import { t as buildChannelAccountSnapshot } from "./status-BrV-afZE.js";
|
|
122
122
|
import { t as parseLogLine } from "./parse-log-line-BHCUQaF3.js";
|
|
@@ -13,7 +13,7 @@ import "./client-DrK7aLru.js";
|
|
|
13
13
|
import "./call-mR3kLwRx.js";
|
|
14
14
|
import "./message-channel-CVHJDItx.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import { g as loadOpenClawPlugins } from "./subagent-registry-
|
|
16
|
+
import { g as loadOpenClawPlugins } from "./subagent-registry-DoLtM6tb.js";
|
|
17
17
|
import "./sessions-CPk6B4FT.js";
|
|
18
18
|
import "./tokens-ANnYrShl.js";
|
|
19
19
|
import "./plugins-Dhh2a3qc.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-B4BZAPZh.js";
|
|
2
2
|
import "./utils-BlC2Fskb.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { gt as loadOpenClawPlugins } from "./reply-
|
|
4
|
+
import { gt as loadOpenClawPlugins } from "./reply-BLgYvx8K.js";
|
|
5
5
|
import "./registry-Dygi7Azw.js";
|
|
6
6
|
import { t as createSubsystemLogger } from "./subsystem-8bY95KEB.js";
|
|
7
7
|
import "./exec-BmMB8-Xs.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { an as getPrimaryCommand, cn as hasHelpOrVersion } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-kiCDYnvk.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-Cyy-u_LT.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-CWGIbeMt.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-CH9nyxsf.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-Ci5S1iD4.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-D6b4iNV5.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-BNwoWgh6.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-m9s6Wdxg.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-CbFmRZ23.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Yt as resolveStateDir, l as routeLogsToStderr, nt as pathExists } from "./entry.js";
|
|
3
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
4
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
3
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-kiCDYnvk.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-CuwwryVI.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";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-B4BZAPZh.js";
|
|
3
3
|
import { h as pathExists } from "./utils-BlC2Fskb.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-8bY95KEB.js";
|
|
5
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
5
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-BFlDtZ7u.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -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-DPlBhyXy.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-D_1pz9E3.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-DRZSQe0n.js";
|
|
14
14
|
import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
|
|
15
15
|
import { t as createClackPrompter } from "./clack-prompter-Cpl8cd_B.js";
|
|
16
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-FyoGJoRI.js";
|
|
17
17
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D5lkiu2O.js";
|
|
18
18
|
import { t as resolveGatewayService } from "./service-CJGWS46r.js";
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
19
|
+
import { r as healthCommand } from "./health-BTIp89si.js";
|
|
20
20
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CjH2ywP0.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-DNqMaj3H.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-Cn6U3t8O.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-B45xiAZ_.js";
|
|
24
24
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-7lns6xv3.js";
|
|
25
25
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-zXWRcQMp.js";
|
|
26
26
|
import { a as promptCustomApiConfig } from "./onboard-custom-BxSvKcCx.js";
|
|
@@ -11,14 +11,14 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
11
11
|
import { t as note$1 } from "./note-DDecZomM.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-B1aVoXd5.js";
|
|
14
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
14
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-DFdGULvK.js";
|
|
15
15
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DAGH3gDr.js";
|
|
16
16
|
import { t as resolveGatewayService } from "./service-DcFI40_W.js";
|
|
17
|
-
import { r as healthCommand } from "./health-
|
|
17
|
+
import { r as healthCommand } from "./health-CKF0OJ25.js";
|
|
18
18
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BC2GSxMJ.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-PVQxLC6I.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DF6R_pgV.js";
|
|
21
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
21
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-Cds0pSuL.js";
|
|
22
22
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-CpR4F3Tp.js";
|
|
23
23
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-B8oXYjfA.js";
|
|
24
24
|
import { a as promptCustomApiConfig } from "./onboard-custom-zhlfzOTA.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-D3syQOZg.js";
|
|
2
2
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-B5pKN_cp.js";
|
|
3
3
|
import { t as note } from "./note-DDecZomM.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-CHvR27lh.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-BM-yQZH6.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-DEKzLnLg.js";
|
|
3
3
|
import { t as note } from "./note-DRZSQe0n.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-Cq8iP9Aw.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -2547,7 +2547,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
2547
2547
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2548
2548
|
process$1.argv = parsed.argv;
|
|
2549
2549
|
}
|
|
2550
|
-
import("./run-main-
|
|
2550
|
+
import("./run-main-ClQN17NG.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2551
2551
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2552
2552
|
process$1.exitCode = 1;
|
|
2553
2553
|
});
|
package/dist/extensionAPI.js
CHANGED
|
@@ -7,7 +7,7 @@ import { a as resolveAgentIdentity } from "./reply-prefix-uLJjKH8L.js";
|
|
|
7
7
|
import "./github-copilot-token-ttqQRqMA.js";
|
|
8
8
|
import "./env-DulyEJtM.js";
|
|
9
9
|
import "./tokens-DnMmat9I.js";
|
|
10
|
-
import { D as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { D as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-CQ9C6y-Z.js";
|
|
11
11
|
import "./plugins-CSfKuooL.js";
|
|
12
12
|
import "./accounts-Cxza2UXO.js";
|
|
13
13
|
import "./bindings-cmeB41uO.js";
|
|
@@ -22,7 +22,7 @@ import { t as safeEqualSecret } from "./secret-equal-CbntzRkh.js";
|
|
|
22
22
|
import { a as isValidIPv4, c as resolveClientIp, d as resolveHostName, f as rawDataToString, i as isTrustedProxyAddress, l as resolveGatewayBindHost, n as isLoopbackHost, o as normalizeHostHeader, s as pickPrimaryLanIPv4, t as isLoopbackAddress, u as resolveGatewayListenHosts } from "./net-DZ5Ayk-W.js";
|
|
23
23
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-Cmumpn76.js";
|
|
24
24
|
import { i as normalizeInputProvenance } from "./input-provenance-D0lNkCf6.js";
|
|
25
|
-
import { $n as resolveTtsProviderOrder, A as resolveAgentAvatar, An as normalizeMimeList, At as normalizeRequiredName, Bt as isExternalHookSession, C as agentCommand, Ct as normalizeCronJobCreate, D as createOutboundSendDeps, Dn as DEFAULT_INPUT_TIMEOUT_MS, Dt as normalizeOptionalSessionKey, E as resolveAgentOutboundTarget, En as DEFAULT_INPUT_MAX_REDIRECTS, Et as normalizeOptionalAgentId, Gn as resolveUserTimezone, Gt as emitGatewayRestart, H as dispatchInboundMessage, Hn as stopSubagentsForRequester, Ht as persistBrowserProxyFiles, Jn as isTtsProviderConfigured, Jt as scheduleGatewaySigusr1Restart, Kn as getTtsProvider, Kt as isGatewaySigusr1RestartExternallyAllowed, L as buildHistoryContextFromEntries, Lt as buildSafeExternalPrompt, Mt as buildDeliveryFromLegacyPayload, Nn as resolveAgentTimeoutMs, Nt as hasLegacyDeliveryHints, O as createDefaultDeps, On as extractFileContentFromSource, Ot as normalizeOptionalText, Pt as stripLegacyDeliveryFields, Q as runCliAgent, Qn as resolveTtsPrefsPath, Qt as normalizeGroupActivation, Rn as formatZonedTimestamp, Rt as detectSuspiciousPatterns, S as sleepWithAbort, St as normalizeHttpWebhookUrl, T as resolveAgentDeliveryPlan, Tn as DEFAULT_INPUT_IMAGE_MIMES, Tt as inferLegacyName, U as createReplyDispatcher, Ut as consumeGatewaySigusr1RestartAuthorization, Vn as isAbortTrigger, Vt as applyBrowserProxyPaths, W as getTotalPendingReplies, Wt as deferGatewayRestartUntilIdle, X as getCliSessionId, Xn as resolveTtsAutoMode, Xt as setPreRestartDeferralCheck, Y as resolveCronStyleNow, Yn as resolveTtsApiKey, Yt as setGatewaySigusr1RestartPolicy, Z as setCliSessionId, Zn as resolveTtsConfig, Zt as unbindThreadBindingsBySessionKey, _n as applyModelOverrideToSessionEntry, _r as clearAgentRunContext, _t as formatRestartSentinelMessage, a as runSubagentAnnounceFlow, ar as getActiveTaskCount, at as resolveOutboundSessionRoute, b as requestBodyErrorToText, bn as enqueueSystemEvent, br as onAgentEvent, c as abortEmbeddedPiRun, cn as requestHeartbeatNow, cr as resetAllLanes, ct as resolveOutboundTarget, d as applyToolPolicyPipeline, dn as normalizeSendPolicy, dr as CommandLane, dt as resetDirectoryCache, en as loadProviderUsageSummary, er as setTtsEnabled, et as createOpenClawTools, f as buildDefaultToolPolicyPipelineSteps, fn as resolveSendPolicy, fr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, g as loadOpenClawPlugins, gr as stripHeartbeatToken, gt as formatDoctorNonInteractiveHint, ht as consumeRestartSentinel, ir as OPENAI_TTS_VOICES, it as ensureOutboundSessionEntry, jn as resolveInputFileLimits, jt as migrateLegacyCronPayload, k as createOutboundSendDeps$1, kn as extractImageContentFromSource, kt as normalizePayloadToSystemText, l as getActiveEmbeddedRunCount, lr as setCommandLaneConcurrency, lt as resolveSessionDeliveryTarget, m as getPluginToolMeta, n as initSubagentRegistry, nr as textToSpeech, nt as resolveAnnounceTargetFromKey, o as clearSessionQueues, pt as runWithModelFallback, q as BARE_SESSION_RESET_PROMPT, qn as isTtsEnabled, qt as markGatewaySigusr1RestartHandled, r as listDescendantRunsForRequester, rr as OPENAI_TTS_MODELS, s as runEmbeddedPiAgent, sr as getTotalQueueSize, t as countActiveDescendantRuns, tr as setTtsProvider, tt as readLatestAssistantReply, u as waitForEmbeddedPiRunEnd, ur as waitForActiveTasks, v as handleSlackHttpRequest, vn as applyVerboseOverride, vr as emitAgentEvent, wn as DEFAULT_INPUT_IMAGE_MAX_BYTES, wt as normalizeCronJobPatch, x as computeBackoff, xn as isSystemEventContextChanged, xr as registerAgentRunContext, xt as writeRestartSentinel, y as readJsonBodyWithLimit, yn as parseVerboseOverride, yr as getAgentRunContext, yt as summarizeRestartSentinel, zt as getHookType } from "./subagent-registry-
|
|
25
|
+
import { $n as resolveTtsProviderOrder, A as resolveAgentAvatar, An as normalizeMimeList, At as normalizeRequiredName, Bt as isExternalHookSession, C as agentCommand, Ct as normalizeCronJobCreate, D as createOutboundSendDeps, Dn as DEFAULT_INPUT_TIMEOUT_MS, Dt as normalizeOptionalSessionKey, E as resolveAgentOutboundTarget, En as DEFAULT_INPUT_MAX_REDIRECTS, Et as normalizeOptionalAgentId, Gn as resolveUserTimezone, Gt as emitGatewayRestart, H as dispatchInboundMessage, Hn as stopSubagentsForRequester, Ht as persistBrowserProxyFiles, Jn as isTtsProviderConfigured, Jt as scheduleGatewaySigusr1Restart, Kn as getTtsProvider, Kt as isGatewaySigusr1RestartExternallyAllowed, L as buildHistoryContextFromEntries, Lt as buildSafeExternalPrompt, Mt as buildDeliveryFromLegacyPayload, Nn as resolveAgentTimeoutMs, Nt as hasLegacyDeliveryHints, O as createDefaultDeps, On as extractFileContentFromSource, Ot as normalizeOptionalText, Pt as stripLegacyDeliveryFields, Q as runCliAgent, Qn as resolveTtsPrefsPath, Qt as normalizeGroupActivation, Rn as formatZonedTimestamp, Rt as detectSuspiciousPatterns, S as sleepWithAbort, St as normalizeHttpWebhookUrl, T as resolveAgentDeliveryPlan, Tn as DEFAULT_INPUT_IMAGE_MIMES, Tt as inferLegacyName, U as createReplyDispatcher, Ut as consumeGatewaySigusr1RestartAuthorization, Vn as isAbortTrigger, Vt as applyBrowserProxyPaths, W as getTotalPendingReplies, Wt as deferGatewayRestartUntilIdle, X as getCliSessionId, Xn as resolveTtsAutoMode, Xt as setPreRestartDeferralCheck, Y as resolveCronStyleNow, Yn as resolveTtsApiKey, Yt as setGatewaySigusr1RestartPolicy, Z as setCliSessionId, Zn as resolveTtsConfig, Zt as unbindThreadBindingsBySessionKey, _n as applyModelOverrideToSessionEntry, _r as clearAgentRunContext, _t as formatRestartSentinelMessage, a as runSubagentAnnounceFlow, ar as getActiveTaskCount, at as resolveOutboundSessionRoute, b as requestBodyErrorToText, bn as enqueueSystemEvent, br as onAgentEvent, c as abortEmbeddedPiRun, cn as requestHeartbeatNow, cr as resetAllLanes, ct as resolveOutboundTarget, d as applyToolPolicyPipeline, dn as normalizeSendPolicy, dr as CommandLane, dt as resetDirectoryCache, en as loadProviderUsageSummary, er as setTtsEnabled, et as createOpenClawTools, f as buildDefaultToolPolicyPipelineSteps, fn as resolveSendPolicy, fr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, g as loadOpenClawPlugins, gr as stripHeartbeatToken, gt as formatDoctorNonInteractiveHint, ht as consumeRestartSentinel, ir as OPENAI_TTS_VOICES, it as ensureOutboundSessionEntry, jn as resolveInputFileLimits, jt as migrateLegacyCronPayload, k as createOutboundSendDeps$1, kn as extractImageContentFromSource, kt as normalizePayloadToSystemText, l as getActiveEmbeddedRunCount, lr as setCommandLaneConcurrency, lt as resolveSessionDeliveryTarget, m as getPluginToolMeta, n as initSubagentRegistry, nr as textToSpeech, nt as resolveAnnounceTargetFromKey, o as clearSessionQueues, pt as runWithModelFallback, q as BARE_SESSION_RESET_PROMPT, qn as isTtsEnabled, qt as markGatewaySigusr1RestartHandled, r as listDescendantRunsForRequester, rr as OPENAI_TTS_MODELS, s as runEmbeddedPiAgent, sr as getTotalQueueSize, t as countActiveDescendantRuns, tr as setTtsProvider, tt as readLatestAssistantReply, u as waitForEmbeddedPiRunEnd, ur as waitForActiveTasks, v as handleSlackHttpRequest, vn as applyVerboseOverride, vr as emitAgentEvent, wn as DEFAULT_INPUT_IMAGE_MAX_BYTES, wt as normalizeCronJobPatch, x as computeBackoff, xn as isSystemEventContextChanged, xr as registerAgentRunContext, xt as writeRestartSentinel, y as readJsonBodyWithLimit, yn as parseVerboseOverride, yr as getAgentRunContext, yt as summarizeRestartSentinel, zt as getHookType } from "./subagent-registry-DoLtM6tb.js";
|
|
26
26
|
import { D as resolveSessionResetPolicy, F as resolveMainSessionKey, H as cleanStaleLockFiles, I as resolveMainSessionKeyFromConfig, J as normalizeSessionDeliveryFields, K as mergeDeliveryContext, M as canonicalizeMainSessionAlias, N as resolveAgentMainSessionKey, P as resolveExplicitAgentSessionKey, R as snapshotSessionOrigin, S as stripEnvelopeFromMessages, T as evaluateSessionFreshness, W as deliveryContextFromSession, _ as capArrayByJsonBytes, d as updateSessionStore, g as archiveSessionTranscripts, h as archiveFileOnDisk, n as parseSessionThreadInfo, o as loadSessionStore, t as extractDeliveryInfo, v as readSessionMessages, x as resolveSessionTranscriptCandidates, y as readSessionPreviewItemsFromTranscript } from "./sessions-CPk6B4FT.js";
|
|
27
27
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-ANnYrShl.js";
|
|
28
28
|
import { n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Dhh2a3qc.js";
|
|
@@ -134,20 +134,20 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
134
134
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-BLko2ysA.js";
|
|
135
135
|
import { c as probeGateway, o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-Ufqowicf.js";
|
|
136
136
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-Dey40AZW.js";
|
|
137
|
-
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-
|
|
138
|
-
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
137
|
+
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-DlprmiLH.js";
|
|
138
|
+
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-CKF0OJ25.js";
|
|
139
139
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BC2GSxMJ.js";
|
|
140
140
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-DfBZVR4k.js";
|
|
141
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
142
|
-
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-
|
|
141
|
+
import { t as runOnboardingWizard } from "./onboarding-ys5PK2iC.js";
|
|
142
|
+
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-DnQI6P_1.js";
|
|
143
143
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-D5-xvxtS.js";
|
|
144
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
144
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-e_xeppAS.js";
|
|
145
145
|
import "./dm-policy-shared-BAXKVTCe.js";
|
|
146
146
|
import "./node-service-B1F4gM4E.js";
|
|
147
147
|
import "./status.update-CWpLMm6c.js";
|
|
148
148
|
import { t as resolveSystemRunCommand } from "./system-run-command-DKiCEPJc.js";
|
|
149
149
|
import { t as installSkill } from "./skills-install-DZS_DbXS.js";
|
|
150
|
-
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-
|
|
150
|
+
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-qa1wz8KY.js";
|
|
151
151
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-DWI9N-Ks.js";
|
|
152
152
|
import { n as forceFreePortAndWait } from "./ports-BxzJ3ENr.js";
|
|
153
153
|
import { spawn, spawnSync } from "node:child_process";
|
|
@@ -12400,7 +12400,7 @@ const nodeHandlers = {
|
|
|
12400
12400
|
const p = params;
|
|
12401
12401
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
12402
12402
|
await respondUnavailableOnThrow(respond, async () => {
|
|
12403
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
12403
|
+
const { handleNodeEvent } = await import("./server-node-events-CtGYZ4NX.js");
|
|
12404
12404
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
12405
12405
|
await handleNodeEvent({
|
|
12406
12406
|
deps: context.deps,
|
|
@@ -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-BlC2Fskb.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 normalizeOptionalSessionKey, $t as buildSafeExternalPrompt, At as agentCommand, B as setPreRestartDeferralCheck, Bn as isTtsEnabled, Bt as resolveSendPolicy, C as loadSessionEntry, Cn as isAbortTrigger, Cr as DEFAULT_INPUT_IMAGE_MIMES, Dn as countActiveDescendantRuns, Dr as extractImageContentFromSource, Dt as requestBodyErrorToText, E as resolveSessionModelRef, Er as extractFileContentFromSource, Et as readJsonBodyWithLimit, F as emitGatewayRestart, Fn as getAgentRunContext, G as summarizeRestartSentinel, Gn as resolveTtsPrefsPath, Gt as setCliSessionId, H as formatDoctorNonInteractiveHint, Hn as resolveTtsApiKey, Ht as createOutboundSendDeps$1, I as isGatewaySigusr1RestartExternallyAllowed, In as onAgentEvent, It as resolveOutboundTarget, J as normalizeHttpWebhookUrl, Jn as setTtsProvider, Kn as resolveTtsProviderOrder, Kt as runCliAgent, L as markGatewaySigusr1RestartHandled, Ln as registerAgentRunContext, Lt as resolveSessionDeliveryTarget, Mn as readLatestAssistantReply, Mt as resolveAgentDeliveryPlan, N as consumeGatewaySigusr1RestartAuthorization, Nn as clearAgentRunContext, Nt as resolveAgentOutboundTarget, O as ensureOutboundSessionEntry, On as initSubagentRegistry, Or as normalizeMimeList, Ot as computeBackoff, P as deferGatewayRestartUntilIdle, Pn as emitAgentEvent, Q as normalizeOptionalAgentId, Qn as getActiveTaskCount, R as scheduleGatewaySigusr1Restart, Rn as resolveUserTimezone, Rt as createOutboundSendDeps, S as loadCombinedSessionStoreForGateway, Sr as DEFAULT_INPUT_IMAGE_MAX_BYTES, T as resolveGatewaySessionStoreTarget, Tr as DEFAULT_INPUT_TIMEOUT_MS, Tt as handleSlackHttpRequest, U as formatRestartSentinelMessage, Un as resolveTtsAutoMode, Ut as runWithModelFallback, V as consumeRestartSentinel, Vn as isTtsProviderConfigured, Vt as createDefaultDeps, Wn as resolveTtsConfig, Wt as getCliSessionId, X as normalizeCronJobPatch, Xn as OPENAI_TTS_MODELS, Y as normalizeCronJobCreate, Yn as textToSpeech, Yt as resolveAgentAvatar, Z as inferLegacyName, Zn as OPENAI_TTS_VOICES, _ as resolveAnnounceTargetFromKey, _r as parseVerboseOverride, ar as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, at as hasLegacyDeliveryHints, b as listAgentsForGateway, bn as formatZonedTimestamp, bt as loadProviderUsageSummary, c as clearSessionQueues, d as getActiveEmbeddedRunCount, dt as requestHeartbeatNow, en as detectSuspiciousPatterns, er as getTotalQueueSize, et as normalizeOptionalText, f as waitForEmbeddedPiRunEnd, fn as dispatchInboundMessage, g as createOpenClawTools, gr as applyVerboseOverride, gt as loadOpenClawPlugins, hr as applyModelOverrideToSessionEntry, i as resolveCronStyleNow, ir as CommandLane, it as buildDeliveryFromLegacyPayload, j as resetDirectoryCache, jn as runSubagentAnnounceFlow, jr as resolveAgentTimeoutMs, k as resolveOutboundSessionRoute, kn as listDescendantRunsForRequester, kr as resolveInputFileLimits, kt as sleepWithAbort, l as runEmbeddedPiAgent, lr as stripHeartbeatToken, lt as applyBrowserProxyPaths, m as buildDefaultToolPolicyPipelineSteps, mn as getTotalPendingReplies, mt as getPluginToolMeta, n as BARE_SESSION_RESET_PROMPT, nn as isExternalHookSession, nr as setCommandLaneConcurrency, nt as normalizeRequiredName, ot as stripLegacyDeliveryFields, p as applyToolPolicyPipeline, pn as createReplyDispatcher, q as writeRestartSentinel, qn as setTtsEnabled, rn as unbindThreadBindingsBySessionKey, rr as waitForActiveTasks, rt as migrateLegacyCronPayload, sn as buildHistoryContextFromEntries, tn as getHookType, tr as resetAllLanes, tt as normalizePayloadToSystemText, u as abortEmbeddedPiRun, ur as lookupContextTokens, ut as persistBrowserProxyFiles, v as canonicalizeSpawnedByForAgent, vr as enqueueSystemEvent, vt as normalizeGroupActivation, w as pruneLegacyStoreKeys, wn as stopSubagentsForRequester, wr as DEFAULT_INPUT_MAX_REDIRECTS, x as listSessionsFromStore, yr as isSystemEventContextChanged, z as setGatewaySigusr1RestartPolicy, zn as getTtsProvider, zt as normalizeSendPolicy } from "./reply-
|
|
4
|
+
import { $ as normalizeOptionalSessionKey, $t as buildSafeExternalPrompt, At as agentCommand, B as setPreRestartDeferralCheck, Bn as isTtsEnabled, Bt as resolveSendPolicy, C as loadSessionEntry, Cn as isAbortTrigger, Cr as DEFAULT_INPUT_IMAGE_MIMES, Dn as countActiveDescendantRuns, Dr as extractImageContentFromSource, Dt as requestBodyErrorToText, E as resolveSessionModelRef, Er as extractFileContentFromSource, Et as readJsonBodyWithLimit, F as emitGatewayRestart, Fn as getAgentRunContext, G as summarizeRestartSentinel, Gn as resolveTtsPrefsPath, Gt as setCliSessionId, H as formatDoctorNonInteractiveHint, Hn as resolveTtsApiKey, Ht as createOutboundSendDeps$1, I as isGatewaySigusr1RestartExternallyAllowed, In as onAgentEvent, It as resolveOutboundTarget, J as normalizeHttpWebhookUrl, Jn as setTtsProvider, Kn as resolveTtsProviderOrder, Kt as runCliAgent, L as markGatewaySigusr1RestartHandled, Ln as registerAgentRunContext, Lt as resolveSessionDeliveryTarget, Mn as readLatestAssistantReply, Mt as resolveAgentDeliveryPlan, N as consumeGatewaySigusr1RestartAuthorization, Nn as clearAgentRunContext, Nt as resolveAgentOutboundTarget, O as ensureOutboundSessionEntry, On as initSubagentRegistry, Or as normalizeMimeList, Ot as computeBackoff, P as deferGatewayRestartUntilIdle, Pn as emitAgentEvent, Q as normalizeOptionalAgentId, Qn as getActiveTaskCount, R as scheduleGatewaySigusr1Restart, Rn as resolveUserTimezone, Rt as createOutboundSendDeps, S as loadCombinedSessionStoreForGateway, Sr as DEFAULT_INPUT_IMAGE_MAX_BYTES, T as resolveGatewaySessionStoreTarget, Tr as DEFAULT_INPUT_TIMEOUT_MS, Tt as handleSlackHttpRequest, U as formatRestartSentinelMessage, Un as resolveTtsAutoMode, Ut as runWithModelFallback, V as consumeRestartSentinel, Vn as isTtsProviderConfigured, Vt as createDefaultDeps, Wn as resolveTtsConfig, Wt as getCliSessionId, X as normalizeCronJobPatch, Xn as OPENAI_TTS_MODELS, Y as normalizeCronJobCreate, Yn as textToSpeech, Yt as resolveAgentAvatar, Z as inferLegacyName, Zn as OPENAI_TTS_VOICES, _ as resolveAnnounceTargetFromKey, _r as parseVerboseOverride, ar as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, at as hasLegacyDeliveryHints, b as listAgentsForGateway, bn as formatZonedTimestamp, bt as loadProviderUsageSummary, c as clearSessionQueues, d as getActiveEmbeddedRunCount, dt as requestHeartbeatNow, en as detectSuspiciousPatterns, er as getTotalQueueSize, et as normalizeOptionalText, f as waitForEmbeddedPiRunEnd, fn as dispatchInboundMessage, g as createOpenClawTools, gr as applyVerboseOverride, gt as loadOpenClawPlugins, hr as applyModelOverrideToSessionEntry, i as resolveCronStyleNow, ir as CommandLane, it as buildDeliveryFromLegacyPayload, j as resetDirectoryCache, jn as runSubagentAnnounceFlow, jr as resolveAgentTimeoutMs, k as resolveOutboundSessionRoute, kn as listDescendantRunsForRequester, kr as resolveInputFileLimits, kt as sleepWithAbort, l as runEmbeddedPiAgent, lr as stripHeartbeatToken, lt as applyBrowserProxyPaths, m as buildDefaultToolPolicyPipelineSteps, mn as getTotalPendingReplies, mt as getPluginToolMeta, n as BARE_SESSION_RESET_PROMPT, nn as isExternalHookSession, nr as setCommandLaneConcurrency, nt as normalizeRequiredName, ot as stripLegacyDeliveryFields, p as applyToolPolicyPipeline, pn as createReplyDispatcher, q as writeRestartSentinel, qn as setTtsEnabled, rn as unbindThreadBindingsBySessionKey, rr as waitForActiveTasks, rt as migrateLegacyCronPayload, sn as buildHistoryContextFromEntries, tn as getHookType, tr as resetAllLanes, tt as normalizePayloadToSystemText, u as abortEmbeddedPiRun, ur as lookupContextTokens, ut as persistBrowserProxyFiles, v as canonicalizeSpawnedByForAgent, vr as enqueueSystemEvent, vt as normalizeGroupActivation, w as pruneLegacyStoreKeys, wn as stopSubagentsForRequester, wr as DEFAULT_INPUT_MAX_REDIRECTS, x as listSessionsFromStore, yr as isSystemEventContextChanged, z as setGatewaySigusr1RestartPolicy, zn as getTtsProvider, zt as normalizeSendPolicy } from "./reply-BLgYvx8K.js";
|
|
5
5
|
import { S as parseAgentSessionKey, c as normalizeMainKey, f as toAgentRequestSessionKey, 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, x as isSubagentSessionKey, y as isCronRunSessionKey } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import { r as matchesSkillFilter, t as resolveOpenClawPackageRoot } from "./openclaw-root-BM-yQZH6.js";
|
|
7
7
|
import { C as createInternalHookEvent, S as clearInternalHooks, T as triggerInternalHook, d as getActivePluginRegistry, m as createEmptyPluginRegistry, r as DEFAULT_CHAT_CHANNEL, t as CHANNEL_IDS, w as registerInternalHook } from "./registry-Dygi7Azw.js";
|
|
@@ -139,20 +139,20 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
139
139
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-Dc97sW1v.js";
|
|
140
140
|
import { c as probeGateway, o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-Ds8DFz-h.js";
|
|
141
141
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-BlFVEHG-.js";
|
|
142
|
-
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-
|
|
143
|
-
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, s as setHeartbeatsEnabled, t as formatHealthChannelLines } from "./health-
|
|
142
|
+
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-CUi6ZcuM.js";
|
|
143
|
+
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, s as setHeartbeatsEnabled, t as formatHealthChannelLines } from "./health-BTIp89si.js";
|
|
144
144
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CjH2ywP0.js";
|
|
145
145
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-B-fJT8wY.js";
|
|
146
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
147
|
-
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-
|
|
146
|
+
import { t as runOnboardingWizard } from "./onboarding-BMdfhdc1.js";
|
|
147
|
+
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-CIFN_ehC.js";
|
|
148
148
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-C47YdW4F.js";
|
|
149
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
149
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-BXoIfujZ.js";
|
|
150
150
|
import "./dm-policy-shared-r2f9qumo.js";
|
|
151
151
|
import "./node-service-Da4wpz30.js";
|
|
152
152
|
import "./status.update-DVoPom_t.js";
|
|
153
153
|
import { t as resolveSystemRunCommand } from "./system-run-command-DKiCEPJc.js";
|
|
154
154
|
import { t as installSkill } from "./skills-install-BH7RZ10N.js";
|
|
155
|
-
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-
|
|
155
|
+
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-CLp_APkW.js";
|
|
156
156
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-DpGqXq9W.js";
|
|
157
157
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
158
158
|
import * as fsSync from "node:fs";
|
|
@@ -12404,7 +12404,7 @@ const nodeHandlers = {
|
|
|
12404
12404
|
const p = params;
|
|
12405
12405
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
12406
12406
|
await respondUnavailableOnThrow(respond, async () => {
|
|
12407
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
12407
|
+
const { handleNodeEvent } = await import("./server-node-events-D8mdarwc.js");
|
|
12408
12408
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
12409
12409
|
await handleNodeEvent({
|
|
12410
12410
|
deps: context.deps,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as theme, k as info, l as escapeRegExp, z as isRich } from "./utils-BlC2Fskb.js";
|
|
2
|
-
import { $n as getQueueSize, Ft as resolveHeartbeatSenderContext, Pt as resolveHeartbeatDeliveryTarget, Rn as resolveUserTimezone, ar as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, br as peekSystemEventEntries, cr as resolveHeartbeatPrompt$1, dt as requestHeartbeatNow, ft as setHeartbeatWakeHandler, ir as CommandLane, lr as stripHeartbeatToken, or as DEFAULT_HEARTBEAT_EVERY, pt as resolveHeartbeatReasonKind, r as appendCronStyleCurrentTimeLine, sr as isHeartbeatContentEffectivelyEmpty, t as getReplyFromConfig } from "./reply-
|
|
2
|
+
import { $n as getQueueSize, Ft as resolveHeartbeatSenderContext, Pt as resolveHeartbeatDeliveryTarget, Rn as resolveUserTimezone, ar as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, br as peekSystemEventEntries, cr as resolveHeartbeatPrompt$1, dt as requestHeartbeatNow, ft as setHeartbeatWakeHandler, ir as CommandLane, lr as stripHeartbeatToken, or as DEFAULT_HEARTBEAT_EVERY, pt as resolveHeartbeatReasonKind, r as appendCronStyleCurrentTimeLine, sr as isHeartbeatContentEffectivelyEmpty, t as getReplyFromConfig } from "./reply-BLgYvx8K.js";
|
|
3
3
|
import { l as resolveAgentIdFromSessionKey, p as toAgentStoreSessionKey, s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-8bY95KEB.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, g as DEFAULT_HEARTBEAT_FILENAME, l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-CU-9CR31.js";
|
|
@@ -4,7 +4,7 @@ import { l as resolveAgentIdFromSessionKey, p as toAgentStoreSessionKey, s as no
|
|
|
4
4
|
import { c as resolveAgentWorkspaceDir, g as DEFAULT_HEARTBEAT_FILENAME, l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-DhajVyRS.js";
|
|
5
5
|
import { C as parseDurationMs, i as loadConfig } from "./config-D-Tvm4yj.js";
|
|
6
6
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-mR3kLwRx.js";
|
|
7
|
-
import { Gn as resolveUserTimezone, J as appendCronStyleCurrentTimeLine, K as getReplyFromConfig, Sn as peekSystemEventEntries, cn as requestHeartbeatNow, dr as CommandLane, fr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, gr as stripHeartbeatToken, hr as resolveHeartbeatPrompt$1, ln as setHeartbeatWakeHandler, mr as isHeartbeatContentEffectivelyEmpty, or as getQueueSize, ot as resolveHeartbeatDeliveryTarget, pr as DEFAULT_HEARTBEAT_EVERY, st as resolveHeartbeatSenderContext, un as resolveHeartbeatReasonKind } from "./subagent-registry-
|
|
7
|
+
import { Gn as resolveUserTimezone, J as appendCronStyleCurrentTimeLine, K as getReplyFromConfig, Sn as peekSystemEventEntries, cn as requestHeartbeatNow, dr as CommandLane, fr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, gr as stripHeartbeatToken, hr as resolveHeartbeatPrompt$1, ln as setHeartbeatWakeHandler, mr as isHeartbeatContentEffectivelyEmpty, or as getQueueSize, ot as resolveHeartbeatDeliveryTarget, pr as DEFAULT_HEARTBEAT_EVERY, st as resolveHeartbeatSenderContext, un as resolveHeartbeatReasonKind } from "./subagent-registry-DoLtM6tb.js";
|
|
8
8
|
import { M as canonicalizeMainSessionAlias, N as resolveAgentMainSessionKey, d as updateSessionStore, l as saveSessionStore, o as loadSessionStore } from "./sessions-CPk6B4FT.js";
|
|
9
9
|
import { t as HEARTBEAT_TOKEN } from "./tokens-ANnYrShl.js";
|
|
10
10
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Dhh2a3qc.js";
|