@debugbundle/mcp 0.1.0 → 0.1.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/README.md +1 -1
- package/bin/debugbundle-mcp.js +5 -4
- package/dist/{main.js → main.cjs} +12172 -927
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ debugbundle-mcp
|
|
|
30
30
|
}
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
The server uses stdio transport and exposes the same DebugBundle incident, bundle, webhook, alert, token, project, member, billing, GitHub, probe, and diagnostic tools documented at https://debugbundle.com/docs/mcp.
|
|
33
|
+
The server uses stdio transport and exposes the same DebugBundle incident, incident-context, bundle, webhook, alert, token, project, member, billing, GitHub, probe, and diagnostic tools documented at https://debugbundle.com/docs/mcp. Hosted verification supports the active V1 proof path through `verify_cloud` with `trigger5xx: true`, incident triage can start with the one-call `get_incident_context` tool, and `doctor` accepts `privacy: true` to return the same deterministic redaction preview as `debugbundle doctor --privacy`.
|
|
34
34
|
|
|
35
35
|
## Authentication
|
|
36
36
|
|
package/bin/debugbundle-mcp.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from "node:module";
|
|
2
3
|
import { dirname, resolve } from "node:path";
|
|
3
|
-
import { fileURLToPath
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
4
5
|
|
|
6
|
+
const require = createRequire(import.meta.url);
|
|
5
7
|
const binDirectory = dirname(fileURLToPath(import.meta.url));
|
|
6
8
|
const packageRoot = resolve(binDirectory, "..");
|
|
7
|
-
const mainPath = resolve(packageRoot, "dist/main.
|
|
8
|
-
const { main } = await import(pathToFileURL(mainPath).href);
|
|
9
|
+
const mainPath = resolve(packageRoot, "dist/main.cjs");
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
require(mainPath);
|