@symerian/symi 3.0.17 → 3.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{audio-preflight-CBDFctZN.js → audio-preflight-BfmZbg4Y.js} +4 -4
- package/dist/{audio-preflight-gsZSpG-6.js → audio-preflight-DcuC-liM.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +8 -8
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-nPMY1XTJ.js → chrome-Bo7cbvFK.js} +5 -5
- package/dist/{chrome-BjVab8gM.js → chrome-DYp18Q0t.js} +5 -5
- package/dist/{deliver-D-QFqm31.js → deliver-ChSIbiMM.js} +1 -1
- package/dist/{deliver-B4-bcot9.js → deliver-DEgRQM4J.js} +1 -1
- package/dist/extensionAPI.js +7 -7
- package/dist/{image-CDwtQjmt.js → image-Bx-hvoNJ.js} +1 -1
- package/dist/{image-CcS-vzTA.js → image-CQl_mjWk.js} +1 -1
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{manager-BnEdHzmO.js → manager-D_pn0urG.js} +1 -1
- package/dist/{manager-09r0qPze.js → manager-YQxK2t0C.js} +1 -1
- package/dist/{pi-embedded-CWsY69-4.js → pi-embedded-CLw_ZzEZ.js} +16 -16
- package/dist/{pi-embedded-helpers-BBMy-lqr.js → pi-embedded-helpers-B5I53aw6.js} +4 -4
- package/dist/{pi-embedded-helpers-ChEYbgVj.js → pi-embedded-helpers-sUAEIC9X.js} +4 -4
- package/dist/plugin-sdk/{accounts-BfyWsC_i.js → accounts-CWFytwbR.js} +3 -3
- package/dist/plugin-sdk/{active-listener-DcJW7xAT.js → active-listener-BkZ4jHrL.js} +2 -2
- package/dist/plugin-sdk/{agent-scope-ChbGV6of.js → agent-scope-C9gfY_Gk.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-D3GtNLqW.js → audio-preflight-HKbdzXLZ.js} +21 -21
- package/dist/plugin-sdk/{bindings-CN2Qmefj.js → bindings-BaKIqPPy.js} +2 -2
- package/dist/plugin-sdk/{channel-web-DTyqujjA.js → channel-web-D5nWiTH1.js} +18 -18
- package/dist/plugin-sdk/{chrome-BKzAKr3K.js → chrome-klTSnz-9.js} +3 -3
- package/dist/plugin-sdk/{chunk-DhDkBujV.js → chunk-BbrYSny_.js} +1 -1
- package/dist/plugin-sdk/{command-format-CVrYFyZS.js → command-format-BN6tyZt6.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-17yfZkHZ.js → commands-registry-CTzKKtY6.js} +4 -4
- package/dist/plugin-sdk/{config-7wk65zKC.js → config-Crv2qEdJ.js} +9 -9
- package/dist/plugin-sdk/{consolidate-exbAW0ml.js → consolidate-DT1QH65Q.js} +2 -2
- package/dist/plugin-sdk/{deliver-TxAcw7J5.js → deliver-7rOvAlrc.js} +12 -12
- package/dist/plugin-sdk/{diagnostic-Debx4frd.js → diagnostic-0nsxhWp7.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-wBYbAkJF.js → fs-safe-DfWYBeWF.js} +1 -1
- package/dist/plugin-sdk/{gemini-auth-7U2pm2Ky.js → gemini-auth-C0N0_u49.js} +1 -1
- package/dist/plugin-sdk/{image-BtDVmYA5.js → image-WOSl2apK.js} +4 -4
- package/dist/plugin-sdk/index.js +43 -43
- package/dist/plugin-sdk/{ir-CKMvRrGW.js → ir-9J84MTls.js} +4 -4
- package/dist/plugin-sdk/{local-roots-c_gaPs01.js → local-roots-OLRDbvyY.js} +3 -3
- package/dist/plugin-sdk/{login-DUym1Jy0.js → login-C7x4q0i2.js} +7 -7
- package/dist/plugin-sdk/{login-qr-B-WBdvrX.js → login-qr-Dv5_MoAW.js} +9 -9
- package/dist/plugin-sdk/{manager-B71SCzos.js → manager-C83tK17x.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-Dnic6Chh.js → manifest-registry-CJMV-PI7.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-Dur7OTlM.js → markdown-tables-DXNKz5y_.js} +1 -1
- package/dist/plugin-sdk/{message-channel-BrAhJJV_.js → message-channel-aGy1HbQQ.js} +1 -1
- package/dist/plugin-sdk/{model-selection-B9qaVQSJ.js → model-selection-C-3-tpe7.js} +4 -4
- package/dist/plugin-sdk/{outbound-DB1wDM8b.js → outbound-DquCeSy5.js} +6 -6
- package/dist/plugin-sdk/{pi-auth-json-ZO118hoy.js → pi-auth-json-D9PDCXGn.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-s_U0Un7j.js → pi-embedded-helpers-D3ygfH7l.js} +16 -16
- package/dist/plugin-sdk/{plugins-DF81oSaI.js → plugins-DOwnSg9D.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-CTwP02uv.js → pw-ai-rlengLjb.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-CBaSGant.js → qmd-manager-BzxFjRFa.js} +4 -4
- package/dist/plugin-sdk/{registry-CZVURNhF.js → registry-5iFfixlB.js} +2 -2
- package/dist/plugin-sdk/{replies-hwRbkU3z.js → replies-BXOzO_H5.js} +7 -7
- package/dist/plugin-sdk/{reply-prefix-CaXmzZlx.js → reply-prefix-INAKTqCU.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-fxVSOBmk.js → resolve-outbound-target-DvbxHtqp.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-ClCyiOeu.js → resolve-route-URXlY3AK.js} +3 -3
- package/dist/plugin-sdk/{runner-Cq5jvwQ7.js → runner-Bv0_DWoH.js} +9 -9
- package/dist/plugin-sdk/{session-B_TkB65Y.js → session-C3r8l7ou.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-0LF9HTGr.js → skill-commands-KjLUGIdZ.js} +5 -5
- package/dist/plugin-sdk/{skills-BIT_O7J0.js → skills-BrsD4L5c.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Bx5Y5U5X.js → sqlite-CjW7ME1H.js} +1 -1
- package/dist/plugin-sdk/{subsystem-CXqYeDy-.js → subsystem-DcOg1xJr.js} +1 -1
- package/dist/plugin-sdk/{synthesis-DtsYAj1E.js → synthesis-CY7YAasV.js} +38 -38
- package/dist/plugin-sdk/{target-errors-B8mokOeH.js → target-errors-BVWJGWFq.js} +2 -2
- package/dist/plugin-sdk/{thinking-Ca0DhqzO.js → thinking-CtsTDPOi.js} +3 -3
- package/dist/plugin-sdk/{tokens-CvlONEqh.js → tokens-8lqOTZCB.js} +1 -1
- package/dist/plugin-sdk/{tool-images-DpBaWEHT.js → tool-images-Cl_rGIUZ.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-BOvUFa0f.js → tool-loop-detection-Da4WUT_P.js} +2 -2
- package/dist/plugin-sdk/{unified-runner-CnM7lyNd.js → unified-runner-nwMnsZyj.js} +60 -60
- package/dist/plugin-sdk/web-BlweOZDp.js +54 -0
- package/dist/plugin-sdk/{whatsapp-actions-CvnfsFJm.js → whatsapp-actions-DpfaGYs7.js} +21 -21
- package/dist/{pw-ai-BW8_KeDf.js → pw-ai-BqxJG-Wh.js} +1 -1
- package/dist/{pw-ai-j9IE1K0-.js → pw-ai-C-NSGye0.js} +1 -1
- package/dist/{runner-8ALr2UII.js → runner-COGFTeDw.js} +1 -1
- package/dist/{runner-C4-9kFdR.js → runner-DhCi2lT1.js} +1 -1
- package/dist/{synthesis-Cph3LhA1.js → synthesis-CXZu24Vx.js} +7 -7
- package/dist/{synthesis-Cus0A2dL.js → synthesis-DrPxcMlQ.js} +7 -7
- package/dist/{unified-runner-CX80YMTk.js → unified-runner-iByUazvW.js} +16 -16
- package/dist/{web-ChozvJ7I.js → web-EsMQBIYf.js} +7 -7
- package/dist/{web-DFlsbXmQ.js → web-PPg5y6xI.js} +7 -7
- package/package.json +1 -1
- package/dist/plugin-sdk/web-CIPJBHAU.js +0 -54
- package/skills/1password/SKILL.md +0 -71
- package/skills/1password/references/cli-examples.md +0 -29
- package/skills/1password/references/get-started.md +0 -17
- package/skills/apple-notes/SKILL.md +0 -78
- package/skills/apple-reminders/SKILL.md +0 -119
- package/skills/bear-notes/SKILL.md +0 -108
- package/skills/blogwatcher/SKILL.md +0 -70
- package/skills/blucli/SKILL.md +0 -48
- package/skills/bluebubbles/SKILL.md +0 -132
- package/skills/camsnap/SKILL.md +0 -46
- package/skills/canvas/SKILL.md +0 -204
- package/skills/connect-email/SKILL.md +0 -142
- package/skills/document-generation/SKILL.md +0 -83
- package/skills/eightctl/SKILL.md +0 -51
- package/skills/food-order/SKILL.md +0 -49
- package/skills/gemini/SKILL.md +0 -44
- package/skills/gh-issues/SKILL.md +0 -865
- package/skills/gifgrep/SKILL.md +0 -80
- package/skills/github/SKILL.md +0 -164
- package/skills/gog/SKILL.md +0 -117
- package/skills/goplaces/SKILL.md +0 -53
- package/skills/healthcheck/SKILL.md +0 -246
- package/skills/himalaya/SKILL.md +0 -258
- package/skills/himalaya/references/configuration.md +0 -184
- package/skills/himalaya/references/message-composition.md +0 -199
- package/skills/imsg/SKILL.md +0 -122
- package/skills/long-task/SKILL.md +0 -58
- package/skills/long-task/scripts/detach-task.sh +0 -187
- package/skills/nano-banana-pro/SKILL.md +0 -59
- package/skills/nano-banana-pro/scripts/generate_image.py +0 -184
- package/skills/nano-pdf/SKILL.md +0 -39
- package/skills/notion/SKILL.md +0 -173
- package/skills/obsidian/SKILL.md +0 -82
- package/skills/openai-image-gen/SKILL.md +0 -90
- package/skills/openai-image-gen/scripts/gen.py +0 -240
- package/skills/openai-whisper/SKILL.md +0 -39
- package/skills/openai-whisper-api/SKILL.md +0 -53
- package/skills/openai-whisper-api/scripts/transcribe.sh +0 -85
- package/skills/openhue/SKILL.md +0 -113
- package/skills/oracle/SKILL.md +0 -126
- package/skills/ordercli/SKILL.md +0 -79
- package/skills/peekaboo/SKILL.md +0 -191
- package/skills/reactions-extensive/SKILL.md +0 -30
- package/skills/reactions-minimal/SKILL.md +0 -31
- package/skills/safe-edit/SKILL.md +0 -51
- package/skills/sag/SKILL.md +0 -88
- package/skills/sherpa-onnx-tts/SKILL.md +0 -104
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -178
- package/skills/songsee/SKILL.md +0 -50
- package/skills/sonoscli/SKILL.md +0 -66
- package/skills/spotify-player/SKILL.md +0 -65
- package/skills/symihub/SKILL.md +0 -78
- package/skills/things-mac/SKILL.md +0 -87
- package/skills/tmux/SKILL.md +0 -153
- package/skills/tmux/scripts/find-sessions.sh +0 -112
- package/skills/tmux/scripts/wait-for-text.sh +0 -83
- package/skills/trello/SKILL.md +0 -96
- package/skills/video-frames/SKILL.md +0 -47
- package/skills/video-frames/scripts/frame.sh +0 -81
- package/skills/voice-call/SKILL.md +0 -46
- package/skills/wacli/SKILL.md +0 -73
- package/skills/weather/SKILL.md +0 -113
- package/skills/xurl/SKILL.md +0 -462
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as isCronSessionKey, b as resolveThreadParentSessionKey, c as normalizeMainKey, d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, g as isAcpSessionKey, h as getSubagentDepth, l as resolveAgentIdFromSessionKey, o as classifySessionKeyShape, p as normalizeAccountId$2, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveThreadSessionKeys, v as isSubagentSessionKey, y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-
|
|
4
|
-
import { A as resolveUserPath, C as isRecord$1, E as normalizeE164, F as sliceUtf16Safe, G as shouldLogVerbose, H as logVerbose, J as colorize, L as truncateUtf16Safe, M as shortenHomeInString, N as shortenHomePath, P as sleep, R as isPlainObject, S as formatTerminalLink, W as setVerbose, X as theme, Y as isRich, Z as getChildLogger, a as normalizeChannelId, b as ensureDir$3, c as requireActivePluginRegistry, ct as triggerInternalHook, d as clearPluginCommands, f as executePluginCommand, g as CONFIG_DIR, h as matchPluginCommand, i as normalizeAnyChannelId, it as normalizeLogLevel, j as safeParseJson, l as setActivePluginRegistry, lt as normalizePluginHttpPath, m as listPluginCommands, n as CHAT_CHANNEL_ORDER, ot as resolvePreferredSymiTmpDir, p as getPluginCommandSpecs, q as warn, st as createInternalHookEvent, u as createPluginRegistry, v as clampInt, x as escapeRegExp, z as danger } from "./registry-
|
|
3
|
+
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-CWFytwbR.js";
|
|
4
|
+
import { A as resolveUserPath, C as isRecord$1, E as normalizeE164, F as sliceUtf16Safe, G as shouldLogVerbose, H as logVerbose, J as colorize, L as truncateUtf16Safe, M as shortenHomeInString, N as shortenHomePath, P as sleep, R as isPlainObject, S as formatTerminalLink, W as setVerbose, X as theme, Y as isRich, Z as getChildLogger, a as normalizeChannelId, b as ensureDir$3, c as requireActivePluginRegistry, ct as triggerInternalHook, d as clearPluginCommands, f as executePluginCommand, g as CONFIG_DIR, h as matchPluginCommand, i as normalizeAnyChannelId, it as normalizeLogLevel, j as safeParseJson, l as setActivePluginRegistry, lt as normalizePluginHttpPath, m as listPluginCommands, n as CHAT_CHANNEL_ORDER, ot as resolvePreferredSymiTmpDir, p as getPluginCommandSpecs, q as warn, st as createInternalHookEvent, u as createPluginRegistry, v as clampInt, x as escapeRegExp, z as danger } from "./registry-5iFfixlB.js";
|
|
5
5
|
import { a as resolveOAuthDir, c as expandHomePrefix, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-DAMyaxr7.js";
|
|
6
|
-
import { A as isProfileInCooldown, C as requireApiKey, E as resolveModelAuthMode, F as listProfilesForProvider, G as DEFAULT_PROVIDER, H as resolveAuthProfileDisplayLabel, I as markAuthProfileGood, J as resolveShellEnvFallbackTimeoutMs, K as getShellPathFromLoginShell, L as ensureAuthProfileStore, M as markAuthProfileUsed, N as resolveApiKeyForProfile, O as resolveAuthProfileOrder, P as dedupeProfileIds, Q as withFileLock$1, R as resolveAuthStorePathForDisplay, S as getCustomProviderApiKey, T as resolveEnvApiKey, U as DEFAULT_CONTEXT_TOKENS, V as normalizeSecretInput, W as DEFAULT_MODEL, a as modelKey, b as createOllamaStreamFn, d as resolveModelRefFromString, f as resolveSubagentSpawnModelSelection, i as findNormalizedProviderValue, j as markAuthProfileFailure, k as getSoonestCooldownExpiry, l as resolveConfiguredModelRef, n as buildConfiguredAllowlistKeys, o as normalizeModelRef$1, p as resolveThinkingDefault, r as buildModelAliasIndex, s as normalizeProviderId, t as buildAllowedModelSet, u as resolveDefaultModelForAgent, w as resolveApiKeyForProvider, x as getApiKeyForModel, y as OLLAMA_NATIVE_BASE_URL, z as resolveSymiAgentDir } from "./model-selection-
|
|
7
|
-
import { B as isSafeExecutableValue, H as TELEGRAM_COMMAND_NAME_PATTERN, J as resolveIMessageAttachmentRoots, K as isInboundPathAllowed, U as normalizeTelegramCommandName, V as parseDurationMs, W as resolveTelegramCustomCommands, X as normalizeScpRemoteHost, Y as resolveIMessageRemoteAttachmentRoots, _ as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, a as writeConfigFile, c as validateJsonSchemaValue, d as setConfigOverride, f as unsetConfigOverride, g as unsetConfigValueAtPath, h as setConfigValueAtPath, i as resolveConfigSnapshotHash, l as getConfigOverrides, m as parseConfigPath, n as loadConfig, o as validateConfigObjectWithPlugins, p as getConfigValueAtPath, r as readConfigFileSnapshot, u as resetConfigOverrides, v as resolveAgentMaxConcurrent, y as VERSION } from "./config-
|
|
8
|
-
import { d as detectMime, f as extensionForMime, g as isGifMedia, m as imageMimeFromFormat, p as getFileExtension, s as getImageMetadata, u as resizeToJpeg, v as normalizeMimeType$1, x as mediaKindFromMime, y as MAX_IMAGE_BYTES } from "./fs-safe-
|
|
9
|
-
import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-
|
|
10
|
-
import { A as logWarn, D as logDebug, E as spawnWithFallback, O as logError, S as resolveSymiPackageRootSync, T as runExec, a as resolveAgentSkillsFilter, b as loadWorkspaceBootstrapFiles, c as resolveSessionAgentId, d as DEFAULT_AGENT_WORKSPACE_DIR, f as DEFAULT_BOOTSTRAP_FILENAME, k as logInfo, l as resolveSessionAgentIds, n as resolveAgentConfig, o as resolveAgentWorkspaceDir, r as resolveAgentDir, s as resolveDefaultAgentId, v as ensureAgentWorkspace, w as runCommandWithTimeout, x as resolveSymiPackageRoot, y as filterBootstrapFilesForSession } from "./agent-scope-
|
|
11
|
-
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-
|
|
12
|
-
import { a as createActionGate, c as jsonResult, d as readStringArrayParam, f as readStringOrNumberParam, l as readNumberParam, n as missingTargetError, o as imageResult, p as readStringParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readReactionParams } from "./target-errors-
|
|
13
|
-
import { a as sendMessageSlack, c as resolveSlackWebClientOptions, i as resolveSlackThreadTs, l as parseSlackBlocksInput, n as deliverReplies$3, o as buildSlackBlocksFallbackText, s as createSlackWebClient, t as createSlackReplyDeliveryPlan, u as validateSlackBlocksArray } from "./replies-
|
|
14
|
-
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-
|
|
15
|
-
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as modelSupportsVision, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as registerUnhandledRejectionHandler, y as buildRandomTempFilePath } from "./runner-
|
|
16
|
-
import { a as resolveAckReaction, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, s as resolveHumanDelayConfig } from "./reply-prefix-
|
|
17
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as SYMIPULSE_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
18
|
-
import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile$1, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-
|
|
19
|
-
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, h as parseFrontmatterBlock, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-
|
|
6
|
+
import { A as isProfileInCooldown, C as requireApiKey, E as resolveModelAuthMode, F as listProfilesForProvider, G as DEFAULT_PROVIDER, H as resolveAuthProfileDisplayLabel, I as markAuthProfileGood, J as resolveShellEnvFallbackTimeoutMs, K as getShellPathFromLoginShell, L as ensureAuthProfileStore, M as markAuthProfileUsed, N as resolveApiKeyForProfile, O as resolveAuthProfileOrder, P as dedupeProfileIds, Q as withFileLock$1, R as resolveAuthStorePathForDisplay, S as getCustomProviderApiKey, T as resolveEnvApiKey, U as DEFAULT_CONTEXT_TOKENS, V as normalizeSecretInput, W as DEFAULT_MODEL, a as modelKey, b as createOllamaStreamFn, d as resolveModelRefFromString, f as resolveSubagentSpawnModelSelection, i as findNormalizedProviderValue, j as markAuthProfileFailure, k as getSoonestCooldownExpiry, l as resolveConfiguredModelRef, n as buildConfiguredAllowlistKeys, o as normalizeModelRef$1, p as resolveThinkingDefault, r as buildModelAliasIndex, s as normalizeProviderId, t as buildAllowedModelSet, u as resolveDefaultModelForAgent, w as resolveApiKeyForProvider, x as getApiKeyForModel, y as OLLAMA_NATIVE_BASE_URL, z as resolveSymiAgentDir } from "./model-selection-C-3-tpe7.js";
|
|
7
|
+
import { B as isSafeExecutableValue, H as TELEGRAM_COMMAND_NAME_PATTERN, J as resolveIMessageAttachmentRoots, K as isInboundPathAllowed, U as normalizeTelegramCommandName, V as parseDurationMs, W as resolveTelegramCustomCommands, X as normalizeScpRemoteHost, Y as resolveIMessageRemoteAttachmentRoots, _ as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, a as writeConfigFile, c as validateJsonSchemaValue, d as setConfigOverride, f as unsetConfigOverride, g as unsetConfigValueAtPath, h as setConfigValueAtPath, i as resolveConfigSnapshotHash, l as getConfigOverrides, m as parseConfigPath, n as loadConfig, o as validateConfigObjectWithPlugins, p as getConfigValueAtPath, r as readConfigFileSnapshot, u as resetConfigOverrides, v as resolveAgentMaxConcurrent, y as VERSION } from "./config-Crv2qEdJ.js";
|
|
8
|
+
import { d as detectMime, f as extensionForMime, g as isGifMedia, m as imageMimeFromFormat, p as getFileExtension, s as getImageMetadata, u as resizeToJpeg, v as normalizeMimeType$1, x as mediaKindFromMime, y as MAX_IMAGE_BYTES } from "./fs-safe-DfWYBeWF.js";
|
|
9
|
+
import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-DcOg1xJr.js";
|
|
10
|
+
import { A as logWarn, D as logDebug, E as spawnWithFallback, O as logError, S as resolveSymiPackageRootSync, T as runExec, a as resolveAgentSkillsFilter, b as loadWorkspaceBootstrapFiles, c as resolveSessionAgentId, d as DEFAULT_AGENT_WORKSPACE_DIR, f as DEFAULT_BOOTSTRAP_FILENAME, k as logInfo, l as resolveSessionAgentIds, n as resolveAgentConfig, o as resolveAgentWorkspaceDir, r as resolveAgentDir, s as resolveDefaultAgentId, v as ensureAgentWorkspace, w as runCommandWithTimeout, x as resolveSymiPackageRoot, y as filterBootstrapFilesForSession } from "./agent-scope-C9gfY_Gk.js";
|
|
11
|
+
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-Cl_rGIUZ.js";
|
|
12
|
+
import { a as createActionGate, c as jsonResult, d as readStringArrayParam, f as readStringOrNumberParam, l as readNumberParam, n as missingTargetError, o as imageResult, p as readStringParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readReactionParams } from "./target-errors-BVWJGWFq.js";
|
|
13
|
+
import { a as sendMessageSlack, c as resolveSlackWebClientOptions, i as resolveSlackThreadTs, l as parseSlackBlocksInput, n as deliverReplies$3, o as buildSlackBlocksFallbackText, s as createSlackWebClient, t as createSlackReplyDeliveryPlan, u as validateSlackBlocksArray } from "./replies-BXOzO_H5.js";
|
|
14
|
+
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-BbrYSny_.js";
|
|
15
|
+
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as modelSupportsVision, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as registerUnhandledRejectionHandler, y as buildRandomTempFilePath } from "./runner-Bv0_DWoH.js";
|
|
16
|
+
import { a as resolveAckReaction, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, s as resolveHumanDelayConfig } from "./reply-prefix-INAKTqCU.js";
|
|
17
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as SYMIPULSE_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-8lqOTZCB.js";
|
|
18
|
+
import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile$1, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-KjLUGIdZ.js";
|
|
19
|
+
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, h as parseFrontmatterBlock, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-BrsD4L5c.js";
|
|
20
20
|
import { t as redactSensitiveText } from "./redact-Dd8jrogi.js";
|
|
21
21
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-C4A6pz-b.js";
|
|
22
22
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-DTfleOfR.js";
|
|
23
23
|
import { a as isBlockedHostnameOrIp, c as normalizeHostname, t as SsrFBlockedError } from "./ssrf-BgY65jh5.js";
|
|
24
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
25
|
-
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
26
|
-
import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
27
|
-
import { A as normalizeStringEntriesLower, B as resolveChannelGroupRequireMention, D as normalizeAtHashSlug, F as resolveSignalAccount, M as listEnabledSignalAccounts, O as normalizeHyphenSlug, R as resolveIMessageAccount, V as resolveChannelGroupToolsPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, k as normalizeStringEntries, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, z as resolveChannelGroupPolicy } from "./thinking-
|
|
24
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-OLRDbvyY.js";
|
|
25
|
+
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-klTSnz-9.js";
|
|
26
|
+
import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-BN6tyZt6.js";
|
|
27
|
+
import { A as normalizeStringEntriesLower, B as resolveChannelGroupRequireMention, D as normalizeAtHashSlug, F as resolveSignalAccount, M as listEnabledSignalAccounts, O as normalizeHyphenSlug, R as resolveIMessageAccount, V as resolveChannelGroupToolsPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, k as normalizeStringEntries, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, z as resolveChannelGroupPolicy } from "./thinking-CtsTDPOi.js";
|
|
28
28
|
import { t as normalizeChatType } from "./chat-type-3FRbbjbq.js";
|
|
29
|
-
import { D as resolveSlackAppToken, O as resolveSlackBotToken, T as resolveSlackAccount, _ as listEnabledTelegramAccounts, b as resolveTelegramAccount, f as parseSlackTarget, g as createTelegramActionGate, h as normalizeWhatsAppTarget, m as isWhatsAppGroupJid, n as listChannelPlugins, p as resolveSlackChannelId, r as normalizeChannelId$1, t as getChannelPlugin, v as listTelegramAccountIds, x as resolveTelegramToken } from "./plugins-
|
|
30
|
-
import { S as initializeGlobalHookRunner, _ as MEDIA_TOKEN_RE, a as sendReadReceiptSignal, b as resolveFetch, c as signalCheck, d as resolveOutboundAttachmentFromUrl, f as buildTargetResolverSignature, g as parseReplyDirectives, h as throwIfAborted, i as sendMessageSignal, l as signalRpcRequest, m as normalizeTargetForProvider, o as sendTypingSignal, p as normalizeChannelTargetInput, r as normalizeReplyPayloadsForDelivery, s as resolveSignalRpcContext, t as deliverOutboundPayloads, u as streamSignalEvents, v as splitMediaFromOutput, x as getGlobalHookRunner, y as parseInlineDirectives$1 } from "./deliver-
|
|
31
|
-
import { a as listDeliverableMessageChannels, c as GATEWAY_CLIENT_IDS, i as isMarkdownCapableMessageChannel, l as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as normalizeMessageChannel, r as isInternalMessageChannel, s as resolveGatewayMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_NAMES } from "./message-channel-
|
|
32
|
-
import { $ as stripPluginOnlyAllowlist, A as parseImageDimensionError, At as extractToolCallNames, B as DEFAULT_UPLOAD_DIR, Bt as resolveSessionResetPolicy, C as isFailoverAssistantError, Ct as deliveryContextKey, D as isRawApiErrorPayload, Dt as archiveSessionTranscripts, E as isRateLimitAssistantError, Et as normalizeSessionDeliveryFields, F as resolveSandboxRuntimeStatus, Ft as acquireSessionWriteLock, G as applyOwnerOnlyToolPolicy, Gt as canonicalizeMainSessionAlias, H as getBridgeAuthForPort, Ht as resolveThreadFlag, I as createBrowserRouteContext, It as resolveSessionLockMaxHoldFromTimeout, J as expandPolicyWithPluginGroups, Jt as resolveGroupSessionKey, K as buildPluginToolGroups, Kt as resolveMainSessionKey, L as registerBrowserRoutes, Lt as resolveSessionKey, M as sanitizeUserFacingText, Mt as applyInputProvenanceToUserMessage, N as ensureSandboxWorkspaceForSession, Nt as hasInterSessionUserProvenance, O as isTimeoutErrorMessage, Ot as capArrayByJsonBytes, P as resolveSandboxContext, Pt as normalizeInputProvenance, Q as resolveToolProfilePolicy, R as resolveBrowserConfig, Rt as evaluateSessionFreshness, S as isContextOverflowError, St as deliveryContextFromSession, T as isLikelyContextOverflowError, Tt as normalizeDeliveryContext, U as ensureBrowserControlAuth, Ut as DEFAULT_RESET_TRIGGERS, V as resolveExistingPathsWithinRoot, Vt as resolveSessionResetType, W as resolveBrowserControlAuth, Wt as resolveFreshSessionTotalTokens, X as mergeAlsoAllowPolicy, Y as expandToolGroups, Z as normalizeToolName, _ as getApiErrorPayloadFingerprint, _t as updateLastRoute, a as normalizeTextForComparison, at as resolveBootstrapTotalMaxChars, b as isCloudCodeAssistFormatError, bt as isCacheEnabled, c as extractToolResultId, ct as getMediaDir, d as isGoogleModelApi, dt as appendAssistantMessageToSessionTranscript, et as compileGlobPatterns, f as BILLING_ERROR_USER_MESSAGE, g as formatRawAssistantErrorForUi, gt as recordSessionMetaFromInbound, h as formatBillingErrorMessage, ht as readSessionUpdatedAt, i as isMessagingToolDuplicateNormalized, it as resolveBootstrapMaxChars, j as parseImageSizeError, jt as INPUT_PROVENANCE_KIND_VALUES, k as isTransientHttpError, kt as countToolResults, l as downgradeOpenAIReasoningBlocks, lt as saveMediaBuffer, m as formatAssistantErrorText, mt as loadSessionStore, n as validateGeminiTurns, nt as buildBootstrapContextFiles, o as sanitizeSessionMessagesImages, ot as sanitizeGoogleTurnOrdering, p as classifyFailoverReason, pt as resolveAndPersistSessionFile, q as collectExplicitAllowlist, qt as deriveSessionMetaPatch, r as pickFallbackThinkingLevel, rt as ensureSessionHeader, s as extractToolCallsFromAssistant, t as validateAnthropicTurns, tt as matchesAnyGlobPattern, u as isAntigravityClaude, ut as extractDeliveryInfo, v as isAuthAssistantError, vt as updateSessionStore, w as isFailoverErrorMessage, wt as mergeDeliveryContext, x as isCompactionFailureError, xt as resolveCacheTtlMs$1, y as isBillingAssistantError, yt as updateSessionStoreEntry, z as resolveProfile, zt as resolveChannelResetConfig } from "./pi-embedded-helpers-
|
|
29
|
+
import { D as resolveSlackAppToken, O as resolveSlackBotToken, T as resolveSlackAccount, _ as listEnabledTelegramAccounts, b as resolveTelegramAccount, f as parseSlackTarget, g as createTelegramActionGate, h as normalizeWhatsAppTarget, m as isWhatsAppGroupJid, n as listChannelPlugins, p as resolveSlackChannelId, r as normalizeChannelId$1, t as getChannelPlugin, v as listTelegramAccountIds, x as resolveTelegramToken } from "./plugins-DOwnSg9D.js";
|
|
30
|
+
import { S as initializeGlobalHookRunner, _ as MEDIA_TOKEN_RE, a as sendReadReceiptSignal, b as resolveFetch, c as signalCheck, d as resolveOutboundAttachmentFromUrl, f as buildTargetResolverSignature, g as parseReplyDirectives, h as throwIfAborted, i as sendMessageSignal, l as signalRpcRequest, m as normalizeTargetForProvider, o as sendTypingSignal, p as normalizeChannelTargetInput, r as normalizeReplyPayloadsForDelivery, s as resolveSignalRpcContext, t as deliverOutboundPayloads, u as streamSignalEvents, v as splitMediaFromOutput, x as getGlobalHookRunner, y as parseInlineDirectives$1 } from "./deliver-7rOvAlrc.js";
|
|
31
|
+
import { a as listDeliverableMessageChannels, c as GATEWAY_CLIENT_IDS, i as isMarkdownCapableMessageChannel, l as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as normalizeMessageChannel, r as isInternalMessageChannel, s as resolveGatewayMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_NAMES } from "./message-channel-aGy1HbQQ.js";
|
|
32
|
+
import { $ as stripPluginOnlyAllowlist, A as parseImageDimensionError, At as extractToolCallNames, B as DEFAULT_UPLOAD_DIR, Bt as resolveSessionResetPolicy, C as isFailoverAssistantError, Ct as deliveryContextKey, D as isRawApiErrorPayload, Dt as archiveSessionTranscripts, E as isRateLimitAssistantError, Et as normalizeSessionDeliveryFields, F as resolveSandboxRuntimeStatus, Ft as acquireSessionWriteLock, G as applyOwnerOnlyToolPolicy, Gt as canonicalizeMainSessionAlias, H as getBridgeAuthForPort, Ht as resolveThreadFlag, I as createBrowserRouteContext, It as resolveSessionLockMaxHoldFromTimeout, J as expandPolicyWithPluginGroups, Jt as resolveGroupSessionKey, K as buildPluginToolGroups, Kt as resolveMainSessionKey, L as registerBrowserRoutes, Lt as resolveSessionKey, M as sanitizeUserFacingText, Mt as applyInputProvenanceToUserMessage, N as ensureSandboxWorkspaceForSession, Nt as hasInterSessionUserProvenance, O as isTimeoutErrorMessage, Ot as capArrayByJsonBytes, P as resolveSandboxContext, Pt as normalizeInputProvenance, Q as resolveToolProfilePolicy, R as resolveBrowserConfig, Rt as evaluateSessionFreshness, S as isContextOverflowError, St as deliveryContextFromSession, T as isLikelyContextOverflowError, Tt as normalizeDeliveryContext, U as ensureBrowserControlAuth, Ut as DEFAULT_RESET_TRIGGERS, V as resolveExistingPathsWithinRoot, Vt as resolveSessionResetType, W as resolveBrowserControlAuth, Wt as resolveFreshSessionTotalTokens, X as mergeAlsoAllowPolicy, Y as expandToolGroups, Z as normalizeToolName, _ as getApiErrorPayloadFingerprint, _t as updateLastRoute, a as normalizeTextForComparison, at as resolveBootstrapTotalMaxChars, b as isCloudCodeAssistFormatError, bt as isCacheEnabled, c as extractToolResultId, ct as getMediaDir, d as isGoogleModelApi, dt as appendAssistantMessageToSessionTranscript, et as compileGlobPatterns, f as BILLING_ERROR_USER_MESSAGE, g as formatRawAssistantErrorForUi, gt as recordSessionMetaFromInbound, h as formatBillingErrorMessage, ht as readSessionUpdatedAt, i as isMessagingToolDuplicateNormalized, it as resolveBootstrapMaxChars, j as parseImageSizeError, jt as INPUT_PROVENANCE_KIND_VALUES, k as isTransientHttpError, kt as countToolResults, l as downgradeOpenAIReasoningBlocks, lt as saveMediaBuffer, m as formatAssistantErrorText, mt as loadSessionStore, n as validateGeminiTurns, nt as buildBootstrapContextFiles, o as sanitizeSessionMessagesImages, ot as sanitizeGoogleTurnOrdering, p as classifyFailoverReason, pt as resolveAndPersistSessionFile, q as collectExplicitAllowlist, qt as deriveSessionMetaPatch, r as pickFallbackThinkingLevel, rt as ensureSessionHeader, s as extractToolCallsFromAssistant, t as validateAnthropicTurns, tt as matchesAnyGlobPattern, u as isAntigravityClaude, ut as extractDeliveryInfo, v as isAuthAssistantError, vt as updateSessionStore, w as isFailoverErrorMessage, wt as mergeDeliveryContext, x as isCompactionFailureError, xt as resolveCacheTtlMs$1, y as isBillingAssistantError, yt as updateSessionStoreEntry, z as resolveProfile, zt as resolveChannelResetConfig } from "./pi-embedded-helpers-D3ygfH7l.js";
|
|
33
33
|
import { n as resolveConversationLabel } from "./conversation-label-MLmUBidd.js";
|
|
34
34
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-BbOxnzZ-.js";
|
|
35
|
-
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverSymiPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
35
|
+
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverSymiPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-CJMV-PI7.js";
|
|
36
36
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DP1ngpUU.js";
|
|
37
37
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-Rj8UphZE.js";
|
|
38
|
-
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, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-
|
|
38
|
+
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, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-0nsxhWp7.js";
|
|
39
39
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-BORFVz7h.js";
|
|
40
|
-
import { S as ensureSymiModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-
|
|
41
|
-
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-
|
|
40
|
+
import { S as ensureSymiModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-WOSl2apK.js";
|
|
41
|
+
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-D9PDCXGn.js";
|
|
42
42
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Cvbykdeu.js";
|
|
43
|
-
import { a as resolveOllamaBaseUrl, i as probeOllamaEmbeddingModels, n as resolveRetryConfig, o as resolveMemorySearchConfig, r as retryAsync } from "./manager-
|
|
43
|
+
import { a as resolveOllamaBaseUrl, i as probeOllamaEmbeddingModels, n as resolveRetryConfig, o as resolveMemorySearchConfig, r as retryAsync } from "./manager-C83tK17x.js";
|
|
44
44
|
import { c as normalizeExtraMemoryPaths, f as runTasksWithConcurrency, s as listMemoryFiles } from "./internal-DjnxpF_K.js";
|
|
45
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
46
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
45
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DXNKz5y_.js";
|
|
46
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, n as markdownToIR, t as chunkMarkdownIR } from "./ir-9J84MTls.js";
|
|
47
47
|
import { t as renderMarkdownWithMarkers } from "./render-qcqmrHse.js";
|
|
48
|
-
import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as shouldHandleTextCommands, f as isCommandFlagEnabled, g as resolveNativeSkillsEnabled, h as resolveNativeCommandsEnabled, i as listChatCommands, l as parseCommandArgs, m as isRestartEnabled, o as listNativeCommandSpecs, p as isNativeCommandsExplicitlyDisabled, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgMenu } from "./commands-registry-
|
|
48
|
+
import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as shouldHandleTextCommands, f as isCommandFlagEnabled, g as resolveNativeSkillsEnabled, h as resolveNativeCommandsEnabled, i as listChatCommands, l as parseCommandArgs, m as isRestartEnabled, o as listNativeCommandSpecs, p as isNativeCommandsExplicitlyDisabled, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgMenu } from "./commands-registry-CTzKKtY6.js";
|
|
49
49
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-Bb2V88bi.js";
|
|
50
50
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-DYqTwyb3.js";
|
|
51
|
-
import { a as normalizePollInput, i as convertMarkdownTables, t as getActiveWebListener } from "./active-listener-
|
|
52
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
51
|
+
import { a as normalizePollInput, i as convertMarkdownTables, t as getActiveWebListener } from "./active-listener-BkZ4jHrL.js";
|
|
52
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-URXlY3AK.js";
|
|
53
53
|
import { t as makeProxyFetch } from "./proxy-DOYns4nT.js";
|
|
54
54
|
import { createRequire } from "node:module";
|
|
55
55
|
import * as path$1 from "node:path";
|
|
56
56
|
import path from "node:path";
|
|
57
57
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
58
58
|
import os, { homedir } from "node:os";
|
|
59
|
-
import
|
|
59
|
+
import JSON5 from "json5";
|
|
60
60
|
import * as fs$2 from "node:fs/promises";
|
|
61
61
|
import fs$1 from "node:fs/promises";
|
|
62
62
|
import { promisify } from "node:util";
|
|
@@ -8688,7 +8688,7 @@ async function getMemorySearchManager(params) {
|
|
|
8688
8688
|
if (cached) return { manager: cached };
|
|
8689
8689
|
}
|
|
8690
8690
|
try {
|
|
8691
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
8691
|
+
const { QmdMemoryManager } = await import("./qmd-manager-BzxFjRFa.js");
|
|
8692
8692
|
const primary = await QmdMemoryManager.create({
|
|
8693
8693
|
cfg: params.cfg,
|
|
8694
8694
|
agentId: params.agentId,
|
|
@@ -8700,7 +8700,7 @@ async function getMemorySearchManager(params) {
|
|
|
8700
8700
|
const wrapper = new FallbackMemoryManager({
|
|
8701
8701
|
primary,
|
|
8702
8702
|
fallbackFactory: async () => {
|
|
8703
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
8703
|
+
const { MemoryIndexManager } = await import("./manager-C83tK17x.js").then((n) => n.t);
|
|
8704
8704
|
return await MemoryIndexManager.get(params);
|
|
8705
8705
|
}
|
|
8706
8706
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -8713,7 +8713,7 @@ async function getMemorySearchManager(params) {
|
|
|
8713
8713
|
}
|
|
8714
8714
|
}
|
|
8715
8715
|
try {
|
|
8716
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
8716
|
+
const { MemoryIndexManager } = await import("./manager-C83tK17x.js").then((n) => n.t);
|
|
8717
8717
|
return { manager: await MemoryIndexManager.get(params) };
|
|
8718
8718
|
} catch (err) {
|
|
8719
8719
|
return {
|
|
@@ -11793,7 +11793,7 @@ async function recordLoopOutcome(args) {
|
|
|
11793
11793
|
if (!args.ctx?.sessionKey) return;
|
|
11794
11794
|
try {
|
|
11795
11795
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-BORFVz7h.js").then((n) => n.n);
|
|
11796
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
11796
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-Da4WUT_P.js");
|
|
11797
11797
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
11798
11798
|
sessionKey: args.ctx.sessionKey,
|
|
11799
11799
|
sessionId: args.ctx?.agentId
|
|
@@ -11814,8 +11814,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
11814
11814
|
const params = args.params;
|
|
11815
11815
|
if (args.ctx?.sessionKey) {
|
|
11816
11816
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-BORFVz7h.js").then((n) => n.n);
|
|
11817
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
11818
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
11817
|
+
const { logToolLoopAction } = await import("./diagnostic-0nsxhWp7.js").then((n) => n.n);
|
|
11818
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-Da4WUT_P.js");
|
|
11819
11819
|
const sessionState = getDiagnosticSessionState({
|
|
11820
11820
|
sessionKey: args.ctx.sessionKey,
|
|
11821
11821
|
sessionId: args.ctx?.agentId
|
|
@@ -12914,7 +12914,7 @@ async function routeReply(params) {
|
|
|
12914
12914
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
12915
12915
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
12916
12916
|
try {
|
|
12917
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
12917
|
+
const { deliverOutboundPayloads } = await import("./deliver-7rOvAlrc.js").then((n) => n.n);
|
|
12918
12918
|
return {
|
|
12919
12919
|
ok: true,
|
|
12920
12920
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -13177,7 +13177,7 @@ function normalizeSessionKey(value) {
|
|
|
13177
13177
|
function readSessionStore(storePath) {
|
|
13178
13178
|
try {
|
|
13179
13179
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
13180
|
-
const parsed =
|
|
13180
|
+
const parsed = JSON5.parse(raw);
|
|
13181
13181
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
13182
13182
|
} catch {}
|
|
13183
13183
|
return {};
|
|
@@ -18893,7 +18893,7 @@ async function createModelSelectionState(params) {
|
|
|
18893
18893
|
}
|
|
18894
18894
|
}
|
|
18895
18895
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
18896
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
18896
|
+
const { ensureAuthProfileStore } = await import("./model-selection-C-3-tpe7.js").then((n) => n.D);
|
|
18897
18897
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
18898
18898
|
const providerKey = normalizeProviderId(provider);
|
|
18899
18899
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -42619,7 +42619,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
42619
42619
|
return;
|
|
42620
42620
|
}
|
|
42621
42621
|
try {
|
|
42622
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
42622
|
+
const { deliverOutboundPayloads } = await import("./deliver-7rOvAlrc.js").then((n) => n.n);
|
|
42623
42623
|
await deliverOutboundPayloads({
|
|
42624
42624
|
cfg: params.cfg,
|
|
42625
42625
|
channel,
|
|
@@ -46281,7 +46281,7 @@ async function describeStickerImage(params) {
|
|
|
46281
46281
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
46282
46282
|
try {
|
|
46283
46283
|
const buffer = await fs$1.readFile(imagePath);
|
|
46284
|
-
const { describeImageWithModel } = await import("./image-
|
|
46284
|
+
const { describeImageWithModel } = await import("./image-WOSl2apK.js").then((n) => n.n);
|
|
46285
46285
|
return (await describeImageWithModel({
|
|
46286
46286
|
buffer,
|
|
46287
46287
|
fileName: "sticker.webp",
|
|
@@ -46692,7 +46692,7 @@ function createWhatsAppLoginTool() {
|
|
|
46692
46692
|
force: Type.Optional(Type.Boolean())
|
|
46693
46693
|
}),
|
|
46694
46694
|
execute: async (_toolCallId, args) => {
|
|
46695
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
46695
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-Dv5_MoAW.js");
|
|
46696
46696
|
if ((args?.action ?? "start") === "wait") {
|
|
46697
46697
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
46698
46698
|
return {
|
|
@@ -54236,7 +54236,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
54236
54236
|
}
|
|
54237
54237
|
let commandsRegistry;
|
|
54238
54238
|
async function getCommandsRegistry() {
|
|
54239
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
54239
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-CTzKKtY6.js").then((n) => n.n);
|
|
54240
54240
|
return commandsRegistry;
|
|
54241
54241
|
}
|
|
54242
54242
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -54578,11 +54578,11 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
54578
54578
|
const channelName = channelInfo?.name;
|
|
54579
54579
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
54580
54580
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
54581
|
-
import("./resolve-route-
|
|
54581
|
+
import("./resolve-route-URXlY3AK.js").then((n) => n.r),
|
|
54582
54582
|
import("./inbound-context-Bb2V88bi.js").then((n) => n.n),
|
|
54583
54583
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
54584
54584
|
]);
|
|
54585
|
-
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-MLmUBidd.js").then((n) => n.t), import("./reply-prefix-
|
|
54585
|
+
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-MLmUBidd.js").then((n) => n.t), import("./reply-prefix-INAKTqCU.js").then((n) => n.r)]);
|
|
54586
54586
|
const route = resolveAgentRoute({
|
|
54587
54587
|
cfg,
|
|
54588
54588
|
channel: "slack",
|
|
@@ -54639,9 +54639,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
54639
54639
|
});
|
|
54640
54640
|
const deliverSlashPayloads = async (replies) => {
|
|
54641
54641
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
54642
|
-
import("./replies-
|
|
54643
|
-
import("./chunk-
|
|
54644
|
-
import("./markdown-tables-
|
|
54642
|
+
import("./replies-BXOzO_H5.js").then((n) => n.r),
|
|
54643
|
+
import("./chunk-BbrYSny_.js").then((n) => n.s),
|
|
54644
|
+
import("./markdown-tables-DXNKz5y_.js").then((n) => n.t)
|
|
54645
54645
|
]);
|
|
54646
54646
|
await deliverSlackSlashReplies({
|
|
54647
54647
|
replies,
|
|
@@ -54694,7 +54694,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
54694
54694
|
let nativeCommands = [];
|
|
54695
54695
|
if (nativeEnabled) {
|
|
54696
54696
|
reg = await getCommandsRegistry();
|
|
54697
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
54697
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-KjLUGIdZ.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
54698
54698
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
54699
54699
|
skillCommands,
|
|
54700
54700
|
provider: "slack"
|
|
@@ -57149,7 +57149,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
57149
57149
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
57150
57150
|
let preflightTranscript;
|
|
57151
57151
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
57152
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
57152
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-HKbdzXLZ.js");
|
|
57153
57153
|
preflightTranscript = await transcribeFirstAudio({
|
|
57154
57154
|
ctx: {
|
|
57155
57155
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -59294,23 +59294,23 @@ let webLoginQrPromise = null;
|
|
|
59294
59294
|
let webChannelPromise = null;
|
|
59295
59295
|
let whatsappActionsPromise = null;
|
|
59296
59296
|
function loadWebOutbound() {
|
|
59297
|
-
webOutboundPromise ??= import("./outbound-
|
|
59297
|
+
webOutboundPromise ??= import("./outbound-DquCeSy5.js").then((n) => n.t);
|
|
59298
59298
|
return webOutboundPromise;
|
|
59299
59299
|
}
|
|
59300
59300
|
function loadWebLogin() {
|
|
59301
|
-
webLoginPromise ??= import("./login-
|
|
59301
|
+
webLoginPromise ??= import("./login-C7x4q0i2.js").then((n) => n.n);
|
|
59302
59302
|
return webLoginPromise;
|
|
59303
59303
|
}
|
|
59304
59304
|
function loadWebLoginQr() {
|
|
59305
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
59305
|
+
webLoginQrPromise ??= import("./login-qr-Dv5_MoAW.js");
|
|
59306
59306
|
return webLoginQrPromise;
|
|
59307
59307
|
}
|
|
59308
59308
|
function loadWebChannel() {
|
|
59309
|
-
webChannelPromise ??= import("./web-
|
|
59309
|
+
webChannelPromise ??= import("./web-BlweOZDp.js");
|
|
59310
59310
|
return webChannelPromise;
|
|
59311
59311
|
}
|
|
59312
59312
|
function loadWhatsAppActions() {
|
|
59313
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
59313
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-DpfaGYs7.js");
|
|
59314
59314
|
return whatsappActionsPromise;
|
|
59315
59315
|
}
|
|
59316
59316
|
function createPluginRuntime() {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { a as WA_WEB_AUTH_DIR, g as webAuthExists, s as logWebSelfId, u as pickWebChannel } from "./accounts-CWFytwbR.js";
|
|
2
|
+
import "./unified-runner-nwMnsZyj.js";
|
|
3
|
+
import "./registry-5iFfixlB.js";
|
|
4
|
+
import "./paths-DAMyaxr7.js";
|
|
5
|
+
import "./model-selection-C-3-tpe7.js";
|
|
6
|
+
import "./config-Crv2qEdJ.js";
|
|
7
|
+
import "./fs-safe-DfWYBeWF.js";
|
|
8
|
+
import "./subsystem-DcOg1xJr.js";
|
|
9
|
+
import "./agent-scope-C9gfY_Gk.js";
|
|
10
|
+
import "./tool-images-Cl_rGIUZ.js";
|
|
11
|
+
import "./target-errors-BVWJGWFq.js";
|
|
12
|
+
import "./replies-BXOzO_H5.js";
|
|
13
|
+
import "./chunk-BbrYSny_.js";
|
|
14
|
+
import "./runner-Bv0_DWoH.js";
|
|
15
|
+
import "./reply-prefix-INAKTqCU.js";
|
|
16
|
+
import "./tokens-8lqOTZCB.js";
|
|
17
|
+
import "./skill-commands-KjLUGIdZ.js";
|
|
18
|
+
import "./skills-BrsD4L5c.js";
|
|
19
|
+
import "./redact-Dd8jrogi.js";
|
|
20
|
+
import "./errors-C4A6pz-b.js";
|
|
21
|
+
import "./ssrf-BgY65jh5.js";
|
|
22
|
+
import "./local-roots-OLRDbvyY.js";
|
|
23
|
+
import "./chrome-klTSnz-9.js";
|
|
24
|
+
import "./command-format-BN6tyZt6.js";
|
|
25
|
+
import "./thinking-CtsTDPOi.js";
|
|
26
|
+
import "./plugins-DOwnSg9D.js";
|
|
27
|
+
import "./bindings-BaKIqPPy.js";
|
|
28
|
+
import "./deliver-7rOvAlrc.js";
|
|
29
|
+
import "./message-channel-aGy1HbQQ.js";
|
|
30
|
+
import "./pi-embedded-helpers-D3ygfH7l.js";
|
|
31
|
+
import "./github-copilot-token-BbOxnzZ-.js";
|
|
32
|
+
import "./manifest-registry-CJMV-PI7.js";
|
|
33
|
+
import "./paths-DP1ngpUU.js";
|
|
34
|
+
import "./diagnostic-0nsxhWp7.js";
|
|
35
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-D5nWiTH1.js";
|
|
36
|
+
import "./diagnostic-session-state-BORFVz7h.js";
|
|
37
|
+
import "./image-WOSl2apK.js";
|
|
38
|
+
import "./pi-auth-json-D9PDCXGn.js";
|
|
39
|
+
import "./pi-model-discovery-Cvbykdeu.js";
|
|
40
|
+
import "./manager-C83tK17x.js";
|
|
41
|
+
import "./gemini-auth-C0N0_u49.js";
|
|
42
|
+
import "./sqlite-CjW7ME1H.js";
|
|
43
|
+
import "./markdown-tables-DXNKz5y_.js";
|
|
44
|
+
import "./ir-9J84MTls.js";
|
|
45
|
+
import "./render-qcqmrHse.js";
|
|
46
|
+
import "./commands-registry-CTzKKtY6.js";
|
|
47
|
+
import "./active-listener-BkZ4jHrL.js";
|
|
48
|
+
import "./resolve-route-URXlY3AK.js";
|
|
49
|
+
import "./proxy-DOYns4nT.js";
|
|
50
|
+
import { n as sendMessageWhatsApp } from "./outbound-DquCeSy5.js";
|
|
51
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-C3r8l7ou.js";
|
|
52
|
+
import { t as loginWeb } from "./login-C7x4q0i2.js";
|
|
53
|
+
|
|
54
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { r as resolveWhatsAppAccount } from "./accounts-
|
|
2
|
-
import "./registry-
|
|
1
|
+
import { r as resolveWhatsAppAccount } from "./accounts-CWFytwbR.js";
|
|
2
|
+
import "./registry-5iFfixlB.js";
|
|
3
3
|
import "./paths-DAMyaxr7.js";
|
|
4
|
-
import "./model-selection-
|
|
5
|
-
import "./config-
|
|
6
|
-
import "./fs-safe-
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./tool-images-
|
|
10
|
-
import { a as createActionGate, c as jsonResult, i as ToolAuthorizationError, p as readStringParam, u as readReactionParams } from "./target-errors-
|
|
11
|
-
import "./chunk-
|
|
4
|
+
import "./model-selection-C-3-tpe7.js";
|
|
5
|
+
import "./config-Crv2qEdJ.js";
|
|
6
|
+
import "./fs-safe-DfWYBeWF.js";
|
|
7
|
+
import "./subsystem-DcOg1xJr.js";
|
|
8
|
+
import "./agent-scope-C9gfY_Gk.js";
|
|
9
|
+
import "./tool-images-Cl_rGIUZ.js";
|
|
10
|
+
import { a as createActionGate, c as jsonResult, i as ToolAuthorizationError, p as readStringParam, u as readReactionParams } from "./target-errors-BVWJGWFq.js";
|
|
11
|
+
import "./chunk-BbrYSny_.js";
|
|
12
12
|
import "./ssrf-BgY65jh5.js";
|
|
13
|
-
import "./local-roots-
|
|
14
|
-
import "./command-format-
|
|
15
|
-
import "./plugins-
|
|
16
|
-
import "./bindings-
|
|
17
|
-
import "./message-channel-
|
|
13
|
+
import "./local-roots-OLRDbvyY.js";
|
|
14
|
+
import "./command-format-BN6tyZt6.js";
|
|
15
|
+
import "./plugins-DOwnSg9D.js";
|
|
16
|
+
import "./bindings-BaKIqPPy.js";
|
|
17
|
+
import "./message-channel-aGy1HbQQ.js";
|
|
18
18
|
import "./github-copilot-token-BbOxnzZ-.js";
|
|
19
|
-
import "./manifest-registry-
|
|
20
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
21
|
-
import "./markdown-tables-
|
|
22
|
-
import "./ir-
|
|
19
|
+
import "./manifest-registry-CJMV-PI7.js";
|
|
20
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-DvbxHtqp.js";
|
|
21
|
+
import "./markdown-tables-DXNKz5y_.js";
|
|
22
|
+
import "./ir-9J84MTls.js";
|
|
23
23
|
import "./render-qcqmrHse.js";
|
|
24
|
-
import "./active-listener-
|
|
25
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
24
|
+
import "./active-listener-BkZ4jHrL.js";
|
|
25
|
+
import { r as sendReactionWhatsApp } from "./outbound-DquCeSy5.js";
|
|
26
26
|
|
|
27
27
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
28
28
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
@@ -9,7 +9,7 @@ import "./github-copilot-token-cCYzSU9h.js";
|
|
|
9
9
|
import "./boolean-CE7i9tBR.js";
|
|
10
10
|
import "./config-CmwJ3rLZ.js";
|
|
11
11
|
import "./manifest-registry-Dqmu7CGB.js";
|
|
12
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
12
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-Bo7cbvFK.js";
|
|
13
13
|
import "./redact-BDMXB06K.js";
|
|
14
14
|
import { n as formatErrorMessage } from "./errors-XIsvXeC-.js";
|
|
15
15
|
import "./ssrf-DpUUUgkK.js";
|
|
@@ -7,7 +7,7 @@ import "./github-copilot-token-BbsJ0Qbo.js";
|
|
|
7
7
|
import { r as formatCliCommand } from "./env-CVhxRaxk.js";
|
|
8
8
|
import "./config-BrEmT6tv.js";
|
|
9
9
|
import "./manifest-registry-B51J8ZWx.js";
|
|
10
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
10
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-DYp18Q0t.js";
|
|
11
11
|
import "./redact-Bcq1snj9.js";
|
|
12
12
|
import { n as formatErrorMessage } from "./errors-C2nBLmDT.js";
|
|
13
13
|
import "./ssrf-CQMi5Tnq.js";
|
|
@@ -4,7 +4,7 @@ import { C as requireApiKey, W as resolveSymiAgentDir, m as normalizeGoogleModel
|
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-BKe459rw.js";
|
|
5
5
|
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./image-ops-B_RhmJoE.js";
|
|
6
6
|
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-BrEmT6tv.js";
|
|
7
|
-
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-Bx-hvoNJ.js";
|
|
8
8
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-B4V7QI4Y.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-BVa_Fx_T.js";
|
|
10
10
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-DMWeVvUz.js";
|
|
@@ -4,7 +4,7 @@ import { B as requireApiKey, V as resolveApiKeyForProvider, j as normalizeGoogle
|
|
|
4
4
|
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-CmwJ3rLZ.js";
|
|
5
5
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-BS4Y73Jh.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-3FRbbjbq.js";
|
|
7
|
-
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-CQl_mjWk.js";
|
|
8
8
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-DUyW_oaE.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-B7YMixjc.js";
|
|
10
10
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-DcPP289R.js";
|
|
@@ -7,30 +7,30 @@ import "./reply-prefix--eBsH5HR.js";
|
|
|
7
7
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
8
8
|
import "./env-CVhxRaxk.js";
|
|
9
9
|
import "./tokens-W53xiM4v.js";
|
|
10
|
-
import { p as runAgentTurn } from "./pi-embedded-
|
|
10
|
+
import { p as runAgentTurn } from "./pi-embedded-CLw_ZzEZ.js";
|
|
11
11
|
import "./accounts-DhrbJeGC.js";
|
|
12
12
|
import "./plugins-BubU3QyP.js";
|
|
13
13
|
import "./bindings-BXUZYJ9y.js";
|
|
14
14
|
import "./replies-6QoHWaww.js";
|
|
15
|
-
import "./deliver-
|
|
15
|
+
import "./deliver-DEgRQM4J.js";
|
|
16
16
|
import "./diagnostic-ClKr4DnF.js";
|
|
17
17
|
import "./diagnostic-session-state-DmrztgHU.js";
|
|
18
18
|
import "./thinking-CuOvs-Ey.js";
|
|
19
19
|
import "./image-ops-B_RhmJoE.js";
|
|
20
20
|
import "./pi-model-discovery-DZrt2PIy.js";
|
|
21
21
|
import "./message-channel-CPEGgWpF.js";
|
|
22
|
-
import "./pi-embedded-helpers-
|
|
22
|
+
import "./pi-embedded-helpers-sUAEIC9X.js";
|
|
23
23
|
import "./config-BrEmT6tv.js";
|
|
24
24
|
import "./manifest-registry-B51J8ZWx.js";
|
|
25
|
-
import "./chrome-
|
|
25
|
+
import "./chrome-DYp18Q0t.js";
|
|
26
26
|
import "./skills-t4ZOwJM2.js";
|
|
27
27
|
import "./redact-Bcq1snj9.js";
|
|
28
28
|
import "./errors-C2nBLmDT.js";
|
|
29
29
|
import "./ssrf-CQMi5Tnq.js";
|
|
30
30
|
import "./paths-CM0XImQQ.js";
|
|
31
31
|
import "./tool-images-BwyT-V2q.js";
|
|
32
|
-
import "./image-
|
|
33
|
-
import "./manager-
|
|
32
|
+
import "./image-Bx-hvoNJ.js";
|
|
33
|
+
import "./manager-YQxK2t0C.js";
|
|
34
34
|
import "./gemini-auth-B4V7QI4Y.js";
|
|
35
35
|
import "./sqlite-D1y8Y46G.js";
|
|
36
36
|
import "./target-errors-BjoQKl76.js";
|
|
@@ -41,7 +41,7 @@ import "./ir-CN3N4SMe.js";
|
|
|
41
41
|
import "./render-2Ztmr_V0.js";
|
|
42
42
|
import "./commands-registry-B19Mna74.js";
|
|
43
43
|
import "./skill-commands-CAGUvBqy.js";
|
|
44
|
-
import "./runner-
|
|
44
|
+
import "./runner-COGFTeDw.js";
|
|
45
45
|
import "./active-listener-UTJr_K1e.js";
|
|
46
46
|
import "./resolve-route-DWXhDXTs.js";
|
|
47
47
|
import "./pi-auth-json-DYImz-_r.js";
|
|
@@ -4,15 +4,15 @@ import "./agent-scope-BjwlzIx9.js";
|
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-cuZLebhx.js";
|
|
5
5
|
import "./workspace-DtomnOme.js";
|
|
6
6
|
import "./tokens-DA7lUq9l.js";
|
|
7
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
7
|
+
import { t as runAgentTurn } from "./unified-runner-iByUazvW.js";
|
|
8
8
|
import "./auth-profiles-CcmUp4KB.js";
|
|
9
9
|
import "./env-BevtqzD_.js";
|
|
10
10
|
import "./github-copilot-token-cCYzSU9h.js";
|
|
11
11
|
import "./boolean-CE7i9tBR.js";
|
|
12
|
-
import "./pi-embedded-helpers-
|
|
12
|
+
import "./pi-embedded-helpers-B5I53aw6.js";
|
|
13
13
|
import "./config-CmwJ3rLZ.js";
|
|
14
14
|
import "./manifest-registry-Dqmu7CGB.js";
|
|
15
|
-
import "./chrome-
|
|
15
|
+
import "./chrome-Bo7cbvFK.js";
|
|
16
16
|
import "./frontmatter-CTR5f_Ez.js";
|
|
17
17
|
import "./skills-B7JO0ASH.js";
|
|
18
18
|
import "./redact-BDMXB06K.js";
|
|
@@ -30,15 +30,15 @@ import "./bindings-CWfvNWzb.js";
|
|
|
30
30
|
import "./send-CJCwdFt2.js";
|
|
31
31
|
import "./paths-D457mxXH.js";
|
|
32
32
|
import "./tool-images-Dli0kbyH.js";
|
|
33
|
-
import "./deliver-
|
|
33
|
+
import "./deliver-ChSIbiMM.js";
|
|
34
34
|
import "./diagnostic-Dz2XLFpJ.js";
|
|
35
35
|
import "./diagnostic-session-state-DPIgjnIW.js";
|
|
36
|
-
import "./image-
|
|
36
|
+
import "./image-CQl_mjWk.js";
|
|
37
37
|
import "./pi-auth-json-Df3d9-jY.js";
|
|
38
38
|
import "./send-BCZh3xVc.js";
|
|
39
39
|
import "./pi-model-discovery-Bv5YDJc8.js";
|
|
40
40
|
import "./reply-prefix-DqV_Oetb.js";
|
|
41
|
-
import "./manager-
|
|
41
|
+
import "./manager-D_pn0urG.js";
|
|
42
42
|
import "./gemini-auth-DUyW_oaE.js";
|
|
43
43
|
import "./retry-BimTxCOW.js";
|
|
44
44
|
import "./sqlite-BY0p7qhs.js";
|
|
@@ -49,7 +49,7 @@ import "./local-roots-DcPP289R.js";
|
|
|
49
49
|
import "./ir-ZDAGNleN.js";
|
|
50
50
|
import "./render-BhKzKdV0.js";
|
|
51
51
|
import "./commands-registry-DMyd-Yup.js";
|
|
52
|
-
import "./runner-
|
|
52
|
+
import "./runner-DhCi2lT1.js";
|
|
53
53
|
import "./skill-commands-LTOrAZRN.js";
|
|
54
54
|
import "./fetch-Bn4GCTGl.js";
|
|
55
55
|
import "./send-CqQubXQG.js";
|