@sentry/junior-github 0.210.2 → 0.212.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/index.js CHANGED
@@ -2054,15 +2054,15 @@ var inputSchema8 = z10.object({
2054
2054
  commentId: z10.number().int().positive().describe(
2055
2055
  "GitHub comment id (conversation comment id or inline review comment id)."
2056
2056
  ),
2057
- status: z10.enum(["reviewing", "addressed", "declined"]).describe(
2058
- "Feedback status. Maps to a reaction: reviewing -> eyes, addressed -> +1, declined -> -1."
2057
+ status: z10.enum(["addressed", "declined"]).describe(
2058
+ "Feedback outcome. Maps to a reaction: addressed -> +1, declined -> -1."
2059
2059
  )
2060
2060
  }).strict();
2061
2061
  var outputSchema8 = pluginToolOutputSchema10.extend({
2062
2062
  target: z10.literal("updatePullRequestFeedback"),
2063
2063
  repo: z10.string(),
2064
2064
  commentId: z10.number(),
2065
- status: z10.enum(["reviewing", "addressed", "declined"]),
2065
+ status: z10.enum(["addressed", "declined"]),
2066
2066
  reactionId: z10.number()
2067
2067
  });
2068
2068
  function parseRepo10(value) {
@@ -2108,7 +2108,7 @@ function createGitHubUpdatePullRequestFeedbackTool(ctx, botEmail) {
2108
2108
  openWorldHint: true,
2109
2109
  readOnlyHint: false
2110
2110
  },
2111
- description: "Set Junior's status reaction on GitHub pull request feedback: reviewing (eyes), addressed (+1), or declined (-1). Use the commentId and commentKind from the event. Replaces only Junior's prior status reaction on that comment.",
2111
+ description: "Set Junior's outcome reaction on GitHub pull request feedback: addressed (+1) or declined (-1). Use the commentId and commentKind from the event after acting on the feedback. Replaces only Junior's prior status reaction on that comment.",
2112
2112
  exposure: "direct",
2113
2113
  inputSchema: inputSchema8,
2114
2114
  outputSchema: outputSchema8,
@@ -30,13 +30,13 @@ export declare function createGitHubUpdatePullRequestFeedbackTool(ctx: {
30
30
  repo: string;
31
31
  commentKind: "conversation" | "review";
32
32
  commentId: number;
33
- status: "reviewing" | "addressed" | "declined";
33
+ status: "addressed" | "declined";
34
34
  }, {
35
35
  [x: string]: unknown;
36
36
  target: "updatePullRequestFeedback";
37
37
  repo: string;
38
38
  commentId: number;
39
- status: "reviewing" | "addressed" | "declined";
39
+ status: "addressed" | "declined";
40
40
  reactionId: number;
41
41
  truncated?: boolean | undefined;
42
42
  continuation?: {
@@ -48,7 +48,7 @@ export declare function createGitHubUpdatePullRequestFeedbackTool(ctx: {
48
48
  target: "updatePullRequestFeedback";
49
49
  repo: string;
50
50
  commentId: number;
51
- status: "reviewing" | "addressed" | "declined";
51
+ status: "addressed" | "declined";
52
52
  reactionId: number;
53
53
  truncated?: boolean | undefined;
54
54
  continuation?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-github",
3
- "version": "0.210.2",
3
+ "version": "0.212.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.210.2"
34
+ "@sentry/junior-plugin-api": "0.212.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@oxlint/plugins": "1.79.0",