@wecom/wecom-openclaw-plugin 2026.3.30-beta.0 → 2026.3.30-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -99,7 +99,7 @@ metadata:
|
|
|
99
99
|
**执行流程**:
|
|
100
100
|
1. 确定时间范围(用户指定或默认最近7天)
|
|
101
101
|
2. 通过 **chatid查找规则** 确定目标会话的 `chatid` 和 `chat_type`
|
|
102
|
-
3. 调用 `
|
|
102
|
+
3. 调用 `get_message` 拉取消息列表
|
|
103
103
|
4. 调用 `wecom-contact-lookup` 的 `get_userlist` 获取通讯录,建立 userid→姓名 映射
|
|
104
104
|
5. **统计非文本消息**:遍历消息列表,统计 `msgtype` 非 `text` 的消息(image/file/voice/video)数量和类型
|
|
105
105
|
6. 展示消息时将 `userid` 替换为可读姓名,格式:
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
|
|
17
17
|
单聊:
|
|
18
18
|
|
|
19
|
-
使用 `wecom_mcp` tool 调用 `wecom_mcp call msg
|
|
19
|
+
使用 `wecom_mcp` tool 调用 `wecom_mcp call msg get_message '{"chat_type": 1, "chatid": "zhangsan", "begin_time": "2026-03-17 09:00:00", "end_time": "2026-03-17 18:00:00"}'`
|
|
20
20
|
|
|
21
21
|
群聊:
|
|
22
22
|
|
|
23
|
-
使用 `wecom_mcp` tool 调用 `wecom_mcp call msg
|
|
23
|
+
使用 `wecom_mcp` tool 调用 `wecom_mcp call msg get_message '{"chat_type": 2, "chatid": "wrxxxxxxxx", "begin_time": "2026-03-17 09:00:00", "end_time": "2026-03-17 18:00:00"}'`
|
|
24
24
|
|
|
25
25
|
分页请求:
|
|
26
26
|
|
|
27
|
-
使用 `wecom_mcp` tool 调用 `wecom_mcp call msg
|
|
27
|
+
使用 `wecom_mcp` tool 调用 `wecom_mcp call msg get_message '{"chat_type": 1, "chatid": "zhangsan", "begin_time": "2026-03-17 09:00:00", "end_time": "2026-03-17 18:00:00", "cursor": "CURSOR_xxxxxx"}'`
|
|
28
28
|
|
|
29
29
|
## 返回字段
|
|
30
30
|
|
|
@@ -51,7 +51,7 @@ description: 企业微信智能表格数据(记录)管理技能。提供智
|
|
|
51
51
|
|
|
52
52
|
更新一行或多行记录,单次必须在 500 行内。需提供 record_id(通过 `smartsheet_get_records` 获取)。
|
|
53
53
|
|
|
54
|
-
使用 `wecom_mcp` tool 调用 `wecom_mcp call doc smartsheet_update_records '{"docid": "DOCID", "sheet_id": "SHEETID", "records": [{"record_id": "RECORDID", "values": {"
|
|
54
|
+
使用 `wecom_mcp` tool 调用 `wecom_mcp call doc smartsheet_update_records '{"docid": "DOCID", "sheet_id": "SHEETID", "key_type": "CELL_VALUE_KEY_TYPE_FIELD_ID", "records": [{"record_id": "RECORDID", "values": {"FIELDID": [{"type": "text", "text": "更新后的内容"}]}}]}'`
|
|
55
55
|
|
|
56
56
|
**注意**:创建时间、最后编辑时间、创建人、最后编辑人字段不可更新。
|
|
57
57
|
|
|
@@ -48,7 +48,7 @@ description: 企业微信智能表格结构管理技能。提供子表(Sheet
|
|
|
48
48
|
|
|
49
49
|
修改子表标题。需提供 sheet_id 和新 title。
|
|
50
50
|
|
|
51
|
-
使用 `wecom_mcp` tool 调用 `wecom_mcp call doc smartsheet_update_sheet '{"docid": "DOCID", "sheet_id": "SHEETID", "title": "新标题"}'`
|
|
51
|
+
使用 `wecom_mcp` tool 调用 `wecom_mcp call doc smartsheet_update_sheet '{"docid": "DOCID", "properties": {"sheet_id": "SHEETID", "title": "新标题"}}'`
|
|
52
52
|
|
|
53
53
|
### smartsheet_delete_sheet
|
|
54
54
|
|