@sentry/junior-github 0.301.0 → 0.302.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-YUF5P5I7.js → chunk-6SOJ5TN6.js} +142 -31
- package/dist/clone-command.d.ts +2 -0
- package/dist/db/schema.d.ts +23 -14
- package/dist/draft-readiness.d.ts +31 -0
- package/dist/events/pull-request.d.ts +1 -1
- package/dist/events/repository.d.ts +1 -1
- package/dist/graphql-documents.d.ts +13 -0
- package/dist/hooks-path-command.d.ts +5 -0
- package/dist/index.js +2060 -1699
- package/dist/merge-conflict-checks/heartbeat.d.ts +9 -5
- package/dist/merge-conflict-checks/policy.d.ts +74 -0
- package/dist/pull-request-outcomes/reconcile.d.ts +2 -1
- package/dist/pull-request-outcomes/store.d.ts +15 -10
- package/dist/testing.js +1 -1
- package/dist/tool-support/github-text.d.ts +2 -2
- package/dist/tools/clone-repository.d.ts +89 -7
- package/dist/tools/comment-on-issue.d.ts +87 -3
- package/dist/tools/comment-on-pull-request.d.ts +87 -3
- package/dist/tools/create-issue.d.ts +86 -4
- package/dist/tools/create-pull-request.d.ts +88 -6
- package/dist/tools/get-deployment.d.ts +90 -8
- package/dist/tools/get-issue.d.ts +98 -16
- package/dist/tools/get-pull-request.d.ts +112 -9
- package/dist/tools/get-release.d.ts +90 -8
- package/dist/tools/get-repository.d.ts +90 -8
- package/dist/tools/get-status.d.ts +87 -5
- package/dist/tools/react-to-issue.d.ts +87 -3
- package/dist/tools/resolve-pull-request-review-thread.d.ts +87 -5
- package/dist/tools/submit-pull-request-review.d.ts +87 -3
- package/dist/tools/update-issue-comment.d.ts +87 -3
- package/dist/tools/update-issue.d.ts +106 -24
- package/dist/tools/update-pull-request-feedback.d.ts +87 -5
- package/dist/tools/update-pull-request.d.ts +109 -26
- package/dist/tools.d.ts +3 -3
- package/dist/webhooks/check-suite.d.ts +30 -3
- package/dist/webhooks/handler.d.ts +2 -0
- package/dist/webhooks/installation-requests.d.ts +8 -1
- package/dist/webhooks/merge-conflict.d.ts +7 -2
- package/dist/webhooks/pull-request-action.d.ts +37 -0
- package/migrations/0012_pull_request_next_action.sql +5 -0
- package/migrations/meta/0012_snapshot.json +434 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +3 -2
- package/skills/github-code/SKILL.md +1 -1
- package/skills/github-code/SPEC.md +2 -2
- package/skills/github-code/references/workflow.md +1 -1
- package/dist/webhooks/pull-request-ready.d.ts +0 -31
- package/dist/webhooks/pull-request-review-request.d.ts +0 -32
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import { type PluginEgress } from "@sentry/junior-plugin-api";
|
|
1
|
+
import { type PluginConversationToolContext, type PluginEgress } from "@sentry/junior-plugin-api";
|
|
2
2
|
/** Read one PR and expose its stable subscription identity when webhooks are enabled. */
|
|
3
|
-
export declare
|
|
4
|
-
egress: PluginEgress;
|
|
5
|
-
events: {
|
|
6
|
-
canSubscribe: boolean;
|
|
7
|
-
};
|
|
8
|
-
}): import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
3
|
+
export declare const gitHubGetPullRequestTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
9
4
|
repo: string;
|
|
10
5
|
number: number;
|
|
11
6
|
}, {
|
|
@@ -13,7 +8,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
13
8
|
kind: "object";
|
|
14
9
|
key: string;
|
|
15
10
|
label: string;
|
|
16
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
11
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
17
12
|
title: string;
|
|
18
13
|
url: string | null;
|
|
19
14
|
description?: string | undefined;
|
|
@@ -49,6 +44,10 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
49
44
|
cycle?: string | undefined;
|
|
50
45
|
dueDate?: string | undefined;
|
|
51
46
|
labels?: string[] | undefined;
|
|
47
|
+
trend?: {
|
|
48
|
+
label: string;
|
|
49
|
+
points: number[];
|
|
50
|
+
} | undefined;
|
|
52
51
|
} | {
|
|
53
52
|
type: "deployment";
|
|
54
53
|
summary?: string | undefined;
|
|
@@ -71,6 +70,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
71
70
|
summary?: string | undefined;
|
|
72
71
|
owner?: string | undefined;
|
|
73
72
|
modifiedAt?: string | undefined;
|
|
73
|
+
thumbnailUrl?: string | undefined;
|
|
74
74
|
} | {
|
|
75
75
|
type: "message";
|
|
76
76
|
summary?: string | undefined;
|
|
@@ -82,7 +82,43 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
82
82
|
summary?: string | undefined;
|
|
83
83
|
siteName?: string | undefined;
|
|
84
84
|
author?: string | undefined;
|
|
85
|
+
media?: "image" | "video" | undefined;
|
|
85
86
|
thumbnailUrl?: string | undefined;
|
|
87
|
+
} | {
|
|
88
|
+
type: "chart";
|
|
89
|
+
summary?: string | undefined;
|
|
90
|
+
display: "area" | "bar" | "line";
|
|
91
|
+
yAxis: string;
|
|
92
|
+
range: string;
|
|
93
|
+
series: {
|
|
94
|
+
label: string;
|
|
95
|
+
points: number[];
|
|
96
|
+
}[];
|
|
97
|
+
} | {
|
|
98
|
+
type: "event";
|
|
99
|
+
summary?: string | undefined;
|
|
100
|
+
level?: string | undefined;
|
|
101
|
+
project?: string | undefined;
|
|
102
|
+
release?: string | undefined;
|
|
103
|
+
environment?: string | undefined;
|
|
104
|
+
occurredAt?: string | undefined;
|
|
105
|
+
} | {
|
|
106
|
+
type: "trace";
|
|
107
|
+
summary?: string | undefined;
|
|
108
|
+
rootOp?: string | undefined;
|
|
109
|
+
rootName?: string | undefined;
|
|
110
|
+
durationMs: number;
|
|
111
|
+
spanCount: number;
|
|
112
|
+
errorCount: number;
|
|
113
|
+
performanceIssueCount: number;
|
|
114
|
+
projects: string[];
|
|
115
|
+
spans: {
|
|
116
|
+
op?: string | undefined;
|
|
117
|
+
name: string;
|
|
118
|
+
startMs: number;
|
|
119
|
+
durationMs: number;
|
|
120
|
+
issue?: boolean | undefined;
|
|
121
|
+
}[];
|
|
86
122
|
} | {
|
|
87
123
|
type: "person";
|
|
88
124
|
summary?: string | undefined;
|
|
@@ -102,6 +138,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
102
138
|
reason?: string | undefined;
|
|
103
139
|
} | undefined;
|
|
104
140
|
base: string;
|
|
141
|
+
agents_md?: string | undefined;
|
|
105
142
|
checks: {
|
|
106
143
|
required: "failing" | "not_reported" | "passing" | "pending";
|
|
107
144
|
failing: string[];
|
|
@@ -112,11 +149,20 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
112
149
|
review_decision: string | null;
|
|
113
150
|
auto_merge: boolean;
|
|
114
151
|
};
|
|
152
|
+
code_owners?: string[] | undefined;
|
|
115
153
|
draft: boolean;
|
|
116
154
|
head: string;
|
|
117
155
|
head_sha: string;
|
|
118
156
|
merged: boolean;
|
|
119
157
|
number: number;
|
|
158
|
+
related_conversations?: {
|
|
159
|
+
conversation_id: string;
|
|
160
|
+
root_conversation_id?: string | undefined;
|
|
161
|
+
status: "idle" | "paused" | "pending" | "running";
|
|
162
|
+
title?: string | undefined;
|
|
163
|
+
summary?: string | undefined;
|
|
164
|
+
updated_at: string;
|
|
165
|
+
}[] | undefined;
|
|
120
166
|
state: string;
|
|
121
167
|
subscribable?: {
|
|
122
168
|
identifier: string;
|
|
@@ -135,7 +181,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
135
181
|
kind: "object";
|
|
136
182
|
key: string;
|
|
137
183
|
label: string;
|
|
138
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
184
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
139
185
|
title: string;
|
|
140
186
|
url: string | null;
|
|
141
187
|
description?: string | undefined;
|
|
@@ -171,6 +217,10 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
171
217
|
cycle?: string | undefined;
|
|
172
218
|
dueDate?: string | undefined;
|
|
173
219
|
labels?: string[] | undefined;
|
|
220
|
+
trend?: {
|
|
221
|
+
label: string;
|
|
222
|
+
points: number[];
|
|
223
|
+
} | undefined;
|
|
174
224
|
} | {
|
|
175
225
|
type: "deployment";
|
|
176
226
|
summary?: string | undefined;
|
|
@@ -193,6 +243,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
193
243
|
summary?: string | undefined;
|
|
194
244
|
owner?: string | undefined;
|
|
195
245
|
modifiedAt?: string | undefined;
|
|
246
|
+
thumbnailUrl?: string | undefined;
|
|
196
247
|
} | {
|
|
197
248
|
type: "message";
|
|
198
249
|
summary?: string | undefined;
|
|
@@ -204,7 +255,43 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
204
255
|
summary?: string | undefined;
|
|
205
256
|
siteName?: string | undefined;
|
|
206
257
|
author?: string | undefined;
|
|
258
|
+
media?: "image" | "video" | undefined;
|
|
207
259
|
thumbnailUrl?: string | undefined;
|
|
260
|
+
} | {
|
|
261
|
+
type: "chart";
|
|
262
|
+
summary?: string | undefined;
|
|
263
|
+
display: "area" | "bar" | "line";
|
|
264
|
+
yAxis: string;
|
|
265
|
+
range: string;
|
|
266
|
+
series: {
|
|
267
|
+
label: string;
|
|
268
|
+
points: number[];
|
|
269
|
+
}[];
|
|
270
|
+
} | {
|
|
271
|
+
type: "event";
|
|
272
|
+
summary?: string | undefined;
|
|
273
|
+
level?: string | undefined;
|
|
274
|
+
project?: string | undefined;
|
|
275
|
+
release?: string | undefined;
|
|
276
|
+
environment?: string | undefined;
|
|
277
|
+
occurredAt?: string | undefined;
|
|
278
|
+
} | {
|
|
279
|
+
type: "trace";
|
|
280
|
+
summary?: string | undefined;
|
|
281
|
+
rootOp?: string | undefined;
|
|
282
|
+
rootName?: string | undefined;
|
|
283
|
+
durationMs: number;
|
|
284
|
+
spanCount: number;
|
|
285
|
+
errorCount: number;
|
|
286
|
+
performanceIssueCount: number;
|
|
287
|
+
projects: string[];
|
|
288
|
+
spans: {
|
|
289
|
+
op?: string | undefined;
|
|
290
|
+
name: string;
|
|
291
|
+
startMs: number;
|
|
292
|
+
durationMs: number;
|
|
293
|
+
issue?: boolean | undefined;
|
|
294
|
+
}[];
|
|
208
295
|
} | {
|
|
209
296
|
type: "person";
|
|
210
297
|
summary?: string | undefined;
|
|
@@ -224,6 +311,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
224
311
|
reason?: string | undefined;
|
|
225
312
|
} | undefined;
|
|
226
313
|
base: string;
|
|
314
|
+
agents_md?: string | undefined;
|
|
227
315
|
checks: {
|
|
228
316
|
required: "failing" | "not_reported" | "passing" | "pending";
|
|
229
317
|
failing: string[];
|
|
@@ -234,11 +322,20 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
234
322
|
review_decision: string | null;
|
|
235
323
|
auto_merge: boolean;
|
|
236
324
|
};
|
|
325
|
+
code_owners?: string[] | undefined;
|
|
237
326
|
draft: boolean;
|
|
238
327
|
head: string;
|
|
239
328
|
head_sha: string;
|
|
240
329
|
merged: boolean;
|
|
241
330
|
number: number;
|
|
331
|
+
related_conversations?: {
|
|
332
|
+
conversation_id: string;
|
|
333
|
+
root_conversation_id?: string | undefined;
|
|
334
|
+
status: "idle" | "paused" | "pending" | "running";
|
|
335
|
+
title?: string | undefined;
|
|
336
|
+
summary?: string | undefined;
|
|
337
|
+
updated_at: string;
|
|
338
|
+
}[] | undefined;
|
|
242
339
|
state: string;
|
|
243
340
|
subscribable?: {
|
|
244
341
|
identifier: string;
|
|
@@ -252,4 +349,10 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
252
349
|
title: string;
|
|
253
350
|
url: string;
|
|
254
351
|
target: "getPullRequest";
|
|
352
|
+
}, {
|
|
353
|
+
conversations?: PluginConversationToolContext;
|
|
354
|
+
egress: PluginEgress;
|
|
355
|
+
events: {
|
|
356
|
+
canSubscribe: boolean;
|
|
357
|
+
};
|
|
255
358
|
}>;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { type PluginEgress } from "@sentry/junior-plugin-api";
|
|
2
2
|
/** Read release metadata and expose its stable subscription identity. */
|
|
3
|
-
export declare
|
|
4
|
-
egress: PluginEgress;
|
|
5
|
-
events: {
|
|
6
|
-
canSubscribe: boolean;
|
|
7
|
-
};
|
|
8
|
-
}): import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
3
|
+
export declare const gitHubGetReleaseTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
9
4
|
repo: string;
|
|
10
5
|
tag?: string | undefined;
|
|
11
6
|
}, {
|
|
@@ -13,7 +8,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
13
8
|
kind: "object";
|
|
14
9
|
key: string;
|
|
15
10
|
label: string;
|
|
16
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
11
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
17
12
|
title: string;
|
|
18
13
|
url: string | null;
|
|
19
14
|
description?: string | undefined;
|
|
@@ -49,6 +44,10 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
49
44
|
cycle?: string | undefined;
|
|
50
45
|
dueDate?: string | undefined;
|
|
51
46
|
labels?: string[] | undefined;
|
|
47
|
+
trend?: {
|
|
48
|
+
label: string;
|
|
49
|
+
points: number[];
|
|
50
|
+
} | undefined;
|
|
52
51
|
} | {
|
|
53
52
|
type: "deployment";
|
|
54
53
|
summary?: string | undefined;
|
|
@@ -71,6 +70,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
71
70
|
summary?: string | undefined;
|
|
72
71
|
owner?: string | undefined;
|
|
73
72
|
modifiedAt?: string | undefined;
|
|
73
|
+
thumbnailUrl?: string | undefined;
|
|
74
74
|
} | {
|
|
75
75
|
type: "message";
|
|
76
76
|
summary?: string | undefined;
|
|
@@ -82,7 +82,43 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
82
82
|
summary?: string | undefined;
|
|
83
83
|
siteName?: string | undefined;
|
|
84
84
|
author?: string | undefined;
|
|
85
|
+
media?: "image" | "video" | undefined;
|
|
85
86
|
thumbnailUrl?: string | undefined;
|
|
87
|
+
} | {
|
|
88
|
+
type: "chart";
|
|
89
|
+
summary?: string | undefined;
|
|
90
|
+
display: "area" | "bar" | "line";
|
|
91
|
+
yAxis: string;
|
|
92
|
+
range: string;
|
|
93
|
+
series: {
|
|
94
|
+
label: string;
|
|
95
|
+
points: number[];
|
|
96
|
+
}[];
|
|
97
|
+
} | {
|
|
98
|
+
type: "event";
|
|
99
|
+
summary?: string | undefined;
|
|
100
|
+
level?: string | undefined;
|
|
101
|
+
project?: string | undefined;
|
|
102
|
+
release?: string | undefined;
|
|
103
|
+
environment?: string | undefined;
|
|
104
|
+
occurredAt?: string | undefined;
|
|
105
|
+
} | {
|
|
106
|
+
type: "trace";
|
|
107
|
+
summary?: string | undefined;
|
|
108
|
+
rootOp?: string | undefined;
|
|
109
|
+
rootName?: string | undefined;
|
|
110
|
+
durationMs: number;
|
|
111
|
+
spanCount: number;
|
|
112
|
+
errorCount: number;
|
|
113
|
+
performanceIssueCount: number;
|
|
114
|
+
projects: string[];
|
|
115
|
+
spans: {
|
|
116
|
+
op?: string | undefined;
|
|
117
|
+
name: string;
|
|
118
|
+
startMs: number;
|
|
119
|
+
durationMs: number;
|
|
120
|
+
issue?: boolean | undefined;
|
|
121
|
+
}[];
|
|
86
122
|
} | {
|
|
87
123
|
type: "person";
|
|
88
124
|
summary?: string | undefined;
|
|
@@ -129,7 +165,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
129
165
|
kind: "object";
|
|
130
166
|
key: string;
|
|
131
167
|
label: string;
|
|
132
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
168
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
133
169
|
title: string;
|
|
134
170
|
url: string | null;
|
|
135
171
|
description?: string | undefined;
|
|
@@ -165,6 +201,10 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
165
201
|
cycle?: string | undefined;
|
|
166
202
|
dueDate?: string | undefined;
|
|
167
203
|
labels?: string[] | undefined;
|
|
204
|
+
trend?: {
|
|
205
|
+
label: string;
|
|
206
|
+
points: number[];
|
|
207
|
+
} | undefined;
|
|
168
208
|
} | {
|
|
169
209
|
type: "deployment";
|
|
170
210
|
summary?: string | undefined;
|
|
@@ -187,6 +227,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
187
227
|
summary?: string | undefined;
|
|
188
228
|
owner?: string | undefined;
|
|
189
229
|
modifiedAt?: string | undefined;
|
|
230
|
+
thumbnailUrl?: string | undefined;
|
|
190
231
|
} | {
|
|
191
232
|
type: "message";
|
|
192
233
|
summary?: string | undefined;
|
|
@@ -198,7 +239,43 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
198
239
|
summary?: string | undefined;
|
|
199
240
|
siteName?: string | undefined;
|
|
200
241
|
author?: string | undefined;
|
|
242
|
+
media?: "image" | "video" | undefined;
|
|
201
243
|
thumbnailUrl?: string | undefined;
|
|
244
|
+
} | {
|
|
245
|
+
type: "chart";
|
|
246
|
+
summary?: string | undefined;
|
|
247
|
+
display: "area" | "bar" | "line";
|
|
248
|
+
yAxis: string;
|
|
249
|
+
range: string;
|
|
250
|
+
series: {
|
|
251
|
+
label: string;
|
|
252
|
+
points: number[];
|
|
253
|
+
}[];
|
|
254
|
+
} | {
|
|
255
|
+
type: "event";
|
|
256
|
+
summary?: string | undefined;
|
|
257
|
+
level?: string | undefined;
|
|
258
|
+
project?: string | undefined;
|
|
259
|
+
release?: string | undefined;
|
|
260
|
+
environment?: string | undefined;
|
|
261
|
+
occurredAt?: string | undefined;
|
|
262
|
+
} | {
|
|
263
|
+
type: "trace";
|
|
264
|
+
summary?: string | undefined;
|
|
265
|
+
rootOp?: string | undefined;
|
|
266
|
+
rootName?: string | undefined;
|
|
267
|
+
durationMs: number;
|
|
268
|
+
spanCount: number;
|
|
269
|
+
errorCount: number;
|
|
270
|
+
performanceIssueCount: number;
|
|
271
|
+
projects: string[];
|
|
272
|
+
spans: {
|
|
273
|
+
op?: string | undefined;
|
|
274
|
+
name: string;
|
|
275
|
+
startMs: number;
|
|
276
|
+
durationMs: number;
|
|
277
|
+
issue?: boolean | undefined;
|
|
278
|
+
}[];
|
|
202
279
|
} | {
|
|
203
280
|
type: "person";
|
|
204
281
|
summary?: string | undefined;
|
|
@@ -240,4 +317,9 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
240
317
|
} | undefined;
|
|
241
318
|
tag: string | null;
|
|
242
319
|
target: "getRelease";
|
|
320
|
+
}, {
|
|
321
|
+
egress: PluginEgress;
|
|
322
|
+
events: {
|
|
323
|
+
canSubscribe: boolean;
|
|
324
|
+
};
|
|
243
325
|
}>;
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { type PluginEgress } from "@sentry/junior-plugin-api";
|
|
2
2
|
/** Read one repository and expose its stable subscription identity. */
|
|
3
|
-
export declare
|
|
4
|
-
egress: PluginEgress;
|
|
5
|
-
events: {
|
|
6
|
-
canSubscribe: boolean;
|
|
7
|
-
};
|
|
8
|
-
}): import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
3
|
+
export declare const gitHubGetRepositoryTool: import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
9
4
|
repo: string;
|
|
10
5
|
}, {
|
|
11
6
|
objectAnnotations?: {
|
|
12
7
|
kind: "object";
|
|
13
8
|
key: string;
|
|
14
9
|
label: string;
|
|
15
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
10
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
16
11
|
title: string;
|
|
17
12
|
url: string | null;
|
|
18
13
|
description?: string | undefined;
|
|
@@ -48,6 +43,10 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
48
43
|
cycle?: string | undefined;
|
|
49
44
|
dueDate?: string | undefined;
|
|
50
45
|
labels?: string[] | undefined;
|
|
46
|
+
trend?: {
|
|
47
|
+
label: string;
|
|
48
|
+
points: number[];
|
|
49
|
+
} | undefined;
|
|
51
50
|
} | {
|
|
52
51
|
type: "deployment";
|
|
53
52
|
summary?: string | undefined;
|
|
@@ -70,6 +69,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
70
69
|
summary?: string | undefined;
|
|
71
70
|
owner?: string | undefined;
|
|
72
71
|
modifiedAt?: string | undefined;
|
|
72
|
+
thumbnailUrl?: string | undefined;
|
|
73
73
|
} | {
|
|
74
74
|
type: "message";
|
|
75
75
|
summary?: string | undefined;
|
|
@@ -81,7 +81,43 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
81
81
|
summary?: string | undefined;
|
|
82
82
|
siteName?: string | undefined;
|
|
83
83
|
author?: string | undefined;
|
|
84
|
+
media?: "image" | "video" | undefined;
|
|
84
85
|
thumbnailUrl?: string | undefined;
|
|
86
|
+
} | {
|
|
87
|
+
type: "chart";
|
|
88
|
+
summary?: string | undefined;
|
|
89
|
+
display: "area" | "bar" | "line";
|
|
90
|
+
yAxis: string;
|
|
91
|
+
range: string;
|
|
92
|
+
series: {
|
|
93
|
+
label: string;
|
|
94
|
+
points: number[];
|
|
95
|
+
}[];
|
|
96
|
+
} | {
|
|
97
|
+
type: "event";
|
|
98
|
+
summary?: string | undefined;
|
|
99
|
+
level?: string | undefined;
|
|
100
|
+
project?: string | undefined;
|
|
101
|
+
release?: string | undefined;
|
|
102
|
+
environment?: string | undefined;
|
|
103
|
+
occurredAt?: string | undefined;
|
|
104
|
+
} | {
|
|
105
|
+
type: "trace";
|
|
106
|
+
summary?: string | undefined;
|
|
107
|
+
rootOp?: string | undefined;
|
|
108
|
+
rootName?: string | undefined;
|
|
109
|
+
durationMs: number;
|
|
110
|
+
spanCount: number;
|
|
111
|
+
errorCount: number;
|
|
112
|
+
performanceIssueCount: number;
|
|
113
|
+
projects: string[];
|
|
114
|
+
spans: {
|
|
115
|
+
op?: string | undefined;
|
|
116
|
+
name: string;
|
|
117
|
+
startMs: number;
|
|
118
|
+
durationMs: number;
|
|
119
|
+
issue?: boolean | undefined;
|
|
120
|
+
}[];
|
|
85
121
|
} | {
|
|
86
122
|
type: "person";
|
|
87
123
|
summary?: string | undefined;
|
|
@@ -120,7 +156,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
120
156
|
kind: "object";
|
|
121
157
|
key: string;
|
|
122
158
|
label: string;
|
|
123
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
159
|
+
objectType: "automation" | "calendar_event" | "chart" | "code_change" | "conversation" | "deployment" | "document" | "event" | "item" | "message" | "person" | "task" | "trace" | "web_page";
|
|
124
160
|
title: string;
|
|
125
161
|
url: string | null;
|
|
126
162
|
description?: string | undefined;
|
|
@@ -156,6 +192,10 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
156
192
|
cycle?: string | undefined;
|
|
157
193
|
dueDate?: string | undefined;
|
|
158
194
|
labels?: string[] | undefined;
|
|
195
|
+
trend?: {
|
|
196
|
+
label: string;
|
|
197
|
+
points: number[];
|
|
198
|
+
} | undefined;
|
|
159
199
|
} | {
|
|
160
200
|
type: "deployment";
|
|
161
201
|
summary?: string | undefined;
|
|
@@ -178,6 +218,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
178
218
|
summary?: string | undefined;
|
|
179
219
|
owner?: string | undefined;
|
|
180
220
|
modifiedAt?: string | undefined;
|
|
221
|
+
thumbnailUrl?: string | undefined;
|
|
181
222
|
} | {
|
|
182
223
|
type: "message";
|
|
183
224
|
summary?: string | undefined;
|
|
@@ -189,7 +230,43 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
189
230
|
summary?: string | undefined;
|
|
190
231
|
siteName?: string | undefined;
|
|
191
232
|
author?: string | undefined;
|
|
233
|
+
media?: "image" | "video" | undefined;
|
|
192
234
|
thumbnailUrl?: string | undefined;
|
|
235
|
+
} | {
|
|
236
|
+
type: "chart";
|
|
237
|
+
summary?: string | undefined;
|
|
238
|
+
display: "area" | "bar" | "line";
|
|
239
|
+
yAxis: string;
|
|
240
|
+
range: string;
|
|
241
|
+
series: {
|
|
242
|
+
label: string;
|
|
243
|
+
points: number[];
|
|
244
|
+
}[];
|
|
245
|
+
} | {
|
|
246
|
+
type: "event";
|
|
247
|
+
summary?: string | undefined;
|
|
248
|
+
level?: string | undefined;
|
|
249
|
+
project?: string | undefined;
|
|
250
|
+
release?: string | undefined;
|
|
251
|
+
environment?: string | undefined;
|
|
252
|
+
occurredAt?: string | undefined;
|
|
253
|
+
} | {
|
|
254
|
+
type: "trace";
|
|
255
|
+
summary?: string | undefined;
|
|
256
|
+
rootOp?: string | undefined;
|
|
257
|
+
rootName?: string | undefined;
|
|
258
|
+
durationMs: number;
|
|
259
|
+
spanCount: number;
|
|
260
|
+
errorCount: number;
|
|
261
|
+
performanceIssueCount: number;
|
|
262
|
+
projects: string[];
|
|
263
|
+
spans: {
|
|
264
|
+
op?: string | undefined;
|
|
265
|
+
name: string;
|
|
266
|
+
startMs: number;
|
|
267
|
+
durationMs: number;
|
|
268
|
+
issue?: boolean | undefined;
|
|
269
|
+
}[];
|
|
193
270
|
} | {
|
|
194
271
|
type: "person";
|
|
195
272
|
summary?: string | undefined;
|
|
@@ -223,4 +300,9 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
223
300
|
} | undefined;
|
|
224
301
|
url: string;
|
|
225
302
|
target: "getRepository";
|
|
303
|
+
}, {
|
|
304
|
+
egress: PluginEgress;
|
|
305
|
+
events: {
|
|
306
|
+
canSubscribe: boolean;
|
|
307
|
+
};
|
|
226
308
|
}>;
|