feat: plugin system + voice-call

This commit is contained in:
Peter Steinberger
2026-01-12 01:16:39 +00:00
parent a6ea74f8e6
commit 2f4a248314
16 changed files with 614 additions and 58 deletions

View File

@@ -11,6 +11,14 @@ export type PluginLogger = {
error: (message: string) => void;
};
export type PluginConfigUiHint = {
label?: string;
help?: string;
advanced?: boolean;
sensitive?: boolean;
placeholder?: string;
};
export type PluginConfigValidation =
| { ok: true; value?: unknown }
| { ok: false; errors: string[] };
@@ -25,6 +33,7 @@ export type ClawdbotPluginConfigSchema = {
};
parse?: (value: unknown) => unknown;
validate?: (value: unknown) => PluginConfigValidation;
uiHints?: Record<string, PluginConfigUiHint>;
};
export type ClawdbotPluginToolContext = {