UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

3 lines • 604 B
import{t as formatErrorMessage}from"./errors-D37BJTfI.mjs";import{m as preflightRuntimeSnapshotWrite}from"./runtime-snapshot-Bg5K4JNu.mjs";import{t as ConfigRuntimeRefreshError}from"./io.types-EaPlzGV_.mjs"; //!src/config/io.write-preflight.ts function preflightConfigRuntimeWrite(e,t,n){return preflightRuntimeSnapshotWrite({nextSourceConfig:t,refreshOptions:n,formatRefreshError:e=>formatErrorMessage(e),createRefreshError:(t,n)=>new ConfigRuntimeRefreshError(`Config write blocked before committing ${e}: active SecretRef resolution failed: ${t}`,{cause:n})})}export{preflightConfigRuntimeWrite as t};