@multiplytech/openclaw 2026.2.15-pairing-code.5 → 2026.2.16-pairing-code.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-Zea8l0V4.js → agent-BicIMFya.js} +2 -2
- package/dist/{agent-CHHEtTV9.js → agent-BnGmvkyY.js} +2 -2
- package/dist/{agents-C3RVyjuy.js → agents-DoOqZHAv.js} +2 -2
- package/dist/{audio-preflight-BHSwqB70.js → audio-preflight-18tRQHAJ.js} +4 -4
- package/dist/{audio-preflight-kYQdd_bY.js → audio-preflight-CeC5WuRi.js} +4 -4
- package/dist/{auth-choice-BL4n2N2D.js → auth-choice-D2sIkiFk.js} +1 -1
- package/dist/{auth-choice-Uz72AGbr.js → auth-choice-ylL-9GEL.js} +1 -1
- package/dist/{banner-SSVP1FWh.js → banner-D9HvFI2z.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-CW6tO8o9.js → channel-options-BCa1wZ4m.js} +1 -1
- package/dist/{channel-options-BZj8yDQM.js → channel-options-yeLHl6UC.js} +1 -1
- package/dist/{channel-web-URuEiSie.js → channel-web-BPrHXeOV.js} +2 -2
- package/dist/{channels-cli-BxhcVdVg.js → channels-cli-B8nnRMj8.js} +4 -4
- package/dist/{channels-cli-DNfdNX1p.js → channels-cli-BAZ2Yauv.js} +4 -4
- package/dist/{chrome-B2PpxswT.js → chrome-BR14_3nU.js} +7 -7
- package/dist/{chrome-DlM4kwMc.js → chrome-DBVAzVv0.js} +7 -7
- package/dist/{cli-BbNg2Udd.js → cli-D9mLMxRQ.js} +1 -1
- package/dist/{cli-BXBLYStc.js → cli-ZytI2DPU.js} +1 -1
- package/dist/{command-registry-BliDXGVX.js → command-registry-DZ6A7EvX.js} +9 -9
- package/dist/{completion-cli-Cu-1Snpp.js → completion-cli-BEl72Pb7.js} +2 -2
- package/dist/{completion-cli-BCKnCxmp.js → completion-cli-pVyXrfWL.js} +1 -1
- package/dist/{config-cli-CVnBnw5y.js → config-cli-CCNRsvPE.js} +1 -1
- package/dist/{config-cli-D5ZKAfqw.js → config-cli-DDCl_cnm.js} +1 -1
- package/dist/{configure-DgvISeIJ.js → configure-C6A2_LEz.js} +3 -3
- package/dist/{configure-Dg3rt98q.js → configure-DGcxzjLU.js} +3 -3
- package/dist/{deliver-CV4a0MBa.js → deliver-BDm1hy0O.js} +1 -1
- package/dist/{deliver-C7HjLIB7.js → deliver-DOrBYvPC.js} +1 -1
- package/dist/{deps-6dSUgps7.js → deps-msdT99gz.js} +1 -1
- package/dist/{doctor-BUO6pA-b.js → doctor-CMvSnOEZ.js} +4 -4
- package/dist/{doctor-CFwtoIem.js → doctor-D-TahnT7.js} +4 -4
- package/dist/{doctor-completion-Bnz5cgZw.js → doctor-completion-Ba4vSsGN.js} +1 -1
- package/dist/{doctor-completion-DNqw5VHX.js → doctor-completion-DtusY-sy.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-n2Z2-dmf.js → gateway-cli-BGBWa-ak.js} +9 -9
- package/dist/{gateway-cli-BDf6AIk0.js → gateway-cli-b7EznJjE.js} +9 -9
- package/dist/{health-BLNgO5Lg.js → health-YiTurunG.js} +2 -2
- package/dist/{health-5OQ86AsB.js → health-b_mLWi9d.js} +2 -2
- package/dist/{heartbeat-visibility-pSnRANG0.js → heartbeat-visibility-Busg2Sbf.js} +1 -1
- package/dist/{heartbeat-visibility-kOc5LBl6.js → heartbeat-visibility-Cct77e-9.js} +1 -1
- package/dist/{hooks-cli-8vqegwLk.js → hooks-cli-CPafsznq.js} +2 -2
- package/dist/{hooks-cli-BQvnwV0N.js → hooks-cli-Ctwq5D7P.js} +2 -2
- package/dist/{image-CRFk69Io.js → image-CIO7-OG5.js} +1 -1
- package/dist/{image-DVTZYmDL.js → image-Dv7bJ1hC.js} +1 -1
- package/dist/index.js +9 -9
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{login-BQj4vJAc.js → login--gUoMFh4.js} +1 -1
- package/dist/{login-Bub9YVmf.js → login-CRrr9EPA.js} +1 -1
- package/dist/{login-DfLZ1ase.js → login-D0hYZUa2.js} +1 -1
- package/dist/{login-CKe4hvQG.js → login-HSYxO7TB.js} +1 -1
- package/dist/{login-qr-C9eD5pGf.js → login-qr-BFYB5FWQ.js} +1 -1
- package/dist/{login-qr-MG7FhnKs.js → login-qr-aL-IW_xt.js} +1 -1
- package/dist/{login-qr-Cq7e7xsV.js → login-qr-huaRzzeI.js} +1 -1
- package/dist/{login-qr-5lWL8Guw.js → login-qr-mcAwUA5b.js} +1 -1
- package/dist/{models-D9P-iylf.js → models-BVIvm2QH.js} +2 -2
- package/dist/{models-cli-BhTQK54t.js → models-cli-CjdC5qbe.js} +3 -3
- package/dist/{models-cli-DCKEfmuF.js → models-cli-DnsSyljM.js} +2 -2
- package/dist/{onboard-DGIC3v2L.js → onboard-DOgwUCye.js} +2 -2
- package/dist/{onboard-ovaqc36s.js → onboard-DXSRyayG.js} +2 -2
- package/dist/{onboard-channels-BxI6pALE.js → onboard-channels-CgtE4eC-.js} +1 -1
- package/dist/{onboard-channels-yzWQkeRm.js → onboard-channels-CtXKuqUQ.js} +1 -1
- package/dist/{onboarding-ClCcjvNg.js → onboarding-B25eczL5.js} +3 -3
- package/dist/{onboarding-C6_GQJ3F.js → onboarding-Cg_0HfFN.js} +3 -3
- package/dist/{onboarding.finalize-CXti-VnH.js → onboarding.finalize-BHa4InE5.js} +5 -5
- package/dist/{onboarding.finalize-BhPaoWku.js → onboarding.finalize-CAtVy697.js} +6 -6
- package/dist/{outbound-send-deps-CrIPn6Gv.js → outbound-send-deps-rfzkj-sY.js} +1 -1
- package/dist/{pi-embedded-helpers-DHT11gwA.js → pi-embedded-helpers-CpicJuB_.js} +4 -4
- package/dist/{pi-embedded-helpers-Dow6Qreh.js → pi-embedded-helpers-D3YxFr03.js} +4 -4
- package/dist/{pi-embedded-BhSNemDy.js → pi-embedded-pWSNfIBi.js} +18 -18
- package/dist/{pi-embedded-B16QA3OJ.js → pi-embedded-xURyrsQ8.js} +18 -18
- package/dist/{plugin-registry-BMw_9a49.js → plugin-registry-CLrRk8wt.js} +1 -1
- package/dist/{plugin-registry-7l0uWKmB.js → plugin-registry-D4ln1snF.js} +1 -1
- package/dist/plugin-sdk/{active-listener-CFLZdKRQ.js → active-listener-CkyAenz6.js} +2 -2
- package/dist/plugin-sdk/{agent-scope-ip6rBrUD.js → agent-scope-DWZdK6Cr.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-C0NlyreL.js → audio-preflight-BzSvof9i.js} +12 -12
- package/dist/plugin-sdk/{channel-web-B715iUQW.js → channel-web-4MD7l4wZ.js} +11 -11
- package/dist/plugin-sdk/{chrome-OZ5Ge8PR.js → chrome-BLYh1Ek9.js} +1 -1
- package/dist/plugin-sdk/{common-pKa0kElY.js → common-STTVkT-Z.js} +2 -2
- package/dist/plugin-sdk/{config-DelXkt58.js → config-iUJxJaTT.js} +8 -8
- package/dist/plugin-sdk/{deliver-ebYNQy_5.js → deliver-Bkdn7hYJ.js} +6 -6
- package/dist/plugin-sdk/{exec-C5lqk9X4.js → exec-9HIVkGqi.js} +2 -2
- package/dist/plugin-sdk/{fetch-Cw_7QfME.js → fetch-DjHoyhHv.js} +2 -2
- package/dist/plugin-sdk/{image-2KL1DOmN.js → image-DolmBtru.js} +4 -4
- package/dist/plugin-sdk/{image-ops-zm4O3fkk.js → image-ops-DvO68zWD.js} +4 -4
- package/dist/plugin-sdk/index.js +23 -23
- package/dist/plugin-sdk/{ir-BEwiHV7R.js → ir-D6TOa8wy.js} +4 -4
- package/dist/plugin-sdk/{login-BPMBJ2ja.js → login-BVc8pU-l.js} +3 -3
- package/dist/plugin-sdk/{login-qr-gTXEo28v.js → login-qr-CLXyhjf_.js} +5 -5
- package/dist/plugin-sdk/{manager-Cqyl7HDP.js → manager-DSG4npLd.js} +5 -5
- package/dist/plugin-sdk/{model-selection-DHMRsTNB.js → model-selection-BfTuBvS4.js} +2 -2
- package/dist/plugin-sdk/{outbound-DT2nH6dY.js → outbound-BuWEi6UJ.js} +4 -4
- package/dist/plugin-sdk/{paths-wRVSwmkX.js → paths-6C0IeDIg.js} +1 -1
- package/dist/plugin-sdk/{pi-auth-json-XTF0mVQ6.js → pi-auth-json-CdSpUvvH.js} +3 -3
- package/dist/plugin-sdk/{pi-embedded-helpers-C3_rwWkJ.js → pi-embedded-helpers-rNIrRqeN.js} +13 -13
- package/dist/plugin-sdk/{pw-ai-BYr2wRwE.js → pw-ai-DHGDCfpy.js} +2 -2
- package/dist/plugin-sdk/{qmd-manager-CY7j7J3V.js → qmd-manager-D0FXZkrS.js} +4 -4
- package/dist/plugin-sdk/{reply-BCjRFrxS.js → reply-4U8Y4BEv.js} +35 -35
- package/dist/plugin-sdk/{runner-DxPwS4ed.js → runner-CaaUwzMJ.js} +7 -7
- package/dist/plugin-sdk/{session-CMKy7hKx.js → session-jiEJX-5Y.js} +13 -4
- package/dist/plugin-sdk/{sqlite-CKrK6KKr.js → sqlite-QNHsO4bW.js} +2 -2
- package/dist/plugin-sdk/{tool-images-C4GaQjrF.js → tool-images-BuctNDly.js} +2 -2
- package/dist/plugin-sdk/web-Bvsi2Yqx.js +30 -0
- package/dist/plugin-sdk/{whatsapp-actions-C5T64qvX.js → whatsapp-actions-3adtwpVJ.js} +11 -11
- package/dist/{plugins-cli-CNB8Yt37.js → plugins-cli-BYeZEnwl.js} +2 -2
- package/dist/{plugins-cli-BsfnFYsL.js → plugins-cli-DaYFcc1W.js} +2 -2
- package/dist/{program-CAd9g5sW.js → program-2itYvTk-.js} +7 -7
- package/dist/{program-context-_ii-SbA0.js → program-context-Ciy95Acu.js} +17 -17
- package/dist/{provider-auth-helpers-D_lWKYII.js → provider-auth-helpers-Dj1AB84U.js} +1 -1
- package/dist/{provider-auth-helpers-CCnbp35r.js → provider-auth-helpers-Ds9Fph8L.js} +1 -1
- package/dist/{pw-ai-Bbd79y0r.js → pw-ai-QsOEPS_1.js} +1 -1
- package/dist/{pw-ai-xh9cPTDX.js → pw-ai-lO0pe-hZ.js} +1 -1
- package/dist/{register.agent-dQKDHNyK.js → register.agent-BK76F9xA.js} +6 -6
- package/dist/{register.agent-BSdFQsCq.js → register.agent-Cnq6N18m.js} +7 -7
- package/dist/{register.configure-Bk2X8wFI.js → register.configure-CpMAPJLj.js} +6 -6
- package/dist/{register.configure-BN9zCFxE.js → register.configure-D_s2MvIu.js} +6 -6
- package/dist/{register.maintenance-d-1O5gtF.js → register.maintenance-BtUqZMsC.js} +7 -7
- package/dist/{register.maintenance-COHaTp3w.js → register.maintenance-D7SJxiMb.js} +8 -8
- package/dist/{register.message-CfNc9leD.js → register.message-Cm85SmMd.js} +3 -3
- package/dist/{register.message-DUrPTA8L.js → register.message-Di7W5Fr3.js} +3 -3
- package/dist/{register.onboard-aCV1lrPF.js → register.onboard-BQ3Pewle.js} +4 -4
- package/dist/{register.onboard-DtyoTIKL.js → register.onboard-D_mK44FN.js} +4 -4
- package/dist/{register.setup-Bb73DdhE.js → register.setup-BECChA0L.js} +4 -4
- package/dist/{register.setup-BgyHWmCs.js → register.setup-CtToVzPM.js} +4 -4
- package/dist/{register.status-health-sessions-OOi_L5uN.js → register.status-health-sessions-2HV2z4Li.js} +3 -3
- package/dist/{register.status-health-sessions-DLABBIKC.js → register.status-health-sessions-4atAOXQ0.js} +3 -3
- package/dist/{register.subclis-CDZvm5LU.js → register.subclis-BdKnlox-.js} +9 -9
- package/dist/{reply-D9JN_rwA.js → reply-BDmopaJJ.js} +4 -4
- package/dist/{run-main-BnvBDAQk.js → run-main-C6x11p1m.js} +14 -14
- package/dist/{runner-nMdrG8eK.js → runner-D2IJZlUb.js} +1 -1
- package/dist/{runner-oDUAvejt.js → runner-DED-FFOX.js} +1 -1
- package/dist/{server-node-events-5_nsFo-O.js → server-node-events-DOc1kwWq.js} +3 -3
- package/dist/{server-node-events-BHXuG6Pd.js → server-node-events-Kd1CFb1C.js} +3 -3
- package/dist/{session-C__ZeV6y.js → session-BTWpku8x.js} +11 -2
- package/dist/{session-zCwG7NHS.js → session-BdTxEygK.js} +11 -2
- package/dist/{session-sO1d78EF.js → session-Cd3YXDs1.js} +11 -2
- package/dist/{session-CP0yShzI.js → session-Czep-Q05.js} +11 -2
- package/dist/{status-Cuj1dGBb.js → status-C-Q-vpRG.js} +2 -2
- package/dist/{status-TVzePU0v.js → status-C2RPsVtW.js} +1 -1
- package/dist/{status-Dnim-lZW.js → status-acovikqR.js} +1 -1
- package/dist/{status-CQB4pZ8j.js → status-cl1ahkCy.js} +2 -2
- package/dist/{subagent-registry-2rHQ_z7c.js → subagent-registry-BDMD0wwa.js} +4 -4
- package/dist/{update-cli-C5qlFKHT.js → update-cli-CTp691jl.js} +8 -8
- package/dist/{update-cli-DKb91txa.js → update-cli-DSo0At8E.js} +7 -7
- package/dist/{update-runner-D6ZdwFLX.js → update-runner-DZMqq04v.js} +1 -1
- package/dist/{update-runner-BOA-zXJF.js → update-runner-DqZktjM1.js} +1 -1
- package/dist/{web-BCAfeY97.js → web-BaNy6CZ8.js} +8 -8
- package/dist/{web-B-3vMKvG.js → web-Bv-TtF0b.js} +8 -8
- package/dist/{web-CmgBQX8I.js → web-C78q_wDH.js} +4 -4
- package/dist/{web-CRrtqTfC.js → web-DC12keRE.js} +3 -3
- package/package.json +1 -1
- package/dist/plugin-sdk/web-Dez1c43V.js +0 -30
|
@@ -6,7 +6,7 @@ import "./boolean-Bb19hm9Y.js";
|
|
|
6
6
|
import "./model-auth-BBAJ-iuC.js";
|
|
7
7
|
import { A as resolveWhatsAppAccount, H as webAuthExists, P as logoutWeb, R as readWebSelfId, n as loadConfig } from "./config-BA8Xs1ek.js";
|
|
8
8
|
import "./github-copilot-token-BXEGgIt5.js";
|
|
9
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
9
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BTWpku8x.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
12
12
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -11,7 +11,7 @@ import { i as loadConfig } from "./config-Cdu_GkcK.js";
|
|
|
11
11
|
import "./manifest-registry-DmYQmbFb.js";
|
|
12
12
|
import "./logging-CyKaqCo_.js";
|
|
13
13
|
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-Bx2VKsnp.js";
|
|
14
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
14
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Cd3YXDs1.js";
|
|
15
15
|
import { randomUUID } from "node:crypto";
|
|
16
16
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
17
17
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -4,7 +4,7 @@ import { d as defaultRuntime, nt as danger, rt as info, s as logInfo, st as succ
|
|
|
4
4
|
import "./model-selection-Cb6822pn.js";
|
|
5
5
|
import "./github-copilot-token-DZwwYztr.js";
|
|
6
6
|
import { B as readWebSelfId, I as logoutWeb, M as resolveWhatsAppAccount, W as webAuthExists, n as loadConfig } from "./config-Ejc5JKGl.js";
|
|
7
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Czep-Q05.js";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -7,7 +7,7 @@ import "./manifest-registry-C1guImLt.js";
|
|
|
7
7
|
import { i as loadConfig } from "./config-B4-Vvu6M.js";
|
|
8
8
|
import "./logging-fywhKCmE.js";
|
|
9
9
|
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-CV0l_2nh.js";
|
|
10
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
10
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BdTxEygK.js";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
13
13
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -6,7 +6,7 @@ import { T as resolveDefaultAgentWorkspaceDir, a as resolveAgentModelPrimary, c
|
|
|
6
6
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-B7fLZnzR.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-EhM2JAQo.js";
|
|
8
8
|
import { _ as parseDurationMs, i as loadConfig, o as readConfigFileSnapshot } from "./config-B4-Vvu6M.js";
|
|
9
|
-
import { Bt as loadProviderUsageSummary, Ht as formatUsageWindowSummary, Ut as resolveUsageProviderId, s as runEmbeddedPiAgent, tt as describeFailoverError } from "./subagent-registry-
|
|
9
|
+
import { Bt as loadProviderUsageSummary, Ht as formatUsageWindowSummary, Ut as resolveUsageProviderId, s as runEmbeddedPiAgent, tt as describeFailoverError } from "./subagent-registry-BDMD0wwa.js";
|
|
10
10
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-Db26sT9T.js";
|
|
11
11
|
import { t as ensureOpenClawModelsJson } from "./models-config-CD9ThK3-.js";
|
|
12
12
|
import { n as loadModelCatalog } from "./model-catalog-BROGQLoP.js";
|
|
@@ -20,7 +20,7 @@ import { n as redactSecrets } from "./format-DdHUIO91.js";
|
|
|
20
20
|
import { a as mergePrimaryFallbackConfig, c as resolveModelKeysFromEntries, i as isLocalBaseUrl, l as resolveModelTarget, n as formatMs, o as normalizeAlias, r as formatTokenK, s as resolveKnownAgentId, t as ensureFlagCompatibility, u as updateConfig } from "./shared-ClwYRrNR.js";
|
|
21
21
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-DiKqBpCr.js";
|
|
22
22
|
import { n as logConfigUpdated } from "./logging-DlBaGy5C.js";
|
|
23
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
23
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-Dj1AB84U.js";
|
|
24
24
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-CorHkwvD.js";
|
|
25
25
|
import path from "node:path";
|
|
26
26
|
import fs from "node:fs/promises";
|
|
@@ -12,7 +12,7 @@ import "./config-B4-Vvu6M.js";
|
|
|
12
12
|
import "./client-gZv0X5tz.js";
|
|
13
13
|
import "./call-CeM4F1rK.js";
|
|
14
14
|
import "./message-channel-CZpVDeRr.js";
|
|
15
|
-
import "./subagent-registry-
|
|
15
|
+
import "./subagent-registry-BDMD0wwa.js";
|
|
16
16
|
import "./sessions-D-LiJehh.js";
|
|
17
17
|
import "./deliver-a9TlmfSI.js";
|
|
18
18
|
import "./plugins-bX81iDy5.js";
|
|
@@ -79,8 +79,8 @@ import "./table-BU9JaTpc.js";
|
|
|
79
79
|
import "./shared-ClwYRrNR.js";
|
|
80
80
|
import "./auth-token-DiKqBpCr.js";
|
|
81
81
|
import "./logging-DlBaGy5C.js";
|
|
82
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
83
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
82
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-Dj1AB84U.js";
|
|
83
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-BVIvm2QH.js";
|
|
84
84
|
import "./auth-health-CorHkwvD.js";
|
|
85
85
|
|
|
86
86
|
//#region src/cli/models-cli.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-B4BZAPZh.js";
|
|
2
2
|
import { B as theme, C as shortenHomePath, R as colorize, z as isRich$1 } from "./utils-CFnnyoTP.js";
|
|
3
3
|
import "./pi-embedded-helpers-DwIwt1C1.js";
|
|
4
|
-
import { Ft as resolveUsageProviderId, Mt as loadProviderUsageSummary, Pt as formatUsageWindowSummary, Y as describeFailoverError, f as runEmbeddedPiAgent } from "./reply-
|
|
4
|
+
import { Ft as resolveUsageProviderId, Mt as loadProviderUsageSummary, Pt as formatUsageWindowSummary, Y as describeFailoverError, f as runEmbeddedPiAgent } from "./reply-BDmopaJJ.js";
|
|
5
5
|
import { d as defaultRuntime } from "./subsystem-azPHgTb4.js";
|
|
6
6
|
import "./exec-V7mqHC8U.js";
|
|
7
7
|
import { T as resolveDefaultAgentWorkspaceDir, a as resolveAgentModelPrimary, c as resolveDefaultAgentId, i as resolveAgentModelFallbacksOverride, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-aaTVOkax.js";
|
|
@@ -85,7 +85,7 @@ import { n as redactSecrets } from "./format-DdHUIO91.js";
|
|
|
85
85
|
import { a as mergePrimaryFallbackConfig, c as resolveModelKeysFromEntries, i as isLocalBaseUrl, l as resolveModelTarget, n as formatMs, o as normalizeAlias, r as formatTokenK, s as resolveKnownAgentId, t as ensureFlagCompatibility, u as updateConfig } from "./shared-BStZBVdf.js";
|
|
86
86
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BrkUk6Tx.js";
|
|
87
87
|
import { n as logConfigUpdated } from "./logging-Bht-XWBM.js";
|
|
88
|
-
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-
|
|
88
|
+
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-Ds9Fph8L.js";
|
|
89
89
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-D1wWOKE2.js";
|
|
90
90
|
import path from "node:path";
|
|
91
91
|
import fs from "node:fs/promises";
|
|
@@ -9,8 +9,8 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-BJ-Lma1A.js";
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CVU50TYA.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-w3KJVv_J.js";
|
|
12
|
-
import { r as healthCommand } from "./health-
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { r as healthCommand } from "./health-YiTurunG.js";
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-B25eczL5.js";
|
|
14
14
|
import { $ as setKimiCodingApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setHuggingfaceApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setCloudflareAiGatewayConfig, Y as setAnthropicApiKey, Z as setGeminiApiKey, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setQianfanApiKey, b as applyOpenrouterConfig, ct as setVeniceApiKey, d as applyAuthProfileConfig, dt as setXiaomiApiKey, et as setLitellmApiKey, f as applyHuggingfaceConfig, ft as setZaiApiKey, g as applyMoonshotConfig, it as setOpenrouterApiKey, l as applyMinimaxConfig, lt as setVercelAiGatewayApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMoonshotApiKey, o as applyMinimaxApiConfigCn, ot as setSyntheticApiKey, r as applyOpencodeZenConfig, rt as setOpencodeZenApiKey, st as setTogetherApiKey, t as buildTokenProfileId, tt as setMinimaxApiKey, ut as setXaiApiKey, w as applySyntheticConfig } from "./auth-token-DiKqBpCr.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-DlBaGy5C.js";
|
|
16
16
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-DlTku0W1.js";
|
|
@@ -11,8 +11,8 @@ import { t as createClackPrompter } from "./clack-prompter-BVIKoybI.js";
|
|
|
11
11
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-B5iGPA1t.js";
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-X4GdkNmX.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-DZTikQY3.js";
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
14
|
+
import { r as healthCommand } from "./health-b_mLWi9d.js";
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-Cg_0HfFN.js";
|
|
16
16
|
import { $ as setKimiCodingApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setHuggingfaceApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setCloudflareAiGatewayConfig, Y as setAnthropicApiKey, Z as setGeminiApiKey, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setQianfanApiKey, b as applyOpenrouterConfig, ct as setVeniceApiKey, d as applyAuthProfileConfig, dt as setXiaomiApiKey, et as setLitellmApiKey, f as applyHuggingfaceConfig, ft as setZaiApiKey, g as applyMoonshotConfig, it as setOpenrouterApiKey, l as applyMinimaxConfig, lt as setVercelAiGatewayApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMoonshotApiKey, o as applyMinimaxApiConfigCn, ot as setSyntheticApiKey, r as applyOpencodeZenConfig, rt as setOpencodeZenApiKey, st as setTogetherApiKey, t as buildTokenProfileId, tt as setMinimaxApiKey, ut as setXaiApiKey, w as applySyntheticConfig } from "./auth-token-BrkUk6Tx.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-Bht-XWBM.js";
|
|
18
18
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-xgr7BIua.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { kt as loadOpenClawPlugins } from "./reply-
|
|
2
|
+
import { kt as loadOpenClawPlugins } from "./reply-BDmopaJJ.js";
|
|
3
3
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-CZ6OwgSB.js";
|
|
4
4
|
import { S as listChatChannels, b as formatChannelSelectionLine, t as createSubsystemLogger, y as formatChannelPrimerLine } from "./subsystem-azPHgTb4.js";
|
|
5
5
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-aaTVOkax.js";
|
|
@@ -3,7 +3,7 @@ import { D as listChatChannels, T as formatChannelSelectionLine, o as createSubs
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-9CR_a0e_.js";
|
|
4
4
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-BGiG_JcT.js";
|
|
5
5
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-D47kRViK.js";
|
|
6
|
-
import { h as loadOpenClawPlugins } from "./subagent-registry-
|
|
6
|
+
import { h as loadOpenClawPlugins } from "./subagent-registry-BDMD0wwa.js";
|
|
7
7
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-bX81iDy5.js";
|
|
8
8
|
import { t as formatDocsLink } from "./links-D3o1vwcz.js";
|
|
9
9
|
import { r as listChannelPluginCatalogEntries } from "./catalog-D8aoRgov.js";
|
|
@@ -223,7 +223,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
223
223
|
const { ensureAuthProfileStore } = await import("./auth-profiles-BJAgrkeJ.js").then((n) => n.t);
|
|
224
224
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-BAg1EsYm.js").then((n) => n.t);
|
|
225
225
|
const { promptCustomApiConfig } = await import("./onboard-custom-UVH5Bu2c.js").then((n) => n.r);
|
|
226
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
226
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-ylL-9GEL.js").then((n) => n.t);
|
|
227
227
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-z-KV0yCm.js").then((n) => n.i);
|
|
228
228
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
229
229
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -276,7 +276,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
276
276
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
277
277
|
else {
|
|
278
278
|
const { listChannelPlugins } = await import("./plugins-bX81iDy5.js").then((n) => n.i);
|
|
279
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
279
|
+
const { setupChannels } = await import("./onboard-channels-CtXKuqUQ.js").then((n) => n.n);
|
|
280
280
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
281
281
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
282
282
|
allowSignalInstall: true,
|
|
@@ -302,7 +302,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
302
302
|
mode
|
|
303
303
|
});
|
|
304
304
|
await writeConfigFile(nextConfig);
|
|
305
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
305
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CAtVy697.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -225,7 +225,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
225
225
|
const { ensureAuthProfileStore } = await import("./model-selection-DYzpspqj.js").then((n) => n.st);
|
|
226
226
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-CRtXxfkf.js").then((n) => n.t);
|
|
227
227
|
const { promptCustomApiConfig } = await import("./onboard-custom-CMGLzLp4.js").then((n) => n.r);
|
|
228
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
228
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-D2sIkiFk.js").then((n) => n.t);
|
|
229
229
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-CYNMrcGw.js").then((n) => n.i);
|
|
230
230
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
231
231
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -278,7 +278,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
278
278
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
279
279
|
else {
|
|
280
280
|
const { listChannelPlugins } = await import("./plugins-NvLIH9mn.js").then((n) => n.i);
|
|
281
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
281
|
+
const { setupChannels } = await import("./onboard-channels-CgtE4eC-.js").then((n) => n.n);
|
|
282
282
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
283
283
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
284
284
|
allowSignalInstall: true,
|
|
@@ -304,7 +304,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
304
304
|
mode
|
|
305
305
|
});
|
|
306
306
|
await writeConfigFile(nextConfig);
|
|
307
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
307
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-BHa4InE5.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-B4BZAPZh.js";
|
|
2
2
|
import { b as resolveUserPath, g as pathExists } from "./utils-CFnnyoTP.js";
|
|
3
3
|
import "./pi-embedded-helpers-DwIwt1C1.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-BDmopaJJ.js";
|
|
5
5
|
import { f as restoreTerminalState } from "./subsystem-azPHgTb4.js";
|
|
6
6
|
import "./exec-V7mqHC8U.js";
|
|
7
7
|
import { m as DEFAULT_BOOTSTRAP_FILENAME } from "./agent-scope-aaTVOkax.js";
|
|
@@ -76,16 +76,16 @@ import "./nodes-screen-C6Rc35Bb.js";
|
|
|
76
76
|
import "./control-service-CVqGIdhP.js";
|
|
77
77
|
import "./channel-selection-CuBUJwMM.js";
|
|
78
78
|
import "./delivery-queue-BX5ZlJ58.js";
|
|
79
|
-
import "./program-context-
|
|
79
|
+
import "./program-context-Ciy95Acu.js";
|
|
80
80
|
import "./note-DHzyZ-eO.js";
|
|
81
|
-
import { r as installCompletion } from "./completion-cli-
|
|
81
|
+
import { r as installCompletion } from "./completion-cli-pVyXrfWL.js";
|
|
82
82
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-B5iGPA1t.js";
|
|
83
83
|
import { r as isSystemdUserServiceAvailable } from "./systemd-X4GdkNmX.js";
|
|
84
84
|
import { t as resolveGatewayService } from "./service-DZTikQY3.js";
|
|
85
|
-
import { r as healthCommand } from "./health-
|
|
85
|
+
import { r as healthCommand } from "./health-b_mLWi9d.js";
|
|
86
86
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BvFVs4xo.js";
|
|
87
87
|
import { t as formatHealthCheckFailure } from "./health-format-PRKB0nJ1.js";
|
|
88
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
88
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DtusY-sy.js";
|
|
89
89
|
import { t as runTui } from "./tui-BmldZRMh.js";
|
|
90
90
|
import os from "node:os";
|
|
91
91
|
import path from "node:path";
|
|
@@ -13,7 +13,7 @@ import "./config-B4-Vvu6M.js";
|
|
|
13
13
|
import "./client-gZv0X5tz.js";
|
|
14
14
|
import "./call-CeM4F1rK.js";
|
|
15
15
|
import "./message-channel-CZpVDeRr.js";
|
|
16
|
-
import "./subagent-registry-
|
|
16
|
+
import "./subagent-registry-BDMD0wwa.js";
|
|
17
17
|
import "./sessions-D-LiJehh.js";
|
|
18
18
|
import "./deliver-a9TlmfSI.js";
|
|
19
19
|
import "./plugins-bX81iDy5.js";
|
|
@@ -74,17 +74,17 @@ import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks,
|
|
|
74
74
|
import "./prompt-style-Ws1ofeXe.js";
|
|
75
75
|
import "./pairing-labels-DKrwGHA2.js";
|
|
76
76
|
import "./note-Ct8WrG6i.js";
|
|
77
|
-
import "./register.subclis-
|
|
78
|
-
import "./command-registry-
|
|
77
|
+
import "./register.subclis-BdKnlox-.js";
|
|
78
|
+
import "./command-registry-DZ6A7EvX.js";
|
|
79
79
|
import "./program-context-D2pNx-CZ.js";
|
|
80
|
-
import { r as installCompletion } from "./completion-cli-
|
|
80
|
+
import { r as installCompletion } from "./completion-cli-BEl72Pb7.js";
|
|
81
81
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-EMOzgA87.js";
|
|
82
82
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CVU50TYA.js";
|
|
83
83
|
import { t as resolveGatewayService } from "./service-w3KJVv_J.js";
|
|
84
|
-
import { r as healthCommand } from "./health-
|
|
84
|
+
import { r as healthCommand } from "./health-YiTurunG.js";
|
|
85
85
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DTeWMjr_.js";
|
|
86
86
|
import { t as formatHealthCheckFailure } from "./health-format-DywI-BlJ.js";
|
|
87
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
87
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-Ba4vSsGN.js";
|
|
88
88
|
import { t as runTui } from "./tui-D-iLwVbO.js";
|
|
89
89
|
import os from "node:os";
|
|
90
90
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
function createDefaultDeps() {
|
|
3
3
|
return {
|
|
4
4
|
sendMessageWhatsApp: async (...args) => {
|
|
5
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
5
|
+
const { sendMessageWhatsApp } = await import("./web-DC12keRE.js");
|
|
6
6
|
return await sendMessageWhatsApp(...args);
|
|
7
7
|
},
|
|
8
8
|
sendMessageTelegram: async (...args) => {
|
|
@@ -8,7 +8,7 @@ import { y as isPidAlive } from "./model-auth-BBAJ-iuC.js";
|
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-BmTFj7S4.js";
|
|
9
9
|
import { A as resolveWhatsAppAccount, _ as resolveEnableState, a as writeConfigFile, d as parseDurationMs, g as normalizePluginsConfig, n as loadConfig, p as loadPluginManifestRegistry, s as parseByteSize, t as createConfigIO, v as resolveMemorySlotDecision } from "./config-BA8Xs1ek.js";
|
|
10
10
|
import { n as resolveSignalAccount } from "./accounts-DyinIlq4.js";
|
|
11
|
-
import { A as DEFAULT_OPENCLAW_BROWSER_ENABLED, D as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, E as DEFAULT_AI_SNAPSHOT_MAX_CHARS, O as DEFAULT_BROWSER_EVALUATE_ENABLED, T as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, j as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, k as DEFAULT_OPENCLAW_BROWSER_COLOR, l as createTargetViaCdp, m as fetchJson, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as ensureChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, x as isLoopbackHost, y as stopChromeExtensionRelayServer } from "./chrome-
|
|
11
|
+
import { A as DEFAULT_OPENCLAW_BROWSER_ENABLED, D as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, E as DEFAULT_AI_SNAPSHOT_MAX_CHARS, O as DEFAULT_BROWSER_EVALUATE_ENABLED, T as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, j as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, k as DEFAULT_OPENCLAW_BROWSER_COLOR, l as createTargetViaCdp, m as fetchJson, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as ensureChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, x as isLoopbackHost, y as stopChromeExtensionRelayServer } from "./chrome-DBVAzVv0.js";
|
|
12
12
|
import { a as parseFrontmatterBlock, c as resolveRuntimePlatform, i as resolveOpenClawManifestBlock, n as normalizeStringList, o as hasBinary, r as parseFrontmatterBool, s as isConfigPathTruthyWithDefaults, t as getFrontmatterString } from "./frontmatter-Bk_vZq47.js";
|
|
13
13
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-8mFQsaX1.js";
|
|
14
14
|
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-B6Y3aOaY.js";
|
|
@@ -1465,7 +1465,7 @@ function isModuleNotFoundError(err) {
|
|
|
1465
1465
|
}
|
|
1466
1466
|
async function loadPwAiModule(mode) {
|
|
1467
1467
|
try {
|
|
1468
|
-
return await import("./pw-ai-
|
|
1468
|
+
return await import("./pw-ai-lO0pe-hZ.js");
|
|
1469
1469
|
} catch (err) {
|
|
1470
1470
|
if (mode === "soft") return null;
|
|
1471
1471
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3835,11 +3835,11 @@ function createProfileContext(opts, profile) {
|
|
|
3835
3835
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
3836
3836
|
const profileState = getProfileState();
|
|
3837
3837
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3838
|
-
await (await import("./pw-ai-
|
|
3838
|
+
await (await import("./pw-ai-lO0pe-hZ.js")).closePlaywrightBrowserConnection();
|
|
3839
3839
|
} catch {}
|
|
3840
3840
|
if (profileState.running) await stopRunningBrowser();
|
|
3841
3841
|
try {
|
|
3842
|
-
await (await import("./pw-ai-
|
|
3842
|
+
await (await import("./pw-ai-lO0pe-hZ.js")).closePlaywrightBrowserConnection();
|
|
3843
3843
|
} catch {}
|
|
3844
3844
|
if (!fs$1.existsSync(userDataDir)) return {
|
|
3845
3845
|
moved: false,
|
|
@@ -5,7 +5,7 @@ import { G as isPidAlive, M as parseBooleanValue } from "./model-selection-Cb682
|
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-qUVxzqYm.js";
|
|
6
6
|
import { C as detectMime, G as resolveSlackReplyToMode, I as normalizeChannelId, J as normalizeChatType, R as normalizeWhatsAppTarget, V as resolveTelegramAccount, W as resolveSlackAccount, X as resolveDiscordAccount, _ as normalizeMessageChannel, a as resizeToJpeg, g as listDeliverableMessageChannels, n as getImageMetadata, w as extensionForMime } from "./image-ops-B9jnR447.js";
|
|
7
7
|
import { M as resolveWhatsAppAccount, a as writeConfigFile, b as resolveMemorySlotDecision, d as parseDurationMs, g as MANIFEST_KEY, h as LEGACY_MANIFEST_KEYS, n as loadConfig, p as loadPluginManifestRegistry, s as parseByteSize, t as createConfigIO, v as normalizePluginsConfig, y as resolveEnableState } from "./config-Ejc5JKGl.js";
|
|
8
|
-
import { A as DEFAULT_OPENCLAW_BROWSER_ENABLED, D as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, E as DEFAULT_AI_SNAPSHOT_MAX_CHARS, O as DEFAULT_BROWSER_EVALUATE_ENABLED, T as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, j as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, k as DEFAULT_OPENCLAW_BROWSER_COLOR, l as createTargetViaCdp, m as fetchJson, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as ensureChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, x as isLoopbackHost, y as stopChromeExtensionRelayServer } from "./chrome-
|
|
8
|
+
import { A as DEFAULT_OPENCLAW_BROWSER_ENABLED, D as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, E as DEFAULT_AI_SNAPSHOT_MAX_CHARS, O as DEFAULT_BROWSER_EVALUATE_ENABLED, T as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, j as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, k as DEFAULT_OPENCLAW_BROWSER_COLOR, l as createTargetViaCdp, m as fetchJson, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as ensureChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, x as isLoopbackHost, y as stopChromeExtensionRelayServer } from "./chrome-BR14_3nU.js";
|
|
9
9
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-B8y79jwX.js";
|
|
10
10
|
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CdHoK26P.js";
|
|
11
11
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BiU0SOrl.js";
|
|
@@ -1708,7 +1708,7 @@ function isModuleNotFoundError(err) {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
async function loadPwAiModule(mode) {
|
|
1710
1710
|
try {
|
|
1711
|
-
return await import("./pw-ai-
|
|
1711
|
+
return await import("./pw-ai-QsOEPS_1.js");
|
|
1712
1712
|
} catch (err) {
|
|
1713
1713
|
if (mode === "soft") return null;
|
|
1714
1714
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -4135,11 +4135,11 @@ function createProfileContext(opts, profile) {
|
|
|
4135
4135
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
4136
4136
|
const profileState = getProfileState();
|
|
4137
4137
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
4138
|
-
await (await import("./pw-ai-
|
|
4138
|
+
await (await import("./pw-ai-QsOEPS_1.js")).closePlaywrightBrowserConnection();
|
|
4139
4139
|
} catch {}
|
|
4140
4140
|
if (profileState.running) await stopRunningBrowser();
|
|
4141
4141
|
try {
|
|
4142
|
-
await (await import("./pw-ai-
|
|
4142
|
+
await (await import("./pw-ai-QsOEPS_1.js")).closePlaywrightBrowserConnection();
|
|
4143
4143
|
} catch {}
|
|
4144
4144
|
if (!fs.existsSync(userDataDir)) return {
|
|
4145
4145
|
moved: false,
|
|
@@ -5,17 +5,17 @@ import { $ as sliceUtf16Safe, A as matchPluginCommand, B as isPlainObject, C as
|
|
|
5
5
|
import { B as markAuthProfileGood, C as resolveApiKeyForProvider, E as getShellPathFromLoginShell, F as isProfileInCooldown, H as resolveAuthStorePathForDisplay, I as markAuthProfileFailure, J as DEFAULT_CONTEXT_TOKENS, K as normalizeSecretInput, L as markAuthProfileUsed, M as parseBooleanValue$1, O as resolveShellEnvFallbackTimeoutMs, P as resolveAuthProfileOrder, R as resolveApiKeyForProfile, S as requireApiKey, T as resolveModelAuthMode, U as resolveOpenClawAgentDir, V as ensureAuthProfileStore, W as withFileLock$1, X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, a as modelKey, b as getApiKeyForModel, d as resolveModelRefFromString, f as resolveThinkingDefault, i as isCliProvider, j as isTruthyEnvValue, l as resolveConfiguredModelRef, n as buildConfiguredAllowlistKeys, o as normalizeModelRef, q as resolveAuthProfileDisplayLabel, r as buildModelAliasIndex, s as normalizeProviderId, t as buildAllowedModelSet, u as resolveDefaultModelForAgent, v as OLLAMA_NATIVE_BASE_URL, w as resolveEnvApiKey, x as getCustomProviderApiKey, y as createOllamaStreamFn, z as listProfilesForProvider } from "./model-selection-Cb6822pn.js";
|
|
6
6
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-DZwwYztr.js";
|
|
7
7
|
import { n as resolveCliName, t as formatCliCommand } from "./command-format-qUVxzqYm.js";
|
|
8
|
-
import { A as SILENT_REPLY_TOKEN, C as parseReplyDirectives, D as getGlobalHookRunner, E as parseInlineDirectives$1, O as initializeGlobalHookRunner, S as throwIfAborted, T as splitMediaFromOutput, _ as streamSignalEvents, a as applyReplyThreading, b as normalizeChannelTargetInput, c as shouldSuppressMessagingToolReplies, d as sendMessageSignal, f as sendReadReceiptSignal, g as signalRpcRequest, h as signalCheck, i as applyReplyTagsToPayload, j as isSilentReplyText, k as HEARTBEAT_TOKEN, l as createReplyToModeFilterForChannel, m as resolveSignalRpcContext, o as filterMessagingToolDuplicates, p as sendTypingSignal, r as normalizeReplyPayloadsForDelivery, s as isRenderablePayload, t as deliverOutboundPayloads, u as resolveReplyToMode, v as resolveOutboundAttachmentFromUrl, w as MEDIA_TOKEN_RE, x as normalizeTargetForProvider, y as buildTargetResolverSignature } from "./deliver-
|
|
8
|
+
import { A as SILENT_REPLY_TOKEN, C as parseReplyDirectives, D as getGlobalHookRunner, E as parseInlineDirectives$1, O as initializeGlobalHookRunner, S as throwIfAborted, T as splitMediaFromOutput, _ as streamSignalEvents, a as applyReplyThreading, b as normalizeChannelTargetInput, c as shouldSuppressMessagingToolReplies, d as sendMessageSignal, f as sendReadReceiptSignal, g as signalRpcRequest, h as signalCheck, i as applyReplyTagsToPayload, j as isSilentReplyText, k as HEARTBEAT_TOKEN, l as createReplyToModeFilterForChannel, m as resolveSignalRpcContext, o as filterMessagingToolDuplicates, p as sendTypingSignal, r as normalizeReplyPayloadsForDelivery, s as isRenderablePayload, t as deliverOutboundPayloads, u as resolveReplyToMode, v as resolveOutboundAttachmentFromUrl, w as MEDIA_TOKEN_RE, x as normalizeTargetForProvider, y as buildTargetResolverSignature } from "./deliver-DOrBYvPC.js";
|
|
9
9
|
import { A as normalizeMimeType$1, B as listTelegramAccountIds, C as detectMime, D as isAudioFileName, E as imageMimeFromFormat, F as listChannelPlugins, H as resolveTelegramToken, I as normalizeChannelId$1, J as normalizeChatType, K as resolveSlackAppToken, L as isWhatsAppGroupJid, M as maxBytesForKind, N as mediaKindFromMime, O as isGifMedia, P as getChannelPlugin, R as normalizeWhatsAppTarget, S as GATEWAY_CLIENT_NAMES, T as getFileExtension, U as listBindings, V as resolveTelegramAccount, W as resolveSlackAccount, X as resolveDiscordAccount, Y as listEnabledDiscordAccounts, Z as normalizeDiscordToken, _ as normalizeMessageChannel, a as resizeToJpeg, b as GATEWAY_CLIENT_IDS, f as INTERNAL_MESSAGE_CHANNEL, g as listDeliverableMessageChannels, h as isMarkdownCapableMessageChannel, j as MAX_IMAGE_BYTES, l as isBlockedHostname, m as isInternalMessageChannel, n as getImageMetadata, o as SsrFBlockedError, p as isDeliverableMessageChannel, q as resolveSlackBotToken, u as isPrivateIpAddress, v as resolveGatewayMessageChannel, w as extensionForMime, x as GATEWAY_CLIENT_MODES, y as resolveMessageChannel, z as listEnabledTelegramAccounts } from "./image-ops-B9jnR447.js";
|
|
10
10
|
import { A as resolveAgentMaxConcurrent, B as readWebSelfId, C as setConfigOverride, D as setConfigValueAtPath, E as parseConfigPath, F as logWebSelfId, I as logoutWeb, M as resolveWhatsAppAccount, O as unsetConfigValueAtPath, P as getWebAuthAgeMs, S as resetConfigOverrides, T as getConfigValueAtPath, W as webAuthExists, _ as applyTestPluginDefaults, a as writeConfigFile, b as resolveMemorySlotDecision, c as TELEGRAM_COMMAND_NAME_PATTERN, d as parseDurationMs, f as validateJsonSchemaValue, i as resolveConfigSnapshotHash, j as VERSION, k as isSafeExecutableValue, l as normalizeTelegramCommandName, m as discoverOpenClawPlugins, n as loadConfig, o as validateConfigObjectWithPlugins, p as loadPluginManifestRegistry, r as readConfigFileSnapshot, u as resolveTelegramCustomCommands, v as normalizePluginsConfig, w as unsetConfigOverride, x as getConfigOverrides, y as resolveEnableState } from "./config-Ejc5JKGl.js";
|
|
11
|
-
import { $t as buildPluginToolGroups, A as isBillingAssistantError, At as createBrowserRouteContext, B as isTransientHttpError, Bt as buildWorkspaceSkillSnapshot, C as BILLING_ERROR_USER_MESSAGE, Ct as listChannelDocks, D as formatRawAssistantErrorForUi, Dt as resolveChannelGroupToolsPolicy, E as formatBillingErrorMessage, Et as resolveChannelGroupRequireMention, F as isFailoverErrorMessage, Ft as saveMediaBuffer, G as resolveSandboxContext, Gt as assertSandboxPath, H as parseImageSizeError, Ht as resolveSkillsPromptForRun, I as isLikelyContextOverflowError, It as DEFAULT_UPLOAD_DIR, J as appendAssistantMessageToSessionTranscript, Jt as applySkillEnvOverridesFromSnapshot, K as resolveSandboxRuntimeStatus, Kt as resolveSandboxedMediaSource, L as isRateLimitAssistantError, Lt as resolvePathsWithinRoot, M as isCompactionFailureError, Mt as resolveBrowserConfig, N as isContextOverflowError, Nt as resolveProfile, O as getApiErrorPayloadFingerprint, Ot as resolveConversationLabel, P as isFailoverAssistantError, Pt as getMediaDir, Q as recordSessionMetaFromInbound, Qt as applyOwnerOnlyToolPolicy, R as isRawApiErrorPayload, Rt as getBridgeAuthForPort, S as isGoogleModelApi, St as getChannelDock, T as formatAssistantErrorText, Tt as resolveChannelGroupPolicy, U as sanitizeUserFacingText, Ut as resolvePluginSkillDirs, V as parseImageDimensionError, Vt as loadWorkspaceSkillEntries, W as ensureSandboxWorkspaceForSession, Wt as assertMediaNotDataUrl, X as loadSessionStore, Xt as resolveBrowserControlAuth, Yt as ensureBrowserControlAuth, Z as readSessionUpdatedAt, Zt as resolveSandboxConfigForAgent, _ as sanitizeSessionMessagesImages, _t as DEFAULT_RESET_TRIGGERS, a as formatXHighModelHint, an as resolveToolProfilePolicy, at as deliveryContextFromSession, b as downgradeOpenAIReasoningBlocks, bt as resolveMainSessionKey, c as normalizeReasoningLevel, cn as matchesAnyGlobPattern, ct as normalizeDeliveryContext, d as normalizeVerboseLevel, dn as resolveBootstrapMaxChars, dt as resolveSessionKey$1, en as collectExplicitAllowlist, et as updateLastRoute, f as resolveResponseUsageMode, fn as resolveBootstrapTotalMaxChars, ft as evaluateSessionFreshness, g as normalizeTextForComparison, gt as resolveThreadFlag, h as isMessagingToolDuplicateNormalized, hn as resolveSignalAccount, ht as resolveSessionResetType, i as formatThinkingLevels, in as normalizeToolName, it as resolveCacheTtlMs$1, j as isCloudCodeAssistFormatError, jt as registerBrowserRoutes, k as isAuthAssistantError, kt as resolveGroupSessionKey, l as normalizeThinkLevel, ln as buildBootstrapContextFiles, lt as normalizeSessionDeliveryFields, mn as listEnabledSignalAccounts, mt as resolveSessionResetPolicy, n as validateGeminiTurns, nn as expandToolGroups, nt as updateSessionStoreEntry, o as listThinkingLevels, on as stripPluginOnlyAllowlist, ot as deliveryContextKey, p as supportsXHighThinking, pn as sanitizeGoogleTurnOrdering, pt as resolveChannelResetConfig, q as extractDeliveryInfo, qt as applySkillEnvOverrides, r as pickFallbackThinkingLevel, rn as mergeAlsoAllowPolicy, rt as isCacheEnabled, s as normalizeElevatedLevel, sn as compileGlobPatterns, st as mergeDeliveryContext, t as validateAnthropicTurns, tn as expandPolicyWithPluginGroups, tt as updateSessionStore, u as normalizeUsageDisplay, un as ensureSessionHeader, ut as acquireSessionWriteLock, v as extractToolCallsFromAssistant, vt as resolveFreshSessionTotalTokens, w as classifyFailoverReason, wt as resolveIMessageAccount, x as isAntigravityClaude, xt as deriveSessionMetaPatch, y as extractToolResultId, yt as canonicalizeMainSessionAlias, z as isTimeoutErrorMessage, zt as buildWorkspaceSkillCommandSpecs } from "./pi-embedded-helpers-
|
|
11
|
+
import { $t as buildPluginToolGroups, A as isBillingAssistantError, At as createBrowserRouteContext, B as isTransientHttpError, Bt as buildWorkspaceSkillSnapshot, C as BILLING_ERROR_USER_MESSAGE, Ct as listChannelDocks, D as formatRawAssistantErrorForUi, Dt as resolveChannelGroupToolsPolicy, E as formatBillingErrorMessage, Et as resolveChannelGroupRequireMention, F as isFailoverErrorMessage, Ft as saveMediaBuffer, G as resolveSandboxContext, Gt as assertSandboxPath, H as parseImageSizeError, Ht as resolveSkillsPromptForRun, I as isLikelyContextOverflowError, It as DEFAULT_UPLOAD_DIR, J as appendAssistantMessageToSessionTranscript, Jt as applySkillEnvOverridesFromSnapshot, K as resolveSandboxRuntimeStatus, Kt as resolveSandboxedMediaSource, L as isRateLimitAssistantError, Lt as resolvePathsWithinRoot, M as isCompactionFailureError, Mt as resolveBrowserConfig, N as isContextOverflowError, Nt as resolveProfile, O as getApiErrorPayloadFingerprint, Ot as resolveConversationLabel, P as isFailoverAssistantError, Pt as getMediaDir, Q as recordSessionMetaFromInbound, Qt as applyOwnerOnlyToolPolicy, R as isRawApiErrorPayload, Rt as getBridgeAuthForPort, S as isGoogleModelApi, St as getChannelDock, T as formatAssistantErrorText, Tt as resolveChannelGroupPolicy, U as sanitizeUserFacingText, Ut as resolvePluginSkillDirs, V as parseImageDimensionError, Vt as loadWorkspaceSkillEntries, W as ensureSandboxWorkspaceForSession, Wt as assertMediaNotDataUrl, X as loadSessionStore, Xt as resolveBrowserControlAuth, Yt as ensureBrowserControlAuth, Z as readSessionUpdatedAt, Zt as resolveSandboxConfigForAgent, _ as sanitizeSessionMessagesImages, _t as DEFAULT_RESET_TRIGGERS, a as formatXHighModelHint, an as resolveToolProfilePolicy, at as deliveryContextFromSession, b as downgradeOpenAIReasoningBlocks, bt as resolveMainSessionKey, c as normalizeReasoningLevel, cn as matchesAnyGlobPattern, ct as normalizeDeliveryContext, d as normalizeVerboseLevel, dn as resolveBootstrapMaxChars, dt as resolveSessionKey$1, en as collectExplicitAllowlist, et as updateLastRoute, f as resolveResponseUsageMode, fn as resolveBootstrapTotalMaxChars, ft as evaluateSessionFreshness, g as normalizeTextForComparison, gt as resolveThreadFlag, h as isMessagingToolDuplicateNormalized, hn as resolveSignalAccount, ht as resolveSessionResetType, i as formatThinkingLevels, in as normalizeToolName, it as resolveCacheTtlMs$1, j as isCloudCodeAssistFormatError, jt as registerBrowserRoutes, k as isAuthAssistantError, kt as resolveGroupSessionKey, l as normalizeThinkLevel, ln as buildBootstrapContextFiles, lt as normalizeSessionDeliveryFields, mn as listEnabledSignalAccounts, mt as resolveSessionResetPolicy, n as validateGeminiTurns, nn as expandToolGroups, nt as updateSessionStoreEntry, o as listThinkingLevels, on as stripPluginOnlyAllowlist, ot as deliveryContextKey, p as supportsXHighThinking, pn as sanitizeGoogleTurnOrdering, pt as resolveChannelResetConfig, q as extractDeliveryInfo, qt as applySkillEnvOverrides, r as pickFallbackThinkingLevel, rn as mergeAlsoAllowPolicy, rt as isCacheEnabled, s as normalizeElevatedLevel, sn as compileGlobPatterns, st as mergeDeliveryContext, t as validateAnthropicTurns, tn as expandPolicyWithPluginGroups, tt as updateSessionStore, u as normalizeUsageDisplay, un as ensureSessionHeader, ut as acquireSessionWriteLock, v as extractToolCallsFromAssistant, vt as resolveFreshSessionTotalTokens, w as classifyFailoverReason, wt as resolveIMessageAccount, x as isAntigravityClaude, xt as deriveSessionMetaPatch, y as extractToolResultId, yt as canonicalizeMainSessionAlias, z as isTimeoutErrorMessage, zt as buildWorkspaceSkillCommandSpecs } from "./pi-embedded-helpers-D3YxFr03.js";
|
|
12
12
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DWTTaAgY.js";
|
|
13
|
-
import { C as pickPrimaryTailnetIPv4, E as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as pickPrimaryLanIPv4, b as rawDataToString, v as ensureChromeExtensionRelayServer } from "./chrome-
|
|
13
|
+
import { C as pickPrimaryTailnetIPv4, E as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as pickPrimaryLanIPv4, b as rawDataToString, v as ensureChromeExtensionRelayServer } from "./chrome-BR14_3nU.js";
|
|
14
14
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-B8y79jwX.js";
|
|
15
15
|
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath } from "./paths-CdHoK26P.js";
|
|
16
16
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BiU0SOrl.js";
|
|
17
17
|
import { n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-IRIIkjuN.js";
|
|
18
|
-
import { _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as ensureOpenClawModelsJson, y as resolveToolDisplay } from "./image-
|
|
18
|
+
import { _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as ensureOpenClawModelsJson, y as resolveToolDisplay } from "./image-CIO7-OG5.js";
|
|
19
19
|
import { i as resolveMemorySearchConfig, n as resolveRetryConfig, r as retryAsync } from "./manager-CyBrtpKf.js";
|
|
20
20
|
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-CUiUMvKy.js";
|
|
21
21
|
import { t as redactSensitiveText } from "./redact-DO22U0Pj.js";
|
|
@@ -24,7 +24,7 @@ import { _ as findFenceSpanAt, a as loadWebMedia, c as resolveMarkdownTableMode,
|
|
|
24
24
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CmZi0_-L.js";
|
|
25
25
|
import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-CE6hQpN5.js";
|
|
26
26
|
import { a as normalizePollDurationHours, i as convertMarkdownTables, o as normalizePollInput, s as renderMarkdownWithMarkers, t as getActiveWebListener } from "./active-listener-B5CpzLkd.js";
|
|
27
|
-
import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-
|
|
27
|
+
import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-DED-FFOX.js";
|
|
28
28
|
import { t as resolveFetch } from "./fetch-DvufHSTX.js";
|
|
29
29
|
import { t as makeProxyFetch } from "./proxy-_LH9fwZb.js";
|
|
30
30
|
import { createRequire } from "node:module";
|
|
@@ -47,7 +47,7 @@ import AjvPkg from "ajv";
|
|
|
47
47
|
import process$1 from "node:process";
|
|
48
48
|
import * as net$1 from "node:net";
|
|
49
49
|
import { createServer } from "node:http";
|
|
50
|
-
import WebSocket, { WebSocket
|
|
50
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
51
51
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
52
52
|
import { createJiti } from "jiti";
|
|
53
53
|
import { Type } from "@sinclair/typebox";
|
|
@@ -7260,7 +7260,7 @@ var GatewayClient = class {
|
|
|
7260
7260
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
7261
7261
|
});
|
|
7262
7262
|
}
|
|
7263
|
-
this.ws = new WebSocket
|
|
7263
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
7264
7264
|
this.ws.on("open", () => {
|
|
7265
7265
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
7266
7266
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -7463,7 +7463,7 @@ var GatewayClient = class {
|
|
|
7463
7463
|
return null;
|
|
7464
7464
|
}
|
|
7465
7465
|
async request(method, params, opts) {
|
|
7466
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
7466
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
7467
7467
|
const id = randomUUID();
|
|
7468
7468
|
const frame = {
|
|
7469
7469
|
type: "req",
|
|
@@ -8548,7 +8548,7 @@ async function routeReply(params) {
|
|
|
8548
8548
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
8549
8549
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
8550
8550
|
try {
|
|
8551
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
8551
|
+
const { deliverOutboundPayloads } = await import("./deliver-DOrBYvPC.js").then((n) => n.n);
|
|
8552
8552
|
return {
|
|
8553
8553
|
ok: true,
|
|
8554
8554
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -40005,7 +40005,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
40005
40005
|
return;
|
|
40006
40006
|
}
|
|
40007
40007
|
try {
|
|
40008
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
40008
|
+
const { deliverOutboundPayloads } = await import("./deliver-DOrBYvPC.js").then((n) => n.n);
|
|
40009
40009
|
await deliverOutboundPayloads({
|
|
40010
40010
|
cfg: params.cfg,
|
|
40011
40011
|
channel,
|
|
@@ -45656,7 +45656,7 @@ async function describeStickerImage(params) {
|
|
|
45656
45656
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
45657
45657
|
try {
|
|
45658
45658
|
const buffer = await fs$1.readFile(imagePath);
|
|
45659
|
-
const { describeImageWithModel } = await import("./image-
|
|
45659
|
+
const { describeImageWithModel } = await import("./image-CIO7-OG5.js").then((n) => n.n);
|
|
45660
45660
|
return (await describeImageWithModel({
|
|
45661
45661
|
buffer,
|
|
45662
45662
|
fileName: "sticker.webp",
|
|
@@ -46018,7 +46018,7 @@ function createWhatsAppLoginTool() {
|
|
|
46018
46018
|
force: Type.Optional(Type.Boolean())
|
|
46019
46019
|
}),
|
|
46020
46020
|
execute: async (_toolCallId, args) => {
|
|
46021
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
46021
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-huaRzzeI.js");
|
|
46022
46022
|
if ((args?.action ?? "start") === "wait") {
|
|
46023
46023
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
46024
46024
|
return {
|
|
@@ -47824,7 +47824,7 @@ async function preflightDiscordMessage(params) {
|
|
|
47824
47824
|
let preflightTranscript;
|
|
47825
47825
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
47826
47826
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
47827
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
47827
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CeC5WuRi.js");
|
|
47828
47828
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
47829
47829
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
47830
47830
|
ctx: {
|
|
@@ -50597,7 +50597,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
50597
50597
|
super(options);
|
|
50598
50598
|
}
|
|
50599
50599
|
createWebSocket(url) {
|
|
50600
|
-
return new WebSocket(url, { agent });
|
|
50600
|
+
return new WebSocket$1(url, { agent });
|
|
50601
50601
|
}
|
|
50602
50602
|
}
|
|
50603
50603
|
return new ProxyGatewayPlugin();
|
|
@@ -59159,7 +59159,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
59159
59159
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
59160
59160
|
let preflightTranscript;
|
|
59161
59161
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
59162
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
59162
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CeC5WuRi.js");
|
|
59163
59163
|
preflightTranscript = await transcribeFirstAudio({
|
|
59164
59164
|
ctx: {
|
|
59165
59165
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -61235,15 +61235,15 @@ function loadWebOutbound() {
|
|
|
61235
61235
|
return webOutboundPromise;
|
|
61236
61236
|
}
|
|
61237
61237
|
function loadWebLogin() {
|
|
61238
|
-
webLoginPromise ??= import("./login-
|
|
61238
|
+
webLoginPromise ??= import("./login-CRrr9EPA.js").then((n) => n.n);
|
|
61239
61239
|
return webLoginPromise;
|
|
61240
61240
|
}
|
|
61241
61241
|
function loadWebLoginQr() {
|
|
61242
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
61242
|
+
webLoginQrPromise ??= import("./login-qr-huaRzzeI.js");
|
|
61243
61243
|
return webLoginQrPromise;
|
|
61244
61244
|
}
|
|
61245
61245
|
function loadWebChannel() {
|
|
61246
|
-
webChannelPromise ??= import("./web-
|
|
61246
|
+
webChannelPromise ??= import("./web-Bv-TtF0b.js");
|
|
61247
61247
|
return webChannelPromise;
|
|
61248
61248
|
}
|
|
61249
61249
|
function loadWhatsAppActions() {
|