@sentry/junior-google 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.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3639 -3892
- package/package.json +9 -12
- package/dist/cli.d.ts +0 -3
- package/dist/config.d.ts +0 -49
- package/dist/credentials.d.ts +0 -153
- package/dist/db/schema.d.ts +0 -98
- package/dist/links/calendar.d.ts +0 -11
- package/dist/links/files.d.ts +0 -47
- package/dist/links/summary.d.ts +0 -13
- package/dist/links/thumbnails.d.ts +0 -8
- package/dist/oauth.d.ts +0 -47
- package/dist/setup-routes.d.ts +0 -25
- package/dist/store.d.ts +0 -22
- package/dist/tools/cancel-event.d.ts +0 -316
- package/dist/tools/create-doc.d.ts +0 -294
- package/dist/tools/create-event.d.ts +0 -342
- package/dist/tools/doc-edits.d.ts +0 -84
- package/dist/tools/doc-markdown.d.ts +0 -40
- package/dist/tools/files.d.ts +0 -94
- package/dist/tools/find-meeting-times.d.ts +0 -386
- package/dist/tools/insert-doc-content.d.ts +0 -288
- package/dist/tools/list-events.d.ts +0 -329
- package/dist/tools/list-file-comments.d.ts +0 -310
- package/dist/tools/read-doc.d.ts +0 -19
- package/dist/tools/read-file.d.ts +0 -323
- package/dist/tools/read-meeting-transcript.d.ts +0 -306
- package/dist/tools/read-sheet.d.ts +0 -27
- package/dist/tools/read-slides.d.ts +0 -27
- package/dist/tools/replace-doc-content.d.ts +0 -287
- package/dist/tools/replace-doc-text.d.ts +0 -291
- package/dist/tools/search-files.d.ts +0 -300
- package/dist/tools/shared.d.ts +0 -323
- package/dist/tools/update-event.d.ts +0 -321
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
import { type GoogleToolContext } from "./shared";
|
|
2
|
-
/**
|
|
3
|
-
* Read the events Junior's account can see on one person's calendar.
|
|
4
|
-
*
|
|
5
|
-
* Google sharing settings decide what Junior sees. A calendar shared as
|
|
6
|
-
* free/busy only returns busy blocks without titles. Descriptions are never
|
|
7
|
-
* returned, because they often hold links and notes meant only for attendees.
|
|
8
|
-
*/
|
|
9
|
-
export declare const listCalendarEventsTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
10
|
-
calendar?: string | undefined;
|
|
11
|
-
time_min: string;
|
|
12
|
-
time_max: string;
|
|
13
|
-
time_zone?: string | undefined;
|
|
14
|
-
max_results: number;
|
|
15
|
-
}, {
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
objectAnnotations?: {
|
|
18
|
-
kind: "object";
|
|
19
|
-
key: string;
|
|
20
|
-
label: string;
|
|
21
|
-
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
22
|
-
title: string;
|
|
23
|
-
url: string | null;
|
|
24
|
-
description?: string | undefined;
|
|
25
|
-
status?: string | undefined;
|
|
26
|
-
trigger?: string | undefined;
|
|
27
|
-
warning?: string | undefined;
|
|
28
|
-
displayType?: string | undefined;
|
|
29
|
-
sourceUpdatedAt?: string | undefined;
|
|
30
|
-
facts?: {
|
|
31
|
-
type: "code_change";
|
|
32
|
-
summary?: string | undefined;
|
|
33
|
-
author?: string | undefined;
|
|
34
|
-
sourceBranch?: string | undefined;
|
|
35
|
-
targetBranch?: string | undefined;
|
|
36
|
-
reviewers?: string[] | undefined;
|
|
37
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
38
|
-
checks?: {
|
|
39
|
-
passed: number;
|
|
40
|
-
failed: number;
|
|
41
|
-
pending: number;
|
|
42
|
-
} | undefined;
|
|
43
|
-
mergeable?: boolean | undefined;
|
|
44
|
-
changedFiles?: number | undefined;
|
|
45
|
-
additions?: number | undefined;
|
|
46
|
-
deletions?: number | undefined;
|
|
47
|
-
previewImageUrls?: string[] | undefined;
|
|
48
|
-
} | {
|
|
49
|
-
type: "task";
|
|
50
|
-
summary?: string | undefined;
|
|
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
|
-
trend?: {
|
|
58
|
-
label: string;
|
|
59
|
-
points: number[];
|
|
60
|
-
} | undefined;
|
|
61
|
-
} | {
|
|
62
|
-
type: "deployment";
|
|
63
|
-
summary?: string | undefined;
|
|
64
|
-
project?: string | undefined;
|
|
65
|
-
environment?: string | undefined;
|
|
66
|
-
revision?: string | undefined;
|
|
67
|
-
branch?: string | undefined;
|
|
68
|
-
} | {
|
|
69
|
-
type: "calendar_event";
|
|
70
|
-
summary?: string | undefined;
|
|
71
|
-
when?: string | undefined;
|
|
72
|
-
attendees?: string[] | undefined;
|
|
73
|
-
} | {
|
|
74
|
-
type: "conversation";
|
|
75
|
-
summary?: string | undefined;
|
|
76
|
-
participants?: string[] | undefined;
|
|
77
|
-
lastActivityAt?: string | undefined;
|
|
78
|
-
} | {
|
|
79
|
-
type: "document";
|
|
80
|
-
summary?: string | undefined;
|
|
81
|
-
owner?: string | undefined;
|
|
82
|
-
modifiedAt?: string | undefined;
|
|
83
|
-
thumbnailUrl?: string | undefined;
|
|
84
|
-
} | {
|
|
85
|
-
type: "message";
|
|
86
|
-
summary?: string | undefined;
|
|
87
|
-
channel?: string | undefined;
|
|
88
|
-
author?: string | undefined;
|
|
89
|
-
sentAt?: string | undefined;
|
|
90
|
-
} | {
|
|
91
|
-
type: "web_page";
|
|
92
|
-
summary?: string | undefined;
|
|
93
|
-
siteName?: string | undefined;
|
|
94
|
-
author?: string | undefined;
|
|
95
|
-
media?: "image" | "video" | undefined;
|
|
96
|
-
thumbnailUrl?: string | undefined;
|
|
97
|
-
} | {
|
|
98
|
-
type: "chart";
|
|
99
|
-
summary?: string | undefined;
|
|
100
|
-
display: "area" | "bar" | "line";
|
|
101
|
-
yAxis: string;
|
|
102
|
-
range: string;
|
|
103
|
-
series: {
|
|
104
|
-
label: string;
|
|
105
|
-
points: number[];
|
|
106
|
-
}[];
|
|
107
|
-
} | {
|
|
108
|
-
type: "event";
|
|
109
|
-
summary?: string | undefined;
|
|
110
|
-
level?: string | undefined;
|
|
111
|
-
project?: string | undefined;
|
|
112
|
-
release?: string | undefined;
|
|
113
|
-
environment?: string | undefined;
|
|
114
|
-
occurredAt?: string | undefined;
|
|
115
|
-
} | {
|
|
116
|
-
type: "trace";
|
|
117
|
-
summary?: string | undefined;
|
|
118
|
-
rootOp?: string | undefined;
|
|
119
|
-
rootName?: string | undefined;
|
|
120
|
-
durationMs: number;
|
|
121
|
-
spanCount: number;
|
|
122
|
-
errorCount: number;
|
|
123
|
-
performanceIssueCount: number;
|
|
124
|
-
projects: string[];
|
|
125
|
-
spans: {
|
|
126
|
-
op?: string | undefined;
|
|
127
|
-
name: string;
|
|
128
|
-
startMs: number;
|
|
129
|
-
durationMs: number;
|
|
130
|
-
issue?: boolean | undefined;
|
|
131
|
-
}[];
|
|
132
|
-
} | {
|
|
133
|
-
type: "person";
|
|
134
|
-
summary?: string | undefined;
|
|
135
|
-
email?: string | undefined;
|
|
136
|
-
slackHandle?: string | undefined;
|
|
137
|
-
githubHandle?: string | undefined;
|
|
138
|
-
avatarUrl?: string | undefined;
|
|
139
|
-
} | undefined;
|
|
140
|
-
}[] | undefined;
|
|
141
|
-
reply?: {
|
|
142
|
-
text: string;
|
|
143
|
-
url?: string | undefined;
|
|
144
|
-
} | undefined;
|
|
145
|
-
continuation?: {
|
|
146
|
-
arguments: Record<string, unknown>;
|
|
147
|
-
reason?: string | undefined;
|
|
148
|
-
} | undefined;
|
|
149
|
-
target: "listCalendarEvents";
|
|
150
|
-
calendar: string;
|
|
151
|
-
events: {
|
|
152
|
-
attendees?: {
|
|
153
|
-
email: string;
|
|
154
|
-
optional?: boolean | undefined;
|
|
155
|
-
response?: "accepted" | "declined" | "needsAction" | "tentative" | undefined;
|
|
156
|
-
}[] | undefined;
|
|
157
|
-
end: string;
|
|
158
|
-
event_id: string;
|
|
159
|
-
label: string;
|
|
160
|
-
location?: string | undefined;
|
|
161
|
-
organizer?: string | undefined;
|
|
162
|
-
organized_by_junior: boolean;
|
|
163
|
-
series_event_id?: string | undefined;
|
|
164
|
-
start: string;
|
|
165
|
-
title?: string | undefined;
|
|
166
|
-
url?: string | undefined;
|
|
167
|
-
video_call_url?: string | undefined;
|
|
168
|
-
}[];
|
|
169
|
-
time_zone: string;
|
|
170
|
-
truncated: boolean;
|
|
171
|
-
visible: boolean;
|
|
172
|
-
}, {
|
|
173
|
-
[x: string]: unknown;
|
|
174
|
-
objectAnnotations?: {
|
|
175
|
-
kind: "object";
|
|
176
|
-
key: string;
|
|
177
|
-
label: string;
|
|
178
|
-
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
179
|
-
title: string;
|
|
180
|
-
url: string | null;
|
|
181
|
-
description?: string | undefined;
|
|
182
|
-
status?: string | undefined;
|
|
183
|
-
trigger?: string | undefined;
|
|
184
|
-
warning?: string | undefined;
|
|
185
|
-
displayType?: string | undefined;
|
|
186
|
-
sourceUpdatedAt?: string | undefined;
|
|
187
|
-
facts?: {
|
|
188
|
-
type: "code_change";
|
|
189
|
-
summary?: string | undefined;
|
|
190
|
-
author?: string | undefined;
|
|
191
|
-
sourceBranch?: string | undefined;
|
|
192
|
-
targetBranch?: string | undefined;
|
|
193
|
-
reviewers?: string[] | undefined;
|
|
194
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
195
|
-
checks?: {
|
|
196
|
-
passed: number;
|
|
197
|
-
failed: number;
|
|
198
|
-
pending: number;
|
|
199
|
-
} | undefined;
|
|
200
|
-
mergeable?: boolean | undefined;
|
|
201
|
-
changedFiles?: number | undefined;
|
|
202
|
-
additions?: number | undefined;
|
|
203
|
-
deletions?: number | undefined;
|
|
204
|
-
previewImageUrls?: string[] | undefined;
|
|
205
|
-
} | {
|
|
206
|
-
type: "task";
|
|
207
|
-
summary?: string | undefined;
|
|
208
|
-
assignees?: string[] | undefined;
|
|
209
|
-
priority?: string | undefined;
|
|
210
|
-
project?: string | undefined;
|
|
211
|
-
cycle?: string | undefined;
|
|
212
|
-
dueDate?: string | undefined;
|
|
213
|
-
labels?: string[] | undefined;
|
|
214
|
-
trend?: {
|
|
215
|
-
label: string;
|
|
216
|
-
points: number[];
|
|
217
|
-
} | undefined;
|
|
218
|
-
} | {
|
|
219
|
-
type: "deployment";
|
|
220
|
-
summary?: string | undefined;
|
|
221
|
-
project?: string | undefined;
|
|
222
|
-
environment?: string | undefined;
|
|
223
|
-
revision?: string | undefined;
|
|
224
|
-
branch?: string | undefined;
|
|
225
|
-
} | {
|
|
226
|
-
type: "calendar_event";
|
|
227
|
-
summary?: string | undefined;
|
|
228
|
-
when?: string | undefined;
|
|
229
|
-
attendees?: string[] | undefined;
|
|
230
|
-
} | {
|
|
231
|
-
type: "conversation";
|
|
232
|
-
summary?: string | undefined;
|
|
233
|
-
participants?: string[] | undefined;
|
|
234
|
-
lastActivityAt?: string | undefined;
|
|
235
|
-
} | {
|
|
236
|
-
type: "document";
|
|
237
|
-
summary?: string | undefined;
|
|
238
|
-
owner?: string | undefined;
|
|
239
|
-
modifiedAt?: string | undefined;
|
|
240
|
-
thumbnailUrl?: string | undefined;
|
|
241
|
-
} | {
|
|
242
|
-
type: "message";
|
|
243
|
-
summary?: string | undefined;
|
|
244
|
-
channel?: string | undefined;
|
|
245
|
-
author?: string | undefined;
|
|
246
|
-
sentAt?: string | undefined;
|
|
247
|
-
} | {
|
|
248
|
-
type: "web_page";
|
|
249
|
-
summary?: string | undefined;
|
|
250
|
-
siteName?: string | undefined;
|
|
251
|
-
author?: string | undefined;
|
|
252
|
-
media?: "image" | "video" | undefined;
|
|
253
|
-
thumbnailUrl?: string | undefined;
|
|
254
|
-
} | {
|
|
255
|
-
type: "chart";
|
|
256
|
-
summary?: string | undefined;
|
|
257
|
-
display: "area" | "bar" | "line";
|
|
258
|
-
yAxis: string;
|
|
259
|
-
range: string;
|
|
260
|
-
series: {
|
|
261
|
-
label: string;
|
|
262
|
-
points: number[];
|
|
263
|
-
}[];
|
|
264
|
-
} | {
|
|
265
|
-
type: "event";
|
|
266
|
-
summary?: string | undefined;
|
|
267
|
-
level?: string | undefined;
|
|
268
|
-
project?: string | undefined;
|
|
269
|
-
release?: string | undefined;
|
|
270
|
-
environment?: string | undefined;
|
|
271
|
-
occurredAt?: string | undefined;
|
|
272
|
-
} | {
|
|
273
|
-
type: "trace";
|
|
274
|
-
summary?: string | undefined;
|
|
275
|
-
rootOp?: string | undefined;
|
|
276
|
-
rootName?: string | undefined;
|
|
277
|
-
durationMs: number;
|
|
278
|
-
spanCount: number;
|
|
279
|
-
errorCount: number;
|
|
280
|
-
performanceIssueCount: number;
|
|
281
|
-
projects: string[];
|
|
282
|
-
spans: {
|
|
283
|
-
op?: string | undefined;
|
|
284
|
-
name: string;
|
|
285
|
-
startMs: number;
|
|
286
|
-
durationMs: number;
|
|
287
|
-
issue?: boolean | undefined;
|
|
288
|
-
}[];
|
|
289
|
-
} | {
|
|
290
|
-
type: "person";
|
|
291
|
-
summary?: string | undefined;
|
|
292
|
-
email?: string | undefined;
|
|
293
|
-
slackHandle?: string | undefined;
|
|
294
|
-
githubHandle?: string | undefined;
|
|
295
|
-
avatarUrl?: string | undefined;
|
|
296
|
-
} | undefined;
|
|
297
|
-
}[] | undefined;
|
|
298
|
-
reply?: {
|
|
299
|
-
text: string;
|
|
300
|
-
url?: string | undefined;
|
|
301
|
-
} | undefined;
|
|
302
|
-
continuation?: {
|
|
303
|
-
arguments: Record<string, unknown>;
|
|
304
|
-
reason?: string | undefined;
|
|
305
|
-
} | undefined;
|
|
306
|
-
target: "listCalendarEvents";
|
|
307
|
-
calendar: string;
|
|
308
|
-
events: {
|
|
309
|
-
attendees?: {
|
|
310
|
-
email: string;
|
|
311
|
-
optional?: boolean | undefined;
|
|
312
|
-
response?: "accepted" | "declined" | "needsAction" | "tentative" | undefined;
|
|
313
|
-
}[] | undefined;
|
|
314
|
-
end: string;
|
|
315
|
-
event_id: string;
|
|
316
|
-
label: string;
|
|
317
|
-
location?: string | undefined;
|
|
318
|
-
organizer?: string | undefined;
|
|
319
|
-
organized_by_junior: boolean;
|
|
320
|
-
series_event_id?: string | undefined;
|
|
321
|
-
start: string;
|
|
322
|
-
title?: string | undefined;
|
|
323
|
-
url?: string | undefined;
|
|
324
|
-
video_call_url?: string | undefined;
|
|
325
|
-
}[];
|
|
326
|
-
time_zone: string;
|
|
327
|
-
truncated: boolean;
|
|
328
|
-
visible: boolean;
|
|
329
|
-
}, GoogleToolContext>;
|
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
import type { GoogleToolContext } from "./shared";
|
|
2
|
-
/** List the comments and replies on one Google Doc, Sheet, or Slides file. */
|
|
3
|
-
export declare const listGoogleFileCommentsTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
|
-
file: string;
|
|
5
|
-
page_token?: string | undefined;
|
|
6
|
-
}, {
|
|
7
|
-
[x: string]: unknown;
|
|
8
|
-
objectAnnotations?: {
|
|
9
|
-
kind: "object";
|
|
10
|
-
key: string;
|
|
11
|
-
label: string;
|
|
12
|
-
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
13
|
-
title: string;
|
|
14
|
-
url: string | null;
|
|
15
|
-
description?: string | undefined;
|
|
16
|
-
status?: string | undefined;
|
|
17
|
-
trigger?: string | undefined;
|
|
18
|
-
warning?: string | undefined;
|
|
19
|
-
displayType?: string | undefined;
|
|
20
|
-
sourceUpdatedAt?: string | undefined;
|
|
21
|
-
facts?: {
|
|
22
|
-
type: "code_change";
|
|
23
|
-
summary?: string | undefined;
|
|
24
|
-
author?: string | undefined;
|
|
25
|
-
sourceBranch?: string | undefined;
|
|
26
|
-
targetBranch?: string | undefined;
|
|
27
|
-
reviewers?: string[] | undefined;
|
|
28
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
29
|
-
checks?: {
|
|
30
|
-
passed: number;
|
|
31
|
-
failed: number;
|
|
32
|
-
pending: number;
|
|
33
|
-
} | undefined;
|
|
34
|
-
mergeable?: boolean | undefined;
|
|
35
|
-
changedFiles?: number | undefined;
|
|
36
|
-
additions?: number | undefined;
|
|
37
|
-
deletions?: number | undefined;
|
|
38
|
-
previewImageUrls?: string[] | undefined;
|
|
39
|
-
} | {
|
|
40
|
-
type: "task";
|
|
41
|
-
summary?: string | undefined;
|
|
42
|
-
assignees?: string[] | undefined;
|
|
43
|
-
priority?: string | undefined;
|
|
44
|
-
project?: string | undefined;
|
|
45
|
-
cycle?: string | undefined;
|
|
46
|
-
dueDate?: string | undefined;
|
|
47
|
-
labels?: string[] | undefined;
|
|
48
|
-
trend?: {
|
|
49
|
-
label: string;
|
|
50
|
-
points: number[];
|
|
51
|
-
} | undefined;
|
|
52
|
-
} | {
|
|
53
|
-
type: "deployment";
|
|
54
|
-
summary?: string | undefined;
|
|
55
|
-
project?: string | undefined;
|
|
56
|
-
environment?: string | undefined;
|
|
57
|
-
revision?: string | undefined;
|
|
58
|
-
branch?: string | undefined;
|
|
59
|
-
} | {
|
|
60
|
-
type: "calendar_event";
|
|
61
|
-
summary?: string | undefined;
|
|
62
|
-
when?: string | undefined;
|
|
63
|
-
attendees?: string[] | undefined;
|
|
64
|
-
} | {
|
|
65
|
-
type: "conversation";
|
|
66
|
-
summary?: string | undefined;
|
|
67
|
-
participants?: string[] | undefined;
|
|
68
|
-
lastActivityAt?: string | undefined;
|
|
69
|
-
} | {
|
|
70
|
-
type: "document";
|
|
71
|
-
summary?: string | undefined;
|
|
72
|
-
owner?: string | undefined;
|
|
73
|
-
modifiedAt?: string | undefined;
|
|
74
|
-
thumbnailUrl?: string | undefined;
|
|
75
|
-
} | {
|
|
76
|
-
type: "message";
|
|
77
|
-
summary?: string | undefined;
|
|
78
|
-
channel?: string | undefined;
|
|
79
|
-
author?: string | undefined;
|
|
80
|
-
sentAt?: string | undefined;
|
|
81
|
-
} | {
|
|
82
|
-
type: "web_page";
|
|
83
|
-
summary?: string | undefined;
|
|
84
|
-
siteName?: string | undefined;
|
|
85
|
-
author?: string | undefined;
|
|
86
|
-
media?: "image" | "video" | undefined;
|
|
87
|
-
thumbnailUrl?: string | undefined;
|
|
88
|
-
} | {
|
|
89
|
-
type: "chart";
|
|
90
|
-
summary?: string | undefined;
|
|
91
|
-
display: "area" | "bar" | "line";
|
|
92
|
-
yAxis: string;
|
|
93
|
-
range: string;
|
|
94
|
-
series: {
|
|
95
|
-
label: string;
|
|
96
|
-
points: number[];
|
|
97
|
-
}[];
|
|
98
|
-
} | {
|
|
99
|
-
type: "event";
|
|
100
|
-
summary?: string | undefined;
|
|
101
|
-
level?: string | undefined;
|
|
102
|
-
project?: string | undefined;
|
|
103
|
-
release?: string | undefined;
|
|
104
|
-
environment?: string | undefined;
|
|
105
|
-
occurredAt?: string | undefined;
|
|
106
|
-
} | {
|
|
107
|
-
type: "trace";
|
|
108
|
-
summary?: string | undefined;
|
|
109
|
-
rootOp?: string | undefined;
|
|
110
|
-
rootName?: string | undefined;
|
|
111
|
-
durationMs: number;
|
|
112
|
-
spanCount: number;
|
|
113
|
-
errorCount: number;
|
|
114
|
-
performanceIssueCount: number;
|
|
115
|
-
projects: string[];
|
|
116
|
-
spans: {
|
|
117
|
-
op?: string | undefined;
|
|
118
|
-
name: string;
|
|
119
|
-
startMs: number;
|
|
120
|
-
durationMs: number;
|
|
121
|
-
issue?: boolean | undefined;
|
|
122
|
-
}[];
|
|
123
|
-
} | {
|
|
124
|
-
type: "person";
|
|
125
|
-
summary?: string | undefined;
|
|
126
|
-
email?: string | undefined;
|
|
127
|
-
slackHandle?: string | undefined;
|
|
128
|
-
githubHandle?: string | undefined;
|
|
129
|
-
avatarUrl?: string | undefined;
|
|
130
|
-
} | undefined;
|
|
131
|
-
}[] | undefined;
|
|
132
|
-
reply?: {
|
|
133
|
-
text: string;
|
|
134
|
-
url?: string | undefined;
|
|
135
|
-
} | undefined;
|
|
136
|
-
truncated?: boolean | undefined;
|
|
137
|
-
continuation?: {
|
|
138
|
-
arguments: Record<string, unknown>;
|
|
139
|
-
reason?: string | undefined;
|
|
140
|
-
} | undefined;
|
|
141
|
-
target: "listGoogleFileComments";
|
|
142
|
-
comments: {
|
|
143
|
-
author?: string | undefined;
|
|
144
|
-
comment_id: string;
|
|
145
|
-
content: string;
|
|
146
|
-
created_at?: string | undefined;
|
|
147
|
-
quoted_text?: string | undefined;
|
|
148
|
-
replies: {
|
|
149
|
-
action?: "reopen" | "resolve" | undefined;
|
|
150
|
-
author?: string | undefined;
|
|
151
|
-
content: string;
|
|
152
|
-
created_at?: string | undefined;
|
|
153
|
-
}[];
|
|
154
|
-
resolved: boolean;
|
|
155
|
-
}[];
|
|
156
|
-
file_id: string;
|
|
157
|
-
next_page_token?: string | undefined;
|
|
158
|
-
}, {
|
|
159
|
-
[x: string]: unknown;
|
|
160
|
-
objectAnnotations?: {
|
|
161
|
-
kind: "object";
|
|
162
|
-
key: string;
|
|
163
|
-
label: string;
|
|
164
|
-
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
165
|
-
title: string;
|
|
166
|
-
url: string | null;
|
|
167
|
-
description?: string | undefined;
|
|
168
|
-
status?: string | undefined;
|
|
169
|
-
trigger?: string | undefined;
|
|
170
|
-
warning?: string | undefined;
|
|
171
|
-
displayType?: string | undefined;
|
|
172
|
-
sourceUpdatedAt?: string | undefined;
|
|
173
|
-
facts?: {
|
|
174
|
-
type: "code_change";
|
|
175
|
-
summary?: string | undefined;
|
|
176
|
-
author?: string | undefined;
|
|
177
|
-
sourceBranch?: string | undefined;
|
|
178
|
-
targetBranch?: string | undefined;
|
|
179
|
-
reviewers?: string[] | undefined;
|
|
180
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
181
|
-
checks?: {
|
|
182
|
-
passed: number;
|
|
183
|
-
failed: number;
|
|
184
|
-
pending: number;
|
|
185
|
-
} | undefined;
|
|
186
|
-
mergeable?: boolean | undefined;
|
|
187
|
-
changedFiles?: number | undefined;
|
|
188
|
-
additions?: number | undefined;
|
|
189
|
-
deletions?: number | undefined;
|
|
190
|
-
previewImageUrls?: string[] | undefined;
|
|
191
|
-
} | {
|
|
192
|
-
type: "task";
|
|
193
|
-
summary?: string | undefined;
|
|
194
|
-
assignees?: string[] | undefined;
|
|
195
|
-
priority?: string | undefined;
|
|
196
|
-
project?: string | undefined;
|
|
197
|
-
cycle?: string | undefined;
|
|
198
|
-
dueDate?: string | undefined;
|
|
199
|
-
labels?: string[] | undefined;
|
|
200
|
-
trend?: {
|
|
201
|
-
label: string;
|
|
202
|
-
points: number[];
|
|
203
|
-
} | undefined;
|
|
204
|
-
} | {
|
|
205
|
-
type: "deployment";
|
|
206
|
-
summary?: string | undefined;
|
|
207
|
-
project?: string | undefined;
|
|
208
|
-
environment?: string | undefined;
|
|
209
|
-
revision?: string | undefined;
|
|
210
|
-
branch?: string | undefined;
|
|
211
|
-
} | {
|
|
212
|
-
type: "calendar_event";
|
|
213
|
-
summary?: string | undefined;
|
|
214
|
-
when?: string | undefined;
|
|
215
|
-
attendees?: string[] | undefined;
|
|
216
|
-
} | {
|
|
217
|
-
type: "conversation";
|
|
218
|
-
summary?: string | undefined;
|
|
219
|
-
participants?: string[] | undefined;
|
|
220
|
-
lastActivityAt?: string | undefined;
|
|
221
|
-
} | {
|
|
222
|
-
type: "document";
|
|
223
|
-
summary?: string | undefined;
|
|
224
|
-
owner?: string | undefined;
|
|
225
|
-
modifiedAt?: string | undefined;
|
|
226
|
-
thumbnailUrl?: string | undefined;
|
|
227
|
-
} | {
|
|
228
|
-
type: "message";
|
|
229
|
-
summary?: string | undefined;
|
|
230
|
-
channel?: string | undefined;
|
|
231
|
-
author?: string | undefined;
|
|
232
|
-
sentAt?: string | undefined;
|
|
233
|
-
} | {
|
|
234
|
-
type: "web_page";
|
|
235
|
-
summary?: string | undefined;
|
|
236
|
-
siteName?: string | undefined;
|
|
237
|
-
author?: string | undefined;
|
|
238
|
-
media?: "image" | "video" | undefined;
|
|
239
|
-
thumbnailUrl?: string | undefined;
|
|
240
|
-
} | {
|
|
241
|
-
type: "chart";
|
|
242
|
-
summary?: string | undefined;
|
|
243
|
-
display: "area" | "bar" | "line";
|
|
244
|
-
yAxis: string;
|
|
245
|
-
range: string;
|
|
246
|
-
series: {
|
|
247
|
-
label: string;
|
|
248
|
-
points: number[];
|
|
249
|
-
}[];
|
|
250
|
-
} | {
|
|
251
|
-
type: "event";
|
|
252
|
-
summary?: string | undefined;
|
|
253
|
-
level?: string | undefined;
|
|
254
|
-
project?: string | undefined;
|
|
255
|
-
release?: string | undefined;
|
|
256
|
-
environment?: string | undefined;
|
|
257
|
-
occurredAt?: string | undefined;
|
|
258
|
-
} | {
|
|
259
|
-
type: "trace";
|
|
260
|
-
summary?: string | undefined;
|
|
261
|
-
rootOp?: string | undefined;
|
|
262
|
-
rootName?: string | undefined;
|
|
263
|
-
durationMs: number;
|
|
264
|
-
spanCount: number;
|
|
265
|
-
errorCount: number;
|
|
266
|
-
performanceIssueCount: number;
|
|
267
|
-
projects: string[];
|
|
268
|
-
spans: {
|
|
269
|
-
op?: string | undefined;
|
|
270
|
-
name: string;
|
|
271
|
-
startMs: number;
|
|
272
|
-
durationMs: number;
|
|
273
|
-
issue?: boolean | undefined;
|
|
274
|
-
}[];
|
|
275
|
-
} | {
|
|
276
|
-
type: "person";
|
|
277
|
-
summary?: string | undefined;
|
|
278
|
-
email?: string | undefined;
|
|
279
|
-
slackHandle?: string | undefined;
|
|
280
|
-
githubHandle?: string | undefined;
|
|
281
|
-
avatarUrl?: string | undefined;
|
|
282
|
-
} | undefined;
|
|
283
|
-
}[] | undefined;
|
|
284
|
-
reply?: {
|
|
285
|
-
text: string;
|
|
286
|
-
url?: string | undefined;
|
|
287
|
-
} | undefined;
|
|
288
|
-
truncated?: boolean | undefined;
|
|
289
|
-
continuation?: {
|
|
290
|
-
arguments: Record<string, unknown>;
|
|
291
|
-
reason?: string | undefined;
|
|
292
|
-
} | undefined;
|
|
293
|
-
target: "listGoogleFileComments";
|
|
294
|
-
comments: {
|
|
295
|
-
author?: string | undefined;
|
|
296
|
-
comment_id: string;
|
|
297
|
-
content: string;
|
|
298
|
-
created_at?: string | undefined;
|
|
299
|
-
quoted_text?: string | undefined;
|
|
300
|
-
replies: {
|
|
301
|
-
action?: "reopen" | "resolve" | undefined;
|
|
302
|
-
author?: string | undefined;
|
|
303
|
-
content: string;
|
|
304
|
-
created_at?: string | undefined;
|
|
305
|
-
}[];
|
|
306
|
-
resolved: boolean;
|
|
307
|
-
}[];
|
|
308
|
-
file_id: string;
|
|
309
|
-
next_page_token?: string | undefined;
|
|
310
|
-
}, GoogleToolContext>;
|
package/dist/tools/read-doc.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { type FileReference } from "./files";
|
|
3
|
-
import { type GoogleToolContext } from "./shared";
|
|
4
|
-
/** Output fields of `readGoogleFile` for a Doc. */
|
|
5
|
-
export declare const docOutputFields: {
|
|
6
|
-
content: z.ZodOptional<z.ZodString>;
|
|
7
|
-
revision_id: z.ZodOptional<z.ZodString>;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Read one Google Doc as Markdown.
|
|
11
|
-
*
|
|
12
|
-
* Drive exports the text. The Docs API gives the revision that the edit tools
|
|
13
|
-
* check. Comments are not in the export; `listGoogleFileComments` reads them.
|
|
14
|
-
*/
|
|
15
|
-
export declare function readDocContent(ctx: GoogleToolContext, ref: FileReference): Promise<{
|
|
16
|
-
content: string;
|
|
17
|
-
revision_id?: string | undefined;
|
|
18
|
-
truncated: boolean;
|
|
19
|
-
}>;
|