@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
|
@@ -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" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
13
13
|
title: string;
|
|
14
14
|
url: string | null;
|
|
15
15
|
description?: string | undefined;
|
|
@@ -20,6 +20,7 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
20
20
|
sourceUpdatedAt?: string | undefined;
|
|
21
21
|
facts?: {
|
|
22
22
|
type: "code_change";
|
|
23
|
+
summary?: string | undefined;
|
|
23
24
|
author?: string | undefined;
|
|
24
25
|
sourceBranch?: string | undefined;
|
|
25
26
|
targetBranch?: string | undefined;
|
|
@@ -34,8 +35,10 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
34
35
|
changedFiles?: number | undefined;
|
|
35
36
|
additions?: number | undefined;
|
|
36
37
|
deletions?: number | undefined;
|
|
38
|
+
previewImageUrls?: string[] | undefined;
|
|
37
39
|
} | {
|
|
38
40
|
type: "task";
|
|
41
|
+
summary?: string | undefined;
|
|
39
42
|
assignees?: string[] | undefined;
|
|
40
43
|
priority?: string | undefined;
|
|
41
44
|
project?: string | undefined;
|
|
@@ -44,14 +47,45 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
44
47
|
labels?: string[] | undefined;
|
|
45
48
|
} | {
|
|
46
49
|
type: "deployment";
|
|
50
|
+
summary?: string | undefined;
|
|
47
51
|
project?: string | undefined;
|
|
48
52
|
environment?: string | undefined;
|
|
49
53
|
revision?: string | undefined;
|
|
50
54
|
branch?: string | undefined;
|
|
51
55
|
} | {
|
|
52
56
|
type: "calendar_event";
|
|
57
|
+
summary?: string | undefined;
|
|
53
58
|
when?: string | undefined;
|
|
54
59
|
attendees?: string[] | undefined;
|
|
60
|
+
} | {
|
|
61
|
+
type: "conversation";
|
|
62
|
+
summary?: string | undefined;
|
|
63
|
+
participants?: string[] | undefined;
|
|
64
|
+
lastActivityAt?: string | undefined;
|
|
65
|
+
} | {
|
|
66
|
+
type: "document";
|
|
67
|
+
summary?: string | undefined;
|
|
68
|
+
owner?: string | undefined;
|
|
69
|
+
modifiedAt?: string | undefined;
|
|
70
|
+
} | {
|
|
71
|
+
type: "message";
|
|
72
|
+
summary?: string | undefined;
|
|
73
|
+
channel?: string | undefined;
|
|
74
|
+
author?: string | undefined;
|
|
75
|
+
sentAt?: string | undefined;
|
|
76
|
+
} | {
|
|
77
|
+
type: "web_page";
|
|
78
|
+
summary?: string | undefined;
|
|
79
|
+
siteName?: string | undefined;
|
|
80
|
+
author?: string | undefined;
|
|
81
|
+
thumbnailUrl?: string | undefined;
|
|
82
|
+
} | {
|
|
83
|
+
type: "person";
|
|
84
|
+
summary?: string | undefined;
|
|
85
|
+
email?: string | undefined;
|
|
86
|
+
slackHandle?: string | undefined;
|
|
87
|
+
githubHandle?: string | undefined;
|
|
88
|
+
avatarUrl?: string | undefined;
|
|
55
89
|
} | undefined;
|
|
56
90
|
}[] | undefined;
|
|
57
91
|
reply?: {
|
|
@@ -86,7 +120,7 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
86
120
|
kind: "object";
|
|
87
121
|
key: string;
|
|
88
122
|
label: string;
|
|
89
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
123
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
90
124
|
title: string;
|
|
91
125
|
url: string | null;
|
|
92
126
|
description?: string | undefined;
|
|
@@ -97,6 +131,7 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
97
131
|
sourceUpdatedAt?: string | undefined;
|
|
98
132
|
facts?: {
|
|
99
133
|
type: "code_change";
|
|
134
|
+
summary?: string | undefined;
|
|
100
135
|
author?: string | undefined;
|
|
101
136
|
sourceBranch?: string | undefined;
|
|
102
137
|
targetBranch?: string | undefined;
|
|
@@ -111,8 +146,10 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
111
146
|
changedFiles?: number | undefined;
|
|
112
147
|
additions?: number | undefined;
|
|
113
148
|
deletions?: number | undefined;
|
|
149
|
+
previewImageUrls?: string[] | undefined;
|
|
114
150
|
} | {
|
|
115
151
|
type: "task";
|
|
152
|
+
summary?: string | undefined;
|
|
116
153
|
assignees?: string[] | undefined;
|
|
117
154
|
priority?: string | undefined;
|
|
118
155
|
project?: string | undefined;
|
|
@@ -121,14 +158,45 @@ export declare function createListGoogleFileCommentsTool(ctx: GoogleToolContext)
|
|
|
121
158
|
labels?: string[] | undefined;
|
|
122
159
|
} | {
|
|
123
160
|
type: "deployment";
|
|
161
|
+
summary?: string | undefined;
|
|
124
162
|
project?: string | undefined;
|
|
125
163
|
environment?: string | undefined;
|
|
126
164
|
revision?: string | undefined;
|
|
127
165
|
branch?: string | undefined;
|
|
128
166
|
} | {
|
|
129
167
|
type: "calendar_event";
|
|
168
|
+
summary?: string | undefined;
|
|
130
169
|
when?: string | undefined;
|
|
131
170
|
attendees?: string[] | undefined;
|
|
171
|
+
} | {
|
|
172
|
+
type: "conversation";
|
|
173
|
+
summary?: string | undefined;
|
|
174
|
+
participants?: string[] | undefined;
|
|
175
|
+
lastActivityAt?: string | undefined;
|
|
176
|
+
} | {
|
|
177
|
+
type: "document";
|
|
178
|
+
summary?: string | undefined;
|
|
179
|
+
owner?: string | undefined;
|
|
180
|
+
modifiedAt?: string | undefined;
|
|
181
|
+
} | {
|
|
182
|
+
type: "message";
|
|
183
|
+
summary?: string | undefined;
|
|
184
|
+
channel?: string | undefined;
|
|
185
|
+
author?: string | undefined;
|
|
186
|
+
sentAt?: string | undefined;
|
|
187
|
+
} | {
|
|
188
|
+
type: "web_page";
|
|
189
|
+
summary?: string | undefined;
|
|
190
|
+
siteName?: string | undefined;
|
|
191
|
+
author?: string | undefined;
|
|
192
|
+
thumbnailUrl?: string | undefined;
|
|
193
|
+
} | {
|
|
194
|
+
type: "person";
|
|
195
|
+
summary?: string | undefined;
|
|
196
|
+
email?: string | undefined;
|
|
197
|
+
slackHandle?: string | undefined;
|
|
198
|
+
githubHandle?: string | undefined;
|
|
199
|
+
avatarUrl?: string | undefined;
|
|
132
200
|
} | undefined;
|
|
133
201
|
}[] | undefined;
|
|
134
202
|
reply?: {
|
package/dist/tools/read-doc.d.ts
CHANGED
|
@@ -1,142 +1,19 @@
|
|
|
1
|
-
import
|
|
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
|
+
};
|
|
2
9
|
/**
|
|
3
10
|
* Read one Google Doc as Markdown.
|
|
4
11
|
*
|
|
5
|
-
* Drive exports the
|
|
6
|
-
* export; `listGoogleFileComments` reads them.
|
|
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.
|
|
7
14
|
*/
|
|
8
|
-
export declare function
|
|
9
|
-
document: string;
|
|
10
|
-
}, {
|
|
11
|
-
[x: string]: unknown;
|
|
12
|
-
objectAnnotations?: {
|
|
13
|
-
kind: "object";
|
|
14
|
-
key: string;
|
|
15
|
-
label: string;
|
|
16
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
17
|
-
title: string;
|
|
18
|
-
url: string | null;
|
|
19
|
-
description?: string | undefined;
|
|
20
|
-
status?: string | undefined;
|
|
21
|
-
trigger?: string | undefined;
|
|
22
|
-
warning?: string | undefined;
|
|
23
|
-
displayType?: string | undefined;
|
|
24
|
-
sourceUpdatedAt?: string | undefined;
|
|
25
|
-
facts?: {
|
|
26
|
-
type: "code_change";
|
|
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
|
-
} | {
|
|
42
|
-
type: "task";
|
|
43
|
-
assignees?: string[] | undefined;
|
|
44
|
-
priority?: string | undefined;
|
|
45
|
-
project?: string | undefined;
|
|
46
|
-
cycle?: string | undefined;
|
|
47
|
-
dueDate?: string | undefined;
|
|
48
|
-
labels?: string[] | undefined;
|
|
49
|
-
} | {
|
|
50
|
-
type: "deployment";
|
|
51
|
-
project?: string | undefined;
|
|
52
|
-
environment?: string | undefined;
|
|
53
|
-
revision?: string | undefined;
|
|
54
|
-
branch?: string | undefined;
|
|
55
|
-
} | {
|
|
56
|
-
type: "calendar_event";
|
|
57
|
-
when?: string | undefined;
|
|
58
|
-
attendees?: string[] | undefined;
|
|
59
|
-
} | undefined;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
reply?: {
|
|
62
|
-
text: string;
|
|
63
|
-
url?: string | undefined;
|
|
64
|
-
} | undefined;
|
|
65
|
-
continuation?: {
|
|
66
|
-
arguments: Record<string, unknown>;
|
|
67
|
-
reason?: string | undefined;
|
|
68
|
-
} | undefined;
|
|
69
|
-
target: "readGoogleDoc";
|
|
15
|
+
export declare function readDocContent(ctx: GoogleToolContext, ref: FileReference): Promise<{
|
|
70
16
|
content: string;
|
|
71
|
-
|
|
72
|
-
modified_at?: string | undefined;
|
|
73
|
-
title: string;
|
|
17
|
+
revision_id?: string | undefined;
|
|
74
18
|
truncated: boolean;
|
|
75
|
-
url?: string | undefined;
|
|
76
|
-
}, {
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
objectAnnotations?: {
|
|
79
|
-
kind: "object";
|
|
80
|
-
key: string;
|
|
81
|
-
label: string;
|
|
82
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
83
|
-
title: string;
|
|
84
|
-
url: string | null;
|
|
85
|
-
description?: string | undefined;
|
|
86
|
-
status?: string | undefined;
|
|
87
|
-
trigger?: string | undefined;
|
|
88
|
-
warning?: string | undefined;
|
|
89
|
-
displayType?: string | undefined;
|
|
90
|
-
sourceUpdatedAt?: string | undefined;
|
|
91
|
-
facts?: {
|
|
92
|
-
type: "code_change";
|
|
93
|
-
author?: string | undefined;
|
|
94
|
-
sourceBranch?: string | undefined;
|
|
95
|
-
targetBranch?: string | undefined;
|
|
96
|
-
reviewers?: string[] | undefined;
|
|
97
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
98
|
-
checks?: {
|
|
99
|
-
passed: number;
|
|
100
|
-
failed: number;
|
|
101
|
-
pending: number;
|
|
102
|
-
} | undefined;
|
|
103
|
-
mergeable?: boolean | undefined;
|
|
104
|
-
changedFiles?: number | undefined;
|
|
105
|
-
additions?: number | undefined;
|
|
106
|
-
deletions?: number | undefined;
|
|
107
|
-
} | {
|
|
108
|
-
type: "task";
|
|
109
|
-
assignees?: string[] | undefined;
|
|
110
|
-
priority?: string | undefined;
|
|
111
|
-
project?: string | undefined;
|
|
112
|
-
cycle?: string | undefined;
|
|
113
|
-
dueDate?: string | undefined;
|
|
114
|
-
labels?: string[] | undefined;
|
|
115
|
-
} | {
|
|
116
|
-
type: "deployment";
|
|
117
|
-
project?: string | undefined;
|
|
118
|
-
environment?: string | undefined;
|
|
119
|
-
revision?: string | undefined;
|
|
120
|
-
branch?: string | undefined;
|
|
121
|
-
} | {
|
|
122
|
-
type: "calendar_event";
|
|
123
|
-
when?: string | undefined;
|
|
124
|
-
attendees?: string[] | undefined;
|
|
125
|
-
} | undefined;
|
|
126
|
-
}[] | undefined;
|
|
127
|
-
reply?: {
|
|
128
|
-
text: string;
|
|
129
|
-
url?: string | undefined;
|
|
130
|
-
} | undefined;
|
|
131
|
-
continuation?: {
|
|
132
|
-
arguments: Record<string, unknown>;
|
|
133
|
-
reason?: string | undefined;
|
|
134
|
-
} | undefined;
|
|
135
|
-
target: "readGoogleDoc";
|
|
136
|
-
content: string;
|
|
137
|
-
document_id: string;
|
|
138
|
-
modified_at?: string | undefined;
|
|
139
|
-
title: string;
|
|
140
|
-
truncated: boolean;
|
|
141
|
-
url?: string | undefined;
|
|
142
19
|
}>;
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import type { GoogleToolContext } from "./shared";
|
|
2
|
+
/**
|
|
3
|
+
* Read one Google Doc, Sheet, or Slides file, whichever the link or file id
|
|
4
|
+
* names.
|
|
5
|
+
*
|
|
6
|
+
* A Docs, Sheets, or Slides link names its type in the path, and the file
|
|
7
|
+
* must have that type. A bare file id, or a Drive link, takes the type from
|
|
8
|
+
* the file's Drive MIME type.
|
|
9
|
+
*/
|
|
10
|
+
export declare function createReadGoogleFileTool(ctx: GoogleToolContext): import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
11
|
+
file: string;
|
|
12
|
+
range?: string | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
[x: string]: unknown;
|
|
15
|
+
objectAnnotations?: {
|
|
16
|
+
kind: "object";
|
|
17
|
+
key: string;
|
|
18
|
+
label: string;
|
|
19
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
20
|
+
title: string;
|
|
21
|
+
url: string | null;
|
|
22
|
+
description?: string | undefined;
|
|
23
|
+
status?: string | undefined;
|
|
24
|
+
trigger?: string | undefined;
|
|
25
|
+
warning?: string | undefined;
|
|
26
|
+
displayType?: string | undefined;
|
|
27
|
+
sourceUpdatedAt?: string | undefined;
|
|
28
|
+
facts?: {
|
|
29
|
+
type: "code_change";
|
|
30
|
+
summary?: string | undefined;
|
|
31
|
+
author?: string | undefined;
|
|
32
|
+
sourceBranch?: string | undefined;
|
|
33
|
+
targetBranch?: string | undefined;
|
|
34
|
+
reviewers?: string[] | undefined;
|
|
35
|
+
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
36
|
+
checks?: {
|
|
37
|
+
passed: number;
|
|
38
|
+
failed: number;
|
|
39
|
+
pending: number;
|
|
40
|
+
} | undefined;
|
|
41
|
+
mergeable?: boolean | undefined;
|
|
42
|
+
changedFiles?: number | undefined;
|
|
43
|
+
additions?: number | undefined;
|
|
44
|
+
deletions?: number | undefined;
|
|
45
|
+
previewImageUrls?: string[] | undefined;
|
|
46
|
+
} | {
|
|
47
|
+
type: "task";
|
|
48
|
+
summary?: string | undefined;
|
|
49
|
+
assignees?: string[] | undefined;
|
|
50
|
+
priority?: string | undefined;
|
|
51
|
+
project?: string | undefined;
|
|
52
|
+
cycle?: string | undefined;
|
|
53
|
+
dueDate?: string | undefined;
|
|
54
|
+
labels?: string[] | undefined;
|
|
55
|
+
} | {
|
|
56
|
+
type: "deployment";
|
|
57
|
+
summary?: string | undefined;
|
|
58
|
+
project?: string | undefined;
|
|
59
|
+
environment?: string | undefined;
|
|
60
|
+
revision?: string | undefined;
|
|
61
|
+
branch?: string | undefined;
|
|
62
|
+
} | {
|
|
63
|
+
type: "calendar_event";
|
|
64
|
+
summary?: string | undefined;
|
|
65
|
+
when?: string | undefined;
|
|
66
|
+
attendees?: string[] | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
type: "conversation";
|
|
69
|
+
summary?: string | undefined;
|
|
70
|
+
participants?: string[] | undefined;
|
|
71
|
+
lastActivityAt?: string | undefined;
|
|
72
|
+
} | {
|
|
73
|
+
type: "document";
|
|
74
|
+
summary?: string | undefined;
|
|
75
|
+
owner?: string | undefined;
|
|
76
|
+
modifiedAt?: string | undefined;
|
|
77
|
+
} | {
|
|
78
|
+
type: "message";
|
|
79
|
+
summary?: string | undefined;
|
|
80
|
+
channel?: string | undefined;
|
|
81
|
+
author?: string | undefined;
|
|
82
|
+
sentAt?: string | undefined;
|
|
83
|
+
} | {
|
|
84
|
+
type: "web_page";
|
|
85
|
+
summary?: string | undefined;
|
|
86
|
+
siteName?: string | undefined;
|
|
87
|
+
author?: string | undefined;
|
|
88
|
+
thumbnailUrl?: string | undefined;
|
|
89
|
+
} | {
|
|
90
|
+
type: "person";
|
|
91
|
+
summary?: string | undefined;
|
|
92
|
+
email?: string | undefined;
|
|
93
|
+
slackHandle?: string | undefined;
|
|
94
|
+
githubHandle?: string | undefined;
|
|
95
|
+
avatarUrl?: string | undefined;
|
|
96
|
+
} | undefined;
|
|
97
|
+
}[] | undefined;
|
|
98
|
+
reply?: {
|
|
99
|
+
text: string;
|
|
100
|
+
url?: string | undefined;
|
|
101
|
+
} | undefined;
|
|
102
|
+
continuation?: {
|
|
103
|
+
arguments: Record<string, unknown>;
|
|
104
|
+
reason?: string | undefined;
|
|
105
|
+
} | undefined;
|
|
106
|
+
content?: string | undefined;
|
|
107
|
+
revision_id?: string | undefined;
|
|
108
|
+
ranges?: {
|
|
109
|
+
content: string;
|
|
110
|
+
range: string;
|
|
111
|
+
truncated: boolean;
|
|
112
|
+
}[] | undefined;
|
|
113
|
+
tabs?: string[] | undefined;
|
|
114
|
+
slide_count?: number | undefined;
|
|
115
|
+
slides?: {
|
|
116
|
+
notes?: string | undefined;
|
|
117
|
+
slide_number: number;
|
|
118
|
+
text: string;
|
|
119
|
+
}[] | undefined;
|
|
120
|
+
target: "readGoogleFile";
|
|
121
|
+
file_id: string;
|
|
122
|
+
modified_at?: string | undefined;
|
|
123
|
+
title: string;
|
|
124
|
+
truncated: boolean;
|
|
125
|
+
type: "document" | "presentation" | "spreadsheet";
|
|
126
|
+
url?: string | undefined;
|
|
127
|
+
}, {
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
objectAnnotations?: {
|
|
130
|
+
kind: "object";
|
|
131
|
+
key: string;
|
|
132
|
+
label: string;
|
|
133
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
134
|
+
title: string;
|
|
135
|
+
url: string | null;
|
|
136
|
+
description?: string | undefined;
|
|
137
|
+
status?: string | undefined;
|
|
138
|
+
trigger?: string | undefined;
|
|
139
|
+
warning?: string | undefined;
|
|
140
|
+
displayType?: string | undefined;
|
|
141
|
+
sourceUpdatedAt?: string | undefined;
|
|
142
|
+
facts?: {
|
|
143
|
+
type: "code_change";
|
|
144
|
+
summary?: string | undefined;
|
|
145
|
+
author?: string | undefined;
|
|
146
|
+
sourceBranch?: string | undefined;
|
|
147
|
+
targetBranch?: string | undefined;
|
|
148
|
+
reviewers?: string[] | undefined;
|
|
149
|
+
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
150
|
+
checks?: {
|
|
151
|
+
passed: number;
|
|
152
|
+
failed: number;
|
|
153
|
+
pending: number;
|
|
154
|
+
} | undefined;
|
|
155
|
+
mergeable?: boolean | undefined;
|
|
156
|
+
changedFiles?: number | undefined;
|
|
157
|
+
additions?: number | undefined;
|
|
158
|
+
deletions?: number | undefined;
|
|
159
|
+
previewImageUrls?: string[] | undefined;
|
|
160
|
+
} | {
|
|
161
|
+
type: "task";
|
|
162
|
+
summary?: string | undefined;
|
|
163
|
+
assignees?: string[] | undefined;
|
|
164
|
+
priority?: string | undefined;
|
|
165
|
+
project?: string | undefined;
|
|
166
|
+
cycle?: string | undefined;
|
|
167
|
+
dueDate?: string | undefined;
|
|
168
|
+
labels?: string[] | undefined;
|
|
169
|
+
} | {
|
|
170
|
+
type: "deployment";
|
|
171
|
+
summary?: string | undefined;
|
|
172
|
+
project?: string | undefined;
|
|
173
|
+
environment?: string | undefined;
|
|
174
|
+
revision?: string | undefined;
|
|
175
|
+
branch?: string | undefined;
|
|
176
|
+
} | {
|
|
177
|
+
type: "calendar_event";
|
|
178
|
+
summary?: string | undefined;
|
|
179
|
+
when?: string | undefined;
|
|
180
|
+
attendees?: string[] | undefined;
|
|
181
|
+
} | {
|
|
182
|
+
type: "conversation";
|
|
183
|
+
summary?: string | undefined;
|
|
184
|
+
participants?: string[] | undefined;
|
|
185
|
+
lastActivityAt?: string | undefined;
|
|
186
|
+
} | {
|
|
187
|
+
type: "document";
|
|
188
|
+
summary?: string | undefined;
|
|
189
|
+
owner?: string | undefined;
|
|
190
|
+
modifiedAt?: string | undefined;
|
|
191
|
+
} | {
|
|
192
|
+
type: "message";
|
|
193
|
+
summary?: string | undefined;
|
|
194
|
+
channel?: string | undefined;
|
|
195
|
+
author?: string | undefined;
|
|
196
|
+
sentAt?: string | undefined;
|
|
197
|
+
} | {
|
|
198
|
+
type: "web_page";
|
|
199
|
+
summary?: string | undefined;
|
|
200
|
+
siteName?: string | undefined;
|
|
201
|
+
author?: string | undefined;
|
|
202
|
+
thumbnailUrl?: string | undefined;
|
|
203
|
+
} | {
|
|
204
|
+
type: "person";
|
|
205
|
+
summary?: string | undefined;
|
|
206
|
+
email?: string | undefined;
|
|
207
|
+
slackHandle?: string | undefined;
|
|
208
|
+
githubHandle?: string | undefined;
|
|
209
|
+
avatarUrl?: string | undefined;
|
|
210
|
+
} | undefined;
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
reply?: {
|
|
213
|
+
text: string;
|
|
214
|
+
url?: string | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
continuation?: {
|
|
217
|
+
arguments: Record<string, unknown>;
|
|
218
|
+
reason?: string | undefined;
|
|
219
|
+
} | undefined;
|
|
220
|
+
content?: string | undefined;
|
|
221
|
+
revision_id?: string | undefined;
|
|
222
|
+
ranges?: {
|
|
223
|
+
content: string;
|
|
224
|
+
range: string;
|
|
225
|
+
truncated: boolean;
|
|
226
|
+
}[] | undefined;
|
|
227
|
+
tabs?: string[] | undefined;
|
|
228
|
+
slide_count?: number | undefined;
|
|
229
|
+
slides?: {
|
|
230
|
+
notes?: string | undefined;
|
|
231
|
+
slide_number: number;
|
|
232
|
+
text: string;
|
|
233
|
+
}[] | undefined;
|
|
234
|
+
target: "readGoogleFile";
|
|
235
|
+
file_id: string;
|
|
236
|
+
modified_at?: string | undefined;
|
|
237
|
+
title: string;
|
|
238
|
+
truncated: boolean;
|
|
239
|
+
type: "document" | "presentation" | "spreadsheet";
|
|
240
|
+
url?: string | undefined;
|
|
241
|
+
}>;
|
|
@@ -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" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
19
19
|
title: string;
|
|
20
20
|
url: string | null;
|
|
21
21
|
description?: string | undefined;
|
|
@@ -26,6 +26,7 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
26
26
|
sourceUpdatedAt?: string | undefined;
|
|
27
27
|
facts?: {
|
|
28
28
|
type: "code_change";
|
|
29
|
+
summary?: string | undefined;
|
|
29
30
|
author?: string | undefined;
|
|
30
31
|
sourceBranch?: string | undefined;
|
|
31
32
|
targetBranch?: string | undefined;
|
|
@@ -40,8 +41,10 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
40
41
|
changedFiles?: number | undefined;
|
|
41
42
|
additions?: number | undefined;
|
|
42
43
|
deletions?: number | undefined;
|
|
44
|
+
previewImageUrls?: string[] | undefined;
|
|
43
45
|
} | {
|
|
44
46
|
type: "task";
|
|
47
|
+
summary?: string | undefined;
|
|
45
48
|
assignees?: string[] | undefined;
|
|
46
49
|
priority?: string | undefined;
|
|
47
50
|
project?: string | undefined;
|
|
@@ -50,14 +53,45 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
50
53
|
labels?: string[] | undefined;
|
|
51
54
|
} | {
|
|
52
55
|
type: "deployment";
|
|
56
|
+
summary?: string | undefined;
|
|
53
57
|
project?: string | undefined;
|
|
54
58
|
environment?: string | undefined;
|
|
55
59
|
revision?: string | undefined;
|
|
56
60
|
branch?: string | undefined;
|
|
57
61
|
} | {
|
|
58
62
|
type: "calendar_event";
|
|
63
|
+
summary?: string | undefined;
|
|
59
64
|
when?: string | undefined;
|
|
60
65
|
attendees?: string[] | undefined;
|
|
66
|
+
} | {
|
|
67
|
+
type: "conversation";
|
|
68
|
+
summary?: string | undefined;
|
|
69
|
+
participants?: string[] | undefined;
|
|
70
|
+
lastActivityAt?: string | undefined;
|
|
71
|
+
} | {
|
|
72
|
+
type: "document";
|
|
73
|
+
summary?: string | undefined;
|
|
74
|
+
owner?: string | undefined;
|
|
75
|
+
modifiedAt?: string | undefined;
|
|
76
|
+
} | {
|
|
77
|
+
type: "message";
|
|
78
|
+
summary?: string | undefined;
|
|
79
|
+
channel?: string | undefined;
|
|
80
|
+
author?: string | undefined;
|
|
81
|
+
sentAt?: string | undefined;
|
|
82
|
+
} | {
|
|
83
|
+
type: "web_page";
|
|
84
|
+
summary?: string | undefined;
|
|
85
|
+
siteName?: string | undefined;
|
|
86
|
+
author?: string | undefined;
|
|
87
|
+
thumbnailUrl?: string | undefined;
|
|
88
|
+
} | {
|
|
89
|
+
type: "person";
|
|
90
|
+
summary?: string | undefined;
|
|
91
|
+
email?: string | undefined;
|
|
92
|
+
slackHandle?: string | undefined;
|
|
93
|
+
githubHandle?: string | undefined;
|
|
94
|
+
avatarUrl?: string | undefined;
|
|
61
95
|
} | undefined;
|
|
62
96
|
}[] | undefined;
|
|
63
97
|
reply?: {
|
|
@@ -87,7 +121,7 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
87
121
|
kind: "object";
|
|
88
122
|
key: string;
|
|
89
123
|
label: string;
|
|
90
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
124
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
91
125
|
title: string;
|
|
92
126
|
url: string | null;
|
|
93
127
|
description?: string | undefined;
|
|
@@ -98,6 +132,7 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
98
132
|
sourceUpdatedAt?: string | undefined;
|
|
99
133
|
facts?: {
|
|
100
134
|
type: "code_change";
|
|
135
|
+
summary?: string | undefined;
|
|
101
136
|
author?: string | undefined;
|
|
102
137
|
sourceBranch?: string | undefined;
|
|
103
138
|
targetBranch?: string | undefined;
|
|
@@ -112,8 +147,10 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
112
147
|
changedFiles?: number | undefined;
|
|
113
148
|
additions?: number | undefined;
|
|
114
149
|
deletions?: number | undefined;
|
|
150
|
+
previewImageUrls?: string[] | undefined;
|
|
115
151
|
} | {
|
|
116
152
|
type: "task";
|
|
153
|
+
summary?: string | undefined;
|
|
117
154
|
assignees?: string[] | undefined;
|
|
118
155
|
priority?: string | undefined;
|
|
119
156
|
project?: string | undefined;
|
|
@@ -122,14 +159,45 @@ export declare function createReadMeetingTranscriptTool(ctx: GoogleToolContext):
|
|
|
122
159
|
labels?: string[] | undefined;
|
|
123
160
|
} | {
|
|
124
161
|
type: "deployment";
|
|
162
|
+
summary?: string | undefined;
|
|
125
163
|
project?: string | undefined;
|
|
126
164
|
environment?: string | undefined;
|
|
127
165
|
revision?: string | undefined;
|
|
128
166
|
branch?: string | undefined;
|
|
129
167
|
} | {
|
|
130
168
|
type: "calendar_event";
|
|
169
|
+
summary?: string | undefined;
|
|
131
170
|
when?: string | undefined;
|
|
132
171
|
attendees?: string[] | undefined;
|
|
172
|
+
} | {
|
|
173
|
+
type: "conversation";
|
|
174
|
+
summary?: string | undefined;
|
|
175
|
+
participants?: string[] | undefined;
|
|
176
|
+
lastActivityAt?: string | undefined;
|
|
177
|
+
} | {
|
|
178
|
+
type: "document";
|
|
179
|
+
summary?: string | undefined;
|
|
180
|
+
owner?: string | undefined;
|
|
181
|
+
modifiedAt?: string | undefined;
|
|
182
|
+
} | {
|
|
183
|
+
type: "message";
|
|
184
|
+
summary?: string | undefined;
|
|
185
|
+
channel?: string | undefined;
|
|
186
|
+
author?: string | undefined;
|
|
187
|
+
sentAt?: string | undefined;
|
|
188
|
+
} | {
|
|
189
|
+
type: "web_page";
|
|
190
|
+
summary?: string | undefined;
|
|
191
|
+
siteName?: string | undefined;
|
|
192
|
+
author?: string | undefined;
|
|
193
|
+
thumbnailUrl?: string | undefined;
|
|
194
|
+
} | {
|
|
195
|
+
type: "person";
|
|
196
|
+
summary?: string | undefined;
|
|
197
|
+
email?: string | undefined;
|
|
198
|
+
slackHandle?: string | undefined;
|
|
199
|
+
githubHandle?: string | undefined;
|
|
200
|
+
avatarUrl?: string | undefined;
|
|
133
201
|
} | undefined;
|
|
134
202
|
}[] | undefined;
|
|
135
203
|
reply?: {
|