@unhandled/nextjs 0.2.12 → 0.2.13
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 +11 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -92,3 +92,14 @@ Route handlers need no wrapper, because Next already names their spans by route
|
|
|
92
92
|
## Everything else
|
|
93
93
|
|
|
94
94
|
`Unhandled.track`, `captureException`, `captureMessage`, `record` and the decorators come from `@unhandled/node`, which is installed with this package. Import them from there.
|
|
95
|
+
|
|
96
|
+
## For AI agents
|
|
97
|
+
|
|
98
|
+
A coding agent can install this package, check that its data arrives and fix the errors it reports through the Unhandled MCP server at `https://unhandled.net/mcp/x/debug`. In Claude Code, the Unhandled plugin adds that server plus skills for instrumenting a service, fixing a production error with a failing test first and verifying a deploy:
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
claude plugin marketplace add treboryx/unhandled
|
|
102
|
+
claude plugin install unhandled@unhandled
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Codex, Cursor, Gemini CLI and other agents connect to the same URL. [Coding agents](https://unhandled.net/docs/features/agents) has the setup for each one and an `AGENTS.md` section to add to your repository.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhandled/nextjs",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.13",
|
|
4
4
|
"description": "Unhandled for Next.js: instrumentation.ts registration, request error reporting, route handler and server action wrappers on @unhandled/node",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@opentelemetry/api": "~1.9.1",
|
|
28
28
|
"@opentelemetry/core": "^2.12.0",
|
|
29
29
|
"@opentelemetry/instrumentation": "^0.223.0",
|
|
30
|
-
"@unhandled/node": "0.9.
|
|
30
|
+
"@unhandled/node": "0.9.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@adonisjs/tsconfig": "^2.0.0",
|