@sentry/junior-github 0.225.0 → 0.227.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/annotations.d.ts +2 -0
- package/dist/index.js +462 -378
- package/dist/object-facts.d.ts +3 -0
- package/dist/tools/clone-repository.d.ts +68 -2
- package/dist/tools/create-issue.d.ts +68 -2
- package/dist/tools/create-pull-request.d.ts +68 -2
- package/dist/tools/get-deployment.d.ts +68 -2
- package/dist/tools/get-pull-request.d.ts +68 -2
- package/dist/tools/get-release.d.ts +68 -2
- package/dist/tools/get-repository.d.ts +68 -2
- package/dist/tools/resolve-pull-request-review-thread.d.ts +68 -2
- package/dist/tools/submit-pull-request-review.d.ts +68 -2
- package/dist/tools/update-issue.d.ts +68 -2
- package/dist/tools/update-pull-request-feedback.d.ts +69 -3
- package/dist/tools/update-pull-request.d.ts +68 -2
- package/package.json +2 -2
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ObjectAnnotation } from "@sentry/junior-plugin-api";
|
|
2
|
+
/** Select card facts from GitHub REST responses; never infer reviews or checks. */
|
|
3
|
+
export declare function githubObjectFacts(type: "task" | "code_change", response: unknown): Pick<ObjectAnnotation, "facts" | "sourceUpdatedAt">;
|
|
@@ -16,13 +16,46 @@ export declare function createGitHubCloneRepositoryTool(ctx: {
|
|
|
16
16
|
kind: "object";
|
|
17
17
|
key: string;
|
|
18
18
|
label: string;
|
|
19
|
-
objectType: "
|
|
19
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
20
20
|
title: string;
|
|
21
21
|
url: string | null;
|
|
22
22
|
description?: string | undefined;
|
|
23
23
|
status?: string | undefined;
|
|
24
24
|
trigger?: string | undefined;
|
|
25
25
|
warning?: string | undefined;
|
|
26
|
+
displayType?: string | undefined;
|
|
27
|
+
sourceUpdatedAt?: string | undefined;
|
|
28
|
+
facts?: {
|
|
29
|
+
type: "code_change";
|
|
30
|
+
author?: string | undefined;
|
|
31
|
+
sourceBranch?: string | undefined;
|
|
32
|
+
targetBranch?: string | undefined;
|
|
33
|
+
reviewers?: string[] | undefined;
|
|
34
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
35
|
+
checks?: {
|
|
36
|
+
passed: number;
|
|
37
|
+
failed: number;
|
|
38
|
+
pending: number;
|
|
39
|
+
} | undefined;
|
|
40
|
+
mergeable?: boolean | undefined;
|
|
41
|
+
changedFiles?: number | undefined;
|
|
42
|
+
additions?: number | undefined;
|
|
43
|
+
deletions?: number | undefined;
|
|
44
|
+
} | {
|
|
45
|
+
type: "task";
|
|
46
|
+
assignees?: string[] | undefined;
|
|
47
|
+
priority?: string | undefined;
|
|
48
|
+
project?: string | undefined;
|
|
49
|
+
cycle?: string | undefined;
|
|
50
|
+
dueDate?: string | undefined;
|
|
51
|
+
labels?: string[] | undefined;
|
|
52
|
+
} | {
|
|
53
|
+
type: "deployment";
|
|
54
|
+
project?: string | undefined;
|
|
55
|
+
environment?: string | undefined;
|
|
56
|
+
revision?: string | undefined;
|
|
57
|
+
branch?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
26
59
|
}[] | undefined;
|
|
27
60
|
truncated?: boolean | undefined;
|
|
28
61
|
continuation?: {
|
|
@@ -37,13 +70,46 @@ export declare function createGitHubCloneRepositoryTool(ctx: {
|
|
|
37
70
|
kind: "object";
|
|
38
71
|
key: string;
|
|
39
72
|
label: string;
|
|
40
|
-
objectType: "
|
|
73
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
41
74
|
title: string;
|
|
42
75
|
url: string | null;
|
|
43
76
|
description?: string | undefined;
|
|
44
77
|
status?: string | undefined;
|
|
45
78
|
trigger?: string | undefined;
|
|
46
79
|
warning?: string | undefined;
|
|
80
|
+
displayType?: string | undefined;
|
|
81
|
+
sourceUpdatedAt?: string | undefined;
|
|
82
|
+
facts?: {
|
|
83
|
+
type: "code_change";
|
|
84
|
+
author?: string | undefined;
|
|
85
|
+
sourceBranch?: string | undefined;
|
|
86
|
+
targetBranch?: string | undefined;
|
|
87
|
+
reviewers?: string[] | undefined;
|
|
88
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
89
|
+
checks?: {
|
|
90
|
+
passed: number;
|
|
91
|
+
failed: number;
|
|
92
|
+
pending: number;
|
|
93
|
+
} | undefined;
|
|
94
|
+
mergeable?: boolean | undefined;
|
|
95
|
+
changedFiles?: number | undefined;
|
|
96
|
+
additions?: number | undefined;
|
|
97
|
+
deletions?: number | undefined;
|
|
98
|
+
} | {
|
|
99
|
+
type: "task";
|
|
100
|
+
assignees?: string[] | undefined;
|
|
101
|
+
priority?: string | undefined;
|
|
102
|
+
project?: string | undefined;
|
|
103
|
+
cycle?: string | undefined;
|
|
104
|
+
dueDate?: string | undefined;
|
|
105
|
+
labels?: string[] | undefined;
|
|
106
|
+
} | {
|
|
107
|
+
type: "deployment";
|
|
108
|
+
project?: string | undefined;
|
|
109
|
+
environment?: string | undefined;
|
|
110
|
+
revision?: string | undefined;
|
|
111
|
+
branch?: string | undefined;
|
|
112
|
+
} | undefined;
|
|
47
113
|
}[] | undefined;
|
|
48
114
|
truncated?: boolean | undefined;
|
|
49
115
|
continuation?: {
|
|
@@ -13,13 +13,46 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
|
|
|
13
13
|
kind: "object";
|
|
14
14
|
key: string;
|
|
15
15
|
label: string;
|
|
16
|
-
objectType: "
|
|
16
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
17
17
|
title: string;
|
|
18
18
|
url: string | null;
|
|
19
19
|
description?: string | undefined;
|
|
20
20
|
status?: string | undefined;
|
|
21
21
|
trigger?: string | undefined;
|
|
22
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?: "required" | "approved" | "changes_requested" | 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
|
+
} | undefined;
|
|
23
56
|
}[] | undefined;
|
|
24
57
|
truncated?: boolean | undefined;
|
|
25
58
|
continuation?: {
|
|
@@ -42,13 +75,46 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
|
|
|
42
75
|
kind: "object";
|
|
43
76
|
key: string;
|
|
44
77
|
label: string;
|
|
45
|
-
objectType: "
|
|
78
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
46
79
|
title: string;
|
|
47
80
|
url: string | null;
|
|
48
81
|
description?: string | undefined;
|
|
49
82
|
status?: string | undefined;
|
|
50
83
|
trigger?: string | undefined;
|
|
51
84
|
warning?: string | undefined;
|
|
85
|
+
displayType?: string | undefined;
|
|
86
|
+
sourceUpdatedAt?: string | undefined;
|
|
87
|
+
facts?: {
|
|
88
|
+
type: "code_change";
|
|
89
|
+
author?: string | undefined;
|
|
90
|
+
sourceBranch?: string | undefined;
|
|
91
|
+
targetBranch?: string | undefined;
|
|
92
|
+
reviewers?: string[] | undefined;
|
|
93
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
94
|
+
checks?: {
|
|
95
|
+
passed: number;
|
|
96
|
+
failed: number;
|
|
97
|
+
pending: number;
|
|
98
|
+
} | undefined;
|
|
99
|
+
mergeable?: boolean | undefined;
|
|
100
|
+
changedFiles?: number | undefined;
|
|
101
|
+
additions?: number | undefined;
|
|
102
|
+
deletions?: number | undefined;
|
|
103
|
+
} | {
|
|
104
|
+
type: "task";
|
|
105
|
+
assignees?: string[] | undefined;
|
|
106
|
+
priority?: string | undefined;
|
|
107
|
+
project?: string | undefined;
|
|
108
|
+
cycle?: string | undefined;
|
|
109
|
+
dueDate?: string | undefined;
|
|
110
|
+
labels?: string[] | undefined;
|
|
111
|
+
} | {
|
|
112
|
+
type: "deployment";
|
|
113
|
+
project?: string | undefined;
|
|
114
|
+
environment?: string | undefined;
|
|
115
|
+
revision?: string | undefined;
|
|
116
|
+
branch?: string | undefined;
|
|
117
|
+
} | undefined;
|
|
52
118
|
}[] | undefined;
|
|
53
119
|
truncated?: boolean | undefined;
|
|
54
120
|
continuation?: {
|
|
@@ -16,13 +16,46 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
|
|
|
16
16
|
kind: "object";
|
|
17
17
|
key: string;
|
|
18
18
|
label: string;
|
|
19
|
-
objectType: "
|
|
19
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
20
20
|
title: string;
|
|
21
21
|
url: string | null;
|
|
22
22
|
description?: string | undefined;
|
|
23
23
|
status?: string | undefined;
|
|
24
24
|
trigger?: string | undefined;
|
|
25
25
|
warning?: string | undefined;
|
|
26
|
+
displayType?: string | undefined;
|
|
27
|
+
sourceUpdatedAt?: string | undefined;
|
|
28
|
+
facts?: {
|
|
29
|
+
type: "code_change";
|
|
30
|
+
author?: string | undefined;
|
|
31
|
+
sourceBranch?: string | undefined;
|
|
32
|
+
targetBranch?: string | undefined;
|
|
33
|
+
reviewers?: string[] | undefined;
|
|
34
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
35
|
+
checks?: {
|
|
36
|
+
passed: number;
|
|
37
|
+
failed: number;
|
|
38
|
+
pending: number;
|
|
39
|
+
} | undefined;
|
|
40
|
+
mergeable?: boolean | undefined;
|
|
41
|
+
changedFiles?: number | undefined;
|
|
42
|
+
additions?: number | undefined;
|
|
43
|
+
deletions?: number | undefined;
|
|
44
|
+
} | {
|
|
45
|
+
type: "task";
|
|
46
|
+
assignees?: string[] | undefined;
|
|
47
|
+
priority?: string | undefined;
|
|
48
|
+
project?: string | undefined;
|
|
49
|
+
cycle?: string | undefined;
|
|
50
|
+
dueDate?: string | undefined;
|
|
51
|
+
labels?: string[] | undefined;
|
|
52
|
+
} | {
|
|
53
|
+
type: "deployment";
|
|
54
|
+
project?: string | undefined;
|
|
55
|
+
environment?: string | undefined;
|
|
56
|
+
revision?: string | undefined;
|
|
57
|
+
branch?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
26
59
|
}[] | undefined;
|
|
27
60
|
truncated?: boolean | undefined;
|
|
28
61
|
continuation?: {
|
|
@@ -49,13 +82,46 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
|
|
|
49
82
|
kind: "object";
|
|
50
83
|
key: string;
|
|
51
84
|
label: string;
|
|
52
|
-
objectType: "
|
|
85
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
53
86
|
title: string;
|
|
54
87
|
url: string | null;
|
|
55
88
|
description?: string | undefined;
|
|
56
89
|
status?: string | undefined;
|
|
57
90
|
trigger?: string | undefined;
|
|
58
91
|
warning?: string | undefined;
|
|
92
|
+
displayType?: string | undefined;
|
|
93
|
+
sourceUpdatedAt?: string | undefined;
|
|
94
|
+
facts?: {
|
|
95
|
+
type: "code_change";
|
|
96
|
+
author?: string | undefined;
|
|
97
|
+
sourceBranch?: string | undefined;
|
|
98
|
+
targetBranch?: string | undefined;
|
|
99
|
+
reviewers?: string[] | undefined;
|
|
100
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
101
|
+
checks?: {
|
|
102
|
+
passed: number;
|
|
103
|
+
failed: number;
|
|
104
|
+
pending: number;
|
|
105
|
+
} | undefined;
|
|
106
|
+
mergeable?: boolean | undefined;
|
|
107
|
+
changedFiles?: number | undefined;
|
|
108
|
+
additions?: number | undefined;
|
|
109
|
+
deletions?: number | undefined;
|
|
110
|
+
} | {
|
|
111
|
+
type: "task";
|
|
112
|
+
assignees?: string[] | undefined;
|
|
113
|
+
priority?: string | undefined;
|
|
114
|
+
project?: string | undefined;
|
|
115
|
+
cycle?: string | undefined;
|
|
116
|
+
dueDate?: string | undefined;
|
|
117
|
+
labels?: string[] | undefined;
|
|
118
|
+
} | {
|
|
119
|
+
type: "deployment";
|
|
120
|
+
project?: string | undefined;
|
|
121
|
+
environment?: string | undefined;
|
|
122
|
+
revision?: string | undefined;
|
|
123
|
+
branch?: string | undefined;
|
|
124
|
+
} | undefined;
|
|
59
125
|
}[] | undefined;
|
|
60
126
|
truncated?: boolean | undefined;
|
|
61
127
|
continuation?: {
|
|
@@ -38,13 +38,46 @@ export declare function createGitHubGetDeploymentTool(ctx: {
|
|
|
38
38
|
kind: "object";
|
|
39
39
|
key: string;
|
|
40
40
|
label: string;
|
|
41
|
-
objectType: "
|
|
41
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
42
42
|
title: string;
|
|
43
43
|
url: string | null;
|
|
44
44
|
description?: string | undefined;
|
|
45
45
|
status?: string | undefined;
|
|
46
46
|
trigger?: string | undefined;
|
|
47
47
|
warning?: string | undefined;
|
|
48
|
+
displayType?: string | undefined;
|
|
49
|
+
sourceUpdatedAt?: string | undefined;
|
|
50
|
+
facts?: {
|
|
51
|
+
type: "code_change";
|
|
52
|
+
author?: string | undefined;
|
|
53
|
+
sourceBranch?: string | undefined;
|
|
54
|
+
targetBranch?: string | undefined;
|
|
55
|
+
reviewers?: string[] | undefined;
|
|
56
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
57
|
+
checks?: {
|
|
58
|
+
passed: number;
|
|
59
|
+
failed: number;
|
|
60
|
+
pending: number;
|
|
61
|
+
} | undefined;
|
|
62
|
+
mergeable?: boolean | undefined;
|
|
63
|
+
changedFiles?: number | undefined;
|
|
64
|
+
additions?: number | undefined;
|
|
65
|
+
deletions?: number | undefined;
|
|
66
|
+
} | {
|
|
67
|
+
type: "task";
|
|
68
|
+
assignees?: string[] | undefined;
|
|
69
|
+
priority?: string | undefined;
|
|
70
|
+
project?: string | undefined;
|
|
71
|
+
cycle?: string | undefined;
|
|
72
|
+
dueDate?: string | undefined;
|
|
73
|
+
labels?: string[] | undefined;
|
|
74
|
+
} | {
|
|
75
|
+
type: "deployment";
|
|
76
|
+
project?: string | undefined;
|
|
77
|
+
environment?: string | undefined;
|
|
78
|
+
revision?: string | undefined;
|
|
79
|
+
branch?: string | undefined;
|
|
80
|
+
} | undefined;
|
|
48
81
|
}[] | undefined;
|
|
49
82
|
truncated?: boolean | undefined;
|
|
50
83
|
continuation?: {
|
|
@@ -88,13 +121,46 @@ export declare function createGitHubGetDeploymentTool(ctx: {
|
|
|
88
121
|
kind: "object";
|
|
89
122
|
key: string;
|
|
90
123
|
label: string;
|
|
91
|
-
objectType: "
|
|
124
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
92
125
|
title: string;
|
|
93
126
|
url: string | null;
|
|
94
127
|
description?: string | undefined;
|
|
95
128
|
status?: string | undefined;
|
|
96
129
|
trigger?: string | undefined;
|
|
97
130
|
warning?: string | undefined;
|
|
131
|
+
displayType?: string | undefined;
|
|
132
|
+
sourceUpdatedAt?: string | undefined;
|
|
133
|
+
facts?: {
|
|
134
|
+
type: "code_change";
|
|
135
|
+
author?: string | undefined;
|
|
136
|
+
sourceBranch?: string | undefined;
|
|
137
|
+
targetBranch?: string | undefined;
|
|
138
|
+
reviewers?: string[] | undefined;
|
|
139
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
140
|
+
checks?: {
|
|
141
|
+
passed: number;
|
|
142
|
+
failed: number;
|
|
143
|
+
pending: number;
|
|
144
|
+
} | undefined;
|
|
145
|
+
mergeable?: boolean | undefined;
|
|
146
|
+
changedFiles?: number | undefined;
|
|
147
|
+
additions?: number | undefined;
|
|
148
|
+
deletions?: number | undefined;
|
|
149
|
+
} | {
|
|
150
|
+
type: "task";
|
|
151
|
+
assignees?: string[] | undefined;
|
|
152
|
+
priority?: string | undefined;
|
|
153
|
+
project?: string | undefined;
|
|
154
|
+
cycle?: string | undefined;
|
|
155
|
+
dueDate?: string | undefined;
|
|
156
|
+
labels?: string[] | undefined;
|
|
157
|
+
} | {
|
|
158
|
+
type: "deployment";
|
|
159
|
+
project?: string | undefined;
|
|
160
|
+
environment?: string | undefined;
|
|
161
|
+
revision?: string | undefined;
|
|
162
|
+
branch?: string | undefined;
|
|
163
|
+
} | undefined;
|
|
98
164
|
}[] | undefined;
|
|
99
165
|
truncated?: boolean | undefined;
|
|
100
166
|
continuation?: {
|
|
@@ -23,13 +23,46 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
23
23
|
kind: "object";
|
|
24
24
|
key: string;
|
|
25
25
|
label: string;
|
|
26
|
-
objectType: "
|
|
26
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
27
27
|
title: string;
|
|
28
28
|
url: string | null;
|
|
29
29
|
description?: string | undefined;
|
|
30
30
|
status?: string | undefined;
|
|
31
31
|
trigger?: string | undefined;
|
|
32
32
|
warning?: string | undefined;
|
|
33
|
+
displayType?: string | undefined;
|
|
34
|
+
sourceUpdatedAt?: string | undefined;
|
|
35
|
+
facts?: {
|
|
36
|
+
type: "code_change";
|
|
37
|
+
author?: string | undefined;
|
|
38
|
+
sourceBranch?: string | undefined;
|
|
39
|
+
targetBranch?: string | undefined;
|
|
40
|
+
reviewers?: string[] | undefined;
|
|
41
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
42
|
+
checks?: {
|
|
43
|
+
passed: number;
|
|
44
|
+
failed: number;
|
|
45
|
+
pending: number;
|
|
46
|
+
} | undefined;
|
|
47
|
+
mergeable?: boolean | undefined;
|
|
48
|
+
changedFiles?: number | undefined;
|
|
49
|
+
additions?: number | undefined;
|
|
50
|
+
deletions?: number | undefined;
|
|
51
|
+
} | {
|
|
52
|
+
type: "task";
|
|
53
|
+
assignees?: string[] | undefined;
|
|
54
|
+
priority?: string | undefined;
|
|
55
|
+
project?: string | undefined;
|
|
56
|
+
cycle?: string | undefined;
|
|
57
|
+
dueDate?: string | undefined;
|
|
58
|
+
labels?: string[] | undefined;
|
|
59
|
+
} | {
|
|
60
|
+
type: "deployment";
|
|
61
|
+
project?: string | undefined;
|
|
62
|
+
environment?: string | undefined;
|
|
63
|
+
revision?: string | undefined;
|
|
64
|
+
branch?: string | undefined;
|
|
65
|
+
} | undefined;
|
|
33
66
|
}[] | undefined;
|
|
34
67
|
truncated?: boolean | undefined;
|
|
35
68
|
continuation?: {
|
|
@@ -59,13 +92,46 @@ export declare function createGitHubGetPullRequestTool(ctx: {
|
|
|
59
92
|
kind: "object";
|
|
60
93
|
key: string;
|
|
61
94
|
label: string;
|
|
62
|
-
objectType: "
|
|
95
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
63
96
|
title: string;
|
|
64
97
|
url: string | null;
|
|
65
98
|
description?: string | undefined;
|
|
66
99
|
status?: string | undefined;
|
|
67
100
|
trigger?: string | undefined;
|
|
68
101
|
warning?: string | undefined;
|
|
102
|
+
displayType?: string | undefined;
|
|
103
|
+
sourceUpdatedAt?: string | undefined;
|
|
104
|
+
facts?: {
|
|
105
|
+
type: "code_change";
|
|
106
|
+
author?: string | undefined;
|
|
107
|
+
sourceBranch?: string | undefined;
|
|
108
|
+
targetBranch?: string | undefined;
|
|
109
|
+
reviewers?: string[] | undefined;
|
|
110
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
111
|
+
checks?: {
|
|
112
|
+
passed: number;
|
|
113
|
+
failed: number;
|
|
114
|
+
pending: number;
|
|
115
|
+
} | undefined;
|
|
116
|
+
mergeable?: boolean | undefined;
|
|
117
|
+
changedFiles?: number | undefined;
|
|
118
|
+
additions?: number | undefined;
|
|
119
|
+
deletions?: number | undefined;
|
|
120
|
+
} | {
|
|
121
|
+
type: "task";
|
|
122
|
+
assignees?: string[] | undefined;
|
|
123
|
+
priority?: string | undefined;
|
|
124
|
+
project?: string | undefined;
|
|
125
|
+
cycle?: string | undefined;
|
|
126
|
+
dueDate?: string | undefined;
|
|
127
|
+
labels?: string[] | undefined;
|
|
128
|
+
} | {
|
|
129
|
+
type: "deployment";
|
|
130
|
+
project?: string | undefined;
|
|
131
|
+
environment?: string | undefined;
|
|
132
|
+
revision?: string | undefined;
|
|
133
|
+
branch?: string | undefined;
|
|
134
|
+
} | undefined;
|
|
69
135
|
}[] | undefined;
|
|
70
136
|
truncated?: boolean | undefined;
|
|
71
137
|
continuation?: {
|
|
@@ -27,13 +27,46 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
27
27
|
kind: "object";
|
|
28
28
|
key: string;
|
|
29
29
|
label: string;
|
|
30
|
-
objectType: "
|
|
30
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
31
31
|
title: string;
|
|
32
32
|
url: string | null;
|
|
33
33
|
description?: string | undefined;
|
|
34
34
|
status?: string | undefined;
|
|
35
35
|
trigger?: string | undefined;
|
|
36
36
|
warning?: string | undefined;
|
|
37
|
+
displayType?: string | undefined;
|
|
38
|
+
sourceUpdatedAt?: string | undefined;
|
|
39
|
+
facts?: {
|
|
40
|
+
type: "code_change";
|
|
41
|
+
author?: string | undefined;
|
|
42
|
+
sourceBranch?: string | undefined;
|
|
43
|
+
targetBranch?: string | undefined;
|
|
44
|
+
reviewers?: string[] | undefined;
|
|
45
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
46
|
+
checks?: {
|
|
47
|
+
passed: number;
|
|
48
|
+
failed: number;
|
|
49
|
+
pending: number;
|
|
50
|
+
} | undefined;
|
|
51
|
+
mergeable?: boolean | undefined;
|
|
52
|
+
changedFiles?: number | undefined;
|
|
53
|
+
additions?: number | undefined;
|
|
54
|
+
deletions?: number | undefined;
|
|
55
|
+
} | {
|
|
56
|
+
type: "task";
|
|
57
|
+
assignees?: string[] | undefined;
|
|
58
|
+
priority?: string | undefined;
|
|
59
|
+
project?: string | undefined;
|
|
60
|
+
cycle?: string | undefined;
|
|
61
|
+
dueDate?: string | undefined;
|
|
62
|
+
labels?: string[] | undefined;
|
|
63
|
+
} | {
|
|
64
|
+
type: "deployment";
|
|
65
|
+
project?: string | undefined;
|
|
66
|
+
environment?: string | undefined;
|
|
67
|
+
revision?: string | undefined;
|
|
68
|
+
branch?: string | undefined;
|
|
69
|
+
} | undefined;
|
|
37
70
|
}[] | undefined;
|
|
38
71
|
truncated?: boolean | undefined;
|
|
39
72
|
continuation?: {
|
|
@@ -67,13 +100,46 @@ export declare function createGitHubGetReleaseTool(ctx: {
|
|
|
67
100
|
kind: "object";
|
|
68
101
|
key: string;
|
|
69
102
|
label: string;
|
|
70
|
-
objectType: "
|
|
103
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
71
104
|
title: string;
|
|
72
105
|
url: string | null;
|
|
73
106
|
description?: string | undefined;
|
|
74
107
|
status?: string | undefined;
|
|
75
108
|
trigger?: string | undefined;
|
|
76
109
|
warning?: string | undefined;
|
|
110
|
+
displayType?: string | undefined;
|
|
111
|
+
sourceUpdatedAt?: string | undefined;
|
|
112
|
+
facts?: {
|
|
113
|
+
type: "code_change";
|
|
114
|
+
author?: string | undefined;
|
|
115
|
+
sourceBranch?: string | undefined;
|
|
116
|
+
targetBranch?: string | undefined;
|
|
117
|
+
reviewers?: string[] | undefined;
|
|
118
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
119
|
+
checks?: {
|
|
120
|
+
passed: number;
|
|
121
|
+
failed: number;
|
|
122
|
+
pending: number;
|
|
123
|
+
} | undefined;
|
|
124
|
+
mergeable?: boolean | undefined;
|
|
125
|
+
changedFiles?: number | undefined;
|
|
126
|
+
additions?: number | undefined;
|
|
127
|
+
deletions?: number | undefined;
|
|
128
|
+
} | {
|
|
129
|
+
type: "task";
|
|
130
|
+
assignees?: string[] | undefined;
|
|
131
|
+
priority?: string | undefined;
|
|
132
|
+
project?: string | undefined;
|
|
133
|
+
cycle?: string | undefined;
|
|
134
|
+
dueDate?: string | undefined;
|
|
135
|
+
labels?: string[] | undefined;
|
|
136
|
+
} | {
|
|
137
|
+
type: "deployment";
|
|
138
|
+
project?: string | undefined;
|
|
139
|
+
environment?: string | undefined;
|
|
140
|
+
revision?: string | undefined;
|
|
141
|
+
branch?: string | undefined;
|
|
142
|
+
} | undefined;
|
|
77
143
|
}[] | undefined;
|
|
78
144
|
truncated?: boolean | undefined;
|
|
79
145
|
continuation?: {
|
|
@@ -18,13 +18,46 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
18
18
|
kind: "object";
|
|
19
19
|
key: string;
|
|
20
20
|
label: string;
|
|
21
|
-
objectType: "
|
|
21
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
22
22
|
title: string;
|
|
23
23
|
url: string | null;
|
|
24
24
|
description?: string | undefined;
|
|
25
25
|
status?: string | undefined;
|
|
26
26
|
trigger?: string | undefined;
|
|
27
27
|
warning?: string | undefined;
|
|
28
|
+
displayType?: string | undefined;
|
|
29
|
+
sourceUpdatedAt?: string | undefined;
|
|
30
|
+
facts?: {
|
|
31
|
+
type: "code_change";
|
|
32
|
+
author?: string | undefined;
|
|
33
|
+
sourceBranch?: string | undefined;
|
|
34
|
+
targetBranch?: string | undefined;
|
|
35
|
+
reviewers?: string[] | undefined;
|
|
36
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
37
|
+
checks?: {
|
|
38
|
+
passed: number;
|
|
39
|
+
failed: number;
|
|
40
|
+
pending: number;
|
|
41
|
+
} | undefined;
|
|
42
|
+
mergeable?: boolean | undefined;
|
|
43
|
+
changedFiles?: number | undefined;
|
|
44
|
+
additions?: number | undefined;
|
|
45
|
+
deletions?: number | undefined;
|
|
46
|
+
} | {
|
|
47
|
+
type: "task";
|
|
48
|
+
assignees?: string[] | undefined;
|
|
49
|
+
priority?: string | undefined;
|
|
50
|
+
project?: string | undefined;
|
|
51
|
+
cycle?: string | undefined;
|
|
52
|
+
dueDate?: string | undefined;
|
|
53
|
+
labels?: string[] | undefined;
|
|
54
|
+
} | {
|
|
55
|
+
type: "deployment";
|
|
56
|
+
project?: string | undefined;
|
|
57
|
+
environment?: string | undefined;
|
|
58
|
+
revision?: string | undefined;
|
|
59
|
+
branch?: string | undefined;
|
|
60
|
+
} | undefined;
|
|
28
61
|
}[] | undefined;
|
|
29
62
|
truncated?: boolean | undefined;
|
|
30
63
|
continuation?: {
|
|
@@ -50,13 +83,46 @@ export declare function createGitHubGetRepositoryTool(ctx: {
|
|
|
50
83
|
kind: "object";
|
|
51
84
|
key: string;
|
|
52
85
|
label: string;
|
|
53
|
-
objectType: "
|
|
86
|
+
objectType: "code_change" | "task" | "automation" | "item";
|
|
54
87
|
title: string;
|
|
55
88
|
url: string | null;
|
|
56
89
|
description?: string | undefined;
|
|
57
90
|
status?: string | undefined;
|
|
58
91
|
trigger?: string | undefined;
|
|
59
92
|
warning?: string | undefined;
|
|
93
|
+
displayType?: string | undefined;
|
|
94
|
+
sourceUpdatedAt?: string | undefined;
|
|
95
|
+
facts?: {
|
|
96
|
+
type: "code_change";
|
|
97
|
+
author?: string | undefined;
|
|
98
|
+
sourceBranch?: string | undefined;
|
|
99
|
+
targetBranch?: string | undefined;
|
|
100
|
+
reviewers?: string[] | undefined;
|
|
101
|
+
review?: "required" | "approved" | "changes_requested" | undefined;
|
|
102
|
+
checks?: {
|
|
103
|
+
passed: number;
|
|
104
|
+
failed: number;
|
|
105
|
+
pending: number;
|
|
106
|
+
} | undefined;
|
|
107
|
+
mergeable?: boolean | undefined;
|
|
108
|
+
changedFiles?: number | undefined;
|
|
109
|
+
additions?: number | undefined;
|
|
110
|
+
deletions?: number | undefined;
|
|
111
|
+
} | {
|
|
112
|
+
type: "task";
|
|
113
|
+
assignees?: string[] | undefined;
|
|
114
|
+
priority?: string | undefined;
|
|
115
|
+
project?: string | undefined;
|
|
116
|
+
cycle?: string | undefined;
|
|
117
|
+
dueDate?: string | undefined;
|
|
118
|
+
labels?: string[] | undefined;
|
|
119
|
+
} | {
|
|
120
|
+
type: "deployment";
|
|
121
|
+
project?: string | undefined;
|
|
122
|
+
environment?: string | undefined;
|
|
123
|
+
revision?: string | undefined;
|
|
124
|
+
branch?: string | undefined;
|
|
125
|
+
} | undefined;
|
|
60
126
|
}[] | undefined;
|
|
61
127
|
truncated?: boolean | undefined;
|
|
62
128
|
continuation?: {
|