feedeas 0.1.0-alpha.8 → 0.1.0-alpha.9

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/feedeas.js ADDED
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/env node
2
+
3
+ import path from 'path';
4
+ import { fileURLToPath } from 'url';
5
+ import { spawn } from 'child_process';
6
+ import fs from 'fs';
7
+
8
+ const __filename = fileURLToPath(import.meta.url);
9
+ const __dirname = path.dirname(__filename);
10
+
11
+ const cliEntrypoint = path.resolve(__dirname, '../dist/cli/index.js');
12
+ const args = process.argv.slice(2);
13
+
14
+ if (!fs.existsSync(cliEntrypoint)) {
15
+ console.error('Feedeas CLI bundle is missing. Reinstall the package and try again.');
16
+ process.exit(1);
17
+ }
18
+
19
+ const child = spawn('bun', [cliEntrypoint, ...args], {
20
+ stdio: 'inherit',
21
+ });
22
+
23
+ child.on('error', (error) => {
24
+ if (error?.code === 'ENOENT') {
25
+ console.error('\nFeedeas requires the Bun runtime.');
26
+ console.error('Install Bun: https://bun.sh');
27
+ console.error('Then retry your command.\n');
28
+ process.exit(1);
29
+ }
30
+
31
+ console.error(`Failed to start Feedeas: ${error?.message || 'Unknown error'}`);
32
+ process.exit(1);
33
+ });
34
+
35
+ child.on('exit', (code, signal) => {
36
+ if (signal) {
37
+ process.exit(1);
38
+ }
39
+ process.exit(code ?? 1);
40
+ });
package/dist/cli/index.js CHANGED
@@ -7766,17 +7766,17 @@ Guided Flow (Agent-Friendly, End-to-End):
7766
7766
  - set meta.duration to match narration/bgm
7767
7767
  - use src values like "assets/image1.png", "assets/narration.mp3", "assets/bgm.mp3"
7768
7768
  8. feedeas validate scene.json
7769
- 9. feedeas record --project scene.json --output output.mp4
7770
- 10. Iterate fast with: feedeas edit
7769
+ 9. feedeas record --project scene.json --output output.mp4 # This will take a while...
7770
+ 10. (optional) Iterate with human in the loop: feedeas edit # this will open the editor with your scene so human can adjust timing, captions, or swap assets if they want (usually this is not needed)
7771
7771
 
7772
7772
  Agent Conversation Example:
7773
7773
  User: Create a nice reel about small life habits that heal us.
7774
7774
  Agent: I'll draft a short storyline, generate assets, build the scene, validate, and render.
7775
7775
  Agent: Let me create the narration script first.
7776
- Agent (tool): feedeas imagine prompts/scene1.txt --aspect-ratio 9:16 -o scene1.png
7777
- Agent (tool): feedeas imagine prompts/scene2.txt --aspect-ratio 9:16 -o scene2.png
7778
- Agent (tool): feedeas audio narration.txt -o narration.mp3 --no-transcribe
7779
- Agent (tool): feedeas bgm "soft reflective ambient, no vocals" -d 25 -o bgm.mp3
7776
+ Agent (tool): feedeas imagine "warm cinematic kitchen morning..." --aspect-ratio 9:16 -o scene1.png
7777
+ Agent (tool): feedeas imagine "A person meditating in a park..." --aspect-ratio 9:16 -o scene2.png
7778
+ Agent (tool): feedeas audio "Life changes in small daily choices..." -o narration.mp3 --no-transcribe
7779
+ Agent (tool): feedeas bgm "soft reflective ambient, no vocals..." -d 25 -o bgm.mp3
7780
7780
  Agent: Now I\u2019ll wire assets into scene.json with src values under assets/.
7781
7781
  Agent (tool): feedeas validate scene.json
7782
7782
  Agent (tool): feedeas record --project scene.json --output output.mp4
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "feedeas",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "0.1.0-alpha.8",
5
+ "version": "0.1.0-alpha.9",
6
6
  "devDependencies": {
7
7
  "@tailwindcss/vite": "^4.1.18",
8
8
  "@types/bun": "latest",
@@ -38,6 +38,7 @@
38
38
  "dev:server": "bun run ./src/cli/index.ts start ./playground --port 3000"
39
39
  },
40
40
  "files": [
41
+ "bin/feedeas.js",
41
42
  "dist/cli/**",
42
43
  "dist/ui/**",
43
44
  "scripts/release-npm.ts",
@@ -46,6 +47,9 @@
46
47
  ".env.example"
47
48
  ],
48
49
  "bin": {
49
- "feedeas": "dist/cli/index.js"
50
+ "feedeas": "bin/feedeas.js"
51
+ },
52
+ "engines": {
53
+ "bun": ">=1.2.2"
50
54
  }
51
55
  }