agentreel 0.1.3 → 0.1.4

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/bin/agentreel.mjs +1 -23
  2. package/package.json +1 -1
package/bin/agentreel.mjs CHANGED
@@ -307,25 +307,6 @@ async function renderVideo(props, output, musicPath) {
307
307
  // ── Upload + Share ──────────────────────────────────────────
308
308
 
309
309
  async function uploadVideo(filePath) {
310
- // Try uploading via curl to Streamable (works if user has STREAMABLE_EMAIL/PASSWORD set)
311
- const email = process.env.STREAMABLE_EMAIL;
312
- const password = process.env.STREAMABLE_PASSWORD;
313
-
314
- if (email && password) {
315
- try {
316
- const result = execFileSync("curl", [
317
- "-s", "-u", `${email}:${password}`,
318
- "-F", `file=@${filePath}`,
319
- "https://api.streamable.com/upload",
320
- ], { timeout: 60000 });
321
- const data = JSON.parse(result.toString());
322
- if (data.shortcode) {
323
- return `https://streamable.com/${data.shortcode}`;
324
- }
325
- } catch { /* fall through */ }
326
- }
327
-
328
- // Try Imgur as fallback (supports anonymous video upload)
329
310
  try {
330
311
  const result = execFileSync("curl", [
331
312
  "-s",
@@ -334,11 +315,8 @@ async function uploadVideo(filePath) {
334
315
  "https://api.imgur.com/3/upload",
335
316
  ], { timeout: 120000 });
336
317
  const data = JSON.parse(result.toString());
337
- if (data.data?.link) {
338
- return data.data.link;
339
- }
318
+ if (data.data?.link) return data.data.link;
340
319
  } catch { /* fall through */ }
341
-
342
320
  return null;
343
321
  }
344
322
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentreel",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Turn Claude Code sessions into viral demo videos",
5
5
  "bin": {
6
6
  "agentreel": "./bin/agentreel.mjs"