@faces-sh/cli 1.0.2 → 1.0.3

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.
@@ -504,154 +504,6 @@
504
504
  "decide.js"
505
505
  ]
506
506
  },
507
- "account:preferences": {
508
- "aliases": [],
509
- "args": {
510
- "key": {
511
- "description": "Preference key to update (api_fallback, default_model, auto_style, auto_style_thresholds)",
512
- "name": "key"
513
- },
514
- "value": {
515
- "description": "New value. auto_style takes on, off or default (the plan's own: on for Connect and Pro, off for Free). auto_style_thresholds takes medium=words pairs separated by commas, where words is at least 500 and default puts that medium back, e.g. \"email=25000,essay=default\".",
516
- "name": "value"
517
- }
518
- },
519
- "description": "View or update account preferences: api_fallback, default_model, auto_style and auto_style_thresholds. auto_style builds each face's style on its own once it has enough of its own writing in a medium. It is on by default on Connect and Pro, and off on Free. A build runs at no charge on Connect or Pro with ChatGPT linked, and is otherwise charged to credits, so turning it on without a linked ChatGPT account needs --allow-paid. A build that credit cannot cover does not start, and is tried again later.",
520
- "examples": [
521
- "faces account:preferences",
522
- "faces account:preferences default_model gpt-5.4",
523
- "faces account:preferences api_fallback true",
524
- "faces account:preferences auto_style off",
525
- "faces account:preferences auto_style default",
526
- "faces account:preferences auto_style on --allow-paid",
527
- "faces account:preferences auto_style_thresholds \"email=25000,text message=default\""
528
- ],
529
- "flags": {
530
- "json": {
531
- "description": "Format output as json.",
532
- "helpGroup": "GLOBAL",
533
- "name": "json",
534
- "allowNo": false,
535
- "type": "boolean"
536
- },
537
- "base-url": {
538
- "description": "API base URL",
539
- "env": "FACES_BASE_URL",
540
- "name": "base-url",
541
- "hasDynamicHelp": false,
542
- "multiple": false,
543
- "type": "option"
544
- },
545
- "token": {
546
- "description": "JWT bearer token",
547
- "env": "FACES_TOKEN",
548
- "name": "token",
549
- "hasDynamicHelp": false,
550
- "multiple": false,
551
- "type": "option"
552
- },
553
- "api-key": {
554
- "description": "API key",
555
- "env": "FACES_API_KEY",
556
- "name": "api-key",
557
- "hasDynamicHelp": false,
558
- "multiple": false,
559
- "type": "option"
560
- },
561
- "toon": {
562
- "description": "Format output as TOON instead of JSON: the same data and field names in a more compact encoding, for agents that pay for their input. Measured across this CLI it is about 40% fewer tokens than --json.",
563
- "exclusive": [
564
- "json"
565
- ],
566
- "name": "toon",
567
- "allowNo": false,
568
- "type": "boolean"
569
- },
570
- "allow-paid": {
571
- "description": "Permit turning auto_style on where automatic builds are charged to credits: on Free, and on Connect or Pro without ChatGPT linked. Not needed on Connect or Pro with ChatGPT linked, where they run at no charge.",
572
- "name": "allow-paid",
573
- "allowNo": false,
574
- "type": "boolean"
575
- }
576
- },
577
- "hasDynamicHelp": false,
578
- "hiddenAliases": [],
579
- "id": "account:preferences",
580
- "pluginAlias": "@faces-sh/cli",
581
- "pluginName": "@faces-sh/cli",
582
- "pluginType": "core",
583
- "strict": true,
584
- "enableJsonFlag": true,
585
- "isESM": true,
586
- "relativePath": [
587
- "dist",
588
- "commands",
589
- "account",
590
- "preferences.js"
591
- ]
592
- },
593
- "account:state": {
594
- "aliases": [],
595
- "args": {},
596
- "description": "Your plan, balance and onboarding.",
597
- "flags": {
598
- "json": {
599
- "description": "Format output as json.",
600
- "helpGroup": "GLOBAL",
601
- "name": "json",
602
- "allowNo": false,
603
- "type": "boolean"
604
- },
605
- "base-url": {
606
- "description": "API base URL",
607
- "env": "FACES_BASE_URL",
608
- "name": "base-url",
609
- "hasDynamicHelp": false,
610
- "multiple": false,
611
- "type": "option"
612
- },
613
- "token": {
614
- "description": "JWT bearer token",
615
- "env": "FACES_TOKEN",
616
- "name": "token",
617
- "hasDynamicHelp": false,
618
- "multiple": false,
619
- "type": "option"
620
- },
621
- "api-key": {
622
- "description": "API key",
623
- "env": "FACES_API_KEY",
624
- "name": "api-key",
625
- "hasDynamicHelp": false,
626
- "multiple": false,
627
- "type": "option"
628
- },
629
- "toon": {
630
- "description": "Format output as TOON instead of JSON: the same data and field names in a more compact encoding, for agents that pay for their input. Measured across this CLI it is about 40% fewer tokens than --json.",
631
- "exclusive": [
632
- "json"
633
- ],
634
- "name": "toon",
635
- "allowNo": false,
636
- "type": "boolean"
637
- }
638
- },
639
- "hasDynamicHelp": false,
640
- "hiddenAliases": [],
641
- "id": "account:state",
642
- "pluginAlias": "@faces-sh/cli",
643
- "pluginName": "@faces-sh/cli",
644
- "pluginType": "core",
645
- "strict": true,
646
- "enableJsonFlag": true,
647
- "isESM": true,
648
- "relativePath": [
649
- "dist",
650
- "commands",
651
- "account",
652
- "state.js"
653
- ]
654
- },
655
507
  "auth:connect": {
656
508
  "aliases": [],
657
509
  "args": {
@@ -1502,10 +1354,28 @@
1502
1354
  "start.js"
1503
1355
  ]
1504
1356
  },
1505
- "billing:balance": {
1357
+ "account:preferences": {
1506
1358
  "aliases": [],
1507
- "args": {},
1508
- "description": "Show credit balance and payment method status",
1359
+ "args": {
1360
+ "key": {
1361
+ "description": "Preference key to update (api_fallback, default_model, auto_style, auto_style_thresholds)",
1362
+ "name": "key"
1363
+ },
1364
+ "value": {
1365
+ "description": "New value. auto_style takes on, off or default (the plan's own: on for Connect and Pro, off for Free). auto_style_thresholds takes medium=words pairs separated by commas, where words is at least 500 and default puts that medium back, e.g. \"email=25000,essay=default\".",
1366
+ "name": "value"
1367
+ }
1368
+ },
1369
+ "description": "View or update account preferences: api_fallback, default_model, auto_style and auto_style_thresholds. auto_style builds each face's style on its own once it has enough of its own writing in a medium. It is on by default on Connect and Pro, and off on Free. A build runs at no charge on Connect or Pro with ChatGPT linked, and is otherwise charged to credits, so turning it on without a linked ChatGPT account needs --allow-paid. A build that credit cannot cover does not start, and is tried again later.",
1370
+ "examples": [
1371
+ "faces account:preferences",
1372
+ "faces account:preferences default_model gpt-5.4",
1373
+ "faces account:preferences api_fallback true",
1374
+ "faces account:preferences auto_style off",
1375
+ "faces account:preferences auto_style default",
1376
+ "faces account:preferences auto_style on --allow-paid",
1377
+ "faces account:preferences auto_style_thresholds \"email=25000,text message=default\""
1378
+ ],
1509
1379
  "flags": {
1510
1380
  "json": {
1511
1381
  "description": "Format output as json.",
@@ -1546,11 +1416,17 @@
1546
1416
  "name": "toon",
1547
1417
  "allowNo": false,
1548
1418
  "type": "boolean"
1419
+ },
1420
+ "allow-paid": {
1421
+ "description": "Permit turning auto_style on where automatic builds are charged to credits: on Free, and on Connect or Pro without ChatGPT linked. Not needed on Connect or Pro with ChatGPT linked, where they run at no charge.",
1422
+ "name": "allow-paid",
1423
+ "allowNo": false,
1424
+ "type": "boolean"
1549
1425
  }
1550
1426
  },
1551
1427
  "hasDynamicHelp": false,
1552
1428
  "hiddenAliases": [],
1553
- "id": "billing:balance",
1429
+ "id": "account:preferences",
1554
1430
  "pluginAlias": "@faces-sh/cli",
1555
1431
  "pluginName": "@faces-sh/cli",
1556
1432
  "pluginType": "core",
@@ -1560,16 +1436,14 @@
1560
1436
  "relativePath": [
1561
1437
  "dist",
1562
1438
  "commands",
1563
- "billing",
1564
- "balance.js"
1439
+ "account",
1440
+ "preferences.js"
1565
1441
  ]
1566
1442
  },
1567
- "billing:card-setup": {
1568
- "aliases": [
1569
- "billing:card:add"
1570
- ],
1443
+ "account:state": {
1444
+ "aliases": [],
1571
1445
  "args": {},
1572
- "description": "Add a card: prints a secure link to save one. Nothing is charged. The new card becomes the default unless --no-default (the first card always does), and it is listed a few seconds after you finish.",
1446
+ "description": "Your plan, balance and onboarding.",
1573
1447
  "flags": {
1574
1448
  "json": {
1575
1449
  "description": "Format output as json.",
@@ -1610,17 +1484,11 @@
1610
1484
  "name": "toon",
1611
1485
  "allowNo": false,
1612
1486
  "type": "boolean"
1613
- },
1614
- "default": {
1615
- "description": "Make the new card the default, which renewals and top-ups charge",
1616
- "name": "default",
1617
- "allowNo": true,
1618
- "type": "boolean"
1619
1487
  }
1620
1488
  },
1621
1489
  "hasDynamicHelp": false,
1622
1490
  "hiddenAliases": [],
1623
- "id": "billing:card-setup",
1491
+ "id": "account:state",
1624
1492
  "pluginAlias": "@faces-sh/cli",
1625
1493
  "pluginName": "@faces-sh/cli",
1626
1494
  "pluginType": "core",
@@ -1630,14 +1498,14 @@
1630
1498
  "relativePath": [
1631
1499
  "dist",
1632
1500
  "commands",
1633
- "billing",
1634
- "card-setup.js"
1501
+ "account",
1502
+ "state.js"
1635
1503
  ]
1636
1504
  },
1637
- "billing:cards": {
1505
+ "billing:balance": {
1638
1506
  "aliases": [],
1639
1507
  "args": {},
1640
- "description": "List your saved cards, newest first. The default card is the one the subscription renews on and a top-up charges unless it names another (--card).",
1508
+ "description": "Show credit balance and payment method status",
1641
1509
  "flags": {
1642
1510
  "json": {
1643
1511
  "description": "Format output as json.",
@@ -1682,7 +1550,7 @@
1682
1550
  },
1683
1551
  "hasDynamicHelp": false,
1684
1552
  "hiddenAliases": [],
1685
- "id": "billing:cards",
1553
+ "id": "billing:balance",
1686
1554
  "pluginAlias": "@faces-sh/cli",
1687
1555
  "pluginName": "@faces-sh/cli",
1688
1556
  "pluginType": "core",
@@ -1693,13 +1561,15 @@
1693
1561
  "dist",
1694
1562
  "commands",
1695
1563
  "billing",
1696
- "cards.js"
1564
+ "balance.js"
1697
1565
  ]
1698
1566
  },
1699
- "billing:llm-costs": {
1700
- "aliases": [],
1567
+ "billing:card-setup": {
1568
+ "aliases": [
1569
+ "billing:card:add"
1570
+ ],
1701
1571
  "args": {},
1702
- "description": "List available LLMs, their per-token costs and what you have spent on each. Models are listed once, under the id their lab gives them. Compile and cause prices, and what each plan includes, are listed after the table. For the full catalog, with endpoints and which models are Codex-eligible, see faces models:list.",
1572
+ "description": "Add a card: prints a secure link to save one. Nothing is charged. The new card becomes the default unless --no-default (the first card always does), and it is listed a few seconds after you finish.",
1703
1573
  "flags": {
1704
1574
  "json": {
1705
1575
  "description": "Format output as json.",
@@ -1741,20 +1611,16 @@
1741
1611
  "allowNo": false,
1742
1612
  "type": "boolean"
1743
1613
  },
1744
- "lab": {
1745
- "aliases": [
1746
- "provider"
1747
- ],
1748
- "description": "Filter by the lab that made the model (e.g. openai, anthropic, qwen)",
1749
- "name": "lab",
1750
- "hasDynamicHelp": false,
1751
- "multiple": false,
1752
- "type": "option"
1614
+ "default": {
1615
+ "description": "Make the new card the default, which renewals and top-ups charge",
1616
+ "name": "default",
1617
+ "allowNo": true,
1618
+ "type": "boolean"
1753
1619
  }
1754
1620
  },
1755
1621
  "hasDynamicHelp": false,
1756
1622
  "hiddenAliases": [],
1757
- "id": "billing:llm-costs",
1623
+ "id": "billing:card-setup",
1758
1624
  "pluginAlias": "@faces-sh/cli",
1759
1625
  "pluginName": "@faces-sh/cli",
1760
1626
  "pluginType": "core",
@@ -1765,13 +1631,13 @@
1765
1631
  "dist",
1766
1632
  "commands",
1767
1633
  "billing",
1768
- "llm-costs.js"
1634
+ "card-setup.js"
1769
1635
  ]
1770
1636
  },
1771
- "billing:topup": {
1637
+ "billing:cards": {
1772
1638
  "aliases": [],
1773
1639
  "args": {},
1774
- "description": "Top up your credit balance. Charges your default card, or the one --card names.",
1640
+ "description": "List your saved cards, newest first. The default card is the one the subscription renews on and a top-up charges unless it names another (--card).",
1775
1641
  "flags": {
1776
1642
  "json": {
1777
1643
  "description": "Format output as json.",
@@ -1812,20 +1678,154 @@
1812
1678
  "name": "toon",
1813
1679
  "allowNo": false,
1814
1680
  "type": "boolean"
1815
- },
1816
- "amount": {
1817
- "description": "Top-up amount in USD (min $1)",
1818
- "name": "amount",
1819
- "required": true,
1820
- "hasDynamicHelp": false,
1821
- "multiple": false,
1822
- "type": "option"
1823
- },
1824
- "card": {
1825
- "description": "Charge this saved card (pm_..., from faces billing:cards) instead of the default",
1826
- "name": "card",
1827
- "hasDynamicHelp": false,
1828
- "multiple": false,
1681
+ }
1682
+ },
1683
+ "hasDynamicHelp": false,
1684
+ "hiddenAliases": [],
1685
+ "id": "billing:cards",
1686
+ "pluginAlias": "@faces-sh/cli",
1687
+ "pluginName": "@faces-sh/cli",
1688
+ "pluginType": "core",
1689
+ "strict": true,
1690
+ "enableJsonFlag": true,
1691
+ "isESM": true,
1692
+ "relativePath": [
1693
+ "dist",
1694
+ "commands",
1695
+ "billing",
1696
+ "cards.js"
1697
+ ]
1698
+ },
1699
+ "billing:llm-costs": {
1700
+ "aliases": [],
1701
+ "args": {},
1702
+ "description": "List available LLMs, their per-token costs and what you have spent on each. Models are listed once, under the id their lab gives them. Compile and cause prices, and what each plan includes, are listed after the table. For the full catalog, with endpoints and which models are Codex-eligible, see faces models:list.",
1703
+ "flags": {
1704
+ "json": {
1705
+ "description": "Format output as json.",
1706
+ "helpGroup": "GLOBAL",
1707
+ "name": "json",
1708
+ "allowNo": false,
1709
+ "type": "boolean"
1710
+ },
1711
+ "base-url": {
1712
+ "description": "API base URL",
1713
+ "env": "FACES_BASE_URL",
1714
+ "name": "base-url",
1715
+ "hasDynamicHelp": false,
1716
+ "multiple": false,
1717
+ "type": "option"
1718
+ },
1719
+ "token": {
1720
+ "description": "JWT bearer token",
1721
+ "env": "FACES_TOKEN",
1722
+ "name": "token",
1723
+ "hasDynamicHelp": false,
1724
+ "multiple": false,
1725
+ "type": "option"
1726
+ },
1727
+ "api-key": {
1728
+ "description": "API key",
1729
+ "env": "FACES_API_KEY",
1730
+ "name": "api-key",
1731
+ "hasDynamicHelp": false,
1732
+ "multiple": false,
1733
+ "type": "option"
1734
+ },
1735
+ "toon": {
1736
+ "description": "Format output as TOON instead of JSON: the same data and field names in a more compact encoding, for agents that pay for their input. Measured across this CLI it is about 40% fewer tokens than --json.",
1737
+ "exclusive": [
1738
+ "json"
1739
+ ],
1740
+ "name": "toon",
1741
+ "allowNo": false,
1742
+ "type": "boolean"
1743
+ },
1744
+ "lab": {
1745
+ "aliases": [
1746
+ "provider"
1747
+ ],
1748
+ "description": "Filter by the lab that made the model (e.g. openai, anthropic, qwen)",
1749
+ "name": "lab",
1750
+ "hasDynamicHelp": false,
1751
+ "multiple": false,
1752
+ "type": "option"
1753
+ }
1754
+ },
1755
+ "hasDynamicHelp": false,
1756
+ "hiddenAliases": [],
1757
+ "id": "billing:llm-costs",
1758
+ "pluginAlias": "@faces-sh/cli",
1759
+ "pluginName": "@faces-sh/cli",
1760
+ "pluginType": "core",
1761
+ "strict": true,
1762
+ "enableJsonFlag": true,
1763
+ "isESM": true,
1764
+ "relativePath": [
1765
+ "dist",
1766
+ "commands",
1767
+ "billing",
1768
+ "llm-costs.js"
1769
+ ]
1770
+ },
1771
+ "billing:topup": {
1772
+ "aliases": [],
1773
+ "args": {},
1774
+ "description": "Top up your credit balance. Charges your default card, or the one --card names.",
1775
+ "flags": {
1776
+ "json": {
1777
+ "description": "Format output as json.",
1778
+ "helpGroup": "GLOBAL",
1779
+ "name": "json",
1780
+ "allowNo": false,
1781
+ "type": "boolean"
1782
+ },
1783
+ "base-url": {
1784
+ "description": "API base URL",
1785
+ "env": "FACES_BASE_URL",
1786
+ "name": "base-url",
1787
+ "hasDynamicHelp": false,
1788
+ "multiple": false,
1789
+ "type": "option"
1790
+ },
1791
+ "token": {
1792
+ "description": "JWT bearer token",
1793
+ "env": "FACES_TOKEN",
1794
+ "name": "token",
1795
+ "hasDynamicHelp": false,
1796
+ "multiple": false,
1797
+ "type": "option"
1798
+ },
1799
+ "api-key": {
1800
+ "description": "API key",
1801
+ "env": "FACES_API_KEY",
1802
+ "name": "api-key",
1803
+ "hasDynamicHelp": false,
1804
+ "multiple": false,
1805
+ "type": "option"
1806
+ },
1807
+ "toon": {
1808
+ "description": "Format output as TOON instead of JSON: the same data and field names in a more compact encoding, for agents that pay for their input. Measured across this CLI it is about 40% fewer tokens than --json.",
1809
+ "exclusive": [
1810
+ "json"
1811
+ ],
1812
+ "name": "toon",
1813
+ "allowNo": false,
1814
+ "type": "boolean"
1815
+ },
1816
+ "amount": {
1817
+ "description": "Top-up amount in USD (min $1)",
1818
+ "name": "amount",
1819
+ "required": true,
1820
+ "hasDynamicHelp": false,
1821
+ "multiple": false,
1822
+ "type": "option"
1823
+ },
1824
+ "card": {
1825
+ "description": "Charge this saved card (pm_..., from faces billing:cards) instead of the default",
1826
+ "name": "card",
1827
+ "hasDynamicHelp": false,
1828
+ "multiple": false,
1829
1829
  "type": "option"
1830
1830
  },
1831
1831
  "yes": {
@@ -4244,10 +4244,19 @@
4244
4244
  "items.js"
4245
4245
  ]
4246
4246
  },
4247
- "face:attributes": {
4247
+ "fidelity:get": {
4248
4248
  "aliases": [],
4249
- "args": {},
4250
- "description": "List the attribute keys a face can have (its basic_facts): fields that take a bare value, and keys that each take a short sentence. Any other key is refused.",
4249
+ "args": {
4250
+ "run_id": {
4251
+ "description": "Fidelity run id",
4252
+ "name": "run_id",
4253
+ "required": true
4254
+ }
4255
+ },
4256
+ "description": "Read a fidelity run: its progress, its turns and, once finished, its score. Which answer was the face's is shown only after the run is finished. --json has every message and answer.",
4257
+ "examples": [
4258
+ "<%= config.bin %> <%= command.id %> <run>"
4259
+ ],
4251
4260
  "flags": {
4252
4261
  "json": {
4253
4262
  "description": "Format output as json.",
@@ -4292,7 +4301,7 @@
4292
4301
  },
4293
4302
  "hasDynamicHelp": false,
4294
4303
  "hiddenAliases": [],
4295
- "id": "face:attributes",
4304
+ "id": "fidelity:get",
4296
4305
  "pluginAlias": "@faces-sh/cli",
4297
4306
  "pluginName": "@faces-sh/cli",
4298
4307
  "pluginType": "core",
@@ -4302,14 +4311,33 @@
4302
4311
  "relativePath": [
4303
4312
  "dist",
4304
4313
  "commands",
4305
- "face",
4306
- "attributes.js"
4314
+ "fidelity",
4315
+ "get.js"
4307
4316
  ]
4308
4317
  },
4309
- "face:create": {
4318
+ "fidelity:pick": {
4310
4319
  "aliases": [],
4311
- "args": {},
4312
- "description": "Create a new face",
4320
+ "args": {
4321
+ "run_id": {
4322
+ "description": "Fidelity run id",
4323
+ "name": "run_id",
4324
+ "required": true
4325
+ },
4326
+ "pick": {
4327
+ "description": "a or b",
4328
+ "name": "pick",
4329
+ "options": [
4330
+ "a",
4331
+ "b"
4332
+ ],
4333
+ "required": true
4334
+ }
4335
+ },
4336
+ "description": "Pick the answer, a or b, that sounds more like the person on the open turn of a fidelity run. Without --correction the pick is accepted as it is; with one, it says what the person would actually have said, and how much it changes the face's answer lowers that turn's score. The pick must be the person's own, not an agent's. After the tenth, the run's score is saved on the face.",
4337
+ "examples": [
4338
+ "<%= config.bin %> <%= command.id %> <run> a",
4339
+ "<%= config.bin %> <%= command.id %> <run> b --correction \"Fine, thanks. Long drive.\""
4340
+ ],
4313
4341
  "flags": {
4314
4342
  "json": {
4315
4343
  "description": "Format output as json.",
@@ -4351,84 +4379,123 @@
4351
4379
  "allowNo": false,
4352
4380
  "type": "boolean"
4353
4381
  },
4354
- "name": {
4355
- "description": "Display name",
4356
- "name": "name",
4357
- "required": true,
4382
+ "correction": {
4383
+ "description": "What the person would actually have said, if the pick is not quite right",
4384
+ "exclusive": [
4385
+ "correction-file"
4386
+ ],
4387
+ "name": "correction",
4358
4388
  "hasDynamicHelp": false,
4359
4389
  "multiple": false,
4360
4390
  "type": "option"
4361
4391
  },
4362
- "alias": {
4363
- "description": "Unique alias slug",
4364
- "name": "alias",
4365
- "required": true,
4392
+ "correction-file": {
4393
+ "description": "Read the correction from a file",
4394
+ "name": "correction-file",
4366
4395
  "hasDynamicHelp": false,
4367
4396
  "multiple": false,
4368
4397
  "type": "option"
4369
4398
  },
4370
- "description": {
4371
- "description": "Plain-text description / bio (max 1500 chars)",
4372
- "name": "description",
4399
+ "turn": {
4400
+ "description": "The turn to pick for (default: the open one)",
4401
+ "name": "turn",
4373
4402
  "hasDynamicHelp": false,
4374
4403
  "multiple": false,
4375
4404
  "type": "option"
4405
+ }
4406
+ },
4407
+ "hasDynamicHelp": false,
4408
+ "hiddenAliases": [],
4409
+ "id": "fidelity:pick",
4410
+ "pluginAlias": "@faces-sh/cli",
4411
+ "pluginName": "@faces-sh/cli",
4412
+ "pluginType": "core",
4413
+ "strict": true,
4414
+ "enableJsonFlag": true,
4415
+ "isESM": true,
4416
+ "relativePath": [
4417
+ "dist",
4418
+ "commands",
4419
+ "fidelity",
4420
+ "pick.js"
4421
+ ]
4422
+ },
4423
+ "fidelity:run": {
4424
+ "aliases": [],
4425
+ "args": {
4426
+ "alias": {
4427
+ "description": "Alias of a face you own",
4428
+ "name": "alias",
4429
+ "required": true
4430
+ }
4431
+ },
4432
+ "description": "Play a fidelity run in the terminal: ten turns of writing a message, reading answers a and b, and picking the one that sounds more like the person, with an optional correction. Needs a person at the keyboard; without a terminal, use fidelity:start, fidelity:turn and fidelity:pick. Resume a run with --run.",
4433
+ "examples": [
4434
+ "<%= config.bin %> <%= command.id %> alice",
4435
+ "<%= config.bin %> <%= command.id %> alice --run <run>"
4436
+ ],
4437
+ "flags": {
4438
+ "json": {
4439
+ "description": "Format output as json.",
4440
+ "helpGroup": "GLOBAL",
4441
+ "name": "json",
4442
+ "allowNo": false,
4443
+ "type": "boolean"
4376
4444
  },
4377
- "specialty": {
4378
- "description": "A short line saying what this face is for, shown beside its name in listings and on its card (for example \"tax law\", or \"my own voice\")",
4379
- "name": "specialty",
4445
+ "base-url": {
4446
+ "description": "API base URL",
4447
+ "env": "FACES_BASE_URL",
4448
+ "name": "base-url",
4380
4449
  "hasDynamicHelp": false,
4381
4450
  "multiple": false,
4382
4451
  "type": "option"
4383
4452
  },
4384
- "tag": {
4385
- "description": "Tag label (repeatable, lowercase)",
4386
- "name": "tag",
4387
- "hasDynamicHelp": false,
4388
- "multiple": true,
4389
- "type": "option"
4390
- },
4391
- "default-model": {
4392
- "description": "Default LLM for chat (e.g. gpt-4o-mini, claude-sonnet-4-6)",
4393
- "name": "default-model",
4453
+ "token": {
4454
+ "description": "JWT bearer token",
4455
+ "env": "FACES_TOKEN",
4456
+ "name": "token",
4394
4457
  "hasDynamicHelp": false,
4395
4458
  "multiple": false,
4396
4459
  "type": "option"
4397
4460
  },
4398
- "formula": {
4399
- "description": "Boolean formula over owned concrete face aliases (e.g. \"a | b\", \"(a | b) - c\"). Creates a composite face.",
4400
- "name": "formula",
4461
+ "api-key": {
4462
+ "description": "API key",
4463
+ "env": "FACES_API_KEY",
4464
+ "name": "api-key",
4401
4465
  "hasDynamicHelp": false,
4402
4466
  "multiple": false,
4403
4467
  "type": "option"
4404
4468
  },
4405
- "attr": {
4406
- "description": "Set attribute KEY=VALUE (repeatable). age, gender and location take a bare value (\"45\", \"Lisbon, Portugal\"); identity, education, occupation, religion, family, relationships, health, languages and background take a short sentence. Any other key is refused, and then nothing is saved. See faces face:attributes.",
4407
- "name": "attr",
4408
- "hasDynamicHelp": false,
4409
- "multiple": true,
4410
- "type": "option"
4469
+ "toon": {
4470
+ "description": "Format output as TOON instead of JSON: the same data and field names in a more compact encoding, for agents that pay for their input. Measured across this CLI it is about 40% fewer tokens than --json.",
4471
+ "exclusive": [
4472
+ "json"
4473
+ ],
4474
+ "name": "toon",
4475
+ "allowNo": false,
4476
+ "type": "boolean"
4411
4477
  },
4412
- "tool": {
4413
- "description": "Tool name to enable (repeatable). The server stores any name without checking it, so spell it as the tool expects.",
4414
- "name": "tool",
4478
+ "competitor": {
4479
+ "description": "The chat model the face is compared with (default: the cheapest Codex-eligible chat model)",
4480
+ "name": "competitor",
4415
4481
  "hasDynamicHelp": false,
4416
- "multiple": true,
4482
+ "multiple": false,
4417
4483
  "type": "option"
4418
4484
  },
4419
- "profile-addendum": {
4420
- "description": "A saved system prompt fragment, sent to the model on each chat request with this face (max 100,000 chars). Anyone who can chat with the face may be able to get the model to repeat it.",
4421
- "name": "profile-addendum",
4485
+ "model": {
4486
+ "description": "The model the face answers on (default: its own default model)",
4487
+ "name": "model",
4422
4488
  "hasDynamicHelp": false,
4423
4489
  "multiple": false,
4424
4490
  "type": "option"
4425
4491
  },
4426
- "profile-addendum-file": {
4427
- "description": "Read the per-face system prompt from a file (alternative to --profile-addendum). Anyone who can chat with the face may be able to get the model to repeat it.",
4492
+ "run": {
4493
+ "description": "Resume this run instead of starting one",
4428
4494
  "exclusive": [
4429
- "profile-addendum"
4495
+ "competitor",
4496
+ "model"
4430
4497
  ],
4431
- "name": "profile-addendum-file",
4498
+ "name": "run",
4432
4499
  "hasDynamicHelp": false,
4433
4500
  "multiple": false,
4434
4501
  "type": "option"
@@ -4436,7 +4503,7 @@
4436
4503
  },
4437
4504
  "hasDynamicHelp": false,
4438
4505
  "hiddenAliases": [],
4439
- "id": "face:create",
4506
+ "id": "fidelity:run",
4440
4507
  "pluginAlias": "@faces-sh/cli",
4441
4508
  "pluginName": "@faces-sh/cli",
4442
4509
  "pluginType": "core",
@@ -4446,20 +4513,23 @@
4446
4513
  "relativePath": [
4447
4514
  "dist",
4448
4515
  "commands",
4449
- "face",
4450
- "create.js"
4516
+ "fidelity",
4517
+ "run.js"
4451
4518
  ]
4452
4519
  },
4453
- "face:delete": {
4520
+ "fidelity:save-thread": {
4454
4521
  "aliases": [],
4455
4522
  "args": {
4456
- "face_id": {
4457
- "description": "Face alias",
4458
- "name": "face_id",
4523
+ "run_id": {
4524
+ "description": "Fidelity run id",
4525
+ "name": "run_id",
4459
4526
  "required": true
4460
4527
  }
4461
4528
  },
4462
- "description": "Delete a face permanently",
4529
+ "description": "Save a finished fidelity run's conversation as a thread on the face, so it can be compiled. Each turn becomes your message and the reply you settled on: your correction where you made one, otherwise the answer you accepted. Saving again returns the same thread.",
4530
+ "examples": [
4531
+ "<%= config.bin %> <%= command.id %> <run>"
4532
+ ],
4463
4533
  "flags": {
4464
4534
  "json": {
4465
4535
  "description": "Format output as json.",
@@ -4500,17 +4570,11 @@
4500
4570
  "name": "toon",
4501
4571
  "allowNo": false,
4502
4572
  "type": "boolean"
4503
- },
4504
- "yes": {
4505
- "description": "Skip confirmation",
4506
- "name": "yes",
4507
- "allowNo": false,
4508
- "type": "boolean"
4509
4573
  }
4510
4574
  },
4511
4575
  "hasDynamicHelp": false,
4512
4576
  "hiddenAliases": [],
4513
- "id": "face:delete",
4577
+ "id": "fidelity:save-thread",
4514
4578
  "pluginAlias": "@faces-sh/cli",
4515
4579
  "pluginName": "@faces-sh/cli",
4516
4580
  "pluginType": "core",
@@ -4520,14 +4584,24 @@
4520
4584
  "relativePath": [
4521
4585
  "dist",
4522
4586
  "commands",
4523
- "face",
4524
- "delete.js"
4587
+ "fidelity",
4588
+ "save-thread.js"
4525
4589
  ]
4526
4590
  },
4527
- "face:diff": {
4591
+ "fidelity:start": {
4528
4592
  "aliases": [],
4529
- "args": {},
4530
- "description": "Compare owned faces pairwise: one overall similarity score for each pair. Every face named needs something compiled.",
4593
+ "args": {
4594
+ "alias": {
4595
+ "description": "Alias of a face you own",
4596
+ "name": "alias",
4597
+ "required": true
4598
+ }
4599
+ },
4600
+ "description": "Start a fidelity run on a face you own: ten blind turns, scored out of 10. Each turn you send a message, read two answers labelled a and b (one is the face, one a competitor model given the face's own writing), and pick the one that sounds more like the person, accepting it or correcting it. The picks must be the person's own: an agent shows both answers and passes on the choice it is given, never its own. The score is saved on the face, and a new run replaces it. On Connect or Pro with ChatGPT linked, answers from Codex-eligible models run on the ChatGPT plan; the rest, and grading a correction, is paid from credits. To play it in the terminal, use faces fidelity:run.",
4601
+ "examples": [
4602
+ "<%= config.bin %> <%= command.id %> alice",
4603
+ "<%= config.bin %> <%= command.id %> alice --competitor <model>"
4604
+ ],
4531
4605
  "flags": {
4532
4606
  "json": {
4533
4607
  "description": "Format output as json.",
@@ -4569,18 +4643,24 @@
4569
4643
  "allowNo": false,
4570
4644
  "type": "boolean"
4571
4645
  },
4572
- "face": {
4573
- "description": "Face alias to include (repeatable, min 2)",
4574
- "name": "face",
4575
- "required": true,
4646
+ "competitor": {
4647
+ "description": "The chat model the face is compared with (default: the cheapest Codex-eligible chat model)",
4648
+ "name": "competitor",
4576
4649
  "hasDynamicHelp": false,
4577
- "multiple": true,
4650
+ "multiple": false,
4651
+ "type": "option"
4652
+ },
4653
+ "model": {
4654
+ "description": "The model the face answers on (default: its own default model)",
4655
+ "name": "model",
4656
+ "hasDynamicHelp": false,
4657
+ "multiple": false,
4578
4658
  "type": "option"
4579
4659
  }
4580
4660
  },
4581
4661
  "hasDynamicHelp": false,
4582
4662
  "hiddenAliases": [],
4583
- "id": "face:diff",
4663
+ "id": "fidelity:start",
4584
4664
  "pluginAlias": "@faces-sh/cli",
4585
4665
  "pluginName": "@faces-sh/cli",
4586
4666
  "pluginType": "core",
@@ -4590,20 +4670,23 @@
4590
4670
  "relativePath": [
4591
4671
  "dist",
4592
4672
  "commands",
4593
- "face",
4594
- "diff.js"
4673
+ "fidelity",
4674
+ "start.js"
4595
4675
  ]
4596
4676
  },
4597
- "face:edit": {
4677
+ "fidelity:turn": {
4598
4678
  "aliases": [],
4599
4679
  "args": {
4600
- "face_id": {
4601
- "description": "Face alias",
4602
- "name": "face_id",
4680
+ "run_id": {
4681
+ "description": "Fidelity run id, from faces fidelity:start",
4682
+ "name": "run_id",
4603
4683
  "required": true
4604
4684
  }
4605
4685
  },
4606
- "description": "Edit a face's metadata",
4686
+ "description": "Send the next turn's message on a fidelity run. Prints two answers, a and b, in random order, with nothing saying which is the face. Pick one with faces fidelity:pick before the next turn.",
4687
+ "examples": [
4688
+ "<%= config.bin %> <%= command.id %> <run> -m \"How was the trip?\""
4689
+ ],
4607
4690
  "flags": {
4608
4691
  "json": {
4609
4692
  "description": "Format output as json.",
@@ -4645,93 +4728,28 @@
4645
4728
  "allowNo": false,
4646
4729
  "type": "boolean"
4647
4730
  },
4648
- "name": {
4649
- "description": "New display name",
4650
- "name": "name",
4651
- "hasDynamicHelp": false,
4652
- "multiple": false,
4653
- "type": "option"
4654
- },
4655
- "description": {
4656
- "description": "Plain-text description / bio (max 1500 chars)",
4657
- "name": "description",
4658
- "hasDynamicHelp": false,
4659
- "multiple": false,
4660
- "type": "option"
4661
- },
4662
- "specialty": {
4663
- "description": "Replace the short line saying what this face is for. Pass an empty string to remove it.",
4664
- "name": "specialty",
4665
- "hasDynamicHelp": false,
4666
- "multiple": false,
4667
- "type": "option"
4668
- },
4669
- "tag": {
4670
- "description": "Replace all tags (repeatable, lowercase)",
4671
- "name": "tag",
4672
- "hasDynamicHelp": false,
4673
- "multiple": true,
4674
- "type": "option"
4675
- },
4676
- "default-model": {
4677
- "description": "Default LLM for chat (e.g. gpt-4o-mini, claude-sonnet-4-6)",
4678
- "name": "default-model",
4679
- "hasDynamicHelp": false,
4680
- "multiple": false,
4681
- "type": "option"
4682
- },
4683
- "formula": {
4684
- "description": "New formula, making the face a composite. Pass an empty string to turn a composite back into an ordinary face. Refused on a face with compiled sources of its own, or one used in another composite: make a new composite with faces face:create --formula instead.",
4685
- "name": "formula",
4686
- "hasDynamicHelp": false,
4687
- "multiple": false,
4688
- "type": "option"
4689
- },
4690
- "attr": {
4691
- "description": "Update attribute KEY=VALUE (repeatable). age, gender and location take a bare value (\"45\", \"Lisbon, Portugal\"); identity, education, occupation, religion, family, relationships, health, languages and background take a short sentence. Any other key is refused, and then nothing is saved. See faces face:attributes.",
4692
- "name": "attr",
4693
- "hasDynamicHelp": false,
4694
- "multiple": true,
4695
- "type": "option"
4696
- },
4697
- "tool": {
4698
- "description": "Tool names to set (replaces list, repeatable). The server stores any name without checking it, so spell it as the tool expects.",
4699
- "name": "tool",
4700
- "hasDynamicHelp": false,
4701
- "multiple": true,
4702
- "type": "option"
4703
- },
4704
- "profile-addendum": {
4705
- "description": "Replace the per-face system prompt (max 100,000 chars). Anyone who can chat with the face may be able to get the model to repeat it.",
4706
- "name": "profile-addendum",
4731
+ "message": {
4732
+ "char": "m",
4733
+ "description": "Your message for this turn",
4734
+ "exclusive": [
4735
+ "file"
4736
+ ],
4737
+ "name": "message",
4707
4738
  "hasDynamicHelp": false,
4708
4739
  "multiple": false,
4709
4740
  "type": "option"
4710
4741
  },
4711
- "profile-addendum-file": {
4712
- "description": "Replace the per-face system prompt from a file. Anyone who can chat with the face may be able to get the model to repeat it.",
4713
- "exclusive": [
4714
- "profile-addendum"
4715
- ],
4716
- "name": "profile-addendum-file",
4742
+ "file": {
4743
+ "description": "Read the message from a file",
4744
+ "name": "file",
4717
4745
  "hasDynamicHelp": false,
4718
4746
  "multiple": false,
4719
4747
  "type": "option"
4720
- },
4721
- "clear-profile-addendum": {
4722
- "description": "Remove the per-face system prompt.",
4723
- "exclusive": [
4724
- "profile-addendum",
4725
- "profile-addendum-file"
4726
- ],
4727
- "name": "clear-profile-addendum",
4728
- "allowNo": false,
4729
- "type": "boolean"
4730
4748
  }
4731
4749
  },
4732
4750
  "hasDynamicHelp": false,
4733
4751
  "hiddenAliases": [],
4734
- "id": "face:edit",
4752
+ "id": "fidelity:turn",
4735
4753
  "pluginAlias": "@faces-sh/cli",
4736
4754
  "pluginName": "@faces-sh/cli",
4737
4755
  "pluginType": "core",
@@ -4741,20 +4759,14 @@
4741
4759
  "relativePath": [
4742
4760
  "dist",
4743
4761
  "commands",
4744
- "face",
4745
- "edit.js"
4762
+ "fidelity",
4763
+ "turn.js"
4746
4764
  ]
4747
4765
  },
4748
- "face:get": {
4766
+ "face:attributes": {
4749
4767
  "aliases": [],
4750
- "args": {
4751
- "face_id": {
4752
- "description": "Face alias, or owner:alias for a face published by or shared from another account",
4753
- "name": "face_id",
4754
- "required": true
4755
- }
4756
- },
4757
- "description": "Get details for a face, by alias or owner:alias. A published or shared face is reachable under the same owner:alias address chat uses; it is shown with a note that you do not own it.",
4768
+ "args": {},
4769
+ "description": "List the attribute keys a face can have (its basic_facts): fields that take a bare value, and keys that each take a short sentence. Any other key is refused.",
4758
4770
  "flags": {
4759
4771
  "json": {
4760
4772
  "description": "Format output as json.",
@@ -4795,24 +4807,11 @@
4795
4807
  "name": "toon",
4796
4808
  "allowNo": false,
4797
4809
  "type": "boolean"
4798
- },
4799
- "include": {
4800
- "description": "Extra fields, comma-separated: tags, groups, profile, sharing, avatar, usage. `usage` adds the 30-day counters; `avatar` says whether the picture is current or stale.",
4801
- "name": "include",
4802
- "hasDynamicHelp": false,
4803
- "multiple": false,
4804
- "type": "option"
4805
- },
4806
- "full": {
4807
- "description": "Print the full profile_addendum instead of a truncated preview",
4808
- "name": "full",
4809
- "allowNo": false,
4810
- "type": "boolean"
4811
4810
  }
4812
4811
  },
4813
4812
  "hasDynamicHelp": false,
4814
4813
  "hiddenAliases": [],
4815
- "id": "face:get",
4814
+ "id": "face:attributes",
4816
4815
  "pluginAlias": "@faces-sh/cli",
4817
4816
  "pluginName": "@faces-sh/cli",
4818
4817
  "pluginType": "core",
@@ -4823,19 +4822,13 @@
4823
4822
  "dist",
4824
4823
  "commands",
4825
4824
  "face",
4826
- "get.js"
4825
+ "attributes.js"
4827
4826
  ]
4828
4827
  },
4829
- "face:groups": {
4828
+ "face:create": {
4830
4829
  "aliases": [],
4831
- "args": {
4832
- "alias": {
4833
- "description": "Face alias",
4834
- "name": "alias",
4835
- "required": true
4836
- }
4837
- },
4838
- "description": "Set a face's group memberships (replaces all)",
4830
+ "args": {},
4831
+ "description": "Create a new face",
4839
4832
  "flags": {
4840
4833
  "json": {
4841
4834
  "description": "Format output as json.",
@@ -4877,152 +4870,84 @@
4877
4870
  "allowNo": false,
4878
4871
  "type": "boolean"
4879
4872
  },
4880
- "group": {
4881
- "description": "Group ID (repeatable, replaces all memberships)",
4882
- "name": "group",
4873
+ "name": {
4874
+ "description": "Display name",
4875
+ "name": "name",
4883
4876
  "required": true,
4884
4877
  "hasDynamicHelp": false,
4885
- "multiple": true,
4878
+ "multiple": false,
4886
4879
  "type": "option"
4887
- }
4888
- },
4889
- "hasDynamicHelp": false,
4890
- "hiddenAliases": [],
4891
- "id": "face:groups",
4892
- "pluginAlias": "@faces-sh/cli",
4893
- "pluginName": "@faces-sh/cli",
4894
- "pluginType": "core",
4895
- "strict": true,
4896
- "enableJsonFlag": true,
4897
- "isESM": true,
4898
- "relativePath": [
4899
- "dist",
4900
- "commands",
4901
- "face",
4902
- "groups.js"
4903
- ]
4904
- },
4905
- "face:list": {
4906
- "aliases": [],
4907
- "args": {},
4908
- "description": "List faces. By default lists owned faces, newest first; use --public to include published faces from other accounts, --search to match on text, and --sort/--order to change the ordering.",
4909
- "flags": {
4910
- "json": {
4911
- "description": "Format output as json.",
4912
- "helpGroup": "GLOBAL",
4913
- "name": "json",
4914
- "allowNo": false,
4915
- "type": "boolean"
4916
4880
  },
4917
- "base-url": {
4918
- "description": "API base URL",
4919
- "env": "FACES_BASE_URL",
4920
- "name": "base-url",
4881
+ "alias": {
4882
+ "description": "Unique alias slug",
4883
+ "name": "alias",
4884
+ "required": true,
4921
4885
  "hasDynamicHelp": false,
4922
4886
  "multiple": false,
4923
4887
  "type": "option"
4924
4888
  },
4925
- "token": {
4926
- "description": "JWT bearer token",
4927
- "env": "FACES_TOKEN",
4928
- "name": "token",
4889
+ "description": {
4890
+ "description": "Plain-text description / bio (max 1500 chars)",
4891
+ "name": "description",
4929
4892
  "hasDynamicHelp": false,
4930
4893
  "multiple": false,
4931
4894
  "type": "option"
4932
4895
  },
4933
- "api-key": {
4934
- "description": "API key",
4935
- "env": "FACES_API_KEY",
4936
- "name": "api-key",
4896
+ "specialty": {
4897
+ "description": "A short line saying what this face is for, shown beside its name in listings and on its card (for example \"tax law\", or \"my own voice\")",
4898
+ "name": "specialty",
4937
4899
  "hasDynamicHelp": false,
4938
4900
  "multiple": false,
4939
4901
  "type": "option"
4940
4902
  },
4941
- "toon": {
4942
- "description": "Format output as TOON instead of JSON: the same data and field names in a more compact encoding, for agents that pay for their input. Measured across this CLI it is about 40% fewer tokens than --json.",
4943
- "exclusive": [
4944
- "json"
4945
- ],
4946
- "name": "toon",
4947
- "allowNo": false,
4948
- "type": "boolean"
4949
- },
4950
4903
  "tag": {
4951
- "description": "Filter by tag (repeatable, AND logic)",
4904
+ "description": "Tag label (repeatable, lowercase)",
4952
4905
  "name": "tag",
4953
4906
  "hasDynamicHelp": false,
4954
4907
  "multiple": true,
4955
4908
  "type": "option"
4956
4909
  },
4957
- "group": {
4958
- "description": "Filter by group ID (repeatable, OR logic)",
4959
- "name": "group",
4910
+ "default-model": {
4911
+ "description": "Default LLM for chat (e.g. gpt-4o-mini, claude-sonnet-4-6)",
4912
+ "name": "default-model",
4960
4913
  "hasDynamicHelp": false,
4961
- "multiple": true,
4914
+ "multiple": false,
4962
4915
  "type": "option"
4963
4916
  },
4964
- "include": {
4965
- "description": "Extra fields, comma-separated: tags, groups, profile, sharing, avatar, usage, owner_follow. `avatar` says whether each generated avatar is current or stale; `owner_follow` says whether you follow the account that published a face.",
4966
- "name": "include",
4917
+ "formula": {
4918
+ "description": "Boolean formula over owned concrete face aliases (e.g. \"a | b\", \"(a | b) - c\"). Creates a composite face.",
4919
+ "name": "formula",
4967
4920
  "hasDynamicHelp": false,
4968
4921
  "multiple": false,
4969
4922
  "type": "option"
4970
4923
  },
4971
- "public": {
4972
- "description": "Include published faces from other accounts (open to everybody)",
4973
- "name": "public",
4974
- "allowNo": false,
4975
- "type": "boolean"
4976
- },
4977
- "has-style": {
4978
- "description": "Show only faces with a built style",
4979
- "name": "has-style",
4980
- "allowNo": false,
4981
- "type": "boolean"
4982
- },
4983
- "shared": {
4984
- "description": "Include faces other accounts have shared with YOU in particular",
4985
- "name": "shared",
4986
- "allowNo": false,
4987
- "type": "boolean"
4988
- },
4989
- "system": {
4990
- "description": "Show only the curated system faces (published faces owned by 'head')",
4991
- "name": "system",
4992
- "allowNo": false,
4993
- "type": "boolean"
4994
- },
4995
- "from-users": {
4996
- "description": "Only published faces from these owners (repeatable/comma-separated)",
4997
- "name": "from-users",
4924
+ "attr": {
4925
+ "description": "Set attribute KEY=VALUE (repeatable). age, gender and location take a bare value (\"45\", \"Lisbon, Portugal\"); identity, education, occupation, religion, family, relationships, health, languages and background take a short sentence. Any other key is refused, and then nothing is saved. See faces face:attributes.",
4926
+ "name": "attr",
4998
4927
  "hasDynamicHelp": false,
4999
4928
  "multiple": true,
5000
4929
  "type": "option"
5001
4930
  },
5002
- "not-from-users": {
5003
- "description": "Exclude published faces from these owners (repeatable/comma-separated)",
5004
- "name": "not-from-users",
4931
+ "tool": {
4932
+ "description": "Tool name to enable (repeatable). The server stores any name without checking it, so spell it as the tool expects.",
4933
+ "name": "tool",
5005
4934
  "hasDynamicHelp": false,
5006
4935
  "multiple": true,
5007
4936
  "type": "option"
5008
4937
  },
5009
- "sort": {
5010
- "description": "What to order by: created, alias, relevance or usage. relevance ranks by how well a face matches --search, so it needs one.",
5011
- "name": "sort",
5012
- "hasDynamicHelp": false,
5013
- "multiple": false,
5014
- "type": "option"
5015
- },
5016
- "order": {
5017
- "description": "asc or desc. Omit it to keep each field's own direction, which is newest first for created, most used first for usage, best match first for relevance, and A to Z for alias.",
5018
- "name": "order",
4938
+ "profile-addendum": {
4939
+ "description": "A saved system prompt fragment, sent to the model on each chat request with this face (max 100,000 chars). Anyone who can chat with the face may be able to get the model to repeat it.",
4940
+ "name": "profile-addendum",
5019
4941
  "hasDynamicHelp": false,
5020
4942
  "multiple": false,
5021
4943
  "type": "option"
5022
4944
  },
5023
- "search": {
5024
- "description": "Only faces whose alias, name or description matches this text",
5025
- "name": "search",
4945
+ "profile-addendum-file": {
4946
+ "description": "Read the per-face system prompt from a file (alternative to --profile-addendum). Anyone who can chat with the face may be able to get the model to repeat it.",
4947
+ "exclusive": [
4948
+ "profile-addendum"
4949
+ ],
4950
+ "name": "profile-addendum-file",
5026
4951
  "hasDynamicHelp": false,
5027
4952
  "multiple": false,
5028
4953
  "type": "option"
@@ -5030,7 +4955,7 @@
5030
4955
  },
5031
4956
  "hasDynamicHelp": false,
5032
4957
  "hiddenAliases": [],
5033
- "id": "face:list",
4958
+ "id": "face:create",
5034
4959
  "pluginAlias": "@faces-sh/cli",
5035
4960
  "pluginName": "@faces-sh/cli",
5036
4961
  "pluginType": "core",
@@ -5041,10 +4966,10 @@
5041
4966
  "dist",
5042
4967
  "commands",
5043
4968
  "face",
5044
- "list.js"
4969
+ "create.js"
5045
4970
  ]
5046
4971
  },
5047
- "face:lock": {
4972
+ "face:delete": {
5048
4973
  "aliases": [],
5049
4974
  "args": {
5050
4975
  "face_id": {
@@ -5053,10 +4978,7 @@
5053
4978
  "required": true
5054
4979
  }
5055
4980
  },
5056
- "description": "Lock a face (read-only). A locked face still reads and chats normally, but it, and everything it owns (documents, threads, built styles), cannot be changed until unlocked.",
5057
- "examples": [
5058
- "<%= config.bin %> <%= command.id %> socrates"
5059
- ],
4981
+ "description": "Delete a face permanently",
5060
4982
  "flags": {
5061
4983
  "json": {
5062
4984
  "description": "Format output as json.",
@@ -5097,11 +5019,17 @@
5097
5019
  "name": "toon",
5098
5020
  "allowNo": false,
5099
5021
  "type": "boolean"
5022
+ },
5023
+ "yes": {
5024
+ "description": "Skip confirmation",
5025
+ "name": "yes",
5026
+ "allowNo": false,
5027
+ "type": "boolean"
5100
5028
  }
5101
5029
  },
5102
5030
  "hasDynamicHelp": false,
5103
5031
  "hiddenAliases": [],
5104
- "id": "face:lock",
5032
+ "id": "face:delete",
5105
5033
  "pluginAlias": "@faces-sh/cli",
5106
5034
  "pluginName": "@faces-sh/cli",
5107
5035
  "pluginType": "core",
@@ -5112,19 +5040,13 @@
5112
5040
  "dist",
5113
5041
  "commands",
5114
5042
  "face",
5115
- "lock.js"
5043
+ "delete.js"
5116
5044
  ]
5117
5045
  },
5118
- "face:neighbors": {
5046
+ "face:diff": {
5119
5047
  "aliases": [],
5120
- "args": {
5121
- "face_id": {
5122
- "description": "Face alias, or owner:alias for a face published by or shared from another account",
5123
- "name": "face_id",
5124
- "required": true
5125
- }
5126
- },
5127
- "description": "Find the most similar or dissimilar owned faces to a given face. The face to compare against may be one of yours, or a published or shared face named as owner:alias; the faces it is ranked against are always your own. The face needs something compiled. Similarity runs from -1 to 1, and is rounded to one decimal place when the face compared against is not yours.",
5048
+ "args": {},
5049
+ "description": "Compare owned faces pairwise: one overall similarity score for each pair. Every face named needs something compiled.",
5128
5050
  "flags": {
5129
5051
  "json": {
5130
5052
  "description": "Format output as json.",
@@ -5166,30 +5088,18 @@
5166
5088
  "allowNo": false,
5167
5089
  "type": "boolean"
5168
5090
  },
5169
- "k": {
5170
- "description": "Number of results (1-20)",
5171
- "name": "k",
5172
- "default": 5,
5173
- "hasDynamicHelp": false,
5174
- "multiple": false,
5175
- "type": "option"
5176
- },
5177
- "direction": {
5178
- "description": "nearest (most similar) or furthest (most dissimilar)",
5179
- "name": "direction",
5180
- "default": "nearest",
5091
+ "face": {
5092
+ "description": "Face alias to include (repeatable, min 2)",
5093
+ "name": "face",
5094
+ "required": true,
5181
5095
  "hasDynamicHelp": false,
5182
- "multiple": false,
5183
- "options": [
5184
- "nearest",
5185
- "furthest"
5186
- ],
5096
+ "multiple": true,
5187
5097
  "type": "option"
5188
5098
  }
5189
5099
  },
5190
5100
  "hasDynamicHelp": false,
5191
5101
  "hiddenAliases": [],
5192
- "id": "face:neighbors",
5102
+ "id": "face:diff",
5193
5103
  "pluginAlias": "@faces-sh/cli",
5194
5104
  "pluginName": "@faces-sh/cli",
5195
5105
  "pluginType": "core",
@@ -5200,22 +5110,19 @@
5200
5110
  "dist",
5201
5111
  "commands",
5202
5112
  "face",
5203
- "neighbors.js"
5113
+ "diff.js"
5204
5114
  ]
5205
5115
  },
5206
- "face:publish": {
5116
+ "face:edit": {
5207
5117
  "aliases": [],
5208
5118
  "args": {
5209
- "alias": {
5119
+ "face_id": {
5210
5120
  "description": "Face alias",
5211
- "name": "alias",
5121
+ "name": "face_id",
5212
5122
  "required": true
5213
5123
  }
5214
5124
  },
5215
- "description": "Publish a face so EVERY account can chat with it. This is a global override: while it is on, everyone can reach the face regardless of who it is shared with. You still pay only to compile it; whoever chats pays for their own inference.",
5216
- "examples": [
5217
- "<%= config.bin %> <%= command.id %> alice --yes"
5218
- ],
5125
+ "description": "Edit a face's metadata",
5219
5126
  "flags": {
5220
5127
  "json": {
5221
5128
  "description": "Format output as json.",
@@ -5257,16 +5164,93 @@
5257
5164
  "allowNo": false,
5258
5165
  "type": "boolean"
5259
5166
  },
5260
- "yes": {
5261
- "description": "Skip confirmation",
5262
- "name": "yes",
5167
+ "name": {
5168
+ "description": "New display name",
5169
+ "name": "name",
5170
+ "hasDynamicHelp": false,
5171
+ "multiple": false,
5172
+ "type": "option"
5173
+ },
5174
+ "description": {
5175
+ "description": "Plain-text description / bio (max 1500 chars)",
5176
+ "name": "description",
5177
+ "hasDynamicHelp": false,
5178
+ "multiple": false,
5179
+ "type": "option"
5180
+ },
5181
+ "specialty": {
5182
+ "description": "Replace the short line saying what this face is for. Pass an empty string to remove it.",
5183
+ "name": "specialty",
5184
+ "hasDynamicHelp": false,
5185
+ "multiple": false,
5186
+ "type": "option"
5187
+ },
5188
+ "tag": {
5189
+ "description": "Replace all tags (repeatable, lowercase)",
5190
+ "name": "tag",
5191
+ "hasDynamicHelp": false,
5192
+ "multiple": true,
5193
+ "type": "option"
5194
+ },
5195
+ "default-model": {
5196
+ "description": "Default LLM for chat (e.g. gpt-4o-mini, claude-sonnet-4-6)",
5197
+ "name": "default-model",
5198
+ "hasDynamicHelp": false,
5199
+ "multiple": false,
5200
+ "type": "option"
5201
+ },
5202
+ "formula": {
5203
+ "description": "New formula, making the face a composite. Pass an empty string to turn a composite back into an ordinary face. Refused on a face with compiled sources of its own, or one used in another composite: make a new composite with faces face:create --formula instead.",
5204
+ "name": "formula",
5205
+ "hasDynamicHelp": false,
5206
+ "multiple": false,
5207
+ "type": "option"
5208
+ },
5209
+ "attr": {
5210
+ "description": "Update attribute KEY=VALUE (repeatable). age, gender and location take a bare value (\"45\", \"Lisbon, Portugal\"); identity, education, occupation, religion, family, relationships, health, languages and background take a short sentence. Any other key is refused, and then nothing is saved. See faces face:attributes.",
5211
+ "name": "attr",
5212
+ "hasDynamicHelp": false,
5213
+ "multiple": true,
5214
+ "type": "option"
5215
+ },
5216
+ "tool": {
5217
+ "description": "Tool names to set (replaces list, repeatable). The server stores any name without checking it, so spell it as the tool expects.",
5218
+ "name": "tool",
5219
+ "hasDynamicHelp": false,
5220
+ "multiple": true,
5221
+ "type": "option"
5222
+ },
5223
+ "profile-addendum": {
5224
+ "description": "Replace the per-face system prompt (max 100,000 chars). Anyone who can chat with the face may be able to get the model to repeat it.",
5225
+ "name": "profile-addendum",
5226
+ "hasDynamicHelp": false,
5227
+ "multiple": false,
5228
+ "type": "option"
5229
+ },
5230
+ "profile-addendum-file": {
5231
+ "description": "Replace the per-face system prompt from a file. Anyone who can chat with the face may be able to get the model to repeat it.",
5232
+ "exclusive": [
5233
+ "profile-addendum"
5234
+ ],
5235
+ "name": "profile-addendum-file",
5236
+ "hasDynamicHelp": false,
5237
+ "multiple": false,
5238
+ "type": "option"
5239
+ },
5240
+ "clear-profile-addendum": {
5241
+ "description": "Remove the per-face system prompt.",
5242
+ "exclusive": [
5243
+ "profile-addendum",
5244
+ "profile-addendum-file"
5245
+ ],
5246
+ "name": "clear-profile-addendum",
5263
5247
  "allowNo": false,
5264
5248
  "type": "boolean"
5265
5249
  }
5266
5250
  },
5267
5251
  "hasDynamicHelp": false,
5268
5252
  "hiddenAliases": [],
5269
- "id": "face:publish",
5253
+ "id": "face:edit",
5270
5254
  "pluginAlias": "@faces-sh/cli",
5271
5255
  "pluginName": "@faces-sh/cli",
5272
5256
  "pluginType": "core",
@@ -5277,25 +5261,19 @@
5277
5261
  "dist",
5278
5262
  "commands",
5279
5263
  "face",
5280
- "publish.js"
5264
+ "edit.js"
5281
5265
  ]
5282
5266
  },
5283
- "face:share": {
5267
+ "face:get": {
5284
5268
  "aliases": [],
5285
5269
  "args": {
5286
- "alias": {
5287
- "description": "Face alias",
5288
- "name": "alias",
5270
+ "face_id": {
5271
+ "description": "Face alias, or owner:alias for a face published by or shared from another account",
5272
+ "name": "face_id",
5289
5273
  "required": true
5290
5274
  }
5291
5275
  },
5292
- "description": "Share a face so named accounts can chat with it. Sharing grants chat and nothing else: no reading its documents, no compiling, no re-sharing. Sharing does not show its profile addendum, though the model answering as the face can be asked to repeat it. --add keeps the current list; --with replaces it.",
5293
- "examples": [
5294
- "<%= config.bin %> <%= command.id %> alice --list",
5295
- "<%= config.bin %> <%= command.id %> alice --add dana",
5296
- "<%= config.bin %> <%= command.id %> alice --with dana --with sam@example.com",
5297
- "<%= config.bin %> <%= command.id %> alice --none --yes"
5298
- ],
5276
+ "description": "Get details for a face, by alias or owner:alias. A published or shared face is reachable under the same owner:alias address chat uses; it is shown with a note that you do not own it.",
5299
5277
  "flags": {
5300
5278
  "json": {
5301
5279
  "description": "Format output as json.",
@@ -5337,54 +5315,23 @@
5337
5315
  "allowNo": false,
5338
5316
  "type": "boolean"
5339
5317
  },
5340
- "list": {
5341
- "description": "Show who the face is shared with, and change nothing",
5342
- "name": "list",
5343
- "allowNo": false,
5344
- "type": "boolean"
5345
- },
5346
- "add": {
5347
- "description": "Add an account, keeping everyone already on the list. Username or email (repeatable)",
5348
- "exclusive": [
5349
- "with",
5350
- "none"
5351
- ],
5352
- "name": "add",
5353
- "hasDynamicHelp": false,
5354
- "multiple": true,
5355
- "type": "option"
5356
- },
5357
- "with": {
5358
- "description": "Set the list to exactly these accounts, dropping anyone else (repeatable)",
5359
- "exclusive": [
5360
- "add",
5361
- "none"
5362
- ],
5363
- "name": "with",
5318
+ "include": {
5319
+ "description": "Extra fields, comma-separated: tags, groups, profile, sharing, avatar, usage. `usage` adds the 30-day counters; `avatar` says whether the picture is current or stale.",
5320
+ "name": "include",
5364
5321
  "hasDynamicHelp": false,
5365
- "multiple": true,
5322
+ "multiple": false,
5366
5323
  "type": "option"
5367
5324
  },
5368
- "none": {
5369
- "description": "Revoke everyone",
5370
- "exclusive": [
5371
- "add",
5372
- "with"
5373
- ],
5374
- "name": "none",
5375
- "allowNo": false,
5376
- "type": "boolean"
5377
- },
5378
- "yes": {
5379
- "description": "Skip the confirmation shown when someone would lose access",
5380
- "name": "yes",
5325
+ "full": {
5326
+ "description": "Print the full profile_addendum instead of a truncated preview",
5327
+ "name": "full",
5381
5328
  "allowNo": false,
5382
5329
  "type": "boolean"
5383
5330
  }
5384
5331
  },
5385
5332
  "hasDynamicHelp": false,
5386
5333
  "hiddenAliases": [],
5387
- "id": "face:share",
5334
+ "id": "face:get",
5388
5335
  "pluginAlias": "@faces-sh/cli",
5389
5336
  "pluginName": "@faces-sh/cli",
5390
5337
  "pluginType": "core",
@@ -5395,10 +5342,10 @@
5395
5342
  "dist",
5396
5343
  "commands",
5397
5344
  "face",
5398
- "share.js"
5345
+ "get.js"
5399
5346
  ]
5400
5347
  },
5401
- "face:sources": {
5348
+ "face:groups": {
5402
5349
  "aliases": [],
5403
5350
  "args": {
5404
5351
  "alias": {
@@ -5407,12 +5354,7 @@
5407
5354
  "required": true
5408
5355
  }
5409
5356
  },
5410
- "description": "List every source compiled into a face: documents and threads together, one row each. Exits 4 if the face does not exist, which is a different answer from a face that has no sources. Content is never printed; read a single source with compile:doc:get or compile:thread:get.",
5411
- "examples": [
5412
- "<%= config.bin %> <%= command.id %> alice",
5413
- "<%= config.bin %> <%= command.id %> alice --type thread",
5414
- "<%= config.bin %> <%= command.id %> alice --json"
5415
- ],
5357
+ "description": "Set a face's group memberships (replaces all)",
5416
5358
  "flags": {
5417
5359
  "json": {
5418
5360
  "description": "Format output as json.",
@@ -5454,21 +5396,18 @@
5454
5396
  "allowNo": false,
5455
5397
  "type": "boolean"
5456
5398
  },
5457
- "type": {
5458
- "description": "Show only one kind of source",
5459
- "name": "type",
5399
+ "group": {
5400
+ "description": "Group ID (repeatable, replaces all memberships)",
5401
+ "name": "group",
5402
+ "required": true,
5460
5403
  "hasDynamicHelp": false,
5461
- "multiple": false,
5462
- "options": [
5463
- "doc",
5464
- "thread"
5465
- ],
5404
+ "multiple": true,
5466
5405
  "type": "option"
5467
5406
  }
5468
5407
  },
5469
5408
  "hasDynamicHelp": false,
5470
5409
  "hiddenAliases": [],
5471
- "id": "face:sources",
5410
+ "id": "face:groups",
5472
5411
  "pluginAlias": "@faces-sh/cli",
5473
5412
  "pluginName": "@faces-sh/cli",
5474
5413
  "pluginType": "core",
@@ -5479,13 +5418,13 @@
5479
5418
  "dist",
5480
5419
  "commands",
5481
5420
  "face",
5482
- "sources.js"
5421
+ "groups.js"
5483
5422
  ]
5484
5423
  },
5485
- "face:stats": {
5424
+ "face:list": {
5486
5425
  "aliases": [],
5487
5426
  "args": {},
5488
- "description": "Compile and chat stats for all owned faces",
5427
+ "description": "List faces. By default lists owned faces, newest first; use --public to include published faces from other accounts, --search to match on text, and --sort/--order to change the ordering.",
5489
5428
  "flags": {
5490
5429
  "json": {
5491
5430
  "description": "Format output as json.",
@@ -5526,11 +5465,91 @@
5526
5465
  "name": "toon",
5527
5466
  "allowNo": false,
5528
5467
  "type": "boolean"
5468
+ },
5469
+ "tag": {
5470
+ "description": "Filter by tag (repeatable, AND logic)",
5471
+ "name": "tag",
5472
+ "hasDynamicHelp": false,
5473
+ "multiple": true,
5474
+ "type": "option"
5475
+ },
5476
+ "group": {
5477
+ "description": "Filter by group ID (repeatable, OR logic)",
5478
+ "name": "group",
5479
+ "hasDynamicHelp": false,
5480
+ "multiple": true,
5481
+ "type": "option"
5482
+ },
5483
+ "include": {
5484
+ "description": "Extra fields, comma-separated: tags, groups, profile, sharing, avatar, usage, owner_follow. `avatar` says whether each generated avatar is current or stale; `owner_follow` says whether you follow the account that published a face.",
5485
+ "name": "include",
5486
+ "hasDynamicHelp": false,
5487
+ "multiple": false,
5488
+ "type": "option"
5489
+ },
5490
+ "public": {
5491
+ "description": "Include published faces from other accounts (open to everybody)",
5492
+ "name": "public",
5493
+ "allowNo": false,
5494
+ "type": "boolean"
5495
+ },
5496
+ "has-style": {
5497
+ "description": "Show only faces with a built style",
5498
+ "name": "has-style",
5499
+ "allowNo": false,
5500
+ "type": "boolean"
5501
+ },
5502
+ "shared": {
5503
+ "description": "Include faces other accounts have shared with YOU in particular",
5504
+ "name": "shared",
5505
+ "allowNo": false,
5506
+ "type": "boolean"
5507
+ },
5508
+ "system": {
5509
+ "description": "Show only the curated system faces (published faces owned by 'head')",
5510
+ "name": "system",
5511
+ "allowNo": false,
5512
+ "type": "boolean"
5513
+ },
5514
+ "from-users": {
5515
+ "description": "Only published faces from these owners (repeatable/comma-separated)",
5516
+ "name": "from-users",
5517
+ "hasDynamicHelp": false,
5518
+ "multiple": true,
5519
+ "type": "option"
5520
+ },
5521
+ "not-from-users": {
5522
+ "description": "Exclude published faces from these owners (repeatable/comma-separated)",
5523
+ "name": "not-from-users",
5524
+ "hasDynamicHelp": false,
5525
+ "multiple": true,
5526
+ "type": "option"
5527
+ },
5528
+ "sort": {
5529
+ "description": "What to order by: created, alias, relevance or usage. relevance ranks by how well a face matches --search, so it needs one.",
5530
+ "name": "sort",
5531
+ "hasDynamicHelp": false,
5532
+ "multiple": false,
5533
+ "type": "option"
5534
+ },
5535
+ "order": {
5536
+ "description": "asc or desc. Omit it to keep each field's own direction, which is newest first for created, most used first for usage, best match first for relevance, and A to Z for alias.",
5537
+ "name": "order",
5538
+ "hasDynamicHelp": false,
5539
+ "multiple": false,
5540
+ "type": "option"
5541
+ },
5542
+ "search": {
5543
+ "description": "Only faces whose alias, name or description matches this text",
5544
+ "name": "search",
5545
+ "hasDynamicHelp": false,
5546
+ "multiple": false,
5547
+ "type": "option"
5529
5548
  }
5530
5549
  },
5531
5550
  "hasDynamicHelp": false,
5532
5551
  "hiddenAliases": [],
5533
- "id": "face:stats",
5552
+ "id": "face:list",
5534
5553
  "pluginAlias": "@faces-sh/cli",
5535
5554
  "pluginName": "@faces-sh/cli",
5536
5555
  "pluginType": "core",
@@ -5541,10 +5560,10 @@
5541
5560
  "dist",
5542
5561
  "commands",
5543
5562
  "face",
5544
- "stats.js"
5563
+ "list.js"
5545
5564
  ]
5546
5565
  },
5547
- "face:unlock": {
5566
+ "face:lock": {
5548
5567
  "aliases": [],
5549
5568
  "args": {
5550
5569
  "face_id": {
@@ -5553,7 +5572,7 @@
5553
5572
  "required": true
5554
5573
  }
5555
5574
  },
5556
- "description": "Unlock a face (make it writable again). Thaws the face and everything it owns (documents, threads, built styles).",
5575
+ "description": "Lock a face (read-only). A locked face still reads and chats normally, but it, and everything it owns (documents, threads, built styles), cannot be changed until unlocked.",
5557
5576
  "examples": [
5558
5577
  "<%= config.bin %> <%= command.id %> socrates"
5559
5578
  ],
@@ -5601,7 +5620,7 @@
5601
5620
  },
5602
5621
  "hasDynamicHelp": false,
5603
5622
  "hiddenAliases": [],
5604
- "id": "face:unlock",
5623
+ "id": "face:lock",
5605
5624
  "pluginAlias": "@faces-sh/cli",
5606
5625
  "pluginName": "@faces-sh/cli",
5607
5626
  "pluginType": "core",
@@ -5612,19 +5631,19 @@
5612
5631
  "dist",
5613
5632
  "commands",
5614
5633
  "face",
5615
- "unlock.js"
5634
+ "lock.js"
5616
5635
  ]
5617
5636
  },
5618
- "face:unpublish": {
5637
+ "face:neighbors": {
5619
5638
  "aliases": [],
5620
5639
  "args": {
5621
- "alias": {
5622
- "description": "Face alias",
5623
- "name": "alias",
5640
+ "face_id": {
5641
+ "description": "Face alias, or owner:alias for a face published by or shared from another account",
5642
+ "name": "face_id",
5624
5643
  "required": true
5625
5644
  }
5626
5645
  },
5627
- "description": "Stop publishing a face. Anyone it is individually shared with keeps their access. Publishing is an override on top of sharing, not a replacement for it.",
5646
+ "description": "Find the most similar or dissimilar owned faces to a given face. The face to compare against may be one of yours, or a published or shared face named as owner:alias; the faces it is ranked against are always your own. The face needs something compiled. Similarity runs from -1 to 1, and is rounded to one decimal place when the face compared against is not yours.",
5628
5647
  "flags": {
5629
5648
  "json": {
5630
5649
  "description": "Format output as json.",
@@ -5665,11 +5684,31 @@
5665
5684
  "name": "toon",
5666
5685
  "allowNo": false,
5667
5686
  "type": "boolean"
5687
+ },
5688
+ "k": {
5689
+ "description": "Number of results (1-20)",
5690
+ "name": "k",
5691
+ "default": 5,
5692
+ "hasDynamicHelp": false,
5693
+ "multiple": false,
5694
+ "type": "option"
5695
+ },
5696
+ "direction": {
5697
+ "description": "nearest (most similar) or furthest (most dissimilar)",
5698
+ "name": "direction",
5699
+ "default": "nearest",
5700
+ "hasDynamicHelp": false,
5701
+ "multiple": false,
5702
+ "options": [
5703
+ "nearest",
5704
+ "furthest"
5705
+ ],
5706
+ "type": "option"
5668
5707
  }
5669
5708
  },
5670
5709
  "hasDynamicHelp": false,
5671
5710
  "hiddenAliases": [],
5672
- "id": "face:unpublish",
5711
+ "id": "face:neighbors",
5673
5712
  "pluginAlias": "@faces-sh/cli",
5674
5713
  "pluginName": "@faces-sh/cli",
5675
5714
  "pluginType": "core",
@@ -5680,10 +5719,10 @@
5680
5719
  "dist",
5681
5720
  "commands",
5682
5721
  "face",
5683
- "unpublish.js"
5722
+ "neighbors.js"
5684
5723
  ]
5685
5724
  },
5686
- "face:unshare": {
5725
+ "face:publish": {
5687
5726
  "aliases": [],
5688
5727
  "args": {
5689
5728
  "alias": {
@@ -5692,10 +5731,9 @@
5692
5731
  "required": true
5693
5732
  }
5694
5733
  },
5695
- "description": "Revoke access to a shared face. Takes effect immediately. There is no grace period.",
5734
+ "description": "Publish a face so EVERY account can chat with it. This is a global override: while it is on, everyone can reach the face regardless of who it is shared with. You still pay only to compile it; whoever chats pays for their own inference.",
5696
5735
  "examples": [
5697
- "<%= config.bin %> <%= command.id %> alice --from dana --yes",
5698
- "<%= config.bin %> <%= command.id %> alice --all --yes"
5736
+ "<%= config.bin %> <%= command.id %> alice --yes"
5699
5737
  ],
5700
5738
  "flags": {
5701
5739
  "json": {
@@ -5738,25 +5776,6 @@
5738
5776
  "allowNo": false,
5739
5777
  "type": "boolean"
5740
5778
  },
5741
- "from": {
5742
- "description": "Account to revoke (repeatable)",
5743
- "exclusive": [
5744
- "all"
5745
- ],
5746
- "name": "from",
5747
- "hasDynamicHelp": false,
5748
- "multiple": true,
5749
- "type": "option"
5750
- },
5751
- "all": {
5752
- "description": "Revoke everyone",
5753
- "exclusive": [
5754
- "from"
5755
- ],
5756
- "name": "all",
5757
- "allowNo": false,
5758
- "type": "boolean"
5759
- },
5760
5779
  "yes": {
5761
5780
  "description": "Skip confirmation",
5762
5781
  "name": "yes",
@@ -5766,7 +5785,7 @@
5766
5785
  },
5767
5786
  "hasDynamicHelp": false,
5768
5787
  "hiddenAliases": [],
5769
- "id": "face:unshare",
5788
+ "id": "face:publish",
5770
5789
  "pluginAlias": "@faces-sh/cli",
5771
5790
  "pluginName": "@faces-sh/cli",
5772
5791
  "pluginType": "core",
@@ -5777,21 +5796,24 @@
5777
5796
  "dist",
5778
5797
  "commands",
5779
5798
  "face",
5780
- "unshare.js"
5799
+ "publish.js"
5781
5800
  ]
5782
5801
  },
5783
- "fidelity:get": {
5802
+ "face:share": {
5784
5803
  "aliases": [],
5785
5804
  "args": {
5786
- "run_id": {
5787
- "description": "Fidelity run id",
5788
- "name": "run_id",
5805
+ "alias": {
5806
+ "description": "Face alias",
5807
+ "name": "alias",
5789
5808
  "required": true
5790
5809
  }
5791
5810
  },
5792
- "description": "Read a fidelity run: its progress, its turns and, once finished, its score. Which answer was the face's is shown only after the run is finished. --json has every message and answer.",
5811
+ "description": "Share a face so named accounts can chat with it. Sharing grants chat and nothing else: no reading its documents, no compiling, no re-sharing. Sharing does not show its profile addendum, though the model answering as the face can be asked to repeat it. --add keeps the current list; --with replaces it.",
5793
5812
  "examples": [
5794
- "<%= config.bin %> <%= command.id %> <run>"
5813
+ "<%= config.bin %> <%= command.id %> alice --list",
5814
+ "<%= config.bin %> <%= command.id %> alice --add dana",
5815
+ "<%= config.bin %> <%= command.id %> alice --with dana --with sam@example.com",
5816
+ "<%= config.bin %> <%= command.id %> alice --none --yes"
5795
5817
  ],
5796
5818
  "flags": {
5797
5819
  "json": {
@@ -5833,11 +5855,55 @@
5833
5855
  "name": "toon",
5834
5856
  "allowNo": false,
5835
5857
  "type": "boolean"
5858
+ },
5859
+ "list": {
5860
+ "description": "Show who the face is shared with, and change nothing",
5861
+ "name": "list",
5862
+ "allowNo": false,
5863
+ "type": "boolean"
5864
+ },
5865
+ "add": {
5866
+ "description": "Add an account, keeping everyone already on the list. Username or email (repeatable)",
5867
+ "exclusive": [
5868
+ "with",
5869
+ "none"
5870
+ ],
5871
+ "name": "add",
5872
+ "hasDynamicHelp": false,
5873
+ "multiple": true,
5874
+ "type": "option"
5875
+ },
5876
+ "with": {
5877
+ "description": "Set the list to exactly these accounts, dropping anyone else (repeatable)",
5878
+ "exclusive": [
5879
+ "add",
5880
+ "none"
5881
+ ],
5882
+ "name": "with",
5883
+ "hasDynamicHelp": false,
5884
+ "multiple": true,
5885
+ "type": "option"
5886
+ },
5887
+ "none": {
5888
+ "description": "Revoke everyone",
5889
+ "exclusive": [
5890
+ "add",
5891
+ "with"
5892
+ ],
5893
+ "name": "none",
5894
+ "allowNo": false,
5895
+ "type": "boolean"
5896
+ },
5897
+ "yes": {
5898
+ "description": "Skip the confirmation shown when someone would lose access",
5899
+ "name": "yes",
5900
+ "allowNo": false,
5901
+ "type": "boolean"
5836
5902
  }
5837
5903
  },
5838
5904
  "hasDynamicHelp": false,
5839
5905
  "hiddenAliases": [],
5840
- "id": "fidelity:get",
5906
+ "id": "face:share",
5841
5907
  "pluginAlias": "@faces-sh/cli",
5842
5908
  "pluginName": "@faces-sh/cli",
5843
5909
  "pluginType": "core",
@@ -5847,32 +5913,24 @@
5847
5913
  "relativePath": [
5848
5914
  "dist",
5849
5915
  "commands",
5850
- "fidelity",
5851
- "get.js"
5916
+ "face",
5917
+ "share.js"
5852
5918
  ]
5853
5919
  },
5854
- "fidelity:pick": {
5920
+ "face:sources": {
5855
5921
  "aliases": [],
5856
5922
  "args": {
5857
- "run_id": {
5858
- "description": "Fidelity run id",
5859
- "name": "run_id",
5860
- "required": true
5861
- },
5862
- "pick": {
5863
- "description": "a or b",
5864
- "name": "pick",
5865
- "options": [
5866
- "a",
5867
- "b"
5868
- ],
5923
+ "alias": {
5924
+ "description": "Face alias",
5925
+ "name": "alias",
5869
5926
  "required": true
5870
5927
  }
5871
5928
  },
5872
- "description": "Pick the answer, a or b, that sounds more like the person on the open turn of a fidelity run. Without --correction the pick is accepted as it is; with one, it says what the person would actually have said, and how much it changes the face's answer lowers that turn's score. The pick must be the person's own, not an agent's. After the tenth, the run's score is saved on the face.",
5929
+ "description": "List every source compiled into a face: documents and threads together, one row each. Exits 4 if the face does not exist, which is a different answer from a face that has no sources. Content is never printed; read a single source with compile:doc:get or compile:thread:get.",
5873
5930
  "examples": [
5874
- "<%= config.bin %> <%= command.id %> <run> a",
5875
- "<%= config.bin %> <%= command.id %> <run> b --correction \"Fine, thanks. Long drive.\""
5931
+ "<%= config.bin %> <%= command.id %> alice",
5932
+ "<%= config.bin %> <%= command.id %> alice --type thread",
5933
+ "<%= config.bin %> <%= command.id %> alice --json"
5876
5934
  ],
5877
5935
  "flags": {
5878
5936
  "json": {
@@ -5915,34 +5973,21 @@
5915
5973
  "allowNo": false,
5916
5974
  "type": "boolean"
5917
5975
  },
5918
- "correction": {
5919
- "description": "What the person would actually have said, if the pick is not quite right",
5920
- "exclusive": [
5921
- "correction-file"
5922
- ],
5923
- "name": "correction",
5924
- "hasDynamicHelp": false,
5925
- "multiple": false,
5926
- "type": "option"
5927
- },
5928
- "correction-file": {
5929
- "description": "Read the correction from a file",
5930
- "name": "correction-file",
5931
- "hasDynamicHelp": false,
5932
- "multiple": false,
5933
- "type": "option"
5934
- },
5935
- "turn": {
5936
- "description": "The turn to pick for (default: the open one)",
5937
- "name": "turn",
5976
+ "type": {
5977
+ "description": "Show only one kind of source",
5978
+ "name": "type",
5938
5979
  "hasDynamicHelp": false,
5939
5980
  "multiple": false,
5981
+ "options": [
5982
+ "doc",
5983
+ "thread"
5984
+ ],
5940
5985
  "type": "option"
5941
5986
  }
5942
5987
  },
5943
5988
  "hasDynamicHelp": false,
5944
5989
  "hiddenAliases": [],
5945
- "id": "fidelity:pick",
5990
+ "id": "face:sources",
5946
5991
  "pluginAlias": "@faces-sh/cli",
5947
5992
  "pluginName": "@faces-sh/cli",
5948
5993
  "pluginType": "core",
@@ -5952,24 +5997,14 @@
5952
5997
  "relativePath": [
5953
5998
  "dist",
5954
5999
  "commands",
5955
- "fidelity",
5956
- "pick.js"
6000
+ "face",
6001
+ "sources.js"
5957
6002
  ]
5958
6003
  },
5959
- "fidelity:run": {
6004
+ "face:stats": {
5960
6005
  "aliases": [],
5961
- "args": {
5962
- "alias": {
5963
- "description": "Alias of a face you own",
5964
- "name": "alias",
5965
- "required": true
5966
- }
5967
- },
5968
- "description": "Play a fidelity run in the terminal: ten turns of writing a message, reading answers a and b, and picking the one that sounds more like the person, with an optional correction. Needs a person at the keyboard; without a terminal, use fidelity:start, fidelity:turn and fidelity:pick. Resume a run with --run.",
5969
- "examples": [
5970
- "<%= config.bin %> <%= command.id %> alice",
5971
- "<%= config.bin %> <%= command.id %> alice --run <run>"
5972
- ],
6006
+ "args": {},
6007
+ "description": "Compile and chat stats for all owned faces",
5973
6008
  "flags": {
5974
6009
  "json": {
5975
6010
  "description": "Format output as json.",
@@ -6010,36 +6045,11 @@
6010
6045
  "name": "toon",
6011
6046
  "allowNo": false,
6012
6047
  "type": "boolean"
6013
- },
6014
- "competitor": {
6015
- "description": "The chat model the face is compared with (default: the cheapest Codex-eligible chat model)",
6016
- "name": "competitor",
6017
- "hasDynamicHelp": false,
6018
- "multiple": false,
6019
- "type": "option"
6020
- },
6021
- "model": {
6022
- "description": "The model the face answers on (default: its own default model)",
6023
- "name": "model",
6024
- "hasDynamicHelp": false,
6025
- "multiple": false,
6026
- "type": "option"
6027
- },
6028
- "run": {
6029
- "description": "Resume this run instead of starting one",
6030
- "exclusive": [
6031
- "competitor",
6032
- "model"
6033
- ],
6034
- "name": "run",
6035
- "hasDynamicHelp": false,
6036
- "multiple": false,
6037
- "type": "option"
6038
6048
  }
6039
6049
  },
6040
6050
  "hasDynamicHelp": false,
6041
6051
  "hiddenAliases": [],
6042
- "id": "fidelity:run",
6052
+ "id": "face:stats",
6043
6053
  "pluginAlias": "@faces-sh/cli",
6044
6054
  "pluginName": "@faces-sh/cli",
6045
6055
  "pluginType": "core",
@@ -6049,22 +6059,22 @@
6049
6059
  "relativePath": [
6050
6060
  "dist",
6051
6061
  "commands",
6052
- "fidelity",
6053
- "run.js"
6062
+ "face",
6063
+ "stats.js"
6054
6064
  ]
6055
6065
  },
6056
- "fidelity:save-thread": {
6066
+ "face:unlock": {
6057
6067
  "aliases": [],
6058
6068
  "args": {
6059
- "run_id": {
6060
- "description": "Fidelity run id",
6061
- "name": "run_id",
6069
+ "face_id": {
6070
+ "description": "Face alias",
6071
+ "name": "face_id",
6062
6072
  "required": true
6063
6073
  }
6064
6074
  },
6065
- "description": "Save a finished fidelity run's conversation as a thread on the face, so it can be compiled. Each turn becomes your message and the reply you settled on: your correction where you made one, otherwise the answer you accepted. Saving again returns the same thread.",
6075
+ "description": "Unlock a face (make it writable again). Thaws the face and everything it owns (documents, threads, built styles).",
6066
6076
  "examples": [
6067
- "<%= config.bin %> <%= command.id %> <run>"
6077
+ "<%= config.bin %> <%= command.id %> socrates"
6068
6078
  ],
6069
6079
  "flags": {
6070
6080
  "json": {
@@ -6110,7 +6120,7 @@
6110
6120
  },
6111
6121
  "hasDynamicHelp": false,
6112
6122
  "hiddenAliases": [],
6113
- "id": "fidelity:save-thread",
6123
+ "id": "face:unlock",
6114
6124
  "pluginAlias": "@faces-sh/cli",
6115
6125
  "pluginName": "@faces-sh/cli",
6116
6126
  "pluginType": "core",
@@ -6120,24 +6130,20 @@
6120
6130
  "relativePath": [
6121
6131
  "dist",
6122
6132
  "commands",
6123
- "fidelity",
6124
- "save-thread.js"
6133
+ "face",
6134
+ "unlock.js"
6125
6135
  ]
6126
6136
  },
6127
- "fidelity:start": {
6137
+ "face:unpublish": {
6128
6138
  "aliases": [],
6129
6139
  "args": {
6130
6140
  "alias": {
6131
- "description": "Alias of a face you own",
6141
+ "description": "Face alias",
6132
6142
  "name": "alias",
6133
6143
  "required": true
6134
6144
  }
6135
6145
  },
6136
- "description": "Start a fidelity run on a face you own: ten blind turns, scored out of 10. Each turn you send a message, read two answers labelled a and b (one is the face, one a competitor model given the face's own writing), and pick the one that sounds more like the person, accepting it or correcting it. The picks must be the person's own: an agent shows both answers and passes on the choice it is given, never its own. The score is saved on the face, and a new run replaces it. On Connect or Pro with ChatGPT linked, answers from Codex-eligible models run on the ChatGPT plan; the rest, and grading a correction, is paid from credits. To play it in the terminal, use faces fidelity:run.",
6137
- "examples": [
6138
- "<%= config.bin %> <%= command.id %> alice",
6139
- "<%= config.bin %> <%= command.id %> alice --competitor <model>"
6140
- ],
6146
+ "description": "Stop publishing a face. Anyone it is individually shared with keeps their access. Publishing is an override on top of sharing, not a replacement for it.",
6141
6147
  "flags": {
6142
6148
  "json": {
6143
6149
  "description": "Format output as json.",
@@ -6178,25 +6184,11 @@
6178
6184
  "name": "toon",
6179
6185
  "allowNo": false,
6180
6186
  "type": "boolean"
6181
- },
6182
- "competitor": {
6183
- "description": "The chat model the face is compared with (default: the cheapest Codex-eligible chat model)",
6184
- "name": "competitor",
6185
- "hasDynamicHelp": false,
6186
- "multiple": false,
6187
- "type": "option"
6188
- },
6189
- "model": {
6190
- "description": "The model the face answers on (default: its own default model)",
6191
- "name": "model",
6192
- "hasDynamicHelp": false,
6193
- "multiple": false,
6194
- "type": "option"
6195
6187
  }
6196
6188
  },
6197
6189
  "hasDynamicHelp": false,
6198
6190
  "hiddenAliases": [],
6199
- "id": "fidelity:start",
6191
+ "id": "face:unpublish",
6200
6192
  "pluginAlias": "@faces-sh/cli",
6201
6193
  "pluginName": "@faces-sh/cli",
6202
6194
  "pluginType": "core",
@@ -6206,22 +6198,23 @@
6206
6198
  "relativePath": [
6207
6199
  "dist",
6208
6200
  "commands",
6209
- "fidelity",
6210
- "start.js"
6201
+ "face",
6202
+ "unpublish.js"
6211
6203
  ]
6212
6204
  },
6213
- "fidelity:turn": {
6205
+ "face:unshare": {
6214
6206
  "aliases": [],
6215
6207
  "args": {
6216
- "run_id": {
6217
- "description": "Fidelity run id, from faces fidelity:start",
6218
- "name": "run_id",
6208
+ "alias": {
6209
+ "description": "Face alias",
6210
+ "name": "alias",
6219
6211
  "required": true
6220
6212
  }
6221
6213
  },
6222
- "description": "Send the next turn's message on a fidelity run. Prints two answers, a and b, in random order, with nothing saying which is the face. Pick one with faces fidelity:pick before the next turn.",
6214
+ "description": "Revoke access to a shared face. Takes effect immediately. There is no grace period.",
6223
6215
  "examples": [
6224
- "<%= config.bin %> <%= command.id %> <run> -m \"How was the trip?\""
6216
+ "<%= config.bin %> <%= command.id %> alice --from dana --yes",
6217
+ "<%= config.bin %> <%= command.id %> alice --all --yes"
6225
6218
  ],
6226
6219
  "flags": {
6227
6220
  "json": {
@@ -6264,28 +6257,35 @@
6264
6257
  "allowNo": false,
6265
6258
  "type": "boolean"
6266
6259
  },
6267
- "message": {
6268
- "char": "m",
6269
- "description": "Your message for this turn",
6260
+ "from": {
6261
+ "description": "Account to revoke (repeatable)",
6270
6262
  "exclusive": [
6271
- "file"
6263
+ "all"
6272
6264
  ],
6273
- "name": "message",
6265
+ "name": "from",
6274
6266
  "hasDynamicHelp": false,
6275
- "multiple": false,
6267
+ "multiple": true,
6276
6268
  "type": "option"
6277
6269
  },
6278
- "file": {
6279
- "description": "Read the message from a file",
6280
- "name": "file",
6281
- "hasDynamicHelp": false,
6282
- "multiple": false,
6283
- "type": "option"
6270
+ "all": {
6271
+ "description": "Revoke everyone",
6272
+ "exclusive": [
6273
+ "from"
6274
+ ],
6275
+ "name": "all",
6276
+ "allowNo": false,
6277
+ "type": "boolean"
6278
+ },
6279
+ "yes": {
6280
+ "description": "Skip confirmation",
6281
+ "name": "yes",
6282
+ "allowNo": false,
6283
+ "type": "boolean"
6284
6284
  }
6285
6285
  },
6286
6286
  "hasDynamicHelp": false,
6287
6287
  "hiddenAliases": [],
6288
- "id": "fidelity:turn",
6288
+ "id": "face:unshare",
6289
6289
  "pluginAlias": "@faces-sh/cli",
6290
6290
  "pluginName": "@faces-sh/cli",
6291
6291
  "pluginType": "core",
@@ -6295,8 +6295,8 @@
6295
6295
  "relativePath": [
6296
6296
  "dist",
6297
6297
  "commands",
6298
- "fidelity",
6299
- "turn.js"
6298
+ "face",
6299
+ "unshare.js"
6300
6300
  ]
6301
6301
  },
6302
6302
  "group:add": {
@@ -11754,5 +11754,5 @@
11754
11754
  ]
11755
11755
  }
11756
11756
  },
11757
- "version": "1.0.2"
11757
+ "version": "1.0.3"
11758
11758
  }