@sentry/junior-google 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.
@@ -7,7 +7,7 @@ export declare function namedQuery(requester: string): string;
7
7
  * Find Docs, Sheets, and Slides that the requester could find in Drive
8
8
  * themselves. Never search without the requester's terms.
9
9
  */
10
- export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): import("@sentry/junior-plugin-api").PluginToolDefinition<{
10
+ export declare const searchGoogleFilesTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
11
11
  query: string;
12
12
  types?: ("document" | "presentation" | "spreadsheet")[] | undefined;
13
13
  max_results: number;
@@ -17,7 +17,7 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
17
17
  kind: "object";
18
18
  key: string;
19
19
  label: string;
20
- objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
20
+ objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
21
21
  title: string;
22
22
  url: string | null;
23
23
  description?: string | undefined;
@@ -53,6 +53,10 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
53
53
  cycle?: string | undefined;
54
54
  dueDate?: string | undefined;
55
55
  labels?: string[] | undefined;
56
+ trend?: {
57
+ label: string;
58
+ points: number[];
59
+ } | undefined;
56
60
  } | {
57
61
  type: "deployment";
58
62
  summary?: string | undefined;
@@ -75,6 +79,7 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
75
79
  summary?: string | undefined;
76
80
  owner?: string | undefined;
77
81
  modifiedAt?: string | undefined;
82
+ thumbnailUrl?: string | undefined;
78
83
  } | {
79
84
  type: "message";
80
85
  summary?: string | undefined;
@@ -86,7 +91,43 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
86
91
  summary?: string | undefined;
87
92
  siteName?: string | undefined;
88
93
  author?: string | undefined;
94
+ media?: "image" | "video" | undefined;
89
95
  thumbnailUrl?: string | undefined;
96
+ } | {
97
+ type: "chart";
98
+ summary?: string | undefined;
99
+ display: "area" | "bar" | "line";
100
+ yAxis: string;
101
+ range: string;
102
+ series: {
103
+ label: string;
104
+ points: number[];
105
+ }[];
106
+ } | {
107
+ type: "event";
108
+ summary?: string | undefined;
109
+ level?: string | undefined;
110
+ project?: string | undefined;
111
+ release?: string | undefined;
112
+ environment?: string | undefined;
113
+ occurredAt?: string | undefined;
114
+ } | {
115
+ type: "trace";
116
+ summary?: string | undefined;
117
+ rootOp?: string | undefined;
118
+ rootName?: string | undefined;
119
+ durationMs: number;
120
+ spanCount: number;
121
+ errorCount: number;
122
+ performanceIssueCount: number;
123
+ projects: string[];
124
+ spans: {
125
+ op?: string | undefined;
126
+ name: string;
127
+ startMs: number;
128
+ durationMs: number;
129
+ issue?: boolean | undefined;
130
+ }[];
90
131
  } | {
91
132
  type: "person";
92
133
  summary?: string | undefined;
@@ -119,7 +160,7 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
119
160
  kind: "object";
120
161
  key: string;
121
162
  label: string;
122
- objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
163
+ objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
123
164
  title: string;
124
165
  url: string | null;
125
166
  description?: string | undefined;
@@ -155,6 +196,10 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
155
196
  cycle?: string | undefined;
156
197
  dueDate?: string | undefined;
157
198
  labels?: string[] | undefined;
199
+ trend?: {
200
+ label: string;
201
+ points: number[];
202
+ } | undefined;
158
203
  } | {
159
204
  type: "deployment";
160
205
  summary?: string | undefined;
@@ -177,6 +222,7 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
177
222
  summary?: string | undefined;
178
223
  owner?: string | undefined;
179
224
  modifiedAt?: string | undefined;
225
+ thumbnailUrl?: string | undefined;
180
226
  } | {
181
227
  type: "message";
182
228
  summary?: string | undefined;
@@ -188,7 +234,43 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
188
234
  summary?: string | undefined;
189
235
  siteName?: string | undefined;
190
236
  author?: string | undefined;
237
+ media?: "image" | "video" | undefined;
191
238
  thumbnailUrl?: string | undefined;
239
+ } | {
240
+ type: "chart";
241
+ summary?: string | undefined;
242
+ display: "area" | "bar" | "line";
243
+ yAxis: string;
244
+ range: string;
245
+ series: {
246
+ label: string;
247
+ points: number[];
248
+ }[];
249
+ } | {
250
+ type: "event";
251
+ summary?: string | undefined;
252
+ level?: string | undefined;
253
+ project?: string | undefined;
254
+ release?: string | undefined;
255
+ environment?: string | undefined;
256
+ occurredAt?: string | undefined;
257
+ } | {
258
+ type: "trace";
259
+ summary?: string | undefined;
260
+ rootOp?: string | undefined;
261
+ rootName?: string | undefined;
262
+ durationMs: number;
263
+ spanCount: number;
264
+ errorCount: number;
265
+ performanceIssueCount: number;
266
+ projects: string[];
267
+ spans: {
268
+ op?: string | undefined;
269
+ name: string;
270
+ startMs: number;
271
+ durationMs: number;
272
+ issue?: boolean | undefined;
273
+ }[];
192
274
  } | {
193
275
  type: "person";
194
276
  summary?: string | undefined;
@@ -215,4 +297,4 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
215
297
  url?: string | undefined;
216
298
  }[];
217
299
  truncated: boolean;
218
- }>;
300
+ }, GoogleToolContext>;
@@ -131,7 +131,7 @@ export declare function ownEventResult(event: OwnEvent, timeZone: string, accoun
131
131
  kind: "object";
132
132
  key: string;
133
133
  label: string;
134
- objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
134
+ objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
135
135
  title: string;
136
136
  url: string | null;
137
137
  description?: string | undefined;
@@ -167,6 +167,10 @@ export declare function ownEventResult(event: OwnEvent, timeZone: string, accoun
167
167
  cycle?: string | undefined;
168
168
  dueDate?: string | undefined;
169
169
  labels?: string[] | undefined;
170
+ trend?: {
171
+ label: string;
172
+ points: number[];
173
+ } | undefined;
170
174
  } | {
171
175
  type: "deployment";
172
176
  summary?: string | undefined;
@@ -189,6 +193,7 @@ export declare function ownEventResult(event: OwnEvent, timeZone: string, accoun
189
193
  summary?: string | undefined;
190
194
  owner?: string | undefined;
191
195
  modifiedAt?: string | undefined;
196
+ thumbnailUrl?: string | undefined;
192
197
  } | {
193
198
  type: "message";
194
199
  summary?: string | undefined;
@@ -200,7 +205,43 @@ export declare function ownEventResult(event: OwnEvent, timeZone: string, accoun
200
205
  summary?: string | undefined;
201
206
  siteName?: string | undefined;
202
207
  author?: string | undefined;
208
+ media?: "image" | "video" | undefined;
203
209
  thumbnailUrl?: string | undefined;
210
+ } | {
211
+ type: "chart";
212
+ summary?: string | undefined;
213
+ display: "area" | "bar" | "line";
214
+ yAxis: string;
215
+ range: string;
216
+ series: {
217
+ label: string;
218
+ points: number[];
219
+ }[];
220
+ } | {
221
+ type: "event";
222
+ summary?: string | undefined;
223
+ level?: string | undefined;
224
+ project?: string | undefined;
225
+ release?: string | undefined;
226
+ environment?: string | undefined;
227
+ occurredAt?: string | undefined;
228
+ } | {
229
+ type: "trace";
230
+ summary?: string | undefined;
231
+ rootOp?: string | undefined;
232
+ rootName?: string | undefined;
233
+ durationMs: number;
234
+ spanCount: number;
235
+ errorCount: number;
236
+ performanceIssueCount: number;
237
+ projects: string[];
238
+ spans: {
239
+ op?: string | undefined;
240
+ name: string;
241
+ startMs: number;
242
+ durationMs: number;
243
+ issue?: boolean | undefined;
244
+ }[];
204
245
  } | {
205
246
  type: "person";
206
247
  summary?: string | undefined;
@@ -4,7 +4,7 @@ import { type GoogleToolContext } from "./shared";
4
4
  *
5
5
  * Only people already invited to the event may change it.
6
6
  */
7
- export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): import("@sentry/junior-plugin-api").PluginToolDefinition<{
7
+ export declare const updateCalendarEventTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
8
8
  event_id: string;
9
9
  title?: string | undefined;
10
10
  description?: string | undefined;
@@ -22,7 +22,7 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
22
22
  kind: "object";
23
23
  key: string;
24
24
  label: string;
25
- objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
25
+ objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
26
26
  title: string;
27
27
  url: string | null;
28
28
  description?: string | undefined;
@@ -58,6 +58,10 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
58
58
  cycle?: string | undefined;
59
59
  dueDate?: string | undefined;
60
60
  labels?: string[] | undefined;
61
+ trend?: {
62
+ label: string;
63
+ points: number[];
64
+ } | undefined;
61
65
  } | {
62
66
  type: "deployment";
63
67
  summary?: string | undefined;
@@ -80,6 +84,7 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
80
84
  summary?: string | undefined;
81
85
  owner?: string | undefined;
82
86
  modifiedAt?: string | undefined;
87
+ thumbnailUrl?: string | undefined;
83
88
  } | {
84
89
  type: "message";
85
90
  summary?: string | undefined;
@@ -91,7 +96,43 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
91
96
  summary?: string | undefined;
92
97
  siteName?: string | undefined;
93
98
  author?: string | undefined;
99
+ media?: "image" | "video" | undefined;
94
100
  thumbnailUrl?: string | undefined;
101
+ } | {
102
+ type: "chart";
103
+ summary?: string | undefined;
104
+ display: "area" | "bar" | "line";
105
+ yAxis: string;
106
+ range: string;
107
+ series: {
108
+ label: string;
109
+ points: number[];
110
+ }[];
111
+ } | {
112
+ type: "event";
113
+ summary?: string | undefined;
114
+ level?: string | undefined;
115
+ project?: string | undefined;
116
+ release?: string | undefined;
117
+ environment?: string | undefined;
118
+ occurredAt?: string | undefined;
119
+ } | {
120
+ type: "trace";
121
+ summary?: string | undefined;
122
+ rootOp?: string | undefined;
123
+ rootName?: string | undefined;
124
+ durationMs: number;
125
+ spanCount: number;
126
+ errorCount: number;
127
+ performanceIssueCount: number;
128
+ projects: string[];
129
+ spans: {
130
+ op?: string | undefined;
131
+ name: string;
132
+ startMs: number;
133
+ durationMs: number;
134
+ issue?: boolean | undefined;
135
+ }[];
95
136
  } | {
96
137
  type: "person";
97
138
  summary?: string | undefined;
@@ -132,7 +173,7 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
132
173
  kind: "object";
133
174
  key: string;
134
175
  label: string;
135
- objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
176
+ objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
136
177
  title: string;
137
178
  url: string | null;
138
179
  description?: string | undefined;
@@ -168,6 +209,10 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
168
209
  cycle?: string | undefined;
169
210
  dueDate?: string | undefined;
170
211
  labels?: string[] | undefined;
212
+ trend?: {
213
+ label: string;
214
+ points: number[];
215
+ } | undefined;
171
216
  } | {
172
217
  type: "deployment";
173
218
  summary?: string | undefined;
@@ -190,6 +235,7 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
190
235
  summary?: string | undefined;
191
236
  owner?: string | undefined;
192
237
  modifiedAt?: string | undefined;
238
+ thumbnailUrl?: string | undefined;
193
239
  } | {
194
240
  type: "message";
195
241
  summary?: string | undefined;
@@ -201,7 +247,43 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
201
247
  summary?: string | undefined;
202
248
  siteName?: string | undefined;
203
249
  author?: string | undefined;
250
+ media?: "image" | "video" | undefined;
204
251
  thumbnailUrl?: string | undefined;
252
+ } | {
253
+ type: "chart";
254
+ summary?: string | undefined;
255
+ display: "area" | "bar" | "line";
256
+ yAxis: string;
257
+ range: string;
258
+ series: {
259
+ label: string;
260
+ points: number[];
261
+ }[];
262
+ } | {
263
+ type: "event";
264
+ summary?: string | undefined;
265
+ level?: string | undefined;
266
+ project?: string | undefined;
267
+ release?: string | undefined;
268
+ environment?: string | undefined;
269
+ occurredAt?: string | undefined;
270
+ } | {
271
+ type: "trace";
272
+ summary?: string | undefined;
273
+ rootOp?: string | undefined;
274
+ rootName?: string | undefined;
275
+ durationMs: number;
276
+ spanCount: number;
277
+ errorCount: number;
278
+ performanceIssueCount: number;
279
+ projects: string[];
280
+ spans: {
281
+ op?: string | undefined;
282
+ name: string;
283
+ startMs: number;
284
+ durationMs: number;
285
+ issue?: boolean | undefined;
286
+ }[];
205
287
  } | {
206
288
  type: "person";
207
289
  summary?: string | undefined;
@@ -236,4 +318,4 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
236
318
  url?: string | undefined;
237
319
  video_call_url?: string | undefined;
238
320
  target: "updateCalendarEvent";
239
- }>;
321
+ }, GoogleToolContext>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-google",
3
- "version": "0.301.0",
3
+ "version": "0.302.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -26,7 +26,7 @@
26
26
  "drizzle-orm": "^0.45.4",
27
27
  "parse5": "^7.3.0",
28
28
  "zod": "^4.6.7",
29
- "@sentry/junior-plugin-api": "0.301.0"
29
+ "@sentry/junior-plugin-api": "0.302.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@oxlint/plugins": "1.79.0",