@sentry/junior-github 0.298.0 → 0.299.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.
Files changed (49) hide show
  1. package/dist/{chunk-OK6BNAGC.js → chunk-O74CQGTZ.js} +50 -20
  2. package/dist/credential-support.d.ts +7 -0
  3. package/dist/db/schema.d.ts +34 -0
  4. package/dist/events/pull-request.d.ts +8 -2
  5. package/dist/graphql-documents.d.ts +31 -0
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.js +1510 -771
  8. package/dist/object-facts.d.ts +16 -1
  9. package/dist/plugin.d.ts +3 -0
  10. package/dist/pull-request-outcomes/apply.d.ts +3 -1
  11. package/dist/pull-request-outcomes/reconcile.d.ts +10 -5
  12. package/dist/pull-request-outcomes/store.d.ts +5 -0
  13. package/dist/pull-request-requesters/draft-reviewers.d.ts +15 -0
  14. package/dist/testing.js +1 -1
  15. package/dist/tool-support/attribution.d.ts +4 -2
  16. package/dist/tool-support/pull-request-description.d.ts +8 -0
  17. package/dist/tools/clone-repository.d.ts +34 -2
  18. package/dist/tools/comment-on-issue.d.ts +34 -2
  19. package/dist/tools/comment-on-pull-request.d.ts +34 -2
  20. package/dist/tools/create-issue.d.ts +34 -2
  21. package/dist/tools/create-pull-request.d.ts +39 -4
  22. package/dist/tools/get-deployment.d.ts +34 -2
  23. package/dist/tools/get-issue.d.ts +34 -2
  24. package/dist/tools/get-pull-request.d.ts +54 -2
  25. package/dist/tools/get-release.d.ts +34 -2
  26. package/dist/tools/get-repository.d.ts +34 -2
  27. package/dist/tools/get-status.d.ts +34 -2
  28. package/dist/tools/react-to-issue.d.ts +34 -2
  29. package/dist/tools/resolve-pull-request-review-thread.d.ts +34 -2
  30. package/dist/tools/submit-pull-request-review.d.ts +34 -2
  31. package/dist/tools/update-issue-comment.d.ts +34 -2
  32. package/dist/tools/update-issue.d.ts +34 -2
  33. package/dist/tools/update-pull-request-feedback.d.ts +34 -4
  34. package/dist/tools/update-pull-request.d.ts +38 -4
  35. package/dist/tools.d.ts +10 -1
  36. package/dist/webhooks/check-suite.d.ts +2 -4
  37. package/dist/webhooks/fail-open-log.d.ts +10 -0
  38. package/dist/webhooks/handler.d.ts +1 -1
  39. package/dist/webhooks/installation-requests.d.ts +12 -1
  40. package/dist/webhooks/merge-conflict.d.ts +1 -1
  41. package/dist/webhooks/pull-request-preview.d.ts +12 -0
  42. package/dist/webhooks/pull-request-ready-reviewers.d.ts +25 -0
  43. package/dist/webhooks/pull-request-ready.d.ts +1 -1
  44. package/migrations/0011_pull_request_draft.sql +1 -0
  45. package/migrations/meta/0011_snapshot.json +434 -0
  46. package/migrations/meta/_journal.json +7 -0
  47. package/package.json +5 -2
  48. package/skills/github-code/SKILL.md +1 -1
  49. package/skills/github-code/SPEC.md +1 -1
@@ -24,7 +24,7 @@ export declare function createGitHubGetIssueTool(ctx: {
24
24
  kind: "object";
25
25
  key: string;
26
26
  label: string;
27
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
27
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
28
28
  title: string;
29
29
  url: string | null;
30
30
  description?: string | undefined;
@@ -49,6 +49,7 @@ export declare function createGitHubGetIssueTool(ctx: {
49
49
  changedFiles?: number | undefined;
50
50
  additions?: number | undefined;
51
51
  deletions?: number | undefined;
52
+ previewImageUrls?: string[] | undefined;
52
53
  } | {
53
54
  type: "task";
54
55
  assignees?: string[] | undefined;
@@ -67,6 +68,21 @@ export declare function createGitHubGetIssueTool(ctx: {
67
68
  type: "calendar_event";
68
69
  when?: string | undefined;
69
70
  attendees?: string[] | undefined;
71
+ } | {
72
+ type: "conversation";
73
+ participants?: string[] | undefined;
74
+ lastActivityAt?: string | undefined;
75
+ } | {
76
+ type: "message";
77
+ channel?: string | undefined;
78
+ author?: string | undefined;
79
+ sentAt?: string | undefined;
80
+ } | {
81
+ type: "person";
82
+ email?: string | undefined;
83
+ slackHandle?: string | undefined;
84
+ githubHandle?: string | undefined;
85
+ avatarUrl?: string | undefined;
70
86
  } | undefined;
71
87
  }[] | undefined;
72
88
  reply?: {
@@ -103,7 +119,7 @@ export declare function createGitHubGetIssueTool(ctx: {
103
119
  kind: "object";
104
120
  key: string;
105
121
  label: string;
106
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
122
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
107
123
  title: string;
108
124
  url: string | null;
109
125
  description?: string | undefined;
@@ -128,6 +144,7 @@ export declare function createGitHubGetIssueTool(ctx: {
128
144
  changedFiles?: number | undefined;
129
145
  additions?: number | undefined;
130
146
  deletions?: number | undefined;
147
+ previewImageUrls?: string[] | undefined;
131
148
  } | {
132
149
  type: "task";
133
150
  assignees?: string[] | undefined;
@@ -146,6 +163,21 @@ export declare function createGitHubGetIssueTool(ctx: {
146
163
  type: "calendar_event";
147
164
  when?: string | undefined;
148
165
  attendees?: string[] | undefined;
166
+ } | {
167
+ type: "conversation";
168
+ participants?: string[] | undefined;
169
+ lastActivityAt?: string | undefined;
170
+ } | {
171
+ type: "message";
172
+ channel?: string | undefined;
173
+ author?: string | undefined;
174
+ sentAt?: string | undefined;
175
+ } | {
176
+ type: "person";
177
+ email?: string | undefined;
178
+ slackHandle?: string | undefined;
179
+ githubHandle?: string | undefined;
180
+ avatarUrl?: string | undefined;
149
181
  } | undefined;
150
182
  }[] | undefined;
151
183
  reply?: {
@@ -13,7 +13,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
13
13
  kind: "object";
14
14
  key: string;
15
15
  label: string;
16
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
16
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
17
17
  title: string;
18
18
  url: string | null;
19
19
  description?: string | undefined;
@@ -38,6 +38,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
38
38
  changedFiles?: number | undefined;
39
39
  additions?: number | undefined;
40
40
  deletions?: number | undefined;
41
+ previewImageUrls?: string[] | undefined;
41
42
  } | {
42
43
  type: "task";
43
44
  assignees?: string[] | undefined;
@@ -56,6 +57,21 @@ export declare function createGitHubGetPullRequestTool(ctx: {
56
57
  type: "calendar_event";
57
58
  when?: string | undefined;
58
59
  attendees?: string[] | undefined;
60
+ } | {
61
+ type: "conversation";
62
+ participants?: string[] | undefined;
63
+ lastActivityAt?: string | undefined;
64
+ } | {
65
+ type: "message";
66
+ channel?: string | undefined;
67
+ author?: string | undefined;
68
+ sentAt?: string | undefined;
69
+ } | {
70
+ type: "person";
71
+ email?: string | undefined;
72
+ slackHandle?: string | undefined;
73
+ githubHandle?: string | undefined;
74
+ avatarUrl?: string | undefined;
59
75
  } | undefined;
60
76
  }[] | undefined;
61
77
  reply?: {
@@ -68,6 +84,16 @@ export declare function createGitHubGetPullRequestTool(ctx: {
68
84
  reason?: string | undefined;
69
85
  } | undefined;
70
86
  base: string;
87
+ checks: {
88
+ required: "failing" | "not_reported" | "passing" | "pending";
89
+ failing: string[];
90
+ pending: string[];
91
+ passing: string[];
92
+ incomplete?: true | undefined;
93
+ merge_state: string;
94
+ review_decision: string | null;
95
+ auto_merge: boolean;
96
+ };
71
97
  draft: boolean;
72
98
  head: string;
73
99
  head_sha: string;
@@ -91,7 +117,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
91
117
  kind: "object";
92
118
  key: string;
93
119
  label: string;
94
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
120
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
95
121
  title: string;
96
122
  url: string | null;
97
123
  description?: string | undefined;
@@ -116,6 +142,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
116
142
  changedFiles?: number | undefined;
117
143
  additions?: number | undefined;
118
144
  deletions?: number | undefined;
145
+ previewImageUrls?: string[] | undefined;
119
146
  } | {
120
147
  type: "task";
121
148
  assignees?: string[] | undefined;
@@ -134,6 +161,21 @@ export declare function createGitHubGetPullRequestTool(ctx: {
134
161
  type: "calendar_event";
135
162
  when?: string | undefined;
136
163
  attendees?: string[] | undefined;
164
+ } | {
165
+ type: "conversation";
166
+ participants?: string[] | undefined;
167
+ lastActivityAt?: string | undefined;
168
+ } | {
169
+ type: "message";
170
+ channel?: string | undefined;
171
+ author?: string | undefined;
172
+ sentAt?: string | undefined;
173
+ } | {
174
+ type: "person";
175
+ email?: string | undefined;
176
+ slackHandle?: string | undefined;
177
+ githubHandle?: string | undefined;
178
+ avatarUrl?: string | undefined;
137
179
  } | undefined;
138
180
  }[] | undefined;
139
181
  reply?: {
@@ -146,6 +188,16 @@ export declare function createGitHubGetPullRequestTool(ctx: {
146
188
  reason?: string | undefined;
147
189
  } | undefined;
148
190
  base: string;
191
+ checks: {
192
+ required: "failing" | "not_reported" | "passing" | "pending";
193
+ failing: string[];
194
+ pending: string[];
195
+ passing: string[];
196
+ incomplete?: true | undefined;
197
+ merge_state: string;
198
+ review_decision: string | null;
199
+ auto_merge: boolean;
200
+ };
149
201
  draft: boolean;
150
202
  head: string;
151
203
  head_sha: string;
@@ -13,7 +13,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
13
13
  kind: "object";
14
14
  key: string;
15
15
  label: string;
16
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
16
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
17
17
  title: string;
18
18
  url: string | null;
19
19
  description?: string | undefined;
@@ -38,6 +38,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
38
38
  changedFiles?: number | undefined;
39
39
  additions?: number | undefined;
40
40
  deletions?: number | undefined;
41
+ previewImageUrls?: string[] | undefined;
41
42
  } | {
42
43
  type: "task";
43
44
  assignees?: string[] | undefined;
@@ -56,6 +57,21 @@ export declare function createGitHubGetReleaseTool(ctx: {
56
57
  type: "calendar_event";
57
58
  when?: string | undefined;
58
59
  attendees?: string[] | undefined;
60
+ } | {
61
+ type: "conversation";
62
+ participants?: string[] | undefined;
63
+ lastActivityAt?: string | undefined;
64
+ } | {
65
+ type: "message";
66
+ channel?: string | undefined;
67
+ author?: string | undefined;
68
+ sentAt?: string | undefined;
69
+ } | {
70
+ type: "person";
71
+ email?: string | undefined;
72
+ slackHandle?: string | undefined;
73
+ githubHandle?: string | undefined;
74
+ avatarUrl?: string | undefined;
59
75
  } | undefined;
60
76
  }[] | undefined;
61
77
  reply?: {
@@ -95,7 +111,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
95
111
  kind: "object";
96
112
  key: string;
97
113
  label: string;
98
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
114
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
99
115
  title: string;
100
116
  url: string | null;
101
117
  description?: string | undefined;
@@ -120,6 +136,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
120
136
  changedFiles?: number | undefined;
121
137
  additions?: number | undefined;
122
138
  deletions?: number | undefined;
139
+ previewImageUrls?: string[] | undefined;
123
140
  } | {
124
141
  type: "task";
125
142
  assignees?: string[] | undefined;
@@ -138,6 +155,21 @@ export declare function createGitHubGetReleaseTool(ctx: {
138
155
  type: "calendar_event";
139
156
  when?: string | undefined;
140
157
  attendees?: string[] | undefined;
158
+ } | {
159
+ type: "conversation";
160
+ participants?: string[] | undefined;
161
+ lastActivityAt?: string | undefined;
162
+ } | {
163
+ type: "message";
164
+ channel?: string | undefined;
165
+ author?: string | undefined;
166
+ sentAt?: string | undefined;
167
+ } | {
168
+ type: "person";
169
+ email?: string | undefined;
170
+ slackHandle?: string | undefined;
171
+ githubHandle?: string | undefined;
172
+ avatarUrl?: string | undefined;
141
173
  } | undefined;
142
174
  }[] | undefined;
143
175
  reply?: {
@@ -12,7 +12,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
12
12
  kind: "object";
13
13
  key: string;
14
14
  label: string;
15
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
15
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
16
16
  title: string;
17
17
  url: string | null;
18
18
  description?: string | undefined;
@@ -37,6 +37,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
37
37
  changedFiles?: number | undefined;
38
38
  additions?: number | undefined;
39
39
  deletions?: number | undefined;
40
+ previewImageUrls?: string[] | undefined;
40
41
  } | {
41
42
  type: "task";
42
43
  assignees?: string[] | undefined;
@@ -55,6 +56,21 @@ export declare function createGitHubGetRepositoryTool(ctx: {
55
56
  type: "calendar_event";
56
57
  when?: string | undefined;
57
58
  attendees?: string[] | undefined;
59
+ } | {
60
+ type: "conversation";
61
+ participants?: string[] | undefined;
62
+ lastActivityAt?: string | undefined;
63
+ } | {
64
+ type: "message";
65
+ channel?: string | undefined;
66
+ author?: string | undefined;
67
+ sentAt?: string | undefined;
68
+ } | {
69
+ type: "person";
70
+ email?: string | undefined;
71
+ slackHandle?: string | undefined;
72
+ githubHandle?: string | undefined;
73
+ avatarUrl?: string | undefined;
58
74
  } | undefined;
59
75
  }[] | undefined;
60
76
  reply?: {
@@ -86,7 +102,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
86
102
  kind: "object";
87
103
  key: string;
88
104
  label: string;
89
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
105
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
90
106
  title: string;
91
107
  url: string | null;
92
108
  description?: string | undefined;
@@ -111,6 +127,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
111
127
  changedFiles?: number | undefined;
112
128
  additions?: number | undefined;
113
129
  deletions?: number | undefined;
130
+ previewImageUrls?: string[] | undefined;
114
131
  } | {
115
132
  type: "task";
116
133
  assignees?: string[] | undefined;
@@ -129,6 +146,21 @@ export declare function createGitHubGetRepositoryTool(ctx: {
129
146
  type: "calendar_event";
130
147
  when?: string | undefined;
131
148
  attendees?: string[] | undefined;
149
+ } | {
150
+ type: "conversation";
151
+ participants?: string[] | undefined;
152
+ lastActivityAt?: string | undefined;
153
+ } | {
154
+ type: "message";
155
+ channel?: string | undefined;
156
+ author?: string | undefined;
157
+ sentAt?: string | undefined;
158
+ } | {
159
+ type: "person";
160
+ email?: string | undefined;
161
+ slackHandle?: string | undefined;
162
+ githubHandle?: string | undefined;
163
+ avatarUrl?: string | undefined;
132
164
  } | undefined;
133
165
  }[] | undefined;
134
166
  reply?: {
@@ -8,7 +8,7 @@ export declare function createGitHubGetStatusTool(ctx: {
8
8
  kind: "object";
9
9
  key: string;
10
10
  label: string;
11
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
11
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
12
12
  title: string;
13
13
  url: string | null;
14
14
  description?: string | undefined;
@@ -33,6 +33,7 @@ export declare function createGitHubGetStatusTool(ctx: {
33
33
  changedFiles?: number | undefined;
34
34
  additions?: number | undefined;
35
35
  deletions?: number | undefined;
36
+ previewImageUrls?: string[] | undefined;
36
37
  } | {
37
38
  type: "task";
38
39
  assignees?: string[] | undefined;
@@ -51,6 +52,21 @@ export declare function createGitHubGetStatusTool(ctx: {
51
52
  type: "calendar_event";
52
53
  when?: string | undefined;
53
54
  attendees?: string[] | undefined;
55
+ } | {
56
+ type: "conversation";
57
+ participants?: string[] | undefined;
58
+ lastActivityAt?: string | undefined;
59
+ } | {
60
+ type: "message";
61
+ channel?: string | undefined;
62
+ author?: string | undefined;
63
+ sentAt?: string | undefined;
64
+ } | {
65
+ type: "person";
66
+ email?: string | undefined;
67
+ slackHandle?: string | undefined;
68
+ githubHandle?: string | undefined;
69
+ avatarUrl?: string | undefined;
54
70
  } | undefined;
55
71
  }[] | undefined;
56
72
  reply?: {
@@ -78,7 +94,7 @@ export declare function createGitHubGetStatusTool(ctx: {
78
94
  kind: "object";
79
95
  key: string;
80
96
  label: string;
81
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
97
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
82
98
  title: string;
83
99
  url: string | null;
84
100
  description?: string | undefined;
@@ -103,6 +119,7 @@ export declare function createGitHubGetStatusTool(ctx: {
103
119
  changedFiles?: number | undefined;
104
120
  additions?: number | undefined;
105
121
  deletions?: number | undefined;
122
+ previewImageUrls?: string[] | undefined;
106
123
  } | {
107
124
  type: "task";
108
125
  assignees?: string[] | undefined;
@@ -121,6 +138,21 @@ export declare function createGitHubGetStatusTool(ctx: {
121
138
  type: "calendar_event";
122
139
  when?: string | undefined;
123
140
  attendees?: string[] | undefined;
141
+ } | {
142
+ type: "conversation";
143
+ participants?: string[] | undefined;
144
+ lastActivityAt?: string | undefined;
145
+ } | {
146
+ type: "message";
147
+ channel?: string | undefined;
148
+ author?: string | undefined;
149
+ sentAt?: string | undefined;
150
+ } | {
151
+ type: "person";
152
+ email?: string | undefined;
153
+ slackHandle?: string | undefined;
154
+ githubHandle?: string | undefined;
155
+ avatarUrl?: string | undefined;
124
156
  } | undefined;
125
157
  }[] | undefined;
126
158
  reply?: {
@@ -10,7 +10,7 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
10
10
  kind: "object";
11
11
  key: string;
12
12
  label: string;
13
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
13
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
14
14
  title: string;
15
15
  url: string | null;
16
16
  description?: string | undefined;
@@ -35,6 +35,7 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
35
35
  changedFiles?: number | undefined;
36
36
  additions?: number | undefined;
37
37
  deletions?: number | undefined;
38
+ previewImageUrls?: string[] | undefined;
38
39
  } | {
39
40
  type: "task";
40
41
  assignees?: string[] | undefined;
@@ -53,6 +54,21 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
53
54
  type: "calendar_event";
54
55
  when?: string | undefined;
55
56
  attendees?: string[] | undefined;
57
+ } | {
58
+ type: "conversation";
59
+ participants?: string[] | undefined;
60
+ lastActivityAt?: string | undefined;
61
+ } | {
62
+ type: "message";
63
+ channel?: string | undefined;
64
+ author?: string | undefined;
65
+ sentAt?: string | undefined;
66
+ } | {
67
+ type: "person";
68
+ email?: string | undefined;
69
+ slackHandle?: string | undefined;
70
+ githubHandle?: string | undefined;
71
+ avatarUrl?: string | undefined;
56
72
  } | undefined;
57
73
  }[] | undefined;
58
74
  reply?: {
@@ -75,7 +91,7 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
75
91
  kind: "object";
76
92
  key: string;
77
93
  label: string;
78
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
94
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
79
95
  title: string;
80
96
  url: string | null;
81
97
  description?: string | undefined;
@@ -100,6 +116,7 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
100
116
  changedFiles?: number | undefined;
101
117
  additions?: number | undefined;
102
118
  deletions?: number | undefined;
119
+ previewImageUrls?: string[] | undefined;
103
120
  } | {
104
121
  type: "task";
105
122
  assignees?: string[] | undefined;
@@ -118,6 +135,21 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
118
135
  type: "calendar_event";
119
136
  when?: string | undefined;
120
137
  attendees?: string[] | undefined;
138
+ } | {
139
+ type: "conversation";
140
+ participants?: string[] | undefined;
141
+ lastActivityAt?: string | undefined;
142
+ } | {
143
+ type: "message";
144
+ channel?: string | undefined;
145
+ author?: string | undefined;
146
+ sentAt?: string | undefined;
147
+ } | {
148
+ type: "person";
149
+ email?: string | undefined;
150
+ slackHandle?: string | undefined;
151
+ githubHandle?: string | undefined;
152
+ avatarUrl?: string | undefined;
121
153
  } | undefined;
122
154
  }[] | undefined;
123
155
  reply?: {
@@ -11,7 +11,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
11
11
  kind: "object";
12
12
  key: string;
13
13
  label: string;
14
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
14
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
15
15
  title: string;
16
16
  url: string | null;
17
17
  description?: string | undefined;
@@ -36,6 +36,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
36
36
  changedFiles?: number | undefined;
37
37
  additions?: number | undefined;
38
38
  deletions?: number | undefined;
39
+ previewImageUrls?: string[] | undefined;
39
40
  } | {
40
41
  type: "task";
41
42
  assignees?: string[] | undefined;
@@ -54,6 +55,21 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
54
55
  type: "calendar_event";
55
56
  when?: string | undefined;
56
57
  attendees?: string[] | undefined;
58
+ } | {
59
+ type: "conversation";
60
+ participants?: string[] | undefined;
61
+ lastActivityAt?: string | undefined;
62
+ } | {
63
+ type: "message";
64
+ channel?: string | undefined;
65
+ author?: string | undefined;
66
+ sentAt?: string | undefined;
67
+ } | {
68
+ type: "person";
69
+ email?: string | undefined;
70
+ slackHandle?: string | undefined;
71
+ githubHandle?: string | undefined;
72
+ avatarUrl?: string | undefined;
57
73
  } | undefined;
58
74
  }[] | undefined;
59
75
  reply?: {
@@ -76,7 +92,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
76
92
  kind: "object";
77
93
  key: string;
78
94
  label: string;
79
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
95
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
80
96
  title: string;
81
97
  url: string | null;
82
98
  description?: string | undefined;
@@ -101,6 +117,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
101
117
  changedFiles?: number | undefined;
102
118
  additions?: number | undefined;
103
119
  deletions?: number | undefined;
120
+ previewImageUrls?: string[] | undefined;
104
121
  } | {
105
122
  type: "task";
106
123
  assignees?: string[] | undefined;
@@ -119,6 +136,21 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
119
136
  type: "calendar_event";
120
137
  when?: string | undefined;
121
138
  attendees?: string[] | undefined;
139
+ } | {
140
+ type: "conversation";
141
+ participants?: string[] | undefined;
142
+ lastActivityAt?: string | undefined;
143
+ } | {
144
+ type: "message";
145
+ channel?: string | undefined;
146
+ author?: string | undefined;
147
+ sentAt?: string | undefined;
148
+ } | {
149
+ type: "person";
150
+ email?: string | undefined;
151
+ slackHandle?: string | undefined;
152
+ githubHandle?: string | undefined;
153
+ avatarUrl?: string | undefined;
122
154
  } | undefined;
123
155
  }[] | undefined;
124
156
  reply?: {
@@ -19,7 +19,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
19
19
  kind: "object";
20
20
  key: string;
21
21
  label: string;
22
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
22
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
23
23
  title: string;
24
24
  url: string | null;
25
25
  description?: string | undefined;
@@ -44,6 +44,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
44
44
  changedFiles?: number | undefined;
45
45
  additions?: number | undefined;
46
46
  deletions?: number | undefined;
47
+ previewImageUrls?: string[] | undefined;
47
48
  } | {
48
49
  type: "task";
49
50
  assignees?: string[] | undefined;
@@ -62,6 +63,21 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
62
63
  type: "calendar_event";
63
64
  when?: string | undefined;
64
65
  attendees?: string[] | undefined;
66
+ } | {
67
+ type: "conversation";
68
+ participants?: string[] | undefined;
69
+ lastActivityAt?: string | undefined;
70
+ } | {
71
+ type: "message";
72
+ channel?: string | undefined;
73
+ author?: string | undefined;
74
+ sentAt?: string | undefined;
75
+ } | {
76
+ type: "person";
77
+ email?: string | undefined;
78
+ slackHandle?: string | undefined;
79
+ githubHandle?: string | undefined;
80
+ avatarUrl?: string | undefined;
65
81
  } | undefined;
66
82
  }[] | undefined;
67
83
  reply?: {
@@ -85,7 +101,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
85
101
  kind: "object";
86
102
  key: string;
87
103
  label: string;
88
- objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
104
+ objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
89
105
  title: string;
90
106
  url: string | null;
91
107
  description?: string | undefined;
@@ -110,6 +126,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
110
126
  changedFiles?: number | undefined;
111
127
  additions?: number | undefined;
112
128
  deletions?: number | undefined;
129
+ previewImageUrls?: string[] | undefined;
113
130
  } | {
114
131
  type: "task";
115
132
  assignees?: string[] | undefined;
@@ -128,6 +145,21 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
128
145
  type: "calendar_event";
129
146
  when?: string | undefined;
130
147
  attendees?: string[] | undefined;
148
+ } | {
149
+ type: "conversation";
150
+ participants?: string[] | undefined;
151
+ lastActivityAt?: string | undefined;
152
+ } | {
153
+ type: "message";
154
+ channel?: string | undefined;
155
+ author?: string | undefined;
156
+ sentAt?: string | undefined;
157
+ } | {
158
+ type: "person";
159
+ email?: string | undefined;
160
+ slackHandle?: string | undefined;
161
+ githubHandle?: string | undefined;
162
+ avatarUrl?: string | undefined;
131
163
  } | undefined;
132
164
  }[] | undefined;
133
165
  reply?: {