@sentry/junior-github 0.301.0 → 0.303.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/events-CrbJHQ0w.js +2466 -0
- package/dist/index.d.ts +71 -3
- package/dist/index.js +7294 -7881
- package/dist/testing.d.ts +51 -1
- package/dist/testing.js +1 -6
- 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 +11 -13
- 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/account-links.d.ts +0 -8
- package/dist/annotations.d.ts +0 -33
- package/dist/chunk-YUF5P5I7.js +0 -2507
- package/dist/clone-command.d.ts +0 -5
- package/dist/configured-repository.d.ts +0 -10
- package/dist/conversation-title-context.d.ts +0 -20
- package/dist/credential-support.d.ts +0 -107
- package/dist/db/database.d.ts +0 -5
- package/dist/db/schema.d.ts +0 -1403
- package/dist/default-branch.d.ts +0 -15
- package/dist/egress-policy.d.ts +0 -25
- package/dist/events/comment.d.ts +0 -14
- package/dist/events/declarations.d.ts +0 -18
- package/dist/events/deployment.d.ts +0 -38
- package/dist/events/issue.d.ts +0 -42
- package/dist/events/pull-request.d.ts +0 -75
- package/dist/events/release.d.ts +0 -42
- package/dist/events/repository.d.ts +0 -23
- package/dist/events/resource-url.d.ts +0 -5
- package/dist/events/scope.d.ts +0 -13
- package/dist/git-config.d.ts +0 -52
- package/dist/github-status.d.ts +0 -16
- package/dist/graphql-documents.d.ts +0 -31
- package/dist/images.d.ts +0 -8
- package/dist/issue-outcomes/store.d.ts +0 -42
- package/dist/merge-conflict-checks/heartbeat.d.ts +0 -27
- package/dist/merge-conflict-checks/store.d.ts +0 -44
- package/dist/merge-conflict-checks/webhooks.d.ts +0 -23
- package/dist/object-facts.d.ts +0 -29
- package/dist/permissions.d.ts +0 -6
- package/dist/plugin.d.ts +0 -45
- package/dist/pull-request-outcomes/apply.d.ts +0 -22
- package/dist/pull-request-outcomes/commit-composition.d.ts +0 -6
- package/dist/pull-request-outcomes/reconcile.d.ts +0 -41
- package/dist/pull-request-outcomes/store.d.ts +0 -115
- package/dist/pull-request-requesters/draft-reviewers.d.ts +0 -15
- package/dist/pull-request-requesters/store.d.ts +0 -41
- package/dist/pull-request-review-policy.d.ts +0 -6
- package/dist/receive-pack-policy.d.ts +0 -21
- package/dist/reply-markdown.d.ts +0 -18
- package/dist/sandbox-paths.d.ts +0 -4
- package/dist/tool-support/attribution.d.ts +0 -52
- package/dist/tool-support/github-api.d.ts +0 -51
- package/dist/tool-support/github-text.d.ts +0 -8
- package/dist/tool-support/pull-request-description.d.ts +0 -8
- package/dist/tools/clone-repository.d.ts +0 -205
- package/dist/tools/comment-on-issue.d.ts +0 -205
- package/dist/tools/comment-on-pull-request.d.ts +0 -210
- package/dist/tools/create-issue.d.ts +0 -218
- package/dist/tools/create-pull-request.d.ts +0 -240
- package/dist/tools/footer.d.ts +0 -17
- package/dist/tools/get-deployment.d.ts +0 -264
- package/dist/tools/get-issue.d.ts +0 -248
- package/dist/tools/get-pull-request.d.ts +0 -255
- package/dist/tools/get-release.d.ts +0 -243
- package/dist/tools/get-repository.d.ts +0 -226
- package/dist/tools/get-status.d.ts +0 -213
- package/dist/tools/react-to-issue.d.ts +0 -205
- package/dist/tools/resolve-pull-request-review-thread.d.ts +0 -206
- package/dist/tools/stack-pull-request.d.ts +0 -43
- package/dist/tools/submit-pull-request-review.d.ts +0 -216
- package/dist/tools/update-issue-comment.d.ts +0 -206
- package/dist/tools/update-issue.d.ts +0 -249
- package/dist/tools/update-pull-request-feedback.d.ts +0 -242
- package/dist/tools/update-pull-request.d.ts +0 -255
- package/dist/tools.d.ts +0 -13
- package/dist/webhooks/check-suite.d.ts +0 -94
- package/dist/webhooks/event-targets.d.ts +0 -44
- package/dist/webhooks/events.d.ts +0 -23
- package/dist/webhooks/fail-open-log.d.ts +0 -10
- package/dist/webhooks/handler.d.ts +0 -55
- package/dist/webhooks/installation-requests.d.ts +0 -98
- package/dist/webhooks/issue-outcome.d.ts +0 -11
- package/dist/webhooks/issue-update.d.ts +0 -8
- package/dist/webhooks/merge-conflict.d.ts +0 -48
- package/dist/webhooks/ownership.d.ts +0 -14
- package/dist/webhooks/pull-request-activity.d.ts +0 -11
- package/dist/webhooks/pull-request-match-data.d.ts +0 -31
- package/dist/webhooks/pull-request-outcome.d.ts +0 -16
- package/dist/webhooks/pull-request-people.d.ts +0 -51
- package/dist/webhooks/pull-request-preview.d.ts +0 -12
- package/dist/webhooks/pull-request-ready-reviewers.d.ts +0 -25
- package/dist/webhooks/pull-request-ready.d.ts +0 -31
- package/dist/webhooks/pull-request-review-request.d.ts +0 -32
- package/dist/workspace-prepare.d.ts +0 -3
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import { type ToolRegistrationHookContext } from "@sentry/junior-plugin-api";
|
|
2
|
-
/** Own issue creation so provider writes use host egress and the footer stays deterministic. */
|
|
3
|
-
export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext): import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
4
|
-
repo: string;
|
|
5
|
-
title: string;
|
|
6
|
-
body?: string | undefined;
|
|
7
|
-
labels?: string[] | undefined;
|
|
8
|
-
}, {
|
|
9
|
-
objectAnnotations?: {
|
|
10
|
-
kind: "object";
|
|
11
|
-
key: string;
|
|
12
|
-
label: string;
|
|
13
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
14
|
-
title: string;
|
|
15
|
-
url: string | null;
|
|
16
|
-
description?: string | undefined;
|
|
17
|
-
status?: string | undefined;
|
|
18
|
-
trigger?: string | undefined;
|
|
19
|
-
warning?: string | undefined;
|
|
20
|
-
displayType?: string | undefined;
|
|
21
|
-
sourceUpdatedAt?: string | undefined;
|
|
22
|
-
facts?: {
|
|
23
|
-
type: "code_change";
|
|
24
|
-
summary?: string | undefined;
|
|
25
|
-
author?: string | undefined;
|
|
26
|
-
sourceBranch?: string | undefined;
|
|
27
|
-
targetBranch?: string | undefined;
|
|
28
|
-
reviewers?: string[] | undefined;
|
|
29
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
30
|
-
checks?: {
|
|
31
|
-
passed: number;
|
|
32
|
-
failed: number;
|
|
33
|
-
pending: number;
|
|
34
|
-
} | undefined;
|
|
35
|
-
mergeable?: boolean | undefined;
|
|
36
|
-
changedFiles?: number | undefined;
|
|
37
|
-
additions?: number | undefined;
|
|
38
|
-
deletions?: number | undefined;
|
|
39
|
-
previewImageUrls?: string[] | undefined;
|
|
40
|
-
} | {
|
|
41
|
-
type: "task";
|
|
42
|
-
summary?: string | undefined;
|
|
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
|
-
summary?: string | undefined;
|
|
52
|
-
project?: string | undefined;
|
|
53
|
-
environment?: string | undefined;
|
|
54
|
-
revision?: string | undefined;
|
|
55
|
-
branch?: string | undefined;
|
|
56
|
-
} | {
|
|
57
|
-
type: "calendar_event";
|
|
58
|
-
summary?: string | undefined;
|
|
59
|
-
when?: string | undefined;
|
|
60
|
-
attendees?: string[] | undefined;
|
|
61
|
-
} | {
|
|
62
|
-
type: "conversation";
|
|
63
|
-
summary?: string | undefined;
|
|
64
|
-
participants?: string[] | undefined;
|
|
65
|
-
lastActivityAt?: string | undefined;
|
|
66
|
-
} | {
|
|
67
|
-
type: "document";
|
|
68
|
-
summary?: string | undefined;
|
|
69
|
-
owner?: string | undefined;
|
|
70
|
-
modifiedAt?: string | undefined;
|
|
71
|
-
} | {
|
|
72
|
-
type: "message";
|
|
73
|
-
summary?: string | undefined;
|
|
74
|
-
channel?: string | undefined;
|
|
75
|
-
author?: string | undefined;
|
|
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;
|
|
83
|
-
} | {
|
|
84
|
-
type: "person";
|
|
85
|
-
summary?: string | undefined;
|
|
86
|
-
email?: string | undefined;
|
|
87
|
-
slackHandle?: string | undefined;
|
|
88
|
-
githubHandle?: string | undefined;
|
|
89
|
-
avatarUrl?: string | undefined;
|
|
90
|
-
} | undefined;
|
|
91
|
-
}[] | undefined;
|
|
92
|
-
reply?: {
|
|
93
|
-
text: string;
|
|
94
|
-
url?: string | undefined;
|
|
95
|
-
} | undefined;
|
|
96
|
-
truncated?: boolean | undefined;
|
|
97
|
-
continuation?: {
|
|
98
|
-
arguments: Record<string, unknown>;
|
|
99
|
-
reason?: string | undefined;
|
|
100
|
-
} | undefined;
|
|
101
|
-
number: number;
|
|
102
|
-
subscribable?: {
|
|
103
|
-
identifier: string;
|
|
104
|
-
label: string;
|
|
105
|
-
match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
|
|
106
|
-
namespace: string;
|
|
107
|
-
suggested_events?: string[] | undefined;
|
|
108
|
-
supported_events: string[];
|
|
109
|
-
type: string;
|
|
110
|
-
} | undefined;
|
|
111
|
-
url: string;
|
|
112
|
-
target: "createIssue";
|
|
113
|
-
}, {
|
|
114
|
-
objectAnnotations?: {
|
|
115
|
-
kind: "object";
|
|
116
|
-
key: string;
|
|
117
|
-
label: string;
|
|
118
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
119
|
-
title: string;
|
|
120
|
-
url: string | null;
|
|
121
|
-
description?: string | undefined;
|
|
122
|
-
status?: string | undefined;
|
|
123
|
-
trigger?: string | undefined;
|
|
124
|
-
warning?: string | undefined;
|
|
125
|
-
displayType?: string | undefined;
|
|
126
|
-
sourceUpdatedAt?: string | undefined;
|
|
127
|
-
facts?: {
|
|
128
|
-
type: "code_change";
|
|
129
|
-
summary?: string | undefined;
|
|
130
|
-
author?: string | undefined;
|
|
131
|
-
sourceBranch?: string | undefined;
|
|
132
|
-
targetBranch?: string | undefined;
|
|
133
|
-
reviewers?: string[] | undefined;
|
|
134
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
135
|
-
checks?: {
|
|
136
|
-
passed: number;
|
|
137
|
-
failed: number;
|
|
138
|
-
pending: number;
|
|
139
|
-
} | undefined;
|
|
140
|
-
mergeable?: boolean | undefined;
|
|
141
|
-
changedFiles?: number | undefined;
|
|
142
|
-
additions?: number | undefined;
|
|
143
|
-
deletions?: number | undefined;
|
|
144
|
-
previewImageUrls?: string[] | undefined;
|
|
145
|
-
} | {
|
|
146
|
-
type: "task";
|
|
147
|
-
summary?: string | undefined;
|
|
148
|
-
assignees?: string[] | undefined;
|
|
149
|
-
priority?: string | undefined;
|
|
150
|
-
project?: string | undefined;
|
|
151
|
-
cycle?: string | undefined;
|
|
152
|
-
dueDate?: string | undefined;
|
|
153
|
-
labels?: string[] | undefined;
|
|
154
|
-
} | {
|
|
155
|
-
type: "deployment";
|
|
156
|
-
summary?: string | undefined;
|
|
157
|
-
project?: string | undefined;
|
|
158
|
-
environment?: string | undefined;
|
|
159
|
-
revision?: string | undefined;
|
|
160
|
-
branch?: string | undefined;
|
|
161
|
-
} | {
|
|
162
|
-
type: "calendar_event";
|
|
163
|
-
summary?: string | undefined;
|
|
164
|
-
when?: string | undefined;
|
|
165
|
-
attendees?: string[] | undefined;
|
|
166
|
-
} | {
|
|
167
|
-
type: "conversation";
|
|
168
|
-
summary?: string | undefined;
|
|
169
|
-
participants?: string[] | undefined;
|
|
170
|
-
lastActivityAt?: string | undefined;
|
|
171
|
-
} | {
|
|
172
|
-
type: "document";
|
|
173
|
-
summary?: string | undefined;
|
|
174
|
-
owner?: string | undefined;
|
|
175
|
-
modifiedAt?: string | undefined;
|
|
176
|
-
} | {
|
|
177
|
-
type: "message";
|
|
178
|
-
summary?: string | undefined;
|
|
179
|
-
channel?: string | undefined;
|
|
180
|
-
author?: string | undefined;
|
|
181
|
-
sentAt?: string | undefined;
|
|
182
|
-
} | {
|
|
183
|
-
type: "web_page";
|
|
184
|
-
summary?: string | undefined;
|
|
185
|
-
siteName?: string | undefined;
|
|
186
|
-
author?: string | undefined;
|
|
187
|
-
thumbnailUrl?: string | undefined;
|
|
188
|
-
} | {
|
|
189
|
-
type: "person";
|
|
190
|
-
summary?: string | undefined;
|
|
191
|
-
email?: string | undefined;
|
|
192
|
-
slackHandle?: string | undefined;
|
|
193
|
-
githubHandle?: string | undefined;
|
|
194
|
-
avatarUrl?: string | undefined;
|
|
195
|
-
} | undefined;
|
|
196
|
-
}[] | undefined;
|
|
197
|
-
reply?: {
|
|
198
|
-
text: string;
|
|
199
|
-
url?: string | undefined;
|
|
200
|
-
} | undefined;
|
|
201
|
-
truncated?: boolean | undefined;
|
|
202
|
-
continuation?: {
|
|
203
|
-
arguments: Record<string, unknown>;
|
|
204
|
-
reason?: string | undefined;
|
|
205
|
-
} | undefined;
|
|
206
|
-
number: number;
|
|
207
|
-
subscribable?: {
|
|
208
|
-
identifier: string;
|
|
209
|
-
label: string;
|
|
210
|
-
match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
|
|
211
|
-
namespace: string;
|
|
212
|
-
suggested_events?: string[] | undefined;
|
|
213
|
-
supported_events: string[];
|
|
214
|
-
type: string;
|
|
215
|
-
} | undefined;
|
|
216
|
-
url: string;
|
|
217
|
-
target: "createIssue";
|
|
218
|
-
}>;
|
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
import { type PluginDecider, type ToolRegistrationHookContext } from "@sentry/junior-plugin-api";
|
|
2
|
-
import { type GitHubPullRequestSubscriptionConfig } from "../events/pull-request.js";
|
|
3
|
-
/** Own PR creation so provider writes use host egress and the footer stays deterministic. */
|
|
4
|
-
export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookContext, subscriptionConfig?: GitHubPullRequestSubscriptionConfig,
|
|
5
|
-
/** Set when the description check experiment is on. */
|
|
6
|
-
descriptionDecider?: PluginDecider): import("@sentry/junior-plugin-api").PluginToolDefinition<{
|
|
7
|
-
repo: string;
|
|
8
|
-
title: string;
|
|
9
|
-
head: string;
|
|
10
|
-
base: string;
|
|
11
|
-
body?: string | undefined;
|
|
12
|
-
draft?: boolean | undefined;
|
|
13
|
-
reviewers?: string[] | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
objectAnnotations?: {
|
|
16
|
-
kind: "object";
|
|
17
|
-
key: string;
|
|
18
|
-
label: string;
|
|
19
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
20
|
-
title: string;
|
|
21
|
-
url: string | null;
|
|
22
|
-
description?: string | undefined;
|
|
23
|
-
status?: string | undefined;
|
|
24
|
-
trigger?: string | undefined;
|
|
25
|
-
warning?: string | undefined;
|
|
26
|
-
displayType?: string | undefined;
|
|
27
|
-
sourceUpdatedAt?: string | undefined;
|
|
28
|
-
facts?: {
|
|
29
|
-
type: "code_change";
|
|
30
|
-
summary?: string | undefined;
|
|
31
|
-
author?: string | undefined;
|
|
32
|
-
sourceBranch?: string | undefined;
|
|
33
|
-
targetBranch?: string | undefined;
|
|
34
|
-
reviewers?: string[] | undefined;
|
|
35
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
36
|
-
checks?: {
|
|
37
|
-
passed: number;
|
|
38
|
-
failed: number;
|
|
39
|
-
pending: number;
|
|
40
|
-
} | undefined;
|
|
41
|
-
mergeable?: boolean | undefined;
|
|
42
|
-
changedFiles?: number | undefined;
|
|
43
|
-
additions?: number | undefined;
|
|
44
|
-
deletions?: number | undefined;
|
|
45
|
-
previewImageUrls?: string[] | undefined;
|
|
46
|
-
} | {
|
|
47
|
-
type: "task";
|
|
48
|
-
summary?: string | undefined;
|
|
49
|
-
assignees?: string[] | undefined;
|
|
50
|
-
priority?: string | undefined;
|
|
51
|
-
project?: string | undefined;
|
|
52
|
-
cycle?: string | undefined;
|
|
53
|
-
dueDate?: string | undefined;
|
|
54
|
-
labels?: string[] | undefined;
|
|
55
|
-
} | {
|
|
56
|
-
type: "deployment";
|
|
57
|
-
summary?: string | undefined;
|
|
58
|
-
project?: string | undefined;
|
|
59
|
-
environment?: string | undefined;
|
|
60
|
-
revision?: string | undefined;
|
|
61
|
-
branch?: string | undefined;
|
|
62
|
-
} | {
|
|
63
|
-
type: "calendar_event";
|
|
64
|
-
summary?: string | undefined;
|
|
65
|
-
when?: string | undefined;
|
|
66
|
-
attendees?: string[] | undefined;
|
|
67
|
-
} | {
|
|
68
|
-
type: "conversation";
|
|
69
|
-
summary?: string | undefined;
|
|
70
|
-
participants?: string[] | undefined;
|
|
71
|
-
lastActivityAt?: string | undefined;
|
|
72
|
-
} | {
|
|
73
|
-
type: "document";
|
|
74
|
-
summary?: string | undefined;
|
|
75
|
-
owner?: string | undefined;
|
|
76
|
-
modifiedAt?: string | undefined;
|
|
77
|
-
} | {
|
|
78
|
-
type: "message";
|
|
79
|
-
summary?: string | undefined;
|
|
80
|
-
channel?: string | undefined;
|
|
81
|
-
author?: string | undefined;
|
|
82
|
-
sentAt?: string | undefined;
|
|
83
|
-
} | {
|
|
84
|
-
type: "web_page";
|
|
85
|
-
summary?: string | undefined;
|
|
86
|
-
siteName?: string | undefined;
|
|
87
|
-
author?: string | undefined;
|
|
88
|
-
thumbnailUrl?: string | undefined;
|
|
89
|
-
} | {
|
|
90
|
-
type: "person";
|
|
91
|
-
summary?: string | undefined;
|
|
92
|
-
email?: string | undefined;
|
|
93
|
-
slackHandle?: string | undefined;
|
|
94
|
-
githubHandle?: string | undefined;
|
|
95
|
-
avatarUrl?: string | undefined;
|
|
96
|
-
} | undefined;
|
|
97
|
-
}[] | undefined;
|
|
98
|
-
reply?: {
|
|
99
|
-
text: string;
|
|
100
|
-
url?: string | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
truncated?: boolean | undefined;
|
|
103
|
-
continuation?: {
|
|
104
|
-
arguments: Record<string, unknown>;
|
|
105
|
-
reason?: string | undefined;
|
|
106
|
-
} | undefined;
|
|
107
|
-
number: number;
|
|
108
|
-
url: string;
|
|
109
|
-
stack?: {
|
|
110
|
-
number: number;
|
|
111
|
-
pull_requests: number[];
|
|
112
|
-
} | undefined;
|
|
113
|
-
subscribable?: {
|
|
114
|
-
identifier: string;
|
|
115
|
-
label: string;
|
|
116
|
-
match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
|
|
117
|
-
namespace: string;
|
|
118
|
-
suggested_events?: string[] | undefined;
|
|
119
|
-
supported_events: string[];
|
|
120
|
-
type: string;
|
|
121
|
-
} | undefined;
|
|
122
|
-
subscription?: {
|
|
123
|
-
events: string[];
|
|
124
|
-
id: string;
|
|
125
|
-
} | undefined;
|
|
126
|
-
target: "createPullRequest";
|
|
127
|
-
}, {
|
|
128
|
-
objectAnnotations?: {
|
|
129
|
-
kind: "object";
|
|
130
|
-
key: string;
|
|
131
|
-
label: string;
|
|
132
|
-
objectType: "automation" | "calendar_event" | "code_change" | "conversation" | "deployment" | "document" | "item" | "message" | "person" | "task" | "web_page";
|
|
133
|
-
title: string;
|
|
134
|
-
url: string | null;
|
|
135
|
-
description?: string | undefined;
|
|
136
|
-
status?: string | undefined;
|
|
137
|
-
trigger?: string | undefined;
|
|
138
|
-
warning?: string | undefined;
|
|
139
|
-
displayType?: string | undefined;
|
|
140
|
-
sourceUpdatedAt?: string | undefined;
|
|
141
|
-
facts?: {
|
|
142
|
-
type: "code_change";
|
|
143
|
-
summary?: string | undefined;
|
|
144
|
-
author?: string | undefined;
|
|
145
|
-
sourceBranch?: string | undefined;
|
|
146
|
-
targetBranch?: string | undefined;
|
|
147
|
-
reviewers?: string[] | undefined;
|
|
148
|
-
review?: "approved" | "changes_requested" | "required" | undefined;
|
|
149
|
-
checks?: {
|
|
150
|
-
passed: number;
|
|
151
|
-
failed: number;
|
|
152
|
-
pending: number;
|
|
153
|
-
} | undefined;
|
|
154
|
-
mergeable?: boolean | undefined;
|
|
155
|
-
changedFiles?: number | undefined;
|
|
156
|
-
additions?: number | undefined;
|
|
157
|
-
deletions?: number | undefined;
|
|
158
|
-
previewImageUrls?: string[] | undefined;
|
|
159
|
-
} | {
|
|
160
|
-
type: "task";
|
|
161
|
-
summary?: string | undefined;
|
|
162
|
-
assignees?: string[] | undefined;
|
|
163
|
-
priority?: string | undefined;
|
|
164
|
-
project?: string | undefined;
|
|
165
|
-
cycle?: string | undefined;
|
|
166
|
-
dueDate?: string | undefined;
|
|
167
|
-
labels?: string[] | undefined;
|
|
168
|
-
} | {
|
|
169
|
-
type: "deployment";
|
|
170
|
-
summary?: string | undefined;
|
|
171
|
-
project?: string | undefined;
|
|
172
|
-
environment?: string | undefined;
|
|
173
|
-
revision?: string | undefined;
|
|
174
|
-
branch?: string | undefined;
|
|
175
|
-
} | {
|
|
176
|
-
type: "calendar_event";
|
|
177
|
-
summary?: string | undefined;
|
|
178
|
-
when?: string | undefined;
|
|
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;
|
|
209
|
-
} | undefined;
|
|
210
|
-
}[] | undefined;
|
|
211
|
-
reply?: {
|
|
212
|
-
text: string;
|
|
213
|
-
url?: string | undefined;
|
|
214
|
-
} | undefined;
|
|
215
|
-
truncated?: boolean | undefined;
|
|
216
|
-
continuation?: {
|
|
217
|
-
arguments: Record<string, unknown>;
|
|
218
|
-
reason?: string | undefined;
|
|
219
|
-
} | undefined;
|
|
220
|
-
number: number;
|
|
221
|
-
url: string;
|
|
222
|
-
stack?: {
|
|
223
|
-
number: number;
|
|
224
|
-
pull_requests: number[];
|
|
225
|
-
} | undefined;
|
|
226
|
-
subscribable?: {
|
|
227
|
-
identifier: string;
|
|
228
|
-
label: string;
|
|
229
|
-
match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
|
|
230
|
-
namespace: string;
|
|
231
|
-
suggested_events?: string[] | undefined;
|
|
232
|
-
supported_events: string[];
|
|
233
|
-
type: string;
|
|
234
|
-
} | undefined;
|
|
235
|
-
subscription?: {
|
|
236
|
-
events: string[];
|
|
237
|
-
id: string;
|
|
238
|
-
} | undefined;
|
|
239
|
-
target: "createPullRequest";
|
|
240
|
-
}>;
|
package/dist/tools/footer.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const GITHUB_SESSION_FOOTER_START = "<!-- junior-session-footer:start -->";
|
|
2
|
-
export declare const GITHUB_SESSION_FOOTER_END = "<!-- junior-session-footer:end -->";
|
|
3
|
-
export declare function sentryConversationUrl(conversationId: string): string | undefined;
|
|
4
|
-
/** Build the conversation session footer, preferring a host-provided dashboard link. */
|
|
5
|
-
export declare function githubConversationFooter(conversationId: string, dashboardUrl?: string): string | undefined;
|
|
6
|
-
/** Read opaque native conversation ids from runtime-owned GitHub footers. */
|
|
7
|
-
export declare function githubConversationIds(body: string | null | undefined): string[];
|
|
8
|
-
/** Read same- and cross-repository issue references from a pull request body. */
|
|
9
|
-
export declare function githubLinkedIssues(body: string | null | undefined, repositoryFullName: string): {
|
|
10
|
-
number: number;
|
|
11
|
-
repositoryFullName: string;
|
|
12
|
-
}[];
|
|
13
|
-
/**
|
|
14
|
-
* Append (or replace an existing) conversation session footer to a GitHub body string.
|
|
15
|
-
* Without a dashboard or Sentry link, returns the body unchanged (existing footer stripped).
|
|
16
|
-
*/
|
|
17
|
-
export declare function appendGitHubFooter(body: string, conversationId: string, dashboardUrl?: string): string;
|