fluncle 0.80.0 → 0.81.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.
Files changed (2) hide show
  1. package/bin/fluncle.mjs +20 -5
  2. package/package.json +1 -1
package/bin/fluncle.mjs CHANGED
@@ -558,7 +558,7 @@ function parseVersion(version) {
558
558
  var currentVersion;
559
559
  var init_version = __esm(() => {
560
560
  init_output();
561
- currentVersion = "0.80.0".trim() ? "0.80.0".trim() : "0.1.0";
561
+ currentVersion = "0.81.0".trim() ? "0.81.0".trim() : "0.1.0";
562
562
  });
563
563
 
564
564
  // src/update-notifier.ts
@@ -2466,7 +2466,7 @@ function parseVersion2(version) {
2466
2466
  var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
2467
2467
  var init_version2 = __esm(() => {
2468
2468
  init_output();
2469
- currentVersion2 = "0.80.0".trim() ? "0.80.0".trim() : "0.1.0";
2469
+ currentVersion2 = "0.81.0".trim() ? "0.81.0".trim() : "0.1.0";
2470
2470
  });
2471
2471
 
2472
2472
  // ../../packages/registry/src/index.ts
@@ -3338,12 +3338,17 @@ var init_track = __esm(() => {
3338
3338
  VIDEO_FIELDS = [
3339
3339
  { field: "footage", option: "footage" },
3340
3340
  { field: "footage-social", option: "footageSocial" },
3341
+ { field: "footage-notext", option: "footageNotext" },
3342
+ { field: "footage-landscape", option: "footageLandscape" },
3343
+ { field: "footage-landscape-social", option: "footageLandscapeSocial" },
3341
3344
  { field: "poster", option: "poster" },
3342
3345
  { field: "cover", option: "cover" },
3343
3346
  { field: "note", option: "note" },
3344
3347
  { field: "composition", option: "composition" },
3345
3348
  { field: "props", option: "props" },
3346
- { field: "render", option: "render" }
3349
+ { field: "render", option: "render" },
3350
+ { field: "intent", option: "intent" },
3351
+ { field: "metrics", option: "metrics" }
3347
3352
  ];
3348
3353
  });
3349
3354
 
@@ -7625,7 +7630,7 @@ function addAdminCommands(program2) {
7625
7630
  const { trackUpdateCommand: trackUpdateCommand2 } = await Promise.resolve().then(() => (init_track(), exports_track));
7626
7631
  await runTrackUpdate(trackId, options, trackUpdateCommand2);
7627
7632
  });
7628
- 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) => {
7633
+ 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-landscape <file>", "Clean landscape cut (optional escape hatch)").option("--footage-landscape-social <file>", "Landscape cut with baked text (optional)").option("--footage-notext <file>", "Portrait cut without the type layer (optional)").option("--footage-social <file>", "Portrait social cut (baked text)").option("--intent <file>", "Render-intent JSON (optional)").option("--json", "Print JSON", false).option("--metrics <file>", "Gate metrics JSON (optional)").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) => {
7629
7634
  const { trackVideoCommand: trackVideoCommand2 } = await Promise.resolve().then(() => (init_track(), exports_track));
7630
7635
  await runTrackVideo(idOrLogId, options, trackVideoCommand2);
7631
7636
  });
@@ -8062,7 +8067,7 @@ async function runBackfillDiscogs(options, backfillDiscogsCommand2) {
8062
8067
  }
8063
8068
  async function runTrackVideo(idOrLogId, options, trackVideoCommand2) {
8064
8069
  if (!idOrLogId) {
8065
- 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>])");
8070
+ throw new Error("Missing id. Usage: fluncle admin tracks video <track_id|log_id> (--dir <dir> | --footage <file> [--footage-social <file>] [--footage-notext <file>] [--footage-landscape <file>] [--footage-landscape-social <file>] [--poster <file>] [--cover <file>] [--note <file>] [--composition <file>] [--props <file>] [--render <file>] [--intent <file>] [--metrics <file>])");
8066
8071
  }
8067
8072
  const dir = options.dir ? path2.resolve(process.cwd(), options.dir) : undefined;
8068
8073
  const fromDir = (name) => {
@@ -8082,7 +8087,12 @@ async function runTrackVideo(idOrLogId, options, trackVideoCommand2) {
8082
8087
  composition: resolveFile(options.composition, "composition.tsx"),
8083
8088
  cover: resolveFile(options.cover, "cover.jpg"),
8084
8089
  footage: resolveFile(options.footage, "footage.mp4"),
8090
+ footageLandscape: resolveFile(options.footageLandscape, "footage.landscape.mp4"),
8091
+ footageLandscapeSocial: resolveFile(options.footageLandscapeSocial, "footage.landscape.social.mp4"),
8092
+ footageNotext: resolveFile(options.footageNotext, "footage.notext.mp4"),
8085
8093
  footageSocial: resolveFile(options.footageSocial, "footage.social.mp4"),
8094
+ intent: resolveFile(options.intent, "intent.json"),
8095
+ metrics: resolveFile(options.metrics, "metrics.json"),
8086
8096
  model: options.model,
8087
8097
  note: resolveFile(options.note, "note.txt"),
8088
8098
  poster: resolveFile(options.poster, "poster.jpg"),
@@ -8892,10 +8902,15 @@ var stringOptions = new Set([
8892
8902
  "--features",
8893
8903
  "--file",
8894
8904
  "--footage",
8905
+ "--footage-landscape",
8906
+ "--footage-landscape-social",
8907
+ "--footage-notext",
8895
8908
  "--footage-social",
8896
8909
  "--from",
8910
+ "--intent",
8897
8911
  "--key",
8898
8912
  "--limit",
8913
+ "--metrics",
8899
8914
  "--mime",
8900
8915
  "--note",
8901
8916
  "--platform",
package/package.json CHANGED
@@ -31,5 +31,5 @@
31
31
  "url": "git+https://github.com/mauricekleine/fluncle.git"
32
32
  },
33
33
  "type": "module",
34
- "version": "0.80.0"
34
+ "version": "0.81.0"
35
35
  }