@faces-sh/cli 1.0.1 → 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.
Files changed (35) hide show
  1. package/README.md +32 -7
  2. package/dist/commands/causes.d.ts +6 -2
  3. package/dist/commands/causes.js +11 -0
  4. package/dist/commands/chat/chat.d.ts +12 -7
  5. package/dist/commands/chat/chat.js +19 -6
  6. package/dist/commands/chat/messages.d.ts +10 -6
  7. package/dist/commands/chat/messages.js +10 -1
  8. package/dist/commands/chat/responses.d.ts +10 -6
  9. package/dist/commands/chat/responses.js +10 -1
  10. package/dist/commands/chat/thread.d.ts +17 -10
  11. package/dist/commands/chat/thread.js +20 -6
  12. package/dist/commands/conversation/add.d.ts +18 -0
  13. package/dist/commands/conversation/add.js +66 -0
  14. package/dist/commands/conversation/close.d.ts +16 -0
  15. package/dist/commands/conversation/close.js +36 -0
  16. package/dist/commands/conversation/compact.d.ts +16 -0
  17. package/dist/commands/conversation/compact.js +69 -0
  18. package/dist/commands/conversation/create.d.ts +19 -0
  19. package/dist/commands/conversation/create.js +76 -0
  20. package/dist/commands/conversation/get.d.ts +15 -0
  21. package/dist/commands/conversation/get.js +35 -0
  22. package/dist/commands/conversation/items.d.ts +15 -0
  23. package/dist/commands/conversation/items.js +56 -0
  24. package/dist/commands/decide.d.ts +8 -4
  25. package/dist/commands/decide.js +10 -0
  26. package/dist/commands/session/close.js +1 -1
  27. package/dist/commands/session/compact.js +1 -1
  28. package/dist/commands/session/create.js +1 -1
  29. package/dist/commands/session/get.js +1 -1
  30. package/dist/conversation.d.ts +63 -0
  31. package/dist/conversation.js +246 -0
  32. package/dist/utils.d.ts +1 -1
  33. package/dist/utils.js +4 -3
  34. package/oclif.manifest.json +1501 -813
  35. package/package.json +4 -1
@@ -15,7 +15,8 @@
15
15
  "<%= config.bin %> <%= command.id %> alice --state \"A fund offers $80k to change a finding before it is published.\"",
16
16
  "<%= config.bin %> <%= command.id %> alice --state-file situation.txt --question \"Does the speaker take the money?\"",
17
17
  "<%= config.bin %> <%= command.id %> \"(alice | bob)\" -m \"What matters most here?\" --json",
18
- "<%= config.bin %> <%= command.id %> alice -m \"So what do I tell them tomorrow?\" --compaction fcmp_COMPACTION_ID"
18
+ "<%= config.bin %> <%= command.id %> alice -m \"So what do I tell them tomorrow?\" --compaction fcmp_COMPACTION_ID",
19
+ "<%= config.bin %> <%= command.id %> alice -m \"And now?\" --conversation fs_CONVERSATION_ID --premise vendor_certified=false"
19
20
  ],
20
21
  "flags": {
21
22
  "json": {
@@ -178,15 +179,45 @@
178
179
  "multiple": false,
179
180
  "type": "option"
180
181
  },
182
+ "conversation": {
183
+ "description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
184
+ "name": "conversation",
185
+ "hasDynamicHelp": false,
186
+ "multiple": false,
187
+ "type": "option"
188
+ },
189
+ "premise": {
190
+ "description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
191
+ "name": "premise",
192
+ "hasDynamicHelp": false,
193
+ "multiple": true,
194
+ "type": "option"
195
+ },
196
+ "premise-description": {
197
+ "dependsOn": [
198
+ "premise"
199
+ ],
200
+ "description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
201
+ "name": "premise-description",
202
+ "hasDynamicHelp": false,
203
+ "multiple": true,
204
+ "type": "option"
205
+ },
206
+ "causes-visible": {
207
+ "description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
208
+ "name": "causes-visible",
209
+ "allowNo": true,
210
+ "type": "boolean"
211
+ },
181
212
  "session": {
182
- "description": "Add this turn to a session, by id (from faces session:create). The session must be with this face.",
213
+ "description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
183
214
  "name": "session",
184
215
  "hasDynamicHelp": false,
185
216
  "multiple": false,
186
217
  "type": "option"
187
218
  },
188
219
  "compaction": {
189
- "description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of a session with this face.",
220
+ "description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
190
221
  "name": "compaction",
191
222
  "hasDynamicHelp": false,
192
223
  "multiple": false,
@@ -377,8 +408,50 @@
377
408
  "allowNo": false,
378
409
  "type": "boolean"
379
410
  },
411
+ "conversation": {
412
+ "description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
413
+ "exclusive": [
414
+ "baseline"
415
+ ],
416
+ "name": "conversation",
417
+ "hasDynamicHelp": false,
418
+ "multiple": false,
419
+ "type": "option"
420
+ },
421
+ "premise": {
422
+ "description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
423
+ "exclusive": [
424
+ "baseline"
425
+ ],
426
+ "name": "premise",
427
+ "hasDynamicHelp": false,
428
+ "multiple": true,
429
+ "type": "option"
430
+ },
431
+ "premise-description": {
432
+ "dependsOn": [
433
+ "premise"
434
+ ],
435
+ "description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
436
+ "exclusive": [
437
+ "baseline"
438
+ ],
439
+ "name": "premise-description",
440
+ "hasDynamicHelp": false,
441
+ "multiple": true,
442
+ "type": "option"
443
+ },
444
+ "causes-visible": {
445
+ "description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
446
+ "exclusive": [
447
+ "baseline"
448
+ ],
449
+ "name": "causes-visible",
450
+ "allowNo": true,
451
+ "type": "boolean"
452
+ },
380
453
  "session": {
381
- "description": "Add this turn to a session, by id (from faces session:create). The session must be with this face.",
454
+ "description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
382
455
  "exclusive": [
383
456
  "baseline"
384
457
  ],
@@ -388,7 +461,7 @@
388
461
  "type": "option"
389
462
  },
390
463
  "compaction": {
391
- "description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of a session with this face.",
464
+ "description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
392
465
  "exclusive": [
393
466
  "baseline"
394
467
  ],
@@ -431,154 +504,6 @@
431
504
  "decide.js"
432
505
  ]
433
506
  },
434
- "account:preferences": {
435
- "aliases": [],
436
- "args": {
437
- "key": {
438
- "description": "Preference key to update (api_fallback, default_model, auto_style, auto_style_thresholds)",
439
- "name": "key"
440
- },
441
- "value": {
442
- "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\".",
443
- "name": "value"
444
- }
445
- },
446
- "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.",
447
- "examples": [
448
- "faces account:preferences",
449
- "faces account:preferences default_model gpt-5.4",
450
- "faces account:preferences api_fallback true",
451
- "faces account:preferences auto_style off",
452
- "faces account:preferences auto_style default",
453
- "faces account:preferences auto_style on --allow-paid",
454
- "faces account:preferences auto_style_thresholds \"email=25000,text message=default\""
455
- ],
456
- "flags": {
457
- "json": {
458
- "description": "Format output as json.",
459
- "helpGroup": "GLOBAL",
460
- "name": "json",
461
- "allowNo": false,
462
- "type": "boolean"
463
- },
464
- "base-url": {
465
- "description": "API base URL",
466
- "env": "FACES_BASE_URL",
467
- "name": "base-url",
468
- "hasDynamicHelp": false,
469
- "multiple": false,
470
- "type": "option"
471
- },
472
- "token": {
473
- "description": "JWT bearer token",
474
- "env": "FACES_TOKEN",
475
- "name": "token",
476
- "hasDynamicHelp": false,
477
- "multiple": false,
478
- "type": "option"
479
- },
480
- "api-key": {
481
- "description": "API key",
482
- "env": "FACES_API_KEY",
483
- "name": "api-key",
484
- "hasDynamicHelp": false,
485
- "multiple": false,
486
- "type": "option"
487
- },
488
- "toon": {
489
- "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.",
490
- "exclusive": [
491
- "json"
492
- ],
493
- "name": "toon",
494
- "allowNo": false,
495
- "type": "boolean"
496
- },
497
- "allow-paid": {
498
- "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.",
499
- "name": "allow-paid",
500
- "allowNo": false,
501
- "type": "boolean"
502
- }
503
- },
504
- "hasDynamicHelp": false,
505
- "hiddenAliases": [],
506
- "id": "account:preferences",
507
- "pluginAlias": "@faces-sh/cli",
508
- "pluginName": "@faces-sh/cli",
509
- "pluginType": "core",
510
- "strict": true,
511
- "enableJsonFlag": true,
512
- "isESM": true,
513
- "relativePath": [
514
- "dist",
515
- "commands",
516
- "account",
517
- "preferences.js"
518
- ]
519
- },
520
- "account:state": {
521
- "aliases": [],
522
- "args": {},
523
- "description": "Your plan, balance and onboarding.",
524
- "flags": {
525
- "json": {
526
- "description": "Format output as json.",
527
- "helpGroup": "GLOBAL",
528
- "name": "json",
529
- "allowNo": false,
530
- "type": "boolean"
531
- },
532
- "base-url": {
533
- "description": "API base URL",
534
- "env": "FACES_BASE_URL",
535
- "name": "base-url",
536
- "hasDynamicHelp": false,
537
- "multiple": false,
538
- "type": "option"
539
- },
540
- "token": {
541
- "description": "JWT bearer token",
542
- "env": "FACES_TOKEN",
543
- "name": "token",
544
- "hasDynamicHelp": false,
545
- "multiple": false,
546
- "type": "option"
547
- },
548
- "api-key": {
549
- "description": "API key",
550
- "env": "FACES_API_KEY",
551
- "name": "api-key",
552
- "hasDynamicHelp": false,
553
- "multiple": false,
554
- "type": "option"
555
- },
556
- "toon": {
557
- "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.",
558
- "exclusive": [
559
- "json"
560
- ],
561
- "name": "toon",
562
- "allowNo": false,
563
- "type": "boolean"
564
- }
565
- },
566
- "hasDynamicHelp": false,
567
- "hiddenAliases": [],
568
- "id": "account:state",
569
- "pluginAlias": "@faces-sh/cli",
570
- "pluginName": "@faces-sh/cli",
571
- "pluginType": "core",
572
- "strict": true,
573
- "enableJsonFlag": true,
574
- "isESM": true,
575
- "relativePath": [
576
- "dist",
577
- "commands",
578
- "account",
579
- "state.js"
580
- ]
581
- },
582
507
  "auth:connect": {
583
508
  "aliases": [],
584
509
  "args": {
@@ -1429,10 +1354,28 @@
1429
1354
  "start.js"
1430
1355
  ]
1431
1356
  },
1432
- "billing:balance": {
1357
+ "account:preferences": {
1433
1358
  "aliases": [],
1434
- "args": {},
1435
- "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
+ ],
1436
1379
  "flags": {
1437
1380
  "json": {
1438
1381
  "description": "Format output as json.",
@@ -1473,11 +1416,17 @@
1473
1416
  "name": "toon",
1474
1417
  "allowNo": false,
1475
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"
1476
1425
  }
1477
1426
  },
1478
1427
  "hasDynamicHelp": false,
1479
1428
  "hiddenAliases": [],
1480
- "id": "billing:balance",
1429
+ "id": "account:preferences",
1481
1430
  "pluginAlias": "@faces-sh/cli",
1482
1431
  "pluginName": "@faces-sh/cli",
1483
1432
  "pluginType": "core",
@@ -1487,16 +1436,14 @@
1487
1436
  "relativePath": [
1488
1437
  "dist",
1489
1438
  "commands",
1490
- "billing",
1491
- "balance.js"
1439
+ "account",
1440
+ "preferences.js"
1492
1441
  ]
1493
1442
  },
1494
- "billing:card-setup": {
1495
- "aliases": [
1496
- "billing:card:add"
1497
- ],
1443
+ "account:state": {
1444
+ "aliases": [],
1498
1445
  "args": {},
1499
- "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.",
1500
1447
  "flags": {
1501
1448
  "json": {
1502
1449
  "description": "Format output as json.",
@@ -1537,17 +1484,11 @@
1537
1484
  "name": "toon",
1538
1485
  "allowNo": false,
1539
1486
  "type": "boolean"
1540
- },
1541
- "default": {
1542
- "description": "Make the new card the default, which renewals and top-ups charge",
1543
- "name": "default",
1544
- "allowNo": true,
1545
- "type": "boolean"
1546
1487
  }
1547
1488
  },
1548
1489
  "hasDynamicHelp": false,
1549
1490
  "hiddenAliases": [],
1550
- "id": "billing:card-setup",
1491
+ "id": "account:state",
1551
1492
  "pluginAlias": "@faces-sh/cli",
1552
1493
  "pluginName": "@faces-sh/cli",
1553
1494
  "pluginType": "core",
@@ -1557,14 +1498,14 @@
1557
1498
  "relativePath": [
1558
1499
  "dist",
1559
1500
  "commands",
1560
- "billing",
1561
- "card-setup.js"
1501
+ "account",
1502
+ "state.js"
1562
1503
  ]
1563
1504
  },
1564
- "billing:cards": {
1505
+ "billing:balance": {
1565
1506
  "aliases": [],
1566
1507
  "args": {},
1567
- "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",
1568
1509
  "flags": {
1569
1510
  "json": {
1570
1511
  "description": "Format output as json.",
@@ -1609,7 +1550,139 @@
1609
1550
  },
1610
1551
  "hasDynamicHelp": false,
1611
1552
  "hiddenAliases": [],
1612
- "id": "billing:cards",
1553
+ "id": "billing:balance",
1554
+ "pluginAlias": "@faces-sh/cli",
1555
+ "pluginName": "@faces-sh/cli",
1556
+ "pluginType": "core",
1557
+ "strict": true,
1558
+ "enableJsonFlag": true,
1559
+ "isESM": true,
1560
+ "relativePath": [
1561
+ "dist",
1562
+ "commands",
1563
+ "billing",
1564
+ "balance.js"
1565
+ ]
1566
+ },
1567
+ "billing:card-setup": {
1568
+ "aliases": [
1569
+ "billing:card:add"
1570
+ ],
1571
+ "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.",
1573
+ "flags": {
1574
+ "json": {
1575
+ "description": "Format output as json.",
1576
+ "helpGroup": "GLOBAL",
1577
+ "name": "json",
1578
+ "allowNo": false,
1579
+ "type": "boolean"
1580
+ },
1581
+ "base-url": {
1582
+ "description": "API base URL",
1583
+ "env": "FACES_BASE_URL",
1584
+ "name": "base-url",
1585
+ "hasDynamicHelp": false,
1586
+ "multiple": false,
1587
+ "type": "option"
1588
+ },
1589
+ "token": {
1590
+ "description": "JWT bearer token",
1591
+ "env": "FACES_TOKEN",
1592
+ "name": "token",
1593
+ "hasDynamicHelp": false,
1594
+ "multiple": false,
1595
+ "type": "option"
1596
+ },
1597
+ "api-key": {
1598
+ "description": "API key",
1599
+ "env": "FACES_API_KEY",
1600
+ "name": "api-key",
1601
+ "hasDynamicHelp": false,
1602
+ "multiple": false,
1603
+ "type": "option"
1604
+ },
1605
+ "toon": {
1606
+ "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.",
1607
+ "exclusive": [
1608
+ "json"
1609
+ ],
1610
+ "name": "toon",
1611
+ "allowNo": false,
1612
+ "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
+ }
1620
+ },
1621
+ "hasDynamicHelp": false,
1622
+ "hiddenAliases": [],
1623
+ "id": "billing:card-setup",
1624
+ "pluginAlias": "@faces-sh/cli",
1625
+ "pluginName": "@faces-sh/cli",
1626
+ "pluginType": "core",
1627
+ "strict": true,
1628
+ "enableJsonFlag": true,
1629
+ "isESM": true,
1630
+ "relativePath": [
1631
+ "dist",
1632
+ "commands",
1633
+ "billing",
1634
+ "card-setup.js"
1635
+ ]
1636
+ },
1637
+ "billing:cards": {
1638
+ "aliases": [],
1639
+ "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).",
1641
+ "flags": {
1642
+ "json": {
1643
+ "description": "Format output as json.",
1644
+ "helpGroup": "GLOBAL",
1645
+ "name": "json",
1646
+ "allowNo": false,
1647
+ "type": "boolean"
1648
+ },
1649
+ "base-url": {
1650
+ "description": "API base URL",
1651
+ "env": "FACES_BASE_URL",
1652
+ "name": "base-url",
1653
+ "hasDynamicHelp": false,
1654
+ "multiple": false,
1655
+ "type": "option"
1656
+ },
1657
+ "token": {
1658
+ "description": "JWT bearer token",
1659
+ "env": "FACES_TOKEN",
1660
+ "name": "token",
1661
+ "hasDynamicHelp": false,
1662
+ "multiple": false,
1663
+ "type": "option"
1664
+ },
1665
+ "api-key": {
1666
+ "description": "API key",
1667
+ "env": "FACES_API_KEY",
1668
+ "name": "api-key",
1669
+ "hasDynamicHelp": false,
1670
+ "multiple": false,
1671
+ "type": "option"
1672
+ },
1673
+ "toon": {
1674
+ "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.",
1675
+ "exclusive": [
1676
+ "json"
1677
+ ],
1678
+ "name": "toon",
1679
+ "allowNo": false,
1680
+ "type": "boolean"
1681
+ }
1682
+ },
1683
+ "hasDynamicHelp": false,
1684
+ "hiddenAliases": [],
1685
+ "id": "billing:cards",
1613
1686
  "pluginAlias": "@faces-sh/cli",
1614
1687
  "pluginName": "@faces-sh/cli",
1615
1688
  "pluginType": "core",
@@ -2159,14 +2232,15 @@
2159
2232
  "required": false
2160
2233
  }
2161
2234
  },
2162
- "description": "Chat with a face on any supported model. The face's cause steers the model's answer. Routes to the right endpoint from the model catalog. A face named without a model answers on its default model. --show-cause also prints the cause, and --cause-only asks for the cause alone, with no answer. Add --style <medium> to apply a style the face has built, and --session or --compaction to use a session (see faces session:create).",
2235
+ "description": "Chat with a face on any supported model. The face's cause steers the model's answer. Routes to the right endpoint from the model catalog. A face named without a model answers on its default model. --show-cause also prints the cause, and --cause-only asks for the cause alone, with no answer. Add --style <medium> to apply a style the face has built, --conversation to take the turn in a conversation (see faces conversation:create), and --compaction to read a compaction.",
2163
2236
  "examples": [
2164
2237
  "<%= config.bin %> <%= command.id %> socrates -m \"What is virtue?\"",
2165
2238
  "<%= config.bin %> <%= command.id %> alice -m \"Reply to the note below.\" --style email",
2166
2239
  "<%= config.bin %> <%= command.id %> socrates -m \"Should I sign a grant I have not read?\" --show-cause",
2167
2240
  "<%= config.bin %> <%= command.id %> socrates -m \"Should I sign a grant I have not read?\" --cause-only",
2168
2241
  "<%= config.bin %> <%= command.id %> socrates -m \"Can you just sign it?\" --cause \"I will not sign what I have not read.\"",
2169
- "<%= config.bin %> <%= command.id %> alice -m \"So what do I tell them tomorrow?\" --session fs_SESSION_ID",
2242
+ "<%= config.bin %> <%= command.id %> alice -m \"So what do I tell them tomorrow?\" --conversation fs_CONVERSATION_ID",
2243
+ "<%= config.bin %> <%= command.id %> alice -m \"Is this vendor worth a closer look?\" --conversation fs_CONVERSATION_ID --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\"",
2170
2244
  "<%= config.bin %> <%= command.id %> \"(socrates | nietzsche)@claude-sonnet-4-6\" -m \"What is virtue?\"",
2171
2245
  "<%= config.bin %> <%= command.id %> --formula \"socrates | nietzsche\" --llm claude-sonnet-4-6 -m \"What is virtue?\""
2172
2246
  ],
@@ -2288,15 +2362,45 @@
2288
2362
  "multiple": false,
2289
2363
  "type": "option"
2290
2364
  },
2365
+ "conversation": {
2366
+ "description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
2367
+ "name": "conversation",
2368
+ "hasDynamicHelp": false,
2369
+ "multiple": false,
2370
+ "type": "option"
2371
+ },
2372
+ "premise": {
2373
+ "description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
2374
+ "name": "premise",
2375
+ "hasDynamicHelp": false,
2376
+ "multiple": true,
2377
+ "type": "option"
2378
+ },
2379
+ "premise-description": {
2380
+ "dependsOn": [
2381
+ "premise"
2382
+ ],
2383
+ "description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
2384
+ "name": "premise-description",
2385
+ "hasDynamicHelp": false,
2386
+ "multiple": true,
2387
+ "type": "option"
2388
+ },
2389
+ "causes-visible": {
2390
+ "description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
2391
+ "name": "causes-visible",
2392
+ "allowNo": true,
2393
+ "type": "boolean"
2394
+ },
2291
2395
  "session": {
2292
- "description": "Add this turn to a session, by id (from faces session:create). The session must be with this face.",
2396
+ "description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
2293
2397
  "name": "session",
2294
2398
  "hasDynamicHelp": false,
2295
2399
  "multiple": false,
2296
2400
  "type": "option"
2297
2401
  },
2298
2402
  "compaction": {
2299
- "description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of a session with this face.",
2403
+ "description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
2300
2404
  "name": "compaction",
2301
2405
  "hasDynamicHelp": false,
2302
2406
  "multiple": false,
@@ -2457,15 +2561,45 @@
2457
2561
  "multiple": false,
2458
2562
  "type": "option"
2459
2563
  },
2564
+ "conversation": {
2565
+ "description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
2566
+ "name": "conversation",
2567
+ "hasDynamicHelp": false,
2568
+ "multiple": false,
2569
+ "type": "option"
2570
+ },
2571
+ "premise": {
2572
+ "description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
2573
+ "name": "premise",
2574
+ "hasDynamicHelp": false,
2575
+ "multiple": true,
2576
+ "type": "option"
2577
+ },
2578
+ "premise-description": {
2579
+ "dependsOn": [
2580
+ "premise"
2581
+ ],
2582
+ "description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
2583
+ "name": "premise-description",
2584
+ "hasDynamicHelp": false,
2585
+ "multiple": true,
2586
+ "type": "option"
2587
+ },
2588
+ "causes-visible": {
2589
+ "description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
2590
+ "name": "causes-visible",
2591
+ "allowNo": true,
2592
+ "type": "boolean"
2593
+ },
2460
2594
  "session": {
2461
- "description": "Add this turn to a session, by id (from faces session:create). The session must be with this face.",
2595
+ "description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
2462
2596
  "name": "session",
2463
2597
  "hasDynamicHelp": false,
2464
2598
  "multiple": false,
2465
2599
  "type": "option"
2466
2600
  },
2467
2601
  "compaction": {
2468
- "description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of a session with this face.",
2602
+ "description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
2469
2603
  "name": "compaction",
2470
2604
  "hasDynamicHelp": false,
2471
2605
  "multiple": false,
@@ -2618,15 +2752,45 @@
2618
2752
  "multiple": false,
2619
2753
  "type": "option"
2620
2754
  },
2755
+ "conversation": {
2756
+ "description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
2757
+ "name": "conversation",
2758
+ "hasDynamicHelp": false,
2759
+ "multiple": false,
2760
+ "type": "option"
2761
+ },
2762
+ "premise": {
2763
+ "description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
2764
+ "name": "premise",
2765
+ "hasDynamicHelp": false,
2766
+ "multiple": true,
2767
+ "type": "option"
2768
+ },
2769
+ "premise-description": {
2770
+ "dependsOn": [
2771
+ "premise"
2772
+ ],
2773
+ "description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
2774
+ "name": "premise-description",
2775
+ "hasDynamicHelp": false,
2776
+ "multiple": true,
2777
+ "type": "option"
2778
+ },
2779
+ "causes-visible": {
2780
+ "description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
2781
+ "name": "causes-visible",
2782
+ "allowNo": true,
2783
+ "type": "boolean"
2784
+ },
2621
2785
  "session": {
2622
- "description": "Add this turn to a session, by id (from faces session:create). The session must be with this face.",
2786
+ "description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
2623
2787
  "name": "session",
2624
2788
  "hasDynamicHelp": false,
2625
2789
  "multiple": false,
2626
2790
  "type": "option"
2627
2791
  },
2628
2792
  "compaction": {
2629
- "description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of a session with this face.",
2793
+ "description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
2630
2794
  "name": "compaction",
2631
2795
  "hasDynamicHelp": false,
2632
2796
  "multiple": false,
@@ -2806,15 +2970,45 @@
2806
2970
  "multiple": false,
2807
2971
  "type": "option"
2808
2972
  },
2973
+ "conversation": {
2974
+ "description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face. For this turn only. Only the new message is sent: the conversation holds the rest.",
2975
+ "name": "conversation",
2976
+ "hasDynamicHelp": false,
2977
+ "multiple": false,
2978
+ "type": "option"
2979
+ },
2980
+ "premise": {
2981
+ "description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation. For this turn only. Only the new message is sent: the conversation holds the rest.",
2982
+ "name": "premise",
2983
+ "hasDynamicHelp": false,
2984
+ "multiple": true,
2985
+ "type": "option"
2986
+ },
2987
+ "premise-description": {
2988
+ "dependsOn": [
2989
+ "premise"
2990
+ ],
2991
+ "description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that. For this turn only. Only the new message is sent: the conversation holds the rest.",
2992
+ "name": "premise-description",
2993
+ "hasDynamicHelp": false,
2994
+ "multiple": true,
2995
+ "type": "option"
2996
+ },
2997
+ "causes-visible": {
2998
+ "description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation. For this turn only. Only the new message is sent: the conversation holds the rest.",
2999
+ "name": "causes-visible",
3000
+ "allowNo": true,
3001
+ "type": "boolean"
3002
+ },
2809
3003
  "session": {
2810
- "description": "Add this turn to a session, by id (from faces session:create). The session must be with this face. For this turn only.",
3004
+ "description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face. For this turn only.",
2811
3005
  "name": "session",
2812
3006
  "hasDynamicHelp": false,
2813
3007
  "multiple": false,
2814
3008
  "type": "option"
2815
3009
  },
2816
3010
  "compaction": {
2817
- "description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of a session with this face. For this turn only.",
3011
+ "description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face. For this turn only.",
2818
3012
  "name": "compaction",
2819
3013
  "hasDynamicHelp": false,
2820
3014
  "multiple": false,
@@ -3556,10 +3750,21 @@
3556
3750
  "show.js"
3557
3751
  ]
3558
3752
  },
3559
- "face:attributes": {
3753
+ "conversation:add": {
3560
3754
  "aliases": [],
3561
- "args": {},
3562
- "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.",
3755
+ "args": {
3756
+ "conversation_id": {
3757
+ "description": "Conversation id (from conversation:create)",
3758
+ "name": "conversation_id",
3759
+ "required": true
3760
+ }
3761
+ },
3762
+ "description": "Add your own messages and premises to a conversation, without a face answering. Premises go in first, then messages. A newer value of a key replaces it from here on, and every earlier decision made while that key held a different value is listed, so you can choose which to ask again: nothing is decided again for you. At most 20 at a time. Free.",
3763
+ "examples": [
3764
+ "<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID --premise vendor_certified=false",
3765
+ "<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\"",
3766
+ "<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID -m \"The vendor sent their audit report.\""
3767
+ ],
3563
3768
  "flags": {
3564
3769
  "json": {
3565
3770
  "description": "Format output as json.",
@@ -3600,11 +3805,33 @@
3600
3805
  "name": "toon",
3601
3806
  "allowNo": false,
3602
3807
  "type": "boolean"
3808
+ },
3809
+ "message": {
3810
+ "char": "m",
3811
+ "description": "A message of yours (repeatable, kept in order).",
3812
+ "name": "message",
3813
+ "hasDynamicHelp": false,
3814
+ "multiple": true,
3815
+ "type": "option"
3816
+ },
3817
+ "premise": {
3818
+ "description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description.",
3819
+ "name": "premise",
3820
+ "hasDynamicHelp": false,
3821
+ "multiple": true,
3822
+ "type": "option"
3823
+ },
3824
+ "premise-description": {
3825
+ "description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
3826
+ "name": "premise-description",
3827
+ "hasDynamicHelp": false,
3828
+ "multiple": true,
3829
+ "type": "option"
3603
3830
  }
3604
3831
  },
3605
3832
  "hasDynamicHelp": false,
3606
3833
  "hiddenAliases": [],
3607
- "id": "face:attributes",
3834
+ "id": "conversation:add",
3608
3835
  "pluginAlias": "@faces-sh/cli",
3609
3836
  "pluginName": "@faces-sh/cli",
3610
3837
  "pluginType": "core",
@@ -3614,14 +3841,23 @@
3614
3841
  "relativePath": [
3615
3842
  "dist",
3616
3843
  "commands",
3617
- "face",
3618
- "attributes.js"
3844
+ "conversation",
3845
+ "add.js"
3619
3846
  ]
3620
3847
  },
3621
- "face:create": {
3848
+ "conversation:close": {
3622
3849
  "aliases": [],
3623
- "args": {},
3624
- "description": "Create a new face",
3850
+ "args": {
3851
+ "conversation_id": {
3852
+ "description": "Conversation id (from conversation:create)",
3853
+ "name": "conversation_id",
3854
+ "required": true
3855
+ }
3856
+ },
3857
+ "description": "Close a conversation. A closed conversation takes no more turns and cannot be read or compacted. Its compactions stay usable until they expire. Free.",
3858
+ "examples": [
3859
+ "<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID --yes"
3860
+ ],
3625
3861
  "flags": {
3626
3862
  "json": {
3627
3863
  "description": "Format output as json.",
@@ -3663,92 +3899,16 @@
3663
3899
  "allowNo": false,
3664
3900
  "type": "boolean"
3665
3901
  },
3666
- "name": {
3667
- "description": "Display name",
3668
- "name": "name",
3669
- "required": true,
3670
- "hasDynamicHelp": false,
3671
- "multiple": false,
3672
- "type": "option"
3673
- },
3674
- "alias": {
3675
- "description": "Unique alias slug",
3676
- "name": "alias",
3677
- "required": true,
3678
- "hasDynamicHelp": false,
3679
- "multiple": false,
3680
- "type": "option"
3681
- },
3682
- "description": {
3683
- "description": "Plain-text description / bio (max 1500 chars)",
3684
- "name": "description",
3685
- "hasDynamicHelp": false,
3686
- "multiple": false,
3687
- "type": "option"
3688
- },
3689
- "specialty": {
3690
- "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\")",
3691
- "name": "specialty",
3692
- "hasDynamicHelp": false,
3693
- "multiple": false,
3694
- "type": "option"
3695
- },
3696
- "tag": {
3697
- "description": "Tag label (repeatable, lowercase)",
3698
- "name": "tag",
3699
- "hasDynamicHelp": false,
3700
- "multiple": true,
3701
- "type": "option"
3702
- },
3703
- "default-model": {
3704
- "description": "Default LLM for chat (e.g. gpt-4o-mini, claude-sonnet-4-6)",
3705
- "name": "default-model",
3706
- "hasDynamicHelp": false,
3707
- "multiple": false,
3708
- "type": "option"
3709
- },
3710
- "formula": {
3711
- "description": "Boolean formula over owned concrete face aliases (e.g. \"a | b\", \"(a | b) - c\"). Creates a composite face.",
3712
- "name": "formula",
3713
- "hasDynamicHelp": false,
3714
- "multiple": false,
3715
- "type": "option"
3716
- },
3717
- "attr": {
3718
- "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.",
3719
- "name": "attr",
3720
- "hasDynamicHelp": false,
3721
- "multiple": true,
3722
- "type": "option"
3723
- },
3724
- "tool": {
3725
- "description": "Tool name to enable (repeatable). The server stores any name without checking it, so spell it as the tool expects.",
3726
- "name": "tool",
3727
- "hasDynamicHelp": false,
3728
- "multiple": true,
3729
- "type": "option"
3730
- },
3731
- "profile-addendum": {
3732
- "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.",
3733
- "name": "profile-addendum",
3734
- "hasDynamicHelp": false,
3735
- "multiple": false,
3736
- "type": "option"
3737
- },
3738
- "profile-addendum-file": {
3739
- "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.",
3740
- "exclusive": [
3741
- "profile-addendum"
3742
- ],
3743
- "name": "profile-addendum-file",
3744
- "hasDynamicHelp": false,
3745
- "multiple": false,
3746
- "type": "option"
3902
+ "yes": {
3903
+ "description": "Skip confirmation",
3904
+ "name": "yes",
3905
+ "allowNo": false,
3906
+ "type": "boolean"
3747
3907
  }
3748
3908
  },
3749
3909
  "hasDynamicHelp": false,
3750
3910
  "hiddenAliases": [],
3751
- "id": "face:create",
3911
+ "id": "conversation:close",
3752
3912
  "pluginAlias": "@faces-sh/cli",
3753
3913
  "pluginName": "@faces-sh/cli",
3754
3914
  "pluginType": "core",
@@ -3758,20 +3918,29 @@
3758
3918
  "relativePath": [
3759
3919
  "dist",
3760
3920
  "commands",
3761
- "face",
3762
- "create.js"
3921
+ "conversation",
3922
+ "close.js"
3763
3923
  ]
3764
3924
  },
3765
- "face:delete": {
3925
+ "conversation:compact": {
3766
3926
  "aliases": [],
3767
3927
  "args": {
3768
- "face_id": {
3769
- "description": "Face alias",
3770
- "name": "face_id",
3928
+ "conversation_id": {
3929
+ "description": "Conversation id (from conversation:create)",
3930
+ "name": "conversation_id",
3771
3931
  "required": true
3932
+ },
3933
+ "face": {
3934
+ "description": "The face to compact, alone (no @model). Needed when the conversation takes any face; a conversation opened with one face compacts that face.",
3935
+ "name": "face",
3936
+ "required": false
3772
3937
  }
3773
3938
  },
3774
- "description": "Delete a face permanently",
3939
+ "description": "Compact a conversation: a summary of one face's position over the conversation, in the face's own terms, stored under a compaction id. Pass that id with --compaction on a later request with the same face. A conversation that takes any face needs the face named. Billed at the cause rate on the tokens it reads and writes; on Connect and Pro it counts against the cause allowance. A failed compaction is not charged. A compaction expires 30 days after it is written.",
3940
+ "examples": [
3941
+ "<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID",
3942
+ "<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID alice --json"
3943
+ ],
3775
3944
  "flags": {
3776
3945
  "json": {
3777
3946
  "description": "Format output as json.",
@@ -3812,17 +3981,11 @@
3812
3981
  "name": "toon",
3813
3982
  "allowNo": false,
3814
3983
  "type": "boolean"
3815
- },
3816
- "yes": {
3817
- "description": "Skip confirmation",
3818
- "name": "yes",
3819
- "allowNo": false,
3820
- "type": "boolean"
3821
3984
  }
3822
3985
  },
3823
3986
  "hasDynamicHelp": false,
3824
3987
  "hiddenAliases": [],
3825
- "id": "face:delete",
3988
+ "id": "conversation:compact",
3826
3989
  "pluginAlias": "@faces-sh/cli",
3827
3990
  "pluginName": "@faces-sh/cli",
3828
3991
  "pluginType": "core",
@@ -3832,14 +3995,26 @@
3832
3995
  "relativePath": [
3833
3996
  "dist",
3834
3997
  "commands",
3835
- "face",
3836
- "delete.js"
3998
+ "conversation",
3999
+ "compact.js"
3837
4000
  ]
3838
4001
  },
3839
- "face:diff": {
4002
+ "conversation:create": {
3840
4003
  "aliases": [],
3841
- "args": {},
3842
- "description": "Compare owned faces pairwise: one overall similarity score for each pair. Every face named needs something compiled.",
4004
+ "args": {
4005
+ "face": {
4006
+ "description": "The face alone: an alias, owner:alias, or a composite such as \"(a | b)\". No @model. Leave it out for a conversation that takes any of your faces.",
4007
+ "name": "face",
4008
+ "required": false
4009
+ }
4010
+ },
4011
+ "description": "Start a conversation. The server keeps the whole conversation: your messages, each face's reply with its cause, decisions, and premises (named facts you declare). Pass its id with --conversation on chat, causes or decide and send only what is new. Name a face and the conversation takes that face only; leave it out and it takes any of your faces. Opening one is free; each turn costs what it costs without one. A conversation expires 30 days after it was last used.",
4012
+ "examples": [
4013
+ "<%= config.bin %> <%= command.id %> alice",
4014
+ "<%= config.bin %> <%= command.id %>",
4015
+ "<%= config.bin %> <%= command.id %> --no-causes-visible --json",
4016
+ "<%= config.bin %> <%= command.id %> alice --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\""
4017
+ ],
3843
4018
  "flags": {
3844
4019
  "json": {
3845
4020
  "description": "Format output as json.",
@@ -3881,10 +4056,30 @@
3881
4056
  "allowNo": false,
3882
4057
  "type": "boolean"
3883
4058
  },
3884
- "face": {
3885
- "description": "Face alias to include (repeatable, min 2)",
3886
- "name": "face",
3887
- "required": true,
4059
+ "causes-visible": {
4060
+ "description": "Whether each face reads the other faces' causes. On by default; --no-causes-visible keeps each face to its own. Matters only in a conversation with several faces.",
4061
+ "name": "causes-visible",
4062
+ "allowNo": true,
4063
+ "type": "boolean"
4064
+ },
4065
+ "message": {
4066
+ "char": "m",
4067
+ "description": "A first message of yours (repeatable, kept in order).",
4068
+ "name": "message",
4069
+ "hasDynamicHelp": false,
4070
+ "multiple": true,
4071
+ "type": "option"
4072
+ },
4073
+ "premise": {
4074
+ "description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description.",
4075
+ "name": "premise",
4076
+ "hasDynamicHelp": false,
4077
+ "multiple": true,
4078
+ "type": "option"
4079
+ },
4080
+ "premise-description": {
4081
+ "description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
4082
+ "name": "premise-description",
3888
4083
  "hasDynamicHelp": false,
3889
4084
  "multiple": true,
3890
4085
  "type": "option"
@@ -3892,7 +4087,7 @@
3892
4087
  },
3893
4088
  "hasDynamicHelp": false,
3894
4089
  "hiddenAliases": [],
3895
- "id": "face:diff",
4090
+ "id": "conversation:create",
3896
4091
  "pluginAlias": "@faces-sh/cli",
3897
4092
  "pluginName": "@faces-sh/cli",
3898
4093
  "pluginType": "core",
@@ -3902,20 +4097,23 @@
3902
4097
  "relativePath": [
3903
4098
  "dist",
3904
4099
  "commands",
3905
- "face",
3906
- "diff.js"
4100
+ "conversation",
4101
+ "create.js"
3907
4102
  ]
3908
4103
  },
3909
- "face:edit": {
4104
+ "conversation:get": {
3910
4105
  "aliases": [],
3911
4106
  "args": {
3912
- "face_id": {
3913
- "description": "Face alias",
3914
- "name": "face_id",
4107
+ "conversation_id": {
4108
+ "description": "Conversation id (from conversation:create)",
4109
+ "name": "conversation_id",
3915
4110
  "required": true
3916
4111
  }
3917
4112
  },
3918
- "description": "Edit a face's metadata",
4113
+ "description": "Read a conversation: its face (or any), status, how many turns and items it holds, whether faces read each other's causes, and when it expires. Free. See its items with faces conversation:items.",
4114
+ "examples": [
4115
+ "<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID"
4116
+ ],
3919
4117
  "flags": {
3920
4118
  "json": {
3921
4119
  "description": "Format output as json.",
@@ -3956,94 +4154,11 @@
3956
4154
  "name": "toon",
3957
4155
  "allowNo": false,
3958
4156
  "type": "boolean"
3959
- },
3960
- "name": {
3961
- "description": "New display name",
3962
- "name": "name",
3963
- "hasDynamicHelp": false,
3964
- "multiple": false,
3965
- "type": "option"
3966
- },
3967
- "description": {
3968
- "description": "Plain-text description / bio (max 1500 chars)",
3969
- "name": "description",
3970
- "hasDynamicHelp": false,
3971
- "multiple": false,
3972
- "type": "option"
3973
- },
3974
- "specialty": {
3975
- "description": "Replace the short line saying what this face is for. Pass an empty string to remove it.",
3976
- "name": "specialty",
3977
- "hasDynamicHelp": false,
3978
- "multiple": false,
3979
- "type": "option"
3980
- },
3981
- "tag": {
3982
- "description": "Replace all tags (repeatable, lowercase)",
3983
- "name": "tag",
3984
- "hasDynamicHelp": false,
3985
- "multiple": true,
3986
- "type": "option"
3987
- },
3988
- "default-model": {
3989
- "description": "Default LLM for chat (e.g. gpt-4o-mini, claude-sonnet-4-6)",
3990
- "name": "default-model",
3991
- "hasDynamicHelp": false,
3992
- "multiple": false,
3993
- "type": "option"
3994
- },
3995
- "formula": {
3996
- "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.",
3997
- "name": "formula",
3998
- "hasDynamicHelp": false,
3999
- "multiple": false,
4000
- "type": "option"
4001
- },
4002
- "attr": {
4003
- "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.",
4004
- "name": "attr",
4005
- "hasDynamicHelp": false,
4006
- "multiple": true,
4007
- "type": "option"
4008
- },
4009
- "tool": {
4010
- "description": "Tool names to set (replaces list, repeatable). The server stores any name without checking it, so spell it as the tool expects.",
4011
- "name": "tool",
4012
- "hasDynamicHelp": false,
4013
- "multiple": true,
4014
- "type": "option"
4015
- },
4016
- "profile-addendum": {
4017
- "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.",
4018
- "name": "profile-addendum",
4019
- "hasDynamicHelp": false,
4020
- "multiple": false,
4021
- "type": "option"
4022
- },
4023
- "profile-addendum-file": {
4024
- "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.",
4025
- "exclusive": [
4026
- "profile-addendum"
4027
- ],
4028
- "name": "profile-addendum-file",
4029
- "hasDynamicHelp": false,
4030
- "multiple": false,
4031
- "type": "option"
4032
- },
4033
- "clear-profile-addendum": {
4034
- "description": "Remove the per-face system prompt.",
4035
- "exclusive": [
4036
- "profile-addendum",
4037
- "profile-addendum-file"
4038
- ],
4039
- "name": "clear-profile-addendum",
4040
- "allowNo": false,
4041
- "type": "boolean"
4042
4157
  }
4043
4158
  },
4044
4159
  "hasDynamicHelp": false,
4045
4160
  "hiddenAliases": [],
4046
- "id": "face:edit",
4161
+ "id": "conversation:get",
4047
4162
  "pluginAlias": "@faces-sh/cli",
4048
4163
  "pluginName": "@faces-sh/cli",
4049
4164
  "pluginType": "core",
@@ -4053,20 +4168,24 @@
4053
4168
  "relativePath": [
4054
4169
  "dist",
4055
4170
  "commands",
4056
- "face",
4057
- "edit.js"
4171
+ "conversation",
4172
+ "get.js"
4058
4173
  ]
4059
4174
  },
4060
- "face:get": {
4175
+ "conversation:items": {
4061
4176
  "aliases": [],
4062
4177
  "args": {
4063
- "face_id": {
4064
- "description": "Face alias, or owner:alias for a face published by or shared from another account",
4065
- "name": "face_id",
4178
+ "conversation_id": {
4179
+ "description": "Conversation id (from conversation:create)",
4180
+ "name": "conversation_id",
4066
4181
  "required": true
4067
4182
  }
4068
4183
  },
4069
- "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.",
4184
+ "description": "List a conversation's items in order: your messages, each face's reply with its cause, decisions with their choice and cause, and premises. Ends with the premises in force now. Free.",
4185
+ "examples": [
4186
+ "<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID",
4187
+ "<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID --json"
4188
+ ],
4070
4189
  "flags": {
4071
4190
  "json": {
4072
4191
  "description": "Format output as json.",
@@ -4107,24 +4226,11 @@
4107
4226
  "name": "toon",
4108
4227
  "allowNo": false,
4109
4228
  "type": "boolean"
4110
- },
4111
- "include": {
4112
- "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.",
4113
- "name": "include",
4114
- "hasDynamicHelp": false,
4115
- "multiple": false,
4116
- "type": "option"
4117
- },
4118
- "full": {
4119
- "description": "Print the full profile_addendum instead of a truncated preview",
4120
- "name": "full",
4121
- "allowNo": false,
4122
- "type": "boolean"
4123
4229
  }
4124
4230
  },
4125
4231
  "hasDynamicHelp": false,
4126
4232
  "hiddenAliases": [],
4127
- "id": "face:get",
4233
+ "id": "conversation:items",
4128
4234
  "pluginAlias": "@faces-sh/cli",
4129
4235
  "pluginName": "@faces-sh/cli",
4130
4236
  "pluginType": "core",
@@ -4134,23 +4240,26 @@
4134
4240
  "relativePath": [
4135
4241
  "dist",
4136
4242
  "commands",
4137
- "face",
4138
- "get.js"
4243
+ "conversation",
4244
+ "items.js"
4139
4245
  ]
4140
4246
  },
4141
- "face:groups": {
4247
+ "fidelity:get": {
4142
4248
  "aliases": [],
4143
4249
  "args": {
4144
- "alias": {
4145
- "description": "Face alias",
4146
- "name": "alias",
4250
+ "run_id": {
4251
+ "description": "Fidelity run id",
4252
+ "name": "run_id",
4147
4253
  "required": true
4148
4254
  }
4149
4255
  },
4150
- "description": "Set a face's group memberships (replaces all)",
4151
- "flags": {
4152
- "json": {
4153
- "description": "Format output as json.",
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
+ ],
4260
+ "flags": {
4261
+ "json": {
4262
+ "description": "Format output as json.",
4154
4263
  "helpGroup": "GLOBAL",
4155
4264
  "name": "json",
4156
4265
  "allowNo": false,
@@ -4188,19 +4297,11 @@
4188
4297
  "name": "toon",
4189
4298
  "allowNo": false,
4190
4299
  "type": "boolean"
4191
- },
4192
- "group": {
4193
- "description": "Group ID (repeatable, replaces all memberships)",
4194
- "name": "group",
4195
- "required": true,
4196
- "hasDynamicHelp": false,
4197
- "multiple": true,
4198
- "type": "option"
4199
4300
  }
4200
4301
  },
4201
4302
  "hasDynamicHelp": false,
4202
4303
  "hiddenAliases": [],
4203
- "id": "face:groups",
4304
+ "id": "fidelity:get",
4204
4305
  "pluginAlias": "@faces-sh/cli",
4205
4306
  "pluginName": "@faces-sh/cli",
4206
4307
  "pluginType": "core",
@@ -4210,14 +4311,33 @@
4210
4311
  "relativePath": [
4211
4312
  "dist",
4212
4313
  "commands",
4213
- "face",
4214
- "groups.js"
4314
+ "fidelity",
4315
+ "get.js"
4215
4316
  ]
4216
4317
  },
4217
- "face:list": {
4318
+ "fidelity:pick": {
4218
4319
  "aliases": [],
4219
- "args": {},
4220
- "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.",
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
+ ],
4221
4341
  "flags": {
4222
4342
  "json": {
4223
4343
  "description": "Format output as json.",
@@ -4259,82 +4379,26 @@
4259
4379
  "allowNo": false,
4260
4380
  "type": "boolean"
4261
4381
  },
4262
- "tag": {
4263
- "description": "Filter by tag (repeatable, AND logic)",
4264
- "name": "tag",
4265
- "hasDynamicHelp": false,
4266
- "multiple": true,
4267
- "type": "option"
4268
- },
4269
- "group": {
4270
- "description": "Filter by group ID (repeatable, OR logic)",
4271
- "name": "group",
4272
- "hasDynamicHelp": false,
4273
- "multiple": true,
4274
- "type": "option"
4275
- },
4276
- "include": {
4277
- "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.",
4278
- "name": "include",
4279
- "hasDynamicHelp": false,
4280
- "multiple": false,
4281
- "type": "option"
4282
- },
4283
- "public": {
4284
- "description": "Include published faces from other accounts (open to everybody)",
4285
- "name": "public",
4286
- "allowNo": false,
4287
- "type": "boolean"
4288
- },
4289
- "has-style": {
4290
- "description": "Show only faces with a built style",
4291
- "name": "has-style",
4292
- "allowNo": false,
4293
- "type": "boolean"
4294
- },
4295
- "shared": {
4296
- "description": "Include faces other accounts have shared with YOU in particular",
4297
- "name": "shared",
4298
- "allowNo": false,
4299
- "type": "boolean"
4300
- },
4301
- "system": {
4302
- "description": "Show only the curated system faces (published faces owned by 'head')",
4303
- "name": "system",
4304
- "allowNo": false,
4305
- "type": "boolean"
4306
- },
4307
- "from-users": {
4308
- "description": "Only published faces from these owners (repeatable/comma-separated)",
4309
- "name": "from-users",
4310
- "hasDynamicHelp": false,
4311
- "multiple": true,
4312
- "type": "option"
4313
- },
4314
- "not-from-users": {
4315
- "description": "Exclude published faces from these owners (repeatable/comma-separated)",
4316
- "name": "not-from-users",
4317
- "hasDynamicHelp": false,
4318
- "multiple": true,
4319
- "type": "option"
4320
- },
4321
- "sort": {
4322
- "description": "What to order by: created, alias, relevance or usage. relevance ranks by how well a face matches --search, so it needs one.",
4323
- "name": "sort",
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",
4324
4388
  "hasDynamicHelp": false,
4325
4389
  "multiple": false,
4326
4390
  "type": "option"
4327
4391
  },
4328
- "order": {
4329
- "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.",
4330
- "name": "order",
4392
+ "correction-file": {
4393
+ "description": "Read the correction from a file",
4394
+ "name": "correction-file",
4331
4395
  "hasDynamicHelp": false,
4332
4396
  "multiple": false,
4333
4397
  "type": "option"
4334
4398
  },
4335
- "search": {
4336
- "description": "Only faces whose alias, name or description matches this text",
4337
- "name": "search",
4399
+ "turn": {
4400
+ "description": "The turn to pick for (default: the open one)",
4401
+ "name": "turn",
4338
4402
  "hasDynamicHelp": false,
4339
4403
  "multiple": false,
4340
4404
  "type": "option"
@@ -4342,7 +4406,7 @@
4342
4406
  },
4343
4407
  "hasDynamicHelp": false,
4344
4408
  "hiddenAliases": [],
4345
- "id": "face:list",
4409
+ "id": "fidelity:pick",
4346
4410
  "pluginAlias": "@faces-sh/cli",
4347
4411
  "pluginName": "@faces-sh/cli",
4348
4412
  "pluginType": "core",
@@ -4352,22 +4416,23 @@
4352
4416
  "relativePath": [
4353
4417
  "dist",
4354
4418
  "commands",
4355
- "face",
4356
- "list.js"
4419
+ "fidelity",
4420
+ "pick.js"
4357
4421
  ]
4358
4422
  },
4359
- "face:lock": {
4423
+ "fidelity:run": {
4360
4424
  "aliases": [],
4361
4425
  "args": {
4362
- "face_id": {
4363
- "description": "Face alias",
4364
- "name": "face_id",
4426
+ "alias": {
4427
+ "description": "Alias of a face you own",
4428
+ "name": "alias",
4365
4429
  "required": true
4366
4430
  }
4367
4431
  },
4368
- "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.",
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.",
4369
4433
  "examples": [
4370
- "<%= config.bin %> <%= command.id %> socrates"
4434
+ "<%= config.bin %> <%= command.id %> alice",
4435
+ "<%= config.bin %> <%= command.id %> alice --run <run>"
4371
4436
  ],
4372
4437
  "flags": {
4373
4438
  "json": {
@@ -4409,11 +4474,36 @@
4409
4474
  "name": "toon",
4410
4475
  "allowNo": false,
4411
4476
  "type": "boolean"
4477
+ },
4478
+ "competitor": {
4479
+ "description": "The chat model the face is compared with (default: the cheapest Codex-eligible chat model)",
4480
+ "name": "competitor",
4481
+ "hasDynamicHelp": false,
4482
+ "multiple": false,
4483
+ "type": "option"
4484
+ },
4485
+ "model": {
4486
+ "description": "The model the face answers on (default: its own default model)",
4487
+ "name": "model",
4488
+ "hasDynamicHelp": false,
4489
+ "multiple": false,
4490
+ "type": "option"
4491
+ },
4492
+ "run": {
4493
+ "description": "Resume this run instead of starting one",
4494
+ "exclusive": [
4495
+ "competitor",
4496
+ "model"
4497
+ ],
4498
+ "name": "run",
4499
+ "hasDynamicHelp": false,
4500
+ "multiple": false,
4501
+ "type": "option"
4412
4502
  }
4413
4503
  },
4414
4504
  "hasDynamicHelp": false,
4415
4505
  "hiddenAliases": [],
4416
- "id": "face:lock",
4506
+ "id": "fidelity:run",
4417
4507
  "pluginAlias": "@faces-sh/cli",
4418
4508
  "pluginName": "@faces-sh/cli",
4419
4509
  "pluginType": "core",
@@ -4423,20 +4513,23 @@
4423
4513
  "relativePath": [
4424
4514
  "dist",
4425
4515
  "commands",
4426
- "face",
4427
- "lock.js"
4516
+ "fidelity",
4517
+ "run.js"
4428
4518
  ]
4429
4519
  },
4430
- "face:neighbors": {
4520
+ "fidelity:save-thread": {
4431
4521
  "aliases": [],
4432
4522
  "args": {
4433
- "face_id": {
4434
- "description": "Face alias, or owner:alias for a face published by or shared from another account",
4435
- "name": "face_id",
4523
+ "run_id": {
4524
+ "description": "Fidelity run id",
4525
+ "name": "run_id",
4436
4526
  "required": true
4437
4527
  }
4438
4528
  },
4439
- "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.",
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
+ ],
4440
4533
  "flags": {
4441
4534
  "json": {
4442
4535
  "description": "Format output as json.",
@@ -4477,31 +4570,11 @@
4477
4570
  "name": "toon",
4478
4571
  "allowNo": false,
4479
4572
  "type": "boolean"
4480
- },
4481
- "k": {
4482
- "description": "Number of results (1-20)",
4483
- "name": "k",
4484
- "default": 5,
4485
- "hasDynamicHelp": false,
4486
- "multiple": false,
4487
- "type": "option"
4488
- },
4489
- "direction": {
4490
- "description": "nearest (most similar) or furthest (most dissimilar)",
4491
- "name": "direction",
4492
- "default": "nearest",
4493
- "hasDynamicHelp": false,
4494
- "multiple": false,
4495
- "options": [
4496
- "nearest",
4497
- "furthest"
4498
- ],
4499
- "type": "option"
4500
4573
  }
4501
4574
  },
4502
4575
  "hasDynamicHelp": false,
4503
4576
  "hiddenAliases": [],
4504
- "id": "face:neighbors",
4577
+ "id": "fidelity:save-thread",
4505
4578
  "pluginAlias": "@faces-sh/cli",
4506
4579
  "pluginName": "@faces-sh/cli",
4507
4580
  "pluginType": "core",
@@ -4511,22 +4584,23 @@
4511
4584
  "relativePath": [
4512
4585
  "dist",
4513
4586
  "commands",
4514
- "face",
4515
- "neighbors.js"
4587
+ "fidelity",
4588
+ "save-thread.js"
4516
4589
  ]
4517
4590
  },
4518
- "face:publish": {
4591
+ "fidelity:start": {
4519
4592
  "aliases": [],
4520
4593
  "args": {
4521
4594
  "alias": {
4522
- "description": "Face alias",
4595
+ "description": "Alias of a face you own",
4523
4596
  "name": "alias",
4524
4597
  "required": true
4525
4598
  }
4526
4599
  },
4527
- "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.",
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.",
4528
4601
  "examples": [
4529
- "<%= config.bin %> <%= command.id %> alice --yes"
4602
+ "<%= config.bin %> <%= command.id %> alice",
4603
+ "<%= config.bin %> <%= command.id %> alice --competitor <model>"
4530
4604
  ],
4531
4605
  "flags": {
4532
4606
  "json": {
@@ -4569,16 +4643,24 @@
4569
4643
  "allowNo": false,
4570
4644
  "type": "boolean"
4571
4645
  },
4572
- "yes": {
4573
- "description": "Skip confirmation",
4574
- "name": "yes",
4575
- "allowNo": false,
4576
- "type": "boolean"
4646
+ "competitor": {
4647
+ "description": "The chat model the face is compared with (default: the cheapest Codex-eligible chat model)",
4648
+ "name": "competitor",
4649
+ "hasDynamicHelp": false,
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,
4658
+ "type": "option"
4577
4659
  }
4578
4660
  },
4579
4661
  "hasDynamicHelp": false,
4580
4662
  "hiddenAliases": [],
4581
- "id": "face:publish",
4663
+ "id": "fidelity:start",
4582
4664
  "pluginAlias": "@faces-sh/cli",
4583
4665
  "pluginName": "@faces-sh/cli",
4584
4666
  "pluginType": "core",
@@ -4588,26 +4670,610 @@
4588
4670
  "relativePath": [
4589
4671
  "dist",
4590
4672
  "commands",
4591
- "face",
4592
- "publish.js"
4673
+ "fidelity",
4674
+ "start.js"
4593
4675
  ]
4594
4676
  },
4595
- "face:share": {
4677
+ "fidelity:turn": {
4596
4678
  "aliases": [],
4597
4679
  "args": {
4598
- "alias": {
4599
- "description": "Face alias",
4600
- "name": "alias",
4680
+ "run_id": {
4681
+ "description": "Fidelity run id, from faces fidelity:start",
4682
+ "name": "run_id",
4683
+ "required": true
4684
+ }
4685
+ },
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
+ ],
4690
+ "flags": {
4691
+ "json": {
4692
+ "description": "Format output as json.",
4693
+ "helpGroup": "GLOBAL",
4694
+ "name": "json",
4695
+ "allowNo": false,
4696
+ "type": "boolean"
4697
+ },
4698
+ "base-url": {
4699
+ "description": "API base URL",
4700
+ "env": "FACES_BASE_URL",
4701
+ "name": "base-url",
4702
+ "hasDynamicHelp": false,
4703
+ "multiple": false,
4704
+ "type": "option"
4705
+ },
4706
+ "token": {
4707
+ "description": "JWT bearer token",
4708
+ "env": "FACES_TOKEN",
4709
+ "name": "token",
4710
+ "hasDynamicHelp": false,
4711
+ "multiple": false,
4712
+ "type": "option"
4713
+ },
4714
+ "api-key": {
4715
+ "description": "API key",
4716
+ "env": "FACES_API_KEY",
4717
+ "name": "api-key",
4718
+ "hasDynamicHelp": false,
4719
+ "multiple": false,
4720
+ "type": "option"
4721
+ },
4722
+ "toon": {
4723
+ "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.",
4724
+ "exclusive": [
4725
+ "json"
4726
+ ],
4727
+ "name": "toon",
4728
+ "allowNo": false,
4729
+ "type": "boolean"
4730
+ },
4731
+ "message": {
4732
+ "char": "m",
4733
+ "description": "Your message for this turn",
4734
+ "exclusive": [
4735
+ "file"
4736
+ ],
4737
+ "name": "message",
4738
+ "hasDynamicHelp": false,
4739
+ "multiple": false,
4740
+ "type": "option"
4741
+ },
4742
+ "file": {
4743
+ "description": "Read the message from a file",
4744
+ "name": "file",
4745
+ "hasDynamicHelp": false,
4746
+ "multiple": false,
4747
+ "type": "option"
4748
+ }
4749
+ },
4750
+ "hasDynamicHelp": false,
4751
+ "hiddenAliases": [],
4752
+ "id": "fidelity:turn",
4753
+ "pluginAlias": "@faces-sh/cli",
4754
+ "pluginName": "@faces-sh/cli",
4755
+ "pluginType": "core",
4756
+ "strict": true,
4757
+ "enableJsonFlag": true,
4758
+ "isESM": true,
4759
+ "relativePath": [
4760
+ "dist",
4761
+ "commands",
4762
+ "fidelity",
4763
+ "turn.js"
4764
+ ]
4765
+ },
4766
+ "face:attributes": {
4767
+ "aliases": [],
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.",
4770
+ "flags": {
4771
+ "json": {
4772
+ "description": "Format output as json.",
4773
+ "helpGroup": "GLOBAL",
4774
+ "name": "json",
4775
+ "allowNo": false,
4776
+ "type": "boolean"
4777
+ },
4778
+ "base-url": {
4779
+ "description": "API base URL",
4780
+ "env": "FACES_BASE_URL",
4781
+ "name": "base-url",
4782
+ "hasDynamicHelp": false,
4783
+ "multiple": false,
4784
+ "type": "option"
4785
+ },
4786
+ "token": {
4787
+ "description": "JWT bearer token",
4788
+ "env": "FACES_TOKEN",
4789
+ "name": "token",
4790
+ "hasDynamicHelp": false,
4791
+ "multiple": false,
4792
+ "type": "option"
4793
+ },
4794
+ "api-key": {
4795
+ "description": "API key",
4796
+ "env": "FACES_API_KEY",
4797
+ "name": "api-key",
4798
+ "hasDynamicHelp": false,
4799
+ "multiple": false,
4800
+ "type": "option"
4801
+ },
4802
+ "toon": {
4803
+ "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.",
4804
+ "exclusive": [
4805
+ "json"
4806
+ ],
4807
+ "name": "toon",
4808
+ "allowNo": false,
4809
+ "type": "boolean"
4810
+ }
4811
+ },
4812
+ "hasDynamicHelp": false,
4813
+ "hiddenAliases": [],
4814
+ "id": "face:attributes",
4815
+ "pluginAlias": "@faces-sh/cli",
4816
+ "pluginName": "@faces-sh/cli",
4817
+ "pluginType": "core",
4818
+ "strict": true,
4819
+ "enableJsonFlag": true,
4820
+ "isESM": true,
4821
+ "relativePath": [
4822
+ "dist",
4823
+ "commands",
4824
+ "face",
4825
+ "attributes.js"
4826
+ ]
4827
+ },
4828
+ "face:create": {
4829
+ "aliases": [],
4830
+ "args": {},
4831
+ "description": "Create a new face",
4832
+ "flags": {
4833
+ "json": {
4834
+ "description": "Format output as json.",
4835
+ "helpGroup": "GLOBAL",
4836
+ "name": "json",
4837
+ "allowNo": false,
4838
+ "type": "boolean"
4839
+ },
4840
+ "base-url": {
4841
+ "description": "API base URL",
4842
+ "env": "FACES_BASE_URL",
4843
+ "name": "base-url",
4844
+ "hasDynamicHelp": false,
4845
+ "multiple": false,
4846
+ "type": "option"
4847
+ },
4848
+ "token": {
4849
+ "description": "JWT bearer token",
4850
+ "env": "FACES_TOKEN",
4851
+ "name": "token",
4852
+ "hasDynamicHelp": false,
4853
+ "multiple": false,
4854
+ "type": "option"
4855
+ },
4856
+ "api-key": {
4857
+ "description": "API key",
4858
+ "env": "FACES_API_KEY",
4859
+ "name": "api-key",
4860
+ "hasDynamicHelp": false,
4861
+ "multiple": false,
4862
+ "type": "option"
4863
+ },
4864
+ "toon": {
4865
+ "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.",
4866
+ "exclusive": [
4867
+ "json"
4868
+ ],
4869
+ "name": "toon",
4870
+ "allowNo": false,
4871
+ "type": "boolean"
4872
+ },
4873
+ "name": {
4874
+ "description": "Display name",
4875
+ "name": "name",
4876
+ "required": true,
4877
+ "hasDynamicHelp": false,
4878
+ "multiple": false,
4879
+ "type": "option"
4880
+ },
4881
+ "alias": {
4882
+ "description": "Unique alias slug",
4883
+ "name": "alias",
4884
+ "required": true,
4885
+ "hasDynamicHelp": false,
4886
+ "multiple": false,
4887
+ "type": "option"
4888
+ },
4889
+ "description": {
4890
+ "description": "Plain-text description / bio (max 1500 chars)",
4891
+ "name": "description",
4892
+ "hasDynamicHelp": false,
4893
+ "multiple": false,
4894
+ "type": "option"
4895
+ },
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",
4899
+ "hasDynamicHelp": false,
4900
+ "multiple": false,
4901
+ "type": "option"
4902
+ },
4903
+ "tag": {
4904
+ "description": "Tag label (repeatable, lowercase)",
4905
+ "name": "tag",
4906
+ "hasDynamicHelp": false,
4907
+ "multiple": true,
4908
+ "type": "option"
4909
+ },
4910
+ "default-model": {
4911
+ "description": "Default LLM for chat (e.g. gpt-4o-mini, claude-sonnet-4-6)",
4912
+ "name": "default-model",
4913
+ "hasDynamicHelp": false,
4914
+ "multiple": false,
4915
+ "type": "option"
4916
+ },
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",
4920
+ "hasDynamicHelp": false,
4921
+ "multiple": false,
4922
+ "type": "option"
4923
+ },
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",
4927
+ "hasDynamicHelp": false,
4928
+ "multiple": true,
4929
+ "type": "option"
4930
+ },
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",
4934
+ "hasDynamicHelp": false,
4935
+ "multiple": true,
4936
+ "type": "option"
4937
+ },
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",
4941
+ "hasDynamicHelp": false,
4942
+ "multiple": false,
4943
+ "type": "option"
4944
+ },
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",
4951
+ "hasDynamicHelp": false,
4952
+ "multiple": false,
4953
+ "type": "option"
4954
+ }
4955
+ },
4956
+ "hasDynamicHelp": false,
4957
+ "hiddenAliases": [],
4958
+ "id": "face:create",
4959
+ "pluginAlias": "@faces-sh/cli",
4960
+ "pluginName": "@faces-sh/cli",
4961
+ "pluginType": "core",
4962
+ "strict": true,
4963
+ "enableJsonFlag": true,
4964
+ "isESM": true,
4965
+ "relativePath": [
4966
+ "dist",
4967
+ "commands",
4968
+ "face",
4969
+ "create.js"
4970
+ ]
4971
+ },
4972
+ "face:delete": {
4973
+ "aliases": [],
4974
+ "args": {
4975
+ "face_id": {
4976
+ "description": "Face alias",
4977
+ "name": "face_id",
4978
+ "required": true
4979
+ }
4980
+ },
4981
+ "description": "Delete a face permanently",
4982
+ "flags": {
4983
+ "json": {
4984
+ "description": "Format output as json.",
4985
+ "helpGroup": "GLOBAL",
4986
+ "name": "json",
4987
+ "allowNo": false,
4988
+ "type": "boolean"
4989
+ },
4990
+ "base-url": {
4991
+ "description": "API base URL",
4992
+ "env": "FACES_BASE_URL",
4993
+ "name": "base-url",
4994
+ "hasDynamicHelp": false,
4995
+ "multiple": false,
4996
+ "type": "option"
4997
+ },
4998
+ "token": {
4999
+ "description": "JWT bearer token",
5000
+ "env": "FACES_TOKEN",
5001
+ "name": "token",
5002
+ "hasDynamicHelp": false,
5003
+ "multiple": false,
5004
+ "type": "option"
5005
+ },
5006
+ "api-key": {
5007
+ "description": "API key",
5008
+ "env": "FACES_API_KEY",
5009
+ "name": "api-key",
5010
+ "hasDynamicHelp": false,
5011
+ "multiple": false,
5012
+ "type": "option"
5013
+ },
5014
+ "toon": {
5015
+ "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.",
5016
+ "exclusive": [
5017
+ "json"
5018
+ ],
5019
+ "name": "toon",
5020
+ "allowNo": false,
5021
+ "type": "boolean"
5022
+ },
5023
+ "yes": {
5024
+ "description": "Skip confirmation",
5025
+ "name": "yes",
5026
+ "allowNo": false,
5027
+ "type": "boolean"
5028
+ }
5029
+ },
5030
+ "hasDynamicHelp": false,
5031
+ "hiddenAliases": [],
5032
+ "id": "face:delete",
5033
+ "pluginAlias": "@faces-sh/cli",
5034
+ "pluginName": "@faces-sh/cli",
5035
+ "pluginType": "core",
5036
+ "strict": true,
5037
+ "enableJsonFlag": true,
5038
+ "isESM": true,
5039
+ "relativePath": [
5040
+ "dist",
5041
+ "commands",
5042
+ "face",
5043
+ "delete.js"
5044
+ ]
5045
+ },
5046
+ "face:diff": {
5047
+ "aliases": [],
5048
+ "args": {},
5049
+ "description": "Compare owned faces pairwise: one overall similarity score for each pair. Every face named needs something compiled.",
5050
+ "flags": {
5051
+ "json": {
5052
+ "description": "Format output as json.",
5053
+ "helpGroup": "GLOBAL",
5054
+ "name": "json",
5055
+ "allowNo": false,
5056
+ "type": "boolean"
5057
+ },
5058
+ "base-url": {
5059
+ "description": "API base URL",
5060
+ "env": "FACES_BASE_URL",
5061
+ "name": "base-url",
5062
+ "hasDynamicHelp": false,
5063
+ "multiple": false,
5064
+ "type": "option"
5065
+ },
5066
+ "token": {
5067
+ "description": "JWT bearer token",
5068
+ "env": "FACES_TOKEN",
5069
+ "name": "token",
5070
+ "hasDynamicHelp": false,
5071
+ "multiple": false,
5072
+ "type": "option"
5073
+ },
5074
+ "api-key": {
5075
+ "description": "API key",
5076
+ "env": "FACES_API_KEY",
5077
+ "name": "api-key",
5078
+ "hasDynamicHelp": false,
5079
+ "multiple": false,
5080
+ "type": "option"
5081
+ },
5082
+ "toon": {
5083
+ "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.",
5084
+ "exclusive": [
5085
+ "json"
5086
+ ],
5087
+ "name": "toon",
5088
+ "allowNo": false,
5089
+ "type": "boolean"
5090
+ },
5091
+ "face": {
5092
+ "description": "Face alias to include (repeatable, min 2)",
5093
+ "name": "face",
5094
+ "required": true,
5095
+ "hasDynamicHelp": false,
5096
+ "multiple": true,
5097
+ "type": "option"
5098
+ }
5099
+ },
5100
+ "hasDynamicHelp": false,
5101
+ "hiddenAliases": [],
5102
+ "id": "face:diff",
5103
+ "pluginAlias": "@faces-sh/cli",
5104
+ "pluginName": "@faces-sh/cli",
5105
+ "pluginType": "core",
5106
+ "strict": true,
5107
+ "enableJsonFlag": true,
5108
+ "isESM": true,
5109
+ "relativePath": [
5110
+ "dist",
5111
+ "commands",
5112
+ "face",
5113
+ "diff.js"
5114
+ ]
5115
+ },
5116
+ "face:edit": {
5117
+ "aliases": [],
5118
+ "args": {
5119
+ "face_id": {
5120
+ "description": "Face alias",
5121
+ "name": "face_id",
5122
+ "required": true
5123
+ }
5124
+ },
5125
+ "description": "Edit a face's metadata",
5126
+ "flags": {
5127
+ "json": {
5128
+ "description": "Format output as json.",
5129
+ "helpGroup": "GLOBAL",
5130
+ "name": "json",
5131
+ "allowNo": false,
5132
+ "type": "boolean"
5133
+ },
5134
+ "base-url": {
5135
+ "description": "API base URL",
5136
+ "env": "FACES_BASE_URL",
5137
+ "name": "base-url",
5138
+ "hasDynamicHelp": false,
5139
+ "multiple": false,
5140
+ "type": "option"
5141
+ },
5142
+ "token": {
5143
+ "description": "JWT bearer token",
5144
+ "env": "FACES_TOKEN",
5145
+ "name": "token",
5146
+ "hasDynamicHelp": false,
5147
+ "multiple": false,
5148
+ "type": "option"
5149
+ },
5150
+ "api-key": {
5151
+ "description": "API key",
5152
+ "env": "FACES_API_KEY",
5153
+ "name": "api-key",
5154
+ "hasDynamicHelp": false,
5155
+ "multiple": false,
5156
+ "type": "option"
5157
+ },
5158
+ "toon": {
5159
+ "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.",
5160
+ "exclusive": [
5161
+ "json"
5162
+ ],
5163
+ "name": "toon",
5164
+ "allowNo": false,
5165
+ "type": "boolean"
5166
+ },
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",
5247
+ "allowNo": false,
5248
+ "type": "boolean"
5249
+ }
5250
+ },
5251
+ "hasDynamicHelp": false,
5252
+ "hiddenAliases": [],
5253
+ "id": "face:edit",
5254
+ "pluginAlias": "@faces-sh/cli",
5255
+ "pluginName": "@faces-sh/cli",
5256
+ "pluginType": "core",
5257
+ "strict": true,
5258
+ "enableJsonFlag": true,
5259
+ "isESM": true,
5260
+ "relativePath": [
5261
+ "dist",
5262
+ "commands",
5263
+ "face",
5264
+ "edit.js"
5265
+ ]
5266
+ },
5267
+ "face:get": {
5268
+ "aliases": [],
5269
+ "args": {
5270
+ "face_id": {
5271
+ "description": "Face alias, or owner:alias for a face published by or shared from another account",
5272
+ "name": "face_id",
4601
5273
  "required": true
4602
5274
  }
4603
5275
  },
4604
- "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.",
4605
- "examples": [
4606
- "<%= config.bin %> <%= command.id %> alice --list",
4607
- "<%= config.bin %> <%= command.id %> alice --add dana",
4608
- "<%= config.bin %> <%= command.id %> alice --with dana --with sam@example.com",
4609
- "<%= config.bin %> <%= command.id %> alice --none --yes"
4610
- ],
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.",
4611
5277
  "flags": {
4612
5278
  "json": {
4613
5279
  "description": "Format output as json.",
@@ -4649,54 +5315,23 @@
4649
5315
  "allowNo": false,
4650
5316
  "type": "boolean"
4651
5317
  },
4652
- "list": {
4653
- "description": "Show who the face is shared with, and change nothing",
4654
- "name": "list",
4655
- "allowNo": false,
4656
- "type": "boolean"
4657
- },
4658
- "add": {
4659
- "description": "Add an account, keeping everyone already on the list. Username or email (repeatable)",
4660
- "exclusive": [
4661
- "with",
4662
- "none"
4663
- ],
4664
- "name": "add",
4665
- "hasDynamicHelp": false,
4666
- "multiple": true,
4667
- "type": "option"
4668
- },
4669
- "with": {
4670
- "description": "Set the list to exactly these accounts, dropping anyone else (repeatable)",
4671
- "exclusive": [
4672
- "add",
4673
- "none"
4674
- ],
4675
- "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",
4676
5321
  "hasDynamicHelp": false,
4677
- "multiple": true,
5322
+ "multiple": false,
4678
5323
  "type": "option"
4679
5324
  },
4680
- "none": {
4681
- "description": "Revoke everyone",
4682
- "exclusive": [
4683
- "add",
4684
- "with"
4685
- ],
4686
- "name": "none",
4687
- "allowNo": false,
4688
- "type": "boolean"
4689
- },
4690
- "yes": {
4691
- "description": "Skip the confirmation shown when someone would lose access",
4692
- "name": "yes",
5325
+ "full": {
5326
+ "description": "Print the full profile_addendum instead of a truncated preview",
5327
+ "name": "full",
4693
5328
  "allowNo": false,
4694
5329
  "type": "boolean"
4695
5330
  }
4696
5331
  },
4697
5332
  "hasDynamicHelp": false,
4698
5333
  "hiddenAliases": [],
4699
- "id": "face:share",
5334
+ "id": "face:get",
4700
5335
  "pluginAlias": "@faces-sh/cli",
4701
5336
  "pluginName": "@faces-sh/cli",
4702
5337
  "pluginType": "core",
@@ -4707,10 +5342,10 @@
4707
5342
  "dist",
4708
5343
  "commands",
4709
5344
  "face",
4710
- "share.js"
5345
+ "get.js"
4711
5346
  ]
4712
5347
  },
4713
- "face:sources": {
5348
+ "face:groups": {
4714
5349
  "aliases": [],
4715
5350
  "args": {
4716
5351
  "alias": {
@@ -4719,12 +5354,7 @@
4719
5354
  "required": true
4720
5355
  }
4721
5356
  },
4722
- "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.",
4723
- "examples": [
4724
- "<%= config.bin %> <%= command.id %> alice",
4725
- "<%= config.bin %> <%= command.id %> alice --type thread",
4726
- "<%= config.bin %> <%= command.id %> alice --json"
4727
- ],
5357
+ "description": "Set a face's group memberships (replaces all)",
4728
5358
  "flags": {
4729
5359
  "json": {
4730
5360
  "description": "Format output as json.",
@@ -4766,21 +5396,18 @@
4766
5396
  "allowNo": false,
4767
5397
  "type": "boolean"
4768
5398
  },
4769
- "type": {
4770
- "description": "Show only one kind of source",
4771
- "name": "type",
5399
+ "group": {
5400
+ "description": "Group ID (repeatable, replaces all memberships)",
5401
+ "name": "group",
5402
+ "required": true,
4772
5403
  "hasDynamicHelp": false,
4773
- "multiple": false,
4774
- "options": [
4775
- "doc",
4776
- "thread"
4777
- ],
5404
+ "multiple": true,
4778
5405
  "type": "option"
4779
5406
  }
4780
5407
  },
4781
5408
  "hasDynamicHelp": false,
4782
5409
  "hiddenAliases": [],
4783
- "id": "face:sources",
5410
+ "id": "face:groups",
4784
5411
  "pluginAlias": "@faces-sh/cli",
4785
5412
  "pluginName": "@faces-sh/cli",
4786
5413
  "pluginType": "core",
@@ -4791,13 +5418,13 @@
4791
5418
  "dist",
4792
5419
  "commands",
4793
5420
  "face",
4794
- "sources.js"
5421
+ "groups.js"
4795
5422
  ]
4796
5423
  },
4797
- "face:stats": {
5424
+ "face:list": {
4798
5425
  "aliases": [],
4799
5426
  "args": {},
4800
- "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.",
4801
5428
  "flags": {
4802
5429
  "json": {
4803
5430
  "description": "Format output as json.",
@@ -4838,11 +5465,91 @@
4838
5465
  "name": "toon",
4839
5466
  "allowNo": false,
4840
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"
4841
5548
  }
4842
5549
  },
4843
5550
  "hasDynamicHelp": false,
4844
5551
  "hiddenAliases": [],
4845
- "id": "face:stats",
5552
+ "id": "face:list",
4846
5553
  "pluginAlias": "@faces-sh/cli",
4847
5554
  "pluginName": "@faces-sh/cli",
4848
5555
  "pluginType": "core",
@@ -4853,10 +5560,10 @@
4853
5560
  "dist",
4854
5561
  "commands",
4855
5562
  "face",
4856
- "stats.js"
5563
+ "list.js"
4857
5564
  ]
4858
5565
  },
4859
- "face:unlock": {
5566
+ "face:lock": {
4860
5567
  "aliases": [],
4861
5568
  "args": {
4862
5569
  "face_id": {
@@ -4865,7 +5572,7 @@
4865
5572
  "required": true
4866
5573
  }
4867
5574
  },
4868
- "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.",
4869
5576
  "examples": [
4870
5577
  "<%= config.bin %> <%= command.id %> socrates"
4871
5578
  ],
@@ -4913,7 +5620,7 @@
4913
5620
  },
4914
5621
  "hasDynamicHelp": false,
4915
5622
  "hiddenAliases": [],
4916
- "id": "face:unlock",
5623
+ "id": "face:lock",
4917
5624
  "pluginAlias": "@faces-sh/cli",
4918
5625
  "pluginName": "@faces-sh/cli",
4919
5626
  "pluginType": "core",
@@ -4924,19 +5631,19 @@
4924
5631
  "dist",
4925
5632
  "commands",
4926
5633
  "face",
4927
- "unlock.js"
5634
+ "lock.js"
4928
5635
  ]
4929
5636
  },
4930
- "face:unpublish": {
5637
+ "face:neighbors": {
4931
5638
  "aliases": [],
4932
5639
  "args": {
4933
- "alias": {
4934
- "description": "Face alias",
4935
- "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",
4936
5643
  "required": true
4937
5644
  }
4938
5645
  },
4939
- "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.",
4940
5647
  "flags": {
4941
5648
  "json": {
4942
5649
  "description": "Format output as json.",
@@ -4977,11 +5684,31 @@
4977
5684
  "name": "toon",
4978
5685
  "allowNo": false,
4979
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"
4980
5707
  }
4981
5708
  },
4982
5709
  "hasDynamicHelp": false,
4983
5710
  "hiddenAliases": [],
4984
- "id": "face:unpublish",
5711
+ "id": "face:neighbors",
4985
5712
  "pluginAlias": "@faces-sh/cli",
4986
5713
  "pluginName": "@faces-sh/cli",
4987
5714
  "pluginType": "core",
@@ -4992,10 +5719,10 @@
4992
5719
  "dist",
4993
5720
  "commands",
4994
5721
  "face",
4995
- "unpublish.js"
5722
+ "neighbors.js"
4996
5723
  ]
4997
5724
  },
4998
- "face:unshare": {
5725
+ "face:publish": {
4999
5726
  "aliases": [],
5000
5727
  "args": {
5001
5728
  "alias": {
@@ -5004,10 +5731,9 @@
5004
5731
  "required": true
5005
5732
  }
5006
5733
  },
5007
- "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.",
5008
5735
  "examples": [
5009
- "<%= config.bin %> <%= command.id %> alice --from dana --yes",
5010
- "<%= config.bin %> <%= command.id %> alice --all --yes"
5736
+ "<%= config.bin %> <%= command.id %> alice --yes"
5011
5737
  ],
5012
5738
  "flags": {
5013
5739
  "json": {
@@ -5050,25 +5776,6 @@
5050
5776
  "allowNo": false,
5051
5777
  "type": "boolean"
5052
5778
  },
5053
- "from": {
5054
- "description": "Account to revoke (repeatable)",
5055
- "exclusive": [
5056
- "all"
5057
- ],
5058
- "name": "from",
5059
- "hasDynamicHelp": false,
5060
- "multiple": true,
5061
- "type": "option"
5062
- },
5063
- "all": {
5064
- "description": "Revoke everyone",
5065
- "exclusive": [
5066
- "from"
5067
- ],
5068
- "name": "all",
5069
- "allowNo": false,
5070
- "type": "boolean"
5071
- },
5072
5779
  "yes": {
5073
5780
  "description": "Skip confirmation",
5074
5781
  "name": "yes",
@@ -5078,7 +5785,7 @@
5078
5785
  },
5079
5786
  "hasDynamicHelp": false,
5080
5787
  "hiddenAliases": [],
5081
- "id": "face:unshare",
5788
+ "id": "face:publish",
5082
5789
  "pluginAlias": "@faces-sh/cli",
5083
5790
  "pluginName": "@faces-sh/cli",
5084
5791
  "pluginType": "core",
@@ -5089,21 +5796,24 @@
5089
5796
  "dist",
5090
5797
  "commands",
5091
5798
  "face",
5092
- "unshare.js"
5799
+ "publish.js"
5093
5800
  ]
5094
5801
  },
5095
- "fidelity:get": {
5802
+ "face:share": {
5096
5803
  "aliases": [],
5097
5804
  "args": {
5098
- "run_id": {
5099
- "description": "Fidelity run id",
5100
- "name": "run_id",
5805
+ "alias": {
5806
+ "description": "Face alias",
5807
+ "name": "alias",
5101
5808
  "required": true
5102
5809
  }
5103
5810
  },
5104
- "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.",
5105
5812
  "examples": [
5106
- "<%= 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"
5107
5817
  ],
5108
5818
  "flags": {
5109
5819
  "json": {
@@ -5145,11 +5855,55 @@
5145
5855
  "name": "toon",
5146
5856
  "allowNo": false,
5147
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"
5148
5902
  }
5149
5903
  },
5150
5904
  "hasDynamicHelp": false,
5151
5905
  "hiddenAliases": [],
5152
- "id": "fidelity:get",
5906
+ "id": "face:share",
5153
5907
  "pluginAlias": "@faces-sh/cli",
5154
5908
  "pluginName": "@faces-sh/cli",
5155
5909
  "pluginType": "core",
@@ -5159,32 +5913,24 @@
5159
5913
  "relativePath": [
5160
5914
  "dist",
5161
5915
  "commands",
5162
- "fidelity",
5163
- "get.js"
5916
+ "face",
5917
+ "share.js"
5164
5918
  ]
5165
5919
  },
5166
- "fidelity:pick": {
5920
+ "face:sources": {
5167
5921
  "aliases": [],
5168
5922
  "args": {
5169
- "run_id": {
5170
- "description": "Fidelity run id",
5171
- "name": "run_id",
5172
- "required": true
5173
- },
5174
- "pick": {
5175
- "description": "a or b",
5176
- "name": "pick",
5177
- "options": [
5178
- "a",
5179
- "b"
5180
- ],
5923
+ "alias": {
5924
+ "description": "Face alias",
5925
+ "name": "alias",
5181
5926
  "required": true
5182
5927
  }
5183
5928
  },
5184
- "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.",
5185
5930
  "examples": [
5186
- "<%= config.bin %> <%= command.id %> <run> a",
5187
- "<%= 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"
5188
5934
  ],
5189
5935
  "flags": {
5190
5936
  "json": {
@@ -5227,34 +5973,21 @@
5227
5973
  "allowNo": false,
5228
5974
  "type": "boolean"
5229
5975
  },
5230
- "correction": {
5231
- "description": "What the person would actually have said, if the pick is not quite right",
5232
- "exclusive": [
5233
- "correction-file"
5234
- ],
5235
- "name": "correction",
5236
- "hasDynamicHelp": false,
5237
- "multiple": false,
5238
- "type": "option"
5239
- },
5240
- "correction-file": {
5241
- "description": "Read the correction from a file",
5242
- "name": "correction-file",
5243
- "hasDynamicHelp": false,
5244
- "multiple": false,
5245
- "type": "option"
5246
- },
5247
- "turn": {
5248
- "description": "The turn to pick for (default: the open one)",
5249
- "name": "turn",
5976
+ "type": {
5977
+ "description": "Show only one kind of source",
5978
+ "name": "type",
5250
5979
  "hasDynamicHelp": false,
5251
5980
  "multiple": false,
5981
+ "options": [
5982
+ "doc",
5983
+ "thread"
5984
+ ],
5252
5985
  "type": "option"
5253
5986
  }
5254
5987
  },
5255
5988
  "hasDynamicHelp": false,
5256
5989
  "hiddenAliases": [],
5257
- "id": "fidelity:pick",
5990
+ "id": "face:sources",
5258
5991
  "pluginAlias": "@faces-sh/cli",
5259
5992
  "pluginName": "@faces-sh/cli",
5260
5993
  "pluginType": "core",
@@ -5264,24 +5997,14 @@
5264
5997
  "relativePath": [
5265
5998
  "dist",
5266
5999
  "commands",
5267
- "fidelity",
5268
- "pick.js"
6000
+ "face",
6001
+ "sources.js"
5269
6002
  ]
5270
6003
  },
5271
- "fidelity:run": {
6004
+ "face:stats": {
5272
6005
  "aliases": [],
5273
- "args": {
5274
- "alias": {
5275
- "description": "Alias of a face you own",
5276
- "name": "alias",
5277
- "required": true
5278
- }
5279
- },
5280
- "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.",
5281
- "examples": [
5282
- "<%= config.bin %> <%= command.id %> alice",
5283
- "<%= config.bin %> <%= command.id %> alice --run <run>"
5284
- ],
6006
+ "args": {},
6007
+ "description": "Compile and chat stats for all owned faces",
5285
6008
  "flags": {
5286
6009
  "json": {
5287
6010
  "description": "Format output as json.",
@@ -5322,36 +6045,11 @@
5322
6045
  "name": "toon",
5323
6046
  "allowNo": false,
5324
6047
  "type": "boolean"
5325
- },
5326
- "competitor": {
5327
- "description": "The chat model the face is compared with (default: the cheapest Codex-eligible chat model)",
5328
- "name": "competitor",
5329
- "hasDynamicHelp": false,
5330
- "multiple": false,
5331
- "type": "option"
5332
- },
5333
- "model": {
5334
- "description": "The model the face answers on (default: its own default model)",
5335
- "name": "model",
5336
- "hasDynamicHelp": false,
5337
- "multiple": false,
5338
- "type": "option"
5339
- },
5340
- "run": {
5341
- "description": "Resume this run instead of starting one",
5342
- "exclusive": [
5343
- "competitor",
5344
- "model"
5345
- ],
5346
- "name": "run",
5347
- "hasDynamicHelp": false,
5348
- "multiple": false,
5349
- "type": "option"
5350
6048
  }
5351
6049
  },
5352
6050
  "hasDynamicHelp": false,
5353
6051
  "hiddenAliases": [],
5354
- "id": "fidelity:run",
6052
+ "id": "face:stats",
5355
6053
  "pluginAlias": "@faces-sh/cli",
5356
6054
  "pluginName": "@faces-sh/cli",
5357
6055
  "pluginType": "core",
@@ -5361,22 +6059,22 @@
5361
6059
  "relativePath": [
5362
6060
  "dist",
5363
6061
  "commands",
5364
- "fidelity",
5365
- "run.js"
6062
+ "face",
6063
+ "stats.js"
5366
6064
  ]
5367
6065
  },
5368
- "fidelity:save-thread": {
6066
+ "face:unlock": {
5369
6067
  "aliases": [],
5370
6068
  "args": {
5371
- "run_id": {
5372
- "description": "Fidelity run id",
5373
- "name": "run_id",
6069
+ "face_id": {
6070
+ "description": "Face alias",
6071
+ "name": "face_id",
5374
6072
  "required": true
5375
6073
  }
5376
6074
  },
5377
- "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).",
5378
6076
  "examples": [
5379
- "<%= config.bin %> <%= command.id %> <run>"
6077
+ "<%= config.bin %> <%= command.id %> socrates"
5380
6078
  ],
5381
6079
  "flags": {
5382
6080
  "json": {
@@ -5422,7 +6120,7 @@
5422
6120
  },
5423
6121
  "hasDynamicHelp": false,
5424
6122
  "hiddenAliases": [],
5425
- "id": "fidelity:save-thread",
6123
+ "id": "face:unlock",
5426
6124
  "pluginAlias": "@faces-sh/cli",
5427
6125
  "pluginName": "@faces-sh/cli",
5428
6126
  "pluginType": "core",
@@ -5432,24 +6130,20 @@
5432
6130
  "relativePath": [
5433
6131
  "dist",
5434
6132
  "commands",
5435
- "fidelity",
5436
- "save-thread.js"
6133
+ "face",
6134
+ "unlock.js"
5437
6135
  ]
5438
6136
  },
5439
- "fidelity:start": {
6137
+ "face:unpublish": {
5440
6138
  "aliases": [],
5441
6139
  "args": {
5442
6140
  "alias": {
5443
- "description": "Alias of a face you own",
6141
+ "description": "Face alias",
5444
6142
  "name": "alias",
5445
6143
  "required": true
5446
6144
  }
5447
6145
  },
5448
- "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.",
5449
- "examples": [
5450
- "<%= config.bin %> <%= command.id %> alice",
5451
- "<%= config.bin %> <%= command.id %> alice --competitor <model>"
5452
- ],
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.",
5453
6147
  "flags": {
5454
6148
  "json": {
5455
6149
  "description": "Format output as json.",
@@ -5490,25 +6184,11 @@
5490
6184
  "name": "toon",
5491
6185
  "allowNo": false,
5492
6186
  "type": "boolean"
5493
- },
5494
- "competitor": {
5495
- "description": "The chat model the face is compared with (default: the cheapest Codex-eligible chat model)",
5496
- "name": "competitor",
5497
- "hasDynamicHelp": false,
5498
- "multiple": false,
5499
- "type": "option"
5500
- },
5501
- "model": {
5502
- "description": "The model the face answers on (default: its own default model)",
5503
- "name": "model",
5504
- "hasDynamicHelp": false,
5505
- "multiple": false,
5506
- "type": "option"
5507
6187
  }
5508
6188
  },
5509
6189
  "hasDynamicHelp": false,
5510
6190
  "hiddenAliases": [],
5511
- "id": "fidelity:start",
6191
+ "id": "face:unpublish",
5512
6192
  "pluginAlias": "@faces-sh/cli",
5513
6193
  "pluginName": "@faces-sh/cli",
5514
6194
  "pluginType": "core",
@@ -5518,22 +6198,23 @@
5518
6198
  "relativePath": [
5519
6199
  "dist",
5520
6200
  "commands",
5521
- "fidelity",
5522
- "start.js"
6201
+ "face",
6202
+ "unpublish.js"
5523
6203
  ]
5524
6204
  },
5525
- "fidelity:turn": {
6205
+ "face:unshare": {
5526
6206
  "aliases": [],
5527
6207
  "args": {
5528
- "run_id": {
5529
- "description": "Fidelity run id, from faces fidelity:start",
5530
- "name": "run_id",
6208
+ "alias": {
6209
+ "description": "Face alias",
6210
+ "name": "alias",
5531
6211
  "required": true
5532
6212
  }
5533
6213
  },
5534
- "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.",
5535
6215
  "examples": [
5536
- "<%= 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"
5537
6218
  ],
5538
6219
  "flags": {
5539
6220
  "json": {
@@ -5576,28 +6257,35 @@
5576
6257
  "allowNo": false,
5577
6258
  "type": "boolean"
5578
6259
  },
5579
- "message": {
5580
- "char": "m",
5581
- "description": "Your message for this turn",
6260
+ "from": {
6261
+ "description": "Account to revoke (repeatable)",
5582
6262
  "exclusive": [
5583
- "file"
6263
+ "all"
5584
6264
  ],
5585
- "name": "message",
6265
+ "name": "from",
5586
6266
  "hasDynamicHelp": false,
5587
- "multiple": false,
6267
+ "multiple": true,
5588
6268
  "type": "option"
5589
6269
  },
5590
- "file": {
5591
- "description": "Read the message from a file",
5592
- "name": "file",
5593
- "hasDynamicHelp": false,
5594
- "multiple": false,
5595
- "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"
5596
6284
  }
5597
6285
  },
5598
6286
  "hasDynamicHelp": false,
5599
6287
  "hiddenAliases": [],
5600
- "id": "fidelity:turn",
6288
+ "id": "face:unshare",
5601
6289
  "pluginAlias": "@faces-sh/cli",
5602
6290
  "pluginName": "@faces-sh/cli",
5603
6291
  "pluginType": "core",
@@ -5607,8 +6295,8 @@
5607
6295
  "relativePath": [
5608
6296
  "dist",
5609
6297
  "commands",
5610
- "fidelity",
5611
- "turn.js"
6298
+ "face",
6299
+ "unshare.js"
5612
6300
  ]
5613
6301
  },
5614
6302
  "group:add": {
@@ -6660,7 +7348,7 @@
6660
7348
  "required": true
6661
7349
  }
6662
7350
  },
6663
- "description": "Close a session. A closed session takes no more turns and cannot be compacted or read. Its compactions stay usable until they expire. Free.",
7351
+ "description": "Close a session. A closed session takes no more turns and cannot be compacted or read. Its compactions stay usable until they expire. Free. Sessions are now called conversations: see faces conversation:close.",
6664
7352
  "examples": [
6665
7353
  "<%= config.bin %> <%= command.id %> fs_SESSION_ID --yes"
6666
7354
  ],
@@ -6737,7 +7425,7 @@
6737
7425
  "required": true
6738
7426
  }
6739
7427
  },
6740
- "description": "Compact a session: a summary of the face's position over the session, in the face's own terms, stored under a compaction id. Pass that id with --compaction on a later request with the same face, and send only the messages you still want read. Billed at the cause rate on the tokens it reads and writes; on Connect and Pro it counts against the cause allowance. A failed compaction is not charged. A compaction expires 30 days after it is written.",
7428
+ "description": "Compact a session: a summary of the face's position over the session, in the face's own terms, stored under a compaction id. Pass that id with --compaction on a later request with the same face, and send only the messages you still want read. Billed at the cause rate on the tokens it reads and writes; on Connect and Pro it counts against the cause allowance. A failed compaction is not charged. A compaction expires 30 days after it is written. Sessions are now called conversations: see faces conversation:compact.",
6741
7429
  "examples": [
6742
7430
  "<%= config.bin %> <%= command.id %> fs_SESSION_ID",
6743
7431
  "<%= config.bin %> <%= command.id %> fs_SESSION_ID --json"
@@ -6809,7 +7497,7 @@
6809
7497
  "required": true
6810
7498
  }
6811
7499
  },
6812
- "description": "Start a session with a face. A session groups the turns of one conversation with one face: pass its id with --session on chat, causes or decide, then compact it with session:compact. Opening one is free; each turn costs what it costs without one. A session expires 30 days after its last turn.",
7500
+ "description": "Start a session with a face. A session groups the turns of one conversation with one face: pass its id with --session on chat, causes or decide, then compact it with session:compact. Opening one is free; each turn costs what it costs without one. A session expires 30 days after its last turn. Sessions are now called conversations: see faces conversation:create.",
6813
7501
  "examples": [
6814
7502
  "<%= config.bin %> <%= command.id %> alice",
6815
7503
  "<%= config.bin %> <%= command.id %> \"(alice | bob)\" --json"
@@ -6881,7 +7569,7 @@
6881
7569
  "required": true
6882
7570
  }
6883
7571
  },
6884
- "description": "Read a session: its face, status, how many turns it holds, and when it expires. Free.",
7572
+ "description": "Read a session: its face, status, how many turns it holds, and when it expires. Free. Sessions are now called conversations: see faces conversation:get.",
6885
7573
  "examples": [
6886
7574
  "<%= config.bin %> <%= command.id %> fs_SESSION_ID"
6887
7575
  ],
@@ -11066,5 +11754,5 @@
11066
11754
  ]
11067
11755
  }
11068
11756
  },
11069
- "version": "1.0.1"
11757
+ "version": "1.0.3"
11070
11758
  }