@faces-sh/cli 1.0.2 → 1.1.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 +71 -51
- package/dist/choices.d.ts +23 -0
- package/dist/choices.js +48 -0
- package/dist/commands/auth/connect.js +2 -2
- package/dist/commands/catalog/doctor.js +9 -68
- package/dist/commands/causes.d.ts +2 -0
- package/dist/commands/causes.js +2 -2
- package/dist/commands/{fidelity/run.d.ts → choices.d.ts} +9 -8
- package/dist/commands/choices.js +86 -0
- package/dist/commands/conversation/add.d.ts +2 -0
- package/dist/commands/conversation/add.js +21 -10
- package/dist/commands/conversation/close.js +5 -5
- package/dist/commands/conversation/compact.js +9 -9
- package/dist/commands/conversation/create.d.ts +2 -0
- package/dist/commands/conversation/create.js +14 -12
- package/dist/commands/conversation/get.js +4 -4
- package/dist/commands/conversation/items.js +19 -8
- package/dist/commands/decide.d.ts +3 -0
- package/dist/commands/decide.js +20 -3
- package/dist/commands/face/get.js +1 -1
- package/dist/commands/fidelity/pick.js +2 -2
- package/dist/commands/models/list.js +7 -3
- package/dist/commands/session/close.js +1 -1
- package/dist/commands/session/compact.js +2 -2
- package/dist/commands/session/create.js +2 -2
- package/dist/commands/session/get.js +1 -1
- package/dist/commands/state/add.d.ts +3 -0
- package/dist/commands/state/add.js +3 -0
- package/dist/commands/state/close.d.ts +3 -0
- package/dist/commands/state/close.js +3 -0
- package/dist/commands/state/compact.d.ts +3 -0
- package/dist/commands/state/compact.js +3 -0
- package/dist/commands/state/create.d.ts +3 -0
- package/dist/commands/state/create.js +3 -0
- package/dist/commands/state/get.d.ts +3 -0
- package/dist/commands/state/get.js +3 -0
- package/dist/commands/state/items.d.ts +3 -0
- package/dist/commands/state/items.js +3 -0
- package/dist/commands/style/make.js +2 -6
- package/dist/conversation.d.ts +27 -2
- package/dist/conversation.js +100 -16
- package/dist/fidelity.js +3 -3
- package/oclif.manifest.json +1100 -1493
- package/package.json +9 -9
- package/dist/commands/chat/chat.d.ts +0 -47
- package/dist/commands/chat/chat.js +0 -376
- package/dist/commands/chat/messages.d.ts +0 -30
- package/dist/commands/chat/messages.js +0 -148
- package/dist/commands/chat/responses.d.ts +0 -31
- package/dist/commands/chat/responses.js +0 -159
- package/dist/commands/chat/thread.d.ts +0 -50
- package/dist/commands/chat/thread.js +0 -472
- package/dist/commands/fidelity/run.js +0 -99
- package/dist/commands/fidelity/start.d.ts +0 -17
- package/dist/commands/fidelity/start.js +0 -56
- package/dist/commands/fidelity/turn.d.ts +0 -17
- package/dist/commands/fidelity/turn.js +0 -48
package/oclif.manifest.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"required": true
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
"description": "Get a face's cause alone, with no answering model: the principal why behind its response in this context (POST /v1/causes). Send a conversation with -m, or a situation with --state, optionally with questions for one cause per question. Billed at the cause rate only (see faces models:list --kind cause). A cause takes about 10 seconds.
|
|
12
|
+
"description": "Get a face's cause alone, with no answering model: the principal why behind its response in this context (POST /v1/causes). Send a conversation with -m, or a situation with --state, optionally with questions for one cause per question. Billed at the cause rate only (see faces models:list --kind cause). A cause takes about 10 seconds. For the options a face would weigh, use choices; for typed answers, decide.",
|
|
13
13
|
"examples": [
|
|
14
14
|
"<%= config.bin %> <%= command.id %> alice -m \"Should I take the offer?\"",
|
|
15
15
|
"<%= config.bin %> <%= command.id %> alice --state \"A fund offers $80k to change a finding before it is published.\"",
|
|
@@ -180,14 +180,14 @@
|
|
|
180
180
|
"type": "option"
|
|
181
181
|
},
|
|
182
182
|
"conversation": {
|
|
183
|
-
"description": "Add this turn to a
|
|
183
|
+
"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.",
|
|
184
184
|
"name": "conversation",
|
|
185
185
|
"hasDynamicHelp": false,
|
|
186
186
|
"multiple": false,
|
|
187
187
|
"type": "option"
|
|
188
188
|
},
|
|
189
189
|
"premise": {
|
|
190
|
-
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the
|
|
190
|
+
"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.",
|
|
191
191
|
"name": "premise",
|
|
192
192
|
"hasDynamicHelp": false,
|
|
193
193
|
"multiple": true,
|
|
@@ -197,14 +197,34 @@
|
|
|
197
197
|
"dependsOn": [
|
|
198
198
|
"premise"
|
|
199
199
|
],
|
|
200
|
-
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a
|
|
200
|
+
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a state, and kept after that.",
|
|
201
201
|
"name": "premise-description",
|
|
202
202
|
"hasDynamicHelp": false,
|
|
203
203
|
"multiple": true,
|
|
204
204
|
"type": "option"
|
|
205
205
|
},
|
|
206
|
+
"premise-status": {
|
|
207
|
+
"dependsOn": [
|
|
208
|
+
"premise"
|
|
209
|
+
],
|
|
210
|
+
"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.",
|
|
211
|
+
"name": "premise-status",
|
|
212
|
+
"hasDynamicHelp": false,
|
|
213
|
+
"multiple": true,
|
|
214
|
+
"type": "option"
|
|
215
|
+
},
|
|
216
|
+
"premise-depends-on": {
|
|
217
|
+
"dependsOn": [
|
|
218
|
+
"premise"
|
|
219
|
+
],
|
|
220
|
+
"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.",
|
|
221
|
+
"name": "premise-depends-on",
|
|
222
|
+
"hasDynamicHelp": false,
|
|
223
|
+
"multiple": true,
|
|
224
|
+
"type": "option"
|
|
225
|
+
},
|
|
206
226
|
"causes-visible": {
|
|
207
|
-
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the
|
|
227
|
+
"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.",
|
|
208
228
|
"name": "causes-visible",
|
|
209
229
|
"allowNo": true,
|
|
210
230
|
"type": "boolean"
|
|
@@ -239,6 +259,133 @@
|
|
|
239
259
|
"causes.js"
|
|
240
260
|
]
|
|
241
261
|
},
|
|
262
|
+
"choices": {
|
|
263
|
+
"aliases": [],
|
|
264
|
+
"args": {
|
|
265
|
+
"face": {
|
|
266
|
+
"description": "The face: an alias, owner:alias for a face shared with you or a system face, or a composite such as \"(a | b)\". A leading @ is optional.",
|
|
267
|
+
"name": "face",
|
|
268
|
+
"required": true
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"description": "Ask a face what it would do (POST /v1/choices). 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 choices). Takes about 10 to 30 seconds.",
|
|
272
|
+
"examples": [
|
|
273
|
+
"<%= config.bin %> <%= command.id %> alice --state \"A startup offers me a lead role at a lower salary.\" --question \"Should I take the offer?\"",
|
|
274
|
+
"<%= config.bin %> <%= command.id %> head:socrates --state \"A chain bakery opened across the street.\"",
|
|
275
|
+
"<%= config.bin %> <%= command.id %> alice --state-id fs_STATE_ID --question \"What should the shop do?\" --max-choices 3",
|
|
276
|
+
"<%= config.bin %> <%= command.id %> \"(alice | bob)\" --state-file situation.txt -q \"What next?\" --model maestro-1-flash --json"
|
|
277
|
+
],
|
|
278
|
+
"flags": {
|
|
279
|
+
"json": {
|
|
280
|
+
"description": "Format output as json.",
|
|
281
|
+
"helpGroup": "GLOBAL",
|
|
282
|
+
"name": "json",
|
|
283
|
+
"allowNo": false,
|
|
284
|
+
"type": "boolean"
|
|
285
|
+
},
|
|
286
|
+
"base-url": {
|
|
287
|
+
"description": "API base URL",
|
|
288
|
+
"env": "FACES_BASE_URL",
|
|
289
|
+
"name": "base-url",
|
|
290
|
+
"hasDynamicHelp": false,
|
|
291
|
+
"multiple": false,
|
|
292
|
+
"type": "option"
|
|
293
|
+
},
|
|
294
|
+
"token": {
|
|
295
|
+
"description": "JWT bearer token",
|
|
296
|
+
"env": "FACES_TOKEN",
|
|
297
|
+
"name": "token",
|
|
298
|
+
"hasDynamicHelp": false,
|
|
299
|
+
"multiple": false,
|
|
300
|
+
"type": "option"
|
|
301
|
+
},
|
|
302
|
+
"api-key": {
|
|
303
|
+
"description": "API key",
|
|
304
|
+
"env": "FACES_API_KEY",
|
|
305
|
+
"name": "api-key",
|
|
306
|
+
"hasDynamicHelp": false,
|
|
307
|
+
"multiple": false,
|
|
308
|
+
"type": "option"
|
|
309
|
+
},
|
|
310
|
+
"toon": {
|
|
311
|
+
"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.",
|
|
312
|
+
"exclusive": [
|
|
313
|
+
"json"
|
|
314
|
+
],
|
|
315
|
+
"name": "toon",
|
|
316
|
+
"allowNo": false,
|
|
317
|
+
"type": "boolean"
|
|
318
|
+
},
|
|
319
|
+
"question": {
|
|
320
|
+
"char": "q",
|
|
321
|
+
"description": "The question. Leave it out to have the face propose the question it would ask.",
|
|
322
|
+
"name": "question",
|
|
323
|
+
"hasDynamicHelp": false,
|
|
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"
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"hasDynamicHelp": false,
|
|
375
|
+
"hiddenAliases": [],
|
|
376
|
+
"id": "choices",
|
|
377
|
+
"pluginAlias": "@faces-sh/cli",
|
|
378
|
+
"pluginName": "@faces-sh/cli",
|
|
379
|
+
"pluginType": "core",
|
|
380
|
+
"strict": true,
|
|
381
|
+
"enableJsonFlag": true,
|
|
382
|
+
"isESM": true,
|
|
383
|
+
"relativePath": [
|
|
384
|
+
"dist",
|
|
385
|
+
"commands",
|
|
386
|
+
"choices.js"
|
|
387
|
+
]
|
|
388
|
+
},
|
|
242
389
|
"decide": {
|
|
243
390
|
"aliases": [],
|
|
244
391
|
"args": {
|
|
@@ -247,7 +394,7 @@
|
|
|
247
394
|
"name": "face"
|
|
248
395
|
}
|
|
249
396
|
},
|
|
250
|
-
"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).
|
|
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.",
|
|
251
398
|
"examples": [
|
|
252
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\"",
|
|
253
400
|
"<%= config.bin %> <%= command.id %> alice --state-file situation.txt --question \"Is the speaker irritated?\"",
|
|
@@ -409,7 +556,7 @@
|
|
|
409
556
|
"type": "boolean"
|
|
410
557
|
},
|
|
411
558
|
"conversation": {
|
|
412
|
-
"description": "Add this turn to a
|
|
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.",
|
|
413
560
|
"exclusive": [
|
|
414
561
|
"baseline"
|
|
415
562
|
],
|
|
@@ -419,7 +566,7 @@
|
|
|
419
566
|
"type": "option"
|
|
420
567
|
},
|
|
421
568
|
"premise": {
|
|
422
|
-
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the
|
|
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.",
|
|
423
570
|
"exclusive": [
|
|
424
571
|
"baseline"
|
|
425
572
|
],
|
|
@@ -432,7 +579,7 @@
|
|
|
432
579
|
"dependsOn": [
|
|
433
580
|
"premise"
|
|
434
581
|
],
|
|
435
|
-
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a
|
|
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.",
|
|
436
583
|
"exclusive": [
|
|
437
584
|
"baseline"
|
|
438
585
|
],
|
|
@@ -441,8 +588,34 @@
|
|
|
441
588
|
"multiple": true,
|
|
442
589
|
"type": "option"
|
|
443
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
|
+
},
|
|
444
617
|
"causes-visible": {
|
|
445
|
-
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the
|
|
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.",
|
|
446
619
|
"exclusive": [
|
|
447
620
|
"baseline"
|
|
448
621
|
],
|
|
@@ -450,6 +623,16 @@
|
|
|
450
623
|
"allowNo": true,
|
|
451
624
|
"type": "boolean"
|
|
452
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
|
+
},
|
|
453
636
|
"session": {
|
|
454
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.",
|
|
455
638
|
"exclusive": [
|
|
@@ -664,7 +847,7 @@
|
|
|
664
847
|
"required": true
|
|
665
848
|
}
|
|
666
849
|
},
|
|
667
|
-
"description": "Link your ChatGPT account by device-code authorization (Connect and Pro).
|
|
850
|
+
"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.",
|
|
668
851
|
"examples": [
|
|
669
852
|
"<%= config.bin %> auth:connect openai",
|
|
670
853
|
"<%= config.bin %> auth:connect openai --json"
|
|
@@ -2011,7 +2194,7 @@
|
|
|
2011
2194
|
"catalog:doctor": {
|
|
2012
2195
|
"aliases": [],
|
|
2013
2196
|
"args": {},
|
|
2014
|
-
"description": "Diagnose and repair the local face and group catalog.
|
|
2197
|
+
"description": "Diagnose and repair the local face and group catalog.",
|
|
2015
2198
|
"flags": {
|
|
2016
2199
|
"json": {
|
|
2017
2200
|
"description": "Format output as json.",
|
|
@@ -2060,13 +2243,15 @@
|
|
|
2060
2243
|
"type": "boolean"
|
|
2061
2244
|
},
|
|
2062
2245
|
"generate": {
|
|
2063
|
-
"description": "
|
|
2246
|
+
"description": "Retired: descriptions were written by chatting with each face, and chat is retired. Write one with faces face:edit <alias> --description.",
|
|
2247
|
+
"hidden": true,
|
|
2064
2248
|
"name": "generate",
|
|
2065
2249
|
"allowNo": false,
|
|
2066
2250
|
"type": "boolean"
|
|
2067
2251
|
},
|
|
2068
2252
|
"allow-paid": {
|
|
2069
|
-
"description": "
|
|
2253
|
+
"description": "Retired with --generate.",
|
|
2254
|
+
"hidden": true,
|
|
2070
2255
|
"name": "allow-paid",
|
|
2071
2256
|
"allowNo": false,
|
|
2072
2257
|
"type": "boolean"
|
|
@@ -2223,27 +2408,10 @@
|
|
|
2223
2408
|
"restore.js"
|
|
2224
2409
|
]
|
|
2225
2410
|
},
|
|
2226
|
-
"
|
|
2411
|
+
"compile:all": {
|
|
2227
2412
|
"aliases": [],
|
|
2228
|
-
"args": {
|
|
2229
|
-
|
|
2230
|
-
"description": "Face alias (alias@model, owner:alias@model for a published face, or a composite formula like \"(a | b)@model\"). Omit when using --formula.",
|
|
2231
|
-
"name": "face_username",
|
|
2232
|
-
"required": false
|
|
2233
|
-
}
|
|
2234
|
-
},
|
|
2235
|
-
"description": "Chat with a face on any supported model. The face's cause steers the model's answer. Routes to the right endpoint from the model catalog. A face named without a model answers on its default model. --show-cause also prints the cause, and --cause-only asks for the cause alone, with no answer. Add --style <medium> to apply a style the face has built, --conversation to take the turn in a conversation (see faces conversation:create), and --compaction to read a compaction.",
|
|
2236
|
-
"examples": [
|
|
2237
|
-
"<%= config.bin %> <%= command.id %> socrates -m \"What is virtue?\"",
|
|
2238
|
-
"<%= config.bin %> <%= command.id %> alice -m \"Reply to the note below.\" --style email",
|
|
2239
|
-
"<%= config.bin %> <%= command.id %> socrates -m \"Should I sign a grant I have not read?\" --show-cause",
|
|
2240
|
-
"<%= config.bin %> <%= command.id %> socrates -m \"Should I sign a grant I have not read?\" --cause-only",
|
|
2241
|
-
"<%= config.bin %> <%= command.id %> socrates -m \"Can you just sign it?\" --cause \"I will not sign what I have not read.\"",
|
|
2242
|
-
"<%= config.bin %> <%= command.id %> alice -m \"So what do I tell them tomorrow?\" --conversation fs_CONVERSATION_ID",
|
|
2243
|
-
"<%= config.bin %> <%= command.id %> alice -m \"Is this vendor worth a closer look?\" --conversation fs_CONVERSATION_ID --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\"",
|
|
2244
|
-
"<%= config.bin %> <%= command.id %> \"(socrates | nietzsche)@claude-sonnet-4-6\" -m \"What is virtue?\"",
|
|
2245
|
-
"<%= config.bin %> <%= command.id %> --formula \"socrates | nietzsche\" --llm claude-sonnet-4-6 -m \"What is virtue?\""
|
|
2246
|
-
],
|
|
2413
|
+
"args": {},
|
|
2414
|
+
"description": "Compile all uncompiled documents and threads across all faces. A compile with a scheduled start is left to start on its own, and listed with its start time; --rush starts them all now.",
|
|
2247
2415
|
"flags": {
|
|
2248
2416
|
"json": {
|
|
2249
2417
|
"description": "Format output as json.",
|
|
@@ -2285,967 +2453,123 @@
|
|
|
2285
2453
|
"allowNo": false,
|
|
2286
2454
|
"type": "boolean"
|
|
2287
2455
|
},
|
|
2288
|
-
"
|
|
2289
|
-
"
|
|
2290
|
-
"
|
|
2291
|
-
"
|
|
2292
|
-
"required": false,
|
|
2456
|
+
"timeout": {
|
|
2457
|
+
"description": "Per-item compile timeout in seconds",
|
|
2458
|
+
"name": "timeout",
|
|
2459
|
+
"default": 600,
|
|
2293
2460
|
"hasDynamicHelp": false,
|
|
2294
|
-
"multiple":
|
|
2461
|
+
"multiple": false,
|
|
2295
2462
|
"type": "option"
|
|
2296
2463
|
},
|
|
2297
|
-
"
|
|
2298
|
-
"description": "
|
|
2299
|
-
"name": "
|
|
2464
|
+
"rush": {
|
|
2465
|
+
"description": "Start the compile now, at the rush rate, rather than at its scheduled start. faces compile:stats shows both rates. A rush covered by a plan's compile allowance pays only the difference, from credit. Where a compile starts at once anyway, this changes nothing and costs nothing extra.",
|
|
2466
|
+
"name": "rush",
|
|
2467
|
+
"allowNo": false,
|
|
2468
|
+
"type": "boolean"
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2471
|
+
"hasDynamicHelp": false,
|
|
2472
|
+
"hiddenAliases": [],
|
|
2473
|
+
"id": "compile:all",
|
|
2474
|
+
"pluginAlias": "@faces-sh/cli",
|
|
2475
|
+
"pluginName": "@faces-sh/cli",
|
|
2476
|
+
"pluginType": "core",
|
|
2477
|
+
"strict": true,
|
|
2478
|
+
"enableJsonFlag": true,
|
|
2479
|
+
"isESM": true,
|
|
2480
|
+
"relativePath": [
|
|
2481
|
+
"dist",
|
|
2482
|
+
"commands",
|
|
2483
|
+
"compile",
|
|
2484
|
+
"all.js"
|
|
2485
|
+
]
|
|
2486
|
+
},
|
|
2487
|
+
"compile:import": {
|
|
2488
|
+
"aliases": [],
|
|
2489
|
+
"args": {
|
|
2490
|
+
"face_id": {
|
|
2491
|
+
"description": "Face alias",
|
|
2492
|
+
"name": "face_id",
|
|
2493
|
+
"required": true
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
"description": "Import a YouTube video into a face via server-side download and transcription",
|
|
2497
|
+
"flags": {
|
|
2498
|
+
"json": {
|
|
2499
|
+
"description": "Format output as json.",
|
|
2500
|
+
"helpGroup": "GLOBAL",
|
|
2501
|
+
"name": "json",
|
|
2502
|
+
"allowNo": false,
|
|
2503
|
+
"type": "boolean"
|
|
2504
|
+
},
|
|
2505
|
+
"base-url": {
|
|
2506
|
+
"description": "API base URL",
|
|
2507
|
+
"env": "FACES_BASE_URL",
|
|
2508
|
+
"name": "base-url",
|
|
2300
2509
|
"hasDynamicHelp": false,
|
|
2301
2510
|
"multiple": false,
|
|
2302
2511
|
"type": "option"
|
|
2303
2512
|
},
|
|
2304
|
-
"
|
|
2305
|
-
"description": "
|
|
2306
|
-
"
|
|
2513
|
+
"token": {
|
|
2514
|
+
"description": "JWT bearer token",
|
|
2515
|
+
"env": "FACES_TOKEN",
|
|
2516
|
+
"name": "token",
|
|
2307
2517
|
"hasDynamicHelp": false,
|
|
2308
2518
|
"multiple": false,
|
|
2309
2519
|
"type": "option"
|
|
2310
2520
|
},
|
|
2311
|
-
"
|
|
2312
|
-
"description": "
|
|
2313
|
-
"
|
|
2521
|
+
"api-key": {
|
|
2522
|
+
"description": "API key",
|
|
2523
|
+
"env": "FACES_API_KEY",
|
|
2524
|
+
"name": "api-key",
|
|
2314
2525
|
"hasDynamicHelp": false,
|
|
2315
2526
|
"multiple": false,
|
|
2316
2527
|
"type": "option"
|
|
2317
2528
|
},
|
|
2318
|
-
"
|
|
2319
|
-
"description": "
|
|
2320
|
-
"
|
|
2321
|
-
|
|
2529
|
+
"toon": {
|
|
2530
|
+
"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.",
|
|
2531
|
+
"exclusive": [
|
|
2532
|
+
"json"
|
|
2533
|
+
],
|
|
2534
|
+
"name": "toon",
|
|
2535
|
+
"allowNo": false,
|
|
2322
2536
|
"type": "boolean"
|
|
2323
2537
|
},
|
|
2324
|
-
"
|
|
2325
|
-
"description": "
|
|
2326
|
-
"name": "
|
|
2538
|
+
"url": {
|
|
2539
|
+
"description": "YouTube URL (youtube.com/watch?v=... or youtu.be/...)",
|
|
2540
|
+
"name": "url",
|
|
2541
|
+
"required": true,
|
|
2327
2542
|
"hasDynamicHelp": false,
|
|
2328
2543
|
"multiple": false,
|
|
2329
2544
|
"type": "option"
|
|
2330
2545
|
},
|
|
2331
|
-
"
|
|
2332
|
-
"description": "
|
|
2333
|
-
"name": "
|
|
2546
|
+
"type": {
|
|
2547
|
+
"description": "\"document\" for the face speaking alone (a talk, a lecture, a monologue); \"thread\" for an interview or any recording with more than one speaker, so only the face's turns are used. A recording with other speakers imported as a document is read as entirely the face's words.",
|
|
2548
|
+
"name": "type",
|
|
2549
|
+
"default": "document",
|
|
2334
2550
|
"hasDynamicHelp": false,
|
|
2335
2551
|
"multiple": false,
|
|
2552
|
+
"options": [
|
|
2553
|
+
"document",
|
|
2554
|
+
"thread"
|
|
2555
|
+
],
|
|
2336
2556
|
"type": "option"
|
|
2337
2557
|
},
|
|
2338
|
-
"
|
|
2339
|
-
"description": "
|
|
2340
|
-
"name": "
|
|
2558
|
+
"perspective": {
|
|
2559
|
+
"description": "\"first-person\" if the face is the speaker; \"third-person\" if the video is about the face",
|
|
2560
|
+
"name": "perspective",
|
|
2561
|
+
"default": "third-person",
|
|
2341
2562
|
"hasDynamicHelp": false,
|
|
2342
2563
|
"multiple": false,
|
|
2564
|
+
"options": [
|
|
2565
|
+
"first-person",
|
|
2566
|
+
"third-person"
|
|
2567
|
+
],
|
|
2343
2568
|
"type": "option"
|
|
2344
2569
|
},
|
|
2345
|
-
"
|
|
2346
|
-
"description": "
|
|
2347
|
-
"name": "
|
|
2348
|
-
"allowNo": false,
|
|
2349
|
-
"type": "boolean"
|
|
2350
|
-
},
|
|
2351
|
-
"style": {
|
|
2352
|
-
"description": "Apply the style the face has built for this medium, one of: email, text message, social post, essay, academic paper, blog post, legal document, thread reply, conversation, lecture, other. Leave it out and no built style is applied. A face with no style in that medium is refused, naming the ones it has (see them with faces face:get). Needs a single face and a model. Adds roughly 2,000 to 3,500 input tokens per request. Sets --medium too. Chat commands only: causes and decide do not use a style.",
|
|
2353
|
-
"name": "style",
|
|
2354
|
-
"hasDynamicHelp": false,
|
|
2355
|
-
"multiple": false,
|
|
2356
|
-
"type": "option"
|
|
2357
|
-
},
|
|
2358
|
-
"medium": {
|
|
2359
|
-
"description": "What the reply is, so it is shaped for it: email, text message, social post, essay, academic paper, blog post, legal document, thread reply, conversation, lecture, other. Needs no built style. Leave it out and the medium is inferred from your message. With --style, leave it out or give the same medium.",
|
|
2360
|
-
"name": "medium",
|
|
2361
|
-
"hasDynamicHelp": false,
|
|
2362
|
-
"multiple": false,
|
|
2363
|
-
"type": "option"
|
|
2364
|
-
},
|
|
2365
|
-
"conversation": {
|
|
2366
|
-
"description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
|
|
2367
|
-
"name": "conversation",
|
|
2368
|
-
"hasDynamicHelp": false,
|
|
2369
|
-
"multiple": false,
|
|
2370
|
-
"type": "option"
|
|
2371
|
-
},
|
|
2372
|
-
"premise": {
|
|
2373
|
-
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
|
|
2374
|
-
"name": "premise",
|
|
2375
|
-
"hasDynamicHelp": false,
|
|
2376
|
-
"multiple": true,
|
|
2377
|
-
"type": "option"
|
|
2378
|
-
},
|
|
2379
|
-
"premise-description": {
|
|
2380
|
-
"dependsOn": [
|
|
2381
|
-
"premise"
|
|
2382
|
-
],
|
|
2383
|
-
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
|
|
2384
|
-
"name": "premise-description",
|
|
2385
|
-
"hasDynamicHelp": false,
|
|
2386
|
-
"multiple": true,
|
|
2387
|
-
"type": "option"
|
|
2388
|
-
},
|
|
2389
|
-
"causes-visible": {
|
|
2390
|
-
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
|
|
2391
|
-
"name": "causes-visible",
|
|
2392
|
-
"allowNo": true,
|
|
2393
|
-
"type": "boolean"
|
|
2394
|
-
},
|
|
2395
|
-
"session": {
|
|
2396
|
-
"description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
|
|
2397
|
-
"name": "session",
|
|
2398
|
-
"hasDynamicHelp": false,
|
|
2399
|
-
"multiple": false,
|
|
2400
|
-
"type": "option"
|
|
2401
|
-
},
|
|
2402
|
-
"compaction": {
|
|
2403
|
-
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
2404
|
-
"name": "compaction",
|
|
2405
|
-
"hasDynamicHelp": false,
|
|
2406
|
-
"multiple": false,
|
|
2407
|
-
"type": "option"
|
|
2408
|
-
},
|
|
2409
|
-
"oauth-only": {
|
|
2410
|
-
"description": "On a linked ChatGPT plan, run there or fail: never fall back to credits",
|
|
2411
|
-
"name": "oauth-only",
|
|
2412
|
-
"allowNo": false,
|
|
2413
|
-
"type": "boolean"
|
|
2414
|
-
},
|
|
2415
|
-
"show-cause": {
|
|
2416
|
-
"description": "Also show the face's cause: the principal why behind its response in this context. Printed to stderr ahead of the reply, so the reply alone still goes to stdout.",
|
|
2417
|
-
"name": "show-cause",
|
|
2418
|
-
"allowNo": false,
|
|
2419
|
-
"type": "boolean"
|
|
2420
|
-
},
|
|
2421
|
-
"cause": {
|
|
2422
|
-
"description": "Supply this turn's cause yourself, at most 30,000 tokens. The model answers on it in place of the face's own, and no cause is charged. Needs a model named (alias@model). It comes back where a cause normally does.",
|
|
2423
|
-
"name": "cause",
|
|
2424
|
-
"hasDynamicHelp": false,
|
|
2425
|
-
"multiple": false,
|
|
2426
|
-
"type": "option"
|
|
2427
|
-
},
|
|
2428
|
-
"cause-file": {
|
|
2429
|
-
"description": "Read --cause from a file.",
|
|
2430
|
-
"exclusive": [
|
|
2431
|
-
"cause"
|
|
2432
|
-
],
|
|
2433
|
-
"name": "cause-file",
|
|
2434
|
-
"hasDynamicHelp": false,
|
|
2435
|
-
"multiple": false,
|
|
2436
|
-
"type": "option"
|
|
2437
|
-
},
|
|
2438
|
-
"cause-only": {
|
|
2439
|
-
"description": "Ask for the face's cause alone, with no answer: no model is called, and only the cause is charged. Printed to stdout.",
|
|
2440
|
-
"exclusive": [
|
|
2441
|
-
"llm",
|
|
2442
|
-
"style",
|
|
2443
|
-
"medium",
|
|
2444
|
-
"show-cause",
|
|
2445
|
-
"cause",
|
|
2446
|
-
"cause-file"
|
|
2447
|
-
],
|
|
2448
|
-
"name": "cause-only",
|
|
2449
|
-
"allowNo": false,
|
|
2450
|
-
"type": "boolean"
|
|
2451
|
-
}
|
|
2452
|
-
},
|
|
2453
|
-
"hasDynamicHelp": false,
|
|
2454
|
-
"hiddenAliases": [],
|
|
2455
|
-
"id": "chat:chat",
|
|
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
|
-
"chat.js"
|
|
2467
|
-
]
|
|
2468
|
-
},
|
|
2469
|
-
"chat:messages": {
|
|
2470
|
-
"aliases": [],
|
|
2471
|
-
"args": {
|
|
2472
|
-
"face_model": {
|
|
2473
|
-
"description": "Face model, sent as typed (e.g. myface@claude-sonnet-4-6, head:socrates@claude-sonnet-4-6). A face named without a model returns only its cause, with no answer: name the model for one, or use chat:chat, which adds the face's default model.",
|
|
2474
|
-
"name": "face_model",
|
|
2475
|
-
"required": true
|
|
2476
|
-
}
|
|
2477
|
-
},
|
|
2478
|
-
"description": "Chat with a face in the Anthropic Messages format (/v1/messages). chat:chat routes Anthropic models here on its own.",
|
|
2479
|
-
"flags": {
|
|
2480
|
-
"json": {
|
|
2481
|
-
"description": "Format output as json.",
|
|
2482
|
-
"helpGroup": "GLOBAL",
|
|
2483
|
-
"name": "json",
|
|
2484
|
-
"allowNo": false,
|
|
2485
|
-
"type": "boolean"
|
|
2486
|
-
},
|
|
2487
|
-
"base-url": {
|
|
2488
|
-
"description": "API base URL",
|
|
2489
|
-
"env": "FACES_BASE_URL",
|
|
2490
|
-
"name": "base-url",
|
|
2491
|
-
"hasDynamicHelp": false,
|
|
2492
|
-
"multiple": false,
|
|
2493
|
-
"type": "option"
|
|
2494
|
-
},
|
|
2495
|
-
"token": {
|
|
2496
|
-
"description": "JWT bearer token",
|
|
2497
|
-
"env": "FACES_TOKEN",
|
|
2498
|
-
"name": "token",
|
|
2499
|
-
"hasDynamicHelp": false,
|
|
2500
|
-
"multiple": false,
|
|
2501
|
-
"type": "option"
|
|
2502
|
-
},
|
|
2503
|
-
"api-key": {
|
|
2504
|
-
"description": "API key",
|
|
2505
|
-
"env": "FACES_API_KEY",
|
|
2506
|
-
"name": "api-key",
|
|
2507
|
-
"hasDynamicHelp": false,
|
|
2508
|
-
"multiple": false,
|
|
2509
|
-
"type": "option"
|
|
2510
|
-
},
|
|
2511
|
-
"toon": {
|
|
2512
|
-
"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.",
|
|
2513
|
-
"exclusive": [
|
|
2514
|
-
"json"
|
|
2515
|
-
],
|
|
2516
|
-
"name": "toon",
|
|
2517
|
-
"allowNo": false,
|
|
2518
|
-
"type": "boolean"
|
|
2519
|
-
},
|
|
2520
|
-
"message": {
|
|
2521
|
-
"char": "m",
|
|
2522
|
-
"description": "User message (repeatable)",
|
|
2523
|
-
"name": "message",
|
|
2524
|
-
"required": true,
|
|
2525
|
-
"hasDynamicHelp": false,
|
|
2526
|
-
"multiple": true,
|
|
2527
|
-
"type": "option"
|
|
2528
|
-
},
|
|
2529
|
-
"system": {
|
|
2530
|
-
"description": "System prompt",
|
|
2531
|
-
"name": "system",
|
|
2532
|
-
"hasDynamicHelp": false,
|
|
2533
|
-
"multiple": false,
|
|
2534
|
-
"type": "option"
|
|
2535
|
-
},
|
|
2536
|
-
"stream": {
|
|
2537
|
-
"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.",
|
|
2538
|
-
"name": "stream",
|
|
2539
|
-
"allowNo": true,
|
|
2540
|
-
"type": "boolean"
|
|
2541
|
-
},
|
|
2542
|
-
"max-tokens": {
|
|
2543
|
-
"description": "Max tokens (at least 1)",
|
|
2544
|
-
"name": "max-tokens",
|
|
2545
|
-
"default": 1024,
|
|
2546
|
-
"hasDynamicHelp": false,
|
|
2547
|
-
"multiple": false,
|
|
2548
|
-
"type": "option"
|
|
2549
|
-
},
|
|
2550
|
-
"style": {
|
|
2551
|
-
"description": "Apply the style the face has built for this medium, one of: email, text message, social post, essay, academic paper, blog post, legal document, thread reply, conversation, lecture, other. Leave it out and no built style is applied. A face with no style in that medium is refused, naming the ones it has (see them with faces face:get). Needs a single face and a model. Adds roughly 2,000 to 3,500 input tokens per request. Sets --medium too. Chat commands only: causes and decide do not use a style.",
|
|
2552
|
-
"name": "style",
|
|
2553
|
-
"hasDynamicHelp": false,
|
|
2554
|
-
"multiple": false,
|
|
2555
|
-
"type": "option"
|
|
2556
|
-
},
|
|
2557
|
-
"medium": {
|
|
2558
|
-
"description": "What the reply is, so it is shaped for it: email, text message, social post, essay, academic paper, blog post, legal document, thread reply, conversation, lecture, other. Needs no built style. Leave it out and the medium is inferred from your message. With --style, leave it out or give the same medium.",
|
|
2559
|
-
"name": "medium",
|
|
2560
|
-
"hasDynamicHelp": false,
|
|
2561
|
-
"multiple": false,
|
|
2562
|
-
"type": "option"
|
|
2563
|
-
},
|
|
2564
|
-
"conversation": {
|
|
2565
|
-
"description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
|
|
2566
|
-
"name": "conversation",
|
|
2567
|
-
"hasDynamicHelp": false,
|
|
2568
|
-
"multiple": false,
|
|
2569
|
-
"type": "option"
|
|
2570
|
-
},
|
|
2571
|
-
"premise": {
|
|
2572
|
-
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
|
|
2573
|
-
"name": "premise",
|
|
2574
|
-
"hasDynamicHelp": false,
|
|
2575
|
-
"multiple": true,
|
|
2576
|
-
"type": "option"
|
|
2577
|
-
},
|
|
2578
|
-
"premise-description": {
|
|
2579
|
-
"dependsOn": [
|
|
2580
|
-
"premise"
|
|
2581
|
-
],
|
|
2582
|
-
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
|
|
2583
|
-
"name": "premise-description",
|
|
2584
|
-
"hasDynamicHelp": false,
|
|
2585
|
-
"multiple": true,
|
|
2586
|
-
"type": "option"
|
|
2587
|
-
},
|
|
2588
|
-
"causes-visible": {
|
|
2589
|
-
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
|
|
2590
|
-
"name": "causes-visible",
|
|
2591
|
-
"allowNo": true,
|
|
2592
|
-
"type": "boolean"
|
|
2593
|
-
},
|
|
2594
|
-
"session": {
|
|
2595
|
-
"description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
|
|
2596
|
-
"name": "session",
|
|
2597
|
-
"hasDynamicHelp": false,
|
|
2598
|
-
"multiple": false,
|
|
2599
|
-
"type": "option"
|
|
2600
|
-
},
|
|
2601
|
-
"compaction": {
|
|
2602
|
-
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
2603
|
-
"name": "compaction",
|
|
2604
|
-
"hasDynamicHelp": false,
|
|
2605
|
-
"multiple": false,
|
|
2606
|
-
"type": "option"
|
|
2607
|
-
},
|
|
2608
|
-
"oauth-only": {
|
|
2609
|
-
"description": "On a linked ChatGPT plan, run there or fail: never fall back to credits",
|
|
2610
|
-
"name": "oauth-only",
|
|
2611
|
-
"allowNo": false,
|
|
2612
|
-
"type": "boolean"
|
|
2613
|
-
},
|
|
2614
|
-
"show-cause": {
|
|
2615
|
-
"description": "Also show the face's cause: the principal why behind its response in this context. Printed to stderr ahead of the reply, so the reply alone still goes to stdout.",
|
|
2616
|
-
"name": "show-cause",
|
|
2617
|
-
"allowNo": false,
|
|
2618
|
-
"type": "boolean"
|
|
2619
|
-
},
|
|
2620
|
-
"cause": {
|
|
2621
|
-
"description": "Supply this turn's cause yourself, at most 30,000 tokens. The model answers on it in place of the face's own, and no cause is charged. Needs a model named (alias@model). It comes back where a cause normally does.",
|
|
2622
|
-
"name": "cause",
|
|
2623
|
-
"hasDynamicHelp": false,
|
|
2624
|
-
"multiple": false,
|
|
2625
|
-
"type": "option"
|
|
2626
|
-
},
|
|
2627
|
-
"cause-file": {
|
|
2628
|
-
"description": "Read --cause from a file.",
|
|
2629
|
-
"exclusive": [
|
|
2630
|
-
"cause"
|
|
2631
|
-
],
|
|
2632
|
-
"name": "cause-file",
|
|
2633
|
-
"hasDynamicHelp": false,
|
|
2634
|
-
"multiple": false,
|
|
2635
|
-
"type": "option"
|
|
2636
|
-
}
|
|
2637
|
-
},
|
|
2638
|
-
"hasDynamicHelp": false,
|
|
2639
|
-
"hiddenAliases": [],
|
|
2640
|
-
"id": "chat:messages",
|
|
2641
|
-
"pluginAlias": "@faces-sh/cli",
|
|
2642
|
-
"pluginName": "@faces-sh/cli",
|
|
2643
|
-
"pluginType": "core",
|
|
2644
|
-
"strict": true,
|
|
2645
|
-
"enableJsonFlag": true,
|
|
2646
|
-
"isESM": true,
|
|
2647
|
-
"relativePath": [
|
|
2648
|
-
"dist",
|
|
2649
|
-
"commands",
|
|
2650
|
-
"chat",
|
|
2651
|
-
"messages.js"
|
|
2652
|
-
]
|
|
2653
|
-
},
|
|
2654
|
-
"chat:responses": {
|
|
2655
|
-
"aliases": [],
|
|
2656
|
-
"args": {
|
|
2657
|
-
"face_model": {
|
|
2658
|
-
"description": "Face model, sent as typed (e.g. myface@gpt-4o, head:socrates@gpt-5.4). A face named without a model returns only its cause, with no answer: name the model for one, or use chat:chat, which adds the face's default model.",
|
|
2659
|
-
"name": "face_model",
|
|
2660
|
-
"required": true
|
|
2661
|
-
}
|
|
2662
|
-
},
|
|
2663
|
-
"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 (see faces models:list --chatgpt) run on the ChatGPT plan.",
|
|
2664
|
-
"flags": {
|
|
2665
|
-
"json": {
|
|
2666
|
-
"description": "Format output as json.",
|
|
2667
|
-
"helpGroup": "GLOBAL",
|
|
2668
|
-
"name": "json",
|
|
2669
|
-
"allowNo": false,
|
|
2670
|
-
"type": "boolean"
|
|
2671
|
-
},
|
|
2672
|
-
"base-url": {
|
|
2673
|
-
"description": "API base URL",
|
|
2674
|
-
"env": "FACES_BASE_URL",
|
|
2675
|
-
"name": "base-url",
|
|
2676
|
-
"hasDynamicHelp": false,
|
|
2677
|
-
"multiple": false,
|
|
2678
|
-
"type": "option"
|
|
2679
|
-
},
|
|
2680
|
-
"token": {
|
|
2681
|
-
"description": "JWT bearer token",
|
|
2682
|
-
"env": "FACES_TOKEN",
|
|
2683
|
-
"name": "token",
|
|
2684
|
-
"hasDynamicHelp": false,
|
|
2685
|
-
"multiple": false,
|
|
2686
|
-
"type": "option"
|
|
2687
|
-
},
|
|
2688
|
-
"api-key": {
|
|
2689
|
-
"description": "API key",
|
|
2690
|
-
"env": "FACES_API_KEY",
|
|
2691
|
-
"name": "api-key",
|
|
2692
|
-
"hasDynamicHelp": false,
|
|
2693
|
-
"multiple": false,
|
|
2694
|
-
"type": "option"
|
|
2695
|
-
},
|
|
2696
|
-
"toon": {
|
|
2697
|
-
"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.",
|
|
2698
|
-
"exclusive": [
|
|
2699
|
-
"json"
|
|
2700
|
-
],
|
|
2701
|
-
"name": "toon",
|
|
2702
|
-
"allowNo": false,
|
|
2703
|
-
"type": "boolean"
|
|
2704
|
-
},
|
|
2705
|
-
"message": {
|
|
2706
|
-
"char": "m",
|
|
2707
|
-
"description": "User input message",
|
|
2708
|
-
"name": "message",
|
|
2709
|
-
"required": true,
|
|
2710
|
-
"hasDynamicHelp": false,
|
|
2711
|
-
"multiple": false,
|
|
2712
|
-
"type": "option"
|
|
2713
|
-
},
|
|
2714
|
-
"instructions": {
|
|
2715
|
-
"description": "System instructions",
|
|
2716
|
-
"name": "instructions",
|
|
2717
|
-
"hasDynamicHelp": false,
|
|
2718
|
-
"multiple": false,
|
|
2719
|
-
"type": "option"
|
|
2720
|
-
},
|
|
2721
|
-
"max-tokens": {
|
|
2722
|
-
"description": "Max output tokens (at least 16)",
|
|
2723
|
-
"name": "max-tokens",
|
|
2724
|
-
"hasDynamicHelp": false,
|
|
2725
|
-
"multiple": false,
|
|
2726
|
-
"type": "option"
|
|
2727
|
-
},
|
|
2728
|
-
"temperature": {
|
|
2729
|
-
"description": "Temperature (0.0-2.0)",
|
|
2730
|
-
"name": "temperature",
|
|
2731
|
-
"hasDynamicHelp": false,
|
|
2732
|
-
"multiple": false,
|
|
2733
|
-
"type": "option"
|
|
2734
|
-
},
|
|
2735
|
-
"stream": {
|
|
2736
|
-
"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.",
|
|
2737
|
-
"name": "stream",
|
|
2738
|
-
"allowNo": true,
|
|
2739
|
-
"type": "boolean"
|
|
2740
|
-
},
|
|
2741
|
-
"style": {
|
|
2742
|
-
"description": "Apply the style the face has built for this medium, one of: email, text message, social post, essay, academic paper, blog post, legal document, thread reply, conversation, lecture, other. Leave it out and no built style is applied. A face with no style in that medium is refused, naming the ones it has (see them with faces face:get). Needs a single face and a model. Adds roughly 2,000 to 3,500 input tokens per request. Sets --medium too. Chat commands only: causes and decide do not use a style.",
|
|
2743
|
-
"name": "style",
|
|
2744
|
-
"hasDynamicHelp": false,
|
|
2745
|
-
"multiple": false,
|
|
2746
|
-
"type": "option"
|
|
2747
|
-
},
|
|
2748
|
-
"medium": {
|
|
2749
|
-
"description": "What the reply is, so it is shaped for it: email, text message, social post, essay, academic paper, blog post, legal document, thread reply, conversation, lecture, other. Needs no built style. Leave it out and the medium is inferred from your message. With --style, leave it out or give the same medium.",
|
|
2750
|
-
"name": "medium",
|
|
2751
|
-
"hasDynamicHelp": false,
|
|
2752
|
-
"multiple": false,
|
|
2753
|
-
"type": "option"
|
|
2754
|
-
},
|
|
2755
|
-
"conversation": {
|
|
2756
|
-
"description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
|
|
2757
|
-
"name": "conversation",
|
|
2758
|
-
"hasDynamicHelp": false,
|
|
2759
|
-
"multiple": false,
|
|
2760
|
-
"type": "option"
|
|
2761
|
-
},
|
|
2762
|
-
"premise": {
|
|
2763
|
-
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
|
|
2764
|
-
"name": "premise",
|
|
2765
|
-
"hasDynamicHelp": false,
|
|
2766
|
-
"multiple": true,
|
|
2767
|
-
"type": "option"
|
|
2768
|
-
},
|
|
2769
|
-
"premise-description": {
|
|
2770
|
-
"dependsOn": [
|
|
2771
|
-
"premise"
|
|
2772
|
-
],
|
|
2773
|
-
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
|
|
2774
|
-
"name": "premise-description",
|
|
2775
|
-
"hasDynamicHelp": false,
|
|
2776
|
-
"multiple": true,
|
|
2777
|
-
"type": "option"
|
|
2778
|
-
},
|
|
2779
|
-
"causes-visible": {
|
|
2780
|
-
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
|
|
2781
|
-
"name": "causes-visible",
|
|
2782
|
-
"allowNo": true,
|
|
2783
|
-
"type": "boolean"
|
|
2784
|
-
},
|
|
2785
|
-
"session": {
|
|
2786
|
-
"description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
|
|
2787
|
-
"name": "session",
|
|
2788
|
-
"hasDynamicHelp": false,
|
|
2789
|
-
"multiple": false,
|
|
2790
|
-
"type": "option"
|
|
2791
|
-
},
|
|
2792
|
-
"compaction": {
|
|
2793
|
-
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
2794
|
-
"name": "compaction",
|
|
2795
|
-
"hasDynamicHelp": false,
|
|
2796
|
-
"multiple": false,
|
|
2797
|
-
"type": "option"
|
|
2798
|
-
},
|
|
2799
|
-
"oauth-only": {
|
|
2800
|
-
"description": "On a linked ChatGPT plan, run there or fail: never fall back to credits",
|
|
2801
|
-
"name": "oauth-only",
|
|
2802
|
-
"allowNo": false,
|
|
2803
|
-
"type": "boolean"
|
|
2804
|
-
},
|
|
2805
|
-
"show-cause": {
|
|
2806
|
-
"description": "Also show the face's cause: the principal why behind its response in this context. Printed to stderr ahead of the reply, so the reply alone still goes to stdout.",
|
|
2807
|
-
"name": "show-cause",
|
|
2808
|
-
"allowNo": false,
|
|
2809
|
-
"type": "boolean"
|
|
2810
|
-
},
|
|
2811
|
-
"cause": {
|
|
2812
|
-
"description": "Supply this turn's cause yourself, at most 30,000 tokens. The model answers on it in place of the face's own, and no cause is charged. Needs a model named (alias@model). It comes back where a cause normally does.",
|
|
2813
|
-
"name": "cause",
|
|
2814
|
-
"hasDynamicHelp": false,
|
|
2815
|
-
"multiple": false,
|
|
2816
|
-
"type": "option"
|
|
2817
|
-
},
|
|
2818
|
-
"cause-file": {
|
|
2819
|
-
"description": "Read --cause from a file.",
|
|
2820
|
-
"exclusive": [
|
|
2821
|
-
"cause"
|
|
2822
|
-
],
|
|
2823
|
-
"name": "cause-file",
|
|
2824
|
-
"hasDynamicHelp": false,
|
|
2825
|
-
"multiple": false,
|
|
2826
|
-
"type": "option"
|
|
2827
|
-
}
|
|
2828
|
-
},
|
|
2829
|
-
"hasDynamicHelp": false,
|
|
2830
|
-
"hiddenAliases": [],
|
|
2831
|
-
"id": "chat:responses",
|
|
2832
|
-
"pluginAlias": "@faces-sh/cli",
|
|
2833
|
-
"pluginName": "@faces-sh/cli",
|
|
2834
|
-
"pluginType": "core",
|
|
2835
|
-
"strict": true,
|
|
2836
|
-
"enableJsonFlag": true,
|
|
2837
|
-
"isESM": true,
|
|
2838
|
-
"relativePath": [
|
|
2839
|
-
"dist",
|
|
2840
|
-
"commands",
|
|
2841
|
-
"chat",
|
|
2842
|
-
"responses.js"
|
|
2843
|
-
]
|
|
2844
|
-
},
|
|
2845
|
-
"chat:thread": {
|
|
2846
|
-
"aliases": [],
|
|
2847
|
-
"args": {
|
|
2848
|
-
"face_username": {
|
|
2849
|
-
"description": "Face alias (alias@model, or owner:alias@model for a published face). Required when starting a new thread",
|
|
2850
|
-
"name": "face_username",
|
|
2851
|
-
"required": false
|
|
2852
|
-
}
|
|
2853
|
-
},
|
|
2854
|
-
"description": "Multi-turn chat thread. Conversation history is stored under ~/.faces/threads/<id>.json. Resume any thread later with --id. A face named without a model answers on its default model, which is fixed on the thread when it starts. Each turn keeps the face's cause and sends it back with the transcript.",
|
|
2855
|
-
"examples": [
|
|
2856
|
-
"<%= config.bin %> <%= command.id %> socrates -m \"What is justice?\"",
|
|
2857
|
-
"<%= config.bin %> <%= command.id %> --id t_abc123 -m \"Say more about that\"",
|
|
2858
|
-
"<%= config.bin %> <%= command.id %> --list",
|
|
2859
|
-
"<%= config.bin %> <%= command.id %> --id t_abc123 --show",
|
|
2860
|
-
"<%= config.bin %> <%= command.id %> --id t_abc123 --delete"
|
|
2861
|
-
],
|
|
2862
|
-
"flags": {
|
|
2863
|
-
"json": {
|
|
2864
|
-
"description": "Format output as json.",
|
|
2865
|
-
"helpGroup": "GLOBAL",
|
|
2866
|
-
"name": "json",
|
|
2867
|
-
"allowNo": false,
|
|
2868
|
-
"type": "boolean"
|
|
2869
|
-
},
|
|
2870
|
-
"base-url": {
|
|
2871
|
-
"description": "API base URL",
|
|
2872
|
-
"env": "FACES_BASE_URL",
|
|
2873
|
-
"name": "base-url",
|
|
2874
|
-
"hasDynamicHelp": false,
|
|
2875
|
-
"multiple": false,
|
|
2876
|
-
"type": "option"
|
|
2877
|
-
},
|
|
2878
|
-
"token": {
|
|
2879
|
-
"description": "JWT bearer token",
|
|
2880
|
-
"env": "FACES_TOKEN",
|
|
2881
|
-
"name": "token",
|
|
2882
|
-
"hasDynamicHelp": false,
|
|
2883
|
-
"multiple": false,
|
|
2884
|
-
"type": "option"
|
|
2885
|
-
},
|
|
2886
|
-
"api-key": {
|
|
2887
|
-
"description": "API key",
|
|
2888
|
-
"env": "FACES_API_KEY",
|
|
2889
|
-
"name": "api-key",
|
|
2890
|
-
"hasDynamicHelp": false,
|
|
2891
|
-
"multiple": false,
|
|
2892
|
-
"type": "option"
|
|
2893
|
-
},
|
|
2894
|
-
"toon": {
|
|
2895
|
-
"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.",
|
|
2896
|
-
"exclusive": [
|
|
2897
|
-
"json"
|
|
2898
|
-
],
|
|
2899
|
-
"name": "toon",
|
|
2900
|
-
"allowNo": false,
|
|
2901
|
-
"type": "boolean"
|
|
2902
|
-
},
|
|
2903
|
-
"id": {
|
|
2904
|
-
"description": "Resume an existing thread by id",
|
|
2905
|
-
"name": "id",
|
|
2906
|
-
"hasDynamicHelp": false,
|
|
2907
|
-
"multiple": false,
|
|
2908
|
-
"type": "option"
|
|
2909
|
-
},
|
|
2910
|
-
"message": {
|
|
2911
|
-
"char": "m",
|
|
2912
|
-
"description": "User message",
|
|
2913
|
-
"name": "message",
|
|
2914
|
-
"hasDynamicHelp": false,
|
|
2915
|
-
"multiple": false,
|
|
2916
|
-
"type": "option"
|
|
2917
|
-
},
|
|
2918
|
-
"file": {
|
|
2919
|
-
"description": "Read message from file",
|
|
2920
|
-
"name": "file",
|
|
2921
|
-
"hasDynamicHelp": false,
|
|
2922
|
-
"multiple": false,
|
|
2923
|
-
"type": "option"
|
|
2924
|
-
},
|
|
2925
|
-
"llm": {
|
|
2926
|
-
"description": "LLM override (only honored when starting a new thread)",
|
|
2927
|
-
"name": "llm",
|
|
2928
|
-
"hasDynamicHelp": false,
|
|
2929
|
-
"multiple": false,
|
|
2930
|
-
"type": "option"
|
|
2931
|
-
},
|
|
2932
|
-
"system": {
|
|
2933
|
-
"description": "System prompt (only honored when starting a new thread)",
|
|
2934
|
-
"name": "system",
|
|
2935
|
-
"hasDynamicHelp": false,
|
|
2936
|
-
"multiple": false,
|
|
2937
|
-
"type": "option"
|
|
2938
|
-
},
|
|
2939
|
-
"max-tokens": {
|
|
2940
|
-
"description": "Max tokens (at least 1)",
|
|
2941
|
-
"name": "max-tokens",
|
|
2942
|
-
"hasDynamicHelp": false,
|
|
2943
|
-
"multiple": false,
|
|
2944
|
-
"type": "option"
|
|
2945
|
-
},
|
|
2946
|
-
"temperature": {
|
|
2947
|
-
"description": "Temperature (0.0-2.0)",
|
|
2948
|
-
"name": "temperature",
|
|
2949
|
-
"hasDynamicHelp": false,
|
|
2950
|
-
"multiple": false,
|
|
2951
|
-
"type": "option"
|
|
2952
|
-
},
|
|
2953
|
-
"stream": {
|
|
2954
|
-
"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.",
|
|
2955
|
-
"name": "stream",
|
|
2956
|
-
"allowNo": true,
|
|
2957
|
-
"type": "boolean"
|
|
2958
|
-
},
|
|
2959
|
-
"style": {
|
|
2960
|
-
"description": "Apply the style the face has built for this medium, one of: email, text message, social post, essay, academic paper, blog post, legal document, thread reply, conversation, lecture, other. Leave it out and no built style is applied. A face with no style in that medium is refused, naming the ones it has (see them with faces face:get). Needs a single face and a model. Adds roughly 2,000 to 3,500 input tokens per request. Sets --medium too. Chat commands only: causes and decide do not use a style. For this turn only.",
|
|
2961
|
-
"name": "style",
|
|
2962
|
-
"hasDynamicHelp": false,
|
|
2963
|
-
"multiple": false,
|
|
2964
|
-
"type": "option"
|
|
2965
|
-
},
|
|
2966
|
-
"medium": {
|
|
2967
|
-
"description": "What the reply is, so it is shaped for it: email, text message, social post, essay, academic paper, blog post, legal document, thread reply, conversation, lecture, other. Needs no built style. Leave it out and the medium is inferred from your message. With --style, leave it out or give the same medium. For this turn only.",
|
|
2968
|
-
"name": "medium",
|
|
2969
|
-
"hasDynamicHelp": false,
|
|
2970
|
-
"multiple": false,
|
|
2971
|
-
"type": "option"
|
|
2972
|
-
},
|
|
2973
|
-
"conversation": {
|
|
2974
|
-
"description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face. For this turn only. Only the new message is sent: the conversation holds the rest.",
|
|
2975
|
-
"name": "conversation",
|
|
2976
|
-
"hasDynamicHelp": false,
|
|
2977
|
-
"multiple": false,
|
|
2978
|
-
"type": "option"
|
|
2979
|
-
},
|
|
2980
|
-
"premise": {
|
|
2981
|
-
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation. For this turn only. Only the new message is sent: the conversation holds the rest.",
|
|
2982
|
-
"name": "premise",
|
|
2983
|
-
"hasDynamicHelp": false,
|
|
2984
|
-
"multiple": true,
|
|
2985
|
-
"type": "option"
|
|
2986
|
-
},
|
|
2987
|
-
"premise-description": {
|
|
2988
|
-
"dependsOn": [
|
|
2989
|
-
"premise"
|
|
2990
|
-
],
|
|
2991
|
-
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that. For this turn only. Only the new message is sent: the conversation holds the rest.",
|
|
2992
|
-
"name": "premise-description",
|
|
2993
|
-
"hasDynamicHelp": false,
|
|
2994
|
-
"multiple": true,
|
|
2995
|
-
"type": "option"
|
|
2996
|
-
},
|
|
2997
|
-
"causes-visible": {
|
|
2998
|
-
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation. For this turn only. Only the new message is sent: the conversation holds the rest.",
|
|
2999
|
-
"name": "causes-visible",
|
|
3000
|
-
"allowNo": true,
|
|
3001
|
-
"type": "boolean"
|
|
3002
|
-
},
|
|
3003
|
-
"session": {
|
|
3004
|
-
"description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face. For this turn only.",
|
|
3005
|
-
"name": "session",
|
|
3006
|
-
"hasDynamicHelp": false,
|
|
3007
|
-
"multiple": false,
|
|
3008
|
-
"type": "option"
|
|
3009
|
-
},
|
|
3010
|
-
"compaction": {
|
|
3011
|
-
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face. For this turn only.",
|
|
3012
|
-
"name": "compaction",
|
|
3013
|
-
"hasDynamicHelp": false,
|
|
3014
|
-
"multiple": false,
|
|
3015
|
-
"type": "option"
|
|
3016
|
-
},
|
|
3017
|
-
"oauth-only": {
|
|
3018
|
-
"description": "On a linked ChatGPT plan, run there or fail: never fall back to credits",
|
|
3019
|
-
"name": "oauth-only",
|
|
3020
|
-
"allowNo": false,
|
|
3021
|
-
"type": "boolean"
|
|
3022
|
-
},
|
|
3023
|
-
"show-cause": {
|
|
3024
|
-
"description": "Also show the face's cause: the principal why behind its response in this context. Printed to stderr ahead of the reply, so the reply alone still goes to stdout.",
|
|
3025
|
-
"name": "show-cause",
|
|
3026
|
-
"allowNo": false,
|
|
3027
|
-
"type": "boolean"
|
|
3028
|
-
},
|
|
3029
|
-
"cause": {
|
|
3030
|
-
"description": "Supply this turn's cause yourself, at most 30,000 tokens. The model answers on it in place of the face's own, and no cause is charged. Needs a model named (alias@model). It comes back where a cause normally does. For this turn only; it is kept on the thread like any.",
|
|
3031
|
-
"name": "cause",
|
|
3032
|
-
"hasDynamicHelp": false,
|
|
3033
|
-
"multiple": false,
|
|
3034
|
-
"type": "option"
|
|
3035
|
-
},
|
|
3036
|
-
"cause-file": {
|
|
3037
|
-
"description": "Read --cause from a file.",
|
|
3038
|
-
"exclusive": [
|
|
3039
|
-
"cause"
|
|
3040
|
-
],
|
|
3041
|
-
"name": "cause-file",
|
|
3042
|
-
"hasDynamicHelp": false,
|
|
3043
|
-
"multiple": false,
|
|
3044
|
-
"type": "option"
|
|
3045
|
-
},
|
|
3046
|
-
"list": {
|
|
3047
|
-
"description": "List saved threads",
|
|
3048
|
-
"name": "list",
|
|
3049
|
-
"allowNo": false,
|
|
3050
|
-
"type": "boolean"
|
|
3051
|
-
},
|
|
3052
|
-
"show": {
|
|
3053
|
-
"description": "Show the thread transcript (requires --id)",
|
|
3054
|
-
"name": "show",
|
|
3055
|
-
"allowNo": false,
|
|
3056
|
-
"type": "boolean"
|
|
3057
|
-
},
|
|
3058
|
-
"delete": {
|
|
3059
|
-
"description": "Delete the thread (requires --id)",
|
|
3060
|
-
"name": "delete",
|
|
3061
|
-
"allowNo": false,
|
|
3062
|
-
"type": "boolean"
|
|
3063
|
-
},
|
|
3064
|
-
"yes": {
|
|
3065
|
-
"description": "Skip confirmation for --delete",
|
|
3066
|
-
"name": "yes",
|
|
3067
|
-
"allowNo": false,
|
|
3068
|
-
"type": "boolean"
|
|
3069
|
-
}
|
|
3070
|
-
},
|
|
3071
|
-
"hasDynamicHelp": false,
|
|
3072
|
-
"hiddenAliases": [],
|
|
3073
|
-
"id": "chat:thread",
|
|
3074
|
-
"pluginAlias": "@faces-sh/cli",
|
|
3075
|
-
"pluginName": "@faces-sh/cli",
|
|
3076
|
-
"pluginType": "core",
|
|
3077
|
-
"strict": true,
|
|
3078
|
-
"enableJsonFlag": true,
|
|
3079
|
-
"isESM": true,
|
|
3080
|
-
"relativePath": [
|
|
3081
|
-
"dist",
|
|
3082
|
-
"commands",
|
|
3083
|
-
"chat",
|
|
3084
|
-
"thread.js"
|
|
3085
|
-
]
|
|
3086
|
-
},
|
|
3087
|
-
"compile:all": {
|
|
3088
|
-
"aliases": [],
|
|
3089
|
-
"args": {},
|
|
3090
|
-
"description": "Compile all uncompiled documents and threads across all faces. A compile with a scheduled start is left to start on its own, and listed with its start time; --rush starts them all now.",
|
|
3091
|
-
"flags": {
|
|
3092
|
-
"json": {
|
|
3093
|
-
"description": "Format output as json.",
|
|
3094
|
-
"helpGroup": "GLOBAL",
|
|
3095
|
-
"name": "json",
|
|
3096
|
-
"allowNo": false,
|
|
3097
|
-
"type": "boolean"
|
|
3098
|
-
},
|
|
3099
|
-
"base-url": {
|
|
3100
|
-
"description": "API base URL",
|
|
3101
|
-
"env": "FACES_BASE_URL",
|
|
3102
|
-
"name": "base-url",
|
|
3103
|
-
"hasDynamicHelp": false,
|
|
3104
|
-
"multiple": false,
|
|
3105
|
-
"type": "option"
|
|
3106
|
-
},
|
|
3107
|
-
"token": {
|
|
3108
|
-
"description": "JWT bearer token",
|
|
3109
|
-
"env": "FACES_TOKEN",
|
|
3110
|
-
"name": "token",
|
|
3111
|
-
"hasDynamicHelp": false,
|
|
3112
|
-
"multiple": false,
|
|
3113
|
-
"type": "option"
|
|
3114
|
-
},
|
|
3115
|
-
"api-key": {
|
|
3116
|
-
"description": "API key",
|
|
3117
|
-
"env": "FACES_API_KEY",
|
|
3118
|
-
"name": "api-key",
|
|
3119
|
-
"hasDynamicHelp": false,
|
|
3120
|
-
"multiple": false,
|
|
3121
|
-
"type": "option"
|
|
3122
|
-
},
|
|
3123
|
-
"toon": {
|
|
3124
|
-
"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.",
|
|
3125
|
-
"exclusive": [
|
|
3126
|
-
"json"
|
|
3127
|
-
],
|
|
3128
|
-
"name": "toon",
|
|
3129
|
-
"allowNo": false,
|
|
3130
|
-
"type": "boolean"
|
|
3131
|
-
},
|
|
3132
|
-
"timeout": {
|
|
3133
|
-
"description": "Per-item compile timeout in seconds",
|
|
3134
|
-
"name": "timeout",
|
|
3135
|
-
"default": 600,
|
|
3136
|
-
"hasDynamicHelp": false,
|
|
3137
|
-
"multiple": false,
|
|
3138
|
-
"type": "option"
|
|
3139
|
-
},
|
|
3140
|
-
"rush": {
|
|
3141
|
-
"description": "Start the compile now, at the rush rate, rather than at its scheduled start. faces compile:stats shows both rates. A rush covered by a plan's compile allowance pays only the difference, from credit. Where a compile starts at once anyway, this changes nothing and costs nothing extra.",
|
|
3142
|
-
"name": "rush",
|
|
3143
|
-
"allowNo": false,
|
|
3144
|
-
"type": "boolean"
|
|
3145
|
-
}
|
|
3146
|
-
},
|
|
3147
|
-
"hasDynamicHelp": false,
|
|
3148
|
-
"hiddenAliases": [],
|
|
3149
|
-
"id": "compile:all",
|
|
3150
|
-
"pluginAlias": "@faces-sh/cli",
|
|
3151
|
-
"pluginName": "@faces-sh/cli",
|
|
3152
|
-
"pluginType": "core",
|
|
3153
|
-
"strict": true,
|
|
3154
|
-
"enableJsonFlag": true,
|
|
3155
|
-
"isESM": true,
|
|
3156
|
-
"relativePath": [
|
|
3157
|
-
"dist",
|
|
3158
|
-
"commands",
|
|
3159
|
-
"compile",
|
|
3160
|
-
"all.js"
|
|
3161
|
-
]
|
|
3162
|
-
},
|
|
3163
|
-
"compile:import": {
|
|
3164
|
-
"aliases": [],
|
|
3165
|
-
"args": {
|
|
3166
|
-
"face_id": {
|
|
3167
|
-
"description": "Face alias",
|
|
3168
|
-
"name": "face_id",
|
|
3169
|
-
"required": true
|
|
3170
|
-
}
|
|
3171
|
-
},
|
|
3172
|
-
"description": "Import a YouTube video into a face via server-side download and transcription",
|
|
3173
|
-
"flags": {
|
|
3174
|
-
"json": {
|
|
3175
|
-
"description": "Format output as json.",
|
|
3176
|
-
"helpGroup": "GLOBAL",
|
|
3177
|
-
"name": "json",
|
|
3178
|
-
"allowNo": false,
|
|
3179
|
-
"type": "boolean"
|
|
3180
|
-
},
|
|
3181
|
-
"base-url": {
|
|
3182
|
-
"description": "API base URL",
|
|
3183
|
-
"env": "FACES_BASE_URL",
|
|
3184
|
-
"name": "base-url",
|
|
3185
|
-
"hasDynamicHelp": false,
|
|
3186
|
-
"multiple": false,
|
|
3187
|
-
"type": "option"
|
|
3188
|
-
},
|
|
3189
|
-
"token": {
|
|
3190
|
-
"description": "JWT bearer token",
|
|
3191
|
-
"env": "FACES_TOKEN",
|
|
3192
|
-
"name": "token",
|
|
3193
|
-
"hasDynamicHelp": false,
|
|
3194
|
-
"multiple": false,
|
|
3195
|
-
"type": "option"
|
|
3196
|
-
},
|
|
3197
|
-
"api-key": {
|
|
3198
|
-
"description": "API key",
|
|
3199
|
-
"env": "FACES_API_KEY",
|
|
3200
|
-
"name": "api-key",
|
|
3201
|
-
"hasDynamicHelp": false,
|
|
3202
|
-
"multiple": false,
|
|
3203
|
-
"type": "option"
|
|
3204
|
-
},
|
|
3205
|
-
"toon": {
|
|
3206
|
-
"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.",
|
|
3207
|
-
"exclusive": [
|
|
3208
|
-
"json"
|
|
3209
|
-
],
|
|
3210
|
-
"name": "toon",
|
|
3211
|
-
"allowNo": false,
|
|
3212
|
-
"type": "boolean"
|
|
3213
|
-
},
|
|
3214
|
-
"url": {
|
|
3215
|
-
"description": "YouTube URL (youtube.com/watch?v=... or youtu.be/...)",
|
|
3216
|
-
"name": "url",
|
|
3217
|
-
"required": true,
|
|
3218
|
-
"hasDynamicHelp": false,
|
|
3219
|
-
"multiple": false,
|
|
3220
|
-
"type": "option"
|
|
3221
|
-
},
|
|
3222
|
-
"type": {
|
|
3223
|
-
"description": "\"document\" for the face speaking alone (a talk, a lecture, a monologue); \"thread\" for an interview or any recording with more than one speaker, so only the face's turns are used. A recording with other speakers imported as a document is read as entirely the face's words.",
|
|
3224
|
-
"name": "type",
|
|
3225
|
-
"default": "document",
|
|
3226
|
-
"hasDynamicHelp": false,
|
|
3227
|
-
"multiple": false,
|
|
3228
|
-
"options": [
|
|
3229
|
-
"document",
|
|
3230
|
-
"thread"
|
|
3231
|
-
],
|
|
3232
|
-
"type": "option"
|
|
3233
|
-
},
|
|
3234
|
-
"perspective": {
|
|
3235
|
-
"description": "\"first-person\" if the face is the speaker; \"third-person\" if the video is about the face",
|
|
3236
|
-
"name": "perspective",
|
|
3237
|
-
"default": "third-person",
|
|
3238
|
-
"hasDynamicHelp": false,
|
|
3239
|
-
"multiple": false,
|
|
3240
|
-
"options": [
|
|
3241
|
-
"first-person",
|
|
3242
|
-
"third-person"
|
|
3243
|
-
],
|
|
3244
|
-
"type": "option"
|
|
3245
|
-
},
|
|
3246
|
-
"medium": {
|
|
3247
|
-
"description": "What sort of writing this is, spelled exactly: email, text message, social post, essay, academic paper, blog post, legal document, thread reply, conversation, lecture, other. Reach for lecture for sustained speech nobody interrupts (a talk, a sermon, a keynote), and other for writing that is none of the named forms, read as prose with no form-specific conventions assumed. Those descriptions are not accepted inputs: send the value itself. 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 all eleven 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.",
|
|
3248
|
-
"name": "medium",
|
|
2570
|
+
"medium": {
|
|
2571
|
+
"description": "What sort of writing this is, spelled exactly: email, text message, social post, essay, academic paper, blog post, legal document, thread reply, conversation, lecture, other. Reach for lecture for sustained speech nobody interrupts (a talk, a sermon, a keynote), and other for writing that is none of the named forms, read as prose with no form-specific conventions assumed. Those descriptions are not accepted inputs: send the value itself. 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 all eleven 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
|
+
"name": "medium",
|
|
3249
2573
|
"hasDynamicHelp": false,
|
|
3250
2574
|
"multiple": false,
|
|
3251
2575
|
"type": "option"
|
|
@@ -3547,10 +2871,23 @@
|
|
|
3547
2871
|
"upload.js"
|
|
3548
2872
|
]
|
|
3549
2873
|
},
|
|
3550
|
-
"
|
|
2874
|
+
"conversation:add": {
|
|
3551
2875
|
"aliases": [],
|
|
3552
|
-
"args": {
|
|
3553
|
-
|
|
2876
|
+
"args": {
|
|
2877
|
+
"conversation_id": {
|
|
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
|
+
],
|
|
3554
2891
|
"flags": {
|
|
3555
2892
|
"json": {
|
|
3556
2893
|
"description": "Format output as json.",
|
|
@@ -3592,16 +2929,46 @@
|
|
|
3592
2929
|
"allowNo": false,
|
|
3593
2930
|
"type": "boolean"
|
|
3594
2931
|
},
|
|
3595
|
-
"
|
|
3596
|
-
"
|
|
3597
|
-
"
|
|
3598
|
-
"
|
|
3599
|
-
"
|
|
2932
|
+
"message": {
|
|
2933
|
+
"char": "m",
|
|
2934
|
+
"description": "A message of yours (repeatable, kept in order).",
|
|
2935
|
+
"name": "message",
|
|
2936
|
+
"hasDynamicHelp": false,
|
|
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"
|
|
3600
2967
|
}
|
|
3601
2968
|
},
|
|
3602
2969
|
"hasDynamicHelp": false,
|
|
3603
2970
|
"hiddenAliases": [],
|
|
3604
|
-
"id": "
|
|
2971
|
+
"id": "conversation:add",
|
|
3605
2972
|
"pluginAlias": "@faces-sh/cli",
|
|
3606
2973
|
"pluginName": "@faces-sh/cli",
|
|
3607
2974
|
"pluginType": "core",
|
|
@@ -3611,25 +2978,23 @@
|
|
|
3611
2978
|
"relativePath": [
|
|
3612
2979
|
"dist",
|
|
3613
2980
|
"commands",
|
|
3614
|
-
"
|
|
3615
|
-
"
|
|
2981
|
+
"conversation",
|
|
2982
|
+
"add.js"
|
|
3616
2983
|
]
|
|
3617
2984
|
},
|
|
3618
|
-
"
|
|
2985
|
+
"conversation:close": {
|
|
3619
2986
|
"aliases": [],
|
|
3620
2987
|
"args": {
|
|
3621
|
-
"
|
|
3622
|
-
"description": "
|
|
3623
|
-
"name": "
|
|
3624
|
-
"required": true
|
|
3625
|
-
},
|
|
3626
|
-
"value": {
|
|
3627
|
-
"description": "Config value",
|
|
3628
|
-
"name": "value",
|
|
2988
|
+
"conversation_id": {
|
|
2989
|
+
"description": "State id (from state:create)",
|
|
2990
|
+
"name": "conversation_id",
|
|
3629
2991
|
"required": true
|
|
3630
2992
|
}
|
|
3631
2993
|
},
|
|
3632
|
-
"description": "
|
|
2994
|
+
"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.",
|
|
2995
|
+
"examples": [
|
|
2996
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --yes"
|
|
2997
|
+
],
|
|
3633
2998
|
"flags": {
|
|
3634
2999
|
"json": {
|
|
3635
3000
|
"description": "Format output as json.",
|
|
@@ -3670,11 +3035,17 @@
|
|
|
3670
3035
|
"name": "toon",
|
|
3671
3036
|
"allowNo": false,
|
|
3672
3037
|
"type": "boolean"
|
|
3038
|
+
},
|
|
3039
|
+
"yes": {
|
|
3040
|
+
"description": "Skip confirmation",
|
|
3041
|
+
"name": "yes",
|
|
3042
|
+
"allowNo": false,
|
|
3043
|
+
"type": "boolean"
|
|
3673
3044
|
}
|
|
3674
3045
|
},
|
|
3675
3046
|
"hasDynamicHelp": false,
|
|
3676
3047
|
"hiddenAliases": [],
|
|
3677
|
-
"id": "
|
|
3048
|
+
"id": "conversation:close",
|
|
3678
3049
|
"pluginAlias": "@faces-sh/cli",
|
|
3679
3050
|
"pluginName": "@faces-sh/cli",
|
|
3680
3051
|
"pluginType": "core",
|
|
@@ -3684,14 +3055,29 @@
|
|
|
3684
3055
|
"relativePath": [
|
|
3685
3056
|
"dist",
|
|
3686
3057
|
"commands",
|
|
3687
|
-
"
|
|
3688
|
-
"
|
|
3058
|
+
"conversation",
|
|
3059
|
+
"close.js"
|
|
3689
3060
|
]
|
|
3690
3061
|
},
|
|
3691
|
-
"
|
|
3062
|
+
"conversation:compact": {
|
|
3692
3063
|
"aliases": [],
|
|
3693
|
-
"args": {
|
|
3694
|
-
|
|
3064
|
+
"args": {
|
|
3065
|
+
"conversation_id": {
|
|
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
|
+
],
|
|
3695
3081
|
"flags": {
|
|
3696
3082
|
"json": {
|
|
3697
3083
|
"description": "Format output as json.",
|
|
@@ -3736,7 +3122,7 @@
|
|
|
3736
3122
|
},
|
|
3737
3123
|
"hasDynamicHelp": false,
|
|
3738
3124
|
"hiddenAliases": [],
|
|
3739
|
-
"id": "
|
|
3125
|
+
"id": "conversation:compact",
|
|
3740
3126
|
"pluginAlias": "@faces-sh/cli",
|
|
3741
3127
|
"pluginName": "@faces-sh/cli",
|
|
3742
3128
|
"pluginType": "core",
|
|
@@ -3746,24 +3132,25 @@
|
|
|
3746
3132
|
"relativePath": [
|
|
3747
3133
|
"dist",
|
|
3748
3134
|
"commands",
|
|
3749
|
-
"
|
|
3750
|
-
"
|
|
3135
|
+
"conversation",
|
|
3136
|
+
"compact.js"
|
|
3751
3137
|
]
|
|
3752
3138
|
},
|
|
3753
|
-
"conversation:
|
|
3139
|
+
"conversation:create": {
|
|
3754
3140
|
"aliases": [],
|
|
3755
3141
|
"args": {
|
|
3756
|
-
"
|
|
3757
|
-
"description": "
|
|
3758
|
-
"name": "
|
|
3759
|
-
"required":
|
|
3142
|
+
"face": {
|
|
3143
|
+
"description": "The face alone: an alias, owner:alias, or a composite such as \"(a | b)\". No @model. Leave it out for a state that takes any of your faces.",
|
|
3144
|
+
"name": "face",
|
|
3145
|
+
"required": false
|
|
3760
3146
|
}
|
|
3761
3147
|
},
|
|
3762
|
-
"description": "
|
|
3148
|
+
"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 decide or causes 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.",
|
|
3763
3149
|
"examples": [
|
|
3764
|
-
"<%= config.bin %> <%= command.id %>
|
|
3765
|
-
"<%= config.bin %> <%= command.id %>
|
|
3766
|
-
"<%= config.bin %> <%= command.id %>
|
|
3150
|
+
"<%= config.bin %> <%= command.id %> alice",
|
|
3151
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3152
|
+
"<%= config.bin %> <%= command.id %> --no-causes-visible --json",
|
|
3153
|
+
"<%= config.bin %> <%= command.id %> alice --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\""
|
|
3767
3154
|
],
|
|
3768
3155
|
"flags": {
|
|
3769
3156
|
"json": {
|
|
@@ -3806,32 +3193,52 @@
|
|
|
3806
3193
|
"allowNo": false,
|
|
3807
3194
|
"type": "boolean"
|
|
3808
3195
|
},
|
|
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
|
+
},
|
|
3809
3202
|
"message": {
|
|
3810
3203
|
"char": "m",
|
|
3811
|
-
"description": "A message of yours (repeatable, kept in order).",
|
|
3204
|
+
"description": "A first message of yours (repeatable, kept in order).",
|
|
3812
3205
|
"name": "message",
|
|
3813
3206
|
"hasDynamicHelp": false,
|
|
3814
3207
|
"multiple": true,
|
|
3815
3208
|
"type": "option"
|
|
3816
3209
|
},
|
|
3817
3210
|
"premise": {
|
|
3818
|
-
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the
|
|
3211
|
+
"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.",
|
|
3819
3212
|
"name": "premise",
|
|
3820
3213
|
"hasDynamicHelp": false,
|
|
3821
3214
|
"multiple": true,
|
|
3822
3215
|
"type": "option"
|
|
3823
3216
|
},
|
|
3824
3217
|
"premise-description": {
|
|
3825
|
-
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a
|
|
3218
|
+
"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.",
|
|
3826
3219
|
"name": "premise-description",
|
|
3827
3220
|
"hasDynamicHelp": false,
|
|
3828
3221
|
"multiple": true,
|
|
3829
3222
|
"type": "option"
|
|
3223
|
+
},
|
|
3224
|
+
"premise-status": {
|
|
3225
|
+
"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.",
|
|
3226
|
+
"name": "premise-status",
|
|
3227
|
+
"hasDynamicHelp": false,
|
|
3228
|
+
"multiple": true,
|
|
3229
|
+
"type": "option"
|
|
3230
|
+
},
|
|
3231
|
+
"premise-depends-on": {
|
|
3232
|
+
"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.",
|
|
3233
|
+
"name": "premise-depends-on",
|
|
3234
|
+
"hasDynamicHelp": false,
|
|
3235
|
+
"multiple": true,
|
|
3236
|
+
"type": "option"
|
|
3830
3237
|
}
|
|
3831
3238
|
},
|
|
3832
3239
|
"hasDynamicHelp": false,
|
|
3833
3240
|
"hiddenAliases": [],
|
|
3834
|
-
"id": "conversation:
|
|
3241
|
+
"id": "conversation:create",
|
|
3835
3242
|
"pluginAlias": "@faces-sh/cli",
|
|
3836
3243
|
"pluginName": "@faces-sh/cli",
|
|
3837
3244
|
"pluginType": "core",
|
|
@@ -3842,21 +3249,21 @@
|
|
|
3842
3249
|
"dist",
|
|
3843
3250
|
"commands",
|
|
3844
3251
|
"conversation",
|
|
3845
|
-
"
|
|
3252
|
+
"create.js"
|
|
3846
3253
|
]
|
|
3847
3254
|
},
|
|
3848
|
-
"conversation:
|
|
3255
|
+
"conversation:get": {
|
|
3849
3256
|
"aliases": [],
|
|
3850
3257
|
"args": {
|
|
3851
3258
|
"conversation_id": {
|
|
3852
|
-
"description": "
|
|
3259
|
+
"description": "State id (from state:create)",
|
|
3853
3260
|
"name": "conversation_id",
|
|
3854
3261
|
"required": true
|
|
3855
3262
|
}
|
|
3856
3263
|
},
|
|
3857
|
-
"description": "
|
|
3264
|
+
"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.",
|
|
3858
3265
|
"examples": [
|
|
3859
|
-
"<%= config.bin %> <%= command.id %>
|
|
3266
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID"
|
|
3860
3267
|
],
|
|
3861
3268
|
"flags": {
|
|
3862
3269
|
"json": {
|
|
@@ -3893,22 +3300,16 @@
|
|
|
3893
3300
|
"toon": {
|
|
3894
3301
|
"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.",
|
|
3895
3302
|
"exclusive": [
|
|
3896
|
-
"json"
|
|
3897
|
-
],
|
|
3898
|
-
"name": "toon",
|
|
3899
|
-
"allowNo": false,
|
|
3900
|
-
"type": "boolean"
|
|
3901
|
-
},
|
|
3902
|
-
"yes": {
|
|
3903
|
-
"description": "Skip confirmation",
|
|
3904
|
-
"name": "yes",
|
|
3303
|
+
"json"
|
|
3304
|
+
],
|
|
3305
|
+
"name": "toon",
|
|
3905
3306
|
"allowNo": false,
|
|
3906
3307
|
"type": "boolean"
|
|
3907
3308
|
}
|
|
3908
3309
|
},
|
|
3909
3310
|
"hasDynamicHelp": false,
|
|
3910
3311
|
"hiddenAliases": [],
|
|
3911
|
-
"id": "conversation:
|
|
3312
|
+
"id": "conversation:get",
|
|
3912
3313
|
"pluginAlias": "@faces-sh/cli",
|
|
3913
3314
|
"pluginName": "@faces-sh/cli",
|
|
3914
3315
|
"pluginType": "core",
|
|
@@ -3919,27 +3320,22 @@
|
|
|
3919
3320
|
"dist",
|
|
3920
3321
|
"commands",
|
|
3921
3322
|
"conversation",
|
|
3922
|
-
"
|
|
3323
|
+
"get.js"
|
|
3923
3324
|
]
|
|
3924
3325
|
},
|
|
3925
|
-
"conversation:
|
|
3326
|
+
"conversation:items": {
|
|
3926
3327
|
"aliases": [],
|
|
3927
3328
|
"args": {
|
|
3928
3329
|
"conversation_id": {
|
|
3929
|
-
"description": "
|
|
3330
|
+
"description": "State id (from state:create)",
|
|
3930
3331
|
"name": "conversation_id",
|
|
3931
3332
|
"required": true
|
|
3932
|
-
},
|
|
3933
|
-
"face": {
|
|
3934
|
-
"description": "The face to compact, alone (no @model). Needed when the conversation takes any face; a conversation opened with one face compacts that face.",
|
|
3935
|
-
"name": "face",
|
|
3936
|
-
"required": false
|
|
3937
3333
|
}
|
|
3938
3334
|
},
|
|
3939
|
-
"description": "
|
|
3335
|
+
"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.",
|
|
3940
3336
|
"examples": [
|
|
3941
|
-
"<%= config.bin %> <%= command.id %>
|
|
3942
|
-
"<%= config.bin %> <%= command.id %>
|
|
3337
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID",
|
|
3338
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --json"
|
|
3943
3339
|
],
|
|
3944
3340
|
"flags": {
|
|
3945
3341
|
"json": {
|
|
@@ -3985,7 +3381,7 @@
|
|
|
3985
3381
|
},
|
|
3986
3382
|
"hasDynamicHelp": false,
|
|
3987
3383
|
"hiddenAliases": [],
|
|
3988
|
-
"id": "conversation:
|
|
3384
|
+
"id": "conversation:items",
|
|
3989
3385
|
"pluginAlias": "@faces-sh/cli",
|
|
3990
3386
|
"pluginName": "@faces-sh/cli",
|
|
3991
3387
|
"pluginType": "core",
|
|
@@ -3996,25 +3392,13 @@
|
|
|
3996
3392
|
"dist",
|
|
3997
3393
|
"commands",
|
|
3998
3394
|
"conversation",
|
|
3999
|
-
"
|
|
3395
|
+
"items.js"
|
|
4000
3396
|
]
|
|
4001
3397
|
},
|
|
4002
|
-
"
|
|
3398
|
+
"config:clear": {
|
|
4003
3399
|
"aliases": [],
|
|
4004
|
-
"args": {
|
|
4005
|
-
|
|
4006
|
-
"description": "The face alone: an alias, owner:alias, or a composite such as \"(a | b)\". No @model. Leave it out for a conversation that takes any of your faces.",
|
|
4007
|
-
"name": "face",
|
|
4008
|
-
"required": false
|
|
4009
|
-
}
|
|
4010
|
-
},
|
|
4011
|
-
"description": "Start a conversation. The server keeps the whole conversation: your messages, each face's reply with its cause, decisions, and premises (named facts you declare). Pass its id with --conversation on chat, causes or decide and send only what is new. Name a face and the conversation takes that face only; leave it out and it takes any of your faces. Opening one is free; each turn costs what it costs without one. A conversation expires 30 days after it was last used.",
|
|
4012
|
-
"examples": [
|
|
4013
|
-
"<%= config.bin %> <%= command.id %> alice",
|
|
4014
|
-
"<%= config.bin %> <%= command.id %>",
|
|
4015
|
-
"<%= config.bin %> <%= command.id %> --no-causes-visible --json",
|
|
4016
|
-
"<%= config.bin %> <%= command.id %> alice --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\""
|
|
4017
|
-
],
|
|
3400
|
+
"args": {},
|
|
3401
|
+
"description": "Delete all saved credentials and config",
|
|
4018
3402
|
"flags": {
|
|
4019
3403
|
"json": {
|
|
4020
3404
|
"description": "Format output as json.",
|
|
@@ -4056,38 +3440,16 @@
|
|
|
4056
3440
|
"allowNo": false,
|
|
4057
3441
|
"type": "boolean"
|
|
4058
3442
|
},
|
|
4059
|
-
"
|
|
4060
|
-
"description": "
|
|
4061
|
-
"name": "
|
|
4062
|
-
"allowNo":
|
|
3443
|
+
"yes": {
|
|
3444
|
+
"description": "Skip confirmation",
|
|
3445
|
+
"name": "yes",
|
|
3446
|
+
"allowNo": false,
|
|
4063
3447
|
"type": "boolean"
|
|
4064
|
-
},
|
|
4065
|
-
"message": {
|
|
4066
|
-
"char": "m",
|
|
4067
|
-
"description": "A first message of yours (repeatable, kept in order).",
|
|
4068
|
-
"name": "message",
|
|
4069
|
-
"hasDynamicHelp": false,
|
|
4070
|
-
"multiple": true,
|
|
4071
|
-
"type": "option"
|
|
4072
|
-
},
|
|
4073
|
-
"premise": {
|
|
4074
|
-
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description.",
|
|
4075
|
-
"name": "premise",
|
|
4076
|
-
"hasDynamicHelp": false,
|
|
4077
|
-
"multiple": true,
|
|
4078
|
-
"type": "option"
|
|
4079
|
-
},
|
|
4080
|
-
"premise-description": {
|
|
4081
|
-
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
|
|
4082
|
-
"name": "premise-description",
|
|
4083
|
-
"hasDynamicHelp": false,
|
|
4084
|
-
"multiple": true,
|
|
4085
|
-
"type": "option"
|
|
4086
3448
|
}
|
|
4087
3449
|
},
|
|
4088
3450
|
"hasDynamicHelp": false,
|
|
4089
3451
|
"hiddenAliases": [],
|
|
4090
|
-
"id": "
|
|
3452
|
+
"id": "config:clear",
|
|
4091
3453
|
"pluginAlias": "@faces-sh/cli",
|
|
4092
3454
|
"pluginName": "@faces-sh/cli",
|
|
4093
3455
|
"pluginType": "core",
|
|
@@ -4097,23 +3459,25 @@
|
|
|
4097
3459
|
"relativePath": [
|
|
4098
3460
|
"dist",
|
|
4099
3461
|
"commands",
|
|
4100
|
-
"
|
|
4101
|
-
"
|
|
3462
|
+
"config",
|
|
3463
|
+
"clear.js"
|
|
4102
3464
|
]
|
|
4103
3465
|
},
|
|
4104
|
-
"
|
|
3466
|
+
"config:set": {
|
|
4105
3467
|
"aliases": [],
|
|
4106
3468
|
"args": {
|
|
4107
|
-
"
|
|
4108
|
-
"description": "
|
|
4109
|
-
"name": "
|
|
3469
|
+
"key": {
|
|
3470
|
+
"description": "Config key",
|
|
3471
|
+
"name": "key",
|
|
3472
|
+
"required": true
|
|
3473
|
+
},
|
|
3474
|
+
"value": {
|
|
3475
|
+
"description": "Config value",
|
|
3476
|
+
"name": "value",
|
|
4110
3477
|
"required": true
|
|
4111
3478
|
}
|
|
4112
3479
|
},
|
|
4113
|
-
"description": "
|
|
4114
|
-
"examples": [
|
|
4115
|
-
"<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID"
|
|
4116
|
-
],
|
|
3480
|
+
"description": "Set a config value (e.g. base_url, api_key, token)",
|
|
4117
3481
|
"flags": {
|
|
4118
3482
|
"json": {
|
|
4119
3483
|
"description": "Format output as json.",
|
|
@@ -4158,7 +3522,7 @@
|
|
|
4158
3522
|
},
|
|
4159
3523
|
"hasDynamicHelp": false,
|
|
4160
3524
|
"hiddenAliases": [],
|
|
4161
|
-
"id": "
|
|
3525
|
+
"id": "config:set",
|
|
4162
3526
|
"pluginAlias": "@faces-sh/cli",
|
|
4163
3527
|
"pluginName": "@faces-sh/cli",
|
|
4164
3528
|
"pluginType": "core",
|
|
@@ -4168,24 +3532,14 @@
|
|
|
4168
3532
|
"relativePath": [
|
|
4169
3533
|
"dist",
|
|
4170
3534
|
"commands",
|
|
4171
|
-
"
|
|
4172
|
-
"
|
|
3535
|
+
"config",
|
|
3536
|
+
"set.js"
|
|
4173
3537
|
]
|
|
4174
3538
|
},
|
|
4175
|
-
"
|
|
3539
|
+
"config:show": {
|
|
4176
3540
|
"aliases": [],
|
|
4177
|
-
"args": {
|
|
4178
|
-
|
|
4179
|
-
"description": "Conversation id (from conversation:create)",
|
|
4180
|
-
"name": "conversation_id",
|
|
4181
|
-
"required": true
|
|
4182
|
-
}
|
|
4183
|
-
},
|
|
4184
|
-
"description": "List a conversation's items in order: your messages, each face's reply with its cause, decisions with their choice and cause, and premises. Ends with the premises in force now. Free.",
|
|
4185
|
-
"examples": [
|
|
4186
|
-
"<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID",
|
|
4187
|
-
"<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID --json"
|
|
4188
|
-
],
|
|
3541
|
+
"args": {},
|
|
3542
|
+
"description": "Print current config (credentials are masked)",
|
|
4189
3543
|
"flags": {
|
|
4190
3544
|
"json": {
|
|
4191
3545
|
"description": "Format output as json.",
|
|
@@ -4230,7 +3584,7 @@
|
|
|
4230
3584
|
},
|
|
4231
3585
|
"hasDynamicHelp": false,
|
|
4232
3586
|
"hiddenAliases": [],
|
|
4233
|
-
"id": "
|
|
3587
|
+
"id": "config:show",
|
|
4234
3588
|
"pluginAlias": "@faces-sh/cli",
|
|
4235
3589
|
"pluginName": "@faces-sh/cli",
|
|
4236
3590
|
"pluginType": "core",
|
|
@@ -4240,8 +3594,8 @@
|
|
|
4240
3594
|
"relativePath": [
|
|
4241
3595
|
"dist",
|
|
4242
3596
|
"commands",
|
|
4243
|
-
"
|
|
4244
|
-
"
|
|
3597
|
+
"config",
|
|
3598
|
+
"show.js"
|
|
4245
3599
|
]
|
|
4246
3600
|
},
|
|
4247
3601
|
"face:attributes": {
|
|
@@ -5952,24 +5306,165 @@
|
|
|
5952
5306
|
"relativePath": [
|
|
5953
5307
|
"dist",
|
|
5954
5308
|
"commands",
|
|
5955
|
-
"fidelity",
|
|
5956
|
-
"pick.js"
|
|
5309
|
+
"fidelity",
|
|
5310
|
+
"pick.js"
|
|
5311
|
+
]
|
|
5312
|
+
},
|
|
5313
|
+
"fidelity:save-thread": {
|
|
5314
|
+
"aliases": [],
|
|
5315
|
+
"args": {
|
|
5316
|
+
"run_id": {
|
|
5317
|
+
"description": "Fidelity run id",
|
|
5318
|
+
"name": "run_id",
|
|
5319
|
+
"required": true
|
|
5320
|
+
}
|
|
5321
|
+
},
|
|
5322
|
+
"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.",
|
|
5323
|
+
"examples": [
|
|
5324
|
+
"<%= config.bin %> <%= command.id %> <run>"
|
|
5325
|
+
],
|
|
5326
|
+
"flags": {
|
|
5327
|
+
"json": {
|
|
5328
|
+
"description": "Format output as json.",
|
|
5329
|
+
"helpGroup": "GLOBAL",
|
|
5330
|
+
"name": "json",
|
|
5331
|
+
"allowNo": false,
|
|
5332
|
+
"type": "boolean"
|
|
5333
|
+
},
|
|
5334
|
+
"base-url": {
|
|
5335
|
+
"description": "API base URL",
|
|
5336
|
+
"env": "FACES_BASE_URL",
|
|
5337
|
+
"name": "base-url",
|
|
5338
|
+
"hasDynamicHelp": false,
|
|
5339
|
+
"multiple": false,
|
|
5340
|
+
"type": "option"
|
|
5341
|
+
},
|
|
5342
|
+
"token": {
|
|
5343
|
+
"description": "JWT bearer token",
|
|
5344
|
+
"env": "FACES_TOKEN",
|
|
5345
|
+
"name": "token",
|
|
5346
|
+
"hasDynamicHelp": false,
|
|
5347
|
+
"multiple": false,
|
|
5348
|
+
"type": "option"
|
|
5349
|
+
},
|
|
5350
|
+
"api-key": {
|
|
5351
|
+
"description": "API key",
|
|
5352
|
+
"env": "FACES_API_KEY",
|
|
5353
|
+
"name": "api-key",
|
|
5354
|
+
"hasDynamicHelp": false,
|
|
5355
|
+
"multiple": false,
|
|
5356
|
+
"type": "option"
|
|
5357
|
+
},
|
|
5358
|
+
"toon": {
|
|
5359
|
+
"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.",
|
|
5360
|
+
"exclusive": [
|
|
5361
|
+
"json"
|
|
5362
|
+
],
|
|
5363
|
+
"name": "toon",
|
|
5364
|
+
"allowNo": false,
|
|
5365
|
+
"type": "boolean"
|
|
5366
|
+
}
|
|
5367
|
+
},
|
|
5368
|
+
"hasDynamicHelp": false,
|
|
5369
|
+
"hiddenAliases": [],
|
|
5370
|
+
"id": "fidelity:save-thread",
|
|
5371
|
+
"pluginAlias": "@faces-sh/cli",
|
|
5372
|
+
"pluginName": "@faces-sh/cli",
|
|
5373
|
+
"pluginType": "core",
|
|
5374
|
+
"strict": true,
|
|
5375
|
+
"enableJsonFlag": true,
|
|
5376
|
+
"isESM": true,
|
|
5377
|
+
"relativePath": [
|
|
5378
|
+
"dist",
|
|
5379
|
+
"commands",
|
|
5380
|
+
"fidelity",
|
|
5381
|
+
"save-thread.js"
|
|
5382
|
+
]
|
|
5383
|
+
},
|
|
5384
|
+
"group:add": {
|
|
5385
|
+
"aliases": [],
|
|
5386
|
+
"args": {
|
|
5387
|
+
"group_id": {
|
|
5388
|
+
"description": "Group ID",
|
|
5389
|
+
"name": "group_id",
|
|
5390
|
+
"required": true
|
|
5391
|
+
}
|
|
5392
|
+
},
|
|
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, the same address chat uses.",
|
|
5394
|
+
"examples": [
|
|
5395
|
+
"<%= config.bin %> <%= command.id %> GROUP_ID --face alice --face bob",
|
|
5396
|
+
"<%= config.bin %> <%= command.id %> GROUP_ID --face head:socrates"
|
|
5397
|
+
],
|
|
5398
|
+
"flags": {
|
|
5399
|
+
"json": {
|
|
5400
|
+
"description": "Format output as json.",
|
|
5401
|
+
"helpGroup": "GLOBAL",
|
|
5402
|
+
"name": "json",
|
|
5403
|
+
"allowNo": false,
|
|
5404
|
+
"type": "boolean"
|
|
5405
|
+
},
|
|
5406
|
+
"base-url": {
|
|
5407
|
+
"description": "API base URL",
|
|
5408
|
+
"env": "FACES_BASE_URL",
|
|
5409
|
+
"name": "base-url",
|
|
5410
|
+
"hasDynamicHelp": false,
|
|
5411
|
+
"multiple": false,
|
|
5412
|
+
"type": "option"
|
|
5413
|
+
},
|
|
5414
|
+
"token": {
|
|
5415
|
+
"description": "JWT bearer token",
|
|
5416
|
+
"env": "FACES_TOKEN",
|
|
5417
|
+
"name": "token",
|
|
5418
|
+
"hasDynamicHelp": false,
|
|
5419
|
+
"multiple": false,
|
|
5420
|
+
"type": "option"
|
|
5421
|
+
},
|
|
5422
|
+
"api-key": {
|
|
5423
|
+
"description": "API key",
|
|
5424
|
+
"env": "FACES_API_KEY",
|
|
5425
|
+
"name": "api-key",
|
|
5426
|
+
"hasDynamicHelp": false,
|
|
5427
|
+
"multiple": false,
|
|
5428
|
+
"type": "option"
|
|
5429
|
+
},
|
|
5430
|
+
"toon": {
|
|
5431
|
+
"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.",
|
|
5432
|
+
"exclusive": [
|
|
5433
|
+
"json"
|
|
5434
|
+
],
|
|
5435
|
+
"name": "toon",
|
|
5436
|
+
"allowNo": false,
|
|
5437
|
+
"type": "boolean"
|
|
5438
|
+
},
|
|
5439
|
+
"face": {
|
|
5440
|
+
"description": "Face alias to add (repeatable)",
|
|
5441
|
+
"name": "face",
|
|
5442
|
+
"required": true,
|
|
5443
|
+
"hasDynamicHelp": false,
|
|
5444
|
+
"multiple": true,
|
|
5445
|
+
"type": "option"
|
|
5446
|
+
}
|
|
5447
|
+
},
|
|
5448
|
+
"hasDynamicHelp": false,
|
|
5449
|
+
"hiddenAliases": [],
|
|
5450
|
+
"id": "group:add",
|
|
5451
|
+
"pluginAlias": "@faces-sh/cli",
|
|
5452
|
+
"pluginName": "@faces-sh/cli",
|
|
5453
|
+
"pluginType": "core",
|
|
5454
|
+
"strict": true,
|
|
5455
|
+
"enableJsonFlag": true,
|
|
5456
|
+
"isESM": true,
|
|
5457
|
+
"relativePath": [
|
|
5458
|
+
"dist",
|
|
5459
|
+
"commands",
|
|
5460
|
+
"group",
|
|
5461
|
+
"add.js"
|
|
5957
5462
|
]
|
|
5958
5463
|
},
|
|
5959
|
-
"
|
|
5464
|
+
"group:create": {
|
|
5960
5465
|
"aliases": [],
|
|
5961
|
-
"args": {
|
|
5962
|
-
|
|
5963
|
-
"description": "Alias of a face you own",
|
|
5964
|
-
"name": "alias",
|
|
5965
|
-
"required": true
|
|
5966
|
-
}
|
|
5967
|
-
},
|
|
5968
|
-
"description": "Play a fidelity run in the terminal: ten turns of writing a message, reading answers a and b, and picking the one that sounds more like the person, with an optional correction. Needs a person at the keyboard; without a terminal, use fidelity:start, fidelity:turn and fidelity:pick. Resume a run with --run.",
|
|
5969
|
-
"examples": [
|
|
5970
|
-
"<%= config.bin %> <%= command.id %> alice",
|
|
5971
|
-
"<%= config.bin %> <%= command.id %> alice --run <run>"
|
|
5972
|
-
],
|
|
5466
|
+
"args": {},
|
|
5467
|
+
"description": "Create a new group",
|
|
5973
5468
|
"flags": {
|
|
5974
5469
|
"json": {
|
|
5975
5470
|
"description": "Format output as json.",
|
|
@@ -6011,35 +5506,46 @@
|
|
|
6011
5506
|
"allowNo": false,
|
|
6012
5507
|
"type": "boolean"
|
|
6013
5508
|
},
|
|
6014
|
-
"
|
|
6015
|
-
"description": "
|
|
6016
|
-
"name": "
|
|
5509
|
+
"name": {
|
|
5510
|
+
"description": "Group name",
|
|
5511
|
+
"name": "name",
|
|
5512
|
+
"required": true,
|
|
6017
5513
|
"hasDynamicHelp": false,
|
|
6018
5514
|
"multiple": false,
|
|
6019
5515
|
"type": "option"
|
|
6020
5516
|
},
|
|
6021
|
-
"
|
|
6022
|
-
"description": "
|
|
6023
|
-
"name": "
|
|
5517
|
+
"description": {
|
|
5518
|
+
"description": "Plain-text group description (max 1500 chars)",
|
|
5519
|
+
"name": "description",
|
|
6024
5520
|
"hasDynamicHelp": false,
|
|
6025
5521
|
"multiple": false,
|
|
6026
5522
|
"type": "option"
|
|
6027
5523
|
},
|
|
6028
|
-
"
|
|
6029
|
-
"description": "
|
|
6030
|
-
"
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
5524
|
+
"protocol": {
|
|
5525
|
+
"description": "Protocol content (mermaid diagram or markdown, max 1000 words)",
|
|
5526
|
+
"name": "protocol",
|
|
5527
|
+
"hasDynamicHelp": false,
|
|
5528
|
+
"multiple": false,
|
|
5529
|
+
"type": "option"
|
|
5530
|
+
},
|
|
5531
|
+
"protocol-file": {
|
|
5532
|
+
"description": "Read protocol from file",
|
|
5533
|
+
"name": "protocol-file",
|
|
6035
5534
|
"hasDynamicHelp": false,
|
|
6036
5535
|
"multiple": false,
|
|
6037
5536
|
"type": "option"
|
|
5537
|
+
},
|
|
5538
|
+
"tag": {
|
|
5539
|
+
"description": "Tag label (repeatable, lowercase)",
|
|
5540
|
+
"name": "tag",
|
|
5541
|
+
"hasDynamicHelp": false,
|
|
5542
|
+
"multiple": true,
|
|
5543
|
+
"type": "option"
|
|
6038
5544
|
}
|
|
6039
5545
|
},
|
|
6040
5546
|
"hasDynamicHelp": false,
|
|
6041
5547
|
"hiddenAliases": [],
|
|
6042
|
-
"id": "
|
|
5548
|
+
"id": "group:create",
|
|
6043
5549
|
"pluginAlias": "@faces-sh/cli",
|
|
6044
5550
|
"pluginName": "@faces-sh/cli",
|
|
6045
5551
|
"pluginType": "core",
|
|
@@ -6049,23 +5555,20 @@
|
|
|
6049
5555
|
"relativePath": [
|
|
6050
5556
|
"dist",
|
|
6051
5557
|
"commands",
|
|
6052
|
-
"
|
|
6053
|
-
"
|
|
5558
|
+
"group",
|
|
5559
|
+
"create.js"
|
|
6054
5560
|
]
|
|
6055
5561
|
},
|
|
6056
|
-
"
|
|
5562
|
+
"group:delete": {
|
|
6057
5563
|
"aliases": [],
|
|
6058
5564
|
"args": {
|
|
6059
|
-
"
|
|
6060
|
-
"description": "
|
|
6061
|
-
"name": "
|
|
5565
|
+
"group_id": {
|
|
5566
|
+
"description": "Group ID",
|
|
5567
|
+
"name": "group_id",
|
|
6062
5568
|
"required": true
|
|
6063
5569
|
}
|
|
6064
5570
|
},
|
|
6065
|
-
"description": "
|
|
6066
|
-
"examples": [
|
|
6067
|
-
"<%= config.bin %> <%= command.id %> <run>"
|
|
6068
|
-
],
|
|
5571
|
+
"description": "Delete a group",
|
|
6069
5572
|
"flags": {
|
|
6070
5573
|
"json": {
|
|
6071
5574
|
"description": "Format output as json.",
|
|
@@ -6106,11 +5609,17 @@
|
|
|
6106
5609
|
"name": "toon",
|
|
6107
5610
|
"allowNo": false,
|
|
6108
5611
|
"type": "boolean"
|
|
5612
|
+
},
|
|
5613
|
+
"yes": {
|
|
5614
|
+
"description": "Skip confirmation",
|
|
5615
|
+
"name": "yes",
|
|
5616
|
+
"allowNo": false,
|
|
5617
|
+
"type": "boolean"
|
|
6109
5618
|
}
|
|
6110
5619
|
},
|
|
6111
5620
|
"hasDynamicHelp": false,
|
|
6112
5621
|
"hiddenAliases": [],
|
|
6113
|
-
"id": "
|
|
5622
|
+
"id": "group:delete",
|
|
6114
5623
|
"pluginAlias": "@faces-sh/cli",
|
|
6115
5624
|
"pluginName": "@faces-sh/cli",
|
|
6116
5625
|
"pluginType": "core",
|
|
@@ -6120,24 +5629,20 @@
|
|
|
6120
5629
|
"relativePath": [
|
|
6121
5630
|
"dist",
|
|
6122
5631
|
"commands",
|
|
6123
|
-
"
|
|
6124
|
-
"
|
|
5632
|
+
"group",
|
|
5633
|
+
"delete.js"
|
|
6125
5634
|
]
|
|
6126
5635
|
},
|
|
6127
|
-
"
|
|
5636
|
+
"group:edit": {
|
|
6128
5637
|
"aliases": [],
|
|
6129
5638
|
"args": {
|
|
6130
|
-
"
|
|
6131
|
-
"description": "
|
|
6132
|
-
"name": "
|
|
5639
|
+
"group_id": {
|
|
5640
|
+
"description": "Group ID",
|
|
5641
|
+
"name": "group_id",
|
|
6133
5642
|
"required": true
|
|
6134
5643
|
}
|
|
6135
5644
|
},
|
|
6136
|
-
"description": "
|
|
6137
|
-
"examples": [
|
|
6138
|
-
"<%= config.bin %> <%= command.id %> alice",
|
|
6139
|
-
"<%= config.bin %> <%= command.id %> alice --competitor <model>"
|
|
6140
|
-
],
|
|
5645
|
+
"description": "Edit a group",
|
|
6141
5646
|
"flags": {
|
|
6142
5647
|
"json": {
|
|
6143
5648
|
"description": "Format output as json.",
|
|
@@ -6179,16 +5684,30 @@
|
|
|
6179
5684
|
"allowNo": false,
|
|
6180
5685
|
"type": "boolean"
|
|
6181
5686
|
},
|
|
6182
|
-
"
|
|
6183
|
-
"description": "
|
|
6184
|
-
"name": "
|
|
5687
|
+
"name": {
|
|
5688
|
+
"description": "New group name",
|
|
5689
|
+
"name": "name",
|
|
6185
5690
|
"hasDynamicHelp": false,
|
|
6186
5691
|
"multiple": false,
|
|
6187
5692
|
"type": "option"
|
|
6188
5693
|
},
|
|
6189
|
-
"
|
|
6190
|
-
"description": "
|
|
6191
|
-
"name": "
|
|
5694
|
+
"description": {
|
|
5695
|
+
"description": "New description (max 1500 chars)",
|
|
5696
|
+
"name": "description",
|
|
5697
|
+
"hasDynamicHelp": false,
|
|
5698
|
+
"multiple": false,
|
|
5699
|
+
"type": "option"
|
|
5700
|
+
},
|
|
5701
|
+
"protocol": {
|
|
5702
|
+
"description": "New protocol content",
|
|
5703
|
+
"name": "protocol",
|
|
5704
|
+
"hasDynamicHelp": false,
|
|
5705
|
+
"multiple": false,
|
|
5706
|
+
"type": "option"
|
|
5707
|
+
},
|
|
5708
|
+
"protocol-file": {
|
|
5709
|
+
"description": "Read protocol from file",
|
|
5710
|
+
"name": "protocol-file",
|
|
6192
5711
|
"hasDynamicHelp": false,
|
|
6193
5712
|
"multiple": false,
|
|
6194
5713
|
"type": "option"
|
|
@@ -6196,7 +5715,7 @@
|
|
|
6196
5715
|
},
|
|
6197
5716
|
"hasDynamicHelp": false,
|
|
6198
5717
|
"hiddenAliases": [],
|
|
6199
|
-
"id": "
|
|
5718
|
+
"id": "group:edit",
|
|
6200
5719
|
"pluginAlias": "@faces-sh/cli",
|
|
6201
5720
|
"pluginName": "@faces-sh/cli",
|
|
6202
5721
|
"pluginType": "core",
|
|
@@ -6206,23 +5725,20 @@
|
|
|
6206
5725
|
"relativePath": [
|
|
6207
5726
|
"dist",
|
|
6208
5727
|
"commands",
|
|
6209
|
-
"
|
|
6210
|
-
"
|
|
5728
|
+
"group",
|
|
5729
|
+
"edit.js"
|
|
6211
5730
|
]
|
|
6212
5731
|
},
|
|
6213
|
-
"
|
|
5732
|
+
"group:get": {
|
|
6214
5733
|
"aliases": [],
|
|
6215
5734
|
"args": {
|
|
6216
|
-
"
|
|
6217
|
-
"description": "
|
|
6218
|
-
"name": "
|
|
5735
|
+
"group_id": {
|
|
5736
|
+
"description": "Group ID",
|
|
5737
|
+
"name": "group_id",
|
|
6219
5738
|
"required": true
|
|
6220
5739
|
}
|
|
6221
5740
|
},
|
|
6222
|
-
"description": "
|
|
6223
|
-
"examples": [
|
|
6224
|
-
"<%= config.bin %> <%= command.id %> <run> -m \"How was the trip?\""
|
|
6225
|
-
],
|
|
5741
|
+
"description": "Get a group by ID",
|
|
6226
5742
|
"flags": {
|
|
6227
5743
|
"json": {
|
|
6228
5744
|
"description": "Format output as json.",
|
|
@@ -6263,29 +5779,11 @@
|
|
|
6263
5779
|
"name": "toon",
|
|
6264
5780
|
"allowNo": false,
|
|
6265
5781
|
"type": "boolean"
|
|
6266
|
-
},
|
|
6267
|
-
"message": {
|
|
6268
|
-
"char": "m",
|
|
6269
|
-
"description": "Your message for this turn",
|
|
6270
|
-
"exclusive": [
|
|
6271
|
-
"file"
|
|
6272
|
-
],
|
|
6273
|
-
"name": "message",
|
|
6274
|
-
"hasDynamicHelp": false,
|
|
6275
|
-
"multiple": false,
|
|
6276
|
-
"type": "option"
|
|
6277
|
-
},
|
|
6278
|
-
"file": {
|
|
6279
|
-
"description": "Read the message from a file",
|
|
6280
|
-
"name": "file",
|
|
6281
|
-
"hasDynamicHelp": false,
|
|
6282
|
-
"multiple": false,
|
|
6283
|
-
"type": "option"
|
|
6284
5782
|
}
|
|
6285
5783
|
},
|
|
6286
5784
|
"hasDynamicHelp": false,
|
|
6287
5785
|
"hiddenAliases": [],
|
|
6288
|
-
"id": "
|
|
5786
|
+
"id": "group:get",
|
|
6289
5787
|
"pluginAlias": "@faces-sh/cli",
|
|
6290
5788
|
"pluginName": "@faces-sh/cli",
|
|
6291
5789
|
"pluginType": "core",
|
|
@@ -6295,24 +5793,14 @@
|
|
|
6295
5793
|
"relativePath": [
|
|
6296
5794
|
"dist",
|
|
6297
5795
|
"commands",
|
|
6298
|
-
"
|
|
6299
|
-
"
|
|
5796
|
+
"group",
|
|
5797
|
+
"get.js"
|
|
6300
5798
|
]
|
|
6301
5799
|
},
|
|
6302
|
-
"group:
|
|
5800
|
+
"group:list": {
|
|
6303
5801
|
"aliases": [],
|
|
6304
|
-
"args": {
|
|
6305
|
-
|
|
6306
|
-
"description": "Group ID",
|
|
6307
|
-
"name": "group_id",
|
|
6308
|
-
"required": true
|
|
6309
|
-
}
|
|
6310
|
-
},
|
|
6311
|
-
"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, the same address chat uses.",
|
|
6312
|
-
"examples": [
|
|
6313
|
-
"<%= config.bin %> <%= command.id %> GROUP_ID --face alice --face bob",
|
|
6314
|
-
"<%= config.bin %> <%= command.id %> GROUP_ID --face head:socrates"
|
|
6315
|
-
],
|
|
5802
|
+
"args": {},
|
|
5803
|
+
"description": "List your groups",
|
|
6316
5804
|
"flags": {
|
|
6317
5805
|
"json": {
|
|
6318
5806
|
"description": "Format output as json.",
|
|
@@ -6353,19 +5841,11 @@
|
|
|
6353
5841
|
"name": "toon",
|
|
6354
5842
|
"allowNo": false,
|
|
6355
5843
|
"type": "boolean"
|
|
6356
|
-
},
|
|
6357
|
-
"face": {
|
|
6358
|
-
"description": "Face alias to add (repeatable)",
|
|
6359
|
-
"name": "face",
|
|
6360
|
-
"required": true,
|
|
6361
|
-
"hasDynamicHelp": false,
|
|
6362
|
-
"multiple": true,
|
|
6363
|
-
"type": "option"
|
|
6364
5844
|
}
|
|
6365
5845
|
},
|
|
6366
5846
|
"hasDynamicHelp": false,
|
|
6367
5847
|
"hiddenAliases": [],
|
|
6368
|
-
"id": "group:
|
|
5848
|
+
"id": "group:list",
|
|
6369
5849
|
"pluginAlias": "@faces-sh/cli",
|
|
6370
5850
|
"pluginName": "@faces-sh/cli",
|
|
6371
5851
|
"pluginType": "core",
|
|
@@ -6376,13 +5856,23 @@
|
|
|
6376
5856
|
"dist",
|
|
6377
5857
|
"commands",
|
|
6378
5858
|
"group",
|
|
6379
|
-
"
|
|
5859
|
+
"list.js"
|
|
6380
5860
|
]
|
|
6381
5861
|
},
|
|
6382
|
-
"group:
|
|
5862
|
+
"group:members": {
|
|
6383
5863
|
"aliases": [],
|
|
6384
|
-
"args": {
|
|
6385
|
-
|
|
5864
|
+
"args": {
|
|
5865
|
+
"group_id": {
|
|
5866
|
+
"description": "Group ID",
|
|
5867
|
+
"name": "group_id",
|
|
5868
|
+
"required": true
|
|
5869
|
+
}
|
|
5870
|
+
},
|
|
5871
|
+
"description": "List members of a group. A member you do not own can stop being reachable if its owner revokes access or deletes it; those are listed with the reason rather than dropped.",
|
|
5872
|
+
"examples": [
|
|
5873
|
+
"<%= config.bin %> <%= command.id %> GROUP_ID",
|
|
5874
|
+
"<%= config.bin %> <%= command.id %> GROUP_ID --json"
|
|
5875
|
+
],
|
|
6386
5876
|
"flags": {
|
|
6387
5877
|
"json": {
|
|
6388
5878
|
"description": "Format output as json.",
|
|
@@ -6423,47 +5913,11 @@
|
|
|
6423
5913
|
"name": "toon",
|
|
6424
5914
|
"allowNo": false,
|
|
6425
5915
|
"type": "boolean"
|
|
6426
|
-
},
|
|
6427
|
-
"name": {
|
|
6428
|
-
"description": "Group name",
|
|
6429
|
-
"name": "name",
|
|
6430
|
-
"required": true,
|
|
6431
|
-
"hasDynamicHelp": false,
|
|
6432
|
-
"multiple": false,
|
|
6433
|
-
"type": "option"
|
|
6434
|
-
},
|
|
6435
|
-
"description": {
|
|
6436
|
-
"description": "Plain-text group description (max 1500 chars)",
|
|
6437
|
-
"name": "description",
|
|
6438
|
-
"hasDynamicHelp": false,
|
|
6439
|
-
"multiple": false,
|
|
6440
|
-
"type": "option"
|
|
6441
|
-
},
|
|
6442
|
-
"protocol": {
|
|
6443
|
-
"description": "Protocol content (mermaid diagram or markdown, max 1000 words)",
|
|
6444
|
-
"name": "protocol",
|
|
6445
|
-
"hasDynamicHelp": false,
|
|
6446
|
-
"multiple": false,
|
|
6447
|
-
"type": "option"
|
|
6448
|
-
},
|
|
6449
|
-
"protocol-file": {
|
|
6450
|
-
"description": "Read protocol from file",
|
|
6451
|
-
"name": "protocol-file",
|
|
6452
|
-
"hasDynamicHelp": false,
|
|
6453
|
-
"multiple": false,
|
|
6454
|
-
"type": "option"
|
|
6455
|
-
},
|
|
6456
|
-
"tag": {
|
|
6457
|
-
"description": "Tag label (repeatable, lowercase)",
|
|
6458
|
-
"name": "tag",
|
|
6459
|
-
"hasDynamicHelp": false,
|
|
6460
|
-
"multiple": true,
|
|
6461
|
-
"type": "option"
|
|
6462
5916
|
}
|
|
6463
5917
|
},
|
|
6464
5918
|
"hasDynamicHelp": false,
|
|
6465
5919
|
"hiddenAliases": [],
|
|
6466
|
-
"id": "group:
|
|
5920
|
+
"id": "group:members",
|
|
6467
5921
|
"pluginAlias": "@faces-sh/cli",
|
|
6468
5922
|
"pluginName": "@faces-sh/cli",
|
|
6469
5923
|
"pluginType": "core",
|
|
@@ -6474,19 +5928,24 @@
|
|
|
6474
5928
|
"dist",
|
|
6475
5929
|
"commands",
|
|
6476
5930
|
"group",
|
|
6477
|
-
"
|
|
5931
|
+
"members.js"
|
|
6478
5932
|
]
|
|
6479
5933
|
},
|
|
6480
|
-
"group:
|
|
5934
|
+
"group:remove": {
|
|
6481
5935
|
"aliases": [],
|
|
6482
5936
|
"args": {
|
|
6483
5937
|
"group_id": {
|
|
6484
5938
|
"description": "Group ID",
|
|
6485
5939
|
"name": "group_id",
|
|
6486
5940
|
"required": true
|
|
5941
|
+
},
|
|
5942
|
+
"alias": {
|
|
5943
|
+
"description": "Face alias to remove",
|
|
5944
|
+
"name": "alias",
|
|
5945
|
+
"required": true
|
|
6487
5946
|
}
|
|
6488
5947
|
},
|
|
6489
|
-
"description": "
|
|
5948
|
+
"description": "Remove a face from a group",
|
|
6490
5949
|
"flags": {
|
|
6491
5950
|
"json": {
|
|
6492
5951
|
"description": "Format output as json.",
|
|
@@ -6527,17 +5986,11 @@
|
|
|
6527
5986
|
"name": "toon",
|
|
6528
5987
|
"allowNo": false,
|
|
6529
5988
|
"type": "boolean"
|
|
6530
|
-
},
|
|
6531
|
-
"yes": {
|
|
6532
|
-
"description": "Skip confirmation",
|
|
6533
|
-
"name": "yes",
|
|
6534
|
-
"allowNo": false,
|
|
6535
|
-
"type": "boolean"
|
|
6536
5989
|
}
|
|
6537
5990
|
},
|
|
6538
5991
|
"hasDynamicHelp": false,
|
|
6539
5992
|
"hiddenAliases": [],
|
|
6540
|
-
"id": "group:
|
|
5993
|
+
"id": "group:remove",
|
|
6541
5994
|
"pluginAlias": "@faces-sh/cli",
|
|
6542
5995
|
"pluginName": "@faces-sh/cli",
|
|
6543
5996
|
"pluginType": "core",
|
|
@@ -6548,19 +6001,13 @@
|
|
|
6548
6001
|
"dist",
|
|
6549
6002
|
"commands",
|
|
6550
6003
|
"group",
|
|
6551
|
-
"
|
|
6552
|
-
]
|
|
6553
|
-
},
|
|
6554
|
-
"
|
|
6555
|
-
"aliases": [],
|
|
6556
|
-
"args": {
|
|
6557
|
-
|
|
6558
|
-
"description": "Group ID",
|
|
6559
|
-
"name": "group_id",
|
|
6560
|
-
"required": true
|
|
6561
|
-
}
|
|
6562
|
-
},
|
|
6563
|
-
"description": "Edit a group",
|
|
6004
|
+
"remove.js"
|
|
6005
|
+
]
|
|
6006
|
+
},
|
|
6007
|
+
"keys:create": {
|
|
6008
|
+
"aliases": [],
|
|
6009
|
+
"args": {},
|
|
6010
|
+
"description": "Create a new API key (JWT required). The new key is saved to ~/.faces/config.json as api_key by default; pass --no-save to skip.",
|
|
6564
6011
|
"flags": {
|
|
6565
6012
|
"json": {
|
|
6566
6013
|
"description": "Format output as json.",
|
|
@@ -6603,37 +6050,51 @@
|
|
|
6603
6050
|
"type": "boolean"
|
|
6604
6051
|
},
|
|
6605
6052
|
"name": {
|
|
6606
|
-
"description": "
|
|
6053
|
+
"description": "Key name/label",
|
|
6607
6054
|
"name": "name",
|
|
6055
|
+
"required": true,
|
|
6608
6056
|
"hasDynamicHelp": false,
|
|
6609
6057
|
"multiple": false,
|
|
6610
6058
|
"type": "option"
|
|
6611
6059
|
},
|
|
6612
|
-
"
|
|
6613
|
-
"description": "
|
|
6614
|
-
"name": "
|
|
6060
|
+
"expires-days": {
|
|
6061
|
+
"description": "Expiry in days, 1 to 36500 (omit for no expiry)",
|
|
6062
|
+
"name": "expires-days",
|
|
6615
6063
|
"hasDynamicHelp": false,
|
|
6616
6064
|
"multiple": false,
|
|
6617
6065
|
"type": "option"
|
|
6618
6066
|
},
|
|
6619
|
-
"
|
|
6620
|
-
"description": "
|
|
6621
|
-
"name": "
|
|
6067
|
+
"budget": {
|
|
6068
|
+
"description": "Lifetime spend cap in USD, e.g. 5 or 0.50 (omit for no cap)",
|
|
6069
|
+
"name": "budget",
|
|
6622
6070
|
"hasDynamicHelp": false,
|
|
6623
6071
|
"multiple": false,
|
|
6624
6072
|
"type": "option"
|
|
6625
6073
|
},
|
|
6626
|
-
"
|
|
6627
|
-
"description": "
|
|
6628
|
-
"name": "
|
|
6074
|
+
"face": {
|
|
6075
|
+
"description": "Only chat with this face alias (repeatable). Other faces are refused for chat; their details can still be read.",
|
|
6076
|
+
"name": "face",
|
|
6629
6077
|
"hasDynamicHelp": false,
|
|
6630
|
-
"multiple":
|
|
6078
|
+
"multiple": true,
|
|
6079
|
+
"type": "option"
|
|
6080
|
+
},
|
|
6081
|
+
"model": {
|
|
6082
|
+
"description": "Only use this model (repeatable)",
|
|
6083
|
+
"name": "model",
|
|
6084
|
+
"hasDynamicHelp": false,
|
|
6085
|
+
"multiple": true,
|
|
6631
6086
|
"type": "option"
|
|
6087
|
+
},
|
|
6088
|
+
"save": {
|
|
6089
|
+
"description": "Save the new key to ~/.faces/config.json as api_key (default: true; use --no-save to skip)",
|
|
6090
|
+
"name": "save",
|
|
6091
|
+
"allowNo": true,
|
|
6092
|
+
"type": "boolean"
|
|
6632
6093
|
}
|
|
6633
6094
|
},
|
|
6634
6095
|
"hasDynamicHelp": false,
|
|
6635
6096
|
"hiddenAliases": [],
|
|
6636
|
-
"id": "
|
|
6097
|
+
"id": "keys:create",
|
|
6637
6098
|
"pluginAlias": "@faces-sh/cli",
|
|
6638
6099
|
"pluginName": "@faces-sh/cli",
|
|
6639
6100
|
"pluginType": "core",
|
|
@@ -6643,20 +6104,14 @@
|
|
|
6643
6104
|
"relativePath": [
|
|
6644
6105
|
"dist",
|
|
6645
6106
|
"commands",
|
|
6646
|
-
"
|
|
6647
|
-
"
|
|
6107
|
+
"keys",
|
|
6108
|
+
"create.js"
|
|
6648
6109
|
]
|
|
6649
6110
|
},
|
|
6650
|
-
"
|
|
6111
|
+
"keys:list": {
|
|
6651
6112
|
"aliases": [],
|
|
6652
|
-
"args": {
|
|
6653
|
-
|
|
6654
|
-
"description": "Group ID",
|
|
6655
|
-
"name": "group_id",
|
|
6656
|
-
"required": true
|
|
6657
|
-
}
|
|
6658
|
-
},
|
|
6659
|
-
"description": "Get a group by ID",
|
|
6113
|
+
"args": {},
|
|
6114
|
+
"description": "List all API keys (JWT required)",
|
|
6660
6115
|
"flags": {
|
|
6661
6116
|
"json": {
|
|
6662
6117
|
"description": "Format output as json.",
|
|
@@ -6701,7 +6156,7 @@
|
|
|
6701
6156
|
},
|
|
6702
6157
|
"hasDynamicHelp": false,
|
|
6703
6158
|
"hiddenAliases": [],
|
|
6704
|
-
"id": "
|
|
6159
|
+
"id": "keys:list",
|
|
6705
6160
|
"pluginAlias": "@faces-sh/cli",
|
|
6706
6161
|
"pluginName": "@faces-sh/cli",
|
|
6707
6162
|
"pluginType": "core",
|
|
@@ -6711,14 +6166,20 @@
|
|
|
6711
6166
|
"relativePath": [
|
|
6712
6167
|
"dist",
|
|
6713
6168
|
"commands",
|
|
6714
|
-
"
|
|
6715
|
-
"
|
|
6169
|
+
"keys",
|
|
6170
|
+
"list.js"
|
|
6716
6171
|
]
|
|
6717
6172
|
},
|
|
6718
|
-
"
|
|
6173
|
+
"keys:revoke": {
|
|
6719
6174
|
"aliases": [],
|
|
6720
|
-
"args": {
|
|
6721
|
-
|
|
6175
|
+
"args": {
|
|
6176
|
+
"key_id": {
|
|
6177
|
+
"description": "Key ID",
|
|
6178
|
+
"name": "key_id",
|
|
6179
|
+
"required": true
|
|
6180
|
+
}
|
|
6181
|
+
},
|
|
6182
|
+
"description": "Revoke an API key (JWT required)",
|
|
6722
6183
|
"flags": {
|
|
6723
6184
|
"json": {
|
|
6724
6185
|
"description": "Format output as json.",
|
|
@@ -6759,11 +6220,17 @@
|
|
|
6759
6220
|
"name": "toon",
|
|
6760
6221
|
"allowNo": false,
|
|
6761
6222
|
"type": "boolean"
|
|
6223
|
+
},
|
|
6224
|
+
"yes": {
|
|
6225
|
+
"description": "Skip confirmation",
|
|
6226
|
+
"name": "yes",
|
|
6227
|
+
"allowNo": false,
|
|
6228
|
+
"type": "boolean"
|
|
6762
6229
|
}
|
|
6763
6230
|
},
|
|
6764
6231
|
"hasDynamicHelp": false,
|
|
6765
6232
|
"hiddenAliases": [],
|
|
6766
|
-
"id": "
|
|
6233
|
+
"id": "keys:revoke",
|
|
6767
6234
|
"pluginAlias": "@faces-sh/cli",
|
|
6768
6235
|
"pluginName": "@faces-sh/cli",
|
|
6769
6236
|
"pluginType": "core",
|
|
@@ -6773,24 +6240,20 @@
|
|
|
6773
6240
|
"relativePath": [
|
|
6774
6241
|
"dist",
|
|
6775
6242
|
"commands",
|
|
6776
|
-
"
|
|
6777
|
-
"
|
|
6243
|
+
"keys",
|
|
6244
|
+
"revoke.js"
|
|
6778
6245
|
]
|
|
6779
6246
|
},
|
|
6780
|
-
"
|
|
6247
|
+
"keys:update": {
|
|
6781
6248
|
"aliases": [],
|
|
6782
6249
|
"args": {
|
|
6783
|
-
"
|
|
6784
|
-
"description": "
|
|
6785
|
-
"name": "
|
|
6250
|
+
"key_id": {
|
|
6251
|
+
"description": "Key ID",
|
|
6252
|
+
"name": "key_id",
|
|
6786
6253
|
"required": true
|
|
6787
6254
|
}
|
|
6788
6255
|
},
|
|
6789
|
-
"description": "
|
|
6790
|
-
"examples": [
|
|
6791
|
-
"<%= config.bin %> <%= command.id %> GROUP_ID",
|
|
6792
|
-
"<%= config.bin %> <%= command.id %> GROUP_ID --json"
|
|
6793
|
-
],
|
|
6256
|
+
"description": "Update API key metadata (JWT required)",
|
|
6794
6257
|
"flags": {
|
|
6795
6258
|
"json": {
|
|
6796
6259
|
"description": "Format output as json.",
|
|
@@ -6831,11 +6294,31 @@
|
|
|
6831
6294
|
"name": "toon",
|
|
6832
6295
|
"allowNo": false,
|
|
6833
6296
|
"type": "boolean"
|
|
6297
|
+
},
|
|
6298
|
+
"name": {
|
|
6299
|
+
"description": "New key name",
|
|
6300
|
+
"name": "name",
|
|
6301
|
+
"hasDynamicHelp": false,
|
|
6302
|
+
"multiple": false,
|
|
6303
|
+
"type": "option"
|
|
6304
|
+
},
|
|
6305
|
+
"budget": {
|
|
6306
|
+
"description": "New lifetime spend cap in USD, e.g. 5 or 0.50",
|
|
6307
|
+
"name": "budget",
|
|
6308
|
+
"hasDynamicHelp": false,
|
|
6309
|
+
"multiple": false,
|
|
6310
|
+
"type": "option"
|
|
6311
|
+
},
|
|
6312
|
+
"reset-spent": {
|
|
6313
|
+
"description": "Reset spent amount to zero",
|
|
6314
|
+
"name": "reset-spent",
|
|
6315
|
+
"allowNo": false,
|
|
6316
|
+
"type": "boolean"
|
|
6834
6317
|
}
|
|
6835
6318
|
},
|
|
6836
6319
|
"hasDynamicHelp": false,
|
|
6837
6320
|
"hiddenAliases": [],
|
|
6838
|
-
"id": "
|
|
6321
|
+
"id": "keys:update",
|
|
6839
6322
|
"pluginAlias": "@faces-sh/cli",
|
|
6840
6323
|
"pluginName": "@faces-sh/cli",
|
|
6841
6324
|
"pluginType": "core",
|
|
@@ -6845,25 +6328,22 @@
|
|
|
6845
6328
|
"relativePath": [
|
|
6846
6329
|
"dist",
|
|
6847
6330
|
"commands",
|
|
6848
|
-
"
|
|
6849
|
-
"
|
|
6331
|
+
"keys",
|
|
6332
|
+
"update.js"
|
|
6850
6333
|
]
|
|
6851
6334
|
},
|
|
6852
|
-
"
|
|
6335
|
+
"models:list": {
|
|
6853
6336
|
"aliases": [],
|
|
6854
|
-
"args": {
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
"
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
}
|
|
6865
|
-
},
|
|
6866
|
-
"description": "Remove a face from a group",
|
|
6337
|
+
"args": {},
|
|
6338
|
+
"description": "List the models you can name, once each, with their kind, endpoint and price (GET /v1/models). Without --kind only chat models are listed; --kind choices lists the models faces choices runs 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
|
+
"examples": [
|
|
6340
|
+
"<%= config.bin %> <%= command.id %>",
|
|
6341
|
+
"<%= config.bin %> <%= command.id %> --kind choices",
|
|
6342
|
+
"<%= config.bin %> <%= command.id %> --kind decision",
|
|
6343
|
+
"<%= config.bin %> <%= command.id %> --kind cause,compile",
|
|
6344
|
+
"<%= config.bin %> <%= command.id %> --kind all --json",
|
|
6345
|
+
"<%= config.bin %> <%= command.id %> --provider anthropic"
|
|
6346
|
+
],
|
|
6867
6347
|
"flags": {
|
|
6868
6348
|
"json": {
|
|
6869
6349
|
"description": "Format output as json.",
|
|
@@ -6904,11 +6384,31 @@
|
|
|
6904
6384
|
"name": "toon",
|
|
6905
6385
|
"allowNo": false,
|
|
6906
6386
|
"type": "boolean"
|
|
6387
|
+
},
|
|
6388
|
+
"kind": {
|
|
6389
|
+
"description": "One kind or a comma-separated list: choices, decision, cause, compile, chat, image, transcription; or all. Default: chat.",
|
|
6390
|
+
"name": "kind",
|
|
6391
|
+
"hasDynamicHelp": false,
|
|
6392
|
+
"multiple": false,
|
|
6393
|
+
"type": "option"
|
|
6394
|
+
},
|
|
6395
|
+
"provider": {
|
|
6396
|
+
"description": "Only models from this lab (e.g. openai, anthropic, qwen)",
|
|
6397
|
+
"name": "provider",
|
|
6398
|
+
"hasDynamicHelp": false,
|
|
6399
|
+
"multiple": false,
|
|
6400
|
+
"type": "option"
|
|
6401
|
+
},
|
|
6402
|
+
"chatgpt": {
|
|
6403
|
+
"description": "Only Codex-eligible models: the ones that run on a linked ChatGPT plan",
|
|
6404
|
+
"name": "chatgpt",
|
|
6405
|
+
"allowNo": false,
|
|
6406
|
+
"type": "boolean"
|
|
6907
6407
|
}
|
|
6908
6408
|
},
|
|
6909
6409
|
"hasDynamicHelp": false,
|
|
6910
6410
|
"hiddenAliases": [],
|
|
6911
|
-
"id": "
|
|
6411
|
+
"id": "models:list",
|
|
6912
6412
|
"pluginAlias": "@faces-sh/cli",
|
|
6913
6413
|
"pluginName": "@faces-sh/cli",
|
|
6914
6414
|
"pluginType": "core",
|
|
@@ -6918,14 +6418,23 @@
|
|
|
6918
6418
|
"relativePath": [
|
|
6919
6419
|
"dist",
|
|
6920
6420
|
"commands",
|
|
6921
|
-
"
|
|
6922
|
-
"
|
|
6421
|
+
"models",
|
|
6422
|
+
"list.js"
|
|
6923
6423
|
]
|
|
6924
6424
|
},
|
|
6925
|
-
"
|
|
6425
|
+
"session:close": {
|
|
6926
6426
|
"aliases": [],
|
|
6927
|
-
"args": {
|
|
6928
|
-
|
|
6427
|
+
"args": {
|
|
6428
|
+
"session_id": {
|
|
6429
|
+
"description": "Session id (from session:create)",
|
|
6430
|
+
"name": "session_id",
|
|
6431
|
+
"required": true
|
|
6432
|
+
}
|
|
6433
|
+
},
|
|
6434
|
+
"description": "Close a session. A closed session takes no more turns and cannot be compacted or read. Its compactions stay usable until they expire. Free. Sessions are now called states: see faces state:close.",
|
|
6435
|
+
"examples": [
|
|
6436
|
+
"<%= config.bin %> <%= command.id %> fs_SESSION_ID --yes"
|
|
6437
|
+
],
|
|
6929
6438
|
"flags": {
|
|
6930
6439
|
"json": {
|
|
6931
6440
|
"description": "Format output as json.",
|
|
@@ -6967,52 +6476,88 @@
|
|
|
6967
6476
|
"allowNo": false,
|
|
6968
6477
|
"type": "boolean"
|
|
6969
6478
|
},
|
|
6970
|
-
"
|
|
6971
|
-
"description": "
|
|
6972
|
-
"name": "
|
|
6973
|
-
"
|
|
6974
|
-
"
|
|
6975
|
-
|
|
6976
|
-
|
|
6479
|
+
"yes": {
|
|
6480
|
+
"description": "Skip confirmation",
|
|
6481
|
+
"name": "yes",
|
|
6482
|
+
"allowNo": false,
|
|
6483
|
+
"type": "boolean"
|
|
6484
|
+
}
|
|
6485
|
+
},
|
|
6486
|
+
"hasDynamicHelp": false,
|
|
6487
|
+
"hiddenAliases": [],
|
|
6488
|
+
"id": "session:close",
|
|
6489
|
+
"pluginAlias": "@faces-sh/cli",
|
|
6490
|
+
"pluginName": "@faces-sh/cli",
|
|
6491
|
+
"pluginType": "core",
|
|
6492
|
+
"strict": true,
|
|
6493
|
+
"enableJsonFlag": true,
|
|
6494
|
+
"isESM": true,
|
|
6495
|
+
"relativePath": [
|
|
6496
|
+
"dist",
|
|
6497
|
+
"commands",
|
|
6498
|
+
"session",
|
|
6499
|
+
"close.js"
|
|
6500
|
+
]
|
|
6501
|
+
},
|
|
6502
|
+
"session:compact": {
|
|
6503
|
+
"aliases": [],
|
|
6504
|
+
"args": {
|
|
6505
|
+
"session_id": {
|
|
6506
|
+
"description": "Session id (from session:create)",
|
|
6507
|
+
"name": "session_id",
|
|
6508
|
+
"required": true
|
|
6509
|
+
}
|
|
6510
|
+
},
|
|
6511
|
+
"description": "Compact a session: a summary of the face's position over the session, in the face's own terms, stored under a compaction id. Pass that id with --compaction on a later request with the same face, and send only the messages you still want read. Billed at the cause rate on the tokens it reads and writes; on Connect and Pro it counts against the cause allowance. A failed compaction is not charged. A compaction expires 30 days after it is written. Sessions are now called states: see faces state:compact.",
|
|
6512
|
+
"examples": [
|
|
6513
|
+
"<%= config.bin %> <%= command.id %> fs_SESSION_ID",
|
|
6514
|
+
"<%= config.bin %> <%= command.id %> fs_SESSION_ID --json"
|
|
6515
|
+
],
|
|
6516
|
+
"flags": {
|
|
6517
|
+
"json": {
|
|
6518
|
+
"description": "Format output as json.",
|
|
6519
|
+
"helpGroup": "GLOBAL",
|
|
6520
|
+
"name": "json",
|
|
6521
|
+
"allowNo": false,
|
|
6522
|
+
"type": "boolean"
|
|
6977
6523
|
},
|
|
6978
|
-
"
|
|
6979
|
-
"description": "
|
|
6980
|
-
"
|
|
6524
|
+
"base-url": {
|
|
6525
|
+
"description": "API base URL",
|
|
6526
|
+
"env": "FACES_BASE_URL",
|
|
6527
|
+
"name": "base-url",
|
|
6981
6528
|
"hasDynamicHelp": false,
|
|
6982
6529
|
"multiple": false,
|
|
6983
6530
|
"type": "option"
|
|
6984
6531
|
},
|
|
6985
|
-
"
|
|
6986
|
-
"description": "
|
|
6987
|
-
"
|
|
6532
|
+
"token": {
|
|
6533
|
+
"description": "JWT bearer token",
|
|
6534
|
+
"env": "FACES_TOKEN",
|
|
6535
|
+
"name": "token",
|
|
6988
6536
|
"hasDynamicHelp": false,
|
|
6989
6537
|
"multiple": false,
|
|
6990
6538
|
"type": "option"
|
|
6991
6539
|
},
|
|
6992
|
-
"
|
|
6993
|
-
"description": "
|
|
6994
|
-
"
|
|
6995
|
-
"
|
|
6996
|
-
"multiple": true,
|
|
6997
|
-
"type": "option"
|
|
6998
|
-
},
|
|
6999
|
-
"model": {
|
|
7000
|
-
"description": "Only use this model (repeatable)",
|
|
7001
|
-
"name": "model",
|
|
6540
|
+
"api-key": {
|
|
6541
|
+
"description": "API key",
|
|
6542
|
+
"env": "FACES_API_KEY",
|
|
6543
|
+
"name": "api-key",
|
|
7002
6544
|
"hasDynamicHelp": false,
|
|
7003
|
-
"multiple":
|
|
6545
|
+
"multiple": false,
|
|
7004
6546
|
"type": "option"
|
|
7005
6547
|
},
|
|
7006
|
-
"
|
|
7007
|
-
"description": "
|
|
7008
|
-
"
|
|
7009
|
-
|
|
6548
|
+
"toon": {
|
|
6549
|
+
"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.",
|
|
6550
|
+
"exclusive": [
|
|
6551
|
+
"json"
|
|
6552
|
+
],
|
|
6553
|
+
"name": "toon",
|
|
6554
|
+
"allowNo": false,
|
|
7010
6555
|
"type": "boolean"
|
|
7011
6556
|
}
|
|
7012
6557
|
},
|
|
7013
6558
|
"hasDynamicHelp": false,
|
|
7014
6559
|
"hiddenAliases": [],
|
|
7015
|
-
"id": "
|
|
6560
|
+
"id": "session:compact",
|
|
7016
6561
|
"pluginAlias": "@faces-sh/cli",
|
|
7017
6562
|
"pluginName": "@faces-sh/cli",
|
|
7018
6563
|
"pluginType": "core",
|
|
@@ -7022,14 +6567,24 @@
|
|
|
7022
6567
|
"relativePath": [
|
|
7023
6568
|
"dist",
|
|
7024
6569
|
"commands",
|
|
7025
|
-
"
|
|
7026
|
-
"
|
|
6570
|
+
"session",
|
|
6571
|
+
"compact.js"
|
|
7027
6572
|
]
|
|
7028
6573
|
},
|
|
7029
|
-
"
|
|
6574
|
+
"session:create": {
|
|
7030
6575
|
"aliases": [],
|
|
7031
|
-
"args": {
|
|
7032
|
-
|
|
6576
|
+
"args": {
|
|
6577
|
+
"face": {
|
|
6578
|
+
"description": "The face alone: an alias, owner:alias, or a composite such as \"(a | b)\". No @model.",
|
|
6579
|
+
"name": "face",
|
|
6580
|
+
"required": true
|
|
6581
|
+
}
|
|
6582
|
+
},
|
|
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, causes or decide, then compact it with session:compact. Opening one is free; each turn costs what it costs without one. A session expires 30 days after its last turn. Sessions are now called states: see faces state:create.",
|
|
6584
|
+
"examples": [
|
|
6585
|
+
"<%= config.bin %> <%= command.id %> alice",
|
|
6586
|
+
"<%= config.bin %> <%= command.id %> \"(alice | bob)\" --json"
|
|
6587
|
+
],
|
|
7033
6588
|
"flags": {
|
|
7034
6589
|
"json": {
|
|
7035
6590
|
"description": "Format output as json.",
|
|
@@ -7074,7 +6629,7 @@
|
|
|
7074
6629
|
},
|
|
7075
6630
|
"hasDynamicHelp": false,
|
|
7076
6631
|
"hiddenAliases": [],
|
|
7077
|
-
"id": "
|
|
6632
|
+
"id": "session:create",
|
|
7078
6633
|
"pluginAlias": "@faces-sh/cli",
|
|
7079
6634
|
"pluginName": "@faces-sh/cli",
|
|
7080
6635
|
"pluginType": "core",
|
|
@@ -7084,20 +6639,23 @@
|
|
|
7084
6639
|
"relativePath": [
|
|
7085
6640
|
"dist",
|
|
7086
6641
|
"commands",
|
|
7087
|
-
"
|
|
7088
|
-
"
|
|
6642
|
+
"session",
|
|
6643
|
+
"create.js"
|
|
7089
6644
|
]
|
|
7090
6645
|
},
|
|
7091
|
-
"
|
|
6646
|
+
"session:get": {
|
|
7092
6647
|
"aliases": [],
|
|
7093
6648
|
"args": {
|
|
7094
|
-
"
|
|
7095
|
-
"description": "
|
|
7096
|
-
"name": "
|
|
6649
|
+
"session_id": {
|
|
6650
|
+
"description": "Session id (from session:create)",
|
|
6651
|
+
"name": "session_id",
|
|
7097
6652
|
"required": true
|
|
7098
6653
|
}
|
|
7099
6654
|
},
|
|
7100
|
-
"description": "
|
|
6655
|
+
"description": "Read a session: its face, status, how many turns it holds, and when it expires. Free. Sessions are now called states: see faces state:get.",
|
|
6656
|
+
"examples": [
|
|
6657
|
+
"<%= config.bin %> <%= command.id %> fs_SESSION_ID"
|
|
6658
|
+
],
|
|
7101
6659
|
"flags": {
|
|
7102
6660
|
"json": {
|
|
7103
6661
|
"description": "Format output as json.",
|
|
@@ -7138,17 +6696,11 @@
|
|
|
7138
6696
|
"name": "toon",
|
|
7139
6697
|
"allowNo": false,
|
|
7140
6698
|
"type": "boolean"
|
|
7141
|
-
},
|
|
7142
|
-
"yes": {
|
|
7143
|
-
"description": "Skip confirmation",
|
|
7144
|
-
"name": "yes",
|
|
7145
|
-
"allowNo": false,
|
|
7146
|
-
"type": "boolean"
|
|
7147
6699
|
}
|
|
7148
6700
|
},
|
|
7149
6701
|
"hasDynamicHelp": false,
|
|
7150
6702
|
"hiddenAliases": [],
|
|
7151
|
-
"id": "
|
|
6703
|
+
"id": "session:get",
|
|
7152
6704
|
"pluginAlias": "@faces-sh/cli",
|
|
7153
6705
|
"pluginName": "@faces-sh/cli",
|
|
7154
6706
|
"pluginType": "core",
|
|
@@ -7158,20 +6710,27 @@
|
|
|
7158
6710
|
"relativePath": [
|
|
7159
6711
|
"dist",
|
|
7160
6712
|
"commands",
|
|
7161
|
-
"
|
|
7162
|
-
"
|
|
6713
|
+
"session",
|
|
6714
|
+
"get.js"
|
|
7163
6715
|
]
|
|
7164
6716
|
},
|
|
7165
|
-
"
|
|
6717
|
+
"state:add": {
|
|
7166
6718
|
"aliases": [],
|
|
7167
6719
|
"args": {
|
|
7168
|
-
"
|
|
7169
|
-
"description": "
|
|
7170
|
-
"name": "
|
|
6720
|
+
"conversation_id": {
|
|
6721
|
+
"description": "State id (from state:create)",
|
|
6722
|
+
"name": "conversation_id",
|
|
7171
6723
|
"required": true
|
|
7172
6724
|
}
|
|
7173
6725
|
},
|
|
7174
|
-
"description": "
|
|
6726
|
+
"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.",
|
|
6727
|
+
"examples": [
|
|
6728
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --premise vendor_certified=false",
|
|
6729
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --premise rent_rises=\"no rise\" --premise-status rent_rises=invalidated",
|
|
6730
|
+
"<%= 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",
|
|
6731
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\"",
|
|
6732
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID -m \"The vendor sent their audit report.\""
|
|
6733
|
+
],
|
|
7175
6734
|
"flags": {
|
|
7176
6735
|
"json": {
|
|
7177
6736
|
"description": "Format output as json.",
|
|
@@ -7213,30 +6772,46 @@
|
|
|
7213
6772
|
"allowNo": false,
|
|
7214
6773
|
"type": "boolean"
|
|
7215
6774
|
},
|
|
7216
|
-
"
|
|
7217
|
-
"
|
|
7218
|
-
"
|
|
6775
|
+
"message": {
|
|
6776
|
+
"char": "m",
|
|
6777
|
+
"description": "A message of yours (repeatable, kept in order).",
|
|
6778
|
+
"name": "message",
|
|
7219
6779
|
"hasDynamicHelp": false,
|
|
7220
|
-
"multiple":
|
|
6780
|
+
"multiple": true,
|
|
7221
6781
|
"type": "option"
|
|
7222
6782
|
},
|
|
7223
|
-
"
|
|
7224
|
-
"description": "
|
|
7225
|
-
"name": "
|
|
6783
|
+
"premise": {
|
|
6784
|
+
"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.",
|
|
6785
|
+
"name": "premise",
|
|
7226
6786
|
"hasDynamicHelp": false,
|
|
7227
|
-
"multiple":
|
|
6787
|
+
"multiple": true,
|
|
7228
6788
|
"type": "option"
|
|
7229
6789
|
},
|
|
7230
|
-
"
|
|
7231
|
-
"description": "
|
|
7232
|
-
"name": "
|
|
7233
|
-
"
|
|
7234
|
-
"
|
|
6790
|
+
"premise-description": {
|
|
6791
|
+
"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.",
|
|
6792
|
+
"name": "premise-description",
|
|
6793
|
+
"hasDynamicHelp": false,
|
|
6794
|
+
"multiple": true,
|
|
6795
|
+
"type": "option"
|
|
6796
|
+
},
|
|
6797
|
+
"premise-status": {
|
|
6798
|
+
"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.",
|
|
6799
|
+
"name": "premise-status",
|
|
6800
|
+
"hasDynamicHelp": false,
|
|
6801
|
+
"multiple": true,
|
|
6802
|
+
"type": "option"
|
|
6803
|
+
},
|
|
6804
|
+
"premise-depends-on": {
|
|
6805
|
+
"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.",
|
|
6806
|
+
"name": "premise-depends-on",
|
|
6807
|
+
"hasDynamicHelp": false,
|
|
6808
|
+
"multiple": true,
|
|
6809
|
+
"type": "option"
|
|
7235
6810
|
}
|
|
7236
6811
|
},
|
|
7237
6812
|
"hasDynamicHelp": false,
|
|
7238
6813
|
"hiddenAliases": [],
|
|
7239
|
-
"id": "
|
|
6814
|
+
"id": "state:add",
|
|
7240
6815
|
"pluginAlias": "@faces-sh/cli",
|
|
7241
6816
|
"pluginName": "@faces-sh/cli",
|
|
7242
6817
|
"pluginType": "core",
|
|
@@ -7246,20 +6821,22 @@
|
|
|
7246
6821
|
"relativePath": [
|
|
7247
6822
|
"dist",
|
|
7248
6823
|
"commands",
|
|
7249
|
-
"
|
|
7250
|
-
"
|
|
6824
|
+
"state",
|
|
6825
|
+
"add.js"
|
|
7251
6826
|
]
|
|
7252
6827
|
},
|
|
7253
|
-
"
|
|
6828
|
+
"state:close": {
|
|
7254
6829
|
"aliases": [],
|
|
7255
|
-
"args": {
|
|
7256
|
-
|
|
6830
|
+
"args": {
|
|
6831
|
+
"conversation_id": {
|
|
6832
|
+
"description": "State id (from state:create)",
|
|
6833
|
+
"name": "conversation_id",
|
|
6834
|
+
"required": true
|
|
6835
|
+
}
|
|
6836
|
+
},
|
|
6837
|
+
"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.",
|
|
7257
6838
|
"examples": [
|
|
7258
|
-
"<%= config.bin %> <%= command.id %>"
|
|
7259
|
-
"<%= config.bin %> <%= command.id %> --kind decision",
|
|
7260
|
-
"<%= config.bin %> <%= command.id %> --kind cause,compile",
|
|
7261
|
-
"<%= config.bin %> <%= command.id %> --kind all --json",
|
|
7262
|
-
"<%= config.bin %> <%= command.id %> --provider anthropic"
|
|
6839
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --yes"
|
|
7263
6840
|
],
|
|
7264
6841
|
"flags": {
|
|
7265
6842
|
"json": {
|
|
@@ -7302,30 +6879,16 @@
|
|
|
7302
6879
|
"allowNo": false,
|
|
7303
6880
|
"type": "boolean"
|
|
7304
6881
|
},
|
|
7305
|
-
"
|
|
7306
|
-
"description": "
|
|
7307
|
-
"name": "
|
|
7308
|
-
"hasDynamicHelp": false,
|
|
7309
|
-
"multiple": false,
|
|
7310
|
-
"type": "option"
|
|
7311
|
-
},
|
|
7312
|
-
"provider": {
|
|
7313
|
-
"description": "Only models from this lab (e.g. openai, anthropic, qwen)",
|
|
7314
|
-
"name": "provider",
|
|
7315
|
-
"hasDynamicHelp": false,
|
|
7316
|
-
"multiple": false,
|
|
7317
|
-
"type": "option"
|
|
7318
|
-
},
|
|
7319
|
-
"chatgpt": {
|
|
7320
|
-
"description": "Only Codex-eligible models: the ones that run on a linked ChatGPT plan",
|
|
7321
|
-
"name": "chatgpt",
|
|
6882
|
+
"yes": {
|
|
6883
|
+
"description": "Skip confirmation",
|
|
6884
|
+
"name": "yes",
|
|
7322
6885
|
"allowNo": false,
|
|
7323
6886
|
"type": "boolean"
|
|
7324
6887
|
}
|
|
7325
6888
|
},
|
|
7326
6889
|
"hasDynamicHelp": false,
|
|
7327
6890
|
"hiddenAliases": [],
|
|
7328
|
-
"id": "
|
|
6891
|
+
"id": "state:close",
|
|
7329
6892
|
"pluginAlias": "@faces-sh/cli",
|
|
7330
6893
|
"pluginName": "@faces-sh/cli",
|
|
7331
6894
|
"pluginType": "core",
|
|
@@ -7335,22 +6898,28 @@
|
|
|
7335
6898
|
"relativePath": [
|
|
7336
6899
|
"dist",
|
|
7337
6900
|
"commands",
|
|
7338
|
-
"
|
|
7339
|
-
"
|
|
6901
|
+
"state",
|
|
6902
|
+
"close.js"
|
|
7340
6903
|
]
|
|
7341
6904
|
},
|
|
7342
|
-
"
|
|
6905
|
+
"state:compact": {
|
|
7343
6906
|
"aliases": [],
|
|
7344
6907
|
"args": {
|
|
7345
|
-
"
|
|
7346
|
-
"description": "
|
|
7347
|
-
"name": "
|
|
6908
|
+
"conversation_id": {
|
|
6909
|
+
"description": "State id (from state:create)",
|
|
6910
|
+
"name": "conversation_id",
|
|
7348
6911
|
"required": true
|
|
6912
|
+
},
|
|
6913
|
+
"face": {
|
|
6914
|
+
"description": "The face to compact, alone (no @model). Needed when the state takes any face; a state opened with one face compacts that face.",
|
|
6915
|
+
"name": "face",
|
|
6916
|
+
"required": false
|
|
7349
6917
|
}
|
|
7350
6918
|
},
|
|
7351
|
-
"description": "
|
|
6919
|
+
"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.",
|
|
7352
6920
|
"examples": [
|
|
7353
|
-
"<%= config.bin %> <%= command.id %>
|
|
6921
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID",
|
|
6922
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID alice --json"
|
|
7354
6923
|
],
|
|
7355
6924
|
"flags": {
|
|
7356
6925
|
"json": {
|
|
@@ -7392,17 +6961,11 @@
|
|
|
7392
6961
|
"name": "toon",
|
|
7393
6962
|
"allowNo": false,
|
|
7394
6963
|
"type": "boolean"
|
|
7395
|
-
},
|
|
7396
|
-
"yes": {
|
|
7397
|
-
"description": "Skip confirmation",
|
|
7398
|
-
"name": "yes",
|
|
7399
|
-
"allowNo": false,
|
|
7400
|
-
"type": "boolean"
|
|
7401
6964
|
}
|
|
7402
6965
|
},
|
|
7403
6966
|
"hasDynamicHelp": false,
|
|
7404
6967
|
"hiddenAliases": [],
|
|
7405
|
-
"id": "
|
|
6968
|
+
"id": "state:compact",
|
|
7406
6969
|
"pluginAlias": "@faces-sh/cli",
|
|
7407
6970
|
"pluginName": "@faces-sh/cli",
|
|
7408
6971
|
"pluginType": "core",
|
|
@@ -7412,23 +6975,25 @@
|
|
|
7412
6975
|
"relativePath": [
|
|
7413
6976
|
"dist",
|
|
7414
6977
|
"commands",
|
|
7415
|
-
"
|
|
7416
|
-
"
|
|
6978
|
+
"state",
|
|
6979
|
+
"compact.js"
|
|
7417
6980
|
]
|
|
7418
6981
|
},
|
|
7419
|
-
"
|
|
6982
|
+
"state:create": {
|
|
7420
6983
|
"aliases": [],
|
|
7421
6984
|
"args": {
|
|
7422
|
-
"
|
|
7423
|
-
"description": "
|
|
7424
|
-
"name": "
|
|
7425
|
-
"required":
|
|
6985
|
+
"face": {
|
|
6986
|
+
"description": "The face alone: an alias, owner:alias, or a composite such as \"(a | b)\". No @model. Leave it out for a state that takes any of your faces.",
|
|
6987
|
+
"name": "face",
|
|
6988
|
+
"required": false
|
|
7426
6989
|
}
|
|
7427
6990
|
},
|
|
7428
|
-
"description": "
|
|
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 decide or causes 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.",
|
|
7429
6992
|
"examples": [
|
|
7430
|
-
"<%= config.bin %> <%= command.id %>
|
|
7431
|
-
"<%= config.bin %> <%= command.id %>
|
|
6993
|
+
"<%= config.bin %> <%= command.id %> alice",
|
|
6994
|
+
"<%= config.bin %> <%= command.id %>",
|
|
6995
|
+
"<%= 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\""
|
|
7432
6997
|
],
|
|
7433
6998
|
"flags": {
|
|
7434
6999
|
"json": {
|
|
@@ -7470,11 +7035,53 @@
|
|
|
7470
7035
|
"name": "toon",
|
|
7471
7036
|
"allowNo": false,
|
|
7472
7037
|
"type": "boolean"
|
|
7038
|
+
},
|
|
7039
|
+
"causes-visible": {
|
|
7040
|
+
"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.",
|
|
7041
|
+
"name": "causes-visible",
|
|
7042
|
+
"allowNo": true,
|
|
7043
|
+
"type": "boolean"
|
|
7044
|
+
},
|
|
7045
|
+
"message": {
|
|
7046
|
+
"char": "m",
|
|
7047
|
+
"description": "A first message of yours (repeatable, kept in order).",
|
|
7048
|
+
"name": "message",
|
|
7049
|
+
"hasDynamicHelp": false,
|
|
7050
|
+
"multiple": true,
|
|
7051
|
+
"type": "option"
|
|
7052
|
+
},
|
|
7053
|
+
"premise": {
|
|
7054
|
+
"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.",
|
|
7055
|
+
"name": "premise",
|
|
7056
|
+
"hasDynamicHelp": false,
|
|
7057
|
+
"multiple": true,
|
|
7058
|
+
"type": "option"
|
|
7059
|
+
},
|
|
7060
|
+
"premise-description": {
|
|
7061
|
+
"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.",
|
|
7062
|
+
"name": "premise-description",
|
|
7063
|
+
"hasDynamicHelp": false,
|
|
7064
|
+
"multiple": true,
|
|
7065
|
+
"type": "option"
|
|
7066
|
+
},
|
|
7067
|
+
"premise-status": {
|
|
7068
|
+
"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.",
|
|
7069
|
+
"name": "premise-status",
|
|
7070
|
+
"hasDynamicHelp": false,
|
|
7071
|
+
"multiple": true,
|
|
7072
|
+
"type": "option"
|
|
7073
|
+
},
|
|
7074
|
+
"premise-depends-on": {
|
|
7075
|
+
"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.",
|
|
7076
|
+
"name": "premise-depends-on",
|
|
7077
|
+
"hasDynamicHelp": false,
|
|
7078
|
+
"multiple": true,
|
|
7079
|
+
"type": "option"
|
|
7473
7080
|
}
|
|
7474
7081
|
},
|
|
7475
7082
|
"hasDynamicHelp": false,
|
|
7476
7083
|
"hiddenAliases": [],
|
|
7477
|
-
"id": "
|
|
7084
|
+
"id": "state:create",
|
|
7478
7085
|
"pluginAlias": "@faces-sh/cli",
|
|
7479
7086
|
"pluginName": "@faces-sh/cli",
|
|
7480
7087
|
"pluginType": "core",
|
|
@@ -7484,23 +7091,22 @@
|
|
|
7484
7091
|
"relativePath": [
|
|
7485
7092
|
"dist",
|
|
7486
7093
|
"commands",
|
|
7487
|
-
"
|
|
7488
|
-
"
|
|
7094
|
+
"state",
|
|
7095
|
+
"create.js"
|
|
7489
7096
|
]
|
|
7490
7097
|
},
|
|
7491
|
-
"
|
|
7098
|
+
"state:get": {
|
|
7492
7099
|
"aliases": [],
|
|
7493
7100
|
"args": {
|
|
7494
|
-
"
|
|
7495
|
-
"description": "
|
|
7496
|
-
"name": "
|
|
7101
|
+
"conversation_id": {
|
|
7102
|
+
"description": "State id (from state:create)",
|
|
7103
|
+
"name": "conversation_id",
|
|
7497
7104
|
"required": true
|
|
7498
7105
|
}
|
|
7499
7106
|
},
|
|
7500
|
-
"description": "
|
|
7107
|
+
"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.",
|
|
7501
7108
|
"examples": [
|
|
7502
|
-
"<%= config.bin %> <%= command.id %>
|
|
7503
|
-
"<%= config.bin %> <%= command.id %> \"(alice | bob)\" --json"
|
|
7109
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID"
|
|
7504
7110
|
],
|
|
7505
7111
|
"flags": {
|
|
7506
7112
|
"json": {
|
|
@@ -7546,7 +7152,7 @@
|
|
|
7546
7152
|
},
|
|
7547
7153
|
"hasDynamicHelp": false,
|
|
7548
7154
|
"hiddenAliases": [],
|
|
7549
|
-
"id": "
|
|
7155
|
+
"id": "state:get",
|
|
7550
7156
|
"pluginAlias": "@faces-sh/cli",
|
|
7551
7157
|
"pluginName": "@faces-sh/cli",
|
|
7552
7158
|
"pluginType": "core",
|
|
@@ -7556,22 +7162,23 @@
|
|
|
7556
7162
|
"relativePath": [
|
|
7557
7163
|
"dist",
|
|
7558
7164
|
"commands",
|
|
7559
|
-
"
|
|
7560
|
-
"
|
|
7165
|
+
"state",
|
|
7166
|
+
"get.js"
|
|
7561
7167
|
]
|
|
7562
7168
|
},
|
|
7563
|
-
"
|
|
7169
|
+
"state:items": {
|
|
7564
7170
|
"aliases": [],
|
|
7565
7171
|
"args": {
|
|
7566
|
-
"
|
|
7567
|
-
"description": "
|
|
7568
|
-
"name": "
|
|
7172
|
+
"conversation_id": {
|
|
7173
|
+
"description": "State id (from state:create)",
|
|
7174
|
+
"name": "conversation_id",
|
|
7569
7175
|
"required": true
|
|
7570
7176
|
}
|
|
7571
7177
|
},
|
|
7572
|
-
"description": "
|
|
7178
|
+
"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.",
|
|
7573
7179
|
"examples": [
|
|
7574
|
-
"<%= config.bin %> <%= command.id %>
|
|
7180
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID",
|
|
7181
|
+
"<%= config.bin %> <%= command.id %> fs_STATE_ID --json"
|
|
7575
7182
|
],
|
|
7576
7183
|
"flags": {
|
|
7577
7184
|
"json": {
|
|
@@ -7617,7 +7224,7 @@
|
|
|
7617
7224
|
},
|
|
7618
7225
|
"hasDynamicHelp": false,
|
|
7619
7226
|
"hiddenAliases": [],
|
|
7620
|
-
"id": "
|
|
7227
|
+
"id": "state:items",
|
|
7621
7228
|
"pluginAlias": "@faces-sh/cli",
|
|
7622
7229
|
"pluginName": "@faces-sh/cli",
|
|
7623
7230
|
"pluginType": "core",
|
|
@@ -7627,8 +7234,8 @@
|
|
|
7627
7234
|
"relativePath": [
|
|
7628
7235
|
"dist",
|
|
7629
7236
|
"commands",
|
|
7630
|
-
"
|
|
7631
|
-
"
|
|
7237
|
+
"state",
|
|
7238
|
+
"items.js"
|
|
7632
7239
|
]
|
|
7633
7240
|
},
|
|
7634
7241
|
"style:delete": {
|
|
@@ -11754,5 +11361,5 @@
|
|
|
11754
11361
|
]
|
|
11755
11362
|
}
|
|
11756
11363
|
},
|
|
11757
|
-
"version": "1.0
|
|
11364
|
+
"version": "1.1.0"
|
|
11758
11365
|
}
|