pup-recorder-mcp 0.3.4 → 0.3.6

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/bin.js +3 -5
  2. package/package.json +2 -2
package/bin.js CHANGED
@@ -4,13 +4,13 @@
4
4
 
5
5
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
6
6
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
7
- import { pup, RecordSchema } from "pup-recorder";
7
+ import { pup, RenderSchema } from "pup-recorder";
8
8
  import z from "zod";
9
9
  import pkg from "./package.json" with { type: "json" };
10
10
 
11
11
  export const PupMCPSchema = z
12
12
  .object({ source: z.string().describe("file://, http(s)://, or data: URI") })
13
- .extend(RecordSchema.shape);
13
+ .extend(RenderSchema.shape);
14
14
 
15
15
  async function main() {
16
16
  const server = new McpServer(pkg);
@@ -30,9 +30,7 @@ async function main() {
30
30
  } catch (error) {
31
31
  return {
32
32
  isError: true,
33
- content: [
34
- { type: "text", text: JSON.stringify({ error: String(error) }) },
35
- ],
33
+ content: [{ type: "text", text: JSON.stringify({ error: String(error) }) }],
36
34
  };
37
35
  }
38
36
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pup-recorder-mcp",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "description": "MCP server for pup-recorder.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@modelcontextprotocol/sdk": "latest",
26
26
  "@typescript/native-preview": "latest",
27
- "pup-recorder": "0.3.4",
27
+ "pup-recorder": "0.3.6",
28
28
  "zod": "latest"
29
29
  },
30
30
  "scripts": {