mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 13:41:35 +00:00
* feat(dashboard): add plugin capability declarations * docs(dashboard): describe plugin capabilities * fix(plugins): preserve registry map cloning * fix(dashboard): make plugin grant ids unambiguous * fix(dashboard): align generated plugin grant ids * chore(boards): internalize verb ids and refresh protocol snapshots
15 lines
440 B
TypeScript
15 lines
440 B
TypeScript
export type PluginSurfaceManifest = {
|
|
id?: string;
|
|
channels?: string[];
|
|
providers?: string[];
|
|
contracts?: Record<string, unknown>;
|
|
dashboard?: {
|
|
dataBindings?: Array<{ id?: string }>;
|
|
actionVerbs?: Array<{ id?: string }>;
|
|
};
|
|
skills?: unknown[];
|
|
};
|
|
|
|
/** Render translatable surface labels with exact manifest identifiers as inline code. */
|
|
export function resolvePluginSurface(manifest: PluginSurfaceManifest): string;
|