@clipy/cli
Advanced tools
@@ -20,2 +20,7 @@ /** | ||
| import { canonicalYoutubeUrl, isYoutubeHost, parseYoutubeId } from "./youtubeUrl.js"; | ||
| // The web app and the API share an origin in every real deployment; strip any | ||
| // trailing slash so the printed URL is clean. | ||
| function webOriginFromApiUrl(apiUrl) { | ||
| return apiUrl.replace(/\/+$/, ""); | ||
| } | ||
| import { ImportError } from "./errors.js"; | ||
@@ -721,6 +726,9 @@ import { looksLikeStaleBinary } from "./retry.js"; | ||
| process.stdout.write(`\nYour agent-ready context for ${JSON.stringify(compiled.manifest.title)} is ready.\n`); | ||
| process.stdout.write(` → local bundle: ${join(bundlePath, "recording.md")} (point your agent here, or run: clipy context read ${bundlePath})\n`); | ||
| if (synced) { | ||
| process.stdout.write(` → in your Clipy library: filed under ${JSON.stringify(synced.folderName ?? "Knowledge Base")} — searchable, and readable by agents via MCP (read_context_document ${synced.publicId})\n`); | ||
| // Server copy first — once synced it is the canonical, durable one; the | ||
| // local bundle is the offline/working copy. | ||
| process.stdout.write(` → view it: ${webOriginFromApiUrl(opts.apiUrl)}/knowledge/${synced.publicId} (filed under ${JSON.stringify(synced.folderName ?? "Knowledge Base")})\n`); | ||
| process.stdout.write(` → for agents: MCP read_context_document ${synced.publicId}, or the local bundle below\n`); | ||
| } | ||
| process.stdout.write(` → local bundle: ${join(bundlePath, "recording.md")} (run: clipy context read ${bundlePath})\n`); | ||
| if (warnings.length > 0) { | ||
@@ -727,0 +735,0 @@ process.stdout.write(` → incomplete: ${warnings.map((w) => w.error).join("; ")}\n to finish it: ${warnings[0].remediation}\n`); |
+1
-1
| { | ||
| "name": "@clipy/cli", | ||
| "version": "0.9.2", | ||
| "version": "0.9.3", | ||
| "description": "Command-line interface for Clipy — list, search, and read your screen recordings' transcripts, AI summaries, and key moments from the terminal.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
475489
0.09%8748
0.09%