@sentry/junior-github 0.257.0 → 0.259.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.
@@ -6,14 +6,11 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
6
6
  body?: string | undefined;
7
7
  labels?: string[] | undefined;
8
8
  }, {
9
- number: number;
10
- url: string;
11
- target: "createIssue";
12
9
  objectAnnotations?: {
13
10
  kind: "object";
14
11
  key: string;
15
12
  label: string;
16
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
13
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
17
14
  title: string;
18
15
  url: string | null;
19
16
  description?: string | undefined;
@@ -28,7 +25,7 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
28
25
  sourceBranch?: string | undefined;
29
26
  targetBranch?: string | undefined;
30
27
  reviewers?: string[] | undefined;
31
- review?: "required" | "approved" | "changes_requested" | undefined;
28
+ review?: "approved" | "changes_requested" | "required" | undefined;
32
29
  checks?: {
33
30
  passed: number;
34
31
  failed: number;
@@ -63,23 +60,23 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
63
60
  arguments: Record<string, unknown>;
64
61
  reason?: string | undefined;
65
62
  } | undefined;
63
+ number: number;
66
64
  subscribable?: {
67
65
  identifier: string;
68
66
  label: string;
69
67
  namespace: string;
68
+ suggestedEvents?: string[] | undefined;
70
69
  supportedEvents: string[];
71
70
  type: string;
72
- suggestedEvents?: string[] | undefined;
73
71
  } | undefined;
74
- }, {
75
- number: number;
76
72
  url: string;
77
73
  target: "createIssue";
74
+ }, {
78
75
  objectAnnotations?: {
79
76
  kind: "object";
80
77
  key: string;
81
78
  label: string;
82
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
79
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
83
80
  title: string;
84
81
  url: string | null;
85
82
  description?: string | undefined;
@@ -94,7 +91,7 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
94
91
  sourceBranch?: string | undefined;
95
92
  targetBranch?: string | undefined;
96
93
  reviewers?: string[] | undefined;
97
- review?: "required" | "approved" | "changes_requested" | undefined;
94
+ review?: "approved" | "changes_requested" | "required" | undefined;
98
95
  checks?: {
99
96
  passed: number;
100
97
  failed: number;
@@ -129,12 +126,15 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
129
126
  arguments: Record<string, unknown>;
130
127
  reason?: string | undefined;
131
128
  } | undefined;
129
+ number: number;
132
130
  subscribable?: {
133
131
  identifier: string;
134
132
  label: string;
135
133
  namespace: string;
134
+ suggestedEvents?: string[] | undefined;
136
135
  supportedEvents: string[];
137
136
  type: string;
138
- suggestedEvents?: string[] | undefined;
139
137
  } | undefined;
138
+ url: string;
139
+ target: "createIssue";
140
140
  }>;
@@ -9,14 +9,11 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
9
9
  body?: string | undefined;
10
10
  draft?: boolean | undefined;
11
11
  }, {
12
- number: number;
13
- url: string;
14
- target: "createPullRequest";
15
12
  objectAnnotations?: {
16
13
  kind: "object";
17
14
  key: string;
18
15
  label: string;
19
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
16
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
20
17
  title: string;
21
18
  url: string | null;
22
19
  description?: string | undefined;
@@ -31,7 +28,7 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
31
28
  sourceBranch?: string | undefined;
32
29
  targetBranch?: string | undefined;
33
30
  reviewers?: string[] | undefined;
34
- review?: "required" | "approved" | "changes_requested" | undefined;
31
+ review?: "approved" | "changes_requested" | "required" | undefined;
35
32
  checks?: {
36
33
  passed: number;
37
34
  failed: number;
@@ -66,27 +63,27 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
66
63
  arguments: Record<string, unknown>;
67
64
  reason?: string | undefined;
68
65
  } | undefined;
66
+ number: number;
67
+ url: string;
69
68
  subscribable?: {
70
69
  identifier: string;
71
70
  label: string;
72
71
  namespace: string;
72
+ suggestedEvents?: string[] | undefined;
73
73
  supportedEvents: string[];
74
74
  type: string;
75
- suggestedEvents?: string[] | undefined;
76
75
  } | undefined;
77
76
  subscription?: {
78
77
  events: string[];
79
78
  id: string;
80
79
  } | undefined;
81
- }, {
82
- number: number;
83
- url: string;
84
80
  target: "createPullRequest";
81
+ }, {
85
82
  objectAnnotations?: {
86
83
  kind: "object";
87
84
  key: string;
88
85
  label: string;
89
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
86
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
90
87
  title: string;
91
88
  url: string | null;
92
89
  description?: string | undefined;
@@ -101,7 +98,7 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
101
98
  sourceBranch?: string | undefined;
102
99
  targetBranch?: string | undefined;
103
100
  reviewers?: string[] | undefined;
104
- review?: "required" | "approved" | "changes_requested" | undefined;
101
+ review?: "approved" | "changes_requested" | "required" | undefined;
105
102
  checks?: {
106
103
  passed: number;
107
104
  failed: number;
@@ -136,16 +133,19 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
136
133
  arguments: Record<string, unknown>;
137
134
  reason?: string | undefined;
138
135
  } | undefined;
136
+ number: number;
137
+ url: string;
139
138
  subscribable?: {
140
139
  identifier: string;
141
140
  label: string;
142
141
  namespace: string;
142
+ suggestedEvents?: string[] | undefined;
143
143
  supportedEvents: string[];
144
144
  type: string;
145
- suggestedEvents?: string[] | undefined;
146
145
  } | undefined;
147
146
  subscription?: {
148
147
  events: string[];
149
148
  id: string;
150
149
  } | undefined;
150
+ target: "createPullRequest";
151
151
  }>;
@@ -10,35 +10,11 @@ export declare function createGitHubGetDeploymentTool(ctx: {
10
10
  commitSha: string;
11
11
  environment?: string | undefined;
12
12
  }, {
13
- commitSha: string;
14
- deployment: {
15
- createdAt: string;
16
- creator: string | null;
17
- description: string | null;
18
- environment: string;
19
- id: number;
20
- latestStatus: {
21
- createdAt: string;
22
- creator: string | null;
23
- description: string | null;
24
- environmentUrl: string | null;
25
- id: number;
26
- logUrl: string | null;
27
- state: string;
28
- } | null;
29
- ref: string;
30
- sha: string;
31
- updatedAt: string;
32
- url: string;
33
- } | null;
34
- environment: string | null;
35
- repo: string;
36
- target: "getDeployment";
37
13
  objectAnnotations?: {
38
14
  kind: "object";
39
15
  key: string;
40
16
  label: string;
41
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
17
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
42
18
  title: string;
43
19
  url: string | null;
44
20
  description?: string | undefined;
@@ -53,7 +29,7 @@ export declare function createGitHubGetDeploymentTool(ctx: {
53
29
  sourceBranch?: string | undefined;
54
30
  targetBranch?: string | undefined;
55
31
  reviewers?: string[] | undefined;
56
- review?: "required" | "approved" | "changes_requested" | undefined;
32
+ review?: "approved" | "changes_requested" | "required" | undefined;
57
33
  checks?: {
58
34
  passed: number;
59
35
  failed: number;
@@ -88,15 +64,6 @@ export declare function createGitHubGetDeploymentTool(ctx: {
88
64
  arguments: Record<string, unknown>;
89
65
  reason?: string | undefined;
90
66
  } | undefined;
91
- subscribable?: {
92
- identifier: string;
93
- label: string;
94
- namespace: string;
95
- supportedEvents: string[];
96
- type: string;
97
- suggestedEvents?: string[] | undefined;
98
- } | undefined;
99
- }, {
100
67
  commitSha: string;
101
68
  deployment: {
102
69
  createdAt: string;
@@ -120,12 +87,21 @@ export declare function createGitHubGetDeploymentTool(ctx: {
120
87
  } | null;
121
88
  environment: string | null;
122
89
  repo: string;
90
+ subscribable?: {
91
+ identifier: string;
92
+ label: string;
93
+ namespace: string;
94
+ suggestedEvents?: string[] | undefined;
95
+ supportedEvents: string[];
96
+ type: string;
97
+ } | undefined;
123
98
  target: "getDeployment";
99
+ }, {
124
100
  objectAnnotations?: {
125
101
  kind: "object";
126
102
  key: string;
127
103
  label: string;
128
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
104
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
129
105
  title: string;
130
106
  url: string | null;
131
107
  description?: string | undefined;
@@ -140,7 +116,7 @@ export declare function createGitHubGetDeploymentTool(ctx: {
140
116
  sourceBranch?: string | undefined;
141
117
  targetBranch?: string | undefined;
142
118
  reviewers?: string[] | undefined;
143
- review?: "required" | "approved" | "changes_requested" | undefined;
119
+ review?: "approved" | "changes_requested" | "required" | undefined;
144
120
  checks?: {
145
121
  passed: number;
146
122
  failed: number;
@@ -175,12 +151,36 @@ export declare function createGitHubGetDeploymentTool(ctx: {
175
151
  arguments: Record<string, unknown>;
176
152
  reason?: string | undefined;
177
153
  } | undefined;
154
+ commitSha: string;
155
+ deployment: {
156
+ createdAt: string;
157
+ creator: string | null;
158
+ description: string | null;
159
+ environment: string;
160
+ id: number;
161
+ latestStatus: {
162
+ createdAt: string;
163
+ creator: string | null;
164
+ description: string | null;
165
+ environmentUrl: string | null;
166
+ id: number;
167
+ logUrl: string | null;
168
+ state: string;
169
+ } | null;
170
+ ref: string;
171
+ sha: string;
172
+ updatedAt: string;
173
+ url: string;
174
+ } | null;
175
+ environment: string | null;
176
+ repo: string;
178
177
  subscribable?: {
179
178
  identifier: string;
180
179
  label: string;
181
180
  namespace: string;
181
+ suggestedEvents?: string[] | undefined;
182
182
  supportedEvents: string[];
183
183
  type: string;
184
- suggestedEvents?: string[] | undefined;
185
184
  } | undefined;
185
+ target: "getDeployment";
186
186
  }>;
@@ -9,21 +9,11 @@ export declare function createGitHubGetPullRequestTool(ctx: {
9
9
  repo: string;
10
10
  number: number;
11
11
  }, {
12
- base: string;
13
- draft: boolean;
14
- head: string;
15
- headSha: string;
16
- merged: boolean;
17
- number: number;
18
- state: string;
19
- title: string;
20
- url: string;
21
- target: "getPullRequest";
22
12
  objectAnnotations?: {
23
13
  kind: "object";
24
14
  key: string;
25
15
  label: string;
26
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
16
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
27
17
  title: string;
28
18
  url: string | null;
29
19
  description?: string | undefined;
@@ -38,7 +28,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
38
28
  sourceBranch?: string | undefined;
39
29
  targetBranch?: string | undefined;
40
30
  reviewers?: string[] | undefined;
41
- review?: "required" | "approved" | "changes_requested" | undefined;
31
+ review?: "approved" | "changes_requested" | "required" | undefined;
42
32
  checks?: {
43
33
  passed: number;
44
34
  failed: number;
@@ -73,15 +63,6 @@ export declare function createGitHubGetPullRequestTool(ctx: {
73
63
  arguments: Record<string, unknown>;
74
64
  reason?: string | undefined;
75
65
  } | undefined;
76
- subscribable?: {
77
- identifier: string;
78
- label: string;
79
- namespace: string;
80
- supportedEvents: string[];
81
- type: string;
82
- suggestedEvents?: string[] | undefined;
83
- } | undefined;
84
- }, {
85
66
  base: string;
86
67
  draft: boolean;
87
68
  head: string;
@@ -89,14 +70,23 @@ export declare function createGitHubGetPullRequestTool(ctx: {
89
70
  merged: boolean;
90
71
  number: number;
91
72
  state: string;
73
+ subscribable?: {
74
+ identifier: string;
75
+ label: string;
76
+ namespace: string;
77
+ suggestedEvents?: string[] | undefined;
78
+ supportedEvents: string[];
79
+ type: string;
80
+ } | undefined;
92
81
  title: string;
93
82
  url: string;
94
83
  target: "getPullRequest";
84
+ }, {
95
85
  objectAnnotations?: {
96
86
  kind: "object";
97
87
  key: string;
98
88
  label: string;
99
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
89
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
100
90
  title: string;
101
91
  url: string | null;
102
92
  description?: string | undefined;
@@ -111,7 +101,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
111
101
  sourceBranch?: string | undefined;
112
102
  targetBranch?: string | undefined;
113
103
  reviewers?: string[] | undefined;
114
- review?: "required" | "approved" | "changes_requested" | undefined;
104
+ review?: "approved" | "changes_requested" | "required" | undefined;
115
105
  checks?: {
116
106
  passed: number;
117
107
  failed: number;
@@ -146,12 +136,22 @@ export declare function createGitHubGetPullRequestTool(ctx: {
146
136
  arguments: Record<string, unknown>;
147
137
  reason?: string | undefined;
148
138
  } | undefined;
139
+ base: string;
140
+ draft: boolean;
141
+ head: string;
142
+ headSha: string;
143
+ merged: boolean;
144
+ number: number;
145
+ state: string;
149
146
  subscribable?: {
150
147
  identifier: string;
151
148
  label: string;
152
149
  namespace: string;
150
+ suggestedEvents?: string[] | undefined;
153
151
  supportedEvents: string[];
154
152
  type: string;
155
- suggestedEvents?: string[] | undefined;
156
153
  } | undefined;
154
+ title: string;
155
+ url: string;
156
+ target: "getPullRequest";
157
157
  }>;
@@ -9,25 +9,11 @@ export declare function createGitHubGetReleaseTool(ctx: {
9
9
  repo: string;
10
10
  tag?: string | undefined;
11
11
  }, {
12
- release: {
13
- createdAt: string;
14
- draft: boolean;
15
- htmlUrl: string;
16
- id: number;
17
- name: string | null;
18
- prerelease: boolean;
19
- publishedAt: string | null;
20
- tagName: string;
21
- targetCommitish: string;
22
- } | null;
23
- repo: string;
24
- tag: string | null;
25
- target: "getRelease";
26
12
  objectAnnotations?: {
27
13
  kind: "object";
28
14
  key: string;
29
15
  label: string;
30
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
16
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
31
17
  title: string;
32
18
  url: string | null;
33
19
  description?: string | undefined;
@@ -42,7 +28,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
42
28
  sourceBranch?: string | undefined;
43
29
  targetBranch?: string | undefined;
44
30
  reviewers?: string[] | undefined;
45
- review?: "required" | "approved" | "changes_requested" | undefined;
31
+ review?: "approved" | "changes_requested" | "required" | undefined;
46
32
  checks?: {
47
33
  passed: number;
48
34
  failed: number;
@@ -77,15 +63,6 @@ export declare function createGitHubGetReleaseTool(ctx: {
77
63
  arguments: Record<string, unknown>;
78
64
  reason?: string | undefined;
79
65
  } | undefined;
80
- subscribable?: {
81
- identifier: string;
82
- label: string;
83
- namespace: string;
84
- supportedEvents: string[];
85
- type: string;
86
- suggestedEvents?: string[] | undefined;
87
- } | undefined;
88
- }, {
89
66
  release: {
90
67
  createdAt: string;
91
68
  draft: boolean;
@@ -98,13 +75,22 @@ export declare function createGitHubGetReleaseTool(ctx: {
98
75
  targetCommitish: string;
99
76
  } | null;
100
77
  repo: string;
78
+ subscribable?: {
79
+ identifier: string;
80
+ label: string;
81
+ namespace: string;
82
+ suggestedEvents?: string[] | undefined;
83
+ supportedEvents: string[];
84
+ type: string;
85
+ } | undefined;
101
86
  tag: string | null;
102
87
  target: "getRelease";
88
+ }, {
103
89
  objectAnnotations?: {
104
90
  kind: "object";
105
91
  key: string;
106
92
  label: string;
107
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
93
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
108
94
  title: string;
109
95
  url: string | null;
110
96
  description?: string | undefined;
@@ -119,7 +105,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
119
105
  sourceBranch?: string | undefined;
120
106
  targetBranch?: string | undefined;
121
107
  reviewers?: string[] | undefined;
122
- review?: "required" | "approved" | "changes_requested" | undefined;
108
+ review?: "approved" | "changes_requested" | "required" | undefined;
123
109
  checks?: {
124
110
  passed: number;
125
111
  failed: number;
@@ -154,12 +140,26 @@ export declare function createGitHubGetReleaseTool(ctx: {
154
140
  arguments: Record<string, unknown>;
155
141
  reason?: string | undefined;
156
142
  } | undefined;
143
+ release: {
144
+ createdAt: string;
145
+ draft: boolean;
146
+ htmlUrl: string;
147
+ id: number;
148
+ name: string | null;
149
+ prerelease: boolean;
150
+ publishedAt: string | null;
151
+ tagName: string;
152
+ targetCommitish: string;
153
+ } | null;
154
+ repo: string;
157
155
  subscribable?: {
158
156
  identifier: string;
159
157
  label: string;
160
158
  namespace: string;
159
+ suggestedEvents?: string[] | undefined;
161
160
  supportedEvents: string[];
162
161
  type: string;
163
- suggestedEvents?: string[] | undefined;
164
162
  } | undefined;
163
+ tag: string | null;
164
+ target: "getRelease";
165
165
  }>;
@@ -8,17 +8,11 @@ export declare function createGitHubGetRepositoryTool(ctx: {
8
8
  }): import("@sentry/junior-plugin-api").PluginToolDefinition<{
9
9
  repo: string;
10
10
  }, {
11
- defaultBranch: string;
12
- description: string | null;
13
- fullName: string;
14
- private: boolean;
15
- url: string;
16
- target: "getRepository";
17
11
  objectAnnotations?: {
18
12
  kind: "object";
19
13
  key: string;
20
14
  label: string;
21
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
15
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
22
16
  title: string;
23
17
  url: string | null;
24
18
  description?: string | undefined;
@@ -33,7 +27,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
33
27
  sourceBranch?: string | undefined;
34
28
  targetBranch?: string | undefined;
35
29
  reviewers?: string[] | undefined;
36
- review?: "required" | "approved" | "changes_requested" | undefined;
30
+ review?: "approved" | "changes_requested" | "required" | undefined;
37
31
  checks?: {
38
32
  passed: number;
39
33
  failed: number;
@@ -68,26 +62,26 @@ export declare function createGitHubGetRepositoryTool(ctx: {
68
62
  arguments: Record<string, unknown>;
69
63
  reason?: string | undefined;
70
64
  } | undefined;
65
+ defaultBranch: string;
66
+ description: string | null;
67
+ fullName: string;
68
+ private: boolean;
71
69
  subscribable?: {
72
70
  identifier: string;
73
71
  label: string;
74
72
  namespace: string;
73
+ suggestedEvents?: string[] | undefined;
75
74
  supportedEvents: string[];
76
75
  type: string;
77
- suggestedEvents?: string[] | undefined;
78
76
  } | undefined;
79
- }, {
80
- defaultBranch: string;
81
- description: string | null;
82
- fullName: string;
83
- private: boolean;
84
77
  url: string;
85
78
  target: "getRepository";
79
+ }, {
86
80
  objectAnnotations?: {
87
81
  kind: "object";
88
82
  key: string;
89
83
  label: string;
90
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
84
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
91
85
  title: string;
92
86
  url: string | null;
93
87
  description?: string | undefined;
@@ -102,7 +96,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
102
96
  sourceBranch?: string | undefined;
103
97
  targetBranch?: string | undefined;
104
98
  reviewers?: string[] | undefined;
105
- review?: "required" | "approved" | "changes_requested" | undefined;
99
+ review?: "approved" | "changes_requested" | "required" | undefined;
106
100
  checks?: {
107
101
  passed: number;
108
102
  failed: number;
@@ -137,12 +131,18 @@ export declare function createGitHubGetRepositoryTool(ctx: {
137
131
  arguments: Record<string, unknown>;
138
132
  reason?: string | undefined;
139
133
  } | undefined;
134
+ defaultBranch: string;
135
+ description: string | null;
136
+ fullName: string;
137
+ private: boolean;
140
138
  subscribable?: {
141
139
  identifier: string;
142
140
  label: string;
143
141
  namespace: string;
142
+ suggestedEvents?: string[] | undefined;
144
143
  supportedEvents: string[];
145
144
  type: string;
146
- suggestedEvents?: string[] | undefined;
147
145
  } | undefined;
146
+ url: string;
147
+ target: "getRepository";
148
148
  }>;
@@ -7,16 +7,11 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
7
7
  threadId: string;
8
8
  }, {
9
9
  [x: string]: unknown;
10
- target: "resolvePullRequestReviewThread";
11
- repo: string;
12
- number: number;
13
- threadId: string;
14
- resolved: boolean;
15
10
  objectAnnotations?: {
16
11
  kind: "object";
17
12
  key: string;
18
13
  label: string;
19
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
14
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
20
15
  title: string;
21
16
  url: string | null;
22
17
  description?: string | undefined;
@@ -31,7 +26,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
31
26
  sourceBranch?: string | undefined;
32
27
  targetBranch?: string | undefined;
33
28
  reviewers?: string[] | undefined;
34
- review?: "required" | "approved" | "changes_requested" | undefined;
29
+ review?: "approved" | "changes_requested" | "required" | undefined;
35
30
  checks?: {
36
31
  passed: number;
37
32
  failed: number;
@@ -66,18 +61,18 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
66
61
  arguments: Record<string, unknown>;
67
62
  reason?: string | undefined;
68
63
  } | undefined;
69
- }, {
70
- [x: string]: unknown;
71
64
  target: "resolvePullRequestReviewThread";
72
65
  repo: string;
73
66
  number: number;
74
67
  threadId: string;
75
68
  resolved: boolean;
69
+ }, {
70
+ [x: string]: unknown;
76
71
  objectAnnotations?: {
77
72
  kind: "object";
78
73
  key: string;
79
74
  label: string;
80
- objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
75
+ objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
81
76
  title: string;
82
77
  url: string | null;
83
78
  description?: string | undefined;
@@ -92,7 +87,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
92
87
  sourceBranch?: string | undefined;
93
88
  targetBranch?: string | undefined;
94
89
  reviewers?: string[] | undefined;
95
- review?: "required" | "approved" | "changes_requested" | undefined;
90
+ review?: "approved" | "changes_requested" | "required" | undefined;
96
91
  checks?: {
97
92
  passed: number;
98
93
  failed: number;
@@ -127,4 +122,9 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
127
122
  arguments: Record<string, unknown>;
128
123
  reason?: string | undefined;
129
124
  } | undefined;
125
+ target: "resolvePullRequestReviewThread";
126
+ repo: string;
127
+ number: number;
128
+ threadId: string;
129
+ resolved: boolean;
130
130
  }>;