mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-01 19:03:04 +08:00
Summary:
- add plugin-state runtime SDK subpaths backed by the existing sidecar DB
- migrate Discord model-picker preferences and Feishu dedup state to plugin-state keyed stores
- wire doctor legacy-state migration imports, including TTL preservation, for existing plugin JSON state
Verification:
- pnpm plugin-sdk:api:check
- focused plugin-state, doctor, Discord, Feishu, and package-boundary Vitest suites
- git diff --check origin/main...HEAD
- env -u OPENCLAW_TESTBOX pnpm check:changed
- autoreview --mode branch --base origin/main
- GitHub Actions PR checks green on 1025c2b570
17 lines
464 B
TypeScript
17 lines
464 B
TypeScript
import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
|
|
export default defineBundledChannelSetupEntry({
|
|
importMetaUrl: import.meta.url,
|
|
features: {
|
|
legacyStateMigrations: true,
|
|
},
|
|
plugin: {
|
|
specifier: "./setup-plugin-api.js",
|
|
exportName: "discordSetupPlugin",
|
|
},
|
|
legacyStateMigrations: {
|
|
specifier: "./legacy-state-migrations-api.js",
|
|
exportName: "detectDiscordLegacyStateMigrations",
|
|
},
|
|
});
|