mcp-ai-agent-guidelines
Version:
A comprehensive Model Context Protocol server providing advanced tools, resources, and prompts for implementing AI agent best practices
56 lines • 2.74 kB
TypeScript
import { z } from "zod";
declare const DependencyAuditorSchema: z.ZodObject<{
dependencyContent: z.ZodOptional<z.ZodString>;
packageJsonContent: z.ZodOptional<z.ZodString>;
fileType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["package.json", "requirements.txt", "pyproject.toml", "pipfile", "go.mod", "Cargo.toml", "Gemfile", "vcpkg.json", "conanfile.txt", "rockspec", "csproj", "uv.lock", "yarn.lock", "tsconfig.json", "auto"]>>>;
checkOutdated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
checkDeprecated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
checkVulnerabilities: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
suggestAlternatives: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
analyzeBundleSize: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
includeReferences: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
includeMetadata: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
inputFile: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
includeReferences: boolean;
includeMetadata: boolean;
fileType: "package.json" | "requirements.txt" | "pyproject.toml" | "pipfile" | "go.mod" | "Cargo.toml" | "Gemfile" | "vcpkg.json" | "conanfile.txt" | "rockspec" | "csproj" | "uv.lock" | "yarn.lock" | "tsconfig.json" | "auto";
checkOutdated: boolean;
checkDeprecated: boolean;
checkVulnerabilities: boolean;
suggestAlternatives: boolean;
analyzeBundleSize: boolean;
inputFile?: string | undefined;
dependencyContent?: string | undefined;
packageJsonContent?: string | undefined;
}, {
includeReferences?: boolean | undefined;
includeMetadata?: boolean | undefined;
inputFile?: string | undefined;
dependencyContent?: string | undefined;
packageJsonContent?: string | undefined;
fileType?: "package.json" | "requirements.txt" | "pyproject.toml" | "pipfile" | "go.mod" | "Cargo.toml" | "Gemfile" | "vcpkg.json" | "conanfile.txt" | "rockspec" | "csproj" | "uv.lock" | "yarn.lock" | "tsconfig.json" | "auto" | undefined;
checkOutdated?: boolean | undefined;
checkDeprecated?: boolean | undefined;
checkVulnerabilities?: boolean | undefined;
suggestAlternatives?: boolean | undefined;
analyzeBundleSize?: boolean | undefined;
}>;
type DependencyAuditorInput = z.infer<typeof DependencyAuditorSchema>;
export declare function dependencyAuditor(args: unknown): Promise<{
content: {
type: string;
text: string;
}[];
}>;
/**
* Handle legacy package.json for backward compatibility
*/
export declare function handleLegacyPackageJson(content: string, input: DependencyAuditorInput): {
content: {
type: string;
text: string;
}[];
};
export {};
//# sourceMappingURL=dependency-auditor.d.ts.map