20 lines
516 B
TypeScript
20 lines
516 B
TypeScript
export interface ToolContext {
|
|
workspaceRoot: string;
|
|
gitea: {
|
|
apiUrl: string;
|
|
apiToken: string;
|
|
username: string;
|
|
};
|
|
coolify: {
|
|
apiUrl: string;
|
|
apiToken: string;
|
|
};
|
|
}
|
|
export interface ToolDefinition {
|
|
name: string;
|
|
description: string;
|
|
parameters: Record<string, unknown>;
|
|
}
|
|
export declare const ALL_TOOLS: ToolDefinition[];
|
|
export declare function executeTool(name: string, args: Record<string, unknown>, ctx: ToolContext): Promise<unknown>;
|