@remotion/mcp 4.0.532 → 4.0.534
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/esm/index.mjs +3 -1
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/dist/esm/index.mjs
CHANGED
|
@@ -18,7 +18,9 @@ server.registerTool("remotion-documentation", {
|
|
|
18
18
|
})
|
|
19
19
|
}
|
|
20
20
|
}, async ({ query }) => {
|
|
21
|
-
const res = await fetch(`${HOST}/mcp/67cad4626afeae106c6ffb50?query=${query}
|
|
21
|
+
const res = await fetch(`${HOST}/mcp/67cad4626afeae106c6ffb50?query=${encodeURIComponent(query)}`, {
|
|
22
|
+
signal: AbortSignal.timeout(1e4)
|
|
23
|
+
});
|
|
22
24
|
return { content: [{ type: "text", text: await res.text() }] };
|
|
23
25
|
});
|
|
24
26
|
var transport = new StdioServerTransport;
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,9 @@ server.registerTool('remotion-documentation', {
|
|
|
16
16
|
}),
|
|
17
17
|
},
|
|
18
18
|
}, async ({ query }) => {
|
|
19
|
-
const res = await fetch(`${HOST}/mcp/67cad4626afeae106c6ffb50?query=${query}
|
|
19
|
+
const res = await fetch(`${HOST}/mcp/67cad4626afeae106c6ffb50?query=${encodeURIComponent(query)}`, {
|
|
20
|
+
signal: AbortSignal.timeout(10_000),
|
|
21
|
+
});
|
|
20
22
|
return { content: [{ type: 'text', text: await res.text() }] };
|
|
21
23
|
});
|
|
22
24
|
const transport = new StdioServerTransport();
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/mcp"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/mcp",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.534",
|
|
7
7
|
"description": "Remotion's Model Context Protocol",
|
|
8
8
|
"main": "dist/esm/index.mjs",
|
|
9
9
|
"type": "module",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
31
|
+
"@remotion/eslint-config-internal": "4.0.534",
|
|
32
32
|
"eslint": "9.19.0",
|
|
33
33
|
"@types/command-line-args": "5.2.3",
|
|
34
34
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|