@visorcraft/idlehands 4.2.1 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-BDVs8LTu.js → accounts-BlHH-u_r.js} +1 -1
- package/dist/{accounts-Dk8mJIrQ.js → accounts-DLL4jMvc.js} +2 -2
- package/dist/{accounts-CIvVRRHb.js → accounts-DOlh6RqB.js} +1 -1
- package/dist/{agent-scope-DyP_tr7s.js → agent-scope-CSFjmUrH.js} +3 -3
- package/dist/{agent-via-gateway-CUtzJXBE.js → agent-via-gateway-Bf6TEh2k.js} +57 -57
- package/dist/{anton-CoGaJdTU.js → anton-CuLeFevj.js} +4 -4
- package/dist/{audio-preflight-CW8IH1lU.js → audio-preflight-9inwhXLH.js} +32 -32
- package/dist/{auth-store-DXT-l7fO.js → auth-store-bL1LNwm5.js} +1 -1
- package/dist/{bindings-D3b5Fmc9.js → bindings-av9-yFB3.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +57 -57
- package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +57 -57
- package/dist/{channel-activity-D_TMOGQ0.js → channel-activity-Df_QWn3k.js} +3 -3
- package/dist/{chrome-BcJB6PcM.js → chrome-DkhJIPqM.js} +6 -6
- package/dist/{chunk-CMpX7Jaz.js → chunk-CgCAeFdA.js} +1 -1
- package/dist/{commands-registry-j4vAzcF2.js → commands-registry-CowrfO43.js} +5 -5
- package/dist/{deliver-BUiQ-9fE.js → deliver-l8EA_rIo.js} +10 -10
- package/dist/{deps-B4J8H6nI.js → deps-B1l5WEJq.js} +6 -6
- package/dist/{diagnostic-4owMk4vH.js → diagnostic-DUpiGDI6.js} +1 -1
- package/dist/{dock-BgOmHcbh.js → dock-4HLkEWeL.js} +6 -6
- package/dist/emergency-stop-Br57IwSQ.js +113 -0
- package/dist/{env-B5G1qwGc.js → env-BtjfGfYS.js} +1 -1
- package/dist/{errors-C_0nm4TJ.js → errors-XpvBRvrk.js} +1 -1
- package/dist/{fetch-guard-iuQsIjqN.js → fetch-guard-BdcyjI44.js} +1 -1
- package/dist/{frontmatter-BOudmHMS.js → frontmatter-CNT2SLK9.js} +2 -2
- package/dist/{fs-safe-CYUaAFO9.js → fs-safe-qiODuhN1.js} +2 -2
- package/dist/{gemini-auth-CIyaa44H.js → gemini-auth-DcQhBD_n.js} +2 -2
- package/dist/{image-D8b_rlQC.js → image-D_PnW33c.js} +6 -6
- package/dist/{image-ops-D1KtygWz.js → image-ops-CVPIEkjZ.js} +1 -1
- package/dist/{ir-B7IBoKLy.js → ir-z6aop5rJ.js} +5 -5
- package/dist/llm-slug-generator.js +57 -57
- package/dist/{local-roots-KN4Hp1yZ.js → local-roots-czSWcF7i.js} +4 -4
- package/dist/{login-CFr5vJmR.js → login-CUJ4A8gi.js} +6 -6
- package/dist/{login-qr-CFFFOjOl.js → login-qr-BTJ95win.js} +9 -9
- package/dist/{manager-BE_76jWB.js → manager-BZ0tYOnu.js} +10 -10
- package/dist/{markdown-tables-CzsockiZ.js → markdown-tables-Cjn8O_5e.js} +1 -1
- package/dist/{message-channel-C8QtrwEU.js → message-channel-9h0j5RdN.js} +1 -1
- package/dist/{model-selection-1MMYqY6M.js → model-selection-C88a_9g6.js} +11 -11
- package/dist/{outbound-attachment-3I6GzwDe.js → outbound-attachment-BuJwyBh-.js} +2 -2
- package/dist/{outbound-BNh6PpQb.js → outbound-pWVnnOB8.js} +6 -6
- package/dist/{path-alias-guards-Cu1nXNMM.js → path-alias-guards-CwzKuGwh.js} +1 -1
- package/dist/{pi-embedded-C6RDRgJM.js → pi-embedded-C-ELC4B8.js} +96 -96
- package/dist/{pi-embedded-helpers-CghCLoPo.js → pi-embedded-helpers-BdHpVi4N.js} +16 -16
- package/dist/{pi-model-discovery-Bb__OY-j.js → pi-model-discovery-DXdGUBPM.js} +1 -1
- package/dist/{plugins-CRB60mCJ.js → plugins-HLi321vw.js} +5 -5
- package/dist/{pw-ai-CfYaR1K2.js → pw-ai-ClfeTowr.js} +11 -11
- package/dist/{qmd-manager-B_GgyQQ0.js → qmd-manager-DxMPr_TW.js} +6 -6
- package/dist/{query-expansion-DEq020GG.js → query-expansion-BIZ50Uk8.js} +2 -2
- package/dist/{redact-Bvpf-ATQ.js → redact-Dk_8Rk3-.js} +1 -1
- package/dist/{replies-6_GxvQYe.js → replies-cfk2XJ69.js} +3 -3
- package/dist/{reply-prefix-BUgeSN2R.js → reply-prefix-PDoW4EZy.js} +1 -1
- package/dist/{resolve-route-DuttYY7A.js → resolve-route-Co_8ykQj.js} +4 -4
- package/dist/{retry-BeB9WenR.js → retry-DbI92XJ6.js} +1 -1
- package/dist/{runner-PgRFPYUj.js → runner-CDjI14QL.js} +11 -11
- package/dist/{send-Dfa3sn6r.js → send-BygI0N_k.js} +13 -13
- package/dist/{send-BeIZJuy4.js → send-C-sC5FEL.js} +7 -7
- package/dist/{send-D4bMycQu.js → send-CcOlxFgw.js} +7 -7
- package/dist/{send-C1hvd3bt.js → send-gAZecXKW.js} +6 -6
- package/dist/{send-DmLC7aEF.js → send-qZc5cwnf.js} +10 -10
- package/dist/{session-F_YDS_1V.js → session-CsQYfL3c.js} +3 -3
- package/dist/{sessions-3ioSeOA1.js → sessions-BxJlMZ9d.js} +6 -6
- package/dist/{skill-commands-Ck3flWX7.js → skill-commands-DdspcyAT.js} +5 -5
- package/dist/{skills-CnAPWfca.js → skills-Cto1PwoM.js} +7 -7
- package/dist/{store-CvMgrKWx.js → store-wmxD_RdX.js} +2 -2
- package/dist/{subsystem-tzu-rIAJ.js → subsystem-B7s1gpl_.js} +1 -1
- package/dist/{tables-5k-zOZ-s.js → tables-DjMlciHF.js} +1 -1
- package/dist/{target-errors-BPfQrPim.js → target-errors-CtMvHKax.js} +2 -2
- package/dist/{tokens-BRLyURxW.js → tokens-B2bEUMr5.js} +1 -1
- package/dist/{tool-images-CcGZpzmq.js → tool-images-upeV0xA7.js} +2 -2
- package/dist/{tool-loop-detection-BNGetx3Z.js → tool-loop-detection-BpnogMb3.js} +2 -2
- package/dist/{utils-CTFLl_ji.js → utils-BB3tnxio.js} +2 -2
- package/dist/{web-NzOJcvWO.js → web-7nT90W2f.js} +63 -63
- package/dist/{whatsapp-actions-DbPcN6JQ.js → whatsapp-actions-Da9VWDOd.js} +23 -23
- package/dist/{workspace-DBFSzT6O.js → workspace-nJ4KDY5w.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/hand/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- 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-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/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 +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/emergency-stop-CVO75pTD.js +0 -113
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveDefaultAgentId, d as resolveSessionAgentId, f as resolveSessionAgentIds, g as toAgentModelListLike, h as resolveAgentModelPrimaryValue, i as resolveAgentDir, l as resolveEffectiveModelFallbacks, m as resolveAgentModelFallbackValues, n as listAgentIds, o as resolveAgentSkillsFilter, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride } from "./agent-scope-
|
|
2
|
+
import { c as resolveDefaultAgentId, d as resolveSessionAgentId, f as resolveSessionAgentIds, g as toAgentModelListLike, h as resolveAgentModelPrimaryValue, i as resolveAgentDir, l as resolveEffectiveModelFallbacks, m as resolveAgentModelFallbackValues, n as listAgentIds, o as resolveAgentSkillsFilter, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride } from "./agent-scope-CSFjmUrH.js";
|
|
3
3
|
import { d as resolveStateDir, f as expandHomePrefix, i as resolveConfigPath, m as resolveRequiredHomeDir, n as STATE_DIR, s as resolveGatewayPort } from "./paths-BYNVLNi_.js";
|
|
4
|
-
import { C as triggerInternalHook, _ as getPluginCommandSpecs, a as listChatChannels, b as createInternalHookEvent, c as normalizeChatChannelId, d as requireActivePluginRegistry, f as setActivePluginRegistry, g as executePluginCommand, h as clearPluginCommands, i as getChatChannelMeta, l as getActivePluginRegistry, m as normalizePluginHttpPath, o as normalizeAnyChannelId, p as createPluginRegistry, r as CHAT_CHANNEL_ORDER, s as normalizeChannelId$1, t as createSubsystemLogger, u as getActivePluginRegistryKey, v as listPluginCommands, y as matchPluginCommand } from "./subsystem-
|
|
5
|
-
import { A as shouldLogVerbose, C as isPlainObject, D as logVerbose, F as theme, I as getChildLogger, K as resolvePreferredIdleHandsTmpDir, M as warn, N as colorize, P as isRich, S as truncateUtf16Safe, W as normalizeLogLevel, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, k as setVerbose, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, w as danger, y as sleep$1 } from "./utils-
|
|
4
|
+
import { C as triggerInternalHook, _ as getPluginCommandSpecs, a as listChatChannels, b as createInternalHookEvent, c as normalizeChatChannelId, d as requireActivePluginRegistry, f as setActivePluginRegistry, g as executePluginCommand, h as clearPluginCommands, i as getChatChannelMeta, l as getActivePluginRegistry, m as normalizePluginHttpPath, o as normalizeAnyChannelId, p as createPluginRegistry, r as CHAT_CHANNEL_ORDER, s as normalizeChannelId$1, t as createSubsystemLogger, u as getActivePluginRegistryKey, v as listPluginCommands, y as matchPluginCommand } from "./subsystem-B7s1gpl_.js";
|
|
5
|
+
import { A as shouldLogVerbose, C as isPlainObject, D as logVerbose, F as theme, I as getChildLogger, K as resolvePreferredIdleHandsTmpDir, M as warn, N as colorize, P as isRich, S as truncateUtf16Safe, W as normalizeLogLevel, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, k as setVerbose, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, w as danger, y as sleep$1 } from "./utils-BB3tnxio.js";
|
|
6
6
|
import { a as registerActiveProgressLine, i as clearActiveProgressLine, n as defaultRuntime, o as unregisterActiveProgressLine, t as createNonExitingRuntime } from "./runtime-8mi3mpYB.js";
|
|
7
7
|
import { S as resolveThreadParentSessionKey, _ as getSubagentDepth, b as isSubagentSessionKey, c as normalizeMainKey, d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, g as deriveSessionChatType, h as isBlockedObjectKey, l as resolveAgentIdFromSessionKey, m as normalizeOptionalAccountId, o as classifySessionKeyShape, p as normalizeAccountId$2, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveThreadSessionKeys, v as isAcpSessionKey, x as parseAgentSessionKey, y as isCronSessionKey } from "./session-key-CuLPSMu_.js";
|
|
8
|
-
import { S as logWarn, T as openBoundaryFileSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as logError, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, l as ensureAgentWorkspace, m as resolveIdleHandsPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, w as openBoundaryFile, x as logInfo, y as logDebug } from "./workspace-
|
|
9
|
-
import { $t as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, A as getSoonestCooldownExpiry, At as buildEnforcedShellCommand, Bt as unwrapKnownDispatchWrapperInvocation, C as getCustomProviderApiKey, Ct as unsetConfigValueAtPath, D as resolveModelAuthMode, Dt as normalizeTrustedSafeBinDirs, E as resolveEnvApiKey, Et as listWritableExplicitTrustedSafeBinDirs, F as resolveApiKeyForProfile, Ft as resolveAllowlistCandidatePath, G as normalizeTelegramCommandName, Gt as resolveSafeBinProfiles, H as writeConfigFile, Ht as splitShellArgs, It as resolveCommandResolutionFromArgv, J as isInboundPathAllowed, Jt as mapStreamingModeToSlackLegacyDraftStreamMode, K as resolveTelegramCustomCommands, Kt as applyMergePatch, Lt as extractShellWrapperInlineCommand, M as markAuthProfileFailure, Mt as splitCommandChain, N as markAuthProfileUsed, Nt as DEFAULT_SAFE_BINS, Ot as validateSafeBinArgv, P as resolveProfilesUnavailableReason, Pt as matchAllowlist, Q as normalizeScpRemoteHost, R as loadConfig, Rt as isDispatchWrapperExecutable, S as getApiKeyForModel, St as setConfigValueAtPath, T as resolveApiKeyForProvider, Tt as isTrustedSafeBinPath, U as validateConfigObjectWithPlugins, Ut as SAFE_BIN_PROFILES, V as resolveConfigSnapshotHash, Vt as unwrapKnownShellMultiplexerInvocation, W as TELEGRAM_COMMAND_NAME_PATTERN, Wt as normalizeSafeBinProfileFixtures, X as resolveIMessageAttachmentRoots, Xt as resolveSlackNativeStreaming, Yt as resolveDiscordPreviewStreamMode, Z as resolveIMessageRemoteAttachmentRoots, Zt as resolveSlackStreamingMode, _n as splitTrailingAuthProfile, _t as resetConfigOverrides, a as isCliProvider, an as resolveOwnerDisplaySetting, at as isPathWithinRoot, b as OLLAMA_NATIVE_BASE_URL, bn as DEFAULT_PROVIDER, bt as getConfigValueAtPath, c as normalizeProviderId, cn as markAuthProfileGood, ct as loadPluginManifestRegistry, d as resolveDefaultModelForAgent, dn as resolveIdleHandsAgentDir, dt as safeStatSync, en as resolveAgentMaxConcurrent, et as parseDurationMs, f as resolveModelRefFromString, fn as withFileLock, ft as applyTestPluginDefaults, gn as normalizeSecretInput, gt as getConfigOverrides, h as resolveThinkingDefault, hn as resolveAuthProfileDisplayLabel, ht as resolveMemorySlotDecision, i as findNormalizedProviderValue, in as isDangerousHostEnvVarName, it as isAvatarHttpUrl, j as isProfileInCooldown, jt as isWindowsPlatform, k as resolveAuthProfileOrder, kt as analyzeShellCommand, ln as ensureAuthProfileStore, lt as discoverIdleHandsPlugins, m as resolveSubagentSpawnModelSelection, mt as resolveEffectiveEnableState, n as buildConfiguredAllowlistKeys, nn as getShellPathFromLoginShell, nt as AVATAR_MAX_BYTES, o as modelKey, on as dedupeProfileIds, ot as isSupportedLocalAvatarExtension, p as resolveReasoningDefault, pt as normalizePluginsConfig, qt as isSafeExecutableValue, r as buildModelAliasIndex, rn as resolveShellEnvFallbackTimeoutMs, rt as isAvatarDataUrl, s as normalizeModelRef$2, sn as listProfilesForProvider, st as validateJsonSchemaValue, t as buildAllowedModelSet, tn as VERSION, u as resolveConfiguredModelRef, un as resolveAuthStorePathForDisplay, ut as isPathInside, vn as DEFAULT_CONTEXT_TOKENS, vt as setConfigOverride, w as requireApiKey, wt as getTrustedSafeBinDirs, x as createOllamaStreamFn, xt as parseConfigPath, yn as DEFAULT_MODEL, yt as unsetConfigOverride, z as readConfigFileSnapshot, zt as isShellWrapperExecutable } from "./model-selection-
|
|
8
|
+
import { S as logWarn, T as openBoundaryFileSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as logError, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, l as ensureAgentWorkspace, m as resolveIdleHandsPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, w as openBoundaryFile, x as logInfo, y as logDebug } from "./workspace-nJ4KDY5w.js";
|
|
9
|
+
import { $t as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, A as getSoonestCooldownExpiry, At as buildEnforcedShellCommand, Bt as unwrapKnownDispatchWrapperInvocation, C as getCustomProviderApiKey, Ct as unsetConfigValueAtPath, D as resolveModelAuthMode, Dt as normalizeTrustedSafeBinDirs, E as resolveEnvApiKey, Et as listWritableExplicitTrustedSafeBinDirs, F as resolveApiKeyForProfile, Ft as resolveAllowlistCandidatePath, G as normalizeTelegramCommandName, Gt as resolveSafeBinProfiles, H as writeConfigFile, Ht as splitShellArgs, It as resolveCommandResolutionFromArgv, J as isInboundPathAllowed, Jt as mapStreamingModeToSlackLegacyDraftStreamMode, K as resolveTelegramCustomCommands, Kt as applyMergePatch, Lt as extractShellWrapperInlineCommand, M as markAuthProfileFailure, Mt as splitCommandChain, N as markAuthProfileUsed, Nt as DEFAULT_SAFE_BINS, Ot as validateSafeBinArgv, P as resolveProfilesUnavailableReason, Pt as matchAllowlist, Q as normalizeScpRemoteHost, R as loadConfig, Rt as isDispatchWrapperExecutable, S as getApiKeyForModel, St as setConfigValueAtPath, T as resolveApiKeyForProvider, Tt as isTrustedSafeBinPath, U as validateConfigObjectWithPlugins, Ut as SAFE_BIN_PROFILES, V as resolveConfigSnapshotHash, Vt as unwrapKnownShellMultiplexerInvocation, W as TELEGRAM_COMMAND_NAME_PATTERN, Wt as normalizeSafeBinProfileFixtures, X as resolveIMessageAttachmentRoots, Xt as resolveSlackNativeStreaming, Yt as resolveDiscordPreviewStreamMode, Z as resolveIMessageRemoteAttachmentRoots, Zt as resolveSlackStreamingMode, _n as splitTrailingAuthProfile, _t as resetConfigOverrides, a as isCliProvider, an as resolveOwnerDisplaySetting, at as isPathWithinRoot, b as OLLAMA_NATIVE_BASE_URL, bn as DEFAULT_PROVIDER, bt as getConfigValueAtPath, c as normalizeProviderId, cn as markAuthProfileGood, ct as loadPluginManifestRegistry, d as resolveDefaultModelForAgent, dn as resolveIdleHandsAgentDir, dt as safeStatSync, en as resolveAgentMaxConcurrent, et as parseDurationMs, f as resolveModelRefFromString, fn as withFileLock, ft as applyTestPluginDefaults, gn as normalizeSecretInput, gt as getConfigOverrides, h as resolveThinkingDefault, hn as resolveAuthProfileDisplayLabel, ht as resolveMemorySlotDecision, i as findNormalizedProviderValue, in as isDangerousHostEnvVarName, it as isAvatarHttpUrl, j as isProfileInCooldown, jt as isWindowsPlatform, k as resolveAuthProfileOrder, kt as analyzeShellCommand, ln as ensureAuthProfileStore, lt as discoverIdleHandsPlugins, m as resolveSubagentSpawnModelSelection, mt as resolveEffectiveEnableState, n as buildConfiguredAllowlistKeys, nn as getShellPathFromLoginShell, nt as AVATAR_MAX_BYTES, o as modelKey, on as dedupeProfileIds, ot as isSupportedLocalAvatarExtension, p as resolveReasoningDefault, pt as normalizePluginsConfig, qt as isSafeExecutableValue, r as buildModelAliasIndex, rn as resolveShellEnvFallbackTimeoutMs, rt as isAvatarDataUrl, s as normalizeModelRef$2, sn as listProfilesForProvider, st as validateJsonSchemaValue, t as buildAllowedModelSet, tn as VERSION, u as resolveConfiguredModelRef, un as resolveAuthStorePathForDisplay, ut as isPathInside, vn as DEFAULT_CONTEXT_TOKENS, vt as setConfigOverride, w as requireApiKey, wt as getTrustedSafeBinDirs, x as createOllamaStreamFn, xt as parseConfigPath, yn as DEFAULT_MODEL, yt as unsetConfigOverride, z as readConfigFileSnapshot, zt as isShellWrapperExecutable } from "./model-selection-C88a_9g6.js";
|
|
10
10
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-Dgt6cnsM.js";
|
|
11
11
|
import { n as resolveCliName, t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
12
12
|
import { t as parseBooleanValue$1 } from "./boolean-CE7i9tBR.js";
|
|
13
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
13
|
+
import { t as isTruthyEnvValue } from "./env-BtjfGfYS.js";
|
|
14
14
|
import { n as MANIFEST_KEY } from "./legacy-names-B4ZvHEmO.js";
|
|
15
|
-
import { a as resolveChannelGroupRequireMention, c as normalizeHyphenSlug, i as resolveChannelGroupPolicy, l as normalizeStringEntries, n as listChannelDocks, o as resolveChannelGroupToolsPolicy, r as normalizeSignalMessagingTarget, s as normalizeAtHashSlug, t as getChannelDock, u as normalizeStringEntriesLower } from "./dock-
|
|
15
|
+
import { a as resolveChannelGroupRequireMention, c as normalizeHyphenSlug, i as resolveChannelGroupPolicy, l as normalizeStringEntries, n as listChannelDocks, o as resolveChannelGroupToolsPolicy, r as normalizeSignalMessagingTarget, s as normalizeAtHashSlug, t as getChannelDock, u as normalizeStringEntriesLower } from "./dock-4HLkEWeL.js";
|
|
16
16
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-CEV6qf-x.js";
|
|
17
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
18
|
-
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, c as listTelegramAccountIds, d as resolveSlackAccount, g as listEnabledDiscordAccounts, h as createDiscordActionGate, i as isWhatsAppGroupJid, l as resolveTelegramAccount, m as resolveSlackBotToken, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAppToken, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as normalizeDiscordToken } from "./plugins-
|
|
19
|
-
import { n as resolveWhatsAppAccount, t as hasAnyWhatsAppAuth } from "./accounts-
|
|
17
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-B2bEUMr5.js";
|
|
18
|
+
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, c as listTelegramAccountIds, d as resolveSlackAccount, g as listEnabledDiscordAccounts, h as createDiscordActionGate, i as isWhatsAppGroupJid, l as resolveTelegramAccount, m as resolveSlackBotToken, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAppToken, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as normalizeDiscordToken } from "./plugins-HLi321vw.js";
|
|
19
|
+
import { n as resolveWhatsAppAccount, t as hasAnyWhatsAppAuth } from "./accounts-DLL4jMvc.js";
|
|
20
20
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
21
21
|
import { t as normalizeChatType } from "./chat-type-BPBtOjer.js";
|
|
22
|
-
import { t as buildChannelAccountBindings } from "./bindings-
|
|
23
|
-
import { a as logoutWeb, i as logWebSelfId, l as readWebSelfId, n as getWebAuthAgeMs, p as webAuthExists } from "./auth-store-
|
|
24
|
-
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
25
|
-
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-
|
|
22
|
+
import { t as buildChannelAccountBindings } from "./bindings-av9-yFB3.js";
|
|
23
|
+
import { a as logoutWeb, i as logWebSelfId, l as readWebSelfId, n as getWebAuthAgeMs, p as webAuthExists } from "./auth-store-bL1LNwm5.js";
|
|
24
|
+
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-C-sC5FEL.js";
|
|
25
|
+
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-qZc5cwnf.js";
|
|
26
26
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-B1N_MXT_.js";
|
|
27
|
-
import { C as initializeGlobalHookRunner, S as getGlobalHookRunner, _ as createReplyToModeFilterForChannel, a as normalizeOutboundPayloadsForJson, b as normalizeChannelTargetInput, c as parseReplyDirectives, d as applyReplyThreading, f as filterMessagingToolDuplicates, g as shouldSuppressReasoningPayload, h as shouldSuppressMessagingToolReplies, i as normalizeOutboundPayloads, l as splitMediaFromOutput, m as isRenderablePayload, o as normalizeReplyPayloadsForDelivery, p as filterMessagingToolMediaDuplicates, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as applyReplyTagsToPayload, v as resolveReplyToMode, x as normalizeTargetForProvider, y as buildTargetResolverSignature } from "./deliver-
|
|
28
|
-
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-
|
|
27
|
+
import { C as initializeGlobalHookRunner, S as getGlobalHookRunner, _ as createReplyToModeFilterForChannel, a as normalizeOutboundPayloadsForJson, b as normalizeChannelTargetInput, c as parseReplyDirectives, d as applyReplyThreading, f as filterMessagingToolDuplicates, g as shouldSuppressReasoningPayload, h as shouldSuppressMessagingToolReplies, i as normalizeOutboundPayloads, l as splitMediaFromOutput, m as isRenderablePayload, o as normalizeReplyPayloadsForDelivery, p as filterMessagingToolMediaDuplicates, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as applyReplyTagsToPayload, v as resolveReplyToMode, x as normalizeTargetForProvider, y as buildTargetResolverSignature } from "./deliver-l8EA_rIo.js";
|
|
28
|
+
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-DUpiGDI6.js";
|
|
29
29
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-BGF2r-kt.js";
|
|
30
|
-
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
31
|
-
import { $ as readJsonFileWithFallback, A as extractTelegramLocation, B as normalizeAllowFrom$2, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as mergeDmAllowFromSources, H as resolveSenderAllowMatch, I as resolveTelegramReplyId, J as toLocationContext, K as resolveGroupAllowFromSources, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as upsertChannelPairingRequest, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as firstDefined$1, V as normalizeDmAllowFromWithStore$1, W as isSenderIdAllowed, X as readChannelAllowFromStore, Y as addChannelAllowFromStoreEntry, Z as removeChannelAllowFromStoreEntry, _ as resolveTelegramFetch, a as reactMessageTelegram, at as resolveTelegramTargetChatType, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as writeJsonFileAtomically, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, it as parseTelegramTarget, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as listPairingChannels, o as sendMessageTelegram, p as markdownToTelegramChunks, q as formatLocationText, r as deleteMessageTelegram, rt as isVoiceCompatibleAudio, s as sendPollTelegram, t as buildInlineKeyboard, tt as getPairingAdapter, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-
|
|
32
|
-
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-
|
|
33
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
34
|
-
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-
|
|
35
|
-
import { $ as stripPluginOnlyAllowlist, A as isTimeoutErrorMessage, B as resolveBrowserConfig, C as isCompactionFailureError, D as isLikelyContextOverflowError, E as isFailoverErrorMessage, F as ensureSandboxWorkspaceForSession, G as resolveGatewayCredentialsFromConfig, H as getBridgeAuthForPort, I as resolveSandboxContext, J as applyOwnerOnlyToolPolicy, K as trimToUndefined$1, L as resolveSandboxRuntimeStatus, M as parseImageDimensionError, N as parseImageSizeError, O as isRateLimitAssistantError, P as sanitizeUserFacingText, Q as mergeAlsoAllowPolicy, R as createBrowserRouteContext, S as isCloudCodeAssistFormatError, T as isFailoverAssistantError, U as ensureBrowserControlAuth, V as resolveProfile, W as resolveBrowserControlAuth, X as collectExplicitAllowlist, Y as buildPluginToolGroups, Z as expandPolicyWithPluginGroups, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, at as buildBootstrapContextFiles, b as isAuthPermanentErrorMessage, c as extractToolCallsFromAssistant, ct as resolveBootstrapTotalMaxChars, d as downgradeOpenAIReasoningBlocks, et as expandToolGroups, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, it as matchesAnyGlobPattern, j as isTransientHttpError, k as isRawApiErrorPayload, l as extractToolResultId, lt as sanitizeGoogleTurnOrdering, m as classifyFailoverReason, n as validateGeminiTurns, nt as resolveToolProfilePolicy, o as normalizeTextForComparison, ot as ensureSessionHeader, p as BILLING_ERROR_USER_MESSAGE, q as resolveSandboxConfigForAgent, r as pickFallbackThinkingLevel, rt as compileGlobPatterns, s as sanitizeSessionMessagesImages, st as resolveBootstrapMaxChars, t as validateAnthropicTurns, tt as normalizeToolName, u as sanitizeToolCallIdsForCloudCodeAssist, v as getApiErrorPayloadFingerprint, w as isContextOverflowError, x as isBillingAssistantError, y as isAuthAssistantError, z as registerBrowserRoutes } from "./pi-embedded-helpers-
|
|
36
|
-
import { C as ensureChromeExtensionRelayServer, F as isSecureWebSocketUrl, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as rawDataToString, k as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-
|
|
30
|
+
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BlHH-u_r.js";
|
|
31
|
+
import { $ as readJsonFileWithFallback, A as extractTelegramLocation, B as normalizeAllowFrom$2, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as mergeDmAllowFromSources, H as resolveSenderAllowMatch, I as resolveTelegramReplyId, J as toLocationContext, K as resolveGroupAllowFromSources, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as upsertChannelPairingRequest, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as firstDefined$1, V as normalizeDmAllowFromWithStore$1, W as isSenderIdAllowed, X as readChannelAllowFromStore, Y as addChannelAllowFromStoreEntry, Z as removeChannelAllowFromStoreEntry, _ as resolveTelegramFetch, a as reactMessageTelegram, at as resolveTelegramTargetChatType, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as writeJsonFileAtomically, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, it as parseTelegramTarget, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as listPairingChannels, o as sendMessageTelegram, p as markdownToTelegramChunks, q as formatLocationText, r as deleteMessageTelegram, rt as isVoiceCompatibleAudio, s as sendPollTelegram, t as buildInlineKeyboard, tt as getPairingAdapter, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-BygI0N_k.js";
|
|
32
|
+
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-CVPIEkjZ.js";
|
|
33
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DXdGUBPM.js";
|
|
34
|
+
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-9h0j5RdN.js";
|
|
35
|
+
import { $ as stripPluginOnlyAllowlist, A as isTimeoutErrorMessage, B as resolveBrowserConfig, C as isCompactionFailureError, D as isLikelyContextOverflowError, E as isFailoverErrorMessage, F as ensureSandboxWorkspaceForSession, G as resolveGatewayCredentialsFromConfig, H as getBridgeAuthForPort, I as resolveSandboxContext, J as applyOwnerOnlyToolPolicy, K as trimToUndefined$1, L as resolveSandboxRuntimeStatus, M as parseImageDimensionError, N as parseImageSizeError, O as isRateLimitAssistantError, P as sanitizeUserFacingText, Q as mergeAlsoAllowPolicy, R as createBrowserRouteContext, S as isCloudCodeAssistFormatError, T as isFailoverAssistantError, U as ensureBrowserControlAuth, V as resolveProfile, W as resolveBrowserControlAuth, X as collectExplicitAllowlist, Y as buildPluginToolGroups, Z as expandPolicyWithPluginGroups, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, at as buildBootstrapContextFiles, b as isAuthPermanentErrorMessage, c as extractToolCallsFromAssistant, ct as resolveBootstrapTotalMaxChars, d as downgradeOpenAIReasoningBlocks, et as expandToolGroups, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, it as matchesAnyGlobPattern, j as isTransientHttpError, k as isRawApiErrorPayload, l as extractToolResultId, lt as sanitizeGoogleTurnOrdering, m as classifyFailoverReason, n as validateGeminiTurns, nt as resolveToolProfilePolicy, o as normalizeTextForComparison, ot as ensureSessionHeader, p as BILLING_ERROR_USER_MESSAGE, q as resolveSandboxConfigForAgent, r as pickFallbackThinkingLevel, rt as compileGlobPatterns, s as sanitizeSessionMessagesImages, st as resolveBootstrapMaxChars, t as validateAnthropicTurns, tt as normalizeToolName, u as sanitizeToolCallIdsForCloudCodeAssist, v as getApiErrorPayloadFingerprint, w as isContextOverflowError, x as isBillingAssistantError, y as isAuthAssistantError, z as registerBrowserRoutes } from "./pi-embedded-helpers-BdHpVi4N.js";
|
|
36
|
+
import { C as ensureChromeExtensionRelayServer, F as isSecureWebSocketUrl, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as rawDataToString, k as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-DkhJIPqM.js";
|
|
37
37
|
import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-CZeHDwVZ.js";
|
|
38
|
-
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-
|
|
39
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
40
|
-
import { r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
41
|
-
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-
|
|
42
|
-
import { i as writeFileWithinRoot, n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
43
|
-
import { n as getMediaDir, r as saveMediaBuffer } from "./store-
|
|
44
|
-
import { A as normalizeInputProvenance, B as setSessionRuntimeModel, C as capArrayByJsonBytes, D as INPUT_PROVENANCE_KIND_VALUES, E as parseInlineDirectives$1, F as resolveSessionResetType, G as deriveSessionMetaPatch, I as resolveThreadFlag, J as resolveSessionLockMaxHoldFromTimeout, K as resolveGroupSessionKey, L as DEFAULT_RESET_TRIGGERS, M as evaluateSessionFreshness, N as resolveChannelResetConfig, O as applyInputProvenanceToUserMessage, P as resolveSessionResetPolicy, R as mergeSessionEntry, S as archiveSessionTranscripts, T as extractToolCallNames, U as resolveExplicitAgentSessionKey, V as canonicalizeMainSessionAlias, W as resolveMainSessionKey, _ as deliveryContextKey, b as normalizeSessionDeliveryFields, c as readSessionUpdatedAt, d as updateLastRoute, f as updateSessionStore, g as deliveryContextFromSession, h as resolveCacheTtlMs$1, i as appendAssistantMessageToSessionTranscript, j as resolveSessionKey, k as hasInterSessionUserProvenance, l as recordSessionMetaFromInbound, m as isCacheEnabled, n as extractDeliveryInfo, o as resolveAndPersistSessionFile, p as updateSessionStoreEntry, q as acquireSessionWriteLock, r as parseSessionThreadInfo, s as loadSessionStore, v as mergeDeliveryContext, w as countToolResults, x as normalizeAccountId$3, y as normalizeDeliveryContext, z as resolveFreshSessionTotalTokens } from "./sessions-
|
|
38
|
+
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-Cto1PwoM.js";
|
|
39
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CwzKuGwh.js";
|
|
40
|
+
import { r as compileSafeRegex, t as redactSensitiveText } from "./redact-Dk_8Rk3-.js";
|
|
41
|
+
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-XpvBRvrk.js";
|
|
42
|
+
import { i as writeFileWithinRoot, n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-qiODuhN1.js";
|
|
43
|
+
import { n as getMediaDir, r as saveMediaBuffer } from "./store-wmxD_RdX.js";
|
|
44
|
+
import { A as normalizeInputProvenance, B as setSessionRuntimeModel, C as capArrayByJsonBytes, D as INPUT_PROVENANCE_KIND_VALUES, E as parseInlineDirectives$1, F as resolveSessionResetType, G as deriveSessionMetaPatch, I as resolveThreadFlag, J as resolveSessionLockMaxHoldFromTimeout, K as resolveGroupSessionKey, L as DEFAULT_RESET_TRIGGERS, M as evaluateSessionFreshness, N as resolveChannelResetConfig, O as applyInputProvenanceToUserMessage, P as resolveSessionResetPolicy, R as mergeSessionEntry, S as archiveSessionTranscripts, T as extractToolCallNames, U as resolveExplicitAgentSessionKey, V as canonicalizeMainSessionAlias, W as resolveMainSessionKey, _ as deliveryContextKey, b as normalizeSessionDeliveryFields, c as readSessionUpdatedAt, d as updateLastRoute, f as updateSessionStore, g as deliveryContextFromSession, h as resolveCacheTtlMs$1, i as appendAssistantMessageToSessionTranscript, j as resolveSessionKey, k as hasInterSessionUserProvenance, l as recordSessionMetaFromInbound, m as isCacheEnabled, n as extractDeliveryInfo, o as resolveAndPersistSessionFile, p as updateSessionStoreEntry, q as acquireSessionWriteLock, r as parseSessionThreadInfo, s as loadSessionStore, v as mergeDeliveryContext, w as countToolResults, x as normalizeAccountId$3, y as normalizeDeliveryContext, z as resolveFreshSessionTotalTokens } from "./sessions-BxJlMZ9d.js";
|
|
45
45
|
import { n as resolveConversationLabel } from "./conversation-label-1Wad2kXc.js";
|
|
46
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
46
|
+
import { t as resolveIMessageAccount } from "./accounts-DOlh6RqB.js";
|
|
47
47
|
import { a as resolveSessionFilePathOptions, i as resolveSessionFilePath, l as resolveSessionTranscriptsDirForAgent, o as resolveSessionTranscriptPath, r as resolveDefaultSessionStorePath, u as resolveStorePath } from "./paths-D_qUel1T.js";
|
|
48
48
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-_OimdA_2.js";
|
|
49
|
-
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-
|
|
49
|
+
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-upeV0xA7.js";
|
|
50
50
|
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-z4_linel.js";
|
|
51
|
-
import { C as extractTextFromChatContent, S as isInsideCode, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, w as ensureIdleHandsModelsJson, x as findCodeRegions, y as resolveToolDisplay } from "./image-
|
|
52
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
53
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
51
|
+
import { C as extractTextFromChatContent, S as isInsideCode, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, w as ensureIdleHandsModelsJson, x as findCodeRegions, y as resolveToolDisplay } from "./image-D_PnW33c.js";
|
|
52
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-PDoW4EZy.js";
|
|
53
|
+
import { n as resolveMemorySearchConfig } from "./manager-BZ0tYOnu.js";
|
|
54
54
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-3YYM8QuM.js";
|
|
55
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
56
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
57
|
-
import { n as retryAsync } from "./retry-
|
|
58
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-
|
|
59
|
-
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-
|
|
60
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
61
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
62
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-
|
|
63
|
-
import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-
|
|
64
|
-
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-
|
|
55
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BdcyjI44.js";
|
|
56
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-BIZ50Uk8.js";
|
|
57
|
+
import { n as retryAsync } from "./retry-DbI92XJ6.js";
|
|
58
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-CtMvHKax.js";
|
|
59
|
+
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-CgCAeFdA.js";
|
|
60
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Cjn8O_5e.js";
|
|
61
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-czSWcF7i.js";
|
|
62
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-z6aop5rJ.js";
|
|
63
|
+
import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-CowrfO43.js";
|
|
64
|
+
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-DdspcyAT.js";
|
|
65
65
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-BYczzTII.js";
|
|
66
|
-
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$2, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-
|
|
66
|
+
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$2, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-CDjI14QL.js";
|
|
67
67
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CsfR_943.js";
|
|
68
68
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-D9g0X0i7.js";
|
|
69
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
69
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-Df_QWn3k.js";
|
|
70
70
|
import { n as normalizePollInput } from "./polls-DhMjjIGW.js";
|
|
71
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
72
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
73
|
-
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-
|
|
74
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
71
|
+
import { t as convertMarkdownTables } from "./tables-DjMlciHF.js";
|
|
72
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-gAZecXKW.js";
|
|
73
|
+
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-CcOlxFgw.js";
|
|
74
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-Co_8ykQj.js";
|
|
75
75
|
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-jilCMH1M.js";
|
|
76
76
|
import { t as makeProxyFetch } from "./proxy-CRB9oCP5.js";
|
|
77
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
78
|
-
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
77
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-cfk2XJ69.js";
|
|
78
|
+
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-B1l5WEJq.js";
|
|
79
79
|
import { createRequire } from "node:module";
|
|
80
80
|
import * as fs$1 from "node:fs/promises";
|
|
81
81
|
import fs from "node:fs/promises";
|
|
@@ -83,7 +83,7 @@ import os, { homedir } from "node:os";
|
|
|
83
83
|
import * as path$1 from "node:path";
|
|
84
84
|
import path, { isAbsolute } from "node:path";
|
|
85
85
|
import syncFs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
86
|
-
import
|
|
86
|
+
import json5 from "json5";
|
|
87
87
|
import { inspect, promisify } from "node:util";
|
|
88
88
|
import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
|
|
89
89
|
import { fileURLToPath } from "node:url";
|
|
@@ -3965,7 +3965,7 @@ async function getMemorySearchManager(params) {
|
|
|
3965
3965
|
if (cached) return { manager: cached };
|
|
3966
3966
|
}
|
|
3967
3967
|
try {
|
|
3968
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
3968
|
+
const { QmdMemoryManager } = await import("./qmd-manager-DxMPr_TW.js");
|
|
3969
3969
|
const primary = await QmdMemoryManager.create({
|
|
3970
3970
|
cfg: params.cfg,
|
|
3971
3971
|
agentId: params.agentId,
|
|
@@ -3977,7 +3977,7 @@ async function getMemorySearchManager(params) {
|
|
|
3977
3977
|
const wrapper = new FallbackMemoryManager({
|
|
3978
3978
|
primary,
|
|
3979
3979
|
fallbackFactory: async () => {
|
|
3980
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3980
|
+
const { MemoryIndexManager } = await import("./manager-BZ0tYOnu.js").then((n) => n.t);
|
|
3981
3981
|
return await MemoryIndexManager.get(params);
|
|
3982
3982
|
}
|
|
3983
3983
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -3990,7 +3990,7 @@ async function getMemorySearchManager(params) {
|
|
|
3990
3990
|
}
|
|
3991
3991
|
}
|
|
3992
3992
|
try {
|
|
3993
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3993
|
+
const { MemoryIndexManager } = await import("./manager-BZ0tYOnu.js").then((n) => n.t);
|
|
3994
3994
|
return { manager: await MemoryIndexManager.get(params) };
|
|
3995
3995
|
} catch (err) {
|
|
3996
3996
|
return {
|
|
@@ -7937,7 +7937,7 @@ async function routeReply(params) {
|
|
|
7937
7937
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
7938
7938
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
7939
7939
|
try {
|
|
7940
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
7940
|
+
const { deliverOutboundPayloads } = await import("./deliver-l8EA_rIo.js").then((n) => n.n);
|
|
7941
7941
|
const outboundSession = buildOutboundSessionContext({
|
|
7942
7942
|
cfg,
|
|
7943
7943
|
agentId: resolvedAgentId,
|
|
@@ -8458,7 +8458,7 @@ function normalizeSessionKey$1(value) {
|
|
|
8458
8458
|
function readSessionStore(storePath) {
|
|
8459
8459
|
try {
|
|
8460
8460
|
const raw = syncFs.readFileSync(storePath, "utf-8");
|
|
8461
|
-
const parsed =
|
|
8461
|
+
const parsed = json5.parse(raw);
|
|
8462
8462
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
8463
8463
|
} catch {}
|
|
8464
8464
|
return {};
|
|
@@ -21330,7 +21330,7 @@ const MODEL_CACHE = /* @__PURE__ */ new Map();
|
|
|
21330
21330
|
await ensureIdleHandsModelsJson(cfg);
|
|
21331
21331
|
} catch {}
|
|
21332
21332
|
try {
|
|
21333
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
21333
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DXdGUBPM.js").then((n) => n.r);
|
|
21334
21334
|
const agentDir = resolveIdleHandsAgentDir();
|
|
21335
21335
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
21336
21336
|
applyDiscoveredContextWindows({
|
|
@@ -23062,7 +23062,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23062
23062
|
};
|
|
23063
23063
|
const arg = body.slice(6).trim();
|
|
23064
23064
|
if (arg === "status" || arg === "") {
|
|
23065
|
-
const { antonStatus } = await import("./anton-
|
|
23065
|
+
const { antonStatus } = await import("./anton-CuLeFevj.js");
|
|
23066
23066
|
const lines = [];
|
|
23067
23067
|
await antonStatus({
|
|
23068
23068
|
log: (msg) => lines.push(msg),
|
|
@@ -23078,7 +23078,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23078
23078
|
return { shouldContinue: false };
|
|
23079
23079
|
}
|
|
23080
23080
|
if (arg === "stop") {
|
|
23081
|
-
const { antonStop } = await import("./anton-
|
|
23081
|
+
const { antonStop } = await import("./anton-CuLeFevj.js");
|
|
23082
23082
|
const lines = [];
|
|
23083
23083
|
await antonStop({
|
|
23084
23084
|
log: (msg) => lines.push(msg),
|
|
@@ -23116,8 +23116,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23116
23116
|
await sendProgress(replyCtx, text);
|
|
23117
23117
|
return { shouldContinue: false };
|
|
23118
23118
|
}
|
|
23119
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
23120
|
-
const { createDefaultDeps } = await import("./deps-
|
|
23119
|
+
const { runAnton, formatProgressMessage } = await import("./anton-CuLeFevj.js");
|
|
23120
|
+
const { createDefaultDeps } = await import("./deps-B1l5WEJq.js").then((n) => n.n);
|
|
23121
23121
|
const { createNonExitingRuntime } = await import("./runtime-8mi3mpYB.js").then((n) => n.r);
|
|
23122
23122
|
const runtime = createNonExitingRuntime();
|
|
23123
23123
|
const deps = createDefaultDeps();
|
|
@@ -23214,7 +23214,7 @@ const handleDirCommand = async (params, _allowTextCommands) => {
|
|
|
23214
23214
|
}
|
|
23215
23215
|
try {
|
|
23216
23216
|
if (params.sessionKey) {
|
|
23217
|
-
const { updateSessionStoreEntry } = await import("./sessions-
|
|
23217
|
+
const { updateSessionStoreEntry } = await import("./sessions-BxJlMZ9d.js").then((n) => n.u);
|
|
23218
23218
|
const { resolveDefaultSessionStorePath } = await import("./paths-D_qUel1T.js").then((n) => n.n);
|
|
23219
23219
|
await updateSessionStoreEntry({
|
|
23220
23220
|
storePath: params.storePath ?? resolveDefaultSessionStorePath(),
|
|
@@ -29900,7 +29900,7 @@ async function createModelSelectionState(params) {
|
|
|
29900
29900
|
}
|
|
29901
29901
|
}
|
|
29902
29902
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
29903
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
29903
|
+
const { ensureAuthProfileStore } = await import("./model-selection-C88a_9g6.js").then((n) => n.O);
|
|
29904
29904
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
29905
29905
|
const providerKey = normalizeProviderId(provider);
|
|
29906
29906
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -47429,7 +47429,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
47429
47429
|
return;
|
|
47430
47430
|
}
|
|
47431
47431
|
try {
|
|
47432
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
47432
|
+
const { deliverOutboundPayloads } = await import("./deliver-l8EA_rIo.js").then((n) => n.n);
|
|
47433
47433
|
const outboundSession = buildOutboundSessionContext({
|
|
47434
47434
|
cfg: params.cfg,
|
|
47435
47435
|
sessionKey: params.sessionKey
|
|
@@ -51865,7 +51865,7 @@ async function describeStickerImage(params) {
|
|
|
51865
51865
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
51866
51866
|
try {
|
|
51867
51867
|
const buffer = await fs.readFile(imagePath);
|
|
51868
|
-
const { describeImageWithModel } = await import("./image-
|
|
51868
|
+
const { describeImageWithModel } = await import("./image-D_PnW33c.js").then((n) => n.n);
|
|
51869
51869
|
return (await describeImageWithModel({
|
|
51870
51870
|
buffer,
|
|
51871
51871
|
fileName: "sticker.webp",
|
|
@@ -52319,7 +52319,7 @@ function createWhatsAppLoginTool() {
|
|
|
52319
52319
|
force: Type.Optional(Type.Boolean())
|
|
52320
52320
|
}),
|
|
52321
52321
|
execute: async (_toolCallId, args) => {
|
|
52322
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
52322
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-BTJ95win.js");
|
|
52323
52323
|
if ((args?.action ?? "start") === "wait") {
|
|
52324
52324
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
52325
52325
|
return {
|
|
@@ -54793,7 +54793,7 @@ async function preflightDiscordMessage(params) {
|
|
|
54793
54793
|
let preflightTranscript;
|
|
54794
54794
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
54795
54795
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
54796
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
54796
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-9inwhXLH.js");
|
|
54797
54797
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
54798
54798
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
54799
54799
|
ctx: {
|
|
@@ -57270,9 +57270,9 @@ function createDiscordMessageHandler(params) {
|
|
|
57270
57270
|
try {
|
|
57271
57271
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
57272
57272
|
if (messageText) {
|
|
57273
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
57273
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Br57IwSQ.js");
|
|
57274
57274
|
if (isAbortRequestText(messageText)) {
|
|
57275
|
-
const { resolveAgentRoute } = await import("./resolve-route-
|
|
57275
|
+
const { resolveAgentRoute } = await import("./resolve-route-Co_8ykQj.js").then((n) => n.r);
|
|
57276
57276
|
const channelId = resolveDiscordMessageChannelId({
|
|
57277
57277
|
message: data.message,
|
|
57278
57278
|
eventChannelId: data.channel_id
|
|
@@ -64768,9 +64768,9 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
64768
64768
|
}
|
|
64769
64769
|
const msgText = (message.text ?? "").trim();
|
|
64770
64770
|
if (msgText) {
|
|
64771
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
64771
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Br57IwSQ.js");
|
|
64772
64772
|
if (isAbortRequestText(msgText)) {
|
|
64773
|
-
const { resolveAgentRoute } = await import("./resolve-route-
|
|
64773
|
+
const { resolveAgentRoute } = await import("./resolve-route-Co_8ykQj.js").then((n) => n.r);
|
|
64774
64774
|
const route = resolveAgentRoute({
|
|
64775
64775
|
cfg,
|
|
64776
64776
|
channel: "imessage",
|
|
@@ -67379,9 +67379,9 @@ function createSignalEventHandler(deps) {
|
|
|
67379
67379
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
67380
67380
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
67381
67381
|
if (bodyText) {
|
|
67382
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
67382
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Br57IwSQ.js");
|
|
67383
67383
|
if (isAbortRequestText(bodyText)) {
|
|
67384
|
-
const { resolveAgentRoute } = await import("./resolve-route-
|
|
67384
|
+
const { resolveAgentRoute } = await import("./resolve-route-Co_8ykQj.js").then((n) => n.r);
|
|
67385
67385
|
const route = resolveAgentRoute({
|
|
67386
67386
|
cfg: deps.cfg,
|
|
67387
67387
|
channel: "signal",
|
|
@@ -70761,9 +70761,9 @@ function createSlackMessageHandler(params) {
|
|
|
70761
70761
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
70762
70762
|
const rawText = (message.text ?? "").trim();
|
|
70763
70763
|
if (rawText) {
|
|
70764
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
70764
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Br57IwSQ.js");
|
|
70765
70765
|
if (isAbortRequestText(rawText)) {
|
|
70766
|
-
const { resolveAgentRoute } = await import("./resolve-route-
|
|
70766
|
+
const { resolveAgentRoute } = await import("./resolve-route-Co_8ykQj.js").then((n) => n.r);
|
|
70767
70767
|
const route = resolveAgentRoute({
|
|
70768
70768
|
cfg: ctx.cfg,
|
|
70769
70769
|
channel: "slack",
|
|
@@ -70883,7 +70883,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
70883
70883
|
}
|
|
70884
70884
|
let commandsRegistry;
|
|
70885
70885
|
async function getCommandsRegistry() {
|
|
70886
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
70886
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-CowrfO43.js").then((n) => n.n);
|
|
70887
70887
|
return commandsRegistry;
|
|
70888
70888
|
}
|
|
70889
70889
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -71207,14 +71207,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
71207
71207
|
const channelName = channelInfo?.name;
|
|
71208
71208
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
71209
71209
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
71210
|
-
import("./resolve-route-
|
|
71210
|
+
import("./resolve-route-Co_8ykQj.js").then((n) => n.r),
|
|
71211
71211
|
import("./inbound-context-BYczzTII.js").then((n) => n.n),
|
|
71212
71212
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
71213
71213
|
]);
|
|
71214
71214
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordSessionMetaFromInbound, resolveStorePath }] = await Promise.all([
|
|
71215
71215
|
import("./conversation-label-1Wad2kXc.js").then((n) => n.t),
|
|
71216
|
-
import("./reply-prefix-
|
|
71217
|
-
import("./sessions-
|
|
71216
|
+
import("./reply-prefix-PDoW4EZy.js").then((n) => n.n),
|
|
71217
|
+
import("./sessions-BxJlMZ9d.js").then((n) => n.t)
|
|
71218
71218
|
]);
|
|
71219
71219
|
const route = resolveAgentRoute({
|
|
71220
71220
|
cfg,
|
|
@@ -71282,9 +71282,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
71282
71282
|
});
|
|
71283
71283
|
const deliverSlashPayloads = async (replies) => {
|
|
71284
71284
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
71285
|
-
import("./replies-
|
|
71286
|
-
import("./chunk-
|
|
71287
|
-
import("./markdown-tables-
|
|
71285
|
+
import("./replies-cfk2XJ69.js").then((n) => n.r),
|
|
71286
|
+
import("./chunk-CgCAeFdA.js").then((n) => n.s),
|
|
71287
|
+
import("./markdown-tables-Cjn8O_5e.js").then((n) => n.t)
|
|
71288
71288
|
]);
|
|
71289
71289
|
await deliverSlackSlashReplies({
|
|
71290
71290
|
replies,
|
|
@@ -71337,7 +71337,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
71337
71337
|
let nativeCommands = [];
|
|
71338
71338
|
if (nativeEnabled) {
|
|
71339
71339
|
reg = await getCommandsRegistry();
|
|
71340
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
71340
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-DdspcyAT.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
71341
71341
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
71342
71342
|
skillCommands,
|
|
71343
71343
|
provider: "slack"
|
|
@@ -72955,7 +72955,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
72955
72955
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
72956
72956
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
72957
72957
|
if (text) {
|
|
72958
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
72958
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Br57IwSQ.js");
|
|
72959
72959
|
if (isAbortRequestText(text)) {
|
|
72960
72960
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
72961
72961
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -73842,7 +73842,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
73842
73842
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
73843
73843
|
let preflightTranscript;
|
|
73844
73844
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
73845
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
73845
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-9inwhXLH.js");
|
|
73846
73846
|
preflightTranscript = await transcribeFirstAudio({
|
|
73847
73847
|
ctx: {
|
|
73848
73848
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -76428,23 +76428,23 @@ let webLoginQrPromise = null;
|
|
|
76428
76428
|
let webChannelPromise = null;
|
|
76429
76429
|
let whatsappActionsPromise = null;
|
|
76430
76430
|
function loadWebOutbound() {
|
|
76431
|
-
webOutboundPromise ??= import("./outbound-
|
|
76431
|
+
webOutboundPromise ??= import("./outbound-pWVnnOB8.js").then((n) => n.t);
|
|
76432
76432
|
return webOutboundPromise;
|
|
76433
76433
|
}
|
|
76434
76434
|
function loadWebLogin() {
|
|
76435
|
-
webLoginPromise ??= import("./login-
|
|
76435
|
+
webLoginPromise ??= import("./login-CUJ4A8gi.js").then((n) => n.n);
|
|
76436
76436
|
return webLoginPromise;
|
|
76437
76437
|
}
|
|
76438
76438
|
function loadWebLoginQr() {
|
|
76439
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
76439
|
+
webLoginQrPromise ??= import("./login-qr-BTJ95win.js");
|
|
76440
76440
|
return webLoginQrPromise;
|
|
76441
76441
|
}
|
|
76442
76442
|
function loadWebChannel() {
|
|
76443
|
-
webChannelPromise ??= import("./web-
|
|
76443
|
+
webChannelPromise ??= import("./web-7nT90W2f.js");
|
|
76444
76444
|
return webChannelPromise;
|
|
76445
76445
|
}
|
|
76446
76446
|
function loadWhatsAppActions() {
|
|
76447
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
76447
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-Da9VWDOd.js");
|
|
76448
76448
|
return whatsappActionsPromise;
|
|
76449
76449
|
}
|
|
76450
76450
|
function createPluginRuntime() {
|
|
@@ -77817,7 +77817,7 @@ async function recordLoopOutcome(args) {
|
|
|
77817
77817
|
if (!args.ctx?.sessionKey) return;
|
|
77818
77818
|
try {
|
|
77819
77819
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-BGF2r-kt.js").then((n) => n.n);
|
|
77820
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
77820
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-BpnogMb3.js");
|
|
77821
77821
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
77822
77822
|
sessionKey: args.ctx.sessionKey,
|
|
77823
77823
|
sessionId: args.ctx?.agentId
|
|
@@ -77838,8 +77838,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
77838
77838
|
const params = args.params;
|
|
77839
77839
|
if (args.ctx?.sessionKey) {
|
|
77840
77840
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-BGF2r-kt.js").then((n) => n.n);
|
|
77841
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
77842
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
77841
|
+
const { logToolLoopAction } = await import("./diagnostic-DUpiGDI6.js").then((n) => n.n);
|
|
77842
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-BpnogMb3.js");
|
|
77843
77843
|
const sessionState = getDiagnosticSessionState({
|
|
77844
77844
|
sessionKey: args.ctx.sessionKey,
|
|
77845
77845
|
sessionId: args.ctx?.agentId
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { d as resolveSessionAgentId, r as resolveAgentConfig } from "./agent-scope-
|
|
1
|
+
import { d as resolveSessionAgentId, r as resolveAgentConfig } from "./agent-scope-CSFjmUrH.js";
|
|
2
2
|
import { n as STATE_DIR, s as resolveGatewayPort } from "./paths-BYNVLNi_.js";
|
|
3
|
-
import { n as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { S as truncateUtf16Safe, h as resolveUserPath } from "./utils-
|
|
3
|
+
import { n as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-B7s1gpl_.js";
|
|
4
|
+
import { S as truncateUtf16Safe, h as resolveUserPath } from "./utils-BB3tnxio.js";
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
|
|
6
6
|
import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId } from "./session-key-CuLPSMu_.js";
|
|
7
|
-
import { _ as runExec, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, k as resolvePathViaExistingAncestorSync, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as openBoundaryFile } from "./workspace-
|
|
8
|
-
import { $ as getBlockedNetworkModeReason, H as writeConfigFile, L as createConfigIO, R as loadConfig } from "./model-selection-
|
|
7
|
+
import { _ as runExec, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, k as resolvePathViaExistingAncestorSync, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as openBoundaryFile } from "./workspace-nJ4KDY5w.js";
|
|
8
|
+
import { $ as getBlockedNetworkModeReason, H as writeConfigFile, L as createConfigIO, R as loadConfig } from "./model-selection-C88a_9g6.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
10
10
|
import { t as parseBooleanValue } from "./boolean-CE7i9tBR.js";
|
|
11
11
|
import { t as generateSecureToken } from "./secure-random-B1N_MXT_.js";
|
|
12
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
13
|
-
import { B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as ensureChromeExtensionRelayServer, D as DEFAULT_TRACE_DIR, E as DEFAULT_DOWNLOAD_DIR, H as DEFAULT_IDLEHANDS_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, N as normalizeBrowserFormField, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, U as DEFAULT_IDLEHANDS_BROWSER_PROFILE_NAME, V as DEFAULT_IDLEHANDS_BROWSER_COLOR, _ as withBrowserNavigationPolicy, a as resolveIdleHandsUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchIdleHandsChrome, j as resolveWritablePathWithinRoot, k as resolveExistingPathsWithinRoot, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopIdleHandsChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./chrome-
|
|
12
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-CVPIEkjZ.js";
|
|
13
|
+
import { B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as ensureChromeExtensionRelayServer, D as DEFAULT_TRACE_DIR, E as DEFAULT_DOWNLOAD_DIR, H as DEFAULT_IDLEHANDS_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, N as normalizeBrowserFormField, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, U as DEFAULT_IDLEHANDS_BROWSER_PROFILE_NAME, V as DEFAULT_IDLEHANDS_BROWSER_COLOR, _ as withBrowserNavigationPolicy, a as resolveIdleHandsUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchIdleHandsChrome, j as resolveWritablePathWithinRoot, k as resolveExistingPathsWithinRoot, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopIdleHandsChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./chrome-DkhJIPqM.js";
|
|
14
14
|
import { t as SsrFBlockedError } from "./ssrf-CZeHDwVZ.js";
|
|
15
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
16
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
17
|
-
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-
|
|
18
|
-
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-
|
|
19
|
-
import { H as resolveAgentMainSessionKey, V as canonicalizeMainSessionAlias, q as acquireSessionWriteLock } from "./sessions-
|
|
20
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
15
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-Cto1PwoM.js";
|
|
16
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CwzKuGwh.js";
|
|
17
|
+
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-XpvBRvrk.js";
|
|
18
|
+
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-wmxD_RdX.js";
|
|
19
|
+
import { H as resolveAgentMainSessionKey, V as canonicalizeMainSessionAlias, q as acquireSessionWriteLock } from "./sessions-BxJlMZ9d.js";
|
|
20
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-upeV0xA7.js";
|
|
21
21
|
import { o as normalizeThinkLevel } from "./thinking-z4_linel.js";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
import os from "node:os";
|
|
@@ -1182,7 +1182,7 @@ function isModuleNotFoundError(err) {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
async function loadPwAiModule(mode) {
|
|
1184
1184
|
try {
|
|
1185
|
-
return await import("./pw-ai-
|
|
1185
|
+
return await import("./pw-ai-ClfeTowr.js");
|
|
1186
1186
|
} catch (err) {
|
|
1187
1187
|
if (mode === "soft") return null;
|
|
1188
1188
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3717,11 +3717,11 @@ function createProfileContext(opts, profile) {
|
|
|
3717
3717
|
const userDataDir = resolveIdleHandsUserDataDir(profile.name);
|
|
3718
3718
|
const profileState = getProfileState();
|
|
3719
3719
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3720
|
-
await (await import("./pw-ai-
|
|
3720
|
+
await (await import("./pw-ai-ClfeTowr.js")).closePlaywrightBrowserConnection();
|
|
3721
3721
|
} catch {}
|
|
3722
3722
|
if (profileState.running) await stopRunningBrowser();
|
|
3723
3723
|
try {
|
|
3724
|
-
await (await import("./pw-ai-
|
|
3724
|
+
await (await import("./pw-ai-ClfeTowr.js")).closePlaywrightBrowserConnection();
|
|
3725
3725
|
} catch {}
|
|
3726
3726
|
if (!syncFs.existsSync(userDataDir)) return {
|
|
3727
3727
|
moved: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as normalizeProviderId, ln as ensureAuthProfileStore } from "./model-selection-
|
|
2
|
+
import { c as normalizeProviderId, ln as ensureAuthProfileStore } from "./model-selection-C88a_9g6.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import syncFs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as requireActivePluginRegistry, o as normalizeAnyChannelId, r as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { d as normalizeE164 } from "./utils-
|
|
1
|
+
import { d as requireActivePluginRegistry, o as normalizeAnyChannelId, r as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-B7s1gpl_.js";
|
|
2
|
+
import { d as normalizeE164 } from "./utils-BB3tnxio.js";
|
|
3
3
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
4
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
5
|
-
import { r as createAccountListHelpers } from "./accounts-
|
|
4
|
+
import { t as isTruthyEnvValue } from "./env-BtjfGfYS.js";
|
|
5
|
+
import { r as createAccountListHelpers } from "./accounts-DLL4jMvc.js";
|
|
6
6
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
7
7
|
import { t as normalizeChatType } from "./chat-type-BPBtOjer.js";
|
|
8
|
-
import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-
|
|
8
|
+
import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-av9-yFB3.js";
|
|
9
9
|
import syncFs from "node:fs";
|
|
10
10
|
import util from "node:util";
|
|
11
11
|
|