UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 6.1 kB
import{_ as resolveDefaultAgentId,a as resolveAgentDir,f as resolveAgentWorkspaceDir,g as resolveDefaultAgentDir,r as resolveAgentConfig}from"../agent-scope-config-CG9CFpGX.mjs";import{A as resolveProfilesUnavailableReason,S as isProfileInCooldown,h as clearExpiredCooldowns,k as resolveProfileUnusableUntilForDisplay}from"../user-model-account-authority-B8H7rvCb.mjs";import{i as DEFAULT_PROVIDER}from"../defaults-k51tX6yK.mjs";import{i as resolveProviderIdForAuth}from"../provider-auth-aliases-BRA1A5Vm.mjs";import{g as setAgentEffectiveModelPrimary,o as resolveAgentEffectiveModelPrimary}from"../agent-scope-Dw5XRSEh.mjs";import{i as buildModelAliasIndex,r as buildConfiguredModelCatalog,y as resolveModelRefFromString}from"../model-selection-shared-CIOFxJ36.mjs";import{a as modelSupportsVision,r as findModelInCatalog}from"../model-catalog-lookup-bSGgKRpi.mjs";import{n as parseModelRef,t as findNormalizedProviderValue}from"../model-selection-normalize-DU37Sfvg.mjs";import{n as resolveDefaultModelForAgent}from"../model-selection-config-CnvHkHXn.mjs";import{t as resolveAllowedModelRefCore}from"../model-selection-resolve-BoMeDqc_.mjs";import{a as isPendingOAuthRefreshFence,o as isSameOAuthRefreshGeneration}from"../oauth-refresh-marker-BhS7FuQa.mjs";import{O as replaceRuntimeAuthProfileStoreSnapshots,k as replaceRuntimeAuthProfileStoreSnapshotsAsync,r as clearRuntimeAuthProfileStoreSnapshots}from"../runtime-snapshots-DYK7vyJv.mjs";import{n as jsonResult}from"../tool-results-BkLNMSCi.mjs";import{a as readNonNegativeIntegerParam,d as readToolStringParam,l as readStringArrayParam,s as readPositiveIntegerParam}from"../common-DIgvX97L.mjs";import{t as CODEX_APP_SERVER_AUTH_MARKER}from"../model-auth-markers-Dc97K3d8.mjs";import{c as resolvePersistedAuthProfileOwnerAgentDir,i as findPersistedAuthProfileCredential}from"../store-CX8ovUiF.mjs";import{a as resolveAuthProfileOrder,f as listProfilesForProvider,i as resolveAuthProfileEligibility}from"../order-B8e_5ABM.mjs";import{r as resolveThinkingDefaultCore}from"../model-thinking-default-core-BJEqnORl.mjs";import{b as saveAuthProfileStore,d as loadAuthProfileStoreForRuntime,f as loadAuthProfileStoreForRuntimeAsync,g as loadAuthProfileStoreWithoutExternalProfilesAsync,h as loadAuthProfileStoreWithoutExternalProfiles,i as ensureAuthProfileStoreAsync,l as findPersistedAuthProfileCredentialAsync,p as loadAuthProfileStoreForSecretsRuntime,r as ensureAuthProfileStore,y as resolvePersistedAuthProfileOwnerAgentDirAsync}from"../store-runtime-GNz-2GjY.mjs";import{a as resolveIdentityNamePrefix,i as resolveHumanDelayConfig,n as resolveAgentIdentity,t as resolveAckReaction}from"../identity-C2YDObs7.mjs";import{r as resolveAuthStorePathForDisplay}from"../paths-BDkFWGjX.mjs";import{p as refreshExpiredPreparedModelCatalog}from"../prepared-model-catalog-DR44fXi2.mjs";import{t as resolveAgentAvatar}from"../identity-avatar-D04U5Dc_.mjs";import{n as resolveApiKeyForProfile,t as refreshOAuthCredentialForRuntime}from"../oauth-DMxm8Ns0.mjs";import{t as markAuthProfileBlockedUntil}from"../usage-cgZPrtCN.mjs";import{_ as resolveTtsPrefsPath,m as resolveTtsConfig,v as resolveTtsPrefsPathAsync}from"../tts-settings-fTgZ0SUH.mjs";import{r as resolveSessionAgentIdsCompatibility,t as listAgentIdsCompatibility}from"../agent-scope-runtime-DKb8jQZx.mjs";import{t as resolveApiKeyForProviderCore}from"../model-auth-provider-CUvjd6Re.mjs";import{c as extractEmbeddedAssistantText,d as formatReasoningMessage}from"../embedded-agent-utils-Bld7utNs.mjs";import{t as EmbeddedBlockChunker}from"../embedded-agent-block-chunker-CJ0Pb7kL.mjs";import{r as agentCommandFromIngress}from"../agent-command-ORwedrZc.mjs";import{i as getTtsProviderAsync,r as getTtsProvider}from"../tts-DQc94RQ-.mjs";import{n as loadPreparedModelCatalog,r as resolveThinkingDefaultWithRuntimeCatalog,t as loadModelCatalog}from"../agent-runtime-SZFAv6hc.mjs";export{CODEX_APP_SERVER_AUTH_MARKER,DEFAULT_PROVIDER,EmbeddedBlockChunker,agentCommandFromIngress,buildConfiguredModelCatalog,buildModelAliasIndex,clearExpiredCooldowns,clearRuntimeAuthProfileStoreSnapshots,ensureAuthProfileStore,ensureAuthProfileStoreAsync,extractEmbeddedAssistantText as extractAssistantText,findModelInCatalog,findNormalizedProviderValue,findPersistedAuthProfileCredential,findPersistedAuthProfileCredentialAsync,formatReasoningMessage,refreshExpiredPreparedModelCatalog as getPreparedModelCatalogSnapshot,getTtsProvider,getTtsProviderAsync,isPendingOAuthRefreshFence,isProfileInCooldown,isSameOAuthRefreshGeneration,jsonResult,listAgentIdsCompatibility as listAgentIds,listProfilesForProvider,loadAuthProfileStoreForRuntime,loadAuthProfileStoreForRuntimeAsync,loadAuthProfileStoreForSecretsRuntime,loadAuthProfileStoreWithoutExternalProfiles,loadAuthProfileStoreWithoutExternalProfilesAsync,loadModelCatalog,loadPreparedModelCatalog,markAuthProfileBlockedUntil,modelSupportsVision,parseModelRef,readNonNegativeIntegerParam,readPositiveIntegerParam,readStringArrayParam,readToolStringParam as readStringParam,refreshOAuthCredentialForRuntime,replaceRuntimeAuthProfileStoreSnapshots,replaceRuntimeAuthProfileStoreSnapshotsAsync,resolveAckReaction,resolveAgentAvatar,resolveAgentConfig,resolveAgentDir,resolveAgentEffectiveModelPrimary,resolveAgentIdentity,resolveAgentWorkspaceDir,resolveAllowedModelRefCore as resolveAllowedModelRef,resolveApiKeyForProfile,resolveApiKeyForProviderCore as resolveApiKeyForProvider,resolveAuthProfileEligibility,resolveAuthProfileOrder,resolveAuthStorePathForDisplay,resolveDefaultAgentDir,resolveDefaultAgentId,resolveDefaultModelForAgent,resolveHumanDelayConfig,resolveIdentityNamePrefix,resolveModelRefFromString,resolvePersistedAuthProfileOwnerAgentDir,resolvePersistedAuthProfileOwnerAgentDirAsync,resolveProfileUnusableUntilForDisplay,resolveProfilesUnavailableReason,resolveProviderIdForAuth,resolveSessionAgentIdsCompatibility as resolveSessionAgentIds,resolveThinkingDefaultCore as resolveThinkingDefault,resolveThinkingDefaultWithRuntimeCatalog,resolveTtsConfig,resolveTtsPrefsPath,resolveTtsPrefsPathAsync,saveAuthProfileStore,setAgentEffectiveModelPrimary};