UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

37 lines (36 loc) • 5.83 kB
import { i as listAgentIds } from "../agent-roster-DH6r_8f4.mjs"; import { a as resolveAgentDir, d as resolveAgentWorkspaceDir, g as resolveDefaultAgentId, h as resolveDefaultAgentDir, r as resolveAgentConfig } from "../agent-scope-config-BEk6-ThS.mjs"; import { r as DEFAULT_PROVIDER } from "../defaults-Jag53zwP.mjs"; import { S as setAgentEffectiveModelPrimary, o as resolveAgentEffectiveModelPrimary } from "../agent-scope-bJOokm5r.mjs"; import { i as resolveProviderIdForAuth } from "../provider-auth-aliases-CAzJGfWN.mjs"; import { i as buildModelAliasIndex, r as buildConfiguredModelCatalog, y as resolveModelRefFromString } from "../model-selection-shared-CHVNQnp1.mjs"; import { n as findModelInCatalog } from "../model-catalog-lookup-_nlJdlgO.mjs"; import { n as parseModelRef, t as findNormalizedProviderValue } from "../model-selection-normalize-B-Anaau2.mjs"; import { t as resolveDefaultModelForAgent } from "../model-selection-config-BC0CegJ7.mjs"; import { n as resolveApiKeyForProfile, t as refreshOAuthCredentialForRuntime } from "../oauth-B-Zpxott.mjs"; import { h as resolveProfilesUnavailableReason, l as isProfileInCooldown, m as resolveProfileUnusableUntilForDisplay, n as clearExpiredCooldowns } from "../profile-usage-stats-DpmWbjlU.mjs"; import { d as isSameOAuthRefreshGeneration, u as isPendingOAuthRefreshFence } from "../credential-state-dZxYPgMM.mjs"; import { i as findPersistedAuthProfileCredential, u as resolvePersistedAuthProfileOwnerAgentDir } from "../store-C7nkCeF3.mjs"; import { x as resolveAuthStorePathForDisplay } from "../profiles-6K3k_v-S.mjs"; import { i as clearRuntimeAuthProfileStoreSnapshots, w as replaceRuntimeAuthProfileStoreSnapshots } from "../runtime-snapshots-DU02_IZD.mjs"; import { t as resolveAllowedModelRefCore } from "../model-selection-resolve-C_nCN3Np.mjs"; import { a as resolveAuthProfileOrder, f as listProfilesForProvider, i as resolveAuthProfileEligibility } from "../order-C69p83pK.mjs"; import { t as CODEX_APP_SERVER_AUTH_MARKER } from "../model-auth-markers-BKfhEhYJ.mjs"; import { c as loadAuthProfileStoreForSecretsRuntime, d as saveAuthProfileStore, l as loadAuthProfileStoreWithoutExternalProfiles, n as ensureAuthProfileStore, o as loadAuthProfileStoreForRuntime } from "../store-runtime-DPTEKEq5.mjs"; import { t as markAuthProfileBlockedUntil } from "../usage-CJIu7a1i.mjs"; import { r as modelSupportsVision } from "../model-catalog-DZVwlfiv.mjs"; import { r as resolveThinkingDefaultCore } from "../model-thinking-default-Cepu2GOi.mjs"; import { t as resolveApiKeyForProviderCore } from "../model-auth-provider-Dx8NYoTR.mjs"; import { f as refreshExpiredPreparedModelCatalog } from "../prepared-model-catalog-KgiwpXAj.mjs"; import { t as jsonResult } from "../tool-results-BCM3fdVS.mjs"; import { c as readNonNegativeIntegerParam, f as readStringArrayParam, m as readToolStringParam, u as readPositiveIntegerParam } from "../common-BkU19q6Q.mjs"; import { a as resolveIdentityNamePrefix, i as resolveHumanDelayConfig, n as resolveAgentIdentity, t as resolveAckReaction } from "../identity-DMes0XZ3.mjs"; import { _ as resolveTtsPrefsPath, m as resolveTtsConfig } from "../tts-settings-BzEF38xC.mjs"; import { n as resolveSessionAgentIdsCompatibility } from "../agent-scope-runtime-OJ73CMLc.mjs"; import { l as formatReasoningMessage, o as extractEmbeddedAssistantText } from "../embedded-agent-utils-BDIGXaqj.mjs"; import { t as getTtsProvider } from "../runtime-api-DpyPGGfq.mjs"; import { t as EmbeddedBlockChunker } from "../embedded-agent-block-chunker-CxsctPo2.mjs"; import { t as resolveAgentAvatar } from "../identity-avatar-s-8FJZYz.mjs"; import { r as agentCommandFromIngress } from "../agent-command-B2Fr8yPI.mjs"; import { n as loadPreparedModelCatalog, r as resolveThinkingDefaultWithRuntimeCatalog, t as loadModelCatalog } from "../agent-runtime-DBWMwYG3.mjs"; export { CODEX_APP_SERVER_AUTH_MARKER, DEFAULT_PROVIDER, EmbeddedBlockChunker, agentCommandFromIngress, buildConfiguredModelCatalog, buildModelAliasIndex, clearExpiredCooldowns, clearRuntimeAuthProfileStoreSnapshots, ensureAuthProfileStore, extractEmbeddedAssistantText as extractAssistantText, findModelInCatalog, findNormalizedProviderValue, findPersistedAuthProfileCredential, formatReasoningMessage, refreshExpiredPreparedModelCatalog as getPreparedModelCatalogSnapshot, getTtsProvider, isPendingOAuthRefreshFence, isProfileInCooldown, isSameOAuthRefreshGeneration, jsonResult, listAgentIds, listProfilesForProvider, loadAuthProfileStoreForRuntime, loadAuthProfileStoreForSecretsRuntime, loadAuthProfileStoreWithoutExternalProfiles, loadModelCatalog, loadPreparedModelCatalog, markAuthProfileBlockedUntil, modelSupportsVision, parseModelRef, readNonNegativeIntegerParam, readPositiveIntegerParam, readStringArrayParam, readToolStringParam as readStringParam, refreshOAuthCredentialForRuntime, replaceRuntimeAuthProfileStoreSnapshots, resolveAckReaction, resolveAgentAvatar, resolveAgentConfig, resolveAgentDir, resolveAgentEffectiveModelPrimary, resolveAgentIdentity, resolveAgentWorkspaceDir, resolveAllowedModelRefCore as resolveAllowedModelRef, resolveApiKeyForProfile, resolveApiKeyForProviderCore as resolveApiKeyForProvider, resolveAuthProfileEligibility, resolveAuthProfileOrder, resolveAuthStorePathForDisplay, resolveDefaultAgentDir, resolveDefaultAgentId, resolveDefaultModelForAgent, resolveHumanDelayConfig, resolveIdentityNamePrefix, resolveModelRefFromString, resolvePersistedAuthProfileOwnerAgentDir, resolveProfileUnusableUntilForDisplay, resolveProfilesUnavailableReason, resolveProviderIdForAuth, resolveSessionAgentIdsCompatibility as resolveSessionAgentIds, resolveThinkingDefaultCore as resolveThinkingDefault, resolveThinkingDefaultWithRuntimeCatalog, resolveTtsConfig, resolveTtsPrefsPath, saveAuthProfileStore, setAgentEffectiveModelPrimary };