@sentry/junior-github 0.302.0 → 0.304.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 (93) hide show
  1. package/dist/events-DGd7UVVs.js +2452 -0
  2. package/dist/index.d.ts +71 -3
  3. package/dist/index.js +7193 -8134
  4. package/dist/testing.d.ts +51 -1
  5. package/dist/testing.js +1 -6
  6. package/package.json +10 -13
  7. package/dist/account-links.d.ts +0 -8
  8. package/dist/annotations.d.ts +0 -33
  9. package/dist/chunk-6SOJ5TN6.js +0 -2618
  10. package/dist/clone-command.d.ts +0 -7
  11. package/dist/configured-repository.d.ts +0 -10
  12. package/dist/conversation-title-context.d.ts +0 -20
  13. package/dist/credential-support.d.ts +0 -107
  14. package/dist/db/database.d.ts +0 -5
  15. package/dist/db/schema.d.ts +0 -1412
  16. package/dist/default-branch.d.ts +0 -15
  17. package/dist/draft-readiness.d.ts +0 -31
  18. package/dist/egress-policy.d.ts +0 -25
  19. package/dist/events/comment.d.ts +0 -14
  20. package/dist/events/declarations.d.ts +0 -18
  21. package/dist/events/deployment.d.ts +0 -38
  22. package/dist/events/issue.d.ts +0 -42
  23. package/dist/events/pull-request.d.ts +0 -75
  24. package/dist/events/release.d.ts +0 -42
  25. package/dist/events/repository.d.ts +0 -23
  26. package/dist/events/resource-url.d.ts +0 -5
  27. package/dist/events/scope.d.ts +0 -13
  28. package/dist/git-config.d.ts +0 -52
  29. package/dist/github-status.d.ts +0 -16
  30. package/dist/graphql-documents.d.ts +0 -44
  31. package/dist/hooks-path-command.d.ts +0 -5
  32. package/dist/images.d.ts +0 -8
  33. package/dist/issue-outcomes/store.d.ts +0 -42
  34. package/dist/merge-conflict-checks/heartbeat.d.ts +0 -31
  35. package/dist/merge-conflict-checks/policy.d.ts +0 -74
  36. package/dist/merge-conflict-checks/store.d.ts +0 -44
  37. package/dist/merge-conflict-checks/webhooks.d.ts +0 -23
  38. package/dist/object-facts.d.ts +0 -29
  39. package/dist/permissions.d.ts +0 -6
  40. package/dist/plugin.d.ts +0 -45
  41. package/dist/pull-request-outcomes/apply.d.ts +0 -22
  42. package/dist/pull-request-outcomes/commit-composition.d.ts +0 -6
  43. package/dist/pull-request-outcomes/reconcile.d.ts +0 -42
  44. package/dist/pull-request-outcomes/store.d.ts +0 -120
  45. package/dist/pull-request-requesters/draft-reviewers.d.ts +0 -15
  46. package/dist/pull-request-requesters/store.d.ts +0 -41
  47. package/dist/pull-request-review-policy.d.ts +0 -6
  48. package/dist/receive-pack-policy.d.ts +0 -21
  49. package/dist/reply-markdown.d.ts +0 -18
  50. package/dist/sandbox-paths.d.ts +0 -4
  51. package/dist/tool-support/attribution.d.ts +0 -52
  52. package/dist/tool-support/github-api.d.ts +0 -51
  53. package/dist/tool-support/github-text.d.ts +0 -8
  54. package/dist/tool-support/pull-request-description.d.ts +0 -8
  55. package/dist/tools/clone-repository.d.ts +0 -287
  56. package/dist/tools/comment-on-issue.d.ts +0 -289
  57. package/dist/tools/comment-on-pull-request.d.ts +0 -294
  58. package/dist/tools/create-issue.d.ts +0 -300
  59. package/dist/tools/create-pull-request.d.ts +0 -322
  60. package/dist/tools/footer.d.ts +0 -17
  61. package/dist/tools/get-deployment.d.ts +0 -346
  62. package/dist/tools/get-issue.d.ts +0 -330
  63. package/dist/tools/get-pull-request.d.ts +0 -358
  64. package/dist/tools/get-release.d.ts +0 -325
  65. package/dist/tools/get-repository.d.ts +0 -308
  66. package/dist/tools/get-status.d.ts +0 -295
  67. package/dist/tools/react-to-issue.d.ts +0 -289
  68. package/dist/tools/resolve-pull-request-review-thread.d.ts +0 -288
  69. package/dist/tools/stack-pull-request.d.ts +0 -43
  70. package/dist/tools/submit-pull-request-review.d.ts +0 -300
  71. package/dist/tools/update-issue-comment.d.ts +0 -290
  72. package/dist/tools/update-issue.d.ts +0 -331
  73. package/dist/tools/update-pull-request-feedback.d.ts +0 -324
  74. package/dist/tools/update-pull-request.d.ts +0 -338
  75. package/dist/tools.d.ts +0 -13
  76. package/dist/webhooks/check-suite.d.ts +0 -121
  77. package/dist/webhooks/event-targets.d.ts +0 -44
  78. package/dist/webhooks/events.d.ts +0 -23
  79. package/dist/webhooks/fail-open-log.d.ts +0 -10
  80. package/dist/webhooks/handler.d.ts +0 -57
  81. package/dist/webhooks/installation-requests.d.ts +0 -105
  82. package/dist/webhooks/issue-outcome.d.ts +0 -11
  83. package/dist/webhooks/issue-update.d.ts +0 -8
  84. package/dist/webhooks/merge-conflict.d.ts +0 -53
  85. package/dist/webhooks/ownership.d.ts +0 -14
  86. package/dist/webhooks/pull-request-action.d.ts +0 -37
  87. package/dist/webhooks/pull-request-activity.d.ts +0 -11
  88. package/dist/webhooks/pull-request-match-data.d.ts +0 -31
  89. package/dist/webhooks/pull-request-outcome.d.ts +0 -16
  90. package/dist/webhooks/pull-request-people.d.ts +0 -51
  91. package/dist/webhooks/pull-request-preview.d.ts +0 -12
  92. package/dist/webhooks/pull-request-ready-reviewers.d.ts +0 -25
  93. package/dist/workspace-prepare.d.ts +0 -3
@@ -1,330 +0,0 @@
1
- import { type Actor, type Identity, type PluginEgress, type PluginLogger, type User } from "@sentry/junior-plugin-api";
2
- /**
3
- * Read one GitHub issue. Sandbox issue reads are routed here so the result can
4
- * tell the agent to claim an issue that the requester does not own yet.
5
- */
6
- export declare const gitHubGetIssueTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
7
- repo: string;
8
- number: number;
9
- }, {
10
- objectAnnotations?: {
11
- kind: "object";
12
- key: string;
13
- label: string;
14
- objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
15
- title: string;
16
- url: string | null;
17
- description?: string | undefined;
18
- status?: string | undefined;
19
- trigger?: string | undefined;
20
- warning?: string | undefined;
21
- displayType?: string | undefined;
22
- sourceUpdatedAt?: string | undefined;
23
- facts?: {
24
- type: "code_change";
25
- summary?: string | undefined;
26
- author?: string | undefined;
27
- sourceBranch?: string | undefined;
28
- targetBranch?: string | undefined;
29
- reviewers?: string[] | undefined;
30
- review?: "approved" | "changes_requested" | "required" | undefined;
31
- checks?: {
32
- passed: number;
33
- failed: number;
34
- pending: number;
35
- } | undefined;
36
- mergeable?: boolean | undefined;
37
- changedFiles?: number | undefined;
38
- additions?: number | undefined;
39
- deletions?: number | undefined;
40
- previewImageUrls?: string[] | undefined;
41
- } | {
42
- type: "task";
43
- summary?: string | undefined;
44
- assignees?: string[] | undefined;
45
- priority?: string | undefined;
46
- project?: string | undefined;
47
- cycle?: string | undefined;
48
- dueDate?: string | undefined;
49
- labels?: string[] | undefined;
50
- trend?: {
51
- label: string;
52
- points: number[];
53
- } | undefined;
54
- } | {
55
- type: "deployment";
56
- summary?: string | undefined;
57
- project?: string | undefined;
58
- environment?: string | undefined;
59
- revision?: string | undefined;
60
- branch?: string | undefined;
61
- } | {
62
- type: "calendar_event";
63
- summary?: string | undefined;
64
- when?: string | undefined;
65
- attendees?: string[] | undefined;
66
- } | {
67
- type: "conversation";
68
- summary?: string | undefined;
69
- participants?: string[] | undefined;
70
- lastActivityAt?: string | undefined;
71
- } | {
72
- type: "document";
73
- summary?: string | undefined;
74
- owner?: string | undefined;
75
- modifiedAt?: string | undefined;
76
- thumbnailUrl?: string | undefined;
77
- } | {
78
- type: "message";
79
- summary?: string | undefined;
80
- channel?: string | undefined;
81
- author?: string | undefined;
82
- sentAt?: string | undefined;
83
- } | {
84
- type: "web_page";
85
- summary?: string | undefined;
86
- siteName?: string | undefined;
87
- author?: string | undefined;
88
- media?: "image" | "video" | undefined;
89
- thumbnailUrl?: string | undefined;
90
- } | {
91
- type: "chart";
92
- summary?: string | undefined;
93
- display: "area" | "bar" | "line";
94
- yAxis: string;
95
- range: string;
96
- series: {
97
- label: string;
98
- points: number[];
99
- }[];
100
- } | {
101
- type: "event";
102
- summary?: string | undefined;
103
- level?: string | undefined;
104
- project?: string | undefined;
105
- release?: string | undefined;
106
- environment?: string | undefined;
107
- occurredAt?: string | undefined;
108
- } | {
109
- type: "trace";
110
- summary?: string | undefined;
111
- rootOp?: string | undefined;
112
- rootName?: string | undefined;
113
- durationMs: number;
114
- spanCount: number;
115
- errorCount: number;
116
- performanceIssueCount: number;
117
- projects: string[];
118
- spans: {
119
- op?: string | undefined;
120
- name: string;
121
- startMs: number;
122
- durationMs: number;
123
- issue?: boolean | undefined;
124
- }[];
125
- } | {
126
- type: "person";
127
- summary?: string | undefined;
128
- email?: string | undefined;
129
- slackHandle?: string | undefined;
130
- githubHandle?: string | undefined;
131
- avatarUrl?: string | undefined;
132
- } | undefined;
133
- }[] | undefined;
134
- reply?: {
135
- text: string;
136
- url?: string | undefined;
137
- } | undefined;
138
- truncated?: boolean | undefined;
139
- continuation?: {
140
- arguments: Record<string, unknown>;
141
- reason?: string | undefined;
142
- } | undefined;
143
- assignees: string[];
144
- author?: string | undefined;
145
- body: string | null;
146
- comments: number;
147
- labels: string[];
148
- note?: string | undefined;
149
- number: number;
150
- state: string;
151
- subscribable?: {
152
- identifier: string;
153
- label: string;
154
- match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
155
- namespace: string;
156
- suggested_events?: string[] | undefined;
157
- supported_events: string[];
158
- type: string;
159
- } | undefined;
160
- title: string;
161
- url: string;
162
- target: "getIssue";
163
- }, {
164
- objectAnnotations?: {
165
- kind: "object";
166
- key: string;
167
- label: string;
168
- objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
169
- title: string;
170
- url: string | null;
171
- description?: string | undefined;
172
- status?: string | undefined;
173
- trigger?: string | undefined;
174
- warning?: string | undefined;
175
- displayType?: string | undefined;
176
- sourceUpdatedAt?: string | undefined;
177
- facts?: {
178
- type: "code_change";
179
- summary?: string | undefined;
180
- author?: string | undefined;
181
- sourceBranch?: string | undefined;
182
- targetBranch?: string | undefined;
183
- reviewers?: string[] | undefined;
184
- review?: "approved" | "changes_requested" | "required" | undefined;
185
- checks?: {
186
- passed: number;
187
- failed: number;
188
- pending: number;
189
- } | undefined;
190
- mergeable?: boolean | undefined;
191
- changedFiles?: number | undefined;
192
- additions?: number | undefined;
193
- deletions?: number | undefined;
194
- previewImageUrls?: string[] | undefined;
195
- } | {
196
- type: "task";
197
- summary?: string | undefined;
198
- assignees?: string[] | undefined;
199
- priority?: string | undefined;
200
- project?: string | undefined;
201
- cycle?: string | undefined;
202
- dueDate?: string | undefined;
203
- labels?: string[] | undefined;
204
- trend?: {
205
- label: string;
206
- points: number[];
207
- } | undefined;
208
- } | {
209
- type: "deployment";
210
- summary?: string | undefined;
211
- project?: string | undefined;
212
- environment?: string | undefined;
213
- revision?: string | undefined;
214
- branch?: string | undefined;
215
- } | {
216
- type: "calendar_event";
217
- summary?: string | undefined;
218
- when?: string | undefined;
219
- attendees?: string[] | undefined;
220
- } | {
221
- type: "conversation";
222
- summary?: string | undefined;
223
- participants?: string[] | undefined;
224
- lastActivityAt?: string | undefined;
225
- } | {
226
- type: "document";
227
- summary?: string | undefined;
228
- owner?: string | undefined;
229
- modifiedAt?: string | undefined;
230
- thumbnailUrl?: string | undefined;
231
- } | {
232
- type: "message";
233
- summary?: string | undefined;
234
- channel?: string | undefined;
235
- author?: string | undefined;
236
- sentAt?: string | undefined;
237
- } | {
238
- type: "web_page";
239
- summary?: string | undefined;
240
- siteName?: string | undefined;
241
- author?: string | undefined;
242
- media?: "image" | "video" | undefined;
243
- thumbnailUrl?: string | undefined;
244
- } | {
245
- type: "chart";
246
- summary?: string | undefined;
247
- display: "area" | "bar" | "line";
248
- yAxis: string;
249
- range: string;
250
- series: {
251
- label: string;
252
- points: number[];
253
- }[];
254
- } | {
255
- type: "event";
256
- summary?: string | undefined;
257
- level?: string | undefined;
258
- project?: string | undefined;
259
- release?: string | undefined;
260
- environment?: string | undefined;
261
- occurredAt?: string | undefined;
262
- } | {
263
- type: "trace";
264
- summary?: string | undefined;
265
- rootOp?: string | undefined;
266
- rootName?: string | undefined;
267
- durationMs: number;
268
- spanCount: number;
269
- errorCount: number;
270
- performanceIssueCount: number;
271
- projects: string[];
272
- spans: {
273
- op?: string | undefined;
274
- name: string;
275
- startMs: number;
276
- durationMs: number;
277
- issue?: boolean | undefined;
278
- }[];
279
- } | {
280
- type: "person";
281
- summary?: string | undefined;
282
- email?: string | undefined;
283
- slackHandle?: string | undefined;
284
- githubHandle?: string | undefined;
285
- avatarUrl?: string | undefined;
286
- } | undefined;
287
- }[] | undefined;
288
- reply?: {
289
- text: string;
290
- url?: string | undefined;
291
- } | undefined;
292
- truncated?: boolean | undefined;
293
- continuation?: {
294
- arguments: Record<string, unknown>;
295
- reason?: string | undefined;
296
- } | undefined;
297
- assignees: string[];
298
- author?: string | undefined;
299
- body: string | null;
300
- comments: number;
301
- labels: string[];
302
- note?: string | undefined;
303
- number: number;
304
- state: string;
305
- subscribable?: {
306
- identifier: string;
307
- label: string;
308
- match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
309
- namespace: string;
310
- suggested_events?: string[] | undefined;
311
- supported_events: string[];
312
- type: string;
313
- } | undefined;
314
- title: string;
315
- url: string;
316
- target: "getIssue";
317
- }, {
318
- actor?: Actor;
319
- egress: PluginEgress;
320
- events: {
321
- canSubscribe: boolean;
322
- };
323
- log: PluginLogger;
324
- users: {
325
- resolveActor(): Promise<{
326
- identity?: Identity;
327
- user?: User;
328
- } | undefined>;
329
- };
330
- }>;
@@ -1,358 +0,0 @@
1
- import { type PluginConversationToolContext, type PluginEgress } from "@sentry/junior-plugin-api";
2
- /** Read one PR and expose its stable subscription identity when webhooks are enabled. */
3
- export declare const gitHubGetPullRequestTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
4
- repo: string;
5
- number: number;
6
- }, {
7
- objectAnnotations?: {
8
- kind: "object";
9
- key: string;
10
- label: string;
11
- objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
12
- title: string;
13
- url: string | null;
14
- description?: string | undefined;
15
- status?: string | undefined;
16
- trigger?: string | undefined;
17
- warning?: string | undefined;
18
- displayType?: string | undefined;
19
- sourceUpdatedAt?: string | undefined;
20
- facts?: {
21
- type: "code_change";
22
- summary?: string | undefined;
23
- author?: string | undefined;
24
- sourceBranch?: string | undefined;
25
- targetBranch?: string | undefined;
26
- reviewers?: string[] | undefined;
27
- review?: "approved" | "changes_requested" | "required" | undefined;
28
- checks?: {
29
- passed: number;
30
- failed: number;
31
- pending: number;
32
- } | undefined;
33
- mergeable?: boolean | undefined;
34
- changedFiles?: number | undefined;
35
- additions?: number | undefined;
36
- deletions?: number | undefined;
37
- previewImageUrls?: string[] | undefined;
38
- } | {
39
- type: "task";
40
- summary?: string | undefined;
41
- assignees?: string[] | undefined;
42
- priority?: string | undefined;
43
- project?: string | undefined;
44
- cycle?: string | undefined;
45
- dueDate?: string | undefined;
46
- labels?: string[] | undefined;
47
- trend?: {
48
- label: string;
49
- points: number[];
50
- } | undefined;
51
- } | {
52
- type: "deployment";
53
- summary?: string | undefined;
54
- project?: string | undefined;
55
- environment?: string | undefined;
56
- revision?: string | undefined;
57
- branch?: string | undefined;
58
- } | {
59
- type: "calendar_event";
60
- summary?: string | undefined;
61
- when?: string | undefined;
62
- attendees?: string[] | undefined;
63
- } | {
64
- type: "conversation";
65
- summary?: string | undefined;
66
- participants?: string[] | undefined;
67
- lastActivityAt?: string | undefined;
68
- } | {
69
- type: "document";
70
- summary?: string | undefined;
71
- owner?: string | undefined;
72
- modifiedAt?: string | undefined;
73
- thumbnailUrl?: string | undefined;
74
- } | {
75
- type: "message";
76
- summary?: string | undefined;
77
- channel?: string | undefined;
78
- author?: string | undefined;
79
- sentAt?: string | undefined;
80
- } | {
81
- type: "web_page";
82
- summary?: string | undefined;
83
- siteName?: string | undefined;
84
- author?: string | undefined;
85
- media?: "image" | "video" | undefined;
86
- thumbnailUrl?: string | undefined;
87
- } | {
88
- type: "chart";
89
- summary?: string | undefined;
90
- display: "area" | "bar" | "line";
91
- yAxis: string;
92
- range: string;
93
- series: {
94
- label: string;
95
- points: number[];
96
- }[];
97
- } | {
98
- type: "event";
99
- summary?: string | undefined;
100
- level?: string | undefined;
101
- project?: string | undefined;
102
- release?: string | undefined;
103
- environment?: string | undefined;
104
- occurredAt?: string | undefined;
105
- } | {
106
- type: "trace";
107
- summary?: string | undefined;
108
- rootOp?: string | undefined;
109
- rootName?: string | undefined;
110
- durationMs: number;
111
- spanCount: number;
112
- errorCount: number;
113
- performanceIssueCount: number;
114
- projects: string[];
115
- spans: {
116
- op?: string | undefined;
117
- name: string;
118
- startMs: number;
119
- durationMs: number;
120
- issue?: boolean | undefined;
121
- }[];
122
- } | {
123
- type: "person";
124
- summary?: string | undefined;
125
- email?: string | undefined;
126
- slackHandle?: string | undefined;
127
- githubHandle?: string | undefined;
128
- avatarUrl?: string | undefined;
129
- } | undefined;
130
- }[] | undefined;
131
- reply?: {
132
- text: string;
133
- url?: string | undefined;
134
- } | undefined;
135
- truncated?: boolean | undefined;
136
- continuation?: {
137
- arguments: Record<string, unknown>;
138
- reason?: string | undefined;
139
- } | undefined;
140
- base: string;
141
- agents_md?: string | undefined;
142
- checks: {
143
- required: "failing" | "not_reported" | "passing" | "pending";
144
- failing: string[];
145
- pending: string[];
146
- passing: string[];
147
- incomplete?: true | undefined;
148
- merge_state: string;
149
- review_decision: string | null;
150
- auto_merge: boolean;
151
- };
152
- code_owners?: string[] | undefined;
153
- draft: boolean;
154
- head: string;
155
- head_sha: string;
156
- merged: boolean;
157
- number: number;
158
- related_conversations?: {
159
- conversation_id: string;
160
- root_conversation_id?: string | undefined;
161
- status: "idle" | "paused" | "pending" | "running";
162
- title?: string | undefined;
163
- summary?: string | undefined;
164
- updated_at: string;
165
- }[] | undefined;
166
- state: string;
167
- subscribable?: {
168
- identifier: string;
169
- label: string;
170
- match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
171
- namespace: string;
172
- suggested_events?: string[] | undefined;
173
- supported_events: string[];
174
- type: string;
175
- } | undefined;
176
- title: string;
177
- url: string;
178
- target: "getPullRequest";
179
- }, {
180
- objectAnnotations?: {
181
- kind: "object";
182
- key: string;
183
- label: string;
184
- objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
185
- title: string;
186
- url: string | null;
187
- description?: string | undefined;
188
- status?: string | undefined;
189
- trigger?: string | undefined;
190
- warning?: string | undefined;
191
- displayType?: string | undefined;
192
- sourceUpdatedAt?: string | undefined;
193
- facts?: {
194
- type: "code_change";
195
- summary?: string | undefined;
196
- author?: string | undefined;
197
- sourceBranch?: string | undefined;
198
- targetBranch?: string | undefined;
199
- reviewers?: string[] | undefined;
200
- review?: "approved" | "changes_requested" | "required" | undefined;
201
- checks?: {
202
- passed: number;
203
- failed: number;
204
- pending: number;
205
- } | undefined;
206
- mergeable?: boolean | undefined;
207
- changedFiles?: number | undefined;
208
- additions?: number | undefined;
209
- deletions?: number | undefined;
210
- previewImageUrls?: string[] | undefined;
211
- } | {
212
- type: "task";
213
- summary?: string | undefined;
214
- assignees?: string[] | undefined;
215
- priority?: string | undefined;
216
- project?: string | undefined;
217
- cycle?: string | undefined;
218
- dueDate?: string | undefined;
219
- labels?: string[] | undefined;
220
- trend?: {
221
- label: string;
222
- points: number[];
223
- } | undefined;
224
- } | {
225
- type: "deployment";
226
- summary?: string | undefined;
227
- project?: string | undefined;
228
- environment?: string | undefined;
229
- revision?: string | undefined;
230
- branch?: string | undefined;
231
- } | {
232
- type: "calendar_event";
233
- summary?: string | undefined;
234
- when?: string | undefined;
235
- attendees?: string[] | undefined;
236
- } | {
237
- type: "conversation";
238
- summary?: string | undefined;
239
- participants?: string[] | undefined;
240
- lastActivityAt?: string | undefined;
241
- } | {
242
- type: "document";
243
- summary?: string | undefined;
244
- owner?: string | undefined;
245
- modifiedAt?: string | undefined;
246
- thumbnailUrl?: string | undefined;
247
- } | {
248
- type: "message";
249
- summary?: string | undefined;
250
- channel?: string | undefined;
251
- author?: string | undefined;
252
- sentAt?: string | undefined;
253
- } | {
254
- type: "web_page";
255
- summary?: string | undefined;
256
- siteName?: string | undefined;
257
- author?: string | undefined;
258
- media?: "image" | "video" | undefined;
259
- thumbnailUrl?: string | undefined;
260
- } | {
261
- type: "chart";
262
- summary?: string | undefined;
263
- display: "area" | "bar" | "line";
264
- yAxis: string;
265
- range: string;
266
- series: {
267
- label: string;
268
- points: number[];
269
- }[];
270
- } | {
271
- type: "event";
272
- summary?: string | undefined;
273
- level?: string | undefined;
274
- project?: string | undefined;
275
- release?: string | undefined;
276
- environment?: string | undefined;
277
- occurredAt?: string | undefined;
278
- } | {
279
- type: "trace";
280
- summary?: string | undefined;
281
- rootOp?: string | undefined;
282
- rootName?: string | undefined;
283
- durationMs: number;
284
- spanCount: number;
285
- errorCount: number;
286
- performanceIssueCount: number;
287
- projects: string[];
288
- spans: {
289
- op?: string | undefined;
290
- name: string;
291
- startMs: number;
292
- durationMs: number;
293
- issue?: boolean | undefined;
294
- }[];
295
- } | {
296
- type: "person";
297
- summary?: string | undefined;
298
- email?: string | undefined;
299
- slackHandle?: string | undefined;
300
- githubHandle?: string | undefined;
301
- avatarUrl?: string | undefined;
302
- } | undefined;
303
- }[] | undefined;
304
- reply?: {
305
- text: string;
306
- url?: string | undefined;
307
- } | undefined;
308
- truncated?: boolean | undefined;
309
- continuation?: {
310
- arguments: Record<string, unknown>;
311
- reason?: string | undefined;
312
- } | undefined;
313
- base: string;
314
- agents_md?: string | undefined;
315
- checks: {
316
- required: "failing" | "not_reported" | "passing" | "pending";
317
- failing: string[];
318
- pending: string[];
319
- passing: string[];
320
- incomplete?: true | undefined;
321
- merge_state: string;
322
- review_decision: string | null;
323
- auto_merge: boolean;
324
- };
325
- code_owners?: string[] | undefined;
326
- draft: boolean;
327
- head: string;
328
- head_sha: string;
329
- merged: boolean;
330
- number: number;
331
- related_conversations?: {
332
- conversation_id: string;
333
- root_conversation_id?: string | undefined;
334
- status: "idle" | "paused" | "pending" | "running";
335
- title?: string | undefined;
336
- summary?: string | undefined;
337
- updated_at: string;
338
- }[] | undefined;
339
- state: string;
340
- subscribable?: {
341
- identifier: string;
342
- label: string;
343
- match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
344
- namespace: string;
345
- suggested_events?: string[] | undefined;
346
- supported_events: string[];
347
- type: string;
348
- } | undefined;
349
- title: string;
350
- url: string;
351
- target: "getPullRequest";
352
- }, {
353
- conversations?: PluginConversationToolContext;
354
- egress: PluginEgress;
355
- events: {
356
- canSubscribe: boolean;
357
- };
358
- }>;