fluncle 0.61.0 → 0.62.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.
- package/bin/fluncle.mjs +4 -7
- package/package.json +1 -1
package/bin/fluncle.mjs
CHANGED
|
@@ -423,7 +423,7 @@ function parseVersion(version) {
|
|
|
423
423
|
var currentVersion;
|
|
424
424
|
var init_version = __esm(() => {
|
|
425
425
|
init_output();
|
|
426
|
-
currentVersion = "0.
|
|
426
|
+
currentVersion = "0.62.0".trim() ? "0.62.0".trim() : "0.1.0";
|
|
427
427
|
});
|
|
428
428
|
|
|
429
429
|
// src/update-notifier.ts
|
|
@@ -1914,7 +1914,7 @@ function parseVersion2(version) {
|
|
|
1914
1914
|
var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
|
|
1915
1915
|
var init_version2 = __esm(() => {
|
|
1916
1916
|
init_output();
|
|
1917
|
-
currentVersion2 = "0.
|
|
1917
|
+
currentVersion2 = "0.62.0".trim() ? "0.62.0".trim() : "0.1.0";
|
|
1918
1918
|
});
|
|
1919
1919
|
|
|
1920
1920
|
// src/commands/track.ts
|
|
@@ -2071,7 +2071,6 @@ var init_track = __esm(() => {
|
|
|
2071
2071
|
VIDEO_FIELDS = [
|
|
2072
2072
|
{ field: "footage", option: "footage" },
|
|
2073
2073
|
{ field: "footage-social", option: "footageSocial" },
|
|
2074
|
-
{ field: "footage-silent", option: "footageSilent" },
|
|
2075
2074
|
{ field: "poster", option: "poster" },
|
|
2076
2075
|
{ field: "cover", option: "cover" },
|
|
2077
2076
|
{ field: "note", option: "note" },
|
|
@@ -5490,7 +5489,7 @@ function addAdminCommands(program2) {
|
|
|
5490
5489
|
const { trackUpdateCommand: trackUpdateCommand2 } = await Promise.resolve().then(() => (init_track(), exports_track));
|
|
5491
5490
|
await runTrackUpdate(trackId, options, trackUpdateCommand2);
|
|
5492
5491
|
});
|
|
5493
|
-
adminTrack.command("video").description("Upload a track's video bundle to R2 and link it").argument("[idOrLogId]").option("--composition <file>", "Composition source file").option("--cover <file>", "Cover image").option("--dir <dir>", "Bundle directory").option("--footage <file>", "Video footage (square crop source)").option("--footage-
|
|
5492
|
+
adminTrack.command("video").description("Upload a track's video bundle to R2 and link it").argument("[idOrLogId]").option("--composition <file>", "Composition source file").option("--cover <file>", "Cover image").option("--dir <dir>", "Bundle directory").option("--footage <file>", "Video footage (square crop source)").option("--footage-social <file>", "Portrait social cut (baked text)").option("--json", "Print JSON", false).option("--model <model>", "Authoring AI model (<provider>/<model>)").option("--note <file>", "Note file").option("--poster <file>", "Poster image").option("--props <file>", "Render props JSON").option("--reasoning <level>", "Authoring model reasoning effort (e.g. high)").option("--render <file>", "Render metadata JSON").allowExcessArguments().action(async (idOrLogId, options) => {
|
|
5494
5493
|
const { trackVideoCommand: trackVideoCommand2 } = await Promise.resolve().then(() => (init_track(), exports_track));
|
|
5495
5494
|
await runTrackVideo(idOrLogId, options, trackVideoCommand2);
|
|
5496
5495
|
});
|
|
@@ -5862,7 +5861,7 @@ async function runBackfillDiscogs(options, backfillDiscogsCommand2) {
|
|
|
5862
5861
|
}
|
|
5863
5862
|
async function runTrackVideo(idOrLogId, options, trackVideoCommand2) {
|
|
5864
5863
|
if (!idOrLogId) {
|
|
5865
|
-
throw new Error("Missing id. Usage: fluncle admin tracks video <track_id|log_id> (--dir <dir> | --footage <file> [--footage-social <file>] [--
|
|
5864
|
+
throw new Error("Missing id. Usage: fluncle admin tracks video <track_id|log_id> (--dir <dir> | --footage <file> [--footage-social <file>] [--poster <file>] [--cover <file>] [--note <file>] [--composition <file>] [--props <file>] [--render <file>])");
|
|
5866
5865
|
}
|
|
5867
5866
|
const dir = options.dir ? path2.resolve(process.cwd(), options.dir) : undefined;
|
|
5868
5867
|
const fromDir = (name) => {
|
|
@@ -5882,7 +5881,6 @@ async function runTrackVideo(idOrLogId, options, trackVideoCommand2) {
|
|
|
5882
5881
|
composition: resolveFile(options.composition, "composition.tsx"),
|
|
5883
5882
|
cover: resolveFile(options.cover, "cover.jpg"),
|
|
5884
5883
|
footage: resolveFile(options.footage, "footage.mp4"),
|
|
5885
|
-
footageSilent: resolveFile(options.footageSilent, "footage-silent.mp4"),
|
|
5886
5884
|
footageSocial: resolveFile(options.footageSocial, "footage.social.mp4"),
|
|
5887
5885
|
model: options.model,
|
|
5888
5886
|
note: resolveFile(options.note, "note.txt"),
|
|
@@ -6586,7 +6584,6 @@ var stringOptions = new Set([
|
|
|
6586
6584
|
"--features",
|
|
6587
6585
|
"--file",
|
|
6588
6586
|
"--footage",
|
|
6589
|
-
"--footage-silent",
|
|
6590
6587
|
"--footage-social",
|
|
6591
6588
|
"--from",
|
|
6592
6589
|
"--key",
|
package/package.json
CHANGED