faces-cli 1.5.3 → 1.5.5

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.
@@ -495,6 +495,18 @@
495
495
  "hasDynamicHelp": false,
496
496
  "multiple": false,
497
497
  "type": "option"
498
+ },
499
+ "plan": {
500
+ "description": "Plan to subscribe to: \"free\" ($5 activation) or \"connect\" ($17/mo, no activation fee)",
501
+ "name": "plan",
502
+ "default": "free",
503
+ "hasDynamicHelp": false,
504
+ "multiple": false,
505
+ "options": [
506
+ "free",
507
+ "connect"
508
+ ],
509
+ "type": "option"
498
510
  }
499
511
  },
500
512
  "hasDynamicHelp": false,
@@ -566,10 +578,10 @@
566
578
  "whoami.js"
567
579
  ]
568
580
  },
569
- "catalog:doctor": {
581
+ "billing:balance": {
570
582
  "aliases": [],
571
583
  "args": {},
572
- "description": "Diagnose and repair the local face catalog",
584
+ "description": "Show credit balance and payment method status",
573
585
  "flags": {
574
586
  "json": {
575
587
  "description": "Format output as json.",
@@ -601,23 +613,11 @@
601
613
  "hasDynamicHelp": false,
602
614
  "multiple": false,
603
615
  "type": "option"
604
- },
605
- "fix": {
606
- "description": "Rebuild missing or stale catalog entries from API",
607
- "name": "fix",
608
- "allowNo": false,
609
- "type": "boolean"
610
- },
611
- "generate": {
612
- "description": "Fix + generate missing descriptions via LLM",
613
- "name": "generate",
614
- "allowNo": false,
615
- "type": "boolean"
616
616
  }
617
617
  },
618
618
  "hasDynamicHelp": false,
619
619
  "hiddenAliases": [],
620
- "id": "catalog:doctor",
620
+ "id": "billing:balance",
621
621
  "pluginAlias": "faces-cli",
622
622
  "pluginName": "faces-cli",
623
623
  "pluginType": "core",
@@ -627,14 +627,14 @@
627
627
  "relativePath": [
628
628
  "dist",
629
629
  "commands",
630
- "catalog",
631
- "doctor.js"
630
+ "billing",
631
+ "balance.js"
632
632
  ]
633
633
  },
634
- "catalog:list": {
634
+ "billing:card-setup": {
635
635
  "aliases": [],
636
636
  "args": {},
637
- "description": "List all faces in the local catalog",
637
+ "description": "Get a Stripe card setup URL to save a payment method",
638
638
  "flags": {
639
639
  "json": {
640
640
  "description": "Format output as json.",
@@ -670,7 +670,7 @@
670
670
  },
671
671
  "hasDynamicHelp": false,
672
672
  "hiddenAliases": [],
673
- "id": "catalog:list",
673
+ "id": "billing:card-setup",
674
674
  "pluginAlias": "faces-cli",
675
675
  "pluginName": "faces-cli",
676
676
  "pluginType": "core",
@@ -680,14 +680,14 @@
680
680
  "relativePath": [
681
681
  "dist",
682
682
  "commands",
683
- "catalog",
684
- "list.js"
683
+ "billing",
684
+ "card-setup.js"
685
685
  ]
686
686
  },
687
- "billing:balance": {
687
+ "billing:checkout": {
688
688
  "aliases": [],
689
689
  "args": {},
690
- "description": "Show credit balance and payment method status",
690
+ "description": "Get a Stripe checkout URL to upgrade your subscription plan",
691
691
  "flags": {
692
692
  "json": {
693
693
  "description": "Format output as json.",
@@ -719,11 +719,22 @@
719
719
  "hasDynamicHelp": false,
720
720
  "multiple": false,
721
721
  "type": "option"
722
+ },
723
+ "plan": {
724
+ "description": "Plan to subscribe to",
725
+ "name": "plan",
726
+ "default": "connect",
727
+ "hasDynamicHelp": false,
728
+ "multiple": false,
729
+ "options": [
730
+ "connect"
731
+ ],
732
+ "type": "option"
722
733
  }
723
734
  },
724
735
  "hasDynamicHelp": false,
725
736
  "hiddenAliases": [],
726
- "id": "billing:balance",
737
+ "id": "billing:checkout",
727
738
  "pluginAlias": "faces-cli",
728
739
  "pluginName": "faces-cli",
729
740
  "pluginType": "core",
@@ -734,13 +745,13 @@
734
745
  "dist",
735
746
  "commands",
736
747
  "billing",
737
- "balance.js"
748
+ "checkout.js"
738
749
  ]
739
750
  },
740
- "billing:card-setup": {
751
+ "billing:llm-costs": {
741
752
  "aliases": [],
742
753
  "args": {},
743
- "description": "Get a Stripe card setup URL to save a payment method",
754
+ "description": "List available LLMs and their per-token costs",
744
755
  "flags": {
745
756
  "json": {
746
757
  "description": "Format output as json.",
@@ -772,11 +783,18 @@
772
783
  "hasDynamicHelp": false,
773
784
  "multiple": false,
774
785
  "type": "option"
786
+ },
787
+ "provider": {
788
+ "description": "Filter by provider (e.g. openai, anthropic)",
789
+ "name": "provider",
790
+ "hasDynamicHelp": false,
791
+ "multiple": false,
792
+ "type": "option"
775
793
  }
776
794
  },
777
795
  "hasDynamicHelp": false,
778
796
  "hiddenAliases": [],
779
- "id": "billing:card-setup",
797
+ "id": "billing:llm-costs",
780
798
  "pluginAlias": "faces-cli",
781
799
  "pluginName": "faces-cli",
782
800
  "pluginType": "core",
@@ -787,13 +805,13 @@
787
805
  "dist",
788
806
  "commands",
789
807
  "billing",
790
- "card-setup.js"
808
+ "llm-costs.js"
791
809
  ]
792
810
  },
793
- "billing:checkout": {
811
+ "billing:quota": {
794
812
  "aliases": [],
795
813
  "args": {},
796
- "description": "Get a Stripe checkout URL to upgrade your subscription plan",
814
+ "description": "Show compile token quota and per-face stats",
797
815
  "flags": {
798
816
  "json": {
799
817
  "description": "Format output as json.",
@@ -825,22 +843,11 @@
825
843
  "hasDynamicHelp": false,
826
844
  "multiple": false,
827
845
  "type": "option"
828
- },
829
- "plan": {
830
- "description": "Plan to subscribe to",
831
- "name": "plan",
832
- "default": "connect",
833
- "hasDynamicHelp": false,
834
- "multiple": false,
835
- "options": [
836
- "connect"
837
- ],
838
- "type": "option"
839
846
  }
840
847
  },
841
848
  "hasDynamicHelp": false,
842
849
  "hiddenAliases": [],
843
- "id": "billing:checkout",
850
+ "id": "billing:quota",
844
851
  "pluginAlias": "faces-cli",
845
852
  "pluginName": "faces-cli",
846
853
  "pluginType": "core",
@@ -851,13 +858,13 @@
851
858
  "dist",
852
859
  "commands",
853
860
  "billing",
854
- "checkout.js"
861
+ "quota.js"
855
862
  ]
856
863
  },
857
- "billing:llm-costs": {
864
+ "billing:subscription": {
858
865
  "aliases": [],
859
866
  "args": {},
860
- "description": "List available LLMs and their per-token costs",
867
+ "description": "Show current plan, face count, and renewal date",
861
868
  "flags": {
862
869
  "json": {
863
870
  "description": "Format output as json.",
@@ -889,18 +896,11 @@
889
896
  "hasDynamicHelp": false,
890
897
  "multiple": false,
891
898
  "type": "option"
892
- },
893
- "provider": {
894
- "description": "Filter by provider (e.g. openai, anthropic)",
895
- "name": "provider",
896
- "hasDynamicHelp": false,
897
- "multiple": false,
898
- "type": "option"
899
899
  }
900
900
  },
901
901
  "hasDynamicHelp": false,
902
902
  "hiddenAliases": [],
903
- "id": "billing:llm-costs",
903
+ "id": "billing:subscription",
904
904
  "pluginAlias": "faces-cli",
905
905
  "pluginName": "faces-cli",
906
906
  "pluginType": "core",
@@ -911,13 +911,13 @@
911
911
  "dist",
912
912
  "commands",
913
913
  "billing",
914
- "llm-costs.js"
914
+ "subscription.js"
915
915
  ]
916
916
  },
917
- "billing:quota": {
917
+ "billing:topup": {
918
918
  "aliases": [],
919
919
  "args": {},
920
- "description": "Show compile token quota and per-face stats",
920
+ "description": "Top up credit balance using saved payment method",
921
921
  "flags": {
922
922
  "json": {
923
923
  "description": "Format output as json.",
@@ -949,11 +949,26 @@
949
949
  "hasDynamicHelp": false,
950
950
  "multiple": false,
951
951
  "type": "option"
952
+ },
953
+ "amount": {
954
+ "description": "Top-up amount in USD (min $1)",
955
+ "name": "amount",
956
+ "required": true,
957
+ "hasDynamicHelp": false,
958
+ "multiple": false,
959
+ "type": "option"
960
+ },
961
+ "payment-ref": {
962
+ "description": "Payment reference (admin/test path)",
963
+ "name": "payment-ref",
964
+ "hasDynamicHelp": false,
965
+ "multiple": false,
966
+ "type": "option"
952
967
  }
953
968
  },
954
969
  "hasDynamicHelp": false,
955
970
  "hiddenAliases": [],
956
- "id": "billing:quota",
971
+ "id": "billing:topup",
957
972
  "pluginAlias": "faces-cli",
958
973
  "pluginName": "faces-cli",
959
974
  "pluginType": "core",
@@ -964,13 +979,13 @@
964
979
  "dist",
965
980
  "commands",
966
981
  "billing",
967
- "quota.js"
982
+ "topup.js"
968
983
  ]
969
984
  },
970
- "billing:subscription": {
985
+ "billing:usage": {
971
986
  "aliases": [],
972
987
  "args": {},
973
- "description": "Show current plan, face count, and renewal date",
988
+ "description": "Aggregated usage analytics",
974
989
  "flags": {
975
990
  "json": {
976
991
  "description": "Format output as json.",
@@ -1002,11 +1017,38 @@
1002
1017
  "hasDynamicHelp": false,
1003
1018
  "multiple": false,
1004
1019
  "type": "option"
1020
+ },
1021
+ "group-by": {
1022
+ "description": "Group results",
1023
+ "name": "group-by",
1024
+ "hasDynamicHelp": false,
1025
+ "multiple": false,
1026
+ "options": [
1027
+ "api_key",
1028
+ "model",
1029
+ "llm",
1030
+ "date"
1031
+ ],
1032
+ "type": "option"
1033
+ },
1034
+ "from": {
1035
+ "description": "Start date (YYYY-MM-DD)",
1036
+ "name": "from",
1037
+ "hasDynamicHelp": false,
1038
+ "multiple": false,
1039
+ "type": "option"
1040
+ },
1041
+ "to": {
1042
+ "description": "End date (YYYY-MM-DD)",
1043
+ "name": "to",
1044
+ "hasDynamicHelp": false,
1045
+ "multiple": false,
1046
+ "type": "option"
1005
1047
  }
1006
1048
  },
1007
1049
  "hasDynamicHelp": false,
1008
1050
  "hiddenAliases": [],
1009
- "id": "billing:subscription",
1051
+ "id": "billing:usage",
1010
1052
  "pluginAlias": "faces-cli",
1011
1053
  "pluginName": "faces-cli",
1012
1054
  "pluginType": "core",
@@ -1017,13 +1059,13 @@
1017
1059
  "dist",
1018
1060
  "commands",
1019
1061
  "billing",
1020
- "subscription.js"
1062
+ "usage.js"
1021
1063
  ]
1022
1064
  },
1023
- "billing:topup": {
1065
+ "catalog:doctor": {
1024
1066
  "aliases": [],
1025
1067
  "args": {},
1026
- "description": "Top up credit balance using saved payment method",
1068
+ "description": "Diagnose and repair the local face catalog",
1027
1069
  "flags": {
1028
1070
  "json": {
1029
1071
  "description": "Format output as json.",
@@ -1056,25 +1098,22 @@
1056
1098
  "multiple": false,
1057
1099
  "type": "option"
1058
1100
  },
1059
- "amount": {
1060
- "description": "Top-up amount in USD (min $1)",
1061
- "name": "amount",
1062
- "required": true,
1063
- "hasDynamicHelp": false,
1064
- "multiple": false,
1065
- "type": "option"
1101
+ "fix": {
1102
+ "description": "Rebuild missing or stale catalog entries from API",
1103
+ "name": "fix",
1104
+ "allowNo": false,
1105
+ "type": "boolean"
1066
1106
  },
1067
- "payment-ref": {
1068
- "description": "Payment reference (admin/test path)",
1069
- "name": "payment-ref",
1070
- "hasDynamicHelp": false,
1071
- "multiple": false,
1072
- "type": "option"
1107
+ "generate": {
1108
+ "description": "Fix + generate missing descriptions via LLM",
1109
+ "name": "generate",
1110
+ "allowNo": false,
1111
+ "type": "boolean"
1073
1112
  }
1074
1113
  },
1075
1114
  "hasDynamicHelp": false,
1076
1115
  "hiddenAliases": [],
1077
- "id": "billing:topup",
1116
+ "id": "catalog:doctor",
1078
1117
  "pluginAlias": "faces-cli",
1079
1118
  "pluginName": "faces-cli",
1080
1119
  "pluginType": "core",
@@ -1084,14 +1123,14 @@
1084
1123
  "relativePath": [
1085
1124
  "dist",
1086
1125
  "commands",
1087
- "billing",
1088
- "topup.js"
1126
+ "catalog",
1127
+ "doctor.js"
1089
1128
  ]
1090
1129
  },
1091
- "billing:usage": {
1130
+ "catalog:list": {
1092
1131
  "aliases": [],
1093
1132
  "args": {},
1094
- "description": "Aggregated usage analytics",
1133
+ "description": "List all faces in the local catalog",
1095
1134
  "flags": {
1096
1135
  "json": {
1097
1136
  "description": "Format output as json.",
@@ -1123,38 +1162,11 @@
1123
1162
  "hasDynamicHelp": false,
1124
1163
  "multiple": false,
1125
1164
  "type": "option"
1126
- },
1127
- "group-by": {
1128
- "description": "Group results",
1129
- "name": "group-by",
1130
- "hasDynamicHelp": false,
1131
- "multiple": false,
1132
- "options": [
1133
- "api_key",
1134
- "model",
1135
- "llm",
1136
- "date"
1137
- ],
1138
- "type": "option"
1139
- },
1140
- "from": {
1141
- "description": "Start date (YYYY-MM-DD)",
1142
- "name": "from",
1143
- "hasDynamicHelp": false,
1144
- "multiple": false,
1145
- "type": "option"
1146
- },
1147
- "to": {
1148
- "description": "End date (YYYY-MM-DD)",
1149
- "name": "to",
1150
- "hasDynamicHelp": false,
1151
- "multiple": false,
1152
- "type": "option"
1153
1165
  }
1154
1166
  },
1155
1167
  "hasDynamicHelp": false,
1156
1168
  "hiddenAliases": [],
1157
- "id": "billing:usage",
1169
+ "id": "catalog:list",
1158
1170
  "pluginAlias": "faces-cli",
1159
1171
  "pluginName": "faces-cli",
1160
1172
  "pluginType": "core",
@@ -1164,8 +1176,8 @@
1164
1176
  "relativePath": [
1165
1177
  "dist",
1166
1178
  "commands",
1167
- "billing",
1168
- "usage.js"
1179
+ "catalog",
1180
+ "list.js"
1169
1181
  ]
1170
1182
  },
1171
1183
  "chat:chat": {
@@ -2810,7 +2822,7 @@
2810
2822
  "update.js"
2811
2823
  ]
2812
2824
  },
2813
- "compile:thread:create": {
2825
+ "compile:doc:create": {
2814
2826
  "aliases": [],
2815
2827
  "args": {
2816
2828
  "face_id": {
@@ -2819,7 +2831,7 @@
2819
2831
  "required": true
2820
2832
  }
2821
2833
  },
2822
- "description": "Start a new thread for a face",
2834
+ "description": "Submit a document to a face",
2823
2835
  "flags": {
2824
2836
  "json": {
2825
2837
  "description": "Format output as json.",
@@ -2853,40 +2865,66 @@
2853
2865
  "type": "option"
2854
2866
  },
2855
2867
  "label": {
2856
- "description": "Thread label",
2868
+ "description": "Document label/title",
2857
2869
  "name": "label",
2858
2870
  "hasDynamicHelp": false,
2859
2871
  "multiple": false,
2860
2872
  "type": "option"
2861
- }
2862
- },
2863
- "hasDynamicHelp": false,
2864
- "hiddenAliases": [],
2865
- "id": "compile:thread:create",
2866
- "pluginAlias": "faces-cli",
2867
- "pluginName": "faces-cli",
2868
- "pluginType": "core",
2869
- "strict": true,
2870
- "enableJsonFlag": true,
2871
- "isESM": true,
2872
- "relativePath": [
2873
- "dist",
2873
+ },
2874
+ "content": {
2875
+ "description": "Inline text content",
2876
+ "name": "content",
2877
+ "hasDynamicHelp": false,
2878
+ "multiple": false,
2879
+ "type": "option"
2880
+ },
2881
+ "file": {
2882
+ "description": "Read content from file",
2883
+ "name": "file",
2884
+ "hasDynamicHelp": false,
2885
+ "multiple": false,
2886
+ "type": "option"
2887
+ },
2888
+ "perspective": {
2889
+ "description": "Perspective (first-person or third-person)",
2890
+ "name": "perspective",
2891
+ "default": "first-person",
2892
+ "hasDynamicHelp": false,
2893
+ "multiple": false,
2894
+ "options": [
2895
+ "first-person",
2896
+ "third-person"
2897
+ ],
2898
+ "type": "option"
2899
+ }
2900
+ },
2901
+ "hasDynamicHelp": false,
2902
+ "hiddenAliases": [],
2903
+ "id": "compile:doc:create",
2904
+ "pluginAlias": "faces-cli",
2905
+ "pluginName": "faces-cli",
2906
+ "pluginType": "core",
2907
+ "strict": true,
2908
+ "enableJsonFlag": true,
2909
+ "isESM": true,
2910
+ "relativePath": [
2911
+ "dist",
2874
2912
  "commands",
2875
2913
  "compile",
2876
- "thread",
2914
+ "doc",
2877
2915
  "create.js"
2878
2916
  ]
2879
2917
  },
2880
- "compile:thread:delete": {
2918
+ "compile:doc:delete": {
2881
2919
  "aliases": [],
2882
2920
  "args": {
2883
- "thread_id": {
2884
- "description": "Thread ID",
2885
- "name": "thread_id",
2921
+ "doc_id": {
2922
+ "description": "Document ID",
2923
+ "name": "doc_id",
2886
2924
  "required": true
2887
2925
  }
2888
2926
  },
2889
- "description": "Delete a thread",
2927
+ "description": "Delete a document",
2890
2928
  "flags": {
2891
2929
  "json": {
2892
2930
  "description": "Format output as json.",
@@ -2918,17 +2956,11 @@
2918
2956
  "hasDynamicHelp": false,
2919
2957
  "multiple": false,
2920
2958
  "type": "option"
2921
- },
2922
- "yes": {
2923
- "description": "Skip confirmation",
2924
- "name": "yes",
2925
- "allowNo": false,
2926
- "type": "boolean"
2927
2959
  }
2928
2960
  },
2929
2961
  "hasDynamicHelp": false,
2930
2962
  "hiddenAliases": [],
2931
- "id": "compile:thread:delete",
2963
+ "id": "compile:doc:delete",
2932
2964
  "pluginAlias": "faces-cli",
2933
2965
  "pluginName": "faces-cli",
2934
2966
  "pluginType": "core",
@@ -2939,20 +2971,20 @@
2939
2971
  "dist",
2940
2972
  "commands",
2941
2973
  "compile",
2942
- "thread",
2974
+ "doc",
2943
2975
  "delete.js"
2944
2976
  ]
2945
2977
  },
2946
- "compile:thread:edit": {
2978
+ "compile:doc:edit": {
2947
2979
  "aliases": [],
2948
2980
  "args": {
2949
- "thread_id": {
2950
- "description": "Thread ID",
2951
- "name": "thread_id",
2981
+ "doc_id": {
2982
+ "description": "Document ID",
2983
+ "name": "doc_id",
2952
2984
  "required": true
2953
2985
  }
2954
2986
  },
2955
- "description": "Edit a thread (label and/or reassign face speaker)",
2987
+ "description": "Edit a document (label, content, or perspective)",
2956
2988
  "flags": {
2957
2989
  "json": {
2958
2990
  "description": "Format output as json.",
@@ -2986,23 +3018,41 @@
2986
3018
  "type": "option"
2987
3019
  },
2988
3020
  "label": {
2989
- "description": "New thread label",
3021
+ "description": "New label/title",
2990
3022
  "name": "label",
2991
3023
  "hasDynamicHelp": false,
2992
3024
  "multiple": false,
2993
3025
  "type": "option"
2994
3026
  },
2995
- "face-speaker": {
2996
- "description": "Reassign face speaker: set this speaker to role=user, all others to role=assistant",
2997
- "name": "face-speaker",
3027
+ "content": {
3028
+ "description": "New inline text content",
3029
+ "name": "content",
2998
3030
  "hasDynamicHelp": false,
2999
3031
  "multiple": false,
3000
3032
  "type": "option"
3033
+ },
3034
+ "file": {
3035
+ "description": "Read new content from file",
3036
+ "name": "file",
3037
+ "hasDynamicHelp": false,
3038
+ "multiple": false,
3039
+ "type": "option"
3040
+ },
3041
+ "perspective": {
3042
+ "description": "Perspective (first-person or third-person)",
3043
+ "name": "perspective",
3044
+ "hasDynamicHelp": false,
3045
+ "multiple": false,
3046
+ "options": [
3047
+ "first-person",
3048
+ "third-person"
3049
+ ],
3050
+ "type": "option"
3001
3051
  }
3002
3052
  },
3003
3053
  "hasDynamicHelp": false,
3004
3054
  "hiddenAliases": [],
3005
- "id": "compile:thread:edit",
3055
+ "id": "compile:doc:edit",
3006
3056
  "pluginAlias": "faces-cli",
3007
3057
  "pluginName": "faces-cli",
3008
3058
  "pluginType": "core",
@@ -3013,20 +3063,20 @@
3013
3063
  "dist",
3014
3064
  "commands",
3015
3065
  "compile",
3016
- "thread",
3066
+ "doc",
3017
3067
  "edit.js"
3018
3068
  ]
3019
3069
  },
3020
- "compile:thread:get": {
3070
+ "compile:doc:get": {
3021
3071
  "aliases": [],
3022
3072
  "args": {
3023
- "thread_id": {
3024
- "description": "Thread ID",
3025
- "name": "thread_id",
3073
+ "doc_id": {
3074
+ "description": "Document ID",
3075
+ "name": "doc_id",
3026
3076
  "required": true
3027
3077
  }
3028
3078
  },
3029
- "description": "Get a thread by ID",
3079
+ "description": "Get a document by ID",
3030
3080
  "flags": {
3031
3081
  "json": {
3032
3082
  "description": "Format output as json.",
@@ -3062,7 +3112,7 @@
3062
3112
  },
3063
3113
  "hasDynamicHelp": false,
3064
3114
  "hiddenAliases": [],
3065
- "id": "compile:thread:get",
3115
+ "id": "compile:doc:get",
3066
3116
  "pluginAlias": "faces-cli",
3067
3117
  "pluginName": "faces-cli",
3068
3118
  "pluginType": "core",
@@ -3073,11 +3123,11 @@
3073
3123
  "dist",
3074
3124
  "commands",
3075
3125
  "compile",
3076
- "thread",
3126
+ "doc",
3077
3127
  "get.js"
3078
3128
  ]
3079
3129
  },
3080
- "compile:thread:list": {
3130
+ "compile:doc": {
3081
3131
  "aliases": [],
3082
3132
  "args": {
3083
3133
  "face_id": {
@@ -3086,7 +3136,7 @@
3086
3136
  "required": true
3087
3137
  }
3088
3138
  },
3089
- "description": "List threads for a face",
3139
+ "description": "Compile a document into a face (create → make in one step)",
3090
3140
  "flags": {
3091
3141
  "json": {
3092
3142
  "description": "Format output as json.",
@@ -3118,67 +3168,40 @@
3118
3168
  "hasDynamicHelp": false,
3119
3169
  "multiple": false,
3120
3170
  "type": "option"
3121
- }
3122
- },
3123
- "hasDynamicHelp": false,
3124
- "hiddenAliases": [],
3125
- "id": "compile:thread:list",
3126
- "pluginAlias": "faces-cli",
3127
- "pluginName": "faces-cli",
3128
- "pluginType": "core",
3129
- "strict": true,
3130
- "enableJsonFlag": true,
3131
- "isESM": true,
3132
- "relativePath": [
3133
- "dist",
3134
- "commands",
3135
- "compile",
3136
- "thread",
3137
- "list.js"
3138
- ]
3139
- },
3140
- "compile:thread:make": {
3141
- "aliases": [],
3142
- "args": {
3143
- "thread_id": {
3144
- "description": "Thread ID",
3145
- "name": "thread_id",
3146
- "required": true
3147
- }
3148
- },
3149
- "description": "Compile an existing thread (prepare + sync in one step)",
3150
- "flags": {
3151
- "json": {
3152
- "description": "Format output as json.",
3153
- "helpGroup": "GLOBAL",
3154
- "name": "json",
3155
- "allowNo": false,
3156
- "type": "boolean"
3157
3171
  },
3158
- "base-url": {
3159
- "description": "API base URL",
3160
- "env": "FACES_BASE_URL",
3161
- "name": "base-url",
3172
+ "label": {
3173
+ "description": "Document label/title",
3174
+ "name": "label",
3162
3175
  "hasDynamicHelp": false,
3163
3176
  "multiple": false,
3164
3177
  "type": "option"
3165
3178
  },
3166
- "token": {
3167
- "description": "JWT bearer token",
3168
- "env": "FACES_TOKEN",
3169
- "name": "token",
3179
+ "content": {
3180
+ "description": "Inline text content",
3181
+ "name": "content",
3170
3182
  "hasDynamicHelp": false,
3171
3183
  "multiple": false,
3172
3184
  "type": "option"
3173
3185
  },
3174
- "api-key": {
3175
- "description": "API key",
3176
- "env": "FACES_API_KEY",
3177
- "name": "api-key",
3186
+ "file": {
3187
+ "description": "Read content from file",
3188
+ "name": "file",
3178
3189
  "hasDynamicHelp": false,
3179
3190
  "multiple": false,
3180
3191
  "type": "option"
3181
3192
  },
3193
+ "perspective": {
3194
+ "description": "Perspective",
3195
+ "name": "perspective",
3196
+ "default": "first-person",
3197
+ "hasDynamicHelp": false,
3198
+ "multiple": false,
3199
+ "options": [
3200
+ "first-person",
3201
+ "third-person"
3202
+ ],
3203
+ "type": "option"
3204
+ },
3182
3205
  "timeout": {
3183
3206
  "description": "Compile timeout in seconds (default: 600)",
3184
3207
  "name": "timeout",
@@ -3188,7 +3211,7 @@
3188
3211
  "type": "option"
3189
3212
  },
3190
3213
  "no-wait": {
3191
- "description": "Return immediately after triggering compilation. Prints the thread ID for manual polling.",
3214
+ "description": "Create and trigger compilation, then return immediately without polling.",
3192
3215
  "name": "no-wait",
3193
3216
  "allowNo": false,
3194
3217
  "type": "boolean"
@@ -3196,7 +3219,7 @@
3196
3219
  },
3197
3220
  "hasDynamicHelp": false,
3198
3221
  "hiddenAliases": [],
3199
- "id": "compile:thread:make",
3222
+ "id": "compile:doc",
3200
3223
  "pluginAlias": "faces-cli",
3201
3224
  "pluginName": "faces-cli",
3202
3225
  "pluginType": "core",
@@ -3207,20 +3230,20 @@
3207
3230
  "dist",
3208
3231
  "commands",
3209
3232
  "compile",
3210
- "thread",
3211
- "make.js"
3233
+ "doc",
3234
+ "index.js"
3212
3235
  ]
3213
3236
  },
3214
- "compile:thread:message": {
3237
+ "compile:doc:list": {
3215
3238
  "aliases": [],
3216
3239
  "args": {
3217
- "thread_id": {
3218
- "description": "Thread ID",
3219
- "name": "thread_id",
3240
+ "face_id": {
3241
+ "description": "Face alias",
3242
+ "name": "face_id",
3220
3243
  "required": true
3221
3244
  }
3222
3245
  },
3223
- "description": "Send a user message to a thread",
3246
+ "description": "List documents for a face",
3224
3247
  "flags": {
3225
3248
  "json": {
3226
3249
  "description": "Format output as json.",
@@ -3252,20 +3275,11 @@
3252
3275
  "hasDynamicHelp": false,
3253
3276
  "multiple": false,
3254
3277
  "type": "option"
3255
- },
3256
- "message": {
3257
- "char": "m",
3258
- "description": "User message to append",
3259
- "name": "message",
3260
- "required": true,
3261
- "hasDynamicHelp": false,
3262
- "multiple": false,
3263
- "type": "option"
3264
3278
  }
3265
3279
  },
3266
3280
  "hasDynamicHelp": false,
3267
3281
  "hiddenAliases": [],
3268
- "id": "compile:thread:message",
3282
+ "id": "compile:doc:list",
3269
3283
  "pluginAlias": "faces-cli",
3270
3284
  "pluginName": "faces-cli",
3271
3285
  "pluginType": "core",
@@ -3276,20 +3290,20 @@
3276
3290
  "dist",
3277
3291
  "commands",
3278
3292
  "compile",
3279
- "thread",
3280
- "message.js"
3293
+ "doc",
3294
+ "list.js"
3281
3295
  ]
3282
3296
  },
3283
- "compile:thread:sync": {
3297
+ "compile:doc:make": {
3284
3298
  "aliases": [],
3285
3299
  "args": {
3286
- "thread_id": {
3287
- "description": "Thread ID",
3288
- "name": "thread_id",
3300
+ "doc_id": {
3301
+ "description": "Document ID",
3302
+ "name": "doc_id",
3289
3303
  "required": true
3290
3304
  }
3291
3305
  },
3292
- "description": "Archive and sync a thread into a face",
3306
+ "description": "Compile an existing document (prepare + sync in one step)",
3293
3307
  "flags": {
3294
3308
  "json": {
3295
3309
  "description": "Format output as json.",
@@ -3321,11 +3335,25 @@
3321
3335
  "hasDynamicHelp": false,
3322
3336
  "multiple": false,
3323
3337
  "type": "option"
3338
+ },
3339
+ "timeout": {
3340
+ "description": "Compile timeout in seconds (default: 600)",
3341
+ "name": "timeout",
3342
+ "default": 600,
3343
+ "hasDynamicHelp": false,
3344
+ "multiple": false,
3345
+ "type": "option"
3346
+ },
3347
+ "no-wait": {
3348
+ "description": "Return immediately after triggering compilation. Prints the document ID for manual polling.",
3349
+ "name": "no-wait",
3350
+ "allowNo": false,
3351
+ "type": "boolean"
3324
3352
  }
3325
3353
  },
3326
3354
  "hasDynamicHelp": false,
3327
3355
  "hiddenAliases": [],
3328
- "id": "compile:thread:sync",
3356
+ "id": "compile:doc:make",
3329
3357
  "pluginAlias": "faces-cli",
3330
3358
  "pluginName": "faces-cli",
3331
3359
  "pluginType": "core",
@@ -3336,11 +3364,11 @@
3336
3364
  "dist",
3337
3365
  "commands",
3338
3366
  "compile",
3339
- "thread",
3340
- "sync.js"
3367
+ "doc",
3368
+ "make.js"
3341
3369
  ]
3342
3370
  },
3343
- "compile:doc:create": {
3371
+ "compile:thread:create": {
3344
3372
  "aliases": [],
3345
3373
  "args": {
3346
3374
  "face_id": {
@@ -3349,7 +3377,7 @@
3349
3377
  "required": true
3350
3378
  }
3351
3379
  },
3352
- "description": "Submit a document to a face",
3380
+ "description": "Start a new thread for a face",
3353
3381
  "flags": {
3354
3382
  "json": {
3355
3383
  "description": "Format output as json.",
@@ -3383,42 +3411,16 @@
3383
3411
  "type": "option"
3384
3412
  },
3385
3413
  "label": {
3386
- "description": "Document label/title",
3414
+ "description": "Thread label",
3387
3415
  "name": "label",
3388
3416
  "hasDynamicHelp": false,
3389
3417
  "multiple": false,
3390
3418
  "type": "option"
3391
- },
3392
- "content": {
3393
- "description": "Inline text content",
3394
- "name": "content",
3395
- "hasDynamicHelp": false,
3396
- "multiple": false,
3397
- "type": "option"
3398
- },
3399
- "file": {
3400
- "description": "Read content from file",
3401
- "name": "file",
3402
- "hasDynamicHelp": false,
3403
- "multiple": false,
3404
- "type": "option"
3405
- },
3406
- "perspective": {
3407
- "description": "Perspective (first-person or third-person)",
3408
- "name": "perspective",
3409
- "default": "first-person",
3410
- "hasDynamicHelp": false,
3411
- "multiple": false,
3412
- "options": [
3413
- "first-person",
3414
- "third-person"
3415
- ],
3416
- "type": "option"
3417
3419
  }
3418
3420
  },
3419
3421
  "hasDynamicHelp": false,
3420
3422
  "hiddenAliases": [],
3421
- "id": "compile:doc:create",
3423
+ "id": "compile:thread:create",
3422
3424
  "pluginAlias": "faces-cli",
3423
3425
  "pluginName": "faces-cli",
3424
3426
  "pluginType": "core",
@@ -3429,20 +3431,20 @@
3429
3431
  "dist",
3430
3432
  "commands",
3431
3433
  "compile",
3432
- "doc",
3434
+ "thread",
3433
3435
  "create.js"
3434
3436
  ]
3435
3437
  },
3436
- "compile:doc:delete": {
3438
+ "compile:thread:delete": {
3437
3439
  "aliases": [],
3438
3440
  "args": {
3439
- "doc_id": {
3440
- "description": "Document ID",
3441
- "name": "doc_id",
3441
+ "thread_id": {
3442
+ "description": "Thread ID",
3443
+ "name": "thread_id",
3442
3444
  "required": true
3443
3445
  }
3444
3446
  },
3445
- "description": "Delete a document",
3447
+ "description": "Delete a thread",
3446
3448
  "flags": {
3447
3449
  "json": {
3448
3450
  "description": "Format output as json.",
@@ -3474,11 +3476,17 @@
3474
3476
  "hasDynamicHelp": false,
3475
3477
  "multiple": false,
3476
3478
  "type": "option"
3479
+ },
3480
+ "yes": {
3481
+ "description": "Skip confirmation",
3482
+ "name": "yes",
3483
+ "allowNo": false,
3484
+ "type": "boolean"
3477
3485
  }
3478
3486
  },
3479
3487
  "hasDynamicHelp": false,
3480
3488
  "hiddenAliases": [],
3481
- "id": "compile:doc:delete",
3489
+ "id": "compile:thread:delete",
3482
3490
  "pluginAlias": "faces-cli",
3483
3491
  "pluginName": "faces-cli",
3484
3492
  "pluginType": "core",
@@ -3489,20 +3497,20 @@
3489
3497
  "dist",
3490
3498
  "commands",
3491
3499
  "compile",
3492
- "doc",
3500
+ "thread",
3493
3501
  "delete.js"
3494
3502
  ]
3495
3503
  },
3496
- "compile:doc:edit": {
3504
+ "compile:thread:edit": {
3497
3505
  "aliases": [],
3498
3506
  "args": {
3499
- "doc_id": {
3500
- "description": "Document ID",
3501
- "name": "doc_id",
3507
+ "thread_id": {
3508
+ "description": "Thread ID",
3509
+ "name": "thread_id",
3502
3510
  "required": true
3503
3511
  }
3504
3512
  },
3505
- "description": "Edit a document (label, content, or perspective)",
3513
+ "description": "Edit a thread (label and/or reassign face speaker)",
3506
3514
  "flags": {
3507
3515
  "json": {
3508
3516
  "description": "Format output as json.",
@@ -3536,41 +3544,23 @@
3536
3544
  "type": "option"
3537
3545
  },
3538
3546
  "label": {
3539
- "description": "New label/title",
3547
+ "description": "New thread label",
3540
3548
  "name": "label",
3541
3549
  "hasDynamicHelp": false,
3542
3550
  "multiple": false,
3543
3551
  "type": "option"
3544
3552
  },
3545
- "content": {
3546
- "description": "New inline text content",
3547
- "name": "content",
3548
- "hasDynamicHelp": false,
3549
- "multiple": false,
3550
- "type": "option"
3551
- },
3552
- "file": {
3553
- "description": "Read new content from file",
3554
- "name": "file",
3555
- "hasDynamicHelp": false,
3556
- "multiple": false,
3557
- "type": "option"
3558
- },
3559
- "perspective": {
3560
- "description": "Perspective (first-person or third-person)",
3561
- "name": "perspective",
3553
+ "face-speaker": {
3554
+ "description": "Reassign face speaker: set this speaker to role=user, all others to role=assistant",
3555
+ "name": "face-speaker",
3562
3556
  "hasDynamicHelp": false,
3563
3557
  "multiple": false,
3564
- "options": [
3565
- "first-person",
3566
- "third-person"
3567
- ],
3568
3558
  "type": "option"
3569
3559
  }
3570
3560
  },
3571
3561
  "hasDynamicHelp": false,
3572
3562
  "hiddenAliases": [],
3573
- "id": "compile:doc:edit",
3563
+ "id": "compile:thread:edit",
3574
3564
  "pluginAlias": "faces-cli",
3575
3565
  "pluginName": "faces-cli",
3576
3566
  "pluginType": "core",
@@ -3581,20 +3571,20 @@
3581
3571
  "dist",
3582
3572
  "commands",
3583
3573
  "compile",
3584
- "doc",
3574
+ "thread",
3585
3575
  "edit.js"
3586
3576
  ]
3587
3577
  },
3588
- "compile:doc:get": {
3578
+ "compile:thread:get": {
3589
3579
  "aliases": [],
3590
3580
  "args": {
3591
- "doc_id": {
3592
- "description": "Document ID",
3593
- "name": "doc_id",
3581
+ "thread_id": {
3582
+ "description": "Thread ID",
3583
+ "name": "thread_id",
3594
3584
  "required": true
3595
3585
  }
3596
3586
  },
3597
- "description": "Get a document by ID",
3587
+ "description": "Get a thread by ID",
3598
3588
  "flags": {
3599
3589
  "json": {
3600
3590
  "description": "Format output as json.",
@@ -3630,7 +3620,7 @@
3630
3620
  },
3631
3621
  "hasDynamicHelp": false,
3632
3622
  "hiddenAliases": [],
3633
- "id": "compile:doc:get",
3623
+ "id": "compile:thread:get",
3634
3624
  "pluginAlias": "faces-cli",
3635
3625
  "pluginName": "faces-cli",
3636
3626
  "pluginType": "core",
@@ -3641,11 +3631,11 @@
3641
3631
  "dist",
3642
3632
  "commands",
3643
3633
  "compile",
3644
- "doc",
3634
+ "thread",
3645
3635
  "get.js"
3646
3636
  ]
3647
3637
  },
3648
- "compile:doc": {
3638
+ "compile:thread:list": {
3649
3639
  "aliases": [],
3650
3640
  "args": {
3651
3641
  "face_id": {
@@ -3654,7 +3644,7 @@
3654
3644
  "required": true
3655
3645
  }
3656
3646
  },
3657
- "description": "Compile a document into a face (create → make in one step)",
3647
+ "description": "List threads for a face",
3658
3648
  "flags": {
3659
3649
  "json": {
3660
3650
  "description": "Format output as json.",
@@ -3686,38 +3676,65 @@
3686
3676
  "hasDynamicHelp": false,
3687
3677
  "multiple": false,
3688
3678
  "type": "option"
3679
+ }
3680
+ },
3681
+ "hasDynamicHelp": false,
3682
+ "hiddenAliases": [],
3683
+ "id": "compile:thread:list",
3684
+ "pluginAlias": "faces-cli",
3685
+ "pluginName": "faces-cli",
3686
+ "pluginType": "core",
3687
+ "strict": true,
3688
+ "enableJsonFlag": true,
3689
+ "isESM": true,
3690
+ "relativePath": [
3691
+ "dist",
3692
+ "commands",
3693
+ "compile",
3694
+ "thread",
3695
+ "list.js"
3696
+ ]
3697
+ },
3698
+ "compile:thread:make": {
3699
+ "aliases": [],
3700
+ "args": {
3701
+ "thread_id": {
3702
+ "description": "Thread ID",
3703
+ "name": "thread_id",
3704
+ "required": true
3705
+ }
3706
+ },
3707
+ "description": "Compile an existing thread (prepare + sync in one step)",
3708
+ "flags": {
3709
+ "json": {
3710
+ "description": "Format output as json.",
3711
+ "helpGroup": "GLOBAL",
3712
+ "name": "json",
3713
+ "allowNo": false,
3714
+ "type": "boolean"
3689
3715
  },
3690
- "label": {
3691
- "description": "Document label/title",
3692
- "name": "label",
3693
- "hasDynamicHelp": false,
3694
- "multiple": false,
3695
- "type": "option"
3696
- },
3697
- "content": {
3698
- "description": "Inline text content",
3699
- "name": "content",
3716
+ "base-url": {
3717
+ "description": "API base URL",
3718
+ "env": "FACES_BASE_URL",
3719
+ "name": "base-url",
3700
3720
  "hasDynamicHelp": false,
3701
3721
  "multiple": false,
3702
3722
  "type": "option"
3703
3723
  },
3704
- "file": {
3705
- "description": "Read content from file",
3706
- "name": "file",
3724
+ "token": {
3725
+ "description": "JWT bearer token",
3726
+ "env": "FACES_TOKEN",
3727
+ "name": "token",
3707
3728
  "hasDynamicHelp": false,
3708
3729
  "multiple": false,
3709
3730
  "type": "option"
3710
3731
  },
3711
- "perspective": {
3712
- "description": "Perspective",
3713
- "name": "perspective",
3714
- "default": "first-person",
3732
+ "api-key": {
3733
+ "description": "API key",
3734
+ "env": "FACES_API_KEY",
3735
+ "name": "api-key",
3715
3736
  "hasDynamicHelp": false,
3716
3737
  "multiple": false,
3717
- "options": [
3718
- "first-person",
3719
- "third-person"
3720
- ],
3721
3738
  "type": "option"
3722
3739
  },
3723
3740
  "timeout": {
@@ -3729,7 +3746,7 @@
3729
3746
  "type": "option"
3730
3747
  },
3731
3748
  "no-wait": {
3732
- "description": "Create and trigger compilation, then return immediately without polling.",
3749
+ "description": "Return immediately after triggering compilation. Prints the thread ID for manual polling.",
3733
3750
  "name": "no-wait",
3734
3751
  "allowNo": false,
3735
3752
  "type": "boolean"
@@ -3737,7 +3754,7 @@
3737
3754
  },
3738
3755
  "hasDynamicHelp": false,
3739
3756
  "hiddenAliases": [],
3740
- "id": "compile:doc",
3757
+ "id": "compile:thread:make",
3741
3758
  "pluginAlias": "faces-cli",
3742
3759
  "pluginName": "faces-cli",
3743
3760
  "pluginType": "core",
@@ -3748,20 +3765,20 @@
3748
3765
  "dist",
3749
3766
  "commands",
3750
3767
  "compile",
3751
- "doc",
3752
- "index.js"
3768
+ "thread",
3769
+ "make.js"
3753
3770
  ]
3754
3771
  },
3755
- "compile:doc:list": {
3772
+ "compile:thread:message": {
3756
3773
  "aliases": [],
3757
3774
  "args": {
3758
- "face_id": {
3759
- "description": "Face alias",
3760
- "name": "face_id",
3775
+ "thread_id": {
3776
+ "description": "Thread ID",
3777
+ "name": "thread_id",
3761
3778
  "required": true
3762
3779
  }
3763
3780
  },
3764
- "description": "List documents for a face",
3781
+ "description": "Send a user message to a thread",
3765
3782
  "flags": {
3766
3783
  "json": {
3767
3784
  "description": "Format output as json.",
@@ -3793,11 +3810,20 @@
3793
3810
  "hasDynamicHelp": false,
3794
3811
  "multiple": false,
3795
3812
  "type": "option"
3813
+ },
3814
+ "message": {
3815
+ "char": "m",
3816
+ "description": "User message to append",
3817
+ "name": "message",
3818
+ "required": true,
3819
+ "hasDynamicHelp": false,
3820
+ "multiple": false,
3821
+ "type": "option"
3796
3822
  }
3797
3823
  },
3798
3824
  "hasDynamicHelp": false,
3799
3825
  "hiddenAliases": [],
3800
- "id": "compile:doc:list",
3826
+ "id": "compile:thread:message",
3801
3827
  "pluginAlias": "faces-cli",
3802
3828
  "pluginName": "faces-cli",
3803
3829
  "pluginType": "core",
@@ -3808,20 +3834,20 @@
3808
3834
  "dist",
3809
3835
  "commands",
3810
3836
  "compile",
3811
- "doc",
3812
- "list.js"
3837
+ "thread",
3838
+ "message.js"
3813
3839
  ]
3814
3840
  },
3815
- "compile:doc:make": {
3841
+ "compile:thread:sync": {
3816
3842
  "aliases": [],
3817
3843
  "args": {
3818
- "doc_id": {
3819
- "description": "Document ID",
3820
- "name": "doc_id",
3844
+ "thread_id": {
3845
+ "description": "Thread ID",
3846
+ "name": "thread_id",
3821
3847
  "required": true
3822
3848
  }
3823
3849
  },
3824
- "description": "Compile an existing document (prepare + sync in one step)",
3850
+ "description": "Archive and sync a thread into a face",
3825
3851
  "flags": {
3826
3852
  "json": {
3827
3853
  "description": "Format output as json.",
@@ -3853,25 +3879,11 @@
3853
3879
  "hasDynamicHelp": false,
3854
3880
  "multiple": false,
3855
3881
  "type": "option"
3856
- },
3857
- "timeout": {
3858
- "description": "Compile timeout in seconds (default: 600)",
3859
- "name": "timeout",
3860
- "default": 600,
3861
- "hasDynamicHelp": false,
3862
- "multiple": false,
3863
- "type": "option"
3864
- },
3865
- "no-wait": {
3866
- "description": "Return immediately after triggering compilation. Prints the document ID for manual polling.",
3867
- "name": "no-wait",
3868
- "allowNo": false,
3869
- "type": "boolean"
3870
3882
  }
3871
3883
  },
3872
3884
  "hasDynamicHelp": false,
3873
3885
  "hiddenAliases": [],
3874
- "id": "compile:doc:make",
3886
+ "id": "compile:thread:sync",
3875
3887
  "pluginAlias": "faces-cli",
3876
3888
  "pluginName": "faces-cli",
3877
3889
  "pluginType": "core",
@@ -3882,10 +3894,10 @@
3882
3894
  "dist",
3883
3895
  "commands",
3884
3896
  "compile",
3885
- "doc",
3886
- "make.js"
3897
+ "thread",
3898
+ "sync.js"
3887
3899
  ]
3888
3900
  }
3889
3901
  },
3890
- "version": "1.5.3"
3902
+ "version": "1.5.5"
3891
3903
  }