@wirecat/max-cli 0.72.0 → 0.74.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/dist/adapter/max-adapter.d.ts +1 -1
- package/dist/adapter/max-adapter.d.ts.map +1 -1
- package/dist/adapter/max-adapter.js +1 -0
- package/dist/adapter/max-adapter.js.map +1 -1
- package/dist/client/chat-writes.d.ts +1 -0
- package/dist/client/chat-writes.d.ts.map +1 -1
- package/dist/client/chat-writes.js +13 -0
- package/dist/client/chat-writes.js.map +1 -1
- package/dist/commands/bot-comments.d.ts.map +1 -1
- package/dist/commands/bot-comments.js +12 -5
- package/dist/commands/bot-comments.js.map +1 -1
- package/dist/commands/bot-members.d.ts.map +1 -1
- package/dist/commands/bot-members.js +14 -8
- package/dist/commands/bot-members.js.map +1 -1
- package/dist/commands/bot.d.ts.map +1 -1
- package/dist/commands/bot.js +5 -2
- package/dist/commands/bot.js.map +1 -1
- package/dist/commands/chats.d.ts.map +1 -1
- package/dist/commands/chats.js +16 -8
- package/dist/commands/chats.js.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +15 -51
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/contacts.d.ts +0 -7
- package/dist/commands/contacts.d.ts.map +1 -1
- package/dist/commands/contacts.js +6 -4
- package/dist/commands/contacts.js.map +1 -1
- package/dist/commands/doctor.d.ts +1 -16
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +6 -3
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/list-queries.d.ts +24 -0
- package/dist/commands/list-queries.d.ts.map +1 -0
- package/dist/commands/list-queries.js +54 -0
- package/dist/commands/list-queries.js.map +1 -0
- package/dist/commands/messages.d.ts.map +1 -1
- package/dist/commands/messages.js +5 -3
- package/dist/commands/messages.js.map +1 -1
- package/dist/commands/recipients.d.ts +1 -8
- package/dist/commands/recipients.d.ts.map +1 -1
- package/dist/commands/recipients.js +3 -74
- package/dist/commands/recipients.js.map +1 -1
- package/dist/commands/serve.d.ts +0 -7
- package/dist/commands/serve.d.ts.map +1 -1
- package/dist/commands/serve.js +6 -3
- package/dist/commands/serve.js.map +1 -1
- package/dist/commands/session.d.ts +2 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +6 -3
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/setup.d.ts +3 -1
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +6 -3
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/watch.d.ts +2 -14
- package/dist/commands/watch.d.ts.map +1 -1
- package/dist/commands/watch.js +59 -20
- package/dist/commands/watch.js.map +1 -1
- package/dist/config.d.ts +278 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +9 -116
- package/dist/config.js.map +1 -1
- package/dist/contract-overrides.d.ts +12 -0
- package/dist/contract-overrides.d.ts.map +1 -0
- package/dist/contract-overrides.js +537 -0
- package/dist/contract-overrides.js.map +1 -0
- package/dist/generated/operations.generated.d.ts +1 -1
- package/dist/messenger.js +1 -1
- package/dist/messenger.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +4 -3
- package/dist/program.js.map +1 -1
- package/dist/report.d.ts.map +1 -1
- package/dist/report.js +14 -79
- package/dist/report.js.map +1 -1
- package/dist/spec/operations/chats.d.ts +2 -1
- package/dist/spec/operations/chats.d.ts.map +1 -1
- package/dist/spec/operations/chats.js +5 -2
- package/dist/spec/operations/chats.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/max-cli/SKILL.md +2 -2
|
@@ -0,0 +1,537 @@
|
|
|
1
|
+
// Reviewed differences from Core. A changed default requires reviewing this declaration.
|
|
2
|
+
export const SHELL_OVERRIDES = {
|
|
3
|
+
doctor: [
|
|
4
|
+
{
|
|
5
|
+
command: ["doctor"],
|
|
6
|
+
field: "description",
|
|
7
|
+
before: "the state this installation is in, without connecting unless --online",
|
|
8
|
+
after: "the state this installation is in, without contacting MAX unless --online",
|
|
9
|
+
reason: "MAX reports its own server, protocol library and installation while retaining the shared diagnostic defaults.",
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
command: ["doctor"],
|
|
13
|
+
field: "options",
|
|
14
|
+
before: [
|
|
15
|
+
{
|
|
16
|
+
flags: "--online",
|
|
17
|
+
description: "also connect once and read the account; sends nothing",
|
|
18
|
+
takes_value: false,
|
|
19
|
+
mandatory: false,
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
after: [
|
|
23
|
+
{
|
|
24
|
+
flags: "--online",
|
|
25
|
+
description: "also log in once, read one chat and start the MCP server; sends nothing",
|
|
26
|
+
takes_value: false,
|
|
27
|
+
mandatory: false,
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
reason: "MAX reports its own server, protocol library and installation while retaining the shared diagnostic defaults.",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
command: ["doctor", "reports", "show"],
|
|
34
|
+
field: "description",
|
|
35
|
+
before: "what a problem report holds; writes nothing",
|
|
36
|
+
after: "what a problem report holds and where it goes; writes nothing",
|
|
37
|
+
reason: "MAX reports its own server, protocol library and installation while retaining the shared diagnostic defaults.",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
command: ["doctor", "reports", "show"],
|
|
41
|
+
field: "effects",
|
|
42
|
+
before: {
|
|
43
|
+
remote: "none",
|
|
44
|
+
local: "none",
|
|
45
|
+
},
|
|
46
|
+
after: {
|
|
47
|
+
remote: "read",
|
|
48
|
+
local: "read",
|
|
49
|
+
},
|
|
50
|
+
reason: "MAX reports its own server, protocol library and installation while retaining the shared diagnostic defaults.",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
command: ["doctor", "reports", "create"],
|
|
54
|
+
field: "description",
|
|
55
|
+
before: "write a problem report to a file, and say where to send it",
|
|
56
|
+
after: "write a problem report to a file, and print how to send it",
|
|
57
|
+
reason: "MAX reports its own server, protocol library and installation while retaining the shared diagnostic defaults.",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
messages: [
|
|
61
|
+
{
|
|
62
|
+
command: ["messages"],
|
|
63
|
+
field: "description",
|
|
64
|
+
before: "read and send messages",
|
|
65
|
+
after: "read and send messages in a chat",
|
|
66
|
+
reason: "MAX keeps its native voice transcription transport beside the shared message commands.",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
command: ["messages"],
|
|
70
|
+
field: "children",
|
|
71
|
+
before: [
|
|
72
|
+
"evidence",
|
|
73
|
+
"list",
|
|
74
|
+
"send",
|
|
75
|
+
"show",
|
|
76
|
+
"context",
|
|
77
|
+
"download",
|
|
78
|
+
"transcribe",
|
|
79
|
+
"edit",
|
|
80
|
+
"delete",
|
|
81
|
+
"forward",
|
|
82
|
+
"pin",
|
|
83
|
+
"unpin",
|
|
84
|
+
"press",
|
|
85
|
+
"scheduled",
|
|
86
|
+
"link",
|
|
87
|
+
"comments",
|
|
88
|
+
"links",
|
|
89
|
+
"sync",
|
|
90
|
+
],
|
|
91
|
+
after: [
|
|
92
|
+
"list",
|
|
93
|
+
"show",
|
|
94
|
+
"context",
|
|
95
|
+
"links",
|
|
96
|
+
"link",
|
|
97
|
+
"download",
|
|
98
|
+
"evidence",
|
|
99
|
+
"sync",
|
|
100
|
+
"transcribe",
|
|
101
|
+
"send",
|
|
102
|
+
"scheduled",
|
|
103
|
+
"edit",
|
|
104
|
+
"delete",
|
|
105
|
+
"forward",
|
|
106
|
+
"pin",
|
|
107
|
+
"unpin",
|
|
108
|
+
"press",
|
|
109
|
+
],
|
|
110
|
+
reason: "MAX keeps its native voice transcription transport beside the shared message commands.",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
command: ["messages", "transcribe"],
|
|
114
|
+
field: "summary",
|
|
115
|
+
before: "transcribe one voice message",
|
|
116
|
+
after: null,
|
|
117
|
+
reason: "MAX keeps its native voice transcription transport beside the shared message commands.",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
command: ["messages", "transcribe"],
|
|
121
|
+
field: "description",
|
|
122
|
+
before: "a voice message as text — by MAX where it can, else by a model on this machine",
|
|
123
|
+
after: "turn a voice message into text, on this machine — the recording goes nowhere",
|
|
124
|
+
reason: "MAX keeps its native voice transcription transport beside the shared message commands.",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
command: ["messages", "transcribe"],
|
|
128
|
+
field: "examples",
|
|
129
|
+
before: ['max personal messages transcribe "Book club" 101'],
|
|
130
|
+
after: null,
|
|
131
|
+
reason: "MAX keeps its native voice transcription transport beside the shared message commands.",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
command: ["messages", "transcribe"],
|
|
135
|
+
field: "arguments",
|
|
136
|
+
before: [
|
|
137
|
+
{
|
|
138
|
+
name: "chat",
|
|
139
|
+
required: true,
|
|
140
|
+
variadic: false,
|
|
141
|
+
description: "a chat: its id, or part of its title",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: "message",
|
|
145
|
+
required: true,
|
|
146
|
+
variadic: false,
|
|
147
|
+
description: "the id of a voice message",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
after: [
|
|
151
|
+
{
|
|
152
|
+
name: "chat",
|
|
153
|
+
required: true,
|
|
154
|
+
variadic: false,
|
|
155
|
+
description: "chat id, or part of a chat name",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: "message",
|
|
159
|
+
required: true,
|
|
160
|
+
variadic: false,
|
|
161
|
+
description: "id of a voice message",
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
reason: "MAX keeps its native voice transcription transport beside the shared message commands.",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
command: ["messages", "transcribe"],
|
|
168
|
+
field: "options",
|
|
169
|
+
before: [
|
|
170
|
+
{
|
|
171
|
+
flags: "--local",
|
|
172
|
+
description: "use the model on this machine, never the messenger",
|
|
173
|
+
takes_value: false,
|
|
174
|
+
mandatory: false,
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
flags: "--model <model>",
|
|
178
|
+
description: "which downloaded model; implies --local (`models list`)",
|
|
179
|
+
takes_value: true,
|
|
180
|
+
mandatory: false,
|
|
181
|
+
},
|
|
182
|
+
],
|
|
183
|
+
after: [
|
|
184
|
+
{
|
|
185
|
+
flags: "--model <model>",
|
|
186
|
+
description: "which downloaded speech model to use; `max models list kind:audio` shows them",
|
|
187
|
+
takes_value: true,
|
|
188
|
+
mandatory: false,
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
reason: "MAX keeps its native voice transcription transport beside the shared message commands.",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
chats: [
|
|
195
|
+
{
|
|
196
|
+
command: ["chats"],
|
|
197
|
+
field: "description",
|
|
198
|
+
before: "the account's chats",
|
|
199
|
+
after: "the chats this account is in",
|
|
200
|
+
reason: "MAX composes shared chat leaves with its existing provider command groups; every metadata difference is deliberate.",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
command: ["chats"],
|
|
204
|
+
field: "children",
|
|
205
|
+
before: [
|
|
206
|
+
"list",
|
|
207
|
+
"events",
|
|
208
|
+
"inspect",
|
|
209
|
+
"show",
|
|
210
|
+
"send-as",
|
|
211
|
+
"documents",
|
|
212
|
+
"members",
|
|
213
|
+
"mark-read",
|
|
214
|
+
"tracking",
|
|
215
|
+
"create",
|
|
216
|
+
"join",
|
|
217
|
+
"leave",
|
|
218
|
+
"update",
|
|
219
|
+
"links",
|
|
220
|
+
"requests",
|
|
221
|
+
"admins",
|
|
222
|
+
"folders",
|
|
223
|
+
"rules",
|
|
224
|
+
"moderate",
|
|
225
|
+
"media",
|
|
226
|
+
"mute",
|
|
227
|
+
"unmute",
|
|
228
|
+
"delete",
|
|
229
|
+
"clear",
|
|
230
|
+
"start",
|
|
231
|
+
"app",
|
|
232
|
+
],
|
|
233
|
+
after: [
|
|
234
|
+
"list",
|
|
235
|
+
"show",
|
|
236
|
+
"documents",
|
|
237
|
+
"events",
|
|
238
|
+
"inspect",
|
|
239
|
+
"join",
|
|
240
|
+
"mark-read",
|
|
241
|
+
"leave",
|
|
242
|
+
"create",
|
|
243
|
+
"members",
|
|
244
|
+
"tracking",
|
|
245
|
+
"admins",
|
|
246
|
+
"update",
|
|
247
|
+
"links",
|
|
248
|
+
"requests",
|
|
249
|
+
"folders",
|
|
250
|
+
"rules",
|
|
251
|
+
"moderate",
|
|
252
|
+
"media",
|
|
253
|
+
"mute",
|
|
254
|
+
"unmute",
|
|
255
|
+
"delete",
|
|
256
|
+
"clear",
|
|
257
|
+
"start",
|
|
258
|
+
"app",
|
|
259
|
+
],
|
|
260
|
+
reason: "MAX composes shared chat leaves with its existing provider command groups; every metadata difference is deliberate.",
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
session: [
|
|
264
|
+
{
|
|
265
|
+
command: ["session"],
|
|
266
|
+
field: "description",
|
|
267
|
+
before: "link this account, or end its login",
|
|
268
|
+
after: "the stored MAX session for this profile",
|
|
269
|
+
reason: "This provider binds its own account linking protocol, credential flow and typed receipt to the shared session lifecycle.",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
command: ["session"],
|
|
273
|
+
field: "effects",
|
|
274
|
+
before: {
|
|
275
|
+
remote: "none",
|
|
276
|
+
local: "none",
|
|
277
|
+
},
|
|
278
|
+
after: null,
|
|
279
|
+
reason: "This provider binds its own account linking protocol, credential flow and typed receipt to the shared session lifecycle.",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
command: ["session", "start"],
|
|
283
|
+
field: "description",
|
|
284
|
+
before: "link this account",
|
|
285
|
+
after: "log this profile in to MAX",
|
|
286
|
+
reason: "This provider binds its own account linking protocol, credential flow and typed receipt to the shared session lifecycle.",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
command: ["session", "start"],
|
|
290
|
+
field: "arguments",
|
|
291
|
+
before: [
|
|
292
|
+
{
|
|
293
|
+
name: "method",
|
|
294
|
+
required: false,
|
|
295
|
+
variadic: false,
|
|
296
|
+
description: "login method",
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
after: [
|
|
300
|
+
{
|
|
301
|
+
name: "method",
|
|
302
|
+
required: false,
|
|
303
|
+
variadic: false,
|
|
304
|
+
description: "token (pasted or piped), qr, qr-chrome or sms",
|
|
305
|
+
choices: ["token", "qr", "qr-chrome", "sms"],
|
|
306
|
+
default: "token",
|
|
307
|
+
},
|
|
308
|
+
],
|
|
309
|
+
reason: "This provider binds its own account linking protocol, credential flow and typed receipt to the shared session lifecycle.",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
command: ["session", "end"],
|
|
313
|
+
field: "description",
|
|
314
|
+
before: "end this account's login",
|
|
315
|
+
after: "log this profile out on MAX's side and forget the session here",
|
|
316
|
+
reason: "This provider binds its own account linking protocol, credential flow and typed receipt to the shared session lifecycle.",
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
setup: [
|
|
320
|
+
{
|
|
321
|
+
command: ["setup"],
|
|
322
|
+
field: "description",
|
|
323
|
+
before: "set up the account and connect an agent",
|
|
324
|
+
after: "set up your personal MAX account and connect your agent",
|
|
325
|
+
reason: "This provider binds its own account linking protocol, credential flow and typed receipt to the shared setup lifecycle.",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
command: ["setup"],
|
|
329
|
+
field: "options",
|
|
330
|
+
before: [
|
|
331
|
+
{
|
|
332
|
+
flags: "--agent <agent>",
|
|
333
|
+
description: "install instructions for this agent",
|
|
334
|
+
takes_value: true,
|
|
335
|
+
mandatory: false,
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
flags: "--method <method>",
|
|
339
|
+
description: "login method",
|
|
340
|
+
takes_value: true,
|
|
341
|
+
mandatory: false,
|
|
342
|
+
},
|
|
343
|
+
],
|
|
344
|
+
after: [
|
|
345
|
+
{
|
|
346
|
+
flags: "--agent <agent>",
|
|
347
|
+
description: "install the skill for this agent; asks at a terminal, otherwise none",
|
|
348
|
+
takes_value: true,
|
|
349
|
+
mandatory: false,
|
|
350
|
+
choices: ["none", "codex", "cursor", "claude", "gemini", "all"],
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
flags: "--method <method>",
|
|
354
|
+
description: "how to log in when there is no session",
|
|
355
|
+
takes_value: true,
|
|
356
|
+
mandatory: false,
|
|
357
|
+
choices: ["token", "qr", "qr-chrome", "sms"],
|
|
358
|
+
default: "qr",
|
|
359
|
+
},
|
|
360
|
+
],
|
|
361
|
+
reason: "This provider binds its own account linking protocol, credential flow and typed receipt to the shared setup lifecycle.",
|
|
362
|
+
},
|
|
363
|
+
],
|
|
364
|
+
serve: [
|
|
365
|
+
{
|
|
366
|
+
command: ["serve"],
|
|
367
|
+
field: "description",
|
|
368
|
+
before: "keep the local store current until stopped — what a systemd or launchd unit runs",
|
|
369
|
+
after: "stay connected to MAX and stream new messages to `max watch`, until Ctrl-C",
|
|
370
|
+
reason: "MAX serves command subscribers through its native broker; scanner counters are unavailable, so it deliberately does not claim a serve_summary receipt.",
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
command: ["serve"],
|
|
374
|
+
field: "output",
|
|
375
|
+
before: {
|
|
376
|
+
entity: "serve_summary",
|
|
377
|
+
},
|
|
378
|
+
after: null,
|
|
379
|
+
reason: "MAX serves command subscribers through its native broker; scanner counters are unavailable, so it deliberately does not claim a serve_summary receipt.",
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
command: ["serve"],
|
|
383
|
+
field: "examples",
|
|
384
|
+
before: ["max personal serve"],
|
|
385
|
+
after: null,
|
|
386
|
+
reason: "MAX serves command subscribers through its native broker; scanner counters are unavailable, so it deliberately does not claim a serve_summary receipt.",
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
command: ["serve"],
|
|
390
|
+
field: "options",
|
|
391
|
+
before: [],
|
|
392
|
+
after: [
|
|
393
|
+
{
|
|
394
|
+
flags: "--idle <duration>",
|
|
395
|
+
description: "stop after this long with nobody using it — 15m, 1h is 60m",
|
|
396
|
+
takes_value: true,
|
|
397
|
+
mandatory: false,
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
flags: "--max-subscriber-buffer-bytes <bytes>",
|
|
401
|
+
description: "buffer per watcher before disconnecting it; 0 is unlimited",
|
|
402
|
+
takes_value: true,
|
|
403
|
+
mandatory: false,
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
flags: "--max-subscriber-total-buffer-bytes <bytes>",
|
|
407
|
+
description: "combined watcher buffer budget; 0 is unlimited",
|
|
408
|
+
takes_value: true,
|
|
409
|
+
mandatory: false,
|
|
410
|
+
},
|
|
411
|
+
],
|
|
412
|
+
reason: "MAX serves command subscribers through its native broker; scanner counters are unavailable, so it deliberately does not claim a serve_summary receipt.",
|
|
413
|
+
},
|
|
414
|
+
],
|
|
415
|
+
contacts: [
|
|
416
|
+
{
|
|
417
|
+
command: ["contacts"],
|
|
418
|
+
field: "description",
|
|
419
|
+
before: "people this account has a one-to-one chat with",
|
|
420
|
+
after: "people you have a one-to-one chat with",
|
|
421
|
+
reason: "MAX keeps its native contact lookup and full sync transport while inheriting the shared contact contract defaults.",
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
command: ["contacts"],
|
|
425
|
+
field: "children",
|
|
426
|
+
before: [
|
|
427
|
+
"list",
|
|
428
|
+
"show",
|
|
429
|
+
"info",
|
|
430
|
+
"context",
|
|
431
|
+
"prepare",
|
|
432
|
+
"events",
|
|
433
|
+
"check",
|
|
434
|
+
"link",
|
|
435
|
+
"unlink",
|
|
436
|
+
"lookup",
|
|
437
|
+
"sync",
|
|
438
|
+
"aliases",
|
|
439
|
+
"notes",
|
|
440
|
+
"add",
|
|
441
|
+
"remove",
|
|
442
|
+
"block",
|
|
443
|
+
"unblock",
|
|
444
|
+
"rename",
|
|
445
|
+
"import",
|
|
446
|
+
],
|
|
447
|
+
after: [
|
|
448
|
+
"list",
|
|
449
|
+
"show",
|
|
450
|
+
"info",
|
|
451
|
+
"aliases",
|
|
452
|
+
"notes",
|
|
453
|
+
"sync",
|
|
454
|
+
"lookup",
|
|
455
|
+
"add",
|
|
456
|
+
"remove",
|
|
457
|
+
"block",
|
|
458
|
+
"unblock",
|
|
459
|
+
"rename",
|
|
460
|
+
"import",
|
|
461
|
+
"context",
|
|
462
|
+
"prepare",
|
|
463
|
+
"events",
|
|
464
|
+
"check",
|
|
465
|
+
"link",
|
|
466
|
+
"unlink",
|
|
467
|
+
],
|
|
468
|
+
reason: "MAX keeps its native contact lookup and full sync transport while inheriting the shared contact contract defaults.",
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
command: ["contacts", "sync"],
|
|
472
|
+
field: "description",
|
|
473
|
+
before: "take the whole contact list from the messenger into the local store",
|
|
474
|
+
after: "forget where the last sync left off and take the whole list again",
|
|
475
|
+
reason: "MAX keeps its native contact lookup and full sync transport while inheriting the shared contact contract defaults.",
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
command: ["contacts", "sync"],
|
|
479
|
+
field: "examples",
|
|
480
|
+
before: ["max personal contacts sync"],
|
|
481
|
+
after: null,
|
|
482
|
+
reason: "MAX keeps its native contact lookup and full sync transport while inheriting the shared contact contract defaults.",
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
command: ["contacts", "lookup"],
|
|
486
|
+
field: "summary",
|
|
487
|
+
before: "find an account by a phone number",
|
|
488
|
+
after: null,
|
|
489
|
+
reason: "MAX keeps its native contact lookup and full sync transport while inheriting the shared contact contract defaults.",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
command: ["contacts", "lookup"],
|
|
493
|
+
field: "description",
|
|
494
|
+
before: "who has this phone number — asks for it, or reads it from stdin; never an argument",
|
|
495
|
+
after: "who MAX has under a phone number — asks for it, or reads it from stdin",
|
|
496
|
+
reason: "MAX keeps its native contact lookup and full sync transport while inheriting the shared contact contract defaults.",
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
command: ["contacts", "lookup"],
|
|
500
|
+
field: "examples",
|
|
501
|
+
before: ["max personal contacts lookup"],
|
|
502
|
+
after: null,
|
|
503
|
+
reason: "MAX keeps its native contact lookup and full sync transport while inheriting the shared contact contract defaults.",
|
|
504
|
+
},
|
|
505
|
+
],
|
|
506
|
+
watch: [
|
|
507
|
+
{
|
|
508
|
+
command: ["watch"],
|
|
509
|
+
field: "description",
|
|
510
|
+
before: "print new messages as they arrive, until Ctrl-C or --timeout (either ends it normally)",
|
|
511
|
+
after: "print new messages as they arrive, from a running `max serve`",
|
|
512
|
+
reason: "MAX watch reads its native broker subscription and retains its provider event selectors while following the shared stream envelope.",
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
command: ["watch"],
|
|
516
|
+
field: "options",
|
|
517
|
+
before: [
|
|
518
|
+
{
|
|
519
|
+
flags: "--events",
|
|
520
|
+
description: "include changes and receipts; each item names its event",
|
|
521
|
+
takes_value: false,
|
|
522
|
+
mandatory: false,
|
|
523
|
+
},
|
|
524
|
+
],
|
|
525
|
+
after: [
|
|
526
|
+
{
|
|
527
|
+
flags: "--events",
|
|
528
|
+
description: "also print edits, deletions, reactions, reads and chat changes; every line then names its event",
|
|
529
|
+
takes_value: false,
|
|
530
|
+
mandatory: false,
|
|
531
|
+
},
|
|
532
|
+
],
|
|
533
|
+
reason: "MAX watch reads its native broker subscription and retains its provider event selectors while following the shared stream envelope.",
|
|
534
|
+
},
|
|
535
|
+
],
|
|
536
|
+
};
|
|
537
|
+
//# sourceMappingURL=contract-overrides.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract-overrides.js","sourceRoot":"","sources":["../src/contract-overrides.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,MAAM,CAAC,MAAM,eAAe,GASvB;IACH,MAAM,EAAE;QACN;YACE,OAAO,EAAE,CAAC,QAAQ,CAAC;YACnB,KAAK,E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MAAM,EACJ,oHAAoH;SACvH;QACD;YACE,OAAO,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC;YAC/B,KAAK,EAAE,SAAS;YAChB,MAAM,EAAE,mCAAmC;YAC3C,KAAK,EAAE,IAAI;YACX,MAAM,EACJ,oHAAoH;SACvH;QACD;YACE,OAAO,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC;YAC/B,KAAK,EAAE,aAAa;YACpB,MAAM,EAAE,oFAAoF;YAC5F,KAAK,EAAE,wEAAwE;YAC/E,MAAM,EACJ,oHAAoH;SACvH;QACD;YACE,OAAO,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC;YAC/B,KAAK,EAAE,UAAU;YACjB,MAAM,EAAE,CAAC,8BAA8B,CAAC;YACxC,KAAK,EAAE,IAAI;YACX,MAAM,EACJ,oHAAoH;SACvH;KACF;IACD,KAAK,EAAE;QACL;YACE,OAAO,EAAE,CAAC,OAAO,CAAC;YAClB,KAAK,EAAE,aAAa;YACpB,MAAM,EAAE,wFAAwF;YAChG,KAAK,EAAE,+DAA+D;YACtE,MAAM,EACJ,qIAAqI;SACxI;QACD;YACE,OAAO,EAAE,CAAC,OAAO,CAAC;YAClB,KAAK,EAAE,SAAS;YAChB,MAAM,EAAE;gBACN;oBACE,KAAK,EAAE,UAAU;oBACjB,WAAW,EAAE,yDAAyD;oBACtE,WAAW,EAAE,KAAK;oBAClB,SAAS,EAAE,KAAK;iBACjB;aACF;YACD,KAAK,EAAE;gBACL;oBACE,KAAK,EAAE,UAAU;oBACjB,WAAW,EACT,iGAAiG;oBACnG,WAAW,EAAE,KAAK;oBAClB,SAAS,EAAE,KAAK;iBACjB;aACF;YACD,MAAM,EACJ,qIAAqI;SACxI;KACF;CACF,CAAA"}
|
|
@@ -311,7 +311,7 @@ export declare const OPERATIONS: {
|
|
|
311
311
|
}, undefined>>;
|
|
312
312
|
readonly "chats.updateMembers": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
313
313
|
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
314
|
-
readonly userIds: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>, undefined>, import("valibot").MinLengthAction<bigint[], 1, undefined>]>;
|
|
314
|
+
readonly userIds: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>, undefined>, import("valibot").MinLengthAction<bigint[], 1, undefined>]>, undefined>;
|
|
315
315
|
readonly operation: import("valibot").PicklistSchema<["add", "remove"], undefined>;
|
|
316
316
|
readonly type: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["ADMIN", "JOIN_REQUEST"], undefined>, undefined>;
|
|
317
317
|
readonly showHistory: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
package/dist/messenger.js
CHANGED
package/dist/messenger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messenger.js","sourceRoot":"","sources":["../src/messenger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAiC,WAAW,EAAkB,MAAM,yBAAyB,CAAA;AACpG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAE9D,OAAO,EAAmB,UAAU,EAAE,MAAM,0BAA0B,CAAA;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACjE,OAAO,EAAE,eA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,IAAI,OAAO,CAAC,IAAI,EAAE,KAAK,IAAI;gBAAE,MAAM,MAAM,CAAC,OAAO,EAAE,CAAA;YACnD,OAAO;gBACL,GAAG,OAAO;gBACV,KAAK,EAAE,KAAK,IAAI,EAAE;oBAChB,IAAI,CAAC;wBACH,MAAM,OAAO,CAAC,KAAK,EAAE,CAAA;oBACvB,CAAC;4BAAS,CAAC;wBACT,MAAM,MAAM,CAAC,KAAK,EAAE,CAAA;oBACtB,CAAC;gBACH,CAAC;aACF,CAAA;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC;gBACH,MAAM,MAAM,EAAE,KAAK,EAAE,CAAA;YACvB,CAAC;oBAAS,CAAC;gBACT,MAAM,MAAM,CAAC,KAAK,EAAE,CAAA;YACtB,CAAC;YACD,MAAM,KAAK,CAAA;QACb,CAAC;IACH,CAAC;CACF,CAAA"}
|
package/dist/program.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../src/program.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../src/program.ts"],"names":[],"mappings":"AAIA,OAAO,EAeL,KAAK,cAAc,EAcpB,MAAM,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAWxC,OAAO,EAAE,KAAK,WAAW,EAAiB,MAAM,uBAAuB,CAAA;AAoBvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAK3D,YAAY,EAAE,cAAc,EAAE,CAAA;AAE9B,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,MAAM,CAAC;IAC1E,4DAA4D;IAC5D,UAAU,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;CACpC;AA0HD,eAAO,MAAM,aAAa,aAAa,cAAc,KAAQ,OAAqD,CAAA;AAElH,eAAO,MAAM,GAAG,SAAgB,MAAM,EAAE,YAAW,UAAU,KAAQ,OAAO,CAAC,MAAM,CAgBlF,CAAA"}
|
package/dist/program.js
CHANGED
|
@@ -2,7 +2,7 @@ import { appendFileSync } from "node:fs";
|
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
3
|
import { CliError, processStreams } from "@wirecat/cli-base";
|
|
4
4
|
import { metaOf } from "@wirecat/cli-base/commands";
|
|
5
|
-
import { attachmentsCommand, conversationsCommand, createProgram as createSharedProgram, floodCommand, guideCommand, imagesCommand, inboxCommand, inSection, MEMO_SCENARIOS, mcpCommand, mentionsCommand, metadataCommand, pollsCommand, provide, reactionsCommand, repliesCommand, reviewCommand, run as runShared, scheduleCommand, searchCommand, searchesCommand, storeCommand as sharedStoreCommand, statsCommand, tagsCommand, tasksCommand, } from "@wirecat/cli-core/cli";
|
|
5
|
+
import { attachmentsCommand, conversationsCommand, createProgram as createSharedProgram, floodCommand, guideCommand, imagesCommand, inboxCommand, inSection, MEMO_SCENARIOS, mcpCommand, mentionsCommand, metadataCommand, overrideSharedContract, pollsCommand, provide, reactionsCommand, repliesCommand, reviewCommand, run as runShared, scheduleCommand, searchCommand, searchesCommand, storeCommand as sharedStoreCommand, statsCommand, tagsCommand, tasksCommand, } from "@wirecat/cli-core/cli";
|
|
6
6
|
import { levelFor } from "@wirecat/cli-core/sends";
|
|
7
7
|
import { MAX_APP } from "./app.js";
|
|
8
8
|
import { accountCommand } from "./commands/account.js";
|
|
@@ -66,8 +66,9 @@ const definition = (options = {}) => ({
|
|
|
66
66
|
lockedStore(sharedStoreCommand(maxMessenger)),
|
|
67
67
|
statsCommand(maxMessenger),
|
|
68
68
|
// MAX's own serve does not run the question and mention rules, so the shared "review and serve add them" is untrue here.
|
|
69
|
-
tasksCommand(maxMessenger)
|
|
70
|
-
"review, inbox and messages sync add them, serve only the requests of auto-reply rules")
|
|
69
|
+
overrideSharedContract(tasksCommand(maxMessenger), "MAX's serve does not run the shared question and mention scanners; its task help must state that limit.", (command) => {
|
|
70
|
+
command.description("what waits on you — unanswered questions, mentions, requests, promises — kept in the local store; review, inbox and messages sync add them, serve only the requests of auto-reply rules");
|
|
71
|
+
}),
|
|
71
72
|
conversationsCommand(maxMessenger),
|
|
72
73
|
attachmentsCommand(maxMessenger),
|
|
73
74
|
tagsCommand(maxMessenger),
|