faces-cli 1.6.0 → 1.6.1
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.
|
@@ -4,7 +4,6 @@ export default class AuthRegister extends BaseCommand {
|
|
|
4
4
|
static flags: {
|
|
5
5
|
email: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
6
6
|
password: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
-
name: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
7
|
username: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
8
|
'invite-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
9
|
plan: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
@@ -8,7 +8,6 @@ export default class AuthRegister extends BaseCommand {
|
|
|
8
8
|
...BaseCommand.baseFlags,
|
|
9
9
|
email: Flags.string({ description: 'Email address', required: true }),
|
|
10
10
|
password: Flags.string({ description: 'Password', required: true }),
|
|
11
|
-
name: Flags.string({ description: 'Display name (defaults to username)' }),
|
|
12
11
|
username: Flags.string({ description: 'Username (lowercase, dashes, numbers)', required: true }),
|
|
13
12
|
'invite-key': Flags.string({ description: 'Invite key (if required)' }),
|
|
14
13
|
plan: Flags.string({
|
|
@@ -24,7 +23,6 @@ export default class AuthRegister extends BaseCommand {
|
|
|
24
23
|
const payload = {
|
|
25
24
|
email: flags.email,
|
|
26
25
|
password: flags.password,
|
|
27
|
-
name: flags.name ?? flags.username,
|
|
28
26
|
username: flags.username,
|
|
29
27
|
source: 'cli',
|
|
30
28
|
};
|
|
@@ -55,7 +53,7 @@ export default class AuthRegister extends BaseCommand {
|
|
|
55
53
|
if (flags.plan === 'connect') {
|
|
56
54
|
// Connect plan: $17/mo subscription, no $5 activation needed
|
|
57
55
|
try {
|
|
58
|
-
const checkoutResp = await authedClient.post(`/v1/billing/checkout?plan=connect`);
|
|
56
|
+
const checkoutResp = await authedClient.post(`/v1/billing/checkout?plan=connect&source=cli`);
|
|
59
57
|
result.checkout_url = checkoutResp.checkout_url;
|
|
60
58
|
result.plan = 'connect';
|
|
61
59
|
result.amount = '$17/mo';
|
|
@@ -16,7 +16,7 @@ export default class BillingCheckout extends BaseCommand {
|
|
|
16
16
|
const client = this.makeClient(flags);
|
|
17
17
|
let data;
|
|
18
18
|
try {
|
|
19
|
-
data = await client.post(`/v1/billing/checkout?plan=${flags.plan}`);
|
|
19
|
+
data = await client.post(`/v1/billing/checkout?plan=${flags.plan}&source=cli`);
|
|
20
20
|
}
|
|
21
21
|
catch (err) {
|
|
22
22
|
if (err instanceof FacesAPIError)
|
package/oclif.manifest.json
CHANGED
|
@@ -541,13 +541,6 @@
|
|
|
541
541
|
"multiple": false,
|
|
542
542
|
"type": "option"
|
|
543
543
|
},
|
|
544
|
-
"name": {
|
|
545
|
-
"description": "Display name (defaults to username)",
|
|
546
|
-
"name": "name",
|
|
547
|
-
"hasDynamicHelp": false,
|
|
548
|
-
"multiple": false,
|
|
549
|
-
"type": "option"
|
|
550
|
-
},
|
|
551
544
|
"username": {
|
|
552
545
|
"description": "Username (lowercase, dashes, numbers)",
|
|
553
546
|
"name": "username",
|
|
@@ -2192,10 +2185,10 @@
|
|
|
2192
2185
|
"show.js"
|
|
2193
2186
|
]
|
|
2194
2187
|
},
|
|
2195
|
-
"
|
|
2188
|
+
"face:attributes": {
|
|
2196
2189
|
"aliases": [],
|
|
2197
2190
|
"args": {},
|
|
2198
|
-
"description": "
|
|
2191
|
+
"description": "List all supported attribute keys",
|
|
2199
2192
|
"flags": {
|
|
2200
2193
|
"json": {
|
|
2201
2194
|
"description": "Format output as json.",
|
|
@@ -2227,47 +2220,11 @@
|
|
|
2227
2220
|
"hasDynamicHelp": false,
|
|
2228
2221
|
"multiple": false,
|
|
2229
2222
|
"type": "option"
|
|
2230
|
-
},
|
|
2231
|
-
"name": {
|
|
2232
|
-
"description": "Key name/label",
|
|
2233
|
-
"name": "name",
|
|
2234
|
-
"required": true,
|
|
2235
|
-
"hasDynamicHelp": false,
|
|
2236
|
-
"multiple": false,
|
|
2237
|
-
"type": "option"
|
|
2238
|
-
},
|
|
2239
|
-
"expires-days": {
|
|
2240
|
-
"description": "Expiry in days (omit for no expiry)",
|
|
2241
|
-
"name": "expires-days",
|
|
2242
|
-
"hasDynamicHelp": false,
|
|
2243
|
-
"multiple": false,
|
|
2244
|
-
"type": "option"
|
|
2245
|
-
},
|
|
2246
|
-
"budget": {
|
|
2247
|
-
"description": "Spend budget in USD",
|
|
2248
|
-
"name": "budget",
|
|
2249
|
-
"hasDynamicHelp": false,
|
|
2250
|
-
"multiple": false,
|
|
2251
|
-
"type": "option"
|
|
2252
|
-
},
|
|
2253
|
-
"face": {
|
|
2254
|
-
"description": "Allowed face alias (repeatable)",
|
|
2255
|
-
"name": "face",
|
|
2256
|
-
"hasDynamicHelp": false,
|
|
2257
|
-
"multiple": true,
|
|
2258
|
-
"type": "option"
|
|
2259
|
-
},
|
|
2260
|
-
"model": {
|
|
2261
|
-
"description": "Allowed model name (repeatable)",
|
|
2262
|
-
"name": "model",
|
|
2263
|
-
"hasDynamicHelp": false,
|
|
2264
|
-
"multiple": true,
|
|
2265
|
-
"type": "option"
|
|
2266
2223
|
}
|
|
2267
2224
|
},
|
|
2268
2225
|
"hasDynamicHelp": false,
|
|
2269
2226
|
"hiddenAliases": [],
|
|
2270
|
-
"id": "
|
|
2227
|
+
"id": "face:attributes",
|
|
2271
2228
|
"pluginAlias": "faces-cli",
|
|
2272
2229
|
"pluginName": "faces-cli",
|
|
2273
2230
|
"pluginType": "core",
|
|
@@ -2277,14 +2234,14 @@
|
|
|
2277
2234
|
"relativePath": [
|
|
2278
2235
|
"dist",
|
|
2279
2236
|
"commands",
|
|
2280
|
-
"
|
|
2281
|
-
"
|
|
2237
|
+
"face",
|
|
2238
|
+
"attributes.js"
|
|
2282
2239
|
]
|
|
2283
2240
|
},
|
|
2284
|
-
"
|
|
2241
|
+
"face:create": {
|
|
2285
2242
|
"aliases": [],
|
|
2286
2243
|
"args": {},
|
|
2287
|
-
"description": "
|
|
2244
|
+
"description": "Create a new face",
|
|
2288
2245
|
"flags": {
|
|
2289
2246
|
"json": {
|
|
2290
2247
|
"description": "Format output as json.",
|
|
@@ -2316,11 +2273,62 @@
|
|
|
2316
2273
|
"hasDynamicHelp": false,
|
|
2317
2274
|
"multiple": false,
|
|
2318
2275
|
"type": "option"
|
|
2276
|
+
},
|
|
2277
|
+
"name": {
|
|
2278
|
+
"description": "Display name",
|
|
2279
|
+
"name": "name",
|
|
2280
|
+
"required": true,
|
|
2281
|
+
"hasDynamicHelp": false,
|
|
2282
|
+
"multiple": false,
|
|
2283
|
+
"type": "option"
|
|
2284
|
+
},
|
|
2285
|
+
"alias": {
|
|
2286
|
+
"description": "Unique alias slug",
|
|
2287
|
+
"name": "alias",
|
|
2288
|
+
"required": true,
|
|
2289
|
+
"hasDynamicHelp": false,
|
|
2290
|
+
"multiple": false,
|
|
2291
|
+
"type": "option"
|
|
2292
|
+
},
|
|
2293
|
+
"description": {
|
|
2294
|
+
"description": "Description for local catalog",
|
|
2295
|
+
"name": "description",
|
|
2296
|
+
"hasDynamicHelp": false,
|
|
2297
|
+
"multiple": false,
|
|
2298
|
+
"type": "option"
|
|
2299
|
+
},
|
|
2300
|
+
"default-model": {
|
|
2301
|
+
"description": "Default LLM for chat (e.g. gpt-4o-mini, claude-sonnet-4-6)",
|
|
2302
|
+
"name": "default-model",
|
|
2303
|
+
"hasDynamicHelp": false,
|
|
2304
|
+
"multiple": false,
|
|
2305
|
+
"type": "option"
|
|
2306
|
+
},
|
|
2307
|
+
"formula": {
|
|
2308
|
+
"description": "Boolean formula over owned concrete face aliases (e.g. \"a | b\", \"(a | b) - c\"). Creates a composite face.",
|
|
2309
|
+
"name": "formula",
|
|
2310
|
+
"hasDynamicHelp": false,
|
|
2311
|
+
"multiple": false,
|
|
2312
|
+
"type": "option"
|
|
2313
|
+
},
|
|
2314
|
+
"attr": {
|
|
2315
|
+
"description": "Attribute KEY=VALUE (repeatable)",
|
|
2316
|
+
"name": "attr",
|
|
2317
|
+
"hasDynamicHelp": false,
|
|
2318
|
+
"multiple": true,
|
|
2319
|
+
"type": "option"
|
|
2320
|
+
},
|
|
2321
|
+
"tool": {
|
|
2322
|
+
"description": "Tool name to enable (repeatable)",
|
|
2323
|
+
"name": "tool",
|
|
2324
|
+
"hasDynamicHelp": false,
|
|
2325
|
+
"multiple": true,
|
|
2326
|
+
"type": "option"
|
|
2319
2327
|
}
|
|
2320
2328
|
},
|
|
2321
2329
|
"hasDynamicHelp": false,
|
|
2322
2330
|
"hiddenAliases": [],
|
|
2323
|
-
"id": "
|
|
2331
|
+
"id": "face:create",
|
|
2324
2332
|
"pluginAlias": "faces-cli",
|
|
2325
2333
|
"pluginName": "faces-cli",
|
|
2326
2334
|
"pluginType": "core",
|
|
@@ -2330,20 +2338,20 @@
|
|
|
2330
2338
|
"relativePath": [
|
|
2331
2339
|
"dist",
|
|
2332
2340
|
"commands",
|
|
2333
|
-
"
|
|
2334
|
-
"
|
|
2341
|
+
"face",
|
|
2342
|
+
"create.js"
|
|
2335
2343
|
]
|
|
2336
2344
|
},
|
|
2337
|
-
"
|
|
2345
|
+
"face:delete": {
|
|
2338
2346
|
"aliases": [],
|
|
2339
2347
|
"args": {
|
|
2340
|
-
"
|
|
2341
|
-
"description": "
|
|
2342
|
-
"name": "
|
|
2348
|
+
"face_id": {
|
|
2349
|
+
"description": "Face alias",
|
|
2350
|
+
"name": "face_id",
|
|
2343
2351
|
"required": true
|
|
2344
2352
|
}
|
|
2345
2353
|
},
|
|
2346
|
-
"description": "
|
|
2354
|
+
"description": "Delete a face permanently",
|
|
2347
2355
|
"flags": {
|
|
2348
2356
|
"json": {
|
|
2349
2357
|
"description": "Format output as json.",
|
|
@@ -2385,7 +2393,7 @@
|
|
|
2385
2393
|
},
|
|
2386
2394
|
"hasDynamicHelp": false,
|
|
2387
2395
|
"hiddenAliases": [],
|
|
2388
|
-
"id": "
|
|
2396
|
+
"id": "face:delete",
|
|
2389
2397
|
"pluginAlias": "faces-cli",
|
|
2390
2398
|
"pluginName": "faces-cli",
|
|
2391
2399
|
"pluginType": "core",
|
|
@@ -2395,20 +2403,14 @@
|
|
|
2395
2403
|
"relativePath": [
|
|
2396
2404
|
"dist",
|
|
2397
2405
|
"commands",
|
|
2398
|
-
"
|
|
2399
|
-
"
|
|
2406
|
+
"face",
|
|
2407
|
+
"delete.js"
|
|
2400
2408
|
]
|
|
2401
2409
|
},
|
|
2402
|
-
"
|
|
2410
|
+
"face:diff": {
|
|
2403
2411
|
"aliases": [],
|
|
2404
|
-
"args": {
|
|
2405
|
-
|
|
2406
|
-
"description": "Key ID",
|
|
2407
|
-
"name": "key_id",
|
|
2408
|
-
"required": true
|
|
2409
|
-
}
|
|
2410
|
-
},
|
|
2411
|
-
"description": "Update API key metadata (JWT required)",
|
|
2412
|
+
"args": {},
|
|
2413
|
+
"description": "Compare owned faces pairwise across all centroid components",
|
|
2412
2414
|
"flags": {
|
|
2413
2415
|
"json": {
|
|
2414
2416
|
"description": "Format output as json.",
|
|
@@ -2441,30 +2443,18 @@
|
|
|
2441
2443
|
"multiple": false,
|
|
2442
2444
|
"type": "option"
|
|
2443
2445
|
},
|
|
2444
|
-
"
|
|
2445
|
-
"description": "
|
|
2446
|
-
"name": "
|
|
2447
|
-
"
|
|
2448
|
-
"multiple": false,
|
|
2449
|
-
"type": "option"
|
|
2450
|
-
},
|
|
2451
|
-
"budget": {
|
|
2452
|
-
"description": "New spend budget in USD",
|
|
2453
|
-
"name": "budget",
|
|
2446
|
+
"face": {
|
|
2447
|
+
"description": "Face alias to include (repeatable, min 2)",
|
|
2448
|
+
"name": "face",
|
|
2449
|
+
"required": true,
|
|
2454
2450
|
"hasDynamicHelp": false,
|
|
2455
|
-
"multiple":
|
|
2451
|
+
"multiple": true,
|
|
2456
2452
|
"type": "option"
|
|
2457
|
-
},
|
|
2458
|
-
"reset-spent": {
|
|
2459
|
-
"description": "Reset spent amount to zero",
|
|
2460
|
-
"name": "reset-spent",
|
|
2461
|
-
"allowNo": false,
|
|
2462
|
-
"type": "boolean"
|
|
2463
2453
|
}
|
|
2464
2454
|
},
|
|
2465
2455
|
"hasDynamicHelp": false,
|
|
2466
2456
|
"hiddenAliases": [],
|
|
2467
|
-
"id": "
|
|
2457
|
+
"id": "face:diff",
|
|
2468
2458
|
"pluginAlias": "faces-cli",
|
|
2469
2459
|
"pluginName": "faces-cli",
|
|
2470
2460
|
"pluginType": "core",
|
|
@@ -2474,14 +2464,20 @@
|
|
|
2474
2464
|
"relativePath": [
|
|
2475
2465
|
"dist",
|
|
2476
2466
|
"commands",
|
|
2477
|
-
"
|
|
2478
|
-
"
|
|
2467
|
+
"face",
|
|
2468
|
+
"diff.js"
|
|
2479
2469
|
]
|
|
2480
2470
|
},
|
|
2481
|
-
"face:
|
|
2471
|
+
"face:get": {
|
|
2482
2472
|
"aliases": [],
|
|
2483
|
-
"args": {
|
|
2484
|
-
|
|
2473
|
+
"args": {
|
|
2474
|
+
"face_id": {
|
|
2475
|
+
"description": "Face alias",
|
|
2476
|
+
"name": "face_id",
|
|
2477
|
+
"required": true
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
"description": "Get details for a face by alias",
|
|
2485
2481
|
"flags": {
|
|
2486
2482
|
"json": {
|
|
2487
2483
|
"description": "Format output as json.",
|
|
@@ -2517,7 +2513,7 @@
|
|
|
2517
2513
|
},
|
|
2518
2514
|
"hasDynamicHelp": false,
|
|
2519
2515
|
"hiddenAliases": [],
|
|
2520
|
-
"id": "face:
|
|
2516
|
+
"id": "face:get",
|
|
2521
2517
|
"pluginAlias": "faces-cli",
|
|
2522
2518
|
"pluginName": "faces-cli",
|
|
2523
2519
|
"pluginType": "core",
|
|
@@ -2528,13 +2524,13 @@
|
|
|
2528
2524
|
"dist",
|
|
2529
2525
|
"commands",
|
|
2530
2526
|
"face",
|
|
2531
|
-
"
|
|
2527
|
+
"get.js"
|
|
2532
2528
|
]
|
|
2533
2529
|
},
|
|
2534
|
-
"face:
|
|
2530
|
+
"face:list": {
|
|
2535
2531
|
"aliases": [],
|
|
2536
2532
|
"args": {},
|
|
2537
|
-
"description": "
|
|
2533
|
+
"description": "List all owned faces",
|
|
2538
2534
|
"flags": {
|
|
2539
2535
|
"json": {
|
|
2540
2536
|
"description": "Format output as json.",
|
|
@@ -2566,62 +2562,11 @@
|
|
|
2566
2562
|
"hasDynamicHelp": false,
|
|
2567
2563
|
"multiple": false,
|
|
2568
2564
|
"type": "option"
|
|
2569
|
-
},
|
|
2570
|
-
"name": {
|
|
2571
|
-
"description": "Display name",
|
|
2572
|
-
"name": "name",
|
|
2573
|
-
"required": true,
|
|
2574
|
-
"hasDynamicHelp": false,
|
|
2575
|
-
"multiple": false,
|
|
2576
|
-
"type": "option"
|
|
2577
|
-
},
|
|
2578
|
-
"alias": {
|
|
2579
|
-
"description": "Unique alias slug",
|
|
2580
|
-
"name": "alias",
|
|
2581
|
-
"required": true,
|
|
2582
|
-
"hasDynamicHelp": false,
|
|
2583
|
-
"multiple": false,
|
|
2584
|
-
"type": "option"
|
|
2585
|
-
},
|
|
2586
|
-
"description": {
|
|
2587
|
-
"description": "Description for local catalog",
|
|
2588
|
-
"name": "description",
|
|
2589
|
-
"hasDynamicHelp": false,
|
|
2590
|
-
"multiple": false,
|
|
2591
|
-
"type": "option"
|
|
2592
|
-
},
|
|
2593
|
-
"default-model": {
|
|
2594
|
-
"description": "Default LLM for chat (e.g. gpt-4o-mini, claude-sonnet-4-6)",
|
|
2595
|
-
"name": "default-model",
|
|
2596
|
-
"hasDynamicHelp": false,
|
|
2597
|
-
"multiple": false,
|
|
2598
|
-
"type": "option"
|
|
2599
|
-
},
|
|
2600
|
-
"formula": {
|
|
2601
|
-
"description": "Boolean formula over owned concrete face aliases (e.g. \"a | b\", \"(a | b) - c\"). Creates a composite face.",
|
|
2602
|
-
"name": "formula",
|
|
2603
|
-
"hasDynamicHelp": false,
|
|
2604
|
-
"multiple": false,
|
|
2605
|
-
"type": "option"
|
|
2606
|
-
},
|
|
2607
|
-
"attr": {
|
|
2608
|
-
"description": "Attribute KEY=VALUE (repeatable)",
|
|
2609
|
-
"name": "attr",
|
|
2610
|
-
"hasDynamicHelp": false,
|
|
2611
|
-
"multiple": true,
|
|
2612
|
-
"type": "option"
|
|
2613
|
-
},
|
|
2614
|
-
"tool": {
|
|
2615
|
-
"description": "Tool name to enable (repeatable)",
|
|
2616
|
-
"name": "tool",
|
|
2617
|
-
"hasDynamicHelp": false,
|
|
2618
|
-
"multiple": true,
|
|
2619
|
-
"type": "option"
|
|
2620
2565
|
}
|
|
2621
2566
|
},
|
|
2622
2567
|
"hasDynamicHelp": false,
|
|
2623
2568
|
"hiddenAliases": [],
|
|
2624
|
-
"id": "face:
|
|
2569
|
+
"id": "face:list",
|
|
2625
2570
|
"pluginAlias": "faces-cli",
|
|
2626
2571
|
"pluginName": "faces-cli",
|
|
2627
2572
|
"pluginType": "core",
|
|
@@ -2632,10 +2577,10 @@
|
|
|
2632
2577
|
"dist",
|
|
2633
2578
|
"commands",
|
|
2634
2579
|
"face",
|
|
2635
|
-
"
|
|
2580
|
+
"list.js"
|
|
2636
2581
|
]
|
|
2637
2582
|
},
|
|
2638
|
-
"face:
|
|
2583
|
+
"face:neighbors": {
|
|
2639
2584
|
"aliases": [],
|
|
2640
2585
|
"args": {
|
|
2641
2586
|
"face_id": {
|
|
@@ -2644,7 +2589,7 @@
|
|
|
2644
2589
|
"required": true
|
|
2645
2590
|
}
|
|
2646
2591
|
},
|
|
2647
|
-
"description": "
|
|
2592
|
+
"description": "Find the most similar or dissimilar owned faces to a given face",
|
|
2648
2593
|
"flags": {
|
|
2649
2594
|
"json": {
|
|
2650
2595
|
"description": "Format output as json.",
|
|
@@ -2677,16 +2622,44 @@
|
|
|
2677
2622
|
"multiple": false,
|
|
2678
2623
|
"type": "option"
|
|
2679
2624
|
},
|
|
2680
|
-
"
|
|
2681
|
-
"description": "
|
|
2682
|
-
"name": "
|
|
2683
|
-
"
|
|
2684
|
-
"
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2625
|
+
"k": {
|
|
2626
|
+
"description": "Number of results (1–20)",
|
|
2627
|
+
"name": "k",
|
|
2628
|
+
"default": 5,
|
|
2629
|
+
"hasDynamicHelp": false,
|
|
2630
|
+
"multiple": false,
|
|
2631
|
+
"type": "option"
|
|
2632
|
+
},
|
|
2633
|
+
"component": {
|
|
2634
|
+
"description": "Centroid component to rank on (beta, delta, epsilon are the principal components of a face; face is their composite)",
|
|
2635
|
+
"name": "component",
|
|
2636
|
+
"default": "face",
|
|
2637
|
+
"hasDynamicHelp": false,
|
|
2638
|
+
"multiple": false,
|
|
2639
|
+
"options": [
|
|
2640
|
+
"face",
|
|
2641
|
+
"beta",
|
|
2642
|
+
"delta",
|
|
2643
|
+
"epsilon"
|
|
2644
|
+
],
|
|
2645
|
+
"type": "option"
|
|
2646
|
+
},
|
|
2647
|
+
"direction": {
|
|
2648
|
+
"description": "nearest (most similar) or furthest (most dissimilar)",
|
|
2649
|
+
"name": "direction",
|
|
2650
|
+
"default": "nearest",
|
|
2651
|
+
"hasDynamicHelp": false,
|
|
2652
|
+
"multiple": false,
|
|
2653
|
+
"options": [
|
|
2654
|
+
"nearest",
|
|
2655
|
+
"furthest"
|
|
2656
|
+
],
|
|
2657
|
+
"type": "option"
|
|
2658
|
+
}
|
|
2659
|
+
},
|
|
2660
|
+
"hasDynamicHelp": false,
|
|
2688
2661
|
"hiddenAliases": [],
|
|
2689
|
-
"id": "face:
|
|
2662
|
+
"id": "face:neighbors",
|
|
2690
2663
|
"pluginAlias": "faces-cli",
|
|
2691
2664
|
"pluginName": "faces-cli",
|
|
2692
2665
|
"pluginType": "core",
|
|
@@ -2697,13 +2670,13 @@
|
|
|
2697
2670
|
"dist",
|
|
2698
2671
|
"commands",
|
|
2699
2672
|
"face",
|
|
2700
|
-
"
|
|
2673
|
+
"neighbors.js"
|
|
2701
2674
|
]
|
|
2702
2675
|
},
|
|
2703
|
-
"face:
|
|
2676
|
+
"face:stats": {
|
|
2704
2677
|
"aliases": [],
|
|
2705
2678
|
"args": {},
|
|
2706
|
-
"description": "
|
|
2679
|
+
"description": "Compile and chat stats for all owned faces",
|
|
2707
2680
|
"flags": {
|
|
2708
2681
|
"json": {
|
|
2709
2682
|
"description": "Format output as json.",
|
|
@@ -2735,19 +2708,11 @@
|
|
|
2735
2708
|
"hasDynamicHelp": false,
|
|
2736
2709
|
"multiple": false,
|
|
2737
2710
|
"type": "option"
|
|
2738
|
-
},
|
|
2739
|
-
"face": {
|
|
2740
|
-
"description": "Face alias to include (repeatable, min 2)",
|
|
2741
|
-
"name": "face",
|
|
2742
|
-
"required": true,
|
|
2743
|
-
"hasDynamicHelp": false,
|
|
2744
|
-
"multiple": true,
|
|
2745
|
-
"type": "option"
|
|
2746
2711
|
}
|
|
2747
2712
|
},
|
|
2748
2713
|
"hasDynamicHelp": false,
|
|
2749
2714
|
"hiddenAliases": [],
|
|
2750
|
-
"id": "face:
|
|
2715
|
+
"id": "face:stats",
|
|
2751
2716
|
"pluginAlias": "faces-cli",
|
|
2752
2717
|
"pluginName": "faces-cli",
|
|
2753
2718
|
"pluginType": "core",
|
|
@@ -2758,10 +2723,10 @@
|
|
|
2758
2723
|
"dist",
|
|
2759
2724
|
"commands",
|
|
2760
2725
|
"face",
|
|
2761
|
-
"
|
|
2726
|
+
"stats.js"
|
|
2762
2727
|
]
|
|
2763
2728
|
},
|
|
2764
|
-
"face:
|
|
2729
|
+
"face:update": {
|
|
2765
2730
|
"aliases": [],
|
|
2766
2731
|
"args": {
|
|
2767
2732
|
"face_id": {
|
|
@@ -2770,7 +2735,7 @@
|
|
|
2770
2735
|
"required": true
|
|
2771
2736
|
}
|
|
2772
2737
|
},
|
|
2773
|
-
"description": "
|
|
2738
|
+
"description": "Update a face's metadata",
|
|
2774
2739
|
"flags": {
|
|
2775
2740
|
"json": {
|
|
2776
2741
|
"description": "Format output as json.",
|
|
@@ -2802,11 +2767,53 @@
|
|
|
2802
2767
|
"hasDynamicHelp": false,
|
|
2803
2768
|
"multiple": false,
|
|
2804
2769
|
"type": "option"
|
|
2770
|
+
},
|
|
2771
|
+
"name": {
|
|
2772
|
+
"description": "New display name",
|
|
2773
|
+
"name": "name",
|
|
2774
|
+
"hasDynamicHelp": false,
|
|
2775
|
+
"multiple": false,
|
|
2776
|
+
"type": "option"
|
|
2777
|
+
},
|
|
2778
|
+
"description": {
|
|
2779
|
+
"description": "Description for local catalog",
|
|
2780
|
+
"name": "description",
|
|
2781
|
+
"hasDynamicHelp": false,
|
|
2782
|
+
"multiple": false,
|
|
2783
|
+
"type": "option"
|
|
2784
|
+
},
|
|
2785
|
+
"default-model": {
|
|
2786
|
+
"description": "Default LLM for chat (e.g. gpt-4o-mini, claude-sonnet-4-6)",
|
|
2787
|
+
"name": "default-model",
|
|
2788
|
+
"hasDynamicHelp": false,
|
|
2789
|
+
"multiple": false,
|
|
2790
|
+
"type": "option"
|
|
2791
|
+
},
|
|
2792
|
+
"formula": {
|
|
2793
|
+
"description": "New boolean formula (synthetic faces only)",
|
|
2794
|
+
"name": "formula",
|
|
2795
|
+
"hasDynamicHelp": false,
|
|
2796
|
+
"multiple": false,
|
|
2797
|
+
"type": "option"
|
|
2798
|
+
},
|
|
2799
|
+
"attr": {
|
|
2800
|
+
"description": "Update attribute KEY=VALUE (repeatable)",
|
|
2801
|
+
"name": "attr",
|
|
2802
|
+
"hasDynamicHelp": false,
|
|
2803
|
+
"multiple": true,
|
|
2804
|
+
"type": "option"
|
|
2805
|
+
},
|
|
2806
|
+
"tool": {
|
|
2807
|
+
"description": "Tool names to set (replaces list, repeatable)",
|
|
2808
|
+
"name": "tool",
|
|
2809
|
+
"hasDynamicHelp": false,
|
|
2810
|
+
"multiple": true,
|
|
2811
|
+
"type": "option"
|
|
2805
2812
|
}
|
|
2806
2813
|
},
|
|
2807
2814
|
"hasDynamicHelp": false,
|
|
2808
2815
|
"hiddenAliases": [],
|
|
2809
|
-
"id": "face:
|
|
2816
|
+
"id": "face:update",
|
|
2810
2817
|
"pluginAlias": "faces-cli",
|
|
2811
2818
|
"pluginName": "faces-cli",
|
|
2812
2819
|
"pluginType": "core",
|
|
@@ -2817,13 +2824,19 @@
|
|
|
2817
2824
|
"dist",
|
|
2818
2825
|
"commands",
|
|
2819
2826
|
"face",
|
|
2820
|
-
"
|
|
2827
|
+
"update.js"
|
|
2821
2828
|
]
|
|
2822
2829
|
},
|
|
2823
|
-
"face:
|
|
2830
|
+
"face:upload": {
|
|
2824
2831
|
"aliases": [],
|
|
2825
|
-
"args": {
|
|
2826
|
-
|
|
2832
|
+
"args": {
|
|
2833
|
+
"face_id": {
|
|
2834
|
+
"description": "Face alias",
|
|
2835
|
+
"name": "face_id",
|
|
2836
|
+
"required": true
|
|
2837
|
+
}
|
|
2838
|
+
},
|
|
2839
|
+
"description": "Upload a file (text/PDF/audio/video) to a face",
|
|
2827
2840
|
"flags": {
|
|
2828
2841
|
"json": {
|
|
2829
2842
|
"description": "Format output as json.",
|
|
@@ -2855,11 +2868,50 @@
|
|
|
2855
2868
|
"hasDynamicHelp": false,
|
|
2856
2869
|
"multiple": false,
|
|
2857
2870
|
"type": "option"
|
|
2871
|
+
},
|
|
2872
|
+
"file": {
|
|
2873
|
+
"description": "File to upload",
|
|
2874
|
+
"name": "file",
|
|
2875
|
+
"required": true,
|
|
2876
|
+
"hasDynamicHelp": false,
|
|
2877
|
+
"multiple": false,
|
|
2878
|
+
"type": "option"
|
|
2879
|
+
},
|
|
2880
|
+
"kind": {
|
|
2881
|
+
"description": "Upload kind: document or thread",
|
|
2882
|
+
"name": "kind",
|
|
2883
|
+
"default": "document",
|
|
2884
|
+
"hasDynamicHelp": false,
|
|
2885
|
+
"multiple": false,
|
|
2886
|
+
"options": [
|
|
2887
|
+
"document",
|
|
2888
|
+
"thread"
|
|
2889
|
+
],
|
|
2890
|
+
"type": "option"
|
|
2891
|
+
},
|
|
2892
|
+
"perspective": {
|
|
2893
|
+
"description": "Perspective (document only)",
|
|
2894
|
+
"name": "perspective",
|
|
2895
|
+
"default": "third-person",
|
|
2896
|
+
"hasDynamicHelp": false,
|
|
2897
|
+
"multiple": false,
|
|
2898
|
+
"options": [
|
|
2899
|
+
"first-person",
|
|
2900
|
+
"third-person"
|
|
2901
|
+
],
|
|
2902
|
+
"type": "option"
|
|
2903
|
+
},
|
|
2904
|
+
"face-speaker": {
|
|
2905
|
+
"description": "Speaker name to map to the face (thread only). If omitted, first speaker is used.",
|
|
2906
|
+
"name": "face-speaker",
|
|
2907
|
+
"hasDynamicHelp": false,
|
|
2908
|
+
"multiple": false,
|
|
2909
|
+
"type": "option"
|
|
2858
2910
|
}
|
|
2859
2911
|
},
|
|
2860
2912
|
"hasDynamicHelp": false,
|
|
2861
2913
|
"hiddenAliases": [],
|
|
2862
|
-
"id": "face:
|
|
2914
|
+
"id": "face:upload",
|
|
2863
2915
|
"pluginAlias": "faces-cli",
|
|
2864
2916
|
"pluginName": "faces-cli",
|
|
2865
2917
|
"pluginType": "core",
|
|
@@ -2870,19 +2922,13 @@
|
|
|
2870
2922
|
"dist",
|
|
2871
2923
|
"commands",
|
|
2872
2924
|
"face",
|
|
2873
|
-
"
|
|
2925
|
+
"upload.js"
|
|
2874
2926
|
]
|
|
2875
2927
|
},
|
|
2876
|
-
"
|
|
2928
|
+
"keys:create": {
|
|
2877
2929
|
"aliases": [],
|
|
2878
|
-
"args": {
|
|
2879
|
-
|
|
2880
|
-
"description": "Face alias",
|
|
2881
|
-
"name": "face_id",
|
|
2882
|
-
"required": true
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
"description": "Find the most similar or dissimilar owned faces to a given face",
|
|
2930
|
+
"args": {},
|
|
2931
|
+
"description": "Create a new API key (JWT required)",
|
|
2886
2932
|
"flags": {
|
|
2887
2933
|
"json": {
|
|
2888
2934
|
"description": "Format output as json.",
|
|
@@ -2915,44 +2961,46 @@
|
|
|
2915
2961
|
"multiple": false,
|
|
2916
2962
|
"type": "option"
|
|
2917
2963
|
},
|
|
2918
|
-
"
|
|
2919
|
-
"description": "
|
|
2920
|
-
"name": "
|
|
2921
|
-
"
|
|
2964
|
+
"name": {
|
|
2965
|
+
"description": "Key name/label",
|
|
2966
|
+
"name": "name",
|
|
2967
|
+
"required": true,
|
|
2922
2968
|
"hasDynamicHelp": false,
|
|
2923
2969
|
"multiple": false,
|
|
2924
2970
|
"type": "option"
|
|
2925
2971
|
},
|
|
2926
|
-
"
|
|
2927
|
-
"description": "
|
|
2928
|
-
"name": "
|
|
2929
|
-
"default": "face",
|
|
2972
|
+
"expires-days": {
|
|
2973
|
+
"description": "Expiry in days (omit for no expiry)",
|
|
2974
|
+
"name": "expires-days",
|
|
2930
2975
|
"hasDynamicHelp": false,
|
|
2931
2976
|
"multiple": false,
|
|
2932
|
-
"options": [
|
|
2933
|
-
"face",
|
|
2934
|
-
"beta",
|
|
2935
|
-
"delta",
|
|
2936
|
-
"epsilon"
|
|
2937
|
-
],
|
|
2938
2977
|
"type": "option"
|
|
2939
2978
|
},
|
|
2940
|
-
"
|
|
2941
|
-
"description": "
|
|
2942
|
-
"name": "
|
|
2943
|
-
"default": "nearest",
|
|
2979
|
+
"budget": {
|
|
2980
|
+
"description": "Spend budget in USD",
|
|
2981
|
+
"name": "budget",
|
|
2944
2982
|
"hasDynamicHelp": false,
|
|
2945
2983
|
"multiple": false,
|
|
2946
|
-
"
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2984
|
+
"type": "option"
|
|
2985
|
+
},
|
|
2986
|
+
"face": {
|
|
2987
|
+
"description": "Allowed face alias (repeatable)",
|
|
2988
|
+
"name": "face",
|
|
2989
|
+
"hasDynamicHelp": false,
|
|
2990
|
+
"multiple": true,
|
|
2991
|
+
"type": "option"
|
|
2992
|
+
},
|
|
2993
|
+
"model": {
|
|
2994
|
+
"description": "Allowed model name (repeatable)",
|
|
2995
|
+
"name": "model",
|
|
2996
|
+
"hasDynamicHelp": false,
|
|
2997
|
+
"multiple": true,
|
|
2950
2998
|
"type": "option"
|
|
2951
2999
|
}
|
|
2952
3000
|
},
|
|
2953
3001
|
"hasDynamicHelp": false,
|
|
2954
3002
|
"hiddenAliases": [],
|
|
2955
|
-
"id": "
|
|
3003
|
+
"id": "keys:create",
|
|
2956
3004
|
"pluginAlias": "faces-cli",
|
|
2957
3005
|
"pluginName": "faces-cli",
|
|
2958
3006
|
"pluginType": "core",
|
|
@@ -2962,14 +3010,14 @@
|
|
|
2962
3010
|
"relativePath": [
|
|
2963
3011
|
"dist",
|
|
2964
3012
|
"commands",
|
|
2965
|
-
"
|
|
2966
|
-
"
|
|
3013
|
+
"keys",
|
|
3014
|
+
"create.js"
|
|
2967
3015
|
]
|
|
2968
3016
|
},
|
|
2969
|
-
"
|
|
3017
|
+
"keys:list": {
|
|
2970
3018
|
"aliases": [],
|
|
2971
3019
|
"args": {},
|
|
2972
|
-
"description": "
|
|
3020
|
+
"description": "List all API keys (JWT required)",
|
|
2973
3021
|
"flags": {
|
|
2974
3022
|
"json": {
|
|
2975
3023
|
"description": "Format output as json.",
|
|
@@ -3005,7 +3053,7 @@
|
|
|
3005
3053
|
},
|
|
3006
3054
|
"hasDynamicHelp": false,
|
|
3007
3055
|
"hiddenAliases": [],
|
|
3008
|
-
"id": "
|
|
3056
|
+
"id": "keys:list",
|
|
3009
3057
|
"pluginAlias": "faces-cli",
|
|
3010
3058
|
"pluginName": "faces-cli",
|
|
3011
3059
|
"pluginType": "core",
|
|
@@ -3015,20 +3063,20 @@
|
|
|
3015
3063
|
"relativePath": [
|
|
3016
3064
|
"dist",
|
|
3017
3065
|
"commands",
|
|
3018
|
-
"
|
|
3019
|
-
"
|
|
3066
|
+
"keys",
|
|
3067
|
+
"list.js"
|
|
3020
3068
|
]
|
|
3021
3069
|
},
|
|
3022
|
-
"
|
|
3070
|
+
"keys:revoke": {
|
|
3023
3071
|
"aliases": [],
|
|
3024
3072
|
"args": {
|
|
3025
|
-
"
|
|
3026
|
-
"description": "
|
|
3027
|
-
"name": "
|
|
3073
|
+
"key_id": {
|
|
3074
|
+
"description": "Key ID",
|
|
3075
|
+
"name": "key_id",
|
|
3028
3076
|
"required": true
|
|
3029
3077
|
}
|
|
3030
3078
|
},
|
|
3031
|
-
"description": "
|
|
3079
|
+
"description": "Revoke an API key (JWT required)",
|
|
3032
3080
|
"flags": {
|
|
3033
3081
|
"json": {
|
|
3034
3082
|
"description": "Format output as json.",
|
|
@@ -3061,52 +3109,16 @@
|
|
|
3061
3109
|
"multiple": false,
|
|
3062
3110
|
"type": "option"
|
|
3063
3111
|
},
|
|
3064
|
-
"
|
|
3065
|
-
"description": "
|
|
3066
|
-
"name": "
|
|
3067
|
-
"
|
|
3068
|
-
"
|
|
3069
|
-
"type": "option"
|
|
3070
|
-
},
|
|
3071
|
-
"description": {
|
|
3072
|
-
"description": "Description for local catalog",
|
|
3073
|
-
"name": "description",
|
|
3074
|
-
"hasDynamicHelp": false,
|
|
3075
|
-
"multiple": false,
|
|
3076
|
-
"type": "option"
|
|
3077
|
-
},
|
|
3078
|
-
"default-model": {
|
|
3079
|
-
"description": "Default LLM for chat (e.g. gpt-4o-mini, claude-sonnet-4-6)",
|
|
3080
|
-
"name": "default-model",
|
|
3081
|
-
"hasDynamicHelp": false,
|
|
3082
|
-
"multiple": false,
|
|
3083
|
-
"type": "option"
|
|
3084
|
-
},
|
|
3085
|
-
"formula": {
|
|
3086
|
-
"description": "New boolean formula (synthetic faces only)",
|
|
3087
|
-
"name": "formula",
|
|
3088
|
-
"hasDynamicHelp": false,
|
|
3089
|
-
"multiple": false,
|
|
3090
|
-
"type": "option"
|
|
3091
|
-
},
|
|
3092
|
-
"attr": {
|
|
3093
|
-
"description": "Update attribute KEY=VALUE (repeatable)",
|
|
3094
|
-
"name": "attr",
|
|
3095
|
-
"hasDynamicHelp": false,
|
|
3096
|
-
"multiple": true,
|
|
3097
|
-
"type": "option"
|
|
3098
|
-
},
|
|
3099
|
-
"tool": {
|
|
3100
|
-
"description": "Tool names to set (replaces list, repeatable)",
|
|
3101
|
-
"name": "tool",
|
|
3102
|
-
"hasDynamicHelp": false,
|
|
3103
|
-
"multiple": true,
|
|
3104
|
-
"type": "option"
|
|
3112
|
+
"yes": {
|
|
3113
|
+
"description": "Skip confirmation",
|
|
3114
|
+
"name": "yes",
|
|
3115
|
+
"allowNo": false,
|
|
3116
|
+
"type": "boolean"
|
|
3105
3117
|
}
|
|
3106
3118
|
},
|
|
3107
3119
|
"hasDynamicHelp": false,
|
|
3108
3120
|
"hiddenAliases": [],
|
|
3109
|
-
"id": "
|
|
3121
|
+
"id": "keys:revoke",
|
|
3110
3122
|
"pluginAlias": "faces-cli",
|
|
3111
3123
|
"pluginName": "faces-cli",
|
|
3112
3124
|
"pluginType": "core",
|
|
@@ -3116,20 +3128,20 @@
|
|
|
3116
3128
|
"relativePath": [
|
|
3117
3129
|
"dist",
|
|
3118
3130
|
"commands",
|
|
3119
|
-
"
|
|
3120
|
-
"
|
|
3131
|
+
"keys",
|
|
3132
|
+
"revoke.js"
|
|
3121
3133
|
]
|
|
3122
3134
|
},
|
|
3123
|
-
"
|
|
3135
|
+
"keys:update": {
|
|
3124
3136
|
"aliases": [],
|
|
3125
3137
|
"args": {
|
|
3126
|
-
"
|
|
3127
|
-
"description": "
|
|
3128
|
-
"name": "
|
|
3138
|
+
"key_id": {
|
|
3139
|
+
"description": "Key ID",
|
|
3140
|
+
"name": "key_id",
|
|
3129
3141
|
"required": true
|
|
3130
3142
|
}
|
|
3131
3143
|
},
|
|
3132
|
-
"description": "
|
|
3144
|
+
"description": "Update API key metadata (JWT required)",
|
|
3133
3145
|
"flags": {
|
|
3134
3146
|
"json": {
|
|
3135
3147
|
"description": "Format output as json.",
|
|
@@ -3162,49 +3174,30 @@
|
|
|
3162
3174
|
"multiple": false,
|
|
3163
3175
|
"type": "option"
|
|
3164
3176
|
},
|
|
3165
|
-
"
|
|
3166
|
-
"description": "
|
|
3167
|
-
"name": "
|
|
3168
|
-
"required": true,
|
|
3169
|
-
"hasDynamicHelp": false,
|
|
3170
|
-
"multiple": false,
|
|
3171
|
-
"type": "option"
|
|
3172
|
-
},
|
|
3173
|
-
"kind": {
|
|
3174
|
-
"description": "Upload kind: document or thread",
|
|
3175
|
-
"name": "kind",
|
|
3176
|
-
"default": "document",
|
|
3177
|
+
"name": {
|
|
3178
|
+
"description": "New key name",
|
|
3179
|
+
"name": "name",
|
|
3177
3180
|
"hasDynamicHelp": false,
|
|
3178
3181
|
"multiple": false,
|
|
3179
|
-
"options": [
|
|
3180
|
-
"document",
|
|
3181
|
-
"thread"
|
|
3182
|
-
],
|
|
3183
3182
|
"type": "option"
|
|
3184
3183
|
},
|
|
3185
|
-
"
|
|
3186
|
-
"description": "
|
|
3187
|
-
"name": "
|
|
3188
|
-
"default": "third-person",
|
|
3184
|
+
"budget": {
|
|
3185
|
+
"description": "New spend budget in USD",
|
|
3186
|
+
"name": "budget",
|
|
3189
3187
|
"hasDynamicHelp": false,
|
|
3190
3188
|
"multiple": false,
|
|
3191
|
-
"options": [
|
|
3192
|
-
"first-person",
|
|
3193
|
-
"third-person"
|
|
3194
|
-
],
|
|
3195
3189
|
"type": "option"
|
|
3196
3190
|
},
|
|
3197
|
-
"
|
|
3198
|
-
"description": "
|
|
3199
|
-
"name": "
|
|
3200
|
-
"
|
|
3201
|
-
"
|
|
3202
|
-
"type": "option"
|
|
3191
|
+
"reset-spent": {
|
|
3192
|
+
"description": "Reset spent amount to zero",
|
|
3193
|
+
"name": "reset-spent",
|
|
3194
|
+
"allowNo": false,
|
|
3195
|
+
"type": "boolean"
|
|
3203
3196
|
}
|
|
3204
3197
|
},
|
|
3205
3198
|
"hasDynamicHelp": false,
|
|
3206
3199
|
"hiddenAliases": [],
|
|
3207
|
-
"id": "
|
|
3200
|
+
"id": "keys:update",
|
|
3208
3201
|
"pluginAlias": "faces-cli",
|
|
3209
3202
|
"pluginName": "faces-cli",
|
|
3210
3203
|
"pluginType": "core",
|
|
@@ -3214,8 +3207,8 @@
|
|
|
3214
3207
|
"relativePath": [
|
|
3215
3208
|
"dist",
|
|
3216
3209
|
"commands",
|
|
3217
|
-
"
|
|
3218
|
-
"
|
|
3210
|
+
"keys",
|
|
3211
|
+
"update.js"
|
|
3219
3212
|
]
|
|
3220
3213
|
},
|
|
3221
3214
|
"compile:doc:create": {
|
|
@@ -4559,5 +4552,5 @@
|
|
|
4559
4552
|
]
|
|
4560
4553
|
}
|
|
4561
4554
|
},
|
|
4562
|
-
"version": "1.6.
|
|
4555
|
+
"version": "1.6.1"
|
|
4563
4556
|
}
|