mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-06 23:01:08 +00:00
12 lines
457 B
TypeScript
12 lines
457 B
TypeScript
export { normalizeCompatibilityConfig, legacyConfigRules } from "./src/doctor-contract.js";
|
|
export {
|
|
collectRuntimeConfigAssignments,
|
|
secretTargetRegistryEntries,
|
|
} from "./src/secret-contract.js";
|
|
|
|
export function hasConfiguredState(params: { env?: NodeJS.ProcessEnv }): boolean {
|
|
return ["SLACK_APP_TOKEN", "SLACK_BOT_TOKEN", "SLACK_USER_TOKEN"].some(
|
|
(key) => typeof params.env?.[key] === "string" && params.env[key]?.trim().length > 0,
|
|
);
|
|
}
|