@clipy/cli 0.13.1 → 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/agentReadiness.js +43 -0
- package/dist/chromeExtensionCapture.js +232 -0
- package/dist/chromeForClipy.js +656 -0
- package/dist/index.js +659 -90
- package/dist/skill.js +64 -3
- package/package.json +6 -4
package/dist/skill.js
CHANGED
|
@@ -15,12 +15,13 @@ 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
|
|
22
|
-
recording has a share link, an AI transcript + summary,
|
|
23
|
-
machine-readable context document. With the CLI you
|
|
22
|
+
recording has a share link, an AI transcript + summary, a normalized interaction
|
|
23
|
+
timeline, key moments, and a machine-readable context document. With the CLI you
|
|
24
|
+
can also CREATE proof:
|
|
24
25
|
combine screenshots from whatever tool you already use, upload a tool-native
|
|
25
26
|
WebM/MP4, capture a running web app headlessly, or capture the real Mac screen
|
|
26
27
|
through the running Clipy app, then hand back a watchable link.
|
|
@@ -59,6 +60,16 @@ try to watch the video or scrape the watch page: fetch the twin
|
|
|
59
60
|
5. For bug reports / feedback: enumerate the extracted issues as a numbered list
|
|
60
61
|
(with timestamps) before implementing anything.
|
|
61
62
|
|
|
63
|
+
The interaction timeline distinguishes captured facts from derived gestures.
|
|
64
|
+
Pointer dwell is not evidence of attention or intent. Coordinates belong to the
|
|
65
|
+
capture viewport and may not align with cropped, zoomed, or composed playback
|
|
66
|
+
frames. Typed values and exact key counts are excluded. A missing source is a
|
|
67
|
+
capture gap, and \`preparing\` means evidence is pending, not that no action happened.
|
|
68
|
+
Public documents contain compact non-pointer events. Owners can use MCP
|
|
69
|
+
\`get_interactions\` for detailed evidence with \`fromMs\`, \`toMs\`, \`types\`, and
|
|
70
|
+
\`limit\` (1–250, default 100); follow \`pagination.nextCursor\` as \`cursor\` with
|
|
71
|
+
unchanged filters. Event kind \`dwell\` means stationary pointer activity.
|
|
72
|
+
|
|
62
73
|
## Search everything the user remembers
|
|
63
74
|
|
|
64
75
|
When the user refers to something they recorded, watched, imported, showed, or
|
|
@@ -281,6 +292,15 @@ WHAT must be verified, and WHETHER the target depends on an existing login.
|
|
|
281
292
|
signed-out substitute and call it proof.
|
|
282
293
|
- **Public/local route with no login dependency:** a fresh isolated headless
|
|
283
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.
|
|
284
304
|
|
|
285
305
|
Before capture, visibly confirm the resolved target: expected URL, expected
|
|
286
306
|
signed-in/signed-out state, expected account/role when it is safe to display, and
|
|
@@ -480,6 +500,47 @@ Headless captures are silent, so your notes/marks BECOME the transcript (honestl
|
|
|
480
500
|
labeled as agent narration, never passed off as speech). Narrate every meaningful
|
|
481
501
|
step.
|
|
482
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
|
+
|
|
483
544
|
### Assert what you claim (two provenances, never pooled)
|
|
484
545
|
|
|
485
546
|
A plain mark is an unverified claim — you can write \`clipy mark "the Redemptions
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clipy/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
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",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
|
+
"assets",
|
|
15
16
|
"README.md"
|
|
16
17
|
],
|
|
17
18
|
"engines": {
|
|
@@ -40,12 +41,13 @@
|
|
|
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/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
|
-
"test:context": "npm run build && 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"
|
|
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
|
},
|
|
50
52
|
"devDependencies": {
|
|
51
53
|
"@types/node": "^22.0.0",
|