Files
openclaw/scripts/lib/plugin-sdk-doc-metadata.ts
2026-07-25 01:00:53 -07:00

111 lines
2.1 KiB
TypeScript

// Plugin Sdk Doc Metadata script supports OpenClaw repository automation.
export type PluginSdkDocCategory =
| "channel"
| "core"
| "legacy"
| "provider"
| "runtime"
| "utilities";
type PluginSdkDocMetadata = {
category: PluginSdkDocCategory;
};
export const pluginSdkDocMetadata = {
core: {
category: "core",
},
health: {
category: "core",
},
"approval-runtime": {
category: "runtime",
},
"approval-auth-runtime": {
category: "runtime",
},
"approval-client-runtime": {
category: "runtime",
},
"approval-delivery-runtime": {
category: "runtime",
},
"approval-gateway-runtime": {
category: "runtime",
},
"approval-native-runtime": {
category: "runtime",
},
"approval-reply-runtime": {
category: "runtime",
},
"plugin-entry": {
category: "core",
},
"channel-actions": {
category: "channel",
},
"channel-config-schema": {
category: "channel",
},
"channel-contract": {
category: "channel",
},
"channel-pairing": {
category: "channel",
},
"channel-ingress-runtime": {
category: "channel",
},
"channel-reply-pipeline": {
category: "channel",
},
"channel-setup": {
category: "channel",
},
"channel-dm-policy": {
category: "channel",
},
"command-auth": {
category: "channel",
},
"command-status": {
category: "channel",
},
"secret-input": {
category: "channel",
},
"webhook-ingress": {
category: "channel",
},
"widget-html": {
category: "utilities",
},
"runtime-store": {
category: "runtime",
},
"session-store-runtime": {
category: "runtime",
},
"agent-runtime": {
category: "runtime",
},
"agent-harness-runtime": {
category: "runtime",
},
"speech-settings": {
category: "provider",
},
"allow-from": {
category: "utilities",
},
"reply-payload": {
category: "utilities",
},
"media-local-roots": {
category: "utilities",
},
} as const satisfies Record<string, PluginSdkDocMetadata>;
export type PluginSdkDocEntrypoint = keyof typeof pluginSdkDocMetadata;