@sentry/junior-google 0.297.0 → 0.299.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 +28 -5
- package/dist/config.d.ts +8 -1
- package/dist/credentials.d.ts +48 -0
- package/dist/index.js +1385 -488
- package/dist/tools/cancel-event.d.ts +34 -2
- package/dist/tools/create-doc.d.ts +176 -0
- package/dist/tools/create-event.d.ts +34 -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 +6 -0
- package/dist/tools/find-meeting-times.d.ts +34 -2
- package/dist/tools/insert-doc-content.d.ts +170 -0
- package/dist/tools/list-events.d.ts +34 -2
- package/dist/tools/list-file-comments.d.ts +34 -2
- package/dist/tools/read-doc.d.ts +39 -5
- package/dist/tools/read-meeting-transcript.d.ts +34 -2
- package/dist/tools/read-sheet.d.ts +34 -2
- package/dist/tools/read-slides.d.ts +34 -2
- package/dist/tools/replace-doc-content.d.ts +169 -0
- package/dist/tools/replace-doc-text.d.ts +173 -0
- package/dist/tools/search-files.d.ts +38 -3
- package/dist/tools/shared.d.ts +17 -1
- package/dist/tools/update-event.d.ts +34 -2
- package/package.json +2 -2
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import type { GoogleToolContext } from "./shared";
|
|
2
|
+
/** Add Markdown content to the start or end of a Google Doc. */
|
|
3
|
+
export declare function createInsertGoogleDocContentTool(ctx: GoogleToolContext): import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
|
+
document: string;
|
|
5
|
+
content: string;
|
|
6
|
+
revision_id: string;
|
|
7
|
+
position: "end" | "start";
|
|
8
|
+
}, {
|
|
9
|
+
[x: string]: unknown;
|
|
10
|
+
objectAnnotations?: {
|
|
11
|
+
kind: "object";
|
|
12
|
+
key: string;
|
|
13
|
+
label: string;
|
|
14
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
15
|
+
title: string;
|
|
16
|
+
url: string | null;
|
|
17
|
+
description?: string | undefined;
|
|
18
|
+
status?: string | undefined;
|
|
19
|
+
trigger?: string | undefined;
|
|
20
|
+
warning?: string | undefined;
|
|
21
|
+
displayType?: string | undefined;
|
|
22
|
+
sourceUpdatedAt?: string | undefined;
|
|
23
|
+
facts?: {
|
|
24
|
+
type: "code_change";
|
|
25
|
+
author?: string | undefined;
|
|
26
|
+
sourceBranch?: string | undefined;
|
|
27
|
+
targetBranch?: string | undefined;
|
|
28
|
+
reviewers?: string[] | undefined;
|
|
29
|
+
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
30
|
+
checks?: {
|
|
31
|
+
passed: number;
|
|
32
|
+
failed: number;
|
|
33
|
+
pending: number;
|
|
34
|
+
} | undefined;
|
|
35
|
+
mergeable?: boolean | undefined;
|
|
36
|
+
changedFiles?: number | undefined;
|
|
37
|
+
additions?: number | undefined;
|
|
38
|
+
deletions?: number | undefined;
|
|
39
|
+
previewImageUrls?: string[] | undefined;
|
|
40
|
+
} | {
|
|
41
|
+
type: "task";
|
|
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
|
+
} | {
|
|
49
|
+
type: "deployment";
|
|
50
|
+
project?: string | undefined;
|
|
51
|
+
environment?: string | undefined;
|
|
52
|
+
revision?: string | undefined;
|
|
53
|
+
branch?: string | undefined;
|
|
54
|
+
} | {
|
|
55
|
+
type: "calendar_event";
|
|
56
|
+
when?: string | undefined;
|
|
57
|
+
attendees?: string[] | undefined;
|
|
58
|
+
} | {
|
|
59
|
+
type: "conversation";
|
|
60
|
+
participants?: string[] | undefined;
|
|
61
|
+
lastActivityAt?: string | undefined;
|
|
62
|
+
} | {
|
|
63
|
+
type: "message";
|
|
64
|
+
channel?: string | undefined;
|
|
65
|
+
author?: string | undefined;
|
|
66
|
+
sentAt?: string | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
type: "person";
|
|
69
|
+
email?: string | undefined;
|
|
70
|
+
slackHandle?: string | undefined;
|
|
71
|
+
githubHandle?: string | undefined;
|
|
72
|
+
avatarUrl?: string | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
}[] | undefined;
|
|
75
|
+
reply?: {
|
|
76
|
+
text: string;
|
|
77
|
+
url?: string | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
truncated?: boolean | undefined;
|
|
80
|
+
continuation?: {
|
|
81
|
+
arguments: Record<string, unknown>;
|
|
82
|
+
reason?: string | undefined;
|
|
83
|
+
} | undefined;
|
|
84
|
+
document_id: string;
|
|
85
|
+
revision_id?: string | undefined;
|
|
86
|
+
title: string;
|
|
87
|
+
url: string;
|
|
88
|
+
target: "insertGoogleDocContent";
|
|
89
|
+
}, {
|
|
90
|
+
[x: string]: unknown;
|
|
91
|
+
objectAnnotations?: {
|
|
92
|
+
kind: "object";
|
|
93
|
+
key: string;
|
|
94
|
+
label: string;
|
|
95
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
96
|
+
title: string;
|
|
97
|
+
url: string | null;
|
|
98
|
+
description?: string | undefined;
|
|
99
|
+
status?: string | undefined;
|
|
100
|
+
trigger?: string | undefined;
|
|
101
|
+
warning?: string | undefined;
|
|
102
|
+
displayType?: string | undefined;
|
|
103
|
+
sourceUpdatedAt?: string | undefined;
|
|
104
|
+
facts?: {
|
|
105
|
+
type: "code_change";
|
|
106
|
+
author?: string | undefined;
|
|
107
|
+
sourceBranch?: string | undefined;
|
|
108
|
+
targetBranch?: string | undefined;
|
|
109
|
+
reviewers?: string[] | undefined;
|
|
110
|
+
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
111
|
+
checks?: {
|
|
112
|
+
passed: number;
|
|
113
|
+
failed: number;
|
|
114
|
+
pending: number;
|
|
115
|
+
} | undefined;
|
|
116
|
+
mergeable?: boolean | undefined;
|
|
117
|
+
changedFiles?: number | undefined;
|
|
118
|
+
additions?: number | undefined;
|
|
119
|
+
deletions?: number | undefined;
|
|
120
|
+
previewImageUrls?: string[] | undefined;
|
|
121
|
+
} | {
|
|
122
|
+
type: "task";
|
|
123
|
+
assignees?: string[] | undefined;
|
|
124
|
+
priority?: string | undefined;
|
|
125
|
+
project?: string | undefined;
|
|
126
|
+
cycle?: string | undefined;
|
|
127
|
+
dueDate?: string | undefined;
|
|
128
|
+
labels?: string[] | undefined;
|
|
129
|
+
} | {
|
|
130
|
+
type: "deployment";
|
|
131
|
+
project?: string | undefined;
|
|
132
|
+
environment?: string | undefined;
|
|
133
|
+
revision?: string | undefined;
|
|
134
|
+
branch?: string | undefined;
|
|
135
|
+
} | {
|
|
136
|
+
type: "calendar_event";
|
|
137
|
+
when?: string | undefined;
|
|
138
|
+
attendees?: string[] | undefined;
|
|
139
|
+
} | {
|
|
140
|
+
type: "conversation";
|
|
141
|
+
participants?: string[] | undefined;
|
|
142
|
+
lastActivityAt?: string | undefined;
|
|
143
|
+
} | {
|
|
144
|
+
type: "message";
|
|
145
|
+
channel?: string | undefined;
|
|
146
|
+
author?: string | undefined;
|
|
147
|
+
sentAt?: string | undefined;
|
|
148
|
+
} | {
|
|
149
|
+
type: "person";
|
|
150
|
+
email?: string | undefined;
|
|
151
|
+
slackHandle?: string | undefined;
|
|
152
|
+
githubHandle?: string | undefined;
|
|
153
|
+
avatarUrl?: string | undefined;
|
|
154
|
+
} | undefined;
|
|
155
|
+
}[] | undefined;
|
|
156
|
+
reply?: {
|
|
157
|
+
text: string;
|
|
158
|
+
url?: string | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
truncated?: boolean | undefined;
|
|
161
|
+
continuation?: {
|
|
162
|
+
arguments: Record<string, unknown>;
|
|
163
|
+
reason?: string | undefined;
|
|
164
|
+
} | undefined;
|
|
165
|
+
document_id: string;
|
|
166
|
+
revision_id?: string | undefined;
|
|
167
|
+
title: string;
|
|
168
|
+
url: string;
|
|
169
|
+
target: "insertGoogleDocContent";
|
|
170
|
+
}>;
|
|
@@ -18,7 +18,7 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
18
18
|
kind: "object";
|
|
19
19
|
key: string;
|
|
20
20
|
label: string;
|
|
21
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
21
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
22
22
|
title: string;
|
|
23
23
|
url: string | null;
|
|
24
24
|
description?: string | undefined;
|
|
@@ -43,6 +43,7 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
43
43
|
changedFiles?: number | undefined;
|
|
44
44
|
additions?: number | undefined;
|
|
45
45
|
deletions?: number | undefined;
|
|
46
|
+
previewImageUrls?: string[] | undefined;
|
|
46
47
|
} | {
|
|
47
48
|
type: "task";
|
|
48
49
|
assignees?: string[] | undefined;
|
|
@@ -61,6 +62,21 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
61
62
|
type: "calendar_event";
|
|
62
63
|
when?: string | undefined;
|
|
63
64
|
attendees?: string[] | undefined;
|
|
65
|
+
} | {
|
|
66
|
+
type: "conversation";
|
|
67
|
+
participants?: string[] | undefined;
|
|
68
|
+
lastActivityAt?: string | undefined;
|
|
69
|
+
} | {
|
|
70
|
+
type: "message";
|
|
71
|
+
channel?: string | undefined;
|
|
72
|
+
author?: string | undefined;
|
|
73
|
+
sentAt?: string | undefined;
|
|
74
|
+
} | {
|
|
75
|
+
type: "person";
|
|
76
|
+
email?: string | undefined;
|
|
77
|
+
slackHandle?: string | undefined;
|
|
78
|
+
githubHandle?: string | undefined;
|
|
79
|
+
avatarUrl?: string | undefined;
|
|
64
80
|
} | undefined;
|
|
65
81
|
}[] | undefined;
|
|
66
82
|
reply?: {
|
|
@@ -100,7 +116,7 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
100
116
|
kind: "object";
|
|
101
117
|
key: string;
|
|
102
118
|
label: string;
|
|
103
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
119
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
104
120
|
title: string;
|
|
105
121
|
url: string | null;
|
|
106
122
|
description?: string | undefined;
|
|
@@ -125,6 +141,7 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
125
141
|
changedFiles?: number | undefined;
|
|
126
142
|
additions?: number | undefined;
|
|
127
143
|
deletions?: number | undefined;
|
|
144
|
+
previewImageUrls?: string[] | undefined;
|
|
128
145
|
} | {
|
|
129
146
|
type: "task";
|
|
130
147
|
assignees?: string[] | undefined;
|
|
@@ -143,6 +160,21 @@ export declare function createListCalendarEventsTool(ctx: GoogleToolContext): im
|
|
|
143
160
|
type: "calendar_event";
|
|
144
161
|
when?: string | undefined;
|
|
145
162
|
attendees?: string[] | undefined;
|
|
163
|
+
} | {
|
|
164
|
+
type: "conversation";
|
|
165
|
+
participants?: string[] | undefined;
|
|
166
|
+
lastActivityAt?: string | undefined;
|
|
167
|
+
} | {
|
|
168
|
+
type: "message";
|
|
169
|
+
channel?: string | undefined;
|
|
170
|
+
author?: string | undefined;
|
|
171
|
+
sentAt?: string | undefined;
|
|
172
|
+
} | {
|
|
173
|
+
type: "person";
|
|
174
|
+
email?: string | undefined;
|
|
175
|
+
slackHandle?: string | undefined;
|
|
176
|
+
githubHandle?: string | undefined;
|
|
177
|
+
avatarUrl?: string | undefined;
|
|
146
178
|
} | undefined;
|
|
147
179
|
}[] | undefined;
|
|
148
180
|
reply?: {
|
|
@@ -9,7 +9,7 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
9
9
|
kind: "object";
|
|
10
10
|
key: string;
|
|
11
11
|
label: string;
|
|
12
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
12
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
13
13
|
title: string;
|
|
14
14
|
url: string | null;
|
|
15
15
|
description?: string | undefined;
|
|
@@ -34,6 +34,7 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
34
34
|
changedFiles?: number | undefined;
|
|
35
35
|
additions?: number | undefined;
|
|
36
36
|
deletions?: number | undefined;
|
|
37
|
+
previewImageUrls?: string[] | undefined;
|
|
37
38
|
} | {
|
|
38
39
|
type: "task";
|
|
39
40
|
assignees?: string[] | undefined;
|
|
@@ -52,6 +53,21 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
52
53
|
type: "calendar_event";
|
|
53
54
|
when?: string | undefined;
|
|
54
55
|
attendees?: string[] | undefined;
|
|
56
|
+
} | {
|
|
57
|
+
type: "conversation";
|
|
58
|
+
participants?: string[] | undefined;
|
|
59
|
+
lastActivityAt?: string | undefined;
|
|
60
|
+
} | {
|
|
61
|
+
type: "message";
|
|
62
|
+
channel?: string | undefined;
|
|
63
|
+
author?: string | undefined;
|
|
64
|
+
sentAt?: string | undefined;
|
|
65
|
+
} | {
|
|
66
|
+
type: "person";
|
|
67
|
+
email?: string | undefined;
|
|
68
|
+
slackHandle?: string | undefined;
|
|
69
|
+
githubHandle?: string | undefined;
|
|
70
|
+
avatarUrl?: string | undefined;
|
|
55
71
|
} | undefined;
|
|
56
72
|
}[] | undefined;
|
|
57
73
|
reply?: {
|
|
@@ -86,7 +102,7 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
86
102
|
kind: "object";
|
|
87
103
|
key: string;
|
|
88
104
|
label: string;
|
|
89
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
105
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
90
106
|
title: string;
|
|
91
107
|
url: string | null;
|
|
92
108
|
description?: string | undefined;
|
|
@@ -111,6 +127,7 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
111
127
|
changedFiles?: number | undefined;
|
|
112
128
|
additions?: number | undefined;
|
|
113
129
|
deletions?: number | undefined;
|
|
130
|
+
previewImageUrls?: string[] | undefined;
|
|
114
131
|
} | {
|
|
115
132
|
type: "task";
|
|
116
133
|
assignees?: string[] | undefined;
|
|
@@ -129,6 +146,21 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
129
146
|
type: "calendar_event";
|
|
130
147
|
when?: string | undefined;
|
|
131
148
|
attendees?: string[] | undefined;
|
|
149
|
+
} | {
|
|
150
|
+
type: "conversation";
|
|
151
|
+
participants?: string[] | undefined;
|
|
152
|
+
lastActivityAt?: string | undefined;
|
|
153
|
+
} | {
|
|
154
|
+
type: "message";
|
|
155
|
+
channel?: string | undefined;
|
|
156
|
+
author?: string | undefined;
|
|
157
|
+
sentAt?: string | undefined;
|
|
158
|
+
} | {
|
|
159
|
+
type: "person";
|
|
160
|
+
email?: string | undefined;
|
|
161
|
+
slackHandle?: string | undefined;
|
|
162
|
+
githubHandle?: string | undefined;
|
|
163
|
+
avatarUrl?: string | undefined;
|
|
132
164
|
} | undefined;
|
|
133
165
|
}[] | undefined;
|
|
134
166
|
reply?: {
|
package/dist/tools/read-doc.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type GoogleToolContext } from "./shared";
|
|
2
2
|
/**
|
|
3
3
|
* Read one Google Doc as Markdown.
|
|
4
4
|
*
|
|
5
|
-
* Drive exports the
|
|
6
|
-
* export; `listGoogleFileComments` reads them.
|
|
5
|
+
* Drive exports the text. The Docs API gives the revision that the edit tools
|
|
6
|
+
* check. Comments are not in the export; `listGoogleFileComments` reads them.
|
|
7
7
|
*/
|
|
8
8
|
export declare function createReadGoogleDocTool(ctx: GoogleToolContext): import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
9
9
|
document: string;
|
|
@@ -13,7 +13,7 @@ export declare function createReadGoogleDocTool(ctx: GoogleToolContext): import(
|
|
|
13
13
|
kind: "object";
|
|
14
14
|
key: string;
|
|
15
15
|
label: string;
|
|
16
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
16
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
17
17
|
title: string;
|
|
18
18
|
url: string | null;
|
|
19
19
|
description?: string | undefined;
|
|
@@ -38,6 +38,7 @@ export declare function createReadGoogleDocTool(ctx: GoogleToolContext): import(
|
|
|
38
38
|
changedFiles?: number | undefined;
|
|
39
39
|
additions?: number | undefined;
|
|
40
40
|
deletions?: number | undefined;
|
|
41
|
+
previewImageUrls?: string[] | undefined;
|
|
41
42
|
} | {
|
|
42
43
|
type: "task";
|
|
43
44
|
assignees?: string[] | undefined;
|
|
@@ -56,6 +57,21 @@ export declare function createReadGoogleDocTool(ctx: GoogleToolContext): import(
|
|
|
56
57
|
type: "calendar_event";
|
|
57
58
|
when?: string | undefined;
|
|
58
59
|
attendees?: string[] | undefined;
|
|
60
|
+
} | {
|
|
61
|
+
type: "conversation";
|
|
62
|
+
participants?: string[] | undefined;
|
|
63
|
+
lastActivityAt?: string | undefined;
|
|
64
|
+
} | {
|
|
65
|
+
type: "message";
|
|
66
|
+
channel?: string | undefined;
|
|
67
|
+
author?: string | undefined;
|
|
68
|
+
sentAt?: string | undefined;
|
|
69
|
+
} | {
|
|
70
|
+
type: "person";
|
|
71
|
+
email?: string | undefined;
|
|
72
|
+
slackHandle?: string | undefined;
|
|
73
|
+
githubHandle?: string | undefined;
|
|
74
|
+
avatarUrl?: string | undefined;
|
|
59
75
|
} | undefined;
|
|
60
76
|
}[] | undefined;
|
|
61
77
|
reply?: {
|
|
@@ -69,6 +85,7 @@ export declare function createReadGoogleDocTool(ctx: GoogleToolContext): import(
|
|
|
69
85
|
target: "readGoogleDoc";
|
|
70
86
|
content: string;
|
|
71
87
|
document_id: string;
|
|
88
|
+
revision_id?: string | undefined;
|
|
72
89
|
modified_at?: string | undefined;
|
|
73
90
|
title: string;
|
|
74
91
|
truncated: boolean;
|
|
@@ -79,7 +96,7 @@ export declare function createReadGoogleDocTool(ctx: GoogleToolContext): import(
|
|
|
79
96
|
kind: "object";
|
|
80
97
|
key: string;
|
|
81
98
|
label: string;
|
|
82
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
99
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
83
100
|
title: string;
|
|
84
101
|
url: string | null;
|
|
85
102
|
description?: string | undefined;
|
|
@@ -104,6 +121,7 @@ export declare function createReadGoogleDocTool(ctx: GoogleToolContext): import(
|
|
|
104
121
|
changedFiles?: number | undefined;
|
|
105
122
|
additions?: number | undefined;
|
|
106
123
|
deletions?: number | undefined;
|
|
124
|
+
previewImageUrls?: string[] | undefined;
|
|
107
125
|
} | {
|
|
108
126
|
type: "task";
|
|
109
127
|
assignees?: string[] | undefined;
|
|
@@ -122,6 +140,21 @@ export declare function createReadGoogleDocTool(ctx: GoogleToolContext): import(
|
|
|
122
140
|
type: "calendar_event";
|
|
123
141
|
when?: string | undefined;
|
|
124
142
|
attendees?: string[] | undefined;
|
|
143
|
+
} | {
|
|
144
|
+
type: "conversation";
|
|
145
|
+
participants?: string[] | undefined;
|
|
146
|
+
lastActivityAt?: string | undefined;
|
|
147
|
+
} | {
|
|
148
|
+
type: "message";
|
|
149
|
+
channel?: string | undefined;
|
|
150
|
+
author?: string | undefined;
|
|
151
|
+
sentAt?: string | undefined;
|
|
152
|
+
} | {
|
|
153
|
+
type: "person";
|
|
154
|
+
email?: string | undefined;
|
|
155
|
+
slackHandle?: string | undefined;
|
|
156
|
+
githubHandle?: string | undefined;
|
|
157
|
+
avatarUrl?: string | undefined;
|
|
125
158
|
} | undefined;
|
|
126
159
|
}[] | undefined;
|
|
127
160
|
reply?: {
|
|
@@ -135,6 +168,7 @@ export declare function createReadGoogleDocTool(ctx: GoogleToolContext): import(
|
|
|
135
168
|
target: "readGoogleDoc";
|
|
136
169
|
content: string;
|
|
137
170
|
document_id: string;
|
|
171
|
+
revision_id?: string | undefined;
|
|
138
172
|
modified_at?: string | undefined;
|
|
139
173
|
title: string;
|
|
140
174
|
truncated: boolean;
|
|
@@ -15,7 +15,7 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
15
15
|
kind: "object";
|
|
16
16
|
key: string;
|
|
17
17
|
label: string;
|
|
18
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
18
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
19
19
|
title: string;
|
|
20
20
|
url: string | null;
|
|
21
21
|
description?: string | undefined;
|
|
@@ -40,6 +40,7 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
40
40
|
changedFiles?: number | undefined;
|
|
41
41
|
additions?: number | undefined;
|
|
42
42
|
deletions?: number | undefined;
|
|
43
|
+
previewImageUrls?: string[] | undefined;
|
|
43
44
|
} | {
|
|
44
45
|
type: "task";
|
|
45
46
|
assignees?: string[] | undefined;
|
|
@@ -58,6 +59,21 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
58
59
|
type: "calendar_event";
|
|
59
60
|
when?: string | undefined;
|
|
60
61
|
attendees?: string[] | undefined;
|
|
62
|
+
} | {
|
|
63
|
+
type: "conversation";
|
|
64
|
+
participants?: string[] | undefined;
|
|
65
|
+
lastActivityAt?: string | undefined;
|
|
66
|
+
} | {
|
|
67
|
+
type: "message";
|
|
68
|
+
channel?: string | undefined;
|
|
69
|
+
author?: string | undefined;
|
|
70
|
+
sentAt?: string | undefined;
|
|
71
|
+
} | {
|
|
72
|
+
type: "person";
|
|
73
|
+
email?: string | undefined;
|
|
74
|
+
slackHandle?: string | undefined;
|
|
75
|
+
githubHandle?: string | undefined;
|
|
76
|
+
avatarUrl?: string | undefined;
|
|
61
77
|
} | undefined;
|
|
62
78
|
}[] | undefined;
|
|
63
79
|
reply?: {
|
|
@@ -87,7 +103,7 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
87
103
|
kind: "object";
|
|
88
104
|
key: string;
|
|
89
105
|
label: string;
|
|
90
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
106
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
91
107
|
title: string;
|
|
92
108
|
url: string | null;
|
|
93
109
|
description?: string | undefined;
|
|
@@ -112,6 +128,7 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
112
128
|
changedFiles?: number | undefined;
|
|
113
129
|
additions?: number | undefined;
|
|
114
130
|
deletions?: number | undefined;
|
|
131
|
+
previewImageUrls?: string[] | undefined;
|
|
115
132
|
} | {
|
|
116
133
|
type: "task";
|
|
117
134
|
assignees?: string[] | undefined;
|
|
@@ -130,6 +147,21 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
130
147
|
type: "calendar_event";
|
|
131
148
|
when?: string | undefined;
|
|
132
149
|
attendees?: string[] | undefined;
|
|
150
|
+
} | {
|
|
151
|
+
type: "conversation";
|
|
152
|
+
participants?: string[] | undefined;
|
|
153
|
+
lastActivityAt?: string | undefined;
|
|
154
|
+
} | {
|
|
155
|
+
type: "message";
|
|
156
|
+
channel?: string | undefined;
|
|
157
|
+
author?: string | undefined;
|
|
158
|
+
sentAt?: string | undefined;
|
|
159
|
+
} | {
|
|
160
|
+
type: "person";
|
|
161
|
+
email?: string | undefined;
|
|
162
|
+
slackHandle?: string | undefined;
|
|
163
|
+
githubHandle?: string | undefined;
|
|
164
|
+
avatarUrl?: string | undefined;
|
|
133
165
|
} | undefined;
|
|
134
166
|
}[] | undefined;
|
|
135
167
|
reply?: {
|
|
@@ -14,7 +14,7 @@ export declare function createReadGoogleSheetTool(ctx: GoogleToolContext): impor
|
|
|
14
14
|
kind: "object";
|
|
15
15
|
key: string;
|
|
16
16
|
label: string;
|
|
17
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
17
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
18
18
|
title: string;
|
|
19
19
|
url: string | null;
|
|
20
20
|
description?: string | undefined;
|
|
@@ -39,6 +39,7 @@ export declare function createReadGoogleSheetTool(ctx: GoogleToolContext): impor
|
|
|
39
39
|
changedFiles?: number | undefined;
|
|
40
40
|
additions?: number | undefined;
|
|
41
41
|
deletions?: number | undefined;
|
|
42
|
+
previewImageUrls?: string[] | undefined;
|
|
42
43
|
} | {
|
|
43
44
|
type: "task";
|
|
44
45
|
assignees?: string[] | undefined;
|
|
@@ -57,6 +58,21 @@ export declare function createReadGoogleSheetTool(ctx: GoogleToolContext): impor
|
|
|
57
58
|
type: "calendar_event";
|
|
58
59
|
when?: string | undefined;
|
|
59
60
|
attendees?: string[] | undefined;
|
|
61
|
+
} | {
|
|
62
|
+
type: "conversation";
|
|
63
|
+
participants?: string[] | undefined;
|
|
64
|
+
lastActivityAt?: string | undefined;
|
|
65
|
+
} | {
|
|
66
|
+
type: "message";
|
|
67
|
+
channel?: string | undefined;
|
|
68
|
+
author?: string | undefined;
|
|
69
|
+
sentAt?: string | undefined;
|
|
70
|
+
} | {
|
|
71
|
+
type: "person";
|
|
72
|
+
email?: string | undefined;
|
|
73
|
+
slackHandle?: string | undefined;
|
|
74
|
+
githubHandle?: string | undefined;
|
|
75
|
+
avatarUrl?: string | undefined;
|
|
60
76
|
} | undefined;
|
|
61
77
|
}[] | undefined;
|
|
62
78
|
reply?: {
|
|
@@ -85,7 +101,7 @@ export declare function createReadGoogleSheetTool(ctx: GoogleToolContext): impor
|
|
|
85
101
|
kind: "object";
|
|
86
102
|
key: string;
|
|
87
103
|
label: string;
|
|
88
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
104
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
89
105
|
title: string;
|
|
90
106
|
url: string | null;
|
|
91
107
|
description?: string | undefined;
|
|
@@ -110,6 +126,7 @@ export declare function createReadGoogleSheetTool(ctx: GoogleToolContext): impor
|
|
|
110
126
|
changedFiles?: number | undefined;
|
|
111
127
|
additions?: number | undefined;
|
|
112
128
|
deletions?: number | undefined;
|
|
129
|
+
previewImageUrls?: string[] | undefined;
|
|
113
130
|
} | {
|
|
114
131
|
type: "task";
|
|
115
132
|
assignees?: string[] | undefined;
|
|
@@ -128,6 +145,21 @@ export declare function createReadGoogleSheetTool(ctx: GoogleToolContext): impor
|
|
|
128
145
|
type: "calendar_event";
|
|
129
146
|
when?: string | undefined;
|
|
130
147
|
attendees?: string[] | undefined;
|
|
148
|
+
} | {
|
|
149
|
+
type: "conversation";
|
|
150
|
+
participants?: string[] | undefined;
|
|
151
|
+
lastActivityAt?: string | undefined;
|
|
152
|
+
} | {
|
|
153
|
+
type: "message";
|
|
154
|
+
channel?: string | undefined;
|
|
155
|
+
author?: string | undefined;
|
|
156
|
+
sentAt?: string | undefined;
|
|
157
|
+
} | {
|
|
158
|
+
type: "person";
|
|
159
|
+
email?: string | undefined;
|
|
160
|
+
slackHandle?: string | undefined;
|
|
161
|
+
githubHandle?: string | undefined;
|
|
162
|
+
avatarUrl?: string | undefined;
|
|
131
163
|
} | undefined;
|
|
132
164
|
}[] | undefined;
|
|
133
165
|
reply?: {
|
|
@@ -13,7 +13,7 @@ export declare function createReadGoogleSlidesTool(ctx: GoogleToolContext): impo
|
|
|
13
13
|
kind: "object";
|
|
14
14
|
key: string;
|
|
15
15
|
label: string;
|
|
16
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
16
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
17
17
|
title: string;
|
|
18
18
|
url: string | null;
|
|
19
19
|
description?: string | undefined;
|
|
@@ -38,6 +38,7 @@ export declare function createReadGoogleSlidesTool(ctx: GoogleToolContext): impo
|
|
|
38
38
|
changedFiles?: number | undefined;
|
|
39
39
|
additions?: number | undefined;
|
|
40
40
|
deletions?: number | undefined;
|
|
41
|
+
previewImageUrls?: string[] | undefined;
|
|
41
42
|
} | {
|
|
42
43
|
type: "task";
|
|
43
44
|
assignees?: string[] | undefined;
|
|
@@ -56,6 +57,21 @@ export declare function createReadGoogleSlidesTool(ctx: GoogleToolContext): impo
|
|
|
56
57
|
type: "calendar_event";
|
|
57
58
|
when?: string | undefined;
|
|
58
59
|
attendees?: string[] | undefined;
|
|
60
|
+
} | {
|
|
61
|
+
type: "conversation";
|
|
62
|
+
participants?: string[] | undefined;
|
|
63
|
+
lastActivityAt?: string | undefined;
|
|
64
|
+
} | {
|
|
65
|
+
type: "message";
|
|
66
|
+
channel?: string | undefined;
|
|
67
|
+
author?: string | undefined;
|
|
68
|
+
sentAt?: string | undefined;
|
|
69
|
+
} | {
|
|
70
|
+
type: "person";
|
|
71
|
+
email?: string | undefined;
|
|
72
|
+
slackHandle?: string | undefined;
|
|
73
|
+
githubHandle?: string | undefined;
|
|
74
|
+
avatarUrl?: string | undefined;
|
|
59
75
|
} | undefined;
|
|
60
76
|
}[] | undefined;
|
|
61
77
|
reply?: {
|
|
@@ -84,7 +100,7 @@ export declare function createReadGoogleSlidesTool(ctx: GoogleToolContext): impo
|
|
|
84
100
|
kind: "object";
|
|
85
101
|
key: string;
|
|
86
102
|
label: string;
|
|
87
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
103
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
88
104
|
title: string;
|
|
89
105
|
url: string | null;
|
|
90
106
|
description?: string | undefined;
|
|
@@ -109,6 +125,7 @@ export declare function createReadGoogleSlidesTool(ctx: GoogleToolContext): impo
|
|
|
109
125
|
changedFiles?: number | undefined;
|
|
110
126
|
additions?: number | undefined;
|
|
111
127
|
deletions?: number | undefined;
|
|
128
|
+
previewImageUrls?: string[] | undefined;
|
|
112
129
|
} | {
|
|
113
130
|
type: "task";
|
|
114
131
|
assignees?: string[] | undefined;
|
|
@@ -127,6 +144,21 @@ export declare function createReadGoogleSlidesTool(ctx: GoogleToolContext): impo
|
|
|
127
144
|
type: "calendar_event";
|
|
128
145
|
when?: string | undefined;
|
|
129
146
|
attendees?: string[] | undefined;
|
|
147
|
+
} | {
|
|
148
|
+
type: "conversation";
|
|
149
|
+
participants?: string[] | undefined;
|
|
150
|
+
lastActivityAt?: string | undefined;
|
|
151
|
+
} | {
|
|
152
|
+
type: "message";
|
|
153
|
+
channel?: string | undefined;
|
|
154
|
+
author?: string | undefined;
|
|
155
|
+
sentAt?: string | undefined;
|
|
156
|
+
} | {
|
|
157
|
+
type: "person";
|
|
158
|
+
email?: string | undefined;
|
|
159
|
+
slackHandle?: string | undefined;
|
|
160
|
+
githubHandle?: string | undefined;
|
|
161
|
+
avatarUrl?: string | undefined;
|
|
130
162
|
} | undefined;
|
|
131
163
|
}[] | undefined;
|
|
132
164
|
reply?: {
|