octocode-mcp 9.0.0-alpha.2 → 9.2.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/README.md +14 -135
- package/dist/index.js +29 -7
- package/package.json +34 -16
- package/dist/src/errorCodes.d.ts +0 -353
- package/dist/src/github/client.d.ts +0 -4
- package/dist/src/github/codeSearch.d.ts +0 -4
- package/dist/src/github/errorConstants.d.ts +0 -173
- package/dist/src/github/errors.d.ts +0 -4
- package/dist/src/github/fileOperations.d.ts +0 -6
- package/dist/src/github/githubAPI.d.ts +0 -164
- package/dist/src/github/index.d.ts +0 -10
- package/dist/src/github/pullRequestSearch.d.ts +0 -7
- package/dist/src/github/queryBuilders.d.ts +0 -7
- package/dist/src/github/repoSearch.d.ts +0 -6
- package/dist/src/index.d.ts +0 -2
- package/dist/src/prompts/prompts.d.ts +0 -7
- package/dist/src/responses.d.ts +0 -8
- package/dist/src/scheme/baseSchema.d.ts +0 -21
- package/dist/src/scheme/github_fetch_content.d.ts +0 -203
- package/dist/src/scheme/github_search_code.d.ts +0 -131
- package/dist/src/scheme/github_search_pull_requests.d.ts +0 -390
- package/dist/src/scheme/github_search_repos.d.ts +0 -79
- package/dist/src/scheme/github_view_repo_structure.d.ts +0 -148
- package/dist/src/scheme/package_search.d.ts +0 -196
- package/dist/src/security/contentSanitizer.d.ts +0 -6
- package/dist/src/security/mask.d.ts +0 -1
- package/dist/src/security/regexes.d.ts +0 -2
- package/dist/src/security/withSecurityValidation.d.ts +0 -86
- package/dist/src/serverConfig.d.ts +0 -12
- package/dist/src/session.d.ts +0 -22
- package/dist/src/tools/github_fetch_content.d.ts +0 -3
- package/dist/src/tools/github_search_code.d.ts +0 -3
- package/dist/src/tools/github_search_pull_requests.d.ts +0 -3
- package/dist/src/tools/github_search_repos.d.ts +0 -3
- package/dist/src/tools/github_view_repo_structure.d.ts +0 -3
- package/dist/src/tools/package_search.d.ts +0 -3
- package/dist/src/tools/toolConfig.d.ts +0 -16
- package/dist/src/tools/toolMetadata.d.ts +0 -207
- package/dist/src/tools/toolsManager.d.ts +0 -6
- package/dist/src/tools/utils.d.ts +0 -23
- package/dist/src/types.d.ts +0 -537
- package/dist/src/utils/bulkOperations.d.ts +0 -3
- package/dist/src/utils/cache.d.ts +0 -22
- package/dist/src/utils/diffParser.d.ts +0 -1
- package/dist/src/utils/exec.d.ts +0 -25
- package/dist/src/utils/fetchWithRetries.d.ts +0 -52
- package/dist/src/utils/fileFilters.d.ts +0 -19
- package/dist/src/utils/githubRepoFallback.d.ts +0 -17
- package/dist/src/utils/logger.d.ts +0 -40
- package/dist/src/utils/npmPackage.d.ts +0 -3
- package/dist/src/utils/package.d.ts +0 -50
- package/dist/src/utils/promiseUtils.d.ts +0 -2
- package/dist/src/utils/pythonPackage.d.ts +0 -2
- package/dist/tests/errorCodes.test.d.ts +0 -1
- package/dist/tests/fixtures/mcp-fixtures.d.ts +0 -24
- package/dist/tests/fixtures/mcp-fixtures.test.d.ts +0 -1
- package/dist/tests/github/client.test.d.ts +0 -1
- package/dist/tests/github/codeSearch.filtering.test.d.ts +0 -1
- package/dist/tests/github/codeSearch.security.test.d.ts +0 -1
- package/dist/tests/github/errors.test.d.ts +0 -1
- package/dist/tests/github/fileOperations.processContent.test.d.ts +0 -1
- package/dist/tests/github/fileOperations.recursive.test.d.ts +0 -1
- package/dist/tests/github/githubAPI.test.d.ts +0 -1
- package/dist/tests/github/index.test.d.ts +0 -1
- package/dist/tests/github/pullRequestSearch.coverage.test.d.ts +0 -1
- package/dist/tests/github/pullRequestSearch.test.d.ts +0 -1
- package/dist/tests/github/queryBuilders.test.d.ts +0 -1
- package/dist/tests/github/repoSearch.test.d.ts +0 -1
- package/dist/tests/index.logic.test.d.ts +0 -1
- package/dist/tests/index.shutdown.test.d.ts +0 -1
- package/dist/tests/index.startup.test.d.ts +0 -1
- package/dist/tests/index.test.d.ts +0 -1
- package/dist/tests/investigate_pr_response.test.d.ts +0 -1
- package/dist/tests/prompts/prompts.test.d.ts +0 -1
- package/dist/tests/scheme/github_fetch_content.test.d.ts +0 -1
- package/dist/tests/security/contentSanitizer.test.d.ts +0 -1
- package/dist/tests/security/mask.branches.test.d.ts +0 -1
- package/dist/tests/security/mask.test.d.ts +0 -1
- package/dist/tests/security/withSecurityValidation.basic.test.d.ts +0 -1
- package/dist/tests/security/withSecurityValidation.extractRepoOwner.test.d.ts +0 -1
- package/dist/tests/security/withSecurityValidation.extractResearchFields.test.d.ts +0 -1
- package/dist/tests/security/withSecurityValidation.logging.test.d.ts +0 -1
- package/dist/tests/serverConfig.test.d.ts +0 -1
- package/dist/tests/session.edgecases.test.d.ts +0 -1
- package/dist/tests/session.logging_control.test.d.ts +0 -1
- package/dist/tests/session.test.d.ts +0 -1
- package/dist/tests/setup.d.ts +0 -1
- package/dist/tests/tools/callback.test.d.ts +0 -1
- package/dist/tests/tools/github_fetch_content.test.d.ts +0 -1
- package/dist/tests/tools/github_search_code.filtering.test.d.ts +0 -1
- package/dist/tests/tools/github_search_code.match_modes.test.d.ts +0 -22
- package/dist/tests/tools/github_search_code.test.d.ts +0 -1
- package/dist/tests/tools/github_search_code.tool.test.d.ts +0 -1
- package/dist/tests/tools/github_search_pull_requests.test.d.ts +0 -1
- package/dist/tests/tools/github_search_repos.tool.test.d.ts +0 -1
- package/dist/tests/tools/github_search_repos_integration.test.d.ts +0 -1
- package/dist/tests/tools/github_search_repos_query_splitting.test.d.ts +0 -1
- package/dist/tests/tools/github_view_repo_structure.test.d.ts +0 -1
- package/dist/tests/tools/github_view_repo_structure_filters.test.d.ts +0 -1
- package/dist/tests/tools/hints.test.d.ts +0 -1
- package/dist/tests/tools/package_search.test.d.ts +0 -1
- package/dist/tests/tools/response_structure.test.d.ts +0 -12
- package/dist/tests/tools/toolConfig.branches.test.d.ts +0 -1
- package/dist/tests/tools/toolConfig.test.d.ts +0 -1
- package/dist/tests/tools/toolMetadata.branches.test.d.ts +0 -1
- package/dist/tests/tools/toolMetadata.edge.test.d.ts +0 -1
- package/dist/tests/tools/toolMetadata.final.test.d.ts +0 -1
- package/dist/tests/tools/toolMetadata.test.d.ts +0 -1
- package/dist/tests/tools/toolsManager.metadata.test.d.ts +0 -1
- package/dist/tests/tools/toolsManager.test.d.ts +0 -1
- package/dist/tests/tools/tools_logging_integration.test.d.ts +0 -1
- package/dist/tests/tools/userContext_authInfo_propagation.test.d.ts +0 -10
- package/dist/tests/tools/utils.test.d.ts +0 -5
- package/dist/tests/types/github-openapi.test.d.ts +0 -1
- package/dist/tests/utils/betaFeatures.test.d.ts +0 -1
- package/dist/tests/utils/bulkOperations.instructions.test.d.ts +0 -1
- package/dist/tests/utils/bulkOperations.test.d.ts +0 -1
- package/dist/tests/utils/cache.collision.test.d.ts +0 -1
- package/dist/tests/utils/cache.dataCache.test.d.ts +0 -1
- package/dist/tests/utils/diffParser.test.d.ts +0 -1
- package/dist/tests/utils/exec.test.d.ts +0 -1
- package/dist/tests/utils/fetchWithRetries.additional.test.d.ts +0 -1
- package/dist/tests/utils/fetchWithRetries.test.d.ts +0 -1
- package/dist/tests/utils/fileFilters.test.d.ts +0 -1
- package/dist/tests/utils/github/fileOperations.test.d.ts +0 -1
- package/dist/tests/utils/githubAPI.test.d.ts +0 -1
- package/dist/tests/utils/githubRepoFallback.test.d.ts +0 -1
- package/dist/tests/utils/logger.test.d.ts +0 -1
- package/dist/tests/utils/npmPackage.test.d.ts +0 -1
- package/dist/tests/utils/promiseUtils.concurrency.test.d.ts +0 -1
- package/dist/tests/utils/promiseUtils.edgecases.test.d.ts +0 -1
- package/dist/tests/utils/promiseUtils.test.d.ts +0 -1
- package/dist/tests/utils/pythonPackage.test.d.ts +0 -1
- package/dist/tests/utils/responses.empty_arrays.test.d.ts +0 -4
- package/dist/tests/utils/responses.test.d.ts +0 -1
- package/dist/tests/utils/sessionCacheTests.test.d.ts +0 -1
- package/dist/tests/utils/testHelpers.d.ts +0 -16
|
@@ -1,390 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const PRMatchScopeSchema: z.ZodOptional<z.ZodArray<z.ZodEnum<["title", "body", "comments"]>, "many">>;
|
|
3
|
-
export declare const DateRangeSchema: z.ZodObject<{
|
|
4
|
-
created: z.ZodOptional<z.ZodString>;
|
|
5
|
-
updated: z.ZodOptional<z.ZodString>;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
created?: string | undefined;
|
|
8
|
-
updated?: string | undefined;
|
|
9
|
-
}, {
|
|
10
|
-
created?: string | undefined;
|
|
11
|
-
updated?: string | undefined;
|
|
12
|
-
}>;
|
|
13
|
-
export declare const GitHubPullRequestSearchQuerySchema: z.ZodObject<{
|
|
14
|
-
mainResearchGoal: z.ZodString;
|
|
15
|
-
researchGoal: z.ZodString;
|
|
16
|
-
reasoning: z.ZodString;
|
|
17
|
-
} & {
|
|
18
|
-
query: z.ZodOptional<z.ZodString>;
|
|
19
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
20
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
21
|
-
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
22
|
-
state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
|
|
23
|
-
assignee: z.ZodOptional<z.ZodString>;
|
|
24
|
-
author: z.ZodOptional<z.ZodString>;
|
|
25
|
-
commenter: z.ZodOptional<z.ZodString>;
|
|
26
|
-
involves: z.ZodOptional<z.ZodString>;
|
|
27
|
-
mentions: z.ZodOptional<z.ZodString>;
|
|
28
|
-
'review-requested': z.ZodOptional<z.ZodString>;
|
|
29
|
-
'reviewed-by': z.ZodOptional<z.ZodString>;
|
|
30
|
-
label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
31
|
-
'no-label': z.ZodOptional<z.ZodBoolean>;
|
|
32
|
-
'no-milestone': z.ZodOptional<z.ZodBoolean>;
|
|
33
|
-
'no-project': z.ZodOptional<z.ZodBoolean>;
|
|
34
|
-
'no-assignee': z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
head: z.ZodOptional<z.ZodString>;
|
|
36
|
-
base: z.ZodOptional<z.ZodString>;
|
|
37
|
-
created: z.ZodOptional<z.ZodString>;
|
|
38
|
-
updated: z.ZodOptional<z.ZodString>;
|
|
39
|
-
closed: z.ZodOptional<z.ZodString>;
|
|
40
|
-
'merged-at': z.ZodOptional<z.ZodString>;
|
|
41
|
-
comments: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
42
|
-
reactions: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
43
|
-
interactions: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
44
|
-
merged: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
-
draft: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
-
match: z.ZodOptional<z.ZodArray<z.ZodEnum<["title", "body", "comments"]>, "many">>;
|
|
47
|
-
sort: z.ZodOptional<z.ZodEnum<["created", "updated", "best-match"]>>;
|
|
48
|
-
order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
|
|
49
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
50
|
-
withComments: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
51
|
-
withCommits: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
52
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["metadata", "fullContent", "partialContent"]>>>;
|
|
53
|
-
partialContentMetadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
54
|
-
file: z.ZodString;
|
|
55
|
-
additions: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
56
|
-
deletions: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
57
|
-
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
file: string;
|
|
59
|
-
additions?: number[] | undefined;
|
|
60
|
-
deletions?: number[] | undefined;
|
|
61
|
-
}, {
|
|
62
|
-
file: string;
|
|
63
|
-
additions?: number[] | undefined;
|
|
64
|
-
deletions?: number[] | undefined;
|
|
65
|
-
}>, "many">>;
|
|
66
|
-
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
mainResearchGoal: string;
|
|
68
|
-
researchGoal: string;
|
|
69
|
-
reasoning: string;
|
|
70
|
-
order: "asc" | "desc";
|
|
71
|
-
query?: string | undefined;
|
|
72
|
-
state?: "open" | "closed" | undefined;
|
|
73
|
-
draft?: boolean | undefined;
|
|
74
|
-
assignee?: string | undefined;
|
|
75
|
-
comments?: string | number | undefined;
|
|
76
|
-
type?: "metadata" | "fullContent" | "partialContent" | undefined;
|
|
77
|
-
reactions?: string | number | undefined;
|
|
78
|
-
closed?: string | undefined;
|
|
79
|
-
created?: string | undefined;
|
|
80
|
-
updated?: string | undefined;
|
|
81
|
-
owner?: string | undefined;
|
|
82
|
-
repo?: string | undefined;
|
|
83
|
-
head?: string | undefined;
|
|
84
|
-
sort?: "created" | "updated" | "best-match" | undefined;
|
|
85
|
-
base?: string | undefined;
|
|
86
|
-
match?: ("title" | "body" | "comments")[] | undefined;
|
|
87
|
-
limit?: number | undefined;
|
|
88
|
-
merged?: boolean | undefined;
|
|
89
|
-
'merged-at'?: string | undefined;
|
|
90
|
-
author?: string | undefined;
|
|
91
|
-
mentions?: string | undefined;
|
|
92
|
-
commenter?: string | undefined;
|
|
93
|
-
involves?: string | undefined;
|
|
94
|
-
'reviewed-by'?: string | undefined;
|
|
95
|
-
'review-requested'?: string | undefined;
|
|
96
|
-
interactions?: string | number | undefined;
|
|
97
|
-
label?: string | string[] | undefined;
|
|
98
|
-
'no-assignee'?: boolean | undefined;
|
|
99
|
-
'no-label'?: boolean | undefined;
|
|
100
|
-
'no-milestone'?: boolean | undefined;
|
|
101
|
-
'no-project'?: boolean | undefined;
|
|
102
|
-
prNumber?: number | undefined;
|
|
103
|
-
withComments?: boolean | undefined;
|
|
104
|
-
withCommits?: boolean | undefined;
|
|
105
|
-
partialContentMetadata?: {
|
|
106
|
-
file: string;
|
|
107
|
-
additions?: number[] | undefined;
|
|
108
|
-
deletions?: number[] | undefined;
|
|
109
|
-
}[] | undefined;
|
|
110
|
-
}, {
|
|
111
|
-
mainResearchGoal: string;
|
|
112
|
-
researchGoal: string;
|
|
113
|
-
reasoning: string;
|
|
114
|
-
query?: string | undefined;
|
|
115
|
-
state?: "open" | "closed" | undefined;
|
|
116
|
-
draft?: boolean | undefined;
|
|
117
|
-
assignee?: string | undefined;
|
|
118
|
-
comments?: string | number | undefined;
|
|
119
|
-
type?: "metadata" | "fullContent" | "partialContent" | undefined;
|
|
120
|
-
reactions?: string | number | undefined;
|
|
121
|
-
closed?: string | undefined;
|
|
122
|
-
created?: string | undefined;
|
|
123
|
-
updated?: string | undefined;
|
|
124
|
-
owner?: string | undefined;
|
|
125
|
-
repo?: string | undefined;
|
|
126
|
-
head?: string | undefined;
|
|
127
|
-
sort?: "created" | "updated" | "best-match" | undefined;
|
|
128
|
-
base?: string | undefined;
|
|
129
|
-
match?: ("title" | "body" | "comments")[] | undefined;
|
|
130
|
-
limit?: number | undefined;
|
|
131
|
-
merged?: boolean | undefined;
|
|
132
|
-
'merged-at'?: string | undefined;
|
|
133
|
-
author?: string | undefined;
|
|
134
|
-
mentions?: string | undefined;
|
|
135
|
-
commenter?: string | undefined;
|
|
136
|
-
involves?: string | undefined;
|
|
137
|
-
'reviewed-by'?: string | undefined;
|
|
138
|
-
'review-requested'?: string | undefined;
|
|
139
|
-
interactions?: string | number | undefined;
|
|
140
|
-
label?: string | string[] | undefined;
|
|
141
|
-
'no-assignee'?: boolean | undefined;
|
|
142
|
-
'no-label'?: boolean | undefined;
|
|
143
|
-
'no-milestone'?: boolean | undefined;
|
|
144
|
-
'no-project'?: boolean | undefined;
|
|
145
|
-
order?: "asc" | "desc" | undefined;
|
|
146
|
-
prNumber?: number | undefined;
|
|
147
|
-
withComments?: boolean | undefined;
|
|
148
|
-
withCommits?: boolean | undefined;
|
|
149
|
-
partialContentMetadata?: {
|
|
150
|
-
file: string;
|
|
151
|
-
additions?: number[] | undefined;
|
|
152
|
-
deletions?: number[] | undefined;
|
|
153
|
-
}[] | undefined;
|
|
154
|
-
}>;
|
|
155
|
-
export declare const GitHubPullRequestSearchBulkQuerySchema: z.ZodObject<{
|
|
156
|
-
queries: z.ZodArray<z.ZodObject<{
|
|
157
|
-
mainResearchGoal: z.ZodString;
|
|
158
|
-
researchGoal: z.ZodString;
|
|
159
|
-
reasoning: z.ZodString;
|
|
160
|
-
} & {
|
|
161
|
-
query: z.ZodOptional<z.ZodString>;
|
|
162
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
163
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
164
|
-
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
165
|
-
state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
|
|
166
|
-
assignee: z.ZodOptional<z.ZodString>;
|
|
167
|
-
author: z.ZodOptional<z.ZodString>;
|
|
168
|
-
commenter: z.ZodOptional<z.ZodString>;
|
|
169
|
-
involves: z.ZodOptional<z.ZodString>;
|
|
170
|
-
mentions: z.ZodOptional<z.ZodString>;
|
|
171
|
-
'review-requested': z.ZodOptional<z.ZodString>;
|
|
172
|
-
'reviewed-by': z.ZodOptional<z.ZodString>;
|
|
173
|
-
label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
174
|
-
'no-label': z.ZodOptional<z.ZodBoolean>;
|
|
175
|
-
'no-milestone': z.ZodOptional<z.ZodBoolean>;
|
|
176
|
-
'no-project': z.ZodOptional<z.ZodBoolean>;
|
|
177
|
-
'no-assignee': z.ZodOptional<z.ZodBoolean>;
|
|
178
|
-
head: z.ZodOptional<z.ZodString>;
|
|
179
|
-
base: z.ZodOptional<z.ZodString>;
|
|
180
|
-
created: z.ZodOptional<z.ZodString>;
|
|
181
|
-
updated: z.ZodOptional<z.ZodString>;
|
|
182
|
-
closed: z.ZodOptional<z.ZodString>;
|
|
183
|
-
'merged-at': z.ZodOptional<z.ZodString>;
|
|
184
|
-
comments: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
185
|
-
reactions: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
186
|
-
interactions: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
187
|
-
merged: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
-
draft: z.ZodOptional<z.ZodBoolean>;
|
|
189
|
-
match: z.ZodOptional<z.ZodArray<z.ZodEnum<["title", "body", "comments"]>, "many">>;
|
|
190
|
-
sort: z.ZodOptional<z.ZodEnum<["created", "updated", "best-match"]>>;
|
|
191
|
-
order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
|
|
192
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
193
|
-
withComments: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
194
|
-
withCommits: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
195
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["metadata", "fullContent", "partialContent"]>>>;
|
|
196
|
-
partialContentMetadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
197
|
-
file: z.ZodString;
|
|
198
|
-
additions: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
199
|
-
deletions: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
200
|
-
}, "strip", z.ZodTypeAny, {
|
|
201
|
-
file: string;
|
|
202
|
-
additions?: number[] | undefined;
|
|
203
|
-
deletions?: number[] | undefined;
|
|
204
|
-
}, {
|
|
205
|
-
file: string;
|
|
206
|
-
additions?: number[] | undefined;
|
|
207
|
-
deletions?: number[] | undefined;
|
|
208
|
-
}>, "many">>;
|
|
209
|
-
}, "strip", z.ZodTypeAny, {
|
|
210
|
-
mainResearchGoal: string;
|
|
211
|
-
researchGoal: string;
|
|
212
|
-
reasoning: string;
|
|
213
|
-
order: "asc" | "desc";
|
|
214
|
-
query?: string | undefined;
|
|
215
|
-
state?: "open" | "closed" | undefined;
|
|
216
|
-
draft?: boolean | undefined;
|
|
217
|
-
assignee?: string | undefined;
|
|
218
|
-
comments?: string | number | undefined;
|
|
219
|
-
type?: "metadata" | "fullContent" | "partialContent" | undefined;
|
|
220
|
-
reactions?: string | number | undefined;
|
|
221
|
-
closed?: string | undefined;
|
|
222
|
-
created?: string | undefined;
|
|
223
|
-
updated?: string | undefined;
|
|
224
|
-
owner?: string | undefined;
|
|
225
|
-
repo?: string | undefined;
|
|
226
|
-
head?: string | undefined;
|
|
227
|
-
sort?: "created" | "updated" | "best-match" | undefined;
|
|
228
|
-
base?: string | undefined;
|
|
229
|
-
match?: ("title" | "body" | "comments")[] | undefined;
|
|
230
|
-
limit?: number | undefined;
|
|
231
|
-
merged?: boolean | undefined;
|
|
232
|
-
'merged-at'?: string | undefined;
|
|
233
|
-
author?: string | undefined;
|
|
234
|
-
mentions?: string | undefined;
|
|
235
|
-
commenter?: string | undefined;
|
|
236
|
-
involves?: string | undefined;
|
|
237
|
-
'reviewed-by'?: string | undefined;
|
|
238
|
-
'review-requested'?: string | undefined;
|
|
239
|
-
interactions?: string | number | undefined;
|
|
240
|
-
label?: string | string[] | undefined;
|
|
241
|
-
'no-assignee'?: boolean | undefined;
|
|
242
|
-
'no-label'?: boolean | undefined;
|
|
243
|
-
'no-milestone'?: boolean | undefined;
|
|
244
|
-
'no-project'?: boolean | undefined;
|
|
245
|
-
prNumber?: number | undefined;
|
|
246
|
-
withComments?: boolean | undefined;
|
|
247
|
-
withCommits?: boolean | undefined;
|
|
248
|
-
partialContentMetadata?: {
|
|
249
|
-
file: string;
|
|
250
|
-
additions?: number[] | undefined;
|
|
251
|
-
deletions?: number[] | undefined;
|
|
252
|
-
}[] | undefined;
|
|
253
|
-
}, {
|
|
254
|
-
mainResearchGoal: string;
|
|
255
|
-
researchGoal: string;
|
|
256
|
-
reasoning: string;
|
|
257
|
-
query?: string | undefined;
|
|
258
|
-
state?: "open" | "closed" | undefined;
|
|
259
|
-
draft?: boolean | undefined;
|
|
260
|
-
assignee?: string | undefined;
|
|
261
|
-
comments?: string | number | undefined;
|
|
262
|
-
type?: "metadata" | "fullContent" | "partialContent" | undefined;
|
|
263
|
-
reactions?: string | number | undefined;
|
|
264
|
-
closed?: string | undefined;
|
|
265
|
-
created?: string | undefined;
|
|
266
|
-
updated?: string | undefined;
|
|
267
|
-
owner?: string | undefined;
|
|
268
|
-
repo?: string | undefined;
|
|
269
|
-
head?: string | undefined;
|
|
270
|
-
sort?: "created" | "updated" | "best-match" | undefined;
|
|
271
|
-
base?: string | undefined;
|
|
272
|
-
match?: ("title" | "body" | "comments")[] | undefined;
|
|
273
|
-
limit?: number | undefined;
|
|
274
|
-
merged?: boolean | undefined;
|
|
275
|
-
'merged-at'?: string | undefined;
|
|
276
|
-
author?: string | undefined;
|
|
277
|
-
mentions?: string | undefined;
|
|
278
|
-
commenter?: string | undefined;
|
|
279
|
-
involves?: string | undefined;
|
|
280
|
-
'reviewed-by'?: string | undefined;
|
|
281
|
-
'review-requested'?: string | undefined;
|
|
282
|
-
interactions?: string | number | undefined;
|
|
283
|
-
label?: string | string[] | undefined;
|
|
284
|
-
'no-assignee'?: boolean | undefined;
|
|
285
|
-
'no-label'?: boolean | undefined;
|
|
286
|
-
'no-milestone'?: boolean | undefined;
|
|
287
|
-
'no-project'?: boolean | undefined;
|
|
288
|
-
order?: "asc" | "desc" | undefined;
|
|
289
|
-
prNumber?: number | undefined;
|
|
290
|
-
withComments?: boolean | undefined;
|
|
291
|
-
withCommits?: boolean | undefined;
|
|
292
|
-
partialContentMetadata?: {
|
|
293
|
-
file: string;
|
|
294
|
-
additions?: number[] | undefined;
|
|
295
|
-
deletions?: number[] | undefined;
|
|
296
|
-
}[] | undefined;
|
|
297
|
-
}>, "many">;
|
|
298
|
-
}, "strip", z.ZodTypeAny, {
|
|
299
|
-
queries: {
|
|
300
|
-
mainResearchGoal: string;
|
|
301
|
-
researchGoal: string;
|
|
302
|
-
reasoning: string;
|
|
303
|
-
order: "asc" | "desc";
|
|
304
|
-
query?: string | undefined;
|
|
305
|
-
state?: "open" | "closed" | undefined;
|
|
306
|
-
draft?: boolean | undefined;
|
|
307
|
-
assignee?: string | undefined;
|
|
308
|
-
comments?: string | number | undefined;
|
|
309
|
-
type?: "metadata" | "fullContent" | "partialContent" | undefined;
|
|
310
|
-
reactions?: string | number | undefined;
|
|
311
|
-
closed?: string | undefined;
|
|
312
|
-
created?: string | undefined;
|
|
313
|
-
updated?: string | undefined;
|
|
314
|
-
owner?: string | undefined;
|
|
315
|
-
repo?: string | undefined;
|
|
316
|
-
head?: string | undefined;
|
|
317
|
-
sort?: "created" | "updated" | "best-match" | undefined;
|
|
318
|
-
base?: string | undefined;
|
|
319
|
-
match?: ("title" | "body" | "comments")[] | undefined;
|
|
320
|
-
limit?: number | undefined;
|
|
321
|
-
merged?: boolean | undefined;
|
|
322
|
-
'merged-at'?: string | undefined;
|
|
323
|
-
author?: string | undefined;
|
|
324
|
-
mentions?: string | undefined;
|
|
325
|
-
commenter?: string | undefined;
|
|
326
|
-
involves?: string | undefined;
|
|
327
|
-
'reviewed-by'?: string | undefined;
|
|
328
|
-
'review-requested'?: string | undefined;
|
|
329
|
-
interactions?: string | number | undefined;
|
|
330
|
-
label?: string | string[] | undefined;
|
|
331
|
-
'no-assignee'?: boolean | undefined;
|
|
332
|
-
'no-label'?: boolean | undefined;
|
|
333
|
-
'no-milestone'?: boolean | undefined;
|
|
334
|
-
'no-project'?: boolean | undefined;
|
|
335
|
-
prNumber?: number | undefined;
|
|
336
|
-
withComments?: boolean | undefined;
|
|
337
|
-
withCommits?: boolean | undefined;
|
|
338
|
-
partialContentMetadata?: {
|
|
339
|
-
file: string;
|
|
340
|
-
additions?: number[] | undefined;
|
|
341
|
-
deletions?: number[] | undefined;
|
|
342
|
-
}[] | undefined;
|
|
343
|
-
}[];
|
|
344
|
-
}, {
|
|
345
|
-
queries: {
|
|
346
|
-
mainResearchGoal: string;
|
|
347
|
-
researchGoal: string;
|
|
348
|
-
reasoning: string;
|
|
349
|
-
query?: string | undefined;
|
|
350
|
-
state?: "open" | "closed" | undefined;
|
|
351
|
-
draft?: boolean | undefined;
|
|
352
|
-
assignee?: string | undefined;
|
|
353
|
-
comments?: string | number | undefined;
|
|
354
|
-
type?: "metadata" | "fullContent" | "partialContent" | undefined;
|
|
355
|
-
reactions?: string | number | undefined;
|
|
356
|
-
closed?: string | undefined;
|
|
357
|
-
created?: string | undefined;
|
|
358
|
-
updated?: string | undefined;
|
|
359
|
-
owner?: string | undefined;
|
|
360
|
-
repo?: string | undefined;
|
|
361
|
-
head?: string | undefined;
|
|
362
|
-
sort?: "created" | "updated" | "best-match" | undefined;
|
|
363
|
-
base?: string | undefined;
|
|
364
|
-
match?: ("title" | "body" | "comments")[] | undefined;
|
|
365
|
-
limit?: number | undefined;
|
|
366
|
-
merged?: boolean | undefined;
|
|
367
|
-
'merged-at'?: string | undefined;
|
|
368
|
-
author?: string | undefined;
|
|
369
|
-
mentions?: string | undefined;
|
|
370
|
-
commenter?: string | undefined;
|
|
371
|
-
involves?: string | undefined;
|
|
372
|
-
'reviewed-by'?: string | undefined;
|
|
373
|
-
'review-requested'?: string | undefined;
|
|
374
|
-
interactions?: string | number | undefined;
|
|
375
|
-
label?: string | string[] | undefined;
|
|
376
|
-
'no-assignee'?: boolean | undefined;
|
|
377
|
-
'no-label'?: boolean | undefined;
|
|
378
|
-
'no-milestone'?: boolean | undefined;
|
|
379
|
-
'no-project'?: boolean | undefined;
|
|
380
|
-
order?: "asc" | "desc" | undefined;
|
|
381
|
-
prNumber?: number | undefined;
|
|
382
|
-
withComments?: boolean | undefined;
|
|
383
|
-
withCommits?: boolean | undefined;
|
|
384
|
-
partialContentMetadata?: {
|
|
385
|
-
file: string;
|
|
386
|
-
additions?: number[] | undefined;
|
|
387
|
-
deletions?: number[] | undefined;
|
|
388
|
-
}[] | undefined;
|
|
389
|
-
}[];
|
|
390
|
-
}>;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const GitHubReposSearchQuerySchema: z.ZodObject<{
|
|
3
|
-
queries: z.ZodArray<z.ZodObject<{
|
|
4
|
-
mainResearchGoal: z.ZodString;
|
|
5
|
-
researchGoal: z.ZodString;
|
|
6
|
-
reasoning: z.ZodString;
|
|
7
|
-
} & {
|
|
8
|
-
keywordsToSearch: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9
|
-
topicsToSearch: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
11
|
-
stars: z.ZodOptional<z.ZodString>;
|
|
12
|
-
size: z.ZodOptional<z.ZodString>;
|
|
13
|
-
created: z.ZodOptional<z.ZodString>;
|
|
14
|
-
updated: z.ZodOptional<z.ZodString>;
|
|
15
|
-
match: z.ZodOptional<z.ZodArray<z.ZodEnum<["name", "description", "readme"]>, "many">>;
|
|
16
|
-
sort: z.ZodOptional<z.ZodEnum<["forks", "stars", "updated", "best-match"]>>;
|
|
17
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
mainResearchGoal: string;
|
|
20
|
-
researchGoal: string;
|
|
21
|
-
reasoning: string;
|
|
22
|
-
created?: string | undefined;
|
|
23
|
-
updated?: string | undefined;
|
|
24
|
-
owner?: string | undefined;
|
|
25
|
-
stars?: string | undefined;
|
|
26
|
-
sort?: "updated" | "best-match" | "forks" | "stars" | undefined;
|
|
27
|
-
keywordsToSearch?: string[] | undefined;
|
|
28
|
-
match?: ("name" | "description" | "readme")[] | undefined;
|
|
29
|
-
limit?: number | undefined;
|
|
30
|
-
size?: string | undefined;
|
|
31
|
-
topicsToSearch?: string[] | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
mainResearchGoal: string;
|
|
34
|
-
researchGoal: string;
|
|
35
|
-
reasoning: string;
|
|
36
|
-
created?: string | undefined;
|
|
37
|
-
updated?: string | undefined;
|
|
38
|
-
owner?: string | undefined;
|
|
39
|
-
stars?: string | undefined;
|
|
40
|
-
sort?: "updated" | "best-match" | "forks" | "stars" | undefined;
|
|
41
|
-
keywordsToSearch?: string[] | undefined;
|
|
42
|
-
match?: ("name" | "description" | "readme")[] | undefined;
|
|
43
|
-
limit?: number | undefined;
|
|
44
|
-
size?: string | undefined;
|
|
45
|
-
topicsToSearch?: string[] | undefined;
|
|
46
|
-
}>, "many">;
|
|
47
|
-
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
queries: {
|
|
49
|
-
mainResearchGoal: string;
|
|
50
|
-
researchGoal: string;
|
|
51
|
-
reasoning: string;
|
|
52
|
-
created?: string | undefined;
|
|
53
|
-
updated?: string | undefined;
|
|
54
|
-
owner?: string | undefined;
|
|
55
|
-
stars?: string | undefined;
|
|
56
|
-
sort?: "updated" | "best-match" | "forks" | "stars" | undefined;
|
|
57
|
-
keywordsToSearch?: string[] | undefined;
|
|
58
|
-
match?: ("name" | "description" | "readme")[] | undefined;
|
|
59
|
-
limit?: number | undefined;
|
|
60
|
-
size?: string | undefined;
|
|
61
|
-
topicsToSearch?: string[] | undefined;
|
|
62
|
-
}[];
|
|
63
|
-
}, {
|
|
64
|
-
queries: {
|
|
65
|
-
mainResearchGoal: string;
|
|
66
|
-
researchGoal: string;
|
|
67
|
-
reasoning: string;
|
|
68
|
-
created?: string | undefined;
|
|
69
|
-
updated?: string | undefined;
|
|
70
|
-
owner?: string | undefined;
|
|
71
|
-
stars?: string | undefined;
|
|
72
|
-
sort?: "updated" | "best-match" | "forks" | "stars" | undefined;
|
|
73
|
-
keywordsToSearch?: string[] | undefined;
|
|
74
|
-
match?: ("name" | "description" | "readme")[] | undefined;
|
|
75
|
-
limit?: number | undefined;
|
|
76
|
-
size?: string | undefined;
|
|
77
|
-
topicsToSearch?: string[] | undefined;
|
|
78
|
-
}[];
|
|
79
|
-
}>;
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const GitHubViewRepoStructureQuerySchema: z.ZodObject<{
|
|
3
|
-
mainResearchGoal: z.ZodString;
|
|
4
|
-
researchGoal: z.ZodString;
|
|
5
|
-
reasoning: z.ZodString;
|
|
6
|
-
} & {
|
|
7
|
-
owner: z.ZodString;
|
|
8
|
-
repo: z.ZodString;
|
|
9
|
-
branch: z.ZodString;
|
|
10
|
-
path: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11
|
-
depth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
12
|
-
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
mainResearchGoal: string;
|
|
14
|
-
researchGoal: string;
|
|
15
|
-
reasoning: string;
|
|
16
|
-
owner: string;
|
|
17
|
-
repo: string;
|
|
18
|
-
branch: string;
|
|
19
|
-
path?: string | undefined;
|
|
20
|
-
depth?: number | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
mainResearchGoal: string;
|
|
23
|
-
researchGoal: string;
|
|
24
|
-
reasoning: string;
|
|
25
|
-
owner: string;
|
|
26
|
-
repo: string;
|
|
27
|
-
branch: string;
|
|
28
|
-
path?: string | undefined;
|
|
29
|
-
depth?: number | undefined;
|
|
30
|
-
}>;
|
|
31
|
-
export declare const GitHubViewRepoStructureBulkQuerySchema: z.ZodObject<{
|
|
32
|
-
queries: z.ZodArray<z.ZodObject<{
|
|
33
|
-
mainResearchGoal: z.ZodString;
|
|
34
|
-
researchGoal: z.ZodString;
|
|
35
|
-
reasoning: z.ZodString;
|
|
36
|
-
} & {
|
|
37
|
-
owner: z.ZodString;
|
|
38
|
-
repo: z.ZodString;
|
|
39
|
-
branch: z.ZodString;
|
|
40
|
-
path: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
41
|
-
depth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
42
|
-
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
mainResearchGoal: string;
|
|
44
|
-
researchGoal: string;
|
|
45
|
-
reasoning: string;
|
|
46
|
-
owner: string;
|
|
47
|
-
repo: string;
|
|
48
|
-
branch: string;
|
|
49
|
-
path?: string | undefined;
|
|
50
|
-
depth?: number | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
mainResearchGoal: string;
|
|
53
|
-
researchGoal: string;
|
|
54
|
-
reasoning: string;
|
|
55
|
-
owner: string;
|
|
56
|
-
repo: string;
|
|
57
|
-
branch: string;
|
|
58
|
-
path?: string | undefined;
|
|
59
|
-
depth?: number | undefined;
|
|
60
|
-
}>, "many">;
|
|
61
|
-
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
queries: {
|
|
63
|
-
mainResearchGoal: string;
|
|
64
|
-
researchGoal: string;
|
|
65
|
-
reasoning: string;
|
|
66
|
-
owner: string;
|
|
67
|
-
repo: string;
|
|
68
|
-
branch: string;
|
|
69
|
-
path?: string | undefined;
|
|
70
|
-
depth?: number | undefined;
|
|
71
|
-
}[];
|
|
72
|
-
}, {
|
|
73
|
-
queries: {
|
|
74
|
-
mainResearchGoal: string;
|
|
75
|
-
researchGoal: string;
|
|
76
|
-
reasoning: string;
|
|
77
|
-
owner: string;
|
|
78
|
-
repo: string;
|
|
79
|
-
branch: string;
|
|
80
|
-
path?: string | undefined;
|
|
81
|
-
depth?: number | undefined;
|
|
82
|
-
}[];
|
|
83
|
-
}>;
|
|
84
|
-
export interface GitHubApiFileItem {
|
|
85
|
-
name: string;
|
|
86
|
-
path: string;
|
|
87
|
-
sha: string;
|
|
88
|
-
size: number;
|
|
89
|
-
type: 'file' | 'dir';
|
|
90
|
-
url: string;
|
|
91
|
-
html_url: string;
|
|
92
|
-
git_url: string;
|
|
93
|
-
download_url: string | null;
|
|
94
|
-
_links: {
|
|
95
|
-
self: string;
|
|
96
|
-
git: string;
|
|
97
|
-
html: string;
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
export interface GitHubRepositoryContentsResult {
|
|
101
|
-
path: string;
|
|
102
|
-
baseUrl: string;
|
|
103
|
-
files: Array<{
|
|
104
|
-
name: string;
|
|
105
|
-
size: number;
|
|
106
|
-
url: string;
|
|
107
|
-
}>;
|
|
108
|
-
folders: string[];
|
|
109
|
-
branchFallback?: {
|
|
110
|
-
requested: string;
|
|
111
|
-
used: string;
|
|
112
|
-
message: string;
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
export interface GitHubRepositoryStructureResult {
|
|
116
|
-
owner: string;
|
|
117
|
-
repo: string;
|
|
118
|
-
branch: string;
|
|
119
|
-
path: string;
|
|
120
|
-
apiSource: boolean;
|
|
121
|
-
summary: {
|
|
122
|
-
totalFiles: number;
|
|
123
|
-
totalFolders: number;
|
|
124
|
-
truncated: boolean;
|
|
125
|
-
filtered: boolean;
|
|
126
|
-
originalCount: number;
|
|
127
|
-
};
|
|
128
|
-
files: Array<{
|
|
129
|
-
path: string;
|
|
130
|
-
size?: number;
|
|
131
|
-
url: string;
|
|
132
|
-
}>;
|
|
133
|
-
folders: {
|
|
134
|
-
count: number;
|
|
135
|
-
folders: Array<{
|
|
136
|
-
path: string;
|
|
137
|
-
url: string;
|
|
138
|
-
}>;
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
export interface GitHubRepositoryStructureError {
|
|
142
|
-
error: string;
|
|
143
|
-
status?: number;
|
|
144
|
-
triedBranches?: string[];
|
|
145
|
-
defaultBranch?: string;
|
|
146
|
-
rateLimitRemaining?: number;
|
|
147
|
-
rateLimitReset?: number;
|
|
148
|
-
}
|