clipbait 1.1.0 → 1.2.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.
Files changed (2) hide show
  1. package/index.js +11 -8
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -75,16 +75,19 @@ Auth: CLIPBAIT_API_KEY env var or ~/.clipbait.json (via 'clipbait login').`;
75
75
  const cmdDir = path.join(os.homedir(), ".claude", "commands");
76
76
  fs.mkdirSync(cmdDir, { recursive: true });
77
77
  const slash = `---
78
- description: Turn a video into viral clips with Clipbait
79
- argument-hint: <video-url>
78
+ description: Turn any video into viral clips with Clipbait
79
+ argument-hint: <video-url> [what you want]
80
80
  ---
81
- Use the \`clipbait\` MCP tools to turn this into viral clips: $ARGUMENTS
81
+ You have the \`clipbait\` MCP tools connected. The user's request: $ARGUMENTS
82
82
 
83
- 1. Call \`generate_clips\` with videoUrl set to the URL above (aspectRatio "9:16", maxClips 9).
84
- 2. Poll \`get_job\` with the returned jobId every 30 seconds until status is "complete".
85
- 3. Show me the finished clip URLs.
86
-
87
- If no URL is provided above, ask me for the video URL first.
83
+ Do this, conversationally and fast:
84
+ 1. If there is no video URL in the request, ask for one (YouTube, Twitch VOD, Rumble, or Ganjing World). Otherwise don't ask for confirmation, just go.
85
+ 2. Read the intent and set params for \`generate_clips\`:
86
+ - vertical / shorts / tiktok / reels, or nothing specified => aspectRatio "9:16". landscape / widescreen / youtube => "16:9".
87
+ - if they mention a number of clips, use it as maxClips (1 to 20), otherwise 9.
88
+ 3. Call \`generate_clips\`, then poll \`get_job\` with the returned jobId every 30 seconds until status is "complete". Report progress between polls.
89
+ 4. When complete, list each finished clip as a numbered list: its hook and its URL.
90
+ 5. Then offer follow-ups and act on them by calling the tools again: regenerate at a different aspect ratio, pull more clips, or probe another video with \`probe_video\`.
88
91
  `;
89
92
  fs.writeFileSync(path.join(cmdDir, "clipbait.md"), slash);
90
93
  console.log("✓ Installed /clipbait command → " + path.join(cmdDir, "clipbait.md"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clipbait",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Clipbait CLI — turn any video into viral clips, and auto-clip live streams, from your terminal or AI agent.",
5
5
  "bin": { "clipbait": "index.js" },
6
6
  "type": "commonjs",