@clipy/cli 0.14.0 → 0.15.1

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/skill.js CHANGED
@@ -15,7 +15,7 @@ description: Read and create Clipy screen recordings, turn screenshots or tool-n
15
15
 
16
16
  # Clipy — recordings you can read AND make
17
17
 
18
- Written for @clipy/cli + @clipy/mcp 0.14.0 (the two versions move in lockstep). If
18
+ Written for @clipy/cli + @clipy/mcp 0.15.1 (the two versions move in lockstep). If
19
19
  \`clipy --version\` reports older, upgrade first: \`npm i -g @clipy/cli@latest\`.
20
20
 
21
21
  Clipy (clipy.online) is the screen recorder built to be agent-readable. Every
@@ -292,6 +292,16 @@ WHAT must be verified, and WHETHER the target depends on an existing login.
292
292
  signed-out substitute and call it proof.
293
293
  - **Public/local route with no login dependency:** a fresh isolated headless
294
294
  browser is normally the cleanest option.
295
+ - **Autonomous run that needs a tab-exact recording WITH tab audio, or a
296
+ persistent signed-in automation identity:** \`--source chrome-for-clipy\`
297
+ (see the Chrome for Clipy section below). It records tab audio without
298
+ a manual capture-picker step; it uses a dedicated browser the
299
+ user signed into once, never their daily one.
300
+ - **The user asks you to record yourself doing something in the browser
301
+ (a walkthrough, an SOP, docs, a verification) while they keep working:**
302
+ \`--source chrome-extension\` (see "Recording through the Clipy
303
+ extension" below). Same dedicated browser; the Clipy extension records
304
+ the tab in the background and uploads it.
295
305
 
296
306
  Before capture, visibly confirm the resolved target: expected URL, expected
297
307
  signed-in/signed-out state, expected account/role when it is safe to display, and
@@ -491,6 +501,53 @@ Headless captures are silent, so your notes/marks BECOME the transcript (honestl
491
501
  labeled as agent narration, never passed off as speech). Narrate every meaningful
492
502
  step.
493
503
 
504
+ ### Chrome for Clipy: the agent's own browser (tab video + tab audio)
505
+
506
+ clipy session start --source chrome-for-clipy --url https://app.example.com \\
507
+ --title "PR-1234 verification" --type pr_review
508
+ # drive it over the ALWAYS-published CDP endpoint (cdpUrl in the start JSON),
509
+ # add clipy mark evidence, then:
510
+ clipy session stop
511
+
512
+ "Chrome for Clipy" is a dedicated, persistent automation browser the CLI owns
513
+ (\`clipy chrome start|stop|status|install-app\`): its own profile (the user
514
+ signs in ONCE and stays signed in), CDP always exposed, and picker-free tab
515
+ capture. \`--source chrome-for-clipy\` records EXACTLY ONE TAB, with that tab's
516
+ AUDIO, no human gesture, and keeps recording across navigations and while the
517
+ tab is backgrounded. The session starts the browser if needed, opens --url in
518
+ the recorded tab, and stopping never closes the browser.
519
+
520
+ Use it when the verification needs sound (a player, a call UI, TTS), a
521
+ tab-exact frame with zero desktop clutter, or a standing signed-in identity for
522
+ automation. Do NOT treat it as the user's daily browser: it is a separate
523
+ identity by design, and everything in its profile is reachable by any local
524
+ process while CDP is open. Browser automation setup is opt-in. Install with
525
+ \`clipy setup <agent> --with-browser\` or \`clipy chrome start\`, only when the
526
+ user asked for browser automation.
527
+
528
+ ### Recording through the Clipy extension
529
+
530
+ clipy chrome setup --json # one-time; quick check when already ready
531
+ clipy session start --source chrome-extension --url <page> --name "<title>" --json
532
+ # drive the tab whose CDP target id is the output's targetId (or attach to pageWsUrl)
533
+ clipy mark "Opened Settings > Billing" # one mark per meaningful step
534
+ clipy session stop --json # returns shareUrl + contextUrl
535
+
536
+ The Clipy extension inside Chrome for Clipy records the tab (picture only;
537
+ add \`--tab-audio\` for its sound, but detected speech then replaces your
538
+ marks as the transcript) with no click, because Chrome for Clipy launches with
539
+ \`--allowlisted-extension-id\`. \`clipy chrome setup\` waits up to 15 minutes
540
+ for the two steps only the user can do in the Chrome for Clipy window: click
541
+ "Add to Chrome" on the extension page it opens, and sign in to Clipy. Relay
542
+ those instructions and never try to do either yourself. The recorded tab opens
543
+ in the background: never bring it to the front, drive it step by step over CDP,
544
+ and the user keeps working in other tabs or apps meanwhile. These recordings
545
+ are silent, so your marks become the transcript, the summary and the steps an
546
+ SOP or doc is written from: mark each step as you take it. \`--observed\` /
547
+ \`--verdict\` attested marks work; Clipy-evaluated \`--assert-*\` marks do not
548
+ (the extension, not Clipy, owns the page). Full agent instructions:
549
+ https://clipy.online/docs/chrome-for-clipy.md
550
+
494
551
  ### Assert what you claim (two provenances, never pooled)
495
552
 
496
553
  A plain mark is an unverified claim — you can write \`clipy mark "the Redemptions
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@clipy/cli",
3
- "version": "0.14.0",
4
- "description": "Command-line interface for Clipy — list, search, and read your screen recordings' transcripts, AI summaries, and key moments from the terminal.",
3
+ "version": "0.15.1",
4
+ "description": "Command-line interface for Clipy \u2014 list, search, and read your screen recordings' transcripts, AI summaries, and key moments from the terminal.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "publishConfig": {
@@ -12,6 +12,7 @@
12
12
  },
13
13
  "files": [
14
14
  "dist",
15
+ "assets",
15
16
  "README.md"
16
17
  ],
17
18
  "engines": {
@@ -40,10 +41,11 @@
40
41
  "start": "node dist/index.js",
41
42
  "test:auth": "npm run build && node scripts/mock-auth-server.test.mjs && node scripts/doctor.test.mjs && node scripts/open-url.test.mjs",
42
43
  "test:proof": "npm run build && node scripts/proof-frames.test.mjs",
43
- "test:setup": "npm run build && node scripts/setup.test.mjs",
44
+ "test:setup": "npm run build && node scripts/setup.test.mjs && node scripts/chrome-for-clipy.test.mjs && node scripts/capture-title.test.mjs && node scripts/cdp-client.test.mjs",
44
45
  "test:memory": "npm run build && node scripts/memory-search.test.mjs",
46
+ "test:chrome-capture": "npm run build && node scripts/chrome-capture.test.mjs",
45
47
  "test:session": "npm run build && node scripts/auth-guard.test.mjs && node scripts/session-control.test.mjs",
46
- "test": "npm run test:auth && npm run test:session && node scripts/setup.test.mjs && node scripts/transcript-replace.test.mjs && node scripts/proof-frames.test.mjs && node scripts/memory-search.test.mjs && node scripts/agent-readiness.test.mjs && node scripts/context-sync.test.mjs && node scripts/context-frames.test.mjs && node scripts/context-youtube-transcript.test.mjs && node scripts/context-youtube-url-lang.test.mjs && node scripts/context-loom-url.test.mjs && node scripts/context-loom-import.test.mjs && node scripts/context-retry.test.mjs && node scripts/context-json-envelope.test.mjs && node scripts/context-ytdlp-update.test.mjs",
48
+ "test": "npm run test:auth && npm run test:session && node scripts/setup.test.mjs && node scripts/chrome-for-clipy.test.mjs && node scripts/capture-title.test.mjs && node scripts/cdp-client.test.mjs && node scripts/transcript-replace.test.mjs && node scripts/proof-frames.test.mjs && node scripts/memory-search.test.mjs && node scripts/agent-readiness.test.mjs && node scripts/context-sync.test.mjs && node scripts/context-frames.test.mjs && node scripts/context-youtube-transcript.test.mjs && node scripts/context-youtube-url-lang.test.mjs && node scripts/context-loom-url.test.mjs && node scripts/context-loom-import.test.mjs && node scripts/context-retry.test.mjs && node scripts/context-json-envelope.test.mjs && node scripts/context-ytdlp-update.test.mjs",
47
49
  "prebuild": "node scripts/sync-context-core.mjs",
48
50
  "test:context": "npm run build && node scripts/agent-readiness.test.mjs && node scripts/context-sync.test.mjs && node scripts/context-frames.test.mjs && node scripts/context-youtube-transcript.test.mjs && node scripts/context-youtube-url-lang.test.mjs && node scripts/context-loom-url.test.mjs && node scripts/context-loom-import.test.mjs && node scripts/context-retry.test.mjs && node scripts/context-json-envelope.test.mjs && node scripts/context-ytdlp-update.test.mjs"
49
51
  },