@nodaro/cli 1.23.0 → 1.24.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/README.md +2 -2
- package/dist/index.js +14 -9
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -120,8 +120,8 @@ nodaro nodes run <type> --params-file body.json [--watch] [--poll-interval 1000]
|
|
|
120
120
|
nodaro models list [--kind video] [--mode i2v] [--family Google] [--featured]
|
|
121
121
|
|
|
122
122
|
# Pickers — valid values for parameter-picker nodes (setting, mood, person, …)
|
|
123
|
-
nodaro pickers list # all picker node types + option counts
|
|
124
|
-
nodaro pickers get <nodeType> [--full] [--category <c>] [--field <f>] # one picker's valid ids
|
|
123
|
+
nodaro pickers list # all picker node types + option counts + pictures
|
|
124
|
+
nodaro pickers get <nodeType> [--full] [--category <c>] [--field <f>] # one picker's valid ids (+ imageUrl per option)
|
|
125
125
|
nodaro pickers analyze "<text>" [--target setting,mood] # AI Fill: pick values from a description (credit-billed)
|
|
126
126
|
|
|
127
127
|
# Shots — Cine share → remix records
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ var require_package = __commonJS({
|
|
|
29
29
|
"package.json"(exports$1, module) {
|
|
30
30
|
module.exports = {
|
|
31
31
|
name: "@nodaro/cli",
|
|
32
|
-
version: "1.
|
|
32
|
+
version: "1.24.0",
|
|
33
33
|
description: "Command-line interface for Nodaro \u2014 list and run workflows, inspect jobs and executions, manage projects from the terminal.",
|
|
34
34
|
type: "module",
|
|
35
35
|
license: "Apache-2.0",
|
|
@@ -70,11 +70,11 @@ var require_package = __commonJS({
|
|
|
70
70
|
"@inquirer/confirm": "^6.0.12",
|
|
71
71
|
"@inquirer/input": "^5.0.12",
|
|
72
72
|
"@inquirer/select": "^5.1.4",
|
|
73
|
-
"@nodaro/sdk": "^2.
|
|
74
|
-
"@nodaro/shared": "^3.
|
|
73
|
+
"@nodaro/sdk": "^2.17.0",
|
|
74
|
+
"@nodaro/shared": "^3.14.0",
|
|
75
75
|
commander: "^12.1.0",
|
|
76
76
|
picocolors: "^1.1.1",
|
|
77
|
-
"@nodaro/prompts": "^1.
|
|
77
|
+
"@nodaro/prompts": "^1.27.0"
|
|
78
78
|
},
|
|
79
79
|
devDependencies: {
|
|
80
80
|
tsup: "^8.5.0",
|
|
@@ -398,7 +398,7 @@ function saveWorkspace(profileName, workspaceId) {
|
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
// src/client.ts
|
|
401
|
-
var CLI_VERSION = "1.
|
|
401
|
+
var CLI_VERSION = "1.24.0" ;
|
|
402
402
|
function buildClient(profileName) {
|
|
403
403
|
const { name, profile } = getProfile(profileName);
|
|
404
404
|
if (!profile) {
|
|
@@ -3421,7 +3421,7 @@ function pickerCatalogsCommand() {
|
|
|
3421
3421
|
const cmd = new Command("pickers").description(
|
|
3422
3422
|
"list parameter-picker node types and their value catalogs (valid ids for setting, mood, person, \u2026)"
|
|
3423
3423
|
);
|
|
3424
|
-
cmd.command("list").description("list all picker node types + option counts").option("--profile <name>").option("--json").action(async (opts) => {
|
|
3424
|
+
cmd.command("list").description("list all picker node types + option counts (and how many options have a picture)").option("--profile <name>").option("--json").action(async (opts) => {
|
|
3425
3425
|
try {
|
|
3426
3426
|
const client = buildClient(opts.profile);
|
|
3427
3427
|
const result = await client.pickerCatalogs.list();
|
|
@@ -3435,9 +3435,10 @@ function pickerCatalogsCommand() {
|
|
|
3435
3435
|
label: c.label,
|
|
3436
3436
|
kind: c.kind,
|
|
3437
3437
|
field: c.valueField ?? (c.fields?.join("+") ?? ""),
|
|
3438
|
-
options: c.optionCount
|
|
3438
|
+
options: c.optionCount,
|
|
3439
|
+
images: c.imageCount ?? 0
|
|
3439
3440
|
})),
|
|
3440
|
-
["nodeType", "label", "kind", "field", "options"]
|
|
3441
|
+
["nodeType", "label", "kind", "field", "options", "images"]
|
|
3441
3442
|
);
|
|
3442
3443
|
} catch (err) {
|
|
3443
3444
|
handleError(err);
|
|
@@ -3475,7 +3476,11 @@ Examples:
|
|
|
3475
3476
|
$ nodaro pickers list
|
|
3476
3477
|
$ nodaro pickers get setting
|
|
3477
3478
|
$ nodaro pickers get setting --full --category Urban
|
|
3478
|
-
$ nodaro pickers get person --field hairColor
|
|
3479
|
+
$ nodaro pickers get person --field hairColor
|
|
3480
|
+
$ nodaro pickers get person --json | jq '.dimensions[].options[] | {id, imageUrl}'
|
|
3481
|
+
|
|
3482
|
+
Options that have a picture carry an absolute imageUrl; person and styling also
|
|
3483
|
+
return their topics (sections), each with its round picture.`
|
|
3479
3484
|
).action(
|
|
3480
3485
|
async (nodeType, opts) => {
|
|
3481
3486
|
try {
|