@sentry/junior-github 0.121.0 → 0.122.1

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.
@@ -26,4 +26,25 @@ export declare function createGitHubIssueTool(ctx: ToolRegistrationHookContext):
26
26
  message: string;
27
27
  retryable?: boolean | undefined;
28
28
  } | undefined;
29
+ }, {
30
+ [x: string]: unknown;
31
+ ok: true;
32
+ status: "success";
33
+ target: "createIssue";
34
+ data: {
35
+ number: number;
36
+ url: string;
37
+ };
38
+ number: number;
39
+ url: string;
40
+ truncated?: boolean | undefined;
41
+ continuation?: {
42
+ arguments: Record<string, unknown>;
43
+ reason?: string | undefined;
44
+ } | undefined;
45
+ error?: string | {
46
+ kind: string;
47
+ message: string;
48
+ retryable?: boolean | undefined;
49
+ } | undefined;
29
50
  }>;
@@ -44,4 +44,41 @@ export declare function createGitHubPullRequestTool(ctx: ToolRegistrationHookCon
44
44
  type: string;
45
45
  suggestedEvents?: string[] | undefined;
46
46
  } | undefined;
47
+ }, {
48
+ [x: string]: unknown;
49
+ ok: true;
50
+ status: "success";
51
+ target: "createPullRequest";
52
+ data: {
53
+ number: number;
54
+ url: string;
55
+ subscribable?: {
56
+ label: string;
57
+ provider: string;
58
+ resourceRef: string;
59
+ supportedEvents: string[];
60
+ type: string;
61
+ suggestedEvents?: string[] | undefined;
62
+ } | undefined;
63
+ };
64
+ number: number;
65
+ url: string;
66
+ truncated?: boolean | undefined;
67
+ continuation?: {
68
+ arguments: Record<string, unknown>;
69
+ reason?: string | undefined;
70
+ } | undefined;
71
+ error?: string | {
72
+ kind: string;
73
+ message: string;
74
+ retryable?: boolean | undefined;
75
+ } | undefined;
76
+ subscribable?: {
77
+ label: string;
78
+ provider: string;
79
+ resourceRef: string;
80
+ supportedEvents: string[];
81
+ type: string;
82
+ suggestedEvents?: string[] | undefined;
83
+ } | undefined;
47
84
  }>;
@@ -82,4 +82,82 @@ export declare function createGitHubGetDeploymentTool(ctx: ToolRegistrationHookC
82
82
  type: string;
83
83
  suggestedEvents?: string[] | undefined;
84
84
  } | undefined;
85
+ }, {
86
+ commitSha: string;
87
+ deployment: {
88
+ createdAt: string;
89
+ creator: string | null;
90
+ description: string | null;
91
+ environment: string;
92
+ id: number;
93
+ latestStatus: {
94
+ createdAt: string;
95
+ creator: string | null;
96
+ description: string | null;
97
+ environmentUrl: string | null;
98
+ id: number;
99
+ logUrl: string | null;
100
+ state: string;
101
+ } | null;
102
+ ref: string;
103
+ sha: string;
104
+ updatedAt: string;
105
+ url: string;
106
+ } | null;
107
+ environment: string | null;
108
+ repo: string;
109
+ data: {
110
+ commitSha: string;
111
+ deployment: {
112
+ createdAt: string;
113
+ creator: string | null;
114
+ description: string | null;
115
+ environment: string;
116
+ id: number;
117
+ latestStatus: {
118
+ createdAt: string;
119
+ creator: string | null;
120
+ description: string | null;
121
+ environmentUrl: string | null;
122
+ id: number;
123
+ logUrl: string | null;
124
+ state: string;
125
+ } | null;
126
+ ref: string;
127
+ sha: string;
128
+ updatedAt: string;
129
+ url: string;
130
+ } | null;
131
+ environment: string | null;
132
+ repo: string;
133
+ subscribable?: {
134
+ label: string;
135
+ provider: string;
136
+ resourceRef: string;
137
+ supportedEvents: string[];
138
+ type: string;
139
+ suggestedEvents?: string[] | undefined;
140
+ } | undefined;
141
+ };
142
+ ok: true;
143
+ status: "success";
144
+ target: "getDeployment";
145
+ truncated?: boolean | undefined;
146
+ continuation?: {
147
+ arguments: Record<string, unknown>;
148
+ reason?: string | undefined;
149
+ } | undefined;
150
+ error?: string | {
151
+ kind: string;
152
+ message: string;
153
+ retryable?: boolean | undefined;
154
+ } | undefined;
155
+ subscribable?: {
156
+ label: string;
157
+ provider: string;
158
+ resourceRef: string;
159
+ supportedEvents: string[];
160
+ type: string;
161
+ suggestedEvents?: string[] | undefined;
162
+ } | undefined;
85
163
  }>;
@@ -54,4 +54,55 @@ export declare function createGitHubGetPullRequestTool(ctx: ToolRegistrationHook
54
54
  type: string;
55
55
  suggestedEvents?: string[] | undefined;
56
56
  } | undefined;
57
+ }, {
58
+ [x: string]: unknown;
59
+ base: string;
60
+ draft: boolean;
61
+ head: string;
62
+ headSha: string;
63
+ merged: boolean;
64
+ number: number;
65
+ state: string;
66
+ title: string;
67
+ url: string;
68
+ ok: true;
69
+ status: "success";
70
+ target: "getPullRequest";
71
+ data: {
72
+ base: string;
73
+ draft: boolean;
74
+ head: string;
75
+ headSha: string;
76
+ merged: boolean;
77
+ number: number;
78
+ state: string;
79
+ title: string;
80
+ url: string;
81
+ subscribable?: {
82
+ label: string;
83
+ provider: string;
84
+ resourceRef: string;
85
+ supportedEvents: string[];
86
+ type: string;
87
+ suggestedEvents?: string[] | undefined;
88
+ } | undefined;
89
+ };
90
+ truncated?: boolean | undefined;
91
+ continuation?: {
92
+ arguments: Record<string, unknown>;
93
+ reason?: string | undefined;
94
+ } | undefined;
95
+ error?: string | {
96
+ kind: string;
97
+ message: string;
98
+ retryable?: boolean | undefined;
99
+ } | undefined;
100
+ subscribable?: {
101
+ label: string;
102
+ provider: string;
103
+ resourceRef: string;
104
+ supportedEvents: string[];
105
+ type: string;
106
+ suggestedEvents?: string[] | undefined;
107
+ } | undefined;
57
108
  }>;
@@ -54,4 +54,51 @@ export declare function createGitHubUpdatePullRequestTool(ctx: ToolRegistrationH
54
54
  type: string;
55
55
  suggestedEvents?: string[] | undefined;
56
56
  } | undefined;
57
+ }, {
58
+ [x: string]: unknown;
59
+ base: string;
60
+ body: string | null;
61
+ draft: boolean;
62
+ number: number;
63
+ state: string;
64
+ title: string;
65
+ url: string;
66
+ ok: true;
67
+ status: "success";
68
+ target: "updatePullRequest";
69
+ data: {
70
+ base: string;
71
+ body: string | null;
72
+ draft: boolean;
73
+ number: number;
74
+ state: string;
75
+ title: string;
76
+ url: string;
77
+ subscribable?: {
78
+ label: string;
79
+ provider: string;
80
+ resourceRef: string;
81
+ supportedEvents: string[];
82
+ type: string;
83
+ suggestedEvents?: string[] | undefined;
84
+ } | undefined;
85
+ };
86
+ truncated?: boolean | undefined;
87
+ continuation?: {
88
+ arguments: Record<string, unknown>;
89
+ reason?: string | undefined;
90
+ } | undefined;
91
+ error?: string | {
92
+ kind: string;
93
+ message: string;
94
+ retryable?: boolean | undefined;
95
+ } | undefined;
96
+ subscribable?: {
97
+ label: string;
98
+ provider: string;
99
+ resourceRef: string;
100
+ supportedEvents: string[];
101
+ type: string;
102
+ suggestedEvents?: string[] | undefined;
103
+ } | undefined;
57
104
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-github",
3
- "version": "0.121.0",
3
+ "version": "0.122.1",
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.4.3",
34
- "@sentry/junior-plugin-api": "0.121.0"
34
+ "@sentry/junior-plugin-api": "0.122.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^25.9.1",