oc-browser-relay 1.0.16 → 1.0.18
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/bundled-relay/public/configs/pages/douyin-creator-publish.json +4 -1
- package/bundled-relay/public/configs/task-templates/douyin-creator-publish.json +14 -4
- package/package.json +1 -1
- package/skills/oc-browser-relay-douyin/SKILL.md +4 -4
- package/skills/oc-browser-relay-taobao/SKILL.md +2 -0
- package/skills/oc-browser-relay-xiaohongshu/SKILL.md +4 -4
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
],
|
|
203
203
|
"inputStrategy": {
|
|
204
204
|
"mode": "file_upload",
|
|
205
|
-
"waitForUploadComplete":
|
|
205
|
+
"waitForUploadComplete": true,
|
|
206
206
|
"removeSelectors": [
|
|
207
207
|
"[class*='delete']",
|
|
208
208
|
"[class*='remove']"
|
|
@@ -225,6 +225,9 @@
|
|
|
225
225
|
"video[src][loop]",
|
|
226
226
|
"#phoneText"
|
|
227
227
|
],
|
|
228
|
+
"successLocators": [
|
|
229
|
+
"video[src][loop]"
|
|
230
|
+
],
|
|
228
231
|
"uploadingSelectors": [
|
|
229
232
|
"[class*='uploading']",
|
|
230
233
|
"[class*='loading']",
|
|
@@ -64,6 +64,10 @@
|
|
|
64
64
|
"name": "set_cover",
|
|
65
65
|
"tool": "trigger_action",
|
|
66
66
|
"preconditions": [
|
|
67
|
+
{
|
|
68
|
+
"type": "field_upload_complete",
|
|
69
|
+
"fieldId": "video"
|
|
70
|
+
},
|
|
67
71
|
{
|
|
68
72
|
"type": "element_visible",
|
|
69
73
|
"selector": "video[src][loop]"
|
|
@@ -80,6 +84,7 @@
|
|
|
80
84
|
{
|
|
81
85
|
"nodeId": "confirm_cover",
|
|
82
86
|
"name": "confirm_cover",
|
|
87
|
+
"optional": true,
|
|
83
88
|
"tool": "trigger_action",
|
|
84
89
|
"preconditions": [
|
|
85
90
|
{
|
|
@@ -91,6 +96,15 @@
|
|
|
91
96
|
"action": "confirmCoverPicker"
|
|
92
97
|
}
|
|
93
98
|
},
|
|
99
|
+
{
|
|
100
|
+
"nodeId": "wait_cover_settle",
|
|
101
|
+
"name": "wait_cover_settle",
|
|
102
|
+
"tool": "wait",
|
|
103
|
+
"args": {
|
|
104
|
+
"delayMs": 5000,
|
|
105
|
+
"message": "等待封面设置完成"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
94
108
|
{
|
|
95
109
|
"nodeId": "submit_publish",
|
|
96
110
|
"name": "submit_publish",
|
|
@@ -99,10 +113,6 @@
|
|
|
99
113
|
{
|
|
100
114
|
"type": "field_non_empty",
|
|
101
115
|
"fieldId": "title"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"type": "text_not_visible",
|
|
105
|
-
"value": "封面检测中"
|
|
106
116
|
}
|
|
107
117
|
],
|
|
108
118
|
"args": {
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@ description: 通过本地 ChromeAgent Relay 的 OpenClaw 插件工具发布抖
|
|
|
21
21
|
|
|
22
22
|
### 直接发布
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
用户提到“发抖音”“发布”“上传到抖音”等发布意图时,默认使用 `douyin_publish_video`。
|
|
25
25
|
|
|
26
26
|
必需参数:
|
|
27
27
|
|
|
@@ -36,9 +36,9 @@ description: 通过本地 ChromeAgent Relay 的 OpenClaw 插件工具发布抖
|
|
|
36
36
|
|
|
37
37
|
- 标题默认不超过 30 字
|
|
38
38
|
- 文案默认不超过 1000 字
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
39
|
+
- 只要用户表达的是发布意图,就默认直接发布
|
|
40
|
+
- 只有用户明确提到“保存草稿”“先存草稿”“先别发”“不要发布”时,才使用 `douyin_save_draft`
|
|
41
|
+
- 连续多轮里,如果用户本轮明确要求保存草稿,不要因为上一轮提过发布就继续调用 `douyin_publish_video`
|
|
42
42
|
- 不支持定时发布;如果用户要求定时发布,告知暂不支持,只能立即发布或保存草稿
|
|
43
43
|
|
|
44
44
|
### 保存草稿
|
|
@@ -85,6 +85,7 @@ description: 通过本地 ChromeAgent Relay 的 OpenClaw 插件工具采集淘
|
|
|
85
85
|
- `url` 一律使用用户原始输入,不做任何规范化或重写
|
|
86
86
|
- 用户明确说“只抓详情”“不要评论”时,传 `targetCommentCount=0`
|
|
87
87
|
- “获取 SKU”“看 SKU”“SKU 信息”都属于商品详情采集,不是单独工具,不额外切到问大家或评论意图
|
|
88
|
+
- 用户明确说“获取 SKU”“看 SKU”“规格”“商品规格”时,按详情采集处理,并传 `targetCommentCount=0`
|
|
88
89
|
- 用户明确说“多抓一些评价”时,`targetCommentCount` 建议传 200
|
|
89
90
|
- 用户明确要求“详情+评论+问大家”时,传 `includeAskAnswers=true`
|
|
90
91
|
- 只有在 `includeAskAnswers=true` 时才传 `targetAskAnswerCount`
|
|
@@ -121,6 +122,7 @@ description: 通过本地 ChromeAgent Relay 的 OpenClaw 插件工具采集淘
|
|
|
121
122
|
|
|
122
123
|
- 默认不要把评论/评价和问大家混在一起;只有用户明确要求,或显式传了 `includeAskAnswers=true`,才在 `taobao_collect_product` 后继续采问大家
|
|
123
124
|
- 用户明确说“只抓详情”“只看详情不要评论”时,使用 `taobao_collect_product`,并传 `targetCommentCount=0`
|
|
125
|
+
- 用户明确说“获取 SKU”“看 SKU”“规格”“商品规格”时,使用 `taobao_collect_product`,并传 `targetCommentCount=0`
|
|
124
126
|
- 用户明确说“问大家”“商品问答”“问答”时,必须使用 `taobao_collect_ask_answers`;不要改成 `taobao_collect_product`,也不要抓评价/评论代替问大家
|
|
125
127
|
- 用户明确说“评价”“评论”时,才使用 `taobao_collect_product`;不要把评价需求解释成问大家
|
|
126
128
|
- 用户明确说“SKU”“规格”“商品规格”时,按商品详情处理;不要把 SKU 当成独立采集类型
|
|
@@ -29,7 +29,7 @@ description: 通过本地 ChromeAgent Relay 的 OpenClaw 插件工具处理小
|
|
|
29
29
|
|
|
30
30
|
### 发布图文
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
用户提到“发小红书”“发笔记”“发布”时,默认使用 `xiaohongshu_publish_note`。
|
|
33
33
|
|
|
34
34
|
必需参数:
|
|
35
35
|
|
|
@@ -40,9 +40,9 @@ description: 通过本地 ChromeAgent Relay 的 OpenClaw 插件工具处理小
|
|
|
40
40
|
规则:
|
|
41
41
|
|
|
42
42
|
- 标题默认控制在 20 字以内
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
43
|
+
- 只要用户表达的是发布意图,就默认直接发布
|
|
44
|
+
- 只有用户明确提到“保存草稿”“先存草稿”“先别发”“不要发布”时,才使用 `xiaohongshu_save_draft`
|
|
45
|
+
- 连续多轮里,如果用户本轮明确要求保存草稿,不要沿用上一轮发布意图去调用 `xiaohongshu_publish_note`
|
|
46
46
|
- 用户没有提供图片路径时,提示用户提供本地图片绝对路径,不要直接调用工具
|
|
47
47
|
|
|
48
48
|
### 保存草稿
|