sourcewizard
Version:
SourceWizard - AI-powered setup wizard for dev tools and libraries with MCP integration
146 lines (145 loc) • 4.13 kB
TypeScript
import z from "zod";
export declare const toolDefinitions: {
read_file: {
description: string;
parameters: z.ZodObject<{
path: z.ZodString;
}, "strip", z.ZodTypeAny, {
path?: string;
}, {
path?: string;
}>;
};
write_file: {
description: string;
parameters: z.ZodObject<{
path: z.ZodString;
content: z.ZodString;
}, "strip", z.ZodTypeAny, {
path?: string;
content?: string;
}, {
path?: string;
content?: string;
}>;
};
create_file: {
description: string;
parameters: z.ZodObject<{
path: z.ZodString;
content: z.ZodString;
}, "strip", z.ZodTypeAny, {
path?: string;
content?: string;
}, {
path?: string;
content?: string;
}>;
};
list_directory: {
description: string;
parameters: z.ZodObject<{
path: z.ZodString;
include_hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
path?: string;
include_hidden?: boolean;
}, {
path?: string;
include_hidden?: boolean;
}>;
};
append_to_file: {
description: string;
parameters: z.ZodObject<{
path: z.ZodString;
content: z.ZodString;
}, "strip", z.ZodTypeAny, {
path?: string;
content?: string;
}, {
path?: string;
content?: string;
}>;
};
delete_file: {
description: string;
parameters: z.ZodObject<{
path: z.ZodString;
recursive: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
path?: string;
recursive?: boolean;
}, {
path?: string;
recursive?: boolean;
}>;
};
edit_file: {
description: string;
parameters: z.ZodObject<{
path: z.ZodString;
old_string: z.ZodString;
new_string: z.ZodString;
}, "strip", z.ZodTypeAny, {
path?: string;
old_string?: string;
new_string?: string;
}, {
path?: string;
old_string?: string;
new_string?: string;
}>;
};
get_bulk_target_data: {
description: string;
parameters: z.ZodObject<{
targetNames: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>;
repoPath: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
repoPath?: string;
targetNames?: string | string[];
}, {
repoPath?: string;
targetNames?: string | string[];
}>;
};
typecheck: {
description: string;
parameters: z.ZodObject<{
target: z.ZodOptional<z.ZodString>;
repoPath: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
target?: string;
repoPath?: string;
}, {
target?: string;
repoPath?: string;
}>;
};
add_package: {
description: string;
parameters: z.ZodObject<{
packageName: z.ZodString;
target: z.ZodOptional<z.ZodString>;
isDev: z.ZodOptional<z.ZodBoolean>;
useWorkspace: z.ZodOptional<z.ZodBoolean>;
additionalFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
repoPath: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
packageName?: string;
target?: string;
repoPath?: string;
isDev?: boolean;
useWorkspace?: boolean;
additionalFlags?: string[];
}, {
packageName?: string;
target?: string;
repoPath?: string;
isDev?: boolean;
useWorkspace?: boolean;
additionalFlags?: string[];
}>;
};
};