pup-recorder-mcp 0.4.9 → 0.4.10

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/README.md +18 -10
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -25,18 +25,26 @@ npx --yes pup-recorder-mcp
25
25
  **pup-recorder**
26
26
 
27
27
  ```
28
- source string required
29
- width number default: 1920
30
- height number default: 1080
31
- fps number default: 30
32
- duration number default: 5
33
- outFile string default: output.mp4
34
- withAudio boolean default: false
35
- deterministic boolean default: false
36
- useInnerProxy boolean default: false
28
+ source string required file://, http(s)://, or data: URI
29
+ width number 1920
30
+ height number 1080
31
+ fps number 30
32
+ duration number 5 seconds
33
+ outFiles string[] ["out/html.mp4", "out/html.webm"]
34
+ extension (.mp4/.webm) selects encoder
35
+ withAudio boolean false capture and encode audio
36
+ deterministic boolean false render by frame rather than recording
37
+ useInnerProxy boolean false bilibili inner proxy for resource access
38
+ disableGpu boolean false slower, more stable
39
+ disableHwCodec boolean false force software x265 over NVENC/VideoToolbox
40
+ windowTolerant boolean false fall back to dom-ready if warmup times out
41
+ windowTimeout number 10 window load timeout, seconds
42
+ screenshots number[] [] second marks to dump frames as PNG
37
43
  ```
38
44
 
39
- Returns `{ options, written, jank, outFile, audio? }`.
45
+ Returns `{ options, written, outFiles, blank, jank, screenshots }`.
46
+ `blank` is the blank-frame ratio and `jank` the frame-drop score; both are
47
+ 0 = perfect, 1 = worst. `jank` is always 0 in deterministic mode.
40
48
 
41
49
  ## ENVIRONMENT
42
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pup-recorder-mcp",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
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": "latest",
27
- "pup-recorder": "0.4.9",
27
+ "pup-recorder": "0.4.10",
28
28
  "zod": "latest"
29
29
  },
30
30
  "scripts": {