@arwars/simplebug-mcp 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -1
  2. package/package.json +12 -3
package/dist/index.js CHANGED
@@ -4,6 +4,7 @@
4
4
  import { execFileSync } from "node:child_process";
5
5
  import {
6
6
  mkdirSync,
7
+ readFileSync,
7
8
  readdirSync,
8
9
  rmSync,
9
10
  statSync,
@@ -263,7 +264,15 @@ async function renderBugReport(reportInput) {
263
264
  return lines.join(`
264
265
  `);
265
266
  }
266
- var server = new McpServer({ name: "simplebug", version: "0.1.0" });
267
+ var PKG_VERSION = (() => {
268
+ try {
269
+ const pkg = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
270
+ return pkg.version ?? "0.0.0";
271
+ } catch {
272
+ return "0.0.0";
273
+ }
274
+ })();
275
+ var server = new McpServer({ name: "simplebug", version: PKG_VERSION });
267
276
  server.registerTool("get_bug_report", {
268
277
  title: "Get SimpleBug report",
269
278
  description: "Fetch every captured detail of a SimpleBug bug report (metadata, " + "reproduction steps including keyboard input, console logs, network " + "requests with failures highlighted, video URL, device) so you can " + "diagnose and fix the reported bug. Accepts a share link or a report id.",
package/package.json CHANGED
@@ -1,17 +1,26 @@
1
1
  {
2
2
  "name": "@arwars/simplebug-mcp",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "MCP server for SimpleBug — lets AI agents read bug reports (reproduction steps, console logs, network, video frames) to diagnose and fix bugs.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "simplebug-mcp": "dist/index.js"
9
9
  },
10
- "files": ["dist", "README.md"],
10
+ "files": [
11
+ "dist",
12
+ "README.md"
13
+ ],
11
14
  "engines": {
12
15
  "node": ">=20"
13
16
  },
14
- "keywords": ["mcp", "model-context-protocol", "simplebug", "bug-reports", "ai"],
17
+ "keywords": [
18
+ "mcp",
19
+ "model-context-protocol",
20
+ "simplebug",
21
+ "bug-reports",
22
+ "ai"
23
+ ],
15
24
  "repository": {
16
25
  "type": "git",
17
26
  "url": "git+https://github.com/ArWars/SimpleBug.git",