@wirecat/cli-base 0.25.0 → 0.27.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 +8 -2
- package/dist/dev/lint.d.ts +4 -1
- package/dist/dev/lint.d.ts.map +1 -1
- package/dist/dev/lint.js +16 -2
- package/dist/dev/lint.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/logging.d.ts +24 -2
- package/dist/logging.d.ts.map +1 -1
- package/dist/logging.js +40 -12
- package/dist/logging.js.map +1 -1
- package/dist/query/dates.d.ts +2 -2
- package/dist/query/dates.d.ts.map +1 -1
- package/dist/query/dates.js +2 -2
- package/dist/query/dates.js.map +1 -1
- package/dist/query/evaluate.js +5 -5
- package/dist/query/evaluate.js.map +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/query/index.d.ts.map +1 -1
- package/dist/query/index.js +1 -1
- package/dist/query/index.js.map +1 -1
- package/dist/query/parser.js +7 -7
- package/dist/query/parser.js.map +1 -1
- package/dist/query/types.d.ts +11 -3
- package/dist/query/types.d.ts.map +1 -1
- package/dist/query/types.js +27 -0
- package/dist/query/types.js.map +1 -1
- package/dist/standards/index.d.ts +1 -1
- package/dist/standards/index.d.ts.map +1 -1
- package/dist/standards/index.js +1 -1
- package/dist/standards/index.js.map +1 -1
- package/dist/standards/lint.d.ts.map +1 -1
- package/dist/standards/lint.js +6 -0
- package/dist/standards/lint.js.map +1 -1
- package/dist/standards/log.d.ts +11 -0
- package/dist/standards/log.d.ts.map +1 -1
- package/dist/standards/log.js +68 -0
- package/dist/standards/log.js.map +1 -1
- package/dist/standards/vocabulary.d.ts.map +1 -1
- package/dist/standards/vocabulary.js +535 -5
- package/dist/standards/vocabulary.js.map +1 -1
- package/package.json +1 -1
|
@@ -118,6 +118,10 @@ const verbs = [
|
|
|
118
118
|
["backup", "copy a file somewhere safe"],
|
|
119
119
|
["restore", "put a backup back in its place"],
|
|
120
120
|
["repair", "bring a file's tables to this build's shape without deleting anything"],
|
|
121
|
+
[
|
|
122
|
+
"rebuild",
|
|
123
|
+
"compute again, from what the store already holds, what the tool derives from it, keeping the owner's decisions",
|
|
124
|
+
],
|
|
121
125
|
["link", "record that two identities are one person"],
|
|
122
126
|
["unlink", "undo a link"],
|
|
123
127
|
["lookup", "ask the messenger who is behind a phone number"],
|
|
@@ -180,7 +184,10 @@ const collections = [
|
|
|
180
184
|
["notes", "text the owner writes, or files from a notes folder"],
|
|
181
185
|
["projects", "the owner's work units with a task key"],
|
|
182
186
|
["organizations", "companies, teams, families or communities"],
|
|
183
|
-
[
|
|
187
|
+
[
|
|
188
|
+
"identities",
|
|
189
|
+
"ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone",
|
|
190
|
+
],
|
|
184
191
|
["facts", "what happened, with evidence"],
|
|
185
192
|
["memories", "what an agent concluded, with evidence and scope"],
|
|
186
193
|
["relationships", "confirmed or suggested links between people, organizations and projects"],
|
|
@@ -191,6 +198,7 @@ const collections = [
|
|
|
191
198
|
["jobs", "work this tool runs in the background or on a timer"],
|
|
192
199
|
["actions", "what an agent proposes to do; the owner confirms or rejects each"],
|
|
193
200
|
["aliases", "other names of one thing"],
|
|
201
|
+
["mentions", "phones, e-mail addresses, links and documents found in stored text, each where it was written"],
|
|
194
202
|
];
|
|
195
203
|
const singulars = [
|
|
196
204
|
["session", "this tool's login"],
|
|
@@ -198,6 +206,7 @@ const singulars = [
|
|
|
198
206
|
["config", "a profile's settings"],
|
|
199
207
|
["server", "the long-running process of a profile"],
|
|
200
208
|
["store", "the local SQLite database the tools share"],
|
|
209
|
+
["catalog", "stored source file and folder metadata and parent relationships"],
|
|
201
210
|
["skill", "the agent skill file of this tool"],
|
|
202
211
|
["cache", "max's per-profile cache"],
|
|
203
212
|
["flood", "what the messenger told this profile to hold off on"],
|
|
@@ -205,6 +214,7 @@ const singulars = [
|
|
|
205
214
|
["api", "the source's own API, one command per operation"],
|
|
206
215
|
];
|
|
207
216
|
const views = [
|
|
217
|
+
["tree", "the parent and child hierarchy of stored sources"],
|
|
208
218
|
["logs", "the log of a running process"],
|
|
209
219
|
["events", "what happened in a thing over time"],
|
|
210
220
|
["scheduled", "what is scheduled to happen"],
|
|
@@ -216,6 +226,7 @@ const views = [
|
|
|
216
226
|
["official", "the view the messenger itself computed, under stats"],
|
|
217
227
|
["transcript", "the text of speech: a voice message or a meeting recording"],
|
|
218
228
|
["evidence", "the stored messages or lines a result or a reference rests on"],
|
|
229
|
+
["passage", "a cited transcript line with bounded surrounding lines from the same revision"],
|
|
219
230
|
];
|
|
220
231
|
const roots = [
|
|
221
232
|
["inbox", "what waits across every chat"],
|
|
@@ -232,6 +243,37 @@ const roots = [
|
|
|
232
243
|
["search", "searches across resources"],
|
|
233
244
|
];
|
|
234
245
|
const flags = [
|
|
246
|
+
{
|
|
247
|
+
name: "--bytes",
|
|
248
|
+
value: "<n>",
|
|
249
|
+
role: "budget",
|
|
250
|
+
type: "count",
|
|
251
|
+
meaning: "at most this many bytes of included evidence content",
|
|
252
|
+
unit: "bytes",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
name: "--max-read-bytes",
|
|
256
|
+
value: "<bytes>",
|
|
257
|
+
role: "budget",
|
|
258
|
+
type: "count",
|
|
259
|
+
meaning: "at most this many stored text bytes read for one bounded evidence window",
|
|
260
|
+
unit: "bytes",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
name: "--expected-fingerprint",
|
|
264
|
+
value: "<hash>",
|
|
265
|
+
role: "target",
|
|
266
|
+
type: "string",
|
|
267
|
+
meaning: "require the selected evidence anchor to match this previously read fingerprint",
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
name: "--depth",
|
|
271
|
+
value: "<n>",
|
|
272
|
+
role: "budget",
|
|
273
|
+
type: "count",
|
|
274
|
+
meaning: "maximum descendant depth in a hierarchy",
|
|
275
|
+
unit: "levels",
|
|
276
|
+
},
|
|
235
277
|
{ name: "--limit", value: "<n>", role: "paging", type: "count", meaning: "how many items", unit: "items" },
|
|
236
278
|
{
|
|
237
279
|
name: "--page",
|
|
@@ -273,16 +315,16 @@ const flags = [
|
|
|
273
315
|
value: "<n>",
|
|
274
316
|
role: "output",
|
|
275
317
|
type: "count",
|
|
276
|
-
meaning: "how many messages before it",
|
|
277
|
-
unit: "
|
|
318
|
+
meaning: "how many messages or transcript lines before it",
|
|
319
|
+
unit: "items",
|
|
278
320
|
},
|
|
279
321
|
{
|
|
280
322
|
name: "--after-n",
|
|
281
323
|
value: "<n>",
|
|
282
324
|
role: "output",
|
|
283
325
|
type: "count",
|
|
284
|
-
meaning: "how many messages after it",
|
|
285
|
-
unit: "
|
|
326
|
+
meaning: "how many messages or transcript lines after it",
|
|
327
|
+
unit: "items",
|
|
286
328
|
},
|
|
287
329
|
{ name: "--timeout", value: "<duration>", role: "budget", type: "duration", meaning: "give up after this long" },
|
|
288
330
|
{
|
|
@@ -313,6 +355,494 @@ const flags = [
|
|
|
313
355
|
type: "switch",
|
|
314
356
|
meaning: "on failure, show the full error record: cause and stack",
|
|
315
357
|
},
|
|
358
|
+
{
|
|
359
|
+
name: "--agent-json",
|
|
360
|
+
role: "output",
|
|
361
|
+
type: "switch",
|
|
362
|
+
meaning: "JSON with control and direction characters made visible in strings and keys",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
name: "--brief",
|
|
366
|
+
role: "output",
|
|
367
|
+
type: "switch",
|
|
368
|
+
meaning: "each item as its reference, title, time and excerpt only",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
name: "--chart-kind",
|
|
372
|
+
value: "<messages|active|membership>",
|
|
373
|
+
role: "output",
|
|
374
|
+
type: "choice",
|
|
375
|
+
meaning: "what a chart draws",
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
name: "--checkpoints",
|
|
379
|
+
value: "<durations>",
|
|
380
|
+
role: "output",
|
|
381
|
+
type: "list",
|
|
382
|
+
meaning: "the ages to report on, comma-separated: 1d,7d,30d",
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
name: "--fields",
|
|
386
|
+
value: "<paths>",
|
|
387
|
+
role: "output",
|
|
388
|
+
type: "list",
|
|
389
|
+
meaning: "only these comma-separated fields of each item; list metadata stays",
|
|
390
|
+
},
|
|
391
|
+
{ name: "--format", value: "<format>", role: "output", type: "choice", meaning: "the format of the file written" },
|
|
392
|
+
{ name: "--full", role: "output", type: "switch", meaning: "each item with its whole text and every field" },
|
|
393
|
+
{
|
|
394
|
+
name: "--json",
|
|
395
|
+
role: "output",
|
|
396
|
+
type: "switch",
|
|
397
|
+
meaning: "machine-readable output: one JSON value on stdout, nothing else",
|
|
398
|
+
},
|
|
399
|
+
{ name: "--jsonl", role: "output", type: "switch", meaning: "machine-readable output: one JSON object per line" },
|
|
400
|
+
{ name: "--output", value: "<file>", role: "output", type: "path", meaning: "the file to write" },
|
|
401
|
+
{
|
|
402
|
+
name: "--output-dir",
|
|
403
|
+
value: "<dir>",
|
|
404
|
+
role: "output",
|
|
405
|
+
type: "path",
|
|
406
|
+
meaning: "the folder to write into, created if missing",
|
|
407
|
+
},
|
|
408
|
+
{ name: "--quiet", role: "output", type: "switch", meaning: "no diagnostics on stderr" },
|
|
409
|
+
{ name: "--show-phone", role: "output", type: "switch", meaning: "print the whole phone number" },
|
|
410
|
+
{
|
|
411
|
+
name: "--thread-within",
|
|
412
|
+
value: "<duration>",
|
|
413
|
+
role: "output",
|
|
414
|
+
type: "duration",
|
|
415
|
+
meaning: "messages within this long either side of the hit",
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
name: "--trace",
|
|
419
|
+
role: "output",
|
|
420
|
+
type: "switch",
|
|
421
|
+
meaning: "one line per request on stderr: ids and timings, never content",
|
|
422
|
+
},
|
|
423
|
+
{ name: "--verbose", role: "output", type: "switch", meaning: "more detail in what is shown; repeat for more" },
|
|
424
|
+
{ name: "--version", role: "output", type: "switch", meaning: "print the version number" },
|
|
425
|
+
{ name: "--with-notes", role: "output", type: "switch", meaning: "include the owner's private notes" },
|
|
426
|
+
{ name: "--measure", value: "<name>", role: "sort", type: "choice", meaning: "the metric a ranking is ordered by" },
|
|
427
|
+
{ name: "--newest", role: "sort", type: "switch", meaning: "newest first instead of best first" },
|
|
428
|
+
{
|
|
429
|
+
name: "--order",
|
|
430
|
+
value: "<recent|name>",
|
|
431
|
+
role: "sort",
|
|
432
|
+
type: "choice",
|
|
433
|
+
meaning: "the order of a list: most recent first, or by name",
|
|
434
|
+
},
|
|
435
|
+
{ name: "--score", value: "<preset>", role: "sort", type: "choice", meaning: "the named ranking score preset" },
|
|
436
|
+
{
|
|
437
|
+
name: "--weights",
|
|
438
|
+
value: "<json>",
|
|
439
|
+
role: "sort",
|
|
440
|
+
type: "string",
|
|
441
|
+
meaning: "the ranking component weights, all of them",
|
|
442
|
+
},
|
|
443
|
+
{ name: "--accept-terms", role: "mode", type: "switch", meaning: "accept the model's licence terms" },
|
|
444
|
+
{
|
|
445
|
+
name: "--allow-any-file",
|
|
446
|
+
role: "mode",
|
|
447
|
+
type: "switch",
|
|
448
|
+
meaning: "send a file even from a credential folder or the tool's own folders",
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
name: "--allow-dangerous",
|
|
452
|
+
role: "mode",
|
|
453
|
+
type: "switch",
|
|
454
|
+
meaning: "go ahead without the question an ask level puts before a deletion",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
name: "--allow-writes",
|
|
458
|
+
role: "mode",
|
|
459
|
+
type: "switch",
|
|
460
|
+
meaning: "acknowledge that the profile offers writing tools",
|
|
461
|
+
},
|
|
462
|
+
{ name: "--as-file", role: "mode", type: "switch", meaning: "send every file as a plain file to download" },
|
|
463
|
+
{ name: "--background", role: "mode", type: "switch", meaning: "run as a job that outlives this command" },
|
|
464
|
+
{
|
|
465
|
+
name: "--base-url",
|
|
466
|
+
value: "<url>",
|
|
467
|
+
role: "mode",
|
|
468
|
+
type: "string",
|
|
469
|
+
meaning: "the address of an OpenAI-compatible model API",
|
|
470
|
+
},
|
|
471
|
+
{ name: "--dims", value: "<n>", role: "mode", type: "count", meaning: "the embedding vector size" },
|
|
472
|
+
{
|
|
473
|
+
name: "--discover",
|
|
474
|
+
role: "mode",
|
|
475
|
+
type: "switch",
|
|
476
|
+
meaning: "also find partial matches; the results are evidence, not answers",
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
name: "--encrypt",
|
|
480
|
+
role: "mode",
|
|
481
|
+
type: "switch",
|
|
482
|
+
meaning: "compress and encrypt with a password that is never kept",
|
|
483
|
+
},
|
|
484
|
+
{ name: "--exact", role: "mode", type: "switch", meaning: "bare words and quotes match their exact form only" },
|
|
485
|
+
{
|
|
486
|
+
name: "--fingerprint",
|
|
487
|
+
value: "<hash>",
|
|
488
|
+
role: "mode",
|
|
489
|
+
type: "string",
|
|
490
|
+
meaning: "refuse if the plan it names has changed",
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
name: "--for-everyone",
|
|
494
|
+
role: "mode",
|
|
495
|
+
type: "switch",
|
|
496
|
+
meaning: "delete for everyone in the chat, not only for the owner",
|
|
497
|
+
},
|
|
498
|
+
{ name: "--http", role: "mode", type: "switch", meaning: "serve over HTTP on 127.0.0.1" },
|
|
499
|
+
{ name: "--language", value: "<lucene|legacy>", role: "mode", type: "choice", meaning: "the query language" },
|
|
500
|
+
{ name: "--local", role: "mode", type: "switch", meaning: "use the model on this machine, never the source" },
|
|
501
|
+
{
|
|
502
|
+
name: "--max-age",
|
|
503
|
+
value: "<duration>",
|
|
504
|
+
role: "mode",
|
|
505
|
+
type: "duration",
|
|
506
|
+
meaning: "how old a stored snapshot may be and still count as fresh",
|
|
507
|
+
},
|
|
508
|
+
{ name: "--md", role: "mode", type: "switch", meaning: "the text is the messenger's Markdown" },
|
|
509
|
+
{ name: "--no-backup", role: "mode", type: "switch", meaning: "do not back the file up before deleting it" },
|
|
510
|
+
{ name: "--no-input", role: "mode", type: "switch", meaning: "never prompt or open an interactive login" },
|
|
511
|
+
{ name: "--no-preview", role: "mode", type: "switch", meaning: "no preview card for a link in the text" },
|
|
512
|
+
{
|
|
513
|
+
name: "--no-record",
|
|
514
|
+
role: "mode",
|
|
515
|
+
type: "switch",
|
|
516
|
+
meaning: "do not keep this run, whatever the configuration says",
|
|
517
|
+
},
|
|
518
|
+
{ name: "--no-registries", role: "mode", type: "switch", meaning: "do not ask the public ban lists" },
|
|
519
|
+
{ name: "--notify", role: "mode", type: "switch", meaning: "tell the chat's members about it" },
|
|
520
|
+
{ name: "--offline", role: "mode", type: "switch", meaning: "answer from what was recorded and never connect" },
|
|
521
|
+
{ name: "--port", value: "<port>", role: "mode", type: "number", meaning: "the local port for --http" },
|
|
522
|
+
{
|
|
523
|
+
name: "--public-url",
|
|
524
|
+
value: "<url>",
|
|
525
|
+
role: "mode",
|
|
526
|
+
type: "string",
|
|
527
|
+
meaning: "the public https address of the tunnel",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
name: "--record",
|
|
531
|
+
role: "mode",
|
|
532
|
+
type: "switch",
|
|
533
|
+
meaning: "keep this run under runs: ids and timings, never content",
|
|
534
|
+
},
|
|
535
|
+
{ name: "--regex", role: "mode", type: "switch", meaning: "the words are one regular expression" },
|
|
536
|
+
{
|
|
537
|
+
name: "--send-id",
|
|
538
|
+
value: "<id>",
|
|
539
|
+
role: "mode",
|
|
540
|
+
type: "id",
|
|
541
|
+
meaning: "identify a send attempt, so a retry reuses it",
|
|
542
|
+
},
|
|
543
|
+
{ name: "--silent", role: "mode", type: "switch", meaning: "deliver without a notification" },
|
|
544
|
+
{ name: "--thread", role: "mode", type: "switch", meaning: "the stored reply chain instead of time neighbours" },
|
|
545
|
+
{
|
|
546
|
+
name: "--timezone",
|
|
547
|
+
value: "<zone>",
|
|
548
|
+
role: "mode",
|
|
549
|
+
type: "string",
|
|
550
|
+
meaning: "the IANA timezone dates and times are read in",
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
name: "--yes",
|
|
554
|
+
role: "mode",
|
|
555
|
+
type: "switch",
|
|
556
|
+
meaning: "go ahead with the write without asking or previewing first",
|
|
557
|
+
},
|
|
558
|
+
{ name: "--analyze", role: "action", type: "switch", meaning: "also analyze with the configured provider" },
|
|
559
|
+
{ name: "--catch-up", role: "action", type: "switch", meaning: "prepare local search after this run" },
|
|
560
|
+
{ name: "--extract", role: "action", type: "switch", meaning: "also read the text inside the files written" },
|
|
561
|
+
{
|
|
562
|
+
name: "--mark-read",
|
|
563
|
+
role: "action",
|
|
564
|
+
type: "switch",
|
|
565
|
+
meaning: "also mark the chat read up to the newest message shown; the other person sees it",
|
|
566
|
+
},
|
|
567
|
+
{ name: "--no-catch-up", role: "action", type: "switch", meaning: "skip local preparation after this run" },
|
|
568
|
+
{ name: "--retract", role: "action", type: "switch", meaning: "take the owner's vote back" },
|
|
569
|
+
{ name: "--revoke", role: "action", type: "switch", meaning: "forget every login given to a browser app" },
|
|
570
|
+
{ name: "--track", role: "action", type: "switch", meaning: "also do it daily while serve runs" },
|
|
571
|
+
{
|
|
572
|
+
name: "--transcribe",
|
|
573
|
+
role: "action",
|
|
574
|
+
type: "switch",
|
|
575
|
+
meaning: "also transcribe voice messages not transcribed yet, on this machine",
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
name: "--catch-up-chunks",
|
|
579
|
+
value: "<n>",
|
|
580
|
+
role: "budget",
|
|
581
|
+
type: "count",
|
|
582
|
+
meaning: "at most this many chunks prepared after the run",
|
|
583
|
+
unit: "chunks",
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
name: "--catch-up-messages",
|
|
587
|
+
value: "<n>",
|
|
588
|
+
role: "budget",
|
|
589
|
+
type: "count",
|
|
590
|
+
meaning: "skip the graph rebuild above this many messages",
|
|
591
|
+
unit: "messages",
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
name: "--concurrency",
|
|
595
|
+
value: "<n>",
|
|
596
|
+
role: "budget",
|
|
597
|
+
type: "count",
|
|
598
|
+
meaning: "requests to the source at once",
|
|
599
|
+
unit: "requests",
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
name: "--deep",
|
|
603
|
+
value: "<n>",
|
|
604
|
+
role: "budget",
|
|
605
|
+
type: "count",
|
|
606
|
+
meaning: "also check the top n in full, one a second",
|
|
607
|
+
unit: "people",
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
name: "--max-actions",
|
|
611
|
+
value: "<n>",
|
|
612
|
+
role: "budget",
|
|
613
|
+
type: "count",
|
|
614
|
+
meaning: "at most this many actions in one run",
|
|
615
|
+
unit: "actions",
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
name: "--max-chats",
|
|
619
|
+
value: "<n>",
|
|
620
|
+
role: "budget",
|
|
621
|
+
type: "count",
|
|
622
|
+
meaning: "at most this many chats in one run",
|
|
623
|
+
unit: "chats",
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
name: "--max-chunks",
|
|
627
|
+
value: "<n>",
|
|
628
|
+
role: "budget",
|
|
629
|
+
type: "count",
|
|
630
|
+
meaning: "at most this many chunks in one run",
|
|
631
|
+
unit: "chunks",
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
name: "--max-gaps",
|
|
635
|
+
value: "<n>",
|
|
636
|
+
role: "budget",
|
|
637
|
+
type: "count",
|
|
638
|
+
meaning: "at most this many gaps repaired in one run",
|
|
639
|
+
unit: "gaps",
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
name: "--max-input-bytes",
|
|
643
|
+
value: "<bytes>",
|
|
644
|
+
role: "budget",
|
|
645
|
+
type: "count",
|
|
646
|
+
meaning: "at most this many bytes of buffered stdin",
|
|
647
|
+
unit: "bytes",
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
name: "--max-messages",
|
|
651
|
+
value: "<n>",
|
|
652
|
+
role: "budget",
|
|
653
|
+
type: "count",
|
|
654
|
+
meaning: "at most this many messages in one run",
|
|
655
|
+
unit: "messages",
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
name: "--max-replies",
|
|
659
|
+
value: "<n>",
|
|
660
|
+
role: "budget",
|
|
661
|
+
type: "count",
|
|
662
|
+
meaning: "at most this many replies read",
|
|
663
|
+
unit: "replies",
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
name: "--max-tokens",
|
|
667
|
+
value: "<n>",
|
|
668
|
+
role: "budget",
|
|
669
|
+
type: "count",
|
|
670
|
+
meaning: "at most this many model tokens in one run",
|
|
671
|
+
unit: "tokens",
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
name: "--thread-bytes",
|
|
675
|
+
value: "<n>",
|
|
676
|
+
role: "budget",
|
|
677
|
+
type: "count",
|
|
678
|
+
meaning: "at most this many bytes in each thread context",
|
|
679
|
+
unit: "bytes",
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
name: "--thread-hops",
|
|
683
|
+
value: "<n>",
|
|
684
|
+
role: "budget",
|
|
685
|
+
type: "count",
|
|
686
|
+
meaning: "at most this many links from the hit",
|
|
687
|
+
unit: "links",
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
name: "--thread-messages",
|
|
691
|
+
value: "<n>",
|
|
692
|
+
role: "budget",
|
|
693
|
+
type: "count",
|
|
694
|
+
meaning: "at most this many messages in each thread context",
|
|
695
|
+
unit: "messages",
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
name: "--batch",
|
|
699
|
+
value: "<id>",
|
|
700
|
+
role: "target",
|
|
701
|
+
type: "id",
|
|
702
|
+
meaning: "the batch to act on, by the id that listed it",
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
name: "--component",
|
|
706
|
+
value: "<name>",
|
|
707
|
+
role: "target",
|
|
708
|
+
type: "string",
|
|
709
|
+
meaning: "the ranking component to read the evidence of",
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
name: "--counters",
|
|
713
|
+
value: "<names>",
|
|
714
|
+
role: "target",
|
|
715
|
+
type: "list",
|
|
716
|
+
meaning: "the counters to read: views, reactions, comments",
|
|
717
|
+
},
|
|
718
|
+
{ name: "--failed", role: "target", type: "switch", meaning: "every chat whose newest job failed or died" },
|
|
719
|
+
{ name: "--left", role: "target", type: "switch", meaning: "only the chats this account has left" },
|
|
720
|
+
{ name: "--others", role: "target", type: "switch", meaning: "every session but this one" },
|
|
721
|
+
{
|
|
722
|
+
name: "--saved",
|
|
723
|
+
value: "<name|id>",
|
|
724
|
+
role: "target",
|
|
725
|
+
type: "string",
|
|
726
|
+
meaning: "run a saved search, or an earlier run by its id",
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
name: "--selection",
|
|
730
|
+
value: "<json>",
|
|
731
|
+
role: "target",
|
|
732
|
+
type: "string",
|
|
733
|
+
meaning: "the resolved ranking selection a drilldown returned",
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
name: "--add",
|
|
737
|
+
value: "<chat>",
|
|
738
|
+
role: "value",
|
|
739
|
+
type: "id",
|
|
740
|
+
meaning: "put this chat into the set being changed; repeat it for more",
|
|
741
|
+
},
|
|
742
|
+
{ name: "--all-can-pin", value: "<on|off>", role: "value", type: "choice", meaning: "every member may pin messages" },
|
|
743
|
+
{ name: "--anonymous", role: "value", type: "switch", meaning: "nobody sees who voted for what" },
|
|
744
|
+
{
|
|
745
|
+
name: "--approval",
|
|
746
|
+
role: "value",
|
|
747
|
+
type: "switch",
|
|
748
|
+
meaning: "who joins by the link asks first, and an admin lets them in",
|
|
749
|
+
},
|
|
750
|
+
{ name: "--can", value: "<rights>", role: "value", type: "list", meaning: "what an admin may do, comma-separated" },
|
|
751
|
+
{ name: "--channel", role: "value", type: "switch", meaning: "a channel instead of a group" },
|
|
752
|
+
{
|
|
753
|
+
name: "--closed",
|
|
754
|
+
value: "<on|off>",
|
|
755
|
+
role: "value",
|
|
756
|
+
type: "choice",
|
|
757
|
+
meaning: "close it to new messages, or reopen it",
|
|
758
|
+
},
|
|
759
|
+
{ name: "--comment-to", value: "<post>", role: "value", type: "id", meaning: "comment on this channel post" },
|
|
760
|
+
{ name: "--description", value: "<text>", role: "value", type: "string", meaning: "the new description" },
|
|
761
|
+
{ name: "--expire-time", value: "<time>", role: "value", type: "time", meaning: "it stops working at this time" },
|
|
762
|
+
{ name: "--first-name", value: "<name>", role: "value", type: "string", meaning: "the account's first name" },
|
|
763
|
+
{ name: "--hidden", value: "<on|off>", role: "value", type: "choice", meaning: "hide it from the list, or show it" },
|
|
764
|
+
{ name: "--last-name", value: "<name>", role: "value", type: "string", meaning: "the account's last name" },
|
|
765
|
+
{
|
|
766
|
+
name: "--max-uses",
|
|
767
|
+
value: "<n>",
|
|
768
|
+
role: "value",
|
|
769
|
+
type: "count",
|
|
770
|
+
meaning: "at most this many people join by it",
|
|
771
|
+
unit: "people",
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
name: "--members-see-link",
|
|
775
|
+
value: "<on|off>",
|
|
776
|
+
role: "value",
|
|
777
|
+
type: "choice",
|
|
778
|
+
meaning: "members may see the invite link",
|
|
779
|
+
},
|
|
780
|
+
{ name: "--multiple", role: "value", type: "switch", meaning: "people may pick several answers" },
|
|
781
|
+
{
|
|
782
|
+
name: "--only-admins-add",
|
|
783
|
+
value: "<on|off>",
|
|
784
|
+
role: "value",
|
|
785
|
+
type: "choice",
|
|
786
|
+
meaning: "only admins may add members",
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
name: "--only-admins-call",
|
|
790
|
+
value: "<on|off>",
|
|
791
|
+
role: "value",
|
|
792
|
+
type: "choice",
|
|
793
|
+
meaning: "only admins may start a call",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
name: "--only-owner-edits-info",
|
|
797
|
+
value: "<on|off>",
|
|
798
|
+
role: "value",
|
|
799
|
+
type: "choice",
|
|
800
|
+
meaning: "only the owner may change the name and photo",
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
name: "--photo",
|
|
804
|
+
value: "<file>",
|
|
805
|
+
role: "value",
|
|
806
|
+
type: "path",
|
|
807
|
+
meaning: "an image file: a profile or chat photo, or a photo to send",
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
name: "--pinned",
|
|
811
|
+
value: "<on|off>",
|
|
812
|
+
role: "value",
|
|
813
|
+
type: "choice",
|
|
814
|
+
meaning: "pin it at the top of the list, or unpin it",
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
name: "--remove",
|
|
818
|
+
value: "<chat>",
|
|
819
|
+
role: "value",
|
|
820
|
+
type: "id",
|
|
821
|
+
meaning: "take this chat out of the set being changed; repeat it for more",
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
name: "--reply-to",
|
|
825
|
+
value: "<message>",
|
|
826
|
+
role: "value",
|
|
827
|
+
type: "id",
|
|
828
|
+
meaning: "answer this message in the same chat",
|
|
829
|
+
},
|
|
830
|
+
{ name: "--revote", role: "value", type: "switch", meaning: "people may change their vote" },
|
|
831
|
+
{ name: "--send-as", value: "<id>", role: "value", type: "id", meaning: "send as this identity of the chat" },
|
|
832
|
+
{
|
|
833
|
+
name: "--voice",
|
|
834
|
+
value: "<file>",
|
|
835
|
+
role: "value",
|
|
836
|
+
type: "path",
|
|
837
|
+
meaning: "an Ogg Opus file sent as a voice message",
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
name: "--filter",
|
|
841
|
+
value: "<query>",
|
|
842
|
+
role: "query",
|
|
843
|
+
type: "string",
|
|
844
|
+
meaning: "a query every result must also match, beside the search's own words",
|
|
845
|
+
},
|
|
316
846
|
];
|
|
317
847
|
/** The words every CLI on cli-base is judged against. Seeded from STANDARD's command-name rules and the glossary. */
|
|
318
848
|
export const VOCABULARY = defineVocabulary({
|