@sentry/junior-github 0.129.0 → 0.130.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.
@@ -0,0 +1,13 @@
1
+ import type { SubscribableResource } from "@sentry/junior-plugin-api";
2
+ export declare const GITHUB_RELEASE_EVENTS: readonly ["release.published"];
3
+ export declare const GITHUB_RELEASE_SUGGESTED_EVENTS: string[];
4
+ /** Build the stable release-source identity shared by tools and webhooks. */
5
+ export declare function gitHubReleaseSourceResource(input: {
6
+ repo: string;
7
+ tag?: string;
8
+ }): Pick<SubscribableResource, "label" | "namespace" | "identifier">;
9
+ /** Describe a release source when GitHub webhooks are enabled. */
10
+ export declare function gitHubReleaseSourceSubscribable(input: {
11
+ repo: string;
12
+ tag?: string;
13
+ }): SubscribableResource | undefined;
package/dist/testing.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  normalizeGitHubResourceEvents
3
- } from "./chunk-25NTEYYB.js";
3
+ } from "./chunk-6XR7J3LQ.js";
4
4
  export {
5
5
  normalizeGitHubResourceEvents
6
6
  };
@@ -0,0 +1,62 @@
1
+ import { type ToolRegistrationHookContext } from "@sentry/junior-plugin-api";
2
+ /** Read release metadata and expose its stable subscription identity. */
3
+ export declare function createGitHubGetReleaseTool(ctx: ToolRegistrationHookContext): import("@sentry/junior-plugin-api").PluginToolDefinition<{
4
+ repo: string;
5
+ tag?: string | undefined;
6
+ }, {
7
+ release: {
8
+ createdAt: string;
9
+ draft: boolean;
10
+ htmlUrl: string;
11
+ id: number;
12
+ name: string | null;
13
+ prerelease: boolean;
14
+ publishedAt: string | null;
15
+ tagName: string;
16
+ targetCommitish: string;
17
+ } | null;
18
+ repo: string;
19
+ tag: string | null;
20
+ target: "getRelease";
21
+ truncated?: boolean | undefined;
22
+ continuation?: {
23
+ arguments: Record<string, unknown>;
24
+ reason?: string | undefined;
25
+ } | undefined;
26
+ subscribable?: {
27
+ identifier: string;
28
+ label: string;
29
+ namespace: string;
30
+ supportedEvents: string[];
31
+ type: string;
32
+ suggestedEvents?: string[] | undefined;
33
+ } | undefined;
34
+ }, {
35
+ release: {
36
+ createdAt: string;
37
+ draft: boolean;
38
+ htmlUrl: string;
39
+ id: number;
40
+ name: string | null;
41
+ prerelease: boolean;
42
+ publishedAt: string | null;
43
+ tagName: string;
44
+ targetCommitish: string;
45
+ } | null;
46
+ repo: string;
47
+ tag: string | null;
48
+ target: "getRelease";
49
+ truncated?: boolean | undefined;
50
+ continuation?: {
51
+ arguments: Record<string, unknown>;
52
+ reason?: string | undefined;
53
+ } | undefined;
54
+ subscribable?: {
55
+ identifier: string;
56
+ label: string;
57
+ namespace: string;
58
+ supportedEvents: string[];
59
+ type: string;
60
+ suggestedEvents?: string[] | undefined;
61
+ } | undefined;
62
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-github",
3
- "version": "0.129.0",
3
+ "version": "0.130.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.4.3",
34
- "@sentry/junior-plugin-api": "0.129.0"
34
+ "@sentry/junior-plugin-api": "0.130.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^25.9.1",