@unhandled/instrumentation-drizzle 0.1.10 → 0.1.12
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
|
@@ -72,3 +72,14 @@ When `@opentelemetry/api` is installed, Drizzle itself emits `drizzle.*` spans u
|
|
|
72
72
|
## Drivers
|
|
73
73
|
|
|
74
74
|
`instrumentDrizzleClient` patches the session behind `db`, so it is driver-agnostic. `instrumentDrizzle` wraps `query()` on a node-postgres `Pool` (including the clients it hands out) or `Client`; any other object throws a `TypeError`.
|
|
75
|
+
|
|
76
|
+
## For AI agents
|
|
77
|
+
|
|
78
|
+
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:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
claude plugin marketplace add treboryx/unhandled
|
|
82
|
+
claude plugin install unhandled@unhandled
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Codex, Cursor, Gemini CLI and other agents connect to the same URL. [Coding agents](https://unhandled.net/docs/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/instrumentation-drizzle",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Drizzle ORM query tracing for Unhandled",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@opentelemetry/api": "~1.9.1",
|
|
23
23
|
"@opentelemetry/core": "^2.12.0",
|
|
24
|
-
"@unhandled/protocol": "0.
|
|
24
|
+
"@unhandled/protocol": "0.12.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@adonisjs/tsconfig": "^2.0.0",
|