@sentry/junior-github 0.299.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/dist/{chunk-O74CQGTZ.js → chunk-YUF5P5I7.js} +1 -1
- package/dist/index.js +24 -16
- package/dist/testing.js +1 -1
- package/dist/tools/clone-repository.d.ts +38 -2
- package/dist/tools/comment-on-issue.d.ts +38 -2
- package/dist/tools/comment-on-pull-request.d.ts +38 -2
- package/dist/tools/create-issue.d.ts +38 -2
- package/dist/tools/create-pull-request.d.ts +38 -2
- package/dist/tools/get-deployment.d.ts +38 -2
- package/dist/tools/get-issue.d.ts +38 -2
- package/dist/tools/get-pull-request.d.ts +38 -2
- package/dist/tools/get-release.d.ts +38 -2
- package/dist/tools/get-repository.d.ts +38 -2
- package/dist/tools/get-status.d.ts +38 -2
- package/dist/tools/react-to-issue.d.ts +38 -2
- package/dist/tools/resolve-pull-request-review-thread.d.ts +38 -2
- package/dist/tools/submit-pull-request-review.d.ts +38 -2
- package/dist/tools/update-issue-comment.d.ts +38 -2
- package/dist/tools/update-issue.d.ts +38 -2
- package/dist/tools/update-pull-request-feedback.d.ts +38 -2
- package/dist/tools/update-pull-request.d.ts +38 -2
- package/package.json +4 -4
|
@@ -12,7 +12,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
12
12
|
kind: "object";
|
|
13
13
|
key: string;
|
|
14
14
|
label: string;
|
|
15
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
15
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
16
16
|
title: string;
|
|
17
17
|
url: string | null;
|
|
18
18
|
description?: string | undefined;
|
|
@@ -23,6 +23,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
23
23
|
sourceUpdatedAt?: string | undefined;
|
|
24
24
|
facts?: {
|
|
25
25
|
type: "code_change";
|
|
26
|
+
summary?: string | undefined;
|
|
26
27
|
author?: string | undefined;
|
|
27
28
|
sourceBranch?: string | undefined;
|
|
28
29
|
targetBranch?: string | undefined;
|
|
@@ -40,6 +41,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
40
41
|
previewImageUrls?: string[] | undefined;
|
|
41
42
|
} | {
|
|
42
43
|
type: "task";
|
|
44
|
+
summary?: string | undefined;
|
|
43
45
|
assignees?: string[] | undefined;
|
|
44
46
|
priority?: string | undefined;
|
|
45
47
|
project?: string | undefined;
|
|
@@ -48,25 +50,41 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
48
50
|
labels?: string[] | undefined;
|
|
49
51
|
} | {
|
|
50
52
|
type: "deployment";
|
|
53
|
+
summary?: string | undefined;
|
|
51
54
|
project?: string | undefined;
|
|
52
55
|
environment?: string | undefined;
|
|
53
56
|
revision?: string | undefined;
|
|
54
57
|
branch?: string | undefined;
|
|
55
58
|
} | {
|
|
56
59
|
type: "calendar_event";
|
|
60
|
+
summary?: string | undefined;
|
|
57
61
|
when?: string | undefined;
|
|
58
62
|
attendees?: string[] | undefined;
|
|
59
63
|
} | {
|
|
60
64
|
type: "conversation";
|
|
65
|
+
summary?: string | undefined;
|
|
61
66
|
participants?: string[] | undefined;
|
|
62
67
|
lastActivityAt?: string | undefined;
|
|
68
|
+
} | {
|
|
69
|
+
type: "document";
|
|
70
|
+
summary?: string | undefined;
|
|
71
|
+
owner?: string | undefined;
|
|
72
|
+
modifiedAt?: string | undefined;
|
|
63
73
|
} | {
|
|
64
74
|
type: "message";
|
|
75
|
+
summary?: string | undefined;
|
|
65
76
|
channel?: string | undefined;
|
|
66
77
|
author?: string | undefined;
|
|
67
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;
|
|
68
85
|
} | {
|
|
69
86
|
type: "person";
|
|
87
|
+
summary?: string | undefined;
|
|
70
88
|
email?: string | undefined;
|
|
71
89
|
slackHandle?: string | undefined;
|
|
72
90
|
githubHandle?: string | undefined;
|
|
@@ -102,7 +120,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
102
120
|
kind: "object";
|
|
103
121
|
key: string;
|
|
104
122
|
label: string;
|
|
105
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
123
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
106
124
|
title: string;
|
|
107
125
|
url: string | null;
|
|
108
126
|
description?: string | undefined;
|
|
@@ -113,6 +131,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
113
131
|
sourceUpdatedAt?: string | undefined;
|
|
114
132
|
facts?: {
|
|
115
133
|
type: "code_change";
|
|
134
|
+
summary?: string | undefined;
|
|
116
135
|
author?: string | undefined;
|
|
117
136
|
sourceBranch?: string | undefined;
|
|
118
137
|
targetBranch?: string | undefined;
|
|
@@ -130,6 +149,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
130
149
|
previewImageUrls?: string[] | undefined;
|
|
131
150
|
} | {
|
|
132
151
|
type: "task";
|
|
152
|
+
summary?: string | undefined;
|
|
133
153
|
assignees?: string[] | undefined;
|
|
134
154
|
priority?: string | undefined;
|
|
135
155
|
project?: string | undefined;
|
|
@@ -138,25 +158,41 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
138
158
|
labels?: string[] | undefined;
|
|
139
159
|
} | {
|
|
140
160
|
type: "deployment";
|
|
161
|
+
summary?: string | undefined;
|
|
141
162
|
project?: string | undefined;
|
|
142
163
|
environment?: string | undefined;
|
|
143
164
|
revision?: string | undefined;
|
|
144
165
|
branch?: string | undefined;
|
|
145
166
|
} | {
|
|
146
167
|
type: "calendar_event";
|
|
168
|
+
summary?: string | undefined;
|
|
147
169
|
when?: string | undefined;
|
|
148
170
|
attendees?: string[] | undefined;
|
|
149
171
|
} | {
|
|
150
172
|
type: "conversation";
|
|
173
|
+
summary?: string | undefined;
|
|
151
174
|
participants?: string[] | undefined;
|
|
152
175
|
lastActivityAt?: string | undefined;
|
|
176
|
+
} | {
|
|
177
|
+
type: "document";
|
|
178
|
+
summary?: string | undefined;
|
|
179
|
+
owner?: string | undefined;
|
|
180
|
+
modifiedAt?: string | undefined;
|
|
153
181
|
} | {
|
|
154
182
|
type: "message";
|
|
183
|
+
summary?: string | undefined;
|
|
155
184
|
channel?: string | undefined;
|
|
156
185
|
author?: string | undefined;
|
|
157
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;
|
|
158
193
|
} | {
|
|
159
194
|
type: "person";
|
|
195
|
+
summary?: string | undefined;
|
|
160
196
|
email?: string | undefined;
|
|
161
197
|
slackHandle?: string | undefined;
|
|
162
198
|
githubHandle?: string | undefined;
|
|
@@ -8,7 +8,7 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
8
8
|
kind: "object";
|
|
9
9
|
key: string;
|
|
10
10
|
label: string;
|
|
11
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
11
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
12
12
|
title: string;
|
|
13
13
|
url: string | null;
|
|
14
14
|
description?: string | undefined;
|
|
@@ -19,6 +19,7 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
19
19
|
sourceUpdatedAt?: string | undefined;
|
|
20
20
|
facts?: {
|
|
21
21
|
type: "code_change";
|
|
22
|
+
summary?: string | undefined;
|
|
22
23
|
author?: string | undefined;
|
|
23
24
|
sourceBranch?: string | undefined;
|
|
24
25
|
targetBranch?: string | undefined;
|
|
@@ -36,6 +37,7 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
36
37
|
previewImageUrls?: string[] | undefined;
|
|
37
38
|
} | {
|
|
38
39
|
type: "task";
|
|
40
|
+
summary?: string | undefined;
|
|
39
41
|
assignees?: string[] | undefined;
|
|
40
42
|
priority?: string | undefined;
|
|
41
43
|
project?: string | undefined;
|
|
@@ -44,25 +46,41 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
44
46
|
labels?: string[] | undefined;
|
|
45
47
|
} | {
|
|
46
48
|
type: "deployment";
|
|
49
|
+
summary?: string | undefined;
|
|
47
50
|
project?: string | undefined;
|
|
48
51
|
environment?: string | undefined;
|
|
49
52
|
revision?: string | undefined;
|
|
50
53
|
branch?: string | undefined;
|
|
51
54
|
} | {
|
|
52
55
|
type: "calendar_event";
|
|
56
|
+
summary?: string | undefined;
|
|
53
57
|
when?: string | undefined;
|
|
54
58
|
attendees?: string[] | undefined;
|
|
55
59
|
} | {
|
|
56
60
|
type: "conversation";
|
|
61
|
+
summary?: string | undefined;
|
|
57
62
|
participants?: string[] | undefined;
|
|
58
63
|
lastActivityAt?: string | undefined;
|
|
64
|
+
} | {
|
|
65
|
+
type: "document";
|
|
66
|
+
summary?: string | undefined;
|
|
67
|
+
owner?: string | undefined;
|
|
68
|
+
modifiedAt?: string | undefined;
|
|
59
69
|
} | {
|
|
60
70
|
type: "message";
|
|
71
|
+
summary?: string | undefined;
|
|
61
72
|
channel?: string | undefined;
|
|
62
73
|
author?: string | undefined;
|
|
63
74
|
sentAt?: string | undefined;
|
|
75
|
+
} | {
|
|
76
|
+
type: "web_page";
|
|
77
|
+
summary?: string | undefined;
|
|
78
|
+
siteName?: string | undefined;
|
|
79
|
+
author?: string | undefined;
|
|
80
|
+
thumbnailUrl?: string | undefined;
|
|
64
81
|
} | {
|
|
65
82
|
type: "person";
|
|
83
|
+
summary?: string | undefined;
|
|
66
84
|
email?: string | undefined;
|
|
67
85
|
slackHandle?: string | undefined;
|
|
68
86
|
githubHandle?: string | undefined;
|
|
@@ -94,7 +112,7 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
94
112
|
kind: "object";
|
|
95
113
|
key: string;
|
|
96
114
|
label: string;
|
|
97
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
115
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
98
116
|
title: string;
|
|
99
117
|
url: string | null;
|
|
100
118
|
description?: string | undefined;
|
|
@@ -105,6 +123,7 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
105
123
|
sourceUpdatedAt?: string | undefined;
|
|
106
124
|
facts?: {
|
|
107
125
|
type: "code_change";
|
|
126
|
+
summary?: string | undefined;
|
|
108
127
|
author?: string | undefined;
|
|
109
128
|
sourceBranch?: string | undefined;
|
|
110
129
|
targetBranch?: string | undefined;
|
|
@@ -122,6 +141,7 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
122
141
|
previewImageUrls?: string[] | undefined;
|
|
123
142
|
} | {
|
|
124
143
|
type: "task";
|
|
144
|
+
summary?: string | undefined;
|
|
125
145
|
assignees?: string[] | undefined;
|
|
126
146
|
priority?: string | undefined;
|
|
127
147
|
project?: string | undefined;
|
|
@@ -130,25 +150,41 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
130
150
|
labels?: string[] | undefined;
|
|
131
151
|
} | {
|
|
132
152
|
type: "deployment";
|
|
153
|
+
summary?: string | undefined;
|
|
133
154
|
project?: string | undefined;
|
|
134
155
|
environment?: string | undefined;
|
|
135
156
|
revision?: string | undefined;
|
|
136
157
|
branch?: string | undefined;
|
|
137
158
|
} | {
|
|
138
159
|
type: "calendar_event";
|
|
160
|
+
summary?: string | undefined;
|
|
139
161
|
when?: string | undefined;
|
|
140
162
|
attendees?: string[] | undefined;
|
|
141
163
|
} | {
|
|
142
164
|
type: "conversation";
|
|
165
|
+
summary?: string | undefined;
|
|
143
166
|
participants?: string[] | undefined;
|
|
144
167
|
lastActivityAt?: string | undefined;
|
|
168
|
+
} | {
|
|
169
|
+
type: "document";
|
|
170
|
+
summary?: string | undefined;
|
|
171
|
+
owner?: string | undefined;
|
|
172
|
+
modifiedAt?: string | undefined;
|
|
145
173
|
} | {
|
|
146
174
|
type: "message";
|
|
175
|
+
summary?: string | undefined;
|
|
147
176
|
channel?: string | undefined;
|
|
148
177
|
author?: string | undefined;
|
|
149
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;
|
|
150
185
|
} | {
|
|
151
186
|
type: "person";
|
|
187
|
+
summary?: string | undefined;
|
|
152
188
|
email?: string | undefined;
|
|
153
189
|
slackHandle?: string | undefined;
|
|
154
190
|
githubHandle?: string | undefined;
|
|
@@ -10,7 +10,7 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
|
|
|
10
10
|
kind: "object";
|
|
11
11
|
key: string;
|
|
12
12
|
label: string;
|
|
13
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
13
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
14
14
|
title: string;
|
|
15
15
|
url: string | null;
|
|
16
16
|
description?: string | undefined;
|
|
@@ -21,6 +21,7 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
|
|
|
21
21
|
sourceUpdatedAt?: string | undefined;
|
|
22
22
|
facts?: {
|
|
23
23
|
type: "code_change";
|
|
24
|
+
summary?: string | undefined;
|
|
24
25
|
author?: string | undefined;
|
|
25
26
|
sourceBranch?: string | undefined;
|
|
26
27
|
targetBranch?: string | undefined;
|
|
@@ -38,6 +39,7 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
|
|
|
38
39
|
previewImageUrls?: string[] | undefined;
|
|
39
40
|
} | {
|
|
40
41
|
type: "task";
|
|
42
|
+
summary?: string | undefined;
|
|
41
43
|
assignees?: string[] | undefined;
|
|
42
44
|
priority?: string | undefined;
|
|
43
45
|
project?: string | undefined;
|
|
@@ -46,25 +48,41 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
|
|
|
46
48
|
labels?: string[] | undefined;
|
|
47
49
|
} | {
|
|
48
50
|
type: "deployment";
|
|
51
|
+
summary?: string | undefined;
|
|
49
52
|
project?: string | undefined;
|
|
50
53
|
environment?: string | undefined;
|
|
51
54
|
revision?: string | undefined;
|
|
52
55
|
branch?: string | undefined;
|
|
53
56
|
} | {
|
|
54
57
|
type: "calendar_event";
|
|
58
|
+
summary?: string | undefined;
|
|
55
59
|
when?: string | undefined;
|
|
56
60
|
attendees?: string[] | undefined;
|
|
57
61
|
} | {
|
|
58
62
|
type: "conversation";
|
|
63
|
+
summary?: string | undefined;
|
|
59
64
|
participants?: string[] | undefined;
|
|
60
65
|
lastActivityAt?: string | undefined;
|
|
66
|
+
} | {
|
|
67
|
+
type: "document";
|
|
68
|
+
summary?: string | undefined;
|
|
69
|
+
owner?: string | undefined;
|
|
70
|
+
modifiedAt?: string | undefined;
|
|
61
71
|
} | {
|
|
62
72
|
type: "message";
|
|
73
|
+
summary?: string | undefined;
|
|
63
74
|
channel?: string | undefined;
|
|
64
75
|
author?: string | undefined;
|
|
65
76
|
sentAt?: string | undefined;
|
|
77
|
+
} | {
|
|
78
|
+
type: "web_page";
|
|
79
|
+
summary?: string | undefined;
|
|
80
|
+
siteName?: string | undefined;
|
|
81
|
+
author?: string | undefined;
|
|
82
|
+
thumbnailUrl?: string | undefined;
|
|
66
83
|
} | {
|
|
67
84
|
type: "person";
|
|
85
|
+
summary?: string | undefined;
|
|
68
86
|
email?: string | undefined;
|
|
69
87
|
slackHandle?: string | undefined;
|
|
70
88
|
githubHandle?: string | undefined;
|
|
@@ -91,7 +109,7 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
|
|
|
91
109
|
kind: "object";
|
|
92
110
|
key: string;
|
|
93
111
|
label: string;
|
|
94
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
112
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
95
113
|
title: string;
|
|
96
114
|
url: string | null;
|
|
97
115
|
description?: string | undefined;
|
|
@@ -102,6 +120,7 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
|
|
|
102
120
|
sourceUpdatedAt?: string | undefined;
|
|
103
121
|
facts?: {
|
|
104
122
|
type: "code_change";
|
|
123
|
+
summary?: string | undefined;
|
|
105
124
|
author?: string | undefined;
|
|
106
125
|
sourceBranch?: string | undefined;
|
|
107
126
|
targetBranch?: string | undefined;
|
|
@@ -119,6 +138,7 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
|
|
|
119
138
|
previewImageUrls?: string[] | undefined;
|
|
120
139
|
} | {
|
|
121
140
|
type: "task";
|
|
141
|
+
summary?: string | undefined;
|
|
122
142
|
assignees?: string[] | undefined;
|
|
123
143
|
priority?: string | undefined;
|
|
124
144
|
project?: string | undefined;
|
|
@@ -127,25 +147,41 @@ export declare function createGitHubReactToIssueTool(egress: PluginEgress): impo
|
|
|
127
147
|
labels?: string[] | undefined;
|
|
128
148
|
} | {
|
|
129
149
|
type: "deployment";
|
|
150
|
+
summary?: string | undefined;
|
|
130
151
|
project?: string | undefined;
|
|
131
152
|
environment?: string | undefined;
|
|
132
153
|
revision?: string | undefined;
|
|
133
154
|
branch?: string | undefined;
|
|
134
155
|
} | {
|
|
135
156
|
type: "calendar_event";
|
|
157
|
+
summary?: string | undefined;
|
|
136
158
|
when?: string | undefined;
|
|
137
159
|
attendees?: string[] | undefined;
|
|
138
160
|
} | {
|
|
139
161
|
type: "conversation";
|
|
162
|
+
summary?: string | undefined;
|
|
140
163
|
participants?: string[] | undefined;
|
|
141
164
|
lastActivityAt?: string | undefined;
|
|
165
|
+
} | {
|
|
166
|
+
type: "document";
|
|
167
|
+
summary?: string | undefined;
|
|
168
|
+
owner?: string | undefined;
|
|
169
|
+
modifiedAt?: string | undefined;
|
|
142
170
|
} | {
|
|
143
171
|
type: "message";
|
|
172
|
+
summary?: string | undefined;
|
|
144
173
|
channel?: string | undefined;
|
|
145
174
|
author?: string | undefined;
|
|
146
175
|
sentAt?: string | undefined;
|
|
176
|
+
} | {
|
|
177
|
+
type: "web_page";
|
|
178
|
+
summary?: string | undefined;
|
|
179
|
+
siteName?: string | undefined;
|
|
180
|
+
author?: string | undefined;
|
|
181
|
+
thumbnailUrl?: string | undefined;
|
|
147
182
|
} | {
|
|
148
183
|
type: "person";
|
|
184
|
+
summary?: string | undefined;
|
|
149
185
|
email?: string | undefined;
|
|
150
186
|
slackHandle?: string | undefined;
|
|
151
187
|
githubHandle?: string | undefined;
|
|
@@ -11,7 +11,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
|
|
|
11
11
|
kind: "object";
|
|
12
12
|
key: string;
|
|
13
13
|
label: string;
|
|
14
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
14
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
15
15
|
title: string;
|
|
16
16
|
url: string | null;
|
|
17
17
|
description?: string | undefined;
|
|
@@ -22,6 +22,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
|
|
|
22
22
|
sourceUpdatedAt?: string | undefined;
|
|
23
23
|
facts?: {
|
|
24
24
|
type: "code_change";
|
|
25
|
+
summary?: string | undefined;
|
|
25
26
|
author?: string | undefined;
|
|
26
27
|
sourceBranch?: string | undefined;
|
|
27
28
|
targetBranch?: string | undefined;
|
|
@@ -39,6 +40,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
|
|
|
39
40
|
previewImageUrls?: string[] | undefined;
|
|
40
41
|
} | {
|
|
41
42
|
type: "task";
|
|
43
|
+
summary?: string | undefined;
|
|
42
44
|
assignees?: string[] | undefined;
|
|
43
45
|
priority?: string | undefined;
|
|
44
46
|
project?: string | undefined;
|
|
@@ -47,25 +49,41 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
|
|
|
47
49
|
labels?: string[] | undefined;
|
|
48
50
|
} | {
|
|
49
51
|
type: "deployment";
|
|
52
|
+
summary?: string | undefined;
|
|
50
53
|
project?: string | undefined;
|
|
51
54
|
environment?: string | undefined;
|
|
52
55
|
revision?: string | undefined;
|
|
53
56
|
branch?: string | undefined;
|
|
54
57
|
} | {
|
|
55
58
|
type: "calendar_event";
|
|
59
|
+
summary?: string | undefined;
|
|
56
60
|
when?: string | undefined;
|
|
57
61
|
attendees?: string[] | undefined;
|
|
58
62
|
} | {
|
|
59
63
|
type: "conversation";
|
|
64
|
+
summary?: string | undefined;
|
|
60
65
|
participants?: string[] | undefined;
|
|
61
66
|
lastActivityAt?: string | undefined;
|
|
67
|
+
} | {
|
|
68
|
+
type: "document";
|
|
69
|
+
summary?: string | undefined;
|
|
70
|
+
owner?: string | undefined;
|
|
71
|
+
modifiedAt?: string | undefined;
|
|
62
72
|
} | {
|
|
63
73
|
type: "message";
|
|
74
|
+
summary?: string | undefined;
|
|
64
75
|
channel?: string | undefined;
|
|
65
76
|
author?: string | undefined;
|
|
66
77
|
sentAt?: string | undefined;
|
|
78
|
+
} | {
|
|
79
|
+
type: "web_page";
|
|
80
|
+
summary?: string | undefined;
|
|
81
|
+
siteName?: string | undefined;
|
|
82
|
+
author?: string | undefined;
|
|
83
|
+
thumbnailUrl?: string | undefined;
|
|
67
84
|
} | {
|
|
68
85
|
type: "person";
|
|
86
|
+
summary?: string | undefined;
|
|
69
87
|
email?: string | undefined;
|
|
70
88
|
slackHandle?: string | undefined;
|
|
71
89
|
githubHandle?: string | undefined;
|
|
@@ -92,7 +110,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
|
|
|
92
110
|
kind: "object";
|
|
93
111
|
key: string;
|
|
94
112
|
label: string;
|
|
95
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
113
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
96
114
|
title: string;
|
|
97
115
|
url: string | null;
|
|
98
116
|
description?: string | undefined;
|
|
@@ -103,6 +121,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
|
|
|
103
121
|
sourceUpdatedAt?: string | undefined;
|
|
104
122
|
facts?: {
|
|
105
123
|
type: "code_change";
|
|
124
|
+
summary?: string | undefined;
|
|
106
125
|
author?: string | undefined;
|
|
107
126
|
sourceBranch?: string | undefined;
|
|
108
127
|
targetBranch?: string | undefined;
|
|
@@ -120,6 +139,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
|
|
|
120
139
|
previewImageUrls?: string[] | undefined;
|
|
121
140
|
} | {
|
|
122
141
|
type: "task";
|
|
142
|
+
summary?: string | undefined;
|
|
123
143
|
assignees?: string[] | undefined;
|
|
124
144
|
priority?: string | undefined;
|
|
125
145
|
project?: string | undefined;
|
|
@@ -128,25 +148,41 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
|
|
|
128
148
|
labels?: string[] | undefined;
|
|
129
149
|
} | {
|
|
130
150
|
type: "deployment";
|
|
151
|
+
summary?: string | undefined;
|
|
131
152
|
project?: string | undefined;
|
|
132
153
|
environment?: string | undefined;
|
|
133
154
|
revision?: string | undefined;
|
|
134
155
|
branch?: string | undefined;
|
|
135
156
|
} | {
|
|
136
157
|
type: "calendar_event";
|
|
158
|
+
summary?: string | undefined;
|
|
137
159
|
when?: string | undefined;
|
|
138
160
|
attendees?: string[] | undefined;
|
|
139
161
|
} | {
|
|
140
162
|
type: "conversation";
|
|
163
|
+
summary?: string | undefined;
|
|
141
164
|
participants?: string[] | undefined;
|
|
142
165
|
lastActivityAt?: string | undefined;
|
|
166
|
+
} | {
|
|
167
|
+
type: "document";
|
|
168
|
+
summary?: string | undefined;
|
|
169
|
+
owner?: string | undefined;
|
|
170
|
+
modifiedAt?: string | undefined;
|
|
143
171
|
} | {
|
|
144
172
|
type: "message";
|
|
173
|
+
summary?: string | undefined;
|
|
145
174
|
channel?: string | undefined;
|
|
146
175
|
author?: string | undefined;
|
|
147
176
|
sentAt?: string | undefined;
|
|
177
|
+
} | {
|
|
178
|
+
type: "web_page";
|
|
179
|
+
summary?: string | undefined;
|
|
180
|
+
siteName?: string | undefined;
|
|
181
|
+
author?: string | undefined;
|
|
182
|
+
thumbnailUrl?: string | undefined;
|
|
148
183
|
} | {
|
|
149
184
|
type: "person";
|
|
185
|
+
summary?: string | undefined;
|
|
150
186
|
email?: string | undefined;
|
|
151
187
|
slackHandle?: string | undefined;
|
|
152
188
|
githubHandle?: string | undefined;
|
|
@@ -19,7 +19,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
|
|
|
19
19
|
kind: "object";
|
|
20
20
|
key: string;
|
|
21
21
|
label: string;
|
|
22
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
22
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
23
23
|
title: string;
|
|
24
24
|
url: string | null;
|
|
25
25
|
description?: string | undefined;
|
|
@@ -30,6 +30,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
|
|
|
30
30
|
sourceUpdatedAt?: string | undefined;
|
|
31
31
|
facts?: {
|
|
32
32
|
type: "code_change";
|
|
33
|
+
summary?: string | undefined;
|
|
33
34
|
author?: string | undefined;
|
|
34
35
|
sourceBranch?: string | undefined;
|
|
35
36
|
targetBranch?: string | undefined;
|
|
@@ -47,6 +48,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
|
|
|
47
48
|
previewImageUrls?: string[] | undefined;
|
|
48
49
|
} | {
|
|
49
50
|
type: "task";
|
|
51
|
+
summary?: string | undefined;
|
|
50
52
|
assignees?: string[] | undefined;
|
|
51
53
|
priority?: string | undefined;
|
|
52
54
|
project?: string | undefined;
|
|
@@ -55,25 +57,41 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
|
|
|
55
57
|
labels?: string[] | undefined;
|
|
56
58
|
} | {
|
|
57
59
|
type: "deployment";
|
|
60
|
+
summary?: string | undefined;
|
|
58
61
|
project?: string | undefined;
|
|
59
62
|
environment?: string | undefined;
|
|
60
63
|
revision?: string | undefined;
|
|
61
64
|
branch?: string | undefined;
|
|
62
65
|
} | {
|
|
63
66
|
type: "calendar_event";
|
|
67
|
+
summary?: string | undefined;
|
|
64
68
|
when?: string | undefined;
|
|
65
69
|
attendees?: string[] | undefined;
|
|
66
70
|
} | {
|
|
67
71
|
type: "conversation";
|
|
72
|
+
summary?: string | undefined;
|
|
68
73
|
participants?: string[] | undefined;
|
|
69
74
|
lastActivityAt?: string | undefined;
|
|
75
|
+
} | {
|
|
76
|
+
type: "document";
|
|
77
|
+
summary?: string | undefined;
|
|
78
|
+
owner?: string | undefined;
|
|
79
|
+
modifiedAt?: string | undefined;
|
|
70
80
|
} | {
|
|
71
81
|
type: "message";
|
|
82
|
+
summary?: string | undefined;
|
|
72
83
|
channel?: string | undefined;
|
|
73
84
|
author?: string | undefined;
|
|
74
85
|
sentAt?: string | undefined;
|
|
86
|
+
} | {
|
|
87
|
+
type: "web_page";
|
|
88
|
+
summary?: string | undefined;
|
|
89
|
+
siteName?: string | undefined;
|
|
90
|
+
author?: string | undefined;
|
|
91
|
+
thumbnailUrl?: string | undefined;
|
|
75
92
|
} | {
|
|
76
93
|
type: "person";
|
|
94
|
+
summary?: string | undefined;
|
|
77
95
|
email?: string | undefined;
|
|
78
96
|
slackHandle?: string | undefined;
|
|
79
97
|
githubHandle?: string | undefined;
|
|
@@ -101,7 +119,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
|
|
|
101
119
|
kind: "object";
|
|
102
120
|
key: string;
|
|
103
121
|
label: string;
|
|
104
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "item" | "message" | "person" | "task";
|
|
122
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
105
123
|
title: string;
|
|
106
124
|
url: string | null;
|
|
107
125
|
description?: string | undefined;
|
|
@@ -112,6 +130,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
|
|
|
112
130
|
sourceUpdatedAt?: string | undefined;
|
|
113
131
|
facts?: {
|
|
114
132
|
type: "code_change";
|
|
133
|
+
summary?: string | undefined;
|
|
115
134
|
author?: string | undefined;
|
|
116
135
|
sourceBranch?: string | undefined;
|
|
117
136
|
targetBranch?: string | undefined;
|
|
@@ -129,6 +148,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
|
|
|
129
148
|
previewImageUrls?: string[] | undefined;
|
|
130
149
|
} | {
|
|
131
150
|
type: "task";
|
|
151
|
+
summary?: string | undefined;
|
|
132
152
|
assignees?: string[] | undefined;
|
|
133
153
|
priority?: string | undefined;
|
|
134
154
|
project?: string | undefined;
|
|
@@ -137,25 +157,41 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
|
|
|
137
157
|
labels?: string[] | undefined;
|
|
138
158
|
} | {
|
|
139
159
|
type: "deployment";
|
|
160
|
+
summary?: string | undefined;
|
|
140
161
|
project?: string | undefined;
|
|
141
162
|
environment?: string | undefined;
|
|
142
163
|
revision?: string | undefined;
|
|
143
164
|
branch?: string | undefined;
|
|
144
165
|
} | {
|
|
145
166
|
type: "calendar_event";
|
|
167
|
+
summary?: string | undefined;
|
|
146
168
|
when?: string | undefined;
|
|
147
169
|
attendees?: string[] | undefined;
|
|
148
170
|
} | {
|
|
149
171
|
type: "conversation";
|
|
172
|
+
summary?: string | undefined;
|
|
150
173
|
participants?: string[] | undefined;
|
|
151
174
|
lastActivityAt?: string | undefined;
|
|
175
|
+
} | {
|
|
176
|
+
type: "document";
|
|
177
|
+
summary?: string | undefined;
|
|
178
|
+
owner?: string | undefined;
|
|
179
|
+
modifiedAt?: string | undefined;
|
|
152
180
|
} | {
|
|
153
181
|
type: "message";
|
|
182
|
+
summary?: string | undefined;
|
|
154
183
|
channel?: string | undefined;
|
|
155
184
|
author?: string | undefined;
|
|
156
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;
|
|
157
192
|
} | {
|
|
158
193
|
type: "person";
|
|
194
|
+
summary?: string | undefined;
|
|
159
195
|
email?: string | undefined;
|
|
160
196
|
slackHandle?: string | undefined;
|
|
161
197
|
githubHandle?: string | undefined;
|