wednesdayai 0.5.1-dev.24 → 0.5.1-dev.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-turn-runner-CEjdyv-R.js → agent-turn-runner-CX7rX8by.js} +4 -4
- package/dist/{audio-preflight-C4_SRws-.js → audio-preflight-Qwb3oAbc.js} +5 -5
- package/dist/{audio-transcription-runner-Ct0kBrps.js → audio-transcription-runner-C4eHWIy0.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +12 -12
- package/dist/bundled/session-journal/handler.js +12 -12
- package/dist/bundled/session-memory/handler.js +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chat-content-1fhcKTem.js → chat-content-CX7Bfpgy.js} +3 -3
- package/dist/{chrome-DIGxu4IF.js → chrome-Bukcguhv.js} +8 -8
- package/dist/{command-queue-BIc3C-hI.js → command-queue-DOzYI9q4.js} +1 -1
- package/dist/{deliver-DrYdFhBN.js → deliver-BaTG7V5x.js} +1 -1
- package/dist/{diagnostic-N82VS3Qp.js → diagnostic-DMrDenZI.js} +1 -1
- package/dist/llm-slug-generator.js +12 -12
- package/dist/{pi-embedded-C1EQ2NQD.js → pi-embedded-DpTacVAX.js} +28 -28
- package/dist/{pi-embedded-utils-j-G6as7X.js → pi-embedded-utils-BAaHvb5G.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BNKfH4PO.js → agent-scope-B5NskkwN.js} +2 -2
- package/dist/plugin-sdk/agent-turn-execute-PXSa6POm.js +64 -0
- package/dist/plugin-sdk/agent-turn-runner-Cwg_qJSY.js +11 -0
- package/dist/plugin-sdk/{agent-turn-runner-D9SfXrDG.js → agent-turn-runner-DTwcFLVR.js} +7 -7
- package/dist/plugin-sdk/{api-key-rotation-BoeGT5k6.js → api-key-rotation-Dd5GYq7W.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-DpVKYTBy.js → audio-preflight-BTA2w6a8.js} +2 -2
- package/dist/plugin-sdk/audio-preflight-OHqqRPPw.js +31 -0
- package/dist/plugin-sdk/{audio-transcription-runner-BhFy0i3B.js → audio-transcription-runner-CW4PtJOr.js} +11 -11
- package/dist/plugin-sdk/{auth-profiles-DhZNx6fQ.js → auth-profiles-CxOZbtpA.js} +4 -4
- package/dist/plugin-sdk/{channel-activity-BlGuAYdc.js → channel-activity-WL5SZ4Ub.js} +3 -3
- package/dist/plugin-sdk/{chat-content-BnSpex4r.js → chat-content-Csto0UEZ.js} +13 -13
- package/dist/plugin-sdk/{chrome-CBH4Uiy-.js → chrome-DzzIT4YD.js} +13 -13
- package/dist/plugin-sdk/{chunk-DKwQiXuF.js → chunk-CWDKrXV-.js} +3 -3
- package/dist/plugin-sdk/{chunk-jn4LDLDQ.js → chunk-C_GT4tj0.js} +5 -5
- package/dist/plugin-sdk/{command-detection--t4OkqFt.js → command-detection-YLMxiTkq.js} +95 -95
- package/dist/plugin-sdk/{command-queue-Dd0-b1-g.js → command-queue-84-UYysZ.js} +1 -1
- package/dist/plugin-sdk/{command-queue-DfIjyemM.js → command-queue-BlcsvUrS.js} +7 -7
- package/dist/plugin-sdk/{commands-registry-COgT-iaa.js → commands-registry-Bq1VWa2x.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-C6FHOrPa.js → commands-registry-oILscT9a.js} +5 -5
- package/dist/plugin-sdk/{config-D2katwYr.js → config-Cp7sIoSP.js} +6 -6
- package/dist/plugin-sdk/{deliver-CeWz5Axp.js → deliver-1ptGm5gu.js} +14 -14
- package/dist/plugin-sdk/deliver-vvTRXMdO.js +35 -0
- package/dist/plugin-sdk/{diagnostic-ZVJ6ZVA6.js → diagnostic-BCs9q4kf.js} +6 -6
- package/dist/plugin-sdk/{diagnostic-DD94QWnh.js → diagnostic-W-ES89_S.js} +5 -5
- package/dist/plugin-sdk/{errors-B671D37F.js → errors-BAcXagTa.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-DWRMXy-Z.js → fetch-guard-5esEIw3C.js} +3 -3
- package/dist/plugin-sdk/{fs-safe-CR39I5to.js → fs-safe-Qut4VUn8.js} +3 -3
- package/dist/plugin-sdk/{image-ops-C0wvHJkm.js → image-ops-B9MP8BwT.js} +1 -1
- package/dist/plugin-sdk/index.js +56 -56
- package/dist/plugin-sdk/{ir-CRNn4Wzv.js → ir-D6Bn5lOZ.js} +5 -5
- package/dist/plugin-sdk/{local-roots-D2LPLxOo.js → local-roots-1beRdBcS.js} +7 -7
- package/dist/plugin-sdk/{logger-F5PKgK4h.js → logger-DYxRK_FZ.js} +1 -1
- package/dist/plugin-sdk/manager-BgK1sRAg.js +16 -0
- package/dist/plugin-sdk/{manager-WrO0qTfU.js → manager-Dxv2YpgS.js} +7 -7
- package/dist/plugin-sdk/{markdown-tables-DunxiRpT.js → markdown-tables-5CSf45sS.js} +2 -2
- package/dist/plugin-sdk/markdown-tables-Q5ogPPem.js +9 -0
- package/dist/plugin-sdk/{models-config-DJUNPvmU.js → models-config-Dj4jLPMw.js} +2 -2
- package/dist/plugin-sdk/{outbound-attachment-Bw8Ac2Eh.js → outbound-attachment-DiQNpfYY.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DvB3vS9N.js → path-alias-guards-Cr_8wxeu.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-utils-DCbfW5pR.js → pi-embedded-utils-Bx8SkKxs.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-_OwU2G2N.js → pi-model-discovery-CHCoH08E.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-Bt6iAhJo.js → pi-model-discovery-mXT8DqbW.js} +5 -5
- package/dist/plugin-sdk/provider-dispatcher-Bg7ik_9P.js +64 -0
- package/dist/plugin-sdk/{provider-image-Cp4O6erC.js → provider-image-M3j6w2Xu.js} +6 -6
- package/dist/plugin-sdk/provider-image-fv7acwPs.js +25 -0
- package/dist/plugin-sdk/{proxy-DhVCl72V.js → proxy-K3jUjtIm.js} +1 -1
- package/dist/plugin-sdk/proxy-LKdqVD6u.js +7 -0
- package/dist/plugin-sdk/{proxy-fetch-BSTGvynk.js → proxy-fetch-Dt3HV6r3.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BAIve7qq.js → pw-ai-CsU7HGvR.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-Dk95qYn7.js → qmd-manager-BHhDDFrn.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-CmmZw3Kz.js → query-expansion-BY2L8oSD.js} +2 -2
- package/dist/plugin-sdk/{recorder-CSYSJRCO.js → recorder-B_7zTSFA.js} +2 -2
- package/dist/plugin-sdk/{redact-YbcPIGWf.js → redact-C9Eu_AUI.js} +1 -1
- package/dist/plugin-sdk/{replies-CXs4_abR.js → replies-B3XUIs0b.js} +5 -5
- package/dist/plugin-sdk/replies-C4T9Nsqz.js +27 -0
- package/dist/plugin-sdk/{reply-directives-DjbLtWjg.js → reply-directives-D1IqpiHJ.js} +2 -2
- package/dist/plugin-sdk/{reply-prefix-DA4xCsnL.js → reply-prefix-Bf8Iqq8v.js} +1 -1
- package/dist/plugin-sdk/reply-prefix-C38vv65Y.js +7 -0
- package/dist/plugin-sdk/{resolve-route-Ouh7ZVw1.js → resolve-route-D0I4Llwy.js} +4 -4
- package/dist/plugin-sdk/{resolve-route-BDoLW8xr.js → resolve-route-JQF7nqo1.js} +5 -5
- package/dist/plugin-sdk/{runs-s1XnmHHC.js → runs-C75mB4si.js} +8 -8
- package/dist/plugin-sdk/runs-S1n4U4AS.js +27 -0
- package/dist/plugin-sdk/send--m_QWAPO.js +23 -0
- package/dist/plugin-sdk/{send-sl6DLsL2.js → send-4vK7xjJW.js} +15 -15
- package/dist/plugin-sdk/{send-YzrHr_2V.js → send-7iASSBg6.js} +6 -6
- package/dist/plugin-sdk/send-C4wz_kt5.js +28 -0
- package/dist/plugin-sdk/{send-DlYcVutL.js → send-CRZe2naD.js} +8 -8
- package/dist/plugin-sdk/{send-Dzf8uETw.js → send-CzU3DnG8.js} +7 -7
- package/dist/plugin-sdk/send-D9H-XXzx.js +25 -0
- package/dist/plugin-sdk/{send-C6oFuvTF.js → send-DHH7532s.js} +6 -6
- package/dist/plugin-sdk/{send-BRN7Zt5N.js → send-Dhapzixp.js} +19 -19
- package/dist/plugin-sdk/send-DnFCjogv.js +24 -0
- package/dist/plugin-sdk/{session-context-BKcnHr0H.js → session-context-DVrSm2pD.js} +4 -4
- package/dist/plugin-sdk/session-meta-CT3hQSl7.js +13 -0
- package/dist/plugin-sdk/{session-meta-Ov3Sv55D.js → session-meta-Cho9XVh8.js} +1 -1
- package/dist/plugin-sdk/{sessions-CLYE50YG.js → sessions-D5KTt-gq.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-B3IuCuE6.js → skill-commands-Bv0tfv2Q.js} +4 -4
- package/dist/plugin-sdk/skill-commands-Clq-qaMe.js +13 -0
- package/dist/plugin-sdk/{skills-DcowK80n.js → skills-DO7OTK36.js} +6 -6
- package/dist/plugin-sdk/{ssrf-CkGpmmN1.js → ssrf-DPY1teOB.js} +1 -1
- package/dist/plugin-sdk/{store-B5Jssa25.js → store-nKIf4x6Y.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-DSh4cze1.js +64 -0
- package/dist/plugin-sdk/{subsystem-C-lWCqvG.js → subsystem-CPqF9wja.js} +4 -4
- package/dist/plugin-sdk/{tables-CG00Lb4u.js → tables-CatynEzT.js} +1 -1
- package/dist/plugin-sdk/{tokens-Ctmmv-sn.js → tokens-DdbQh5HH.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-ys8oxWQM.js → tool-loop-detection-DazBiexb.js} +1 -1
- package/dist/plugin-sdk/{user-run-recording-CTKs_Jv9.js → user-run-recording-BXyHfYg3.js} +2 -2
- package/dist/plugin-sdk/user-run-recording-D80GJNVP.js +11 -0
- package/dist/{provider-image-CFq0C_z0.js → provider-image-BSkZoSBN.js} +1 -1
- package/dist/{pw-ai-Dhm8_p5G.js → pw-ai-CNTt9O_x.js} +1 -1
- package/dist/{runs-Ot6reoKK.js → runs-6Q7RU60m.js} +3 -3
- package/dist/{send-BXHsjIHr.js → send-VDe5tGbO.js} +1 -1
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/ui-surfaces/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +6 -3
- package/scripts/install.ps1 +329 -0
- package/scripts/install.sh +2479 -0
- package/dist/plugin-sdk/agent-turn-execute-W6H2j8kO.js +0 -64
- package/dist/plugin-sdk/agent-turn-runner-BTedsvG2.js +0 -11
- package/dist/plugin-sdk/audio-preflight-CJ3oP-bs.js +0 -31
- package/dist/plugin-sdk/deliver-DaxxC7pS.js +0 -35
- package/dist/plugin-sdk/manager-DsV_4p9J.js +0 -16
- package/dist/plugin-sdk/markdown-tables-xTvb6uxj.js +0 -9
- package/dist/plugin-sdk/provider-dispatcher-BVBAjHBR.js +0 -64
- package/dist/plugin-sdk/provider-image-Wa7xYnAo.js +0 -25
- package/dist/plugin-sdk/proxy-BFnRHQ1U.js +0 -7
- package/dist/plugin-sdk/replies-RqNUByIO.js +0 -27
- package/dist/plugin-sdk/reply-prefix-30s91NpV.js +0 -7
- package/dist/plugin-sdk/runs-XrgntIht.js +0 -27
- package/dist/plugin-sdk/send-8sjelrtn.js +0 -25
- package/dist/plugin-sdk/send-BjroMkud.js +0 -24
- package/dist/plugin-sdk/send-CwcdQ1wT.js +0 -28
- package/dist/plugin-sdk/send-DuyWQ4Q4.js +0 -23
- package/dist/plugin-sdk/session-meta-JkAHgftu.js +0 -13
- package/dist/plugin-sdk/skill-commands-CZKr2EYZ.js +0 -13
- package/dist/plugin-sdk/subagent-registry-28cuPTO-.js +0 -64
- package/dist/plugin-sdk/user-run-recording-DIcSd0VJ.js +0 -11
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import { a as resolveGatewayLockDir, f as resolveRequiredHomeDir, l as resolveStateDir, n as STATE_DIR, o as resolveGatewayPort, r as resolveConfigPath, u as expandHomePrefix } from "./paths-oi7j9L8A.js";
|
|
2
|
-
import { $ as resolveUserPath, Ct as normalizeLogLevel, G as formatTerminalLink, K as isRecord$1, M as normalizeWindowsPathForComparison, P as isDangerousHostEnvVarName, S as openBoundaryFileSync, U as ensureDir$3, V as clampInt, W as escapeRegExp, Y as normalizeE164, _t as theme, a as createNonExitingRuntime, c as registerActiveProgressLine, dt as setVerbose, ft as shouldLogVerbose, gt as isRich, h as INCLUDE_KEY, ht as colorize, it as sliceUtf16Safe, l as unregisterActiveProgressLine, lt as logVerbose, mt as warn, nt as shortenHomePath, o as defaultRuntime, ot as truncateUtf16Safe, rt as sleep$3, s as clearActiveProgressLine, st as danger, t as createSubsystemLogger, tt as shortenHomeInString, u as appendFileLog, v as isBlockedObjectKey, vt as getChildLogger, wt as resolvePreferredOpenClawTmpDir, x as openBoundaryFile, z as CONFIG_DIR } from "./subsystem-
|
|
2
|
+
import { $ as resolveUserPath, Ct as normalizeLogLevel, G as formatTerminalLink, K as isRecord$1, M as normalizeWindowsPathForComparison, P as isDangerousHostEnvVarName, S as openBoundaryFileSync, U as ensureDir$3, V as clampInt, W as escapeRegExp, Y as normalizeE164, _t as theme, a as createNonExitingRuntime, c as registerActiveProgressLine, dt as setVerbose, ft as shouldLogVerbose, gt as isRich, h as INCLUDE_KEY, ht as colorize, it as sliceUtf16Safe, l as unregisterActiveProgressLine, lt as logVerbose, mt as warn, nt as shortenHomePath, o as defaultRuntime, ot as truncateUtf16Safe, rt as sleep$3, s as clearActiveProgressLine, st as danger, t as createSubsystemLogger, tt as shortenHomeInString, u as appendFileLog, v as isBlockedObjectKey, vt as getChildLogger, wt as resolvePreferredOpenClawTmpDir, x as openBoundaryFile, z as CONFIG_DIR } from "./subsystem-CPqF9wja.js";
|
|
3
3
|
import { t as isPlainObject } from "./plain-object-BTbonVRI.js";
|
|
4
|
-
import { $ as sessionKeyAgentMatches, A as resolveAgentModelFallbackValues, B as classifySessionKeyShape, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as DEVICE_SENDER_PREFIX, G as isValidAgentId, J as resolveAgentIdFromSessionKey, K as normalizeAgentId, L as buildAgentMainSessionKey, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as sanitizeAgentId, S as filterBootstrapFilesForSession, W as isKnownAgentMainSessionKey, X as resolveConfiguredCanonicalIdentity, Y as resolveCanonicalIdentity, Z as resolveThreadSessionKeys, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, ct as getSubagentDepth, d as resolveSessionAgentId, et as toAgentStoreSessionKey, f as resolveSessionAgentIds, ft as isSubagentSessionKey, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, lt as isAcpSessionKey, m as DEFAULT_AGENT_WORKSPACE_DIR, mt as resolveThreadParentSessionKey, n as listAgentIds, nt as normalizeAccountId$3, o as resolveAgentSkillsFilter, ot as WAKE_GATE_SESSION_KEY_SEGMENT, pt as parseAgentSessionKey, q as normalizeMainKey, r as resolveAgentConfig, rt as normalizeOptionalAccountId, s as resolveAgentWorkspaceDir, st as deriveSessionChatType, t as hasConfiguredModelFallbacks, tt as DEFAULT_ACCOUNT_ID, u as resolveRunModelFallbacksOverride, ut as isCronSessionKey, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace } from "./agent-scope-
|
|
5
|
-
import { $a as normalizeProviderId, $i as actionRequiresTarget, Aa as isShellWrapperExecutable, Ai as isMarkdownCapableMessageChannel, Ao as markAuthProfileFailure, B as ASSISTANT_IDENTITY_COLORS, Ba as resolveDiscordPreviewStreamMode, Bi as resolveSessionLockMaxHoldFromTimeout, Bn as resolveGroupSessionKey, Bt as getPluginCommandSpecs, C as normalizeScpRemoteHost, Ca as splitCommandChain, Ci as mergeDeliveryContext, Cn as mergeSessionEntry, Co as resolveEnvApiKey, Cr as normalizeAtHashSlug, Cs as resolveShellEnvFallbackTimeoutMs, Ct as normalizeAnyChannelId, Da as resolveCommandResolutionFromArgv, Di as isDeliverableMessageChannel, Dn as parseSessionIndexRecordKey, Dr as createTelegramActionGate, Dt as getActiveGatewayPluginRegistry, Ea as resolveAllowlistCandidatePath, Ei as INTERNAL_MESSAGE_CHANNEL, En as parseDurationMs, Er as normalizeStringEntriesLower, Es as resolveOwnerDisplaySetting, Et as resolveChannelConfigId, Fa as normalizeSafeBinProfileFixtures, Fi as GATEWAY_CLIENT_IDS, Fn as resolveSessionFilePathOptions, Fo as resolveSecretRefValues, Ft as createPluginRegistry, Ga as resolveAgentMaxConcurrent, Go as formatCliCommand, Gr as listEnabledSignalAccounts, Ha as resolveSlackStreamingMode, Hi as readTaskWorkStates, Hn as listChannelPlugins, Ho as secretRefKey, Hr as resolveSlackReplyToMode, Ht as matchPluginCommand, Ia as resolveSafeBinProfiles, Ii as GATEWAY_CLIENT_MODES, In as resolveSessionTranscriptPath, Io as describeUnknownError$1, It as normalizePluginHttpPath, Ja as buildModelAliasIndex, Ji as channelTargetsSchema, Jr as resolveSignalAccount, Ka as buildAllowedModelSet, Ko as resolveCliName, La as applyMergePatch, Li as GATEWAY_CLIENT_NAMES, Lo as isNonEmptyString, Lt as buildPluginHealthReport, Ma as unwrapKnownShellMultiplexerInvocation, Mi as normalizeMessageChannel, Mn as SESSION_RUN_STORE_FILE_NAME, Mo as resolveProfilesUnavailableReason, Mr as resolveTelegramToken, Mt as setActivePluginRegistry, Na as splitShellArgs, Ni as resolveGatewayMessageChannel, No as resolveApiKeyForProfile, Nr as buildChannelAccountBindings, Nt as addRegisteredPluginApi, Oa as extractShellWrapperInlineCommand, Oi as isGatewayMessageChannel, Oo as getSoonestCooldownExpiry, Or as listEnabledTelegramAccounts, Ot as getActivePluginRegistry, Pa as SAFE_BIN_PROFILES, Pi as resolveMessageChannel, Pn as resolveSessionFilePath, Pt as clearRegisteredPluginApis, Qa as normalizeModelRef$2, Qi as actionHasTarget, Qo as ensureAuthProfileStore, Ra as isSafeExecutableValue, Ri as normalizeAccountId$4, Rn as resolveStorePath, Ro as isRecord$2, Rt as clearPluginCommands, S as resolveIMessageRemoteAttachmentRoots, Sa as isWindowsPlatform, Si as deliveryContextKey, Sn as DEFAULT_RESET_TRIGGERS, So as resolveApiKeyForProvider, Ss as getShellPathFromLoginShell, St as listChatChannels, Ta as matchAllowlist, Ti as normalizeSessionDeliveryFields, Tn as setSessionRuntimeModel, To as resolveAuthProfileOrder, Tr as normalizeStringEntries, Ts as parseBooleanValue$1, Tt as normalizeChatChannelId, Un as normalizeChannelId$1, Ur as resolveSlackAppToken, Ut as registerPluginCommand, V as resolveExecPolicyPreset, Va as resolveSlackNativeStreaming, Vi as CtxProjectionCorruptionError, Vn as getChannelPlugin, Vr as resolveSlackAccount, Vt as listPluginCommands, Wa as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Wo as runTasksWithConcurrency, Wr as resolveSlackBotToken, Xa as isCliProvider, Xi as stringEnum, Xo as listProfilesForProvider, Ya as findNormalizedProviderValue, Yi as optionalStringEnum, Yo as dedupeProfileIds, Za as modelKey, Zi as applyTargetToParams, Zo as markAuthProfileGood, _ as resolveTelegramCustomCommands, _a as listWritableExplicitTrustedSafeBinDirs, _i as resolveChannelGroupRequireMention, _n as refreshConfiguredSessionBindingEntry, _o as buildStreamErrorAssistantMessage, _s as splitTrailingAuthProfile, _t as safeStatSync, a as writeConfigFile, aa as replaceBufferedPluginTaskPasses, ao as resolveSubagentSpawnModelSelection, ar as getChannelDock, as as isPidAlive, at as isPathWithinRoot, ba as analyzeShellCommand, bi as resolveAccountEntry, bn as updateSessionStoreEntry, bo as getCustomProviderApiKey, bs as DEFAULT_PROVIDER, bt as CHAT_CHANNEL_ORDER, ca as resetConfigOverrides, cn as closeReplacedConfiguredSessionStorageRuntime, cr as normalizeSignalMessagingTarget, ct as loadPluginManifestRegistry, da as getConfigValueAtPath, ds as coerceSecretRef, dt as isBundledChannelEnabledByChannelConfig, en as createInternalHookEvent, eo as parseModelRef, er as parseSlackTarget, es as resolveAuthStorePathForDisplay, fa as parseConfigPath, fi as listEnabledDiscordAccounts, fn as loadSessionStore, fo as retryAsync, fs as hasConfiguredSecretInput, ft as normalizePluginsConfig, g as normalizeTelegramCommandName, ga as isTrustedSafeBinPath, gi as resolveChannelGroupPolicy, gn as recordSessionMetaFromInbound, go as buildAssistantMessageWithZeroUsage, gs as resolveSecretInputRef, gt as isPathInside, h as TELEGRAM_COMMAND_NAME_PATTERN, ha as getTrustedSafeBinDirs, hi as normalizeDiscordToken, hn as readSessionUpdatedAt, ho as buildAssistantMessage, ht as discoverOpenClawPlugins, ia as listBufferedPluginTaskPasses, in as getConversationReadQuery, io as resolveReasoningDefault, is as resolveProcessScopedMap, it as isAvatarHttpUrl, ja as unwrapKnownDispatchWrapperInvocation, ji as listDeliverableMessageChannels, jn as SAFE_SESSION_ID_RE, jo as markAuthProfileUsed, jr as resolveTelegramAccount, jt as requireActivePluginRegistry, ka as isDispatchWrapperExecutable, ki as isInternalMessageChannel, ko as isProfileInCooldown, kr as listTelegramAccountIds, kt as getActivePluginRegistryKey, la as setConfigOverride, li as resolveIMessageAccount, ln as commitPreparedConfiguredSessionStorageRuntimeActivation, ls as normalizeSecretInput, lt as BUNDLED_ENABLED_BY_DEFAULT, ma as unsetConfigValueAtPath, mi as resolveDiscordAccount, mn as prepareConfiguredSessionStorageRuntimeActivation, mo as createOllamaStreamFn, ms as normalizeResolvedSecretInputString, mt as resolveMemorySlotDecision, n as loadConfig, ni as normalizeWhatsAppTarget, nn as StorageReadAccessError, no as resolveDefaultModelForAgent, nt as AVATAR_MAX_BYTES, o as validateConfigObjectWithPlugins, oa as RecoveryAdmissionError, oi as resolveWhatsAppAccount, on as requireSessionStorageRuntime, oo as resolveThinkingDefault, or as listChannelDocks, os as readProcessElapsedSeconds, ot as isSupportedLocalAvatarExtension, pa as setConfigValueAtPath, pn as loadSessionStoreFromDisk, po as OLLAMA_NATIVE_BASE_URL, pt as resolveEffectiveEnableState, qa as buildConfiguredAllowlistKeys, qi as channelTargetSchema, r as readConfigFileSnapshot, ra as discardBufferedPluginTaskPasses, ri as hasAnyWhatsAppAuth, rn as createConversationReadQuery, ro as resolveModelRefFromString, rs as withFileLock, rt as isAvatarDataUrl, sa as getConfigOverrides, sn as closeConfiguredSessionStorageRuntime, ss as resolveAuthProfileDisplayLabel, st as validateJsonSchemaValue, ti as isWhatsAppGroupJid, tn as triggerInternalHook, to as resolveConfiguredModelRef, tr as resolveSlackChannelId, ts as resolveOpenClawAgentDir, ua as unsetConfigOverride, ui as createDiscordActionGate, un as getConfiguredSessionStorageRuntime, ut as applyTestPluginDefaults, va as normalizeTrustedSafeBinDirs, vi as resolveChannelGroupToolsPolicy, vn as updateLastRoute, vo as buildUsageWithNoCost, vs as DEFAULT_CONTEXT_TOKENS, vt as readManifestNamespace, w as parseNonNegativeByteSize, wa as DEFAULT_SAFE_BINS, wi as normalizeDeliveryContext, wn as resolveFreshSessionTotalTokens, wo as resolveModelAuthMode, wr as normalizeHyphenSlug, ws as isTruthyEnvValue, wt as normalizeChannelId$2, x as resolveIMessageAttachmentRoots, xa as buildEnforcedShellCommand, xi as deliveryContextFromSession, xo as requireApiKey, xs as VERSION, xt as getChatChannelMeta, y as isInboundPathAllowed, ya as validateSafeBinArgv, yn as updateSessionStore, yo as getApiKeyForModel, ys as DEFAULT_MODEL, za as mapStreamingModeToSlackLegacyDraftStreamMode, zi as acquireSessionWriteLock, zn as deriveSessionMetaPatch, zo as parseDotPath, zt as executePluginCommand } from "./config-
|
|
4
|
+
import { $ as sessionKeyAgentMatches, A as resolveAgentModelFallbackValues, B as classifySessionKeyShape, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as DEVICE_SENDER_PREFIX, G as isValidAgentId, J as resolveAgentIdFromSessionKey, K as normalizeAgentId, L as buildAgentMainSessionKey, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as sanitizeAgentId, S as filterBootstrapFilesForSession, W as isKnownAgentMainSessionKey, X as resolveConfiguredCanonicalIdentity, Y as resolveCanonicalIdentity, Z as resolveThreadSessionKeys, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, ct as getSubagentDepth, d as resolveSessionAgentId, et as toAgentStoreSessionKey, f as resolveSessionAgentIds, ft as isSubagentSessionKey, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, lt as isAcpSessionKey, m as DEFAULT_AGENT_WORKSPACE_DIR, mt as resolveThreadParentSessionKey, n as listAgentIds, nt as normalizeAccountId$3, o as resolveAgentSkillsFilter, ot as WAKE_GATE_SESSION_KEY_SEGMENT, pt as parseAgentSessionKey, q as normalizeMainKey, r as resolveAgentConfig, rt as normalizeOptionalAccountId, s as resolveAgentWorkspaceDir, st as deriveSessionChatType, t as hasConfiguredModelFallbacks, tt as DEFAULT_ACCOUNT_ID, u as resolveRunModelFallbacksOverride, ut as isCronSessionKey, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace } from "./agent-scope-B5NskkwN.js";
|
|
5
|
+
import { $a as normalizeProviderId, $i as actionRequiresTarget, Aa as isShellWrapperExecutable, Ai as isMarkdownCapableMessageChannel, Ao as markAuthProfileFailure, B as ASSISTANT_IDENTITY_COLORS, Ba as resolveDiscordPreviewStreamMode, Bi as resolveSessionLockMaxHoldFromTimeout, Bn as resolveGroupSessionKey, Bt as getPluginCommandSpecs, C as normalizeScpRemoteHost, Ca as splitCommandChain, Ci as mergeDeliveryContext, Cn as mergeSessionEntry, Co as resolveEnvApiKey, Cr as normalizeAtHashSlug, Cs as resolveShellEnvFallbackTimeoutMs, Ct as normalizeAnyChannelId, Da as resolveCommandResolutionFromArgv, Di as isDeliverableMessageChannel, Dn as parseSessionIndexRecordKey, Dr as createTelegramActionGate, Dt as getActiveGatewayPluginRegistry, Ea as resolveAllowlistCandidatePath, Ei as INTERNAL_MESSAGE_CHANNEL, En as parseDurationMs, Er as normalizeStringEntriesLower, Es as resolveOwnerDisplaySetting, Et as resolveChannelConfigId, Fa as normalizeSafeBinProfileFixtures, Fi as GATEWAY_CLIENT_IDS, Fn as resolveSessionFilePathOptions, Fo as resolveSecretRefValues, Ft as createPluginRegistry, Ga as resolveAgentMaxConcurrent, Go as formatCliCommand, Gr as listEnabledSignalAccounts, Ha as resolveSlackStreamingMode, Hi as readTaskWorkStates, Hn as listChannelPlugins, Ho as secretRefKey, Hr as resolveSlackReplyToMode, Ht as matchPluginCommand, Ia as resolveSafeBinProfiles, Ii as GATEWAY_CLIENT_MODES, In as resolveSessionTranscriptPath, Io as describeUnknownError$1, It as normalizePluginHttpPath, Ja as buildModelAliasIndex, Ji as channelTargetsSchema, Jr as resolveSignalAccount, Ka as buildAllowedModelSet, Ko as resolveCliName, La as applyMergePatch, Li as GATEWAY_CLIENT_NAMES, Lo as isNonEmptyString, Lt as buildPluginHealthReport, Ma as unwrapKnownShellMultiplexerInvocation, Mi as normalizeMessageChannel, Mn as SESSION_RUN_STORE_FILE_NAME, Mo as resolveProfilesUnavailableReason, Mr as resolveTelegramToken, Mt as setActivePluginRegistry, Na as splitShellArgs, Ni as resolveGatewayMessageChannel, No as resolveApiKeyForProfile, Nr as buildChannelAccountBindings, Nt as addRegisteredPluginApi, Oa as extractShellWrapperInlineCommand, Oi as isGatewayMessageChannel, Oo as getSoonestCooldownExpiry, Or as listEnabledTelegramAccounts, Ot as getActivePluginRegistry, Pa as SAFE_BIN_PROFILES, Pi as resolveMessageChannel, Pn as resolveSessionFilePath, Pt as clearRegisteredPluginApis, Qa as normalizeModelRef$2, Qi as actionHasTarget, Qo as ensureAuthProfileStore, Ra as isSafeExecutableValue, Ri as normalizeAccountId$4, Rn as resolveStorePath, Ro as isRecord$2, Rt as clearPluginCommands, S as resolveIMessageRemoteAttachmentRoots, Sa as isWindowsPlatform, Si as deliveryContextKey, Sn as DEFAULT_RESET_TRIGGERS, So as resolveApiKeyForProvider, Ss as getShellPathFromLoginShell, St as listChatChannels, Ta as matchAllowlist, Ti as normalizeSessionDeliveryFields, Tn as setSessionRuntimeModel, To as resolveAuthProfileOrder, Tr as normalizeStringEntries, Ts as parseBooleanValue$1, Tt as normalizeChatChannelId, Un as normalizeChannelId$1, Ur as resolveSlackAppToken, Ut as registerPluginCommand, V as resolveExecPolicyPreset, Va as resolveSlackNativeStreaming, Vi as CtxProjectionCorruptionError, Vn as getChannelPlugin, Vr as resolveSlackAccount, Vt as listPluginCommands, Wa as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Wo as runTasksWithConcurrency, Wr as resolveSlackBotToken, Xa as isCliProvider, Xi as stringEnum, Xo as listProfilesForProvider, Ya as findNormalizedProviderValue, Yi as optionalStringEnum, Yo as dedupeProfileIds, Za as modelKey, Zi as applyTargetToParams, Zo as markAuthProfileGood, _ as resolveTelegramCustomCommands, _a as listWritableExplicitTrustedSafeBinDirs, _i as resolveChannelGroupRequireMention, _n as refreshConfiguredSessionBindingEntry, _o as buildStreamErrorAssistantMessage, _s as splitTrailingAuthProfile, _t as safeStatSync, a as writeConfigFile, aa as replaceBufferedPluginTaskPasses, ao as resolveSubagentSpawnModelSelection, ar as getChannelDock, as as isPidAlive, at as isPathWithinRoot, ba as analyzeShellCommand, bi as resolveAccountEntry, bn as updateSessionStoreEntry, bo as getCustomProviderApiKey, bs as DEFAULT_PROVIDER, bt as CHAT_CHANNEL_ORDER, ca as resetConfigOverrides, cn as closeReplacedConfiguredSessionStorageRuntime, cr as normalizeSignalMessagingTarget, ct as loadPluginManifestRegistry, da as getConfigValueAtPath, ds as coerceSecretRef, dt as isBundledChannelEnabledByChannelConfig, en as createInternalHookEvent, eo as parseModelRef, er as parseSlackTarget, es as resolveAuthStorePathForDisplay, fa as parseConfigPath, fi as listEnabledDiscordAccounts, fn as loadSessionStore, fo as retryAsync, fs as hasConfiguredSecretInput, ft as normalizePluginsConfig, g as normalizeTelegramCommandName, ga as isTrustedSafeBinPath, gi as resolveChannelGroupPolicy, gn as recordSessionMetaFromInbound, go as buildAssistantMessageWithZeroUsage, gs as resolveSecretInputRef, gt as isPathInside, h as TELEGRAM_COMMAND_NAME_PATTERN, ha as getTrustedSafeBinDirs, hi as normalizeDiscordToken, hn as readSessionUpdatedAt, ho as buildAssistantMessage, ht as discoverOpenClawPlugins, ia as listBufferedPluginTaskPasses, in as getConversationReadQuery, io as resolveReasoningDefault, is as resolveProcessScopedMap, it as isAvatarHttpUrl, ja as unwrapKnownDispatchWrapperInvocation, ji as listDeliverableMessageChannels, jn as SAFE_SESSION_ID_RE, jo as markAuthProfileUsed, jr as resolveTelegramAccount, jt as requireActivePluginRegistry, ka as isDispatchWrapperExecutable, ki as isInternalMessageChannel, ko as isProfileInCooldown, kr as listTelegramAccountIds, kt as getActivePluginRegistryKey, la as setConfigOverride, li as resolveIMessageAccount, ln as commitPreparedConfiguredSessionStorageRuntimeActivation, ls as normalizeSecretInput, lt as BUNDLED_ENABLED_BY_DEFAULT, ma as unsetConfigValueAtPath, mi as resolveDiscordAccount, mn as prepareConfiguredSessionStorageRuntimeActivation, mo as createOllamaStreamFn, ms as normalizeResolvedSecretInputString, mt as resolveMemorySlotDecision, n as loadConfig, ni as normalizeWhatsAppTarget, nn as StorageReadAccessError, no as resolveDefaultModelForAgent, nt as AVATAR_MAX_BYTES, o as validateConfigObjectWithPlugins, oa as RecoveryAdmissionError, oi as resolveWhatsAppAccount, on as requireSessionStorageRuntime, oo as resolveThinkingDefault, or as listChannelDocks, os as readProcessElapsedSeconds, ot as isSupportedLocalAvatarExtension, pa as setConfigValueAtPath, pn as loadSessionStoreFromDisk, po as OLLAMA_NATIVE_BASE_URL, pt as resolveEffectiveEnableState, qa as buildConfiguredAllowlistKeys, qi as channelTargetSchema, r as readConfigFileSnapshot, ra as discardBufferedPluginTaskPasses, ri as hasAnyWhatsAppAuth, rn as createConversationReadQuery, ro as resolveModelRefFromString, rs as withFileLock, rt as isAvatarDataUrl, sa as getConfigOverrides, sn as closeConfiguredSessionStorageRuntime, ss as resolveAuthProfileDisplayLabel, st as validateJsonSchemaValue, ti as isWhatsAppGroupJid, tn as triggerInternalHook, to as resolveConfiguredModelRef, tr as resolveSlackChannelId, ts as resolveOpenClawAgentDir, ua as unsetConfigOverride, ui as createDiscordActionGate, un as getConfiguredSessionStorageRuntime, ut as applyTestPluginDefaults, va as normalizeTrustedSafeBinDirs, vi as resolveChannelGroupToolsPolicy, vn as updateLastRoute, vo as buildUsageWithNoCost, vs as DEFAULT_CONTEXT_TOKENS, vt as readManifestNamespace, w as parseNonNegativeByteSize, wa as DEFAULT_SAFE_BINS, wi as normalizeDeliveryContext, wn as resolveFreshSessionTotalTokens, wo as resolveModelAuthMode, wr as normalizeHyphenSlug, ws as isTruthyEnvValue, wt as normalizeChannelId$2, x as resolveIMessageAttachmentRoots, xa as buildEnforcedShellCommand, xi as deliveryContextFromSession, xo as requireApiKey, xs as VERSION, xt as getChatChannelMeta, y as isInboundPathAllowed, ya as validateSafeBinArgv, yn as updateSessionStore, yo as getApiKeyForModel, ys as DEFAULT_MODEL, za as mapStreamingModeToSlackLegacyDraftStreamMode, zi as acquireSessionWriteLock, zn as deriveSessionMetaPatch, zo as parseDotPath, zt as executePluginCommand } from "./config-Cp7sIoSP.js";
|
|
6
6
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-BnKQ-aRX.js";
|
|
7
|
-
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-
|
|
7
|
+
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-DYxRK_FZ.js";
|
|
8
8
|
import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-DA_qUFFI.js";
|
|
9
|
-
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, At as resolveChannelEntryMatchWithFallback, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, 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, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-
|
|
10
|
-
import { $ as validateCtxStorage, $t as resolveMainSessionKey, At as formatZonedTimestamp, B as truncateToolResultToChars, Bt as hasNonzeroUsage, C as hasHookForPlugin, Ct as attachMessageIngress, D as resolveProviderPromptCacheKey, Dt as stripMessageCarriers, E as buildPluginTurnIdentity, Et as messageTime, F as HARD_MAX_TOOL_RESULT_CHARS, Ft as normalizeCronStaggerMs, G as estimateMessageCharsCached, Gt as evaluateSessionFreshness, H as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, Ht as normalizeUsage, I as sessionLikelyHasOversizedToolResults, It as resolveDefaultCronStaggerMs, J as parseInlineDirectives$1, Jt as resolveSessionResetType, K as getToolResultText$1, Kt as resolveChannelResetConfig, L as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, Lt as parseAbsoluteTimeMs, M as eventOrder, Mt as resolveSenderLabel, N as pickLeaf, Nt as inferLegacyName, O as resolveProviderRuntimeIdentity, Ot as formatMessageStamp, P as capToolResultContent, Pt as normalizeHttpWebhookUrl, Qt as resolveExplicitAgentSessionKey, R as TOOL_RESULT_TEXT_WEIGHT, Rt as derivePromptTokens, S as initializeGlobalHookRunner, St as renderInboundUserContext, T as buildPluginRuntimeIdentity, Tt as isRepresentableEpochMs, U as createMessageCharEstimateCache, Ut as SESSION_RUN_STATUSES, V as CHARS_PER_TOKEN_ESTIMATE$2, Vt as makeZeroUsageSnapshot, W as estimateContextChars$1, Wt as resolveSessionKey, X as createSessionStorageRuntimeFromConfig, Xt as canonicalizeMainSessionAlias, Y as attachPgPoolErrorListeners, Yt as resolveThreadFlag, Z as resolveSessionStorageConfig, Zt as resolveAgentMainSessionKey, _ as INPUT_PROVENANCE_KIND_VALUES, _t as mergePromptContributions, a as resolveMirroredTranscriptText, at as buildEqualityProjection, b as getGlobalHookRunner, bt as buildInboundMetaSystemPrompt, c as drainPendingPrimaryWrites, ct as deriveLegacyActorIdentity, d as repairToolUseResultPairing, dt as sanitizeJsonb, en as isPrimarySessionTranscriptFileName, et as TASK_RUN_MODES, f as sanitizeToolCallInputs, ft as sha256, g as sanitizeToolCallIdsForCloudCodeAssist, h as canonicalToolCallIdBase, i as appendAssistantMessageToSessionTranscript, j as DB_SESSION_HYDRATION_LIMIT, jt as resolveTimezone, l as guardSessionManager, lt as sanitizeAppendEntry, m as stripToolResultDetails, mt as createCurrentUserPromptEnvelope, n as parseSessionThreadInfo, o as openDbSessionManager, ot as CREATE_CTX_STORAGE_OWNER_SQL, p as sanitizeToolUseResultPairing, pt as userIdFromSessionKey, q as isToolResultMessage, qt as resolveSessionResetPolicy, r as resolveAndPersistSessionFile, s as runSerializedBySession, st as HIDDEN_HEARTBEAT_CUSTOM_TYPE, t as extractDeliveryInfo, tn as isSessionArchiveArtifactName, tt as TASK_RUN_STATUSES, u as openRawToolResultStash, ut as extractLegacyTranscriptEntryFields, v as hasInterSessionUserProvenance, vt as toJsonValue$1, w as promptBuildResultToContribution, wt as getMessageIngress, x as getGlobalPluginRegistry, xt as collectInboundUserContext, y as normalizeInputProvenance, z as truncateTextHeadTail, zt as deriveSessionTotalTokens } from "./sessions-
|
|
9
|
+
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, At as resolveChannelEntryMatchWithFallback, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, 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, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-CRZe2naD.js";
|
|
10
|
+
import { $ as validateCtxStorage, $t as resolveMainSessionKey, At as formatZonedTimestamp, B as truncateToolResultToChars, Bt as hasNonzeroUsage, C as hasHookForPlugin, Ct as attachMessageIngress, D as resolveProviderPromptCacheKey, Dt as stripMessageCarriers, E as buildPluginTurnIdentity, Et as messageTime, F as HARD_MAX_TOOL_RESULT_CHARS, Ft as normalizeCronStaggerMs, G as estimateMessageCharsCached, Gt as evaluateSessionFreshness, H as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, Ht as normalizeUsage, I as sessionLikelyHasOversizedToolResults, It as resolveDefaultCronStaggerMs, J as parseInlineDirectives$1, Jt as resolveSessionResetType, K as getToolResultText$1, Kt as resolveChannelResetConfig, L as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, Lt as parseAbsoluteTimeMs, M as eventOrder, Mt as resolveSenderLabel, N as pickLeaf, Nt as inferLegacyName, O as resolveProviderRuntimeIdentity, Ot as formatMessageStamp, P as capToolResultContent, Pt as normalizeHttpWebhookUrl, Qt as resolveExplicitAgentSessionKey, R as TOOL_RESULT_TEXT_WEIGHT, Rt as derivePromptTokens, S as initializeGlobalHookRunner, St as renderInboundUserContext, T as buildPluginRuntimeIdentity, Tt as isRepresentableEpochMs, U as createMessageCharEstimateCache, Ut as SESSION_RUN_STATUSES, V as CHARS_PER_TOKEN_ESTIMATE$2, Vt as makeZeroUsageSnapshot, W as estimateContextChars$1, Wt as resolveSessionKey, X as createSessionStorageRuntimeFromConfig, Xt as canonicalizeMainSessionAlias, Y as attachPgPoolErrorListeners, Yt as resolveThreadFlag, Z as resolveSessionStorageConfig, Zt as resolveAgentMainSessionKey, _ as INPUT_PROVENANCE_KIND_VALUES, _t as mergePromptContributions, a as resolveMirroredTranscriptText, at as buildEqualityProjection, b as getGlobalHookRunner, bt as buildInboundMetaSystemPrompt, c as drainPendingPrimaryWrites, ct as deriveLegacyActorIdentity, d as repairToolUseResultPairing, dt as sanitizeJsonb, en as isPrimarySessionTranscriptFileName, et as TASK_RUN_MODES, f as sanitizeToolCallInputs, ft as sha256, g as sanitizeToolCallIdsForCloudCodeAssist, h as canonicalToolCallIdBase, i as appendAssistantMessageToSessionTranscript, j as DB_SESSION_HYDRATION_LIMIT, jt as resolveTimezone, l as guardSessionManager, lt as sanitizeAppendEntry, m as stripToolResultDetails, mt as createCurrentUserPromptEnvelope, n as parseSessionThreadInfo, o as openDbSessionManager, ot as CREATE_CTX_STORAGE_OWNER_SQL, p as sanitizeToolUseResultPairing, pt as userIdFromSessionKey, q as isToolResultMessage, qt as resolveSessionResetPolicy, r as resolveAndPersistSessionFile, s as runSerializedBySession, st as HIDDEN_HEARTBEAT_CUSTOM_TYPE, t as extractDeliveryInfo, tn as isSessionArchiveArtifactName, tt as TASK_RUN_STATUSES, u as openRawToolResultStash, ut as extractLegacyTranscriptEntryFields, v as hasInterSessionUserProvenance, vt as toJsonValue$1, w as promptBuildResultToContribution, wt as getMessageIngress, x as getGlobalPluginRegistry, xt as collectInboundUserContext, y as normalizeInputProvenance, z as truncateTextHeadTail, zt as deriveSessionTotalTokens } from "./sessions-D5KTt-gq.js";
|
|
11
11
|
import { a as isDiagnosticsEnabled, i as emitDiagnosticEvent } from "./diagnostic-events-Ba8-RH3Z.js";
|
|
12
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
13
|
-
import { a as formatUncaughtError, c as readErrorName, i as formatErrorMessage, o as hasErrnoCode, r as formatErrorChainMessage, t as collectErrorGraphCandidates } from "./errors-
|
|
12
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-C9Eu_AUI.js";
|
|
13
|
+
import { a as formatUncaughtError, c as readErrorName, i as formatErrorMessage, o as hasErrnoCode, r as formatErrorChainMessage, t as collectErrorGraphCandidates } from "./errors-BAcXagTa.js";
|
|
14
14
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-C9cNWasT.js";
|
|
15
15
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BZzAoyap.js";
|
|
16
16
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BAyIy498.js";
|
|
17
|
-
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-
|
|
17
|
+
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-WL5SZ4Ub.js";
|
|
18
18
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-DNSaiajj.js";
|
|
19
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
20
|
-
import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
21
|
-
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-
|
|
22
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
23
|
-
import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-
|
|
24
|
-
import { r as makeProxyFetch } from "./proxy-fetch-
|
|
19
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Cr_8wxeu.js";
|
|
20
|
+
import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-Qut4VUn8.js";
|
|
21
|
+
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-B9MP8BwT.js";
|
|
22
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-5esEIw3C.js";
|
|
23
|
+
import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-DPY1teOB.js";
|
|
24
|
+
import { r as makeProxyFetch } from "./proxy-fetch-Dt3HV6r3.js";
|
|
25
25
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-r2f8797y.js";
|
|
26
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
27
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
26
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-1beRdBcS.js";
|
|
27
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-D6Bn5lOZ.js";
|
|
28
28
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-CTMKhqLk.js";
|
|
29
|
-
import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, s as chunkTextWithMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
30
|
-
import { t as resolveMarkdownTableMode } from "./markdown-tables-
|
|
31
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
32
|
-
import { a as enqueueAgentTurn, c as peekDelayedAgentTurn, i as clearDelayedReleaseHold, l as setDelayedReleaseHold, n as tryGetAgentTurnRuntime, o as isClaimableAgentTurnWorkId, p as KeyedAsyncQueue, r as agentTurnIdempotencyKey, s as mergeDelayedAgentTurn, t as getAgentTurnRuntime, u as WORKSPACE_LANE_DENIED_REASON } from "./agent-turn-runner-
|
|
33
|
-
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-
|
|
34
|
-
import { $ as resolveTelegramStreamMode, A as splitTelegramCaption, B as buildTelegramParentPeer, C as recordApiRequest, Ct as firstDefined$1, D as registerAccount, E as recordWebhook, Et as resolveGroupAllowFromSources, F as buildGroupLabel, G as extractTelegramLocation, H as buildTypingThreadParams, I as buildSenderLabel, J as resolveTelegramDirectPeerId, K as hasBotMention, L as buildSenderName, M as withTelegramApiErrorLogging, N as loadCronStore, O as releaseAccountOwner, P as resolveCronStorePath, Q as resolveTelegramReplyId, R as buildTelegramGroupFrom, S as getTelegramFleetSupervisor, St as listPairingChannels, T as recordUpdate, Tt as mergeDmAllowFromSources, U as describeReplyTarget, V as buildTelegramThreadParams, W as expandTextLinks, X as resolveTelegramGroupAllowFromContext, Y as resolveTelegramForumThreadId, Z as resolveTelegramMediaPlaceholder, _ as markdownToTelegramChunks, _t as removeChannelAllowFromStoreEntry, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as wrapFileReferencesInHtml, bt as writeJsonFileAtomically, c as sendStickerTelegram, ct as resolveTelegramTargetChatType, d as extractTelegramErrorText, et as resolveTelegramThreadSpec, f as isDefiniteTelegramRequestNonDeliveryError, g as isTelegramEditMayHaveLandedError, h as isTelegramClientRejection, ht as readChannelAllowFromStore, i as editMessageTelegram, it as resolveSenderAllowMatch$1, j as formatTelegramErrorMessage, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as formatLocationText, m as isSafeToRetrySendError, mt as addChannelAllowFromStoreEntry, n as createForumTopicTelegram, nt as normalizeAllowFrom$2, o as sendMessageTelegram, p as isRecoverableTelegramNetworkError, q as normalizeForwardedContext, r as deleteMessageTelegram, rt as normalizeDmAllowFromWithStore$1, s as sendPollTelegram, st as parseTelegramTarget, t as buildInlineKeyboard, tt as isSenderAllowed$1, u as wasSentByBot, ut as toLocationContext, v as markdownToTelegramHtml, vt as upsertChannelPairingRequest, w as recordState, wt as isSenderIdAllowed, x as fingerprintTelegramToken, xt as getPairingAdapter, y as renderTelegramHtmlText, yt as readJsonFileWithFallback, z as buildTelegramGroupPeerId } from "./send-
|
|
29
|
+
import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, s as chunkTextWithMode, u as resolveChunkNewlinePacking } from "./chunk-CWDKrXV-.js";
|
|
30
|
+
import { t as resolveMarkdownTableMode } from "./markdown-tables-5CSf45sS.js";
|
|
31
|
+
import { t as convertMarkdownTables } from "./tables-CatynEzT.js";
|
|
32
|
+
import { a as enqueueAgentTurn, c as peekDelayedAgentTurn, i as clearDelayedReleaseHold, l as setDelayedReleaseHold, n as tryGetAgentTurnRuntime, o as isClaimableAgentTurnWorkId, p as KeyedAsyncQueue, r as agentTurnIdempotencyKey, s as mergeDelayedAgentTurn, t as getAgentTurnRuntime, u as WORKSPACE_LANE_DENIED_REASON } from "./agent-turn-runner-DTwcFLVR.js";
|
|
33
|
+
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-7iASSBg6.js";
|
|
34
|
+
import { $ as resolveTelegramStreamMode, A as splitTelegramCaption, B as buildTelegramParentPeer, C as recordApiRequest, Ct as firstDefined$1, D as registerAccount, E as recordWebhook, Et as resolveGroupAllowFromSources, F as buildGroupLabel, G as extractTelegramLocation, H as buildTypingThreadParams, I as buildSenderLabel, J as resolveTelegramDirectPeerId, K as hasBotMention, L as buildSenderName, M as withTelegramApiErrorLogging, N as loadCronStore, O as releaseAccountOwner, P as resolveCronStorePath, Q as resolveTelegramReplyId, R as buildTelegramGroupFrom, S as getTelegramFleetSupervisor, St as listPairingChannels, T as recordUpdate, Tt as mergeDmAllowFromSources, U as describeReplyTarget, V as buildTelegramThreadParams, W as expandTextLinks, X as resolveTelegramGroupAllowFromContext, Y as resolveTelegramForumThreadId, Z as resolveTelegramMediaPlaceholder, _ as markdownToTelegramChunks, _t as removeChannelAllowFromStoreEntry, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as wrapFileReferencesInHtml, bt as writeJsonFileAtomically, c as sendStickerTelegram, ct as resolveTelegramTargetChatType, d as extractTelegramErrorText, et as resolveTelegramThreadSpec, f as isDefiniteTelegramRequestNonDeliveryError, g as isTelegramEditMayHaveLandedError, h as isTelegramClientRejection, ht as readChannelAllowFromStore, i as editMessageTelegram, it as resolveSenderAllowMatch$1, j as formatTelegramErrorMessage, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as formatLocationText, m as isSafeToRetrySendError, mt as addChannelAllowFromStoreEntry, n as createForumTopicTelegram, nt as normalizeAllowFrom$2, o as sendMessageTelegram, p as isRecoverableTelegramNetworkError, q as normalizeForwardedContext, r as deleteMessageTelegram, rt as normalizeDmAllowFromWithStore$1, s as sendPollTelegram, st as parseTelegramTarget, t as buildInlineKeyboard, tt as isSenderAllowed$1, u as wasSentByBot, ut as toLocationContext, v as markdownToTelegramHtml, vt as upsertChannelPairingRequest, w as recordState, wt as isSenderIdAllowed, x as fingerprintTelegramToken, xt as getPairingAdapter, y as renderTelegramHtmlText, yt as readJsonFileWithFallback, z as buildTelegramGroupPeerId } from "./send-4vK7xjJW.js";
|
|
35
35
|
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-6tlCSeCB.js";
|
|
36
|
-
import { $ as resolveToolProfilePolicy, A as parseImageSizeError, B as resolveProfile, C as isFailoverAssistantError, D as isRawApiErrorPayload, E as isRateLimitAssistantError, F as resolveSandboxContext, G as applyOwnerOnlyToolPolicy, H as ensureBrowserControlAuth, I as resolveSandboxRuntimeStatus, J as expandPolicyWithPluginGroups, K as buildPluginToolGroups, L as createBrowserRouteContext, M as isAuthPermanentErrorMessage, N as isTimeoutErrorMessage, O as isTransientHttpError, P as ensureSandboxWorkspaceForSession, Q as normalizeToolName, R as registerBrowserRoutes, S as isContextOverflowError, T as isLikelyContextOverflowError, U as resolveBrowserControlAuth, V as getBridgeAuthForPort, W as resolveSandboxConfigForAgent, X as stripPluginOnlyAllowlist, Y as mergeAlsoAllowPolicy, Z as expandToolGroups, _ as getApiErrorPayloadFingerprint, at as sanitizeGoogleTurnOrdering, b as isCloudCodeAssistFormatError, c as sanitizeSessionMessagesImages, ct as sanitizeImageBlocks, d as isGoogleModelApi, dt as canonicalizeBase64, et as compileGlobPatterns, f as BILLING_ERROR_USER_MESSAGE, ft as estimateBase64DecodedBytes, g as formatRawAssistantErrorForUi, h as formatBillingErrorMessage, i as pickFallbackThinkingLevel, it as resolveBootstrapTotalMaxChars, j as sanitizeUserFacingText, k as parseImageDimensionError, l as downgradeOpenAIFunctionCallReasoningPairs, lt as sanitizeToolResultImages, m as formatAssistantErrorText, n as validateAnthropicTurns, nt as buildBootstrapContextFiles, o as isMessagingToolDuplicateNormalized, ot as resolveGatewayCredentialsFromConfig, p as classifyFailoverReason, q as collectExplicitAllowlist, r as validateGeminiTurns, rt as resolveBootstrapMaxChars, s as normalizeTextForComparison, st as trimToUndefined$1, t as extractTextFromChatContent, tt as matchesAnyGlobPattern, u as downgradeOpenAIReasoningBlocks, ut as resolveImageSanitizationLimits, v as isAuthAssistantError, w as isFailoverErrorMessage, x as isCompactionFailureError, y as isBillingAssistantError, z as resolveBrowserConfig } from "./chat-content-
|
|
37
|
-
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, r as normalizeSlackOutboundText, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-
|
|
38
|
-
import { S as modelSupportsVision, T as buildRandomTempFilePath, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, b as findModelInCatalog, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, w as registerUnhandledRejectionHandler, x as loadModelCatalog, y as resolveAttachmentKind } from "./audio-transcription-runner-
|
|
39
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig } from "./reply-prefix-
|
|
40
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
41
|
-
import { a as getRemoteSkillEligibility, c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-
|
|
42
|
-
import { a as skillsSnapshotSourceDiffers, 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-
|
|
43
|
-
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as resolveClientIp, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, Y as rawDataToString, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-
|
|
44
|
-
import { A as normalizeTargetForProvider, C as isRenderablePayload, D as resolveReplyToMode, E as createReplyToModeFilterForChannel, M as transcriptEntriesToMessages, O as buildTargetResolverSignature, S as filterMessagingToolMediaDuplicates, T as shouldSuppressReasoningPayload, _ as sleepWithAbort, a as normalizeReplyPayloadsForDelivery, b as applyReplyThreading, c as loadCombinedSessionStoreForGateway, d as countToolResults, f as extractToolCallNames, g as computeBackoff, h as resolveContextTokensForModel, i as normalizeOutboundPayloadsForJson, j as readFullTranscriptEntriesFromBackend, k as normalizeChannelTargetInput, l as capArrayByJsonBytes, m as lookupContextTokens, n as formatOutboundPayloadLog, o as throwIfAborted, p as jsonUtf8Bytes, r as normalizeOutboundPayloads, s as stampReplyActivity, t as deliverOutboundPayloads, u as stripLeadingInboundMetadata, v as loadChannelOutboundAdapter, w as shouldSuppressMessagingToolReplies, x as filterMessagingToolDuplicates, y as applyReplyTagsToPayload } from "./deliver-
|
|
45
|
-
import { a as deriveInboundMessageHookContext, c as toInternalMessageTranscribedContext, d as fireAndForgetHook, i as createMessageSentEmitter, l as toPluginMessageContext, n as resolveOutboundSessionId, o as toInternalMessagePreprocessedContext, r as applyMessageSendingHook, s as toInternalMessageReceivedContext, t as buildOutboundSessionContext, u as toPluginMessageReceivedEvent } from "./session-context-
|
|
46
|
-
import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
47
|
-
import { C as resolveNativeCommandsEnabled, S as isRestartEnabled, a as isCommandEnabled, b as isCommandFlagEnabled, c as listChatCommands, d as listNativeCommandSpecsForConfig, f as maybeResolveTextAlias, g as resolveCommandArgMenu, h as resolveCommandArgChoices, l as listChatCommandsForConfig, m as parseCommandArgs, n as buildCommandTextFromArgs, p as normalizeCommandBody, r as findCommandByNativeName, u as listNativeCommandSpecs, v as serializeCommandArgs, w as resolveNativeSkillsEnabled, x as isNativeCommandsExplicitlyDisabled, y as shouldHandleTextCommands } from "./commands-registry-
|
|
36
|
+
import { $ as resolveToolProfilePolicy, A as parseImageSizeError, B as resolveProfile, C as isFailoverAssistantError, D as isRawApiErrorPayload, E as isRateLimitAssistantError, F as resolveSandboxContext, G as applyOwnerOnlyToolPolicy, H as ensureBrowserControlAuth, I as resolveSandboxRuntimeStatus, J as expandPolicyWithPluginGroups, K as buildPluginToolGroups, L as createBrowserRouteContext, M as isAuthPermanentErrorMessage, N as isTimeoutErrorMessage, O as isTransientHttpError, P as ensureSandboxWorkspaceForSession, Q as normalizeToolName, R as registerBrowserRoutes, S as isContextOverflowError, T as isLikelyContextOverflowError, U as resolveBrowserControlAuth, V as getBridgeAuthForPort, W as resolveSandboxConfigForAgent, X as stripPluginOnlyAllowlist, Y as mergeAlsoAllowPolicy, Z as expandToolGroups, _ as getApiErrorPayloadFingerprint, at as sanitizeGoogleTurnOrdering, b as isCloudCodeAssistFormatError, c as sanitizeSessionMessagesImages, ct as sanitizeImageBlocks, d as isGoogleModelApi, dt as canonicalizeBase64, et as compileGlobPatterns, f as BILLING_ERROR_USER_MESSAGE, ft as estimateBase64DecodedBytes, g as formatRawAssistantErrorForUi, h as formatBillingErrorMessage, i as pickFallbackThinkingLevel, it as resolveBootstrapTotalMaxChars, j as sanitizeUserFacingText, k as parseImageDimensionError, l as downgradeOpenAIFunctionCallReasoningPairs, lt as sanitizeToolResultImages, m as formatAssistantErrorText, n as validateAnthropicTurns, nt as buildBootstrapContextFiles, o as isMessagingToolDuplicateNormalized, ot as resolveGatewayCredentialsFromConfig, p as classifyFailoverReason, q as collectExplicitAllowlist, r as validateGeminiTurns, rt as resolveBootstrapMaxChars, s as normalizeTextForComparison, st as trimToUndefined$1, t as extractTextFromChatContent, tt as matchesAnyGlobPattern, u as downgradeOpenAIReasoningBlocks, ut as resolveImageSanitizationLimits, v as isAuthAssistantError, w as isFailoverErrorMessage, x as isCompactionFailureError, y as isBillingAssistantError, z as resolveBrowserConfig } from "./chat-content-Csto0UEZ.js";
|
|
37
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, r as normalizeSlackOutboundText, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-CzU3DnG8.js";
|
|
38
|
+
import { S as modelSupportsVision, T as buildRandomTempFilePath, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, b as findModelInCatalog, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, w as registerUnhandledRejectionHandler, x as loadModelCatalog, y as resolveAttachmentKind } from "./audio-transcription-runner-CW4PtJOr.js";
|
|
39
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig } from "./reply-prefix-Bf8Iqq8v.js";
|
|
40
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DdbQh5HH.js";
|
|
41
|
+
import { a as getRemoteSkillEligibility, c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-Bv0tfv2Q.js";
|
|
42
|
+
import { a as skillsSnapshotSourceDiffers, 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-DO7OTK36.js";
|
|
43
|
+
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as resolveClientIp, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, Y as rawDataToString, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-DzzIT4YD.js";
|
|
44
|
+
import { A as normalizeTargetForProvider, C as isRenderablePayload, D as resolveReplyToMode, E as createReplyToModeFilterForChannel, M as transcriptEntriesToMessages, O as buildTargetResolverSignature, S as filterMessagingToolMediaDuplicates, T as shouldSuppressReasoningPayload, _ as sleepWithAbort, a as normalizeReplyPayloadsForDelivery, b as applyReplyThreading, c as loadCombinedSessionStoreForGateway, d as countToolResults, f as extractToolCallNames, g as computeBackoff, h as resolveContextTokensForModel, i as normalizeOutboundPayloadsForJson, j as readFullTranscriptEntriesFromBackend, k as normalizeChannelTargetInput, l as capArrayByJsonBytes, m as lookupContextTokens, n as formatOutboundPayloadLog, o as throwIfAborted, p as jsonUtf8Bytes, r as normalizeOutboundPayloads, s as stampReplyActivity, t as deliverOutboundPayloads, u as stripLeadingInboundMetadata, v as loadChannelOutboundAdapter, w as shouldSuppressMessagingToolReplies, x as filterMessagingToolDuplicates, y as applyReplyTagsToPayload } from "./deliver-1ptGm5gu.js";
|
|
45
|
+
import { a as deriveInboundMessageHookContext, c as toInternalMessageTranscribedContext, d as fireAndForgetHook, i as createMessageSentEmitter, l as toPluginMessageContext, n as resolveOutboundSessionId, o as toInternalMessagePreprocessedContext, r as applyMessageSendingHook, s as toInternalMessageReceivedContext, t as buildOutboundSessionContext, u as toPluginMessageReceivedEvent } from "./session-context-DVrSm2pD.js";
|
|
46
|
+
import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-nKIf4x6Y.js";
|
|
47
|
+
import { C as resolveNativeCommandsEnabled, S as isRestartEnabled, a as isCommandEnabled, b as isCommandFlagEnabled, c as listChatCommands, d as listNativeCommandSpecsForConfig, f as maybeResolveTextAlias, g as resolveCommandArgMenu, h as resolveCommandArgChoices, l as listChatCommandsForConfig, m as parseCommandArgs, n as buildCommandTextFromArgs, p as normalizeCommandBody, r as findCommandByNativeName, u as listNativeCommandSpecs, v as serializeCommandArgs, w as resolveNativeSkillsEnabled, x as isNativeCommandsExplicitlyDisabled, y as shouldHandleTextCommands } from "./commands-registry-Bq1VWa2x.js";
|
|
48
48
|
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-DW5zml_e.js";
|
|
49
49
|
import { t as redactIdentifier } from "./redact-identifier-BTIWtaa-.js";
|
|
50
|
-
import { D as recordSystemPromptHashComparison, E as logWebhookReceived, F as resetCommandPollCount, M as stopDiagnosticHeartbeat, N as boundDiagnosticContent, O as refreshRunProgress, P as recordCommandPoll, S as logToolExecutionStarted, T as logWebhookProcessed, a as logMessageProcessed, b as logToolExecutionBlocked, c as logModelCallError, d as logRunStarted, f as logSessionStateChange, j as startDiagnosticHeartbeat, o as logMessageQueued, u as logRunCompleted, w as logWebhookError, x as logToolExecutionCompleted } from "./diagnostic-
|
|
50
|
+
import { D as recordSystemPromptHashComparison, E as logWebhookReceived, F as resetCommandPollCount, M as stopDiagnosticHeartbeat, N as boundDiagnosticContent, O as refreshRunProgress, P as recordCommandPoll, S as logToolExecutionStarted, T as logWebhookProcessed, a as logMessageProcessed, b as logToolExecutionBlocked, c as logModelCallError, d as logRunStarted, f as logSessionStateChange, j as startDiagnosticHeartbeat, o as logMessageQueued, u as logRunCompleted, w as logWebhookError, x as logToolExecutionCompleted } from "./diagnostic-W-ES89_S.js";
|
|
51
51
|
import { n as getDiagnosticSessionState, o as redactChannelCorrelation } from "./diagnostic-session-state-D_Vrp41k.js";
|
|
52
52
|
import { t as CommandLane } from "./lanes-DtESSyRO.js";
|
|
53
|
-
import { a as enqueueCommandInLane, c as isGatewayDraining, i as clearCommandLane, l as isQueuedCommandCancellation, o as getCommandLaneSnapshots, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-
|
|
54
|
-
import { n as AGENT_LANE_NESTED, r as AGENT_LANE_SUBAGENT, t as startUserSessionRun } from "./user-run-recording-
|
|
55
|
-
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
53
|
+
import { a as enqueueCommandInLane, c as isGatewayDraining, i as clearCommandLane, l as isQueuedCommandCancellation, o as getCommandLaneSnapshots, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-84-UYysZ.js";
|
|
54
|
+
import { n as AGENT_LANE_NESTED, r as AGENT_LANE_SUBAGENT, t as startUserSessionRun } from "./user-run-recording-BXyHfYg3.js";
|
|
55
|
+
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-B_7zTSFA.js";
|
|
56
56
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-BUw50iLW.js";
|
|
57
|
-
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-
|
|
58
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
59
|
-
import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-
|
|
60
|
-
import { a as decodeDataUrl, i as coerceImageModelConfig, n as minimaxUnderstandImage, o as resolveProviderVisionModelFromConfig, r as coerceImageAssistantText } from "./provider-image-
|
|
57
|
+
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-CHCoH08E.js";
|
|
58
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-Dj4jLPMw.js";
|
|
59
|
+
import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-Bx8SkKxs.js";
|
|
60
|
+
import { a as decodeDataUrl, i as coerceImageModelConfig, n as minimaxUnderstandImage, o as resolveProviderVisionModelFromConfig, r as coerceImageAssistantText } from "./provider-image-M3j6w2Xu.js";
|
|
61
61
|
import { n as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-lJN4H6fT.js";
|
|
62
|
-
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-
|
|
63
|
-
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-
|
|
64
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
65
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
66
|
-
import { t as createTelegramPollingTransport } from "./proxy-
|
|
67
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
68
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
69
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
70
|
-
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-
|
|
62
|
+
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-C75mB4si.js";
|
|
63
|
+
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-DHH7532s.js";
|
|
64
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-D1IqpiHJ.js";
|
|
65
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-D0I4Llwy.js";
|
|
66
|
+
import { t as createTelegramPollingTransport } from "./proxy-K3jUjtIm.js";
|
|
67
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-B3XUIs0b.js";
|
|
68
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-Cho9XVh8.js";
|
|
69
|
+
import { n as resolveMemorySearchConfig } from "./manager-Dxv2YpgS.js";
|
|
70
|
+
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-BY2L8oSD.js";
|
|
71
71
|
import { createRequire } from "node:module";
|
|
72
72
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
73
73
|
import * as path$1 from "node:path";
|
|
74
74
|
import path, { basename, isAbsolute, join } from "node:path";
|
|
75
75
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
76
|
-
import
|
|
76
|
+
import json5 from "json5";
|
|
77
77
|
import os, { homedir } from "node:os";
|
|
78
78
|
import * as fs$2 from "node:fs/promises";
|
|
79
79
|
import fs$1, { open } from "node:fs/promises";
|
|
@@ -90,7 +90,7 @@ import { Button, ChannelSelectMenu, ChannelType as ChannelType$1, Client, Comman
|
|
|
90
90
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
91
91
|
import { createServer } from "node:http";
|
|
92
92
|
import { spinner } from "@clack/prompts";
|
|
93
|
-
import WebSocket
|
|
93
|
+
import WebSocket, { WebSocket as WebSocket$1 } from "ws";
|
|
94
94
|
import net from "node:net";
|
|
95
95
|
import AjvPkg from "ajv";
|
|
96
96
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -7121,7 +7121,7 @@ var GatewayClient = class {
|
|
|
7121
7121
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
7122
7122
|
});
|
|
7123
7123
|
}
|
|
7124
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
7124
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
7125
7125
|
this.ws.on("open", () => {
|
|
7126
7126
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
7127
7127
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -7317,7 +7317,7 @@ var GatewayClient = class {
|
|
|
7317
7317
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
7318
7318
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
7319
7319
|
this.connectTimer = setTimeout(() => {
|
|
7320
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
7320
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket$1.OPEN) return;
|
|
7321
7321
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
7322
7322
|
this.ws?.close(1008, "connect challenge timeout");
|
|
7323
7323
|
}, connectChallengeTimeoutMs);
|
|
@@ -7359,7 +7359,7 @@ var GatewayClient = class {
|
|
|
7359
7359
|
return null;
|
|
7360
7360
|
}
|
|
7361
7361
|
async request(method, params, opts) {
|
|
7362
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
7362
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
7363
7363
|
const id = randomUUID();
|
|
7364
7364
|
const frame = {
|
|
7365
7365
|
type: "req",
|
|
@@ -18017,7 +18017,7 @@ async function sendTranscriptEcho(params) {
|
|
|
18017
18017
|
}
|
|
18018
18018
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
18019
18019
|
try {
|
|
18020
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
18020
|
+
const { deliverOutboundPayloads } = await import("./deliver-vvTRXMdO.js");
|
|
18021
18021
|
await deliverOutboundPayloads({
|
|
18022
18022
|
cfg,
|
|
18023
18023
|
channel: normalizedChannel,
|
|
@@ -25817,7 +25817,7 @@ async function routeReply(params) {
|
|
|
25817
25817
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
25818
25818
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
25819
25819
|
try {
|
|
25820
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
25820
|
+
const { deliverOutboundPayloads } = await import("./deliver-vvTRXMdO.js");
|
|
25821
25821
|
const outboundSession = buildOutboundSessionContext({
|
|
25822
25822
|
cfg,
|
|
25823
25823
|
agentId: resolvedAgentId,
|
|
@@ -28223,7 +28223,7 @@ function requestNudge(input, cfg = loadConfig(), deps) {
|
|
|
28223
28223
|
const { backbone, runner } = getAgentTurnRuntime();
|
|
28224
28224
|
const id = await enqueueAgentTurn(backbone, payload);
|
|
28225
28225
|
if (!isClaimableAgentTurnWorkId(id)) return;
|
|
28226
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
28226
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-PXSa6POm.js");
|
|
28227
28227
|
await runner.claimAndExecute({
|
|
28228
28228
|
workId: id,
|
|
28229
28229
|
execute: (claim) => runMainAgentTurn(claim.message.payload)
|
|
@@ -29388,7 +29388,7 @@ async function handleHeartbeatError(params) {
|
|
|
29388
29388
|
const AGENT_TURN_PROMPT = "Process the pending system events for this session.";
|
|
29389
29389
|
async function ackAnnounceExecuted(payload) {
|
|
29390
29390
|
if (payload.kind !== "announce") return;
|
|
29391
|
-
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-
|
|
29391
|
+
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-DSh4cze1.js");
|
|
29392
29392
|
for (const runId of [payload.runId, ...payload.mergedRunIds ?? []]) try {
|
|
29393
29393
|
await markSubagentAnnounceExecuted(runId);
|
|
29394
29394
|
} catch {}
|
|
@@ -29656,7 +29656,7 @@ function normalizeSessionKey(value) {
|
|
|
29656
29656
|
function readSessionStore(storePath) {
|
|
29657
29657
|
try {
|
|
29658
29658
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
29659
|
-
const parsed =
|
|
29659
|
+
const parsed = json5.parse(raw);
|
|
29660
29660
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
29661
29661
|
} catch {}
|
|
29662
29662
|
return {};
|
|
@@ -29885,7 +29885,7 @@ const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
|
29885
29885
|
let subagentRegistryAccessPromise;
|
|
29886
29886
|
const STALLED_SIBLING_ANNOUNCE_HOLD_MS = 5 * 6e4;
|
|
29887
29887
|
function loadSubagentRegistryAccess() {
|
|
29888
|
-
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-
|
|
29888
|
+
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-DSh4cze1.js").catch((err) => {
|
|
29889
29889
|
const message = err instanceof Error && err.message ? err.message : String(err);
|
|
29890
29890
|
defaultRuntime.log(`[warn] subagent registry access import failed: ${message}`);
|
|
29891
29891
|
subagentRegistryAccessPromise = void 0;
|
|
@@ -43238,7 +43238,7 @@ async function createModelSelectionState(params) {
|
|
|
43238
43238
|
}
|
|
43239
43239
|
}
|
|
43240
43240
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
43241
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
43241
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-CxOZbtpA.js");
|
|
43242
43242
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
43243
43243
|
const providerKey = normalizeProviderId(provider);
|
|
43244
43244
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -61233,7 +61233,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
61233
61233
|
return;
|
|
61234
61234
|
}
|
|
61235
61235
|
try {
|
|
61236
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
61236
|
+
const { deliverOutboundPayloads } = await import("./deliver-vvTRXMdO.js");
|
|
61237
61237
|
const outboundSession = buildOutboundSessionContext({
|
|
61238
61238
|
cfg: params.cfg,
|
|
61239
61239
|
sessionKey: params.sessionKey
|
|
@@ -66632,7 +66632,7 @@ async function describeStickerImage(params) {
|
|
|
66632
66632
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
66633
66633
|
try {
|
|
66634
66634
|
const buffer = await fs$1.readFile(imagePath);
|
|
66635
|
-
const { describeImageWithModel } = await import("./provider-image-
|
|
66635
|
+
const { describeImageWithModel } = await import("./provider-image-fv7acwPs.js");
|
|
66636
66636
|
return (await describeImageWithModel({
|
|
66637
66637
|
buffer,
|
|
66638
66638
|
fileName: "sticker.webp",
|
|
@@ -67900,7 +67900,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
67900
67900
|
let transcript;
|
|
67901
67901
|
let carry;
|
|
67902
67902
|
if (needsPreflightTranscription) try {
|
|
67903
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
67903
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-OHqqRPPw.js");
|
|
67904
67904
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
67905
67905
|
if (uploadable.length > 0) {
|
|
67906
67906
|
const preflight = await transcribeFirstAudio({
|
|
@@ -75078,23 +75078,23 @@ function createDefaultDeps() {
|
|
|
75078
75078
|
};
|
|
75079
75079
|
},
|
|
75080
75080
|
sendMessageTelegram: async (...args) => {
|
|
75081
|
-
const { sendMessageTelegram } = await import("./send-
|
|
75081
|
+
const { sendMessageTelegram } = await import("./send-C4wz_kt5.js");
|
|
75082
75082
|
return await sendMessageTelegram(...args);
|
|
75083
75083
|
},
|
|
75084
75084
|
sendMessageDiscord: async (...args) => {
|
|
75085
|
-
const { sendMessageDiscord } = await import("./send-
|
|
75085
|
+
const { sendMessageDiscord } = await import("./send-Dhapzixp.js");
|
|
75086
75086
|
return await sendMessageDiscord(...args);
|
|
75087
75087
|
},
|
|
75088
75088
|
sendMessageSlack: async (...args) => {
|
|
75089
|
-
const { sendMessageSlack } = await import("./send
|
|
75089
|
+
const { sendMessageSlack } = await import("./send--m_QWAPO.js");
|
|
75090
75090
|
return await sendMessageSlack(...args);
|
|
75091
75091
|
},
|
|
75092
75092
|
sendMessageSignal: async (...args) => {
|
|
75093
|
-
const { sendMessageSignal } = await import("./send-
|
|
75093
|
+
const { sendMessageSignal } = await import("./send-DnFCjogv.js");
|
|
75094
75094
|
return await sendMessageSignal(...args);
|
|
75095
75095
|
},
|
|
75096
75096
|
sendMessageIMessage: async (...args) => {
|
|
75097
|
-
const { sendMessageIMessage } = await import("./send-
|
|
75097
|
+
const { sendMessageIMessage } = await import("./send-D9H-XXzx.js");
|
|
75098
75098
|
return await sendMessageIMessage(...args);
|
|
75099
75099
|
}
|
|
75100
75100
|
};
|
|
@@ -78682,7 +78682,7 @@ var ResilientGatewayPlugin = class extends GatewayPlugin {
|
|
|
78682
78682
|
}
|
|
78683
78683
|
createWebSocket(url) {
|
|
78684
78684
|
if (!this.wsAgent) return super.createWebSocket(url);
|
|
78685
|
-
return new WebSocket
|
|
78685
|
+
return new WebSocket(url, { agent: this.wsAgent });
|
|
78686
78686
|
}
|
|
78687
78687
|
};
|
|
78688
78688
|
function createDiscordGatewayPlugin(params) {
|
|
@@ -86715,7 +86715,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
86715
86715
|
}
|
|
86716
86716
|
let commandsRegistry;
|
|
86717
86717
|
async function getCommandsRegistry() {
|
|
86718
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
86718
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-oILscT9a.js");
|
|
86719
86719
|
return commandsRegistry;
|
|
86720
86720
|
}
|
|
86721
86721
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -87045,14 +87045,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
87045
87045
|
const channelName = channelInfo?.name;
|
|
87046
87046
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
87047
87047
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
87048
|
-
import("./resolve-route-
|
|
87048
|
+
import("./resolve-route-JQF7nqo1.js"),
|
|
87049
87049
|
import("./inbound-context-CCKCHVrn.js"),
|
|
87050
|
-
import("./provider-dispatcher-
|
|
87050
|
+
import("./provider-dispatcher-Bg7ik_9P.js")
|
|
87051
87051
|
]);
|
|
87052
87052
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
87053
87053
|
import("./conversation-label-D3nMf3rZ.js"),
|
|
87054
|
-
import("./reply-prefix-
|
|
87055
|
-
import("./session-meta-
|
|
87054
|
+
import("./reply-prefix-C38vv65Y.js"),
|
|
87055
|
+
import("./session-meta-CT3hQSl7.js")
|
|
87056
87056
|
]);
|
|
87057
87057
|
const route = resolveAgentRoute({
|
|
87058
87058
|
cfg,
|
|
@@ -87117,9 +87117,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
87117
87117
|
});
|
|
87118
87118
|
const deliverSlashPayloads = async (replies) => {
|
|
87119
87119
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
87120
|
-
import("./replies-
|
|
87121
|
-
import("./chunk-
|
|
87122
|
-
import("./markdown-tables-
|
|
87120
|
+
import("./replies-C4T9Nsqz.js"),
|
|
87121
|
+
import("./chunk-C_GT4tj0.js"),
|
|
87122
|
+
import("./markdown-tables-Q5ogPPem.js")
|
|
87123
87123
|
]);
|
|
87124
87124
|
await deliverSlackSlashReplies({
|
|
87125
87125
|
replies,
|
|
@@ -87173,7 +87173,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
87173
87173
|
let nativeCommands = [];
|
|
87174
87174
|
if (nativeEnabled) {
|
|
87175
87175
|
reg = await getCommandsRegistry();
|
|
87176
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
87176
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-Clq-qaMe.js")).listSkillCommandsForAgents({ cfg }) : [];
|
|
87177
87177
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
87178
87178
|
skillCommands,
|
|
87179
87179
|
provider: "slack"
|
|
@@ -87692,7 +87692,7 @@ async function auditTelegramGroupMembership(params) {
|
|
|
87692
87692
|
groups: [],
|
|
87693
87693
|
elapsedMs: Date.now() - started
|
|
87694
87694
|
};
|
|
87695
|
-
const fetcher = params.proxyUrl ? (await import("./proxy-
|
|
87695
|
+
const fetcher = params.proxyUrl ? (await import("./proxy-LKdqVD6u.js")).makeProxyFetch(params.proxyUrl) : fetch;
|
|
87696
87696
|
const { fetchWithTimeout } = await import("./fetch-timeout-C7tnRm-P.js");
|
|
87697
87697
|
const base = `${TELEGRAM_API_BASE$1}/bot${token}`;
|
|
87698
87698
|
const groups = [];
|
|
@@ -90251,7 +90251,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
90251
90251
|
let audioPreflightCarry;
|
|
90252
90252
|
const audioConfigEnabled = cfg.tools?.media?.audio && cfg.tools.media.audio.enabled !== false;
|
|
90253
90253
|
if (hasAudio && !hasUserText && !disableAudioPreflight && (isGroup && requireMention && mentionRegexes.length > 0 || audioConfigEnabled === true)) try {
|
|
90254
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
90254
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-OHqqRPPw.js");
|
|
90255
90255
|
const preflight = await transcribeFirstAudio({
|
|
90256
90256
|
ctx: {
|
|
90257
90257
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -94712,7 +94712,7 @@ async function getMemorySearchManager(params) {
|
|
|
94712
94712
|
if (cached) return { manager: cached };
|
|
94713
94713
|
}
|
|
94714
94714
|
try {
|
|
94715
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
94715
|
+
const { QmdMemoryManager } = await import("./qmd-manager-BHhDDFrn.js");
|
|
94716
94716
|
const primary = await QmdMemoryManager.create({
|
|
94717
94717
|
cfg: params.cfg,
|
|
94718
94718
|
agentId: params.agentId,
|
|
@@ -94724,7 +94724,7 @@ async function getMemorySearchManager(params) {
|
|
|
94724
94724
|
const wrapper = new FallbackMemoryManager({
|
|
94725
94725
|
primary,
|
|
94726
94726
|
fallbackFactory: async () => {
|
|
94727
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
94727
|
+
const { MemoryIndexManager } = await import("./manager-BgK1sRAg.js");
|
|
94728
94728
|
return await MemoryIndexManager.get(params);
|
|
94729
94729
|
}
|
|
94730
94730
|
}, () => {
|
|
@@ -94739,7 +94739,7 @@ async function getMemorySearchManager(params) {
|
|
|
94739
94739
|
}
|
|
94740
94740
|
}
|
|
94741
94741
|
try {
|
|
94742
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
94742
|
+
const { MemoryIndexManager } = await import("./manager-BgK1sRAg.js");
|
|
94743
94743
|
return { manager: await MemoryIndexManager.get(params) };
|
|
94744
94744
|
} catch (err) {
|
|
94745
94745
|
return {
|
|
@@ -99874,7 +99874,7 @@ function createPluginRuntime(options = {}) {
|
|
|
99874
99874
|
workStates: readTaskWorkStates
|
|
99875
99875
|
},
|
|
99876
99876
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
99877
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
99877
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-D80GJNVP.js")).startUserSessionRun(params) }
|
|
99878
99878
|
};
|
|
99879
99879
|
Object.defineProperty(runtime, "analysis", {
|
|
99880
99880
|
enumerable: true,
|
|
@@ -101408,7 +101408,7 @@ async function recordLoopOutcome(args) {
|
|
|
101408
101408
|
if (!args.ctx?.sessionKey) return;
|
|
101409
101409
|
try {
|
|
101410
101410
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-D69TmAGf.js");
|
|
101411
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
101411
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-DazBiexb.js");
|
|
101412
101412
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
101413
101413
|
sessionKey: args.ctx.sessionKey,
|
|
101414
101414
|
sessionId: args.ctx?.agentId
|
|
@@ -101435,8 +101435,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
101435
101435
|
const params = args.params;
|
|
101436
101436
|
if (args.ctx?.sessionKey) {
|
|
101437
101437
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-D69TmAGf.js");
|
|
101438
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
101439
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
101438
|
+
const { logToolLoopAction } = await import("./diagnostic-BCs9q4kf.js");
|
|
101439
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-DazBiexb.js");
|
|
101440
101440
|
const sessionState = getDiagnosticSessionState({
|
|
101441
101441
|
sessionKey: args.ctx.sessionKey,
|
|
101442
101442
|
sessionId: args.ctx?.agentId
|
|
@@ -106288,7 +106288,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
106288
106288
|
* Throws if the connection is not open.
|
|
106289
106289
|
*/
|
|
106290
106290
|
send(event) {
|
|
106291
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
106291
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
106292
106292
|
this.ws.send(JSON.stringify(event));
|
|
106293
106293
|
}
|
|
106294
106294
|
/**
|
|
@@ -106305,7 +106305,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
106305
106305
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
106306
106306
|
*/
|
|
106307
106307
|
isConnected() {
|
|
106308
|
-
return this.ws !== null && this.ws.readyState === WebSocket
|
|
106308
|
+
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
106309
106309
|
}
|
|
106310
106310
|
/**
|
|
106311
106311
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -106315,7 +106315,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
106315
106315
|
this._cancelRetryTimer();
|
|
106316
106316
|
if (this.ws) {
|
|
106317
106317
|
this.ws.removeAllListeners();
|
|
106318
|
-
if (this.ws.readyState === WebSocket
|
|
106318
|
+
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
106319
106319
|
this.ws = null;
|
|
106320
106320
|
}
|
|
106321
106321
|
}
|
|
@@ -106325,7 +106325,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
106325
106325
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
106326
106326
|
return;
|
|
106327
106327
|
}
|
|
106328
|
-
const socket = new WebSocket
|
|
106328
|
+
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
106329
106329
|
Authorization: `Bearer ${this.apiKey}`,
|
|
106330
106330
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
106331
106331
|
} });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as logLaneTaskCompleted, n as logLaneDequeue, r as logLaneEnqueue, t as diag } from "./diagnostic-
|
|
1
|
+
import { i as logLaneTaskCompleted, n as logLaneDequeue, r as logLaneEnqueue, t as diag } from "./diagnostic-W-ES89_S.js";
|
|
2
2
|
import { t as CommandLane } from "./lanes-DtESSyRO.js";
|
|
3
3
|
|
|
4
4
|
//#region src/process/command-queue.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./paths-oi7j9L8A.js";
|
|
2
|
-
import "./subsystem-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./config-
|
|
2
|
+
import "./subsystem-CPqF9wja.js";
|
|
3
|
+
import "./agent-scope-B5NskkwN.js";
|
|
4
|
+
import "./config-Cp7sIoSP.js";
|
|
5
5
|
import "./github-copilot-token-BnKQ-aRX.js";
|
|
6
|
-
import "./logger-
|
|
6
|
+
import "./logger-DYxRK_FZ.js";
|
|
7
7
|
import "./diagnostic-events-Ba8-RH3Z.js";
|
|
8
|
-
import "./redact-
|
|
9
|
-
import "./diagnostic-
|
|
8
|
+
import "./redact-C9Eu_AUI.js";
|
|
9
|
+
import "./diagnostic-W-ES89_S.js";
|
|
10
10
|
import "./diagnostic-session-state-D_Vrp41k.js";
|
|
11
|
-
import { a as enqueueCommandInLane, c as isGatewayDraining, i as clearCommandLane, l as isQueuedCommandCancellation, n as CommandLaneClearedError, o as getCommandLaneSnapshots, r as GatewayDrainingError, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-
|
|
11
|
+
import { a as enqueueCommandInLane, c as isGatewayDraining, i as clearCommandLane, l as isQueuedCommandCancellation, n as CommandLaneClearedError, o as getCommandLaneSnapshots, r as GatewayDrainingError, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-84-UYysZ.js";
|
|
12
12
|
|
|
13
13
|
export { getQueueSize };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { W as escapeRegExp } from "./subsystem-
|
|
1
|
+
import { W as escapeRegExp } from "./subsystem-CPqF9wja.js";
|
|
2
2
|
import { t as isPlainObject } from "./plain-object-BTbonVRI.js";
|
|
3
|
-
import { Ot as getActivePluginRegistry, Un as normalizeChannelId, bs as DEFAULT_PROVIDER, or as listChannelDocks, to as resolveConfiguredModelRef, ys as DEFAULT_MODEL } from "./config-
|
|
3
|
+
import { Ot as getActivePluginRegistry, Un as normalizeChannelId, bs as DEFAULT_PROVIDER, or as listChannelDocks, to as resolveConfiguredModelRef, ys as DEFAULT_MODEL } from "./config-Cp7sIoSP.js";
|
|
4
4
|
import { r as listThinkingLevels } from "./thinking-DW5zml_e.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/commands.ts
|