agentreel 0.1.5 → 0.1.7

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/bin/agentreel.mjs CHANGED
@@ -345,24 +345,18 @@ async function shareFlow(outputPath, title, prompt) {
345
345
  // Use prompt for tweet text if available, otherwise title
346
346
  const tweetBody = prompt || title;
347
347
 
348
- console.error("Uploading video...");
349
- const url = await uploadVideo(outputPath);
350
-
351
348
  const text = `${tweetBody}\n\nMade with agentreel`;
349
+ const tweetText = encodeURIComponent(text);
350
+ const intentURL = `https://twitter.com/intent/tweet?text=${tweetText}`;
352
351
 
353
- if (url) {
354
- openShareURL(url, text);
355
- } else {
356
- console.error("Could not auto-upload. Opening Twitter drag your video into the tweet.");
357
- const tweetText = encodeURIComponent(text);
358
- const intentURL = `https://twitter.com/intent/tweet?text=${tweetText}`;
359
- const openCmd = process.platform === "darwin" ? "open" : "xdg-open";
360
- try {
361
- execFileSync(openCmd, [intentURL], { stdio: "ignore" });
362
- } catch {
363
- console.error(` Tweet link: ${intentURL}`);
364
- }
365
- console.error(` Video: ${resolve(outputPath)}`);
352
+ console.error(`\n Opening Twitter — attach your video to the tweet.`);
353
+ console.error(` Video: ${resolve(outputPath)}\n`);
354
+
355
+ const openCmd = process.platform === "darwin" ? "open" : "xdg-open";
356
+ try {
357
+ execFileSync(openCmd, [intentURL], { stdio: "ignore" });
358
+ } catch {
359
+ console.error(` Link: ${intentURL}`);
366
360
  }
367
361
  }
368
362
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentreel",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Turn Claude Code sessions into viral demo videos",
5
5
  "bin": {
6
6
  "agentreel": "./bin/agentreel.mjs"
package/src/CastVideo.tsx CHANGED
@@ -105,13 +105,12 @@ export const CastVideo: React.FC<CastProps> = ({
105
105
  <div
106
106
  style={{
107
107
  position: "absolute",
108
- bottom: 28,
109
- width: "100%",
110
- textAlign: "center",
108
+ top: 16,
109
+ right: 20,
111
110
  zIndex: 5,
112
111
  fontFamily: MONO,
113
- fontSize: 12,
114
- color: "rgba(255,255,255,0.18)",
112
+ fontSize: 11,
113
+ color: "rgba(255,255,255,0.2)",
115
114
  letterSpacing: 2,
116
115
  }}
117
116
  >