@sentry/junior-vercel 0.301.0 → 0.302.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/{chunk-QCT7VK3J.js → chunk-JY7QEZ73.js} +44 -46
- package/dist/index.js +201 -203
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +5 -5
- package/dist/tools/actions.d.ts +427 -18
- package/dist/tools/deployment.d.ts +86 -4
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ToolRegistrationHookContext } from "@sentry/junior-plugin-api";
|
|
2
2
|
/** Resolve and return the resource identity for one Vercel deployment. */
|
|
3
|
-
export declare
|
|
3
|
+
export declare const vercelDeploymentTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
4
|
commit_sha?: string | undefined;
|
|
5
5
|
project: string;
|
|
6
6
|
target?: "preview" | "production" | "staging" | undefined;
|
|
@@ -10,7 +10,7 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
10
10
|
kind: "object";
|
|
11
11
|
key: string;
|
|
12
12
|
label: string;
|
|
13
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
13
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
14
14
|
title: string;
|
|
15
15
|
url: string | null;
|
|
16
16
|
description?: string | undefined;
|
|
@@ -46,6 +46,10 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
46
46
|
cycle?: string | undefined;
|
|
47
47
|
dueDate?: string | undefined;
|
|
48
48
|
labels?: string[] | undefined;
|
|
49
|
+
trend?: {
|
|
50
|
+
label: string;
|
|
51
|
+
points: number[];
|
|
52
|
+
} | undefined;
|
|
49
53
|
} | {
|
|
50
54
|
type: "deployment";
|
|
51
55
|
summary?: string | undefined;
|
|
@@ -68,6 +72,7 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
68
72
|
summary?: string | undefined;
|
|
69
73
|
owner?: string | undefined;
|
|
70
74
|
modifiedAt?: string | undefined;
|
|
75
|
+
thumbnailUrl?: string | undefined;
|
|
71
76
|
} | {
|
|
72
77
|
type: "message";
|
|
73
78
|
summary?: string | undefined;
|
|
@@ -79,7 +84,43 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
79
84
|
summary?: string | undefined;
|
|
80
85
|
siteName?: string | undefined;
|
|
81
86
|
author?: string | undefined;
|
|
87
|
+
media?: "image" | "video" | undefined;
|
|
82
88
|
thumbnailUrl?: string | undefined;
|
|
89
|
+
} | {
|
|
90
|
+
type: "chart";
|
|
91
|
+
summary?: string | undefined;
|
|
92
|
+
display: "area" | "bar" | "line";
|
|
93
|
+
yAxis: string;
|
|
94
|
+
range: string;
|
|
95
|
+
series: {
|
|
96
|
+
label: string;
|
|
97
|
+
points: number[];
|
|
98
|
+
}[];
|
|
99
|
+
} | {
|
|
100
|
+
type: "event";
|
|
101
|
+
summary?: string | undefined;
|
|
102
|
+
level?: string | undefined;
|
|
103
|
+
project?: string | undefined;
|
|
104
|
+
release?: string | undefined;
|
|
105
|
+
environment?: string | undefined;
|
|
106
|
+
occurredAt?: string | undefined;
|
|
107
|
+
} | {
|
|
108
|
+
type: "trace";
|
|
109
|
+
summary?: string | undefined;
|
|
110
|
+
rootOp?: string | undefined;
|
|
111
|
+
rootName?: string | undefined;
|
|
112
|
+
durationMs: number;
|
|
113
|
+
spanCount: number;
|
|
114
|
+
errorCount: number;
|
|
115
|
+
performanceIssueCount: number;
|
|
116
|
+
projects: string[];
|
|
117
|
+
spans: {
|
|
118
|
+
op?: string | undefined;
|
|
119
|
+
name: string;
|
|
120
|
+
startMs: number;
|
|
121
|
+
durationMs: number;
|
|
122
|
+
issue?: boolean | undefined;
|
|
123
|
+
}[];
|
|
83
124
|
} | {
|
|
84
125
|
type: "person";
|
|
85
126
|
summary?: string | undefined;
|
|
@@ -116,7 +157,7 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
116
157
|
kind: "object";
|
|
117
158
|
key: string;
|
|
118
159
|
label: string;
|
|
119
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
160
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
120
161
|
title: string;
|
|
121
162
|
url: string | null;
|
|
122
163
|
description?: string | undefined;
|
|
@@ -152,6 +193,10 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
152
193
|
cycle?: string | undefined;
|
|
153
194
|
dueDate?: string | undefined;
|
|
154
195
|
labels?: string[] | undefined;
|
|
196
|
+
trend?: {
|
|
197
|
+
label: string;
|
|
198
|
+
points: number[];
|
|
199
|
+
} | undefined;
|
|
155
200
|
} | {
|
|
156
201
|
type: "deployment";
|
|
157
202
|
summary?: string | undefined;
|
|
@@ -174,6 +219,7 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
174
219
|
summary?: string | undefined;
|
|
175
220
|
owner?: string | undefined;
|
|
176
221
|
modifiedAt?: string | undefined;
|
|
222
|
+
thumbnailUrl?: string | undefined;
|
|
177
223
|
} | {
|
|
178
224
|
type: "message";
|
|
179
225
|
summary?: string | undefined;
|
|
@@ -185,7 +231,43 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
185
231
|
summary?: string | undefined;
|
|
186
232
|
siteName?: string | undefined;
|
|
187
233
|
author?: string | undefined;
|
|
234
|
+
media?: "image" | "video" | undefined;
|
|
188
235
|
thumbnailUrl?: string | undefined;
|
|
236
|
+
} | {
|
|
237
|
+
type: "chart";
|
|
238
|
+
summary?: string | undefined;
|
|
239
|
+
display: "area" | "bar" | "line";
|
|
240
|
+
yAxis: string;
|
|
241
|
+
range: string;
|
|
242
|
+
series: {
|
|
243
|
+
label: string;
|
|
244
|
+
points: number[];
|
|
245
|
+
}[];
|
|
246
|
+
} | {
|
|
247
|
+
type: "event";
|
|
248
|
+
summary?: string | undefined;
|
|
249
|
+
level?: string | undefined;
|
|
250
|
+
project?: string | undefined;
|
|
251
|
+
release?: string | undefined;
|
|
252
|
+
environment?: string | undefined;
|
|
253
|
+
occurredAt?: string | undefined;
|
|
254
|
+
} | {
|
|
255
|
+
type: "trace";
|
|
256
|
+
summary?: string | undefined;
|
|
257
|
+
rootOp?: string | undefined;
|
|
258
|
+
rootName?: string | undefined;
|
|
259
|
+
durationMs: number;
|
|
260
|
+
spanCount: number;
|
|
261
|
+
errorCount: number;
|
|
262
|
+
performanceIssueCount: number;
|
|
263
|
+
projects: string[];
|
|
264
|
+
spans: {
|
|
265
|
+
op?: string | undefined;
|
|
266
|
+
name: string;
|
|
267
|
+
startMs: number;
|
|
268
|
+
durationMs: number;
|
|
269
|
+
issue?: boolean | undefined;
|
|
270
|
+
}[];
|
|
189
271
|
} | {
|
|
190
272
|
type: "person";
|
|
191
273
|
summary?: string | undefined;
|
|
@@ -217,4 +299,4 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
217
299
|
type: string;
|
|
218
300
|
} | undefined;
|
|
219
301
|
target: "deployment";
|
|
220
|
-
}>;
|
|
302
|
+
}, ToolRegistrationHookContext>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior-vercel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.302.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.6.7",
|
|
30
|
-
"@sentry/junior-plugin-api": "0.
|
|
30
|
+
"@sentry/junior-plugin-api": "0.302.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@oxlint/plugins": "1.79.0",
|