@sentry/junior-github 0.238.1 → 0.239.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,7 +16,7 @@ export declare function createGitHubCloneRepositoryTool(ctx: {
16
16
  kind: "object";
17
17
  key: string;
18
18
  label: string;
19
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
19
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
20
20
  title: string;
21
21
  url: string | null;
22
22
  description?: string | undefined;
@@ -55,6 +55,10 @@ export declare function createGitHubCloneRepositoryTool(ctx: {
55
55
  environment?: string | undefined;
56
56
  revision?: string | undefined;
57
57
  branch?: string | undefined;
58
+ } | {
59
+ type: "calendar_event";
60
+ when?: string | undefined;
61
+ attendees?: string[] | undefined;
58
62
  } | undefined;
59
63
  }[] | undefined;
60
64
  truncated?: boolean | undefined;
@@ -70,7 +74,7 @@ export declare function createGitHubCloneRepositoryTool(ctx: {
70
74
  kind: "object";
71
75
  key: string;
72
76
  label: string;
73
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
77
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
74
78
  title: string;
75
79
  url: string | null;
76
80
  description?: string | undefined;
@@ -109,6 +113,10 @@ export declare function createGitHubCloneRepositoryTool(ctx: {
109
113
  environment?: string | undefined;
110
114
  revision?: string | undefined;
111
115
  branch?: string | undefined;
116
+ } | {
117
+ type: "calendar_event";
118
+ when?: string | undefined;
119
+ attendees?: string[] | undefined;
112
120
  } | undefined;
113
121
  }[] | undefined;
114
122
  truncated?: boolean | undefined;
@@ -13,7 +13,7 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
13
13
  kind: "object";
14
14
  key: string;
15
15
  label: string;
16
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
16
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
17
17
  title: string;
18
18
  url: string | null;
19
19
  description?: string | undefined;
@@ -52,6 +52,10 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
52
52
  environment?: string | undefined;
53
53
  revision?: string | undefined;
54
54
  branch?: string | undefined;
55
+ } | {
56
+ type: "calendar_event";
57
+ when?: string | undefined;
58
+ attendees?: string[] | undefined;
55
59
  } | undefined;
56
60
  }[] | undefined;
57
61
  truncated?: boolean | undefined;
@@ -75,7 +79,7 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
75
79
  kind: "object";
76
80
  key: string;
77
81
  label: string;
78
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
82
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
79
83
  title: string;
80
84
  url: string | null;
81
85
  description?: string | undefined;
@@ -114,6 +118,10 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
114
118
  environment?: string | undefined;
115
119
  revision?: string | undefined;
116
120
  branch?: string | undefined;
121
+ } | {
122
+ type: "calendar_event";
123
+ when?: string | undefined;
124
+ attendees?: string[] | undefined;
117
125
  } | undefined;
118
126
  }[] | undefined;
119
127
  truncated?: boolean | undefined;
@@ -16,7 +16,7 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
16
16
  kind: "object";
17
17
  key: string;
18
18
  label: string;
19
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
19
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
20
20
  title: string;
21
21
  url: string | null;
22
22
  description?: string | undefined;
@@ -55,6 +55,10 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
55
55
  environment?: string | undefined;
56
56
  revision?: string | undefined;
57
57
  branch?: string | undefined;
58
+ } | {
59
+ type: "calendar_event";
60
+ when?: string | undefined;
61
+ attendees?: string[] | undefined;
58
62
  } | undefined;
59
63
  }[] | undefined;
60
64
  truncated?: boolean | undefined;
@@ -82,7 +86,7 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
82
86
  kind: "object";
83
87
  key: string;
84
88
  label: string;
85
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
89
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
86
90
  title: string;
87
91
  url: string | null;
88
92
  description?: string | undefined;
@@ -121,6 +125,10 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
121
125
  environment?: string | undefined;
122
126
  revision?: string | undefined;
123
127
  branch?: string | undefined;
128
+ } | {
129
+ type: "calendar_event";
130
+ when?: string | undefined;
131
+ attendees?: string[] | undefined;
124
132
  } | undefined;
125
133
  }[] | undefined;
126
134
  truncated?: boolean | undefined;
@@ -38,7 +38,7 @@ export declare function createGitHubGetDeploymentTool(ctx: {
38
38
  kind: "object";
39
39
  key: string;
40
40
  label: string;
41
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
41
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
42
42
  title: string;
43
43
  url: string | null;
44
44
  description?: string | undefined;
@@ -77,6 +77,10 @@ export declare function createGitHubGetDeploymentTool(ctx: {
77
77
  environment?: string | undefined;
78
78
  revision?: string | undefined;
79
79
  branch?: string | undefined;
80
+ } | {
81
+ type: "calendar_event";
82
+ when?: string | undefined;
83
+ attendees?: string[] | undefined;
80
84
  } | undefined;
81
85
  }[] | undefined;
82
86
  truncated?: boolean | undefined;
@@ -121,7 +125,7 @@ export declare function createGitHubGetDeploymentTool(ctx: {
121
125
  kind: "object";
122
126
  key: string;
123
127
  label: string;
124
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
128
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
125
129
  title: string;
126
130
  url: string | null;
127
131
  description?: string | undefined;
@@ -160,6 +164,10 @@ export declare function createGitHubGetDeploymentTool(ctx: {
160
164
  environment?: string | undefined;
161
165
  revision?: string | undefined;
162
166
  branch?: string | undefined;
167
+ } | {
168
+ type: "calendar_event";
169
+ when?: string | undefined;
170
+ attendees?: string[] | undefined;
163
171
  } | undefined;
164
172
  }[] | undefined;
165
173
  truncated?: boolean | undefined;
@@ -23,7 +23,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
23
23
  kind: "object";
24
24
  key: string;
25
25
  label: string;
26
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
26
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
27
27
  title: string;
28
28
  url: string | null;
29
29
  description?: string | undefined;
@@ -62,6 +62,10 @@ export declare function createGitHubGetPullRequestTool(ctx: {
62
62
  environment?: string | undefined;
63
63
  revision?: string | undefined;
64
64
  branch?: string | undefined;
65
+ } | {
66
+ type: "calendar_event";
67
+ when?: string | undefined;
68
+ attendees?: string[] | undefined;
65
69
  } | undefined;
66
70
  }[] | undefined;
67
71
  truncated?: boolean | undefined;
@@ -92,7 +96,7 @@ export declare function createGitHubGetPullRequestTool(ctx: {
92
96
  kind: "object";
93
97
  key: string;
94
98
  label: string;
95
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
99
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
96
100
  title: string;
97
101
  url: string | null;
98
102
  description?: string | undefined;
@@ -131,6 +135,10 @@ export declare function createGitHubGetPullRequestTool(ctx: {
131
135
  environment?: string | undefined;
132
136
  revision?: string | undefined;
133
137
  branch?: string | undefined;
138
+ } | {
139
+ type: "calendar_event";
140
+ when?: string | undefined;
141
+ attendees?: string[] | undefined;
134
142
  } | undefined;
135
143
  }[] | undefined;
136
144
  truncated?: boolean | undefined;
@@ -27,7 +27,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
27
27
  kind: "object";
28
28
  key: string;
29
29
  label: string;
30
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
30
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
31
31
  title: string;
32
32
  url: string | null;
33
33
  description?: string | undefined;
@@ -66,6 +66,10 @@ export declare function createGitHubGetReleaseTool(ctx: {
66
66
  environment?: string | undefined;
67
67
  revision?: string | undefined;
68
68
  branch?: string | undefined;
69
+ } | {
70
+ type: "calendar_event";
71
+ when?: string | undefined;
72
+ attendees?: string[] | undefined;
69
73
  } | undefined;
70
74
  }[] | undefined;
71
75
  truncated?: boolean | undefined;
@@ -100,7 +104,7 @@ export declare function createGitHubGetReleaseTool(ctx: {
100
104
  kind: "object";
101
105
  key: string;
102
106
  label: string;
103
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
107
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
104
108
  title: string;
105
109
  url: string | null;
106
110
  description?: string | undefined;
@@ -139,6 +143,10 @@ export declare function createGitHubGetReleaseTool(ctx: {
139
143
  environment?: string | undefined;
140
144
  revision?: string | undefined;
141
145
  branch?: string | undefined;
146
+ } | {
147
+ type: "calendar_event";
148
+ when?: string | undefined;
149
+ attendees?: string[] | undefined;
142
150
  } | undefined;
143
151
  }[] | undefined;
144
152
  truncated?: boolean | undefined;
@@ -18,7 +18,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
18
18
  kind: "object";
19
19
  key: string;
20
20
  label: string;
21
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
21
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
22
22
  title: string;
23
23
  url: string | null;
24
24
  description?: string | undefined;
@@ -57,6 +57,10 @@ export declare function createGitHubGetRepositoryTool(ctx: {
57
57
  environment?: string | undefined;
58
58
  revision?: string | undefined;
59
59
  branch?: string | undefined;
60
+ } | {
61
+ type: "calendar_event";
62
+ when?: string | undefined;
63
+ attendees?: string[] | undefined;
60
64
  } | undefined;
61
65
  }[] | undefined;
62
66
  truncated?: boolean | undefined;
@@ -83,7 +87,7 @@ export declare function createGitHubGetRepositoryTool(ctx: {
83
87
  kind: "object";
84
88
  key: string;
85
89
  label: string;
86
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
90
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
87
91
  title: string;
88
92
  url: string | null;
89
93
  description?: string | undefined;
@@ -122,6 +126,10 @@ export declare function createGitHubGetRepositoryTool(ctx: {
122
126
  environment?: string | undefined;
123
127
  revision?: string | undefined;
124
128
  branch?: string | undefined;
129
+ } | {
130
+ type: "calendar_event";
131
+ when?: string | undefined;
132
+ attendees?: string[] | undefined;
125
133
  } | undefined;
126
134
  }[] | undefined;
127
135
  truncated?: boolean | undefined;
@@ -16,7 +16,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
16
16
  kind: "object";
17
17
  key: string;
18
18
  label: string;
19
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
19
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
20
20
  title: string;
21
21
  url: string | null;
22
22
  description?: string | undefined;
@@ -55,6 +55,10 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
55
55
  environment?: string | undefined;
56
56
  revision?: string | undefined;
57
57
  branch?: string | undefined;
58
+ } | {
59
+ type: "calendar_event";
60
+ when?: string | undefined;
61
+ attendees?: string[] | undefined;
58
62
  } | undefined;
59
63
  }[] | undefined;
60
64
  truncated?: boolean | undefined;
@@ -73,7 +77,7 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
73
77
  kind: "object";
74
78
  key: string;
75
79
  label: string;
76
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
80
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
77
81
  title: string;
78
82
  url: string | null;
79
83
  description?: string | undefined;
@@ -112,6 +116,10 @@ export declare function createGitHubResolvePullRequestReviewThreadTool(ctx: {
112
116
  environment?: string | undefined;
113
117
  revision?: string | undefined;
114
118
  branch?: string | undefined;
119
+ } | {
120
+ type: "calendar_event";
121
+ when?: string | undefined;
122
+ attendees?: string[] | undefined;
115
123
  } | undefined;
116
124
  }[] | undefined;
117
125
  truncated?: boolean | undefined;
@@ -25,7 +25,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
25
25
  kind: "object";
26
26
  key: string;
27
27
  label: string;
28
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
28
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
29
29
  title: string;
30
30
  url: string | null;
31
31
  description?: string | undefined;
@@ -64,6 +64,10 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
64
64
  environment?: string | undefined;
65
65
  revision?: string | undefined;
66
66
  branch?: string | undefined;
67
+ } | {
68
+ type: "calendar_event";
69
+ when?: string | undefined;
70
+ attendees?: string[] | undefined;
67
71
  } | undefined;
68
72
  }[] | undefined;
69
73
  truncated?: boolean | undefined;
@@ -83,7 +87,7 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
83
87
  kind: "object";
84
88
  key: string;
85
89
  label: string;
86
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
90
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
87
91
  title: string;
88
92
  url: string | null;
89
93
  description?: string | undefined;
@@ -122,6 +126,10 @@ export declare function createGitHubSubmitPullRequestReviewTool(egress: PluginEg
122
126
  environment?: string | undefined;
123
127
  revision?: string | undefined;
124
128
  branch?: string | undefined;
129
+ } | {
130
+ type: "calendar_event";
131
+ when?: string | undefined;
132
+ attendees?: string[] | undefined;
125
133
  } | undefined;
126
134
  }[] | undefined;
127
135
  truncated?: boolean | undefined;
@@ -36,7 +36,7 @@ export declare function createGitHubUpdateIssueTool(ctx: {
36
36
  kind: "object";
37
37
  key: string;
38
38
  label: string;
39
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
39
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
40
40
  title: string;
41
41
  url: string | null;
42
42
  description?: string | undefined;
@@ -75,6 +75,10 @@ export declare function createGitHubUpdateIssueTool(ctx: {
75
75
  environment?: string | undefined;
76
76
  revision?: string | undefined;
77
77
  branch?: string | undefined;
78
+ } | {
79
+ type: "calendar_event";
80
+ when?: string | undefined;
81
+ attendees?: string[] | undefined;
78
82
  } | undefined;
79
83
  }[] | undefined;
80
84
  truncated?: boolean | undefined;
@@ -101,7 +105,7 @@ export declare function createGitHubUpdateIssueTool(ctx: {
101
105
  kind: "object";
102
106
  key: string;
103
107
  label: string;
104
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
108
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
105
109
  title: string;
106
110
  url: string | null;
107
111
  description?: string | undefined;
@@ -140,6 +144,10 @@ export declare function createGitHubUpdateIssueTool(ctx: {
140
144
  environment?: string | undefined;
141
145
  revision?: string | undefined;
142
146
  branch?: string | undefined;
147
+ } | {
148
+ type: "calendar_event";
149
+ when?: string | undefined;
150
+ attendees?: string[] | undefined;
143
151
  } | undefined;
144
152
  }[] | undefined;
145
153
  truncated?: boolean | undefined;
@@ -42,7 +42,7 @@ export declare function createGitHubUpdatePullRequestFeedbackTool(ctx: {
42
42
  kind: "object";
43
43
  key: string;
44
44
  label: string;
45
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
45
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
46
46
  title: string;
47
47
  url: string | null;
48
48
  description?: string | undefined;
@@ -81,6 +81,10 @@ export declare function createGitHubUpdatePullRequestFeedbackTool(ctx: {
81
81
  environment?: string | undefined;
82
82
  revision?: string | undefined;
83
83
  branch?: string | undefined;
84
+ } | {
85
+ type: "calendar_event";
86
+ when?: string | undefined;
87
+ attendees?: string[] | undefined;
84
88
  } | undefined;
85
89
  }[] | undefined;
86
90
  truncated?: boolean | undefined;
@@ -99,7 +103,7 @@ export declare function createGitHubUpdatePullRequestFeedbackTool(ctx: {
99
103
  kind: "object";
100
104
  key: string;
101
105
  label: string;
102
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
106
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
103
107
  title: string;
104
108
  url: string | null;
105
109
  description?: string | undefined;
@@ -138,6 +142,10 @@ export declare function createGitHubUpdatePullRequestFeedbackTool(ctx: {
138
142
  environment?: string | undefined;
139
143
  revision?: string | undefined;
140
144
  branch?: string | undefined;
145
+ } | {
146
+ type: "calendar_event";
147
+ when?: string | undefined;
148
+ attendees?: string[] | undefined;
141
149
  } | undefined;
142
150
  }[] | undefined;
143
151
  truncated?: boolean | undefined;
@@ -39,7 +39,7 @@ export declare function createGitHubUpdatePullRequestTool(ctx: {
39
39
  kind: "object";
40
40
  key: string;
41
41
  label: string;
42
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
42
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
43
43
  title: string;
44
44
  url: string | null;
45
45
  description?: string | undefined;
@@ -78,6 +78,10 @@ export declare function createGitHubUpdatePullRequestTool(ctx: {
78
78
  environment?: string | undefined;
79
79
  revision?: string | undefined;
80
80
  branch?: string | undefined;
81
+ } | {
82
+ type: "calendar_event";
83
+ when?: string | undefined;
84
+ attendees?: string[] | undefined;
81
85
  } | undefined;
82
86
  }[] | undefined;
83
87
  truncated?: boolean | undefined;
@@ -106,7 +110,7 @@ export declare function createGitHubUpdatePullRequestTool(ctx: {
106
110
  kind: "object";
107
111
  key: string;
108
112
  label: string;
109
- objectType: "code_change" | "task" | "deployment" | "automation" | "item";
113
+ objectType: "code_change" | "task" | "deployment" | "calendar_event" | "automation" | "item";
110
114
  title: string;
111
115
  url: string | null;
112
116
  description?: string | undefined;
@@ -145,6 +149,10 @@ export declare function createGitHubUpdatePullRequestTool(ctx: {
145
149
  environment?: string | undefined;
146
150
  revision?: string | undefined;
147
151
  branch?: string | undefined;
152
+ } | {
153
+ type: "calendar_event";
154
+ when?: string | undefined;
155
+ attendees?: string[] | undefined;
148
156
  } | undefined;
149
157
  }[] | undefined;
150
158
  truncated?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-github",
3
- "version": "0.238.1",
3
+ "version": "0.239.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.238.1"
34
+ "@sentry/junior-plugin-api": "0.239.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@oxlint/plugins": "1.79.0",