@optima-chat/optima-agent 0.8.77 → 0.8.78
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.
|
@@ -11,7 +11,11 @@ AI 增长官,通过多账号、多人设、多渠道的矩阵化运营实现
|
|
|
11
11
|
|
|
12
12
|
## 核心:~/growth/ 工作目录
|
|
13
13
|
|
|
14
|
-
所有操作基于用户 workspace 的 `~/growth/`
|
|
14
|
+
所有操作基于用户 workspace 的 `~/growth/` 目录。
|
|
15
|
+
|
|
16
|
+
**每次操作的第一步**:运行 `ls ~/growth/GROWTH.md` 检查目录是否已初始化。
|
|
17
|
+
- 如果文件存在 → 直接读取所需文件,执行对应操作
|
|
18
|
+
- 如果文件不存在 → 走「初始设置」流程
|
|
15
19
|
|
|
16
20
|
| 文件 | 用途 |
|
|
17
21
|
|------|------|
|
|
@@ -17,7 +17,6 @@ description: "小红书笔记搜索、创作者分析和内容趋势研究。当
|
|
|
17
17
|
| **分析某篇笔记** | `note-detail <noteId>` | 获取笔记详情(互动数据、标签等) |
|
|
18
18
|
| **看博主主页** | `user-profile <userId>` | 粉丝数、笔记数、获赞数 |
|
|
19
19
|
| **看博主作品** | `user-notes <userId>` | 博主发布的笔记列表 |
|
|
20
|
-
| **看博主收藏** | `user-collected <userId>` | 博主收藏了什么(选品灵感) |
|
|
21
20
|
|
|
22
21
|
---
|
|
23
22
|
|
|
@@ -28,7 +27,6 @@ description: "小红书笔记搜索、创作者分析和内容趋势研究。当
|
|
|
28
27
|
- "看看这个笔记" + noteId → `scout xhs note-detail <noteId>`
|
|
29
28
|
- "看看这个博主" + userId → `scout xhs user-profile <userId>`
|
|
30
29
|
- "这个博主发了什么" → `scout xhs user-notes <userId>`
|
|
31
|
-
- "这个博主收藏了什么" → `scout xhs user-collected <userId>`
|
|
32
30
|
- "小红书上XX好不好卖" → `scout xhs search-notes "XX"` 分析互动数据
|
|
33
31
|
- "找小红书达人" → `scout xhs search-notes "品类关键词"` 从高赞笔记找创作者
|
|
34
32
|
|
|
@@ -99,12 +97,6 @@ scout xhs user-notes 5a1234567890abcdef012345 --num 30
|
|
|
99
97
|
- `--num`:数量(默认 30)
|
|
100
98
|
- `--cursor`:分页游标(翻页用)
|
|
101
99
|
|
|
102
|
-
### 用户收藏 — `scout xhs user-collected`
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
scout xhs user-collected 5a1234567890abcdef012345
|
|
106
|
-
```
|
|
107
|
-
|
|
108
100
|
---
|
|
109
101
|
|
|
110
102
|
## 数据解读
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optima-chat/optima-agent",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.78",
|
|
4
4
|
"description": "基于 Claude Agent SDK 的电商运营 AI 助手",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
"sentinel": "./dist/bin/sentinel.js",
|
|
16
16
|
"shopify": "./dist/bin/shopify.js",
|
|
17
17
|
"logistics": "./dist/bin/logistics.js",
|
|
18
|
-
"browser-cli": "./dist/bin/browser-cli.js"
|
|
19
|
-
"growth": "./dist/bin/growth.js"
|
|
18
|
+
"browser-cli": "./dist/bin/browser-cli.js"
|
|
20
19
|
},
|
|
21
20
|
"files": [
|
|
22
21
|
"dist",
|
|
@@ -52,7 +51,6 @@
|
|
|
52
51
|
"@optima-chat/browser-cli": "latest",
|
|
53
52
|
"@optima-chat/commerce-cli": "latest",
|
|
54
53
|
"@optima-chat/gen-cli": "latest",
|
|
55
|
-
"@optima-chat/growth-cli": "latest",
|
|
56
54
|
"@optima-chat/logistics-cli": "latest",
|
|
57
55
|
"@optima-chat/scout-cli": "latest",
|
|
58
56
|
"@optima-chat/sentinel-cli": "latest",
|