@sentry/junior-google 0.298.0 → 0.300.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/README.md +39 -5
- package/dist/config.d.ts +8 -1
- package/dist/credentials.d.ts +51 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2088 -920
- package/dist/links/calendar.d.ts +11 -0
- package/dist/links/files.d.ts +11 -0
- package/dist/links/summary.d.ts +13 -0
- package/dist/tools/cancel-event.d.ts +70 -2
- package/dist/tools/create-doc.d.ts +212 -0
- package/dist/tools/create-event.d.ts +70 -2
- package/dist/tools/doc-edits.d.ts +84 -0
- package/dist/tools/doc-markdown.d.ts +40 -0
- package/dist/tools/files.d.ts +17 -1
- package/dist/tools/find-meeting-times.d.ts +70 -2
- package/dist/tools/insert-doc-content.d.ts +206 -0
- package/dist/tools/list-events.d.ts +70 -2
- package/dist/tools/list-file-comments.d.ts +70 -2
- package/dist/tools/read-doc.d.ts +12 -135
- package/dist/tools/read-file.d.ts +241 -0
- package/dist/tools/read-meeting-transcript.d.ts +70 -2
- package/dist/tools/read-sheet.d.ts +12 -138
- package/dist/tools/read-slides.d.ts +12 -137
- package/dist/tools/replace-doc-content.d.ts +205 -0
- package/dist/tools/replace-doc-text.d.ts +209 -0
- package/dist/tools/search-files.d.ts +78 -3
- package/dist/tools/shared.d.ts +36 -2
- package/dist/tools/update-event.d.ts +70 -2
- package/package.json +5 -4
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import type { GoogleToolContext } from "./shared";
|
|
2
|
+
/** Replace every match of a text in a Google Doc. */
|
|
3
|
+
export declare function createReplaceGoogleDocTextTool(ctx: GoogleToolContext): import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
|
+
document: string;
|
|
5
|
+
revision_id: string;
|
|
6
|
+
find: string;
|
|
7
|
+
replace: string;
|
|
8
|
+
match_case: boolean;
|
|
9
|
+
}, {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
objectAnnotations?: {
|
|
12
|
+
kind: "object";
|
|
13
|
+
key: string;
|
|
14
|
+
label: string;
|
|
15
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
16
|
+
title: string;
|
|
17
|
+
url: string | null;
|
|
18
|
+
description?: string | undefined;
|
|
19
|
+
status?: string | undefined;
|
|
20
|
+
trigger?: string | undefined;
|
|
21
|
+
warning?: string | undefined;
|
|
22
|
+
displayType?: string | undefined;
|
|
23
|
+
sourceUpdatedAt?: string | undefined;
|
|
24
|
+
facts?: {
|
|
25
|
+
type: "code_change";
|
|
26
|
+
summary?: string | undefined;
|
|
27
|
+
author?: string | undefined;
|
|
28
|
+
sourceBranch?: string | undefined;
|
|
29
|
+
targetBranch?: string | undefined;
|
|
30
|
+
reviewers?: string[] | undefined;
|
|
31
|
+
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
32
|
+
checks?: {
|
|
33
|
+
passed: number;
|
|
34
|
+
failed: number;
|
|
35
|
+
pending: number;
|
|
36
|
+
} | undefined;
|
|
37
|
+
mergeable?: boolean | undefined;
|
|
38
|
+
changedFiles?: number | undefined;
|
|
39
|
+
additions?: number | undefined;
|
|
40
|
+
deletions?: number | undefined;
|
|
41
|
+
previewImageUrls?: string[] | undefined;
|
|
42
|
+
} | {
|
|
43
|
+
type: "task";
|
|
44
|
+
summary?: string | undefined;
|
|
45
|
+
assignees?: string[] | undefined;
|
|
46
|
+
priority?: string | undefined;
|
|
47
|
+
project?: string | undefined;
|
|
48
|
+
cycle?: string | undefined;
|
|
49
|
+
dueDate?: string | undefined;
|
|
50
|
+
labels?: string[] | 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
|
+
} | {
|
|
74
|
+
type: "message";
|
|
75
|
+
summary?: string | undefined;
|
|
76
|
+
channel?: string | undefined;
|
|
77
|
+
author?: string | undefined;
|
|
78
|
+
sentAt?: string | undefined;
|
|
79
|
+
} | {
|
|
80
|
+
type: "web_page";
|
|
81
|
+
summary?: string | undefined;
|
|
82
|
+
siteName?: string | undefined;
|
|
83
|
+
author?: string | undefined;
|
|
84
|
+
thumbnailUrl?: string | undefined;
|
|
85
|
+
} | {
|
|
86
|
+
type: "person";
|
|
87
|
+
summary?: string | undefined;
|
|
88
|
+
email?: string | undefined;
|
|
89
|
+
slackHandle?: string | undefined;
|
|
90
|
+
githubHandle?: string | undefined;
|
|
91
|
+
avatarUrl?: string | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
}[] | undefined;
|
|
94
|
+
reply?: {
|
|
95
|
+
text: string;
|
|
96
|
+
url?: string | undefined;
|
|
97
|
+
} | undefined;
|
|
98
|
+
truncated?: boolean | undefined;
|
|
99
|
+
continuation?: {
|
|
100
|
+
arguments: Record<string, unknown>;
|
|
101
|
+
reason?: string | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
document_id: string;
|
|
104
|
+
revision_id?: string | undefined;
|
|
105
|
+
title: string;
|
|
106
|
+
url: string;
|
|
107
|
+
target: "replaceGoogleDocText";
|
|
108
|
+
occurrences_changed: number;
|
|
109
|
+
}, {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
objectAnnotations?: {
|
|
112
|
+
kind: "object";
|
|
113
|
+
key: string;
|
|
114
|
+
label: string;
|
|
115
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
116
|
+
title: string;
|
|
117
|
+
url: string | null;
|
|
118
|
+
description?: string | undefined;
|
|
119
|
+
status?: string | undefined;
|
|
120
|
+
trigger?: string | undefined;
|
|
121
|
+
warning?: string | undefined;
|
|
122
|
+
displayType?: string | undefined;
|
|
123
|
+
sourceUpdatedAt?: string | undefined;
|
|
124
|
+
facts?: {
|
|
125
|
+
type: "code_change";
|
|
126
|
+
summary?: string | undefined;
|
|
127
|
+
author?: string | undefined;
|
|
128
|
+
sourceBranch?: string | undefined;
|
|
129
|
+
targetBranch?: string | undefined;
|
|
130
|
+
reviewers?: string[] | undefined;
|
|
131
|
+
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
132
|
+
checks?: {
|
|
133
|
+
passed: number;
|
|
134
|
+
failed: number;
|
|
135
|
+
pending: number;
|
|
136
|
+
} | undefined;
|
|
137
|
+
mergeable?: boolean | undefined;
|
|
138
|
+
changedFiles?: number | undefined;
|
|
139
|
+
additions?: number | undefined;
|
|
140
|
+
deletions?: number | undefined;
|
|
141
|
+
previewImageUrls?: string[] | undefined;
|
|
142
|
+
} | {
|
|
143
|
+
type: "task";
|
|
144
|
+
summary?: string | undefined;
|
|
145
|
+
assignees?: string[] | undefined;
|
|
146
|
+
priority?: string | undefined;
|
|
147
|
+
project?: string | undefined;
|
|
148
|
+
cycle?: string | undefined;
|
|
149
|
+
dueDate?: string | undefined;
|
|
150
|
+
labels?: string[] | undefined;
|
|
151
|
+
} | {
|
|
152
|
+
type: "deployment";
|
|
153
|
+
summary?: string | undefined;
|
|
154
|
+
project?: string | undefined;
|
|
155
|
+
environment?: string | undefined;
|
|
156
|
+
revision?: string | undefined;
|
|
157
|
+
branch?: string | undefined;
|
|
158
|
+
} | {
|
|
159
|
+
type: "calendar_event";
|
|
160
|
+
summary?: string | undefined;
|
|
161
|
+
when?: string | undefined;
|
|
162
|
+
attendees?: string[] | undefined;
|
|
163
|
+
} | {
|
|
164
|
+
type: "conversation";
|
|
165
|
+
summary?: string | undefined;
|
|
166
|
+
participants?: string[] | undefined;
|
|
167
|
+
lastActivityAt?: string | undefined;
|
|
168
|
+
} | {
|
|
169
|
+
type: "document";
|
|
170
|
+
summary?: string | undefined;
|
|
171
|
+
owner?: string | undefined;
|
|
172
|
+
modifiedAt?: string | undefined;
|
|
173
|
+
} | {
|
|
174
|
+
type: "message";
|
|
175
|
+
summary?: string | undefined;
|
|
176
|
+
channel?: string | undefined;
|
|
177
|
+
author?: string | undefined;
|
|
178
|
+
sentAt?: string | undefined;
|
|
179
|
+
} | {
|
|
180
|
+
type: "web_page";
|
|
181
|
+
summary?: string | undefined;
|
|
182
|
+
siteName?: string | undefined;
|
|
183
|
+
author?: string | undefined;
|
|
184
|
+
thumbnailUrl?: string | undefined;
|
|
185
|
+
} | {
|
|
186
|
+
type: "person";
|
|
187
|
+
summary?: string | undefined;
|
|
188
|
+
email?: string | undefined;
|
|
189
|
+
slackHandle?: string | undefined;
|
|
190
|
+
githubHandle?: string | undefined;
|
|
191
|
+
avatarUrl?: string | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
}[] | undefined;
|
|
194
|
+
reply?: {
|
|
195
|
+
text: string;
|
|
196
|
+
url?: string | undefined;
|
|
197
|
+
} | undefined;
|
|
198
|
+
truncated?: boolean | undefined;
|
|
199
|
+
continuation?: {
|
|
200
|
+
arguments: Record<string, unknown>;
|
|
201
|
+
reason?: string | undefined;
|
|
202
|
+
} | undefined;
|
|
203
|
+
document_id: string;
|
|
204
|
+
revision_id?: string | undefined;
|
|
205
|
+
title: string;
|
|
206
|
+
url: string;
|
|
207
|
+
target: "replaceGoogleDocText";
|
|
208
|
+
occurrences_changed: number;
|
|
209
|
+
}>;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { type GoogleToolContext } from "./shared";
|
|
2
|
-
/**
|
|
2
|
+
/** Quote a value for a Drive search query. */
|
|
3
|
+
export declare function driveQueryString(value: string): string;
|
|
4
|
+
/** Drive search terms for files that name the requester in a permission. */
|
|
5
|
+
export declare function namedQuery(requester: string): string;
|
|
6
|
+
/**
|
|
7
|
+
* Find Docs, Sheets, and Slides that the requester could find in Drive
|
|
8
|
+
* themselves. Never search without the requester's terms.
|
|
9
|
+
*/
|
|
3
10
|
export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
11
|
query: string;
|
|
5
12
|
types?: ("document" | "presentation" | "spreadsheet")[] | undefined;
|
|
@@ -10,7 +17,7 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
|
|
|
10
17
|
kind: "object";
|
|
11
18
|
key: string;
|
|
12
19
|
label: string;
|
|
13
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
20
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
14
21
|
title: string;
|
|
15
22
|
url: string | null;
|
|
16
23
|
description?: string | undefined;
|
|
@@ -21,6 +28,7 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
|
|
|
21
28
|
sourceUpdatedAt?: string | undefined;
|
|
22
29
|
facts?: {
|
|
23
30
|
type: "code_change";
|
|
31
|
+
summary?: string | undefined;
|
|
24
32
|
author?: string | undefined;
|
|
25
33
|
sourceBranch?: string | undefined;
|
|
26
34
|
targetBranch?: string | undefined;
|
|
@@ -35,8 +43,10 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
|
|
|
35
43
|
changedFiles?: number | undefined;
|
|
36
44
|
additions?: number | undefined;
|
|
37
45
|
deletions?: number | undefined;
|
|
46
|
+
previewImageUrls?: string[] | undefined;
|
|
38
47
|
} | {
|
|
39
48
|
type: "task";
|
|
49
|
+
summary?: string | undefined;
|
|
40
50
|
assignees?: string[] | undefined;
|
|
41
51
|
priority?: string | undefined;
|
|
42
52
|
project?: string | undefined;
|
|
@@ -45,14 +55,45 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
|
|
|
45
55
|
labels?: string[] | undefined;
|
|
46
56
|
} | {
|
|
47
57
|
type: "deployment";
|
|
58
|
+
summary?: string | undefined;
|
|
48
59
|
project?: string | undefined;
|
|
49
60
|
environment?: string | undefined;
|
|
50
61
|
revision?: string | undefined;
|
|
51
62
|
branch?: string | undefined;
|
|
52
63
|
} | {
|
|
53
64
|
type: "calendar_event";
|
|
65
|
+
summary?: string | undefined;
|
|
54
66
|
when?: string | undefined;
|
|
55
67
|
attendees?: string[] | undefined;
|
|
68
|
+
} | {
|
|
69
|
+
type: "conversation";
|
|
70
|
+
summary?: string | undefined;
|
|
71
|
+
participants?: string[] | undefined;
|
|
72
|
+
lastActivityAt?: string | undefined;
|
|
73
|
+
} | {
|
|
74
|
+
type: "document";
|
|
75
|
+
summary?: string | undefined;
|
|
76
|
+
owner?: string | undefined;
|
|
77
|
+
modifiedAt?: string | undefined;
|
|
78
|
+
} | {
|
|
79
|
+
type: "message";
|
|
80
|
+
summary?: string | undefined;
|
|
81
|
+
channel?: string | undefined;
|
|
82
|
+
author?: string | undefined;
|
|
83
|
+
sentAt?: string | undefined;
|
|
84
|
+
} | {
|
|
85
|
+
type: "web_page";
|
|
86
|
+
summary?: string | undefined;
|
|
87
|
+
siteName?: string | undefined;
|
|
88
|
+
author?: string | undefined;
|
|
89
|
+
thumbnailUrl?: string | undefined;
|
|
90
|
+
} | {
|
|
91
|
+
type: "person";
|
|
92
|
+
summary?: string | undefined;
|
|
93
|
+
email?: string | undefined;
|
|
94
|
+
slackHandle?: string | undefined;
|
|
95
|
+
githubHandle?: string | undefined;
|
|
96
|
+
avatarUrl?: string | undefined;
|
|
56
97
|
} | undefined;
|
|
57
98
|
}[] | undefined;
|
|
58
99
|
reply?: {
|
|
@@ -78,7 +119,7 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
|
|
|
78
119
|
kind: "object";
|
|
79
120
|
key: string;
|
|
80
121
|
label: string;
|
|
81
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
122
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
82
123
|
title: string;
|
|
83
124
|
url: string | null;
|
|
84
125
|
description?: string | undefined;
|
|
@@ -89,6 +130,7 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
|
|
|
89
130
|
sourceUpdatedAt?: string | undefined;
|
|
90
131
|
facts?: {
|
|
91
132
|
type: "code_change";
|
|
133
|
+
summary?: string | undefined;
|
|
92
134
|
author?: string | undefined;
|
|
93
135
|
sourceBranch?: string | undefined;
|
|
94
136
|
targetBranch?: string | undefined;
|
|
@@ -103,8 +145,10 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
|
|
|
103
145
|
changedFiles?: number | undefined;
|
|
104
146
|
additions?: number | undefined;
|
|
105
147
|
deletions?: number | undefined;
|
|
148
|
+
previewImageUrls?: string[] | undefined;
|
|
106
149
|
} | {
|
|
107
150
|
type: "task";
|
|
151
|
+
summary?: string | undefined;
|
|
108
152
|
assignees?: string[] | undefined;
|
|
109
153
|
priority?: string | undefined;
|
|
110
154
|
project?: string | undefined;
|
|
@@ -113,14 +157,45 @@ export declare function createSearchGoogleFilesTool(ctx: GoogleToolContext): imp
|
|
|
113
157
|
labels?: string[] | undefined;
|
|
114
158
|
} | {
|
|
115
159
|
type: "deployment";
|
|
160
|
+
summary?: string | undefined;
|
|
116
161
|
project?: string | undefined;
|
|
117
162
|
environment?: string | undefined;
|
|
118
163
|
revision?: string | undefined;
|
|
119
164
|
branch?: string | undefined;
|
|
120
165
|
} | {
|
|
121
166
|
type: "calendar_event";
|
|
167
|
+
summary?: string | undefined;
|
|
122
168
|
when?: string | undefined;
|
|
123
169
|
attendees?: string[] | undefined;
|
|
170
|
+
} | {
|
|
171
|
+
type: "conversation";
|
|
172
|
+
summary?: string | undefined;
|
|
173
|
+
participants?: string[] | undefined;
|
|
174
|
+
lastActivityAt?: string | undefined;
|
|
175
|
+
} | {
|
|
176
|
+
type: "document";
|
|
177
|
+
summary?: string | undefined;
|
|
178
|
+
owner?: string | undefined;
|
|
179
|
+
modifiedAt?: string | undefined;
|
|
180
|
+
} | {
|
|
181
|
+
type: "message";
|
|
182
|
+
summary?: string | undefined;
|
|
183
|
+
channel?: string | undefined;
|
|
184
|
+
author?: string | undefined;
|
|
185
|
+
sentAt?: string | undefined;
|
|
186
|
+
} | {
|
|
187
|
+
type: "web_page";
|
|
188
|
+
summary?: string | undefined;
|
|
189
|
+
siteName?: string | undefined;
|
|
190
|
+
author?: string | undefined;
|
|
191
|
+
thumbnailUrl?: string | undefined;
|
|
192
|
+
} | {
|
|
193
|
+
type: "person";
|
|
194
|
+
summary?: string | undefined;
|
|
195
|
+
email?: string | undefined;
|
|
196
|
+
slackHandle?: string | undefined;
|
|
197
|
+
githubHandle?: string | undefined;
|
|
198
|
+
avatarUrl?: string | undefined;
|
|
124
199
|
} | undefined;
|
|
125
200
|
}[] | undefined;
|
|
126
201
|
reply?: {
|
package/dist/tools/shared.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare function withRequester(ctx: GoogleToolContext, emails: string[]):
|
|
|
35
35
|
* A JSON response body is parsed. Other bodies, such as a Drive export, are
|
|
36
36
|
* returned as text.
|
|
37
37
|
*/
|
|
38
|
-
export declare function googleApiRequest(ctx: GoogleToolContext, input: {
|
|
38
|
+
export declare function googleApiRequest(ctx: Pick<GoogleToolContext, "egress">, input: {
|
|
39
39
|
body?: unknown;
|
|
40
40
|
headers?: Record<string, string>;
|
|
41
41
|
operation: GoogleOperation;
|
|
@@ -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" | "deployment" | "item" | "task";
|
|
134
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
135
135
|
title: string;
|
|
136
136
|
url: string | null;
|
|
137
137
|
description?: string | undefined;
|
|
@@ -142,6 +142,7 @@ export declare function ownEventResult(event: OwnEvent, timeZone: string, accoun
|
|
|
142
142
|
sourceUpdatedAt?: string | undefined;
|
|
143
143
|
facts?: {
|
|
144
144
|
type: "code_change";
|
|
145
|
+
summary?: string | undefined;
|
|
145
146
|
author?: string | undefined;
|
|
146
147
|
sourceBranch?: string | undefined;
|
|
147
148
|
targetBranch?: string | undefined;
|
|
@@ -156,8 +157,10 @@ export declare function ownEventResult(event: OwnEvent, timeZone: string, accoun
|
|
|
156
157
|
changedFiles?: number | undefined;
|
|
157
158
|
additions?: number | undefined;
|
|
158
159
|
deletions?: number | undefined;
|
|
160
|
+
previewImageUrls?: string[] | undefined;
|
|
159
161
|
} | {
|
|
160
162
|
type: "task";
|
|
163
|
+
summary?: string | undefined;
|
|
161
164
|
assignees?: string[] | undefined;
|
|
162
165
|
priority?: string | undefined;
|
|
163
166
|
project?: string | undefined;
|
|
@@ -166,14 +169,45 @@ export declare function ownEventResult(event: OwnEvent, timeZone: string, accoun
|
|
|
166
169
|
labels?: string[] | undefined;
|
|
167
170
|
} | {
|
|
168
171
|
type: "deployment";
|
|
172
|
+
summary?: string | undefined;
|
|
169
173
|
project?: string | undefined;
|
|
170
174
|
environment?: string | undefined;
|
|
171
175
|
revision?: string | undefined;
|
|
172
176
|
branch?: string | undefined;
|
|
173
177
|
} | {
|
|
174
178
|
type: "calendar_event";
|
|
179
|
+
summary?: string | undefined;
|
|
175
180
|
when?: string | undefined;
|
|
176
181
|
attendees?: string[] | undefined;
|
|
182
|
+
} | {
|
|
183
|
+
type: "conversation";
|
|
184
|
+
summary?: string | undefined;
|
|
185
|
+
participants?: string[] | undefined;
|
|
186
|
+
lastActivityAt?: string | undefined;
|
|
187
|
+
} | {
|
|
188
|
+
type: "document";
|
|
189
|
+
summary?: string | undefined;
|
|
190
|
+
owner?: string | undefined;
|
|
191
|
+
modifiedAt?: string | undefined;
|
|
192
|
+
} | {
|
|
193
|
+
type: "message";
|
|
194
|
+
summary?: string | undefined;
|
|
195
|
+
channel?: string | undefined;
|
|
196
|
+
author?: string | undefined;
|
|
197
|
+
sentAt?: string | undefined;
|
|
198
|
+
} | {
|
|
199
|
+
type: "web_page";
|
|
200
|
+
summary?: string | undefined;
|
|
201
|
+
siteName?: string | undefined;
|
|
202
|
+
author?: string | undefined;
|
|
203
|
+
thumbnailUrl?: string | undefined;
|
|
204
|
+
} | {
|
|
205
|
+
type: "person";
|
|
206
|
+
summary?: string | undefined;
|
|
207
|
+
email?: string | undefined;
|
|
208
|
+
slackHandle?: string | undefined;
|
|
209
|
+
githubHandle?: string | undefined;
|
|
210
|
+
avatarUrl?: string | undefined;
|
|
177
211
|
} | undefined;
|
|
178
212
|
}[];
|
|
179
213
|
attendees: {
|
|
@@ -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" | "deployment" | "item" | "task";
|
|
25
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
26
26
|
title: string;
|
|
27
27
|
url: string | null;
|
|
28
28
|
description?: string | undefined;
|
|
@@ -33,6 +33,7 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
|
|
|
33
33
|
sourceUpdatedAt?: string | undefined;
|
|
34
34
|
facts?: {
|
|
35
35
|
type: "code_change";
|
|
36
|
+
summary?: string | undefined;
|
|
36
37
|
author?: string | undefined;
|
|
37
38
|
sourceBranch?: string | undefined;
|
|
38
39
|
targetBranch?: string | undefined;
|
|
@@ -47,8 +48,10 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
|
|
|
47
48
|
changedFiles?: number | undefined;
|
|
48
49
|
additions?: number | undefined;
|
|
49
50
|
deletions?: number | undefined;
|
|
51
|
+
previewImageUrls?: string[] | undefined;
|
|
50
52
|
} | {
|
|
51
53
|
type: "task";
|
|
54
|
+
summary?: string | undefined;
|
|
52
55
|
assignees?: string[] | undefined;
|
|
53
56
|
priority?: string | undefined;
|
|
54
57
|
project?: string | undefined;
|
|
@@ -57,14 +60,45 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
|
|
|
57
60
|
labels?: string[] | undefined;
|
|
58
61
|
} | {
|
|
59
62
|
type: "deployment";
|
|
63
|
+
summary?: string | undefined;
|
|
60
64
|
project?: string | undefined;
|
|
61
65
|
environment?: string | undefined;
|
|
62
66
|
revision?: string | undefined;
|
|
63
67
|
branch?: string | undefined;
|
|
64
68
|
} | {
|
|
65
69
|
type: "calendar_event";
|
|
70
|
+
summary?: string | undefined;
|
|
66
71
|
when?: string | undefined;
|
|
67
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
|
+
} | {
|
|
84
|
+
type: "message";
|
|
85
|
+
summary?: string | undefined;
|
|
86
|
+
channel?: string | undefined;
|
|
87
|
+
author?: string | undefined;
|
|
88
|
+
sentAt?: string | undefined;
|
|
89
|
+
} | {
|
|
90
|
+
type: "web_page";
|
|
91
|
+
summary?: string | undefined;
|
|
92
|
+
siteName?: string | undefined;
|
|
93
|
+
author?: string | undefined;
|
|
94
|
+
thumbnailUrl?: string | undefined;
|
|
95
|
+
} | {
|
|
96
|
+
type: "person";
|
|
97
|
+
summary?: string | undefined;
|
|
98
|
+
email?: string | undefined;
|
|
99
|
+
slackHandle?: string | undefined;
|
|
100
|
+
githubHandle?: string | undefined;
|
|
101
|
+
avatarUrl?: string | undefined;
|
|
68
102
|
} | undefined;
|
|
69
103
|
}[] | undefined;
|
|
70
104
|
reply?: {
|
|
@@ -98,7 +132,7 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
|
|
|
98
132
|
kind: "object";
|
|
99
133
|
key: string;
|
|
100
134
|
label: string;
|
|
101
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
135
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
102
136
|
title: string;
|
|
103
137
|
url: string | null;
|
|
104
138
|
description?: string | undefined;
|
|
@@ -109,6 +143,7 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
|
|
|
109
143
|
sourceUpdatedAt?: string | undefined;
|
|
110
144
|
facts?: {
|
|
111
145
|
type: "code_change";
|
|
146
|
+
summary?: string | undefined;
|
|
112
147
|
author?: string | undefined;
|
|
113
148
|
sourceBranch?: string | undefined;
|
|
114
149
|
targetBranch?: string | undefined;
|
|
@@ -123,8 +158,10 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
|
|
|
123
158
|
changedFiles?: number | undefined;
|
|
124
159
|
additions?: number | undefined;
|
|
125
160
|
deletions?: number | undefined;
|
|
161
|
+
previewImageUrls?: string[] | undefined;
|
|
126
162
|
} | {
|
|
127
163
|
type: "task";
|
|
164
|
+
summary?: string | undefined;
|
|
128
165
|
assignees?: string[] | undefined;
|
|
129
166
|
priority?: string | undefined;
|
|
130
167
|
project?: string | undefined;
|
|
@@ -133,14 +170,45 @@ export declare function createUpdateCalendarEventTool(ctx: GoogleToolContext): i
|
|
|
133
170
|
labels?: string[] | undefined;
|
|
134
171
|
} | {
|
|
135
172
|
type: "deployment";
|
|
173
|
+
summary?: string | undefined;
|
|
136
174
|
project?: string | undefined;
|
|
137
175
|
environment?: string | undefined;
|
|
138
176
|
revision?: string | undefined;
|
|
139
177
|
branch?: string | undefined;
|
|
140
178
|
} | {
|
|
141
179
|
type: "calendar_event";
|
|
180
|
+
summary?: string | undefined;
|
|
142
181
|
when?: string | undefined;
|
|
143
182
|
attendees?: string[] | undefined;
|
|
183
|
+
} | {
|
|
184
|
+
type: "conversation";
|
|
185
|
+
summary?: string | undefined;
|
|
186
|
+
participants?: string[] | undefined;
|
|
187
|
+
lastActivityAt?: string | undefined;
|
|
188
|
+
} | {
|
|
189
|
+
type: "document";
|
|
190
|
+
summary?: string | undefined;
|
|
191
|
+
owner?: string | undefined;
|
|
192
|
+
modifiedAt?: string | undefined;
|
|
193
|
+
} | {
|
|
194
|
+
type: "message";
|
|
195
|
+
summary?: string | undefined;
|
|
196
|
+
channel?: string | undefined;
|
|
197
|
+
author?: string | undefined;
|
|
198
|
+
sentAt?: string | undefined;
|
|
199
|
+
} | {
|
|
200
|
+
type: "web_page";
|
|
201
|
+
summary?: string | undefined;
|
|
202
|
+
siteName?: string | undefined;
|
|
203
|
+
author?: string | undefined;
|
|
204
|
+
thumbnailUrl?: string | undefined;
|
|
205
|
+
} | {
|
|
206
|
+
type: "person";
|
|
207
|
+
summary?: string | undefined;
|
|
208
|
+
email?: string | undefined;
|
|
209
|
+
slackHandle?: string | undefined;
|
|
210
|
+
githubHandle?: string | undefined;
|
|
211
|
+
avatarUrl?: string | undefined;
|
|
144
212
|
} | undefined;
|
|
145
213
|
}[] | undefined;
|
|
146
214
|
reply?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior-google",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.300.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -23,9 +23,10 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"commander": "^14.0.3",
|
|
26
|
-
"drizzle-orm": "^0.45.
|
|
27
|
-
"
|
|
28
|
-
"
|
|
26
|
+
"drizzle-orm": "^0.45.4",
|
|
27
|
+
"parse5": "^7.3.0",
|
|
28
|
+
"zod": "^4.6.7",
|
|
29
|
+
"@sentry/junior-plugin-api": "0.300.0"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@oxlint/plugins": "1.79.0",
|