@mu-cabin/muc-cli 0.6.3 → 0.6.4
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 +5 -1
- package/REFERENCE.md +3 -1
- package/dist/muc.mjs +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
0.6.0 迁入新版命令契约。要求 **Node.js ≥ 22.16**,使用内置 SQLite,无需独立 Supervisor、Launcher、Keychain、TUI 或客户端。运行时依赖已打包进单个 `dist/muc.mjs`。
|
|
6
6
|
|
|
7
|
+
## 0.6.4 大群 @ 名单接收修复
|
|
8
|
+
|
|
9
|
+
移除接收、读取和发送链路对 @ 人员列表的 100 人限制,完整保留名单,避免大群消息导致整批入站校验失败、无法确认接收和后续消息积压。账号格式与报文大小校验保持不变。升级后需重启 daemon,新代码才会生效。
|
|
10
|
+
|
|
7
11
|
## 0.6.2 附件下载修复
|
|
8
12
|
|
|
9
13
|
图片和文件可下载到操作系统允许写入的目录,包括 macOS `/tmp`、共享目录和目录符号链接。路径无效或目标文件已存在时返回明确错误与修复提示,不再误报后台不支持操作。下载仍不覆盖已有文件。
|
|
@@ -18,7 +22,7 @@
|
|
|
18
22
|
|
|
19
23
|
```powershell
|
|
20
24
|
node --version
|
|
21
|
-
npm.cmd install -g @mu-cabin/muc-cli@0.6.
|
|
25
|
+
npm.cmd install -g @mu-cabin/muc-cli@0.6.4
|
|
22
26
|
muc.cmd --version
|
|
23
27
|
muc.cmd login --account YOUR_ACCOUNT --profile-id default --remember
|
|
24
28
|
muc.cmd whoami --profile-id default
|
package/REFERENCE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# MUC 命令契约
|
|
2
2
|
|
|
3
|
-
本文件描述 0.6.
|
|
3
|
+
本文件描述 0.6.4 的命令契约。旧的 `send/history/daemon-*` 命令已移除。
|
|
4
4
|
|
|
5
5
|
## 命令结构
|
|
6
6
|
|
|
@@ -50,3 +50,5 @@ Windows 默认配置根为 `%USERPROFILE%\.muc`。PowerShell 若阻止 npm 生
|
|
|
50
50
|
普通文件发送默认不带尾注(包括带说明的文件消息);明确 `--tail` 才添加。文件上传须完成服务端扫描并取得未来有效期,才会进入消息发送;扫描失败不会降级发送过期文件。
|
|
51
51
|
|
|
52
52
|
附件下载按操作系统权限处理输出目录,支持 `/tmp`、共享目录和目录符号链接;仍不覆盖已有文件。`OUTPUT_PATH_INVALID` 表示路径无效或不可用,`OUTPUT_EXISTS` 表示目标文件已存在。省略 `outputPath` 使用账号私有下载目录。
|
|
53
|
+
|
|
54
|
+
@ 人员列表不设固定人数上限,不截断接收或发送的名单;账号格式、正文及传输报文大小校验仍适用。
|
package/dist/muc.mjs
CHANGED
|
@@ -9425,7 +9425,7 @@ var V2StoredContentBlockSchema = external_exports.lazy(() => external_exports.di
|
|
|
9425
9425
|
external_exports.object({
|
|
9426
9426
|
type: external_exports.literal("text"),
|
|
9427
9427
|
text: external_exports.string().min(1).max(32200),
|
|
9428
|
-
mentions: external_exports.array(V2MentionSchema).
|
|
9428
|
+
mentions: external_exports.array(V2MentionSchema).optional()
|
|
9429
9429
|
}).strict(),
|
|
9430
9430
|
external_exports.object({
|
|
9431
9431
|
type: external_exports.enum(["image", "file", "voice"]),
|
|
@@ -9495,7 +9495,7 @@ var V2MessageSchema = external_exports.object({
|
|
|
9495
9495
|
createdAtMs: V2EpochMsSchema,
|
|
9496
9496
|
readByPeer: external_exports.boolean().optional(),
|
|
9497
9497
|
readByPeerIds: external_exports.array(V2SafeIdSchema).max(100).optional(),
|
|
9498
|
-
mentionUserIds: external_exports.array(V2SafeIdSchema).
|
|
9498
|
+
mentionUserIds: external_exports.array(V2SafeIdSchema).optional(),
|
|
9499
9499
|
mentionsSelf: external_exports.boolean().optional(),
|
|
9500
9500
|
countsAsUnread: external_exports.boolean().optional(),
|
|
9501
9501
|
kind: V2MessageKindSchema,
|
|
@@ -10033,7 +10033,7 @@ var OutgoingContentBlockSchema = external_exports.discriminatedUnion("type", [
|
|
|
10033
10033
|
external_exports.object({
|
|
10034
10034
|
type: external_exports.literal("text"),
|
|
10035
10035
|
text: external_exports.string().min(1).max(32e3),
|
|
10036
|
-
mentions: external_exports.array(OutgoingMentionSchema).
|
|
10036
|
+
mentions: external_exports.array(OutgoingMentionSchema).optional()
|
|
10037
10037
|
}).strict(),
|
|
10038
10038
|
external_exports.object({
|
|
10039
10039
|
type: external_exports.enum(["image", "file", "voice"]),
|
|
@@ -12326,7 +12326,7 @@ async function assertLegacyStopped(root) {
|
|
|
12326
12326
|
// package.json
|
|
12327
12327
|
var package_default = {
|
|
12328
12328
|
name: "@mu-cabin/muc-cli",
|
|
12329
|
-
version: "0.6.
|
|
12329
|
+
version: "0.6.4",
|
|
12330
12330
|
description: "Standalone agent-first MUC CLI with an embedded background daemon",
|
|
12331
12331
|
license: "MIT",
|
|
12332
12332
|
type: "module",
|
|
@@ -14131,7 +14131,7 @@ var NativeStoredContentBlockSchema = external_exports.lazy(() => external_export
|
|
|
14131
14131
|
external_exports.object({
|
|
14132
14132
|
type: external_exports.literal("text"),
|
|
14133
14133
|
text: external_exports.string().min(1).max(32e3),
|
|
14134
|
-
mentions: external_exports.array(NativeMentionSchema).
|
|
14134
|
+
mentions: external_exports.array(NativeMentionSchema).optional()
|
|
14135
14135
|
}).strict(),
|
|
14136
14136
|
external_exports.object({
|
|
14137
14137
|
type: external_exports.enum(["image", "file", "voice"]),
|
|
@@ -14182,7 +14182,7 @@ var NativeMessageSchema = external_exports.object({
|
|
|
14182
14182
|
/** Stable peer ids from roaming payloads and realtime read receipts. */
|
|
14183
14183
|
readByPeerIds: external_exports.array(SafeIdSchema).max(100).optional(),
|
|
14184
14184
|
/** App-key-qualified protocol mention targets carried by this message. */
|
|
14185
|
-
mentionUserIds: external_exports.array(SafeIdSchema).
|
|
14185
|
+
mentionUserIds: external_exports.array(SafeIdSchema).optional(),
|
|
14186
14186
|
/** Authoritative normalization result for an unread @me badge. */
|
|
14187
14187
|
mentionsSelf: external_exports.boolean().optional(),
|
|
14188
14188
|
/** Overrides direction-based unread semantics for visible system messages. */
|
|
@@ -14372,7 +14372,7 @@ var NativeOutgoingContentBlockSchema = external_exports.discriminatedUnion("type
|
|
|
14372
14372
|
external_exports.object({
|
|
14373
14373
|
type: external_exports.literal("text"),
|
|
14374
14374
|
text: external_exports.string().min(1).max(32e3),
|
|
14375
|
-
mentions: external_exports.array(NativeOutgoingMentionSchema).
|
|
14375
|
+
mentions: external_exports.array(NativeOutgoingMentionSchema).optional()
|
|
14376
14376
|
}).strict(),
|
|
14377
14377
|
external_exports.object({
|
|
14378
14378
|
type: external_exports.enum(["image", "file", "voice"]),
|
|
@@ -14407,7 +14407,7 @@ var NativePlannedContentBlockSchema = external_exports.discriminatedUnion("type"
|
|
|
14407
14407
|
external_exports.object({
|
|
14408
14408
|
type: external_exports.literal("text"),
|
|
14409
14409
|
text: external_exports.string().min(1).max(32200),
|
|
14410
|
-
mentions: external_exports.array(NativeOutgoingMentionSchema).
|
|
14410
|
+
mentions: external_exports.array(NativeOutgoingMentionSchema).optional()
|
|
14411
14411
|
}).strict(),
|
|
14412
14412
|
external_exports.object({
|
|
14413
14413
|
type: external_exports.enum(["image", "file", "voice"]),
|
|
@@ -14431,7 +14431,7 @@ var NativePersistedContentBlockSchema = external_exports.discriminatedUnion("typ
|
|
|
14431
14431
|
external_exports.object({
|
|
14432
14432
|
type: external_exports.literal("text"),
|
|
14433
14433
|
text: external_exports.string().min(1).max(32200),
|
|
14434
|
-
mentions: external_exports.array(NativeOutgoingMentionSchema).
|
|
14434
|
+
mentions: external_exports.array(NativeOutgoingMentionSchema).optional()
|
|
14435
14435
|
}).strict(),
|
|
14436
14436
|
external_exports.object({
|
|
14437
14437
|
type: external_exports.enum(["image", "file", "voice"]),
|