openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
37 lines (36 loc) • 5.83 kB
JavaScript
import { a as resolveAgentDir, d as resolveAgentWorkspaceDir, g as resolveDefaultAgentId, h as resolveDefaultAgentDir, r as resolveAgentConfig } from "../agent-scope-config-CDYpzA0r.mjs";
import { i as listAgentIds } from "../agent-roster-BXD1uMJD.mjs";
import { r as DEFAULT_PROVIDER } from "../defaults-Jag53zwP.mjs";
import { C as setAgentEffectiveModelPrimary, o as resolveAgentEffectiveModelPrimary } from "../agent-scope-CG17uXFn.mjs";
import { i as resolveProviderIdForAuth } from "../provider-auth-aliases-DGVQj_99.mjs";
import { i as buildModelAliasIndex, r as buildConfiguredModelCatalog, v as resolveModelRefFromString } from "../model-selection-shared-DcM6hdAC.mjs";
import { n as findModelInCatalog } from "../model-catalog-lookup-4OgPvT6V.mjs";
import { n as parseModelRef, t as findNormalizedProviderValue } from "../model-selection-normalize-AjjSfI-g.mjs";
import { t as resolveDefaultModelForAgent } from "../model-selection-config-BdeHEviO.mjs";
import { n as resolveApiKeyForProfile, t as refreshOAuthCredentialForRuntime } from "../oauth-BEBXh1nm.mjs";
import { h as resolveProfilesUnavailableReason, l as isProfileInCooldown, m as resolveProfileUnusableUntilForDisplay, n as clearExpiredCooldowns } from "../profile-usage-stats-BLwxBqRR.mjs";
import { d as isSameOAuthRefreshGeneration, u as isPendingOAuthRefreshFence } from "../credential-state-WXO5HScp.mjs";
import { i as findPersistedAuthProfileCredential, u as resolvePersistedAuthProfileOwnerAgentDir } from "../store-Bn_NKkGr.mjs";
import { b as resolveAuthStorePathForDisplay } from "../profiles-zTWlOxGK.mjs";
import { C as replaceRuntimeAuthProfileStoreSnapshots, i as clearRuntimeAuthProfileStoreSnapshots } from "../runtime-snapshots-kS-hnXTd.mjs";
import { t as resolveAllowedModelRefCore } from "../model-selection-resolve-PdD2eskm.mjs";
import { a as resolveAuthProfileOrder, f as listProfilesForProvider, i as resolveAuthProfileEligibility } from "../order-BJ9-s7yV.mjs";
import { t as CODEX_APP_SERVER_AUTH_MARKER } from "../model-auth-markers-BxCB9MeR.mjs";
import { c as loadAuthProfileStoreForSecretsRuntime, l as loadAuthProfileStoreWithoutExternalProfiles, n as ensureAuthProfileStore, o as loadAuthProfileStoreForRuntime, u as saveAuthProfileStore } from "../store-runtime-DZk7O5wt.mjs";
import { t as markAuthProfileBlockedUntil } from "../usage-DoyB4QE2.mjs";
import { r as resolveThinkingDefaultCore } from "../model-thinking-default-twlQ6xyp.mjs";
import { r as modelSupportsVision } from "../model-catalog-CJEhcezW.mjs";
import { t as resolveApiKeyForProviderCore } from "../model-auth-provider-I_dWTN-s.mjs";
import { f as refreshExpiredPreparedModelCatalog } from "../prepared-model-catalog-CntkE0sm.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-Dyxcwsy8.mjs";
import { a as resolveIdentityNamePrefix, i as resolveHumanDelayConfig, n as resolveAgentIdentity, t as resolveAckReaction } from "../identity-uzCeiPuC.mjs";
import { _ as resolveTtsPrefsPath, m as resolveTtsConfig } from "../tts-settings-BjvUxLqs.mjs";
import { n as resolveSessionAgentIdsCompatibility } from "../agent-scope-runtime-DMJYuX7c.mjs";
import { s as extractEmbeddedAssistantText, u as formatReasoningMessage } from "../embedded-agent-utils-BYhIvAvm.mjs";
import { t as getTtsProvider } from "../runtime-api-DdHvPua4.mjs";
import { t as EmbeddedBlockChunker } from "../embedded-agent-block-chunker-Ct-avwXe.mjs";
import { t as resolveAgentAvatar } from "../identity-avatar-dF8y1aAa.mjs";
import { r as agentCommandFromIngress } from "../agent-command-DDUZ1Cjb.mjs";
import { n as loadPreparedModelCatalog, r as resolveThinkingDefaultWithRuntimeCatalog, t as loadModelCatalog } from "../agent-runtime-BG96v5EP.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 };