@optima-chat/optima-agent 0.8.70 → 0.8.72

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.
@@ -79,21 +79,19 @@ growth comments stats
79
79
 
80
80
  当用户首次使用增长功能时:
81
81
  1. 了解用户的产品/业务和目标受众
82
- 2. 建议 2-4 个人设方案,创建账号(`growth accounts create`)
83
- 3. 为每个账号绑定浏览器 profile:`growth accounts update <id> --browser-profile-id <账号的UUID>`
84
- 4. 基于产品功能和目标受众生成初始选题库(`growth topics create`)
85
- 5. 生成第一周的内容日历(`growth calendar create`)
82
+ 2. 设置产品配置:`growth config set --product-name "..." --product-url "..." --product-pitch "..."`
83
+ 3. 建议 2-4 个人设方案,创建账号:`growth accounts create --name "..." --persona "..." --style "..." --channels xiaohongshu --platform-username "平台昵称" --max-daily-posts 3`
84
+ 4. 为每个账号绑定浏览器 profile:`growth accounts update <id> --browser-profile-id <账号的UUID>`
85
+ 5. 引导用户登录平台:加载 browser skill,打开对应平台让用户完成登录(扫码或验证码),登录后浏览器 profile 会保持登录态
86
+ 6. 基于产品功能和目标受众生成初始选题库(`growth topics create`)
87
+ 7. 生成第一周的内容日历(`growth calendar create`)
86
88
 
87
89
  ### 发帖流程
88
90
 
89
91
  1. `growth accounts get <id>` + `growth config get` — 获取人设和产品信息
90
92
  2. 根据 style 规范生成文案,**必须自然植入产品推广**(植入方式因人设而异)
91
93
  3. 用 gen skill 生成配图
92
- 4. browser skill 发布到目标平台(**优先使用 builtin 脚本**):
93
- - 小红书:`browser-cli runscript xiaohongshu-image-note --param title="标题" --param body="正文" --param 'images=["图片路径"]'`
94
- - 如果脚本报 `login_required`,先用 `browser-cli launch --url https://creator.xiaohongshu.com --profile <browser_profile_id>` 引导用户登录,再重新执行脚本
95
- - 其他平台:用 `browser-cli scripts` 查看是否有对应脚本,没有则手动操作
96
- - **发布成功后,脚本返回 post_url,记录到 publish_result**
94
+ 4. 加载 browser skill,用浏览器发布到目标平台(发布成功后记录 post_url)
97
95
  5. `growth calendar update <id> --status published --publish-result '{"post_url":"..."}'`
98
96
 
99
97
  ### 选题更新
@@ -110,7 +108,7 @@ growth comments stats
110
108
  3. **去重检查**:创建选题前,用 `growth topics list` 和 `growth calendar list --status published` 获取已有选题和已发内容,跳过角度相似或主题重复的内容
111
109
  4. 从高互动内容中提取选题角度,用 `growth topics create --source trending` 存入选题库
112
110
  5. 根据原内容互动数据给选题打分(`growth topics update <id> --performance-score <分数>`)
113
- 6. **评论引流**:筛选适合评论的帖子(话题相关、互动活跃、最近发的),AI 生成评论(提供价值,不是硬广),用 browser skill 发评论,`growth comments create --type outreach` 记录
111
+ 6. **评论引流**:筛选适合评论的帖子(话题相关、互动活跃、最近发的),AI 生成评论(提供价值,不是硬广),加载 browser skill 发评论,`growth comments create --type outreach` 记录
114
112
 
115
113
  可用 sentinel skill 创建定时规则自动执行选题更新。
116
114
 
@@ -118,13 +116,11 @@ growth comments stats
118
116
 
119
117
  每天为每个账号回采已发帖子的互动数据,用 sentinel skill 创建每日回采规则:
120
118
 
121
- 1. **使用 builtin 脚本采集数据**:`browser-cli runscript xiaohongshu-data-collect`
122
- - 脚本自动从创作者平台内容分析页抓取所有笔记的数据(曝光、观看、点击率、点赞、评论、收藏、涨粉、分享、时长)
123
- - 返回 JSON 格式的 notes 数组
119
+ 1. 加载 browser skill,用浏览器从创作者平台采集所有笔记的互动数据(曝光、观看、点击率、点赞、评论、收藏、涨粉、分享)
124
120
  2. 将采集到的数据更新到 growth calendar:
125
121
  - `growth calendar update <id> --performance '{"impressions":1450,"views":148,"click_rate":"9.60%","likes":5,"comments":3}'`
126
122
  3. 根据表现数据更新关联选题的评分(`growth topics update <id> --performance-score <分数>`),表现好的选题得分更高,后续 `growth topics suggest` 会优先推荐
127
- 4. **评论回复**:抓取帖子下的新评论,AI 根据人设风格生成回复,用 browser skill 发送,`growth comments create --type reply` 记录
123
+ 4. **评论回复**:抓取帖子下的新评论,AI 根据人设风格生成回复,加载 browser skill 发送,`growth comments create --type reply` 记录
128
124
  5. **评论数据**:检查已发评论的互动数据(点赞数),`growth comments update <id> --performance '{"likes":N}'`
129
125
 
130
126
  ### 私信触达
@@ -145,7 +141,7 @@ growth comments stats
145
141
 
146
142
  **发送私信:**
147
143
  1. 读取 qualified 目标,AI 根据其帖子内容 + 人设风格生成个性化私信
148
- 2. browser skill 打开平台发送私信
144
+ 2. 加载 browser skill 打开平台发送私信
149
145
  3. 记录:`growth outreach messages create` + 更新 target 状态为 messaged
150
146
  4. 遵守风控:不超过 posting_rules.max_daily_outreach
151
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/optima-agent",
3
- "version": "0.8.70",
3
+ "version": "0.8.72",
4
4
  "description": "基于 Claude Agent SDK 的电商运营 AI 助手",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",