3202 lines
156 KiB
JSON
3202 lines
156 KiB
JSON
{
|
||
"version": 1,
|
||
"source": {
|
||
"kind": "explicit",
|
||
"name": "dws-agent-selection/chat",
|
||
"repository": "DingTalk-Real-AI/dingtalk-workspace-cli",
|
||
"channel": "open-source",
|
||
"reviewed": true
|
||
},
|
||
"tools": {
|
||
"chat.add_custom_group_role": {
|
||
"agent_summary": "在群聊中创建自定义角色",
|
||
"use_when": [
|
||
"需要新增可分配给群成员的业务角色时"
|
||
],
|
||
"avoid_when": [
|
||
"设置系统管理员角色时使用 chat group set-admin"
|
||
],
|
||
"examples": [
|
||
"dws chat group-role add --group <openConversationId> --name \"值班负责人\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.add_custom_group_role",
|
||
"cobra-help:dws chat group-role add",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.add_emoji_reaction": {
|
||
"agent_summary": "使用同一会话中真实的 openMessageId 给指定消息添加表情回应",
|
||
"use_when": [
|
||
"需要对已有消息添加一个 emoji reaction 时;conversation-id 与 msg-id 必须来自同一条真实消息"
|
||
],
|
||
"avoid_when": [
|
||
"发送文本消息或文字表情时不要使用;不要把 openTaskId 当作 msg-id"
|
||
],
|
||
"examples": [
|
||
"dws chat message add-emoji --conversation-id <openConversationId> --msg-id <openMessageId> --emoji \"赞\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.add_emoji_reaction",
|
||
"cobra-help:dws chat message add-emoji",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.add_group_member": {
|
||
"agent_summary": "向指定群聊添加成员",
|
||
"use_when": [
|
||
"已知群 ID 和成员 ID,需要邀请成员入群时"
|
||
],
|
||
"avoid_when": [
|
||
"添加机器人时使用 chat group members add-bot"
|
||
],
|
||
"examples": [
|
||
"dws chat group members add --id <openConversationId> --users userId1,userId2"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.add_group_member",
|
||
"cobra-help:dws chat group members add",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.add_message_favorite": {
|
||
"agent_summary": "将指定会话中的一条消息加入当前用户的收藏。",
|
||
"use_when": [
|
||
"用户明确要收藏一条已知消息,且已取得消息 ID 与所属会话 ID 时。"
|
||
],
|
||
"avoid_when": [
|
||
"需要给消息添加表情、置顶消息或发送新消息时不要使用;本命令只修改当前用户的收藏状态。"
|
||
],
|
||
"examples": [
|
||
"dws chat message add-favorite --open-message-id MSG_ID --open-conversation-id CONVERSATION_ID"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据新增的真实 Cobra leaf、消息收藏实现和 chat 产品参考补齐 reviewed Agent 选择语义;不改变执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.add_message_favorite",
|
||
"cobra-help:dws chat message add-favorite --help",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.add_robot_to_group": {
|
||
"agent_summary": "把企业机器人拉进我有管理权限的群",
|
||
"use_when": [
|
||
"需要把已有企业机器人加入指定群"
|
||
],
|
||
"avoid_when": [
|
||
"添加普通成员时使用 chat group members add",
|
||
"移除群内机器人时使用 chat group members remove-bot"
|
||
],
|
||
"examples": [
|
||
"dws chat group members add-bot --robot-code <robot-code> --id <openconversation_id>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.add_robot_to_group",
|
||
"cobra-help:dws chat group members add-bot",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:bot.add_robot_to_group"
|
||
]
|
||
},
|
||
"chat.add_text_emotion": {
|
||
"agent_summary": "给指定消息添加已定义的文字表情",
|
||
"use_when": [
|
||
"已有文字表情定义并要附加到消息时"
|
||
],
|
||
"avoid_when": [
|
||
"需要先创建文字表情资源时使用 chat message create-text-emotion"
|
||
],
|
||
"examples": [
|
||
"dws chat message add-text-emotion --conversation-id <openConversationId> --msg-id <openMessageId> --emotion-id <emotionId> --emotion-name \"赞\" --text \"nice\" --background-id im_bg_5"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.add_text_emotion",
|
||
"cobra-help:dws chat message add-text-emotion",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.combine_forward_messages": {
|
||
"agent_summary": "把多条消息合并转发到目标会话",
|
||
"use_when": [
|
||
"需要保留多条源消息并作为合集转发时"
|
||
],
|
||
"avoid_when": [
|
||
"只转发单条消息时使用 chat message forward"
|
||
],
|
||
"examples": [
|
||
"dws chat message combine-forward --src-conversation-id <srcConversationId> --msg-ids <id1>,<id2> --dest-conversation-id <destConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.combine_forward_messages",
|
||
"cobra-help:dws chat message combine-forward",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.create_and_send_card": {
|
||
"agent_summary": "创建并向群聊或单聊发送通用流式卡片",
|
||
"use_when": [
|
||
"需要通用流式卡片交互且已准备接收会话或用户时"
|
||
],
|
||
"avoid_when": [
|
||
"只发送普通文本时使用 send 或 send-by-bot;转发现有审批、日历、待办等原生产品卡片时应先取得真实 openMessageId,再使用 message forward"
|
||
],
|
||
"examples": [
|
||
"dws chat message send-card --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.create_and_send_card",
|
||
"cobra-help:dws chat message send-card",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.create_group_conversation": {
|
||
"agent_summary": "创建群聊并可指定群名与初始成员",
|
||
"use_when": [
|
||
"需要新建内部/外部群或话题圈,并带上初始成员",
|
||
"用户明确要建群且已给出群名与成员标识"
|
||
],
|
||
"avoid_when": [
|
||
"已有群只需加人时使用 chat group members add",
|
||
"只是搜索已有群时使用 chat search"
|
||
],
|
||
"examples": [
|
||
"dws chat group create --name \"Q1 项目冲刺群\" --users userId1,userId2,userId3"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.create_group_conversation",
|
||
"cobra-help:dws chat group create",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:chat.create_group_conversation"
|
||
]
|
||
},
|
||
"chat.create_smart_conv_category": {
|
||
"agent_summary": "按名称、成员或关键词创建智能会话分组",
|
||
"use_when": [
|
||
"需要自动归集符合条件的会话时"
|
||
],
|
||
"avoid_when": [
|
||
"只需查看现有分组或手工管理会话时不要使用"
|
||
],
|
||
"examples": [
|
||
"dws chat category create-smart --name \"项目群\" --keywords \"项目,交付\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.create_smart_conv_category",
|
||
"cobra-help:dws chat category create-smart",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.create_text_emotion": {
|
||
"agent_summary": "创建可用于消息回应的文字表情",
|
||
"use_when": [
|
||
"需要定义新的文字表情资源时"
|
||
],
|
||
"avoid_when": [
|
||
"已有 emotionId 并要回应消息时使用 chat message add-text-emotion"
|
||
],
|
||
"examples": [
|
||
"dws chat message create-text-emotion --emotion-name \"赞\" --text \"nice\" --background-id im_bg_5"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.create_text_emotion",
|
||
"cobra-help:dws chat message create-text-emotion",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.dismiss_group": {
|
||
"agent_summary": "永久解散指定群聊(不可恢复,仅群主)",
|
||
"use_when": [
|
||
"群主明确要求永久解散整个群,而不是自己退出",
|
||
"已确认 openConversationId,且用户接受群与历史消息一并消失"
|
||
],
|
||
"avoid_when": [
|
||
"当前用户只想自己离开群时使用 chat group quit",
|
||
"仍需保留群供他人继续使用时不要解散",
|
||
"目标群未确认或用户未明确同意不可恢复后果时不要执行"
|
||
],
|
||
"examples": [
|
||
"dws chat group dismiss --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.dismiss_group",
|
||
"cobra-help:dws chat group dismiss",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:chat.dismiss_group",
|
||
"helper:internal/helpers/chat.go#dismiss --yes"
|
||
]
|
||
},
|
||
"chat.download_media": {
|
||
"agent_summary": "下载消息中的媒体资源到本地",
|
||
"use_when": [
|
||
"已知消息、会话和资源 ID,需要保存媒体文件时"
|
||
],
|
||
"avoid_when": [
|
||
"只查看文本消息内容时使用对应消息查询命令;本命令不是发送附件的前置步骤,本地文件发送直接使用 message send --msg-type file --file-path"
|
||
],
|
||
"examples": [
|
||
"dws chat message download-media --type mediaId --resource-id <mediaId> --message-id <openMessageId> --open-conversation-id <openConversationId> --output ."
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.download_media",
|
||
"cobra-help:dws chat message download-media",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.forward_message": {
|
||
"agent_summary": "把一条已有消息转发到另一个会话",
|
||
"use_when": [
|
||
"已知同一源会话中的真实 openMessageId 与源、目标会话 ID,需要保留原消息或原生产品卡片时"
|
||
],
|
||
"avoid_when": [
|
||
"合并转发多条消息时使用 chat message combine-forward;OA 实例 ID、日历事件 ID、待办任务 ID 等产品对象 ID 不能代替消息 ID"
|
||
],
|
||
"examples": [
|
||
"dws chat message forward --src-conversation-id <srcConversationId> --msg-id <openMessageId> --dest-conversation-id <destConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.forward_message",
|
||
"cobra-help:dws chat message forward",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.forward_topic": {
|
||
"agent_summary": "把一个话题消息转发到目标会话",
|
||
"use_when": [
|
||
"需要转发话题圈中的主题及上下文时"
|
||
],
|
||
"avoid_when": [
|
||
"普通单条消息转发使用 chat message forward"
|
||
],
|
||
"examples": [
|
||
"dws chat message forward-topic --src-msg-id <openMessageId> --src-conversation-id <srcConversationId> --src-thread-id <threadId> --dest-conversation-id <destConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.forward_topic",
|
||
"cobra-help:dws chat message forward-topic",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.get_conv_info_by_group_id": {
|
||
"agent_summary": "把数字群号解析为群聊信息",
|
||
"use_when": [
|
||
"用户只提供数字群号且需要 openConversationId 时"
|
||
],
|
||
"avoid_when": [
|
||
"已经持有 openConversationId 时直接使用目标命令"
|
||
],
|
||
"examples": [
|
||
"dws chat group get-by-group-id --group-id 12345678"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.get_conv_info_by_group_id",
|
||
"cobra-help:dws chat group get-by-group-id",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.get_conversation_info": {
|
||
"agent_summary": "获取群聊或单聊会话的详细信息",
|
||
"use_when": [
|
||
"已知群 ID 或单聊用户标识并需要解析会话详情时;--group、--user、--open-dingtalk-id 只能选择一个"
|
||
],
|
||
"avoid_when": [
|
||
"按群名查找会话时使用 chat search"
|
||
],
|
||
"examples": [
|
||
"dws chat conversation-info --group <openConversationId> --format json"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.get_conversation_info",
|
||
"cobra-help:dws chat conversation-info",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.get_group_invite_url": {
|
||
"agent_summary": "获取指定群聊的邀请链接",
|
||
"use_when": [
|
||
"需要生成群邀请链接或设置有效期时"
|
||
],
|
||
"avoid_when": [
|
||
"需要直接添加已知成员时使用 chat group members add"
|
||
],
|
||
"examples": [
|
||
"dws chat group invite-url --group <openConversationId> --expires-seconds 86400"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.get_group_invite_url",
|
||
"cobra-help:dws chat group invite-url",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_conversation_message_v2": {
|
||
"agent_summary": "分页读取指定会话消息及其引用上下文",
|
||
"use_when": [
|
||
"用户明确指定某个会话,并要读取消息或追溯引用回复中的原消息上下文时"
|
||
],
|
||
"avoid_when": [
|
||
"跨全部会话按时间查询时使用 chat message list-all;关键词搜索或审计应使用 message search,不要拉最近消息后在本地筛选"
|
||
],
|
||
"examples": [
|
||
"dws chat message list --group <openConversationId> --time \"2026-07-01 00:00:00\" --limit 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "复核 dws-wukong 2026-07-14 读取能力同步:指定会话查询应保留 quotedMessage,并覆盖被引用的合并转发与图片内容;不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_conversation_message_v2",
|
||
"cobra-help:dws chat message list",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_conversations_by_category": {
|
||
"agent_summary": "列出指定会话分组中的会话",
|
||
"use_when": [
|
||
"已知分组 ID 并需要查看其中会话时"
|
||
],
|
||
"avoid_when": [
|
||
"只需列出分组本身时使用 chat category list"
|
||
],
|
||
"examples": [
|
||
"dws chat category list-conversations --category-id 123"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_conversations_by_category",
|
||
"cobra-help:dws chat category list-conversations",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_custom_group_roles": {
|
||
"agent_summary": "列出群聊中的自定义角色",
|
||
"use_when": [
|
||
"需要取得角色 ID 或查看角色定义时"
|
||
],
|
||
"avoid_when": [
|
||
"查询某个成员已分配角色时使用 chat group-role query-user"
|
||
],
|
||
"examples": [
|
||
"dws chat group-role list --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_custom_group_roles",
|
||
"cobra-help:dws chat group-role list",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_group_bots": {
|
||
"agent_summary": "列出群内机器人",
|
||
"use_when": [
|
||
"需要查看某群已安装哪些机器人或提取 openBotId"
|
||
],
|
||
"avoid_when": [
|
||
"搜索企业内机器人目录时使用 chat bot find"
|
||
],
|
||
"examples": [
|
||
"dws chat group bots --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_group_bots",
|
||
"cobra-help:dws chat group bots",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:bot.list_group_bots"
|
||
]
|
||
},
|
||
"chat.list_individual_chat_message": {
|
||
"agent_summary": "读取与指定用户的单聊消息记录",
|
||
"use_when": [
|
||
"用户明确要求查看和某人的一对一聊天时"
|
||
],
|
||
"avoid_when": [
|
||
"跨群聊按发送者查询时使用 chat message list-by-sender"
|
||
],
|
||
"examples": [
|
||
"dws chat message list-direct --user <userId> --time \"2026-07-01 00:00:00\" --direction newer --limit 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_individual_chat_message",
|
||
"cobra-help:dws chat message list-direct",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_message_favorites": {
|
||
"agent_summary": "分页查询当前用户收藏的消息列表。",
|
||
"use_when": [
|
||
"需要查看当前用户已经收藏的消息,或使用 nextCursor 继续翻页时。"
|
||
],
|
||
"avoid_when": [
|
||
"需要搜索普通聊天记录、置顶消息或修改收藏状态时不要使用。"
|
||
],
|
||
"examples": [
|
||
"dws chat message list-favorites --cursor 0 --size 20"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据新增的真实 Cobra leaf、数字游标分页契约和 chat 产品参考补齐 reviewed Agent 选择语义与示例。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_message_favorites",
|
||
"cobra-help:dws chat message list-favorites --help",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_messages_by_ids": {
|
||
"agent_summary": "按消息 ID 批量获取消息详情",
|
||
"use_when": [
|
||
"已经持有一组 msgId 并需要精确取回消息时"
|
||
],
|
||
"avoid_when": [
|
||
"只有关键词或时间范围时使用 search 或 list 命令"
|
||
],
|
||
"examples": [
|
||
"dws chat message list-by-ids --msg-ids msgId1,msgId2"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_messages_by_ids",
|
||
"cobra-help:dws chat message list-by-ids",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_owned_or_admin_groups": {
|
||
"agent_summary": "列出当前用户创建或管理的群聊",
|
||
"use_when": [
|
||
"需要按群主或管理员角色盘点群聊时"
|
||
],
|
||
"avoid_when": [
|
||
"按名称搜索任意可见群时使用 chat search"
|
||
],
|
||
"examples": [
|
||
"dws chat group list-my-groups --role OWNER --limit 100"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_owned_or_admin_groups",
|
||
"cobra-help:dws chat group list-my-groups",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_pin_messages": {
|
||
"agent_summary": "列出指定会话中的置顶消息",
|
||
"use_when": [
|
||
"需要查看群聊当前置顶的消息时"
|
||
],
|
||
"avoid_when": [
|
||
"设置或取消置顶时使用 set-pin-msg 或 unset-pin-msg"
|
||
],
|
||
"examples": [
|
||
"dws chat message list-pin-msg --open-conversation-id <openConversationId> --size 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_pin_messages",
|
||
"cobra-help:dws chat message list-pin-msg",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_special_focus_messages": {
|
||
"agent_summary": "列出当前用户特别关注的消息",
|
||
"use_when": [
|
||
"需要查看特别关注或重点消息列表时"
|
||
],
|
||
"avoid_when": [
|
||
"普通未读消息或提及消息使用对应专用命令"
|
||
],
|
||
"examples": [
|
||
"dws chat message list-focused --limit 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_special_focus_messages",
|
||
"cobra-help:dws chat message list-focused",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_top_conversations": {
|
||
"agent_summary": "列出当前用户置顶的会话",
|
||
"use_when": [
|
||
"需要查看现有置顶会话清单时"
|
||
],
|
||
"avoid_when": [
|
||
"设置或取消某个会话置顶时使用 chat set-top"
|
||
],
|
||
"examples": [
|
||
"dws chat list-top-conversations --limit 100"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_top_conversations",
|
||
"cobra-help:dws chat list-top-conversations",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_topic_replies": {
|
||
"agent_summary": "分页读取指定话题的回复",
|
||
"use_when": [
|
||
"已知话题 ID 并需要查看回复串时"
|
||
],
|
||
"avoid_when": [
|
||
"读取普通会话消息时使用 chat message list"
|
||
],
|
||
"examples": [
|
||
"dws chat message list-topic-replies --group <openConversationId> --topic-id <topicId> --limit 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_topic_replies",
|
||
"cobra-help:dws chat message list-topic-replies",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.list_user_define_conv_categories": {
|
||
"agent_summary": "列出当前用户的自定义会话分组",
|
||
"use_when": [
|
||
"需要取得分组 ID 或浏览分组配置时"
|
||
],
|
||
"avoid_when": [
|
||
"需要查看某个分组内会话时使用 chat category list-conversations"
|
||
],
|
||
"examples": [
|
||
"dws chat category list"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.list_user_define_conv_categories",
|
||
"cobra-help:dws chat category list",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.query_custom_user_roles": {
|
||
"agent_summary": "查询指定群成员的自定义角色",
|
||
"use_when": [
|
||
"需要核对某个成员在群内的业务角色时"
|
||
],
|
||
"avoid_when": [
|
||
"列出全部角色定义时使用 chat group-role list"
|
||
],
|
||
"examples": [
|
||
"dws chat group-role query-user --group <openConversationId> --user <userId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.query_custom_user_roles",
|
||
"cobra-help:dws chat group-role query-user",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.query_message_send_status": {
|
||
"agent_summary": "查询异步消息发送任务的业务终态,并按 sendStatus 判断是否真正投递成功",
|
||
"use_when": [
|
||
"发送命令返回 openTaskId 后需要确认投递结果时;只有 sendStatus=SUCCESS 才能宣称消息发送成功"
|
||
],
|
||
"avoid_when": [
|
||
"没有 message send 真实返回的 openTaskId 时不要使用;openMessageId 和会话 ID 都不能代替 openTaskId;FAILED 不得当作接口成功"
|
||
],
|
||
"examples": [
|
||
"dws chat message query-send-status --open-task-id <openTaskId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.query_message_send_status",
|
||
"cobra-help:dws chat message query-send-status",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.query_msg_read_status": {
|
||
"agent_summary": "查询指定消息的已读状态和人员",
|
||
"use_when": [
|
||
"已知会话 ID 与消息 ID,需要核对阅读情况时"
|
||
],
|
||
"avoid_when": [
|
||
"查看哪些会话未读时使用 chat message list-unread-conversations"
|
||
],
|
||
"examples": [
|
||
"dws chat message read-status --conversation-id <openConversationId> --message-id <openMessageId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.query_msg_read_status",
|
||
"cobra-help:dws chat message read-status",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.quit_group": {
|
||
"agent_summary": "当前用户退出群聊,群本身保留",
|
||
"use_when": [
|
||
"用户只要自己离开某个群,不需要解散群"
|
||
],
|
||
"avoid_when": [
|
||
"需要永久解散整个群时使用 chat group dismiss",
|
||
"需要踢出其他成员时使用 chat group members remove"
|
||
],
|
||
"examples": [
|
||
"dws chat group quit --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.quit_group",
|
||
"cobra-help:dws chat group quit",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:chat.quit_group"
|
||
]
|
||
},
|
||
"chat.recall_message": {
|
||
"agent_summary": "撤回当前用户已发送的单条消息",
|
||
"use_when": [
|
||
"已知会话与消息 ID,需要撤回自己发出的那条消息"
|
||
],
|
||
"avoid_when": [
|
||
"撤回机器人消息时使用 chat message recall-by-bot",
|
||
"消息 ID 未确认时先用消息查询/搜索拿到 openMessageId"
|
||
],
|
||
"examples": [
|
||
"dws chat message recall --conversation-id <openConversationId> --msg-id <openMessageId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.recall_message",
|
||
"cobra-help:dws chat message recall",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:chat.recall_message"
|
||
]
|
||
},
|
||
"chat.recall_robot_message": {
|
||
"agent_summary": "撤回指定机器人发送的消息",
|
||
"use_when": [
|
||
"持有 robotCode 和发送结果 key,需要撤回机器人消息时"
|
||
],
|
||
"avoid_when": [
|
||
"个人身份消息撤回使用 chat message recall"
|
||
],
|
||
"examples": [
|
||
"dws chat message recall-by-bot --robot-code <robotCode> --group <openConversationId> --keys <processQueryKey>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.recall_robot_message",
|
||
"cobra-help:dws chat message recall-by-bot",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.remove_custom_group_role": {
|
||
"agent_summary": "删除群聊中的自定义角色",
|
||
"use_when": [
|
||
"明确要移除整个自定义角色定义时"
|
||
],
|
||
"avoid_when": [
|
||
"只取消某个成员的角色时使用 chat group-role remove-user"
|
||
],
|
||
"examples": [
|
||
"dws chat group-role remove --group <openConversationId> --role-id <openRoleId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.remove_custom_group_role",
|
||
"cobra-help:dws chat group-role remove",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.remove_custom_user_roles": {
|
||
"agent_summary": "取消指定成员的一个或多个自定义角色",
|
||
"use_when": [
|
||
"需要保留角色定义但解除成员角色时"
|
||
],
|
||
"avoid_when": [
|
||
"删除角色定义本身时使用 chat group-role remove"
|
||
],
|
||
"examples": [
|
||
"dws chat group-role remove-user --group <openConversationId> --user <userId> --role-ids roleId1,roleId2"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.remove_custom_user_roles",
|
||
"cobra-help:dws chat group-role remove-user",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.remove_emoji_reaction": {
|
||
"agent_summary": "从同一条真实消息移除此前添加的同名表情回应",
|
||
"use_when": [
|
||
"需要取消此前添加的 emoji reaction 时;复用添加时的 conversation-id、msg-id 和 emoji"
|
||
],
|
||
"avoid_when": [
|
||
"移除文字表情时使用 chat message remove-text-emotion;不要猜测新的消息 ID 或表情名称"
|
||
],
|
||
"examples": [
|
||
"dws chat message remove-emoji --conversation-id <openConversationId> --msg-id <openMessageId> --emoji \"赞\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.remove_emoji_reaction",
|
||
"cobra-help:dws chat message remove-emoji",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.remove_group_member": {
|
||
"agent_summary": "从指定群聊移除成员",
|
||
"use_when": [
|
||
"群管理员明确要移除一个或多个普通成员时;清理临时群只传本次加入的普通成员"
|
||
],
|
||
"avoid_when": [
|
||
"移除机器人时使用 chat group members remove-bot;不要把建群者或群主加入 --users,也不要为了清理成员而转让群主"
|
||
],
|
||
"examples": [
|
||
"dws chat group members remove --id <openConversationId> --users userId1,userId2"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.remove_group_member",
|
||
"cobra-help:dws chat group members remove",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.remove_message_favorite": {
|
||
"agent_summary": "取消当前用户对指定消息的收藏标记,不删除原消息。",
|
||
"use_when": [
|
||
"用户明确要从个人收藏中移除一条已知消息时。"
|
||
],
|
||
"avoid_when": [
|
||
"需要撤回或删除原消息、移除表情回应或取消消息置顶时不要使用。"
|
||
],
|
||
"examples": [
|
||
"dws chat message remove-favorite --open-message-id MSG_ID --open-conversation-id CONVERSATION_ID"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据新增的真实 Cobra leaf、取消收藏实现和 chat 产品参考补齐 reviewed Agent 选择语义;明确其不会删除原消息。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.remove_message_favorite",
|
||
"cobra-help:dws chat message remove-favorite --help",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.remove_robot_in_group": {
|
||
"agent_summary": "从群内移除指定机器人",
|
||
"use_when": [
|
||
"需要把某个机器人踢出指定群"
|
||
],
|
||
"avoid_when": [
|
||
"移除普通成员时使用 chat group members remove",
|
||
"解散整个群时使用 chat group dismiss"
|
||
],
|
||
"examples": [
|
||
"dws chat group members remove-bot --id <openConversationId> --bot-id <openBotId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.remove_robot_in_group",
|
||
"cobra-help:dws chat group members remove-bot",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:bot.remove_robot_in_group"
|
||
]
|
||
},
|
||
"chat.remove_text_emotion": {
|
||
"agent_summary": "移除指定消息上的文字表情回应",
|
||
"use_when": [
|
||
"需要取消已添加的文字表情时"
|
||
],
|
||
"avoid_when": [
|
||
"移除普通 emoji reaction 时使用 chat message remove-emoji"
|
||
],
|
||
"examples": [
|
||
"dws chat message remove-text-emotion --conversation-id <openConversationId> --msg-id <openMessageId> --emotion-id <emotionId> --emotion-name \"赞\" --text \"nice\" --background-id im_bg_5"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.remove_text_emotion",
|
||
"cobra-help:dws chat message remove-text-emotion",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.reply_personal_message": {
|
||
"agent_summary": "引用指定消息发送个人回复",
|
||
"use_when": [
|
||
"用户要针对某条已有消息进行引用回复,且 conversationId、openMessageId、senderOpenDingTalkId 来自同一条消息时"
|
||
],
|
||
"avoid_when": [
|
||
"无需引用上下文的普通消息使用 chat message send"
|
||
],
|
||
"examples": [
|
||
"dws chat message reply --conversation-id <openConversationId> --ref-msg-id <openMessageId> --ref-sender <openDingTalkId> --text \"收到\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.reply_personal_message",
|
||
"cobra-help:dws chat message reply",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.search_at_me_message": {
|
||
"agent_summary": "查询指定时间范围内提及当前用户的消息",
|
||
"use_when": [
|
||
"需要找出 @我的消息和待关注事项时"
|
||
],
|
||
"avoid_when": [
|
||
"查询全部消息时使用 chat message list-all"
|
||
],
|
||
"examples": [
|
||
"dws chat message list-mentions --start \"2026-07-01T00:00:00+08:00\" --end \"2026-07-02T00:00:00+08:00\" --limit 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.search_at_me_message",
|
||
"cobra-help:dws chat message list-mentions",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.search_bots": {
|
||
"agent_summary": "按关键词搜索企业机器人并拿到 openDingTalkId",
|
||
"use_when": [
|
||
"要找可用机器人并提取 openDingTalkId(例如后续单聊机器人)"
|
||
],
|
||
"avoid_when": [
|
||
"只查我创建的机器人时使用 chat bot search",
|
||
"已有 robot-code 直接发消息时不要先搜"
|
||
],
|
||
"examples": [
|
||
"dws chat bot find --query \"日报\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.search_bots",
|
||
"cobra-help:dws chat bot find",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:bot.search_bots",
|
||
"interface_ref:bot.search_bots"
|
||
]
|
||
},
|
||
"chat.search_common_groups": {
|
||
"agent_summary": "查询指定人员共同所在的群聊",
|
||
"use_when": [
|
||
"需要找两人或多人共同群聊时"
|
||
],
|
||
"avoid_when": [
|
||
"按群名称搜索时使用 chat search"
|
||
],
|
||
"examples": [
|
||
"dws chat search-common --nicks \"张三,李四\" --match-mode all --limit 20"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.search_common_groups",
|
||
"cobra-help:dws chat search-common",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.search_groups": {
|
||
"agent_summary": "按关键词搜索群聊并拿到 openConversationId",
|
||
"use_when": [
|
||
"只知道群名关键词,需要定位群并提取 openConversationId"
|
||
],
|
||
"avoid_when": [
|
||
"已有群号时用 chat group get-by-group-id",
|
||
"查我创建/管理的群用 chat group list-my-groups",
|
||
"查与某人的共同群用 chat search-common"
|
||
],
|
||
"examples": [
|
||
"dws chat search --query \"项目冲刺\"",
|
||
"dws chat search --query \"项目冲刺\" --limit 20 --cursor 0"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.search_groups",
|
||
"cobra-help:dws chat search",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:chat.search_groups"
|
||
]
|
||
},
|
||
"chat.search_messages": {
|
||
"agent_summary": "按时间、关键词、发送者、@ 或会话等多维度搜索消息",
|
||
"use_when": [
|
||
"需要组合时间范围、关键词、发送者、@我/@某人、指定会话等条件搜消息"
|
||
],
|
||
"avoid_when": [
|
||
"只需按关键词在会话里搜时优先评估 chat message search",
|
||
"只需拉取某会话时间线时使用 chat message list",
|
||
"只需某人发给我的消息时使用 chat message list-by-sender"
|
||
],
|
||
"examples": [
|
||
"dws chat message search-advanced --query \"周报\" --start \"2026-04-01T00:00:00+08:00\" --end \"2026-04-15T00:00:00+08:00\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.search_messages",
|
||
"cobra-help:dws chat message search-advanced",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:chat.search_messages"
|
||
]
|
||
},
|
||
"chat.search_messages_by_keyword": {
|
||
"agent_summary": "按关键词和时间范围搜索消息",
|
||
"use_when": [
|
||
"需要用关键词查找消息且过滤条件较简单时"
|
||
],
|
||
"avoid_when": [
|
||
"需要多会话、发送者或 @维度组合时使用 search-advanced"
|
||
],
|
||
"examples": [
|
||
"dws chat message search --query \"发布计划\" --start \"2026-07-01T00:00:00+08:00\" --end \"2026-07-10T00:00:00+08:00\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.search_messages_by_keyword",
|
||
"cobra-help:dws chat message search",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.search_messages_by_sender": {
|
||
"agent_summary": "按发送者和时间范围查询消息",
|
||
"use_when": [
|
||
"需要查某人发送过的消息且不限定单聊时"
|
||
],
|
||
"avoid_when": [
|
||
"明确查询与某人的单聊记录时使用 chat message list-direct"
|
||
],
|
||
"examples": [
|
||
"dws chat message list-by-sender --sender-user-id <userId> --start \"2026-07-01T00:00:00+08:00\" --end \"2026-07-02T00:00:00+08:00\" --limit 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.search_messages_by_sender",
|
||
"cobra-help:dws chat message list-by-sender",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.search_messages_by_time_range": {
|
||
"agent_summary": "按时间范围搜索跨会话消息并保留权益指引",
|
||
"use_when": [
|
||
"需要汇总一段时间内所有可见会话消息时"
|
||
],
|
||
"avoid_when": [
|
||
"已指定单个会话时优先使用 chat message list"
|
||
],
|
||
"examples": [
|
||
"dws chat message list-all --start \"2026-07-01 00:00:00\" --end \"2026-07-02 00:00:00\" --limit 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "复核 dws-wukong 2026-07-14 搜索能力同步:跨会话消息搜索遇到权益限制时应向用户展示服务端指引,而不是解释为空结果;不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.search_messages_by_time_range",
|
||
"cobra-help:dws chat message list-all",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.search_my_robots": {
|
||
"agent_summary": "搜索我创建的企业机器人并提取 robot-code",
|
||
"use_when": [
|
||
"需要我自己创建的机器人及其 robot-code"
|
||
],
|
||
"avoid_when": [
|
||
"搜索全部可用企业机器人时使用 chat bot find"
|
||
],
|
||
"examples": [
|
||
"dws chat bot search --page 1 --size 10 --name \"日报\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.search_my_robots",
|
||
"cobra-help:dws chat bot search",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:bot.search_my_robots"
|
||
]
|
||
},
|
||
"chat.send_message_by_custom_robot": {
|
||
"agent_summary": "用自定义机器人 Webhook 向群发送消息",
|
||
"use_when": [
|
||
"已有自定义机器人 webhook token,需要向群发告警或通知"
|
||
],
|
||
"avoid_when": [
|
||
"使用企业机器人 robot-code 发消息时用 chat message send-by-bot",
|
||
"以个人身份发消息时用 chat message send"
|
||
],
|
||
"examples": [
|
||
"dws chat message send-by-webhook --token <webhook-token> --title \"告警\" --text \"CPU 超 90%\" --at-all"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.send_message_by_custom_robot",
|
||
"cobra-help:dws chat message send-by-webhook",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md",
|
||
"live-dws-schema:bot.send_message_by_custom_robot"
|
||
]
|
||
},
|
||
"chat.send_personal_message": {
|
||
"agent_summary": "以当前用户身份发送群聊或单聊消息",
|
||
"use_when": [
|
||
"用户明确要以个人身份发送消息时;文本用 --text,图片仅在已有有效 mediaId 时用 --msg-type image --media-id,本地 PDF/DOCX/XLSX 等文件用 --msg-type file --file-path"
|
||
],
|
||
"avoid_when": [
|
||
"机器人身份或 Webhook 发送应使用对应命令;发送审批、日历或待办摘要不会创建对应产品对象"
|
||
],
|
||
"examples": [
|
||
"dws chat message send --group <openConversationId> \"项目已更新\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.send_personal_message",
|
||
"cobra-help:dws chat message send",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.send_robot_message": {
|
||
"agent_summary": "以应用机器人身份发送群消息或批量单聊",
|
||
"use_when": [
|
||
"已有 robotCode 且需要机器人身份投递消息时"
|
||
],
|
||
"avoid_when": [
|
||
"个人身份发送或自定义 Webhook 告警不要使用"
|
||
],
|
||
"examples": [
|
||
"dws chat message send-by-bot --robot-code <robotCode> --group <openConversationId> --title \"日报\" --text \"今日进展\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.send_robot_message",
|
||
"cobra-help:dws chat message send-by-bot",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.set_custom_user_roles": {
|
||
"agent_summary": "为指定群成员设置自定义角色",
|
||
"use_when": [
|
||
"需要把一个或多个已有角色分配给成员时"
|
||
],
|
||
"avoid_when": [
|
||
"创建新角色定义时使用 chat group-role add"
|
||
],
|
||
"examples": [
|
||
"dws chat group-role set-user --group <openConversationId> --user <userId> --role-ids roleId1,roleId2"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.set_custom_user_roles",
|
||
"cobra-help:dws chat group-role set-user",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.set_group_member_mute_list": {
|
||
"agent_summary": "禁言或解除禁言指定群成员",
|
||
"use_when": [
|
||
"需要按成员设置禁言时长或解除禁言时"
|
||
],
|
||
"avoid_when": [
|
||
"需要全员禁言时使用 chat group-mute"
|
||
],
|
||
"examples": [
|
||
"dws chat group-mute-member --group <openConversationId> --users userId1,userId2 --mute-time 3600000"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.set_group_member_mute_list",
|
||
"cobra-help:dws chat group-mute-member",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.set_group_mute": {
|
||
"agent_summary": "开启或关闭群聊全员禁言",
|
||
"use_when": [
|
||
"需要控制整个群的发言权限时"
|
||
],
|
||
"avoid_when": [
|
||
"只禁言指定成员时使用 chat group-mute-member"
|
||
],
|
||
"examples": [
|
||
"dws chat group-mute --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.set_group_mute",
|
||
"cobra-help:dws chat group-mute",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.set_pin_message": {
|
||
"agent_summary": "使用同源的 openConversationId 和 openMessageId 把指定消息设为 Pin",
|
||
"use_when": [
|
||
"需要在会话中钉住一条已知消息时;若发送只返回 openTaskId,先确认发送终态,再从消息查询结果取得真实 openMessageId"
|
||
],
|
||
"avoid_when": [
|
||
"取消 Pin 使用 chat message unset-pin-msg;置顶到会话顶部使用 set-top-msg,置顶整个会话使用 chat set-top"
|
||
],
|
||
"examples": [
|
||
"dws chat message set-pin-msg --open-conversation-id <openConversationId> --msg-id <openMessageId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.set_pin_message",
|
||
"cobra-help:dws chat message set-pin-msg",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.set_top_conversation": {
|
||
"agent_summary": "设置或取消指定会话置顶",
|
||
"use_when": [
|
||
"需要改变某个会话在列表中的置顶状态时"
|
||
],
|
||
"avoid_when": [
|
||
"只查看置顶清单时使用 chat list-top-conversations"
|
||
],
|
||
"examples": [
|
||
"dws chat set-top --conversation-id <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.set_top_conversation",
|
||
"cobra-help:dws chat set-top",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.transfer_group_owner": {
|
||
"agent_summary": "把群主身份转让给指定群成员",
|
||
"use_when": [
|
||
"现群主明确指定新群主时"
|
||
],
|
||
"avoid_when": [
|
||
"只是授予管理员权限时使用 chat group set-admin"
|
||
],
|
||
"examples": [
|
||
"dws chat group transfer-owner --group <openConversationId> --new-owner <openDingTalkId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.transfer_group_owner",
|
||
"cobra-help:dws chat group transfer-owner",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.unread_message_conversation_list": {
|
||
"agent_summary": "列出当前用户存在未读消息的会话",
|
||
"use_when": [
|
||
"需要定位哪些会话还有未读内容时"
|
||
],
|
||
"avoid_when": [
|
||
"查询某条消息的已读人员时使用 chat message read-status"
|
||
],
|
||
"examples": [
|
||
"dws chat message list-unread-conversations --count 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.unread_message_conversation_list",
|
||
"cobra-help:dws chat message list-unread-conversations",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.unset_pin_message": {
|
||
"agent_summary": "使用设置 Pin 时的同源会话和消息 ID 取消指定消息的 Pin",
|
||
"use_when": [
|
||
"需要移除一条已知 Pin 消息时;复用 set-pin-msg 成功时的 openConversationId 和 openMessageId"
|
||
],
|
||
"avoid_when": [
|
||
"新增 Pin 使用 chat message set-pin-msg;不要改用 unset-top-msg 或 chat set-top --off"
|
||
],
|
||
"examples": [
|
||
"dws chat message unset-pin-msg --open-conversation-id <openConversationId> --msg-id <openMessageId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.unset_pin_message",
|
||
"cobra-help:dws chat message unset-pin-msg",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.update_conv_member_roles": {
|
||
"agent_summary": "设置或取消群管理员角色",
|
||
"use_when": [
|
||
"需要变更指定成员的群管理员身份时"
|
||
],
|
||
"avoid_when": [
|
||
"自定义业务角色应使用 chat group-role 系列命令"
|
||
],
|
||
"examples": [
|
||
"dws chat group set-admin --group <openConversationId> --users userId1,userId2"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.update_conv_member_roles",
|
||
"cobra-help:dws chat group set-admin",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.update_custom_group_role": {
|
||
"agent_summary": "更新群聊自定义角色的名称",
|
||
"use_when": [
|
||
"已知角色 ID 并需要重命名该角色时"
|
||
],
|
||
"avoid_when": [
|
||
"需要变更成员角色分配时使用 set-user 或 remove-user"
|
||
],
|
||
"examples": [
|
||
"dws chat group-role update --group <openConversationId> --role-id <openRoleId> --name \"新名称\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.update_custom_group_role",
|
||
"cobra-help:dws chat group-role update",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.update_group_icon": {
|
||
"agent_summary": "使用真实媒体 ID 更新群头像",
|
||
"use_when": [
|
||
"已有可用于群头像接口的真实 mediaId 并要修改群头像时"
|
||
],
|
||
"avoid_when": [
|
||
"本地图片路径、钉盘 dentryId、聊天文件 uploadKey 都不能代替 icon-media-id;当前 CLI 无本地图片转群头像 mediaId 的能力,缺少 mediaId 时应如实报告能力边界"
|
||
],
|
||
"examples": [
|
||
"dws chat group update-icon --group <openConversationId> --icon-media-id @mediaId"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.update_group_icon",
|
||
"cobra-help:dws chat group update-icon",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.update_group_name": {
|
||
"agent_summary": "修改指定群聊的名称",
|
||
"use_when": [
|
||
"需要把已有群聊改成用户指定的准确名称时;名称不得擅自加前缀、截断或改写,复合任务中重命名后继续完成后续步骤"
|
||
],
|
||
"avoid_when": [
|
||
"只修改个人可见备注时不要使用群名称更新"
|
||
],
|
||
"examples": [
|
||
"dws chat group rename --id <openConversationId> --name \"新群名\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.update_group_name",
|
||
"cobra-help:dws chat group rename",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.update_group_settings": {
|
||
"agent_summary": "更新指定群聊的一项设置开关",
|
||
"use_when": [
|
||
"需要调整 searchable、入群验证、@所有人权限等群级设置时;修改后用群信息或设置查询核对终态"
|
||
],
|
||
"avoid_when": [
|
||
"全员禁言和成员禁言使用专门的 mute 命令;当前用户自己的会话置顶或免打扰使用 group user-settings set"
|
||
],
|
||
"examples": [
|
||
"dws chat group update-settings --group <openConversationId> --setting-key searchable --status 1"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.update_group_settings",
|
||
"cobra-help:dws chat group update-settings",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.update_notification_off": {
|
||
"agent_summary": "开启或关闭指定会话的免打扰",
|
||
"use_when": [
|
||
"用户明确要静音或恢复某个会话通知时"
|
||
],
|
||
"avoid_when": [
|
||
"群成员禁言属于发言权限,应使用 group-mute 命令"
|
||
],
|
||
"examples": [
|
||
"dws chat mute --conversation-id <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.update_notification_off",
|
||
"cobra-help:dws chat mute",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.update_show_history_msg_option": {
|
||
"agent_summary": "设置新成员可见的群历史消息范围",
|
||
"use_when": [
|
||
"需要调整新成员入群后的历史消息可见性时"
|
||
],
|
||
"avoid_when": [
|
||
"普通消息查询或群设置的其他开关不要使用"
|
||
],
|
||
"examples": [
|
||
"dws chat group set-history --group <openConversationId> --option RECENT_100"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.update_show_history_msg_option",
|
||
"cobra-help:dws chat group set-history",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.update_streaming_card": {
|
||
"agent_summary": "更新已发送流式卡片的内容和状态",
|
||
"use_when": [
|
||
"已有 message send-card 真实返回的 bizId,并需要追加内容或结束流式输出时;最后一次更新使用完成状态"
|
||
],
|
||
"avoid_when": [
|
||
"创建新卡片时使用 chat message send-card;openMessageId、OA 实例 ID、日历事件 ID或待办任务 ID 不能代替 bizId"
|
||
],
|
||
"examples": [
|
||
"dws chat message update-card --biz-id <bizId> --content \"处理完成\" --flow-status 2"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "AI 生成并复核的 Agent 选择语义,依据精确 CommandRegistry identity、真实 Cobra help 与产品参考,不改写执行、安全或接口事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.update_streaming_card",
|
||
"cobra-help:dws chat message update-card",
|
||
"skills/mono/SKILL.md",
|
||
"skills/mono/references/products/chat.md"
|
||
]
|
||
},
|
||
"chat.edit_message": {
|
||
"agent_summary": "编辑当前用户已发送消息的 Markdown 内容",
|
||
"use_when": [
|
||
"已有会话 openConversationId 和消息 openMessageId,需要更正已发送消息的标题、正文或 @ 信息"
|
||
],
|
||
"avoid_when": [
|
||
"发送新消息应使用 chat message send;撤回消息应使用 chat message recall"
|
||
],
|
||
"examples": [
|
||
"dws chat message edit --conversation-id <openConversationId> --msg-id <openMessageId> --text \"更新后的内容\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据新增 Cobra leaf、消息内容构造逻辑和 Wukong 对齐实现审阅编辑消息的选择边界与可执行参数组合。",
|
||
"source_refs": [
|
||
"CommandRegistry:canonical_path=chat.edit_message",
|
||
"cobra-help:dws chat message edit",
|
||
"Wukong-parity:3306c3307",
|
||
"live-dws-schema:chat.edit_message#FAILED"
|
||
]
|
||
},
|
||
"chat.get_conv_categories_info": {
|
||
"agent_summary": "按分组 ID 批量获取自定义会话分组详情",
|
||
"use_when": [
|
||
"已经有一个或多个会话分组 categoryId,需要批量读取分组信息"
|
||
],
|
||
"avoid_when": [
|
||
"不知道 categoryId 时先用 chat category list;按会话反查所属分组应使用 chat category list-by-conv"
|
||
],
|
||
"examples": [
|
||
"dws chat category batch-info --category-ids 123,456"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据新增 Cobra leaf、整数列表解析和 Wukong 对齐实现审阅批量分组详情的选择边界与示例。",
|
||
"source_refs": [
|
||
"CommandRegistry:canonical_path=chat.get_conv_categories_info",
|
||
"cobra-help:dws chat category batch-info",
|
||
"Wukong-parity:3306c3307",
|
||
"live-dws-schema:chat.get_conv_categories_info#FAILED"
|
||
]
|
||
},
|
||
"chat.list_conv_categories_by_conv": {
|
||
"agent_summary": "查询指定会话所属的自定义会话分组",
|
||
"use_when": [
|
||
"已有会话 openConversationId,需要反查该会话被放入了哪些自定义分组"
|
||
],
|
||
"avoid_when": [
|
||
"列出全部自定义分组应使用 chat category list;按 categoryId 查详情应使用 chat category batch-info"
|
||
],
|
||
"examples": [
|
||
"dws chat category list-by-conv --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据新增 Cobra leaf、会话定位别名和 Wukong 对齐实现审阅按会话反查分组的选择边界与示例。",
|
||
"source_refs": [
|
||
"CommandRegistry:canonical_path=chat.list_conv_categories_by_conv",
|
||
"cobra-help:dws chat category list-by-conv",
|
||
"Wukong-parity:3306c3307",
|
||
"live-dws-schema:chat.list_conv_categories_by_conv#FAILED"
|
||
]
|
||
},
|
||
"chat.update_group_nick": {
|
||
"agent_summary": "设置或清除当前用户在指定群内的昵称",
|
||
"use_when": [
|
||
"用户要求修改自己的群昵称,或明确要求清除群昵称"
|
||
],
|
||
"avoid_when": [
|
||
"修改群名称应使用 chat group rename;修改其他成员信息不应使用本命令"
|
||
],
|
||
"examples": [
|
||
"dws chat group update-nick --group <openConversationId> --nick \"项目昵称\"",
|
||
"dws chat group update-nick --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据现有 Cobra leaf的新清除语义和 Wukong 对齐实现审阅设置与省略 --nick 清除两种结果。",
|
||
"source_refs": [
|
||
"CommandRegistry:canonical_path=chat.update_group_nick",
|
||
"cobra-help:dws chat group update-nick",
|
||
"Wukong-parity:3306c3307",
|
||
"live-dws-schema:chat.update_group_nick#FAILED"
|
||
]
|
||
},
|
||
"chat.upgrade_group_to_external": {
|
||
"agent_summary": "不可逆地把已有普通群升级为外部群",
|
||
"use_when": [
|
||
"群主明确要求保留现有会话并升级为可跨组织协作的外部群,且已确认不可逆影响"
|
||
],
|
||
"avoid_when": [
|
||
"新建外部群应使用 chat group create --type EXTERNAL;未确认群主身份和不可逆影响时不要执行"
|
||
],
|
||
"examples": [
|
||
"dws chat group upgrade-to-external --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据新增 Cobra leaf、不可逆确认门禁和 Wukong 对齐实现审阅普通群升级外部群的严格选择边界与无 --yes 合约示例。",
|
||
"source_refs": [
|
||
"CommandRegistry:canonical_path=chat.upgrade_group_to_external",
|
||
"cobra-help:dws chat group upgrade-to-external",
|
||
"Wukong-parity:3306c3307",
|
||
"live-dws-schema:chat.upgrade_group_to_external#FAILED"
|
||
]
|
||
},
|
||
"chat.add_conv_to_categories": {
|
||
"agent_summary": "把一个会话加入一个或多个现有自定义分组",
|
||
"use_when": [
|
||
"已从 category list 取得真实 categoryId,并要把当前账号可访问的会话归入这些分组时"
|
||
],
|
||
"avoid_when": [
|
||
"创建新分组使用 category create;移出分组使用 category remove-conv"
|
||
],
|
||
"examples": [
|
||
"dws chat category add-conv --group <openConversationId> --category-ids 123,456"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据 nanrun 树形路由与当前 Cobra/多维表参考复核会话分组写入路径;要求使用真实 ID 并在复合任务中继续完成后续步骤。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.add_conv_to_categories",
|
||
"cobra-help:dws chat category add-conv",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.create_conv_category": {
|
||
"agent_summary": "创建用户自定义会话分组",
|
||
"use_when": [
|
||
"用户明确要新建手工管理的会话分组,且名称不超过 15 个字符时"
|
||
],
|
||
"avoid_when": [
|
||
"按关键词或成员自动归类应使用 category create-smart;不得静默截断、缩写或改写用户名称"
|
||
],
|
||
"examples": [
|
||
"dws chat category create --title \"项目群\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "迁移 nanrun 的分组标题和复合任务 guidance 到 reviewed selection;保持当前 runtime 的 15 字符校验。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.create_conv_category",
|
||
"cobra-help:dws chat category create",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.delete_conv_category": {
|
||
"agent_summary": "删除指定的用户自定义会话分组",
|
||
"use_when": [
|
||
"用户明确要删除已知 categoryId 的自定义分组时"
|
||
],
|
||
"avoid_when": [
|
||
"只想把会话移出分组时使用 category remove-conv;目标不明确时不要删除"
|
||
],
|
||
"examples": [
|
||
"dws chat category delete --category-id 123"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前原生命令与 nanrun 树形 category 分支补齐删除能力的选择边界。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.delete_conv_category",
|
||
"cobra-help:dws chat category delete",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.remove_conv_from_categories": {
|
||
"agent_summary": "把一个会话从一个或多个自定义分组移出",
|
||
"use_when": [
|
||
"已知会话和真实 categoryId,需要解除现有分组归属时"
|
||
],
|
||
"avoid_when": [
|
||
"删除整个分组使用 category delete;加入分组使用 category add-conv"
|
||
],
|
||
"examples": [
|
||
"dws chat category remove-conv --group <openConversationId> --category-ids 123,456"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前原生命令与 nanrun 树形 category 分支补齐会话移出分组的选择边界。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.remove_conv_from_categories",
|
||
"cobra-help:dws chat category remove-conv",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.rename_conv_category": {
|
||
"agent_summary": "重命名用户自定义会话分组",
|
||
"use_when": [
|
||
"已知 categoryId,且用户给出了不超过 15 个字符的新名称时"
|
||
],
|
||
"avoid_when": [
|
||
"不得为绕过长度限制而截断、缩写或改写;创建新分组使用 category create"
|
||
],
|
||
"examples": [
|
||
"dws chat category rename --category-id 123 --title \"新名称\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "迁移 nanrun 的分组标题和复合任务 guidance 到 reviewed selection;保持当前 runtime 的 15 字符校验。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.rename_conv_category",
|
||
"cobra-help:dws chat category rename",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.grant_permission": {
|
||
"agent_summary": "为指定 chat scope 和业务参数发起高风险操作授权",
|
||
"use_when": [
|
||
"目标 chat 操作因行为授权缺失而需要按 scope、目标和时效发起授权时"
|
||
],
|
||
"avoid_when": [
|
||
"不要把它当作实际发送、撤回或群管理命令;跨组织数据读取授权使用 data-auth cross-org"
|
||
],
|
||
"examples": [
|
||
"dws chat chmod chat.message:send --grant-type timed --ttl 24h --permParam openCid=<openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前授权 Cobra、dws-shared 安全规则和树形 data-auth/chmod 分支补齐 Agent 选路。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.grant_permission",
|
||
"cobra-help:dws chat chmod",
|
||
"skills/multi/dingtalk-chat/SKILL.md"
|
||
]
|
||
},
|
||
"chat.clear_all_red_point": {
|
||
"agent_summary": "清除当前用户所有会话的未读红点",
|
||
"use_when": [
|
||
"用户明确要求全部会话一键已读或清除所有红点时"
|
||
],
|
||
"avoid_when": [
|
||
"只处理一个会话时使用 clear-red-point;本命令不会删除聊天记录"
|
||
],
|
||
"examples": [
|
||
"dws chat clear-all-red-point"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 和 nanrun 会话状态树补齐全局红点清零能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.clear_all_red_point",
|
||
"cobra-help:dws chat clear-all-red-point",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.clear_conversation_messages": {
|
||
"agent_summary": "清空当前用户在指定会话中的聊天记录",
|
||
"use_when": [
|
||
"用户明确要求清空某个已知会话的本地聊天记录时"
|
||
],
|
||
"avoid_when": [
|
||
"仅清除未读红点使用 clear-red-point;未确认真实 openConversationId 时不要执行"
|
||
],
|
||
"examples": [
|
||
"dws chat clear-messages --conversation-id <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 和 nanrun 会话状态树补齐清空会话消息的严格目标边界。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.clear_conversation_messages",
|
||
"cobra-help:dws chat clear-messages",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.clear_conversation_red_point": {
|
||
"agent_summary": "清除指定会话的未读红点",
|
||
"use_when": [
|
||
"用户只要求把某个已知会话标为已读或清除红点时"
|
||
],
|
||
"avoid_when": [
|
||
"全部会话一键已读使用 clear-all-red-point;本命令不会删除消息"
|
||
],
|
||
"examples": [
|
||
"dws chat clear-red-point --conversation-id <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 和 nanrun 会话状态树补齐单会话红点清理能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.clear_conversation_red_point",
|
||
"cobra-help:dws chat clear-red-point",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.grant_cross_org_data_access": {
|
||
"agent_summary": "发起 chat 跨组织数据读取授权",
|
||
"use_when": [
|
||
"跨组织拉取聊天数据因 data scope 缺失,需要为目标组织或全部组织授权时"
|
||
],
|
||
"avoid_when": [
|
||
"发送、撤回和群管理授权使用 chat chmod;普通同组织查询不要预先授权"
|
||
],
|
||
"examples": [
|
||
"dws chat data-auth cross-org --target-org-id 439446171"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前授权 Cobra、dws-shared 跨组织规则和 nanrun data-auth 分支补齐 Agent 选路。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.grant_cross_org_data_access",
|
||
"cobra-help:dws chat data-auth cross-org",
|
||
"skills/multi/dingtalk-chat/SKILL.md"
|
||
]
|
||
},
|
||
"chat.audit_join_group": {
|
||
"agent_summary": "审批一条群聊入群验证记录",
|
||
"use_when": [
|
||
"已从 list-join-validations 取得真实记录、申请人和邀请人 ID,需要执行 AuditApprove 或 AuditDelete 时"
|
||
],
|
||
"avoid_when": [
|
||
"列出申请使用 list-join-validations;服务端不支持 AuditIgnore、AuditRefuse 或 AuditBlock"
|
||
],
|
||
"examples": [
|
||
"dws chat group audit-join-validation --group <openConversationId> --record-id 123456 --applicant <userId> --inviter <userId> --status AuditApprove"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据 nanrun 的状态 hint 和当前 runtime 支持范围补齐入群审核选择语义。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.audit_join_group",
|
||
"cobra-help:dws chat group audit-join-validation",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.list_my_groups_pagination": {
|
||
"agent_summary": "分页拉取当前用户加入的全部群聊",
|
||
"use_when": [
|
||
"需要完整分页列出我加入的所有群,并沿用 nextCursor 继续读取时"
|
||
],
|
||
"avoid_when": [
|
||
"只查我创建或管理的群使用 group list-my-groups;按关键词找群使用 chat search"
|
||
],
|
||
"examples": [
|
||
"dws chat group list-all --limit 100"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun group 树补齐分页群列表能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.list_my_groups_pagination",
|
||
"cobra-help:dws chat group list-all",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.list_apply_join_group_records": {
|
||
"agent_summary": "分页拉取当前用户相关的入群验证记录",
|
||
"use_when": [
|
||
"需要查看待处理或历史入群申请,并取得后续审核所需记录 ID 时"
|
||
],
|
||
"avoid_when": [
|
||
"执行审批使用 audit-join-validation;普通群成员列表使用 group members"
|
||
],
|
||
"examples": [
|
||
"dws chat group list-join-validations --limit 20"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun group 树补齐入群验证列表能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.list_apply_join_group_records",
|
||
"cobra-help:dws chat group list-join-validations",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.list_group_member_by_ids": {
|
||
"agent_summary": "按成员 openDingTalkId 批量查询群成员详情",
|
||
"use_when": [
|
||
"已知群 openConversationId 和一组成员 openDingTalkId,需要批量取成员详情时"
|
||
],
|
||
"avoid_when": [
|
||
"列出整个群成员直接使用 group members --id;不要臆造 members list 子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat group members list-by-ids --id <openConversationId> --users openDingTalkId1,openDingTalkId2"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "迁移 nanrun 的群成员 flag guidance 到 reviewed selection,并固定 --id/--users 参数边界。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.list_group_member_by_ids",
|
||
"cobra-help:dws chat group members list-by-ids",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.create_group_notice": {
|
||
"agent_summary": "在指定群聊发布即时或定时群公告",
|
||
"use_when": [
|
||
"用户明确要发布群公告,并已给出群和 Markdown 正文时"
|
||
],
|
||
"avoid_when": [
|
||
"普通聊天消息使用 message send;修改已有公告使用 group notice edit"
|
||
],
|
||
"examples": [
|
||
"dws chat group notice create --group <openConversationId> --content \"今晚 22 点系统维护\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun notice 子树补齐群公告创建能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.create_group_notice",
|
||
"cobra-help:dws chat group notice create",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.edit_group_notice": {
|
||
"agent_summary": "整体替换指定群公告的正文与可选状态",
|
||
"use_when": [
|
||
"已从公告列表取得真实 dataId,需要修改现有群公告时"
|
||
],
|
||
"avoid_when": [
|
||
"发布新公告使用 group notice create;只查看内容使用 group notice get"
|
||
],
|
||
"examples": [
|
||
"dws chat group notice edit --group <openConversationId> --notice-id <dataId> --content \"更新后的公告\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun notice 子树补齐群公告编辑能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.edit_group_notice",
|
||
"cobra-help:dws chat group notice edit",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.get_group_notice": {
|
||
"agent_summary": "读取指定群公告的详情",
|
||
"use_when": [
|
||
"已知群和真实公告 dataId,需要查看正文、发布者或统计信息时"
|
||
],
|
||
"avoid_when": [
|
||
"不知道 dataId 时先用 group notice list;不要使用占位符公告 ID"
|
||
],
|
||
"examples": [
|
||
"dws chat group notice get --group <openConversationId> --notice-id <dataId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据 nanrun 的真实 noticeId hint 和当前 Cobra 补齐公告详情选择语义。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.get_group_notice",
|
||
"cobra-help:dws chat group notice get",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.list_group_notices": {
|
||
"agent_summary": "分页读取指定群的已发布或定时公告",
|
||
"use_when": [
|
||
"需要列出群公告并取得后续详情或编辑使用的 dataId 时"
|
||
],
|
||
"avoid_when": [
|
||
"读取单条已知公告使用 group notice get;普通群消息使用 message list"
|
||
],
|
||
"examples": [
|
||
"dws chat group notice list --group <openConversationId> --limit 20"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun notice 子树补齐群公告列表能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.list_group_notices",
|
||
"cobra-help:dws chat group notice list",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.share_group_invite_url": {
|
||
"agent_summary": "把一个群的邀请链接分享到目标会话或单聊用户",
|
||
"use_when": [
|
||
"当前用户已加入源群,且要把邀请链接发给一个目标会话或一个接收人时"
|
||
],
|
||
"avoid_when": [
|
||
"只获取邀请链接使用 group invite-url;--target 与 --receiver 只能选择一个"
|
||
],
|
||
"examples": [
|
||
"dws chat group share-invite --source <sourceConversationId> --target <targetConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "迁移 nanrun 的 target/receiver 互斥 hint 与源群边界到 reviewed selection。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.share_group_invite_url",
|
||
"cobra-help:dws chat group share-invite",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.update_user_group_alias": {
|
||
"agent_summary": "设置仅当前用户可见的群备注",
|
||
"use_when": [
|
||
"用户要修改自己看到的群备注,而不是修改群的公开名称时"
|
||
],
|
||
"avoid_when": [
|
||
"修改所有成员看到的群名使用 group rename;修改自己群昵称使用 group update-nick"
|
||
],
|
||
"examples": [
|
||
"dws chat group update-alias --group <openConversationId> --alias-title \"客户项目群\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun group 树补齐群备注和群名/群昵称消歧。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.update_user_group_alias",
|
||
"cobra-help:dws chat group update-alias",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.hide_conversation": {
|
||
"agent_summary": "从当前用户的会话列表隐藏指定会话",
|
||
"use_when": [
|
||
"用户明确要隐藏一个已知会话,接受收到新消息后可能再次出现时"
|
||
],
|
||
"avoid_when": [
|
||
"免打扰使用 chat mute;退出群聊使用 group quit;本命令不会删除消息"
|
||
],
|
||
"examples": [
|
||
"dws chat hide --conversation-id <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun 会话状态树补齐隐藏会话能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.hide_conversation",
|
||
"cobra-help:dws chat hide",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.list_all_conversations": {
|
||
"agent_summary": "分页获取当前用户的全部单聊和群聊会话",
|
||
"use_when": [
|
||
"需要完整枚举会话并沿用 nextCursor 翻页时"
|
||
],
|
||
"avoid_when": [
|
||
"只看置顶会话使用 list-top-conversations;只看群聊使用 group list-all"
|
||
],
|
||
"examples": [
|
||
"dws chat list-all-conversations --limit 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun 会话树补齐全部会话列表能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.list_all_conversations",
|
||
"cobra-help:dws chat list-all-conversations",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.mark_message_read": {
|
||
"agent_summary": "把指定消息及之前的消息标记为已读",
|
||
"use_when": [
|
||
"已知同一会话中的真实 openMessageId,需要推进已读位置时"
|
||
],
|
||
"avoid_when": [
|
||
"只清除会话红点使用 clear-red-point;查询他人是否已读使用 message read-status"
|
||
],
|
||
"examples": [
|
||
"dws chat mark-read --conversation-id <openConversationId> --message-id <openMessageId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun 会话状态树补齐消息已读写入能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.mark_message_read",
|
||
"cobra-help:dws chat mark-read",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.mark_conversation_unread": {
|
||
"agent_summary": "把指定会话标记为未读",
|
||
"use_when": [
|
||
"用户要稍后处理某个已知会话并将其重新标为未读时"
|
||
],
|
||
"avoid_when": [
|
||
"清除红点使用 clear-red-point;查询未读会话使用 message list-unread-conversations"
|
||
],
|
||
"examples": [
|
||
"dws chat mark-unread --conversation-id <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun 会话状态树补齐标记未读能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.mark_conversation_unread",
|
||
"cobra-help:dws chat mark-unread",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.list_message_emotion_replies": {
|
||
"agent_summary": "批量读取多条消息的 emoji 与文字表情回应",
|
||
"use_when": [
|
||
"已从消息查询取得一组真实 openMessageId,需要汇总回应信息时"
|
||
],
|
||
"avoid_when": [
|
||
"添加或移除回应使用 add/remove-emoji 或 add/remove-text-emotion;不要传占位符 ID"
|
||
],
|
||
"examples": [
|
||
"dws chat message list-emotion-replies --msg-ids <openMessageId1>,<openMessageId2>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun message 树补齐批量消息回应读取能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.list_message_emotion_replies",
|
||
"cobra-help:dws chat message list-emotion-replies",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.set_top_message": {
|
||
"agent_summary": "把指定消息置顶到会话顶部",
|
||
"use_when": [
|
||
"已从目标会话取得真实且同源的 openMessageId,需要设置消息置顶时"
|
||
],
|
||
"avoid_when": [
|
||
"置顶整个会话使用 chat set-top;钉住消息使用 message set-pin-msg"
|
||
],
|
||
"examples": [
|
||
"dws chat message set-top-msg --open-conversation-id <openConversationId> --msg-id <openMessageId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "迁移 nanrun 的真实消息 ID guidance 到 reviewed selection,并与会话置顶和 Pin 消歧。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.set_top_message",
|
||
"cobra-help:dws chat message set-top-msg",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.unset_top_message": {
|
||
"agent_summary": "取消指定会话中的消息置顶",
|
||
"use_when": [
|
||
"已知同源的会话和真实 openMessageId,需要取消消息置顶时"
|
||
],
|
||
"avoid_when": [
|
||
"取消会话置顶使用 chat set-top --off;取消 Pin 使用 message unset-pin-msg"
|
||
],
|
||
"examples": [
|
||
"dws chat message unset-top-msg --open-conversation-id <openConversationId> --msg-id <openMessageId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun message 树补齐取消消息置顶的选择边界。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.unset_top_message",
|
||
"cobra-help:dws chat message unset-top-msg",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.update_at_all_notification_off": {
|
||
"agent_summary": "关闭或恢复指定会话的 @所有人通知",
|
||
"use_when": [
|
||
"用户只想调整某个会话的 @所有人提醒偏好时"
|
||
],
|
||
"avoid_when": [
|
||
"关闭全部会话通知使用 chat mute;红包通知偏好使用 mute-red-envelope"
|
||
],
|
||
"examples": [
|
||
"dws chat mute-at-all --conversation-id <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun 会话通知树补齐 @all 通知偏好能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.update_at_all_notification_off",
|
||
"cobra-help:dws chat mute-at-all",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.update_red_env_notification_off": {
|
||
"agent_summary": "关闭或恢复指定会话的红包通知",
|
||
"use_when": [
|
||
"用户只想调整某个会话的红包消息提醒偏好时"
|
||
],
|
||
"avoid_when": [
|
||
"关闭全部会话通知使用 chat mute;@所有人通知偏好使用 mute-at-all"
|
||
],
|
||
"examples": [
|
||
"dws chat mute-red-envelope --conversation-id <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun 会话通知树补齐红包通知偏好能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.update_red_env_notification_off",
|
||
"cobra-help:dws chat mute-red-envelope",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.translate": {
|
||
"agent_summary": "把指定聊天文本翻译成目标语言",
|
||
"use_when": [
|
||
"用户给出文本并明确要求翻译为支持的语言代码时"
|
||
],
|
||
"avoid_when": [
|
||
"翻译文档或文件内容应使用对应产品能力;本命令只处理传入文本"
|
||
],
|
||
"examples": [
|
||
"dws chat text translate --query \"你好世界\" --to en_US"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据当前 Cobra 与 nanrun text 分支补齐聊天文本翻译能力。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.translate",
|
||
"cobra-help:dws chat text translate",
|
||
"skills/multi/dingtalk-chat/SKILL.md",
|
||
"skills/multi/dingtalk-chat/references/chat.md"
|
||
]
|
||
},
|
||
"chat.shortcut_bot_search": {
|
||
"agent_summary": "搜索当前用户自己创建的机器人",
|
||
"use_when": [
|
||
"当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +bot-search --page 1 --name \"日报\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_bot_search",
|
||
"cobra-help:dws chat +bot-search",
|
||
"ShortcutRegistry:chat +bot-search"
|
||
]
|
||
},
|
||
"chat.shortcut_bot_find": {
|
||
"agent_summary": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)",
|
||
"use_when": [
|
||
"当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +bot-find --query \"日报\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_bot_find",
|
||
"cobra-help:dws chat +bot-find",
|
||
"ShortcutRegistry:chat +bot-find"
|
||
]
|
||
},
|
||
"chat.shortcut_conversation_info": {
|
||
"agent_summary": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)",
|
||
"use_when": [
|
||
"当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +conversation-info --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_conversation_info",
|
||
"cobra-help:dws chat +conversation-info",
|
||
"ShortcutRegistry:chat +conversation-info"
|
||
]
|
||
},
|
||
"chat.shortcut_conversation_clear_all_red_point": {
|
||
"agent_summary": "清除所有会话红点(全部已读)",
|
||
"use_when": [
|
||
"当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +conversation-clear-all-red-point"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_conversation_clear_all_red_point",
|
||
"cobra-help:dws chat +conversation-clear-all-red-point",
|
||
"ShortcutRegistry:chat +conversation-clear-all-red-point"
|
||
]
|
||
},
|
||
"chat.shortcut_conversation_list": {
|
||
"agent_summary": "分页获取当前用户的全部会话列表(单聊+群聊)",
|
||
"use_when": [
|
||
"当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +conversation-list --limit 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_conversation_list",
|
||
"cobra-help:dws chat +conversation-list",
|
||
"ShortcutRegistry:chat +conversation-list"
|
||
]
|
||
},
|
||
"chat.shortcut_conversation_list_top": {
|
||
"agent_summary": "拉取置顶会话列表,可只看群聊或单聊",
|
||
"use_when": [
|
||
"当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,并把下层 singleChat 规范化为 conversationType=group|direct。可用 --type group 只看群聊、--type direct 只看单聊,或用 --exclude-muted 排除已免打扰会话。"
|
||
],
|
||
"avoid_when": [
|
||
"用户要查看群内被 Pin 的消息而不是侧边栏置顶会话时,改用 +messages-list-pin"
|
||
],
|
||
"examples": [
|
||
"dws chat +conversation-list-top --type group --limit 1000",
|
||
"dws chat +conversation-list-top --type direct --limit 1000"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Reviewed after live testing list_top_conversations: singleChat is present on every tested row and is normalized locally to group/direct without adding a lower-service parameter.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_conversation_list_top",
|
||
"cobra-help:dws chat +conversation-list-top",
|
||
"ShortcutRegistry:chat +conversation-list-top"
|
||
]
|
||
},
|
||
"chat.shortcut_category_list": {
|
||
"agent_summary": "获取用户自定义会话分组",
|
||
"use_when": [
|
||
"当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +category-list"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_category_list",
|
||
"cobra-help:dws chat +category-list",
|
||
"ShortcutRegistry:chat +category-list"
|
||
]
|
||
},
|
||
"chat.shortcut_category_create": {
|
||
"agent_summary": "创建用户自定义会话分组",
|
||
"use_when": [
|
||
"当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传最多 15 个字符的分组名称 --title。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +category-create --title \"工作群\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_category_create",
|
||
"cobra-help:dws chat +category-create",
|
||
"ShortcutRegistry:chat +category-create"
|
||
]
|
||
},
|
||
"chat.shortcut_category_delete": {
|
||
"agent_summary": "删除用户自定义会话分组",
|
||
"use_when": [
|
||
"当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +category-delete --category-id <分组ID>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_category_delete",
|
||
"cobra-help:dws chat +category-delete",
|
||
"ShortcutRegistry:chat +category-delete"
|
||
]
|
||
},
|
||
"chat.shortcut_category_rename": {
|
||
"agent_summary": "更新用户自定义会话分组的名称",
|
||
"use_when": [
|
||
"当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和最多 15 个字符的新名称 --title。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +category-rename --category-id <分组ID> --title \"新名称\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_category_rename",
|
||
"cobra-help:dws chat +category-rename",
|
||
"ShortcutRegistry:chat +category-rename"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_search": {
|
||
"agent_summary": "按关键词搜索群聊",
|
||
"use_when": [
|
||
"当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-search --query \"项目冲刺\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_search",
|
||
"cobra-help:dws chat +chat-search",
|
||
"ShortcutRegistry:chat +chat-search"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_invite_url": {
|
||
"agent_summary": "获取群邀请链接",
|
||
"use_when": [
|
||
"当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-invite-url --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_invite_url",
|
||
"cobra-help:dws chat +chat-invite-url",
|
||
"ShortcutRegistry:chat +chat-invite-url"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_dismiss": {
|
||
"agent_summary": "解散群聊(不可逆,需群主权限)",
|
||
"use_when": [
|
||
"当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-dismiss --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_dismiss",
|
||
"cobra-help:dws chat +chat-dismiss",
|
||
"ShortcutRegistry:chat +chat-dismiss"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_set_history": {
|
||
"agent_summary": "设置新成员入群可查看历史消息范围",
|
||
"use_when": [
|
||
"当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-set-history --group <openConversationId> --option RECENT_100"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_set_history",
|
||
"cobra-help:dws chat +chat-set-history",
|
||
"ShortcutRegistry:chat +chat-set-history"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_update_nick": {
|
||
"agent_summary": "设置当前用户在群内的群昵称",
|
||
"use_when": [
|
||
"当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-update-nick --group <openConversationId> --nick \"我的群昵称\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_update_nick",
|
||
"cobra-help:dws chat +chat-update-nick",
|
||
"ShortcutRegistry:chat +chat-update-nick"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_update_alias": {
|
||
"agent_summary": "设置群备注(仅自己可见)",
|
||
"use_when": [
|
||
"当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-update-alias --group <openConversationId> --alias-title \"项目A群\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_update_alias",
|
||
"cobra-help:dws chat +chat-update-alias",
|
||
"ShortcutRegistry:chat +chat-update-alias"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_list_mine": {
|
||
"agent_summary": "拉取我创建/管理的群",
|
||
"use_when": [
|
||
"当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-list-mine --role OWNER"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_list_mine",
|
||
"cobra-help:dws chat +chat-list-mine",
|
||
"ShortcutRegistry:chat +chat-list-mine"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_list_all": {
|
||
"agent_summary": "分页拉取我加入的所有群列表",
|
||
"use_when": [
|
||
"当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-list-all --limit 50"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_list_all",
|
||
"cobra-help:dws chat +chat-list-all",
|
||
"ShortcutRegistry:chat +chat-list-all"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_list_join_requests": {
|
||
"agent_summary": "分页拉取入群验证记录",
|
||
"use_when": [
|
||
"当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-list-join-requests --limit 30"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_list_join_requests",
|
||
"cobra-help:dws chat +chat-list-join-requests",
|
||
"ShortcutRegistry:chat +chat-list-join-requests"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_bots": {
|
||
"agent_summary": "查看群内所有机器人",
|
||
"use_when": [
|
||
"当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-bots --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_bots",
|
||
"cobra-help:dws chat +chat-bots",
|
||
"ShortcutRegistry:chat +chat-bots"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_set_admin": {
|
||
"agent_summary": "设置 / 取消群管理员",
|
||
"use_when": [
|
||
"当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-set-admin --group <openConversationId> --users userId1,userId2"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_set_admin",
|
||
"cobra-help:dws chat +chat-set-admin",
|
||
"ShortcutRegistry:chat +chat-set-admin"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_mute": {
|
||
"agent_summary": "全员禁言 / 取消全员禁言",
|
||
"use_when": [
|
||
"当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-mute --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_mute",
|
||
"cobra-help:dws chat +chat-mute",
|
||
"ShortcutRegistry:chat +chat-mute"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_role_list": {
|
||
"agent_summary": "拉取会话的群身份列表",
|
||
"use_when": [
|
||
"当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-role-list --group <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_role_list",
|
||
"cobra-help:dws chat +chat-role-list",
|
||
"ShortcutRegistry:chat +chat-role-list"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_role_add": {
|
||
"agent_summary": "添加群身份",
|
||
"use_when": [
|
||
"当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-role-add --group <openConversationId> --name \"管理员\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_role_add",
|
||
"cobra-help:dws chat +chat-role-add",
|
||
"ShortcutRegistry:chat +chat-role-add"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_role_update": {
|
||
"agent_summary": "更新群身份名称",
|
||
"use_when": [
|
||
"当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-role-update --group <openConversationId> --role-id <openRoleId> --name \"新名称\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_role_update",
|
||
"cobra-help:dws chat +chat-role-update",
|
||
"ShortcutRegistry:chat +chat-role-update"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_role_set_user": {
|
||
"agent_summary": "设置用户的群身份(覆盖该用户的全部群身份)",
|
||
"use_when": [
|
||
"当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-role-set-user --group <openConversationId> --user <userId> --role-ids roleId1,roleId2"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_role_set_user",
|
||
"cobra-help:dws chat +chat-role-set-user",
|
||
"ShortcutRegistry:chat +chat-role-set-user"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_role_query_user": {
|
||
"agent_summary": "查询群成员的群身份",
|
||
"use_when": [
|
||
"当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-role-query-user --group <openConversationId> --user <userId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_role_query_user",
|
||
"cobra-help:dws chat +chat-role-query-user",
|
||
"ShortcutRegistry:chat +chat-role-query-user"
|
||
]
|
||
},
|
||
"chat.shortcut_chat_messages": {
|
||
"agent_summary": "拉取某个会话(群聊或单聊)的消息列表并投影出发言人/文本/时间",
|
||
"use_when": [
|
||
"当你想快速看某个会话里的消息(谁在什么时间说了什么),而不想拿到一大坨原始消息字段时使用;群聊传 --group(群会话 ID,openConversationId),单聊传 --user(对方 userId),两者互斥且必须二选一。省略 --time 时默认从当前时间向前读取最近消息;也可指定时间边界并用 --direction newer/older 控制方向。内部据此调用群聊或单聊的消息列表接口,再在本地投影出每条消息的发言人、文本和时间。默认只读且不会发送或修改任何消息;--download-resources 使用工作目录内安全路径、默认不覆盖和原子落盘,按既有安全下载约定无需交互确认。"
|
||
],
|
||
"avoid_when": [
|
||
"要跨多个会话按关键词、发送者或消息类型检索时使用 +search-msg;已有一批精确消息 ID 时使用 +messages-mget"
|
||
],
|
||
"examples": [
|
||
"dws chat +chat-messages --group <openConversationId> --direction older",
|
||
"dws chat +chat-messages --open-dingtalk-id <openDingTalkId> --download-resources --output-dir ./downloads"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored from the verified group/direct routing, stable projection, pagination, and optional safe resource workflow; it distinguishes conversation history from cross-conversation search and exact-ID mget.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_chat_messages",
|
||
"cobra-help:dws chat +chat-messages",
|
||
"ShortcutRegistry:chat +chat-messages"
|
||
]
|
||
},
|
||
"chat.shortcut_messages_send": {
|
||
"agent_summary": "统一发送文本、Markdown、当前用户文件或已有 mediaId 图片",
|
||
"use_when": [
|
||
"当你希望用同一个入口选择 current-user、bot 或 webhook 身份发送消息时使用;命令会按身份校验目标、内容和凭据并路由到真实下层。current-user 支持文本/Markdown、已有 mediaId 图片、安全相对路径文件上传和幂等键;--user 传 userId 时包括在 --dry-run 中也会先通过通讯录关键词搜索并按 userId 精确匹配 openDingTalkId。bot 支持群聊或批量单聊文本/Markdown;webhook 的目标由 token 所在群决定。不会把 user 文件能力伪装成 bot/webhook 等价能力。"
|
||
],
|
||
"avoid_when": [
|
||
"需要 bot/webhook 发送媒体、卡片或 thread 回复时不要假设等价支持;改用真实存在的专用下层命令,缺少下层能力时停止"
|
||
],
|
||
"examples": [
|
||
"dws chat +messages-send --as user --chat-id <openConversationId> --markdown \"## 周报\" --idempotency-key <key>",
|
||
"dws chat +messages-send --as user --user <userId> --msg-type file --file ./report.pdf"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored from the verified identity/content capability matrix, live-compatible contact search with exact userId matching, native local-file upload flow, and fail-closed rejection of unsupported bot/webhook media.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_messages_send",
|
||
"cobra-help:dws chat +messages-send",
|
||
"ShortcutRegistry:chat +messages-send"
|
||
]
|
||
},
|
||
"chat.shortcut_messages_send_by_webhook": {
|
||
"agent_summary": "自定义机器人 Webhook 发送群消息",
|
||
"use_when": [
|
||
"当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +messages-send-by-webhook --token <token> --title \"告警\" --text \"CPU 超 90%\" --at-all"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_messages_send_by_webhook",
|
||
"cobra-help:dws chat +messages-send-by-webhook",
|
||
"ShortcutRegistry:chat +messages-send-by-webhook"
|
||
]
|
||
},
|
||
"chat.shortcut_messages_send_card": {
|
||
"agent_summary": "创建流式卡片,可在同一次调用中写入内容并结束",
|
||
"use_when": [
|
||
"当你要发送一张流式卡片消息时使用;群 openConversationId、单聊 userId、单聊 openDingTalkId 严格三选一,分别使用 --group、--receiver、--receiver-open-dingtalk-id。--receiver 始终按 userId 通过通讯录关键词搜索做精确匹配,即使值以 D/d 开头也不会猜成 openDingTalkId;已有 openDingTalkId 时必须用显式参数直传。userId 包括在 --dry-run 时也会先解析。只传目标时创建卡片并返回 bizId,供后续 messages-update-card 流式更新;同时传 --content 时会自动串联创建和更新,默认以 flowStatus=3 完成,避免卡片停留在加载中。"
|
||
],
|
||
"avoid_when": [
|
||
"已有 bizId、只需要追加或更新现有卡片内容时使用 +messages-update-card"
|
||
],
|
||
"examples": [
|
||
"dws chat +messages-send-card --group <openConversationId> --content \"任务已完成\"",
|
||
"dws chat +messages-send-card --receiver <userId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored from the verified create-only and create-then-update lifecycle, live-compatible contact search with exact userId matching, explicit userId/openDingTalkId routing, two-action dry-run, bizId extraction, and partial-failure reporting.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_messages_send_card",
|
||
"cobra-help:dws chat +messages-send-card",
|
||
"ShortcutRegistry:chat +messages-send-card"
|
||
]
|
||
},
|
||
"chat.shortcut_messages_list_direct": {
|
||
"agent_summary": "拉取单聊会话消息",
|
||
"use_when": [
|
||
"当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +messages-list-direct --user <userId> --time \"2025-03-01 00:00:00\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_messages_list_direct",
|
||
"cobra-help:dws chat +messages-list-direct",
|
||
"ShortcutRegistry:chat +messages-list-direct"
|
||
]
|
||
},
|
||
"chat.shortcut_messages_list_unread_conversations": {
|
||
"agent_summary": "获取有未读消息的会话列表",
|
||
"use_when": [
|
||
"当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +messages-list-unread-conversations --count 20"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_messages_list_unread_conversations",
|
||
"cobra-help:dws chat +messages-list-unread-conversations",
|
||
"ShortcutRegistry:chat +messages-list-unread-conversations"
|
||
]
|
||
},
|
||
"chat.shortcut_messages_mget": {
|
||
"agent_summary": "根据消息 ID 批量查询消息(最多 50 条)",
|
||
"use_when": [
|
||
"当你已有一批消息 openMsgId、需要批量取回完整详情、reaction 和可执行资源引用时使用;一次最多 50 条。--download-resources 可把所有可识别 mediaId/fileId 安全下载到工作目录内,并逐资源返回成功/失败 ledger;本地下载路径受限于工作目录、默认不覆盖同名文件,按既有安全下载约定无需交互确认。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +messages-mget --msg-ids msgId1,msgId2"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Reviewed against the built-in Shortcut, executable Cobra flags, safe relative-path download contract, and per-resource failure ledger; this selection update advertises the new optional resource workflow without changing its runtime safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_messages_mget",
|
||
"cobra-help:dws chat +messages-mget",
|
||
"ShortcutRegistry:chat +messages-mget"
|
||
]
|
||
},
|
||
"chat.shortcut_messages_query_send_status": {
|
||
"agent_summary": "查询消息发送任务的业务终态,只有 sendStatus=SUCCESS 才表示真正发送成功",
|
||
"use_when": [
|
||
"当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id;FAILED 必须如实报告,不能因外层 success=true 宣称成功。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令;不要把 openTaskId 当 openMessageId 做 Pin、置顶或表情操作"
|
||
],
|
||
"examples": [
|
||
"dws chat +messages-query-send-status --open-task-id <openTaskId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_messages_query_send_status",
|
||
"cobra-help:dws chat +messages-query-send-status",
|
||
"ShortcutRegistry:chat +messages-query-send-status"
|
||
]
|
||
},
|
||
"chat.shortcut_messages_read_status": {
|
||
"agent_summary": "查询消息的已读/未读状态",
|
||
"use_when": [
|
||
"当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +messages-read-status --conversation-id <openConversationId> --message-id <openMessageId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_messages_read_status",
|
||
"cobra-help:dws chat +messages-read-status",
|
||
"ShortcutRegistry:chat +messages-read-status"
|
||
]
|
||
},
|
||
"chat.shortcut_messages_update_card": {
|
||
"agent_summary": "流式更新卡片内容(最后一次 --flow-status 应为 3)",
|
||
"use_when": [
|
||
"当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +messages-update-card --biz-id <bizId> --content \"内容\" --flow-status 3"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_messages_update_card",
|
||
"cobra-help:dws chat +messages-update-card",
|
||
"ShortcutRegistry:chat +messages-update-card"
|
||
]
|
||
},
|
||
"chat.shortcut_messages_list_pin": {
|
||
"agent_summary": "拉取会话中钉住的消息列表",
|
||
"use_when": [
|
||
"当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +messages-list-pin --open-conversation-id <openConversationId>"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_messages_list_pin",
|
||
"cobra-help:dws chat +messages-list-pin",
|
||
"ShortcutRegistry:chat +messages-list-pin"
|
||
]
|
||
},
|
||
"chat.shortcut_at_me": {
|
||
"agent_summary": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)",
|
||
"use_when": [
|
||
"当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。默认只读且不会发送、撤回或标记任何消息;--download-resources 使用工作目录内安全路径、默认不覆盖和原子落盘,按既有安全下载约定无需交互确认。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +at-me",
|
||
"dws chat +at-me --days 3"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_at_me",
|
||
"cobra-help:dws chat +at-me",
|
||
"ShortcutRegistry:chat +at-me"
|
||
]
|
||
},
|
||
"chat.shortcut_broadcast": {
|
||
"agent_summary": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)",
|
||
"use_when": [
|
||
"当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +broadcast --to \"张三,李四,王五\" --text \"今晚 8 点上线,请留意\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_broadcast",
|
||
"cobra-help:dws chat +broadcast",
|
||
"ShortcutRegistry:chat +broadcast"
|
||
]
|
||
},
|
||
"chat.shortcut_dm": {
|
||
"agent_summary": "按姓名直接给某人发单聊消息(自动解析 userId)",
|
||
"use_when": [
|
||
"当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +dm --to 张三 --text \"周报发我一下\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_dm",
|
||
"cobra-help:dws chat +dm",
|
||
"ShortcutRegistry:chat +dm"
|
||
]
|
||
},
|
||
"chat.shortcut_group_members": {
|
||
"agent_summary": "按群名列出群成员(自动搜群解析 openConversationId)",
|
||
"use_when": [
|
||
"当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +group-members --group 项目冲刺"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_group_members",
|
||
"cobra-help:dws chat +group-members",
|
||
"ShortcutRegistry:chat +group-members"
|
||
]
|
||
},
|
||
"chat.shortcut_my_groups": {
|
||
"agent_summary": "列出我加入的群,可按类型过滤并投影关键字段",
|
||
"use_when": [
|
||
"当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +my-groups",
|
||
"dws chat +my-groups --type group"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_my_groups",
|
||
"cobra-help:dws chat +my-groups",
|
||
"ShortcutRegistry:chat +my-groups"
|
||
]
|
||
},
|
||
"chat.shortcut_search_msg": {
|
||
"agent_summary": "多维搜索消息,可全量翻页并批量富化详情",
|
||
"use_when": [
|
||
"当你要按关键词、发送者、@对象、会话、消息类型或机器人来源组合搜索 IM 消息时使用;默认查询近 7 天,也可指定精确起止时间。--page-all 会连续拉取游标页,默认再按消息 ID 分批富化详情;任何续页或富化失败都会保留已取得结果并返回逐项失败 ledger,绝不把截断结果标成完整。--download-resources 使用工作目录内安全路径、默认不覆盖和原子落盘,按既有安全下载约定无需交互确认。"
|
||
],
|
||
"avoid_when": [
|
||
"只想读取一个已知会话的连续历史时使用 +chat-messages;已有精确消息 ID 时使用 +messages-mget"
|
||
],
|
||
"examples": [
|
||
"dws chat +search-msg --query \"周报\" --senders <openDingTalkId> --days 3 --page-all",
|
||
"dws chat +search-msg --group <openConversationId> --message-type file --download-resources --output-dir ./downloads"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored from the verified filter mapping, cursor pagination, batched mget enrichment, completeness ledger, and shared safe resource workflow.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_search_msg",
|
||
"cobra-help:dws chat +search-msg",
|
||
"ShortcutRegistry:chat +search-msg"
|
||
]
|
||
},
|
||
"chat.shortcut_send_to_group": {
|
||
"agent_summary": "按群名直接给群发消息(自动搜群解析 openConversationId)",
|
||
"use_when": [
|
||
"当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +send-to-group --group 项目冲刺 --text \"今天 5 点前提交进度\""
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_send_to_group",
|
||
"cobra-help:dws chat +send-to-group",
|
||
"ShortcutRegistry:chat +send-to-group"
|
||
]
|
||
},
|
||
"chat.shortcut_thread_replies": {
|
||
"agent_summary": "拉取某条话题消息的全部回复并投影出发言人/文本/时间",
|
||
"use_when": [
|
||
"当你已经拿到某个群里一条「话题消息」的 threadId/topicId、想快速看这条话题下的全部回复(谁在什么时间回复了什么),而不想拿到一大坨原始消息字段时使用;内部按 --group(群会话 ID)和 --thread-id(兼容 --topic-id)拉取该话题的回复列表,可选 --time 指定起始时间、--limit 指定每页条数,再在本地投影出每条回复的发言人、文本和回复时间。默认只读且不会发送或修改任何消息;--download-resources 使用工作目录内安全路径、默认不覆盖和原子落盘,按既有安全下载约定无需交互确认。"
|
||
],
|
||
"avoid_when": [
|
||
"要回复 Thread 或发送新回复时不要使用此读取入口;当前没有经过验证的 thread writer Shortcut"
|
||
],
|
||
"examples": [
|
||
"dws chat +thread-replies --group <openConversationId> --thread-id <threadId>",
|
||
"dws chat +thread-replies --group <openConversationId> --topic-id <topicId> --download-resources --output-dir ./downloads"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored from the verified thread/topic alias, lower list_topic_replies mapping, stable projection, group-context fallback, and optional safe resource workflow.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_thread_replies",
|
||
"cobra-help:dws chat +thread-replies",
|
||
"ShortcutRegistry:chat +thread-replies"
|
||
]
|
||
},
|
||
"chat.shortcut_unread_chats": {
|
||
"agent_summary": "列出我有未读消息的会话(投影会话名/未读数/会话ID)",
|
||
"use_when": [
|
||
"当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。"
|
||
],
|
||
"avoid_when": [
|
||
"需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令"
|
||
],
|
||
"examples": [
|
||
"dws chat +unread-chats",
|
||
"dws chat +unread-chats --count 20"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json#chat.shortcut_unread_chats",
|
||
"cobra-help:dws chat +unread-chats",
|
||
"ShortcutRegistry:chat +unread-chats"
|
||
]
|
||
},
|
||
"chat.update_text_emotion": {
|
||
"agent_summary": "把消息上已有的文字表情原地替换为新的文字表情",
|
||
"use_when": [
|
||
"需要更新消息的状态文字或表情,并避免先移除再添加造成闪烁和两次网络调用时"
|
||
],
|
||
"avoid_when": [
|
||
"消息上还没有文字表情时使用 chat message add-text-emotion",
|
||
"只需清除文字表情时使用 chat message remove-text-emotion"
|
||
],
|
||
"examples": [
|
||
"dws chat message update-text-emotion --conversation-id <openConversationId> --msg-id <openMessageId> --old-emotion-id <oldEmotionId> --emotion-id <emotionId> --emotion-name \"处理中\" --text \"处理中 2 分钟\" --background-id im_bg_5"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "依据 issue #85 的原地状态更新场景、Wukong 30f13f02 的真实 Cobra/MCP 映射和开源实现复核;选择语义不改变执行、安全或参数事实。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry/products/chat.json#chat.update_text_emotion",
|
||
"cobra-help:dws chat message update-text-emotion",
|
||
"dws-wukong:d6831318",
|
||
"dws-wukong:bcf56ccf",
|
||
"dws-wukong:30f13f02",
|
||
"github:hugozhu/dingtalk-opencode-tag#85",
|
||
"live-dws-schema:im.update_text_emotion#FAILED_NOT_AUTHENTICATED"
|
||
]
|
||
},
|
||
"chat.get_group_mute_config": {
|
||
"agent_summary": "查询群用户禁言配置(禁言黑名单/全员禁言白名单)",
|
||
"use_when": [
|
||
"用户说 看下群里谁被禁言/禁言配置"
|
||
],
|
||
"avoid_when": [
|
||
"设置全员禁言用 chat group-mute;禁言个人用 chat group-mute-member"
|
||
],
|
||
"examples": [
|
||
"dws chat group get-mute-config --group <openConversationId> --format json"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工审阅:对照悟空 develop 同名命令实现、Cobra Long/Example 与 Runtime 确认门禁移植;不改变命令身份、参数契约或接口绑定。",
|
||
"source_refs": [
|
||
"CommandRegistry:canonical_path=chat.get_group_mute_config",
|
||
"cobra-help:dws chat group get-mute-config",
|
||
"wukong-develop:wukong/products"
|
||
]
|
||
},
|
||
"chat.batch_query_group_chat_settings": {
|
||
"agent_summary": "批量查询当前用户自己的群会话设置(置顶/免打扰/群昵称/群备注)",
|
||
"use_when": [
|
||
"用户说看下这些群中我自己的置顶和免打扰设置;修改前先查询并保存原值用于恢复"
|
||
],
|
||
"avoid_when": [
|
||
"管理员级群功能开关用 chat group update-settings;查询结果是当前用户视角,不代表群级设置"
|
||
],
|
||
"examples": [
|
||
"dws chat group user-settings query --groups cid1,cid2 --format json"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工审阅:对照悟空 develop 同名命令实现、Cobra Long/Example 与 Runtime 确认门禁移植;不改变命令身份、参数契约或接口绑定。",
|
||
"source_refs": [
|
||
"CommandRegistry:canonical_path=chat.batch_query_group_chat_settings",
|
||
"cobra-help:dws chat group user-settings query",
|
||
"wukong-develop:wukong/products"
|
||
]
|
||
},
|
||
"chat.batch_update_group_chat_settings": {
|
||
"agent_summary": "批量更新当前用户自己的群会话设置(置顶/免打扰/群昵称/群备注)",
|
||
"use_when": [
|
||
"用户说把这些群都设为免打扰或置顶;items 中只写需要改变的当前用户设置,完成后再次 query 验证"
|
||
],
|
||
"avoid_when": [
|
||
"单个群昵称优先 chat group update-nick;不要用本命令修改 searchable、@所有人权限等群级开关;临时测试结束时按修改前 query 的真实值恢复"
|
||
],
|
||
"examples": [
|
||
"dws chat group user-settings set --items '[{\"openConversationId\":\"cid1\",\"top\":true,\"mute\":false}]' --format json"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工审阅:对照悟空 develop 同名命令实现、Cobra Long/Example 与 Runtime 确认门禁移植;不改变命令身份、参数契约或接口绑定。",
|
||
"source_refs": [
|
||
"CommandRegistry:canonical_path=chat.batch_update_group_chat_settings",
|
||
"cobra-help:dws chat group user-settings set",
|
||
"wukong-develop:wukong/products"
|
||
]
|
||
}
|
||
},
|
||
"products": {
|
||
"chat": {
|
||
"agent_summary": "管理钉钉会话、群聊、群成员、机器人、消息检索与发送",
|
||
"use_when": [
|
||
"请求涉及群聊管理、聊天记录、消息发送、会话设置或群机器人"
|
||
],
|
||
"avoid_when": [
|
||
"邮件用 mail;开放平台应用/机器人建号发布用 dev;企业语义找人优先 aisearch person"
|
||
],
|
||
"reviewed": true,
|
||
"review_reason": "人工依据实时 dws schema(或 Skill/Cobra/pinned MCP 对照)决策化选型文案与门禁;不改写命令身份与参数契约;示例不含 --yes。",
|
||
"source_refs": [
|
||
"internal/cli/schema_command_registry.json",
|
||
"skills/mono/references/products/chat.md",
|
||
"CommandRegistry:product=chat",
|
||
"Skill:skills/mono/references/products/chat.md",
|
||
"live-dws-schema:product-batch-2026-07-14"
|
||
]
|
||
}
|
||
}
|
||
}
|