feat(onebot): implement mark all as read
Replace the compatibility no-op with a real batched read action for current groups and observed incoming private conversations. Exclude stale groups, group temporary sessions, and sent-message echoes from private targets, then expose the functional action through the generated MCP catalog. Add action and message-store regressions for target selection and delegation.
This commit is contained in:
8 files changed
+93
-14
No files matched your search
@@ -155,7 +155,7 @@
|
||||
{
|
||||
"name": "_mark_all_as_read",
|
||||
"aliases": [],
|
||||
"summary": "标记全部已读(no-op,待 RE 全读 cmd)",
|
||||
"summary": "标记全部已读",
|
||||
"readOnly": false,
|
||||
"params": [],
|
||||
"invariants": [],
|
||||
|
||||
@@ -158,7 +158,7 @@ export const ACTIONS: CatalogAction[] = [
|
||||
{
|
||||
"name": "_mark_all_as_read",
|
||||
"aliases": [],
|
||||
"summary": "标记全部已读(no-op,待 RE 全读 cmd)",
|
||||
"summary": "标记全部已读",
|
||||
"readOnly": false,
|
||||
"params": [],
|
||||
"invariants": [],
|
||||
|
||||
Reference in new issue
Block a user