@clipy/cli 0.14.0 → 0.15.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/assets/chrome-for-clipy.icns +0 -0
- package/dist/chromeExtensionCapture.js +232 -0
- package/dist/chromeForClipy.js +656 -0
- package/dist/index.js +628 -85
- package/dist/skill.js +51 -1
- package/package.json +6 -4
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.
|
|
18
|
+
Written for @clipy/cli + @clipy/mcp 0.15.0 (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,15 @@ 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
|
+
and does not need marks:** \`--source chrome-extension\` (see "Recording
|
|
302
|
+
through the Clipy extension" below). Same dedicated browser; the Clipy
|
|
303
|
+
extension records and uploads the tab.
|
|
295
304
|
|
|
296
305
|
Before capture, visibly confirm the resolved target: expected URL, expected
|
|
297
306
|
signed-in/signed-out state, expected account/role when it is safe to display, and
|
|
@@ -491,6 +500,47 @@ Headless captures are silent, so your notes/marks BECOME the transcript (honestl
|
|
|
491
500
|
labeled as agent narration, never passed off as speech). Narrate every meaningful
|
|
492
501
|
step.
|
|
493
502
|
|
|
503
|
+
### Chrome for Clipy: the agent's own browser (tab video + tab audio)
|
|
504
|
+
|
|
505
|
+
clipy session start --source chrome-for-clipy --url https://app.example.com \\
|
|
506
|
+
--title "PR-1234 verification" --type pr_review
|
|
507
|
+
# drive it over the ALWAYS-published CDP endpoint (cdpUrl in the start JSON),
|
|
508
|
+
# add clipy mark evidence, then:
|
|
509
|
+
clipy session stop
|
|
510
|
+
|
|
511
|
+
"Chrome for Clipy" is a dedicated, persistent automation browser the CLI owns
|
|
512
|
+
(\`clipy chrome start|stop|status|install-app\`): its own profile (the user
|
|
513
|
+
signs in ONCE and stays signed in), CDP always exposed, and picker-free tab
|
|
514
|
+
capture. \`--source chrome-for-clipy\` records EXACTLY ONE TAB, with that tab's
|
|
515
|
+
AUDIO, no human gesture, and keeps recording across navigations and while the
|
|
516
|
+
tab is backgrounded. The session starts the browser if needed, opens --url in
|
|
517
|
+
the recorded tab, and stopping never closes the browser.
|
|
518
|
+
|
|
519
|
+
Use it when the verification needs sound (a player, a call UI, TTS), a
|
|
520
|
+
tab-exact frame with zero desktop clutter, or a standing signed-in identity for
|
|
521
|
+
automation. Do NOT treat it as the user's daily browser: it is a separate
|
|
522
|
+
identity by design, and everything in its profile is reachable by any local
|
|
523
|
+
process while CDP is open. Browser automation setup is opt-in. Install with
|
|
524
|
+
\`clipy setup <agent> --with-browser\` or \`clipy chrome start\`, only when the
|
|
525
|
+
user asked for browser automation.
|
|
526
|
+
|
|
527
|
+
### Recording through the Clipy extension (no marks)
|
|
528
|
+
|
|
529
|
+
clipy chrome setup --json # one-time; quick check when already ready
|
|
530
|
+
clipy session start --source chrome-extension --url <page> --json
|
|
531
|
+
# drive the tab showing <page> over cdpHttpUrl with Playwright
|
|
532
|
+
clipy session stop --json # returns shareUrl + contextUrl
|
|
533
|
+
|
|
534
|
+
The Clipy extension inside Chrome for Clipy records the tab (video and tab
|
|
535
|
+
audio) with no click, because Chrome for Clipy launches with
|
|
536
|
+
\`--allowlisted-extension-id\`. \`clipy chrome setup\` waits up to 15 minutes
|
|
537
|
+
for the two steps only the user can do in the Chrome for Clipy window: click
|
|
538
|
+
"Add to Chrome" on the extension page it opens, and sign in to Clipy. Relay
|
|
539
|
+
those instructions and never try to do either yourself. \`clipy mark\` and
|
|
540
|
+
\`clipy chapter\` are refused on this source; use \`--source chrome-for-clipy\`
|
|
541
|
+
when you need them. Full agent instructions:
|
|
542
|
+
https://clipy.online/docs/chrome-for-clipy.md
|
|
543
|
+
|
|
494
544
|
### Assert what you claim (two provenances, never pooled)
|
|
495
545
|
|
|
496
546
|
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.
|
|
4
|
-
"description": "Command-line interface for Clipy
|
|
3
|
+
"version": "0.15.0",
|
|
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",
|
|
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/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
|
},
|