UNPKG

octocode-mcp

Version:

Model Context Protocol (MCP) server for advanced GitHub repository analysis and code discovery. Provides AI assistants with powerful tools to search, analyze, and understand codebases across GitHub.

192 lines (191 loc) 6.03 kB
import { z } from 'zod'; export declare const FileContentQuerySchema: z.ZodEffects<z.ZodObject<{ mainResearchGoal: z.ZodString; researchGoal: z.ZodString; reasoning: z.ZodString; } & { owner: z.ZodString; repo: z.ZodString; minified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; sanitize: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; path: z.ZodString; branch: z.ZodOptional<z.ZodString>; fullContent: z.ZodDefault<z.ZodBoolean>; startLine: z.ZodOptional<z.ZodNumber>; endLine: z.ZodOptional<z.ZodNumber>; matchString: z.ZodOptional<z.ZodString>; matchStringContextLines: z.ZodDefault<z.ZodNumber>; }, "strip", z.ZodTypeAny, { path: string; fullContent: boolean; mainResearchGoal: string; researchGoal: string; reasoning: string; owner: string; repo: string; sanitize: boolean; minified: boolean; matchStringContextLines: number; branch?: string | undefined; startLine?: number | undefined; endLine?: number | undefined; matchString?: string | undefined; }, { path: string; mainResearchGoal: string; researchGoal: string; reasoning: string; owner: string; repo: string; fullContent?: boolean | undefined; sanitize?: boolean | undefined; branch?: string | undefined; startLine?: number | undefined; endLine?: number | undefined; minified?: boolean | undefined; matchString?: string | undefined; matchStringContextLines?: number | undefined; }>, { path: string; fullContent: boolean; mainResearchGoal: string; researchGoal: string; reasoning: string; owner: string; repo: string; sanitize: boolean; minified: boolean; matchStringContextLines: number; branch?: string | undefined; startLine?: number | undefined; endLine?: number | undefined; matchString?: string | undefined; }, { path: string; mainResearchGoal: string; researchGoal: string; reasoning: string; owner: string; repo: string; fullContent?: boolean | undefined; sanitize?: boolean | undefined; branch?: string | undefined; startLine?: number | undefined; endLine?: number | undefined; minified?: boolean | undefined; matchString?: string | undefined; matchStringContextLines?: number | undefined; }>; export declare const FileContentBulkQuerySchema: z.ZodObject<{ queries: z.ZodArray<z.ZodEffects<z.ZodObject<{ mainResearchGoal: z.ZodString; researchGoal: z.ZodString; reasoning: z.ZodString; } & { owner: z.ZodString; repo: z.ZodString; minified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; sanitize: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; path: z.ZodString; branch: z.ZodOptional<z.ZodString>; fullContent: z.ZodDefault<z.ZodBoolean>; startLine: z.ZodOptional<z.ZodNumber>; endLine: z.ZodOptional<z.ZodNumber>; matchString: z.ZodOptional<z.ZodString>; matchStringContextLines: z.ZodDefault<z.ZodNumber>; }, "strip", z.ZodTypeAny, { path: string; fullContent: boolean; mainResearchGoal: string; researchGoal: string; reasoning: string; owner: string; repo: string; sanitize: boolean; minified: boolean; matchStringContextLines: number; branch?: string | undefined; startLine?: number | undefined; endLine?: number | undefined; matchString?: string | undefined; }, { path: string; mainResearchGoal: string; researchGoal: string; reasoning: string; owner: string; repo: string; fullContent?: boolean | undefined; sanitize?: boolean | undefined; branch?: string | undefined; startLine?: number | undefined; endLine?: number | undefined; minified?: boolean | undefined; matchString?: string | undefined; matchStringContextLines?: number | undefined; }>, { path: string; fullContent: boolean; mainResearchGoal: string; researchGoal: string; reasoning: string; owner: string; repo: string; sanitize: boolean; minified: boolean; matchStringContextLines: number; branch?: string | undefined; startLine?: number | undefined; endLine?: number | undefined; matchString?: string | undefined; }, { path: string; mainResearchGoal: string; researchGoal: string; reasoning: string; owner: string; repo: string; fullContent?: boolean | undefined; sanitize?: boolean | undefined; branch?: string | undefined; startLine?: number | undefined; endLine?: number | undefined; minified?: boolean | undefined; matchString?: string | undefined; matchStringContextLines?: number | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { queries: { path: string; fullContent: boolean; mainResearchGoal: string; researchGoal: string; reasoning: string; owner: string; repo: string; sanitize: boolean; minified: boolean; matchStringContextLines: number; branch?: string | undefined; startLine?: number | undefined; endLine?: number | undefined; matchString?: string | undefined; }[]; }, { queries: { path: string; mainResearchGoal: string; researchGoal: string; reasoning: string; owner: string; repo: string; fullContent?: boolean | undefined; sanitize?: boolean | undefined; branch?: string | undefined; startLine?: number | undefined; endLine?: number | undefined; minified?: boolean | undefined; matchString?: string | undefined; matchStringContextLines?: number | undefined; }[]; }>;