@faces-sh/cli 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -30
- package/dist/billing.js +11 -8
- package/dist/chat-command.d.ts +31 -0
- package/dist/chat-command.js +110 -0
- package/dist/chat.d.ts +47 -0
- package/dist/chat.js +157 -0
- package/dist/choices.d.ts +2 -5
- package/dist/choices.js +9 -8
- package/dist/commands/billing/llm-costs.js +9 -5
- package/dist/commands/billing/subscription/index.js +1 -1
- package/dist/commands/catalog/doctor.js +2 -2
- package/dist/commands/chat/chat.d.ts +31 -0
- package/dist/commands/chat/chat.js +31 -0
- package/dist/commands/chat/messages.d.ts +30 -0
- package/dist/commands/chat/messages.js +21 -0
- package/dist/commands/chat/responses.d.ts +30 -0
- package/dist/commands/chat/responses.js +22 -0
- package/dist/commands/{causes.d.ts → chat/thread.d.ts} +17 -12
- package/dist/commands/chat/thread.js +238 -0
- package/dist/commands/choices.d.ts +1 -2
- package/dist/commands/choices.js +20 -15
- package/dist/commands/conversation/compact.js +13 -16
- package/dist/commands/conversation/create.js +10 -9
- package/dist/commands/decide.d.ts +1 -4
- package/dist/commands/decide.js +53 -81
- package/dist/commands/face/get.js +1 -1
- package/dist/commands/fidelity/pick.js +2 -2
- package/dist/commands/fidelity/run.d.ts +20 -0
- package/dist/commands/fidelity/run.js +99 -0
- package/dist/commands/fidelity/start.d.ts +17 -0
- package/dist/commands/fidelity/start.js +56 -0
- package/dist/commands/fidelity/turn.d.ts +17 -0
- package/dist/commands/fidelity/turn.js +48 -0
- package/dist/commands/group/add.js +1 -1
- package/dist/commands/media/list.d.ts +12 -0
- package/dist/commands/media/list.js +35 -0
- package/dist/commands/models/list.js +13 -6
- package/dist/commands/session/compact.js +5 -8
- package/dist/commands/session/create.js +9 -8
- package/dist/commands/style/make.js +1 -1
- package/dist/commands/style/upload.js +1 -1
- package/dist/decisions.d.ts +0 -5
- package/dist/decisions.js +0 -18
- package/dist/fidelity.js +3 -3
- package/dist/media.d.ts +8 -0
- package/dist/media.js +12 -0
- package/dist/model.d.ts +11 -0
- package/dist/model.js +53 -0
- package/dist/routing.d.ts +1 -4
- package/dist/routing.js +4 -40
- package/dist/utils.d.ts +1 -25
- package/dist/utils.js +10 -108
- package/oclif.manifest.json +1616 -818
- package/package.json +6 -3
- package/dist/commands/causes.js +0 -146
package/oclif.manifest.json
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"choices": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {
|
|
6
|
-
"
|
|
7
|
-
"description": "The
|
|
8
|
-
"name": "
|
|
6
|
+
"model": {
|
|
7
|
+
"description": "The upstream model: @<face>:<maestro>, e.g. @alice:maestro-1. Another account's face is @owner~face; a composite is \"(@a | @b):maestro-1\" (operators | & - ^). No model after it: on choices the upstream model answers.",
|
|
8
|
+
"name": "model",
|
|
9
9
|
"required": true
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
"description": "
|
|
12
|
+
"description": "Ask a face what it would do (POST /v1/choices). Name the upstream model, a face and its maestro: @alice:maestro-1, @dana~alice:maestro-1 for a face shared with you, or a composite such as \"(@alice | @bob):maestro-1\". maestro-1-flash answers sooner and costs 10 times more. Describe the situation with --state (prose, at most 3,000 tokens) or --state-id (a state from faces state:create), ask with --question, and the face proposes the options it would weigh, strongest first. Leave --question out and it proposes the question it would ask. Billed on the tokens it processes (see faces models:list --kind upstream). Takes about 10 to 30 seconds.",
|
|
13
13
|
"examples": [
|
|
14
|
-
"<%= config.bin %> <%= command.id %> alice
|
|
15
|
-
"<%= config.bin %> <%= command.id %>
|
|
16
|
-
"<%= config.bin %> <%= command.id %> alice --state-
|
|
17
|
-
"<%= config.bin %> <%= command.id %> \"(alice | bob)\" -
|
|
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"
|
|
14
|
+
"<%= config.bin %> <%= command.id %> @alice:maestro-1 --state \"A startup offers me a lead role at a lower salary.\" --question \"Should I take the offer?\"",
|
|
15
|
+
"<%= config.bin %> <%= command.id %> @head~socrates:maestro-1 --state \"A chain bakery opened across the street.\"",
|
|
16
|
+
"<%= config.bin %> <%= command.id %> @alice:maestro-1 --state-id fs_STATE_ID --question \"What should the shop do?\" --max-choices 3",
|
|
17
|
+
"<%= config.bin %> <%= command.id %> \"(@alice | @bob):maestro-1-flash\" --state-file situation.txt -q \"What next?\" --json"
|
|
20
18
|
],
|
|
21
19
|
"flags": {
|
|
22
20
|
"json": {
|
|
@@ -59,37 +57,126 @@
|
|
|
59
57
|
"allowNo": false,
|
|
60
58
|
"type": "boolean"
|
|
61
59
|
},
|
|
62
|
-
"
|
|
63
|
-
"char": "
|
|
64
|
-
"description": "
|
|
60
|
+
"question": {
|
|
61
|
+
"char": "q",
|
|
62
|
+
"description": "The question. Leave it out to have the face propose the question it would ask.",
|
|
63
|
+
"name": "question",
|
|
64
|
+
"hasDynamicHelp": false,
|
|
65
|
+
"multiple": false,
|
|
66
|
+
"type": "option"
|
|
67
|
+
},
|
|
68
|
+
"state": {
|
|
69
|
+
"description": "The situation, as prose: at most 3,000 tokens.",
|
|
65
70
|
"exclusive": [
|
|
66
|
-
"state"
|
|
67
|
-
"state-file",
|
|
68
|
-
"file"
|
|
71
|
+
"state-file"
|
|
69
72
|
],
|
|
70
|
-
"name": "
|
|
73
|
+
"name": "state",
|
|
71
74
|
"hasDynamicHelp": false,
|
|
72
|
-
"multiple":
|
|
75
|
+
"multiple": false,
|
|
73
76
|
"type": "option"
|
|
74
77
|
},
|
|
75
|
-
"file": {
|
|
76
|
-
"description": "Read the
|
|
78
|
+
"state-file": {
|
|
79
|
+
"description": "Read the situation from this file.",
|
|
77
80
|
"exclusive": [
|
|
78
|
-
"
|
|
79
|
-
"state",
|
|
80
|
-
"state-file"
|
|
81
|
+
"state"
|
|
81
82
|
],
|
|
82
|
-
"name": "file",
|
|
83
|
+
"name": "state-file",
|
|
84
|
+
"hasDynamicHelp": false,
|
|
85
|
+
"multiple": false,
|
|
86
|
+
"type": "option"
|
|
87
|
+
},
|
|
88
|
+
"state-id": {
|
|
89
|
+
"description": "A state (from faces state:create) as the situation. With --state, the prose is an addendum for this call only: read with the state, never saved to it. Write anything that should persist with faces state:add --premise.",
|
|
90
|
+
"name": "state-id",
|
|
91
|
+
"hasDynamicHelp": false,
|
|
92
|
+
"multiple": false,
|
|
93
|
+
"type": "option"
|
|
94
|
+
},
|
|
95
|
+
"max-choices": {
|
|
96
|
+
"description": "The most options to return, 1 to 32. Default 8.",
|
|
97
|
+
"name": "max-choices",
|
|
98
|
+
"hasDynamicHelp": false,
|
|
99
|
+
"multiple": false,
|
|
100
|
+
"type": "option"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"hasDynamicHelp": false,
|
|
104
|
+
"hiddenAliases": [],
|
|
105
|
+
"id": "choices",
|
|
106
|
+
"pluginAlias": "@faces-sh/cli",
|
|
107
|
+
"pluginName": "@faces-sh/cli",
|
|
108
|
+
"pluginType": "core",
|
|
109
|
+
"strict": true,
|
|
110
|
+
"enableJsonFlag": true,
|
|
111
|
+
"isESM": true,
|
|
112
|
+
"relativePath": [
|
|
113
|
+
"dist",
|
|
114
|
+
"commands",
|
|
115
|
+
"choices.js"
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"decide": {
|
|
119
|
+
"aliases": [],
|
|
120
|
+
"args": {
|
|
121
|
+
"model": {
|
|
122
|
+
"description": "The upstream model over the decision model: @<face>:<maestro>/<decision model>, e.g. @alice:maestro-1/jev-latest. Another account's face is @owner~face; a composite is \"(@a | @b):maestro-1/jev-latest\". The decision models are jev-latest, clef, clef-flash and gpt-6-luna today (faces models:list --kind decision); gpt-6-luna answers in OpenAI's format only, so it uses --format openai.",
|
|
123
|
+
"name": "model",
|
|
124
|
+
"required": true
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"description": "Ask what a face would decide. Describe a situation, ask typed questions about it, and get back numbers, as this face: a yes-or-no (noul), a pick between options (choice), or a place on a graded scale (score). faces choices gives you the options a face would weigh; this gives you what it would decide, for routing, simulations or panels. Name the model as the upstream model over the decision model: @alice:maestro-1/jev-latest. The face steers the decision model's answer. An answer takes about 10 to 20 seconds; one that runs long is held open by the server and can take a minute or more. The steering is billed per input token plus a small fee per call (see faces models:list --kind upstream), and the decision model at its listed price. A face needs something compiled.",
|
|
128
|
+
"examples": [
|
|
129
|
+
"<%= config.bin %> <%= command.id %> @alice:maestro-1/jev-latest --state \"A colleague asks you to sign a grant proposal you have not read, due in an hour.\" --question \"Does the speaker sign?\" --option yes=\"signs it as asked\" --option no=\"declines to sign\" --option later=\"asks for time to read it first\"",
|
|
130
|
+
"<%= config.bin %> <%= command.id %> @alice:maestro-1/jev-latest --state-file situation.txt --question \"Is the speaker irritated?\"",
|
|
131
|
+
"<%= config.bin %> <%= command.id %> @alice:maestro-1-flash/clef --state-file situation.txt --question \"How firm is the reply?\" --level yields --level hedges --level firm",
|
|
132
|
+
"<%= config.bin %> <%= command.id %> \"(@alice | @bob):maestro-1/jev-latest\" --state-file situation.json --questions-file questions.json --json",
|
|
133
|
+
"<%= config.bin %> <%= command.id %> @alice:maestro-1/gpt-6-luna --state-file situation.txt --questions-file questions.json"
|
|
134
|
+
],
|
|
135
|
+
"flags": {
|
|
136
|
+
"json": {
|
|
137
|
+
"description": "Format output as json.",
|
|
138
|
+
"helpGroup": "GLOBAL",
|
|
139
|
+
"name": "json",
|
|
140
|
+
"allowNo": false,
|
|
141
|
+
"type": "boolean"
|
|
142
|
+
},
|
|
143
|
+
"base-url": {
|
|
144
|
+
"description": "API base URL",
|
|
145
|
+
"env": "FACES_BASE_URL",
|
|
146
|
+
"name": "base-url",
|
|
147
|
+
"hasDynamicHelp": false,
|
|
148
|
+
"multiple": false,
|
|
149
|
+
"type": "option"
|
|
150
|
+
},
|
|
151
|
+
"token": {
|
|
152
|
+
"description": "JWT bearer token",
|
|
153
|
+
"env": "FACES_TOKEN",
|
|
154
|
+
"name": "token",
|
|
155
|
+
"hasDynamicHelp": false,
|
|
156
|
+
"multiple": false,
|
|
157
|
+
"type": "option"
|
|
158
|
+
},
|
|
159
|
+
"api-key": {
|
|
160
|
+
"description": "API key",
|
|
161
|
+
"env": "FACES_API_KEY",
|
|
162
|
+
"name": "api-key",
|
|
83
163
|
"hasDynamicHelp": false,
|
|
84
164
|
"multiple": false,
|
|
85
165
|
"type": "option"
|
|
86
166
|
},
|
|
167
|
+
"toon": {
|
|
168
|
+
"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.",
|
|
169
|
+
"exclusive": [
|
|
170
|
+
"json"
|
|
171
|
+
],
|
|
172
|
+
"name": "toon",
|
|
173
|
+
"allowNo": false,
|
|
174
|
+
"type": "boolean"
|
|
175
|
+
},
|
|
87
176
|
"state": {
|
|
88
|
-
"description": "
|
|
177
|
+
"description": "The situation the face is responding to, as plain text, up to 60,000 characters. Write it the way the face would hear it: it is read as the turn the face is answering.",
|
|
89
178
|
"exclusive": [
|
|
90
|
-
"state-file"
|
|
91
|
-
"message",
|
|
92
|
-
"file"
|
|
179
|
+
"state-file"
|
|
93
180
|
],
|
|
94
181
|
"name": "state",
|
|
95
182
|
"hasDynamicHelp": false,
|
|
@@ -97,11 +184,9 @@
|
|
|
97
184
|
"type": "option"
|
|
98
185
|
},
|
|
99
186
|
"state-file": {
|
|
100
|
-
"description": "Read the situation from this file. A .json file is sent as the JSON it holds.",
|
|
187
|
+
"description": "Read the situation from this file instead of --state. A .json file is sent as the JSON it holds, so the situation can be an object or an array.",
|
|
101
188
|
"exclusive": [
|
|
102
|
-
"state"
|
|
103
|
-
"message",
|
|
104
|
-
"file"
|
|
189
|
+
"state"
|
|
105
190
|
],
|
|
106
191
|
"name": "state-file",
|
|
107
192
|
"hasDynamicHelp": false,
|
|
@@ -109,7 +194,7 @@
|
|
|
109
194
|
"type": "option"
|
|
110
195
|
},
|
|
111
196
|
"question": {
|
|
112
|
-
"description": "
|
|
197
|
+
"description": "One question to ask. Its type follows from what comes with it: --option makes it a choice, --level a score, and neither a yes-or-no (noul). For several questions, use --questions-file.",
|
|
113
198
|
"exclusive": [
|
|
114
199
|
"questions-file"
|
|
115
200
|
],
|
|
@@ -122,7 +207,7 @@
|
|
|
122
207
|
"dependsOn": [
|
|
123
208
|
"question"
|
|
124
209
|
],
|
|
125
|
-
"description": "The type of --question.",
|
|
210
|
+
"description": "The type of --question, when you would rather say it than leave it to --option and --level.",
|
|
126
211
|
"name": "type",
|
|
127
212
|
"hasDynamicHelp": false,
|
|
128
213
|
"multiple": false,
|
|
@@ -137,7 +222,7 @@
|
|
|
137
222
|
"dependsOn": [
|
|
138
223
|
"question"
|
|
139
224
|
],
|
|
140
|
-
"description": "An option for a choice, as name=\"description\" (repeatable).",
|
|
225
|
+
"description": "An option for a choice, as name=\"description\", or a bare name (repeatable, at least two). The name is what comes back; the description is what the answer is judged against, so make it specific: \"declines to sign\", not \"no\". Keep the options mutually exclusive, because the probability is split between them.",
|
|
141
226
|
"exclusive": [
|
|
142
227
|
"level"
|
|
143
228
|
],
|
|
@@ -150,7 +235,7 @@
|
|
|
150
235
|
"dependsOn": [
|
|
151
236
|
"question"
|
|
152
237
|
],
|
|
153
|
-
"description": "A level of a score, lowest first
|
|
238
|
+
"description": "A level of a score, described (repeatable, 2 to 10, lowest first). The answer is the expected level, from 0 for the first to one less than the number of levels.",
|
|
154
239
|
"exclusive": [
|
|
155
240
|
"option"
|
|
156
241
|
],
|
|
@@ -170,7 +255,7 @@
|
|
|
170
255
|
"type": "option"
|
|
171
256
|
},
|
|
172
257
|
"questions-file": {
|
|
173
|
-
"description": "A JSON file of 1 to
|
|
258
|
+
"description": "A JSON file of 1 to 32 questions, in the API's own shape: {\"<id>\": {\"type\": \"noul\" | \"choice\" | \"score\", \"instructions\": \"...\", \"criteria\": ...}}. A choice's criteria are {\"<option>\": \"<description>\" or null}; a score's are a list of 2 to 10 levels, lowest first; a noul's are optional, {\"true\": \"...\", \"false\": \"...\"}.",
|
|
174
259
|
"exclusive": [
|
|
175
260
|
"question"
|
|
176
261
|
],
|
|
@@ -229,6 +314,13 @@
|
|
|
229
314
|
"allowNo": true,
|
|
230
315
|
"type": "boolean"
|
|
231
316
|
},
|
|
317
|
+
"depends-on": {
|
|
318
|
+
"description": "In a state (--conversation), what this decision rests on, comma separated: premise keys and decision ids already in the state or set with --premise, at most 200. The decision is shown those, and is invalidated when one of them is. Left out, it rests on every premise in force.",
|
|
319
|
+
"name": "depends-on",
|
|
320
|
+
"hasDynamicHelp": false,
|
|
321
|
+
"multiple": false,
|
|
322
|
+
"type": "option"
|
|
323
|
+
},
|
|
232
324
|
"session": {
|
|
233
325
|
"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.",
|
|
234
326
|
"name": "session",
|
|
@@ -242,11 +334,29 @@
|
|
|
242
334
|
"hasDynamicHelp": false,
|
|
243
335
|
"multiple": false,
|
|
244
336
|
"type": "option"
|
|
337
|
+
},
|
|
338
|
+
"format": {
|
|
339
|
+
"description": "The request shape: systemone (default, TypeSafe Jev's System One) or openai (OpenAI's Decisions format). The answers are the same; --json returns the chosen format's own shape.",
|
|
340
|
+
"name": "format",
|
|
341
|
+
"default": "systemone",
|
|
342
|
+
"hasDynamicHelp": false,
|
|
343
|
+
"multiple": false,
|
|
344
|
+
"options": [
|
|
345
|
+
"systemone",
|
|
346
|
+
"openai"
|
|
347
|
+
],
|
|
348
|
+
"type": "option"
|
|
349
|
+
},
|
|
350
|
+
"retry": {
|
|
351
|
+
"description": "If the server answers 503 with the seconds to wait, wait exactly that and ask again, for up to 5 minutes in all. On by default; --no-retry returns the 503 straight away.",
|
|
352
|
+
"name": "retry",
|
|
353
|
+
"allowNo": true,
|
|
354
|
+
"type": "boolean"
|
|
245
355
|
}
|
|
246
356
|
},
|
|
247
357
|
"hasDynamicHelp": false,
|
|
248
358
|
"hiddenAliases": [],
|
|
249
|
-
"id": "
|
|
359
|
+
"id": "decide",
|
|
250
360
|
"pluginAlias": "@faces-sh/cli",
|
|
251
361
|
"pluginName": "@faces-sh/cli",
|
|
252
362
|
"pluginType": "core",
|
|
@@ -256,24 +366,30 @@
|
|
|
256
366
|
"relativePath": [
|
|
257
367
|
"dist",
|
|
258
368
|
"commands",
|
|
259
|
-
"
|
|
369
|
+
"decide.js"
|
|
260
370
|
]
|
|
261
371
|
},
|
|
262
|
-
"
|
|
372
|
+
"account:preferences": {
|
|
263
373
|
"aliases": [],
|
|
264
374
|
"args": {
|
|
265
|
-
"
|
|
266
|
-
"description": "
|
|
267
|
-
"name": "
|
|
268
|
-
|
|
375
|
+
"key": {
|
|
376
|
+
"description": "Preference key to update (api_fallback, default_model, auto_style, auto_style_thresholds)",
|
|
377
|
+
"name": "key"
|
|
378
|
+
},
|
|
379
|
+
"value": {
|
|
380
|
+
"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\".",
|
|
381
|
+
"name": "value"
|
|
269
382
|
}
|
|
270
383
|
},
|
|
271
|
-
"description": "
|
|
384
|
+
"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.",
|
|
272
385
|
"examples": [
|
|
273
|
-
"
|
|
274
|
-
"
|
|
275
|
-
"
|
|
276
|
-
"
|
|
386
|
+
"faces account:preferences",
|
|
387
|
+
"faces account:preferences default_model gpt-5.4",
|
|
388
|
+
"faces account:preferences api_fallback true",
|
|
389
|
+
"faces account:preferences auto_style off",
|
|
390
|
+
"faces account:preferences auto_style default",
|
|
391
|
+
"faces account:preferences auto_style on --allow-paid",
|
|
392
|
+
"faces account:preferences auto_style_thresholds \"email=25000,text message=default\""
|
|
277
393
|
],
|
|
278
394
|
"flags": {
|
|
279
395
|
"json": {
|
|
@@ -316,64 +432,16 @@
|
|
|
316
432
|
"allowNo": false,
|
|
317
433
|
"type": "boolean"
|
|
318
434
|
},
|
|
319
|
-
"
|
|
320
|
-
"
|
|
321
|
-
"
|
|
322
|
-
"
|
|
323
|
-
"
|
|
324
|
-
"multiple": false,
|
|
325
|
-
"type": "option"
|
|
326
|
-
},
|
|
327
|
-
"state": {
|
|
328
|
-
"description": "The situation, as prose: at most 3,000 tokens.",
|
|
329
|
-
"exclusive": [
|
|
330
|
-
"state-file"
|
|
331
|
-
],
|
|
332
|
-
"name": "state",
|
|
333
|
-
"hasDynamicHelp": false,
|
|
334
|
-
"multiple": false,
|
|
335
|
-
"type": "option"
|
|
336
|
-
},
|
|
337
|
-
"state-file": {
|
|
338
|
-
"description": "Read the situation from this file.",
|
|
339
|
-
"exclusive": [
|
|
340
|
-
"state"
|
|
341
|
-
],
|
|
342
|
-
"name": "state-file",
|
|
343
|
-
"hasDynamicHelp": false,
|
|
344
|
-
"multiple": false,
|
|
345
|
-
"type": "option"
|
|
346
|
-
},
|
|
347
|
-
"state-id": {
|
|
348
|
-
"description": "A state (from faces state:create) as the situation. With --state, the prose is an addendum for this call only: read with the state, never saved to it. Write anything that should persist with faces state:add --premise.",
|
|
349
|
-
"name": "state-id",
|
|
350
|
-
"hasDynamicHelp": false,
|
|
351
|
-
"multiple": false,
|
|
352
|
-
"type": "option"
|
|
353
|
-
},
|
|
354
|
-
"model": {
|
|
355
|
-
"description": "The choices model. maestro-1-flash answers sooner and costs 10 times more when a question is asked.",
|
|
356
|
-
"name": "model",
|
|
357
|
-
"default": "maestro-1",
|
|
358
|
-
"hasDynamicHelp": false,
|
|
359
|
-
"multiple": false,
|
|
360
|
-
"options": [
|
|
361
|
-
"maestro-1",
|
|
362
|
-
"maestro-1-flash"
|
|
363
|
-
],
|
|
364
|
-
"type": "option"
|
|
365
|
-
},
|
|
366
|
-
"max-choices": {
|
|
367
|
-
"description": "The most options to return, 1 to 32. Default 8.",
|
|
368
|
-
"name": "max-choices",
|
|
369
|
-
"hasDynamicHelp": false,
|
|
370
|
-
"multiple": false,
|
|
371
|
-
"type": "option"
|
|
435
|
+
"allow-paid": {
|
|
436
|
+
"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.",
|
|
437
|
+
"name": "allow-paid",
|
|
438
|
+
"allowNo": false,
|
|
439
|
+
"type": "boolean"
|
|
372
440
|
}
|
|
373
441
|
},
|
|
374
442
|
"hasDynamicHelp": false,
|
|
375
443
|
"hiddenAliases": [],
|
|
376
|
-
"id": "
|
|
444
|
+
"id": "account:preferences",
|
|
377
445
|
"pluginAlias": "@faces-sh/cli",
|
|
378
446
|
"pluginName": "@faces-sh/cli",
|
|
379
447
|
"pluginType": "core",
|
|
@@ -383,26 +451,14 @@
|
|
|
383
451
|
"relativePath": [
|
|
384
452
|
"dist",
|
|
385
453
|
"commands",
|
|
386
|
-
"
|
|
454
|
+
"account",
|
|
455
|
+
"preferences.js"
|
|
387
456
|
]
|
|
388
457
|
},
|
|
389
|
-
"
|
|
458
|
+
"account:state": {
|
|
390
459
|
"aliases": [],
|
|
391
|
-
"args": {
|
|
392
|
-
|
|
393
|
-
"description": "Face alias to answer as, a saved composite, or a formula such as \"(a | b)\". Leave it out with --baseline.",
|
|
394
|
-
"name": "face"
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
"description": "Ask what a face would decide. Describe a situation, ask typed questions about it, and get back numbers, as this face: a yes-or-no (noul), a pick between options (choice), or a place on a graded scale (score). faces choices gives you the options a face would weigh; this gives you what it would decide, for routing, simulations or panels. The face's cause for each question guides the decision model's (--model) answer. A face's answer takes about 10 to 20 seconds; one that runs long is held open by the server and can take a minute or more. --baseline asks the decision model alone (no-face baseline), in about a second: the number to compare a face's answer against. Name a face and ask no questions for its cause alone. On Connect and Pro the cause counts against the plan's allowance and the decision model is paid from credits; on Free both bill per token. A face needs something compiled.",
|
|
398
|
-
"examples": [
|
|
399
|
-
"<%= config.bin %> <%= command.id %> alice --state \"A colleague asks you to sign a grant proposal you have not read, due in an hour.\" --question \"Does the speaker sign?\" --option yes=\"signs it as asked\" --option no=\"declines to sign\" --option later=\"asks for time to read it first\"",
|
|
400
|
-
"<%= config.bin %> <%= command.id %> alice --state-file situation.txt --question \"Is the speaker irritated?\"",
|
|
401
|
-
"<%= config.bin %> <%= command.id %> alice --state-file situation.txt --question \"How firm is the reply?\" --level yields --level hedges --level firm --show-cause",
|
|
402
|
-
"<%= config.bin %> <%= command.id %> --baseline --model clef-flash --state-file situation.txt --questions-file questions.json",
|
|
403
|
-
"<%= config.bin %> <%= command.id %> alice --state-file situation.txt",
|
|
404
|
-
"<%= config.bin %> <%= command.id %> alice --state-file situation.json --questions-file questions.json --model clef --json"
|
|
405
|
-
],
|
|
460
|
+
"args": {},
|
|
461
|
+
"description": "Your plan, balance and onboarding.",
|
|
406
462
|
"flags": {
|
|
407
463
|
"json": {
|
|
408
464
|
"description": "Format output as json.",
|
|
@@ -443,238 +499,11 @@
|
|
|
443
499
|
"name": "toon",
|
|
444
500
|
"allowNo": false,
|
|
445
501
|
"type": "boolean"
|
|
446
|
-
},
|
|
447
|
-
"state": {
|
|
448
|
-
"description": "The situation the face is responding to, as plain text, up to 60,000 characters. Write it the way the face would hear it: it is read as the turn the face is answering.",
|
|
449
|
-
"exclusive": [
|
|
450
|
-
"state-file"
|
|
451
|
-
],
|
|
452
|
-
"name": "state",
|
|
453
|
-
"hasDynamicHelp": false,
|
|
454
|
-
"multiple": false,
|
|
455
|
-
"type": "option"
|
|
456
|
-
},
|
|
457
|
-
"state-file": {
|
|
458
|
-
"description": "Read the situation from this file instead of --state. A .json file is sent as the JSON it holds, so the situation can be an object or an array.",
|
|
459
|
-
"exclusive": [
|
|
460
|
-
"state"
|
|
461
|
-
],
|
|
462
|
-
"name": "state-file",
|
|
463
|
-
"hasDynamicHelp": false,
|
|
464
|
-
"multiple": false,
|
|
465
|
-
"type": "option"
|
|
466
|
-
},
|
|
467
|
-
"question": {
|
|
468
|
-
"description": "One question to ask. Its type follows from what comes with it: --option makes it a choice, --level a score, and neither a yes-or-no (noul). For several questions, use --questions-file.",
|
|
469
|
-
"exclusive": [
|
|
470
|
-
"questions-file"
|
|
471
|
-
],
|
|
472
|
-
"name": "question",
|
|
473
|
-
"hasDynamicHelp": false,
|
|
474
|
-
"multiple": false,
|
|
475
|
-
"type": "option"
|
|
476
|
-
},
|
|
477
|
-
"type": {
|
|
478
|
-
"dependsOn": [
|
|
479
|
-
"question"
|
|
480
|
-
],
|
|
481
|
-
"description": "The type of --question, when you would rather say it than leave it to --option and --level.",
|
|
482
|
-
"name": "type",
|
|
483
|
-
"hasDynamicHelp": false,
|
|
484
|
-
"multiple": false,
|
|
485
|
-
"options": [
|
|
486
|
-
"noul",
|
|
487
|
-
"choice",
|
|
488
|
-
"score"
|
|
489
|
-
],
|
|
490
|
-
"type": "option"
|
|
491
|
-
},
|
|
492
|
-
"option": {
|
|
493
|
-
"dependsOn": [
|
|
494
|
-
"question"
|
|
495
|
-
],
|
|
496
|
-
"description": "An option for a choice, as name=\"description\", or a bare name (repeatable, at least two). The name is what comes back; the description is what the answer is judged against, so make it specific: \"declines to sign\", not \"no\". Keep the options mutually exclusive, because the probability is split between them.",
|
|
497
|
-
"exclusive": [
|
|
498
|
-
"level"
|
|
499
|
-
],
|
|
500
|
-
"name": "option",
|
|
501
|
-
"hasDynamicHelp": false,
|
|
502
|
-
"multiple": true,
|
|
503
|
-
"type": "option"
|
|
504
|
-
},
|
|
505
|
-
"level": {
|
|
506
|
-
"dependsOn": [
|
|
507
|
-
"question"
|
|
508
|
-
],
|
|
509
|
-
"description": "A level of a score, described (repeatable, 2 to 10, lowest first). The answer is the expected level, from 0 for the first to one less than the number of levels.",
|
|
510
|
-
"exclusive": [
|
|
511
|
-
"option"
|
|
512
|
-
],
|
|
513
|
-
"name": "level",
|
|
514
|
-
"hasDynamicHelp": false,
|
|
515
|
-
"multiple": true,
|
|
516
|
-
"type": "option"
|
|
517
|
-
},
|
|
518
|
-
"id": {
|
|
519
|
-
"dependsOn": [
|
|
520
|
-
"question"
|
|
521
|
-
],
|
|
522
|
-
"description": "Key for the --question in the result (default: answer)",
|
|
523
|
-
"name": "id",
|
|
524
|
-
"hasDynamicHelp": false,
|
|
525
|
-
"multiple": false,
|
|
526
|
-
"type": "option"
|
|
527
|
-
},
|
|
528
|
-
"questions-file": {
|
|
529
|
-
"description": "A JSON file of 1 to 32 questions, in the API's own shape: {\"<id>\": {\"type\": \"noul\" | \"choice\" | \"score\", \"instructions\": \"...\", \"criteria\": ...}}. A choice's criteria are {\"<option>\": \"<description>\" or null}; a score's are a list of 2 to 10 levels, lowest first; a noul's are optional, {\"true\": \"...\", \"false\": \"...\"}.",
|
|
530
|
-
"exclusive": [
|
|
531
|
-
"question"
|
|
532
|
-
],
|
|
533
|
-
"name": "questions-file",
|
|
534
|
-
"hasDynamicHelp": false,
|
|
535
|
-
"multiple": false,
|
|
536
|
-
"type": "option"
|
|
537
|
-
},
|
|
538
|
-
"model": {
|
|
539
|
-
"description": "The decision model: the model that turns the situation into probabilities, as opposed to a generative model that writes text. Checked against the decision models the API lists: jev-latest, clef, clef-flash and gpt-6-luna today. gpt-6-luna answers in OpenAI's format only, so it uses --format openai.",
|
|
540
|
-
"name": "model",
|
|
541
|
-
"default": "jev-latest",
|
|
542
|
-
"hasDynamicHelp": false,
|
|
543
|
-
"multiple": false,
|
|
544
|
-
"type": "option"
|
|
545
|
-
},
|
|
546
|
-
"baseline": {
|
|
547
|
-
"description": "Ask the decision model alone, with no face: the no-face baseline. Costs only the decision model.",
|
|
548
|
-
"name": "baseline",
|
|
549
|
-
"allowNo": false,
|
|
550
|
-
"type": "boolean"
|
|
551
|
-
},
|
|
552
|
-
"show-cause": {
|
|
553
|
-
"description": "Also show the face's cause, one per question when there are several. Printed to stderr ahead of the answers. It is always in --json, as cause and causes.",
|
|
554
|
-
"name": "show-cause",
|
|
555
|
-
"allowNo": false,
|
|
556
|
-
"type": "boolean"
|
|
557
|
-
},
|
|
558
|
-
"conversation": {
|
|
559
|
-
"description": "Add this turn to a state, by id (from faces state:create). Send only what is new: the state so far is read before it. A state opened with one face takes only that face.",
|
|
560
|
-
"exclusive": [
|
|
561
|
-
"baseline"
|
|
562
|
-
],
|
|
563
|
-
"name": "conversation",
|
|
564
|
-
"hasDynamicHelp": false,
|
|
565
|
-
"multiple": false,
|
|
566
|
-
"type": "option"
|
|
567
|
-
},
|
|
568
|
-
"premise": {
|
|
569
|
-
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the state. 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.",
|
|
570
|
-
"exclusive": [
|
|
571
|
-
"baseline"
|
|
572
|
-
],
|
|
573
|
-
"name": "premise",
|
|
574
|
-
"hasDynamicHelp": false,
|
|
575
|
-
"multiple": true,
|
|
576
|
-
"type": "option"
|
|
577
|
-
},
|
|
578
|
-
"premise-description": {
|
|
579
|
-
"dependsOn": [
|
|
580
|
-
"premise"
|
|
581
|
-
],
|
|
582
|
-
"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 state, and kept after that.",
|
|
583
|
-
"exclusive": [
|
|
584
|
-
"baseline"
|
|
585
|
-
],
|
|
586
|
-
"name": "premise-description",
|
|
587
|
-
"hasDynamicHelp": false,
|
|
588
|
-
"multiple": true,
|
|
589
|
-
"type": "option"
|
|
590
|
-
},
|
|
591
|
-
"premise-status": {
|
|
592
|
-
"dependsOn": [
|
|
593
|
-
"premise"
|
|
594
|
-
],
|
|
595
|
-
"description": "A --premise's status, as key=status (repeatable, one per key): stated, verified, assumed, unresolved, invalidated. Left out, a new premise is stated. An invalidated premise invalidates everything that depends on it; set it to another status to restore them.",
|
|
596
|
-
"exclusive": [
|
|
597
|
-
"baseline"
|
|
598
|
-
],
|
|
599
|
-
"name": "premise-status",
|
|
600
|
-
"hasDynamicHelp": false,
|
|
601
|
-
"multiple": true,
|
|
602
|
-
"type": "option"
|
|
603
|
-
},
|
|
604
|
-
"premise-depends-on": {
|
|
605
|
-
"dependsOn": [
|
|
606
|
-
"premise"
|
|
607
|
-
],
|
|
608
|
-
"description": "What a --premise rests on, as key=a,b (repeatable, one per key): premise keys and decision ids already in the state or set in the same request, at most 200. key= with nothing after it clears it; left out, a newer value keeps what the key rested on before.",
|
|
609
|
-
"exclusive": [
|
|
610
|
-
"baseline"
|
|
611
|
-
],
|
|
612
|
-
"name": "premise-depends-on",
|
|
613
|
-
"hasDynamicHelp": false,
|
|
614
|
-
"multiple": true,
|
|
615
|
-
"type": "option"
|
|
616
|
-
},
|
|
617
|
-
"causes-visible": {
|
|
618
|
-
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the state (see faces state:create --no-causes-visible). Needs --conversation.",
|
|
619
|
-
"exclusive": [
|
|
620
|
-
"baseline"
|
|
621
|
-
],
|
|
622
|
-
"name": "causes-visible",
|
|
623
|
-
"allowNo": true,
|
|
624
|
-
"type": "boolean"
|
|
625
|
-
},
|
|
626
|
-
"depends-on": {
|
|
627
|
-
"description": "In a state (--conversation), what this decision rests on, comma separated: premise keys and decision ids already in the state or set with --premise, at most 200. The decision is shown those, and is invalidated when one of them is. Left out, it rests on every premise in force.",
|
|
628
|
-
"exclusive": [
|
|
629
|
-
"baseline"
|
|
630
|
-
],
|
|
631
|
-
"name": "depends-on",
|
|
632
|
-
"hasDynamicHelp": false,
|
|
633
|
-
"multiple": false,
|
|
634
|
-
"type": "option"
|
|
635
|
-
},
|
|
636
|
-
"session": {
|
|
637
|
-
"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.",
|
|
638
|
-
"exclusive": [
|
|
639
|
-
"baseline"
|
|
640
|
-
],
|
|
641
|
-
"name": "session",
|
|
642
|
-
"hasDynamicHelp": false,
|
|
643
|
-
"multiple": false,
|
|
644
|
-
"type": "option"
|
|
645
|
-
},
|
|
646
|
-
"compaction": {
|
|
647
|
-
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
648
|
-
"exclusive": [
|
|
649
|
-
"baseline"
|
|
650
|
-
],
|
|
651
|
-
"name": "compaction",
|
|
652
|
-
"hasDynamicHelp": false,
|
|
653
|
-
"multiple": false,
|
|
654
|
-
"type": "option"
|
|
655
|
-
},
|
|
656
|
-
"format": {
|
|
657
|
-
"description": "The request shape: systemone (default, TypeSafe Jev's System One) or openai (OpenAI's Decisions format). The answers are the same; --json returns the chosen format's own shape.",
|
|
658
|
-
"name": "format",
|
|
659
|
-
"default": "systemone",
|
|
660
|
-
"hasDynamicHelp": false,
|
|
661
|
-
"multiple": false,
|
|
662
|
-
"options": [
|
|
663
|
-
"systemone",
|
|
664
|
-
"openai"
|
|
665
|
-
],
|
|
666
|
-
"type": "option"
|
|
667
|
-
},
|
|
668
|
-
"retry": {
|
|
669
|
-
"description": "If the server answers 503 with the seconds to wait, wait exactly that and ask again, for up to 5 minutes in all. On by default; --no-retry returns the 503 straight away.",
|
|
670
|
-
"name": "retry",
|
|
671
|
-
"allowNo": true,
|
|
672
|
-
"type": "boolean"
|
|
673
502
|
}
|
|
674
503
|
},
|
|
675
504
|
"hasDynamicHelp": false,
|
|
676
505
|
"hiddenAliases": [],
|
|
677
|
-
"id": "
|
|
506
|
+
"id": "account:state",
|
|
678
507
|
"pluginAlias": "@faces-sh/cli",
|
|
679
508
|
"pluginName": "@faces-sh/cli",
|
|
680
509
|
"pluginType": "core",
|
|
@@ -684,30 +513,26 @@
|
|
|
684
513
|
"relativePath": [
|
|
685
514
|
"dist",
|
|
686
515
|
"commands",
|
|
687
|
-
"
|
|
516
|
+
"account",
|
|
517
|
+
"state.js"
|
|
688
518
|
]
|
|
689
519
|
},
|
|
690
|
-
"
|
|
520
|
+
"auth:connect": {
|
|
691
521
|
"aliases": [],
|
|
692
522
|
"args": {
|
|
693
|
-
"
|
|
694
|
-
"description": "
|
|
695
|
-
"name": "
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
"
|
|
523
|
+
"provider": {
|
|
524
|
+
"description": "OAuth provider to connect",
|
|
525
|
+
"name": "provider",
|
|
526
|
+
"options": [
|
|
527
|
+
"openai"
|
|
528
|
+
],
|
|
529
|
+
"required": true
|
|
700
530
|
}
|
|
701
531
|
},
|
|
702
|
-
"description": "
|
|
532
|
+
"description": "Link your ChatGPT account by device-code authorization (Connect and Pro). Interviews and style builds then run on the ChatGPT plan instead of credits.",
|
|
703
533
|
"examples": [
|
|
704
|
-
"
|
|
705
|
-
"
|
|
706
|
-
"faces account:preferences api_fallback true",
|
|
707
|
-
"faces account:preferences auto_style off",
|
|
708
|
-
"faces account:preferences auto_style default",
|
|
709
|
-
"faces account:preferences auto_style on --allow-paid",
|
|
710
|
-
"faces account:preferences auto_style_thresholds \"email=25000,text message=default\""
|
|
534
|
+
"<%= config.bin %> auth:connect openai",
|
|
535
|
+
"<%= config.bin %> auth:connect openai --json"
|
|
711
536
|
],
|
|
712
537
|
"flags": {
|
|
713
538
|
"json": {
|
|
@@ -749,17 +574,11 @@
|
|
|
749
574
|
"name": "toon",
|
|
750
575
|
"allowNo": false,
|
|
751
576
|
"type": "boolean"
|
|
752
|
-
},
|
|
753
|
-
"allow-paid": {
|
|
754
|
-
"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.",
|
|
755
|
-
"name": "allow-paid",
|
|
756
|
-
"allowNo": false,
|
|
757
|
-
"type": "boolean"
|
|
758
577
|
}
|
|
759
578
|
},
|
|
760
579
|
"hasDynamicHelp": false,
|
|
761
580
|
"hiddenAliases": [],
|
|
762
|
-
"id": "
|
|
581
|
+
"id": "auth:connect",
|
|
763
582
|
"pluginAlias": "@faces-sh/cli",
|
|
764
583
|
"pluginName": "@faces-sh/cli",
|
|
765
584
|
"pluginType": "core",
|
|
@@ -769,14 +588,18 @@
|
|
|
769
588
|
"relativePath": [
|
|
770
589
|
"dist",
|
|
771
590
|
"commands",
|
|
772
|
-
"
|
|
773
|
-
"
|
|
591
|
+
"auth",
|
|
592
|
+
"connect.js"
|
|
774
593
|
]
|
|
775
594
|
},
|
|
776
|
-
"
|
|
595
|
+
"auth:connections": {
|
|
777
596
|
"aliases": [],
|
|
778
597
|
"args": {},
|
|
779
|
-
"description": "
|
|
598
|
+
"description": "List connected OAuth provider accounts",
|
|
599
|
+
"examples": [
|
|
600
|
+
"<%= config.bin %> auth:connections",
|
|
601
|
+
"<%= config.bin %> auth:connections --json"
|
|
602
|
+
],
|
|
780
603
|
"flags": {
|
|
781
604
|
"json": {
|
|
782
605
|
"description": "Format output as json.",
|
|
@@ -821,7 +644,7 @@
|
|
|
821
644
|
},
|
|
822
645
|
"hasDynamicHelp": false,
|
|
823
646
|
"hiddenAliases": [],
|
|
824
|
-
"id": "
|
|
647
|
+
"id": "auth:connections",
|
|
825
648
|
"pluginAlias": "@faces-sh/cli",
|
|
826
649
|
"pluginName": "@faces-sh/cli",
|
|
827
650
|
"pluginType": "core",
|
|
@@ -831,15 +654,15 @@
|
|
|
831
654
|
"relativePath": [
|
|
832
655
|
"dist",
|
|
833
656
|
"commands",
|
|
834
|
-
"
|
|
835
|
-
"
|
|
657
|
+
"auth",
|
|
658
|
+
"connections.js"
|
|
836
659
|
]
|
|
837
660
|
},
|
|
838
|
-
"auth:
|
|
661
|
+
"auth:disconnect": {
|
|
839
662
|
"aliases": [],
|
|
840
663
|
"args": {
|
|
841
664
|
"provider": {
|
|
842
|
-
"description": "OAuth provider to
|
|
665
|
+
"description": "OAuth provider to disconnect",
|
|
843
666
|
"name": "provider",
|
|
844
667
|
"options": [
|
|
845
668
|
"openai"
|
|
@@ -847,148 +670,7 @@
|
|
|
847
670
|
"required": true
|
|
848
671
|
}
|
|
849
672
|
},
|
|
850
|
-
"description": "
|
|
851
|
-
"examples": [
|
|
852
|
-
"<%= config.bin %> auth:connect openai",
|
|
853
|
-
"<%= config.bin %> auth:connect openai --json"
|
|
854
|
-
],
|
|
855
|
-
"flags": {
|
|
856
|
-
"json": {
|
|
857
|
-
"description": "Format output as json.",
|
|
858
|
-
"helpGroup": "GLOBAL",
|
|
859
|
-
"name": "json",
|
|
860
|
-
"allowNo": false,
|
|
861
|
-
"type": "boolean"
|
|
862
|
-
},
|
|
863
|
-
"base-url": {
|
|
864
|
-
"description": "API base URL",
|
|
865
|
-
"env": "FACES_BASE_URL",
|
|
866
|
-
"name": "base-url",
|
|
867
|
-
"hasDynamicHelp": false,
|
|
868
|
-
"multiple": false,
|
|
869
|
-
"type": "option"
|
|
870
|
-
},
|
|
871
|
-
"token": {
|
|
872
|
-
"description": "JWT bearer token",
|
|
873
|
-
"env": "FACES_TOKEN",
|
|
874
|
-
"name": "token",
|
|
875
|
-
"hasDynamicHelp": false,
|
|
876
|
-
"multiple": false,
|
|
877
|
-
"type": "option"
|
|
878
|
-
},
|
|
879
|
-
"api-key": {
|
|
880
|
-
"description": "API key",
|
|
881
|
-
"env": "FACES_API_KEY",
|
|
882
|
-
"name": "api-key",
|
|
883
|
-
"hasDynamicHelp": false,
|
|
884
|
-
"multiple": false,
|
|
885
|
-
"type": "option"
|
|
886
|
-
},
|
|
887
|
-
"toon": {
|
|
888
|
-
"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.",
|
|
889
|
-
"exclusive": [
|
|
890
|
-
"json"
|
|
891
|
-
],
|
|
892
|
-
"name": "toon",
|
|
893
|
-
"allowNo": false,
|
|
894
|
-
"type": "boolean"
|
|
895
|
-
}
|
|
896
|
-
},
|
|
897
|
-
"hasDynamicHelp": false,
|
|
898
|
-
"hiddenAliases": [],
|
|
899
|
-
"id": "auth:connect",
|
|
900
|
-
"pluginAlias": "@faces-sh/cli",
|
|
901
|
-
"pluginName": "@faces-sh/cli",
|
|
902
|
-
"pluginType": "core",
|
|
903
|
-
"strict": true,
|
|
904
|
-
"enableJsonFlag": true,
|
|
905
|
-
"isESM": true,
|
|
906
|
-
"relativePath": [
|
|
907
|
-
"dist",
|
|
908
|
-
"commands",
|
|
909
|
-
"auth",
|
|
910
|
-
"connect.js"
|
|
911
|
-
]
|
|
912
|
-
},
|
|
913
|
-
"auth:connections": {
|
|
914
|
-
"aliases": [],
|
|
915
|
-
"args": {},
|
|
916
|
-
"description": "List connected OAuth provider accounts",
|
|
917
|
-
"examples": [
|
|
918
|
-
"<%= config.bin %> auth:connections",
|
|
919
|
-
"<%= config.bin %> auth:connections --json"
|
|
920
|
-
],
|
|
921
|
-
"flags": {
|
|
922
|
-
"json": {
|
|
923
|
-
"description": "Format output as json.",
|
|
924
|
-
"helpGroup": "GLOBAL",
|
|
925
|
-
"name": "json",
|
|
926
|
-
"allowNo": false,
|
|
927
|
-
"type": "boolean"
|
|
928
|
-
},
|
|
929
|
-
"base-url": {
|
|
930
|
-
"description": "API base URL",
|
|
931
|
-
"env": "FACES_BASE_URL",
|
|
932
|
-
"name": "base-url",
|
|
933
|
-
"hasDynamicHelp": false,
|
|
934
|
-
"multiple": false,
|
|
935
|
-
"type": "option"
|
|
936
|
-
},
|
|
937
|
-
"token": {
|
|
938
|
-
"description": "JWT bearer token",
|
|
939
|
-
"env": "FACES_TOKEN",
|
|
940
|
-
"name": "token",
|
|
941
|
-
"hasDynamicHelp": false,
|
|
942
|
-
"multiple": false,
|
|
943
|
-
"type": "option"
|
|
944
|
-
},
|
|
945
|
-
"api-key": {
|
|
946
|
-
"description": "API key",
|
|
947
|
-
"env": "FACES_API_KEY",
|
|
948
|
-
"name": "api-key",
|
|
949
|
-
"hasDynamicHelp": false,
|
|
950
|
-
"multiple": false,
|
|
951
|
-
"type": "option"
|
|
952
|
-
},
|
|
953
|
-
"toon": {
|
|
954
|
-
"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.",
|
|
955
|
-
"exclusive": [
|
|
956
|
-
"json"
|
|
957
|
-
],
|
|
958
|
-
"name": "toon",
|
|
959
|
-
"allowNo": false,
|
|
960
|
-
"type": "boolean"
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
"hasDynamicHelp": false,
|
|
964
|
-
"hiddenAliases": [],
|
|
965
|
-
"id": "auth:connections",
|
|
966
|
-
"pluginAlias": "@faces-sh/cli",
|
|
967
|
-
"pluginName": "@faces-sh/cli",
|
|
968
|
-
"pluginType": "core",
|
|
969
|
-
"strict": true,
|
|
970
|
-
"enableJsonFlag": true,
|
|
971
|
-
"isESM": true,
|
|
972
|
-
"relativePath": [
|
|
973
|
-
"dist",
|
|
974
|
-
"commands",
|
|
975
|
-
"auth",
|
|
976
|
-
"connections.js"
|
|
977
|
-
]
|
|
978
|
-
},
|
|
979
|
-
"auth:disconnect": {
|
|
980
|
-
"aliases": [],
|
|
981
|
-
"args": {
|
|
982
|
-
"provider": {
|
|
983
|
-
"description": "OAuth provider to disconnect",
|
|
984
|
-
"name": "provider",
|
|
985
|
-
"options": [
|
|
986
|
-
"openai"
|
|
987
|
-
],
|
|
988
|
-
"required": true
|
|
989
|
-
}
|
|
990
|
-
},
|
|
991
|
-
"description": "Disconnect a linked OAuth provider account",
|
|
673
|
+
"description": "Disconnect a linked OAuth provider account",
|
|
992
674
|
"examples": [
|
|
993
675
|
"<%= config.bin %> auth:disconnect openai"
|
|
994
676
|
],
|
|
@@ -1882,7 +1564,7 @@
|
|
|
1882
1564
|
"billing:llm-costs": {
|
|
1883
1565
|
"aliases": [],
|
|
1884
1566
|
"args": {},
|
|
1885
|
-
"description": "List available LLMs, their per-token costs and what you have spent on each. Models are listed once, under the id their lab gives them.
|
|
1567
|
+
"description": "List available LLMs, their per-token costs and what you have spent on each. Models are listed once, under the id their lab gives them. Maestro and compile prices, and what each plan includes, are listed after the table. For the full catalog, with endpoints and which models are Codex-eligible, see faces models:list.",
|
|
1886
1568
|
"flags": {
|
|
1887
1569
|
"json": {
|
|
1888
1570
|
"description": "Format output as json.",
|
|
@@ -2243,7 +1925,7 @@
|
|
|
2243
1925
|
"type": "boolean"
|
|
2244
1926
|
},
|
|
2245
1927
|
"generate": {
|
|
2246
|
-
"description": "Retired
|
|
1928
|
+
"description": "Retired. Write a description with faces face:edit <alias> --description.",
|
|
2247
1929
|
"hidden": true,
|
|
2248
1930
|
"name": "generate",
|
|
2249
1931
|
"allowNo": false,
|
|
@@ -2321,7 +2003,640 @@
|
|
|
2321
2003
|
},
|
|
2322
2004
|
"hasDynamicHelp": false,
|
|
2323
2005
|
"hiddenAliases": [],
|
|
2324
|
-
"id": "catalog:list",
|
|
2006
|
+
"id": "catalog:list",
|
|
2007
|
+
"pluginAlias": "@faces-sh/cli",
|
|
2008
|
+
"pluginName": "@faces-sh/cli",
|
|
2009
|
+
"pluginType": "core",
|
|
2010
|
+
"strict": true,
|
|
2011
|
+
"enableJsonFlag": true,
|
|
2012
|
+
"isESM": true,
|
|
2013
|
+
"relativePath": [
|
|
2014
|
+
"dist",
|
|
2015
|
+
"commands",
|
|
2016
|
+
"catalog",
|
|
2017
|
+
"list.js"
|
|
2018
|
+
]
|
|
2019
|
+
},
|
|
2020
|
+
"catalog:restore": {
|
|
2021
|
+
"aliases": [],
|
|
2022
|
+
"args": {
|
|
2023
|
+
"file": {
|
|
2024
|
+
"description": "Backup file path (default: most recent in ~/.faces/backups/)",
|
|
2025
|
+
"name": "file"
|
|
2026
|
+
}
|
|
2027
|
+
},
|
|
2028
|
+
"description": "Restore faces, groups, and source material from a backup snapshot",
|
|
2029
|
+
"flags": {
|
|
2030
|
+
"json": {
|
|
2031
|
+
"description": "Format output as json.",
|
|
2032
|
+
"helpGroup": "GLOBAL",
|
|
2033
|
+
"name": "json",
|
|
2034
|
+
"allowNo": false,
|
|
2035
|
+
"type": "boolean"
|
|
2036
|
+
},
|
|
2037
|
+
"base-url": {
|
|
2038
|
+
"description": "API base URL",
|
|
2039
|
+
"env": "FACES_BASE_URL",
|
|
2040
|
+
"name": "base-url",
|
|
2041
|
+
"hasDynamicHelp": false,
|
|
2042
|
+
"multiple": false,
|
|
2043
|
+
"type": "option"
|
|
2044
|
+
},
|
|
2045
|
+
"token": {
|
|
2046
|
+
"description": "JWT bearer token",
|
|
2047
|
+
"env": "FACES_TOKEN",
|
|
2048
|
+
"name": "token",
|
|
2049
|
+
"hasDynamicHelp": false,
|
|
2050
|
+
"multiple": false,
|
|
2051
|
+
"type": "option"
|
|
2052
|
+
},
|
|
2053
|
+
"api-key": {
|
|
2054
|
+
"description": "API key",
|
|
2055
|
+
"env": "FACES_API_KEY",
|
|
2056
|
+
"name": "api-key",
|
|
2057
|
+
"hasDynamicHelp": false,
|
|
2058
|
+
"multiple": false,
|
|
2059
|
+
"type": "option"
|
|
2060
|
+
},
|
|
2061
|
+
"toon": {
|
|
2062
|
+
"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.",
|
|
2063
|
+
"exclusive": [
|
|
2064
|
+
"json"
|
|
2065
|
+
],
|
|
2066
|
+
"name": "toon",
|
|
2067
|
+
"allowNo": false,
|
|
2068
|
+
"type": "boolean"
|
|
2069
|
+
},
|
|
2070
|
+
"compile": {
|
|
2071
|
+
"description": "Run compile:all after restoring",
|
|
2072
|
+
"name": "compile",
|
|
2073
|
+
"allowNo": false,
|
|
2074
|
+
"type": "boolean"
|
|
2075
|
+
}
|
|
2076
|
+
},
|
|
2077
|
+
"hasDynamicHelp": false,
|
|
2078
|
+
"hiddenAliases": [],
|
|
2079
|
+
"id": "catalog:restore",
|
|
2080
|
+
"pluginAlias": "@faces-sh/cli",
|
|
2081
|
+
"pluginName": "@faces-sh/cli",
|
|
2082
|
+
"pluginType": "core",
|
|
2083
|
+
"strict": true,
|
|
2084
|
+
"enableJsonFlag": true,
|
|
2085
|
+
"isESM": true,
|
|
2086
|
+
"relativePath": [
|
|
2087
|
+
"dist",
|
|
2088
|
+
"commands",
|
|
2089
|
+
"catalog",
|
|
2090
|
+
"restore.js"
|
|
2091
|
+
]
|
|
2092
|
+
},
|
|
2093
|
+
"chat:chat": {
|
|
2094
|
+
"aliases": [],
|
|
2095
|
+
"args": {
|
|
2096
|
+
"model": {
|
|
2097
|
+
"description": "The upstream model over the downstream model: @<face>:<maestro>/<model>, e.g. @alice:maestro-1/gpt-5.4. Another account's face is @owner~face; a composite is \"(@a | @b):maestro-1/<model>\" (operators | & - ^). maestro-1-flash steers sooner, at 10 times the steering price. The model after the / is any chat model in faces models:list, written as it is listed.",
|
|
2098
|
+
"name": "model",
|
|
2099
|
+
"required": true
|
|
2100
|
+
}
|
|
2101
|
+
},
|
|
2102
|
+
"description": "Chat with a face. Name the upstream model over the downstream model: @alice:maestro-1/gpt-5.4. The face steers, and the downstream model writes the reply. Routes to /v1/chat/completions, /v1/responses or /v1/messages from the model catalog (--responses forces /v1/responses). The face's style is chosen for each request. Add --conversation to take the turn in a state (see faces state:create). The steering is billed per input token plus a small fee per call (faces models:list --kind upstream), and the downstream model at its listed price.",
|
|
2103
|
+
"examples": [
|
|
2104
|
+
"<%= config.bin %> <%= command.id %> @socrates:maestro-1/gpt-5.4 -m \"What is virtue?\"",
|
|
2105
|
+
"<%= config.bin %> <%= command.id %> @head~socrates:maestro-1-flash/claude-sonnet-4-6 -m \"What is virtue?\"",
|
|
2106
|
+
"<%= config.bin %> <%= command.id %> \"(@socrates | @nietzsche):maestro-1/gpt-5.4\" -m \"What is virtue?\"",
|
|
2107
|
+
"<%= config.bin %> <%= command.id %> @alice:maestro-1/gpt-5.4 -m \"So what do I tell them tomorrow?\" --conversation fs_STATE_ID",
|
|
2108
|
+
"<%= config.bin %> <%= command.id %> @alice:maestro-1/gpt-5.4 -m \"Is this vendor worth a closer look?\" --conversation fs_STATE_ID --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\""
|
|
2109
|
+
],
|
|
2110
|
+
"flags": {
|
|
2111
|
+
"json": {
|
|
2112
|
+
"description": "Format output as json.",
|
|
2113
|
+
"helpGroup": "GLOBAL",
|
|
2114
|
+
"name": "json",
|
|
2115
|
+
"allowNo": false,
|
|
2116
|
+
"type": "boolean"
|
|
2117
|
+
},
|
|
2118
|
+
"base-url": {
|
|
2119
|
+
"description": "API base URL",
|
|
2120
|
+
"env": "FACES_BASE_URL",
|
|
2121
|
+
"name": "base-url",
|
|
2122
|
+
"hasDynamicHelp": false,
|
|
2123
|
+
"multiple": false,
|
|
2124
|
+
"type": "option"
|
|
2125
|
+
},
|
|
2126
|
+
"token": {
|
|
2127
|
+
"description": "JWT bearer token",
|
|
2128
|
+
"env": "FACES_TOKEN",
|
|
2129
|
+
"name": "token",
|
|
2130
|
+
"hasDynamicHelp": false,
|
|
2131
|
+
"multiple": false,
|
|
2132
|
+
"type": "option"
|
|
2133
|
+
},
|
|
2134
|
+
"api-key": {
|
|
2135
|
+
"description": "API key",
|
|
2136
|
+
"env": "FACES_API_KEY",
|
|
2137
|
+
"name": "api-key",
|
|
2138
|
+
"hasDynamicHelp": false,
|
|
2139
|
+
"multiple": false,
|
|
2140
|
+
"type": "option"
|
|
2141
|
+
},
|
|
2142
|
+
"toon": {
|
|
2143
|
+
"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.",
|
|
2144
|
+
"exclusive": [
|
|
2145
|
+
"json"
|
|
2146
|
+
],
|
|
2147
|
+
"name": "toon",
|
|
2148
|
+
"allowNo": false,
|
|
2149
|
+
"type": "boolean"
|
|
2150
|
+
},
|
|
2151
|
+
"message": {
|
|
2152
|
+
"char": "m",
|
|
2153
|
+
"description": "Your message (repeatable, sent in order).",
|
|
2154
|
+
"name": "message",
|
|
2155
|
+
"hasDynamicHelp": false,
|
|
2156
|
+
"multiple": true,
|
|
2157
|
+
"type": "option"
|
|
2158
|
+
},
|
|
2159
|
+
"file": {
|
|
2160
|
+
"description": "Read the message from a file.",
|
|
2161
|
+
"name": "file",
|
|
2162
|
+
"hasDynamicHelp": false,
|
|
2163
|
+
"multiple": false,
|
|
2164
|
+
"type": "option"
|
|
2165
|
+
},
|
|
2166
|
+
"system": {
|
|
2167
|
+
"description": "System prompt (instructions on /v1/responses).",
|
|
2168
|
+
"name": "system",
|
|
2169
|
+
"hasDynamicHelp": false,
|
|
2170
|
+
"multiple": false,
|
|
2171
|
+
"type": "option"
|
|
2172
|
+
},
|
|
2173
|
+
"stream": {
|
|
2174
|
+
"description": "Stream the reply as it is written (the default). --no-stream waits for the whole reply instead. Either way a face has up to 300s to answer; past that the request is stopped and can be asked again. --json is never streamed.",
|
|
2175
|
+
"name": "stream",
|
|
2176
|
+
"allowNo": true,
|
|
2177
|
+
"type": "boolean"
|
|
2178
|
+
},
|
|
2179
|
+
"max-tokens": {
|
|
2180
|
+
"description": "The most tokens the reply may take (at least 1; 16 on /v1/responses).",
|
|
2181
|
+
"name": "max-tokens",
|
|
2182
|
+
"hasDynamicHelp": false,
|
|
2183
|
+
"multiple": false,
|
|
2184
|
+
"type": "option"
|
|
2185
|
+
},
|
|
2186
|
+
"temperature": {
|
|
2187
|
+
"description": "Temperature (0.0-2.0).",
|
|
2188
|
+
"name": "temperature",
|
|
2189
|
+
"hasDynamicHelp": false,
|
|
2190
|
+
"multiple": false,
|
|
2191
|
+
"type": "option"
|
|
2192
|
+
},
|
|
2193
|
+
"conversation": {
|
|
2194
|
+
"description": "Add this turn to a state, by id (from faces state:create). Send only what is new: the state so far is read before it. A state opened with one face takes only that face.",
|
|
2195
|
+
"name": "conversation",
|
|
2196
|
+
"hasDynamicHelp": false,
|
|
2197
|
+
"multiple": false,
|
|
2198
|
+
"type": "option"
|
|
2199
|
+
},
|
|
2200
|
+
"premise": {
|
|
2201
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the state. 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.",
|
|
2202
|
+
"name": "premise",
|
|
2203
|
+
"hasDynamicHelp": false,
|
|
2204
|
+
"multiple": true,
|
|
2205
|
+
"type": "option"
|
|
2206
|
+
},
|
|
2207
|
+
"premise-description": {
|
|
2208
|
+
"dependsOn": [
|
|
2209
|
+
"premise"
|
|
2210
|
+
],
|
|
2211
|
+
"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 state, and kept after that.",
|
|
2212
|
+
"name": "premise-description",
|
|
2213
|
+
"hasDynamicHelp": false,
|
|
2214
|
+
"multiple": true,
|
|
2215
|
+
"type": "option"
|
|
2216
|
+
},
|
|
2217
|
+
"premise-status": {
|
|
2218
|
+
"dependsOn": [
|
|
2219
|
+
"premise"
|
|
2220
|
+
],
|
|
2221
|
+
"description": "A --premise's status, as key=status (repeatable, one per key): stated, verified, assumed, unresolved, invalidated. Left out, a new premise is stated. An invalidated premise invalidates everything that depends on it; set it to another status to restore them.",
|
|
2222
|
+
"name": "premise-status",
|
|
2223
|
+
"hasDynamicHelp": false,
|
|
2224
|
+
"multiple": true,
|
|
2225
|
+
"type": "option"
|
|
2226
|
+
},
|
|
2227
|
+
"premise-depends-on": {
|
|
2228
|
+
"dependsOn": [
|
|
2229
|
+
"premise"
|
|
2230
|
+
],
|
|
2231
|
+
"description": "What a --premise rests on, as key=a,b (repeatable, one per key): premise keys and decision ids already in the state or set in the same request, at most 200. key= with nothing after it clears it; left out, a newer value keeps what the key rested on before.",
|
|
2232
|
+
"name": "premise-depends-on",
|
|
2233
|
+
"hasDynamicHelp": false,
|
|
2234
|
+
"multiple": true,
|
|
2235
|
+
"type": "option"
|
|
2236
|
+
},
|
|
2237
|
+
"causes-visible": {
|
|
2238
|
+
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the state (see faces state:create --no-causes-visible). Needs --conversation.",
|
|
2239
|
+
"name": "causes-visible",
|
|
2240
|
+
"allowNo": true,
|
|
2241
|
+
"type": "boolean"
|
|
2242
|
+
},
|
|
2243
|
+
"session": {
|
|
2244
|
+
"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.",
|
|
2245
|
+
"name": "session",
|
|
2246
|
+
"hasDynamicHelp": false,
|
|
2247
|
+
"multiple": false,
|
|
2248
|
+
"type": "option"
|
|
2249
|
+
},
|
|
2250
|
+
"compaction": {
|
|
2251
|
+
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
2252
|
+
"name": "compaction",
|
|
2253
|
+
"hasDynamicHelp": false,
|
|
2254
|
+
"multiple": false,
|
|
2255
|
+
"type": "option"
|
|
2256
|
+
},
|
|
2257
|
+
"oauth-only": {
|
|
2258
|
+
"description": "On a linked ChatGPT plan, run there or fail: never fall back to credits.",
|
|
2259
|
+
"name": "oauth-only",
|
|
2260
|
+
"allowNo": false,
|
|
2261
|
+
"type": "boolean"
|
|
2262
|
+
},
|
|
2263
|
+
"responses": {
|
|
2264
|
+
"description": "Send it to /v1/responses whatever the catalog says (routing is automatic otherwise).",
|
|
2265
|
+
"name": "responses",
|
|
2266
|
+
"allowNo": false,
|
|
2267
|
+
"type": "boolean"
|
|
2268
|
+
}
|
|
2269
|
+
},
|
|
2270
|
+
"hasDynamicHelp": false,
|
|
2271
|
+
"hiddenAliases": [],
|
|
2272
|
+
"id": "chat:chat",
|
|
2273
|
+
"pluginAlias": "@faces-sh/cli",
|
|
2274
|
+
"pluginName": "@faces-sh/cli",
|
|
2275
|
+
"pluginType": "core",
|
|
2276
|
+
"strict": true,
|
|
2277
|
+
"enableJsonFlag": true,
|
|
2278
|
+
"isESM": true,
|
|
2279
|
+
"relativePath": [
|
|
2280
|
+
"dist",
|
|
2281
|
+
"commands",
|
|
2282
|
+
"chat",
|
|
2283
|
+
"chat.js"
|
|
2284
|
+
]
|
|
2285
|
+
},
|
|
2286
|
+
"chat:messages": {
|
|
2287
|
+
"aliases": [],
|
|
2288
|
+
"args": {
|
|
2289
|
+
"model": {
|
|
2290
|
+
"description": "The upstream model over the downstream model: @<face>:<maestro>/<model>, e.g. @alice:maestro-1/gpt-5.4. Another account's face is @owner~face; a composite is \"(@a | @b):maestro-1/<model>\" (operators | & - ^). maestro-1-flash steers sooner, at 10 times the steering price. The model after the / is any chat model in faces models:list, written as it is listed.",
|
|
2291
|
+
"name": "model",
|
|
2292
|
+
"required": true
|
|
2293
|
+
}
|
|
2294
|
+
},
|
|
2295
|
+
"description": "Chat with a face in the Anthropic Messages format (/v1/messages), whatever the model. chat:chat routes Anthropic models here on its own. Name the model as for chat:chat: @alice:maestro-1/claude-sonnet-4-6.",
|
|
2296
|
+
"examples": [
|
|
2297
|
+
"<%= config.bin %> <%= command.id %> @socrates:maestro-1/claude-sonnet-4-6 -m \"What is virtue?\" --max-tokens 400"
|
|
2298
|
+
],
|
|
2299
|
+
"flags": {
|
|
2300
|
+
"json": {
|
|
2301
|
+
"description": "Format output as json.",
|
|
2302
|
+
"helpGroup": "GLOBAL",
|
|
2303
|
+
"name": "json",
|
|
2304
|
+
"allowNo": false,
|
|
2305
|
+
"type": "boolean"
|
|
2306
|
+
},
|
|
2307
|
+
"base-url": {
|
|
2308
|
+
"description": "API base URL",
|
|
2309
|
+
"env": "FACES_BASE_URL",
|
|
2310
|
+
"name": "base-url",
|
|
2311
|
+
"hasDynamicHelp": false,
|
|
2312
|
+
"multiple": false,
|
|
2313
|
+
"type": "option"
|
|
2314
|
+
},
|
|
2315
|
+
"token": {
|
|
2316
|
+
"description": "JWT bearer token",
|
|
2317
|
+
"env": "FACES_TOKEN",
|
|
2318
|
+
"name": "token",
|
|
2319
|
+
"hasDynamicHelp": false,
|
|
2320
|
+
"multiple": false,
|
|
2321
|
+
"type": "option"
|
|
2322
|
+
},
|
|
2323
|
+
"api-key": {
|
|
2324
|
+
"description": "API key",
|
|
2325
|
+
"env": "FACES_API_KEY",
|
|
2326
|
+
"name": "api-key",
|
|
2327
|
+
"hasDynamicHelp": false,
|
|
2328
|
+
"multiple": false,
|
|
2329
|
+
"type": "option"
|
|
2330
|
+
},
|
|
2331
|
+
"toon": {
|
|
2332
|
+
"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.",
|
|
2333
|
+
"exclusive": [
|
|
2334
|
+
"json"
|
|
2335
|
+
],
|
|
2336
|
+
"name": "toon",
|
|
2337
|
+
"allowNo": false,
|
|
2338
|
+
"type": "boolean"
|
|
2339
|
+
},
|
|
2340
|
+
"message": {
|
|
2341
|
+
"char": "m",
|
|
2342
|
+
"description": "Your message (repeatable, sent in order).",
|
|
2343
|
+
"name": "message",
|
|
2344
|
+
"hasDynamicHelp": false,
|
|
2345
|
+
"multiple": true,
|
|
2346
|
+
"type": "option"
|
|
2347
|
+
},
|
|
2348
|
+
"file": {
|
|
2349
|
+
"description": "Read the message from a file.",
|
|
2350
|
+
"name": "file",
|
|
2351
|
+
"hasDynamicHelp": false,
|
|
2352
|
+
"multiple": false,
|
|
2353
|
+
"type": "option"
|
|
2354
|
+
},
|
|
2355
|
+
"system": {
|
|
2356
|
+
"description": "System prompt (instructions on /v1/responses).",
|
|
2357
|
+
"name": "system",
|
|
2358
|
+
"hasDynamicHelp": false,
|
|
2359
|
+
"multiple": false,
|
|
2360
|
+
"type": "option"
|
|
2361
|
+
},
|
|
2362
|
+
"stream": {
|
|
2363
|
+
"description": "Stream the reply as it is written (the default). --no-stream waits for the whole reply instead. Either way a face has up to 300s to answer; past that the request is stopped and can be asked again. --json is never streamed.",
|
|
2364
|
+
"name": "stream",
|
|
2365
|
+
"allowNo": true,
|
|
2366
|
+
"type": "boolean"
|
|
2367
|
+
},
|
|
2368
|
+
"max-tokens": {
|
|
2369
|
+
"description": "The most tokens the reply may take (at least 1; 16 on /v1/responses).",
|
|
2370
|
+
"name": "max-tokens",
|
|
2371
|
+
"hasDynamicHelp": false,
|
|
2372
|
+
"multiple": false,
|
|
2373
|
+
"type": "option"
|
|
2374
|
+
},
|
|
2375
|
+
"temperature": {
|
|
2376
|
+
"description": "Temperature (0.0-2.0).",
|
|
2377
|
+
"name": "temperature",
|
|
2378
|
+
"hasDynamicHelp": false,
|
|
2379
|
+
"multiple": false,
|
|
2380
|
+
"type": "option"
|
|
2381
|
+
},
|
|
2382
|
+
"conversation": {
|
|
2383
|
+
"description": "Add this turn to a state, by id (from faces state:create). Send only what is new: the state so far is read before it. A state opened with one face takes only that face.",
|
|
2384
|
+
"name": "conversation",
|
|
2385
|
+
"hasDynamicHelp": false,
|
|
2386
|
+
"multiple": false,
|
|
2387
|
+
"type": "option"
|
|
2388
|
+
},
|
|
2389
|
+
"premise": {
|
|
2390
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the state. 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.",
|
|
2391
|
+
"name": "premise",
|
|
2392
|
+
"hasDynamicHelp": false,
|
|
2393
|
+
"multiple": true,
|
|
2394
|
+
"type": "option"
|
|
2395
|
+
},
|
|
2396
|
+
"premise-description": {
|
|
2397
|
+
"dependsOn": [
|
|
2398
|
+
"premise"
|
|
2399
|
+
],
|
|
2400
|
+
"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 state, and kept after that.",
|
|
2401
|
+
"name": "premise-description",
|
|
2402
|
+
"hasDynamicHelp": false,
|
|
2403
|
+
"multiple": true,
|
|
2404
|
+
"type": "option"
|
|
2405
|
+
},
|
|
2406
|
+
"premise-status": {
|
|
2407
|
+
"dependsOn": [
|
|
2408
|
+
"premise"
|
|
2409
|
+
],
|
|
2410
|
+
"description": "A --premise's status, as key=status (repeatable, one per key): stated, verified, assumed, unresolved, invalidated. Left out, a new premise is stated. An invalidated premise invalidates everything that depends on it; set it to another status to restore them.",
|
|
2411
|
+
"name": "premise-status",
|
|
2412
|
+
"hasDynamicHelp": false,
|
|
2413
|
+
"multiple": true,
|
|
2414
|
+
"type": "option"
|
|
2415
|
+
},
|
|
2416
|
+
"premise-depends-on": {
|
|
2417
|
+
"dependsOn": [
|
|
2418
|
+
"premise"
|
|
2419
|
+
],
|
|
2420
|
+
"description": "What a --premise rests on, as key=a,b (repeatable, one per key): premise keys and decision ids already in the state or set in the same request, at most 200. key= with nothing after it clears it; left out, a newer value keeps what the key rested on before.",
|
|
2421
|
+
"name": "premise-depends-on",
|
|
2422
|
+
"hasDynamicHelp": false,
|
|
2423
|
+
"multiple": true,
|
|
2424
|
+
"type": "option"
|
|
2425
|
+
},
|
|
2426
|
+
"causes-visible": {
|
|
2427
|
+
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the state (see faces state:create --no-causes-visible). Needs --conversation.",
|
|
2428
|
+
"name": "causes-visible",
|
|
2429
|
+
"allowNo": true,
|
|
2430
|
+
"type": "boolean"
|
|
2431
|
+
},
|
|
2432
|
+
"session": {
|
|
2433
|
+
"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.",
|
|
2434
|
+
"name": "session",
|
|
2435
|
+
"hasDynamicHelp": false,
|
|
2436
|
+
"multiple": false,
|
|
2437
|
+
"type": "option"
|
|
2438
|
+
},
|
|
2439
|
+
"compaction": {
|
|
2440
|
+
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
2441
|
+
"name": "compaction",
|
|
2442
|
+
"hasDynamicHelp": false,
|
|
2443
|
+
"multiple": false,
|
|
2444
|
+
"type": "option"
|
|
2445
|
+
},
|
|
2446
|
+
"oauth-only": {
|
|
2447
|
+
"description": "On a linked ChatGPT plan, run there or fail: never fall back to credits.",
|
|
2448
|
+
"name": "oauth-only",
|
|
2449
|
+
"allowNo": false,
|
|
2450
|
+
"type": "boolean"
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
"hasDynamicHelp": false,
|
|
2454
|
+
"hiddenAliases": [],
|
|
2455
|
+
"id": "chat:messages",
|
|
2456
|
+
"pluginAlias": "@faces-sh/cli",
|
|
2457
|
+
"pluginName": "@faces-sh/cli",
|
|
2458
|
+
"pluginType": "core",
|
|
2459
|
+
"strict": true,
|
|
2460
|
+
"enableJsonFlag": true,
|
|
2461
|
+
"isESM": true,
|
|
2462
|
+
"relativePath": [
|
|
2463
|
+
"dist",
|
|
2464
|
+
"commands",
|
|
2465
|
+
"chat",
|
|
2466
|
+
"messages.js"
|
|
2467
|
+
]
|
|
2468
|
+
},
|
|
2469
|
+
"chat:responses": {
|
|
2470
|
+
"aliases": [],
|
|
2471
|
+
"args": {
|
|
2472
|
+
"model": {
|
|
2473
|
+
"description": "The upstream model over the downstream model: @<face>:<maestro>/<model>, e.g. @alice:maestro-1/gpt-5.4. Another account's face is @owner~face; a composite is \"(@a | @b):maestro-1/<model>\" (operators | & - ^). maestro-1-flash steers sooner, at 10 times the steering price. The model after the / is any chat model in faces models:list, written as it is listed.",
|
|
2474
|
+
"name": "model",
|
|
2475
|
+
"required": true
|
|
2476
|
+
}
|
|
2477
|
+
},
|
|
2478
|
+
"description": "Chat with a face in the OpenAI Responses format (/v1/responses). The same as chat:chat --responses. On Connect and Pro with ChatGPT linked, Codex-eligible models (faces models:list --chatgpt) run on the ChatGPT plan.",
|
|
2479
|
+
"examples": [
|
|
2480
|
+
"<%= config.bin %> <%= command.id %> @socrates:maestro-1/gpt-5.4 -m \"What is virtue?\"",
|
|
2481
|
+
"<%= config.bin %> <%= command.id %> @socrates:maestro-1/gpt-5.4 -m \"What is virtue?\" --oauth-only"
|
|
2482
|
+
],
|
|
2483
|
+
"flags": {
|
|
2484
|
+
"json": {
|
|
2485
|
+
"description": "Format output as json.",
|
|
2486
|
+
"helpGroup": "GLOBAL",
|
|
2487
|
+
"name": "json",
|
|
2488
|
+
"allowNo": false,
|
|
2489
|
+
"type": "boolean"
|
|
2490
|
+
},
|
|
2491
|
+
"base-url": {
|
|
2492
|
+
"description": "API base URL",
|
|
2493
|
+
"env": "FACES_BASE_URL",
|
|
2494
|
+
"name": "base-url",
|
|
2495
|
+
"hasDynamicHelp": false,
|
|
2496
|
+
"multiple": false,
|
|
2497
|
+
"type": "option"
|
|
2498
|
+
},
|
|
2499
|
+
"token": {
|
|
2500
|
+
"description": "JWT bearer token",
|
|
2501
|
+
"env": "FACES_TOKEN",
|
|
2502
|
+
"name": "token",
|
|
2503
|
+
"hasDynamicHelp": false,
|
|
2504
|
+
"multiple": false,
|
|
2505
|
+
"type": "option"
|
|
2506
|
+
},
|
|
2507
|
+
"api-key": {
|
|
2508
|
+
"description": "API key",
|
|
2509
|
+
"env": "FACES_API_KEY",
|
|
2510
|
+
"name": "api-key",
|
|
2511
|
+
"hasDynamicHelp": false,
|
|
2512
|
+
"multiple": false,
|
|
2513
|
+
"type": "option"
|
|
2514
|
+
},
|
|
2515
|
+
"toon": {
|
|
2516
|
+
"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.",
|
|
2517
|
+
"exclusive": [
|
|
2518
|
+
"json"
|
|
2519
|
+
],
|
|
2520
|
+
"name": "toon",
|
|
2521
|
+
"allowNo": false,
|
|
2522
|
+
"type": "boolean"
|
|
2523
|
+
},
|
|
2524
|
+
"message": {
|
|
2525
|
+
"char": "m",
|
|
2526
|
+
"description": "Your message (repeatable, sent in order).",
|
|
2527
|
+
"name": "message",
|
|
2528
|
+
"hasDynamicHelp": false,
|
|
2529
|
+
"multiple": true,
|
|
2530
|
+
"type": "option"
|
|
2531
|
+
},
|
|
2532
|
+
"file": {
|
|
2533
|
+
"description": "Read the message from a file.",
|
|
2534
|
+
"name": "file",
|
|
2535
|
+
"hasDynamicHelp": false,
|
|
2536
|
+
"multiple": false,
|
|
2537
|
+
"type": "option"
|
|
2538
|
+
},
|
|
2539
|
+
"system": {
|
|
2540
|
+
"description": "System prompt (instructions on /v1/responses).",
|
|
2541
|
+
"name": "system",
|
|
2542
|
+
"hasDynamicHelp": false,
|
|
2543
|
+
"multiple": false,
|
|
2544
|
+
"type": "option"
|
|
2545
|
+
},
|
|
2546
|
+
"stream": {
|
|
2547
|
+
"description": "Stream the reply as it is written (the default). --no-stream waits for the whole reply instead. Either way a face has up to 300s to answer; past that the request is stopped and can be asked again. --json is never streamed.",
|
|
2548
|
+
"name": "stream",
|
|
2549
|
+
"allowNo": true,
|
|
2550
|
+
"type": "boolean"
|
|
2551
|
+
},
|
|
2552
|
+
"max-tokens": {
|
|
2553
|
+
"description": "The most tokens the reply may take (at least 1; 16 on /v1/responses).",
|
|
2554
|
+
"name": "max-tokens",
|
|
2555
|
+
"hasDynamicHelp": false,
|
|
2556
|
+
"multiple": false,
|
|
2557
|
+
"type": "option"
|
|
2558
|
+
},
|
|
2559
|
+
"temperature": {
|
|
2560
|
+
"description": "Temperature (0.0-2.0).",
|
|
2561
|
+
"name": "temperature",
|
|
2562
|
+
"hasDynamicHelp": false,
|
|
2563
|
+
"multiple": false,
|
|
2564
|
+
"type": "option"
|
|
2565
|
+
},
|
|
2566
|
+
"conversation": {
|
|
2567
|
+
"description": "Add this turn to a state, by id (from faces state:create). Send only what is new: the state so far is read before it. A state opened with one face takes only that face.",
|
|
2568
|
+
"name": "conversation",
|
|
2569
|
+
"hasDynamicHelp": false,
|
|
2570
|
+
"multiple": false,
|
|
2571
|
+
"type": "option"
|
|
2572
|
+
},
|
|
2573
|
+
"premise": {
|
|
2574
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the state. 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.",
|
|
2575
|
+
"name": "premise",
|
|
2576
|
+
"hasDynamicHelp": false,
|
|
2577
|
+
"multiple": true,
|
|
2578
|
+
"type": "option"
|
|
2579
|
+
},
|
|
2580
|
+
"premise-description": {
|
|
2581
|
+
"dependsOn": [
|
|
2582
|
+
"premise"
|
|
2583
|
+
],
|
|
2584
|
+
"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 state, and kept after that.",
|
|
2585
|
+
"name": "premise-description",
|
|
2586
|
+
"hasDynamicHelp": false,
|
|
2587
|
+
"multiple": true,
|
|
2588
|
+
"type": "option"
|
|
2589
|
+
},
|
|
2590
|
+
"premise-status": {
|
|
2591
|
+
"dependsOn": [
|
|
2592
|
+
"premise"
|
|
2593
|
+
],
|
|
2594
|
+
"description": "A --premise's status, as key=status (repeatable, one per key): stated, verified, assumed, unresolved, invalidated. Left out, a new premise is stated. An invalidated premise invalidates everything that depends on it; set it to another status to restore them.",
|
|
2595
|
+
"name": "premise-status",
|
|
2596
|
+
"hasDynamicHelp": false,
|
|
2597
|
+
"multiple": true,
|
|
2598
|
+
"type": "option"
|
|
2599
|
+
},
|
|
2600
|
+
"premise-depends-on": {
|
|
2601
|
+
"dependsOn": [
|
|
2602
|
+
"premise"
|
|
2603
|
+
],
|
|
2604
|
+
"description": "What a --premise rests on, as key=a,b (repeatable, one per key): premise keys and decision ids already in the state or set in the same request, at most 200. key= with nothing after it clears it; left out, a newer value keeps what the key rested on before.",
|
|
2605
|
+
"name": "premise-depends-on",
|
|
2606
|
+
"hasDynamicHelp": false,
|
|
2607
|
+
"multiple": true,
|
|
2608
|
+
"type": "option"
|
|
2609
|
+
},
|
|
2610
|
+
"causes-visible": {
|
|
2611
|
+
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the state (see faces state:create --no-causes-visible). Needs --conversation.",
|
|
2612
|
+
"name": "causes-visible",
|
|
2613
|
+
"allowNo": true,
|
|
2614
|
+
"type": "boolean"
|
|
2615
|
+
},
|
|
2616
|
+
"session": {
|
|
2617
|
+
"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.",
|
|
2618
|
+
"name": "session",
|
|
2619
|
+
"hasDynamicHelp": false,
|
|
2620
|
+
"multiple": false,
|
|
2621
|
+
"type": "option"
|
|
2622
|
+
},
|
|
2623
|
+
"compaction": {
|
|
2624
|
+
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
2625
|
+
"name": "compaction",
|
|
2626
|
+
"hasDynamicHelp": false,
|
|
2627
|
+
"multiple": false,
|
|
2628
|
+
"type": "option"
|
|
2629
|
+
},
|
|
2630
|
+
"oauth-only": {
|
|
2631
|
+
"description": "On a linked ChatGPT plan, run there or fail: never fall back to credits.",
|
|
2632
|
+
"name": "oauth-only",
|
|
2633
|
+
"allowNo": false,
|
|
2634
|
+
"type": "boolean"
|
|
2635
|
+
}
|
|
2636
|
+
},
|
|
2637
|
+
"hasDynamicHelp": false,
|
|
2638
|
+
"hiddenAliases": [],
|
|
2639
|
+
"id": "chat:responses",
|
|
2325
2640
|
"pluginAlias": "@faces-sh/cli",
|
|
2326
2641
|
"pluginName": "@faces-sh/cli",
|
|
2327
2642
|
"pluginType": "core",
|
|
@@ -2331,19 +2646,27 @@
|
|
|
2331
2646
|
"relativePath": [
|
|
2332
2647
|
"dist",
|
|
2333
2648
|
"commands",
|
|
2334
|
-
"
|
|
2335
|
-
"
|
|
2649
|
+
"chat",
|
|
2650
|
+
"responses.js"
|
|
2336
2651
|
]
|
|
2337
2652
|
},
|
|
2338
|
-
"
|
|
2653
|
+
"chat:thread": {
|
|
2339
2654
|
"aliases": [],
|
|
2340
2655
|
"args": {
|
|
2341
|
-
"
|
|
2342
|
-
"description": "
|
|
2343
|
-
"name": "
|
|
2656
|
+
"model": {
|
|
2657
|
+
"description": "The upstream model over the downstream model: @<face>:<maestro>/<model>, e.g. @alice:maestro-1/gpt-5.4. Another account's face is @owner~face; a composite is \"(@a | @b):maestro-1/<model>\" (operators | & - ^). maestro-1-flash steers sooner, at 10 times the steering price. The model after the / is any chat model in faces models:list, written as it is listed. Needed to start a thread; a saved thread keeps its own.",
|
|
2658
|
+
"name": "model",
|
|
2659
|
+
"required": false
|
|
2344
2660
|
}
|
|
2345
2661
|
},
|
|
2346
|
-
"description": "
|
|
2662
|
+
"description": "A multi-turn chat with a face, kept under ~/.faces/threads/<id>.json. Start one with the model (@alice:maestro-1/gpt-5.4) and a message, then go on with --id. The whole thread is sent each turn, unless the turn is in a state (--conversation), which holds the history: then only the new message goes.",
|
|
2663
|
+
"examples": [
|
|
2664
|
+
"<%= config.bin %> <%= command.id %> @socrates:maestro-1/gpt-5.4 -m \"What is justice?\"",
|
|
2665
|
+
"<%= config.bin %> <%= command.id %> --id t_abc123 -m \"Say more about that\"",
|
|
2666
|
+
"<%= config.bin %> <%= command.id %> --list",
|
|
2667
|
+
"<%= config.bin %> <%= command.id %> --id t_abc123 --show",
|
|
2668
|
+
"<%= config.bin %> <%= command.id %> --id t_abc123 --delete"
|
|
2669
|
+
],
|
|
2347
2670
|
"flags": {
|
|
2348
2671
|
"json": {
|
|
2349
2672
|
"description": "Format output as json.",
|
|
@@ -2385,16 +2708,153 @@
|
|
|
2385
2708
|
"allowNo": false,
|
|
2386
2709
|
"type": "boolean"
|
|
2387
2710
|
},
|
|
2388
|
-
"
|
|
2389
|
-
"description": "
|
|
2390
|
-
"name": "
|
|
2711
|
+
"id": {
|
|
2712
|
+
"description": "Go on with a saved thread, by id.",
|
|
2713
|
+
"name": "id",
|
|
2714
|
+
"hasDynamicHelp": false,
|
|
2715
|
+
"multiple": false,
|
|
2716
|
+
"type": "option"
|
|
2717
|
+
},
|
|
2718
|
+
"message": {
|
|
2719
|
+
"char": "m",
|
|
2720
|
+
"description": "Your message.",
|
|
2721
|
+
"name": "message",
|
|
2722
|
+
"hasDynamicHelp": false,
|
|
2723
|
+
"multiple": false,
|
|
2724
|
+
"type": "option"
|
|
2725
|
+
},
|
|
2726
|
+
"file": {
|
|
2727
|
+
"description": "Read the message from a file.",
|
|
2728
|
+
"name": "file",
|
|
2729
|
+
"hasDynamicHelp": false,
|
|
2730
|
+
"multiple": false,
|
|
2731
|
+
"type": "option"
|
|
2732
|
+
},
|
|
2733
|
+
"system": {
|
|
2734
|
+
"description": "System prompt (only when starting a thread).",
|
|
2735
|
+
"name": "system",
|
|
2736
|
+
"hasDynamicHelp": false,
|
|
2737
|
+
"multiple": false,
|
|
2738
|
+
"type": "option"
|
|
2739
|
+
},
|
|
2740
|
+
"max-tokens": {
|
|
2741
|
+
"description": "The most tokens the reply may take (at least 1).",
|
|
2742
|
+
"name": "max-tokens",
|
|
2743
|
+
"hasDynamicHelp": false,
|
|
2744
|
+
"multiple": false,
|
|
2745
|
+
"type": "option"
|
|
2746
|
+
},
|
|
2747
|
+
"temperature": {
|
|
2748
|
+
"description": "Temperature (0.0-2.0).",
|
|
2749
|
+
"name": "temperature",
|
|
2750
|
+
"hasDynamicHelp": false,
|
|
2751
|
+
"multiple": false,
|
|
2752
|
+
"type": "option"
|
|
2753
|
+
},
|
|
2754
|
+
"stream": {
|
|
2755
|
+
"description": "Stream the reply as it is written (the default). --no-stream waits for the whole reply instead. Either way a face has up to 300s to answer; past that the request is stopped and can be asked again. --json is never streamed.",
|
|
2756
|
+
"name": "stream",
|
|
2757
|
+
"allowNo": true,
|
|
2758
|
+
"type": "boolean"
|
|
2759
|
+
},
|
|
2760
|
+
"conversation": {
|
|
2761
|
+
"description": "Add this turn to a state, by id (from faces state:create). Send only what is new: the state so far is read before it. A state opened with one face takes only that face. For this turn only. Only the new message is sent: the state holds the rest.",
|
|
2762
|
+
"name": "conversation",
|
|
2763
|
+
"hasDynamicHelp": false,
|
|
2764
|
+
"multiple": false,
|
|
2765
|
+
"type": "option"
|
|
2766
|
+
},
|
|
2767
|
+
"premise": {
|
|
2768
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the state. 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 state holds the rest.",
|
|
2769
|
+
"name": "premise",
|
|
2770
|
+
"hasDynamicHelp": false,
|
|
2771
|
+
"multiple": true,
|
|
2772
|
+
"type": "option"
|
|
2773
|
+
},
|
|
2774
|
+
"premise-description": {
|
|
2775
|
+
"dependsOn": [
|
|
2776
|
+
"premise"
|
|
2777
|
+
],
|
|
2778
|
+
"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 state, and kept after that. For this turn only. Only the new message is sent: the state holds the rest.",
|
|
2779
|
+
"name": "premise-description",
|
|
2780
|
+
"hasDynamicHelp": false,
|
|
2781
|
+
"multiple": true,
|
|
2782
|
+
"type": "option"
|
|
2783
|
+
},
|
|
2784
|
+
"premise-status": {
|
|
2785
|
+
"dependsOn": [
|
|
2786
|
+
"premise"
|
|
2787
|
+
],
|
|
2788
|
+
"description": "A --premise's status, as key=status (repeatable, one per key): stated, verified, assumed, unresolved, invalidated. Left out, a new premise is stated. An invalidated premise invalidates everything that depends on it; set it to another status to restore them. For this turn only. Only the new message is sent: the state holds the rest.",
|
|
2789
|
+
"name": "premise-status",
|
|
2790
|
+
"hasDynamicHelp": false,
|
|
2791
|
+
"multiple": true,
|
|
2792
|
+
"type": "option"
|
|
2793
|
+
},
|
|
2794
|
+
"premise-depends-on": {
|
|
2795
|
+
"dependsOn": [
|
|
2796
|
+
"premise"
|
|
2797
|
+
],
|
|
2798
|
+
"description": "What a --premise rests on, as key=a,b (repeatable, one per key): premise keys and decision ids already in the state or set in the same request, at most 200. key= with nothing after it clears it; left out, a newer value keeps what the key rested on before. For this turn only. Only the new message is sent: the state holds the rest.",
|
|
2799
|
+
"name": "premise-depends-on",
|
|
2800
|
+
"hasDynamicHelp": false,
|
|
2801
|
+
"multiple": true,
|
|
2802
|
+
"type": "option"
|
|
2803
|
+
},
|
|
2804
|
+
"causes-visible": {
|
|
2805
|
+
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the state (see faces state:create --no-causes-visible). Needs --conversation. For this turn only. Only the new message is sent: the state holds the rest.",
|
|
2806
|
+
"name": "causes-visible",
|
|
2807
|
+
"allowNo": true,
|
|
2808
|
+
"type": "boolean"
|
|
2809
|
+
},
|
|
2810
|
+
"session": {
|
|
2811
|
+
"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.",
|
|
2812
|
+
"name": "session",
|
|
2813
|
+
"hasDynamicHelp": false,
|
|
2814
|
+
"multiple": false,
|
|
2815
|
+
"type": "option"
|
|
2816
|
+
},
|
|
2817
|
+
"compaction": {
|
|
2818
|
+
"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.",
|
|
2819
|
+
"name": "compaction",
|
|
2820
|
+
"hasDynamicHelp": false,
|
|
2821
|
+
"multiple": false,
|
|
2822
|
+
"type": "option"
|
|
2823
|
+
},
|
|
2824
|
+
"oauth-only": {
|
|
2825
|
+
"description": "On a linked ChatGPT plan, run there or fail: never fall back to credits.",
|
|
2826
|
+
"name": "oauth-only",
|
|
2827
|
+
"allowNo": false,
|
|
2828
|
+
"type": "boolean"
|
|
2829
|
+
},
|
|
2830
|
+
"list": {
|
|
2831
|
+
"description": "List saved threads.",
|
|
2832
|
+
"name": "list",
|
|
2833
|
+
"allowNo": false,
|
|
2834
|
+
"type": "boolean"
|
|
2835
|
+
},
|
|
2836
|
+
"show": {
|
|
2837
|
+
"description": "Show a thread (needs --id).",
|
|
2838
|
+
"name": "show",
|
|
2839
|
+
"allowNo": false,
|
|
2840
|
+
"type": "boolean"
|
|
2841
|
+
},
|
|
2842
|
+
"delete": {
|
|
2843
|
+
"description": "Delete a thread (needs --id).",
|
|
2844
|
+
"name": "delete",
|
|
2845
|
+
"allowNo": false,
|
|
2846
|
+
"type": "boolean"
|
|
2847
|
+
},
|
|
2848
|
+
"yes": {
|
|
2849
|
+
"description": "Skip the confirmation for --delete.",
|
|
2850
|
+
"name": "yes",
|
|
2391
2851
|
"allowNo": false,
|
|
2392
2852
|
"type": "boolean"
|
|
2393
2853
|
}
|
|
2394
2854
|
},
|
|
2395
2855
|
"hasDynamicHelp": false,
|
|
2396
2856
|
"hiddenAliases": [],
|
|
2397
|
-
"id": "
|
|
2857
|
+
"id": "chat:thread",
|
|
2398
2858
|
"pluginAlias": "@faces-sh/cli",
|
|
2399
2859
|
"pluginName": "@faces-sh/cli",
|
|
2400
2860
|
"pluginType": "core",
|
|
@@ -2404,8 +2864,8 @@
|
|
|
2404
2864
|
"relativePath": [
|
|
2405
2865
|
"dist",
|
|
2406
2866
|
"commands",
|
|
2407
|
-
"
|
|
2408
|
-
"
|
|
2867
|
+
"chat",
|
|
2868
|
+
"thread.js"
|
|
2409
2869
|
]
|
|
2410
2870
|
},
|
|
2411
2871
|
"compile:all": {
|
|
@@ -2568,7 +3028,7 @@
|
|
|
2568
3028
|
"type": "option"
|
|
2569
3029
|
},
|
|
2570
3030
|
"medium": {
|
|
2571
|
-
"description": "What sort of writing this is, spelled exactly
|
|
3031
|
+
"description": "What sort of writing this is, spelled exactly as faces media:list names it: email, essay, speech, journal entry, script and the rest (25 in all). A subcategory such as keynote is not a medium: send the medium it belongs to (speech). other is for writing that is none of the named forms, read as prose with no form-specific conventions assumed. A document is the face's own writing (an essay, letter, paper, book or poem), and every word in it is read as theirs. An interview, transcript or dialogue is a thread: upload it with faces compile:upload ALIAS --file FILE --kind thread --face-speaker NAME, so only the face's turns are used. A document cannot be saved without saying what it is, so this is required rather than optional. Here the spelling is held to exactly: case and surrounding spaces are forgiven and nothing else is, so an unknown word is refused naming every medium rather than being folded into a near match. Do not guess one: a wrong medium is not flagged afterwards. If none of the named forms fit, that is what other is for. If one of them does fit and you simply have not been told which, ask. Required with --type document, and only valid with it.",
|
|
2572
3032
|
"name": "medium",
|
|
2573
3033
|
"hasDynamicHelp": false,
|
|
2574
3034
|
"multiple": false,
|
|
@@ -2835,7 +3295,7 @@
|
|
|
2835
3295
|
"type": "option"
|
|
2836
3296
|
},
|
|
2837
3297
|
"medium": {
|
|
2838
|
-
"description": "What sort of writing this is, spelled exactly
|
|
3298
|
+
"description": "What sort of writing this is, spelled exactly as faces media:list names it: email, essay, speech, journal entry, script and the rest (25 in all). A subcategory such as keynote is not a medium: send the medium it belongs to (speech). other is for writing that is none of the named forms, read as prose with no form-specific conventions assumed. A document is the face's own writing (an essay, letter, paper, book or poem), and every word in it is read as theirs. An interview, transcript or dialogue is a thread: upload it with faces compile:upload ALIAS --file FILE --kind thread --face-speaker NAME, so only the face's turns are used. A document cannot be saved without saying what it is, so this is required rather than optional. Here the spelling is held to exactly: case and surrounding spaces are forgiven and nothing else is, so an unknown word is refused naming every medium rather than being folded into a near match. Do not guess one: a wrong medium is not flagged afterwards. If none of the named forms fit, that is what other is for. If one of them does fit and you simply have not been told which, ask. Required with --kind document, and only valid with it.",
|
|
2839
3299
|
"name": "medium",
|
|
2840
3300
|
"hasDynamicHelp": false,
|
|
2841
3301
|
"multiple": false,
|
|
@@ -2861,33 +3321,20 @@
|
|
|
2861
3321
|
"pluginAlias": "@faces-sh/cli",
|
|
2862
3322
|
"pluginName": "@faces-sh/cli",
|
|
2863
3323
|
"pluginType": "core",
|
|
2864
|
-
"strict": true,
|
|
2865
|
-
"enableJsonFlag": true,
|
|
2866
|
-
"isESM": true,
|
|
2867
|
-
"relativePath": [
|
|
2868
|
-
"dist",
|
|
2869
|
-
"commands",
|
|
2870
|
-
"compile",
|
|
2871
|
-
"upload.js"
|
|
2872
|
-
]
|
|
2873
|
-
},
|
|
2874
|
-
"
|
|
2875
|
-
"aliases": [],
|
|
2876
|
-
"args": {
|
|
2877
|
-
|
|
2878
|
-
"description": "State id (from state:create)",
|
|
2879
|
-
"name": "conversation_id",
|
|
2880
|
-
"required": true
|
|
2881
|
-
}
|
|
2882
|
-
},
|
|
2883
|
-
"description": "Add your own premises and messages to a state, without a face answering. Premises go in first, then messages. A newer value of a key replaces it from here on. Every status the write changes is listed (an invalidated premise invalidates what depends on it), and so is every earlier decision that rested on a value you changed, so you can choose which to ask again: nothing is decided again for you. At most 20 at a time. Free.",
|
|
2884
|
-
"examples": [
|
|
2885
|
-
"<%= config.bin %> <%= command.id %> fs_STATE_ID --premise vendor_certified=false",
|
|
2886
|
-
"<%= config.bin %> <%= command.id %> fs_STATE_ID --premise rent_rises=\"no rise\" --premise-status rent_rises=invalidated",
|
|
2887
|
-
"<%= config.bin %> <%= command.id %> fs_STATE_ID --premise can_afford=false --premise-description can_afford=\"we can carry the rent\" --premise-depends-on can_afford=rent_rises",
|
|
2888
|
-
"<%= config.bin %> <%= command.id %> fs_STATE_ID --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\"",
|
|
2889
|
-
"<%= config.bin %> <%= command.id %> fs_STATE_ID -m \"The vendor sent their audit report.\""
|
|
2890
|
-
],
|
|
3324
|
+
"strict": true,
|
|
3325
|
+
"enableJsonFlag": true,
|
|
3326
|
+
"isESM": true,
|
|
3327
|
+
"relativePath": [
|
|
3328
|
+
"dist",
|
|
3329
|
+
"commands",
|
|
3330
|
+
"compile",
|
|
3331
|
+
"upload.js"
|
|
3332
|
+
]
|
|
3333
|
+
},
|
|
3334
|
+
"config:clear": {
|
|
3335
|
+
"aliases": [],
|
|
3336
|
+
"args": {},
|
|
3337
|
+
"description": "Delete all saved credentials and config",
|
|
2891
3338
|
"flags": {
|
|
2892
3339
|
"json": {
|
|
2893
3340
|
"description": "Format output as json.",
|
|
@@ -2929,46 +3376,16 @@
|
|
|
2929
3376
|
"allowNo": false,
|
|
2930
3377
|
"type": "boolean"
|
|
2931
3378
|
},
|
|
2932
|
-
"
|
|
2933
|
-
"
|
|
2934
|
-
"
|
|
2935
|
-
"
|
|
2936
|
-
"
|
|
2937
|
-
"multiple": true,
|
|
2938
|
-
"type": "option"
|
|
2939
|
-
},
|
|
2940
|
-
"premise": {
|
|
2941
|
-
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the state. 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.",
|
|
2942
|
-
"name": "premise",
|
|
2943
|
-
"hasDynamicHelp": false,
|
|
2944
|
-
"multiple": true,
|
|
2945
|
-
"type": "option"
|
|
2946
|
-
},
|
|
2947
|
-
"premise-description": {
|
|
2948
|
-
"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 state, and kept after that.",
|
|
2949
|
-
"name": "premise-description",
|
|
2950
|
-
"hasDynamicHelp": false,
|
|
2951
|
-
"multiple": true,
|
|
2952
|
-
"type": "option"
|
|
2953
|
-
},
|
|
2954
|
-
"premise-status": {
|
|
2955
|
-
"description": "A --premise's status, as key=status (repeatable, one per key): stated, verified, assumed, unresolved, invalidated. Left out, a new premise is stated. An invalidated premise invalidates everything that depends on it; set it to another status to restore them.",
|
|
2956
|
-
"name": "premise-status",
|
|
2957
|
-
"hasDynamicHelp": false,
|
|
2958
|
-
"multiple": true,
|
|
2959
|
-
"type": "option"
|
|
2960
|
-
},
|
|
2961
|
-
"premise-depends-on": {
|
|
2962
|
-
"description": "What a --premise rests on, as key=a,b (repeatable, one per key): premise keys and decision ids already in the state or set in the same request, at most 200. key= with nothing after it clears it; left out, a newer value keeps what the key rested on before.",
|
|
2963
|
-
"name": "premise-depends-on",
|
|
2964
|
-
"hasDynamicHelp": false,
|
|
2965
|
-
"multiple": true,
|
|
2966
|
-
"type": "option"
|
|
3379
|
+
"yes": {
|
|
3380
|
+
"description": "Skip confirmation",
|
|
3381
|
+
"name": "yes",
|
|
3382
|
+
"allowNo": false,
|
|
3383
|
+
"type": "boolean"
|
|
2967
3384
|
}
|
|
2968
3385
|
},
|
|
2969
3386
|
"hasDynamicHelp": false,
|
|
2970
3387
|
"hiddenAliases": [],
|
|
2971
|
-
"id": "
|
|
3388
|
+
"id": "config:clear",
|
|
2972
3389
|
"pluginAlias": "@faces-sh/cli",
|
|
2973
3390
|
"pluginName": "@faces-sh/cli",
|
|
2974
3391
|
"pluginType": "core",
|
|
@@ -2978,23 +3395,25 @@
|
|
|
2978
3395
|
"relativePath": [
|
|
2979
3396
|
"dist",
|
|
2980
3397
|
"commands",
|
|
2981
|
-
"
|
|
2982
|
-
"
|
|
3398
|
+
"config",
|
|
3399
|
+
"clear.js"
|
|
2983
3400
|
]
|
|
2984
3401
|
},
|
|
2985
|
-
"
|
|
3402
|
+
"config:set": {
|
|
2986
3403
|
"aliases": [],
|
|
2987
3404
|
"args": {
|
|
2988
|
-
"
|
|
2989
|
-
"description": "
|
|
2990
|
-
"name": "
|
|
3405
|
+
"key": {
|
|
3406
|
+
"description": "Config key",
|
|
3407
|
+
"name": "key",
|
|
3408
|
+
"required": true
|
|
3409
|
+
},
|
|
3410
|
+
"value": {
|
|
3411
|
+
"description": "Config value",
|
|
3412
|
+
"name": "value",
|
|
2991
3413
|
"required": true
|
|
2992
3414
|
}
|
|
2993
3415
|
},
|
|
2994
|
-
"description": "
|
|
2995
|
-
"examples": [
|
|
2996
|
-
"<%= config.bin %> <%= command.id %> fs_STATE_ID --yes"
|
|
2997
|
-
],
|
|
3416
|
+
"description": "Set a config value (e.g. base_url, api_key, token)",
|
|
2998
3417
|
"flags": {
|
|
2999
3418
|
"json": {
|
|
3000
3419
|
"description": "Format output as json.",
|
|
@@ -3035,17 +3454,11 @@
|
|
|
3035
3454
|
"name": "toon",
|
|
3036
3455
|
"allowNo": false,
|
|
3037
3456
|
"type": "boolean"
|
|
3038
|
-
},
|
|
3039
|
-
"yes": {
|
|
3040
|
-
"description": "Skip confirmation",
|
|
3041
|
-
"name": "yes",
|
|
3042
|
-
"allowNo": false,
|
|
3043
|
-
"type": "boolean"
|
|
3044
3457
|
}
|
|
3045
3458
|
},
|
|
3046
3459
|
"hasDynamicHelp": false,
|
|
3047
3460
|
"hiddenAliases": [],
|
|
3048
|
-
"id": "
|
|
3461
|
+
"id": "config:set",
|
|
3049
3462
|
"pluginAlias": "@faces-sh/cli",
|
|
3050
3463
|
"pluginName": "@faces-sh/cli",
|
|
3051
3464
|
"pluginType": "core",
|
|
@@ -3055,29 +3468,14 @@
|
|
|
3055
3468
|
"relativePath": [
|
|
3056
3469
|
"dist",
|
|
3057
3470
|
"commands",
|
|
3058
|
-
"
|
|
3059
|
-
"
|
|
3471
|
+
"config",
|
|
3472
|
+
"set.js"
|
|
3060
3473
|
]
|
|
3061
3474
|
},
|
|
3062
|
-
"
|
|
3475
|
+
"config:show": {
|
|
3063
3476
|
"aliases": [],
|
|
3064
|
-
"args": {
|
|
3065
|
-
|
|
3066
|
-
"description": "State id (from state:create)",
|
|
3067
|
-
"name": "conversation_id",
|
|
3068
|
-
"required": true
|
|
3069
|
-
},
|
|
3070
|
-
"face": {
|
|
3071
|
-
"description": "The face to compact, alone (no @model). Needed when the state takes any face; a state opened with one face compacts that face.",
|
|
3072
|
-
"name": "face",
|
|
3073
|
-
"required": false
|
|
3074
|
-
}
|
|
3075
|
-
},
|
|
3076
|
-
"description": "Compact a state: a summary of one face's position over the state, 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 state 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.",
|
|
3077
|
-
"examples": [
|
|
3078
|
-
"<%= config.bin %> <%= command.id %> fs_STATE_ID",
|
|
3079
|
-
"<%= config.bin %> <%= command.id %> fs_STATE_ID alice --json"
|
|
3080
|
-
],
|
|
3477
|
+
"args": {},
|
|
3478
|
+
"description": "Print current config (credentials are masked)",
|
|
3081
3479
|
"flags": {
|
|
3082
3480
|
"json": {
|
|
3083
3481
|
"description": "Format output as json.",
|
|
@@ -3122,7 +3520,7 @@
|
|
|
3122
3520
|
},
|
|
3123
3521
|
"hasDynamicHelp": false,
|
|
3124
3522
|
"hiddenAliases": [],
|
|
3125
|
-
"id": "
|
|
3523
|
+
"id": "config:show",
|
|
3126
3524
|
"pluginAlias": "@faces-sh/cli",
|
|
3127
3525
|
"pluginName": "@faces-sh/cli",
|
|
3128
3526
|
"pluginType": "core",
|
|
@@ -3132,25 +3530,26 @@
|
|
|
3132
3530
|
"relativePath": [
|
|
3133
3531
|
"dist",
|
|
3134
3532
|
"commands",
|
|
3135
|
-
"
|
|
3136
|
-
"
|
|
3533
|
+
"config",
|
|
3534
|
+
"show.js"
|
|
3137
3535
|
]
|
|
3138
3536
|
},
|
|
3139
|
-
"conversation:
|
|
3537
|
+
"conversation:add": {
|
|
3140
3538
|
"aliases": [],
|
|
3141
3539
|
"args": {
|
|
3142
|
-
"
|
|
3143
|
-
"description": "
|
|
3144
|
-
"name": "
|
|
3145
|
-
"required":
|
|
3540
|
+
"conversation_id": {
|
|
3541
|
+
"description": "State id (from state:create)",
|
|
3542
|
+
"name": "conversation_id",
|
|
3543
|
+
"required": true
|
|
3146
3544
|
}
|
|
3147
3545
|
},
|
|
3148
|
-
"description": "
|
|
3546
|
+
"description": "Add your own premises and messages to a state, without a face answering. Premises go in first, then messages. A newer value of a key replaces it from here on. Every status the write changes is listed (an invalidated premise invalidates what depends on it), and so is every earlier decision that rested on a value you changed, so you can choose which to ask again: nothing is decided again for you. At most 20 at a time. Free.",
|
|
3149
3547
|
"examples": [
|
|
3150
|
-
"<%= config.bin %> <%= command.id %>
|
|
3151
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3152
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3153
|
-
"<%= config.bin %> <%= command.id %>
|
|
3548
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --premise vendor_certified=false",
|
|
3549
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --premise rent_rises=\"no rise\" --premise-status rent_rises=invalidated",
|
|
3550
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --premise can_afford=false --premise-description can_afford=\"we can carry the rent\" --premise-depends-on can_afford=rent_rises",
|
|
3551
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\"",
|
|
3552
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID -m \"The vendor sent their audit report.\""
|
|
3154
3553
|
],
|
|
3155
3554
|
"flags": {
|
|
3156
3555
|
"json": {
|
|
@@ -3193,15 +3592,9 @@
|
|
|
3193
3592
|
"allowNo": false,
|
|
3194
3593
|
"type": "boolean"
|
|
3195
3594
|
},
|
|
3196
|
-
"causes-visible": {
|
|
3197
|
-
"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 state with several faces.",
|
|
3198
|
-
"name": "causes-visible",
|
|
3199
|
-
"allowNo": true,
|
|
3200
|
-
"type": "boolean"
|
|
3201
|
-
},
|
|
3202
3595
|
"message": {
|
|
3203
3596
|
"char": "m",
|
|
3204
|
-
"description": "A
|
|
3597
|
+
"description": "A message of yours (repeatable, kept in order).",
|
|
3205
3598
|
"name": "message",
|
|
3206
3599
|
"hasDynamicHelp": false,
|
|
3207
3600
|
"multiple": true,
|
|
@@ -3238,7 +3631,7 @@
|
|
|
3238
3631
|
},
|
|
3239
3632
|
"hasDynamicHelp": false,
|
|
3240
3633
|
"hiddenAliases": [],
|
|
3241
|
-
"id": "conversation:
|
|
3634
|
+
"id": "conversation:add",
|
|
3242
3635
|
"pluginAlias": "@faces-sh/cli",
|
|
3243
3636
|
"pluginName": "@faces-sh/cli",
|
|
3244
3637
|
"pluginType": "core",
|
|
@@ -3249,10 +3642,10 @@
|
|
|
3249
3642
|
"dist",
|
|
3250
3643
|
"commands",
|
|
3251
3644
|
"conversation",
|
|
3252
|
-
"
|
|
3645
|
+
"add.js"
|
|
3253
3646
|
]
|
|
3254
3647
|
},
|
|
3255
|
-
"conversation:
|
|
3648
|
+
"conversation:close": {
|
|
3256
3649
|
"aliases": [],
|
|
3257
3650
|
"args": {
|
|
3258
3651
|
"conversation_id": {
|
|
@@ -3261,9 +3654,9 @@
|
|
|
3261
3654
|
"required": true
|
|
3262
3655
|
}
|
|
3263
3656
|
},
|
|
3264
|
-
"description": "
|
|
3657
|
+
"description": "Close a state. A closed state takes no more turns and cannot be read or compacted. Its compactions stay usable until they expire. Free.",
|
|
3265
3658
|
"examples": [
|
|
3266
|
-
"<%= config.bin %> <%= command.id %> fs_STATE_ID"
|
|
3659
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --yes"
|
|
3267
3660
|
],
|
|
3268
3661
|
"flags": {
|
|
3269
3662
|
"json": {
|
|
@@ -3305,11 +3698,17 @@
|
|
|
3305
3698
|
"name": "toon",
|
|
3306
3699
|
"allowNo": false,
|
|
3307
3700
|
"type": "boolean"
|
|
3701
|
+
},
|
|
3702
|
+
"yes": {
|
|
3703
|
+
"description": "Skip confirmation",
|
|
3704
|
+
"name": "yes",
|
|
3705
|
+
"allowNo": false,
|
|
3706
|
+
"type": "boolean"
|
|
3308
3707
|
}
|
|
3309
3708
|
},
|
|
3310
3709
|
"hasDynamicHelp": false,
|
|
3311
3710
|
"hiddenAliases": [],
|
|
3312
|
-
"id": "conversation:
|
|
3711
|
+
"id": "conversation:close",
|
|
3313
3712
|
"pluginAlias": "@faces-sh/cli",
|
|
3314
3713
|
"pluginName": "@faces-sh/cli",
|
|
3315
3714
|
"pluginType": "core",
|
|
@@ -3320,22 +3719,27 @@
|
|
|
3320
3719
|
"dist",
|
|
3321
3720
|
"commands",
|
|
3322
3721
|
"conversation",
|
|
3323
|
-
"
|
|
3722
|
+
"close.js"
|
|
3324
3723
|
]
|
|
3325
3724
|
},
|
|
3326
|
-
"conversation:
|
|
3725
|
+
"conversation:compact": {
|
|
3327
3726
|
"aliases": [],
|
|
3328
3727
|
"args": {
|
|
3329
3728
|
"conversation_id": {
|
|
3330
3729
|
"description": "State id (from state:create)",
|
|
3331
3730
|
"name": "conversation_id",
|
|
3332
3731
|
"required": true
|
|
3732
|
+
},
|
|
3733
|
+
"face": {
|
|
3734
|
+
"description": "The face to compact, as @face (or @owner~face), with no model after it. Needed when the state takes any face; a state opened with one face compacts that face.",
|
|
3735
|
+
"name": "face",
|
|
3736
|
+
"required": false
|
|
3333
3737
|
}
|
|
3334
3738
|
},
|
|
3335
|
-
"description": "
|
|
3739
|
+
"description": "Compact a state: one face's position over the state, kept on the server under a compaction id. Pass that id with --compaction on a later request with the same face. A state that takes any face needs the face named. Billed on the tokens it reads and writes; on Connect and Pro it counts against the plan's allowance. A failed compaction is not charged. A compaction expires 30 days after it is written.",
|
|
3336
3740
|
"examples": [
|
|
3337
3741
|
"<%= config.bin %> <%= command.id %> fs_STATE_ID",
|
|
3338
|
-
"<%= config.bin %> <%= command.id %> fs_STATE_ID --json"
|
|
3742
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID @alice --json"
|
|
3339
3743
|
],
|
|
3340
3744
|
"flags": {
|
|
3341
3745
|
"json": {
|
|
@@ -3381,7 +3785,7 @@
|
|
|
3381
3785
|
},
|
|
3382
3786
|
"hasDynamicHelp": false,
|
|
3383
3787
|
"hiddenAliases": [],
|
|
3384
|
-
"id": "conversation:
|
|
3788
|
+
"id": "conversation:compact",
|
|
3385
3789
|
"pluginAlias": "@faces-sh/cli",
|
|
3386
3790
|
"pluginName": "@faces-sh/cli",
|
|
3387
3791
|
"pluginType": "core",
|
|
@@ -3392,13 +3796,25 @@
|
|
|
3392
3796
|
"dist",
|
|
3393
3797
|
"commands",
|
|
3394
3798
|
"conversation",
|
|
3395
|
-
"
|
|
3799
|
+
"compact.js"
|
|
3396
3800
|
]
|
|
3397
3801
|
},
|
|
3398
|
-
"
|
|
3802
|
+
"conversation:create": {
|
|
3399
3803
|
"aliases": [],
|
|
3400
|
-
"args": {
|
|
3401
|
-
|
|
3804
|
+
"args": {
|
|
3805
|
+
"face": {
|
|
3806
|
+
"description": "The face alone: @alice, @owner~alice, or a composite such as \"(@a | @b)\". No maestro or model. Leave it out for a state that takes any of your faces.",
|
|
3807
|
+
"name": "face",
|
|
3808
|
+
"required": false
|
|
3809
|
+
}
|
|
3810
|
+
},
|
|
3811
|
+
"description": "Start a state (formerly a conversation). The server keeps the situation your agent builds: premises (named facts, each with a status and what it depends on), the decisions faces made, and your messages. Ask a face about it with faces choices --state-id, or pass its id with --conversation on chat or decide and send only what is new. Name a face and the state takes that face only; leave it out and it takes any of your faces. Opening one is free. A state expires 30 days after it was last used.",
|
|
3812
|
+
"examples": [
|
|
3813
|
+
"<%= config.bin %> <%= command.id %> @alice",
|
|
3814
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3815
|
+
"<%= config.bin %> <%= command.id %> --no-causes-visible --json",
|
|
3816
|
+
"<%= config.bin %> <%= command.id %> @alice --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\""
|
|
3817
|
+
],
|
|
3402
3818
|
"flags": {
|
|
3403
3819
|
"json": {
|
|
3404
3820
|
"description": "Format output as json.",
|
|
@@ -3440,16 +3856,52 @@
|
|
|
3440
3856
|
"allowNo": false,
|
|
3441
3857
|
"type": "boolean"
|
|
3442
3858
|
},
|
|
3443
|
-
"
|
|
3444
|
-
"description": "
|
|
3445
|
-
"name": "
|
|
3446
|
-
"allowNo":
|
|
3859
|
+
"causes-visible": {
|
|
3860
|
+
"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 state with several faces.",
|
|
3861
|
+
"name": "causes-visible",
|
|
3862
|
+
"allowNo": true,
|
|
3447
3863
|
"type": "boolean"
|
|
3864
|
+
},
|
|
3865
|
+
"message": {
|
|
3866
|
+
"char": "m",
|
|
3867
|
+
"description": "A first message of yours (repeatable, kept in order).",
|
|
3868
|
+
"name": "message",
|
|
3869
|
+
"hasDynamicHelp": false,
|
|
3870
|
+
"multiple": true,
|
|
3871
|
+
"type": "option"
|
|
3872
|
+
},
|
|
3873
|
+
"premise": {
|
|
3874
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the state. 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.",
|
|
3875
|
+
"name": "premise",
|
|
3876
|
+
"hasDynamicHelp": false,
|
|
3877
|
+
"multiple": true,
|
|
3878
|
+
"type": "option"
|
|
3879
|
+
},
|
|
3880
|
+
"premise-description": {
|
|
3881
|
+
"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 state, and kept after that.",
|
|
3882
|
+
"name": "premise-description",
|
|
3883
|
+
"hasDynamicHelp": false,
|
|
3884
|
+
"multiple": true,
|
|
3885
|
+
"type": "option"
|
|
3886
|
+
},
|
|
3887
|
+
"premise-status": {
|
|
3888
|
+
"description": "A --premise's status, as key=status (repeatable, one per key): stated, verified, assumed, unresolved, invalidated. Left out, a new premise is stated. An invalidated premise invalidates everything that depends on it; set it to another status to restore them.",
|
|
3889
|
+
"name": "premise-status",
|
|
3890
|
+
"hasDynamicHelp": false,
|
|
3891
|
+
"multiple": true,
|
|
3892
|
+
"type": "option"
|
|
3893
|
+
},
|
|
3894
|
+
"premise-depends-on": {
|
|
3895
|
+
"description": "What a --premise rests on, as key=a,b (repeatable, one per key): premise keys and decision ids already in the state or set in the same request, at most 200. key= with nothing after it clears it; left out, a newer value keeps what the key rested on before.",
|
|
3896
|
+
"name": "premise-depends-on",
|
|
3897
|
+
"hasDynamicHelp": false,
|
|
3898
|
+
"multiple": true,
|
|
3899
|
+
"type": "option"
|
|
3448
3900
|
}
|
|
3449
3901
|
},
|
|
3450
3902
|
"hasDynamicHelp": false,
|
|
3451
3903
|
"hiddenAliases": [],
|
|
3452
|
-
"id": "
|
|
3904
|
+
"id": "conversation:create",
|
|
3453
3905
|
"pluginAlias": "@faces-sh/cli",
|
|
3454
3906
|
"pluginName": "@faces-sh/cli",
|
|
3455
3907
|
"pluginType": "core",
|
|
@@ -3459,25 +3911,23 @@
|
|
|
3459
3911
|
"relativePath": [
|
|
3460
3912
|
"dist",
|
|
3461
3913
|
"commands",
|
|
3462
|
-
"
|
|
3463
|
-
"
|
|
3914
|
+
"conversation",
|
|
3915
|
+
"create.js"
|
|
3464
3916
|
]
|
|
3465
3917
|
},
|
|
3466
|
-
"
|
|
3918
|
+
"conversation:get": {
|
|
3467
3919
|
"aliases": [],
|
|
3468
3920
|
"args": {
|
|
3469
|
-
"
|
|
3470
|
-
"description": "
|
|
3471
|
-
"name": "
|
|
3472
|
-
"required": true
|
|
3473
|
-
},
|
|
3474
|
-
"value": {
|
|
3475
|
-
"description": "Config value",
|
|
3476
|
-
"name": "value",
|
|
3921
|
+
"conversation_id": {
|
|
3922
|
+
"description": "State id (from state:create)",
|
|
3923
|
+
"name": "conversation_id",
|
|
3477
3924
|
"required": true
|
|
3478
3925
|
}
|
|
3479
3926
|
},
|
|
3480
|
-
"description": "
|
|
3927
|
+
"description": "Read a state: 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 state:items.",
|
|
3928
|
+
"examples": [
|
|
3929
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID"
|
|
3930
|
+
],
|
|
3481
3931
|
"flags": {
|
|
3482
3932
|
"json": {
|
|
3483
3933
|
"description": "Format output as json.",
|
|
@@ -3522,7 +3972,7 @@
|
|
|
3522
3972
|
},
|
|
3523
3973
|
"hasDynamicHelp": false,
|
|
3524
3974
|
"hiddenAliases": [],
|
|
3525
|
-
"id": "
|
|
3975
|
+
"id": "conversation:get",
|
|
3526
3976
|
"pluginAlias": "@faces-sh/cli",
|
|
3527
3977
|
"pluginName": "@faces-sh/cli",
|
|
3528
3978
|
"pluginType": "core",
|
|
@@ -3532,14 +3982,24 @@
|
|
|
3532
3982
|
"relativePath": [
|
|
3533
3983
|
"dist",
|
|
3534
3984
|
"commands",
|
|
3535
|
-
"
|
|
3536
|
-
"
|
|
3985
|
+
"conversation",
|
|
3986
|
+
"get.js"
|
|
3537
3987
|
]
|
|
3538
3988
|
},
|
|
3539
|
-
"
|
|
3989
|
+
"conversation:items": {
|
|
3540
3990
|
"aliases": [],
|
|
3541
|
-
"args": {
|
|
3542
|
-
|
|
3991
|
+
"args": {
|
|
3992
|
+
"conversation_id": {
|
|
3993
|
+
"description": "State id (from state:create)",
|
|
3994
|
+
"name": "conversation_id",
|
|
3995
|
+
"required": true
|
|
3996
|
+
}
|
|
3997
|
+
},
|
|
3998
|
+
"description": "List a state's items in order: premises, decisions with their choice, cause and status, your messages and each face's reply. Ends with the premises in force now, each with its status. Free.",
|
|
3999
|
+
"examples": [
|
|
4000
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID",
|
|
4001
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --json"
|
|
4002
|
+
],
|
|
3543
4003
|
"flags": {
|
|
3544
4004
|
"json": {
|
|
3545
4005
|
"description": "Format output as json.",
|
|
@@ -3584,7 +4044,7 @@
|
|
|
3584
4044
|
},
|
|
3585
4045
|
"hasDynamicHelp": false,
|
|
3586
4046
|
"hiddenAliases": [],
|
|
3587
|
-
"id": "
|
|
4047
|
+
"id": "conversation:items",
|
|
3588
4048
|
"pluginAlias": "@faces-sh/cli",
|
|
3589
4049
|
"pluginName": "@faces-sh/cli",
|
|
3590
4050
|
"pluginType": "core",
|
|
@@ -3594,8 +4054,8 @@
|
|
|
3594
4054
|
"relativePath": [
|
|
3595
4055
|
"dist",
|
|
3596
4056
|
"commands",
|
|
3597
|
-
"
|
|
3598
|
-
"
|
|
4057
|
+
"conversation",
|
|
4058
|
+
"items.js"
|
|
3599
4059
|
]
|
|
3600
4060
|
},
|
|
3601
4061
|
"face:attributes": {
|
|
@@ -4108,7 +4568,7 @@
|
|
|
4108
4568
|
"required": true
|
|
4109
4569
|
}
|
|
4110
4570
|
},
|
|
4111
|
-
"description": "Get details for a face, by alias or owner:alias. A published or shared face is reachable under the
|
|
4571
|
+
"description": "Get details for a face, by alias or owner:alias. A published or shared face is reachable under the owner:alias address (in a model it is written @owner~alias); it is shown with a note that you do not own it.",
|
|
4112
4572
|
"flags": {
|
|
4113
4573
|
"json": {
|
|
4114
4574
|
"description": "Format output as json.",
|
|
@@ -4884,7 +5344,243 @@
|
|
|
4884
5344
|
},
|
|
4885
5345
|
"hasDynamicHelp": false,
|
|
4886
5346
|
"hiddenAliases": [],
|
|
4887
|
-
"id": "face:stats",
|
|
5347
|
+
"id": "face:stats",
|
|
5348
|
+
"pluginAlias": "@faces-sh/cli",
|
|
5349
|
+
"pluginName": "@faces-sh/cli",
|
|
5350
|
+
"pluginType": "core",
|
|
5351
|
+
"strict": true,
|
|
5352
|
+
"enableJsonFlag": true,
|
|
5353
|
+
"isESM": true,
|
|
5354
|
+
"relativePath": [
|
|
5355
|
+
"dist",
|
|
5356
|
+
"commands",
|
|
5357
|
+
"face",
|
|
5358
|
+
"stats.js"
|
|
5359
|
+
]
|
|
5360
|
+
},
|
|
5361
|
+
"face:unlock": {
|
|
5362
|
+
"aliases": [],
|
|
5363
|
+
"args": {
|
|
5364
|
+
"face_id": {
|
|
5365
|
+
"description": "Face alias",
|
|
5366
|
+
"name": "face_id",
|
|
5367
|
+
"required": true
|
|
5368
|
+
}
|
|
5369
|
+
},
|
|
5370
|
+
"description": "Unlock a face (make it writable again). Thaws the face and everything it owns (documents, threads, built styles).",
|
|
5371
|
+
"examples": [
|
|
5372
|
+
"<%= config.bin %> <%= command.id %> socrates"
|
|
5373
|
+
],
|
|
5374
|
+
"flags": {
|
|
5375
|
+
"json": {
|
|
5376
|
+
"description": "Format output as json.",
|
|
5377
|
+
"helpGroup": "GLOBAL",
|
|
5378
|
+
"name": "json",
|
|
5379
|
+
"allowNo": false,
|
|
5380
|
+
"type": "boolean"
|
|
5381
|
+
},
|
|
5382
|
+
"base-url": {
|
|
5383
|
+
"description": "API base URL",
|
|
5384
|
+
"env": "FACES_BASE_URL",
|
|
5385
|
+
"name": "base-url",
|
|
5386
|
+
"hasDynamicHelp": false,
|
|
5387
|
+
"multiple": false,
|
|
5388
|
+
"type": "option"
|
|
5389
|
+
},
|
|
5390
|
+
"token": {
|
|
5391
|
+
"description": "JWT bearer token",
|
|
5392
|
+
"env": "FACES_TOKEN",
|
|
5393
|
+
"name": "token",
|
|
5394
|
+
"hasDynamicHelp": false,
|
|
5395
|
+
"multiple": false,
|
|
5396
|
+
"type": "option"
|
|
5397
|
+
},
|
|
5398
|
+
"api-key": {
|
|
5399
|
+
"description": "API key",
|
|
5400
|
+
"env": "FACES_API_KEY",
|
|
5401
|
+
"name": "api-key",
|
|
5402
|
+
"hasDynamicHelp": false,
|
|
5403
|
+
"multiple": false,
|
|
5404
|
+
"type": "option"
|
|
5405
|
+
},
|
|
5406
|
+
"toon": {
|
|
5407
|
+
"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.",
|
|
5408
|
+
"exclusive": [
|
|
5409
|
+
"json"
|
|
5410
|
+
],
|
|
5411
|
+
"name": "toon",
|
|
5412
|
+
"allowNo": false,
|
|
5413
|
+
"type": "boolean"
|
|
5414
|
+
}
|
|
5415
|
+
},
|
|
5416
|
+
"hasDynamicHelp": false,
|
|
5417
|
+
"hiddenAliases": [],
|
|
5418
|
+
"id": "face:unlock",
|
|
5419
|
+
"pluginAlias": "@faces-sh/cli",
|
|
5420
|
+
"pluginName": "@faces-sh/cli",
|
|
5421
|
+
"pluginType": "core",
|
|
5422
|
+
"strict": true,
|
|
5423
|
+
"enableJsonFlag": true,
|
|
5424
|
+
"isESM": true,
|
|
5425
|
+
"relativePath": [
|
|
5426
|
+
"dist",
|
|
5427
|
+
"commands",
|
|
5428
|
+
"face",
|
|
5429
|
+
"unlock.js"
|
|
5430
|
+
]
|
|
5431
|
+
},
|
|
5432
|
+
"face:unpublish": {
|
|
5433
|
+
"aliases": [],
|
|
5434
|
+
"args": {
|
|
5435
|
+
"alias": {
|
|
5436
|
+
"description": "Face alias",
|
|
5437
|
+
"name": "alias",
|
|
5438
|
+
"required": true
|
|
5439
|
+
}
|
|
5440
|
+
},
|
|
5441
|
+
"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.",
|
|
5442
|
+
"flags": {
|
|
5443
|
+
"json": {
|
|
5444
|
+
"description": "Format output as json.",
|
|
5445
|
+
"helpGroup": "GLOBAL",
|
|
5446
|
+
"name": "json",
|
|
5447
|
+
"allowNo": false,
|
|
5448
|
+
"type": "boolean"
|
|
5449
|
+
},
|
|
5450
|
+
"base-url": {
|
|
5451
|
+
"description": "API base URL",
|
|
5452
|
+
"env": "FACES_BASE_URL",
|
|
5453
|
+
"name": "base-url",
|
|
5454
|
+
"hasDynamicHelp": false,
|
|
5455
|
+
"multiple": false,
|
|
5456
|
+
"type": "option"
|
|
5457
|
+
},
|
|
5458
|
+
"token": {
|
|
5459
|
+
"description": "JWT bearer token",
|
|
5460
|
+
"env": "FACES_TOKEN",
|
|
5461
|
+
"name": "token",
|
|
5462
|
+
"hasDynamicHelp": false,
|
|
5463
|
+
"multiple": false,
|
|
5464
|
+
"type": "option"
|
|
5465
|
+
},
|
|
5466
|
+
"api-key": {
|
|
5467
|
+
"description": "API key",
|
|
5468
|
+
"env": "FACES_API_KEY",
|
|
5469
|
+
"name": "api-key",
|
|
5470
|
+
"hasDynamicHelp": false,
|
|
5471
|
+
"multiple": false,
|
|
5472
|
+
"type": "option"
|
|
5473
|
+
},
|
|
5474
|
+
"toon": {
|
|
5475
|
+
"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.",
|
|
5476
|
+
"exclusive": [
|
|
5477
|
+
"json"
|
|
5478
|
+
],
|
|
5479
|
+
"name": "toon",
|
|
5480
|
+
"allowNo": false,
|
|
5481
|
+
"type": "boolean"
|
|
5482
|
+
}
|
|
5483
|
+
},
|
|
5484
|
+
"hasDynamicHelp": false,
|
|
5485
|
+
"hiddenAliases": [],
|
|
5486
|
+
"id": "face:unpublish",
|
|
5487
|
+
"pluginAlias": "@faces-sh/cli",
|
|
5488
|
+
"pluginName": "@faces-sh/cli",
|
|
5489
|
+
"pluginType": "core",
|
|
5490
|
+
"strict": true,
|
|
5491
|
+
"enableJsonFlag": true,
|
|
5492
|
+
"isESM": true,
|
|
5493
|
+
"relativePath": [
|
|
5494
|
+
"dist",
|
|
5495
|
+
"commands",
|
|
5496
|
+
"face",
|
|
5497
|
+
"unpublish.js"
|
|
5498
|
+
]
|
|
5499
|
+
},
|
|
5500
|
+
"face:unshare": {
|
|
5501
|
+
"aliases": [],
|
|
5502
|
+
"args": {
|
|
5503
|
+
"alias": {
|
|
5504
|
+
"description": "Face alias",
|
|
5505
|
+
"name": "alias",
|
|
5506
|
+
"required": true
|
|
5507
|
+
}
|
|
5508
|
+
},
|
|
5509
|
+
"description": "Revoke access to a shared face. Takes effect immediately. There is no grace period.",
|
|
5510
|
+
"examples": [
|
|
5511
|
+
"<%= config.bin %> <%= command.id %> alice --from dana --yes",
|
|
5512
|
+
"<%= config.bin %> <%= command.id %> alice --all --yes"
|
|
5513
|
+
],
|
|
5514
|
+
"flags": {
|
|
5515
|
+
"json": {
|
|
5516
|
+
"description": "Format output as json.",
|
|
5517
|
+
"helpGroup": "GLOBAL",
|
|
5518
|
+
"name": "json",
|
|
5519
|
+
"allowNo": false,
|
|
5520
|
+
"type": "boolean"
|
|
5521
|
+
},
|
|
5522
|
+
"base-url": {
|
|
5523
|
+
"description": "API base URL",
|
|
5524
|
+
"env": "FACES_BASE_URL",
|
|
5525
|
+
"name": "base-url",
|
|
5526
|
+
"hasDynamicHelp": false,
|
|
5527
|
+
"multiple": false,
|
|
5528
|
+
"type": "option"
|
|
5529
|
+
},
|
|
5530
|
+
"token": {
|
|
5531
|
+
"description": "JWT bearer token",
|
|
5532
|
+
"env": "FACES_TOKEN",
|
|
5533
|
+
"name": "token",
|
|
5534
|
+
"hasDynamicHelp": false,
|
|
5535
|
+
"multiple": false,
|
|
5536
|
+
"type": "option"
|
|
5537
|
+
},
|
|
5538
|
+
"api-key": {
|
|
5539
|
+
"description": "API key",
|
|
5540
|
+
"env": "FACES_API_KEY",
|
|
5541
|
+
"name": "api-key",
|
|
5542
|
+
"hasDynamicHelp": false,
|
|
5543
|
+
"multiple": false,
|
|
5544
|
+
"type": "option"
|
|
5545
|
+
},
|
|
5546
|
+
"toon": {
|
|
5547
|
+
"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.",
|
|
5548
|
+
"exclusive": [
|
|
5549
|
+
"json"
|
|
5550
|
+
],
|
|
5551
|
+
"name": "toon",
|
|
5552
|
+
"allowNo": false,
|
|
5553
|
+
"type": "boolean"
|
|
5554
|
+
},
|
|
5555
|
+
"from": {
|
|
5556
|
+
"description": "Account to revoke (repeatable)",
|
|
5557
|
+
"exclusive": [
|
|
5558
|
+
"all"
|
|
5559
|
+
],
|
|
5560
|
+
"name": "from",
|
|
5561
|
+
"hasDynamicHelp": false,
|
|
5562
|
+
"multiple": true,
|
|
5563
|
+
"type": "option"
|
|
5564
|
+
},
|
|
5565
|
+
"all": {
|
|
5566
|
+
"description": "Revoke everyone",
|
|
5567
|
+
"exclusive": [
|
|
5568
|
+
"from"
|
|
5569
|
+
],
|
|
5570
|
+
"name": "all",
|
|
5571
|
+
"allowNo": false,
|
|
5572
|
+
"type": "boolean"
|
|
5573
|
+
},
|
|
5574
|
+
"yes": {
|
|
5575
|
+
"description": "Skip confirmation",
|
|
5576
|
+
"name": "yes",
|
|
5577
|
+
"allowNo": false,
|
|
5578
|
+
"type": "boolean"
|
|
5579
|
+
}
|
|
5580
|
+
},
|
|
5581
|
+
"hasDynamicHelp": false,
|
|
5582
|
+
"hiddenAliases": [],
|
|
5583
|
+
"id": "face:unshare",
|
|
4888
5584
|
"pluginAlias": "@faces-sh/cli",
|
|
4889
5585
|
"pluginName": "@faces-sh/cli",
|
|
4890
5586
|
"pluginType": "core",
|
|
@@ -4895,21 +5591,21 @@
|
|
|
4895
5591
|
"dist",
|
|
4896
5592
|
"commands",
|
|
4897
5593
|
"face",
|
|
4898
|
-
"
|
|
5594
|
+
"unshare.js"
|
|
4899
5595
|
]
|
|
4900
5596
|
},
|
|
4901
|
-
"
|
|
5597
|
+
"fidelity:get": {
|
|
4902
5598
|
"aliases": [],
|
|
4903
5599
|
"args": {
|
|
4904
|
-
"
|
|
4905
|
-
"description": "
|
|
4906
|
-
"name": "
|
|
5600
|
+
"run_id": {
|
|
5601
|
+
"description": "Fidelity run id",
|
|
5602
|
+
"name": "run_id",
|
|
4907
5603
|
"required": true
|
|
4908
5604
|
}
|
|
4909
5605
|
},
|
|
4910
|
-
"description": "
|
|
5606
|
+
"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.",
|
|
4911
5607
|
"examples": [
|
|
4912
|
-
"<%= config.bin %> <%= command.id %>
|
|
5608
|
+
"<%= config.bin %> <%= command.id %> <run>"
|
|
4913
5609
|
],
|
|
4914
5610
|
"flags": {
|
|
4915
5611
|
"json": {
|
|
@@ -4955,7 +5651,7 @@
|
|
|
4955
5651
|
},
|
|
4956
5652
|
"hasDynamicHelp": false,
|
|
4957
5653
|
"hiddenAliases": [],
|
|
4958
|
-
"id": "
|
|
5654
|
+
"id": "fidelity:get",
|
|
4959
5655
|
"pluginAlias": "@faces-sh/cli",
|
|
4960
5656
|
"pluginName": "@faces-sh/cli",
|
|
4961
5657
|
"pluginType": "core",
|
|
@@ -4965,20 +5661,33 @@
|
|
|
4965
5661
|
"relativePath": [
|
|
4966
5662
|
"dist",
|
|
4967
5663
|
"commands",
|
|
4968
|
-
"
|
|
4969
|
-
"
|
|
5664
|
+
"fidelity",
|
|
5665
|
+
"get.js"
|
|
4970
5666
|
]
|
|
4971
5667
|
},
|
|
4972
|
-
"
|
|
5668
|
+
"fidelity:pick": {
|
|
4973
5669
|
"aliases": [],
|
|
4974
5670
|
"args": {
|
|
4975
|
-
"
|
|
4976
|
-
"description": "
|
|
4977
|
-
"name": "
|
|
5671
|
+
"run_id": {
|
|
5672
|
+
"description": "Fidelity run id",
|
|
5673
|
+
"name": "run_id",
|
|
5674
|
+
"required": true
|
|
5675
|
+
},
|
|
5676
|
+
"pick": {
|
|
5677
|
+
"description": "a or b",
|
|
5678
|
+
"name": "pick",
|
|
5679
|
+
"options": [
|
|
5680
|
+
"a",
|
|
5681
|
+
"b"
|
|
5682
|
+
],
|
|
4978
5683
|
"required": true
|
|
4979
5684
|
}
|
|
4980
5685
|
},
|
|
4981
|
-
"description": "
|
|
5686
|
+
"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.",
|
|
5687
|
+
"examples": [
|
|
5688
|
+
"<%= config.bin %> <%= command.id %> <run> a",
|
|
5689
|
+
"<%= config.bin %> <%= command.id %> <run> b --correction \"Fine, thanks. Long drive.\""
|
|
5690
|
+
],
|
|
4982
5691
|
"flags": {
|
|
4983
5692
|
"json": {
|
|
4984
5693
|
"description": "Format output as json.",
|
|
@@ -5019,11 +5728,35 @@
|
|
|
5019
5728
|
"name": "toon",
|
|
5020
5729
|
"allowNo": false,
|
|
5021
5730
|
"type": "boolean"
|
|
5731
|
+
},
|
|
5732
|
+
"correction": {
|
|
5733
|
+
"description": "What the person would actually have said, if the pick is not quite right",
|
|
5734
|
+
"exclusive": [
|
|
5735
|
+
"correction-file"
|
|
5736
|
+
],
|
|
5737
|
+
"name": "correction",
|
|
5738
|
+
"hasDynamicHelp": false,
|
|
5739
|
+
"multiple": false,
|
|
5740
|
+
"type": "option"
|
|
5741
|
+
},
|
|
5742
|
+
"correction-file": {
|
|
5743
|
+
"description": "Read the correction from a file",
|
|
5744
|
+
"name": "correction-file",
|
|
5745
|
+
"hasDynamicHelp": false,
|
|
5746
|
+
"multiple": false,
|
|
5747
|
+
"type": "option"
|
|
5748
|
+
},
|
|
5749
|
+
"turn": {
|
|
5750
|
+
"description": "The turn to pick for (default: the open one)",
|
|
5751
|
+
"name": "turn",
|
|
5752
|
+
"hasDynamicHelp": false,
|
|
5753
|
+
"multiple": false,
|
|
5754
|
+
"type": "option"
|
|
5022
5755
|
}
|
|
5023
5756
|
},
|
|
5024
5757
|
"hasDynamicHelp": false,
|
|
5025
5758
|
"hiddenAliases": [],
|
|
5026
|
-
"id": "
|
|
5759
|
+
"id": "fidelity:pick",
|
|
5027
5760
|
"pluginAlias": "@faces-sh/cli",
|
|
5028
5761
|
"pluginName": "@faces-sh/cli",
|
|
5029
5762
|
"pluginType": "core",
|
|
@@ -5033,23 +5766,23 @@
|
|
|
5033
5766
|
"relativePath": [
|
|
5034
5767
|
"dist",
|
|
5035
5768
|
"commands",
|
|
5036
|
-
"
|
|
5037
|
-
"
|
|
5769
|
+
"fidelity",
|
|
5770
|
+
"pick.js"
|
|
5038
5771
|
]
|
|
5039
5772
|
},
|
|
5040
|
-
"
|
|
5773
|
+
"fidelity:run": {
|
|
5041
5774
|
"aliases": [],
|
|
5042
5775
|
"args": {
|
|
5043
5776
|
"alias": {
|
|
5044
|
-
"description": "
|
|
5777
|
+
"description": "Alias of a face you own",
|
|
5045
5778
|
"name": "alias",
|
|
5046
5779
|
"required": true
|
|
5047
5780
|
}
|
|
5048
5781
|
},
|
|
5049
|
-
"description": "
|
|
5782
|
+
"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.",
|
|
5050
5783
|
"examples": [
|
|
5051
|
-
"<%= config.bin %> <%= command.id %> alice
|
|
5052
|
-
"<%= config.bin %> <%= command.id %> alice --
|
|
5784
|
+
"<%= config.bin %> <%= command.id %> alice",
|
|
5785
|
+
"<%= config.bin %> <%= command.id %> alice --run <run>"
|
|
5053
5786
|
],
|
|
5054
5787
|
"flags": {
|
|
5055
5788
|
"json": {
|
|
@@ -5092,35 +5825,35 @@
|
|
|
5092
5825
|
"allowNo": false,
|
|
5093
5826
|
"type": "boolean"
|
|
5094
5827
|
},
|
|
5095
|
-
"
|
|
5096
|
-
"description": "
|
|
5097
|
-
"
|
|
5098
|
-
"all"
|
|
5099
|
-
],
|
|
5100
|
-
"name": "from",
|
|
5828
|
+
"competitor": {
|
|
5829
|
+
"description": "The chat model the face is compared with (default: the cheapest Codex-eligible chat model)",
|
|
5830
|
+
"name": "competitor",
|
|
5101
5831
|
"hasDynamicHelp": false,
|
|
5102
|
-
"multiple":
|
|
5832
|
+
"multiple": false,
|
|
5103
5833
|
"type": "option"
|
|
5104
5834
|
},
|
|
5105
|
-
"
|
|
5106
|
-
"description": "
|
|
5835
|
+
"model": {
|
|
5836
|
+
"description": "The model the face answers on (default: its own default model)",
|
|
5837
|
+
"name": "model",
|
|
5838
|
+
"hasDynamicHelp": false,
|
|
5839
|
+
"multiple": false,
|
|
5840
|
+
"type": "option"
|
|
5841
|
+
},
|
|
5842
|
+
"run": {
|
|
5843
|
+
"description": "Resume this run instead of starting one",
|
|
5107
5844
|
"exclusive": [
|
|
5108
|
-
"
|
|
5845
|
+
"competitor",
|
|
5846
|
+
"model"
|
|
5109
5847
|
],
|
|
5110
|
-
"name": "
|
|
5111
|
-
"
|
|
5112
|
-
"
|
|
5113
|
-
|
|
5114
|
-
"yes": {
|
|
5115
|
-
"description": "Skip confirmation",
|
|
5116
|
-
"name": "yes",
|
|
5117
|
-
"allowNo": false,
|
|
5118
|
-
"type": "boolean"
|
|
5848
|
+
"name": "run",
|
|
5849
|
+
"hasDynamicHelp": false,
|
|
5850
|
+
"multiple": false,
|
|
5851
|
+
"type": "option"
|
|
5119
5852
|
}
|
|
5120
5853
|
},
|
|
5121
5854
|
"hasDynamicHelp": false,
|
|
5122
5855
|
"hiddenAliases": [],
|
|
5123
|
-
"id": "
|
|
5856
|
+
"id": "fidelity:run",
|
|
5124
5857
|
"pluginAlias": "@faces-sh/cli",
|
|
5125
5858
|
"pluginName": "@faces-sh/cli",
|
|
5126
5859
|
"pluginType": "core",
|
|
@@ -5130,11 +5863,11 @@
|
|
|
5130
5863
|
"relativePath": [
|
|
5131
5864
|
"dist",
|
|
5132
5865
|
"commands",
|
|
5133
|
-
"
|
|
5134
|
-
"
|
|
5866
|
+
"fidelity",
|
|
5867
|
+
"run.js"
|
|
5135
5868
|
]
|
|
5136
5869
|
},
|
|
5137
|
-
"fidelity:
|
|
5870
|
+
"fidelity:save-thread": {
|
|
5138
5871
|
"aliases": [],
|
|
5139
5872
|
"args": {
|
|
5140
5873
|
"run_id": {
|
|
@@ -5143,7 +5876,7 @@
|
|
|
5143
5876
|
"required": true
|
|
5144
5877
|
}
|
|
5145
5878
|
},
|
|
5146
|
-
"description": "
|
|
5879
|
+
"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.",
|
|
5147
5880
|
"examples": [
|
|
5148
5881
|
"<%= config.bin %> <%= command.id %> <run>"
|
|
5149
5882
|
],
|
|
@@ -5191,7 +5924,7 @@
|
|
|
5191
5924
|
},
|
|
5192
5925
|
"hasDynamicHelp": false,
|
|
5193
5926
|
"hiddenAliases": [],
|
|
5194
|
-
"id": "fidelity:
|
|
5927
|
+
"id": "fidelity:save-thread",
|
|
5195
5928
|
"pluginAlias": "@faces-sh/cli",
|
|
5196
5929
|
"pluginName": "@faces-sh/cli",
|
|
5197
5930
|
"pluginType": "core",
|
|
@@ -5202,31 +5935,22 @@
|
|
|
5202
5935
|
"dist",
|
|
5203
5936
|
"commands",
|
|
5204
5937
|
"fidelity",
|
|
5205
|
-
"
|
|
5938
|
+
"save-thread.js"
|
|
5206
5939
|
]
|
|
5207
5940
|
},
|
|
5208
|
-
"fidelity:
|
|
5941
|
+
"fidelity:start": {
|
|
5209
5942
|
"aliases": [],
|
|
5210
5943
|
"args": {
|
|
5211
|
-
"
|
|
5212
|
-
"description": "
|
|
5213
|
-
"name": "
|
|
5214
|
-
"required": true
|
|
5215
|
-
},
|
|
5216
|
-
"pick": {
|
|
5217
|
-
"description": "a or b",
|
|
5218
|
-
"name": "pick",
|
|
5219
|
-
"options": [
|
|
5220
|
-
"a",
|
|
5221
|
-
"b"
|
|
5222
|
-
],
|
|
5944
|
+
"alias": {
|
|
5945
|
+
"description": "Alias of a face you own",
|
|
5946
|
+
"name": "alias",
|
|
5223
5947
|
"required": true
|
|
5224
5948
|
}
|
|
5225
5949
|
},
|
|
5226
|
-
"description": "
|
|
5950
|
+
"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.",
|
|
5227
5951
|
"examples": [
|
|
5228
|
-
"<%= config.bin %> <%= command.id %>
|
|
5229
|
-
"<%= config.bin %> <%= command.id %>
|
|
5952
|
+
"<%= config.bin %> <%= command.id %> alice",
|
|
5953
|
+
"<%= config.bin %> <%= command.id %> alice --competitor <model>"
|
|
5230
5954
|
],
|
|
5231
5955
|
"flags": {
|
|
5232
5956
|
"json": {
|
|
@@ -5269,26 +5993,16 @@
|
|
|
5269
5993
|
"allowNo": false,
|
|
5270
5994
|
"type": "boolean"
|
|
5271
5995
|
},
|
|
5272
|
-
"
|
|
5273
|
-
"description": "
|
|
5274
|
-
"
|
|
5275
|
-
"correction-file"
|
|
5276
|
-
],
|
|
5277
|
-
"name": "correction",
|
|
5278
|
-
"hasDynamicHelp": false,
|
|
5279
|
-
"multiple": false,
|
|
5280
|
-
"type": "option"
|
|
5281
|
-
},
|
|
5282
|
-
"correction-file": {
|
|
5283
|
-
"description": "Read the correction from a file",
|
|
5284
|
-
"name": "correction-file",
|
|
5996
|
+
"competitor": {
|
|
5997
|
+
"description": "The chat model the face is compared with (default: the cheapest Codex-eligible chat model)",
|
|
5998
|
+
"name": "competitor",
|
|
5285
5999
|
"hasDynamicHelp": false,
|
|
5286
6000
|
"multiple": false,
|
|
5287
6001
|
"type": "option"
|
|
5288
6002
|
},
|
|
5289
|
-
"
|
|
5290
|
-
"description": "The
|
|
5291
|
-
"name": "
|
|
6003
|
+
"model": {
|
|
6004
|
+
"description": "The model the face answers on (default: its own default model)",
|
|
6005
|
+
"name": "model",
|
|
5292
6006
|
"hasDynamicHelp": false,
|
|
5293
6007
|
"multiple": false,
|
|
5294
6008
|
"type": "option"
|
|
@@ -5296,7 +6010,7 @@
|
|
|
5296
6010
|
},
|
|
5297
6011
|
"hasDynamicHelp": false,
|
|
5298
6012
|
"hiddenAliases": [],
|
|
5299
|
-
"id": "fidelity:
|
|
6013
|
+
"id": "fidelity:start",
|
|
5300
6014
|
"pluginAlias": "@faces-sh/cli",
|
|
5301
6015
|
"pluginName": "@faces-sh/cli",
|
|
5302
6016
|
"pluginType": "core",
|
|
@@ -5307,21 +6021,21 @@
|
|
|
5307
6021
|
"dist",
|
|
5308
6022
|
"commands",
|
|
5309
6023
|
"fidelity",
|
|
5310
|
-
"
|
|
6024
|
+
"start.js"
|
|
5311
6025
|
]
|
|
5312
6026
|
},
|
|
5313
|
-
"fidelity:
|
|
6027
|
+
"fidelity:turn": {
|
|
5314
6028
|
"aliases": [],
|
|
5315
6029
|
"args": {
|
|
5316
6030
|
"run_id": {
|
|
5317
|
-
"description": "Fidelity run id",
|
|
6031
|
+
"description": "Fidelity run id, from faces fidelity:start",
|
|
5318
6032
|
"name": "run_id",
|
|
5319
6033
|
"required": true
|
|
5320
6034
|
}
|
|
5321
6035
|
},
|
|
5322
|
-
"description": "
|
|
6036
|
+
"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.",
|
|
5323
6037
|
"examples": [
|
|
5324
|
-
"<%= config.bin %> <%= command.id %> <run>"
|
|
6038
|
+
"<%= config.bin %> <%= command.id %> <run> -m \"How was the trip?\""
|
|
5325
6039
|
],
|
|
5326
6040
|
"flags": {
|
|
5327
6041
|
"json": {
|
|
@@ -5363,11 +6077,29 @@
|
|
|
5363
6077
|
"name": "toon",
|
|
5364
6078
|
"allowNo": false,
|
|
5365
6079
|
"type": "boolean"
|
|
6080
|
+
},
|
|
6081
|
+
"message": {
|
|
6082
|
+
"char": "m",
|
|
6083
|
+
"description": "Your message for this turn",
|
|
6084
|
+
"exclusive": [
|
|
6085
|
+
"file"
|
|
6086
|
+
],
|
|
6087
|
+
"name": "message",
|
|
6088
|
+
"hasDynamicHelp": false,
|
|
6089
|
+
"multiple": false,
|
|
6090
|
+
"type": "option"
|
|
6091
|
+
},
|
|
6092
|
+
"file": {
|
|
6093
|
+
"description": "Read the message from a file",
|
|
6094
|
+
"name": "file",
|
|
6095
|
+
"hasDynamicHelp": false,
|
|
6096
|
+
"multiple": false,
|
|
6097
|
+
"type": "option"
|
|
5366
6098
|
}
|
|
5367
6099
|
},
|
|
5368
6100
|
"hasDynamicHelp": false,
|
|
5369
6101
|
"hiddenAliases": [],
|
|
5370
|
-
"id": "fidelity:
|
|
6102
|
+
"id": "fidelity:turn",
|
|
5371
6103
|
"pluginAlias": "@faces-sh/cli",
|
|
5372
6104
|
"pluginName": "@faces-sh/cli",
|
|
5373
6105
|
"pluginType": "core",
|
|
@@ -5378,7 +6110,7 @@
|
|
|
5378
6110
|
"dist",
|
|
5379
6111
|
"commands",
|
|
5380
6112
|
"fidelity",
|
|
5381
|
-
"
|
|
6113
|
+
"turn.js"
|
|
5382
6114
|
]
|
|
5383
6115
|
},
|
|
5384
6116
|
"group:add": {
|
|
@@ -5390,7 +6122,7 @@
|
|
|
5390
6122
|
"required": true
|
|
5391
6123
|
}
|
|
5392
6124
|
},
|
|
5393
|
-
"description": "Add face(s) to a group. Any face this account can reach may join: your own, a published one, or one shared with you. Name someone else's as owner:alias
|
|
6125
|
+
"description": "Add face(s) to a group. Any face this account can reach may join: your own, a published one, or one shared with you. Name someone else's as owner:alias.",
|
|
5394
6126
|
"examples": [
|
|
5395
6127
|
"<%= config.bin %> <%= command.id %> GROUP_ID --face alice --face bob",
|
|
5396
6128
|
"<%= config.bin %> <%= command.id %> GROUP_ID --face head:socrates"
|
|
@@ -6332,15 +7064,81 @@
|
|
|
6332
7064
|
"update.js"
|
|
6333
7065
|
]
|
|
6334
7066
|
},
|
|
7067
|
+
"media:list": {
|
|
7068
|
+
"aliases": [],
|
|
7069
|
+
"args": {},
|
|
7070
|
+
"description": "List the media (GET /v1/media): the kinds of writing a source can be, each with its description and the subcategories it covers. A document declares one when it is compiled (--medium), styles are built one per medium, and chat chooses one for each request. Send the name exactly: a subcategory such as keynote is not a medium (it is a speech). No login needed.",
|
|
7071
|
+
"examples": [
|
|
7072
|
+
"<%= config.bin %> <%= command.id %>",
|
|
7073
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
7074
|
+
],
|
|
7075
|
+
"flags": {
|
|
7076
|
+
"json": {
|
|
7077
|
+
"description": "Format output as json.",
|
|
7078
|
+
"helpGroup": "GLOBAL",
|
|
7079
|
+
"name": "json",
|
|
7080
|
+
"allowNo": false,
|
|
7081
|
+
"type": "boolean"
|
|
7082
|
+
},
|
|
7083
|
+
"base-url": {
|
|
7084
|
+
"description": "API base URL",
|
|
7085
|
+
"env": "FACES_BASE_URL",
|
|
7086
|
+
"name": "base-url",
|
|
7087
|
+
"hasDynamicHelp": false,
|
|
7088
|
+
"multiple": false,
|
|
7089
|
+
"type": "option"
|
|
7090
|
+
},
|
|
7091
|
+
"token": {
|
|
7092
|
+
"description": "JWT bearer token",
|
|
7093
|
+
"env": "FACES_TOKEN",
|
|
7094
|
+
"name": "token",
|
|
7095
|
+
"hasDynamicHelp": false,
|
|
7096
|
+
"multiple": false,
|
|
7097
|
+
"type": "option"
|
|
7098
|
+
},
|
|
7099
|
+
"api-key": {
|
|
7100
|
+
"description": "API key",
|
|
7101
|
+
"env": "FACES_API_KEY",
|
|
7102
|
+
"name": "api-key",
|
|
7103
|
+
"hasDynamicHelp": false,
|
|
7104
|
+
"multiple": false,
|
|
7105
|
+
"type": "option"
|
|
7106
|
+
},
|
|
7107
|
+
"toon": {
|
|
7108
|
+
"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.",
|
|
7109
|
+
"exclusive": [
|
|
7110
|
+
"json"
|
|
7111
|
+
],
|
|
7112
|
+
"name": "toon",
|
|
7113
|
+
"allowNo": false,
|
|
7114
|
+
"type": "boolean"
|
|
7115
|
+
}
|
|
7116
|
+
},
|
|
7117
|
+
"hasDynamicHelp": false,
|
|
7118
|
+
"hiddenAliases": [],
|
|
7119
|
+
"id": "media:list",
|
|
7120
|
+
"pluginAlias": "@faces-sh/cli",
|
|
7121
|
+
"pluginName": "@faces-sh/cli",
|
|
7122
|
+
"pluginType": "core",
|
|
7123
|
+
"strict": true,
|
|
7124
|
+
"enableJsonFlag": true,
|
|
7125
|
+
"isESM": true,
|
|
7126
|
+
"relativePath": [
|
|
7127
|
+
"dist",
|
|
7128
|
+
"commands",
|
|
7129
|
+
"media",
|
|
7130
|
+
"list.js"
|
|
7131
|
+
]
|
|
7132
|
+
},
|
|
6335
7133
|
"models:list": {
|
|
6336
7134
|
"aliases": [],
|
|
6337
7135
|
"args": {},
|
|
6338
|
-
"description": "List the models you can name, once each, with their kind, endpoint and price (GET /v1/models). Without --kind
|
|
7136
|
+
"description": "List the models you can name, once each, with their kind, endpoint and price (GET /v1/models). Upstream models are ours, the maestros, written after a face: @alice:maestro-1. Downstream models write the answer, after the /: @alice:maestro-1/gpt-5.4. Each is priced on its own. Without --kind the maestros and the chat models are listed; --kind decision lists the models faces decide answers on. CHATGPT marks the Codex-eligible models, which can run on a linked ChatGPT plan (style builds, interviews). Prices are per million tokens. No login needed.",
|
|
6339
7137
|
"examples": [
|
|
6340
7138
|
"<%= config.bin %> <%= command.id %>",
|
|
6341
|
-
"<%= config.bin %> <%= command.id %> --kind
|
|
7139
|
+
"<%= config.bin %> <%= command.id %> --kind upstream",
|
|
6342
7140
|
"<%= config.bin %> <%= command.id %> --kind decision",
|
|
6343
|
-
"<%= config.bin %> <%= command.id %> --kind
|
|
7141
|
+
"<%= config.bin %> <%= command.id %> --kind upstream,compile",
|
|
6344
7142
|
"<%= config.bin %> <%= command.id %> --kind all --json",
|
|
6345
7143
|
"<%= config.bin %> <%= command.id %> --provider anthropic"
|
|
6346
7144
|
],
|
|
@@ -6386,7 +7184,7 @@
|
|
|
6386
7184
|
"type": "boolean"
|
|
6387
7185
|
},
|
|
6388
7186
|
"kind": {
|
|
6389
|
-
"description": "One kind or a comma-separated list:
|
|
7187
|
+
"description": "One kind or a comma-separated list: upstream, chat, decision, compile, image, transcription; or all. Default: upstream and chat.",
|
|
6390
7188
|
"name": "kind",
|
|
6391
7189
|
"hasDynamicHelp": false,
|
|
6392
7190
|
"multiple": false,
|
|
@@ -6508,7 +7306,7 @@
|
|
|
6508
7306
|
"required": true
|
|
6509
7307
|
}
|
|
6510
7308
|
},
|
|
6511
|
-
"description": "Compact a session:
|
|
7309
|
+
"description": "Compact a session: the face's position over the session, kept on the server 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 on the tokens it reads and writes; on Connect and Pro it counts against the plan's allowance. A failed compaction is not charged. A compaction expires 30 days after it is written. Sessions are now called states: see faces state:compact.",
|
|
6512
7310
|
"examples": [
|
|
6513
7311
|
"<%= config.bin %> <%= command.id %> fs_SESSION_ID",
|
|
6514
7312
|
"<%= config.bin %> <%= command.id %> fs_SESSION_ID --json"
|
|
@@ -6575,15 +7373,15 @@
|
|
|
6575
7373
|
"aliases": [],
|
|
6576
7374
|
"args": {
|
|
6577
7375
|
"face": {
|
|
6578
|
-
"description": "The face alone:
|
|
7376
|
+
"description": "The face alone: @alice, @owner~alice, or a composite such as \"(@a | @b)\". No maestro or model.",
|
|
6579
7377
|
"name": "face",
|
|
6580
7378
|
"required": true
|
|
6581
7379
|
}
|
|
6582
7380
|
},
|
|
6583
|
-
"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
|
|
7381
|
+
"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 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 states: see faces state:create.",
|
|
6584
7382
|
"examples": [
|
|
6585
|
-
"<%= config.bin %> <%= command.id %> alice",
|
|
6586
|
-
"<%= config.bin %> <%= command.id %> \"(alice | bob)\" --json"
|
|
7383
|
+
"<%= config.bin %> <%= command.id %> @alice",
|
|
7384
|
+
"<%= config.bin %> <%= command.id %> \"(@alice | @bob)\" --json"
|
|
6587
7385
|
],
|
|
6588
7386
|
"flags": {
|
|
6589
7387
|
"json": {
|
|
@@ -6911,15 +7709,15 @@
|
|
|
6911
7709
|
"required": true
|
|
6912
7710
|
},
|
|
6913
7711
|
"face": {
|
|
6914
|
-
"description": "The face to compact,
|
|
7712
|
+
"description": "The face to compact, as @face (or @owner~face), with no model after it. Needed when the state takes any face; a state opened with one face compacts that face.",
|
|
6915
7713
|
"name": "face",
|
|
6916
7714
|
"required": false
|
|
6917
7715
|
}
|
|
6918
7716
|
},
|
|
6919
|
-
"description": "Compact a state:
|
|
7717
|
+
"description": "Compact a state: one face's position over the state, kept on the server under a compaction id. Pass that id with --compaction on a later request with the same face. A state that takes any face needs the face named. Billed on the tokens it reads and writes; on Connect and Pro it counts against the plan's allowance. A failed compaction is not charged. A compaction expires 30 days after it is written.",
|
|
6920
7718
|
"examples": [
|
|
6921
7719
|
"<%= config.bin %> <%= command.id %> fs_STATE_ID",
|
|
6922
|
-
"<%= config.bin %> <%= command.id %> fs_STATE_ID alice --json"
|
|
7720
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID @alice --json"
|
|
6923
7721
|
],
|
|
6924
7722
|
"flags": {
|
|
6925
7723
|
"json": {
|
|
@@ -6983,17 +7781,17 @@
|
|
|
6983
7781
|
"aliases": [],
|
|
6984
7782
|
"args": {
|
|
6985
7783
|
"face": {
|
|
6986
|
-
"description": "The face alone:
|
|
7784
|
+
"description": "The face alone: @alice, @owner~alice, or a composite such as \"(@a | @b)\". No maestro or model. Leave it out for a state that takes any of your faces.",
|
|
6987
7785
|
"name": "face",
|
|
6988
7786
|
"required": false
|
|
6989
7787
|
}
|
|
6990
7788
|
},
|
|
6991
|
-
"description": "Start a state (formerly a conversation). The server keeps the situation your agent builds: premises (named facts, each with a status and what it depends on), the decisions faces made, and your messages. Ask a face about it with faces choices --state-id, or pass its id with --conversation on
|
|
7789
|
+
"description": "Start a state (formerly a conversation). The server keeps the situation your agent builds: premises (named facts, each with a status and what it depends on), the decisions faces made, and your messages. Ask a face about it with faces choices --state-id, or pass its id with --conversation on chat or decide and send only what is new. Name a face and the state takes that face only; leave it out and it takes any of your faces. Opening one is free. A state expires 30 days after it was last used.",
|
|
6992
7790
|
"examples": [
|
|
6993
|
-
"<%= config.bin %> <%= command.id %> alice",
|
|
7791
|
+
"<%= config.bin %> <%= command.id %> @alice",
|
|
6994
7792
|
"<%= config.bin %> <%= command.id %>",
|
|
6995
7793
|
"<%= config.bin %> <%= command.id %> --no-causes-visible --json",
|
|
6996
|
-
"<%= config.bin %> <%= command.id %> alice --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\""
|
|
7794
|
+
"<%= config.bin %> <%= command.id %> @alice --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\""
|
|
6997
7795
|
],
|
|
6998
7796
|
"flags": {
|
|
6999
7797
|
"json": {
|
|
@@ -7663,7 +8461,7 @@
|
|
|
7663
8461
|
"required": true
|
|
7664
8462
|
}
|
|
7665
8463
|
},
|
|
7666
|
-
"description": "Load a corpus of a person's own writing (a mail export, a message archive) as source material for building a style. This only stores the material: nothing is compiled and nothing is billed. Build the style afterwards with style:make. Each message needs author (self, for the face, or other), sender, date (ISO-8601) and its text in plaintextBody, htmlBody or snippet; body and text are accepted for plaintextBody. The server lists every problem with a refused line, and the fields it accepts. Upload ONE medium per file: a file mixing, say, email and text messages produces threads with no medium at all, which no style can be built from. A message that declares its own `kind` must spell one of the
|
|
8464
|
+
"description": "Load a corpus of a person's own writing (a mail export, a message archive) as source material for building a style. This only stores the material: nothing is compiled and nothing is billed. Build the style afterwards with style:make. Each message needs author (self, for the face, or other), sender, date (ISO-8601) and its text in plaintextBody, htmlBody or snippet; body and text are accepted for plaintextBody. The server lists every problem with a refused line, and the fields it accepts. Upload ONE medium per file: a file mixing, say, email and text messages produces threads with no medium at all, which no style can be built from. A message that declares its own `kind` must spell one of the media in faces media:list exactly; an unknown one is refused, naming the message that carried it. The file is passed through as written, so this is the server answering.",
|
|
7667
8465
|
"examples": [
|
|
7668
8466
|
"<%= config.bin %> <%= command.id %> alice ./mail.jsonl",
|
|
7669
8467
|
"<%= config.bin %> <%= command.id %> alice ./thread.json --type thread_json",
|
|
@@ -8468,7 +9266,7 @@
|
|
|
8468
9266
|
"billing:subscription": {
|
|
8469
9267
|
"aliases": [],
|
|
8470
9268
|
"args": {},
|
|
8471
|
-
"description": "Show your plan (free, connect or pro), renewal date, and on a paid plan how much of each allowance is used:
|
|
9269
|
+
"description": "Show your plan (free, connect or pro), renewal date, and on a paid plan how much of each allowance is used: choices and steering over 5 hours, the week and the month, and compiling over the month",
|
|
8472
9270
|
"flags": {
|
|
8473
9271
|
"json": {
|
|
8474
9272
|
"description": "Format output as json.",
|
|
@@ -8687,7 +9485,7 @@
|
|
|
8687
9485
|
"type": "option"
|
|
8688
9486
|
},
|
|
8689
9487
|
"medium": {
|
|
8690
|
-
"description": "What sort of writing this is, spelled exactly
|
|
9488
|
+
"description": "What sort of writing this is, spelled exactly as faces media:list names it: email, essay, speech, journal entry, script and the rest (25 in all). A subcategory such as keynote is not a medium: send the medium it belongs to (speech). other is for writing that is none of the named forms, read as prose with no form-specific conventions assumed. A document is the face's own writing (an essay, letter, paper, book or poem), and every word in it is read as theirs. An interview, transcript or dialogue is a thread: upload it with faces compile:upload ALIAS --file FILE --kind thread --face-speaker NAME, so only the face's turns are used. A document cannot be saved without saying what it is, so this is required rather than optional. Here the spelling is held to exactly: case and surrounding spaces are forgiven and nothing else is, so an unknown word is refused naming every medium rather than being folded into a near match. Do not guess one: a wrong medium is not flagged afterwards. If none of the named forms fit, that is what other is for. If one of them does fit and you simply have not been told which, ask.",
|
|
8691
9489
|
"name": "medium",
|
|
8692
9490
|
"hasDynamicHelp": false,
|
|
8693
9491
|
"multiple": false,
|
|
@@ -8874,7 +9672,7 @@
|
|
|
8874
9672
|
"type": "option"
|
|
8875
9673
|
},
|
|
8876
9674
|
"medium": {
|
|
8877
|
-
"description": "What sort of writing this is, spelled exactly
|
|
9675
|
+
"description": "What sort of writing this is, spelled exactly as faces media:list names it: email, essay, speech, journal entry, script and the rest (25 in all). A subcategory such as keynote is not a medium: send the medium it belongs to (speech). other is for writing that is none of the named forms, read as prose with no form-specific conventions assumed. Omit it to leave the medium as it is.",
|
|
8878
9676
|
"name": "medium",
|
|
8879
9677
|
"hasDynamicHelp": false,
|
|
8880
9678
|
"multiple": false,
|
|
@@ -9064,7 +9862,7 @@
|
|
|
9064
9862
|
"type": "option"
|
|
9065
9863
|
},
|
|
9066
9864
|
"medium": {
|
|
9067
|
-
"description": "What sort of writing this is, spelled exactly
|
|
9865
|
+
"description": "What sort of writing this is, spelled exactly as faces media:list names it: email, essay, speech, journal entry, script and the rest (25 in all). A subcategory such as keynote is not a medium: send the medium it belongs to (speech). other is for writing that is none of the named forms, read as prose with no form-specific conventions assumed. A document is the face's own writing (an essay, letter, paper, book or poem), and every word in it is read as theirs. An interview, transcript or dialogue is a thread: upload it with faces compile:upload ALIAS --file FILE --kind thread --face-speaker NAME, so only the face's turns are used. A document cannot be saved without saying what it is, so this is required rather than optional. Here the spelling is held to exactly: case and surrounding spaces are forgiven and nothing else is, so an unknown word is refused naming every medium rather than being folded into a near match. Do not guess one: a wrong medium is not flagged afterwards. If none of the named forms fit, that is what other is for. If one of them does fit and you simply have not been told which, ask.",
|
|
9068
9866
|
"name": "medium",
|
|
9069
9867
|
"hasDynamicHelp": false,
|
|
9070
9868
|
"multiple": false,
|
|
@@ -9670,7 +10468,7 @@
|
|
|
9670
10468
|
"type": "option"
|
|
9671
10469
|
},
|
|
9672
10470
|
"medium": {
|
|
9673
|
-
"description": "What this thread should be read as. What sort of writing this is, spelled exactly
|
|
10471
|
+
"description": "What this thread should be read as. What sort of writing this is, spelled exactly as faces media:list names it: email, essay, speech, journal entry, script and the rest (25 in all). A subcategory such as keynote is not a medium: send the medium it belongs to (speech). other is for writing that is none of the named forms, read as prose with no form-specific conventions assumed. Omit it to leave the medium as it is. This is a correction that sticks: it overrides what an imported corpus arrived as, without changing the record of what that was.",
|
|
9674
10472
|
"exclusive": [
|
|
9675
10473
|
"clear-medium"
|
|
9676
10474
|
],
|
|
@@ -11361,5 +12159,5 @@
|
|
|
11361
12159
|
]
|
|
11362
12160
|
}
|
|
11363
12161
|
},
|
|
11364
|
-
"version": "1.
|
|
12162
|
+
"version": "1.2.0"
|
|
11365
12163
|
}
|