@sentry/junior-github 0.224.0 → 0.226.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.
@@ -16,13 +16,46 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
16
16
  kind: "object";
17
17
  key: string;
18
18
  label: string;
19
- objectType: "task" | "code_change" | "automation" | "item";
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?: {
@@ -40,13 +73,46 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
40
73
  kind: "object";
41
74
  key: string;
42
75
  label: string;
43
- objectType: "task" | "code_change" | "automation" | "item";
76
+ objectType: "code_change" | "task" | "automation" | "item";
44
77
  title: string;
45
78
  url: string | null;
46
79
  description?: string | undefined;
47
80
  status?: string | undefined;
48
81
  trigger?: string | undefined;
49
82
  warning?: string | undefined;
83
+ displayType?: string | undefined;
84
+ sourceUpdatedAt?: string | undefined;
85
+ facts?: {
86
+ type: "code_change";
87
+ author?: string | undefined;
88
+ sourceBranch?: string | undefined;
89
+ targetBranch?: string | undefined;
90
+ reviewers?: string[] | undefined;
91
+ review?: "required" | "approved" | "changes_requested" | undefined;
92
+ checks?: {
93
+ passed: number;
94
+ failed: number;
95
+ pending: number;
96
+ } | undefined;
97
+ mergeable?: boolean | undefined;
98
+ changedFiles?: number | undefined;
99
+ additions?: number | undefined;
100
+ deletions?: number | undefined;
101
+ } | {
102
+ type: "task";
103
+ assignees?: string[] | undefined;
104
+ priority?: string | undefined;
105
+ project?: string | undefined;
106
+ cycle?: string | undefined;
107
+ dueDate?: string | undefined;
108
+ labels?: string[] | undefined;
109
+ } | {
110
+ type: "deployment";
111
+ project?: string | undefined;
112
+ environment?: string | undefined;
113
+ revision?: string | undefined;
114
+ branch?: string | undefined;
115
+ } | undefined;
50
116
  }[] | undefined;
51
117
  truncated?: boolean | undefined;
52
118
  continuation?: {
@@ -25,13 +25,46 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
25
25
  kind: "object";
26
26
  key: string;
27
27
  label: string;
28
- objectType: "task" | "code_change" | "automation" | "item";
28
+ objectType: "code_change" | "task" | "automation" | "item";
29
29
  title: string;
30
30
  url: string | null;
31
31
  description?: string | undefined;
32
32
  status?: string | undefined;
33
33
  trigger?: string | undefined;
34
34
  warning?: string | undefined;
35
+ displayType?: string | undefined;
36
+ sourceUpdatedAt?: string | undefined;
37
+ facts?: {
38
+ type: "code_change";
39
+ author?: string | undefined;
40
+ sourceBranch?: string | undefined;
41
+ targetBranch?: string | undefined;
42
+ reviewers?: string[] | undefined;
43
+ review?: "required" | "approved" | "changes_requested" | undefined;
44
+ checks?: {
45
+ passed: number;
46
+ failed: number;
47
+ pending: number;
48
+ } | undefined;
49
+ mergeable?: boolean | undefined;
50
+ changedFiles?: number | undefined;
51
+ additions?: number | undefined;
52
+ deletions?: number | undefined;
53
+ } | {
54
+ type: "task";
55
+ assignees?: string[] | undefined;
56
+ priority?: string | undefined;
57
+ project?: string | undefined;
58
+ cycle?: string | undefined;
59
+ dueDate?: string | undefined;
60
+ labels?: string[] | undefined;
61
+ } | {
62
+ type: "deployment";
63
+ project?: string | undefined;
64
+ environment?: string | undefined;
65
+ revision?: string | undefined;
66
+ branch?: string | undefined;
67
+ } | undefined;
35
68
  }[] | undefined;
36
69
  truncated?: boolean | undefined;
37
70
  continuation?: {
@@ -50,13 +83,46 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
50
83
  kind: "object";
51
84
  key: string;
52
85
  label: string;
53
- objectType: "task" | "code_change" | "automation" | "item";
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?: {
@@ -36,13 +36,46 @@ export declare function createGitHubUpdateIssueTool(ctx: {
36
36
  kind: "object";
37
37
  key: string;
38
38
  label: string;
39
- objectType: "task" | "code_change" | "automation" | "item";
39
+ objectType: "code_change" | "task" | "automation" | "item";
40
40
  title: string;
41
41
  url: string | null;
42
42
  description?: string | undefined;
43
43
  status?: string | undefined;
44
44
  trigger?: string | undefined;
45
45
  warning?: string | undefined;
46
+ displayType?: string | undefined;
47
+ sourceUpdatedAt?: string | undefined;
48
+ facts?: {
49
+ type: "code_change";
50
+ author?: string | undefined;
51
+ sourceBranch?: string | undefined;
52
+ targetBranch?: string | undefined;
53
+ reviewers?: string[] | undefined;
54
+ review?: "required" | "approved" | "changes_requested" | undefined;
55
+ checks?: {
56
+ passed: number;
57
+ failed: number;
58
+ pending: number;
59
+ } | undefined;
60
+ mergeable?: boolean | undefined;
61
+ changedFiles?: number | undefined;
62
+ additions?: number | undefined;
63
+ deletions?: number | undefined;
64
+ } | {
65
+ type: "task";
66
+ assignees?: string[] | undefined;
67
+ priority?: string | undefined;
68
+ project?: string | undefined;
69
+ cycle?: string | undefined;
70
+ dueDate?: string | undefined;
71
+ labels?: string[] | undefined;
72
+ } | {
73
+ type: "deployment";
74
+ project?: string | undefined;
75
+ environment?: string | undefined;
76
+ revision?: string | undefined;
77
+ branch?: string | undefined;
78
+ } | undefined;
46
79
  }[] | undefined;
47
80
  truncated?: boolean | undefined;
48
81
  continuation?: {
@@ -68,13 +101,46 @@ export declare function createGitHubUpdateIssueTool(ctx: {
68
101
  kind: "object";
69
102
  key: string;
70
103
  label: string;
71
- objectType: "task" | "code_change" | "automation" | "item";
104
+ objectType: "code_change" | "task" | "automation" | "item";
72
105
  title: string;
73
106
  url: string | null;
74
107
  description?: string | undefined;
75
108
  status?: string | undefined;
76
109
  trigger?: string | undefined;
77
110
  warning?: string | undefined;
111
+ displayType?: string | undefined;
112
+ sourceUpdatedAt?: string | undefined;
113
+ facts?: {
114
+ type: "code_change";
115
+ author?: string | undefined;
116
+ sourceBranch?: string | undefined;
117
+ targetBranch?: string | undefined;
118
+ reviewers?: string[] | undefined;
119
+ review?: "required" | "approved" | "changes_requested" | undefined;
120
+ checks?: {
121
+ passed: number;
122
+ failed: number;
123
+ pending: number;
124
+ } | undefined;
125
+ mergeable?: boolean | undefined;
126
+ changedFiles?: number | undefined;
127
+ additions?: number | undefined;
128
+ deletions?: number | undefined;
129
+ } | {
130
+ type: "task";
131
+ assignees?: string[] | undefined;
132
+ priority?: string | undefined;
133
+ project?: string | undefined;
134
+ cycle?: string | undefined;
135
+ dueDate?: string | undefined;
136
+ labels?: string[] | undefined;
137
+ } | {
138
+ type: "deployment";
139
+ project?: string | undefined;
140
+ environment?: string | undefined;
141
+ revision?: string | undefined;
142
+ branch?: string | undefined;
143
+ } | undefined;
78
144
  }[] | undefined;
79
145
  truncated?: boolean | undefined;
80
146
  continuation?: {
@@ -28,7 +28,7 @@ export declare function createGitHubUpdatePullRequestFeedbackTool(ctx: {
28
28
  egress: PluginEgress;
29
29
  }, botEmail: string | undefined): import("@sentry/junior-plugin-api").PluginToolDefinition<{
30
30
  repo: string;
31
- commentKind: "conversation" | "review";
31
+ commentKind: "review" | "conversation";
32
32
  commentId: number;
33
33
  status: "addressed" | "declined";
34
34
  }, {
@@ -42,13 +42,46 @@ export declare function createGitHubUpdatePullRequestFeedbackTool(ctx: {
42
42
  kind: "object";
43
43
  key: string;
44
44
  label: string;
45
- objectType: "task" | "code_change" | "automation" | "item";
45
+ objectType: "code_change" | "task" | "automation" | "item";
46
46
  title: string;
47
47
  url: string | null;
48
48
  description?: string | undefined;
49
49
  status?: string | undefined;
50
50
  trigger?: string | undefined;
51
51
  warning?: string | undefined;
52
+ displayType?: string | undefined;
53
+ sourceUpdatedAt?: string | undefined;
54
+ facts?: {
55
+ type: "code_change";
56
+ author?: string | undefined;
57
+ sourceBranch?: string | undefined;
58
+ targetBranch?: string | undefined;
59
+ reviewers?: string[] | undefined;
60
+ review?: "required" | "approved" | "changes_requested" | undefined;
61
+ checks?: {
62
+ passed: number;
63
+ failed: number;
64
+ pending: number;
65
+ } | undefined;
66
+ mergeable?: boolean | undefined;
67
+ changedFiles?: number | undefined;
68
+ additions?: number | undefined;
69
+ deletions?: number | undefined;
70
+ } | {
71
+ type: "task";
72
+ assignees?: string[] | undefined;
73
+ priority?: string | undefined;
74
+ project?: string | undefined;
75
+ cycle?: string | undefined;
76
+ dueDate?: string | undefined;
77
+ labels?: string[] | undefined;
78
+ } | {
79
+ type: "deployment";
80
+ project?: string | undefined;
81
+ environment?: string | undefined;
82
+ revision?: string | undefined;
83
+ branch?: string | undefined;
84
+ } | undefined;
52
85
  }[] | undefined;
53
86
  truncated?: boolean | undefined;
54
87
  continuation?: {
@@ -66,13 +99,46 @@ export declare function createGitHubUpdatePullRequestFeedbackTool(ctx: {
66
99
  kind: "object";
67
100
  key: string;
68
101
  label: string;
69
- objectType: "task" | "code_change" | "automation" | "item";
102
+ objectType: "code_change" | "task" | "automation" | "item";
70
103
  title: string;
71
104
  url: string | null;
72
105
  description?: string | undefined;
73
106
  status?: string | undefined;
74
107
  trigger?: string | undefined;
75
108
  warning?: string | undefined;
109
+ displayType?: string | undefined;
110
+ sourceUpdatedAt?: string | undefined;
111
+ facts?: {
112
+ type: "code_change";
113
+ author?: string | undefined;
114
+ sourceBranch?: string | undefined;
115
+ targetBranch?: string | undefined;
116
+ reviewers?: string[] | undefined;
117
+ review?: "required" | "approved" | "changes_requested" | undefined;
118
+ checks?: {
119
+ passed: number;
120
+ failed: number;
121
+ pending: number;
122
+ } | undefined;
123
+ mergeable?: boolean | undefined;
124
+ changedFiles?: number | undefined;
125
+ additions?: number | undefined;
126
+ deletions?: number | undefined;
127
+ } | {
128
+ type: "task";
129
+ assignees?: string[] | undefined;
130
+ priority?: string | undefined;
131
+ project?: string | undefined;
132
+ cycle?: string | undefined;
133
+ dueDate?: string | undefined;
134
+ labels?: string[] | undefined;
135
+ } | {
136
+ type: "deployment";
137
+ project?: string | undefined;
138
+ environment?: string | undefined;
139
+ revision?: string | undefined;
140
+ branch?: string | undefined;
141
+ } | undefined;
76
142
  }[] | undefined;
77
143
  truncated?: boolean | undefined;
78
144
  continuation?: {
@@ -39,13 +39,46 @@ export declare function createGitHubUpdatePullRequestTool(ctx: {
39
39
  kind: "object";
40
40
  key: string;
41
41
  label: string;
42
- objectType: "task" | "code_change" | "automation" | "item";
42
+ objectType: "code_change" | "task" | "automation" | "item";
43
43
  title: string;
44
44
  url: string | null;
45
45
  description?: string | undefined;
46
46
  status?: string | undefined;
47
47
  trigger?: string | undefined;
48
48
  warning?: string | undefined;
49
+ displayType?: string | undefined;
50
+ sourceUpdatedAt?: string | undefined;
51
+ facts?: {
52
+ type: "code_change";
53
+ author?: string | undefined;
54
+ sourceBranch?: string | undefined;
55
+ targetBranch?: string | undefined;
56
+ reviewers?: string[] | undefined;
57
+ review?: "required" | "approved" | "changes_requested" | undefined;
58
+ checks?: {
59
+ passed: number;
60
+ failed: number;
61
+ pending: number;
62
+ } | undefined;
63
+ mergeable?: boolean | undefined;
64
+ changedFiles?: number | undefined;
65
+ additions?: number | undefined;
66
+ deletions?: number | undefined;
67
+ } | {
68
+ type: "task";
69
+ assignees?: string[] | undefined;
70
+ priority?: string | undefined;
71
+ project?: string | undefined;
72
+ cycle?: string | undefined;
73
+ dueDate?: string | undefined;
74
+ labels?: string[] | undefined;
75
+ } | {
76
+ type: "deployment";
77
+ project?: string | undefined;
78
+ environment?: string | undefined;
79
+ revision?: string | undefined;
80
+ branch?: string | undefined;
81
+ } | undefined;
49
82
  }[] | undefined;
50
83
  truncated?: boolean | undefined;
51
84
  continuation?: {
@@ -73,13 +106,46 @@ export declare function createGitHubUpdatePullRequestTool(ctx: {
73
106
  kind: "object";
74
107
  key: string;
75
108
  label: string;
76
- objectType: "task" | "code_change" | "automation" | "item";
109
+ objectType: "code_change" | "task" | "automation" | "item";
77
110
  title: string;
78
111
  url: string | null;
79
112
  description?: string | undefined;
80
113
  status?: string | undefined;
81
114
  trigger?: string | undefined;
82
115
  warning?: string | undefined;
116
+ displayType?: string | undefined;
117
+ sourceUpdatedAt?: string | undefined;
118
+ facts?: {
119
+ type: "code_change";
120
+ author?: string | undefined;
121
+ sourceBranch?: string | undefined;
122
+ targetBranch?: string | undefined;
123
+ reviewers?: string[] | undefined;
124
+ review?: "required" | "approved" | "changes_requested" | undefined;
125
+ checks?: {
126
+ passed: number;
127
+ failed: number;
128
+ pending: number;
129
+ } | undefined;
130
+ mergeable?: boolean | undefined;
131
+ changedFiles?: number | undefined;
132
+ additions?: number | undefined;
133
+ deletions?: number | undefined;
134
+ } | {
135
+ type: "task";
136
+ assignees?: string[] | undefined;
137
+ priority?: string | undefined;
138
+ project?: string | undefined;
139
+ cycle?: string | undefined;
140
+ dueDate?: string | undefined;
141
+ labels?: string[] | undefined;
142
+ } | {
143
+ type: "deployment";
144
+ project?: string | undefined;
145
+ environment?: string | undefined;
146
+ revision?: string | undefined;
147
+ branch?: string | undefined;
148
+ } | undefined;
83
149
  }[] | undefined;
84
150
  truncated?: boolean | undefined;
85
151
  continuation?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-github",
3
- "version": "0.224.0",
3
+ "version": "0.226.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -31,7 +31,7 @@
31
31
  "@sinclair/typebox": "^0.34.49",
32
32
  "drizzle-orm": "^0.45.2",
33
33
  "zod": "^4.5.4",
34
- "@sentry/junior-plugin-api": "0.224.0"
34
+ "@sentry/junior-plugin-api": "0.226.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@oxlint/plugins": "1.79.0",