@nodaro/cli 1.41.0 → 1.43.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/dist/index.js CHANGED
@@ -41,7 +41,7 @@ var require_package = __commonJS({
41
41
  "package.json"(exports$1, module) {
42
42
  module.exports = {
43
43
  name: "@nodaro/cli",
44
- version: "1.41.0",
44
+ version: "1.43.0",
45
45
  description: "Command-line interface for Nodaro \u2014 list and run workflows, inspect jobs and executions, manage projects from the terminal.",
46
46
  type: "module",
47
47
  license: "Apache-2.0",
@@ -82,11 +82,11 @@ var require_package = __commonJS({
82
82
  "@inquirer/confirm": "^6.0.12",
83
83
  "@inquirer/input": "^5.0.12",
84
84
  "@inquirer/select": "^5.1.4",
85
- "@nodaro/sdk": "^2.46.0",
86
- "@nodaro/shared": "^3.44.0",
85
+ "@nodaro/sdk": "^2.48.0",
86
+ "@nodaro/shared": "^3.45.0",
87
87
  commander: "^12.1.0",
88
88
  picocolors: "^1.1.1",
89
- "@nodaro/prompts": "^1.42.1"
89
+ "@nodaro/prompts": "^1.43.0"
90
90
  },
91
91
  devDependencies: {
92
92
  tsup: "^8.5.0",
@@ -413,7 +413,7 @@ function saveWorkspace(profileName, workspaceId) {
413
413
  }
414
414
 
415
415
  // src/client.ts
416
- var CLI_VERSION = "1.41.0" ;
416
+ var CLI_VERSION = "1.43.0" ;
417
417
  function buildPublicClient(opts = {}) {
418
418
  const { profile } = getProfile(opts.profile);
419
419
  return createClient({
@@ -6039,6 +6039,7 @@ function recastCommand() {
6039
6039
 
6040
6040
  // src/quote-parts.ts
6041
6041
  var RENAMES = {
6042
+ base: ["castSwap"],
6042
6043
  motion: ["seedance", "kling"],
6043
6044
  motionExpected: ["seedanceExpected"],
6044
6045
  motionHd: ["seedanceHd"],
@@ -6068,7 +6069,7 @@ function neutralQuote(quote) {
6068
6069
  };
6069
6070
  }
6070
6071
  var PART_LABELS = {
6071
- castSwap: "Nodaro Motion",
6072
+ base: "Nodaro Motion",
6072
6073
  references: "reference pictures",
6073
6074
  motion: "video",
6074
6075
  motionExpected: "video, expected",
@@ -6097,8 +6098,8 @@ function addRunFlags(cmd) {
6097
6098
  "--example <n>",
6098
6099
  "1-based example whose pictures fill the optional slots you leave empty (default 1); leave it out on a trend with no example, whose empty optional slots stay as in the original"
6099
6100
  ).option("--details <text>", "your own words (at most 1,000 characters); mention a slot as {slot:<key>}").option("--preview", "a 4-second preview run (only when the trend offers one)").addOption(
6100
- new Option("--resolution <r>", "one the trend offers (`trends get`); default its first: 480p, or 720p on a Nodaro Motion Lite trend").choices([...RESOLUTIONS])
6101
- ).option("--no-draft", "a full run instead of a draft (a draft is 480p only, and the default there; a Nodaro Motion Lite trend has none)");
6101
+ new Option("--resolution <r>", "one the trend offers (`trends get`); default its first: 480p, or 720p on a Nodaro Motion Pulse trend").choices([...RESOLUTIONS])
6102
+ ).option("--no-draft", "a full run instead of a draft (a draft is 480p only, and the default there; a Nodaro Motion Pulse trend has none)");
6102
6103
  }
6103
6104
  function checkSlotKey(flag, spec, key2) {
6104
6105
  if (!SLOT_KEY_RE.test(key2) || key2 === "__proto__") {
@@ -6307,7 +6308,7 @@ function trendsCommand() {
6307
6308
  }
6308
6309
  function fullQualityCommand() {
6309
6310
  const cmd = new Command("full-quality").description(
6310
- "finish a run (Nodaro Motion or trend) at Full Quality at 1080p, as a new job: a draft's same take, or a new take of a Nodaro Motion Lite 720p run \u2014 `estimate` quotes it (free), `run` SPENDS CREDITS"
6311
+ "finish a run (Nodaro Motion or trend) at Full Quality at 1080p, as a new job: a draft's same take, or a new take of a Nodaro Motion Pulse 720p run \u2014 `estimate` quotes it (free), `run` SPENDS CREDITS"
6311
6312
  );
6312
6313
  cmd.command("estimate <jobId>").description("quote finishing the run at Full Quality (free): same or new take, the credits, and until when it can be finished").option("--profile <name>").option("--json").action(async (jobId, opts) => {
6313
6314
  try {