@sentry/junior 0.10.3 → 0.11.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior",
3
- "version": "0.10.3",
3
+ "version": "0.11.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -10,12 +10,9 @@
10
10
  "junior": "bin/junior.mjs"
11
11
  },
12
12
  "exports": {
13
- "./handler": "./dist/handlers/router.js",
14
- "./handlers/webhooks": "./dist/handlers/webhooks.js",
15
- "./handlers/health": "./dist/handlers/health.js",
16
- "./config": "./dist/next-config.js",
13
+ ".": "./dist/app.js",
17
14
  "./instrumentation": "./dist/instrumentation.js",
18
- "./app/layout": "./dist/app/layout.js"
15
+ "./nitro": "./dist/nitro.js"
19
16
  },
20
17
  "files": [
21
18
  "dist",
@@ -23,41 +20,35 @@
23
20
  ],
24
21
  "dependencies": {
25
22
  "@ai-sdk/gateway": "^3.0.83",
26
- "@chat-adapter/slack": "4.22.0",
27
- "@chat-adapter/state-memory": "4.22.0",
28
- "@chat-adapter/state-redis": "4.22.0",
29
- "@mariozechner/pi-agent-core": "^0.59.0",
30
- "@mariozechner/pi-ai": "^0.59.0",
31
- "@modelcontextprotocol/sdk": "1.27.1",
32
- "@sinclair/typebox": "^0.34.48",
23
+ "@chat-adapter/slack": "4.23.0",
24
+ "@chat-adapter/state-memory": "4.23.0",
25
+ "@chat-adapter/state-redis": "4.23.0",
26
+ "@mariozechner/pi-agent-core": "0.59.0",
27
+ "@mariozechner/pi-ai": "0.59.0",
28
+ "@modelcontextprotocol/sdk": "1.29.0",
29
+ "@sinclair/typebox": "^0.34.49",
33
30
  "@slack/web-api": "^7.15.0",
31
+ "@vercel/functions": "^3.4.3",
34
32
  "@vercel/sandbox": "^1.9.0",
35
33
  "ai": "^6.0.141",
36
34
  "bash-tool": "^1.3.15",
37
- "chat": "4.22.0",
35
+ "chat": "4.23.0",
36
+ "hono": "^4.12.9",
38
37
  "just-bash": "^2.14.0",
39
38
  "node-html-markdown": "^2.0.0",
40
39
  "yaml": "^2.8.3",
41
40
  "zod": "^4.3.6"
42
41
  },
43
42
  "peerDependencies": {
44
- "@sentry/nextjs": ">=10.0.0",
45
- "next": ">=15.0.0",
46
- "react": ">=19.0.0",
47
- "react-dom": ">=19.0.0"
43
+ "@sentry/node": ">=10.0.0"
48
44
  },
49
45
  "devDependencies": {
50
- "@sentry/nextjs": "^10.46.0",
46
+ "@sentry/node": "^10.46.0",
51
47
  "@types/node": "^25.5.0",
52
- "@types/react": "^19.2.14",
53
- "@types/react-dom": "^19.2.3",
54
48
  "msw": "^2.12.14",
55
- "next": "^16.2.1",
56
- "react": "^19.2.4",
57
- "react-dom": "^19.2.4",
58
49
  "tsup": "^8.5.1",
59
50
  "typescript": "^5.9.3",
60
- "vercel": "^50.37.2",
51
+ "vercel": "^50.37.3",
61
52
  "vitest": "^4.1.2"
62
53
  },
63
54
  "scripts": {
@@ -1,11 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
-
4
- /**
5
- * Minimal root layout export for apps that do not provide one yet.
6
- */
7
- declare function RootLayout({ children }: {
8
- children: ReactNode;
9
- }): react_jsx_runtime.JSX.Element;
10
-
11
- export { RootLayout as default };
@@ -1,8 +0,0 @@
1
- // src/app/layout.tsx
2
- import { jsx } from "react/jsx-runtime";
3
- function RootLayout({ children }) {
4
- return /* @__PURE__ */ jsx("html", { lang: "en", children: /* @__PURE__ */ jsx("body", { children }) });
5
- }
6
- export {
7
- RootLayout as default
8
- };
@@ -1,12 +0,0 @@
1
- // src/handlers/health.ts
2
- async function GET() {
3
- return Response.json({
4
- status: "ok",
5
- service: "junior",
6
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
7
- });
8
- }
9
-
10
- export {
11
- GET
12
- };
@@ -1,6 +0,0 @@
1
- /**
2
- * Returns a minimal JSON health response for runtime health checks.
3
- */
4
- declare function GET(): Promise<Response>;
5
-
6
- export { GET };
@@ -1,6 +0,0 @@
1
- import {
2
- GET
3
- } from "../chunk-4RBEYCOG.js";
4
- export {
5
- GET
6
- };
@@ -1,23 +0,0 @@
1
- export { maxDuration } from './webhooks.js';
2
-
3
- type RouteContext = {
4
- params: Promise<unknown>;
5
- };
6
- /**
7
- * Handles all GET requests routed through `@sentry/junior/handler`.
8
- *
9
- * Supported routes:
10
- * - `api/health`
11
- * - `api/oauth/callback/mcp/:provider`
12
- * - `api/oauth/callback/:provider`
13
- */
14
- declare function GET(request: Request, context: RouteContext): Promise<Response>;
15
- /**
16
- * Handles all POST requests routed through `@sentry/junior/handler`.
17
- *
18
- * Supported routes:
19
- * - `api/webhooks/:platform`
20
- */
21
- declare function POST(request: Request, context: RouteContext): Promise<Response>;
22
-
23
- export { GET, POST };