Files
Peter Steinberger 75dbe52e3e refactor: one code path behind doctor legacy-state migrations (#120716)
* refactor(doctor): prefer manifest route-state owners

* refactor(doctor): unify config repair declarations

* refactor(doctor): unify legacy state migrations

* fix(doctor): satisfy migration pipeline guards

* fix(plugin-sdk): keep doctor adapter inside boundary
2026-08-08 18:23:15 -07:00

14 lines
543 B
TypeScript

// Telegram API module exposes the plugin public contract.
import { definePluginDoctorMigrationFromPlans } from "openclaw/plugin-sdk/runtime-doctor-migrations";
import { detectTelegramLegacyStateMigrations } from "./src/state-migrations.js";
export { normalizeCompatibilityConfig, legacyConfigRules } from "./src/doctor-contract.js";
export const stateMigrations = [
definePluginDoctorMigrationFromPlans({
id: "telegram-legacy-state",
label: "Telegram legacy state",
resolvePlans: detectTelegramLegacyStateMigrations,
}),
];