@bitseek/claw 1.3.1 → 1.3.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/{accounts-BTexwKe8.js → accounts-CX1yOBOk.js} +1 -1
- package/dist/{accounts-ubG6irXZ.js → accounts-CaiECgq3.js} +16 -16
- package/dist/{accounts-CFz9Jc5d.js → accounts-DZqwa5NK.js} +1 -1
- package/dist/{active-listener-Hd9sOu9T.js → active-listener-neKWQsOO.js} +1 -1
- package/dist/{agent-scope-C6hps0r3.js → agent-scope-CTbRzU1C.js} +4 -4
- package/dist/{api-key-rotation-WzOC5dTW.js → api-key-rotation-BTSy5kZN.js} +2 -2
- package/dist/{audio-preflight-BWOdDA2n.js → audio-preflight-DZWb0ozj.js} +39 -39
- package/dist/{audio-transcription-runner-DaoqvWoi.js → audio-transcription-runner-2dp0SxL3.js} +11 -11
- package/dist/{bindings-CsIiIjqN.js → bindings-Daa-Etag.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +65 -65
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +65 -65
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{plugin-sdk/channel-activity-DAEbma-o.js → channel-activity-Btz1t5_1.js} +3 -3
- package/dist/{chrome-CjTE-vWv.js → chrome-DX1blHAJ.js} +18 -18
- package/dist/{chunk-DtYb6TYl.js → chunk-DEkdXze6.js} +1 -1
- package/dist/{commands-registry-NIsv9Z4R.js → commands-registry-BQkQRhEo.js} +5 -5
- package/dist/control-ui/assets/{index-DeYOAwUj.js → index-DIyxgivc.js} +420 -417
- package/dist/control-ui/assets/index-DIyxgivc.js.map +1 -0
- package/dist/control-ui/assets/index-EvU5ZebS.css +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/{deliver-xY3h9X6N.js → deliver-C82Egs0W.js} +22 -22
- package/dist/{diagnostic-BO1GQJJf.js → diagnostic-DpOlXoSr.js} +2 -2
- package/dist/{dock-Cr9V9V1V.js → dock-DWqb4ufG.js} +6 -6
- package/dist/{env-DNMZEG57.js → env-Bn6pmvjK.js} +2 -2
- package/dist/{errors-DEkWxItM.js → errors-azBrKJmF.js} +1 -1
- package/dist/{fetch--iXu7oa7.js → fetch-B82CeaHJ.js} +5 -5
- package/dist/{fetch-guard-CNvY0vzQ.js → fetch-guard-CCLWHwu7.js} +2 -2
- package/dist/{frontmatter-DIRc-IR1.js → frontmatter-5U1LYLH9.js} +2 -2
- package/dist/{fs-safe-D8x_nIIA.js → fs-safe-BDR6eQAw.js} +4 -4
- package/dist/{github-copilot-token-DLGN-8YS.js → github-copilot-token-CPjAmbfr.js} +7 -7
- package/dist/{image-DCyaYY2d.js → image-BQ1JgwZu.js} +6 -6
- package/dist/{image-ops-DCpyia_K.js → image-ops-jvmQoiyw.js} +1 -1
- package/dist/{internal-hooks-yQe6H47q.js → internal-hooks-oLQ2m8YT.js} +1 -1
- package/dist/{ir-BZUjdf-6.js → ir-BODD8g-I.js} +6 -6
- package/dist/llm-slug-generator.js +65 -65
- package/dist/{plugin-sdk/logger-Cr-x0vMf.js → logger-DelEB7MK.js} +1 -1
- package/dist/{login-CgEHUE7h.js → login-Cm2zDfEU.js} +6 -6
- package/dist/{login-qr-DUJfhbUe.js → login-qr-iS1jPDpP.js} +13 -13
- package/dist/{manager-BNuB9clC.js → manager-DdzkWOvc.js} +15 -15
- package/dist/{markdown-tables-BHONoo6S.js → markdown-tables-pfs_NCNh.js} +1 -1
- package/dist/{plugin-sdk/message-channel-CvNq-esz.js → message-channel-POuk6EOq.js} +1 -1
- package/dist/{model-selection-D_Si2Ict.js → model-selection-DfZMxaX3.js} +44 -44
- package/dist/{outbound-DOVV_R6m.js → outbound-4q4mbU-Z.js} +7 -7
- package/dist/{outbound-attachment-C7sJLSnv.js → outbound-attachment-CBCp1oVQ.js} +2 -2
- package/dist/{path-alias-guards-CKjKIhQ3.js → path-alias-guards-DfQIjfhB.js} +1 -1
- package/dist/{paths-Cpu0XgUj.js → paths-BZO1jkK2.js} +3 -3
- package/dist/{paths-aGRLvQx9.js → paths-DKuX7-1L.js} +5 -5
- package/dist/{pi-embedded-BgVoy_Nm.js → pi-embedded-BhZNT6T-.js} +178 -178
- package/dist/{pi-embedded-helpers-CMTVhLjq.js → pi-embedded-helpers-CuwhW4u9.js} +29 -29
- package/dist/{pi-model-discovery-DCIw1y1c.js → pi-model-discovery-COjkql-U.js} +7 -7
- package/dist/plugin-sdk/{accounts-COLYAAOx.js → accounts-4WE2wtsW.js} +1 -1
- package/dist/plugin-sdk/{accounts-BZrkOo6-.js → accounts-AbI8uETR.js} +1 -1
- package/dist/plugin-sdk/{accounts-D_pT5EjF.js → accounts-BYcizTXn.js} +3 -3
- package/dist/plugin-sdk/{active-listener-DxBXcWm_.js → active-listener-pnqLAUOh.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DT5pxpJB.js → agent-scope-_j3fIYCK.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-Dl6Ad7Nj.js → api-key-rotation-CYI51U_M.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CkPj4OVY.js → audio-preflight-BTRRjPew.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-BBn9jEMg.js → audio-transcription-runner-DFZS7uCO.js} +10 -10
- package/dist/plugin-sdk/{bindings-BSfhEjKN.js → bindings-CxxzC7gn.js} +2 -2
- package/dist/{channel-activity-D81g48kD.js → plugin-sdk/channel-activity-B3yZ-f-m.js} +3 -3
- package/dist/plugin-sdk/{channel-web-BaFUnG0F.js → channel-web-C521hZcX.js} +23 -23
- package/dist/plugin-sdk/{chrome-Dn0G4NoF.js → chrome-oPevdeh5.js} +7 -7
- package/dist/plugin-sdk/{chunk-cvtXztAT.js → chunk-BPyPeheZ.js} +1 -1
- package/dist/plugin-sdk/{command-format-BOJz3y1v.js → command-format-DvyMEXQo.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CZWv_JwZ.js → commands-registry-Dk8re8Lz.js} +5 -5
- package/dist/plugin-sdk/{config-DAwOhnVF.js → config-D7I2_X4P.js} +10 -10
- package/dist/plugin-sdk/{deliver-PdH-MCq8.js → deliver-NrIHn0__.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BZvj-qNu.js → diagnostic-DL3k_wRi.js} +2 -2
- package/dist/plugin-sdk/{dock-BdR3OYZn.js → dock-CjdkiLH7.js} +6 -6
- package/dist/plugin-sdk/{errors-jusxdu7M.js → errors-DFTN4h2I.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dary6WwJ.js → fetch-guard-BivEyA4v.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DMCE0ej9.js → fs-safe-B256n7Ff.js} +3 -3
- package/dist/plugin-sdk/{image-B3A2l2ep.js → image-CkPzr3XN.js} +6 -6
- package/dist/plugin-sdk/{image-ops-DulHE5Qc.js → image-ops-C9GXWF3o.js} +1 -1
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BFXiJrsN.js → ir-BIm-jvIK.js} +6 -6
- package/dist/plugin-sdk/{local-roots-DssN60r6.js → local-roots-2AOXGUXW.js} +4 -4
- package/dist/{logger-BlH5MJiV.js → plugin-sdk/logger-CNhs9eKJ.js} +1 -1
- package/dist/plugin-sdk/{login-D0ul3-6C.js → login-BcLiF9tC.js} +6 -6
- package/dist/plugin-sdk/{login-qr-XWKTFBuI.js → login-qr-GyPUodKJ.js} +9 -9
- package/dist/plugin-sdk/{manager-DGx_cF54.js → manager-DYLqNUb4.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-CsQpDNU5.js → markdown-tables-D9mmqMKi.js} +1 -1
- package/dist/{message-channel-Dl8dSs0T.js → plugin-sdk/message-channel-_CEZcqxE.js} +1 -1
- package/dist/plugin-sdk/{outbound-D29FHlQl.js → outbound-DdTsUaXa.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DRHrZUOx.js → outbound-attachment--hkuIDR1.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DpKV1B5p.js → path-alias-guards-BqUCBfUg.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CKEUWckk.js → pi-embedded-helpers-CTfvZz83.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-BPeQq9XM.js → pi-model-discovery-CK3Ih_kq.js} +1 -1
- package/dist/plugin-sdk/{plugins-DF_dKXTR.js → plugins-BpHAMNJ1.js} +6 -6
- package/dist/plugin-sdk/{proxy-BfmEDoun.js → proxy-BJdRZOnJ.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-BpHIgvBk.js → proxy-fetch-jmbopGcm.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BmmXDjtm.js → pw-ai-D0Kx7w1D.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-3hQbqkm5.js → qmd-manager-BDcutPp9.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-BOGLUWB7.js → query-expansion-C_X8SyEA.js} +2 -2
- package/dist/{redact-ScShueoF.js → plugin-sdk/redact-DH8u23pF.js} +1 -1
- package/dist/plugin-sdk/{registry-Cv-oHUj1.js → registry-HF8_S7QO.js} +2 -2
- package/dist/plugin-sdk/{replies-CddwWBTJ.js → replies-DbjvV4gf.js} +3 -3
- package/dist/plugin-sdk/{reply-BCRC0yeW.js → reply-Czob6ZQ0.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-DXthVxCx.js → reply-prefix-KODsMNJ-.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-D3Y4F2Le.js → resolve-outbound-target-BPT4aNiD.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DuwYYn4a.js → resolve-route-De2B5QY_.js} +4 -4
- package/dist/plugin-sdk/{retry-BMcrIz7L.js → retry-pZ8iKytf.js} +1 -1
- package/dist/plugin-sdk/{send-D0AaWnIj.js → send-1uW-uqPf.js} +7 -7
- package/dist/plugin-sdk/{send-C5USYGq7.js → send-BoNw1Bki.js} +8 -8
- package/dist/plugin-sdk/{send-B0ztz6QC.js → send-C-Rd2stz.js} +6 -6
- package/dist/plugin-sdk/{send-DJzwu8kk.js → send-CZIN8SDx.js} +15 -15
- package/dist/plugin-sdk/{send-DEyQJTzd.js → send-wCqsQs_s.js} +10 -10
- package/dist/plugin-sdk/{session-meta-ChWvKVWj.js → session-meta-7J-uHiM_.js} +1 -1
- package/dist/plugin-sdk/{session-BA7tVDpV.js → session-ooYcB82T.js} +5 -5
- package/dist/plugin-sdk/{sessions-BXps6YzJ.js → sessions-lAIo5l8W.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-B20uUsji.js → skill-commands-D1Q6hGS4.js} +5 -5
- package/dist/plugin-sdk/{skills-DXOTei42.js → skills-BWSDv2F_.js} +8 -8
- package/dist/plugin-sdk/{ssrf-Doxv9M7Q.js → ssrf-JKDwTi8i.js} +1 -1
- package/dist/plugin-sdk/{store-BZbE1V-C.js → store-BMeqzQAf.js} +2 -2
- package/dist/plugin-sdk/{subsystem-CM1s2lDT.js → subsystem-B0V8LFBA.js} +2 -2
- package/dist/plugin-sdk/{tables-BhH8EIqU.js → tables-DCSeBGBz.js} +1 -1
- package/dist/{target-errors-B9Jzop3d.js → plugin-sdk/target-errors-0u6pegQv.js} +2 -2
- package/dist/{tokens-B9EDT4jv.js → plugin-sdk/tokens-DF2_VTJy.js} +1 -1
- package/dist/{tool-images-ffdfBx0b.js → plugin-sdk/tool-images-BbsgbHMZ.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-CygMSQUK.js → tool-loop-detection-JkCpGrfk.js} +2 -2
- package/dist/plugin-sdk/{utils-BcL6KGZf.js → utils-BfVxx6bk.js} +1 -1
- package/dist/plugin-sdk/web-D_qaocWb.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CRean1yN.js → whatsapp-actions-tVcrGNQc.js} +25 -25
- package/dist/{plugins-CJoaoIHc.js → plugins-D63QYxW6.js} +11 -11
- package/dist/{proxy-env-BnDt8j9F.js → proxy-env-vYAjKL5q.js} +1 -1
- package/dist/{proxy-fetch-xlbVQYN_.js → proxy-fetch-AvkSvetA.js} +1 -1
- package/dist/{proxy-DfJJLvch.js → proxy-jINniQBi.js} +1 -1
- package/dist/{pw-ai-DGwA7iCM.js → pw-ai-BLNiRUPI.js} +17 -17
- package/dist/{qmd-manager-CeN3N992.js → qmd-manager-BBKfRzj-.js} +11 -11
- package/dist/{query-expansion-CGnW4Mk_.js → query-expansion-2BrixCA2.js} +5 -5
- package/dist/{plugin-sdk/redact-BOuKZWXa.js → redact-uUggP88O.js} +1 -1
- package/dist/{registry-CJCkqTms.js → registry-C2GEGa2t.js} +3 -3
- package/dist/{replies-BFYGUEKu.js → replies-yAf6dFeT.js} +3 -3
- package/dist/{reply-prefix-DK1i6bCJ.js → reply-prefix-9mzt89Cf.js} +1 -1
- package/dist/{resolve-route-C5hVstLo.js → resolve-route-BNElrVxR.js} +4 -4
- package/dist/{retry-DTeP7C3h.js → retry-Ayb7e4XG.js} +1 -1
- package/dist/{send-B4pSMBHk.js → send-Bclgg0Ur.js} +8 -8
- package/dist/{send-BqKSZyIb.js → send-Bjaa69Cy.js} +27 -27
- package/dist/{send-V3fEVmLq.js → send-Cp0yQi_p.js} +10 -10
- package/dist/{send-XAO1mk64.js → send-DQ7hIAIK.js} +7 -7
- package/dist/{send-CN0f1Yst.js → send-DYY51FOR.js} +6 -6
- package/dist/{session-xKPVUYQP.js → session-TVb8hgJP.js} +9 -9
- package/dist/{session-meta-Cqv55kSk.js → session-meta-CyQWVUk4.js} +2 -2
- package/dist/{sessions-CA_BydGA.js → sessions-3jroJwu7.js} +31 -31
- package/dist/{skill-commands-CZFmIM-s.js → skill-commands-CSr9_48V.js} +9 -9
- package/dist/{skills-DMmr25nW.js → skills-B82IjVxn.js} +22 -22
- package/dist/{store-C8KgeMt2.js → store-DhC72KqW.js} +2 -2
- package/dist/{subsystem-BRjuJbbM.js → subsystem-CAatx5oo.js} +14 -14
- package/dist/{tables-BKnPZssn.js → tables-Bfh_TnCf.js} +1 -1
- package/dist/{plugin-sdk/target-errors-QZay02Cv.js → target-errors-CGYXYvSZ.js} +2 -2
- package/dist/{plugin-sdk/tokens-DIE-Bf72.js → tokens-BvzZdrVJ.js} +1 -1
- package/dist/{plugin-sdk/tool-images-heXfaJdb.js → tool-images-CqsWnc1k.js} +2 -2
- package/dist/{tool-loop-detection-CLoYKYIq.js → tool-loop-detection-C4V990MS.js} +3 -3
- package/dist/{utils-BFZnl-5N.js → utils-Bo1RFF0l.js} +6 -6
- package/dist/{web-C1PpWeXj.js → web-DQzzt8wj.js} +69 -69
- package/dist/{whatsapp-actions-CHt12z-f.js → whatsapp-actions-DXjy9m41.js} +28 -28
- package/dist/{workspace-D6mrCnXi.js → workspace-CswOYN9T.js} +21 -21
- package/package.json +1 -1
- package/dist/control-ui/assets/index-Ck63PFX9.css +0 -1
- package/dist/control-ui/assets/index-DeYOAwUj.js.map +0 -1
- package/dist/plugin-sdk/web-BDHHRoXS.js +0 -72
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
2
|
-
import { h as resolveUserPath } from "./utils-
|
|
1
|
+
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-B0V8LFBA.js";
|
|
2
|
+
import { h as resolveUserPath } from "./utils-BfVxx6bk.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
|
|
5
5
|
//#region src/hooks/internal-hooks.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
3
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
4
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
2
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-BPyPeheZ.js";
|
|
3
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-BoNw1Bki.js";
|
|
4
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DF2_VTJy.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
7
7
|
function createReplyReferencePlanner(options) {
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { C as resolveThreadParentSessionKey, S as parseAgentSessionKey, _ as deriveSessionChatType, b as isCronSessionKey, c as normalizeAgentId, d as resolveThreadSessionKeys, f as sanitizeAgentId, g as isBlockedObjectKey, h as normalizeOptionalAccountId, l as normalizeMainKey, m as normalizeAccountId$2, o as classifySessionKeyShape, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, s as isValidAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, v as getSubagentDepth, x as isSubagentSessionKey, y as isAcpSessionKey } from "./session-key-CVIXEtLx.js";
|
|
3
|
-
import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth } from "./accounts-
|
|
3
|
+
import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth } from "./accounts-BYcizTXn.js";
|
|
4
4
|
import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, p as resolveCliName, r as resolveConfigPath } from "./paths-C__vjTc0.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-WHEJfZD4.js";
|
|
6
|
-
import { $n as resolveAuthProfileDisplayLabel, An as resolveApiKeyForProvider, At as buildEnforcedShellCommand, Bn as resolveApiKeyForProfile, Bt as unwrapKnownDispatchWrapperInvocation, C as resolveIMessageRemoteAttachmentRoots, Cn as buildAssistantMessage, Ct as unsetConfigValueAtPath, Dn as getApiKeyForModel, Dt as normalizeTrustedSafeBinDirs, En as buildUsageWithNoCost, Et as listWritableExplicitTrustedSafeBinDirs, Fn as getSoonestCooldownExpiry, Ft as resolveAllowlistCandidatePath, Gn as ensureAuthProfileStore, Gt as resolveSafeBinProfiles, Hn as dedupeProfileIds, Ht as splitShellArgs, In as isProfileInCooldown, It as resolveCommandResolutionFromArgv, Jt as mapStreamingModeToSlackLegacyDraftStreamMode, Kn as resolveAuthStorePathForDisplay, Kt as applyMergePatch, Ln as markAuthProfileFailure, Lt as extractShellWrapperInlineCommand, Mn as resolveModelAuthMode, Mt as splitCommandChain, Nt as DEFAULT_SAFE_BINS, On as getCustomProviderApiKey, Ot as validateSafeBinArgv, Pn as resolveAuthProfileOrder, Pt as matchAllowlist, Rn as markAuthProfileUsed, Rt as isDispatchWrapperExecutable, S as resolveIMessageAttachmentRoots, Sn as createOllamaStreamFn, St as setConfigValueAtPath, T as parseNonNegativeByteSize, Tn as buildStreamErrorAssistantMessage, Tt as isTrustedSafeBinPath, Un as listProfilesForProvider, Ut as SAFE_BIN_PROFILES, V as parseDurationMs, Vt as unwrapKnownShellMultiplexerInvocation, Wn as markAuthProfileGood, Wt as normalizeSafeBinProfileFixtures, Xt as resolveSlackNativeStreaming, Yn as withFileLock, Yt as resolveDiscordPreviewStreamMode, Zt as resolveSlackStreamingMode, _ as normalizeTelegramCommandName, _t as resetConfigOverrides, a as resolveConfigSnapshotHash, an as findNormalizedProviderValue, ar as DEFAULT_PROVIDER, at as validateJsonSchemaValue, b as isInboundPathAllowed, bt as getConfigValueAtPath, cn as normalizeModelRef$2, cr as resolveShellEnvFallbackTimeoutMs, ct as isPathInside, dn as resolveDefaultModelForAgent, dt as MANIFEST_KEY, en as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, et as AVATAR_MAX_BYTES, fn as resolveModelRefFromString, ft as applyTestPluginDefaults, g as TELEGRAM_COMMAND_NAME_PATTERN, gt as getConfigOverrides, hn as resolveThinkingDefault, ht as resolveMemorySlotDecision, in as buildModelAliasIndex, ir as DEFAULT_MODEL, it as isSupportedLocalAvatarExtension, jn as resolveEnvApiKey, jt as isWindowsPlatform, kn as requireApiKey, kt as analyzeShellCommand, ln as normalizeProviderId, lr as isDangerousHostEnvVarName, lt as safeStatSync, mn as resolveSubagentSpawnModelSelection, mt as resolveEffectiveEnableState, n as loadConfig, nn as buildAllowedModelSet, nr as splitTrailingAuthProfile, nt as isAvatarHttpUrl, o as writeConfigFile, on as isCliProvider, or as VERSION, ot as loadPluginManifestRegistry, pn as resolveReasoningDefault, pt as normalizePluginsConfig, qn as resolveOpenClawAgentDir, qt as isSafeExecutableValue, r as readConfigFileSnapshot, rn as buildConfiguredAllowlistKeys, rr as DEFAULT_CONTEXT_TOKENS, rt as isPathWithinRoot, s as validateConfigObjectWithPlugins, sn as modelKey, sr as getShellPathFromLoginShell, st as discoverOpenClawPlugins, tn as resolveAgentMaxConcurrent, tr as normalizeSecretInput, tt as isAvatarDataUrl, un as resolveConfiguredModelRef, ur as resolveOwnerDisplaySetting, v as resolveTelegramCustomCommands, vt as setConfigOverride, w as normalizeScpRemoteHost, wn as buildAssistantMessageWithZeroUsage, wt as getTrustedSafeBinDirs, xn as OLLAMA_NATIVE_BASE_URL, xt as parseConfigPath, yt as unsetConfigOverride, zn as resolveProfilesUnavailableReason, zt as isShellWrapperExecutable } from "./config-
|
|
7
|
-
import { D as consumeRootOptionToken, E as FLAG_TERMINATOR, T as resolvePreferredOpenClawTmpDir, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as normalizeLogLevel, y as getChildLogger } from "./subsystem-
|
|
8
|
-
import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-
|
|
9
|
-
import { n as isTruthyEnvValue, r as parseBooleanValue$1, t as formatCliCommand } from "./command-format-
|
|
10
|
-
import { A as spawnWithFallback, C as loadWorkspaceBootstrapFiles, E as resolveOpenClawPackageRoot, G as resolveAgentModelPrimaryValue, H as normalizeWindowsPathForComparison, K as toAgentModelListLike, M as openBoundaryFile, N as openBoundaryFileSync, O as runCommandWithTimeout, S as filterBootstrapFilesForSession, W as resolveAgentModelFallbackValues, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, f as resolveSessionAgentIds, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, k as runExec, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentSkillsFilter, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, w as resolveWorkspaceAttachmentsRoot, x as ensureAgentWorkspace } from "./agent-scope-
|
|
11
|
-
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-
|
|
6
|
+
import { $n as resolveAuthProfileDisplayLabel, An as resolveApiKeyForProvider, At as buildEnforcedShellCommand, Bn as resolveApiKeyForProfile, Bt as unwrapKnownDispatchWrapperInvocation, C as resolveIMessageRemoteAttachmentRoots, Cn as buildAssistantMessage, Ct as unsetConfigValueAtPath, Dn as getApiKeyForModel, Dt as normalizeTrustedSafeBinDirs, En as buildUsageWithNoCost, Et as listWritableExplicitTrustedSafeBinDirs, Fn as getSoonestCooldownExpiry, Ft as resolveAllowlistCandidatePath, Gn as ensureAuthProfileStore, Gt as resolveSafeBinProfiles, Hn as dedupeProfileIds, Ht as splitShellArgs, In as isProfileInCooldown, It as resolveCommandResolutionFromArgv, Jt as mapStreamingModeToSlackLegacyDraftStreamMode, Kn as resolveAuthStorePathForDisplay, Kt as applyMergePatch, Ln as markAuthProfileFailure, Lt as extractShellWrapperInlineCommand, Mn as resolveModelAuthMode, Mt as splitCommandChain, Nt as DEFAULT_SAFE_BINS, On as getCustomProviderApiKey, Ot as validateSafeBinArgv, Pn as resolveAuthProfileOrder, Pt as matchAllowlist, Rn as markAuthProfileUsed, Rt as isDispatchWrapperExecutable, S as resolveIMessageAttachmentRoots, Sn as createOllamaStreamFn, St as setConfigValueAtPath, T as parseNonNegativeByteSize, Tn as buildStreamErrorAssistantMessage, Tt as isTrustedSafeBinPath, Un as listProfilesForProvider, Ut as SAFE_BIN_PROFILES, V as parseDurationMs, Vt as unwrapKnownShellMultiplexerInvocation, Wn as markAuthProfileGood, Wt as normalizeSafeBinProfileFixtures, Xt as resolveSlackNativeStreaming, Yn as withFileLock, Yt as resolveDiscordPreviewStreamMode, Zt as resolveSlackStreamingMode, _ as normalizeTelegramCommandName, _t as resetConfigOverrides, a as resolveConfigSnapshotHash, an as findNormalizedProviderValue, ar as DEFAULT_PROVIDER, at as validateJsonSchemaValue, b as isInboundPathAllowed, bt as getConfigValueAtPath, cn as normalizeModelRef$2, cr as resolveShellEnvFallbackTimeoutMs, ct as isPathInside, dn as resolveDefaultModelForAgent, dt as MANIFEST_KEY, en as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, et as AVATAR_MAX_BYTES, fn as resolveModelRefFromString, ft as applyTestPluginDefaults, g as TELEGRAM_COMMAND_NAME_PATTERN, gt as getConfigOverrides, hn as resolveThinkingDefault, ht as resolveMemorySlotDecision, in as buildModelAliasIndex, ir as DEFAULT_MODEL, it as isSupportedLocalAvatarExtension, jn as resolveEnvApiKey, jt as isWindowsPlatform, kn as requireApiKey, kt as analyzeShellCommand, ln as normalizeProviderId, lr as isDangerousHostEnvVarName, lt as safeStatSync, mn as resolveSubagentSpawnModelSelection, mt as resolveEffectiveEnableState, n as loadConfig, nn as buildAllowedModelSet, nr as splitTrailingAuthProfile, nt as isAvatarHttpUrl, o as writeConfigFile, on as isCliProvider, or as VERSION, ot as loadPluginManifestRegistry, pn as resolveReasoningDefault, pt as normalizePluginsConfig, qn as resolveOpenClawAgentDir, qt as isSafeExecutableValue, r as readConfigFileSnapshot, rn as buildConfiguredAllowlistKeys, rr as DEFAULT_CONTEXT_TOKENS, rt as isPathWithinRoot, s as validateConfigObjectWithPlugins, sn as modelKey, sr as getShellPathFromLoginShell, st as discoverOpenClawPlugins, tn as resolveAgentMaxConcurrent, tr as normalizeSecretInput, tt as isAvatarDataUrl, un as resolveConfiguredModelRef, ur as resolveOwnerDisplaySetting, v as resolveTelegramCustomCommands, vt as setConfigOverride, w as normalizeScpRemoteHost, wn as buildAssistantMessageWithZeroUsage, wt as getTrustedSafeBinDirs, xn as OLLAMA_NATIVE_BASE_URL, xt as parseConfigPath, yt as unsetConfigOverride, zn as resolveProfilesUnavailableReason, zt as isShellWrapperExecutable } from "./config-D7I2_X4P.js";
|
|
7
|
+
import { D as consumeRootOptionToken, E as FLAG_TERMINATOR, T as resolvePreferredOpenClawTmpDir, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as normalizeLogLevel, y as getChildLogger } from "./subsystem-B0V8LFBA.js";
|
|
8
|
+
import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-BfVxx6bk.js";
|
|
9
|
+
import { n as isTruthyEnvValue, r as parseBooleanValue$1, t as formatCliCommand } from "./command-format-DvyMEXQo.js";
|
|
10
|
+
import { A as spawnWithFallback, C as loadWorkspaceBootstrapFiles, E as resolveOpenClawPackageRoot, G as resolveAgentModelPrimaryValue, H as normalizeWindowsPathForComparison, K as toAgentModelListLike, M as openBoundaryFile, N as openBoundaryFileSync, O as runCommandWithTimeout, S as filterBootstrapFilesForSession, W as resolveAgentModelFallbackValues, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, f as resolveSessionAgentIds, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, k as runExec, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentSkillsFilter, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, w as resolveWorkspaceAttachmentsRoot, x as ensureAgentWorkspace } from "./agent-scope-_j3fIYCK.js";
|
|
11
|
+
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-CNhs9eKJ.js";
|
|
12
12
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-Ckp-v-FK.js";
|
|
13
|
-
import { _ as getPluginCommandSpecs, a as normalizeAnyChannelId, b as createInternalHookEvent, c as getActivePluginRegistry, d as requireActivePluginRegistry, f as setActivePluginRegistry, g as executePluginCommand, h as clearPluginCommands, i as listChatChannels, l as getActivePluginRegistryKey, m as normalizePluginHttpPath, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as createPluginRegistry, r as getChatChannelMeta, s as normalizeChatChannelId, v as listPluginCommands, x as triggerInternalHook, y as matchPluginCommand } from "./registry-
|
|
14
|
-
import { B as normalizeStringEntriesLower, F as resolveChannelGroupToolsPolicy, L as normalizeAtHashSlug, N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention, R as normalizeHyphenSlug, n as listChannelDocks, o as normalizeSignalMessagingTarget, t as getChannelDock, z as normalizeStringEntries } from "./dock-
|
|
15
|
-
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-
|
|
16
|
-
import { A as acquireSessionWriteLock, B as resolveFreshSessionTotalTokens, C as extractToolCallNames, D as hasInterSessionUserProvenance, E as applyInputProvenanceToUserMessage, F as resolveSessionResetPolicy, G as resolveMainSessionKey, H as canonicalizeMainSessionAlias, I as resolveSessionResetType, K as deriveSessionMetaPatch, L as resolveThreadFlag, M as resolveSessionKey, N as evaluateSessionFreshness, O as normalizeInputProvenance, P as resolveChannelResetConfig, R as DEFAULT_RESET_TRIGGERS, S as countToolResults, T as INPUT_PROVENANCE_KIND_VALUES, V as setSessionRuntimeModel, W as resolveExplicitAgentSessionKey, _ as normalizeDeliveryContext, a as resolveAndPersistSessionFile, b as archiveSessionTranscripts, c as recordSessionMetaFromInbound, d as updateSessionStoreEntry, f as isCacheEnabled, g as mergeDeliveryContext, h as deliveryContextKey, j as resolveSessionLockMaxHoldFromTimeout, k as jsonUtf8Bytes, l as updateLastRoute, m as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, p as resolveCacheTtlMs$1, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as parseInlineDirectives$1, x as capArrayByJsonBytes, y as normalizeAccountId$3, z as mergeSessionEntry } from "./sessions-
|
|
13
|
+
import { _ as getPluginCommandSpecs, a as normalizeAnyChannelId, b as createInternalHookEvent, c as getActivePluginRegistry, d as requireActivePluginRegistry, f as setActivePluginRegistry, g as executePluginCommand, h as clearPluginCommands, i as listChatChannels, l as getActivePluginRegistryKey, m as normalizePluginHttpPath, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as createPluginRegistry, r as getChatChannelMeta, s as normalizeChatChannelId, v as listPluginCommands, x as triggerInternalHook, y as matchPluginCommand } from "./registry-HF8_S7QO.js";
|
|
14
|
+
import { B as normalizeStringEntriesLower, F as resolveChannelGroupToolsPolicy, L as normalizeAtHashSlug, N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention, R as normalizeHyphenSlug, n as listChannelDocks, o as normalizeSignalMessagingTarget, t as getChannelDock, z as normalizeStringEntries } from "./dock-CjdkiLH7.js";
|
|
15
|
+
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-_CEZcqxE.js";
|
|
16
|
+
import { A as acquireSessionWriteLock, B as resolveFreshSessionTotalTokens, C as extractToolCallNames, D as hasInterSessionUserProvenance, E as applyInputProvenanceToUserMessage, F as resolveSessionResetPolicy, G as resolveMainSessionKey, H as canonicalizeMainSessionAlias, I as resolveSessionResetType, K as deriveSessionMetaPatch, L as resolveThreadFlag, M as resolveSessionKey, N as evaluateSessionFreshness, O as normalizeInputProvenance, P as resolveChannelResetConfig, R as DEFAULT_RESET_TRIGGERS, S as countToolResults, T as INPUT_PROVENANCE_KIND_VALUES, V as setSessionRuntimeModel, W as resolveExplicitAgentSessionKey, _ as normalizeDeliveryContext, a as resolveAndPersistSessionFile, b as archiveSessionTranscripts, c as recordSessionMetaFromInbound, d as updateSessionStoreEntry, f as isCacheEnabled, g as mergeDeliveryContext, h as deliveryContextKey, j as resolveSessionLockMaxHoldFromTimeout, k as jsonUtf8Bytes, l as updateLastRoute, m as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, p as resolveCacheTtlMs$1, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as parseInlineDirectives$1, x as capArrayByJsonBytes, y as normalizeAccountId$3, z as mergeSessionEntry } from "./sessions-lAIo5l8W.js";
|
|
17
17
|
import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
|
|
18
18
|
import { n as resolveConversationLabel } from "./conversation-label-nAHBBt-I.js";
|
|
19
19
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
20
|
-
import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, I as createDiscordActionGate, M as resolveSlackAppToken, N as resolveSlackBotToken, P as isWhatsAppGroupJid, R as listEnabledDiscordAccounts, V as normalizeDiscordToken, b as listEnabledTelegramAccounts, h as resolveSlackChannelId, j as resolveSlackReplyToMode, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$2, t as getChannelPlugin, w as resolveTelegramToken, x as listTelegramAccountIds, y as createTelegramActionGate } from "./plugins-
|
|
21
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
22
|
-
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
23
|
-
import { t as buildChannelAccountBindings } from "./bindings-
|
|
24
|
-
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-
|
|
20
|
+
import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, I as createDiscordActionGate, M as resolveSlackAppToken, N as resolveSlackBotToken, P as isWhatsAppGroupJid, R as listEnabledDiscordAccounts, V as normalizeDiscordToken, b as listEnabledTelegramAccounts, h as resolveSlackChannelId, j as resolveSlackReplyToMode, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$2, t as getChannelPlugin, w as resolveTelegramToken, x as listTelegramAccountIds, y as createTelegramActionGate } from "./plugins-BpHAMNJ1.js";
|
|
21
|
+
import { r as resolveIMessageAccount } from "./accounts-4WE2wtsW.js";
|
|
22
|
+
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-AbI8uETR.js";
|
|
23
|
+
import { t as buildChannelAccountBindings } from "./bindings-CxxzC7gn.js";
|
|
24
|
+
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-wCqsQs_s.js";
|
|
25
25
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DlLOyPPw.js";
|
|
26
26
|
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-BLPb80aT.js";
|
|
27
27
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-Bitiknz-.js";
|
|
28
28
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-C-qHqfzG.js";
|
|
29
29
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BEtAimXS.js";
|
|
30
|
-
import { n as retryAsync } from "./retry-
|
|
31
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
32
|
-
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-
|
|
33
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
30
|
+
import { n as retryAsync } from "./retry-pZ8iKytf.js";
|
|
31
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DH8u23pF.js";
|
|
32
|
+
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-DFTN4h2I.js";
|
|
33
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-B3yZ-f-m.js";
|
|
34
34
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-TTlmt77_.js";
|
|
35
35
|
import { n as normalizePollInput } from "./polls-DN23oxyB.js";
|
|
36
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
37
|
-
import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
38
|
-
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-
|
|
39
|
-
import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-
|
|
40
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
41
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
42
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
43
|
-
import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-
|
|
44
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
45
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
46
|
-
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-
|
|
47
|
-
import { A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as parseTelegramTarget, K as isVoiceCompatibleAudio, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveTelegramTargetChatType, Z as toLocationContext, _ as renderTelegramHtmlText, a as reactMessageTelegram, at as upsertChannelPairingRequest, b as splitTelegramCaption, c as sendStickerTelegram, ct as getPairingAdapter, d as loadCronStore, dt as isSenderIdAllowed, f as resolveCronStorePath, ft as mergeDmAllowFromSources, g as markdownToTelegramHtml, h as markdownToTelegramChunks, i as editMessageTelegram, it as removeChannelAllowFromStoreEntry, j as expandTextLinks, k as buildTypingThreadParams, lt as listPairingChannels, m as isRecoverableTelegramNetworkError, n as createForumTopicTelegram, nt as readChannelAllowFromStore, o as sendMessageTelegram, ot as readJsonFileWithFallback, p as wasSentByBot, pt as resolveGroupAllowFromSources, r as deleteMessageTelegram, s as sendPollTelegram, st as writeJsonFileAtomically, t as buildInlineKeyboard, tt as addChannelAllowFromStoreEntry, u as resolveTelegramVoiceSend, ut as firstDefined$1, v as wrapFileReferencesInHtml, w as buildSenderName, x as withTelegramApiErrorLogging, y as resolveTelegramFetch, z as resolveTelegramReplyId } from "./send-
|
|
48
|
-
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-
|
|
49
|
-
import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-
|
|
50
|
-
import { a as buildSlackBlocksFallbackText, c as parseSlackBlocksInput, i as normalizeSlackOutboundText, l as validateSlackBlocksArray, o as createSlackWebClient, s as resolveSlackWebClientOptions, t as sendMessageSlack } from "./send-
|
|
51
|
-
import { _ as resolveMediaUnderstandingScope, a as resolveAutoImageModel, b as buildRandomTempFilePath, c as findModelInCatalog, d as registerUnhandledRejectionHandler, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$2, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as resolveAttachmentKind, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./audio-transcription-runner-
|
|
52
|
-
import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-
|
|
53
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
54
|
-
import { c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-
|
|
55
|
-
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-
|
|
56
|
-
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as rawDataToString, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-
|
|
57
|
-
import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-
|
|
58
|
-
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-
|
|
59
|
-
import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
60
|
-
import { $ as expandToolGroups, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as buildBootstrapContextFiles, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-
|
|
36
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BqUCBfUg.js";
|
|
37
|
+
import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-B256n7Ff.js";
|
|
38
|
+
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-C9GXWF3o.js";
|
|
39
|
+
import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-JKDwTi8i.js";
|
|
40
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BivEyA4v.js";
|
|
41
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-2AOXGUXW.js";
|
|
42
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-BIm-jvIK.js";
|
|
43
|
+
import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-BPyPeheZ.js";
|
|
44
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D9mmqMKi.js";
|
|
45
|
+
import { t as convertMarkdownTables } from "./tables-DCSeBGBz.js";
|
|
46
|
+
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-1uW-uqPf.js";
|
|
47
|
+
import { A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as parseTelegramTarget, K as isVoiceCompatibleAudio, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveTelegramTargetChatType, Z as toLocationContext, _ as renderTelegramHtmlText, a as reactMessageTelegram, at as upsertChannelPairingRequest, b as splitTelegramCaption, c as sendStickerTelegram, ct as getPairingAdapter, d as loadCronStore, dt as isSenderIdAllowed, f as resolveCronStorePath, ft as mergeDmAllowFromSources, g as markdownToTelegramHtml, h as markdownToTelegramChunks, i as editMessageTelegram, it as removeChannelAllowFromStoreEntry, j as expandTextLinks, k as buildTypingThreadParams, lt as listPairingChannels, m as isRecoverableTelegramNetworkError, n as createForumTopicTelegram, nt as readChannelAllowFromStore, o as sendMessageTelegram, ot as readJsonFileWithFallback, p as wasSentByBot, pt as resolveGroupAllowFromSources, r as deleteMessageTelegram, s as sendPollTelegram, st as writeJsonFileAtomically, t as buildInlineKeyboard, tt as addChannelAllowFromStoreEntry, u as resolveTelegramVoiceSend, ut as firstDefined$1, v as wrapFileReferencesInHtml, w as buildSenderName, x as withTelegramApiErrorLogging, y as resolveTelegramFetch, z as resolveTelegramReplyId } from "./send-CZIN8SDx.js";
|
|
48
|
+
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-BbsgbHMZ.js";
|
|
49
|
+
import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-0u6pegQv.js";
|
|
50
|
+
import { a as buildSlackBlocksFallbackText, c as parseSlackBlocksInput, i as normalizeSlackOutboundText, l as validateSlackBlocksArray, o as createSlackWebClient, s as resolveSlackWebClientOptions, t as sendMessageSlack } from "./send-BoNw1Bki.js";
|
|
51
|
+
import { _ as resolveMediaUnderstandingScope, a as resolveAutoImageModel, b as buildRandomTempFilePath, c as findModelInCatalog, d as registerUnhandledRejectionHandler, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$2, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as resolveAttachmentKind, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./audio-transcription-runner-DFZS7uCO.js";
|
|
52
|
+
import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-KODsMNJ-.js";
|
|
53
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DF2_VTJy.js";
|
|
54
|
+
import { c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-D1Q6hGS4.js";
|
|
55
|
+
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-BWSDv2F_.js";
|
|
56
|
+
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as rawDataToString, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-oPevdeh5.js";
|
|
57
|
+
import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-NrIHn0__.js";
|
|
58
|
+
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-DL3k_wRi.js";
|
|
59
|
+
import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-BMeqzQAf.js";
|
|
60
|
+
import { $ as expandToolGroups, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as buildBootstrapContextFiles, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-CTfvZz83.js";
|
|
61
61
|
import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-DGaZRXAR.js";
|
|
62
62
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-DZb6zIHq.js";
|
|
63
|
-
import { C as extractTextFromChatContent, S as isInsideCode, T as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as ensureOpenClawModelsJson, x as findCodeRegions, y as resolveToolDisplay } from "./image-
|
|
64
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
63
|
+
import { C as extractTextFromChatContent, S as isInsideCode, T as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as ensureOpenClawModelsJson, x as findCodeRegions, y as resolveToolDisplay } from "./image-CkPzr3XN.js";
|
|
64
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CK3Ih_kq.js";
|
|
65
65
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-C5PtFEje.js";
|
|
66
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
67
|
-
import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-
|
|
66
|
+
import { t as makeProxyFetch } from "./proxy-fetch-jmbopGcm.js";
|
|
67
|
+
import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-Dk8re8Lz.js";
|
|
68
68
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Wd5tNeQG.js";
|
|
69
69
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-4RHRb_OP.js";
|
|
70
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
71
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
72
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
73
|
-
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-
|
|
74
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
75
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
76
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
70
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-C-Rd2stz.js";
|
|
71
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-De2B5QY_.js";
|
|
72
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-DbjvV4gf.js";
|
|
73
|
+
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-pnqLAUOh.js";
|
|
74
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-7J-uHiM_.js";
|
|
75
|
+
import { n as resolveMemorySearchConfig } from "./manager-DYLqNUb4.js";
|
|
76
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-C_X8SyEA.js";
|
|
77
77
|
import { createRequire } from "node:module";
|
|
78
78
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
79
79
|
import * as path$1 from "node:path";
|
|
@@ -83,7 +83,7 @@ import * as fs$2 from "node:fs/promises";
|
|
|
83
83
|
import fs$1 from "node:fs/promises";
|
|
84
84
|
import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
|
|
85
85
|
import { inspect, promisify } from "node:util";
|
|
86
|
-
import
|
|
86
|
+
import JSON5 from "json5";
|
|
87
87
|
import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
|
|
88
88
|
import { fileURLToPath } from "node:url";
|
|
89
89
|
import { complete, completeSimple, createAssistantMessageEventStream, streamSimple } from "@mariozechner/pi-ai";
|
|
@@ -7852,7 +7852,7 @@ async function sendTranscriptEcho(params) {
|
|
|
7852
7852
|
}
|
|
7853
7853
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
7854
7854
|
try {
|
|
7855
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
7855
|
+
const { deliverOutboundPayloads } = await import("./deliver-NrIHn0__.js").then((n) => n.n);
|
|
7856
7856
|
await deliverOutboundPayloads({
|
|
7857
7857
|
cfg,
|
|
7858
7858
|
channel: normalizedChannel,
|
|
@@ -22359,7 +22359,7 @@ async function routeReply(params) {
|
|
|
22359
22359
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
22360
22360
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
22361
22361
|
try {
|
|
22362
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
22362
|
+
const { deliverOutboundPayloads } = await import("./deliver-NrIHn0__.js").then((n) => n.n);
|
|
22363
22363
|
const outboundSession = buildOutboundSessionContext({
|
|
22364
22364
|
cfg,
|
|
22365
22365
|
agentId: resolvedAgentId,
|
|
@@ -22843,7 +22843,7 @@ function normalizeSessionKey(value) {
|
|
|
22843
22843
|
function readSessionStore(storePath) {
|
|
22844
22844
|
try {
|
|
22845
22845
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
22846
|
-
const parsed =
|
|
22846
|
+
const parsed = JSON5.parse(raw);
|
|
22847
22847
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
22848
22848
|
} catch {}
|
|
22849
22849
|
return {};
|
|
@@ -32250,7 +32250,7 @@ async function describeStickerImage(params) {
|
|
|
32250
32250
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
32251
32251
|
try {
|
|
32252
32252
|
const buffer = await fs$1.readFile(imagePath);
|
|
32253
|
-
const { describeImageWithModel } = await import("./image-
|
|
32253
|
+
const { describeImageWithModel } = await import("./image-CkPzr3XN.js").then((n) => n.n);
|
|
32254
32254
|
return (await describeImageWithModel({
|
|
32255
32255
|
buffer,
|
|
32256
32256
|
fileName: "sticker.webp",
|
|
@@ -33517,7 +33517,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
33517
33517
|
const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
|
|
33518
33518
|
let transcript;
|
|
33519
33519
|
if (needsPreflightTranscription) try {
|
|
33520
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
33520
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BTRRjPew.js");
|
|
33521
33521
|
const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
|
|
33522
33522
|
if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
|
|
33523
33523
|
ctx: {
|
|
@@ -36128,7 +36128,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
36128
36128
|
await ensureOpenClawModelsJson(cfg);
|
|
36129
36129
|
} catch {}
|
|
36130
36130
|
try {
|
|
36131
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
36131
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-CK3Ih_kq.js").then((n) => n.r);
|
|
36132
36132
|
const agentDir = resolveOpenClawAgentDir();
|
|
36133
36133
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
36134
36134
|
applyDiscoveredContextWindows({
|
|
@@ -36480,7 +36480,7 @@ async function createModelSelectionState(params) {
|
|
|
36480
36480
|
}
|
|
36481
36481
|
}
|
|
36482
36482
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
36483
|
-
const { ensureAuthProfileStore } = await import("./config-
|
|
36483
|
+
const { ensureAuthProfileStore } = await import("./config-D7I2_X4P.js").then((n) => n.Nn);
|
|
36484
36484
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
36485
36485
|
const providerKey = normalizeProviderId(provider);
|
|
36486
36486
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -41159,27 +41159,27 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
41159
41159
|
function createDefaultDeps() {
|
|
41160
41160
|
return {
|
|
41161
41161
|
sendMessageWhatsApp: async (...args) => {
|
|
41162
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
41162
|
+
const { sendMessageWhatsApp } = await import("./web-D_qaocWb.js");
|
|
41163
41163
|
return await sendMessageWhatsApp(...args);
|
|
41164
41164
|
},
|
|
41165
41165
|
sendMessageTelegram: async (...args) => {
|
|
41166
|
-
const { sendMessageTelegram } = await import("./send-
|
|
41166
|
+
const { sendMessageTelegram } = await import("./send-CZIN8SDx.js").then((n) => n.l);
|
|
41167
41167
|
return await sendMessageTelegram(...args);
|
|
41168
41168
|
},
|
|
41169
41169
|
sendMessageDiscord: async (...args) => {
|
|
41170
|
-
const { sendMessageDiscord } = await import("./send-
|
|
41170
|
+
const { sendMessageDiscord } = await import("./send-wCqsQs_s.js").then((n) => n.t);
|
|
41171
41171
|
return await sendMessageDiscord(...args);
|
|
41172
41172
|
},
|
|
41173
41173
|
sendMessageSlack: async (...args) => {
|
|
41174
|
-
const { sendMessageSlack } = await import("./send-
|
|
41174
|
+
const { sendMessageSlack } = await import("./send-BoNw1Bki.js").then((n) => n.n);
|
|
41175
41175
|
return await sendMessageSlack(...args);
|
|
41176
41176
|
},
|
|
41177
41177
|
sendMessageSignal: async (...args) => {
|
|
41178
|
-
const { sendMessageSignal } = await import("./send-
|
|
41178
|
+
const { sendMessageSignal } = await import("./send-C-Rd2stz.js").then((n) => n.i);
|
|
41179
41179
|
return await sendMessageSignal(...args);
|
|
41180
41180
|
},
|
|
41181
41181
|
sendMessageIMessage: async (...args) => {
|
|
41182
|
-
const { sendMessageIMessage } = await import("./send-
|
|
41182
|
+
const { sendMessageIMessage } = await import("./send-1uW-uqPf.js").then((n) => n.n);
|
|
41183
41183
|
return await sendMessageIMessage(...args);
|
|
41184
41184
|
}
|
|
41185
41185
|
};
|
|
@@ -52612,7 +52612,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
52612
52612
|
}
|
|
52613
52613
|
let commandsRegistry;
|
|
52614
52614
|
async function getCommandsRegistry() {
|
|
52615
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
52615
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-Dk8re8Lz.js").then((n) => n.n);
|
|
52616
52616
|
return commandsRegistry;
|
|
52617
52617
|
}
|
|
52618
52618
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -52942,14 +52942,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
52942
52942
|
const channelName = channelInfo?.name;
|
|
52943
52943
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
52944
52944
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
52945
|
-
import("./resolve-route-
|
|
52945
|
+
import("./resolve-route-De2B5QY_.js").then((n) => n.r),
|
|
52946
52946
|
import("./inbound-context-DZb6zIHq.js").then((n) => n.n),
|
|
52947
52947
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
52948
52948
|
]);
|
|
52949
52949
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
52950
52950
|
import("./conversation-label-nAHBBt-I.js").then((n) => n.t),
|
|
52951
|
-
import("./reply-prefix-
|
|
52952
|
-
import("./session-meta-
|
|
52951
|
+
import("./reply-prefix-KODsMNJ-.js").then((n) => n.r),
|
|
52952
|
+
import("./session-meta-7J-uHiM_.js").then((n) => n.n)
|
|
52953
52953
|
]);
|
|
52954
52954
|
const route = resolveAgentRoute({
|
|
52955
52955
|
cfg,
|
|
@@ -53014,9 +53014,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
53014
53014
|
});
|
|
53015
53015
|
const deliverSlashPayloads = async (replies) => {
|
|
53016
53016
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
53017
|
-
import("./replies-
|
|
53018
|
-
import("./chunk-
|
|
53019
|
-
import("./markdown-tables-
|
|
53017
|
+
import("./replies-DbjvV4gf.js").then((n) => n.r),
|
|
53018
|
+
import("./chunk-BPyPeheZ.js").then((n) => n.s),
|
|
53019
|
+
import("./markdown-tables-D9mmqMKi.js").then((n) => n.t)
|
|
53020
53020
|
]);
|
|
53021
53021
|
await deliverSlackSlashReplies({
|
|
53022
53022
|
replies,
|
|
@@ -53069,7 +53069,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
53069
53069
|
let nativeCommands = [];
|
|
53070
53070
|
if (nativeEnabled) {
|
|
53071
53071
|
reg = await getCommandsRegistry();
|
|
53072
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
53072
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-D1Q6hGS4.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
53073
53073
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
53074
53074
|
skillCommands,
|
|
53075
53075
|
provider: "slack"
|
|
@@ -53655,7 +53655,7 @@ async function auditTelegramGroupMembership(params) {
|
|
|
53655
53655
|
groups: [],
|
|
53656
53656
|
elapsedMs: Date.now() - started
|
|
53657
53657
|
};
|
|
53658
|
-
const fetcher = params.proxyUrl ? (await import("./proxy-
|
|
53658
|
+
const fetcher = params.proxyUrl ? (await import("./proxy-BJdRZOnJ.js").then((n) => n.t)).makeProxyFetch(params.proxyUrl) : fetch;
|
|
53659
53659
|
const { fetchWithTimeout } = await import("./fetch-timeout-C-qHqfzG.js").then((n) => n.r);
|
|
53660
53660
|
const base = `${TELEGRAM_API_BASE$1}/bot${token}`;
|
|
53661
53661
|
const groups = [];
|
|
@@ -58409,7 +58409,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
58409
58409
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
58410
58410
|
let preflightTranscript;
|
|
58411
58411
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
58412
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
58412
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BTRRjPew.js");
|
|
58413
58413
|
preflightTranscript = await transcribeFirstAudio({
|
|
58414
58414
|
ctx: {
|
|
58415
58415
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -61107,7 +61107,7 @@ function createWhatsAppLoginTool() {
|
|
|
61107
61107
|
force: Type.Optional(Type.Boolean())
|
|
61108
61108
|
}),
|
|
61109
61109
|
execute: async (_toolCallId, args) => {
|
|
61110
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
61110
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-GyPUodKJ.js");
|
|
61111
61111
|
if ((args?.action ?? "start") === "wait") {
|
|
61112
61112
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
61113
61113
|
return {
|
|
@@ -61182,23 +61182,23 @@ let webLoginQrPromise = null;
|
|
|
61182
61182
|
let webChannelPromise = null;
|
|
61183
61183
|
let whatsappActionsPromise = null;
|
|
61184
61184
|
function loadWebOutbound() {
|
|
61185
|
-
webOutboundPromise ??= import("./outbound-
|
|
61185
|
+
webOutboundPromise ??= import("./outbound-DdTsUaXa.js").then((n) => n.t);
|
|
61186
61186
|
return webOutboundPromise;
|
|
61187
61187
|
}
|
|
61188
61188
|
function loadWebLogin() {
|
|
61189
|
-
webLoginPromise ??= import("./login-
|
|
61189
|
+
webLoginPromise ??= import("./login-BcLiF9tC.js").then((n) => n.n);
|
|
61190
61190
|
return webLoginPromise;
|
|
61191
61191
|
}
|
|
61192
61192
|
function loadWebLoginQr() {
|
|
61193
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
61193
|
+
webLoginQrPromise ??= import("./login-qr-GyPUodKJ.js");
|
|
61194
61194
|
return webLoginQrPromise;
|
|
61195
61195
|
}
|
|
61196
61196
|
function loadWebChannel() {
|
|
61197
|
-
webChannelPromise ??= import("./web-
|
|
61197
|
+
webChannelPromise ??= import("./web-D_qaocWb.js");
|
|
61198
61198
|
return webChannelPromise;
|
|
61199
61199
|
}
|
|
61200
61200
|
function loadWhatsAppActions() {
|
|
61201
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
61201
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-tVcrGNQc.js");
|
|
61202
61202
|
return whatsappActionsPromise;
|
|
61203
61203
|
}
|
|
61204
61204
|
function createRuntimeWhatsApp() {
|
|
@@ -61648,7 +61648,7 @@ async function getMemorySearchManager(params) {
|
|
|
61648
61648
|
if (cached) return { manager: cached };
|
|
61649
61649
|
}
|
|
61650
61650
|
try {
|
|
61651
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
61651
|
+
const { QmdMemoryManager } = await import("./qmd-manager-BDcutPp9.js");
|
|
61652
61652
|
const primary = await QmdMemoryManager.create({
|
|
61653
61653
|
cfg: params.cfg,
|
|
61654
61654
|
agentId: params.agentId,
|
|
@@ -61660,7 +61660,7 @@ async function getMemorySearchManager(params) {
|
|
|
61660
61660
|
const wrapper = new FallbackMemoryManager({
|
|
61661
61661
|
primary,
|
|
61662
61662
|
fallbackFactory: async () => {
|
|
61663
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
61663
|
+
const { MemoryIndexManager } = await import("./manager-DYLqNUb4.js").then((n) => n.t);
|
|
61664
61664
|
return await MemoryIndexManager.get(params);
|
|
61665
61665
|
}
|
|
61666
61666
|
}, () => {
|
|
@@ -61675,7 +61675,7 @@ async function getMemorySearchManager(params) {
|
|
|
61675
61675
|
}
|
|
61676
61676
|
}
|
|
61677
61677
|
try {
|
|
61678
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
61678
|
+
const { MemoryIndexManager } = await import("./manager-DYLqNUb4.js").then((n) => n.t);
|
|
61679
61679
|
return { manager: await MemoryIndexManager.get(params) };
|
|
61680
61680
|
} catch (err) {
|
|
61681
61681
|
return {
|
|
@@ -73307,7 +73307,7 @@ async function recordLoopOutcome(args) {
|
|
|
73307
73307
|
if (!args.ctx?.sessionKey) return;
|
|
73308
73308
|
try {
|
|
73309
73309
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
|
|
73310
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
73310
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-JkCpGrfk.js");
|
|
73311
73311
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
73312
73312
|
sessionKey: args.ctx.sessionKey,
|
|
73313
73313
|
sessionId: args.ctx?.agentId
|
|
@@ -73328,8 +73328,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
73328
73328
|
const params = args.params;
|
|
73329
73329
|
if (args.ctx?.sessionKey) {
|
|
73330
73330
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
|
|
73331
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
73332
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
73331
|
+
const { logToolLoopAction } = await import("./diagnostic-DL3k_wRi.js").then((n) => n.n);
|
|
73332
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-JkCpGrfk.js");
|
|
73333
73333
|
const sessionState = getDiagnosticSessionState({
|
|
73334
73334
|
sessionKey: args.ctx.sessionKey,
|
|
73335
73335
|
sessionId: args.ctx?.agentId
|
|
@@ -91373,7 +91373,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
91373
91373
|
return;
|
|
91374
91374
|
}
|
|
91375
91375
|
try {
|
|
91376
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
91376
|
+
const { deliverOutboundPayloads } = await import("./deliver-NrIHn0__.js").then((n) => n.n);
|
|
91377
91377
|
const outboundSession = buildOutboundSessionContext({
|
|
91378
91378
|
cfg: params.cfg,
|
|
91379
91379
|
sessionKey: params.sessionKey
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { r as resolveAgentConfig } from "./agent-scope-_j3fIYCK.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
package/dist/plugin-sdk/{resolve-outbound-target-D3Y4F2Le.js → resolve-outbound-target-BPT4aNiD.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as normalizeWhatsAppTarget, P as isWhatsAppGroupJid } from "./plugins-
|
|
2
|
-
import { n as missingTargetError } from "./target-errors-
|
|
1
|
+
import { F as normalizeWhatsAppTarget, P as isWhatsAppGroupJid } from "./plugins-BpHAMNJ1.js";
|
|
2
|
+
import { n as missingTargetError } from "./target-errors-0u6pegQv.js";
|
|
3
3
|
|
|
4
4
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
5
5
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as normalizeAgentId, f as sanitizeAgentId, i as buildAgentPeerSessionKey, m as normalizeAccountId, n as DEFAULT_MAIN_KEY, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID } from "./session-key-CVIXEtLx.js";
|
|
3
|
-
import { p as shouldLogVerbose } from "./subsystem-
|
|
4
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
-
import { t as logDebug } from "./logger-
|
|
3
|
+
import { p as shouldLogVerbose } from "./subsystem-B0V8LFBA.js";
|
|
4
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-_j3fIYCK.js";
|
|
5
|
+
import { t as logDebug } from "./logger-CNhs9eKJ.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
|
|
7
|
-
import { n as listBindings } from "./bindings-
|
|
7
|
+
import { n as listBindings } from "./bindings-CxxzC7gn.js";
|
|
8
8
|
|
|
9
9
|
//#region src/routing/resolve-route.ts
|
|
10
10
|
var resolve_route_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { d as normalizeE164, h as resolveUserPath } from "./utils-
|
|
4
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
5
|
-
import { m as kindFromMime } from "./image-ops-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment
|
|
2
|
+
import { n as loadConfig } from "./config-D7I2_X4P.js";
|
|
3
|
+
import { d as normalizeE164, h as resolveUserPath } from "./utils-BfVxx6bk.js";
|
|
4
|
+
import { r as resolveIMessageAccount } from "./accounts-4WE2wtsW.js";
|
|
5
|
+
import { m as kindFromMime } from "./image-ops-C9GXWF3o.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D9mmqMKi.js";
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-DCSeBGBz.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment--hkuIDR1.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { u as logVerbose } from "./subsystem-
|
|
4
|
-
import { A as resolveSlackAccount, N as resolveSlackBotToken, m as parseSlackTarget } from "./plugins-
|
|
5
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
2
|
+
import { n as loadConfig } from "./config-D7I2_X4P.js";
|
|
3
|
+
import { u as logVerbose } from "./subsystem-B0V8LFBA.js";
|
|
4
|
+
import { A as resolveSlackAccount, N as resolveSlackBotToken, m as parseSlackTarget } from "./plugins-BpHAMNJ1.js";
|
|
5
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BivEyA4v.js";
|
|
6
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-BIm-jvIK.js";
|
|
7
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-BPyPeheZ.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D9mmqMKi.js";
|
|
9
9
|
import { t as renderMarkdownWithMarkers } from "./render-BDQg502o.js";
|
|
10
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
10
|
+
import { i as isSilentReplyText } from "./tokens-DF2_VTJy.js";
|
|
11
11
|
import { WebClient } from "@slack/web-api";
|
|
12
12
|
|
|
13
13
|
//#region src/slack/blocks-input.ts
|