@octocodeai/octocode-core 1.0.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configLoader.d.ts +5 -1
- package/dist/data/compressed.js +1 -1
- package/dist/data/default.json +319 -0
- package/dist/index.d.ts +2 -6
- package/dist/index.js +1 -1
- package/dist/schemas/descriptions.d.ts +17 -0
- package/dist/schemas/descriptions.js +1 -0
- package/dist/schemas/extraTypes.d.ts +205 -0
- package/dist/schemas/index.d.ts +431 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/outputs.d.ts +817 -0
- package/dist/schemas/outputs.js +1 -0
- package/dist/schemas/runtime.d.ts +32 -0
- package/dist/schemas/runtime.js +1 -0
- package/dist/types/index.d.ts +383 -0
- package/dist/types/index.js +1 -0
- package/package.json +31 -8
- package/dist/latest/index.d.ts +0 -3
- package/dist/latest/index.js +0 -8
- package/dist/lib/deep-merge.d.ts +0 -7
- package/dist/lib/deep-merge.js +0 -1
- package/dist/metadata-types/metadata.d.ts +0 -44
- package/dist/schemes/base/baseSchema.d.ts +0 -24
- package/dist/schemes/base/baseSchema.js +0 -1
- package/dist/schemes/helpers/githubSchemaHelpers.d.ts +0 -158
- package/dist/schemes/helpers/githubSchemaHelpers.js +0 -1
- package/dist/schemes/helpers/localSchemaHelpers.d.ts +0 -164
- package/dist/schemes/helpers/localSchemaHelpers.js +0 -1
- package/dist/schemes/helpers/lspSchemaBuilders.d.ts +0 -20
- package/dist/schemes/helpers/lspSchemaBuilders.js +0 -1
- package/dist/schemes/helpers/lspSchemaDescriptions.d.ts +0 -5
- package/dist/schemes/helpers/lspSchemaDescriptions.js +0 -1
- package/dist/schemes/helpers/lspSchemaHelpers.d.ts +0 -52
- package/dist/schemes/helpers/lspSchemaHelpers.js +0 -1
- package/dist/schemes/helpers/schemaHelperFactory.d.ts +0 -3
- package/dist/schemes/helpers/schemaHelperFactory.js +0 -1
- package/dist/schemes/index.d.ts +0 -25
- package/dist/schemes/index.js +0 -1
- package/dist/schemes/input/githubCloneRepo.d.ts +0 -33
- package/dist/schemes/input/githubCloneRepo.js +0 -1
- package/dist/schemes/input/githubFetchContent.d.ts +0 -50
- package/dist/schemes/input/githubFetchContent.js +0 -1
- package/dist/schemes/input/githubSearchCode.d.ts +0 -46
- package/dist/schemes/input/githubSearchCode.js +0 -1
- package/dist/schemes/input/githubSearchPullRequests.d.ts +0 -140
- package/dist/schemes/input/githubSearchPullRequests.js +0 -1
- package/dist/schemes/input/githubSearchRepos.d.ts +0 -62
- package/dist/schemes/input/githubSearchRepos.js +0 -1
- package/dist/schemes/input/githubViewRepoStructure.d.ts +0 -40
- package/dist/schemes/input/githubViewRepoStructure.js +0 -1
- package/dist/schemes/input/localFindFiles.d.ts +0 -109
- package/dist/schemes/input/localFindFiles.js +0 -1
- package/dist/schemes/input/localGetFileContent.d.ts +0 -37
- package/dist/schemes/input/localGetFileContent.js +0 -1
- package/dist/schemes/input/localSearchCode.d.ts +0 -143
- package/dist/schemes/input/localSearchCode.js +0 -1
- package/dist/schemes/input/localViewStructure.d.ts +0 -65
- package/dist/schemes/input/localViewStructure.js +0 -1
- package/dist/schemes/input/lspCallHierarchy.d.ts +0 -45
- package/dist/schemes/input/lspCallHierarchy.js +0 -1
- package/dist/schemes/input/lspFindReferences.d.ts +0 -37
- package/dist/schemes/input/lspFindReferences.js +0 -1
- package/dist/schemes/input/lspGotoDefinition.d.ts +0 -31
- package/dist/schemes/input/lspGotoDefinition.js +0 -1
- package/dist/schemes/input/packageSearch.d.ts +0 -79
- package/dist/schemes/input/packageSearch.js +0 -1
- package/dist/schemes/output/outputSchemas.d.ts +0 -1311
- package/dist/schemes/output/outputSchemas.js +0 -1
- package/dist/schemes/output/outputTypes.d.ts +0 -66
- package/dist/schemes/output/outputTypes.js +0 -1
- package/dist/toolMetadata.d.ts +0 -2
- package/dist/toolMetadata.js +0 -1
- package/dist/types.d.ts +0 -54
- package/dist/types.js +0 -1
- package/dist/versionLoader.d.ts +0 -11
- package/dist/versionLoader.js +0 -1
- /package/dist/{metadata-types/metadata.js → schemas/extraTypes.js} +0 -0
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auxiliary downstream shapes for provider mappers and finalisers.
|
|
3
|
+
* These types are too downstream-shaped to live in `src/types/index.ts`.
|
|
4
|
+
*
|
|
5
|
+
* Canonical data shapes (`LocalSearchCodeMatch`, `LocalSearchCodeFile`,
|
|
6
|
+
* `LocalFindFilesEntry`, etc.) live in `src/types/index.ts`. This file only carries:
|
|
7
|
+
* - the `BaseQuery` meta + `BaseQueryLocal`,
|
|
8
|
+
* - the *mutable, flat* `*ToolResult` envelopes built by `octocode-mcp`,
|
|
9
|
+
* - provider-mapper shapes (`GitHubRepositoryOutput`,
|
|
10
|
+
* `GitHubSearchRepositoriesData`).
|
|
11
|
+
*/
|
|
12
|
+
import type { CharPagination, LspRange, LspLocation, LspMode, Verbosity, PaginationInfo, LocalSearchCodeFile, LocalFindFilesEntry, GitHubRepositoryItem, GitHubPullRequestItem, GitHubSearchCodeGroup, GitHubFileContentData } from "../types/index.js";
|
|
13
|
+
export interface BaseQuery {
|
|
14
|
+
id?: string;
|
|
15
|
+
mainResearchGoal?: string;
|
|
16
|
+
researchGoal?: string;
|
|
17
|
+
reasoning?: string;
|
|
18
|
+
verbosity?: Verbosity;
|
|
19
|
+
}
|
|
20
|
+
/** Local-tool flavour — adds the conventional `path` field. */
|
|
21
|
+
export interface BaseQueryLocal extends BaseQuery {
|
|
22
|
+
path?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface LspExactPosition {
|
|
25
|
+
uri: string;
|
|
26
|
+
line: number;
|
|
27
|
+
character: number;
|
|
28
|
+
}
|
|
29
|
+
export interface LspCallHierarchyItem {
|
|
30
|
+
name: string;
|
|
31
|
+
uri: string;
|
|
32
|
+
range: LspRange;
|
|
33
|
+
content?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface LspIncomingCall {
|
|
36
|
+
from: LspCallHierarchyItem;
|
|
37
|
+
fromRanges?: LspRange[];
|
|
38
|
+
}
|
|
39
|
+
export interface LspOutgoingCall {
|
|
40
|
+
to: LspCallHierarchyItem;
|
|
41
|
+
fromRanges?: LspRange[];
|
|
42
|
+
}
|
|
43
|
+
interface BaseToolResult {
|
|
44
|
+
status?: "empty" | "error";
|
|
45
|
+
hints?: readonly string[] | string[];
|
|
46
|
+
warnings?: string[];
|
|
47
|
+
error?: string;
|
|
48
|
+
errorCode?: string;
|
|
49
|
+
rawResponseChars?: number;
|
|
50
|
+
/**
|
|
51
|
+
* Index signature — `octocode-mcp`'s bulk runner threads extra
|
|
52
|
+
* fields (`data`, provider-specific blobs) through the result
|
|
53
|
+
* envelope. Keep it permissive so structural assignment to its
|
|
54
|
+
* `ProcessedBulkResult` succeeds without a cast.
|
|
55
|
+
*/
|
|
56
|
+
[key: string]: unknown;
|
|
57
|
+
}
|
|
58
|
+
export interface LocalSearchCodeToolResult extends BaseToolResult {
|
|
59
|
+
files?: LocalSearchCodeFile[];
|
|
60
|
+
pagination?: PaginationInfo;
|
|
61
|
+
searchEngine?: string;
|
|
62
|
+
charPagination?: CharPagination;
|
|
63
|
+
}
|
|
64
|
+
export interface LocalFindFilesToolResult extends BaseToolResult {
|
|
65
|
+
files?: LocalFindFilesEntry[];
|
|
66
|
+
pagination?: PaginationInfo;
|
|
67
|
+
charPagination?: CharPagination | PaginationInfo;
|
|
68
|
+
}
|
|
69
|
+
/** Char-range pair carried by `LocalGetFileContentToolResult.matchRanges`. */
|
|
70
|
+
export interface MatchRange {
|
|
71
|
+
start: number;
|
|
72
|
+
end: number;
|
|
73
|
+
}
|
|
74
|
+
export interface LocalGetFileContentToolResult extends BaseToolResult {
|
|
75
|
+
content?: string;
|
|
76
|
+
totalLines?: number;
|
|
77
|
+
startLine?: number;
|
|
78
|
+
endLine?: number;
|
|
79
|
+
isPartial?: boolean;
|
|
80
|
+
matchRanges?: MatchRange[];
|
|
81
|
+
/**
|
|
82
|
+
* Pagination metadata — either a char-budget paginator
|
|
83
|
+
* (`CharPagination`) for fully rendered output, or a row-counter
|
|
84
|
+
* paginator when results are paginated by line/match index.
|
|
85
|
+
*/
|
|
86
|
+
pagination?: CharPagination | PaginationInfo;
|
|
87
|
+
modified?: string;
|
|
88
|
+
lastModified?: string;
|
|
89
|
+
lastModifiedBy?: string;
|
|
90
|
+
filePath?: string;
|
|
91
|
+
}
|
|
92
|
+
export interface LocalViewStructureEntryFlat {
|
|
93
|
+
name: string;
|
|
94
|
+
type: "file" | "dir" | "link" | "directory" | "symlink";
|
|
95
|
+
path?: string;
|
|
96
|
+
depth?: number;
|
|
97
|
+
size?: number | string;
|
|
98
|
+
modified?: string;
|
|
99
|
+
permissions?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface LocalViewStructureToolResult extends BaseToolResult {
|
|
102
|
+
entries?: LocalViewStructureEntryFlat[];
|
|
103
|
+
summary?: string | Record<string, unknown>;
|
|
104
|
+
pagination?: PaginationInfo;
|
|
105
|
+
charPagination?: CharPagination;
|
|
106
|
+
}
|
|
107
|
+
export interface LspGotoDefinitionToolResult extends BaseToolResult {
|
|
108
|
+
locations?: LspLocation[];
|
|
109
|
+
lspMode?: LspMode;
|
|
110
|
+
}
|
|
111
|
+
export interface LspFindReferencesToolResult extends BaseToolResult {
|
|
112
|
+
locations?: LspLocation[];
|
|
113
|
+
references?: LspLocation[];
|
|
114
|
+
pagination?: PaginationInfo;
|
|
115
|
+
lspMode?: LspMode;
|
|
116
|
+
charPagination?: CharPagination;
|
|
117
|
+
}
|
|
118
|
+
export interface LspCallHierarchyToolResult extends BaseToolResult {
|
|
119
|
+
item?: LspCallHierarchyItem;
|
|
120
|
+
incomingCalls?: LspIncomingCall[];
|
|
121
|
+
outgoingCalls?: LspOutgoingCall[];
|
|
122
|
+
direction?: "incoming" | "outgoing";
|
|
123
|
+
depth?: number;
|
|
124
|
+
pagination?: PaginationInfo;
|
|
125
|
+
lspMode?: LspMode;
|
|
126
|
+
charPagination?: CharPagination;
|
|
127
|
+
}
|
|
128
|
+
export interface GitHubRepoStructureDirectoryEntry {
|
|
129
|
+
files: string[];
|
|
130
|
+
folders: string[];
|
|
131
|
+
}
|
|
132
|
+
export interface GitHubDirectoryFileEntry {
|
|
133
|
+
path: string;
|
|
134
|
+
size: number;
|
|
135
|
+
type: string;
|
|
136
|
+
}
|
|
137
|
+
export interface GitHubSearchCodeToolResult extends BaseToolResult {
|
|
138
|
+
results?: GitHubSearchCodeGroup[];
|
|
139
|
+
pagination?: PaginationInfo;
|
|
140
|
+
outputPagination?: CharPagination;
|
|
141
|
+
}
|
|
142
|
+
export interface GitHubFetchContentToolResult extends BaseToolResult {
|
|
143
|
+
results?: GitHubFileContentData[];
|
|
144
|
+
pagination?: CharPagination;
|
|
145
|
+
}
|
|
146
|
+
export interface GitHubViewRepoStructureToolResult extends BaseToolResult {
|
|
147
|
+
resolvedBranch?: string;
|
|
148
|
+
branchFallback?: {
|
|
149
|
+
requestedBranch: string;
|
|
150
|
+
actualBranch: string;
|
|
151
|
+
};
|
|
152
|
+
structure?: Record<string, GitHubRepoStructureDirectoryEntry>;
|
|
153
|
+
summary?: {
|
|
154
|
+
totalFiles?: number;
|
|
155
|
+
totalFolders?: number;
|
|
156
|
+
truncated?: boolean;
|
|
157
|
+
filtered?: boolean;
|
|
158
|
+
originalCount?: number;
|
|
159
|
+
};
|
|
160
|
+
pagination?: PaginationInfo;
|
|
161
|
+
}
|
|
162
|
+
export interface GitHubSearchRepositoriesToolResult extends BaseToolResult {
|
|
163
|
+
repositories?: GitHubRepositoryItem[];
|
|
164
|
+
pagination?: PaginationInfo;
|
|
165
|
+
}
|
|
166
|
+
export interface GitHubSearchPullRequestsToolResult extends BaseToolResult {
|
|
167
|
+
pull_requests?: GitHubPullRequestItem[];
|
|
168
|
+
total_count?: number;
|
|
169
|
+
pagination?: PaginationInfo;
|
|
170
|
+
outputPagination?: {
|
|
171
|
+
charOffset: number;
|
|
172
|
+
charLength: number;
|
|
173
|
+
totalChars: number;
|
|
174
|
+
hasMore: boolean;
|
|
175
|
+
currentPage: number;
|
|
176
|
+
totalPages: number;
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
export interface GitHubRepositoryOutput {
|
|
180
|
+
owner: string;
|
|
181
|
+
repo: string;
|
|
182
|
+
defaultBranch: string;
|
|
183
|
+
stars: number;
|
|
184
|
+
description: string;
|
|
185
|
+
url: string;
|
|
186
|
+
createdAt: string;
|
|
187
|
+
updatedAt: string;
|
|
188
|
+
pushedAt: string;
|
|
189
|
+
visibility: "public" | "private" | "internal";
|
|
190
|
+
topics: string[];
|
|
191
|
+
forksCount: number;
|
|
192
|
+
openIssuesCount?: number;
|
|
193
|
+
language?: string;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Provider-facing repos-search result. Mirrors `GitHubSearchReposData`
|
|
197
|
+
* but uses `GitHubRepositoryOutput` (the structurally rich shape with
|
|
198
|
+
* `owner`/`repo` split, provider metadata) instead of the simpler
|
|
199
|
+
* `GitHubRepositoryItem`.
|
|
200
|
+
*/
|
|
201
|
+
export interface GitHubSearchRepositoriesData {
|
|
202
|
+
repositories: GitHubRepositoryOutput[];
|
|
203
|
+
pagination?: PaginationInfo;
|
|
204
|
+
}
|
|
205
|
+
export {};
|
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod input schemas — the canonical schemas every tool exposes to MCP
|
|
3
|
+
* clients. The mcp-host overlay extends these with default pagination
|
|
4
|
+
* values, verbosity, and meta fields (id/researchGoal/etc.).
|
|
5
|
+
*
|
|
6
|
+
* All schemas are intentionally loose at this layer:
|
|
7
|
+
* - String enums use `z.string()` so the overlay can tighten via
|
|
8
|
+
* `.extend({ field: z.enum([...]) })` without conflict.
|
|
9
|
+
* - Numbers are unbounded — bounds are applied by the overlay.
|
|
10
|
+
* - Optional everywhere except `pattern` / `path` / `uri` / etc.
|
|
11
|
+
*
|
|
12
|
+
* The overlay calls `.extend()`, `.shape`, `.element` on these schemas,
|
|
13
|
+
* so they must remain `z.ZodObject<...>` shapes (no transforms / unions
|
|
14
|
+
* at the top level unless documented).
|
|
15
|
+
*/
|
|
16
|
+
import { z } from "zod/v4";
|
|
17
|
+
export declare const RipgrepQuerySchema: z.ZodObject<{
|
|
18
|
+
pattern: z.ZodString;
|
|
19
|
+
path: z.ZodString;
|
|
20
|
+
mode: z.ZodOptional<z.ZodString>;
|
|
21
|
+
fixedString: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
perlRegex: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
smartCase: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
+
caseInsensitive: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
caseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
wholeWord: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
invertMatch: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
type: z.ZodOptional<z.ZodString>;
|
|
29
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
excludeDir: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
|
+
noIgnore: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
followSymlinks: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
+
filesOnly: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
+
filesWithoutMatch: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
count: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
countMatches: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
contextLines: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
beforeContext: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
afterContext: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
matchContentLength: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
maxMatchesPerFile: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
filesPerPage: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
filePageNumber: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
matchesPerPage: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
multilineDotall: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
binaryFiles: z.ZodOptional<z.ZodString>;
|
|
51
|
+
includeStats: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
encoding: z.ZodOptional<z.ZodString>;
|
|
53
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
54
|
+
sortReverse: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
noMessages: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
lineRegexp: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
passthru: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
+
showFileLastModified: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
+
noUnicode: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
+
threads: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
mmap: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
64
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
65
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
66
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
67
|
+
}>>;
|
|
68
|
+
id: z.ZodOptional<z.ZodString>;
|
|
69
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
70
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
71
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
export declare const FindFilesQuerySchema: z.ZodObject<{
|
|
74
|
+
path: z.ZodString;
|
|
75
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
minDepth: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
name: z.ZodOptional<z.ZodString>;
|
|
78
|
+
iname: z.ZodOptional<z.ZodString>;
|
|
79
|
+
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
80
|
+
pathPattern: z.ZodOptional<z.ZodString>;
|
|
81
|
+
regex: z.ZodOptional<z.ZodString>;
|
|
82
|
+
regexType: z.ZodOptional<z.ZodString>;
|
|
83
|
+
type: z.ZodOptional<z.ZodString>;
|
|
84
|
+
empty: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
modifiedWithin: z.ZodOptional<z.ZodString>;
|
|
86
|
+
modifiedBefore: z.ZodOptional<z.ZodString>;
|
|
87
|
+
accessedWithin: z.ZodOptional<z.ZodString>;
|
|
88
|
+
sizeGreater: z.ZodOptional<z.ZodString>;
|
|
89
|
+
sizeLess: z.ZodOptional<z.ZodString>;
|
|
90
|
+
permissions: z.ZodOptional<z.ZodString>;
|
|
91
|
+
executable: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
+
readable: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
+
writable: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
+
excludeDir: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
95
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
details: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
filesPerPage: z.ZodOptional<z.ZodNumber>;
|
|
98
|
+
filePageNumber: z.ZodOptional<z.ZodNumber>;
|
|
99
|
+
showFileLastModified: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
101
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
102
|
+
sortBy: z.ZodOptional<z.ZodString>;
|
|
103
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
104
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
105
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
106
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
107
|
+
}>>;
|
|
108
|
+
id: z.ZodOptional<z.ZodString>;
|
|
109
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
110
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
111
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
export declare const ViewStructureQuerySchema: z.ZodObject<{
|
|
114
|
+
path: z.ZodString;
|
|
115
|
+
details: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
humanReadable: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
+
sortBy: z.ZodOptional<z.ZodString>;
|
|
119
|
+
reverse: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
+
entriesPerPage: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
entryPageNumber: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
123
|
+
directoriesOnly: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
+
filesOnly: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
extension: z.ZodOptional<z.ZodString>;
|
|
126
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
127
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
128
|
+
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
129
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
130
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
132
|
+
showFileLastModified: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
134
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
135
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
136
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
137
|
+
}>>;
|
|
138
|
+
id: z.ZodOptional<z.ZodString>;
|
|
139
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
140
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
141
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
export declare const FetchContentQuerySchema: z.ZodObject<{
|
|
144
|
+
path: z.ZodString;
|
|
145
|
+
fullContent: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
+
matchString: z.ZodOptional<z.ZodString>;
|
|
147
|
+
matchStringContextLines: z.ZodOptional<z.ZodNumber>;
|
|
148
|
+
matchStringIsRegex: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
+
matchStringCaseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
153
|
+
endLine: z.ZodOptional<z.ZodNumber>;
|
|
154
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
155
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
156
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
157
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
158
|
+
}>>;
|
|
159
|
+
id: z.ZodOptional<z.ZodString>;
|
|
160
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
161
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
162
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, z.core.$strip>;
|
|
164
|
+
export declare const FileContentQuerySchema: z.ZodObject<{
|
|
165
|
+
owner: z.ZodString;
|
|
166
|
+
repo: z.ZodString;
|
|
167
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
168
|
+
path: z.ZodString;
|
|
169
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
endLine: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
fullContent: z.ZodOptional<z.ZodBoolean>;
|
|
172
|
+
matchString: z.ZodOptional<z.ZodString>;
|
|
173
|
+
matchStringContextLines: z.ZodOptional<z.ZodNumber>;
|
|
174
|
+
matchStringIsRegex: z.ZodOptional<z.ZodBoolean>;
|
|
175
|
+
matchStringCaseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
176
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
177
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
178
|
+
forceRefresh: z.ZodOptional<z.ZodBoolean>;
|
|
179
|
+
type: z.ZodOptional<z.ZodString>;
|
|
180
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
181
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
182
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
183
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
184
|
+
}>>;
|
|
185
|
+
id: z.ZodOptional<z.ZodString>;
|
|
186
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
187
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
188
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
189
|
+
}, z.core.$strip>;
|
|
190
|
+
export declare const GitHubCodeSearchQuerySchema: z.ZodObject<{
|
|
191
|
+
keywordsToSearch: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
192
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
193
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
194
|
+
extension: z.ZodOptional<z.ZodString>;
|
|
195
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
196
|
+
path: z.ZodOptional<z.ZodString>;
|
|
197
|
+
match: z.ZodOptional<z.ZodEnum<{
|
|
198
|
+
file: "file";
|
|
199
|
+
path: "path";
|
|
200
|
+
}>>;
|
|
201
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
202
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
203
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
204
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
205
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
206
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
207
|
+
}>>;
|
|
208
|
+
id: z.ZodOptional<z.ZodString>;
|
|
209
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
210
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
211
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
export declare const GitHubReposSearchSingleQuerySchema: z.ZodObject<{
|
|
214
|
+
keywordsToSearch: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
215
|
+
topicsToSearch: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
216
|
+
language: z.ZodOptional<z.ZodString>;
|
|
217
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
218
|
+
stars: z.ZodOptional<z.ZodString>;
|
|
219
|
+
size: z.ZodOptional<z.ZodString>;
|
|
220
|
+
created: z.ZodOptional<z.ZodString>;
|
|
221
|
+
updated: z.ZodOptional<z.ZodString>;
|
|
222
|
+
match: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
223
|
+
name: "name";
|
|
224
|
+
description: "description";
|
|
225
|
+
readme: "readme";
|
|
226
|
+
}>>>;
|
|
227
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
228
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
229
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
230
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
231
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
232
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
233
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
234
|
+
}>>;
|
|
235
|
+
id: z.ZodOptional<z.ZodString>;
|
|
236
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
237
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
238
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
239
|
+
}, z.core.$strip>;
|
|
240
|
+
export declare const GitHubPullRequestSearchQuerySchema: z.ZodObject<{
|
|
241
|
+
query: z.ZodOptional<z.ZodString>;
|
|
242
|
+
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
243
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
244
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
245
|
+
state: z.ZodOptional<z.ZodString>;
|
|
246
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
247
|
+
author: z.ZodOptional<z.ZodString>;
|
|
248
|
+
commenter: z.ZodOptional<z.ZodString>;
|
|
249
|
+
involves: z.ZodOptional<z.ZodString>;
|
|
250
|
+
mentions: z.ZodOptional<z.ZodString>;
|
|
251
|
+
"review-requested": z.ZodOptional<z.ZodString>;
|
|
252
|
+
"reviewed-by": z.ZodOptional<z.ZodString>;
|
|
253
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
254
|
+
"no-label": z.ZodOptional<z.ZodBoolean>;
|
|
255
|
+
"no-milestone": z.ZodOptional<z.ZodBoolean>;
|
|
256
|
+
"no-project": z.ZodOptional<z.ZodBoolean>;
|
|
257
|
+
"no-assignee": z.ZodOptional<z.ZodBoolean>;
|
|
258
|
+
head: z.ZodOptional<z.ZodString>;
|
|
259
|
+
base: z.ZodOptional<z.ZodString>;
|
|
260
|
+
created: z.ZodOptional<z.ZodString>;
|
|
261
|
+
updated: z.ZodOptional<z.ZodString>;
|
|
262
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
263
|
+
"merged-at": z.ZodOptional<z.ZodString>;
|
|
264
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
265
|
+
reactions: z.ZodOptional<z.ZodString>;
|
|
266
|
+
interactions: z.ZodOptional<z.ZodString>;
|
|
267
|
+
draft: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
merged: z.ZodOptional<z.ZodBoolean>;
|
|
269
|
+
matchScope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
270
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
271
|
+
order: z.ZodOptional<z.ZodString>;
|
|
272
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
273
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
274
|
+
withComments: z.ZodOptional<z.ZodBoolean>;
|
|
275
|
+
withCommits: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
+
type: z.ZodOptional<z.ZodString>;
|
|
277
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
278
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
279
|
+
partialContentMetadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
280
|
+
file: z.ZodString;
|
|
281
|
+
additions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
282
|
+
deletions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
283
|
+
}, z.core.$strip>>>;
|
|
284
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
285
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
286
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
287
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
288
|
+
}>>;
|
|
289
|
+
id: z.ZodOptional<z.ZodString>;
|
|
290
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
291
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
292
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
293
|
+
}, z.core.$strip>;
|
|
294
|
+
export declare const GitHubViewRepoStructureQuerySchema: z.ZodObject<{
|
|
295
|
+
owner: z.ZodString;
|
|
296
|
+
repo: z.ZodString;
|
|
297
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
298
|
+
path: z.ZodOptional<z.ZodString>;
|
|
299
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
300
|
+
entriesPerPage: z.ZodOptional<z.ZodNumber>;
|
|
301
|
+
entryPageNumber: z.ZodOptional<z.ZodNumber>;
|
|
302
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
303
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
304
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
305
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
306
|
+
}>>;
|
|
307
|
+
id: z.ZodOptional<z.ZodString>;
|
|
308
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
309
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
310
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
311
|
+
}, z.core.$strip>;
|
|
312
|
+
export declare const NpmPackageQuerySchema: z.ZodObject<{
|
|
313
|
+
ecosystem: z.ZodOptional<z.ZodLiteral<"npm">>;
|
|
314
|
+
name: z.ZodString;
|
|
315
|
+
searchLimit: z.ZodOptional<z.ZodNumber>;
|
|
316
|
+
npmFetchMetadata: z.ZodOptional<z.ZodBoolean>;
|
|
317
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
318
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
319
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
320
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
321
|
+
}>>;
|
|
322
|
+
id: z.ZodOptional<z.ZodString>;
|
|
323
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
324
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
325
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
326
|
+
}, z.core.$strip>;
|
|
327
|
+
export declare const CloneRepoQuerySchema: z.ZodObject<{
|
|
328
|
+
owner: z.ZodString;
|
|
329
|
+
repo: z.ZodString;
|
|
330
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
331
|
+
sparse_path: z.ZodOptional<z.ZodString>;
|
|
332
|
+
forceRefresh: z.ZodOptional<z.ZodBoolean>;
|
|
333
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
334
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
335
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
336
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
337
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
338
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
339
|
+
}>>;
|
|
340
|
+
id: z.ZodOptional<z.ZodString>;
|
|
341
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
342
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
343
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
344
|
+
}, z.core.$strip>;
|
|
345
|
+
export declare const BulkCloneRepoSchema: z.ZodObject<{
|
|
346
|
+
queries: z.ZodArray<z.ZodObject<{
|
|
347
|
+
owner: z.ZodString;
|
|
348
|
+
repo: z.ZodString;
|
|
349
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
350
|
+
sparse_path: z.ZodOptional<z.ZodString>;
|
|
351
|
+
forceRefresh: z.ZodOptional<z.ZodBoolean>;
|
|
352
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
353
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
354
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
355
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
356
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
357
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
358
|
+
}>>;
|
|
359
|
+
id: z.ZodOptional<z.ZodString>;
|
|
360
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
361
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
362
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, z.core.$strip>>;
|
|
364
|
+
}, z.core.$strip>;
|
|
365
|
+
export declare const LSPGotoDefinitionQuerySchema: z.ZodObject<{
|
|
366
|
+
contextLines: z.ZodOptional<z.ZodNumber>;
|
|
367
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
368
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
369
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
370
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
371
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
372
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
373
|
+
}>>;
|
|
374
|
+
uri: z.ZodString;
|
|
375
|
+
symbolName: z.ZodString;
|
|
376
|
+
lineHint: z.ZodNumber;
|
|
377
|
+
orderHint: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
id: z.ZodOptional<z.ZodString>;
|
|
379
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
380
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
381
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
382
|
+
}, z.core.$strip>;
|
|
383
|
+
export declare const LSPFindReferencesQuerySchema: z.ZodObject<{
|
|
384
|
+
includeDeclaration: z.ZodOptional<z.ZodBoolean>;
|
|
385
|
+
contextLines: z.ZodOptional<z.ZodNumber>;
|
|
386
|
+
referencesPerPage: z.ZodOptional<z.ZodNumber>;
|
|
387
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
388
|
+
groupByFile: z.ZodOptional<z.ZodBoolean>;
|
|
389
|
+
includePattern: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
390
|
+
excludePattern: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
391
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
392
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
393
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
394
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
395
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
396
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
397
|
+
}>>;
|
|
398
|
+
uri: z.ZodString;
|
|
399
|
+
symbolName: z.ZodString;
|
|
400
|
+
lineHint: z.ZodNumber;
|
|
401
|
+
orderHint: z.ZodOptional<z.ZodNumber>;
|
|
402
|
+
id: z.ZodOptional<z.ZodString>;
|
|
403
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
404
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
405
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
406
|
+
}, z.core.$strip>;
|
|
407
|
+
export declare const LSPCallHierarchyQuerySchema: z.ZodObject<{
|
|
408
|
+
direction: z.ZodEnum<{
|
|
409
|
+
incoming: "incoming";
|
|
410
|
+
outgoing: "outgoing";
|
|
411
|
+
}>;
|
|
412
|
+
depth: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
contextLines: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
callsPerPage: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
416
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
417
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
418
|
+
verbosity: z.ZodOptional<z.ZodEnum<{
|
|
419
|
+
basic: import("../types/index.js").Verbosity.Basic;
|
|
420
|
+
compact: import("../types/index.js").Verbosity.Compact;
|
|
421
|
+
concise: import("../types/index.js").Verbosity.Concise;
|
|
422
|
+
}>>;
|
|
423
|
+
uri: z.ZodString;
|
|
424
|
+
symbolName: z.ZodString;
|
|
425
|
+
lineHint: z.ZodNumber;
|
|
426
|
+
orderHint: z.ZodOptional<z.ZodNumber>;
|
|
427
|
+
id: z.ZodOptional<z.ZodString>;
|
|
428
|
+
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
429
|
+
researchGoal: z.ZodOptional<z.ZodString>;
|
|
430
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
431
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{z as o}from"zod/v4";import{VERBOSITY_VALUES as n}from"../types/index.js";const t=o.enum([...n]).optional(),e=o.array(o.string()).optional(),i={id:o.string().optional(),mainResearchGoal:o.string().optional(),researchGoal:o.string().optional(),reasoning:o.string().optional()};export const RipgrepQuerySchema=o.object({...i,pattern:o.string(),path:o.string(),mode:o.string().optional(),fixedString:o.boolean().optional(),perlRegex:o.boolean().optional(),smartCase:o.boolean().optional(),caseInsensitive:o.boolean().optional(),caseSensitive:o.boolean().optional(),wholeWord:o.boolean().optional(),invertMatch:o.boolean().optional(),type:o.string().optional(),include:e,exclude:e,excludeDir:e,noIgnore:o.boolean().optional(),hidden:o.boolean().optional(),followSymlinks:o.boolean().optional(),filesOnly:o.boolean().optional(),filesWithoutMatch:o.boolean().optional(),count:o.boolean().optional(),countMatches:o.boolean().optional(),contextLines:o.number().int().optional(),beforeContext:o.number().int().optional(),afterContext:o.number().int().optional(),matchContentLength:o.number().int().optional(),maxMatchesPerFile:o.number().int().optional(),maxFiles:o.number().int().optional(),filesPerPage:o.number().int().optional(),filePageNumber:o.number().int().optional(),matchesPerPage:o.number().int().optional(),multiline:o.boolean().optional(),multilineDotall:o.boolean().optional(),binaryFiles:o.string().optional(),includeStats:o.boolean().optional(),encoding:o.string().optional(),sort:o.string().optional(),sortReverse:o.boolean().optional(),noMessages:o.boolean().optional(),lineRegexp:o.boolean().optional(),passthru:o.boolean().optional(),debug:o.boolean().optional(),showFileLastModified:o.boolean().optional(),noUnicode:o.boolean().optional(),threads:o.number().int().optional(),mmap:o.boolean().optional(),verbosity:t});export const FindFilesQuerySchema=o.object({...i,path:o.string(),maxDepth:o.number().int().optional(),minDepth:o.number().int().optional(),name:o.string().optional(),iname:o.string().optional(),names:e,pathPattern:o.string().optional(),regex:o.string().optional(),regexType:o.string().optional(),type:o.string().optional(),empty:o.boolean().optional(),modifiedWithin:o.string().optional(),modifiedBefore:o.string().optional(),accessedWithin:o.string().optional(),sizeGreater:o.string().optional(),sizeLess:o.string().optional(),permissions:o.string().optional(),executable:o.boolean().optional(),readable:o.boolean().optional(),writable:o.boolean().optional(),excludeDir:e,limit:o.number().int().optional(),details:o.boolean().optional(),filesPerPage:o.number().int().optional(),filePageNumber:o.number().int().optional(),showFileLastModified:o.boolean().optional(),charOffset:o.number().int().optional(),charLength:o.number().int().optional(),sortBy:o.string().optional(),verbosity:t});export const ViewStructureQuerySchema=o.object({...i,path:o.string(),details:o.boolean().optional(),hidden:o.boolean().optional(),humanReadable:o.boolean().optional(),sortBy:o.string().optional(),reverse:o.boolean().optional(),entriesPerPage:o.number().int().optional(),entryPageNumber:o.number().int().optional(),pattern:o.string().optional(),directoriesOnly:o.boolean().optional(),filesOnly:o.boolean().optional(),extension:o.string().optional(),extensions:e,depth:o.number().int().optional(),recursive:o.boolean().optional(),limit:o.number().int().optional(),charOffset:o.number().int().optional(),charLength:o.number().int().optional(),showFileLastModified:o.boolean().optional(),verbosity:t});export const FetchContentQuerySchema=o.object({...i,path:o.string(),fullContent:o.boolean().optional(),matchString:o.string().optional(),matchStringContextLines:o.number().int().optional(),matchStringIsRegex:o.boolean().optional(),matchStringCaseSensitive:o.boolean().optional(),charOffset:o.number().int().optional(),charLength:o.number().int().optional(),startLine:o.number().int().optional(),endLine:o.number().int().optional(),verbosity:t});export const FileContentQuerySchema=o.object({...i,owner:o.string(),repo:o.string(),branch:o.string().optional(),path:o.string(),startLine:o.number().int().optional(),endLine:o.number().int().optional(),fullContent:o.boolean().optional(),matchString:o.string().optional(),matchStringContextLines:o.number().int().optional(),matchStringIsRegex:o.boolean().optional(),matchStringCaseSensitive:o.boolean().optional(),charOffset:o.number().int().optional(),charLength:o.number().int().optional(),forceRefresh:o.boolean().optional(),type:o.string().optional(),verbosity:t});export const GitHubCodeSearchQuerySchema=o.object({...i,keywordsToSearch:e,owner:o.string().optional(),repo:o.string().optional(),extension:o.string().optional(),filename:o.string().optional(),path:o.string().optional(),match:o.enum(["file","path"]).optional(),limit:o.number().int().optional(),page:o.number().int().optional(),verbosity:t});export const GitHubReposSearchSingleQuerySchema=o.object({...i,keywordsToSearch:e,topicsToSearch:e,language:o.string().optional(),owner:o.string().optional(),stars:o.string().optional(),size:o.string().optional(),created:o.string().optional(),updated:o.string().optional(),match:o.array(o.enum(["name","description","readme"])).optional(),sort:o.string().optional(),limit:o.number().int().optional(),page:o.number().int().optional(),verbosity:t});export const GitHubPullRequestSearchQuerySchema=o.object({...i,query:o.string().optional(),prNumber:o.number().int().optional(),owner:o.string().optional(),repo:o.string().optional(),state:o.string().optional(),assignee:o.string().optional(),author:o.string().optional(),commenter:o.string().optional(),involves:o.string().optional(),mentions:o.string().optional(),"review-requested":o.string().optional(),"reviewed-by":o.string().optional(),label:o.union([o.string(),o.array(o.string())]).optional(),"no-label":o.boolean().optional(),"no-milestone":o.boolean().optional(),"no-project":o.boolean().optional(),"no-assignee":o.boolean().optional(),head:o.string().optional(),base:o.string().optional(),created:o.string().optional(),updated:o.string().optional(),closed:o.string().optional(),"merged-at":o.string().optional(),comments:o.string().optional(),reactions:o.string().optional(),interactions:o.string().optional(),draft:o.boolean().optional(),merged:o.boolean().optional(),matchScope:e,sort:o.string().optional(),order:o.string().optional(),limit:o.number().int().optional(),page:o.number().int().optional(),withComments:o.boolean().optional(),withCommits:o.boolean().optional(),type:o.string().optional(),charOffset:o.number().int().optional(),charLength:o.number().int().optional(),partialContentMetadata:o.array(o.object({file:o.string(),additions:o.array(o.number().int()).optional(),deletions:o.array(o.number().int()).optional()})).optional(),verbosity:t});export const GitHubViewRepoStructureQuerySchema=o.object({...i,owner:o.string(),repo:o.string(),branch:o.string().optional(),path:o.string().optional(),depth:o.number().int().optional(),entriesPerPage:o.number().int().optional(),entryPageNumber:o.number().int().optional(),verbosity:t});export const NpmPackageQuerySchema=o.object({...i,ecosystem:o.literal("npm").optional(),name:o.string(),searchLimit:o.number().int().optional(),npmFetchMetadata:o.boolean().optional(),verbosity:t});export const CloneRepoQuerySchema=o.object({...i,owner:o.string(),repo:o.string(),branch:o.string().optional(),sparse_path:o.string().optional(),forceRefresh:o.boolean().optional(),charOffset:o.number().int().optional(),charLength:o.number().int().optional(),verbosity:t});export const BulkCloneRepoSchema=o.object({queries:o.array(CloneRepoQuerySchema).min(1)});const a={...i,uri:o.string(),symbolName:o.string(),lineHint:o.number().int(),orderHint:o.number().int().optional()};export const LSPGotoDefinitionQuerySchema=o.object({...a,contextLines:o.number().int().optional(),charOffset:o.number().int().optional(),charLength:o.number().int().optional(),verbosity:t});export const LSPFindReferencesQuerySchema=o.object({...a,includeDeclaration:o.boolean().optional(),contextLines:o.number().int().optional(),referencesPerPage:o.number().int().optional(),page:o.number().int().optional(),groupByFile:o.boolean().optional(),includePattern:e,excludePattern:e,charOffset:o.number().int().optional(),charLength:o.number().int().optional(),verbosity:t});export const LSPCallHierarchyQuerySchema=o.object({...a,direction:o.enum(["incoming","outgoing"]),depth:o.number().int().optional(),contextLines:o.number().int().optional(),callsPerPage:o.number().int().optional(),page:o.number().int().optional(),charOffset:o.number().int().optional(),charLength:o.number().int().optional(),verbosity:t});
|