@paretools/go 0.11.0 → 0.12.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/dist/index.js CHANGED
@@ -1,11 +1,10 @@
1
1
  #!/usr/bin/env node
2
- import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
- import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
2
+ import { createServer } from "@paretools/shared";
4
3
  import { registerAllTools } from "./tools/index.js";
5
- const server = new McpServer({ name: "@paretools/go", version: "0.8.1" }, {
4
+ await createServer({
5
+ name: "@paretools/go",
6
+ version: "0.8.1",
6
7
  instructions: "Structured Go toolchain operations (build, test, vet, run, mod-tidy, fmt, generate). Returns typed JSON with structured compiler errors, test results, vet warnings, run output, and more.",
8
+ registerTools: registerAllTools,
7
9
  });
8
- registerAllTools(server);
9
- const transport = new StdioServerTransport();
10
- await server.connect(transport);
11
10
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,MAAM,GAAG,IAAI,SAAS,CAC1B,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,OAAO,EAAE,EAC3C;IACE,YAAY,EACV,4LAA4L;CAC/L,CACF,CAAC;AAEF,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEzB,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;AAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,YAAY,CAAC;IACjB,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,YAAY,EACV,4LAA4L;IAC9L,aAAa,EAAE,gBAAgB;CAChC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paretools/go",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "mcpName": "io.github.Dave-London/pare-go",
5
5
  "description": "MCP server for Go tools (build, test, vet, run, mod-tidy, fmt, generate) with structured, token-efficient output",
6
6
  "license": "MIT",
@@ -53,7 +53,7 @@
53
53
  "dependencies": {
54
54
  "@modelcontextprotocol/sdk": "^1.26.0",
55
55
  "zod": "^4.3.6",
56
- "@paretools/shared": "0.11.0"
56
+ "@paretools/shared": "0.12.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/node": "^25.2.3",