@primer/mcp 0.5.0-rc.f86dc8614 → 0.5.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,2 +1,2 @@
1
- import { t as server } from "./server-DFGK1VFj.js";
1
+ import { t as server } from "./server-rl4CHqO6.js";
2
2
  export { server };
@@ -1211,7 +1211,7 @@ server.registerTool("review_alt_text", {
1211
1211
  text: `Does this alt text: '${alt}' meet accessibility guidelines and describe the image: ${image} accurately in context of this surrounding text: '${surroundingText}'?\n\n`
1212
1212
  }
1213
1213
  }],
1214
- temperature: .4,
1214
+ sampling: { temperature: .4 },
1215
1215
  maxTokens: 500
1216
1216
  });
1217
1217
  return {
package/dist/stdio.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as server } from "./server-DFGK1VFj.js";
1
+ import { t as server } from "./server-rl4CHqO6.js";
2
2
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
3
3
  //#region src/transports/stdio.ts
4
4
  const transport = new StdioServerTransport();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@primer/mcp",
3
3
  "description": "An MCP server that connects AI tools to the Primer Design System",
4
- "version": "0.5.0-rc.f86dc8614",
4
+ "version": "0.5.0",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "mcp": "./bin/mcp.js"
@@ -34,7 +34,7 @@
34
34
  "watch": "rolldown -c -w"
35
35
  },
36
36
  "dependencies": {
37
- "@modelcontextprotocol/sdk": "^1.29.0",
37
+ "@modelcontextprotocol/sdk": "^1.24.0",
38
38
  "@primer/octicons": "^19.15.5",
39
39
  "@primer/primitives": "10.x || 11.x",
40
40
  "@primer/react": "^38.33.0",
package/src/server.ts CHANGED
@@ -1037,7 +1037,7 @@ server.registerTool(
1037
1037
  },
1038
1038
  },
1039
1039
  ],
1040
- temperature: 0.4,
1040
+ sampling: {temperature: 0.4},
1041
1041
  maxTokens: 500,
1042
1042
  })
1043
1043