fix: harden antigravity claude support (#968)

Co-authored-by: Max <rdev@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-01-16 01:52:34 +00:00
parent 5b827528f8
commit b7ba94f0c1
13 changed files with 101 additions and 181 deletions

View File

@@ -138,6 +138,11 @@ export type ClawdbotPluginChannelRegistration = {
dock?: ChannelDock;
};
export type ClawdbotPluginProviderRegistration = {
id: string;
[key: string]: unknown;
};
export type ClawdbotPluginDefinition = {
id?: string;
name?: string;
@@ -165,6 +170,7 @@ export type ClawdbotPluginApi = {
tool: AnyAgentTool | ClawdbotPluginToolFactory,
opts?: { name?: string; names?: string[] },
) => void;
registerProvider: (provider: ClawdbotPluginProviderRegistration) => void;
registerHttpHandler: (handler: ClawdbotPluginHttpHandler) => void;
registerChannel: (registration: ClawdbotPluginChannelRegistration | ChannelPlugin) => void;
registerGatewayMethod: (method: string, handler: GatewayRequestHandler) => void;