recordful-mcp 0.6.0 → 0.7.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/SECURITY.md CHANGED
@@ -1,36 +1,36 @@
1
- # Security model
2
-
3
- recordful-mcp lets a local program start screen and tab recordings and click and type in a browser tab. The design assumes that any process, web page or other extension on the machine may try to abuse it.
4
-
5
- ## Threats and mitigations
6
-
7
- | Threat | Mitigation |
8
- | --- | --- |
9
- | Someone who never asked for AI control gets it | The extension makes no connection at all until the user turns on AI agents (Recordful popup → More → AI agents). Turning it off disconnects at once |
10
- | A remote machine connects | The server binds `127.0.0.1` only, and this isn't configurable |
11
- | A web page (including via DNS rebinding) connects to the port | Browsers always send `Origin` on WebSocket upgrades, and the upgrade is refused unless it's an allowed `chrome-extension://` origin |
12
- | Another extension connects | Only the Chrome Web Store build of Recordful is allowed by default; other IDs must be added explicitly (`RECORDFUL_BRIDGE_ALLOWED_EXTENSION_IDS`) |
13
- | An app the user didn't mean to approve gets paired | Pairing needs a click on Allow in Recordful's own window, which names the app and shows a 4-digit code; the agent shows the same code in chat, and the user is told to allow only if they match. Pairing is only ever started by a user gesture, never by an automatic reconnect |
14
- | A local process pretends to be the extension | HMAC challenge-response over a per-pairing secret; the secret is never sent after pairing |
15
- | **A rogue local process grabs the port first and tries to control Recordful** | The extension verifies the server's proof and refuses all requests until it passes. An unpaired rogue server can only ask to pair, which shows a window with a code that won't match the agent's |
16
- | Replaying a captured handshake | Fresh 32-byte nonces from both sides on every connection; proofs are bound to role and both nonces |
17
- | The agent acts outside the intended tab | Page tools act only on the tab the user handed over by clicking the Recordful icon, or the tab being recorded |
18
- | Silent control | The Recordful icon shows an "AI" badge, and the AI agents page names the connected app, while a session is live |
19
- | Secret leakage through logs | Logs go to stderr only, and fields named `token`, `proof`, `secret` or `authorization` are redacted |
20
- | The pairing file readable by other users | Written with mode `0600` in a `0700` directory on POSIX, atomically (write, then rename); on Windows it inherits the user-profile ACL |
21
- | Memory exhaustion | 1 MiB frame limit, handshake and pairing deadlines, a single session, and heartbeat eviction |
22
- | Test shortcuts reaching users | A baked-in shared secret and port override exist for scripted tests only, and are compiled out of every non-development build |
23
-
24
- ## Out of scope
25
-
26
- - Malware running as the same OS user. It can read the pairing file and could already capture the screen itself.
27
- - A user who approves a pairing without checking the code.
28
-
29
- ## Revoking access
30
-
31
- - In Chrome: Recordful popup → More → AI agents → Paired AI apps → **Forget**, or turn AI agents off.
32
- - On the computer: `npx -y recordful-mcp unpair --all` (or `unpair <extension-id>`). Recordful asks to pair again the next time it's needed.
33
-
34
- ## Reporting
35
-
36
- Report vulnerabilities privately through [GitHub security advisories](https://github.com/iKislay/recordful-mcp/security/advisories/new). Please don't open a public issue.
1
+ # Security model
2
+
3
+ recordful-mcp lets a local program start screen and tab recordings and click and type in a browser tab. The design assumes that any process, web page or other extension on the machine may try to abuse it.
4
+
5
+ ## Threats and mitigations
6
+
7
+ | Threat | Mitigation |
8
+ | --- | --- |
9
+ | Someone who never asked for AI control gets it | The extension makes no connection at all until the user turns on AI agents (Recordful popup → More → AI agents). Turning it off disconnects at once |
10
+ | A remote machine connects | The server binds `127.0.0.1` only, and this isn't configurable |
11
+ | A web page (including via DNS rebinding) connects to the port | Browsers always send `Origin` on WebSocket upgrades, and the upgrade is refused unless it's an allowed `chrome-extension://` origin |
12
+ | Another extension connects | Only the Chrome Web Store build of Recordful is allowed by default; other IDs must be added explicitly (`RECORDFUL_BRIDGE_ALLOWED_EXTENSION_IDS`) |
13
+ | An app the user didn't mean to approve gets paired | Pairing needs a click on Allow in Recordful's own window, which names the app and shows a 4-digit code; the agent shows the same code in chat, and the user is told to allow only if they match. Pairing is only ever started by a user gesture, never by an automatic reconnect |
14
+ | A local process pretends to be the extension | HMAC challenge-response over a per-pairing secret; the secret is never sent after pairing |
15
+ | **A rogue local process grabs the port first and tries to control Recordful** | The extension verifies the server's proof and refuses all requests until it passes. An unpaired rogue server can only ask to pair, which shows a window with a code that won't match the agent's |
16
+ | Replaying a captured handshake | Fresh 32-byte nonces from both sides on every connection; proofs are bound to role and both nonces |
17
+ | The agent acts outside the intended tab | Page tools act only on the tab the user handed over by clicking the Recordful icon, or the tab being recorded |
18
+ | Silent control | The Recordful icon shows an "AI" badge, and the AI agents page names the connected app, while a session is live |
19
+ | Secret leakage through logs | Logs go to stderr only, and fields named `token`, `proof`, `secret` or `authorization` are redacted |
20
+ | The pairing file readable by other users | Written with mode `0600` in a `0700` directory on POSIX, atomically (write, then rename); on Windows it inherits the user-profile ACL |
21
+ | Memory exhaustion | 1 MiB frame limit, handshake and pairing deadlines, a single session, and heartbeat eviction |
22
+ | Test shortcuts reaching users | A baked-in shared secret and port override exist for scripted tests only, and are compiled out of every non-development build |
23
+
24
+ ## Out of scope
25
+
26
+ - Malware running as the same OS user. It can read the pairing file and could already capture the screen itself.
27
+ - A user who approves a pairing without checking the code.
28
+
29
+ ## Revoking access
30
+
31
+ - In Chrome: Recordful popup → More → AI agents → Paired AI apps → **Forget**, or turn AI agents off.
32
+ - On the computer: `npx -y recordful-mcp unpair --all` (or `unpair <extension-id>`). Recordful asks to pair again the next time it's needed.
33
+
34
+ ## Reporting
35
+
36
+ Report vulnerabilities privately through [GitHub security advisories](https://github.com/iKislay/recordful-mcp/security/advisories/new). Please don't open a public issue.
package/dist/cli.js CHANGED
@@ -21,55 +21,55 @@ import { setupGuide } from "./setupGuide.js";
21
21
  import { SETUP_PROMPT } from "./setupPrompt.js";
22
22
  import { getVideoAndWait, mb, transcriptAndWait, uploadAndWait } from "./workflows.js";
23
23
  const { version } = createRequire(import.meta.url)("../package.json");
24
- const HELP = `recordful-mcp ${version}: let any AI app record, upload and read back product demos with Recordful
25
-
26
- Usage:
27
- recordful-mcp Run the MCP server on stdio (what AI apps start)
28
- recordful-mcp install --target <app> [--component all|mcp|skill] [--yes] [--json]
29
- Add Recordful (server + skill) to one AI app's own configuration.
30
- <app>: ${TARGETS.join(", ")}. Without --yes it only shows what it would change.
31
- recordful-mcp setup Setup steps for every AI app, as text
32
- recordful-mcp prompt A prompt to paste into any AI app so it sets Recordful up itself
33
- recordful-mcp guide --json Everything an AI agent needs to know about this install
34
-
35
- Recording (click the Recordful icon on the tab first):
36
- recordful-mcp start [--tab <id>] Start recording with your Recordful settings
37
- recordful-mcp pause | resume Pause or resume
38
- recordful-mcp stop Stop; says where the recording went
39
-
40
- Videos (uploads and transcripts need Recordful Pro):
41
- recordful-mcp recordings Recordings saved on this computer
42
- recordful-mcp upload [<takeId>] Upload a recording (default: the last one)
43
- [--title <t>] [--visibility private|workspace|public] [--force] [--no-wait]
44
- recordful-mcp videos [--limit <n>] [--query <text>]
45
- Your videos on recordful.app
46
- recordful-mcp video [<videoId>] [--wait]
47
- One video's links and upload stage
48
- recordful-mcp transcript [<videoId>] [--format text|vtt|json] [--no-wait]
49
- Print what was said (transcribes on first use)
50
-
51
- Manage videos, comments and folders (Recordful Pro; change things only when the user asked):
52
- recordful-mcp update [<videoId>] [--title <t>] [--visibility private|workspace|public]
53
- recordful-mcp delete <videoId> --yes Permanent; --yes confirms this exact video
54
- recordful-mcp activity [<videoId>] Views, likes and comments
55
- recordful-mcp comment [<videoId>] --body <text>
56
- recordful-mcp like [<videoId>] [--undo]
57
- recordful-mcp folders Your folders
58
- recordful-mcp folder-create <name> [--parent <folderId>]
59
- recordful-mcp move <videoId>... [--to <folderId>] (no --to: the top level)
60
- recordful-mcp storage Cloud storage used
61
-
62
- Other:
63
- recordful-mcp status Connection, recorder and pairing state
64
- recordful-mcp unpair [<id>|--all] Forget a paired Recordful (or all of them)
65
- recordful-mcp call <method> [json] Call one Recordful method directly (debugging)
66
- recordful-mcp --version | --help
67
-
68
- Add --json to any command for machine-readable output. Progress goes to stderr.
69
- Without a video or recording ID, commands use the last recording.
70
-
71
- Environment (all optional): RECORDFUL_BRIDGE_PORT, RECORDFUL_BRIDGE_ALLOWED_EXTENSION_IDS,
72
- RECORDFUL_BRIDGE_STATE_PATH, RECORDFUL_BRIDGE_TOKEN, RECORDFUL_BRIDGE_LOG_LEVEL. See docs/reference.md.
24
+ const HELP = `recordful-mcp ${version}: let any AI app record, upload and read back product demos with Recordful
25
+
26
+ Usage:
27
+ recordful-mcp Run the MCP server on stdio (what AI apps start)
28
+ recordful-mcp install --target <app> [--component all|mcp|skill] [--yes] [--json]
29
+ Add Recordful (server + skill) to one AI app's own configuration.
30
+ <app>: ${TARGETS.join(", ")}. Without --yes it only shows what it would change.
31
+ recordful-mcp setup Setup steps for every AI app, as text
32
+ recordful-mcp prompt A prompt to paste into any AI app so it sets Recordful up itself
33
+ recordful-mcp guide --json Everything an AI agent needs to know about this install
34
+
35
+ Recording (click the Recordful icon on the tab first):
36
+ recordful-mcp start [--tab <id>] Start recording with your Recordful settings
37
+ recordful-mcp pause | resume Pause or resume
38
+ recordful-mcp stop Stop; says where the recording went
39
+
40
+ Videos (uploads and transcripts need Recordful Pro):
41
+ recordful-mcp recordings Recordings saved on this computer
42
+ recordful-mcp upload [<takeId>] Upload a recording (default: the last one)
43
+ [--title <t>] [--visibility private|workspace|public] [--force] [--no-wait]
44
+ recordful-mcp videos [--limit <n>] [--query <text>]
45
+ Your videos on recordful.app
46
+ recordful-mcp video [<videoId>] [--wait]
47
+ One video's links and upload stage
48
+ recordful-mcp transcript [<videoId>] [--format text|vtt|json] [--no-wait]
49
+ Print what was said (transcribes on first use)
50
+
51
+ Manage videos, comments and folders (Recordful Pro; change things only when the user asked):
52
+ recordful-mcp update [<videoId>] [--title <t>] [--visibility private|workspace|public]
53
+ recordful-mcp delete <videoId> --yes Permanent; --yes confirms this exact video
54
+ recordful-mcp activity [<videoId>] Views, likes and comments
55
+ recordful-mcp comment [<videoId>] --body <text>
56
+ recordful-mcp like [<videoId>] [--undo]
57
+ recordful-mcp folders Your folders
58
+ recordful-mcp folder-create <name> [--parent <folderId>]
59
+ recordful-mcp move <videoId>... [--to <folderId>] (no --to: the top level)
60
+ recordful-mcp storage Cloud storage used
61
+
62
+ Other:
63
+ recordful-mcp status Connection, recorder and pairing state
64
+ recordful-mcp unpair [<id>|--all] Forget a paired Recordful (or all of them)
65
+ recordful-mcp call <method> [json] Call one Recordful method directly (debugging)
66
+ recordful-mcp --version | --help
67
+
68
+ Add --json to any command for machine-readable output. Progress goes to stderr.
69
+ Without a video or recording ID, commands use the last recording.
70
+
71
+ Environment (all optional): RECORDFUL_BRIDGE_PORT, RECORDFUL_BRIDGE_ALLOWED_EXTENSION_IDS,
72
+ RECORDFUL_BRIDGE_STATE_PATH, RECORDFUL_BRIDGE_TOKEN, RECORDFUL_BRIDGE_LOG_LEVEL. See docs/reference.md.
73
73
  `;
74
74
  // How long the background helper stays up with nothing asking it anything
75
75
  // (RECORDFUL_BRIDGE_HELPER_IDLE_MS overrides it, for tests).
@@ -93,7 +93,7 @@ export const createRecordfulServer = (deps) => {
93
93
  }));
94
94
  server.registerTool("stop_recording", {
95
95
  title: "Stop recording",
96
- description: 'Stop the current Recordful recording. Recordful then opens its editor with the recording, exactly as when the user clicks Stop. Returns where it went: recording.kind "cloud" (Recordful Pro: already uploading, with its videoId and links) or "local" (saved on this computer as takeId; upload_recording uploads it).',
96
+ description: 'Stop the current Recordful recording. Recordful then opens its editor with the recording, exactly as when the user clicks Stop. Returns where it went: recording.kind "cloud" (Recordful Pro: already uploading, with its videoId and links) or "local" (saved on this computer as takeId; upload_recording uploads it), plus the markers add_marker placed.',
97
97
  inputSchema: { timeoutMs: waitMs },
98
98
  annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },
99
99
  }, handle(async ({ timeoutMs }) => {
@@ -114,6 +114,12 @@ export const createRecordfulServer = (deps) => {
114
114
  inputSchema: {},
115
115
  annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false },
116
116
  }, handle(async () => call(Method.RecordingResume, {}, 10_000)));
117
+ server.registerTool("add_marker", {
118
+ title: "Add a marker",
119
+ description: 'Mark this moment of the running recording with a short label ("signed in", "error shown"). It is timed on the video clock, pauses left out, and stop_recording returns every marker as { atMs, label }, so you can point the user to moments or edit around them later.',
120
+ inputSchema: { label: z.string().trim().min(1).max(200).describe("What happens at this moment, in a few words.") },
121
+ annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },
122
+ }, handle(async ({ label }) => call(Method.RecordingMarker, { label }, 10_000)));
117
123
  server.registerTool("probe_capture", {
118
124
  title: "Probe capture permissions",
119
125
  description: "Diagnostic: check, without recording, whether the extension can capture the target tab right now with no user click, and which optional Chrome permissions are granted. Refuses while a recording is running.",
@@ -1 +1 @@
1
- {"version":3,"file":"createRecordfulServer.js","sourceRoot":"","sources":["../../src/core/createRecordfulServer.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,yEAAyE;AACzE,8EAA8E;AAC9E,+EAA+E;AAC/E,iDAAiD;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,eAAe,EAAmB,MAAM,qBAAqB,CAAC;AAEpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAYrD,MAAM,IAAI,GAAG,CAAC,KAAc,EAAkB,EAAE,CAAC,CAAC;IAChD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;CACtG,CAAC,CAAC;AAEH,MAAM,OAAO,GAAG,CAAC,GAAY,EAAkB,EA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 -1,4 +1,4 @@
1
- export declare const MCP_TOOLS: readonly ["get_status", "start_recording", "stop_recording", "pause_recording", "resume_recording", "probe_capture", "navigate", "snapshot", "click", "type", "press", "scroll", "wait_for", "screenshot", "list_recordings", "upload_recording", "get_video", "list_videos", "get_transcript", "update_video", "delete_video", "get_video_activity", "comment_on_video", "like_video", "list_folders", "create_folder", "move_videos", "get_storage"];
1
+ export declare const MCP_TOOLS: readonly ["get_status", "start_recording", "stop_recording", "pause_recording", "resume_recording", "add_marker", "probe_capture", "navigate", "snapshot", "click", "type", "press", "scroll", "wait_for", "screenshot", "list_recordings", "upload_recording", "get_video", "list_videos", "get_transcript", "update_video", "delete_video", "get_video_activity", "comment_on_video", "like_video", "list_folders", "create_folder", "move_videos", "get_storage"];
2
2
  interface CommandInfo {
3
3
  command: string;
4
4
  summary: string;
@@ -19,7 +19,7 @@ export declare const guide: (version: string) => {
19
19
  "1": string;
20
20
  "2": string;
21
21
  };
22
- mcpTools: readonly ["get_status", "start_recording", "stop_recording", "pause_recording", "resume_recording", "probe_capture", "navigate", "snapshot", "click", "type", "press", "scroll", "wait_for", "screenshot", "list_recordings", "upload_recording", "get_video", "list_videos", "get_transcript", "update_video", "delete_video", "get_video_activity", "comment_on_video", "like_video", "list_folders", "create_folder", "move_videos", "get_storage"];
22
+ mcpTools: readonly ["get_status", "start_recording", "stop_recording", "pause_recording", "resume_recording", "add_marker", "probe_capture", "navigate", "snapshot", "click", "type", "press", "scroll", "wait_for", "screenshot", "list_recordings", "upload_recording", "get_video", "list_videos", "get_transcript", "update_video", "delete_video", "get_video_activity", "comment_on_video", "like_video", "list_folders", "create_folder", "move_videos", "get_storage"];
23
23
  commands: CommandInfo[];
24
24
  installTargets: readonly ["claude", "cursor", "codex", "opencode", "vscode", "windsurf", "gemini"];
25
25
  humanSteps: string[];
package/dist/guide.js CHANGED
@@ -9,6 +9,7 @@ export const MCP_TOOLS = [
9
9
  "stop_recording",
10
10
  "pause_recording",
11
11
  "resume_recording",
12
+ "add_marker",
12
13
  "probe_capture",
13
14
  "navigate",
14
15
  "snapshot",
package/dist/guide.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"guide.js","sourceRoot":"","sources":["../src/guide.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,4EAA4E;AAC5E,wEAAwE;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,YAAY;IACZ,iBAAiB;IACjB,gBAAgB;IAChB,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,UAAU;IACV,UAAU;IACV,OAAO;IACP,MAAM;IACN,OAAO;IACP,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,iBAAiB;IACjB,kBAAkB;IAClB,WAAW;IACX,aAAa;IACb,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,oBAAoB;IACpB,kBAAkB;IAClB,YAAY;IACZ,cAAc;IACd,eAAe;IACf,aAAa;IACb,aAAa;CACL,CAAC;AASX,MAAM,QAAQ,GAAkB;IAC9B,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,iDAAiD,EAAE,cAAc,EAAE,KAAK,EAAE;IACxG,EAAE,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,oDAAoD,EAAE,cAAc,EAAE,IAAI,EAAE;IACtH,EAAE,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,+BAA+B,EAAE,cAAc,EAAE,IAAI,EAAE;IAC7F,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,qCAAqC,EAAE,cAAc,EAAE,IAAI,EAAE;IACzF,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,mCAAmC,EAAE,cAAc,EAAE,IAAI,EAAE;IAC7F,EAAE,OAAO,EAAE,6FAA6F,EAAE,OAAO,EAAE,yCAAyC,EAAE,GAAG,EAAE,IA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;IAClB,cAAc,EAAE,OAAO;IACvB,UAAU,EAAE;QACV,8CAA8C;QAC9C,mGAAmG;QACnG,6FAA6F;QAC7F,sEAAsE;KACvE;IACD,KAAK,EAAE;QACL,IAAI,EAAE,8NAA8N;QACpO,GAAG,EAAE,sCAAsC;KAC5C;IACD,MAAM,EAAE;QACN,qDAAqD;QACrD,0FAA0F;QAC1F,wHAAwH;QACxH,8EAA8E;QAC9E,uNAAuN;KACxN;IACD,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC;CACrC,CAAC,CAAC"}
@@ -10,7 +10,7 @@ Typical flow for "record feature X" (the record_feature prompt has the full vers
10
10
  4. Get to the starting page before recording: navigate(url), then snapshot() to check it loaded.
11
11
  5. Call start_recording. It uses the user's saved Recordful settings (mode, mic, camera, countdown) and returns once capture is live.
12
12
  6. Walk through the feature with the page tools: snapshot() lists the interactive elements with refs ("e12"), then click(ref), type(ref, text), press(key), scroll(...), wait_for(...). Recordful moves a visible cursor to each target and types at a human pace, so the video looks like a person using the app. Take a fresh snapshot after anything that changes the page; refs from before a navigation stop working.
13
- 7. Call pause_recording before you stop to think or plan the next steps, and resume_recording right before acting again, so the video has no dead air. snapshot and screenshot work while paused.
13
+ 7. Call pause_recording before you stop to think or plan the next steps, and resume_recording right before acting again, so the video has no dead air. snapshot and screenshot work while paused. Call add_marker("…") at moments worth finding again (a result appearing, an error shown).
14
14
  8. Call stop_recording. Recordful opens its editor with the recording automatically.
15
15
  9. To share it or read it back (Recordful Pro): stop_recording says where the recording went. A cloud recording is already uploading; a local one uploads with upload_recording. get_video gives its links once it's ready, and get_transcript returns what was said (it transcribes on first use and waits).
16
16
 
@@ -4,6 +4,7 @@ export declare const Method: {
4
4
  readonly RecordingStop: "recording.stop";
5
5
  readonly RecordingPause: "recording.pause";
6
6
  readonly RecordingResume: "recording.resume";
7
+ readonly RecordingMarker: "recording.marker";
7
8
  readonly CaptureProbe: "capture.probe";
8
9
  readonly PageNavigate: "page.navigate";
9
10
  readonly PageSnapshot: "page.snapshot";
@@ -7,6 +7,7 @@ export const Method = {
7
7
  RecordingStop: "recording.stop",
8
8
  RecordingPause: "recording.pause",
9
9
  RecordingResume: "recording.resume",
10
+ RecordingMarker: "recording.marker",
10
11
  CaptureProbe: "capture.probe",
11
12
  // Page tools: act on the tab the user handed to Recordful (see page.ts).
12
13
  PageNavigate: "page.navigate",
@@ -1 +1 @@
1
- {"version":3,"file":"methods.js","sourceRoot":"","sources":["../../src/protocol/methods.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,4EAA4E;AAC5E,gFAAgF;AAEhF,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,SAAS,EAAE,YAAY;IACvB,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE,gBAAgB;IAC/B,cAAc,EAAE,iBAAiB;IACjC,eAAe,EAAE,kBAAkB;IACnC,YAAY,EAAE,eAAe;IAC7B,yEAAyE;IACzE,YAAY,EAAE,eAAe;IAC7B,YAAY,EAAE,eAAe;IAC7B,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE,cAAc;IAC3B,cAAc,EAAE,iBAAiB;IACjC,iFAAiF;IACjF,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,YAAY;IACvB,WAAW,EAAE,cAAc;IAC3B,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,eAAe,EAAE,kBAAkB;IACnC,yDAAyD;IACzD,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;IAC3B,eAAe,EAAE,kBAAkB;IACnC,YAAY,EAAE,eAAe;IAC7B,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,aAAa;IACzB,YAAY,EAAE,eAAe;IAC7B,UAAU,EAAE,aAAa;CACjB,CAAC;AAGX,MAAM,CAAC,MAAM,OAAO,GAAsB,M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,GAAG,CAAC,KAAa,EAAmB,EAAE,CACxD,OAA6B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC"}
@@ -1,48 +1,48 @@
1
1
  // `recordful-mcp setup`: copy-paste configuration for the common AI apps.
2
2
  // Kept in step with the README's install section.
3
- export const setupGuide = () => `Add Recordful to your AI app
4
-
5
- The server runs locally with npx: no hosting, no account, no API key.
6
-
7
- Claude Code
8
- Plugin (server + record-demo skill + /record-demo):
9
- /plugin marketplace add iKislay/recordful-mcp
10
- /plugin install recordful@recordful
11
- Or just the server, for all projects:
12
- claude mcp add --scope user recordful -- npx -y recordful-mcp
13
- (native Windows: use "cmd /c npx -y recordful-mcp")
14
-
15
- Claude Desktop
16
- Settings → Extensions → install recordful.mcpb (from the GitHub release), or add this to
17
- claude_desktop_config.json (Settings → Developer → Edit Config):
18
- { "mcpServers": { "recordful": { "command": "npx", "args": ["-y", "recordful-mcp"] } } }
19
-
20
- Cursor (~/.cursor/mcp.json)
21
- { "mcpServers": { "recordful": { "command": "npx", "args": ["-y", "recordful-mcp"] } } }
22
-
23
- VS Code (.vscode/mcp.json, or "MCP: Add Server" in the Command Palette)
24
- { "servers": { "recordful": { "type": "stdio", "command": "npx", "args": ["-y", "recordful-mcp"] } } }
25
-
26
- Windsurf (~/.codeium/windsurf/mcp_config.json)
27
- { "mcpServers": { "recordful": { "command": "npx", "args": ["-y", "recordful-mcp"] } } }
28
-
29
- opencode (opencode.json)
30
- { "mcp": { "recordful": { "type": "local", "command": ["npx", "-y", "recordful-mcp"], "enabled": true } } }
31
-
32
- Codex CLI (~/.codex/config.toml)
33
- [mcp_servers.recordful]
34
- command = "npx"
35
- args = ["-y", "recordful-mcp"]
36
-
37
- Gemini CLI (~/.gemini/settings.json)
38
- { "mcpServers": { "recordful": { "command": "npx", "args": ["-y", "recordful-mcp"] } } }
39
-
40
- Any other app that runs local (stdio) MCP servers: command "npx", arguments "-y recordful-mcp".
41
-
42
- Then, in Chrome:
43
- 1. Install Recordful: https://chromewebstore.google.com/detail/hkcgjbkibidgbefehehenlmhjanjaopc
44
- 2. First time only: open Recordful's popup → More → AI agents, and turn it on.
45
- 3. Ask your AI to record something, e.g. "Record a demo of the sign-up flow on localhost:3000".
46
- When it asks, click the Recordful icon on that tab, and approve the pairing code (first time only).
3
+ export const setupGuide = () => `Add Recordful to your AI app
4
+
5
+ The server runs locally with npx: no hosting, no account, no API key.
6
+
7
+ Claude Code
8
+ Plugin (server + record-demo skill + /record-demo):
9
+ /plugin marketplace add iKislay/recordful-mcp
10
+ /plugin install recordful@recordful
11
+ Or just the server, for all projects:
12
+ claude mcp add --scope user recordful -- npx -y recordful-mcp
13
+ (native Windows: use "cmd /c npx -y recordful-mcp")
14
+
15
+ Claude Desktop
16
+ Settings → Extensions → install recordful.mcpb (from the GitHub release), or add this to
17
+ claude_desktop_config.json (Settings → Developer → Edit Config):
18
+ { "mcpServers": { "recordful": { "command": "npx", "args": ["-y", "recordful-mcp"] } } }
19
+
20
+ Cursor (~/.cursor/mcp.json)
21
+ { "mcpServers": { "recordful": { "command": "npx", "args": ["-y", "recordful-mcp"] } } }
22
+
23
+ VS Code (.vscode/mcp.json, or "MCP: Add Server" in the Command Palette)
24
+ { "servers": { "recordful": { "type": "stdio", "command": "npx", "args": ["-y", "recordful-mcp"] } } }
25
+
26
+ Windsurf (~/.codeium/windsurf/mcp_config.json)
27
+ { "mcpServers": { "recordful": { "command": "npx", "args": ["-y", "recordful-mcp"] } } }
28
+
29
+ opencode (opencode.json)
30
+ { "mcp": { "recordful": { "type": "local", "command": ["npx", "-y", "recordful-mcp"], "enabled": true } } }
31
+
32
+ Codex CLI (~/.codex/config.toml)
33
+ [mcp_servers.recordful]
34
+ command = "npx"
35
+ args = ["-y", "recordful-mcp"]
36
+
37
+ Gemini CLI (~/.gemini/settings.json)
38
+ { "mcpServers": { "recordful": { "command": "npx", "args": ["-y", "recordful-mcp"] } } }
39
+
40
+ Any other app that runs local (stdio) MCP servers: command "npx", arguments "-y recordful-mcp".
41
+
42
+ Then, in Chrome:
43
+ 1. Install Recordful: https://chromewebstore.google.com/detail/hkcgjbkibidgbefehehenlmhjanjaopc
44
+ 2. First time only: open Recordful's popup → More → AI agents, and turn it on.
45
+ 3. Ask your AI to record something, e.g. "Record a demo of the sign-up flow on localhost:3000".
46
+ When it asks, click the Recordful icon on that tab, and approve the pairing code (first time only).
47
47
  `;
48
48
  //# sourceMappingURL=setupGuide.js.map
@@ -1,33 +1,33 @@
1
1
  // `recordful-mcp prompt`: one block of text a user pastes into any AI app so the
2
2
  // app sets Recordful up for itself. The same text is on the README and the help
3
3
  // center (help.recordful.app/docs/ai-agents/setup-prompt); keep them in step.
4
- export const SETUP_PROMPT = `Set up Recordful as my screen-recording assistant, then use it for the task at the end.
5
-
6
- By pasting this prompt I authorize these local setup steps for the AI app you are running in, and only this one: run the official recordful-mcp package with npx and add the Recordful MCP entry and skill to your own configuration. Do them yourself; don't ask me to run or copy commands, and don't ask me to confirm them again. This does not cover recording, uploading, or changing anything on recordful.app; ask me first for each of those.
7
-
8
- Don't rely on remembered commands. Read the installed contract: run \`npx -y recordful-mcp guide --json\` and \`npx -y recordful-mcp --help\`. JSON on stdout is the source of truth, stderr is progress, exit code 1 is a failure, exit code 2 means a transcript isn't ready yet.
9
-
10
- Recordful-first routing: for anything about recording my browser, uploading the recording or reading its transcript, use the Recordful MCP tools or the recordful-mcp command line, never your own browser, computer-use or screen-capture tools. The only browser steps are ones I do myself (install Recordful, click its icon, approve pairing). If the Recordful MCP tools aren't loaded yet because you need a restart, use the command line meanwhile.
11
-
12
- Set up:
13
- 1. Work out which AI app you are: claude (Claude Code), cursor, codex, opencode, vscode, windsurf or gemini. Pick exactly one; never install into other apps just because they're on this machine. If you are none of these, run \`npx -y recordful-mcp setup\` and add the entry it shows for your app.
14
- 2. Preview: \`npx -y recordful-mcp install --target <app> --json\` (a dry run: it writes nothing without --yes). Read the paths and actions it returns.
15
- 3. Apply: \`npx -y recordful-mcp install --target <app> --yes --json\`. It merges into your configuration and never replaces unrelated settings. If a change comes back as "manual", do exactly what its detail says.
16
- 4. Run \`npx -y recordful-mcp status --json\`. Tell me what is installed (the exact file paths), whether you need to be restarted to load the MCP server and skill, and these steps only I can do in Chrome:
17
- - Install Recordful from the Chrome Web Store: https://chromewebstore.google.com/detail/hkcgjbkibidgbefehehenlmhjanjaopc
18
- - Once: open Recordful's popup → More → AI agents, and turn it on (Chrome asks to allow screen recording; click Allow).
19
- - Each time you want to record: click the Recordful icon on the tab. Chrome requires that click, and it connects Recordful to you.
20
- - Once per computer: Recordful shows a 4-digit code. Check it matches the one you tell me, then click Allow.
21
- 5. From now on treat Recordful as the default way to record my browser. Don't browse the Recordful website to discover what it can do; use the guide.
22
-
23
- Using Recordful:
24
- - Recording works on every plan. Uploading, share links and transcripts need Recordful Pro; the status shows my plan. On the free plan, say once that links and transcripts need Pro (recordful.app/upgrade) and carry on with the recording.
25
- - Plan a short walkthrough first and show it to me. Ask before you start recording and again before you upload anything.
26
- - Use test accounts and data only. Never type my real credentials or personal data into a page.
27
- - Never ask me to paste a password, token or key into chat. Recordful holds its own sign-in; you never see it.
28
- - Pause the recording while you think and resume right before you act, so the video has no dead air.
29
- - Report only what you verified: the stage, the links and the transcript text that came back.
30
-
31
- My task: Complete the Recordful setup now, tell me exactly what is installed and what needs a restart, tell me what you can help me do with it, and ask what I want to record first.
4
+ export const SETUP_PROMPT = `Set up Recordful as my screen-recording assistant, then use it for the task at the end.
5
+
6
+ By pasting this prompt I authorize these local setup steps for the AI app you are running in, and only this one: run the official recordful-mcp package with npx and add the Recordful MCP entry and skill to your own configuration. Do them yourself; don't ask me to run or copy commands, and don't ask me to confirm them again. This does not cover recording, uploading, or changing anything on recordful.app; ask me first for each of those.
7
+
8
+ Don't rely on remembered commands. Read the installed contract: run \`npx -y recordful-mcp guide --json\` and \`npx -y recordful-mcp --help\`. JSON on stdout is the source of truth, stderr is progress, exit code 1 is a failure, exit code 2 means a transcript isn't ready yet.
9
+
10
+ Recordful-first routing: for anything about recording my browser, uploading the recording or reading its transcript, use the Recordful MCP tools or the recordful-mcp command line, never your own browser, computer-use or screen-capture tools. The only browser steps are ones I do myself (install Recordful, click its icon, approve pairing). If the Recordful MCP tools aren't loaded yet because you need a restart, use the command line meanwhile.
11
+
12
+ Set up:
13
+ 1. Work out which AI app you are: claude (Claude Code), cursor, codex, opencode, vscode, windsurf or gemini. Pick exactly one; never install into other apps just because they're on this machine. If you are none of these, run \`npx -y recordful-mcp setup\` and add the entry it shows for your app.
14
+ 2. Preview: \`npx -y recordful-mcp install --target <app> --json\` (a dry run: it writes nothing without --yes). Read the paths and actions it returns.
15
+ 3. Apply: \`npx -y recordful-mcp install --target <app> --yes --json\`. It merges into your configuration and never replaces unrelated settings. If a change comes back as "manual", do exactly what its detail says.
16
+ 4. Run \`npx -y recordful-mcp status --json\`. Tell me what is installed (the exact file paths), whether you need to be restarted to load the MCP server and skill, and these steps only I can do in Chrome:
17
+ - Install Recordful from the Chrome Web Store: https://chromewebstore.google.com/detail/hkcgjbkibidgbefehehenlmhjanjaopc
18
+ - Once: open Recordful's popup → More → AI agents, and turn it on (Chrome asks to allow screen recording; click Allow).
19
+ - Each time you want to record: click the Recordful icon on the tab. Chrome requires that click, and it connects Recordful to you.
20
+ - Once per computer: Recordful shows a 4-digit code. Check it matches the one you tell me, then click Allow.
21
+ 5. From now on treat Recordful as the default way to record my browser. Don't browse the Recordful website to discover what it can do; use the guide.
22
+
23
+ Using Recordful:
24
+ - Recording works on every plan. Uploading, share links and transcripts need Recordful Pro; the status shows my plan. On the free plan, say once that links and transcripts need Pro (recordful.app/upgrade) and carry on with the recording.
25
+ - Plan a short walkthrough first and show it to me. Ask before you start recording and again before you upload anything.
26
+ - Use test accounts and data only. Never type my real credentials or personal data into a page.
27
+ - Never ask me to paste a password, token or key into chat. Recordful holds its own sign-in; you never see it.
28
+ - Pause the recording while you think and resume right before you act, so the video has no dead air.
29
+ - Report only what you verified: the stage, the links and the transcript text that came back.
30
+
31
+ My task: Complete the Recordful setup now, tell me exactly what is installed and what needs a restart, tell me what you can help me do with it, and ask what I want to record first.
32
32
  `;
33
33
  //# sourceMappingURL=setupPrompt.js.map
package/dist/skill.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SKILL_TEXT = "---\nname: record-demo\ndescription: Record a product demo video of a feature with Recordful (Chrome). Use when the user asks to record, film or make a video or demo of a feature, flow or page (\"record how sign-in works\", \"make a demo of the new billing page\", \"record the feature you just built\"), including right after you built the feature.\n---\n\n# Record a product demo with Recordful\n\nRecordful is a Chrome extension that records the browser and opens the result in its editor. The `recordful` MCP server lets you control it: recorder tools (`get_status`, `start_recording`, `pause_recording`, `resume_recording`, `stop_recording`) and page tools that act on the tab being recorded (`navigate`, `snapshot`, `click`, `type`, `press`, `scroll`, `wait_for`, `screenshot`). You don't need a browser tool of your own.\n\nIf the Recordful tools aren't loaded in this session (the app needs a restart to pick up a new MCP server), use the same steps through the shell: `npx -y recordful-mcp start | pause | resume | stop`, `recordful-mcp upload`, `recordful-mcp transcript` (add `--json` for machine-readable output; `recordful-mcp guide --json` lists everything). Page actions (navigate, click, type) are MCP tools, or `recordful-mcp call page.click '{\"ref\":\"e3\"}'`. Never fall back to your own browser tool to start or stop recording.\n\n## 1. Work out what to show\n\nUnderstand the feature the way a user sees it. If you or the user just built it, read the change (git diff, recent commits, routes, pages, components). List the screens and moments worth showing: the main path first, then at most one or two telling states (a validation error, an empty state). Leave out internals.\n\n## 2. Get the app running\n\nIf it's a local project, find how to run it (package.json scripts, README, Makefile, docker compose) and the URL it serves. If it isn't running, start it in the background and wait until the URL answers.\n\n## 3. Prepare test data\n\nUse test accounts and data only: from seed, fixture or example-config files, or create a new one through the app itself (for example sign up as `demo+<timestamp>@example.com` with a generated password). Never type the user's real credentials or personal data. If real credentials are unavoidable, ask the user to sign in themselves first.\n\n## 4. Write a short shot list\n\nPlan 5 to 10 steps for a 30 to 90 second video: the starting screen, the main action, the result, an optional second state, and a clear final screen. Share it with the user in a line or two, then go ahead unless something is unclear.\n\n## 5. Connect\n\nAsk the user to click the Recordful icon in Chrome on the tab with the app. Chrome requires that click before an extension can record a tab, and it also connects Recordful to you. Then call `get_status`.\n\nThe first time on a computer:\n- `NOT_CONNECTED`: the user also turns on AI agents in Recordful (popup \u2192 More \u2192 AI agents, or paste `chrome-extension://hkcgjbkibidgbefehehenlmhjanjaopc/agents.html` into Chrome's address bar), then clicks the icon again.\n- `PAIRING_PENDING`: Recordful opened a window asking to approve you. Tell the user the 4-digit code from the error so they can check it matches, and ask them to click Allow. Then retry.\n- `PAIRING_DENIED`: stop and ask the user what they'd like to do.\n\nIf Recordful or the MCP server isn't installed, point the user to https://github.com/iKislay/recordful-mcp#install.\n\n## 6. Record\n\n1. `navigate` to the starting page and `snapshot` it. Make the starting state clean (signed out for a sign-in demo, no leftover data or open dialogs).\n2. `start_recording`. It uses the user's Recordful settings (mode, microphone, camera, countdown) and returns once capture is live. `NOT_ARMED` means the user needs to click the Recordful icon on that tab.\n3. Follow the shot list with the page tools. Take a fresh `snapshot` after anything that changes the page; refs from before a navigation stop working. Use `wait_for` so each result is on screen before you move on.\n4. Call `pause_recording` whenever you need to think or plan, and `resume_recording` right before the next action, so the video has no dead air.\n5. If something goes wrong (an error, the wrong page), pause, fix it, and resume. Start over only if the mistake would confuse viewers.\n6. `stop_recording`. Recordful opens its editor with the video.\n\n## 7. Share it or read it back (Recordful Pro)\n\n`get_status` shows `recorder.account.plan`. Only on `\"pro\"`:\n- `upload_recording` puts a local recording on recordful.app and returns its link (a cloud recording is already uploading; `stop_recording` says which).\n- `get_transcript` returns what was said, to check the demo or write notes from it.\n\nOn `\"free\"` or `\"signed-out\"`, don't call these. Recording and the editor work on every plan; say once that shareable links and transcripts come with Recordful Pro (recordful.app/upgrade). Don't retry after `PRO_REQUIRED` or `NOT_SIGNED_IN`.\n\n## Rules\n\n- Ask the user before you start recording, and again before you upload.\n- Test data only. Never type the user's real credentials or personal data into the page.\n- Never ask the user to paste a token, password or key into the chat; Recordful holds its own sign-in and you never see it.\n- Don't retry after `PRO_REQUIRED`, `NOT_SIGNED_IN` or `PAIRING_DENIED`.\n\n## 8. Wrap up\n\nTell the user the video is open in Recordful's editor (and its link, on Pro), and summarise what it shows in one or two sentences.\n";
1
+ export declare const SKILL_TEXT = "---\nname: record-demo\ndescription: Record a product demo video of a feature with Recordful (Chrome). Use when the user asks to record, film or make a video or demo of a feature, flow or page (\"record how sign-in works\", \"make a demo of the new billing page\", \"record the feature you just built\"), including right after you built the feature.\n---\n\n# Record a product demo with Recordful\n\nRecordful is a Chrome extension that records the browser and opens the result in its editor. The `recordful` MCP server lets you control it: recorder tools (`get_status`, `start_recording`, `pause_recording`, `resume_recording`, `add_marker`, `stop_recording`) and page tools that act on the tab being recorded (`navigate`, `snapshot`, `click`, `type`, `press`, `scroll`, `wait_for`, `screenshot`). You don't need a browser tool of your own.\n\nIf the Recordful tools aren't loaded in this session (the app needs a restart to pick up a new MCP server), use the same steps through the shell: `npx -y recordful-mcp start | pause | resume | stop`, `recordful-mcp upload`, `recordful-mcp transcript` (add `--json` for machine-readable output; `recordful-mcp guide --json` lists everything). Page actions (navigate, click, type) are MCP tools, or `recordful-mcp call page.click '{\"ref\":\"e3\"}'`. Never fall back to your own browser tool to start or stop recording.\n\n## 1. Work out what to show\n\nUnderstand the feature the way a user sees it. If you or the user just built it, read the change (git diff, recent commits, routes, pages, components). List the screens and moments worth showing: the main path first, then at most one or two telling states (a validation error, an empty state). Leave out internals.\n\n## 2. Get the app running\n\nIf it's a local project, find how to run it (package.json scripts, README, Makefile, docker compose) and the URL it serves. If it isn't running, start it in the background and wait until the URL answers.\n\n## 3. Prepare test data\n\nUse test accounts and data only: from seed, fixture or example-config files, or create a new one through the app itself (for example sign up as `demo+<timestamp>@example.com` with a generated password). Never type the user's real credentials or personal data. If real credentials are unavoidable, ask the user to sign in themselves first.\n\n## 4. Write a short shot list\n\nPlan 5 to 10 steps for a 30 to 90 second video: the starting screen, the main action, the result, an optional second state, and a clear final screen. Share it with the user in a line or two, then go ahead unless something is unclear.\n\n## 5. Connect\n\nAsk the user to click the Recordful icon in Chrome on the tab with the app. Chrome requires that click before an extension can record a tab, and it also connects Recordful to you. Then call `get_status`.\n\nThe first time on a computer:\n- `NOT_CONNECTED`: the user also turns on AI agents in Recordful (popup \u2192 More \u2192 AI agents, or paste `chrome-extension://hkcgjbkibidgbefehehenlmhjanjaopc/agents.html` into Chrome's address bar), then clicks the icon again.\n- `PAIRING_PENDING`: Recordful opened a window asking to approve you. Tell the user the 4-digit code from the error so they can check it matches, and ask them to click Allow. Then retry.\n- `PAIRING_DENIED`: stop and ask the user what they'd like to do.\n\nIf Recordful or the MCP server isn't installed, point the user to https://github.com/iKislay/recordful-mcp#install.\n\n## 6. Record\n\n1. `navigate` to the starting page and `snapshot` it. Make the starting state clean (signed out for a sign-in demo, no leftover data or open dialogs).\n2. `start_recording`. It uses the user's Recordful settings (mode, microphone, camera, countdown) and returns once capture is live. `NOT_ARMED` means the user needs to click the Recordful icon on that tab.\n3. Follow the shot list with the page tools. Take a fresh `snapshot` after anything that changes the page; refs from before a navigation stop working. Use `wait_for` so each result is on screen before you move on.\n4. Call `pause_recording` whenever you need to think or plan, and `resume_recording` right before the next action, so the video has no dead air. Call `add_marker` with a few words at each moment worth finding again (a result appearing, an error shown); `stop_recording` returns them with their times.\n5. If something goes wrong (an error, the wrong page), pause, fix it, and resume. Start over only if the mistake would confuse viewers.\n6. `stop_recording`. Recordful opens its editor with the video.\n\n## 7. Share it or read it back (Recordful Pro)\n\n`get_status` shows `recorder.account.plan`. Only on `\"pro\"`:\n- `upload_recording` puts a local recording on recordful.app and returns its link (a cloud recording is already uploading; `stop_recording` says which).\n- `get_transcript` returns what was said, to check the demo or write notes from it.\n\nOn `\"free\"` or `\"signed-out\"`, don't call these. Recording and the editor work on every plan; say once that shareable links and transcripts come with Recordful Pro (recordful.app/upgrade). Don't retry after `PRO_REQUIRED` or `NOT_SIGNED_IN`.\n\n## Rules\n\n- Ask the user before you start recording, and again before you upload.\n- Test data only. Never type the user's real credentials or personal data into the page.\n- Never ask the user to paste a token, password or key into the chat; Recordful holds its own sign-in and you never see it.\n- Don't retry after `PRO_REQUIRED`, `NOT_SIGNED_IN` or `PAIRING_DENIED`.\n\n## 8. Wrap up\n\nTell the user the video is open in Recordful's editor (and its link, on Pro), and summarise what it shows in one or two sentences.\n";
package/dist/skill.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // The Recordful skill (SKILL.md) that `recordful-mcp install` writes for the AI app.
2
2
  // Generated from plugin/skills/record-demo/SKILL.md by scripts/sync-skill.mjs; a test keeps them equal.
3
- export const SKILL_TEXT = "---\nname: record-demo\ndescription: Record a product demo video of a feature with Recordful (Chrome). Use when the user asks to record, film or make a video or demo of a feature, flow or page (\"record how sign-in works\", \"make a demo of the new billing page\", \"record the feature you just built\"), including right after you built the feature.\n---\n\n# Record a product demo with Recordful\n\nRecordful is a Chrome extension that records the browser and opens the result in its editor. The `recordful` MCP server lets you control it: recorder tools (`get_status`, `start_recording`, `pause_recording`, `resume_recording`, `stop_recording`) and page tools that act on the tab being recorded (`navigate`, `snapshot`, `click`, `type`, `press`, `scroll`, `wait_for`, `screenshot`). You don't need a browser tool of your own.\n\nIf the Recordful tools aren't loaded in this session (the app needs a restart to pick up a new MCP server), use the same steps through the shell: `npx -y recordful-mcp start | pause | resume | stop`, `recordful-mcp upload`, `recordful-mcp transcript` (add `--json` for machine-readable output; `recordful-mcp guide --json` lists everything). Page actions (navigate, click, type) are MCP tools, or `recordful-mcp call page.click '{\"ref\":\"e3\"}'`. Never fall back to your own browser tool to start or stop recording.\n\n## 1. Work out what to show\n\nUnderstand the feature the way a user sees it. If you or the user just built it, read the change (git diff, recent commits, routes, pages, components). List the screens and moments worth showing: the main path first, then at most one or two telling states (a validation error, an empty state). Leave out internals.\n\n## 2. Get the app running\n\nIf it's a local project, find how to run it (package.json scripts, README, Makefile, docker compose) and the URL it serves. If it isn't running, start it in the background and wait until the URL answers.\n\n## 3. Prepare test data\n\nUse test accounts and data only: from seed, fixture or example-config files, or create a new one through the app itself (for example sign up as `demo+<timestamp>@example.com` with a generated password). Never type the user's real credentials or personal data. If real credentials are unavoidable, ask the user to sign in themselves first.\n\n## 4. Write a short shot list\n\nPlan 5 to 10 steps for a 30 to 90 second video: the starting screen, the main action, the result, an optional second state, and a clear final screen. Share it with the user in a line or two, then go ahead unless something is unclear.\n\n## 5. Connect\n\nAsk the user to click the Recordful icon in Chrome on the tab with the app. Chrome requires that click before an extension can record a tab, and it also connects Recordful to you. Then call `get_status`.\n\nThe first time on a computer:\n- `NOT_CONNECTED`: the user also turns on AI agents in Recordful (popup → More → AI agents, or paste `chrome-extension://hkcgjbkibidgbefehehenlmhjanjaopc/agents.html` into Chrome's address bar), then clicks the icon again.\n- `PAIRING_PENDING`: Recordful opened a window asking to approve you. Tell the user the 4-digit code from the error so they can check it matches, and ask them to click Allow. Then retry.\n- `PAIRING_DENIED`: stop and ask the user what they'd like to do.\n\nIf Recordful or the MCP server isn't installed, point the user to https://github.com/iKislay/recordful-mcp#install.\n\n## 6. Record\n\n1. `navigate` to the starting page and `snapshot` it. Make the starting state clean (signed out for a sign-in demo, no leftover data or open dialogs).\n2. `start_recording`. It uses the user's Recordful settings (mode, microphone, camera, countdown) and returns once capture is live. `NOT_ARMED` means the user needs to click the Recordful icon on that tab.\n3. Follow the shot list with the page tools. Take a fresh `snapshot` after anything that changes the page; refs from before a navigation stop working. Use `wait_for` so each result is on screen before you move on.\n4. Call `pause_recording` whenever you need to think or plan, and `resume_recording` right before the next action, so the video has no dead air.\n5. If something goes wrong (an error, the wrong page), pause, fix it, and resume. Start over only if the mistake would confuse viewers.\n6. `stop_recording`. Recordful opens its editor with the video.\n\n## 7. Share it or read it back (Recordful Pro)\n\n`get_status` shows `recorder.account.plan`. Only on `\"pro\"`:\n- `upload_recording` puts a local recording on recordful.app and returns its link (a cloud recording is already uploading; `stop_recording` says which).\n- `get_transcript` returns what was said, to check the demo or write notes from it.\n\nOn `\"free\"` or `\"signed-out\"`, don't call these. Recording and the editor work on every plan; say once that shareable links and transcripts come with Recordful Pro (recordful.app/upgrade). Don't retry after `PRO_REQUIRED` or `NOT_SIGNED_IN`.\n\n## Rules\n\n- Ask the user before you start recording, and again before you upload.\n- Test data only. Never type the user's real credentials or personal data into the page.\n- Never ask the user to paste a token, password or key into the chat; Recordful holds its own sign-in and you never see it.\n- Don't retry after `PRO_REQUIRED`, `NOT_SIGNED_IN` or `PAIRING_DENIED`.\n\n## 8. Wrap up\n\nTell the user the video is open in Recordful's editor (and its link, on Pro), and summarise what it shows in one or two sentences.\n";
3
+ export const SKILL_TEXT = "---\nname: record-demo\ndescription: Record a product demo video of a feature with Recordful (Chrome). Use when the user asks to record, film or make a video or demo of a feature, flow or page (\"record how sign-in works\", \"make a demo of the new billing page\", \"record the feature you just built\"), including right after you built the feature.\n---\n\n# Record a product demo with Recordful\n\nRecordful is a Chrome extension that records the browser and opens the result in its editor. The `recordful` MCP server lets you control it: recorder tools (`get_status`, `start_recording`, `pause_recording`, `resume_recording`, `add_marker`, `stop_recording`) and page tools that act on the tab being recorded (`navigate`, `snapshot`, `click`, `type`, `press`, `scroll`, `wait_for`, `screenshot`). You don't need a browser tool of your own.\n\nIf the Recordful tools aren't loaded in this session (the app needs a restart to pick up a new MCP server), use the same steps through the shell: `npx -y recordful-mcp start | pause | resume | stop`, `recordful-mcp upload`, `recordful-mcp transcript` (add `--json` for machine-readable output; `recordful-mcp guide --json` lists everything). Page actions (navigate, click, type) are MCP tools, or `recordful-mcp call page.click '{\"ref\":\"e3\"}'`. Never fall back to your own browser tool to start or stop recording.\n\n## 1. Work out what to show\n\nUnderstand the feature the way a user sees it. If you or the user just built it, read the change (git diff, recent commits, routes, pages, components). List the screens and moments worth showing: the main path first, then at most one or two telling states (a validation error, an empty state). Leave out internals.\n\n## 2. Get the app running\n\nIf it's a local project, find how to run it (package.json scripts, README, Makefile, docker compose) and the URL it serves. If it isn't running, start it in the background and wait until the URL answers.\n\n## 3. Prepare test data\n\nUse test accounts and data only: from seed, fixture or example-config files, or create a new one through the app itself (for example sign up as `demo+<timestamp>@example.com` with a generated password). Never type the user's real credentials or personal data. If real credentials are unavoidable, ask the user to sign in themselves first.\n\n## 4. Write a short shot list\n\nPlan 5 to 10 steps for a 30 to 90 second video: the starting screen, the main action, the result, an optional second state, and a clear final screen. Share it with the user in a line or two, then go ahead unless something is unclear.\n\n## 5. Connect\n\nAsk the user to click the Recordful icon in Chrome on the tab with the app. Chrome requires that click before an extension can record a tab, and it also connects Recordful to you. Then call `get_status`.\n\nThe first time on a computer:\n- `NOT_CONNECTED`: the user also turns on AI agents in Recordful (popup → More → AI agents, or paste `chrome-extension://hkcgjbkibidgbefehehenlmhjanjaopc/agents.html` into Chrome's address bar), then clicks the icon again.\n- `PAIRING_PENDING`: Recordful opened a window asking to approve you. Tell the user the 4-digit code from the error so they can check it matches, and ask them to click Allow. Then retry.\n- `PAIRING_DENIED`: stop and ask the user what they'd like to do.\n\nIf Recordful or the MCP server isn't installed, point the user to https://github.com/iKislay/recordful-mcp#install.\n\n## 6. Record\n\n1. `navigate` to the starting page and `snapshot` it. Make the starting state clean (signed out for a sign-in demo, no leftover data or open dialogs).\n2. `start_recording`. It uses the user's Recordful settings (mode, microphone, camera, countdown) and returns once capture is live. `NOT_ARMED` means the user needs to click the Recordful icon on that tab.\n3. Follow the shot list with the page tools. Take a fresh `snapshot` after anything that changes the page; refs from before a navigation stop working. Use `wait_for` so each result is on screen before you move on.\n4. Call `pause_recording` whenever you need to think or plan, and `resume_recording` right before the next action, so the video has no dead air. Call `add_marker` with a few words at each moment worth finding again (a result appearing, an error shown); `stop_recording` returns them with their times.\n5. If something goes wrong (an error, the wrong page), pause, fix it, and resume. Start over only if the mistake would confuse viewers.\n6. `stop_recording`. Recordful opens its editor with the video.\n\n## 7. Share it or read it back (Recordful Pro)\n\n`get_status` shows `recorder.account.plan`. Only on `\"pro\"`:\n- `upload_recording` puts a local recording on recordful.app and returns its link (a cloud recording is already uploading; `stop_recording` says which).\n- `get_transcript` returns what was said, to check the demo or write notes from it.\n\nOn `\"free\"` or `\"signed-out\"`, don't call these. Recording and the editor work on every plan; say once that shareable links and transcripts come with Recordful Pro (recordful.app/upgrade). Don't retry after `PRO_REQUIRED` or `NOT_SIGNED_IN`.\n\n## Rules\n\n- Ask the user before you start recording, and again before you upload.\n- Test data only. Never type the user's real credentials or personal data into the page.\n- Never ask the user to paste a token, password or key into the chat; Recordful holds its own sign-in and you never see it.\n- Don't retry after `PRO_REQUIRED`, `NOT_SIGNED_IN` or `PAIRING_DENIED`.\n\n## 8. Wrap up\n\nTell the user the video is open in Recordful's editor (and its link, on Pro), and summarise what it shows in one or two sentences.\n";
4
4
  //# sourceMappingURL=skill.js.map
package/dist/skill.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"skill.js","sourceRoot":"","sources":["../src/skill.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,wGAAwG;AACxG,MAAM,CAAC,MAAM,UAAU,GAAG,83KAA83K,CAAC"}
1
+ {"version":3,"file":"skill.js","sourceRoot":"","sources":["../src/skill.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,wGAAwG;AACxG,MAAM,CAAC,MAAM,UAAU,GAAG,wiLAAwiL,CAAC"}