UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

15 lines (14 loc) • 669 B
import { m as resolveExtraBootstrapPatterns } from "./workspace-bootstrap-policy-CPdXB_so.mjs"; import { s as loadExtraBootstrapFilesWithDiagnostics } from "./workspace-BHjQqjjT.mjs"; //#region src/hooks/bundled/bootstrap-extra-files/declared-files.ts /** Loads the extra bootstrap files the hook config declares for a workspace. */ async function loadDeclaredExtraBootstrapFiles(params) { const patterns = resolveExtraBootstrapPatterns(params.config); if (patterns.length === 0) return { files: [], diagnostics: [] }; return loadExtraBootstrapFilesWithDiagnostics(params.workspaceDir, patterns); } //#endregion export { loadDeclaredExtraBootstrapFiles as t };