@faces-sh/cli 1.0.1 → 1.0.2
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 +32 -7
- package/dist/commands/causes.d.ts +6 -2
- package/dist/commands/causes.js +11 -0
- package/dist/commands/chat/chat.d.ts +12 -7
- package/dist/commands/chat/chat.js +19 -6
- package/dist/commands/chat/messages.d.ts +10 -6
- package/dist/commands/chat/messages.js +10 -1
- package/dist/commands/chat/responses.d.ts +10 -6
- package/dist/commands/chat/responses.js +10 -1
- package/dist/commands/chat/thread.d.ts +17 -10
- package/dist/commands/chat/thread.js +20 -6
- package/dist/commands/conversation/add.d.ts +18 -0
- package/dist/commands/conversation/add.js +66 -0
- package/dist/commands/conversation/close.d.ts +16 -0
- package/dist/commands/conversation/close.js +36 -0
- package/dist/commands/conversation/compact.d.ts +16 -0
- package/dist/commands/conversation/compact.js +69 -0
- package/dist/commands/conversation/create.d.ts +19 -0
- package/dist/commands/conversation/create.js +76 -0
- package/dist/commands/conversation/get.d.ts +15 -0
- package/dist/commands/conversation/get.js +35 -0
- package/dist/commands/conversation/items.d.ts +15 -0
- package/dist/commands/conversation/items.js +45 -0
- package/dist/commands/decide.d.ts +8 -4
- package/dist/commands/decide.js +10 -0
- package/dist/commands/session/close.js +1 -1
- package/dist/commands/session/compact.js +1 -1
- package/dist/commands/session/create.js +1 -1
- package/dist/commands/session/get.js +1 -1
- package/dist/conversation.d.ts +63 -0
- package/dist/conversation.js +237 -0
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +4 -3
- package/oclif.manifest.json +708 -20
- package/package.json +4 -1
package/oclif.manifest.json
CHANGED
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"<%= config.bin %> <%= command.id %> alice --state \"A fund offers $80k to change a finding before it is published.\"",
|
|
16
16
|
"<%= config.bin %> <%= command.id %> alice --state-file situation.txt --question \"Does the speaker take the money?\"",
|
|
17
17
|
"<%= config.bin %> <%= command.id %> \"(alice | bob)\" -m \"What matters most here?\" --json",
|
|
18
|
-
"<%= config.bin %> <%= command.id %> alice -m \"So what do I tell them tomorrow?\" --compaction fcmp_COMPACTION_ID"
|
|
18
|
+
"<%= config.bin %> <%= command.id %> alice -m \"So what do I tell them tomorrow?\" --compaction fcmp_COMPACTION_ID",
|
|
19
|
+
"<%= config.bin %> <%= command.id %> alice -m \"And now?\" --conversation fs_CONVERSATION_ID --premise vendor_certified=false"
|
|
19
20
|
],
|
|
20
21
|
"flags": {
|
|
21
22
|
"json": {
|
|
@@ -178,15 +179,45 @@
|
|
|
178
179
|
"multiple": false,
|
|
179
180
|
"type": "option"
|
|
180
181
|
},
|
|
182
|
+
"conversation": {
|
|
183
|
+
"description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
|
|
184
|
+
"name": "conversation",
|
|
185
|
+
"hasDynamicHelp": false,
|
|
186
|
+
"multiple": false,
|
|
187
|
+
"type": "option"
|
|
188
|
+
},
|
|
189
|
+
"premise": {
|
|
190
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
|
|
191
|
+
"name": "premise",
|
|
192
|
+
"hasDynamicHelp": false,
|
|
193
|
+
"multiple": true,
|
|
194
|
+
"type": "option"
|
|
195
|
+
},
|
|
196
|
+
"premise-description": {
|
|
197
|
+
"dependsOn": [
|
|
198
|
+
"premise"
|
|
199
|
+
],
|
|
200
|
+
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
|
|
201
|
+
"name": "premise-description",
|
|
202
|
+
"hasDynamicHelp": false,
|
|
203
|
+
"multiple": true,
|
|
204
|
+
"type": "option"
|
|
205
|
+
},
|
|
206
|
+
"causes-visible": {
|
|
207
|
+
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
|
|
208
|
+
"name": "causes-visible",
|
|
209
|
+
"allowNo": true,
|
|
210
|
+
"type": "boolean"
|
|
211
|
+
},
|
|
181
212
|
"session": {
|
|
182
|
-
"description": "
|
|
213
|
+
"description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
|
|
183
214
|
"name": "session",
|
|
184
215
|
"hasDynamicHelp": false,
|
|
185
216
|
"multiple": false,
|
|
186
217
|
"type": "option"
|
|
187
218
|
},
|
|
188
219
|
"compaction": {
|
|
189
|
-
"description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of
|
|
220
|
+
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
190
221
|
"name": "compaction",
|
|
191
222
|
"hasDynamicHelp": false,
|
|
192
223
|
"multiple": false,
|
|
@@ -377,8 +408,50 @@
|
|
|
377
408
|
"allowNo": false,
|
|
378
409
|
"type": "boolean"
|
|
379
410
|
},
|
|
411
|
+
"conversation": {
|
|
412
|
+
"description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
|
|
413
|
+
"exclusive": [
|
|
414
|
+
"baseline"
|
|
415
|
+
],
|
|
416
|
+
"name": "conversation",
|
|
417
|
+
"hasDynamicHelp": false,
|
|
418
|
+
"multiple": false,
|
|
419
|
+
"type": "option"
|
|
420
|
+
},
|
|
421
|
+
"premise": {
|
|
422
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
|
|
423
|
+
"exclusive": [
|
|
424
|
+
"baseline"
|
|
425
|
+
],
|
|
426
|
+
"name": "premise",
|
|
427
|
+
"hasDynamicHelp": false,
|
|
428
|
+
"multiple": true,
|
|
429
|
+
"type": "option"
|
|
430
|
+
},
|
|
431
|
+
"premise-description": {
|
|
432
|
+
"dependsOn": [
|
|
433
|
+
"premise"
|
|
434
|
+
],
|
|
435
|
+
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
|
|
436
|
+
"exclusive": [
|
|
437
|
+
"baseline"
|
|
438
|
+
],
|
|
439
|
+
"name": "premise-description",
|
|
440
|
+
"hasDynamicHelp": false,
|
|
441
|
+
"multiple": true,
|
|
442
|
+
"type": "option"
|
|
443
|
+
},
|
|
444
|
+
"causes-visible": {
|
|
445
|
+
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
|
|
446
|
+
"exclusive": [
|
|
447
|
+
"baseline"
|
|
448
|
+
],
|
|
449
|
+
"name": "causes-visible",
|
|
450
|
+
"allowNo": true,
|
|
451
|
+
"type": "boolean"
|
|
452
|
+
},
|
|
380
453
|
"session": {
|
|
381
|
-
"description": "
|
|
454
|
+
"description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
|
|
382
455
|
"exclusive": [
|
|
383
456
|
"baseline"
|
|
384
457
|
],
|
|
@@ -388,7 +461,7 @@
|
|
|
388
461
|
"type": "option"
|
|
389
462
|
},
|
|
390
463
|
"compaction": {
|
|
391
|
-
"description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of
|
|
464
|
+
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
392
465
|
"exclusive": [
|
|
393
466
|
"baseline"
|
|
394
467
|
],
|
|
@@ -2159,14 +2232,15 @@
|
|
|
2159
2232
|
"required": false
|
|
2160
2233
|
}
|
|
2161
2234
|
},
|
|
2162
|
-
"description": "Chat with a face on any supported model. The face's cause steers the model's answer. Routes to the right endpoint from the model catalog. A face named without a model answers on its default model. --show-cause also prints the cause, and --cause-only asks for the cause alone, with no answer. Add --style <medium> to apply a style the face has built,
|
|
2235
|
+
"description": "Chat with a face on any supported model. The face's cause steers the model's answer. Routes to the right endpoint from the model catalog. A face named without a model answers on its default model. --show-cause also prints the cause, and --cause-only asks for the cause alone, with no answer. Add --style <medium> to apply a style the face has built, --conversation to take the turn in a conversation (see faces conversation:create), and --compaction to read a compaction.",
|
|
2163
2236
|
"examples": [
|
|
2164
2237
|
"<%= config.bin %> <%= command.id %> socrates -m \"What is virtue?\"",
|
|
2165
2238
|
"<%= config.bin %> <%= command.id %> alice -m \"Reply to the note below.\" --style email",
|
|
2166
2239
|
"<%= config.bin %> <%= command.id %> socrates -m \"Should I sign a grant I have not read?\" --show-cause",
|
|
2167
2240
|
"<%= config.bin %> <%= command.id %> socrates -m \"Should I sign a grant I have not read?\" --cause-only",
|
|
2168
2241
|
"<%= config.bin %> <%= command.id %> socrates -m \"Can you just sign it?\" --cause \"I will not sign what I have not read.\"",
|
|
2169
|
-
"<%= config.bin %> <%= command.id %> alice -m \"So what do I tell them tomorrow?\" --
|
|
2242
|
+
"<%= config.bin %> <%= command.id %> alice -m \"So what do I tell them tomorrow?\" --conversation fs_CONVERSATION_ID",
|
|
2243
|
+
"<%= config.bin %> <%= command.id %> alice -m \"Is this vendor worth a closer look?\" --conversation fs_CONVERSATION_ID --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\"",
|
|
2170
2244
|
"<%= config.bin %> <%= command.id %> \"(socrates | nietzsche)@claude-sonnet-4-6\" -m \"What is virtue?\"",
|
|
2171
2245
|
"<%= config.bin %> <%= command.id %> --formula \"socrates | nietzsche\" --llm claude-sonnet-4-6 -m \"What is virtue?\""
|
|
2172
2246
|
],
|
|
@@ -2288,15 +2362,45 @@
|
|
|
2288
2362
|
"multiple": false,
|
|
2289
2363
|
"type": "option"
|
|
2290
2364
|
},
|
|
2365
|
+
"conversation": {
|
|
2366
|
+
"description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
|
|
2367
|
+
"name": "conversation",
|
|
2368
|
+
"hasDynamicHelp": false,
|
|
2369
|
+
"multiple": false,
|
|
2370
|
+
"type": "option"
|
|
2371
|
+
},
|
|
2372
|
+
"premise": {
|
|
2373
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
|
|
2374
|
+
"name": "premise",
|
|
2375
|
+
"hasDynamicHelp": false,
|
|
2376
|
+
"multiple": true,
|
|
2377
|
+
"type": "option"
|
|
2378
|
+
},
|
|
2379
|
+
"premise-description": {
|
|
2380
|
+
"dependsOn": [
|
|
2381
|
+
"premise"
|
|
2382
|
+
],
|
|
2383
|
+
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
|
|
2384
|
+
"name": "premise-description",
|
|
2385
|
+
"hasDynamicHelp": false,
|
|
2386
|
+
"multiple": true,
|
|
2387
|
+
"type": "option"
|
|
2388
|
+
},
|
|
2389
|
+
"causes-visible": {
|
|
2390
|
+
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
|
|
2391
|
+
"name": "causes-visible",
|
|
2392
|
+
"allowNo": true,
|
|
2393
|
+
"type": "boolean"
|
|
2394
|
+
},
|
|
2291
2395
|
"session": {
|
|
2292
|
-
"description": "
|
|
2396
|
+
"description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
|
|
2293
2397
|
"name": "session",
|
|
2294
2398
|
"hasDynamicHelp": false,
|
|
2295
2399
|
"multiple": false,
|
|
2296
2400
|
"type": "option"
|
|
2297
2401
|
},
|
|
2298
2402
|
"compaction": {
|
|
2299
|
-
"description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of
|
|
2403
|
+
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
2300
2404
|
"name": "compaction",
|
|
2301
2405
|
"hasDynamicHelp": false,
|
|
2302
2406
|
"multiple": false,
|
|
@@ -2457,15 +2561,45 @@
|
|
|
2457
2561
|
"multiple": false,
|
|
2458
2562
|
"type": "option"
|
|
2459
2563
|
},
|
|
2564
|
+
"conversation": {
|
|
2565
|
+
"description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
|
|
2566
|
+
"name": "conversation",
|
|
2567
|
+
"hasDynamicHelp": false,
|
|
2568
|
+
"multiple": false,
|
|
2569
|
+
"type": "option"
|
|
2570
|
+
},
|
|
2571
|
+
"premise": {
|
|
2572
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
|
|
2573
|
+
"name": "premise",
|
|
2574
|
+
"hasDynamicHelp": false,
|
|
2575
|
+
"multiple": true,
|
|
2576
|
+
"type": "option"
|
|
2577
|
+
},
|
|
2578
|
+
"premise-description": {
|
|
2579
|
+
"dependsOn": [
|
|
2580
|
+
"premise"
|
|
2581
|
+
],
|
|
2582
|
+
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
|
|
2583
|
+
"name": "premise-description",
|
|
2584
|
+
"hasDynamicHelp": false,
|
|
2585
|
+
"multiple": true,
|
|
2586
|
+
"type": "option"
|
|
2587
|
+
},
|
|
2588
|
+
"causes-visible": {
|
|
2589
|
+
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
|
|
2590
|
+
"name": "causes-visible",
|
|
2591
|
+
"allowNo": true,
|
|
2592
|
+
"type": "boolean"
|
|
2593
|
+
},
|
|
2460
2594
|
"session": {
|
|
2461
|
-
"description": "
|
|
2595
|
+
"description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
|
|
2462
2596
|
"name": "session",
|
|
2463
2597
|
"hasDynamicHelp": false,
|
|
2464
2598
|
"multiple": false,
|
|
2465
2599
|
"type": "option"
|
|
2466
2600
|
},
|
|
2467
2601
|
"compaction": {
|
|
2468
|
-
"description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of
|
|
2602
|
+
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
2469
2603
|
"name": "compaction",
|
|
2470
2604
|
"hasDynamicHelp": false,
|
|
2471
2605
|
"multiple": false,
|
|
@@ -2618,15 +2752,45 @@
|
|
|
2618
2752
|
"multiple": false,
|
|
2619
2753
|
"type": "option"
|
|
2620
2754
|
},
|
|
2755
|
+
"conversation": {
|
|
2756
|
+
"description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face.",
|
|
2757
|
+
"name": "conversation",
|
|
2758
|
+
"hasDynamicHelp": false,
|
|
2759
|
+
"multiple": false,
|
|
2760
|
+
"type": "option"
|
|
2761
|
+
},
|
|
2762
|
+
"premise": {
|
|
2763
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation.",
|
|
2764
|
+
"name": "premise",
|
|
2765
|
+
"hasDynamicHelp": false,
|
|
2766
|
+
"multiple": true,
|
|
2767
|
+
"type": "option"
|
|
2768
|
+
},
|
|
2769
|
+
"premise-description": {
|
|
2770
|
+
"dependsOn": [
|
|
2771
|
+
"premise"
|
|
2772
|
+
],
|
|
2773
|
+
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
|
|
2774
|
+
"name": "premise-description",
|
|
2775
|
+
"hasDynamicHelp": false,
|
|
2776
|
+
"multiple": true,
|
|
2777
|
+
"type": "option"
|
|
2778
|
+
},
|
|
2779
|
+
"causes-visible": {
|
|
2780
|
+
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation.",
|
|
2781
|
+
"name": "causes-visible",
|
|
2782
|
+
"allowNo": true,
|
|
2783
|
+
"type": "boolean"
|
|
2784
|
+
},
|
|
2621
2785
|
"session": {
|
|
2622
|
-
"description": "
|
|
2786
|
+
"description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face.",
|
|
2623
2787
|
"name": "session",
|
|
2624
2788
|
"hasDynamicHelp": false,
|
|
2625
2789
|
"multiple": false,
|
|
2626
2790
|
"type": "option"
|
|
2627
2791
|
},
|
|
2628
2792
|
"compaction": {
|
|
2629
|
-
"description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of
|
|
2793
|
+
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face.",
|
|
2630
2794
|
"name": "compaction",
|
|
2631
2795
|
"hasDynamicHelp": false,
|
|
2632
2796
|
"multiple": false,
|
|
@@ -2806,15 +2970,45 @@
|
|
|
2806
2970
|
"multiple": false,
|
|
2807
2971
|
"type": "option"
|
|
2808
2972
|
},
|
|
2973
|
+
"conversation": {
|
|
2974
|
+
"description": "Add this turn to a conversation, by id (from faces conversation:create). Send only the new message: the conversation so far is read before it. A conversation opened with one face takes only that face. For this turn only. Only the new message is sent: the conversation holds the rest.",
|
|
2975
|
+
"name": "conversation",
|
|
2976
|
+
"hasDynamicHelp": false,
|
|
2977
|
+
"multiple": false,
|
|
2978
|
+
"type": "option"
|
|
2979
|
+
},
|
|
2980
|
+
"premise": {
|
|
2981
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description. Needs --conversation. For this turn only. Only the new message is sent: the conversation holds the rest.",
|
|
2982
|
+
"name": "premise",
|
|
2983
|
+
"hasDynamicHelp": false,
|
|
2984
|
+
"multiple": true,
|
|
2985
|
+
"type": "option"
|
|
2986
|
+
},
|
|
2987
|
+
"premise-description": {
|
|
2988
|
+
"dependsOn": [
|
|
2989
|
+
"premise"
|
|
2990
|
+
],
|
|
2991
|
+
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that. For this turn only. Only the new message is sent: the conversation holds the rest.",
|
|
2992
|
+
"name": "premise-description",
|
|
2993
|
+
"hasDynamicHelp": false,
|
|
2994
|
+
"multiple": true,
|
|
2995
|
+
"type": "option"
|
|
2996
|
+
},
|
|
2997
|
+
"causes-visible": {
|
|
2998
|
+
"description": "Whether the face reads the other faces' causes on this turn, in a conversation with several faces. Leave it out to follow the conversation (see faces conversation:create --no-causes-visible). Needs --conversation. For this turn only. Only the new message is sent: the conversation holds the rest.",
|
|
2999
|
+
"name": "causes-visible",
|
|
3000
|
+
"allowNo": true,
|
|
3001
|
+
"type": "boolean"
|
|
3002
|
+
},
|
|
2809
3003
|
"session": {
|
|
2810
|
-
"description": "
|
|
3004
|
+
"description": "The old name for --conversation, still accepted: add this turn to a session (a conversation), by id (from faces session:create or conversation:create). The session must be with this face. For this turn only.",
|
|
2811
3005
|
"name": "session",
|
|
2812
3006
|
"hasDynamicHelp": false,
|
|
2813
3007
|
"multiple": false,
|
|
2814
3008
|
"type": "option"
|
|
2815
3009
|
},
|
|
2816
3010
|
"compaction": {
|
|
2817
|
-
"description": "Read a compaction, by id (from faces session:compact), alongside the messages sent. It must be of
|
|
3011
|
+
"description": "Read a compaction, by id (from faces conversation:compact or session:compact), alongside the messages sent. It must be of this face. For this turn only.",
|
|
2818
3012
|
"name": "compaction",
|
|
2819
3013
|
"hasDynamicHelp": false,
|
|
2820
3014
|
"multiple": false,
|
|
@@ -3556,6 +3750,500 @@
|
|
|
3556
3750
|
"show.js"
|
|
3557
3751
|
]
|
|
3558
3752
|
},
|
|
3753
|
+
"conversation:add": {
|
|
3754
|
+
"aliases": [],
|
|
3755
|
+
"args": {
|
|
3756
|
+
"conversation_id": {
|
|
3757
|
+
"description": "Conversation id (from conversation:create)",
|
|
3758
|
+
"name": "conversation_id",
|
|
3759
|
+
"required": true
|
|
3760
|
+
}
|
|
3761
|
+
},
|
|
3762
|
+
"description": "Add your own messages and premises to a conversation, without a face answering. Premises go in first, then messages. A newer value of a key replaces it from here on, and every earlier decision made while that key held a different value is listed, so you can choose which to ask again: nothing is decided again for you. At most 20 at a time. Free.",
|
|
3763
|
+
"examples": [
|
|
3764
|
+
"<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID --premise vendor_certified=false",
|
|
3765
|
+
"<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\"",
|
|
3766
|
+
"<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID -m \"The vendor sent their audit report.\""
|
|
3767
|
+
],
|
|
3768
|
+
"flags": {
|
|
3769
|
+
"json": {
|
|
3770
|
+
"description": "Format output as json.",
|
|
3771
|
+
"helpGroup": "GLOBAL",
|
|
3772
|
+
"name": "json",
|
|
3773
|
+
"allowNo": false,
|
|
3774
|
+
"type": "boolean"
|
|
3775
|
+
},
|
|
3776
|
+
"base-url": {
|
|
3777
|
+
"description": "API base URL",
|
|
3778
|
+
"env": "FACES_BASE_URL",
|
|
3779
|
+
"name": "base-url",
|
|
3780
|
+
"hasDynamicHelp": false,
|
|
3781
|
+
"multiple": false,
|
|
3782
|
+
"type": "option"
|
|
3783
|
+
},
|
|
3784
|
+
"token": {
|
|
3785
|
+
"description": "JWT bearer token",
|
|
3786
|
+
"env": "FACES_TOKEN",
|
|
3787
|
+
"name": "token",
|
|
3788
|
+
"hasDynamicHelp": false,
|
|
3789
|
+
"multiple": false,
|
|
3790
|
+
"type": "option"
|
|
3791
|
+
},
|
|
3792
|
+
"api-key": {
|
|
3793
|
+
"description": "API key",
|
|
3794
|
+
"env": "FACES_API_KEY",
|
|
3795
|
+
"name": "api-key",
|
|
3796
|
+
"hasDynamicHelp": false,
|
|
3797
|
+
"multiple": false,
|
|
3798
|
+
"type": "option"
|
|
3799
|
+
},
|
|
3800
|
+
"toon": {
|
|
3801
|
+
"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.",
|
|
3802
|
+
"exclusive": [
|
|
3803
|
+
"json"
|
|
3804
|
+
],
|
|
3805
|
+
"name": "toon",
|
|
3806
|
+
"allowNo": false,
|
|
3807
|
+
"type": "boolean"
|
|
3808
|
+
},
|
|
3809
|
+
"message": {
|
|
3810
|
+
"char": "m",
|
|
3811
|
+
"description": "A message of yours (repeatable, kept in order).",
|
|
3812
|
+
"name": "message",
|
|
3813
|
+
"hasDynamicHelp": false,
|
|
3814
|
+
"multiple": true,
|
|
3815
|
+
"type": "option"
|
|
3816
|
+
},
|
|
3817
|
+
"premise": {
|
|
3818
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description.",
|
|
3819
|
+
"name": "premise",
|
|
3820
|
+
"hasDynamicHelp": false,
|
|
3821
|
+
"multiple": true,
|
|
3822
|
+
"type": "option"
|
|
3823
|
+
},
|
|
3824
|
+
"premise-description": {
|
|
3825
|
+
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
|
|
3826
|
+
"name": "premise-description",
|
|
3827
|
+
"hasDynamicHelp": false,
|
|
3828
|
+
"multiple": true,
|
|
3829
|
+
"type": "option"
|
|
3830
|
+
}
|
|
3831
|
+
},
|
|
3832
|
+
"hasDynamicHelp": false,
|
|
3833
|
+
"hiddenAliases": [],
|
|
3834
|
+
"id": "conversation:add",
|
|
3835
|
+
"pluginAlias": "@faces-sh/cli",
|
|
3836
|
+
"pluginName": "@faces-sh/cli",
|
|
3837
|
+
"pluginType": "core",
|
|
3838
|
+
"strict": true,
|
|
3839
|
+
"enableJsonFlag": true,
|
|
3840
|
+
"isESM": true,
|
|
3841
|
+
"relativePath": [
|
|
3842
|
+
"dist",
|
|
3843
|
+
"commands",
|
|
3844
|
+
"conversation",
|
|
3845
|
+
"add.js"
|
|
3846
|
+
]
|
|
3847
|
+
},
|
|
3848
|
+
"conversation:close": {
|
|
3849
|
+
"aliases": [],
|
|
3850
|
+
"args": {
|
|
3851
|
+
"conversation_id": {
|
|
3852
|
+
"description": "Conversation id (from conversation:create)",
|
|
3853
|
+
"name": "conversation_id",
|
|
3854
|
+
"required": true
|
|
3855
|
+
}
|
|
3856
|
+
},
|
|
3857
|
+
"description": "Close a conversation. A closed conversation takes no more turns and cannot be read or compacted. Its compactions stay usable until they expire. Free.",
|
|
3858
|
+
"examples": [
|
|
3859
|
+
"<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID --yes"
|
|
3860
|
+
],
|
|
3861
|
+
"flags": {
|
|
3862
|
+
"json": {
|
|
3863
|
+
"description": "Format output as json.",
|
|
3864
|
+
"helpGroup": "GLOBAL",
|
|
3865
|
+
"name": "json",
|
|
3866
|
+
"allowNo": false,
|
|
3867
|
+
"type": "boolean"
|
|
3868
|
+
},
|
|
3869
|
+
"base-url": {
|
|
3870
|
+
"description": "API base URL",
|
|
3871
|
+
"env": "FACES_BASE_URL",
|
|
3872
|
+
"name": "base-url",
|
|
3873
|
+
"hasDynamicHelp": false,
|
|
3874
|
+
"multiple": false,
|
|
3875
|
+
"type": "option"
|
|
3876
|
+
},
|
|
3877
|
+
"token": {
|
|
3878
|
+
"description": "JWT bearer token",
|
|
3879
|
+
"env": "FACES_TOKEN",
|
|
3880
|
+
"name": "token",
|
|
3881
|
+
"hasDynamicHelp": false,
|
|
3882
|
+
"multiple": false,
|
|
3883
|
+
"type": "option"
|
|
3884
|
+
},
|
|
3885
|
+
"api-key": {
|
|
3886
|
+
"description": "API key",
|
|
3887
|
+
"env": "FACES_API_KEY",
|
|
3888
|
+
"name": "api-key",
|
|
3889
|
+
"hasDynamicHelp": false,
|
|
3890
|
+
"multiple": false,
|
|
3891
|
+
"type": "option"
|
|
3892
|
+
},
|
|
3893
|
+
"toon": {
|
|
3894
|
+
"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
|
+
"exclusive": [
|
|
3896
|
+
"json"
|
|
3897
|
+
],
|
|
3898
|
+
"name": "toon",
|
|
3899
|
+
"allowNo": false,
|
|
3900
|
+
"type": "boolean"
|
|
3901
|
+
},
|
|
3902
|
+
"yes": {
|
|
3903
|
+
"description": "Skip confirmation",
|
|
3904
|
+
"name": "yes",
|
|
3905
|
+
"allowNo": false,
|
|
3906
|
+
"type": "boolean"
|
|
3907
|
+
}
|
|
3908
|
+
},
|
|
3909
|
+
"hasDynamicHelp": false,
|
|
3910
|
+
"hiddenAliases": [],
|
|
3911
|
+
"id": "conversation:close",
|
|
3912
|
+
"pluginAlias": "@faces-sh/cli",
|
|
3913
|
+
"pluginName": "@faces-sh/cli",
|
|
3914
|
+
"pluginType": "core",
|
|
3915
|
+
"strict": true,
|
|
3916
|
+
"enableJsonFlag": true,
|
|
3917
|
+
"isESM": true,
|
|
3918
|
+
"relativePath": [
|
|
3919
|
+
"dist",
|
|
3920
|
+
"commands",
|
|
3921
|
+
"conversation",
|
|
3922
|
+
"close.js"
|
|
3923
|
+
]
|
|
3924
|
+
},
|
|
3925
|
+
"conversation:compact": {
|
|
3926
|
+
"aliases": [],
|
|
3927
|
+
"args": {
|
|
3928
|
+
"conversation_id": {
|
|
3929
|
+
"description": "Conversation id (from conversation:create)",
|
|
3930
|
+
"name": "conversation_id",
|
|
3931
|
+
"required": true
|
|
3932
|
+
},
|
|
3933
|
+
"face": {
|
|
3934
|
+
"description": "The face to compact, alone (no @model). Needed when the conversation takes any face; a conversation opened with one face compacts that face.",
|
|
3935
|
+
"name": "face",
|
|
3936
|
+
"required": false
|
|
3937
|
+
}
|
|
3938
|
+
},
|
|
3939
|
+
"description": "Compact a conversation: a summary of one face's position over the conversation, in the face's own terms, stored under a compaction id. Pass that id with --compaction on a later request with the same face. A conversation that takes any face needs the face named. Billed at the cause rate on the tokens it reads and writes; on Connect and Pro it counts against the cause allowance. A failed compaction is not charged. A compaction expires 30 days after it is written.",
|
|
3940
|
+
"examples": [
|
|
3941
|
+
"<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID",
|
|
3942
|
+
"<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID alice --json"
|
|
3943
|
+
],
|
|
3944
|
+
"flags": {
|
|
3945
|
+
"json": {
|
|
3946
|
+
"description": "Format output as json.",
|
|
3947
|
+
"helpGroup": "GLOBAL",
|
|
3948
|
+
"name": "json",
|
|
3949
|
+
"allowNo": false,
|
|
3950
|
+
"type": "boolean"
|
|
3951
|
+
},
|
|
3952
|
+
"base-url": {
|
|
3953
|
+
"description": "API base URL",
|
|
3954
|
+
"env": "FACES_BASE_URL",
|
|
3955
|
+
"name": "base-url",
|
|
3956
|
+
"hasDynamicHelp": false,
|
|
3957
|
+
"multiple": false,
|
|
3958
|
+
"type": "option"
|
|
3959
|
+
},
|
|
3960
|
+
"token": {
|
|
3961
|
+
"description": "JWT bearer token",
|
|
3962
|
+
"env": "FACES_TOKEN",
|
|
3963
|
+
"name": "token",
|
|
3964
|
+
"hasDynamicHelp": false,
|
|
3965
|
+
"multiple": false,
|
|
3966
|
+
"type": "option"
|
|
3967
|
+
},
|
|
3968
|
+
"api-key": {
|
|
3969
|
+
"description": "API key",
|
|
3970
|
+
"env": "FACES_API_KEY",
|
|
3971
|
+
"name": "api-key",
|
|
3972
|
+
"hasDynamicHelp": false,
|
|
3973
|
+
"multiple": false,
|
|
3974
|
+
"type": "option"
|
|
3975
|
+
},
|
|
3976
|
+
"toon": {
|
|
3977
|
+
"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.",
|
|
3978
|
+
"exclusive": [
|
|
3979
|
+
"json"
|
|
3980
|
+
],
|
|
3981
|
+
"name": "toon",
|
|
3982
|
+
"allowNo": false,
|
|
3983
|
+
"type": "boolean"
|
|
3984
|
+
}
|
|
3985
|
+
},
|
|
3986
|
+
"hasDynamicHelp": false,
|
|
3987
|
+
"hiddenAliases": [],
|
|
3988
|
+
"id": "conversation:compact",
|
|
3989
|
+
"pluginAlias": "@faces-sh/cli",
|
|
3990
|
+
"pluginName": "@faces-sh/cli",
|
|
3991
|
+
"pluginType": "core",
|
|
3992
|
+
"strict": true,
|
|
3993
|
+
"enableJsonFlag": true,
|
|
3994
|
+
"isESM": true,
|
|
3995
|
+
"relativePath": [
|
|
3996
|
+
"dist",
|
|
3997
|
+
"commands",
|
|
3998
|
+
"conversation",
|
|
3999
|
+
"compact.js"
|
|
4000
|
+
]
|
|
4001
|
+
},
|
|
4002
|
+
"conversation:create": {
|
|
4003
|
+
"aliases": [],
|
|
4004
|
+
"args": {
|
|
4005
|
+
"face": {
|
|
4006
|
+
"description": "The face alone: an alias, owner:alias, or a composite such as \"(a | b)\". No @model. Leave it out for a conversation that takes any of your faces.",
|
|
4007
|
+
"name": "face",
|
|
4008
|
+
"required": false
|
|
4009
|
+
}
|
|
4010
|
+
},
|
|
4011
|
+
"description": "Start a conversation. The server keeps the whole conversation: your messages, each face's reply with its cause, decisions, and premises (named facts you declare). Pass its id with --conversation on chat, causes or decide and send only what is new. Name a face and the conversation takes that face only; leave it out and it takes any of your faces. Opening one is free; each turn costs what it costs without one. A conversation expires 30 days after it was last used.",
|
|
4012
|
+
"examples": [
|
|
4013
|
+
"<%= config.bin %> <%= command.id %> alice",
|
|
4014
|
+
"<%= config.bin %> <%= command.id %>",
|
|
4015
|
+
"<%= config.bin %> <%= command.id %> --no-causes-visible --json",
|
|
4016
|
+
"<%= config.bin %> <%= command.id %> alice --premise budget_usd=50000 --premise-description budget_usd=\"the most we can spend this year\""
|
|
4017
|
+
],
|
|
4018
|
+
"flags": {
|
|
4019
|
+
"json": {
|
|
4020
|
+
"description": "Format output as json.",
|
|
4021
|
+
"helpGroup": "GLOBAL",
|
|
4022
|
+
"name": "json",
|
|
4023
|
+
"allowNo": false,
|
|
4024
|
+
"type": "boolean"
|
|
4025
|
+
},
|
|
4026
|
+
"base-url": {
|
|
4027
|
+
"description": "API base URL",
|
|
4028
|
+
"env": "FACES_BASE_URL",
|
|
4029
|
+
"name": "base-url",
|
|
4030
|
+
"hasDynamicHelp": false,
|
|
4031
|
+
"multiple": false,
|
|
4032
|
+
"type": "option"
|
|
4033
|
+
},
|
|
4034
|
+
"token": {
|
|
4035
|
+
"description": "JWT bearer token",
|
|
4036
|
+
"env": "FACES_TOKEN",
|
|
4037
|
+
"name": "token",
|
|
4038
|
+
"hasDynamicHelp": false,
|
|
4039
|
+
"multiple": false,
|
|
4040
|
+
"type": "option"
|
|
4041
|
+
},
|
|
4042
|
+
"api-key": {
|
|
4043
|
+
"description": "API key",
|
|
4044
|
+
"env": "FACES_API_KEY",
|
|
4045
|
+
"name": "api-key",
|
|
4046
|
+
"hasDynamicHelp": false,
|
|
4047
|
+
"multiple": false,
|
|
4048
|
+
"type": "option"
|
|
4049
|
+
},
|
|
4050
|
+
"toon": {
|
|
4051
|
+
"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.",
|
|
4052
|
+
"exclusive": [
|
|
4053
|
+
"json"
|
|
4054
|
+
],
|
|
4055
|
+
"name": "toon",
|
|
4056
|
+
"allowNo": false,
|
|
4057
|
+
"type": "boolean"
|
|
4058
|
+
},
|
|
4059
|
+
"causes-visible": {
|
|
4060
|
+
"description": "Whether each face reads the other faces' causes. On by default; --no-causes-visible keeps each face to its own. Matters only in a conversation with several faces.",
|
|
4061
|
+
"name": "causes-visible",
|
|
4062
|
+
"allowNo": true,
|
|
4063
|
+
"type": "boolean"
|
|
4064
|
+
},
|
|
4065
|
+
"message": {
|
|
4066
|
+
"char": "m",
|
|
4067
|
+
"description": "A first message of yours (repeatable, kept in order).",
|
|
4068
|
+
"name": "message",
|
|
4069
|
+
"hasDynamicHelp": false,
|
|
4070
|
+
"multiple": true,
|
|
4071
|
+
"type": "option"
|
|
4072
|
+
},
|
|
4073
|
+
"premise": {
|
|
4074
|
+
"description": "A premise, as key=value (repeatable): a named fact the face's answers depend on, kept on the conversation. The key is 1 to 64 letters, digits, _ or -. The value is read as JSON when it is JSON (50000, true, null, [\"a\",\"b\"], {\"max\":3}) and as text otherwise, so plan=annual is the text \"annual\". Quote it to keep a number as text: --premise 'code=\"007\"'. A newer value of a key replaces it from then on. A key used for the first time needs --premise-description.",
|
|
4075
|
+
"name": "premise",
|
|
4076
|
+
"hasDynamicHelp": false,
|
|
4077
|
+
"multiple": true,
|
|
4078
|
+
"type": "option"
|
|
4079
|
+
},
|
|
4080
|
+
"premise-description": {
|
|
4081
|
+
"description": "What a --premise means, in plain words, as key=\"text\" (repeatable, one per key), e.g. --premise-description budget_usd=\"the most we can spend this year\". Required the first time a key is used in a conversation, and kept after that.",
|
|
4082
|
+
"name": "premise-description",
|
|
4083
|
+
"hasDynamicHelp": false,
|
|
4084
|
+
"multiple": true,
|
|
4085
|
+
"type": "option"
|
|
4086
|
+
}
|
|
4087
|
+
},
|
|
4088
|
+
"hasDynamicHelp": false,
|
|
4089
|
+
"hiddenAliases": [],
|
|
4090
|
+
"id": "conversation:create",
|
|
4091
|
+
"pluginAlias": "@faces-sh/cli",
|
|
4092
|
+
"pluginName": "@faces-sh/cli",
|
|
4093
|
+
"pluginType": "core",
|
|
4094
|
+
"strict": true,
|
|
4095
|
+
"enableJsonFlag": true,
|
|
4096
|
+
"isESM": true,
|
|
4097
|
+
"relativePath": [
|
|
4098
|
+
"dist",
|
|
4099
|
+
"commands",
|
|
4100
|
+
"conversation",
|
|
4101
|
+
"create.js"
|
|
4102
|
+
]
|
|
4103
|
+
},
|
|
4104
|
+
"conversation:get": {
|
|
4105
|
+
"aliases": [],
|
|
4106
|
+
"args": {
|
|
4107
|
+
"conversation_id": {
|
|
4108
|
+
"description": "Conversation id (from conversation:create)",
|
|
4109
|
+
"name": "conversation_id",
|
|
4110
|
+
"required": true
|
|
4111
|
+
}
|
|
4112
|
+
},
|
|
4113
|
+
"description": "Read a conversation: its face (or any), status, how many turns and items it holds, whether faces read each other's causes, and when it expires. Free. See its items with faces conversation:items.",
|
|
4114
|
+
"examples": [
|
|
4115
|
+
"<%= config.bin %> <%= command.id %> fs_CONVERSATION_ID"
|
|
4116
|
+
],
|
|
4117
|
+
"flags": {
|
|
4118
|
+
"json": {
|
|
4119
|
+
"description": "Format output as json.",
|
|
4120
|
+
"helpGroup": "GLOBAL",
|
|
4121
|
+
"name": "json",
|
|
4122
|
+
"allowNo": false,
|
|
4123
|
+
"type": "boolean"
|
|
4124
|
+
},
|
|
4125
|
+
"base-url": {
|
|
4126
|
+
"description": "API base URL",
|
|
4127
|
+
"env": "FACES_BASE_URL",
|
|
4128
|
+
"name": "base-url",
|
|
4129
|
+
"hasDynamicHelp": false,
|
|
4130
|
+
"multiple": false,
|
|
4131
|
+
"type": "option"
|
|
4132
|
+
},
|
|
4133
|
+
"token": {
|
|
4134
|
+
"description": "JWT bearer token",
|
|
4135
|
+
"env": "FACES_TOKEN",
|
|
4136
|
+
"name": "token",
|
|
4137
|
+
"hasDynamicHelp": false,
|
|
4138
|
+
"multiple": false,
|
|
4139
|
+
"type": "option"
|
|
4140
|
+
},
|
|
4141
|
+
"api-key": {
|
|
4142
|
+
"description": "API key",
|
|
4143
|
+
"env": "FACES_API_KEY",
|
|
4144
|
+
"name": "api-key",
|
|
4145
|
+
"hasDynamicHelp": false,
|
|
4146
|
+
"multiple": false,
|
|
4147
|
+
"type": "option"
|
|
4148
|
+
},
|
|
4149
|
+
"toon": {
|
|
4150
|
+
"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.",
|
|
4151
|
+
"exclusive": [
|
|
4152
|
+
"json"
|
|
4153
|
+
],
|
|
4154
|
+
"name": "toon",
|
|
4155
|
+
"allowNo": false,
|
|
4156
|
+
"type": "boolean"
|
|
4157
|
+
}
|
|
4158
|
+
},
|
|
4159
|
+
"hasDynamicHelp": false,
|
|
4160
|
+
"hiddenAliases": [],
|
|
4161
|
+
"id": "conversation:get",
|
|
4162
|
+
"pluginAlias": "@faces-sh/cli",
|
|
4163
|
+
"pluginName": "@faces-sh/cli",
|
|
4164
|
+
"pluginType": "core",
|
|
4165
|
+
"strict": true,
|
|
4166
|
+
"enableJsonFlag": true,
|
|
4167
|
+
"isESM": true,
|
|
4168
|
+
"relativePath": [
|
|
4169
|
+
"dist",
|
|
4170
|
+
"commands",
|
|
4171
|
+
"conversation",
|
|
4172
|
+
"get.js"
|
|
4173
|
+
]
|
|
4174
|
+
},
|
|
4175
|
+
"conversation:items": {
|
|
4176
|
+
"aliases": [],
|
|
4177
|
+
"args": {
|
|
4178
|
+
"conversation_id": {
|
|
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
|
+
],
|
|
4189
|
+
"flags": {
|
|
4190
|
+
"json": {
|
|
4191
|
+
"description": "Format output as json.",
|
|
4192
|
+
"helpGroup": "GLOBAL",
|
|
4193
|
+
"name": "json",
|
|
4194
|
+
"allowNo": false,
|
|
4195
|
+
"type": "boolean"
|
|
4196
|
+
},
|
|
4197
|
+
"base-url": {
|
|
4198
|
+
"description": "API base URL",
|
|
4199
|
+
"env": "FACES_BASE_URL",
|
|
4200
|
+
"name": "base-url",
|
|
4201
|
+
"hasDynamicHelp": false,
|
|
4202
|
+
"multiple": false,
|
|
4203
|
+
"type": "option"
|
|
4204
|
+
},
|
|
4205
|
+
"token": {
|
|
4206
|
+
"description": "JWT bearer token",
|
|
4207
|
+
"env": "FACES_TOKEN",
|
|
4208
|
+
"name": "token",
|
|
4209
|
+
"hasDynamicHelp": false,
|
|
4210
|
+
"multiple": false,
|
|
4211
|
+
"type": "option"
|
|
4212
|
+
},
|
|
4213
|
+
"api-key": {
|
|
4214
|
+
"description": "API key",
|
|
4215
|
+
"env": "FACES_API_KEY",
|
|
4216
|
+
"name": "api-key",
|
|
4217
|
+
"hasDynamicHelp": false,
|
|
4218
|
+
"multiple": false,
|
|
4219
|
+
"type": "option"
|
|
4220
|
+
},
|
|
4221
|
+
"toon": {
|
|
4222
|
+
"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.",
|
|
4223
|
+
"exclusive": [
|
|
4224
|
+
"json"
|
|
4225
|
+
],
|
|
4226
|
+
"name": "toon",
|
|
4227
|
+
"allowNo": false,
|
|
4228
|
+
"type": "boolean"
|
|
4229
|
+
}
|
|
4230
|
+
},
|
|
4231
|
+
"hasDynamicHelp": false,
|
|
4232
|
+
"hiddenAliases": [],
|
|
4233
|
+
"id": "conversation:items",
|
|
4234
|
+
"pluginAlias": "@faces-sh/cli",
|
|
4235
|
+
"pluginName": "@faces-sh/cli",
|
|
4236
|
+
"pluginType": "core",
|
|
4237
|
+
"strict": true,
|
|
4238
|
+
"enableJsonFlag": true,
|
|
4239
|
+
"isESM": true,
|
|
4240
|
+
"relativePath": [
|
|
4241
|
+
"dist",
|
|
4242
|
+
"commands",
|
|
4243
|
+
"conversation",
|
|
4244
|
+
"items.js"
|
|
4245
|
+
]
|
|
4246
|
+
},
|
|
3559
4247
|
"face:attributes": {
|
|
3560
4248
|
"aliases": [],
|
|
3561
4249
|
"args": {},
|
|
@@ -6660,7 +7348,7 @@
|
|
|
6660
7348
|
"required": true
|
|
6661
7349
|
}
|
|
6662
7350
|
},
|
|
6663
|
-
"description": "Close a session. A closed session takes no more turns and cannot be compacted or read. Its compactions stay usable until they expire. Free.",
|
|
7351
|
+
"description": "Close a session. A closed session takes no more turns and cannot be compacted or read. Its compactions stay usable until they expire. Free. Sessions are now called conversations: see faces conversation:close.",
|
|
6664
7352
|
"examples": [
|
|
6665
7353
|
"<%= config.bin %> <%= command.id %> fs_SESSION_ID --yes"
|
|
6666
7354
|
],
|
|
@@ -6737,7 +7425,7 @@
|
|
|
6737
7425
|
"required": true
|
|
6738
7426
|
}
|
|
6739
7427
|
},
|
|
6740
|
-
"description": "Compact a session: a summary of the face's position over the session, in the face's own terms, stored under a compaction id. Pass that id with --compaction on a later request with the same face, and send only the messages you still want read. Billed at the cause rate on the tokens it reads and writes; on Connect and Pro it counts against the cause allowance. A failed compaction is not charged. A compaction expires 30 days after it is written.",
|
|
7428
|
+
"description": "Compact a session: a summary of the face's position over the session, in the face's own terms, stored under a compaction id. Pass that id with --compaction on a later request with the same face, and send only the messages you still want read. Billed at the cause rate on the tokens it reads and writes; on Connect and Pro it counts against the cause allowance. A failed compaction is not charged. A compaction expires 30 days after it is written. Sessions are now called conversations: see faces conversation:compact.",
|
|
6741
7429
|
"examples": [
|
|
6742
7430
|
"<%= config.bin %> <%= command.id %> fs_SESSION_ID",
|
|
6743
7431
|
"<%= config.bin %> <%= command.id %> fs_SESSION_ID --json"
|
|
@@ -6809,7 +7497,7 @@
|
|
|
6809
7497
|
"required": true
|
|
6810
7498
|
}
|
|
6811
7499
|
},
|
|
6812
|
-
"description": "Start a session with a face. A session groups the turns of one conversation with one face: pass its id with --session on chat, causes or decide, then compact it with session:compact. Opening one is free; each turn costs what it costs without one. A session expires 30 days after its last turn.",
|
|
7500
|
+
"description": "Start a session with a face. A session groups the turns of one conversation with one face: pass its id with --session on chat, causes or decide, then compact it with session:compact. Opening one is free; each turn costs what it costs without one. A session expires 30 days after its last turn. Sessions are now called conversations: see faces conversation:create.",
|
|
6813
7501
|
"examples": [
|
|
6814
7502
|
"<%= config.bin %> <%= command.id %> alice",
|
|
6815
7503
|
"<%= config.bin %> <%= command.id %> \"(alice | bob)\" --json"
|
|
@@ -6881,7 +7569,7 @@
|
|
|
6881
7569
|
"required": true
|
|
6882
7570
|
}
|
|
6883
7571
|
},
|
|
6884
|
-
"description": "Read a session: its face, status, how many turns it holds, and when it expires. Free.",
|
|
7572
|
+
"description": "Read a session: its face, status, how many turns it holds, and when it expires. Free. Sessions are now called conversations: see faces conversation:get.",
|
|
6885
7573
|
"examples": [
|
|
6886
7574
|
"<%= config.bin %> <%= command.id %> fs_SESSION_ID"
|
|
6887
7575
|
],
|
|
@@ -11066,5 +11754,5 @@
|
|
|
11066
11754
|
]
|
|
11067
11755
|
}
|
|
11068
11756
|
},
|
|
11069
|
-
"version": "1.0.
|
|
11757
|
+
"version": "1.0.2"
|
|
11070
11758
|
}
|