mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-06 14:51:08 +00:00
20 lines
661 B
TypeScript
20 lines
661 B
TypeScript
export { normalizeCompatibilityConfig, legacyConfigRules } from "./src/doctor-contract.js";
|
|
export {
|
|
collectRuntimeConfigAssignments,
|
|
secretTargetRegistryEntries,
|
|
} from "./src/secret-contract.js";
|
|
export {
|
|
TELEGRAM_COMMAND_NAME_PATTERN,
|
|
normalizeTelegramCommandDescription,
|
|
normalizeTelegramCommandName,
|
|
resolveTelegramCustomCommands,
|
|
} from "./src/command-config.js";
|
|
export { singleAccountKeysToMove } from "./src/setup-contract.js";
|
|
|
|
export function hasConfiguredState(params: { env?: NodeJS.ProcessEnv }): boolean {
|
|
return (
|
|
typeof params.env?.TELEGRAM_BOT_TOKEN === "string" &&
|
|
params.env.TELEGRAM_BOT_TOKEN.trim().length > 0
|
|
);
|
|
}
|