openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
1 lines • 7.46 kB
JavaScript
import{c as isSecretRef,l as isValidEnvSecretRefId,n as ENV_SECRET_REF_ID_RE,t as DEFAULT_SECRET_PROVIDER_ALIAS}from"../ref-contract-CdpCUlb6.mjs";import{_ as resolveSecretInputRef,a as coerceSecretRef,c as isLegacySecretRefEnvMarker,d as normalizeRequiredSecretInput,f as normalizeResolvedSecretInputString,g as parseSecretRef,h as parseLegacySecretRefEnvMarker,i as assertSecretInputResolved,l as isLegacySecretRefWithoutProvider,m as parseEnvTemplateSecretRef,n as LEGACY_SECRETREF_ENV_MARKER_PREFIX,o as hasConfiguredSecretInput,p as normalizeSecretInputString,r as UnresolvedSecretInputError,s as hasLegacySecretRefExtraFields,t as LEGACY_DOUBLE_UNDERSCORE_ENV_MARKER_PREFIX,u as isUnresolvedSecretInputError,v as resolveSecretInputString}from"../types.secrets-UWdyCdE6.mjs";import{n as resolveNewStateDir,r as resolveStateDir,t as resolveLegacyStateDirs}from"../state-dir-BwIClCab.mjs";import{C as resolveIsNixMode,S as resolveIsConfigReadOnly,T as resolveOAuthDir,_ as resolveDeliveryQueueMediaDir,a as captureRuntimeStateEnvironment,b as resolveGatewayPort,c as isNamedProfile,d as parseGatewayPortEnvValue,f as pinRuntimePaths,g as resolveDefaultConfigCandidates,h as resolveConfigPathCandidate,i as allowsProcessHomeSessionScan,l as isNixMode,m as resolveConfigPath,n as DEFAULT_GATEWAY_PORT,o as isDefaultInstallIdentity,p as resolveCanonicalConfigPath,r as STATE_DIR,s as isDefaultStateDir,t as CONFIG_PATH,u as normalizeStateDirEnv,v as resolveGatewayLockDir,w as resolveNativeServiceProfileConflict,x as resolveIncludeRoots,y as resolveGatewayLockDirForCanonicalStateDir}from"../paths-D_FOvGon.mjs";import{n as validateConfigObject,r as validateConfigObjectRaw}from"../validation-core-Dgg8JyG6.mjs";import{p as resolveConfigSnapshotHash,s as parseConfigJson5}from"../io.read-helpers-B0XuPBY2.mjs";import{D as setRuntimeConfigAppliedHash,E as setAppliedRuntimeConfigSnapshot,O as setRuntimeConfigSnapshot,S as resolveRuntimeConfigCacheKey,T as selectLiveRuntimeConfig,a as getRuntimeConfigSnapshot,b as resolveConfigWriteAfterWrite,c as getRuntimeConfigSourceSnapshot,h as readRuntimeConfig,i as getRuntimeConfigAppliedHash,j as hashRuntimeConfigValue,k as setRuntimeConfigSnapshotRefreshHandler,o as getRuntimeConfigSnapshotMetadata,t as clearRuntimeConfigSnapshot,w as selectApplicableRuntimeConfig,x as resolveConfigWriteFollowUp,y as resetConfigRuntimeState}from"../runtime-snapshot-Bg5K4JNu.mjs";import{t as ConfigMutationConflictError}from"../mutation-conflict-qTMp0e4U.mjs";import{a as setConfigOverride,i as resetConfigOverrides,n as captureConfigOverrideApplier,o as unsetConfigOverride,r as getConfigOverrides,t as applyConfigOverrides}from"../runtime-overrides-C2xuSpIx.mjs";import{n as parseToolsBySenderTypedKey,t as TOOLS_BY_SENDER_KEY_TYPES}from"../types.tools-BsJ4sBxh.mjs";import{n as MODEL_THINKING_FORMATS,r as isModelThinkingFormat,t as MODEL_APIS}from"../model-config-vocabulary-CXg1OXeo.mjs";import{n as projectConfigOntoRuntimeSourceSnapshot}from"../runtime-source-projection-DvPkX_nq.mjs";import{i as validateConfigObjectWithPlugins,r as validateConfigObjectRawWithPlugins}from"../validation-CGAl0yU4.mjs";import{t as createConfigIO}from"../io.factory-y6nIrp_4.mjs";import{i as shouldAttemptLastKnownGoodRecovery,n as isPluginLocalInvalidConfigSnapshot,r as isPluginPackagingRuntimeOutputInvalidConfigSnapshot,t as collectPollutedSecretPlaceholders}from"../recovery-policy-C9I1hpUN.mjs";import{n as NixModeConfigMutationError,r as assertConfigWriteAllowedInCurrentMode,t as ConfigReadOnlyError}from"../config-write-guard-DrPwqEel.mjs";import{t as ConfigRuntimeRefreshError}from"../io.types-EaPlzGV_.mjs";import{_ as recoverConfigFromJsonRootSuffix,a as readBestEffortConfig,g as readSourceConfigSnapshotForWrite,h as readSourceConfigSnapshot,i as promoteConfigSnapshotToLastKnownGood,l as readConfigFileSnapshotForWrite,m as readSourceConfigBestEffort,n as clearConfigCache,o as readBestEffortConfigSnapshot,r as loadConfig,s as readConfigFileSnapshot,t as captureRuntimeConfigAsyncReader,u as readConfigFileSnapshotWithPluginMetadata,v as recoverConfigFromLastKnownGood,x as writeConfigFile,y as registerConfigWriteListener}from"../io.runtime-BvSeVFIY.mjs";import{a as transformConfigFile,n as mutateConfigFileWithRetry,o as transformConfigFileWithRetry,r as replaceConfigFile,s as withConfigMutationExclusive,t as mutateConfigFile}from"../mutate-DcH8aT_4.mjs";import"../config-DkZ8y8Gv.mjs";export{CONFIG_PATH,ConfigMutationConflictError,ConfigReadOnlyError,ConfigRuntimeRefreshError,DEFAULT_GATEWAY_PORT,DEFAULT_SECRET_PROVIDER_ALIAS,ENV_SECRET_REF_ID_RE,LEGACY_DOUBLE_UNDERSCORE_ENV_MARKER_PREFIX,LEGACY_SECRETREF_ENV_MARKER_PREFIX,MODEL_APIS,MODEL_THINKING_FORMATS,NixModeConfigMutationError,STATE_DIR,TOOLS_BY_SENDER_KEY_TYPES,UnresolvedSecretInputError,allowsProcessHomeSessionScan,applyConfigOverrides,assertConfigWriteAllowedInCurrentMode,assertSecretInputResolved,captureConfigOverrideApplier,captureRuntimeConfigAsyncReader,captureRuntimeStateEnvironment,clearConfigCache,clearRuntimeConfigSnapshot,coerceSecretRef,collectPollutedSecretPlaceholders,createConfigIO,getConfigOverrides,readRuntimeConfig as getRuntimeConfig,readRuntimeConfig,getRuntimeConfigAppliedHash,getRuntimeConfigSnapshot,getRuntimeConfigSnapshotMetadata,getRuntimeConfigSourceSnapshot,hasConfiguredSecretInput,hasLegacySecretRefExtraFields,hashRuntimeConfigValue,isDefaultInstallIdentity,isDefaultStateDir,isLegacySecretRefEnvMarker,isLegacySecretRefWithoutProvider,isModelThinkingFormat,isNamedProfile,isNixMode,isPluginLocalInvalidConfigSnapshot,isPluginPackagingRuntimeOutputInvalidConfigSnapshot,isSecretRef,isUnresolvedSecretInputError,isValidEnvSecretRefId,loadConfig,mutateConfigFile,mutateConfigFileWithRetry,normalizeRequiredSecretInput,normalizeResolvedSecretInputString,normalizeSecretInputString,normalizeStateDirEnv,parseConfigJson5,parseEnvTemplateSecretRef,parseGatewayPortEnvValue,parseLegacySecretRefEnvMarker,parseSecretRef,parseToolsBySenderTypedKey,pinRuntimePaths,projectConfigOntoRuntimeSourceSnapshot,promoteConfigSnapshotToLastKnownGood,readBestEffortConfig,readBestEffortConfigSnapshot,readConfigFileSnapshot,readConfigFileSnapshotForWrite,readConfigFileSnapshotWithPluginMetadata,readSourceConfigBestEffort,readSourceConfigSnapshot,readSourceConfigSnapshotForWrite,recoverConfigFromJsonRootSuffix,recoverConfigFromLastKnownGood,registerConfigWriteListener,replaceConfigFile,resetConfigOverrides,resetConfigRuntimeState,resolveCanonicalConfigPath,resolveConfigPath,resolveConfigPathCandidate,resolveConfigSnapshotHash,resolveConfigWriteAfterWrite,resolveConfigWriteFollowUp,resolveDefaultConfigCandidates,resolveDeliveryQueueMediaDir,resolveGatewayLockDir,resolveGatewayLockDirForCanonicalStateDir,resolveGatewayPort,resolveIncludeRoots,resolveIsConfigReadOnly,resolveIsNixMode,resolveLegacyStateDirs,resolveNativeServiceProfileConflict,resolveNewStateDir,resolveOAuthDir,resolveRuntimeConfigCacheKey,resolveSecretInputRef,resolveSecretInputString,resolveStateDir,selectApplicableRuntimeConfig,selectLiveRuntimeConfig,setAppliedRuntimeConfigSnapshot,setConfigOverride,setRuntimeConfigAppliedHash,setRuntimeConfigSnapshot,setRuntimeConfigSnapshotRefreshHandler,shouldAttemptLastKnownGoodRecovery,transformConfigFile,transformConfigFileWithRetry,unsetConfigOverride,validateConfigObject,validateConfigObjectRaw,validateConfigObjectRawWithPlugins,validateConfigObjectWithPlugins,withConfigMutationExclusive,writeConfigFile};