makaron-cli 0.15.2 → 0.15.3
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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +2 -2
- package/bin/makaron.mjs +3 -3
- package/package.json +1 -1
- package/skills/makaron/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -246,7 +246,7 @@ npx makaron-cli composition export --project <projectId> --snapshot <snapshotId>
|
|
|
246
246
|
npx makaron-cli composition status <jobId> --wait
|
|
247
247
|
```
|
|
248
248
|
|
|
249
|
-
`materialize` is the preferred high-level command for Remotion-to-MP4. It defaults to `--wait`, `--publish`, and the `
|
|
249
|
+
`materialize` is the preferred high-level command for Remotion-to-MP4. It defaults to `--wait`, `--publish`, and the `source` profile, preserving the composition's dimensions when the MP4 is added back to the project timeline. Use `--no-publish` when you need only a file URL. Use `--profile fast_720p` only when a 720-short-side export is acceptable.
|
|
250
250
|
|
|
251
251
|
For a run that produced an animated composition, materialize before picking the video URL:
|
|
252
252
|
|
|
@@ -262,7 +262,7 @@ npx makaron-cli materialize --project <projectId> --design-json composition.json
|
|
|
262
262
|
cat composition.json | npx makaron-cli materialize --project <projectId> --design-json - --pick url
|
|
263
263
|
```
|
|
264
264
|
|
|
265
|
-
This JSON-to-MP4 path uses the same defaults as timeline materialize: `--wait`, `--publish`, and `
|
|
265
|
+
This JSON-to-MP4 path uses the same defaults as timeline materialize: `--wait`, `--publish`, and `source`. Add `--no-publish` when another agent needs the MP4 URL without adding a timeline video.
|
|
266
266
|
|
|
267
267
|
The completed export reports `duration_seconds`, `render_seconds`, and `realtime_ratio` so agents can compare video length against export time. Do not apply provider-video ETA rules to Remotion materialize; with a warm exporter it is often near video length to tens of seconds, while cold starts can be longer.
|
|
268
268
|
|
package/bin/makaron.mjs
CHANGED
|
@@ -1160,7 +1160,7 @@ async function exportComposition(baseUrl, headers, opts = {}) {
|
|
|
1160
1160
|
designPath: opts.designPath,
|
|
1161
1161
|
design: opts.design,
|
|
1162
1162
|
outputType: opts.outputType || 'video',
|
|
1163
|
-
renderProfile: opts.renderProfile || '
|
|
1163
|
+
renderProfile: opts.renderProfile || 'source',
|
|
1164
1164
|
publish: opts.publish === true,
|
|
1165
1165
|
name: opts.name,
|
|
1166
1166
|
};
|
|
@@ -2799,7 +2799,7 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
2799
2799
|
await listProjects(baseUrl, headers);
|
|
2800
2800
|
} else if (command === 'materialize') {
|
|
2801
2801
|
const { headers, baseUrl } = getAuth();
|
|
2802
|
-
const opts = { wait: true, publish: true, json: false, outputType: 'video', renderProfile: '
|
|
2802
|
+
const opts = { wait: true, publish: true, json: false, outputType: 'video', renderProfile: 'source', pick: null, quiet: false };
|
|
2803
2803
|
for (let i = 1; i < args.length; i++) {
|
|
2804
2804
|
if (args[i] === '--project' && args[i + 1]) opts.projectId = args[++i];
|
|
2805
2805
|
else if (args[i] === '--media' && args[i + 1]) opts.mediaIndex = Number(args[++i]);
|
|
@@ -2827,7 +2827,7 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
|
|
|
2827
2827
|
const { headers, baseUrl } = getAuth();
|
|
2828
2828
|
const sub = args[1];
|
|
2829
2829
|
if (sub === 'export') {
|
|
2830
|
-
const opts = { wait: false, publish: false, json: false, outputType: 'video', renderProfile: '
|
|
2830
|
+
const opts = { wait: false, publish: false, json: false, outputType: 'video', renderProfile: 'source', pick: null, quiet: false };
|
|
2831
2831
|
for (let i = 2; i < args.length; i++) {
|
|
2832
2832
|
if (args[i] === '--project' && args[i + 1]) opts.projectId = args[++i];
|
|
2833
2833
|
else if (args[i] === '--media' && args[i + 1]) opts.mediaIndex = Number(args[++i]);
|
package/package.json
CHANGED
package/skills/makaron/SKILL.md
CHANGED
|
@@ -452,7 +452,7 @@ npx makaron-cli materialize --project <projectId> --design-json composition.json
|
|
|
452
452
|
npx makaron-cli responses get <runId> --materialize --wait --pick first_video_url
|
|
453
453
|
```
|
|
454
454
|
|
|
455
|
-
`materialize` defaults to `--wait`, `--publish`, and `
|
|
455
|
+
`materialize` defaults to `--wait`, `--publish`, and `source`, preserving composition dimensions when the MP4 is added back to the timeline. Use `--no-publish` when you need only a file URL, or `--profile fast_720p` when a 720-short-side export is acceptable. The completed export reports `duration_seconds`, `render_seconds`, and `realtime_ratio`; use those metrics instead of provider-video ETA rules.
|
|
456
456
|
|
|
457
457
|
For JSON-to-MP4, pass a Makaron/Remotion composition JSON with `--design-json`. This is the correct CLI path when another agent already has the composition JSON and only needs the exported video:
|
|
458
458
|
|