@sentry/junior 0.10.2 → 0.11.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/README.md +19 -17
- package/dist/app.d.ts +13 -0
- package/dist/{chunk-BID5VOWA.js → app.js} +9523 -8776
- package/dist/chunk-2KG3PWR4.js +17 -0
- package/dist/{chunk-FESDWP3I.js → chunk-IRE2LOEJ.js} +5 -4
- package/dist/{chunk-GTJP3RVX.js → chunk-WELSSJJU.js} +2 -2
- package/dist/{chunk-KCLEEKYX.js → chunk-XH7TV4JS.js} +13 -5
- package/dist/chunk-Z3YD6NHK.js +12 -0
- package/dist/{chunk-LSXXIMX3.js → chunk-ZYB3U7Q4.js} +17 -15
- package/dist/cli/check.js +5 -3
- package/dist/cli/env.js +2 -0
- package/dist/cli/init.js +65 -45
- package/dist/cli/run.js +2 -0
- package/dist/cli/snapshot-warmup.js +9 -3
- package/dist/instrumentation.d.ts +3 -11
- package/dist/instrumentation.js +17 -26
- package/dist/nitro.d.ts +18 -0
- package/dist/nitro.js +59 -0
- package/package.json +16 -25
- package/dist/app/layout.d.ts +0 -11
- package/dist/app/layout.js +0 -8
- package/dist/chunk-4RBEYCOG.js +0 -12
- package/dist/handlers/health.d.ts +0 -6
- package/dist/handlers/health.js +0 -6
- package/dist/handlers/router.d.ts +0 -23
- package/dist/handlers/router.js +0 -827
- package/dist/handlers/webhooks.d.ts +0 -28
- package/dist/handlers/webhooks.js +0 -12
- package/dist/next-config.d.ts +0 -22
- package/dist/next-config.js +0 -114
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
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
|
-
"
|
|
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
|
-
"./
|
|
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.
|
|
27
|
-
"@chat-adapter/state-memory": "4.
|
|
28
|
-
"@chat-adapter/state-redis": "4.
|
|
29
|
-
"@mariozechner/pi-agent-core": "
|
|
30
|
-
"@mariozechner/pi-ai": "
|
|
31
|
-
"@modelcontextprotocol/sdk": "1.
|
|
32
|
-
"@sinclair/typebox": "^0.34.
|
|
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.
|
|
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/
|
|
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/
|
|
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.
|
|
51
|
+
"vercel": "^50.37.3",
|
|
61
52
|
"vitest": "^4.1.2"
|
|
62
53
|
},
|
|
63
54
|
"scripts": {
|
package/dist/app/layout.d.ts
DELETED
|
@@ -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 };
|
package/dist/app/layout.js
DELETED
package/dist/chunk-4RBEYCOG.js
DELETED
package/dist/handlers/health.js
DELETED
|
@@ -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 };
|