@wirecat/cli-core 0.398.0 → 0.399.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/CHANGELOG.md +24 -0
- package/dist/cli/analysis-choice.d.ts +1 -0
- package/dist/cli/analysis-choice.js +3 -0
- package/dist/cli/bot/admins.js +14 -4
- package/dist/cli/bot/command.js +38 -16
- package/dist/cli/bot/examples.d.ts +3 -0
- package/dist/cli/bot/examples.js +2 -0
- package/dist/cli/bot/mcp.js +4 -1
- package/dist/cli/bot/messages.js +17 -6
- package/dist/cli/bot/moderation.js +16 -4
- package/dist/cli/bot/people.js +16 -4
- package/dist/cli/bot/setup.js +27 -8
- package/dist/cli/bot/watch.js +7 -1
- package/dist/cli/embedding-choice.d.ts +2 -1
- package/dist/cli/embedding-choice.js +4 -1
- package/dist/cli/messenger/admin-commands.js +18 -9
- package/dist/cli/messenger/catch-up-answers.d.ts +2 -1
- package/dist/cli/messenger/catch-up-answers.js +6 -2
- package/dist/cli/messenger/chats-stats-command.js +1 -1
- package/dist/cli/messenger/contacts-command.js +2 -2
- package/dist/cli/messenger/context.d.ts +2 -0
- package/dist/cli/messenger/conversations-command.js +27 -13
- package/dist/cli/messenger/hearing-command.d.ts +1 -1
- package/dist/cli/messenger/hearing-command.js +1 -1
- package/dist/cli/messenger/inbox.js +6 -4
- package/dist/cli/messenger/messages-stats-command.js +1 -1
- package/dist/cli/messenger/metadata-command.js +1 -1
- package/dist/cli/messenger/private-people-command.js +5 -3
- package/dist/cli/messenger/replies-edit-command.d.ts +1 -1
- package/dist/cli/messenger/replies-edit-command.js +13 -5
- package/dist/cli/messenger/retention-command.js +1 -1
- package/dist/cli/messenger/review.js +6 -4
- package/dist/cli/messenger/searches-command.js +1 -1
- package/dist/cli/messenger/serve-relay.d.ts +1 -0
- package/dist/cli/messenger/stats-command.js +1 -1
- package/dist/cli/messenger/tags-command.js +11 -5
- package/dist/cli/messenger/transcribe-command.js +1 -1
- package/dist/mcp/prompts.js +8 -2
- package/package.json +3 -3
- package/parity.json +68 -42
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.399.0",
|
|
4
4
|
"description": "The messenger-neutral half of a messaging CLI: domain model, message locators, rendering, name resolution, the SQLite seam, the command skeleton and shared read commands, the send guard, run records and the message store",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Viacheslav Ptsarev",
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"@types/node": "^22.20.4",
|
|
208
208
|
"@types/pngjs": "6.0.5",
|
|
209
209
|
"@vitest/coverage-v8": "^5.0.2",
|
|
210
|
-
"@wirecat/cli-base": "0.50.
|
|
210
|
+
"@wirecat/cli-base": "0.50.2",
|
|
211
211
|
"commander": "15.0.0",
|
|
212
212
|
"cspell": "10.3.6",
|
|
213
213
|
"drizzle-kit": "1.0.0-rc.4",
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
},
|
|
228
228
|
"peerDependencies": {
|
|
229
229
|
"@napi-rs/canvas": ">=0.1.69 <2",
|
|
230
|
-
"@wirecat/cli-base": ">=0.50.
|
|
230
|
+
"@wirecat/cli-base": ">=0.50.2 <0.51.0",
|
|
231
231
|
"commander": ">=15"
|
|
232
232
|
},
|
|
233
233
|
"bin": {
|
package/parity.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"--all": {
|
|
27
27
|
"meaning": "every row, no paging",
|
|
28
|
-
"note": "chats requests accept and decline take every pending request instead —
|
|
28
|
+
"note": "chats requests accept and decline take every pending request instead — counted against the hourly limit first — so it differs on purpose (Help text rule 4)"
|
|
29
29
|
},
|
|
30
30
|
"--all-bots": {
|
|
31
31
|
"meaning": "also read every other bot's copy on this machine that read_other_bots allows"
|
|
@@ -54,12 +54,20 @@
|
|
|
54
54
|
"--allow-writes": {
|
|
55
55
|
"meaning": "acknowledge that the profile offers writing tools when installing local MCP"
|
|
56
56
|
},
|
|
57
|
+
"--analysis-provider": {
|
|
58
|
+
"value": "<provider>",
|
|
59
|
+
"meaning": "analysis: agent, openai or anthropic"
|
|
60
|
+
},
|
|
57
61
|
"--analyze": {
|
|
58
62
|
"meaning": "link conversation batches using the configured analysis provider, with remembered chat/provider consent"
|
|
59
63
|
},
|
|
60
64
|
"--anonymous": {
|
|
61
65
|
"meaning": "nobody sees who voted for what"
|
|
62
66
|
},
|
|
67
|
+
"--answer-model": {
|
|
68
|
+
"value": "<model>",
|
|
69
|
+
"meaning": "only the stored answers this model gave"
|
|
70
|
+
},
|
|
63
71
|
"--answerer": {
|
|
64
72
|
"value": "<person>",
|
|
65
73
|
"meaning": "stored name, alias, @username, ID or scoped person locator; ambiguous names require a choice; repeat it for more"
|
|
@@ -208,6 +216,10 @@
|
|
|
208
216
|
"meaning": "maximum source bytes returned from a retained attachment; 1–1048576",
|
|
209
217
|
"default": "524288"
|
|
210
218
|
},
|
|
219
|
+
"--claim": {
|
|
220
|
+
"value": "<claim>",
|
|
221
|
+
"meaning": "remove only this ownership claim: manual or auto"
|
|
222
|
+
},
|
|
211
223
|
"--close-time": {
|
|
212
224
|
"value": "<delay>",
|
|
213
225
|
"meaning": "it closes by itself this long after sending, like 90s or 5m"
|
|
@@ -228,6 +240,10 @@
|
|
|
228
240
|
"value": "<n>",
|
|
229
241
|
"meaning": "remote: requests at once (default: 4)"
|
|
230
242
|
},
|
|
243
|
+
"--consent-provider": {
|
|
244
|
+
"value": "<identity>",
|
|
245
|
+
"meaning": "exact provider identity from consents list; defaults to every provider"
|
|
246
|
+
},
|
|
231
247
|
"--contact": {
|
|
232
248
|
"value": "<person>",
|
|
233
249
|
"meaning": "the person to tag or untag: their id, @username or name, as the local store knows them"
|
|
@@ -283,7 +299,7 @@
|
|
|
283
299
|
"value": "<n>",
|
|
284
300
|
"meaning": "remote: the vector size — needed with --base-url; shortens an OpenAI model's"
|
|
285
301
|
},
|
|
286
|
-
"--disappear-
|
|
302
|
+
"--disappear-after": {
|
|
287
303
|
"value": "<duration|off>",
|
|
288
304
|
"meaning": "new messages disappear this long after sending: 24h, 7d, 90d; off keeps them"
|
|
289
305
|
},
|
|
@@ -310,6 +326,10 @@
|
|
|
310
326
|
"meaning": "list tasks due within this: 30m, 2h, 1d",
|
|
311
327
|
"default": "1d"
|
|
312
328
|
},
|
|
329
|
+
"--embedding-provider": {
|
|
330
|
+
"value": "<provider>",
|
|
331
|
+
"meaning": "embedding provider: local or openai; flags override profile settings"
|
|
332
|
+
},
|
|
313
333
|
"--emoji": {
|
|
314
334
|
"value": "<emoji>",
|
|
315
335
|
"meaning": "the folder's icon"
|
|
@@ -447,7 +467,7 @@
|
|
|
447
467
|
},
|
|
448
468
|
"--kind": {
|
|
449
469
|
"value": "<kind>",
|
|
450
|
-
"meaning": "
|
|
470
|
+
"meaning": "the kind of link to record; the command lists the supported task and evidence relations"
|
|
451
471
|
},
|
|
452
472
|
"--kinds": {
|
|
453
473
|
"meaning": "chat kinds: dialog, group; comma-separated, empty for any",
|
|
@@ -598,9 +618,8 @@
|
|
|
598
618
|
"meaning": "minimum known cumulative views"
|
|
599
619
|
},
|
|
600
620
|
"--model": {
|
|
601
|
-
"value": "<
|
|
602
|
-
"meaning": "which
|
|
603
|
-
"note": "max's own copy is worded differently until T6 moves the command onto the shared one (e13); replies edit uses this option for legacy template mode: fill-only or may-reword; use ai blocks instead"
|
|
621
|
+
"value": "<model>",
|
|
622
|
+
"meaning": "which model runs analysis, embedding or local speech recognition; the command identifies the applicable model family"
|
|
604
623
|
},
|
|
605
624
|
"--multiple": {
|
|
606
625
|
"meaning": "people may pick several answers"
|
|
@@ -800,10 +819,6 @@
|
|
|
800
819
|
"value": "<who>",
|
|
801
820
|
"meaning": "who sees the profile photo: everyone, contacts or nobody"
|
|
802
821
|
},
|
|
803
|
-
"--provider": {
|
|
804
|
-
"value": "<provider>",
|
|
805
|
-
"meaning": "embedding provider: local or openai; analysis: agent, openai or anthropic; consents revoke: exact provider identity from the list"
|
|
806
|
-
},
|
|
807
822
|
"--public-url": {
|
|
808
823
|
"value": "<url>",
|
|
809
824
|
"meaning": "the tunnel's https address: the browser apps reach mcp --http through it, a messenger delivers to bot watch"
|
|
@@ -984,6 +999,10 @@
|
|
|
984
999
|
"meaning": "the reply template",
|
|
985
1000
|
"value": "<text>"
|
|
986
1001
|
},
|
|
1002
|
+
"--template-mode": {
|
|
1003
|
+
"value": "<mode>",
|
|
1004
|
+
"meaning": "legacy template mode: fill-only or may-reword; use ai blocks instead"
|
|
1005
|
+
},
|
|
987
1006
|
"--text": {
|
|
988
1007
|
"value": "<text>",
|
|
989
1008
|
"meaning": "the message's new text; - reads stdin"
|
|
@@ -2572,11 +2591,14 @@
|
|
|
2572
2591
|
"options": {
|
|
2573
2592
|
"--all": {
|
|
2574
2593
|
"in": ["tg"],
|
|
2575
|
-
"
|
|
2594
|
+
"planned": {
|
|
2595
|
+
"max": "max-cli#771: one request answers them all (opcode 77)"
|
|
2596
|
+
},
|
|
2597
|
+
"reason": "WhatsApp answers one join request at a time"
|
|
2576
2598
|
},
|
|
2577
2599
|
"--link": {
|
|
2578
2600
|
"in": ["tg"],
|
|
2579
|
-
"reason": "MAX
|
|
2601
|
+
"reason": "MAX does not say which invite link a request came by; WhatsApp answers one join request at a time"
|
|
2580
2602
|
}
|
|
2581
2603
|
}
|
|
2582
2604
|
},
|
|
@@ -2585,11 +2607,14 @@
|
|
|
2585
2607
|
"options": {
|
|
2586
2608
|
"--all": {
|
|
2587
2609
|
"in": ["tg"],
|
|
2588
|
-
"
|
|
2610
|
+
"planned": {
|
|
2611
|
+
"max": "max-cli#771: one request answers them all (opcode 77)"
|
|
2612
|
+
},
|
|
2613
|
+
"reason": "WhatsApp answers one join request at a time"
|
|
2589
2614
|
},
|
|
2590
2615
|
"--link": {
|
|
2591
2616
|
"in": ["tg"],
|
|
2592
|
-
"reason": "MAX
|
|
2617
|
+
"reason": "MAX does not say which invite link a request came by; WhatsApp answers one join request at a time"
|
|
2593
2618
|
}
|
|
2594
2619
|
}
|
|
2595
2620
|
},
|
|
@@ -2681,7 +2706,7 @@
|
|
|
2681
2706
|
"reason": "WhatsApp has no pin switch of its own: who may pin follows who may edit the group's info"
|
|
2682
2707
|
},
|
|
2683
2708
|
"--description": "all",
|
|
2684
|
-
"--disappear-
|
|
2709
|
+
"--disappear-after": {
|
|
2685
2710
|
"in": [],
|
|
2686
2711
|
"planned": {
|
|
2687
2712
|
"tg": "tg-cli TG-21: Telegram's default banned rights (send, change info) and auto-delete timer",
|
|
@@ -2834,14 +2859,14 @@
|
|
|
2834
2859
|
"contacts notes add": {
|
|
2835
2860
|
"in": "all",
|
|
2836
2861
|
"options": {
|
|
2837
|
-
"--file": "all"
|
|
2862
|
+
"--text-file": "all"
|
|
2838
2863
|
}
|
|
2839
2864
|
},
|
|
2840
2865
|
"contacts notes edit": {
|
|
2841
2866
|
"in": "all",
|
|
2842
2867
|
"options": {
|
|
2843
|
-
"--
|
|
2844
|
-
"--
|
|
2868
|
+
"--revision": "all",
|
|
2869
|
+
"--text-file": "all"
|
|
2845
2870
|
}
|
|
2846
2871
|
},
|
|
2847
2872
|
"contacts notes list": {
|
|
@@ -2922,6 +2947,9 @@
|
|
|
2922
2947
|
"conversations build": {
|
|
2923
2948
|
"in": "all",
|
|
2924
2949
|
"options": {
|
|
2950
|
+
"--analysis-provider": {
|
|
2951
|
+
"in": "all"
|
|
2952
|
+
},
|
|
2925
2953
|
"--analyze": {
|
|
2926
2954
|
"in": "all"
|
|
2927
2955
|
},
|
|
@@ -2938,9 +2966,6 @@
|
|
|
2938
2966
|
"--model": {
|
|
2939
2967
|
"in": "all"
|
|
2940
2968
|
},
|
|
2941
|
-
"--provider": {
|
|
2942
|
-
"in": "all"
|
|
2943
|
-
},
|
|
2944
2969
|
"--size": {
|
|
2945
2970
|
"in": "all"
|
|
2946
2971
|
}
|
|
@@ -2958,7 +2983,7 @@
|
|
|
2958
2983
|
"--chat": {
|
|
2959
2984
|
"in": "all"
|
|
2960
2985
|
},
|
|
2961
|
-
"--provider": {
|
|
2986
|
+
"--consent-provider": {
|
|
2962
2987
|
"in": "all"
|
|
2963
2988
|
}
|
|
2964
2989
|
}
|
|
@@ -2970,6 +2995,7 @@
|
|
|
2970
2995
|
"--chat": "all",
|
|
2971
2996
|
"--concurrency": "all",
|
|
2972
2997
|
"--dims": "all",
|
|
2998
|
+
"--embedding-provider": "all",
|
|
2973
2999
|
"--max-chats": {
|
|
2974
3000
|
"in": "all"
|
|
2975
3001
|
},
|
|
@@ -2978,7 +3004,6 @@
|
|
|
2978
3004
|
},
|
|
2979
3005
|
"--max-tokens": "all",
|
|
2980
3006
|
"--model": "all",
|
|
2981
|
-
"--provider": "all",
|
|
2982
3007
|
"--threads": "all"
|
|
2983
3008
|
}
|
|
2984
3009
|
},
|
|
@@ -2988,8 +3013,8 @@
|
|
|
2988
3013
|
"--base-url": "all",
|
|
2989
3014
|
"--chat": "all",
|
|
2990
3015
|
"--dims": "all",
|
|
2991
|
-
"--
|
|
2992
|
-
"--
|
|
3016
|
+
"--embedding-provider": "all",
|
|
3017
|
+
"--model": "all"
|
|
2993
3018
|
}
|
|
2994
3019
|
},
|
|
2995
3020
|
"conversations embed status": {
|
|
@@ -2998,8 +3023,8 @@
|
|
|
2998
3023
|
"--base-url": "all",
|
|
2999
3024
|
"--chat": "all",
|
|
3000
3025
|
"--dims": "all",
|
|
3001
|
-
"--
|
|
3002
|
-
"--
|
|
3026
|
+
"--embedding-provider": "all",
|
|
3027
|
+
"--model": "all"
|
|
3003
3028
|
}
|
|
3004
3029
|
},
|
|
3005
3030
|
"conversations links": {
|
|
@@ -3016,10 +3041,10 @@
|
|
|
3016
3041
|
"conversations links clear": {
|
|
3017
3042
|
"in": "all",
|
|
3018
3043
|
"options": {
|
|
3019
|
-
"--
|
|
3044
|
+
"--answer-model": {
|
|
3020
3045
|
"in": "all"
|
|
3021
3046
|
},
|
|
3022
|
-
"--
|
|
3047
|
+
"--chat": {
|
|
3023
3048
|
"in": "all"
|
|
3024
3049
|
}
|
|
3025
3050
|
}
|
|
@@ -3051,13 +3076,13 @@
|
|
|
3051
3076
|
"--dims": {
|
|
3052
3077
|
"in": "all"
|
|
3053
3078
|
},
|
|
3054
|
-
"--
|
|
3079
|
+
"--embedding-provider": {
|
|
3055
3080
|
"in": "all"
|
|
3056
3081
|
},
|
|
3057
|
-
"--
|
|
3082
|
+
"--limit": {
|
|
3058
3083
|
"in": "all"
|
|
3059
3084
|
},
|
|
3060
|
-
"--
|
|
3085
|
+
"--model": {
|
|
3061
3086
|
"in": "all"
|
|
3062
3087
|
}
|
|
3063
3088
|
}
|
|
@@ -3077,10 +3102,10 @@
|
|
|
3077
3102
|
"--dims": {
|
|
3078
3103
|
"in": "all"
|
|
3079
3104
|
},
|
|
3080
|
-
"--
|
|
3105
|
+
"--embedding-provider": {
|
|
3081
3106
|
"in": "all"
|
|
3082
3107
|
},
|
|
3083
|
-
"--
|
|
3108
|
+
"--model": {
|
|
3084
3109
|
"in": "all"
|
|
3085
3110
|
}
|
|
3086
3111
|
}
|
|
@@ -3142,7 +3167,6 @@
|
|
|
3142
3167
|
"in": "all",
|
|
3143
3168
|
"options": {
|
|
3144
3169
|
"--all": "all",
|
|
3145
|
-
"--kind": "all",
|
|
3146
3170
|
"--limit": "all",
|
|
3147
3171
|
"--model": "all",
|
|
3148
3172
|
"--new": "all",
|
|
@@ -3483,7 +3507,10 @@
|
|
|
3483
3507
|
"in": ["tg", "wa"],
|
|
3484
3508
|
"reason": "Telegram can transcribe on its side; MAX cannot, so max always uses the local model"
|
|
3485
3509
|
},
|
|
3486
|
-
"--model":
|
|
3510
|
+
"--model": {
|
|
3511
|
+
"in": "all",
|
|
3512
|
+
"wording": "MAX retains its own transcriber and names its model-list command; the shared TG/WA transcriber explains that choosing a model implies local recognition. Both select a downloaded speech model. Align the remaining MAX command when it adopts the shared transcriber."
|
|
3513
|
+
}
|
|
3487
3514
|
}
|
|
3488
3515
|
},
|
|
3489
3516
|
"messages unpin": {
|
|
@@ -3729,7 +3756,6 @@
|
|
|
3729
3756
|
"--do": "all",
|
|
3730
3757
|
"--kinds": "all",
|
|
3731
3758
|
"--mentions-me": "all",
|
|
3732
|
-
"--model": "all",
|
|
3733
3759
|
"--no-as-reply": "all",
|
|
3734
3760
|
"--no-contacts-only": "all",
|
|
3735
3761
|
"--no-hours": "all",
|
|
@@ -3740,6 +3766,7 @@
|
|
|
3740
3766
|
"--per-person": "all",
|
|
3741
3767
|
"--question": "all",
|
|
3742
3768
|
"--template": "all",
|
|
3769
|
+
"--template-mode": "all",
|
|
3743
3770
|
"--timezone": "all",
|
|
3744
3771
|
"--words": "all"
|
|
3745
3772
|
}
|
|
@@ -3776,7 +3803,6 @@
|
|
|
3776
3803
|
"in": "all",
|
|
3777
3804
|
"options": {
|
|
3778
3805
|
"--all": "all",
|
|
3779
|
-
"--kind": "all",
|
|
3780
3806
|
"--model": "all",
|
|
3781
3807
|
"--new": "all",
|
|
3782
3808
|
"--since": {
|
|
@@ -3961,6 +3987,7 @@
|
|
|
3961
3987
|
},
|
|
3962
3988
|
"--chat": "all",
|
|
3963
3989
|
"--dims": "all",
|
|
3990
|
+
"--embedding-provider": "all",
|
|
3964
3991
|
"--filter": {
|
|
3965
3992
|
"in": "all"
|
|
3966
3993
|
},
|
|
@@ -3976,7 +4003,6 @@
|
|
|
3976
4003
|
"reason": "a messenger that pushes its history has nothing to sync first: wa reads the local store, which serve keeps filled"
|
|
3977
4004
|
},
|
|
3978
4005
|
"--model": "all",
|
|
3979
|
-
"--provider": "all",
|
|
3980
4006
|
"--since-time": "all",
|
|
3981
4007
|
"--source": {
|
|
3982
4008
|
"in": "all"
|
|
@@ -4698,13 +4724,13 @@
|
|
|
4698
4724
|
"--chat": {
|
|
4699
4725
|
"in": "all"
|
|
4700
4726
|
},
|
|
4701
|
-
"--
|
|
4727
|
+
"--claim": {
|
|
4702
4728
|
"in": "all"
|
|
4703
4729
|
},
|
|
4704
|
-
"--
|
|
4730
|
+
"--contact": {
|
|
4705
4731
|
"in": "all"
|
|
4706
4732
|
},
|
|
4707
|
-
"--
|
|
4733
|
+
"--message": {
|
|
4708
4734
|
"in": "all"
|
|
4709
4735
|
},
|
|
4710
4736
|
"--task": {
|