mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 14:40:43 +00:00
12 lines
381 B
TypeScript
12 lines
381 B
TypeScript
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
import { migrateLegacyCanvasHostConfig } from "./src/config-migration.js";
|
|
|
|
export default definePluginEntry({
|
|
id: "canvas",
|
|
name: "Canvas Setup",
|
|
description: "Lightweight Canvas setup hooks",
|
|
register(api) {
|
|
api.registerConfigMigration((config) => migrateLegacyCanvasHostConfig(config));
|
|
},
|
|
});
|