octocode-mcp 8.0.0 → 8.1.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.
@@ -5,6 +5,31 @@ export type CodeSearchResultItem = components['schemas']['code-search-result-ite
5
5
  export type RepoSearchResultItem = components['schemas']['repo-search-result-item'];
6
6
  export type IssueSearchResultItem = components['schemas']['issue-search-result-item'];
7
7
  export type DiffEntry = components['schemas']['diff-entry'];
8
+ export interface CommitFileItem {
9
+ filename: string;
10
+ status: string;
11
+ additions: number;
12
+ deletions: number;
13
+ changes: number;
14
+ patch?: string;
15
+ }
16
+ /** Commit file change information */
17
+ export interface CommitFileInfo {
18
+ filename: string;
19
+ status: string;
20
+ additions: number;
21
+ deletions: number;
22
+ changes?: number;
23
+ patch?: string;
24
+ }
25
+ /** Commit information with file changes */
26
+ export interface CommitInfo {
27
+ sha: string;
28
+ message: string;
29
+ author: string;
30
+ date: string;
31
+ files: CommitFileInfo[];
32
+ }
8
33
  export type GetContentParameters = RestEndpointMethodTypes['repos']['getContent']['parameters'];
9
34
  export type GetRepoResponse = RestEndpointMethodTypes['repos']['get']['response'];
10
35
  export type SearchCodeParameters = RestEndpointMethodTypes['search']['code']['parameters'];
@@ -88,6 +113,7 @@ export type GitHubPullRequestItem = Pick<IssueSearchResultItem, 'number' | 'titl
88
113
  total_count: number;
89
114
  files: DiffEntry[];
90
115
  };
116
+ commits?: CommitInfo[];
91
117
  _sanitization_warnings?: string[];
92
118
  };
93
119
  export interface GitHubPullRequestsSearchParams {
@@ -124,7 +150,13 @@ export interface GitHubPullRequestsSearchParams {
124
150
  order?: 'asc' | 'desc';
125
151
  limit?: number;
126
152
  withComments?: boolean;
127
- withContent?: boolean;
153
+ withCommits?: boolean;
154
+ type?: 'metadata' | 'fullContent' | 'partialContent';
155
+ partialContentMetadata?: {
156
+ file: string;
157
+ additions?: number[];
158
+ deletions?: number[];
159
+ }[];
128
160
  exhaustive?: boolean;
129
161
  maxPages?: number;
130
162
  pageSize?: number;
@@ -1,16 +1,16 @@
1
1
  import { z } from 'zod';
2
2
  export declare const BaseQuerySchema: z.ZodObject<{
3
- mainResearchGoal: z.ZodOptional<z.ZodString>;
4
- researchGoal: z.ZodOptional<z.ZodString>;
5
- reasoning: z.ZodOptional<z.ZodString>;
3
+ mainResearchGoal: z.ZodString;
4
+ researchGoal: z.ZodString;
5
+ reasoning: z.ZodString;
6
6
  }, "strip", z.ZodTypeAny, {
7
- mainResearchGoal?: string | undefined;
8
- researchGoal?: string | undefined;
9
- reasoning?: string | undefined;
7
+ mainResearchGoal: string;
8
+ researchGoal: string;
9
+ reasoning: string;
10
10
  }, {
11
- mainResearchGoal?: string | undefined;
12
- researchGoal?: string | undefined;
13
- reasoning?: string | undefined;
11
+ mainResearchGoal: string;
12
+ researchGoal: string;
13
+ reasoning: string;
14
14
  }>;
15
15
  export declare function createBulkQuerySchema<T extends z.ZodTypeAny>(toolName: string, singleQuerySchema: T): z.ZodObject<{
16
16
  queries: z.ZodArray<T, "many">;
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  export declare const FileContentQuerySchema: z.ZodEffects<z.ZodObject<{
3
- mainResearchGoal: z.ZodOptional<z.ZodString>;
4
- researchGoal: z.ZodOptional<z.ZodString>;
5
- reasoning: z.ZodOptional<z.ZodString>;
3
+ mainResearchGoal: z.ZodString;
4
+ researchGoal: z.ZodString;
5
+ reasoning: z.ZodString;
6
6
  } & {
7
7
  owner: z.ZodString;
8
8
  repo: z.ZodString;
@@ -17,70 +17,70 @@ export declare const FileContentQuerySchema: z.ZodEffects<z.ZodObject<{
17
17
  matchStringContextLines: z.ZodDefault<z.ZodNumber>;
18
18
  }, "strip", z.ZodTypeAny, {
19
19
  path: string;
20
+ fullContent: boolean;
21
+ mainResearchGoal: string;
22
+ researchGoal: string;
23
+ reasoning: string;
20
24
  owner: string;
21
25
  repo: string;
22
26
  sanitize: boolean;
23
27
  minified: boolean;
24
- fullContent: boolean;
25
28
  matchStringContextLines: number;
26
- mainResearchGoal?: string | undefined;
27
- researchGoal?: string | undefined;
28
- reasoning?: string | undefined;
29
29
  branch?: string | undefined;
30
30
  startLine?: number | undefined;
31
31
  endLine?: number | undefined;
32
32
  matchString?: string | undefined;
33
33
  }, {
34
34
  path: string;
35
+ mainResearchGoal: string;
36
+ researchGoal: string;
37
+ reasoning: string;
35
38
  owner: string;
36
39
  repo: string;
37
- mainResearchGoal?: string | undefined;
38
- researchGoal?: string | undefined;
39
- reasoning?: string | undefined;
40
+ fullContent?: boolean | undefined;
40
41
  sanitize?: boolean | undefined;
41
42
  branch?: string | undefined;
42
43
  startLine?: number | undefined;
43
44
  endLine?: number | undefined;
44
45
  minified?: boolean | undefined;
45
- fullContent?: boolean | undefined;
46
46
  matchString?: string | undefined;
47
47
  matchStringContextLines?: number | undefined;
48
48
  }>, {
49
49
  path: string;
50
+ fullContent: boolean;
51
+ mainResearchGoal: string;
52
+ researchGoal: string;
53
+ reasoning: string;
50
54
  owner: string;
51
55
  repo: string;
52
56
  sanitize: boolean;
53
57
  minified: boolean;
54
- fullContent: boolean;
55
58
  matchStringContextLines: number;
56
- mainResearchGoal?: string | undefined;
57
- researchGoal?: string | undefined;
58
- reasoning?: string | undefined;
59
59
  branch?: string | undefined;
60
60
  startLine?: number | undefined;
61
61
  endLine?: number | undefined;
62
62
  matchString?: string | undefined;
63
63
  }, {
64
64
  path: string;
65
+ mainResearchGoal: string;
66
+ researchGoal: string;
67
+ reasoning: string;
65
68
  owner: string;
66
69
  repo: string;
67
- mainResearchGoal?: string | undefined;
68
- researchGoal?: string | undefined;
69
- reasoning?: string | undefined;
70
+ fullContent?: boolean | undefined;
70
71
  sanitize?: boolean | undefined;
71
72
  branch?: string | undefined;
72
73
  startLine?: number | undefined;
73
74
  endLine?: number | undefined;
74
75
  minified?: boolean | undefined;
75
- fullContent?: boolean | undefined;
76
76
  matchString?: string | undefined;
77
77
  matchStringContextLines?: number | undefined;
78
78
  }>;
79
79
  export declare const FileContentBulkQuerySchema: z.ZodObject<{
80
80
  queries: z.ZodArray<z.ZodEffects<z.ZodObject<{
81
- mainResearchGoal: z.ZodOptional<z.ZodString>;
82
- researchGoal: z.ZodOptional<z.ZodString>;
83
- reasoning: z.ZodOptional<z.ZodString>;
81
+ mainResearchGoal: z.ZodString;
82
+ researchGoal: z.ZodString;
83
+ reasoning: z.ZodString;
84
84
  } & {
85
85
  owner: z.ZodString;
86
86
  repo: z.ZodString;
@@ -95,77 +95,77 @@ export declare const FileContentBulkQuerySchema: z.ZodObject<{
95
95
  matchStringContextLines: z.ZodDefault<z.ZodNumber>;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  path: string;
98
+ fullContent: boolean;
99
+ mainResearchGoal: string;
100
+ researchGoal: string;
101
+ reasoning: string;
98
102
  owner: string;
99
103
  repo: string;
100
104
  sanitize: boolean;
101
105
  minified: boolean;
102
- fullContent: boolean;
103
106
  matchStringContextLines: number;
104
- mainResearchGoal?: string | undefined;
105
- researchGoal?: string | undefined;
106
- reasoning?: string | undefined;
107
107
  branch?: string | undefined;
108
108
  startLine?: number | undefined;
109
109
  endLine?: number | undefined;
110
110
  matchString?: string | undefined;
111
111
  }, {
112
112
  path: string;
113
+ mainResearchGoal: string;
114
+ researchGoal: string;
115
+ reasoning: string;
113
116
  owner: string;
114
117
  repo: string;
115
- mainResearchGoal?: string | undefined;
116
- researchGoal?: string | undefined;
117
- reasoning?: string | undefined;
118
+ fullContent?: boolean | undefined;
118
119
  sanitize?: boolean | undefined;
119
120
  branch?: string | undefined;
120
121
  startLine?: number | undefined;
121
122
  endLine?: number | undefined;
122
123
  minified?: boolean | undefined;
123
- fullContent?: boolean | undefined;
124
124
  matchString?: string | undefined;
125
125
  matchStringContextLines?: number | undefined;
126
126
  }>, {
127
127
  path: string;
128
+ fullContent: boolean;
129
+ mainResearchGoal: string;
130
+ researchGoal: string;
131
+ reasoning: string;
128
132
  owner: string;
129
133
  repo: string;
130
134
  sanitize: boolean;
131
135
  minified: boolean;
132
- fullContent: boolean;
133
136
  matchStringContextLines: number;
134
- mainResearchGoal?: string | undefined;
135
- researchGoal?: string | undefined;
136
- reasoning?: string | undefined;
137
137
  branch?: string | undefined;
138
138
  startLine?: number | undefined;
139
139
  endLine?: number | undefined;
140
140
  matchString?: string | undefined;
141
141
  }, {
142
142
  path: string;
143
+ mainResearchGoal: string;
144
+ researchGoal: string;
145
+ reasoning: string;
143
146
  owner: string;
144
147
  repo: string;
145
- mainResearchGoal?: string | undefined;
146
- researchGoal?: string | undefined;
147
- reasoning?: string | undefined;
148
+ fullContent?: boolean | undefined;
148
149
  sanitize?: boolean | undefined;
149
150
  branch?: string | undefined;
150
151
  startLine?: number | undefined;
151
152
  endLine?: number | undefined;
152
153
  minified?: boolean | undefined;
153
- fullContent?: boolean | undefined;
154
154
  matchString?: string | undefined;
155
155
  matchStringContextLines?: number | undefined;
156
156
  }>, "many">;
157
157
  }, "strip", z.ZodTypeAny, {
158
158
  queries: {
159
159
  path: string;
160
+ fullContent: boolean;
161
+ mainResearchGoal: string;
162
+ researchGoal: string;
163
+ reasoning: string;
160
164
  owner: string;
161
165
  repo: string;
162
166
  sanitize: boolean;
163
167
  minified: boolean;
164
- fullContent: boolean;
165
168
  matchStringContextLines: number;
166
- mainResearchGoal?: string | undefined;
167
- researchGoal?: string | undefined;
168
- reasoning?: string | undefined;
169
169
  branch?: string | undefined;
170
170
  startLine?: number | undefined;
171
171
  endLine?: number | undefined;
@@ -174,17 +174,17 @@ export declare const FileContentBulkQuerySchema: z.ZodObject<{
174
174
  }, {
175
175
  queries: {
176
176
  path: string;
177
+ mainResearchGoal: string;
178
+ researchGoal: string;
179
+ reasoning: string;
177
180
  owner: string;
178
181
  repo: string;
179
- mainResearchGoal?: string | undefined;
180
- researchGoal?: string | undefined;
181
- reasoning?: string | undefined;
182
+ fullContent?: boolean | undefined;
182
183
  sanitize?: boolean | undefined;
183
184
  branch?: string | undefined;
184
185
  startLine?: number | undefined;
185
186
  endLine?: number | undefined;
186
187
  minified?: boolean | undefined;
187
- fullContent?: boolean | undefined;
188
188
  matchString?: string | undefined;
189
189
  matchStringContextLines?: number | undefined;
190
190
  }[];
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  export declare const GitHubCodeSearchQuerySchema: z.ZodObject<{
3
- mainResearchGoal: z.ZodOptional<z.ZodString>;
4
- researchGoal: z.ZodOptional<z.ZodString>;
5
- reasoning: z.ZodOptional<z.ZodString>;
3
+ mainResearchGoal: z.ZodString;
4
+ researchGoal: z.ZodString;
5
+ reasoning: z.ZodString;
6
6
  } & {
7
7
  keywordsToSearch: z.ZodArray<z.ZodString, "many">;
8
8
  owner: z.ZodOptional<z.ZodString>;
@@ -16,13 +16,13 @@ export declare const GitHubCodeSearchQuerySchema: z.ZodObject<{
16
16
  minify: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
17
17
  sanitize: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18
18
  }, "strip", z.ZodTypeAny, {
19
+ mainResearchGoal: string;
20
+ researchGoal: string;
21
+ reasoning: string;
19
22
  keywordsToSearch: string[];
20
23
  minify: boolean;
21
24
  sanitize: boolean;
22
25
  path?: string | undefined;
23
- mainResearchGoal?: string | undefined;
24
- researchGoal?: string | undefined;
25
- reasoning?: string | undefined;
26
26
  owner?: string | undefined;
27
27
  repo?: string | undefined;
28
28
  stars?: string | undefined;
@@ -31,11 +31,11 @@ export declare const GitHubCodeSearchQuerySchema: z.ZodObject<{
31
31
  match?: "path" | "file" | undefined;
32
32
  limit?: number | undefined;
33
33
  }, {
34
+ mainResearchGoal: string;
35
+ researchGoal: string;
36
+ reasoning: string;
34
37
  keywordsToSearch: string[];
35
38
  path?: string | undefined;
36
- mainResearchGoal?: string | undefined;
37
- researchGoal?: string | undefined;
38
- reasoning?: string | undefined;
39
39
  owner?: string | undefined;
40
40
  repo?: string | undefined;
41
41
  stars?: string | undefined;
@@ -48,9 +48,9 @@ export declare const GitHubCodeSearchQuerySchema: z.ZodObject<{
48
48
  }>;
49
49
  export declare const GitHubCodeSearchBulkQuerySchema: z.ZodObject<{
50
50
  queries: z.ZodArray<z.ZodObject<{
51
- mainResearchGoal: z.ZodOptional<z.ZodString>;
52
- researchGoal: z.ZodOptional<z.ZodString>;
53
- reasoning: z.ZodOptional<z.ZodString>;
51
+ mainResearchGoal: z.ZodString;
52
+ researchGoal: z.ZodString;
53
+ reasoning: z.ZodString;
54
54
  } & {
55
55
  keywordsToSearch: z.ZodArray<z.ZodString, "many">;
56
56
  owner: z.ZodOptional<z.ZodString>;
@@ -64,13 +64,13 @@ export declare const GitHubCodeSearchBulkQuerySchema: z.ZodObject<{
64
64
  minify: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
65
65
  sanitize: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
66
66
  }, "strip", z.ZodTypeAny, {
67
+ mainResearchGoal: string;
68
+ researchGoal: string;
69
+ reasoning: string;
67
70
  keywordsToSearch: string[];
68
71
  minify: boolean;
69
72
  sanitize: boolean;
70
73
  path?: string | undefined;
71
- mainResearchGoal?: string | undefined;
72
- researchGoal?: string | undefined;
73
- reasoning?: string | undefined;
74
74
  owner?: string | undefined;
75
75
  repo?: string | undefined;
76
76
  stars?: string | undefined;
@@ -79,11 +79,11 @@ export declare const GitHubCodeSearchBulkQuerySchema: z.ZodObject<{
79
79
  match?: "path" | "file" | undefined;
80
80
  limit?: number | undefined;
81
81
  }, {
82
+ mainResearchGoal: string;
83
+ researchGoal: string;
84
+ reasoning: string;
82
85
  keywordsToSearch: string[];
83
86
  path?: string | undefined;
84
- mainResearchGoal?: string | undefined;
85
- researchGoal?: string | undefined;
86
- reasoning?: string | undefined;
87
87
  owner?: string | undefined;
88
88
  repo?: string | undefined;
89
89
  stars?: string | undefined;
@@ -96,13 +96,13 @@ export declare const GitHubCodeSearchBulkQuerySchema: z.ZodObject<{
96
96
  }>, "many">;
97
97
  }, "strip", z.ZodTypeAny, {
98
98
  queries: {
99
+ mainResearchGoal: string;
100
+ researchGoal: string;
101
+ reasoning: string;
99
102
  keywordsToSearch: string[];
100
103
  minify: boolean;
101
104
  sanitize: boolean;
102
105
  path?: string | undefined;
103
- mainResearchGoal?: string | undefined;
104
- researchGoal?: string | undefined;
105
- reasoning?: string | undefined;
106
106
  owner?: string | undefined;
107
107
  repo?: string | undefined;
108
108
  stars?: string | undefined;
@@ -113,11 +113,11 @@ export declare const GitHubCodeSearchBulkQuerySchema: z.ZodObject<{
113
113
  }[];
114
114
  }, {
115
115
  queries: {
116
+ mainResearchGoal: string;
117
+ researchGoal: string;
118
+ reasoning: string;
116
119
  keywordsToSearch: string[];
117
120
  path?: string | undefined;
118
- mainResearchGoal?: string | undefined;
119
- researchGoal?: string | undefined;
120
- reasoning?: string | undefined;
121
121
  owner?: string | undefined;
122
122
  repo?: string | undefined;
123
123
  stars?: string | undefined;
@@ -11,9 +11,9 @@ export declare const DateRangeSchema: z.ZodObject<{
11
11
  updated?: string | undefined;
12
12
  }>;
13
13
  export declare const GitHubPullRequestSearchQuerySchema: z.ZodObject<{
14
- mainResearchGoal: z.ZodOptional<z.ZodString>;
15
- researchGoal: z.ZodOptional<z.ZodString>;
16
- reasoning: z.ZodOptional<z.ZodString>;
14
+ mainResearchGoal: z.ZodString;
15
+ researchGoal: z.ZodString;
16
+ reasoning: z.ZodString;
17
17
  } & {
18
18
  query: z.ZodOptional<z.ZodString>;
19
19
  owner: z.ZodOptional<z.ZodString>;
@@ -48,21 +48,36 @@ export declare const GitHubPullRequestSearchQuerySchema: z.ZodObject<{
48
48
  order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
49
49
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
50
50
  withComments: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
51
- withContent: 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">>;
52
66
  }, "strip", z.ZodTypeAny, {
67
+ mainResearchGoal: string;
68
+ researchGoal: string;
69
+ reasoning: string;
53
70
  order: "asc" | "desc";
54
71
  query?: string | undefined;
55
72
  state?: "open" | "closed" | undefined;
56
73
  draft?: boolean | undefined;
57
74
  assignee?: string | undefined;
58
75
  comments?: string | number | undefined;
76
+ type?: "metadata" | "fullContent" | "partialContent" | undefined;
59
77
  reactions?: string | number | undefined;
60
78
  closed?: string | undefined;
61
79
  created?: string | undefined;
62
80
  updated?: string | undefined;
63
- mainResearchGoal?: string | undefined;
64
- researchGoal?: string | undefined;
65
- reasoning?: string | undefined;
66
81
  owner?: string | undefined;
67
82
  repo?: string | undefined;
68
83
  sort?: "created" | "updated" | "best-match" | undefined;
@@ -86,20 +101,26 @@ export declare const GitHubPullRequestSearchQuerySchema: z.ZodObject<{
86
101
  'no-project'?: boolean | undefined;
87
102
  prNumber?: number | undefined;
88
103
  withComments?: boolean | undefined;
89
- withContent?: boolean | undefined;
104
+ withCommits?: boolean | undefined;
105
+ partialContentMetadata?: {
106
+ file: string;
107
+ additions?: number[] | undefined;
108
+ deletions?: number[] | undefined;
109
+ }[] | undefined;
90
110
  }, {
111
+ mainResearchGoal: string;
112
+ researchGoal: string;
113
+ reasoning: string;
91
114
  query?: string | undefined;
92
115
  state?: "open" | "closed" | undefined;
93
116
  draft?: boolean | undefined;
94
117
  assignee?: string | undefined;
95
118
  comments?: string | number | undefined;
119
+ type?: "metadata" | "fullContent" | "partialContent" | undefined;
96
120
  reactions?: string | number | undefined;
97
121
  closed?: string | undefined;
98
122
  created?: string | undefined;
99
123
  updated?: string | undefined;
100
- mainResearchGoal?: string | undefined;
101
- researchGoal?: string | undefined;
102
- reasoning?: string | undefined;
103
124
  owner?: string | undefined;
104
125
  repo?: string | undefined;
105
126
  sort?: "created" | "updated" | "best-match" | undefined;
@@ -124,13 +145,18 @@ export declare const GitHubPullRequestSearchQuerySchema: z.ZodObject<{
124
145
  order?: "asc" | "desc" | undefined;
125
146
  prNumber?: number | undefined;
126
147
  withComments?: boolean | undefined;
127
- withContent?: boolean | undefined;
148
+ withCommits?: boolean | undefined;
149
+ partialContentMetadata?: {
150
+ file: string;
151
+ additions?: number[] | undefined;
152
+ deletions?: number[] | undefined;
153
+ }[] | undefined;
128
154
  }>;
129
155
  export declare const GitHubPullRequestSearchBulkQuerySchema: z.ZodObject<{
130
156
  queries: z.ZodArray<z.ZodObject<{
131
- mainResearchGoal: z.ZodOptional<z.ZodString>;
132
- researchGoal: z.ZodOptional<z.ZodString>;
133
- reasoning: z.ZodOptional<z.ZodString>;
157
+ mainResearchGoal: z.ZodString;
158
+ researchGoal: z.ZodString;
159
+ reasoning: z.ZodString;
134
160
  } & {
135
161
  query: z.ZodOptional<z.ZodString>;
136
162
  owner: z.ZodOptional<z.ZodString>;
@@ -165,21 +191,36 @@ export declare const GitHubPullRequestSearchBulkQuerySchema: z.ZodObject<{
165
191
  order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
166
192
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
167
193
  withComments: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
168
- withContent: 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">>;
169
209
  }, "strip", z.ZodTypeAny, {
210
+ mainResearchGoal: string;
211
+ researchGoal: string;
212
+ reasoning: string;
170
213
  order: "asc" | "desc";
171
214
  query?: string | undefined;
172
215
  state?: "open" | "closed" | undefined;
173
216
  draft?: boolean | undefined;
174
217
  assignee?: string | undefined;
175
218
  comments?: string | number | undefined;
219
+ type?: "metadata" | "fullContent" | "partialContent" | undefined;
176
220
  reactions?: string | number | undefined;
177
221
  closed?: string | undefined;
178
222
  created?: string | undefined;
179
223
  updated?: string | undefined;
180
- mainResearchGoal?: string | undefined;
181
- researchGoal?: string | undefined;
182
- reasoning?: string | undefined;
183
224
  owner?: string | undefined;
184
225
  repo?: string | undefined;
185
226
  sort?: "created" | "updated" | "best-match" | undefined;
@@ -203,20 +244,26 @@ export declare const GitHubPullRequestSearchBulkQuerySchema: z.ZodObject<{
203
244
  'no-project'?: boolean | undefined;
204
245
  prNumber?: number | undefined;
205
246
  withComments?: boolean | undefined;
206
- withContent?: boolean | undefined;
247
+ withCommits?: boolean | undefined;
248
+ partialContentMetadata?: {
249
+ file: string;
250
+ additions?: number[] | undefined;
251
+ deletions?: number[] | undefined;
252
+ }[] | undefined;
207
253
  }, {
254
+ mainResearchGoal: string;
255
+ researchGoal: string;
256
+ reasoning: string;
208
257
  query?: string | undefined;
209
258
  state?: "open" | "closed" | undefined;
210
259
  draft?: boolean | undefined;
211
260
  assignee?: string | undefined;
212
261
  comments?: string | number | undefined;
262
+ type?: "metadata" | "fullContent" | "partialContent" | undefined;
213
263
  reactions?: string | number | undefined;
214
264
  closed?: string | undefined;
215
265
  created?: string | undefined;
216
266
  updated?: string | undefined;
217
- mainResearchGoal?: string | undefined;
218
- researchGoal?: string | undefined;
219
- reasoning?: string | undefined;
220
267
  owner?: string | undefined;
221
268
  repo?: string | undefined;
222
269
  sort?: "created" | "updated" | "best-match" | undefined;
@@ -241,23 +288,29 @@ export declare const GitHubPullRequestSearchBulkQuerySchema: z.ZodObject<{
241
288
  order?: "asc" | "desc" | undefined;
242
289
  prNumber?: number | undefined;
243
290
  withComments?: boolean | undefined;
244
- withContent?: boolean | undefined;
291
+ withCommits?: boolean | undefined;
292
+ partialContentMetadata?: {
293
+ file: string;
294
+ additions?: number[] | undefined;
295
+ deletions?: number[] | undefined;
296
+ }[] | undefined;
245
297
  }>, "many">;
246
298
  }, "strip", z.ZodTypeAny, {
247
299
  queries: {
300
+ mainResearchGoal: string;
301
+ researchGoal: string;
302
+ reasoning: string;
248
303
  order: "asc" | "desc";
249
304
  query?: string | undefined;
250
305
  state?: "open" | "closed" | undefined;
251
306
  draft?: boolean | undefined;
252
307
  assignee?: string | undefined;
253
308
  comments?: string | number | undefined;
309
+ type?: "metadata" | "fullContent" | "partialContent" | undefined;
254
310
  reactions?: string | number | undefined;
255
311
  closed?: string | undefined;
256
312
  created?: string | undefined;
257
313
  updated?: string | undefined;
258
- mainResearchGoal?: string | undefined;
259
- researchGoal?: string | undefined;
260
- reasoning?: string | undefined;
261
314
  owner?: string | undefined;
262
315
  repo?: string | undefined;
263
316
  sort?: "created" | "updated" | "best-match" | undefined;
@@ -281,22 +334,28 @@ export declare const GitHubPullRequestSearchBulkQuerySchema: z.ZodObject<{
281
334
  'no-project'?: boolean | undefined;
282
335
  prNumber?: number | undefined;
283
336
  withComments?: boolean | undefined;
284
- withContent?: boolean | undefined;
337
+ withCommits?: boolean | undefined;
338
+ partialContentMetadata?: {
339
+ file: string;
340
+ additions?: number[] | undefined;
341
+ deletions?: number[] | undefined;
342
+ }[] | undefined;
285
343
  }[];
286
344
  }, {
287
345
  queries: {
346
+ mainResearchGoal: string;
347
+ researchGoal: string;
348
+ reasoning: string;
288
349
  query?: string | undefined;
289
350
  state?: "open" | "closed" | undefined;
290
351
  draft?: boolean | undefined;
291
352
  assignee?: string | undefined;
292
353
  comments?: string | number | undefined;
354
+ type?: "metadata" | "fullContent" | "partialContent" | undefined;
293
355
  reactions?: string | number | undefined;
294
356
  closed?: string | undefined;
295
357
  created?: string | undefined;
296
358
  updated?: string | undefined;
297
- mainResearchGoal?: string | undefined;
298
- researchGoal?: string | undefined;
299
- reasoning?: string | undefined;
300
359
  owner?: string | undefined;
301
360
  repo?: string | undefined;
302
361
  sort?: "created" | "updated" | "best-match" | undefined;
@@ -321,6 +380,11 @@ export declare const GitHubPullRequestSearchBulkQuerySchema: z.ZodObject<{
321
380
  order?: "asc" | "desc" | undefined;
322
381
  prNumber?: number | undefined;
323
382
  withComments?: boolean | undefined;
324
- withContent?: boolean | undefined;
383
+ withCommits?: boolean | undefined;
384
+ partialContentMetadata?: {
385
+ file: string;
386
+ additions?: number[] | undefined;
387
+ deletions?: number[] | undefined;
388
+ }[] | undefined;
325
389
  }[];
326
390
  }>;