openclaw-cortex 3.2.0 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{audio-preflight-DrLN-6C1.js → audio-preflight-DvPjddyW.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-DBmAGMTR.js → chrome-C-c5M24y.js} +7 -7
- package/dist/{command-registry-C2HYRZO_.js → command-registry-bnmnLUnx.js} +4 -4
- package/dist/{completion-cli-DB5qbPxk.js → completion-cli-CNWQ3fEd.js} +1 -1
- package/dist/{completion-cli-rVm9UjTQ.js → completion-cli-DkjwWQiV.js} +2 -2
- package/dist/control-ui/_app/immutable/chunks/C1foZlYx.js +1 -0
- package/dist/control-ui/_app/immutable/entry/{app.DKU3ZeOo.js → app.CrCCwjNG.js} +2 -2
- package/dist/control-ui/_app/immutable/entry/start.COsntbkx.js +1 -0
- package/dist/control-ui/_app/immutable/nodes/{0.CDaa-GWT.js → 0.C_eDaxcG.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{1.CYtkLWum.js → 1.Bl8gqrPg.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{15.7DnWqn28.js → 15.DprKPzQ3.js} +1 -1
- package/dist/control-ui/_app/version.json +1 -1
- package/dist/control-ui/index.html +6 -6
- package/dist/control-ui/sw.js +14 -4
- package/dist/{deliver-miQ_b14_.js → deliver-Cx5HCk1u.js} +1 -1
- package/dist/{doctor-completion-CDdw31wQ.js → doctor-completion-DsPB0eOt.js} +1 -1
- package/dist/{doctor-completion-lw65Gm69.js → doctor-completion-v-5OlFRw.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{gateway-cli-D_RCXTvo.js → gateway-cli-Can-C2Mw.js} +2 -2
- package/dist/{gateway-cli-yd0wJM_1.js → gateway-cli-DlankjZa.js} +2 -2
- package/dist/{image-Bnzq6Ut_.js → image-Dgvueazf.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{onboard-DtWmcQlQ.js → onboard-Be9rD-tu.js} +1 -1
- package/dist/{onboard-Bd7A_X5U.js → onboard-Dq4WS2ai.js} +1 -1
- package/dist/{onboarding-JoS3gVBZ.js → onboarding-jX-gc6kQ.js} +1 -1
- package/dist/{onboarding-D5BRyKY0.js → onboarding-mZg7K8XF.js} +1 -1
- package/dist/{onboarding.finalize-DwWgfZqG.js → onboarding.finalize-A-p1VHgb.js} +4 -4
- package/dist/{onboarding.finalize-Bbi4NFVI.js → onboarding.finalize-CYqgr1Ah.js} +3 -3
- package/dist/{pi-embedded-D0HD9Cfc.js → pi-embedded-BUQwV3oO.js} +16 -16
- package/dist/{pi-embedded-helpers-f1wpGfIT.js → pi-embedded-helpers-CdVb74wU.js} +4 -4
- package/dist/plugin-sdk/{accounts-uAqOguyH.js → accounts-LxMkgia0.js} +1 -1
- package/dist/plugin-sdk/{accounts-b1Cok6r_.js → accounts-iN-dbgw4.js} +3 -3
- package/dist/plugin-sdk/{accounts-CRs7kbLB.js → accounts-vV5Gfd26.js} +1 -1
- package/dist/plugin-sdk/{active-listener-BdVTYHTN.js → active-listener-Bh0LXjEI.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-OWMdRegz.js → agent-scope-BS_vck4W.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-DedcgBOR.js → api-key-rotation-LkecAWT_.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-EYVIo5wC.js → audio-preflight-Bs1SkEb1.js} +25 -25
- package/dist/plugin-sdk/{bindings-LROfNV1W.js → bindings-CTCkMENc.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DHI8R5Xg.js → channel-activity-PV3vhwo2.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CGp1_ZH4.js → channel-web-C1Hsjdgf.js} +22 -22
- package/dist/plugin-sdk/{chrome-BS8LYp6z.js → chrome-cWvSiZw3.js} +3 -3
- package/dist/plugin-sdk/{chunk-C9J4kyVw.js → chunk-CyOBR4uk.js} +1 -1
- package/dist/plugin-sdk/{command-format-BTciq6Gg.js → command-format-C5kdEGEu.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-pHxVP_Zd.js → commands-registry-Bvksrm0n.js} +3 -3
- package/dist/plugin-sdk/{common-CCPGi5xr.js → common-CJo4CK5_.js} +2 -2
- package/dist/plugin-sdk/{config-DemNgb7Z.js → config-B8Nc1zrG.js} +9 -9
- package/dist/plugin-sdk/{deliver-BCvqh6o3.js → deliver-Dut_1pt2.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-oBxO5N68.js → diagnostic-DFXnVf2I.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-CGcLaY9D.js → fs-safe-CdpuSWry.js} +1 -1
- package/dist/plugin-sdk/{image-BHSeZfna.js → image-B3tSrFDE.js} +4 -4
- package/dist/plugin-sdk/index.js +52 -52
- package/dist/plugin-sdk/{ir-JSGKj1e6.js → ir-05vuco_v.js} +4 -4
- package/dist/plugin-sdk/{local-roots-jpNoUngc.js → local-roots-DlmKIABh.js} +3 -3
- package/dist/plugin-sdk/{login-Ckh0Yz4j.js → login-_t6d0RBi.js} +7 -7
- package/dist/plugin-sdk/{login-qr-DRY27T-V.js → login-qr-Czq6nBnB.js} +9 -9
- package/dist/plugin-sdk/{manager-B9XMF8DU.js → manager-DEOMAxd_.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-Lzj-fZNH.js → manifest-registry-BgkX6ON4.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-CgnPuqk-.js → markdown-tables-FF81O4MP.js} +1 -1
- package/dist/plugin-sdk/{message-channel-C3OrO29D.js → message-channel-DxNExIdv.js} +1 -1
- package/dist/plugin-sdk/{model-selection-BQiSfqzh.js → model-selection-Bj-E4zbc.js} +4 -4
- package/dist/plugin-sdk/{normalize-raRH8X3d.js → normalize-DWmWs1Oq.js} +4 -4
- package/dist/plugin-sdk/{outbound-CtRrsxZT.js → outbound-D2-05wUl.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-BD9q-xgD.js → outbound-attachment-DmbQx_Vk.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-BlIDGSl5.js → pi-auth-json-D-qvsSpX.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-0qu1zxwF.js → pi-embedded-helpers-C1u6XyK5.js} +17 -17
- package/dist/plugin-sdk/{plugins-BJciHbYr.js → plugins-0PB0IWJL.js} +3 -3
- package/dist/plugin-sdk/{pw-ai-DkUDisr8.js → pw-ai-BIyeKPJF.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-kPD4Wyie.js → qmd-manager-DeQxerRp.js} +4 -4
- package/dist/plugin-sdk/{registry-C8pj8ctW.js → registry-BECEtj9n.js} +2 -2
- package/dist/plugin-sdk/{replies-0BFlZXJ5.js → replies-DnGHvUeV.js} +3 -3
- package/dist/plugin-sdk/{reply-BUzGHOJ7.js → reply-Due6Dl-a.js} +78 -78
- package/dist/plugin-sdk/{reply-prefix-YUOHz1rF.js → reply-prefix-UgReuQSG.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-DudlMKs4.js → resolve-route-BaFHJbum.js} +3 -3
- package/dist/plugin-sdk/{retry-B8Oq5mgi.js → retry-Bkj1k1me.js} +1 -1
- package/dist/plugin-sdk/{runner-BkD3LLSl.js → runner-Bq1wBell.js} +9 -9
- package/dist/plugin-sdk/{send-CpfmIaxP.js → send-By-dm-fT.js} +11 -11
- package/dist/plugin-sdk/{send-A_uouj00.js → send-D4HKCCvV.js} +7 -7
- package/dist/plugin-sdk/{send-Di1hHvf2.js → send-M99nJHP9.js} +11 -11
- package/dist/plugin-sdk/{send-9i1KJYhJ.js → send-MrY4gJ_w.js} +7 -7
- package/dist/plugin-sdk/{send-DREpPboJ.js → send-NUKqMNZh.js} +6 -6
- package/dist/plugin-sdk/{session-CpS-Mhnp.js → session-DGLRioDC.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-CTB7AZXn.js → skill-commands-Cw-IRPUz.js} +5 -5
- package/dist/plugin-sdk/{skills-BCD1hFBZ.js → skills-D0-IpJne.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Yn48izJ_.js → sqlite-DtIiUWZr.js} +1 -1
- package/dist/plugin-sdk/{store-BJRhX9Bi.js → store-BcTI1iBS.js} +2 -2
- package/dist/plugin-sdk/{subsystem-BfLMZ8kW.js → subsystem-Ck27y_6W.js} +1 -1
- package/dist/plugin-sdk/{tables-D5aPNTF6.js → tables-B6ajREI6.js} +1 -1
- package/dist/plugin-sdk/{thinking-BACprzA0.js → thinking-D81fexfE.js} +5 -5
- package/dist/plugin-sdk/{tokens-D1LxPszt.js → tokens-B6GWdF_0.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-CYSptBsl.js → tool-loop-detection-CbPwu1_R.js} +2 -2
- package/dist/plugin-sdk/web-BfmMxgKj.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-CGuheX42.js → whatsapp-actions-B8IYO5sc.js} +20 -20
- package/dist/{program-a6gIDhmg.js → program-DuYe-jhV.js} +2 -2
- package/dist/{program-context-a5xRVp1E.js → program-context-BqVXk3-Z.js} +6 -6
- package/dist/{prompt-select-styled-BEAD7Qf_.js → prompt-select-styled-Bw0ENvI5.js} +1 -1
- package/dist/{prompt-select-styled-pDE5STe1.js → prompt-select-styled-jxYRRElg.js} +1 -1
- package/dist/{pw-ai-BJE3mkCf.js → pw-ai-BwFJauyF.js} +1 -1
- package/dist/{register.maintenance-CkXb4wzI.js → register.maintenance-C4m4RDEl.js} +5 -5
- package/dist/{register.maintenance-C0OozXb_.js → register.maintenance-DGXOz6io.js} +4 -4
- package/dist/{register.onboard-B612Ekbb.js → register.onboard-BX_gqWPl.js} +2 -2
- package/dist/{register.onboard-BFR0fFZX.js → register.onboard-Cg6Xn_7w.js} +2 -2
- package/dist/{register.setup-CtDlzU4V.js → register.setup-BIKdjgm0.js} +2 -2
- package/dist/{register.setup-Caf3i42W.js → register.setup-BOb2yddg.js} +2 -2
- package/dist/{register.subclis-7bpaXBdE.js → register.subclis-NBD6Ksnk.js} +3 -3
- package/dist/{run-main-Y3Uf0qp5.js → run-main-SxDdrSGo.js} +3 -3
- package/dist/{runner-BmfMAciA.js → runner-46SPi1J0.js} +1 -1
- package/dist/{update-cli-D-f0EC6V.js → update-cli-BKj8J7RT.js} +5 -5
- package/dist/{update-cli-DQ-gzfuL.js → update-cli-DvEpui7q.js} +4 -4
- package/dist/{web-C0-NYLoG.js → web-BR2lk-tX.js} +6 -6
- package/package.json +1 -1
- package/dist/control-ui/_app/immutable/chunks/PR_wZ9tz.js +0 -1
- package/dist/control-ui/_app/immutable/entry/start.Bt2xwOar.js +0 -1
- package/dist/plugin-sdk/web-DNugKZLo.js +0 -65
|
@@ -146,7 +146,7 @@ import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status--m
|
|
|
146
146
|
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, s as setHeartbeatsEnabled, t as formatHealthChannelLines } from "./health-HfXeNmAj.js";
|
|
147
147
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-LA1g8l2Z.js";
|
|
148
148
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-DnX0d2ne.js";
|
|
149
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
149
|
+
import { t as runOnboardingWizard } from "./onboarding-jX-gc6kQ.js";
|
|
150
150
|
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-CBVQ1O88.js";
|
|
151
151
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-Rfb3FX0J.js";
|
|
152
152
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, s as loadAgentIdentityFromWorkspace, t as applyAgentConfig } from "./agents.config-sDVfdzxD.js";
|
|
@@ -16296,7 +16296,7 @@ function buildControlUiCspHeader() {
|
|
|
16296
16296
|
"base-uri 'none'",
|
|
16297
16297
|
"object-src 'none'",
|
|
16298
16298
|
"frame-ancestors 'none'",
|
|
16299
|
-
"script-src 'self' 'unsafe-inline'",
|
|
16299
|
+
"script-src 'self' 'unsafe-inline' 'wasm-unsafe-eval'",
|
|
16300
16300
|
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
|
|
16301
16301
|
"img-src 'self' data: https: blob:",
|
|
16302
16302
|
"font-src 'self' data: https://fonts.gstatic.com",
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { R as shortenHomeInString, k as isRecord } from "./registry-BmY4gNy6.js";
|
|
3
3
|
import { B as resolveImplicitCopilotProvider, J as normalizeSecretInput, R as normalizeProviders, V as resolveImplicitProviders, r as requireApiKey, t as getApiKeyForModel, y as resolveOpenClawAgentDir, z as resolveImplicitBedrockProvider } from "./model-auth-Dm1uOof6.js";
|
|
4
4
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-C-yOXpma.js";
|
|
5
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-CdVb74wU.js";
|
|
6
6
|
import { n as loadConfig } from "./config-qfEsodS7.js";
|
|
7
7
|
import { n as redactToolDetail } from "./redact-BBbIZgau.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
package/dist/index.js
CHANGED
|
@@ -113,7 +113,7 @@ import { t as ensureOpenClawCliOnPath } from "./path-env-2t4JZsvc.js";
|
|
|
113
113
|
import { t as assertSupportedRuntime } from "./runtime-guard-C1Eeo_pS.js";
|
|
114
114
|
import "./ports-n8zR0k9G.js";
|
|
115
115
|
import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-DR9zSCe_.js";
|
|
116
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
116
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-BqVXk3-Z.js";
|
|
117
117
|
import "./catalog-Ce6N7fVU.js";
|
|
118
118
|
import "./plugin-registry-6pWyMqfg.js";
|
|
119
119
|
import { n as resolveCliChannelOptions } from "./channel-options-B48SGv9h.js";
|
|
@@ -4,7 +4,7 @@ import { c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWork
|
|
|
4
4
|
import "./subsystem-B5g771Td.js";
|
|
5
5
|
import "./workspace-D9IzNnST.js";
|
|
6
6
|
import "./tokens-BRx7o_ZS.js";
|
|
7
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
7
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-BUQwV3oO.js";
|
|
8
8
|
import "./normalize-D5KCCgTX.js";
|
|
9
9
|
import "./accounts-6btx_LVr.js";
|
|
10
10
|
import "./boolean-B8-BqKGQ.js";
|
|
@@ -13,7 +13,7 @@ import "./bindings-DWtXcdc8.js";
|
|
|
13
13
|
import "./send-C1F31aYA.js";
|
|
14
14
|
import "./plugins-CJYXNO4s.js";
|
|
15
15
|
import "./send-D6tzL2Tv.js";
|
|
16
|
-
import "./deliver-
|
|
16
|
+
import "./deliver-Cx5HCk1u.js";
|
|
17
17
|
import "./diagnostic-CoT2YQH4.js";
|
|
18
18
|
import "./diagnostic-session-state-DmrztgHU.js";
|
|
19
19
|
import "./accounts-Cg6z7lKw.js";
|
|
@@ -23,11 +23,11 @@ import "./model-auth-Dm1uOof6.js";
|
|
|
23
23
|
import "./github-copilot-token-BQ98eazZ.js";
|
|
24
24
|
import "./pi-model-discovery-C-yOXpma.js";
|
|
25
25
|
import "./message-channel-BDlvrUZF.js";
|
|
26
|
-
import "./pi-embedded-helpers-
|
|
26
|
+
import "./pi-embedded-helpers-CdVb74wU.js";
|
|
27
27
|
import "./config-qfEsodS7.js";
|
|
28
28
|
import "./manifest-registry-Dovhiqzt.js";
|
|
29
29
|
import "./common-y9ALHdVZ.js";
|
|
30
|
-
import "./chrome-
|
|
30
|
+
import "./chrome-C-c5M24y.js";
|
|
31
31
|
import "./frontmatter-BT4H5SZG.js";
|
|
32
32
|
import "./skills-Ci_2Mah4.js";
|
|
33
33
|
import "./redact-BBbIZgau.js";
|
|
@@ -37,7 +37,7 @@ import "./store-Be0QxLPZ.js";
|
|
|
37
37
|
import "./thinking-wiChP3LK.js";
|
|
38
38
|
import "./accounts-BOYxuJ9C.js";
|
|
39
39
|
import "./paths-gnW-md4M.js";
|
|
40
|
-
import "./image-
|
|
40
|
+
import "./image-Dgvueazf.js";
|
|
41
41
|
import "./reply-prefix-BaCBHwi7.js";
|
|
42
42
|
import "./manager-KxfmY55A.js";
|
|
43
43
|
import "./gemini-auth-B32PFjFy.js";
|
|
@@ -50,7 +50,7 @@ import "./ir-CRTCIHIG.js";
|
|
|
50
50
|
import "./render-CDCvpfhh.js";
|
|
51
51
|
import "./commands-registry-B6FYKIxi.js";
|
|
52
52
|
import "./skill-commands-DVss6_wi.js";
|
|
53
|
-
import "./runner-
|
|
53
|
+
import "./runner-46SPi1J0.js";
|
|
54
54
|
import "./fetch-DtI0mtzx.js";
|
|
55
55
|
import "./send-DvBDdcQr.js";
|
|
56
56
|
import "./outbound-attachment-BChLBLPg.js";
|
|
@@ -10,7 +10,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-DOhPjoet.js";
|
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DemAzd31.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-Cu7ieLvZ.js";
|
|
12
12
|
import { r as healthCommand } from "./health-CuD8XoQy.js";
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-mZg7K8XF.js";
|
|
14
14
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-NZQN5y-U.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-D59-dc0L.js";
|
|
16
16
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-E4Y1ux1Z.js";
|
|
@@ -12,7 +12,7 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DokFcnJ7.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-7TtUcMJq.js";
|
|
14
14
|
import { r as healthCommand } from "./health-HfXeNmAj.js";
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-jX-gc6kQ.js";
|
|
16
16
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-DATumkKN.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-C8-t269D.js";
|
|
18
18
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-DxCamFcQ.js";
|
|
@@ -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-CYqgr1Ah.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -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-A-p1VHgb.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -98,10 +98,10 @@ import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks,
|
|
|
98
98
|
import "./prompt-style-BxVdnrLq.js";
|
|
99
99
|
import "./pairing-labels-BnEMZo4f.js";
|
|
100
100
|
import "./note-DewoEWtc.js";
|
|
101
|
-
import "./register.subclis-
|
|
102
|
-
import "./command-registry-
|
|
101
|
+
import "./register.subclis-NBD6Ksnk.js";
|
|
102
|
+
import "./command-registry-bnmnLUnx.js";
|
|
103
103
|
import "./program-context-Ds_91dTq.js";
|
|
104
|
-
import { r as installCompletion } from "./completion-cli-
|
|
104
|
+
import { r as installCompletion } from "./completion-cli-DkjwWQiV.js";
|
|
105
105
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DnzXuU_x.js";
|
|
106
106
|
import "./runtime-guard-DOhPjoet.js";
|
|
107
107
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DemAzd31.js";
|
|
@@ -109,7 +109,7 @@ import { t as resolveGatewayService } from "./service-Cu7ieLvZ.js";
|
|
|
109
109
|
import { r as healthCommand } from "./health-CuD8XoQy.js";
|
|
110
110
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DnNkT3mI.js";
|
|
111
111
|
import { t as formatHealthCheckFailure } from "./health-format-azWJfp5e.js";
|
|
112
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
112
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-v-5OlFRw.js";
|
|
113
113
|
import { t as runTui } from "./tui-B0NcNHYX.js";
|
|
114
114
|
import os from "node:os";
|
|
115
115
|
import path from "node:path";
|
|
@@ -104,16 +104,16 @@ import "./control-service-D5-XRzXx.js";
|
|
|
104
104
|
import "./stagger-CvFURHzt.js";
|
|
105
105
|
import "./channel-selection-DYhqnjYv.js";
|
|
106
106
|
import "./runtime-guard-C1Eeo_pS.js";
|
|
107
|
-
import "./program-context-
|
|
107
|
+
import "./program-context-BqVXk3-Z.js";
|
|
108
108
|
import "./note-COLxJd1A.js";
|
|
109
|
-
import { r as installCompletion } from "./completion-cli-
|
|
109
|
+
import { r as installCompletion } from "./completion-cli-CNWQ3fEd.js";
|
|
110
110
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-diKhAkzH.js";
|
|
111
111
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DokFcnJ7.js";
|
|
112
112
|
import { t as resolveGatewayService } from "./service-7TtUcMJq.js";
|
|
113
113
|
import { r as healthCommand } from "./health-HfXeNmAj.js";
|
|
114
114
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-LA1g8l2Z.js";
|
|
115
115
|
import { t as formatHealthCheckFailure } from "./health-format-S-b7sQsV.js";
|
|
116
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
116
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DsPB0eOt.js";
|
|
117
117
|
import { t as runTui } from "./tui-pbn3ONIE.js";
|
|
118
118
|
import os from "node:os";
|
|
119
119
|
import path from "node:path";
|
|
@@ -14,7 +14,7 @@ import { n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } fro
|
|
|
14
14
|
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-C1F31aYA.js";
|
|
15
15
|
import { n as listChannelPlugins, r as normalizeChannelId$1, t as getChannelPlugin } from "./plugins-CJYXNO4s.js";
|
|
16
16
|
import { $ as hasAnyGuildPermissionDiscord, A as addRoleDiscord, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as applyChannelMatchMeta, D as readMessagesDiscord, E as pinMessageDiscord, Et as resolveChannelEntryMatchWithFallback, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, P as fetchMemberInfoDiscord, Q as fetchChannelPermissionsDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as fetchDiscord, T as listThreadsDiscord, Tt as normalizeChannelSlug, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendPollDiscord, _t as shouldEmitDiscordReactionNotification, a as removeReactionDiscord, at as listDiscordDirectoryPeersLive, b as createThreadDiscord, bt as resolveDiscordSystemLocation, c as formatDiscordComponentEventText, ct as normalizeDiscordAllowList, d as parseDiscordModalCustomId, dt as resolveDiscordChannelConfigWithFallback, et as createDiscordClient, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordGuildEntry, g as sendMessageDiscord, gt as resolveGroupDmAllow, h as resolveDiscordModalEntry, ht as resolveDiscordShouldRequireMention, i as removeOwnReactionsDiscord, it as listDiscordDirectoryGroupsLive, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordSlug, m as resolveDiscordComponentEntry, mt as resolveDiscordOwnerAllowFrom, n as fetchReactionsDiscord, nt as parseDiscordTarget, o as sendDiscordComponentMessage, ot as allowListMatches$1, p as readDiscordComponentSpec, pt as resolveDiscordMemberAccessState, q as editChannelDiscord, r as reactMessageDiscord, rt as resolveDiscordChannelId, s as createDiscordFormModal, st as isDiscordGroupAllowedByPolicy, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordAllowListMatch, v as sendStickerDiscord, vt as formatDiscordReactionEmoji, w as listPinsDiscord, wt as buildChannelKeyCandidates, x as deleteMessageDiscord, xt as resolveTimestampMs, y as sendVoiceMessageDiscord, yt as formatDiscordUserTag, z as listScheduledEventsDiscord } from "./send-D6tzL2Tv.js";
|
|
17
|
-
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-
|
|
17
|
+
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-Cx5HCk1u.js";
|
|
18
18
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-CoT2YQH4.js";
|
|
19
19
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-DmrztgHU.js";
|
|
20
20
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-Cg6z7lKw.js";
|
|
@@ -24,11 +24,11 @@ import { A as normalizeProviderId, C as buildAllowedModelSet, D as isCliProvider
|
|
|
24
24
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-BQ98eazZ.js";
|
|
25
25
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-C-yOXpma.js";
|
|
26
26
|
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-BDlvrUZF.js";
|
|
27
|
-
import { $ as normalizeAccountId$4, A as isTransientHttpError, At as getBridgeAuthForPort, B as loadSessionStore, Bt as normalizeToolName, C as isContextOverflowError, Ct as resolveSessionLockMaxHoldFromTimeout, D as isRateLimitAssistantError, Dt as resolveProfile, E as isLikelyContextOverflowError, Et as resolveBrowserConfig, F as resolveSandboxContext, Ft as buildPluginToolGroups, G as updateSessionStoreEntry, Gt as buildBootstrapContextFiles, H as recordSessionMetaFromInbound, Ht as stripPluginOnlyAllowlist, I as resolveSandboxRuntimeStatus, It as collectExplicitAllowlist, J as deliveryContextFromSession, Jt as resolveBootstrapTotalMaxChars, K as isCacheEnabled, Kt as ensureSessionHeader, L as extractDeliveryInfo, Lt as expandPolicyWithPluginGroups, M as parseImageSizeError, Mt as resolveBrowserControlAuth, N as sanitizeUserFacingText, Nt as resolveSandboxConfigForAgent, O as isRawApiErrorPayload, Ot as DEFAULT_UPLOAD_DIR, P as ensureSandboxWorkspaceForSession, Pt as applyOwnerOnlyToolPolicy, Q as normalizeSessionDeliveryFields, R as appendAssistantMessageToSessionTranscript, Rt as expandToolGroups, S as isCompactionFailureError, St as acquireSessionWriteLock, T as isFailoverErrorMessage, Tt as registerBrowserRoutes, U as updateLastRoute, Ut as compileGlobPatterns, V as readSessionUpdatedAt, Vt as resolveToolProfilePolicy, W as updateSessionStore, Wt as matchesAnyGlobPattern, X as mergeDeliveryContext, Y as deliveryContextKey, Yt as sanitizeGoogleTurnOrdering, Z as normalizeDeliveryContext, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, at as applyInputProvenanceToUserMessage, b as isBillingAssistantError, bt as deriveSessionMetaPatch, c as extractToolCallsFromAssistant, ct as resolveSessionKey, d as isAntigravityClaude, dt as resolveSessionResetPolicy, et as archiveSessionTranscripts, f as isGoogleModelApi, ft as resolveSessionResetType, g as formatBillingErrorMessage, gt as canonicalizeMainSessionAlias, h as formatAssistantErrorText, ht as resolveFreshSessionTotalTokens, it as INPUT_PROVENANCE_KIND_VALUES, j as parseImageDimensionError, jt as ensureBrowserControlAuth, k as isTimeoutErrorMessage, kt as resolveExistingPathsWithinRoot, l as extractToolResultId, lt as evaluateSessionFreshness, m as classifyFailoverReason, mt as DEFAULT_RESET_TRIGGERS, n as validateGeminiTurns, nt as countToolResults, o as normalizeTextForComparison, ot as hasInterSessionUserProvenance, p as BILLING_ERROR_USER_MESSAGE, pt as resolveThreadFlag, q as resolveCacheTtlMs$1, qt as resolveBootstrapMaxChars, r as pickFallbackThinkingLevel, rt as extractToolCallNames, s as sanitizeSessionMessagesImages, st as normalizeInputProvenance, t as validateAnthropicTurns, tt as capArrayByJsonBytes, u as downgradeOpenAIReasoningBlocks, ut as resolveChannelResetConfig, v as getApiErrorPayloadFingerprint, vt as resolveExplicitAgentSessionKey, w as isFailoverAssistantError, wt as createBrowserRouteContext, x as isCloudCodeAssistFormatError, xt as resolveGroupSessionKey, y as isAuthAssistantError, yt as resolveMainSessionKey, zt as mergeAlsoAllowPolicy } from "./pi-embedded-helpers-
|
|
27
|
+
import { $ as normalizeAccountId$4, A as isTransientHttpError, At as getBridgeAuthForPort, B as loadSessionStore, Bt as normalizeToolName, C as isContextOverflowError, Ct as resolveSessionLockMaxHoldFromTimeout, D as isRateLimitAssistantError, Dt as resolveProfile, E as isLikelyContextOverflowError, Et as resolveBrowserConfig, F as resolveSandboxContext, Ft as buildPluginToolGroups, G as updateSessionStoreEntry, Gt as buildBootstrapContextFiles, H as recordSessionMetaFromInbound, Ht as stripPluginOnlyAllowlist, I as resolveSandboxRuntimeStatus, It as collectExplicitAllowlist, J as deliveryContextFromSession, Jt as resolveBootstrapTotalMaxChars, K as isCacheEnabled, Kt as ensureSessionHeader, L as extractDeliveryInfo, Lt as expandPolicyWithPluginGroups, M as parseImageSizeError, Mt as resolveBrowserControlAuth, N as sanitizeUserFacingText, Nt as resolveSandboxConfigForAgent, O as isRawApiErrorPayload, Ot as DEFAULT_UPLOAD_DIR, P as ensureSandboxWorkspaceForSession, Pt as applyOwnerOnlyToolPolicy, Q as normalizeSessionDeliveryFields, R as appendAssistantMessageToSessionTranscript, Rt as expandToolGroups, S as isCompactionFailureError, St as acquireSessionWriteLock, T as isFailoverErrorMessage, Tt as registerBrowserRoutes, U as updateLastRoute, Ut as compileGlobPatterns, V as readSessionUpdatedAt, Vt as resolveToolProfilePolicy, W as updateSessionStore, Wt as matchesAnyGlobPattern, X as mergeDeliveryContext, Y as deliveryContextKey, Yt as sanitizeGoogleTurnOrdering, Z as normalizeDeliveryContext, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, at as applyInputProvenanceToUserMessage, b as isBillingAssistantError, bt as deriveSessionMetaPatch, c as extractToolCallsFromAssistant, ct as resolveSessionKey, d as isAntigravityClaude, dt as resolveSessionResetPolicy, et as archiveSessionTranscripts, f as isGoogleModelApi, ft as resolveSessionResetType, g as formatBillingErrorMessage, gt as canonicalizeMainSessionAlias, h as formatAssistantErrorText, ht as resolveFreshSessionTotalTokens, it as INPUT_PROVENANCE_KIND_VALUES, j as parseImageDimensionError, jt as ensureBrowserControlAuth, k as isTimeoutErrorMessage, kt as resolveExistingPathsWithinRoot, l as extractToolResultId, lt as evaluateSessionFreshness, m as classifyFailoverReason, mt as DEFAULT_RESET_TRIGGERS, n as validateGeminiTurns, nt as countToolResults, o as normalizeTextForComparison, ot as hasInterSessionUserProvenance, p as BILLING_ERROR_USER_MESSAGE, pt as resolveThreadFlag, q as resolveCacheTtlMs$1, qt as resolveBootstrapMaxChars, r as pickFallbackThinkingLevel, rt as extractToolCallNames, s as sanitizeSessionMessagesImages, st as normalizeInputProvenance, t as validateAnthropicTurns, tt as capArrayByJsonBytes, u as downgradeOpenAIReasoningBlocks, ut as resolveChannelResetConfig, v as getApiErrorPayloadFingerprint, vt as resolveExplicitAgentSessionKey, w as isFailoverAssistantError, wt as createBrowserRouteContext, x as isCloudCodeAssistFormatError, xt as resolveGroupSessionKey, y as isAuthAssistantError, yt as resolveMainSessionKey, zt as mergeAlsoAllowPolicy } from "./pi-embedded-helpers-CdVb74wU.js";
|
|
28
28
|
import { C as getConfigValueAtPath, D as isSafeExecutableValue, E as unsetConfigValueAtPath, O as resolveAgentMaxConcurrent, S as unsetConfigOverride, T as setConfigValueAtPath, _ as parseDurationMs, a as writeConfigFile, b as resetConfigOverrides, c as TELEGRAM_COMMAND_NAME_PATTERN, f as isInboundPathAllowed, g as normalizeScpRemoteHost, h as resolveIMessageRemoteAttachmentRoots, i as resolveConfigSnapshotHash, k as VERSION, l as normalizeTelegramCommandName, m as resolveIMessageAttachmentRoots, n as loadConfig, o as validateConfigObjectWithPlugins, r as readConfigFileSnapshot, u as resolveTelegramCustomCommands, v as validateJsonSchemaValue, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-qfEsodS7.js";
|
|
29
29
|
import { a as applyTestPluginDefaults, c as resolveMemorySlotDecision, i as safeStatSync, n as discoverOpenClawPlugins, o as normalizePluginsConfig, r as isPathInside, s as resolveEnableState, t as loadPluginManifestRegistry, u as isPathInsideWithRealpath } from "./manifest-registry-Dovhiqzt.js";
|
|
30
30
|
import { a as parseAvailableTags, c as readStringArrayParam, h as resolveImageSanitizationLimits, i as jsonResult, l as readStringOrNumberParam, m as sanitizeToolResultImages, n as imageResult, o as readNumberParam, p as sanitizeImageBlocks, r as imageResultFromFile, s as readReactionParams, t as createActionGate, u as readStringParam } from "./common-y9ALHdVZ.js";
|
|
31
|
-
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
31
|
+
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-C-c5M24y.js";
|
|
32
32
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-Ci_2Mah4.js";
|
|
33
33
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-3KjSwJLH.js";
|
|
34
34
|
import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-B8OrDkCk.js";
|
|
@@ -38,7 +38,7 @@ import { n as resolveConversationLabel } from "./conversation-label-BeLJTciU.js"
|
|
|
38
38
|
import { t as resolveIMessageAccount } from "./accounts-BOYxuJ9C.js";
|
|
39
39
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-gnW-md4M.js";
|
|
40
40
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-CZ8CG4ht.js";
|
|
41
|
-
import { S as ensureOpenClawModelsJson, _ 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 extractTextFromChatContent, y as resolveToolDisplay } from "./image-
|
|
41
|
+
import { S as ensureOpenClawModelsJson, _ 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 extractTextFromChatContent, y as resolveToolDisplay } from "./image-Dgvueazf.js";
|
|
42
42
|
import { a as resolveEffectiveMessagesConfig, i as resolveAckReaction, o as resolveHumanDelayConfig, r as resolveResponsePrefixTemplate, t as createReplyPrefixOptions } from "./reply-prefix-BaCBHwi7.js";
|
|
43
43
|
import { n as resolveMemorySearchConfig } from "./manager-KxfmY55A.js";
|
|
44
44
|
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as runTasksWithConcurrency } from "./sqlite-DJh2xLr6.js";
|
|
@@ -51,7 +51,7 @@ import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-CRTCIHIG.js";
|
|
|
51
51
|
import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-B6FYKIxi.js";
|
|
52
52
|
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-DVss6_wi.js";
|
|
53
53
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-CzKsDFGL.js";
|
|
54
|
-
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-
|
|
54
|
+
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-46SPi1J0.js";
|
|
55
55
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DtI0mtzx.js";
|
|
56
56
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-Bup9wS1y.js";
|
|
57
57
|
import { n as normalizePollInput } from "./polls-BX3wB_EC.js";
|
|
@@ -81,7 +81,7 @@ import { EdgeTTS } from "node-edge-tts";
|
|
|
81
81
|
import AjvPkg from "ajv";
|
|
82
82
|
import { createServer } from "node:http";
|
|
83
83
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
84
|
-
import WebSocket, { WebSocket
|
|
84
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
85
85
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
86
86
|
import { createJiti } from "jiti";
|
|
87
87
|
import { Type } from "@sinclair/typebox";
|
|
@@ -5714,7 +5714,7 @@ var GatewayClient = class {
|
|
|
5714
5714
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
5715
5715
|
});
|
|
5716
5716
|
}
|
|
5717
|
-
this.ws = new WebSocket
|
|
5717
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
5718
5718
|
this.ws.on("open", () => {
|
|
5719
5719
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
5720
5720
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -5933,7 +5933,7 @@ var GatewayClient = class {
|
|
|
5933
5933
|
return null;
|
|
5934
5934
|
}
|
|
5935
5935
|
async request(method, params, opts) {
|
|
5936
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
5936
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
5937
5937
|
const id = randomUUID();
|
|
5938
5938
|
const frame = {
|
|
5939
5939
|
type: "req",
|
|
@@ -7197,7 +7197,7 @@ async function routeReply(params) {
|
|
|
7197
7197
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
7198
7198
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
7199
7199
|
try {
|
|
7200
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
7200
|
+
const { deliverOutboundPayloads } = await import("./deliver-Cx5HCk1u.js").then((n) => n.n);
|
|
7201
7201
|
return {
|
|
7202
7202
|
ok: true,
|
|
7203
7203
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -39753,7 +39753,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
39753
39753
|
return;
|
|
39754
39754
|
}
|
|
39755
39755
|
try {
|
|
39756
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
39756
|
+
const { deliverOutboundPayloads } = await import("./deliver-Cx5HCk1u.js").then((n) => n.n);
|
|
39757
39757
|
await deliverOutboundPayloads({
|
|
39758
39758
|
cfg: params.cfg,
|
|
39759
39759
|
channel,
|
|
@@ -43185,7 +43185,7 @@ async function describeStickerImage(params) {
|
|
|
43185
43185
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
43186
43186
|
try {
|
|
43187
43187
|
const buffer = await fs.readFile(imagePath);
|
|
43188
|
-
const { describeImageWithModel } = await import("./image-
|
|
43188
|
+
const { describeImageWithModel } = await import("./image-Dgvueazf.js").then((n) => n.n);
|
|
43189
43189
|
return (await describeImageWithModel({
|
|
43190
43190
|
buffer,
|
|
43191
43191
|
fileName: "sticker.webp",
|
|
@@ -45605,7 +45605,7 @@ async function preflightDiscordMessage(params) {
|
|
|
45605
45605
|
let preflightTranscript;
|
|
45606
45606
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
45607
45607
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
45608
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
45608
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DvPjddyW.js");
|
|
45609
45609
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
45610
45610
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
45611
45611
|
ctx: {
|
|
@@ -49736,7 +49736,7 @@ function isVoiceChannelType(type) {
|
|
|
49736
49736
|
function createDefaultDeps() {
|
|
49737
49737
|
return {
|
|
49738
49738
|
sendMessageWhatsApp: async (...args) => {
|
|
49739
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
49739
|
+
const { sendMessageWhatsApp } = await import("./web-BR2lk-tX.js");
|
|
49740
49740
|
return await sendMessageWhatsApp(...args);
|
|
49741
49741
|
},
|
|
49742
49742
|
sendMessageTelegram: async (...args) => {
|
|
@@ -52632,7 +52632,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
52632
52632
|
super(options);
|
|
52633
52633
|
}
|
|
52634
52634
|
createWebSocket(url) {
|
|
52635
|
-
return new WebSocket(url, { agent });
|
|
52635
|
+
return new WebSocket$1(url, { agent });
|
|
52636
52636
|
}
|
|
52637
52637
|
}
|
|
52638
52638
|
return new ProxyGatewayPlugin();
|
|
@@ -62380,7 +62380,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
62380
62380
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
62381
62381
|
let preflightTranscript;
|
|
62382
62382
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
62383
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
62383
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DvPjddyW.js");
|
|
62384
62384
|
preflightTranscript = await transcribeFirstAudio({
|
|
62385
62385
|
ctx: {
|
|
62386
62386
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -64558,7 +64558,7 @@ function loadWebLoginQr() {
|
|
|
64558
64558
|
return webLoginQrPromise;
|
|
64559
64559
|
}
|
|
64560
64560
|
function loadWebChannel() {
|
|
64561
|
-
webChannelPromise ??= import("./web-
|
|
64561
|
+
webChannelPromise ??= import("./web-BR2lk-tX.js");
|
|
64562
64562
|
return webChannelPromise;
|
|
64563
64563
|
}
|
|
64564
64564
|
function loadWhatsAppActions() {
|
|
@@ -13,7 +13,7 @@ import { S as isPidAlive, x as resolveProcessScopedMap } from "./model-auth-Dm1u
|
|
|
13
13
|
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-BDlvrUZF.js";
|
|
14
14
|
import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-qfEsodS7.js";
|
|
15
15
|
import { d as wrapOwnerOnlyToolExecution, f as sanitizeContentBlocksImages } from "./common-y9ALHdVZ.js";
|
|
16
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_OPENCLAW_BROWSER_ENABLED, N as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchOpenClawChrome, j as DEFAULT_OPENCLAW_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
16
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_OPENCLAW_BROWSER_ENABLED, N as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchOpenClawChrome, j as DEFAULT_OPENCLAW_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-C-c5M24y.js";
|
|
17
17
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-Ci_2Mah4.js";
|
|
18
18
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-3KjSwJLH.js";
|
|
19
19
|
import { t as SsrFBlockedError } from "./ssrf-B8OrDkCk.js";
|
|
@@ -919,7 +919,7 @@ function isModuleNotFoundError(err) {
|
|
|
919
919
|
}
|
|
920
920
|
async function loadPwAiModule(mode) {
|
|
921
921
|
try {
|
|
922
|
-
return await import("./pw-ai-
|
|
922
|
+
return await import("./pw-ai-BwFJauyF.js");
|
|
923
923
|
} catch (err) {
|
|
924
924
|
if (mode === "soft") return null;
|
|
925
925
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3461,11 +3461,11 @@ function createProfileContext(opts, profile) {
|
|
|
3461
3461
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
3462
3462
|
const profileState = getProfileState();
|
|
3463
3463
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3464
|
-
await (await import("./pw-ai-
|
|
3464
|
+
await (await import("./pw-ai-BwFJauyF.js")).closePlaywrightBrowserConnection();
|
|
3465
3465
|
} catch {}
|
|
3466
3466
|
if (profileState.running) await stopRunningBrowser();
|
|
3467
3467
|
try {
|
|
3468
|
-
await (await import("./pw-ai-
|
|
3468
|
+
await (await import("./pw-ai-BwFJauyF.js")).closePlaywrightBrowserConnection();
|
|
3469
3469
|
} catch {}
|
|
3470
3470
|
if (!fs$1.existsSync(userDataDir)) return {
|
|
3471
3471
|
moved: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as normalizeAccountId } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-iN-dbgw4.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { E as jidToE164, Q as getChildLogger, V as info, j as resolveUserPath, q as success } from "./registry-
|
|
2
|
+
import { E as jidToE164, Q as getChildLogger, V as info, j as resolveUserPath, q as success } from "./registry-BECEtj9n.js";
|
|
3
3
|
import { a as resolveOAuthDir } from "./paths-DJmOcr7Q.js";
|
|
4
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
4
|
+
import { i as defaultRuntime } from "./subsystem-Ck27y_6W.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-C5kdEGEu.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as normalizeAccountId } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-iN-dbgw4.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as DEFAULT_ACCOUNT_ID } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-C5kdEGEu.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as isSubagentSessionKey, g as isCronSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, v as parseAgentSessionKey } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { $ as getLogger, B as danger, J as warn, K as shouldLogVerbose, O as pathExists, V as info, W as logVerboseConsole, j as resolveUserPath } from "./registry-
|
|
2
|
+
import { $ as getLogger, B as danger, J as warn, K as shouldLogVerbose, O as pathExists, V as info, W as logVerboseConsole, j as resolveUserPath } from "./registry-BECEtj9n.js";
|
|
3
3
|
import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DJmOcr7Q.js";
|
|
4
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Ck27y_6W.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import "./accounts-
|
|
2
|
-
import { K as shouldLogVerbose, U as logVerbose } from "./registry-
|
|
1
|
+
import "./accounts-iN-dbgw4.js";
|
|
2
|
+
import { K as shouldLogVerbose, U as logVerbose } from "./registry-BECEtj9n.js";
|
|
3
3
|
import "./paths-DJmOcr7Q.js";
|
|
4
|
-
import "./model-selection-
|
|
5
|
-
import "./config-
|
|
6
|
-
import "./fs-safe-
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./common-
|
|
10
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
11
|
-
import "./skills-
|
|
4
|
+
import "./model-selection-Bj-E4zbc.js";
|
|
5
|
+
import "./config-B8Nc1zrG.js";
|
|
6
|
+
import "./fs-safe-CdpuSWry.js";
|
|
7
|
+
import "./subsystem-Ck27y_6W.js";
|
|
8
|
+
import "./agent-scope-BS_vck4W.js";
|
|
9
|
+
import "./common-CJo4CK5_.js";
|
|
10
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-Bq1wBell.js";
|
|
11
|
+
import "./skills-D0-IpJne.js";
|
|
12
12
|
import "./redact-DPnDWsnT.js";
|
|
13
13
|
import "./errors-Bv8oZiTO.js";
|
|
14
14
|
import "./ssrf-DxmqkHJJ.js";
|
|
15
|
-
import "./local-roots-
|
|
16
|
-
import "./chrome-
|
|
17
|
-
import "./command-format-
|
|
18
|
-
import "./thinking-
|
|
19
|
-
import "./normalize-
|
|
20
|
-
import "./accounts-
|
|
21
|
-
import "./accounts-
|
|
22
|
-
import "./bindings-
|
|
23
|
-
import "./plugins-
|
|
24
|
-
import "./message-channel-
|
|
25
|
-
import "./pi-embedded-helpers-
|
|
15
|
+
import "./local-roots-DlmKIABh.js";
|
|
16
|
+
import "./chrome-cWvSiZw3.js";
|
|
17
|
+
import "./command-format-C5kdEGEu.js";
|
|
18
|
+
import "./thinking-D81fexfE.js";
|
|
19
|
+
import "./normalize-DWmWs1Oq.js";
|
|
20
|
+
import "./accounts-vV5Gfd26.js";
|
|
21
|
+
import "./accounts-LxMkgia0.js";
|
|
22
|
+
import "./bindings-CTCkMENc.js";
|
|
23
|
+
import "./plugins-0PB0IWJL.js";
|
|
24
|
+
import "./message-channel-DxNExIdv.js";
|
|
25
|
+
import "./pi-embedded-helpers-C1u6XyK5.js";
|
|
26
26
|
import "./github-copilot-token-etmIcdko.js";
|
|
27
|
-
import "./manifest-registry-
|
|
27
|
+
import "./manifest-registry-BgkX6ON4.js";
|
|
28
28
|
import "./paths-a1ZEI8nz.js";
|
|
29
|
-
import "./store-
|
|
30
|
-
import "./image-
|
|
29
|
+
import "./store-BcTI1iBS.js";
|
|
30
|
+
import "./image-B3tSrFDE.js";
|
|
31
31
|
import "./pi-model-discovery-3Y4hcIsw.js";
|
|
32
|
-
import "./api-key-rotation-
|
|
32
|
+
import "./api-key-rotation-LkecAWT_.js";
|
|
33
33
|
|
|
34
34
|
//#region src/media-understanding/audio-preflight.ts
|
|
35
35
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as normalizeAccountId, l as normalizeAgentId } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { s as normalizeChatChannelId } from "./registry-
|
|
3
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { s as normalizeChatChannelId } from "./registry-BECEtj9n.js";
|
|
3
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-BS_vck4W.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
2
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
2
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-Bkj1k1me.js";
|
|
3
3
|
import { RateLimitError } from "@buape/carbon";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, o as buildGroupHistoryKey, r as DEFAULT_MAIN_KEY } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { E as enqueueSystemEvent, G as shouldAckReactionForWhatsApp, K as resolveMentionGating, X as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildHistoryContextFromEntries, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, it as normalizeMentionText, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as recordPendingHistoryEntryIfEnabled, r as parseActivationCommand, rt as buildMentionRegexes, t as getReplyFromConfig, u as buildPairingReply, v as hasControlCommand, vt as createDedupeCache, y as shouldComputeCommandAuthorized } from "./reply-
|
|
4
|
-
import { A as resolveJidToE164, D as normalizeE164, E as jidToE164, F as sleep, K as shouldLogVerbose, L as toWhatsappJid, Q as getChildLogger, T as isSelfChatMode, U as logVerbose, s as normalizeChatChannelId, v as clamp } from "./registry-
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
8
|
-
import { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-
|
|
9
|
-
import { f as registerUnhandledRejectionHandler } from "./runner-
|
|
10
|
-
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, n as createReplyPrefixOptions } from "./reply-prefix-
|
|
11
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
12
|
-
import { t as formatCliCommand } from "./command-format-
|
|
13
|
-
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-
|
|
14
|
-
import { Jt as resolveGroupSessionKey, ft as loadSessionStore, ht as updateLastRoute, mt as recordSessionMetaFromInbound, pt as readSessionUpdatedAt } from "./pi-embedded-helpers-
|
|
2
|
+
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-iN-dbgw4.js";
|
|
3
|
+
import { E as enqueueSystemEvent, G as shouldAckReactionForWhatsApp, K as resolveMentionGating, X as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildHistoryContextFromEntries, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, it as normalizeMentionText, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as recordPendingHistoryEntryIfEnabled, r as parseActivationCommand, rt as buildMentionRegexes, t as getReplyFromConfig, u as buildPairingReply, v as hasControlCommand, vt as createDedupeCache, y as shouldComputeCommandAuthorized } from "./reply-Due6Dl-a.js";
|
|
4
|
+
import { A as resolveJidToE164, D as normalizeE164, E as jidToE164, F as sleep, K as shouldLogVerbose, L as toWhatsappJid, Q as getChildLogger, T as isSelfChatMode, U as logVerbose, s as normalizeChatChannelId, v as clamp } from "./registry-BECEtj9n.js";
|
|
5
|
+
import { n as loadConfig } from "./config-B8Nc1zrG.js";
|
|
6
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Ck27y_6W.js";
|
|
7
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-CyOBR4uk.js";
|
|
8
|
+
import { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-By-dm-fT.js";
|
|
9
|
+
import { f as registerUnhandledRejectionHandler } from "./runner-Bq1wBell.js";
|
|
10
|
+
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, n as createReplyPrefixOptions } from "./reply-prefix-UgReuQSG.js";
|
|
11
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-DlmKIABh.js";
|
|
12
|
+
import { t as formatCliCommand } from "./command-format-C5kdEGEu.js";
|
|
13
|
+
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-D81fexfE.js";
|
|
14
|
+
import { Jt as resolveGroupSessionKey, ft as loadSessionStore, ht as updateLastRoute, mt as recordSessionMetaFromInbound, pt as readSessionUpdatedAt } from "./pi-embedded-helpers-C1u6XyK5.js";
|
|
15
15
|
import { s as resolveStorePath } from "./paths-a1ZEI8nz.js";
|
|
16
|
-
import { i as saveMediaBuffer } from "./store-
|
|
17
|
-
import { a as loadWebMedia } from "./ir-
|
|
18
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
19
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
20
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
16
|
+
import { i as saveMediaBuffer } from "./store-BcTI1iBS.js";
|
|
17
|
+
import { a as loadWebMedia } from "./ir-05vuco_v.js";
|
|
18
|
+
import { n as recordChannelActivity } from "./channel-activity-PV3vhwo2.js";
|
|
19
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-FF81O4MP.js";
|
|
20
|
+
import { t as convertMarkdownTables } from "./tables-B6ajREI6.js";
|
|
21
21
|
import { t as finalizeInboundContext } from "./inbound-context-hgCIam0H.js";
|
|
22
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
23
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
24
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
25
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
22
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BaFHJbum.js";
|
|
23
|
+
import { r as setActiveWebListener } from "./active-listener-Bh0LXjEI.js";
|
|
24
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-D2-05wUl.js";
|
|
25
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DGLRioDC.js";
|
|
26
26
|
import { randomUUID } from "node:crypto";
|
|
27
27
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as CONFIG_DIR } from "./registry-
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { _ as CONFIG_DIR } from "./registry-BECEtj9n.js";
|
|
2
|
+
import { n as loadConfig } from "./config-B8Nc1zrG.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-Ck27y_6W.js";
|
|
4
4
|
import { i as isErrno } from "./errors-Bv8oZiTO.js";
|
|
5
5
|
import { s as resolvePinnedHostnameWithPolicy } from "./ssrf-DxmqkHJJ.js";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as normalizeAccountId } from "./session-key-9yEYlIQe.js";
|
|
3
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
3
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DxNExIdv.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/text-chunking.ts
|
|
6
6
|
function chunkTextByBreakResolver(text, limit, resolveBreakIndex) {
|