@sentry/junior-vercel 0.225.0 → 0.226.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +20 -1
- package/dist/tools/actions.d.ts +340 -10
- package/dist/tools/deployment.d.ts +68 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -63,7 +63,26 @@ function deploymentResult(data) {
|
|
|
63
63
|
deploymentTarget: value.target ?? null,
|
|
64
64
|
projectId: value.projectId ?? null,
|
|
65
65
|
commitSha: value.gitSource?.sha ?? null,
|
|
66
|
-
ref: value.gitSource?.ref ?? null
|
|
66
|
+
ref: value.gitSource?.ref ?? null,
|
|
67
|
+
objectAnnotations: [
|
|
68
|
+
{
|
|
69
|
+
kind: "object",
|
|
70
|
+
objectType: "item",
|
|
71
|
+
displayType: "Deployment",
|
|
72
|
+
key: value.id,
|
|
73
|
+
label: value.id,
|
|
74
|
+
title: value.url.slice(0, 512),
|
|
75
|
+
url: `https://${value.url}`,
|
|
76
|
+
status: value.readyState,
|
|
77
|
+
facts: {
|
|
78
|
+
type: "deployment",
|
|
79
|
+
project: value.projectId?.slice(0, 64),
|
|
80
|
+
environment: value.target?.slice(0, 64) ?? void 0,
|
|
81
|
+
revision: value.gitSource?.sha?.slice(0, 64),
|
|
82
|
+
branch: value.gitSource?.ref?.slice(0, 64)
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
]
|
|
67
86
|
};
|
|
68
87
|
}
|
|
69
88
|
function createVercelActionTools(ctx) {
|
package/dist/tools/actions.d.ts
CHANGED
|
@@ -21,13 +21,46 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
21
21
|
kind: "object";
|
|
22
22
|
key: string;
|
|
23
23
|
label: string;
|
|
24
|
-
objectType: "
|
|
24
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
25
25
|
title: string;
|
|
26
26
|
url: string | null;
|
|
27
27
|
description?: string | undefined;
|
|
28
28
|
status?: string | undefined;
|
|
29
29
|
trigger?: string | undefined;
|
|
30
30
|
warning?: string | undefined;
|
|
31
|
+
displayType?: string | undefined;
|
|
32
|
+
sourceUpdatedAt?: string | undefined;
|
|
33
|
+
facts?: {
|
|
34
|
+
type: "code_change";
|
|
35
|
+
author?: string | undefined;
|
|
36
|
+
sourceBranch?: string | undefined;
|
|
37
|
+
targetBranch?: string | undefined;
|
|
38
|
+
reviewers?: string[] | undefined;
|
|
39
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
40
|
+
checks?: {
|
|
41
|
+
passed: number;
|
|
42
|
+
failed: number;
|
|
43
|
+
pending: number;
|
|
44
|
+
} | undefined;
|
|
45
|
+
mergeable?: boolean | undefined;
|
|
46
|
+
changedFiles?: number | undefined;
|
|
47
|
+
additions?: number | undefined;
|
|
48
|
+
deletions?: number | undefined;
|
|
49
|
+
} | {
|
|
50
|
+
type: "task";
|
|
51
|
+
assignees?: string[] | undefined;
|
|
52
|
+
priority?: string | undefined;
|
|
53
|
+
project?: string | undefined;
|
|
54
|
+
cycle?: string | undefined;
|
|
55
|
+
dueDate?: string | undefined;
|
|
56
|
+
labels?: string[] | undefined;
|
|
57
|
+
} | {
|
|
58
|
+
type: "deployment";
|
|
59
|
+
project?: string | undefined;
|
|
60
|
+
environment?: string | undefined;
|
|
61
|
+
revision?: string | undefined;
|
|
62
|
+
branch?: string | undefined;
|
|
63
|
+
} | undefined;
|
|
31
64
|
}[] | undefined;
|
|
32
65
|
truncated?: boolean | undefined;
|
|
33
66
|
continuation?: {
|
|
@@ -48,13 +81,46 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
48
81
|
kind: "object";
|
|
49
82
|
key: string;
|
|
50
83
|
label: string;
|
|
51
|
-
objectType: "
|
|
84
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
52
85
|
title: string;
|
|
53
86
|
url: string | null;
|
|
54
87
|
description?: string | undefined;
|
|
55
88
|
status?: string | undefined;
|
|
56
89
|
trigger?: string | undefined;
|
|
57
90
|
warning?: string | undefined;
|
|
91
|
+
displayType?: string | undefined;
|
|
92
|
+
sourceUpdatedAt?: string | undefined;
|
|
93
|
+
facts?: {
|
|
94
|
+
type: "code_change";
|
|
95
|
+
author?: string | undefined;
|
|
96
|
+
sourceBranch?: string | undefined;
|
|
97
|
+
targetBranch?: string | undefined;
|
|
98
|
+
reviewers?: string[] | undefined;
|
|
99
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
100
|
+
checks?: {
|
|
101
|
+
passed: number;
|
|
102
|
+
failed: number;
|
|
103
|
+
pending: number;
|
|
104
|
+
} | undefined;
|
|
105
|
+
mergeable?: boolean | undefined;
|
|
106
|
+
changedFiles?: number | undefined;
|
|
107
|
+
additions?: number | undefined;
|
|
108
|
+
deletions?: number | undefined;
|
|
109
|
+
} | {
|
|
110
|
+
type: "task";
|
|
111
|
+
assignees?: string[] | undefined;
|
|
112
|
+
priority?: string | undefined;
|
|
113
|
+
project?: string | undefined;
|
|
114
|
+
cycle?: string | undefined;
|
|
115
|
+
dueDate?: string | undefined;
|
|
116
|
+
labels?: string[] | undefined;
|
|
117
|
+
} | {
|
|
118
|
+
type: "deployment";
|
|
119
|
+
project?: string | undefined;
|
|
120
|
+
environment?: string | undefined;
|
|
121
|
+
revision?: string | undefined;
|
|
122
|
+
branch?: string | undefined;
|
|
123
|
+
} | undefined;
|
|
58
124
|
}[] | undefined;
|
|
59
125
|
truncated?: boolean | undefined;
|
|
60
126
|
continuation?: {
|
|
@@ -79,13 +145,46 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
79
145
|
kind: "object";
|
|
80
146
|
key: string;
|
|
81
147
|
label: string;
|
|
82
|
-
objectType: "
|
|
148
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
83
149
|
title: string;
|
|
84
150
|
url: string | null;
|
|
85
151
|
description?: string | undefined;
|
|
86
152
|
status?: string | undefined;
|
|
87
153
|
trigger?: string | undefined;
|
|
88
154
|
warning?: string | undefined;
|
|
155
|
+
displayType?: string | undefined;
|
|
156
|
+
sourceUpdatedAt?: string | undefined;
|
|
157
|
+
facts?: {
|
|
158
|
+
type: "code_change";
|
|
159
|
+
author?: string | undefined;
|
|
160
|
+
sourceBranch?: string | undefined;
|
|
161
|
+
targetBranch?: string | undefined;
|
|
162
|
+
reviewers?: string[] | undefined;
|
|
163
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
164
|
+
checks?: {
|
|
165
|
+
passed: number;
|
|
166
|
+
failed: number;
|
|
167
|
+
pending: number;
|
|
168
|
+
} | undefined;
|
|
169
|
+
mergeable?: boolean | undefined;
|
|
170
|
+
changedFiles?: number | undefined;
|
|
171
|
+
additions?: number | undefined;
|
|
172
|
+
deletions?: number | undefined;
|
|
173
|
+
} | {
|
|
174
|
+
type: "task";
|
|
175
|
+
assignees?: string[] | undefined;
|
|
176
|
+
priority?: string | undefined;
|
|
177
|
+
project?: string | undefined;
|
|
178
|
+
cycle?: string | undefined;
|
|
179
|
+
dueDate?: string | undefined;
|
|
180
|
+
labels?: string[] | undefined;
|
|
181
|
+
} | {
|
|
182
|
+
type: "deployment";
|
|
183
|
+
project?: string | undefined;
|
|
184
|
+
environment?: string | undefined;
|
|
185
|
+
revision?: string | undefined;
|
|
186
|
+
branch?: string | undefined;
|
|
187
|
+
} | undefined;
|
|
89
188
|
}[] | undefined;
|
|
90
189
|
truncated?: boolean | undefined;
|
|
91
190
|
continuation?: {
|
|
@@ -106,13 +205,46 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
106
205
|
kind: "object";
|
|
107
206
|
key: string;
|
|
108
207
|
label: string;
|
|
109
|
-
objectType: "
|
|
208
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
110
209
|
title: string;
|
|
111
210
|
url: string | null;
|
|
112
211
|
description?: string | undefined;
|
|
113
212
|
status?: string | undefined;
|
|
114
213
|
trigger?: string | undefined;
|
|
115
214
|
warning?: string | undefined;
|
|
215
|
+
displayType?: string | undefined;
|
|
216
|
+
sourceUpdatedAt?: string | undefined;
|
|
217
|
+
facts?: {
|
|
218
|
+
type: "code_change";
|
|
219
|
+
author?: string | undefined;
|
|
220
|
+
sourceBranch?: string | undefined;
|
|
221
|
+
targetBranch?: string | undefined;
|
|
222
|
+
reviewers?: string[] | undefined;
|
|
223
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
224
|
+
checks?: {
|
|
225
|
+
passed: number;
|
|
226
|
+
failed: number;
|
|
227
|
+
pending: number;
|
|
228
|
+
} | undefined;
|
|
229
|
+
mergeable?: boolean | undefined;
|
|
230
|
+
changedFiles?: number | undefined;
|
|
231
|
+
additions?: number | undefined;
|
|
232
|
+
deletions?: number | undefined;
|
|
233
|
+
} | {
|
|
234
|
+
type: "task";
|
|
235
|
+
assignees?: string[] | undefined;
|
|
236
|
+
priority?: string | undefined;
|
|
237
|
+
project?: string | undefined;
|
|
238
|
+
cycle?: string | undefined;
|
|
239
|
+
dueDate?: string | undefined;
|
|
240
|
+
labels?: string[] | undefined;
|
|
241
|
+
} | {
|
|
242
|
+
type: "deployment";
|
|
243
|
+
project?: string | undefined;
|
|
244
|
+
environment?: string | undefined;
|
|
245
|
+
revision?: string | undefined;
|
|
246
|
+
branch?: string | undefined;
|
|
247
|
+
} | undefined;
|
|
116
248
|
}[] | undefined;
|
|
117
249
|
truncated?: boolean | undefined;
|
|
118
250
|
continuation?: {
|
|
@@ -135,13 +267,46 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
135
267
|
kind: "object";
|
|
136
268
|
key: string;
|
|
137
269
|
label: string;
|
|
138
|
-
objectType: "
|
|
270
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
139
271
|
title: string;
|
|
140
272
|
url: string | null;
|
|
141
273
|
description?: string | undefined;
|
|
142
274
|
status?: string | undefined;
|
|
143
275
|
trigger?: string | undefined;
|
|
144
276
|
warning?: string | undefined;
|
|
277
|
+
displayType?: string | undefined;
|
|
278
|
+
sourceUpdatedAt?: string | undefined;
|
|
279
|
+
facts?: {
|
|
280
|
+
type: "code_change";
|
|
281
|
+
author?: string | undefined;
|
|
282
|
+
sourceBranch?: string | undefined;
|
|
283
|
+
targetBranch?: string | undefined;
|
|
284
|
+
reviewers?: string[] | undefined;
|
|
285
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
286
|
+
checks?: {
|
|
287
|
+
passed: number;
|
|
288
|
+
failed: number;
|
|
289
|
+
pending: number;
|
|
290
|
+
} | undefined;
|
|
291
|
+
mergeable?: boolean | undefined;
|
|
292
|
+
changedFiles?: number | undefined;
|
|
293
|
+
additions?: number | undefined;
|
|
294
|
+
deletions?: number | undefined;
|
|
295
|
+
} | {
|
|
296
|
+
type: "task";
|
|
297
|
+
assignees?: string[] | undefined;
|
|
298
|
+
priority?: string | undefined;
|
|
299
|
+
project?: string | undefined;
|
|
300
|
+
cycle?: string | undefined;
|
|
301
|
+
dueDate?: string | undefined;
|
|
302
|
+
labels?: string[] | undefined;
|
|
303
|
+
} | {
|
|
304
|
+
type: "deployment";
|
|
305
|
+
project?: string | undefined;
|
|
306
|
+
environment?: string | undefined;
|
|
307
|
+
revision?: string | undefined;
|
|
308
|
+
branch?: string | undefined;
|
|
309
|
+
} | undefined;
|
|
145
310
|
}[] | undefined;
|
|
146
311
|
truncated?: boolean | undefined;
|
|
147
312
|
continuation?: {
|
|
@@ -159,13 +324,46 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
159
324
|
kind: "object";
|
|
160
325
|
key: string;
|
|
161
326
|
label: string;
|
|
162
|
-
objectType: "
|
|
327
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
163
328
|
title: string;
|
|
164
329
|
url: string | null;
|
|
165
330
|
description?: string | undefined;
|
|
166
331
|
status?: string | undefined;
|
|
167
332
|
trigger?: string | undefined;
|
|
168
333
|
warning?: string | undefined;
|
|
334
|
+
displayType?: string | undefined;
|
|
335
|
+
sourceUpdatedAt?: string | undefined;
|
|
336
|
+
facts?: {
|
|
337
|
+
type: "code_change";
|
|
338
|
+
author?: string | undefined;
|
|
339
|
+
sourceBranch?: string | undefined;
|
|
340
|
+
targetBranch?: string | undefined;
|
|
341
|
+
reviewers?: string[] | undefined;
|
|
342
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
343
|
+
checks?: {
|
|
344
|
+
passed: number;
|
|
345
|
+
failed: number;
|
|
346
|
+
pending: number;
|
|
347
|
+
} | undefined;
|
|
348
|
+
mergeable?: boolean | undefined;
|
|
349
|
+
changedFiles?: number | undefined;
|
|
350
|
+
additions?: number | undefined;
|
|
351
|
+
deletions?: number | undefined;
|
|
352
|
+
} | {
|
|
353
|
+
type: "task";
|
|
354
|
+
assignees?: string[] | undefined;
|
|
355
|
+
priority?: string | undefined;
|
|
356
|
+
project?: string | undefined;
|
|
357
|
+
cycle?: string | undefined;
|
|
358
|
+
dueDate?: string | undefined;
|
|
359
|
+
labels?: string[] | undefined;
|
|
360
|
+
} | {
|
|
361
|
+
type: "deployment";
|
|
362
|
+
project?: string | undefined;
|
|
363
|
+
environment?: string | undefined;
|
|
364
|
+
revision?: string | undefined;
|
|
365
|
+
branch?: string | undefined;
|
|
366
|
+
} | undefined;
|
|
169
367
|
}[] | undefined;
|
|
170
368
|
truncated?: boolean | undefined;
|
|
171
369
|
continuation?: {
|
|
@@ -186,13 +384,46 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
186
384
|
kind: "object";
|
|
187
385
|
key: string;
|
|
188
386
|
label: string;
|
|
189
|
-
objectType: "
|
|
387
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
190
388
|
title: string;
|
|
191
389
|
url: string | null;
|
|
192
390
|
description?: string | undefined;
|
|
193
391
|
status?: string | undefined;
|
|
194
392
|
trigger?: string | undefined;
|
|
195
393
|
warning?: string | undefined;
|
|
394
|
+
displayType?: string | undefined;
|
|
395
|
+
sourceUpdatedAt?: string | undefined;
|
|
396
|
+
facts?: {
|
|
397
|
+
type: "code_change";
|
|
398
|
+
author?: string | undefined;
|
|
399
|
+
sourceBranch?: string | undefined;
|
|
400
|
+
targetBranch?: string | undefined;
|
|
401
|
+
reviewers?: string[] | undefined;
|
|
402
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
403
|
+
checks?: {
|
|
404
|
+
passed: number;
|
|
405
|
+
failed: number;
|
|
406
|
+
pending: number;
|
|
407
|
+
} | undefined;
|
|
408
|
+
mergeable?: boolean | undefined;
|
|
409
|
+
changedFiles?: number | undefined;
|
|
410
|
+
additions?: number | undefined;
|
|
411
|
+
deletions?: number | undefined;
|
|
412
|
+
} | {
|
|
413
|
+
type: "task";
|
|
414
|
+
assignees?: string[] | undefined;
|
|
415
|
+
priority?: string | undefined;
|
|
416
|
+
project?: string | undefined;
|
|
417
|
+
cycle?: string | undefined;
|
|
418
|
+
dueDate?: string | undefined;
|
|
419
|
+
labels?: string[] | undefined;
|
|
420
|
+
} | {
|
|
421
|
+
type: "deployment";
|
|
422
|
+
project?: string | undefined;
|
|
423
|
+
environment?: string | undefined;
|
|
424
|
+
revision?: string | undefined;
|
|
425
|
+
branch?: string | undefined;
|
|
426
|
+
} | undefined;
|
|
196
427
|
}[] | undefined;
|
|
197
428
|
truncated?: boolean | undefined;
|
|
198
429
|
continuation?: {
|
|
@@ -209,13 +440,46 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
209
440
|
kind: "object";
|
|
210
441
|
key: string;
|
|
211
442
|
label: string;
|
|
212
|
-
objectType: "
|
|
443
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
213
444
|
title: string;
|
|
214
445
|
url: string | null;
|
|
215
446
|
description?: string | undefined;
|
|
216
447
|
status?: string | undefined;
|
|
217
448
|
trigger?: string | undefined;
|
|
218
449
|
warning?: string | undefined;
|
|
450
|
+
displayType?: string | undefined;
|
|
451
|
+
sourceUpdatedAt?: string | undefined;
|
|
452
|
+
facts?: {
|
|
453
|
+
type: "code_change";
|
|
454
|
+
author?: string | undefined;
|
|
455
|
+
sourceBranch?: string | undefined;
|
|
456
|
+
targetBranch?: string | undefined;
|
|
457
|
+
reviewers?: string[] | undefined;
|
|
458
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
459
|
+
checks?: {
|
|
460
|
+
passed: number;
|
|
461
|
+
failed: number;
|
|
462
|
+
pending: number;
|
|
463
|
+
} | undefined;
|
|
464
|
+
mergeable?: boolean | undefined;
|
|
465
|
+
changedFiles?: number | undefined;
|
|
466
|
+
additions?: number | undefined;
|
|
467
|
+
deletions?: number | undefined;
|
|
468
|
+
} | {
|
|
469
|
+
type: "task";
|
|
470
|
+
assignees?: string[] | undefined;
|
|
471
|
+
priority?: string | undefined;
|
|
472
|
+
project?: string | undefined;
|
|
473
|
+
cycle?: string | undefined;
|
|
474
|
+
dueDate?: string | undefined;
|
|
475
|
+
labels?: string[] | undefined;
|
|
476
|
+
} | {
|
|
477
|
+
type: "deployment";
|
|
478
|
+
project?: string | undefined;
|
|
479
|
+
environment?: string | undefined;
|
|
480
|
+
revision?: string | undefined;
|
|
481
|
+
branch?: string | undefined;
|
|
482
|
+
} | undefined;
|
|
219
483
|
}[] | undefined;
|
|
220
484
|
truncated?: boolean | undefined;
|
|
221
485
|
continuation?: {
|
|
@@ -235,13 +499,46 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
235
499
|
kind: "object";
|
|
236
500
|
key: string;
|
|
237
501
|
label: string;
|
|
238
|
-
objectType: "
|
|
502
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
239
503
|
title: string;
|
|
240
504
|
url: string | null;
|
|
241
505
|
description?: string | undefined;
|
|
242
506
|
status?: string | undefined;
|
|
243
507
|
trigger?: string | undefined;
|
|
244
508
|
warning?: string | undefined;
|
|
509
|
+
displayType?: string | undefined;
|
|
510
|
+
sourceUpdatedAt?: string | undefined;
|
|
511
|
+
facts?: {
|
|
512
|
+
type: "code_change";
|
|
513
|
+
author?: string | undefined;
|
|
514
|
+
sourceBranch?: string | undefined;
|
|
515
|
+
targetBranch?: string | undefined;
|
|
516
|
+
reviewers?: string[] | undefined;
|
|
517
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
518
|
+
checks?: {
|
|
519
|
+
passed: number;
|
|
520
|
+
failed: number;
|
|
521
|
+
pending: number;
|
|
522
|
+
} | undefined;
|
|
523
|
+
mergeable?: boolean | undefined;
|
|
524
|
+
changedFiles?: number | undefined;
|
|
525
|
+
additions?: number | undefined;
|
|
526
|
+
deletions?: number | undefined;
|
|
527
|
+
} | {
|
|
528
|
+
type: "task";
|
|
529
|
+
assignees?: string[] | undefined;
|
|
530
|
+
priority?: string | undefined;
|
|
531
|
+
project?: string | undefined;
|
|
532
|
+
cycle?: string | undefined;
|
|
533
|
+
dueDate?: string | undefined;
|
|
534
|
+
labels?: string[] | undefined;
|
|
535
|
+
} | {
|
|
536
|
+
type: "deployment";
|
|
537
|
+
project?: string | undefined;
|
|
538
|
+
environment?: string | undefined;
|
|
539
|
+
revision?: string | undefined;
|
|
540
|
+
branch?: string | undefined;
|
|
541
|
+
} | undefined;
|
|
245
542
|
}[] | undefined;
|
|
246
543
|
truncated?: boolean | undefined;
|
|
247
544
|
continuation?: {
|
|
@@ -257,13 +554,46 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
257
554
|
kind: "object";
|
|
258
555
|
key: string;
|
|
259
556
|
label: string;
|
|
260
|
-
objectType: "
|
|
557
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
261
558
|
title: string;
|
|
262
559
|
url: string | null;
|
|
263
560
|
description?: string | undefined;
|
|
264
561
|
status?: string | undefined;
|
|
265
562
|
trigger?: string | undefined;
|
|
266
563
|
warning?: string | undefined;
|
|
564
|
+
displayType?: string | undefined;
|
|
565
|
+
sourceUpdatedAt?: string | undefined;
|
|
566
|
+
facts?: {
|
|
567
|
+
type: "code_change";
|
|
568
|
+
author?: string | undefined;
|
|
569
|
+
sourceBranch?: string | undefined;
|
|
570
|
+
targetBranch?: string | undefined;
|
|
571
|
+
reviewers?: string[] | undefined;
|
|
572
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
573
|
+
checks?: {
|
|
574
|
+
passed: number;
|
|
575
|
+
failed: number;
|
|
576
|
+
pending: number;
|
|
577
|
+
} | undefined;
|
|
578
|
+
mergeable?: boolean | undefined;
|
|
579
|
+
changedFiles?: number | undefined;
|
|
580
|
+
additions?: number | undefined;
|
|
581
|
+
deletions?: number | undefined;
|
|
582
|
+
} | {
|
|
583
|
+
type: "task";
|
|
584
|
+
assignees?: string[] | undefined;
|
|
585
|
+
priority?: string | undefined;
|
|
586
|
+
project?: string | undefined;
|
|
587
|
+
cycle?: string | undefined;
|
|
588
|
+
dueDate?: string | undefined;
|
|
589
|
+
labels?: string[] | undefined;
|
|
590
|
+
} | {
|
|
591
|
+
type: "deployment";
|
|
592
|
+
project?: string | undefined;
|
|
593
|
+
environment?: string | undefined;
|
|
594
|
+
revision?: string | undefined;
|
|
595
|
+
branch?: string | undefined;
|
|
596
|
+
} | undefined;
|
|
267
597
|
}[] | undefined;
|
|
268
598
|
truncated?: boolean | undefined;
|
|
269
599
|
continuation?: {
|
|
@@ -14,13 +14,46 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
14
14
|
kind: "object";
|
|
15
15
|
key: string;
|
|
16
16
|
label: string;
|
|
17
|
-
objectType: "
|
|
17
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
18
18
|
title: string;
|
|
19
19
|
url: string | null;
|
|
20
20
|
description?: string | undefined;
|
|
21
21
|
status?: string | undefined;
|
|
22
22
|
trigger?: string | undefined;
|
|
23
23
|
warning?: string | undefined;
|
|
24
|
+
displayType?: string | undefined;
|
|
25
|
+
sourceUpdatedAt?: string | undefined;
|
|
26
|
+
facts?: {
|
|
27
|
+
type: "code_change";
|
|
28
|
+
author?: string | undefined;
|
|
29
|
+
sourceBranch?: string | undefined;
|
|
30
|
+
targetBranch?: string | undefined;
|
|
31
|
+
reviewers?: string[] | undefined;
|
|
32
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
33
|
+
checks?: {
|
|
34
|
+
passed: number;
|
|
35
|
+
failed: number;
|
|
36
|
+
pending: number;
|
|
37
|
+
} | undefined;
|
|
38
|
+
mergeable?: boolean | undefined;
|
|
39
|
+
changedFiles?: number | undefined;
|
|
40
|
+
additions?: number | undefined;
|
|
41
|
+
deletions?: number | undefined;
|
|
42
|
+
} | {
|
|
43
|
+
type: "task";
|
|
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
|
+
} | {
|
|
51
|
+
type: "deployment";
|
|
52
|
+
project?: string | undefined;
|
|
53
|
+
environment?: string | undefined;
|
|
54
|
+
revision?: string | undefined;
|
|
55
|
+
branch?: string | undefined;
|
|
56
|
+
} | undefined;
|
|
24
57
|
}[] | undefined;
|
|
25
58
|
truncated?: boolean | undefined;
|
|
26
59
|
continuation?: {
|
|
@@ -44,13 +77,46 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
44
77
|
kind: "object";
|
|
45
78
|
key: string;
|
|
46
79
|
label: string;
|
|
47
|
-
objectType: "
|
|
80
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
48
81
|
title: string;
|
|
49
82
|
url: string | null;
|
|
50
83
|
description?: string | undefined;
|
|
51
84
|
status?: string | undefined;
|
|
52
85
|
trigger?: string | undefined;
|
|
53
86
|
warning?: string | undefined;
|
|
87
|
+
displayType?: string | undefined;
|
|
88
|
+
sourceUpdatedAt?: string | undefined;
|
|
89
|
+
facts?: {
|
|
90
|
+
type: "code_change";
|
|
91
|
+
author?: string | undefined;
|
|
92
|
+
sourceBranch?: string | undefined;
|
|
93
|
+
targetBranch?: string | undefined;
|
|
94
|
+
reviewers?: string[] | undefined;
|
|
95
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
96
|
+
checks?: {
|
|
97
|
+
passed: number;
|
|
98
|
+
failed: number;
|
|
99
|
+
pending: number;
|
|
100
|
+
} | undefined;
|
|
101
|
+
mergeable?: boolean | undefined;
|
|
102
|
+
changedFiles?: number | undefined;
|
|
103
|
+
additions?: number | undefined;
|
|
104
|
+
deletions?: number | undefined;
|
|
105
|
+
} | {
|
|
106
|
+
type: "task";
|
|
107
|
+
assignees?: string[] | undefined;
|
|
108
|
+
priority?: string | undefined;
|
|
109
|
+
project?: string | undefined;
|
|
110
|
+
cycle?: string | undefined;
|
|
111
|
+
dueDate?: string | undefined;
|
|
112
|
+
labels?: string[] | undefined;
|
|
113
|
+
} | {
|
|
114
|
+
type: "deployment";
|
|
115
|
+
project?: string | undefined;
|
|
116
|
+
environment?: string | undefined;
|
|
117
|
+
revision?: string | undefined;
|
|
118
|
+
branch?: string | undefined;
|
|
119
|
+
} | undefined;
|
|
54
120
|
}[] | undefined;
|
|
55
121
|
truncated?: boolean | undefined;
|
|
56
122
|
continuation?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior-vercel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.226.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"zod": "^4.5.4",
|
|
30
|
-
"@sentry/junior-plugin-api": "0.
|
|
30
|
+
"@sentry/junior-plugin-api": "0.226.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@oxlint/plugins": "1.79.0",
|