mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 17:51:10 +00:00
* refactor(canvas): promote inline widgets to core * docs(agents): note discord show_widget ownership at core registration * ci: retrigger after GitHub scheduling outage * fix(canvas): satisfy dead-code and test type checks
37 lines
996 B
TypeScript
37 lines
996 B
TypeScript
/** Runtime API exports for Canvas plugin host, CLI, and capability helpers. */
|
|
export {
|
|
canvasConfigSchema,
|
|
isCanvasHostEnabled,
|
|
isCanvasPluginEnabled,
|
|
parseCanvasPluginConfig,
|
|
resolveCanvasHostConfig,
|
|
type CanvasHostConfig,
|
|
type CanvasPluginConfig,
|
|
} from "./src/config.js";
|
|
export {
|
|
A2UI_PATH,
|
|
CANVAS_HOST_PATH,
|
|
CANVAS_WS_PATH,
|
|
handleA2uiHttpRequest,
|
|
} from "./src/host/a2ui.js";
|
|
export {
|
|
createCanvasHostHandler,
|
|
startCanvasHost,
|
|
type CanvasHostHandler,
|
|
type CanvasHostServer,
|
|
} from "./src/host/server.js";
|
|
export {
|
|
registerNodesCanvasCommands,
|
|
type CanvasCliDependencies,
|
|
type CanvasNodesRpcOpts,
|
|
} from "./src/cli.js";
|
|
export { canvasSnapshotTempPath, parseCanvasSnapshotPayload } from "./src/cli-helpers.js";
|
|
export {
|
|
buildCanvasScopedHostUrl,
|
|
CANVAS_CAPABILITY_PATH_PREFIX,
|
|
CANVAS_CAPABILITY_TTL_MS,
|
|
mintCanvasCapabilityToken,
|
|
normalizeCanvasScopedUrl,
|
|
} from "./src/capability.js";
|
|
export { resolveCanvasHostUrl } from "./src/host-url.js";
|