Files
moltbot/extensions/whatsapp/setup-entry.ts
Peter Steinberger 694ca50e97 Revert "refactor: move runtime state to SQLite"
This reverts commit f91de52f0d.
2026-05-13 13:33:38 +01:00

22 lines
628 B
TypeScript

import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
export default defineBundledChannelSetupEntry({
importMetaUrl: import.meta.url,
features: {
legacyStateMigrations: true,
legacySessionSurfaces: true,
},
plugin: {
specifier: "./setup-plugin-api.js",
exportName: "whatsappSetupPlugin",
},
legacyStateMigrations: {
specifier: "./legacy-state-migrations-api.js",
exportName: "detectWhatsAppLegacyStateMigrations",
},
legacySessionSurface: {
specifier: "./legacy-session-surface-api.js",
exportName: "whatsappLegacySessionSurface",
},
});