@sentry/junior-github 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/dist/{chunk-OK6BNAGC.js → chunk-YUF5P5I7.js} +50 -20
- package/dist/credential-support.d.ts +7 -0
- package/dist/db/schema.d.ts +34 -0
- package/dist/events/pull-request.d.ts +8 -2
- package/dist/graphql-documents.d.ts +31 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1532 -785
- package/dist/object-facts.d.ts +16 -1
- package/dist/plugin.d.ts +3 -0
- package/dist/pull-request-outcomes/apply.d.ts +3 -1
- package/dist/pull-request-outcomes/reconcile.d.ts +10 -5
- package/dist/pull-request-outcomes/store.d.ts +5 -0
- package/dist/pull-request-requesters/draft-reviewers.d.ts +15 -0
- package/dist/testing.js +1 -1
- package/dist/tool-support/attribution.d.ts +4 -2
- package/dist/tool-support/pull-request-description.d.ts +8 -0
- package/dist/tools/clone-repository.d.ts +70 -2
- package/dist/tools/comment-on-issue.d.ts +70 -2
- package/dist/tools/comment-on-pull-request.d.ts +70 -2
- package/dist/tools/create-issue.d.ts +70 -2
- package/dist/tools/create-pull-request.d.ts +75 -4
- package/dist/tools/get-deployment.d.ts +70 -2
- package/dist/tools/get-issue.d.ts +70 -2
- package/dist/tools/get-pull-request.d.ts +90 -2
- package/dist/tools/get-release.d.ts +70 -2
- package/dist/tools/get-repository.d.ts +70 -2
- package/dist/tools/get-status.d.ts +70 -2
- package/dist/tools/react-to-issue.d.ts +70 -2
- package/dist/tools/resolve-pull-request-review-thread.d.ts +70 -2
- package/dist/tools/submit-pull-request-review.d.ts +70 -2
- package/dist/tools/update-issue-comment.d.ts +70 -2
- package/dist/tools/update-issue.d.ts +70 -2
- package/dist/tools/update-pull-request-feedback.d.ts +70 -4
- package/dist/tools/update-pull-request.d.ts +74 -4
- package/dist/tools.d.ts +10 -1
- package/dist/webhooks/check-suite.d.ts +2 -4
- package/dist/webhooks/fail-open-log.d.ts +10 -0
- package/dist/webhooks/handler.d.ts +1 -1
- package/dist/webhooks/installation-requests.d.ts +12 -1
- package/dist/webhooks/merge-conflict.d.ts +1 -1
- package/dist/webhooks/pull-request-preview.d.ts +12 -0
- package/dist/webhooks/pull-request-ready-reviewers.d.ts +25 -0
- package/dist/webhooks/pull-request-ready.d.ts +1 -1
- package/migrations/0011_pull_request_draft.sql +1 -0
- package/migrations/meta/0011_snapshot.json +434 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +7 -4
- package/skills/github-code/SKILL.md +1 -1
- package/skills/github-code/SPEC.md +1 -1
|
@@ -13,7 +13,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
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" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
17
17
|
title: string;
|
|
18
18
|
url: string | null;
|
|
19
19
|
description?: string | undefined;
|
|
@@ -24,6 +24,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
24
24
|
sourceUpdatedAt?: string | undefined;
|
|
25
25
|
facts?: {
|
|
26
26
|
type: "code_change";
|
|
27
|
+
summary?: string | undefined;
|
|
27
28
|
author?: string | undefined;
|
|
28
29
|
sourceBranch?: string | undefined;
|
|
29
30
|
targetBranch?: string | undefined;
|
|
@@ -38,8 +39,10 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
38
39
|
changedFiles?: number | undefined;
|
|
39
40
|
additions?: number | undefined;
|
|
40
41
|
deletions?: number | undefined;
|
|
42
|
+
previewImageUrls?: string[] | undefined;
|
|
41
43
|
} | {
|
|
42
44
|
type: "task";
|
|
45
|
+
summary?: string | undefined;
|
|
43
46
|
assignees?: string[] | undefined;
|
|
44
47
|
priority?: string | undefined;
|
|
45
48
|
project?: string | undefined;
|
|
@@ -48,14 +51,45 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
48
51
|
labels?: string[] | undefined;
|
|
49
52
|
} | {
|
|
50
53
|
type: "deployment";
|
|
54
|
+
summary?: string | undefined;
|
|
51
55
|
project?: string | undefined;
|
|
52
56
|
environment?: string | undefined;
|
|
53
57
|
revision?: string | undefined;
|
|
54
58
|
branch?: string | undefined;
|
|
55
59
|
} | {
|
|
56
60
|
type: "calendar_event";
|
|
61
|
+
summary?: string | undefined;
|
|
57
62
|
when?: string | undefined;
|
|
58
63
|
attendees?: string[] | undefined;
|
|
64
|
+
} | {
|
|
65
|
+
type: "conversation";
|
|
66
|
+
summary?: string | undefined;
|
|
67
|
+
participants?: string[] | undefined;
|
|
68
|
+
lastActivityAt?: string | undefined;
|
|
69
|
+
} | {
|
|
70
|
+
type: "document";
|
|
71
|
+
summary?: string | undefined;
|
|
72
|
+
owner?: string | undefined;
|
|
73
|
+
modifiedAt?: string | undefined;
|
|
74
|
+
} | {
|
|
75
|
+
type: "message";
|
|
76
|
+
summary?: string | undefined;
|
|
77
|
+
channel?: string | undefined;
|
|
78
|
+
author?: string | undefined;
|
|
79
|
+
sentAt?: string | undefined;
|
|
80
|
+
} | {
|
|
81
|
+
type: "web_page";
|
|
82
|
+
summary?: string | undefined;
|
|
83
|
+
siteName?: string | undefined;
|
|
84
|
+
author?: string | undefined;
|
|
85
|
+
thumbnailUrl?: string | undefined;
|
|
86
|
+
} | {
|
|
87
|
+
type: "person";
|
|
88
|
+
summary?: string | undefined;
|
|
89
|
+
email?: string | undefined;
|
|
90
|
+
slackHandle?: string | undefined;
|
|
91
|
+
githubHandle?: string | undefined;
|
|
92
|
+
avatarUrl?: string | undefined;
|
|
59
93
|
} | undefined;
|
|
60
94
|
}[] | undefined;
|
|
61
95
|
reply?: {
|
|
@@ -68,6 +102,16 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
68
102
|
reason?: string | undefined;
|
|
69
103
|
} | undefined;
|
|
70
104
|
base: string;
|
|
105
|
+
checks: {
|
|
106
|
+
required: "failing" | "not_reported" | "passing" | "pending";
|
|
107
|
+
failing: string[];
|
|
108
|
+
pending: string[];
|
|
109
|
+
passing: string[];
|
|
110
|
+
incomplete?: true | undefined;
|
|
111
|
+
merge_state: string;
|
|
112
|
+
review_decision: string | null;
|
|
113
|
+
auto_merge: boolean;
|
|
114
|
+
};
|
|
71
115
|
draft: boolean;
|
|
72
116
|
head: string;
|
|
73
117
|
head_sha: string;
|
|
@@ -91,7 +135,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
91
135
|
kind: "object";
|
|
92
136
|
key: string;
|
|
93
137
|
label: string;
|
|
94
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
138
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
95
139
|
title: string;
|
|
96
140
|
url: string | null;
|
|
97
141
|
description?: string | undefined;
|
|
@@ -102,6 +146,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
102
146
|
sourceUpdatedAt?: string | undefined;
|
|
103
147
|
facts?: {
|
|
104
148
|
type: "code_change";
|
|
149
|
+
summary?: string | undefined;
|
|
105
150
|
author?: string | undefined;
|
|
106
151
|
sourceBranch?: string | undefined;
|
|
107
152
|
targetBranch?: string | undefined;
|
|
@@ -116,8 +161,10 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
116
161
|
changedFiles?: number | undefined;
|
|
117
162
|
additions?: number | undefined;
|
|
118
163
|
deletions?: number | undefined;
|
|
164
|
+
previewImageUrls?: string[] | undefined;
|
|
119
165
|
} | {
|
|
120
166
|
type: "task";
|
|
167
|
+
summary?: string | undefined;
|
|
121
168
|
assignees?: string[] | undefined;
|
|
122
169
|
priority?: string | undefined;
|
|
123
170
|
project?: string | undefined;
|
|
@@ -126,14 +173,45 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
126
173
|
labels?: string[] | undefined;
|
|
127
174
|
} | {
|
|
128
175
|
type: "deployment";
|
|
176
|
+
summary?: string | undefined;
|
|
129
177
|
project?: string | undefined;
|
|
130
178
|
environment?: string | undefined;
|
|
131
179
|
revision?: string | undefined;
|
|
132
180
|
branch?: string | undefined;
|
|
133
181
|
} | {
|
|
134
182
|
type: "calendar_event";
|
|
183
|
+
summary?: string | undefined;
|
|
135
184
|
when?: string | undefined;
|
|
136
185
|
attendees?: string[] | undefined;
|
|
186
|
+
} | {
|
|
187
|
+
type: "conversation";
|
|
188
|
+
summary?: string | undefined;
|
|
189
|
+
participants?: string[] | undefined;
|
|
190
|
+
lastActivityAt?: string | undefined;
|
|
191
|
+
} | {
|
|
192
|
+
type: "document";
|
|
193
|
+
summary?: string | undefined;
|
|
194
|
+
owner?: string | undefined;
|
|
195
|
+
modifiedAt?: string | undefined;
|
|
196
|
+
} | {
|
|
197
|
+
type: "message";
|
|
198
|
+
summary?: string | undefined;
|
|
199
|
+
channel?: string | undefined;
|
|
200
|
+
author?: string | undefined;
|
|
201
|
+
sentAt?: string | undefined;
|
|
202
|
+
} | {
|
|
203
|
+
type: "web_page";
|
|
204
|
+
summary?: string | undefined;
|
|
205
|
+
siteName?: string | undefined;
|
|
206
|
+
author?: string | undefined;
|
|
207
|
+
thumbnailUrl?: string | undefined;
|
|
208
|
+
} | {
|
|
209
|
+
type: "person";
|
|
210
|
+
summary?: string | undefined;
|
|
211
|
+
email?: string | undefined;
|
|
212
|
+
slackHandle?: string | undefined;
|
|
213
|
+
githubHandle?: string | undefined;
|
|
214
|
+
avatarUrl?: string | undefined;
|
|
137
215
|
} | undefined;
|
|
138
216
|
}[] | undefined;
|
|
139
217
|
reply?: {
|
|
@@ -146,6 +224,16 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
146
224
|
reason?: string | undefined;
|
|
147
225
|
} | undefined;
|
|
148
226
|
base: string;
|
|
227
|
+
checks: {
|
|
228
|
+
required: "failing" | "not_reported" | "passing" | "pending";
|
|
229
|
+
failing: string[];
|
|
230
|
+
pending: string[];
|
|
231
|
+
passing: string[];
|
|
232
|
+
incomplete?: true | undefined;
|
|
233
|
+
merge_state: string;
|
|
234
|
+
review_decision: string | null;
|
|
235
|
+
auto_merge: boolean;
|
|
236
|
+
};
|
|
149
237
|
draft: boolean;
|
|
150
238
|
head: string;
|
|
151
239
|
head_sha: string;
|
|
@@ -13,7 +13,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
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" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
17
17
|
title: string;
|
|
18
18
|
url: string | null;
|
|
19
19
|
description?: string | undefined;
|
|
@@ -24,6 +24,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
24
24
|
sourceUpdatedAt?: string | undefined;
|
|
25
25
|
facts?: {
|
|
26
26
|
type: "code_change";
|
|
27
|
+
summary?: string | undefined;
|
|
27
28
|
author?: string | undefined;
|
|
28
29
|
sourceBranch?: string | undefined;
|
|
29
30
|
targetBranch?: string | undefined;
|
|
@@ -38,8 +39,10 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
38
39
|
changedFiles?: number | undefined;
|
|
39
40
|
additions?: number | undefined;
|
|
40
41
|
deletions?: number | undefined;
|
|
42
|
+
previewImageUrls?: string[] | undefined;
|
|
41
43
|
} | {
|
|
42
44
|
type: "task";
|
|
45
|
+
summary?: string | undefined;
|
|
43
46
|
assignees?: string[] | undefined;
|
|
44
47
|
priority?: string | undefined;
|
|
45
48
|
project?: string | undefined;
|
|
@@ -48,14 +51,45 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
48
51
|
labels?: string[] | undefined;
|
|
49
52
|
} | {
|
|
50
53
|
type: "deployment";
|
|
54
|
+
summary?: string | undefined;
|
|
51
55
|
project?: string | undefined;
|
|
52
56
|
environment?: string | undefined;
|
|
53
57
|
revision?: string | undefined;
|
|
54
58
|
branch?: string | undefined;
|
|
55
59
|
} | {
|
|
56
60
|
type: "calendar_event";
|
|
61
|
+
summary?: string | undefined;
|
|
57
62
|
when?: string | undefined;
|
|
58
63
|
attendees?: string[] | undefined;
|
|
64
|
+
} | {
|
|
65
|
+
type: "conversation";
|
|
66
|
+
summary?: string | undefined;
|
|
67
|
+
participants?: string[] | undefined;
|
|
68
|
+
lastActivityAt?: string | undefined;
|
|
69
|
+
} | {
|
|
70
|
+
type: "document";
|
|
71
|
+
summary?: string | undefined;
|
|
72
|
+
owner?: string | undefined;
|
|
73
|
+
modifiedAt?: string | undefined;
|
|
74
|
+
} | {
|
|
75
|
+
type: "message";
|
|
76
|
+
summary?: string | undefined;
|
|
77
|
+
channel?: string | undefined;
|
|
78
|
+
author?: string | undefined;
|
|
79
|
+
sentAt?: string | undefined;
|
|
80
|
+
} | {
|
|
81
|
+
type: "web_page";
|
|
82
|
+
summary?: string | undefined;
|
|
83
|
+
siteName?: string | undefined;
|
|
84
|
+
author?: string | undefined;
|
|
85
|
+
thumbnailUrl?: string | undefined;
|
|
86
|
+
} | {
|
|
87
|
+
type: "person";
|
|
88
|
+
summary?: string | undefined;
|
|
89
|
+
email?: string | undefined;
|
|
90
|
+
slackHandle?: string | undefined;
|
|
91
|
+
githubHandle?: string | undefined;
|
|
92
|
+
avatarUrl?: string | undefined;
|
|
59
93
|
} | undefined;
|
|
60
94
|
}[] | undefined;
|
|
61
95
|
reply?: {
|
|
@@ -95,7 +129,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
95
129
|
kind: "object";
|
|
96
130
|
key: string;
|
|
97
131
|
label: string;
|
|
98
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
132
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
99
133
|
title: string;
|
|
100
134
|
url: string | null;
|
|
101
135
|
description?: string | undefined;
|
|
@@ -106,6 +140,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
106
140
|
sourceUpdatedAt?: string | undefined;
|
|
107
141
|
facts?: {
|
|
108
142
|
type: "code_change";
|
|
143
|
+
summary?: string | undefined;
|
|
109
144
|
author?: string | undefined;
|
|
110
145
|
sourceBranch?: string | undefined;
|
|
111
146
|
targetBranch?: string | undefined;
|
|
@@ -120,8 +155,10 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
120
155
|
changedFiles?: number | undefined;
|
|
121
156
|
additions?: number | undefined;
|
|
122
157
|
deletions?: number | undefined;
|
|
158
|
+
previewImageUrls?: string[] | undefined;
|
|
123
159
|
} | {
|
|
124
160
|
type: "task";
|
|
161
|
+
summary?: string | undefined;
|
|
125
162
|
assignees?: string[] | undefined;
|
|
126
163
|
priority?: string | undefined;
|
|
127
164
|
project?: string | undefined;
|
|
@@ -130,14 +167,45 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
130
167
|
labels?: string[] | undefined;
|
|
131
168
|
} | {
|
|
132
169
|
type: "deployment";
|
|
170
|
+
summary?: string | undefined;
|
|
133
171
|
project?: string | undefined;
|
|
134
172
|
environment?: string | undefined;
|
|
135
173
|
revision?: string | undefined;
|
|
136
174
|
branch?: string | undefined;
|
|
137
175
|
} | {
|
|
138
176
|
type: "calendar_event";
|
|
177
|
+
summary?: string | undefined;
|
|
139
178
|
when?: string | undefined;
|
|
140
179
|
attendees?: string[] | undefined;
|
|
180
|
+
} | {
|
|
181
|
+
type: "conversation";
|
|
182
|
+
summary?: string | undefined;
|
|
183
|
+
participants?: string[] | undefined;
|
|
184
|
+
lastActivityAt?: string | undefined;
|
|
185
|
+
} | {
|
|
186
|
+
type: "document";
|
|
187
|
+
summary?: string | undefined;
|
|
188
|
+
owner?: string | undefined;
|
|
189
|
+
modifiedAt?: string | undefined;
|
|
190
|
+
} | {
|
|
191
|
+
type: "message";
|
|
192
|
+
summary?: string | undefined;
|
|
193
|
+
channel?: string | undefined;
|
|
194
|
+
author?: string | undefined;
|
|
195
|
+
sentAt?: string | undefined;
|
|
196
|
+
} | {
|
|
197
|
+
type: "web_page";
|
|
198
|
+
summary?: string | undefined;
|
|
199
|
+
siteName?: string | undefined;
|
|
200
|
+
author?: string | undefined;
|
|
201
|
+
thumbnailUrl?: string | undefined;
|
|
202
|
+
} | {
|
|
203
|
+
type: "person";
|
|
204
|
+
summary?: string | undefined;
|
|
205
|
+
email?: string | undefined;
|
|
206
|
+
slackHandle?: string | undefined;
|
|
207
|
+
githubHandle?: string | undefined;
|
|
208
|
+
avatarUrl?: string | undefined;
|
|
141
209
|
} | undefined;
|
|
142
210
|
}[] | undefined;
|
|
143
211
|
reply?: {
|
|
@@ -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" | "deployment" | "item" | "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;
|
|
@@ -37,8 +38,10 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
37
38
|
changedFiles?: number | undefined;
|
|
38
39
|
additions?: number | undefined;
|
|
39
40
|
deletions?: number | undefined;
|
|
41
|
+
previewImageUrls?: string[] | undefined;
|
|
40
42
|
} | {
|
|
41
43
|
type: "task";
|
|
44
|
+
summary?: string | undefined;
|
|
42
45
|
assignees?: string[] | undefined;
|
|
43
46
|
priority?: string | undefined;
|
|
44
47
|
project?: string | undefined;
|
|
@@ -47,14 +50,45 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
47
50
|
labels?: string[] | undefined;
|
|
48
51
|
} | {
|
|
49
52
|
type: "deployment";
|
|
53
|
+
summary?: string | undefined;
|
|
50
54
|
project?: string | undefined;
|
|
51
55
|
environment?: string | undefined;
|
|
52
56
|
revision?: string | undefined;
|
|
53
57
|
branch?: string | undefined;
|
|
54
58
|
} | {
|
|
55
59
|
type: "calendar_event";
|
|
60
|
+
summary?: string | undefined;
|
|
56
61
|
when?: string | undefined;
|
|
57
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;
|
|
58
92
|
} | undefined;
|
|
59
93
|
}[] | undefined;
|
|
60
94
|
reply?: {
|
|
@@ -86,7 +120,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
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 createGitHubGetRepositoryTool(ctx: {
|
|
|
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 createGitHubGetRepositoryTool(ctx: {
|
|
|
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 createGitHubGetRepositoryTool(ctx: {
|
|
|
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?: {
|
|
@@ -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" | "deployment" | "item" | "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;
|
|
@@ -33,8 +34,10 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
33
34
|
changedFiles?: number | undefined;
|
|
34
35
|
additions?: number | undefined;
|
|
35
36
|
deletions?: number | undefined;
|
|
37
|
+
previewImageUrls?: string[] | undefined;
|
|
36
38
|
} | {
|
|
37
39
|
type: "task";
|
|
40
|
+
summary?: string | undefined;
|
|
38
41
|
assignees?: string[] | undefined;
|
|
39
42
|
priority?: string | undefined;
|
|
40
43
|
project?: string | undefined;
|
|
@@ -43,14 +46,45 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
43
46
|
labels?: string[] | undefined;
|
|
44
47
|
} | {
|
|
45
48
|
type: "deployment";
|
|
49
|
+
summary?: string | undefined;
|
|
46
50
|
project?: string | undefined;
|
|
47
51
|
environment?: string | undefined;
|
|
48
52
|
revision?: string | undefined;
|
|
49
53
|
branch?: string | undefined;
|
|
50
54
|
} | {
|
|
51
55
|
type: "calendar_event";
|
|
56
|
+
summary?: string | undefined;
|
|
52
57
|
when?: string | undefined;
|
|
53
58
|
attendees?: string[] | undefined;
|
|
59
|
+
} | {
|
|
60
|
+
type: "conversation";
|
|
61
|
+
summary?: string | undefined;
|
|
62
|
+
participants?: string[] | undefined;
|
|
63
|
+
lastActivityAt?: string | undefined;
|
|
64
|
+
} | {
|
|
65
|
+
type: "document";
|
|
66
|
+
summary?: string | undefined;
|
|
67
|
+
owner?: string | undefined;
|
|
68
|
+
modifiedAt?: string | undefined;
|
|
69
|
+
} | {
|
|
70
|
+
type: "message";
|
|
71
|
+
summary?: string | undefined;
|
|
72
|
+
channel?: string | undefined;
|
|
73
|
+
author?: string | undefined;
|
|
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;
|
|
81
|
+
} | {
|
|
82
|
+
type: "person";
|
|
83
|
+
summary?: string | undefined;
|
|
84
|
+
email?: string | undefined;
|
|
85
|
+
slackHandle?: string | undefined;
|
|
86
|
+
githubHandle?: string | undefined;
|
|
87
|
+
avatarUrl?: string | undefined;
|
|
54
88
|
} | undefined;
|
|
55
89
|
}[] | undefined;
|
|
56
90
|
reply?: {
|
|
@@ -78,7 +112,7 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
78
112
|
kind: "object";
|
|
79
113
|
key: string;
|
|
80
114
|
label: string;
|
|
81
|
-
objectType: "automation" | "calendar_event" | "code_change" | "deployment" | "item" | "task";
|
|
115
|
+
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
82
116
|
title: string;
|
|
83
117
|
url: string | null;
|
|
84
118
|
description?: string | undefined;
|
|
@@ -89,6 +123,7 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
89
123
|
sourceUpdatedAt?: string | undefined;
|
|
90
124
|
facts?: {
|
|
91
125
|
type: "code_change";
|
|
126
|
+
summary?: string | undefined;
|
|
92
127
|
author?: string | undefined;
|
|
93
128
|
sourceBranch?: string | undefined;
|
|
94
129
|
targetBranch?: string | undefined;
|
|
@@ -103,8 +138,10 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
103
138
|
changedFiles?: number | undefined;
|
|
104
139
|
additions?: number | undefined;
|
|
105
140
|
deletions?: number | undefined;
|
|
141
|
+
previewImageUrls?: string[] | undefined;
|
|
106
142
|
} | {
|
|
107
143
|
type: "task";
|
|
144
|
+
summary?: string | undefined;
|
|
108
145
|
assignees?: string[] | undefined;
|
|
109
146
|
priority?: string | undefined;
|
|
110
147
|
project?: string | undefined;
|
|
@@ -113,14 +150,45 @@ export declare function createGitHubGetStatusTool(ctx: {
|
|
|
113
150
|
labels?: string[] | undefined;
|
|
114
151
|
} | {
|
|
115
152
|
type: "deployment";
|
|
153
|
+
summary?: string | undefined;
|
|
116
154
|
project?: string | undefined;
|
|
117
155
|
environment?: string | undefined;
|
|
118
156
|
revision?: string | undefined;
|
|
119
157
|
branch?: string | undefined;
|
|
120
158
|
} | {
|
|
121
159
|
type: "calendar_event";
|
|
160
|
+
summary?: string | undefined;
|
|
122
161
|
when?: string | undefined;
|
|
123
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;
|
|
124
192
|
} | undefined;
|
|
125
193
|
}[] | undefined;
|
|
126
194
|
reply?: {
|