@optima-chat/optima-agent 0.8.65 → 0.8.67

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.
@@ -72,7 +72,8 @@ growth calendar update <id> --status published
72
72
  - `browser-cli launch --url "https://creator.xiaohongshu.com/publish/publish" --profile <browser_profile_id> --force`
73
73
  - 切到图文模式 → 上传图片 → 填标题正文 → 直接点击发布(不需要用户确认)
74
74
  - 如果需要登录,询问用户手机号和验证码
75
- 5. `growth calendar update <id> --status published`
75
+ - **发布成功后,从页面或 URL 栏抓取帖子链接,记录到 publish_result**
76
+ 5. `growth calendar update <id> --status published --publish-result '{"post_url":"https://www.xiaohongshu.com/explore/..."}'`
76
77
 
77
78
  ### 选题更新
78
79
 
@@ -85,17 +86,30 @@ growth calendar update <id> --status published
85
86
  - tiktok skill:TikTok 热销产品和达人内容(`scout tiktok`)
86
87
  - reddit skill:Reddit 趋势和商机信号(`scout reddit`)
87
88
  - twitter skill:Twitter/X 行业讨论和趋势(`scout twitter`)
88
- 3. 从高互动内容中提取选题角度,用 `growth topics create --source trending` 存入选题库
89
- 4. 根据原内容互动数据给选题打分(`growth topics update <id> --performance-score <分数>`)
89
+ 3. **去重检查**:创建选题前,用 `growth topics list` 和 `growth calendar list --status published` 获取已有选题和已发内容,跳过角度相似或主题重复的内容
90
+ 4. 从高互动内容中提取选题角度,用 `growth topics create --source trending` 存入选题库
91
+ 5. 根据原内容互动数据给选题打分(`growth topics update <id> --performance-score <分数>`)
90
92
 
91
93
  可用 sentinel skill 创建定时规则自动执行选题更新。
92
94
 
95
+ ### 数据回采
96
+
97
+ 每天为每个账号回采已发帖子的互动数据,用 sentinel skill 创建每日回采规则:
98
+
99
+ 1. `growth calendar list --status published` 获取已发帖子
100
+ 2. 对每篇有 `post_url` 的帖子:
101
+ - 用 browser skill 打开帖子页面(用对应账号的 `--profile`)
102
+ - 从页面抓取互动数据:浏览量、点赞、收藏、评论数
103
+ - `growth calendar update <id> --performance '{"views":1200,"likes":85,"collects":42,"comments":12}'`
104
+ 3. 根据表现数据更新关联选题的评分(`growth topics update <id> --performance-score <分数>`),表现好的选题得分更高,后续 `growth topics suggest` 会优先推荐
105
+
93
106
  ### 定时自动化
94
107
 
95
- 用 sentinel skill 创建定时规则实现全自动发布:
96
- - 为每个账号创建独立的发布规则(cron 调度)
97
- - 规则的 message 指令:加载 growth skill → 检查 pending 内容 → 生成并发布
98
- - 可创建周度内容规划规则,自动填充下一周日历
108
+ 用 sentinel skill 创建定时规则:
109
+ - **自动发布**:为每个账号创建发布规则(cron 调度),指令:加载 growth skill → 检查 pending → 生成并发布
110
+ - **选题更新**:定期搜索多平台热门内容,补充选题库
111
+ - **数据回采**:每天回采已发帖子的互动数据,更新选题评分
112
+ - **内容规划**:每周自动规划下一周日历
99
113
  - 同一用户的规则排队执行,不会并发
100
114
 
101
115
  ## 内容风格指南
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/optima-agent",
3
- "version": "0.8.65",
3
+ "version": "0.8.67",
4
4
  "description": "基于 Claude Agent SDK 的电商运营 AI 助手",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",