@scorehub/creator-outreach 1.3.0 → 1.3.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tiktok-creator-outreach",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "ScoreHub AI's TikTok creator marketing expert for building clear creator profiles and validating focused collaboration shortlists across Southeast Asia.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ben",
|
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
- 维度分 = round(min(followers / maxFollowers × 100, 100))
|
|
23
23
|
|
|
24
24
|
### 4. 品类匹配(20%)
|
|
25
|
-
- **目标类目 ID 集合**(`target_cat_ids`):由用户品类意图决定,通过 `get_categories`
|
|
25
|
+
- **目标类目 ID 集合**(`target_cat_ids`):由用户品类意图决定,通过 `get_categories` 获取后传入。默认使用 `parent_id == "0"` 的顶层类目 ID;仅当用户明确指定某个直接子类目时,才改用该子类目 ID。示例(美妆顶层类目):`{600024, 601303, 602118, 602284, 601450, 600025, 600026}`
|
|
26
26
|
- 若有 `category_gmv_distribution`(API 返回的 `category_id` 为**顶级父类目 ID**,与 `target_cat_ids` 同层级):
|
|
27
27
|
- 取 GMV 占比最高的类目,判断其 `category_id` 是否在 `target_cat_ids` 中
|
|
28
28
|
- **命中**(最理想路径)→ 维度分 = round(该类目 GMV 占比 × 100),上限 100
|
|
@@ -26,18 +26,21 @@ description: 在 TikTok Shop Creator Marketplace 中按关键词、类目、商
|
|
|
26
26
|
如果用户提到了品类/类目关键词(如"美妆"、"3C"、"beauty"、"electronics"),**必须**先调用 `get_categories` 获取类目 ID,再调用 `search_creators`:
|
|
27
27
|
|
|
28
28
|
1. **`get_categories`** — 传入 `keyword`(品类名关键词),并设合适的 `locale`(中文用 `"zh-CN"`,英文用 `"en-US"`)。`category_version` 跟随区域:US/EU/SEA 用 `"v2"`(官方推荐,类目树更完整),其余区域按返回情况定,不必硬性钦定某个版本。
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
-
|
|
29
|
+
- **顶层定义**:只有 `parent_id == "0"` 的类目才是达人搜索默认使用的顶层类目;`is_leaf=false` 只能说明不是叶子节点,不能据此把中间层当作顶层。
|
|
30
|
+
- **关键层级约束(与版本无关)**:达人搜索的 `category` 过滤只支持顶层类目及其直接下一级子类目(TikTok 官方约束:"A child category is only 1 level deeper than the parent")。禁止把更深层命中项直接作为搜索子类目,否则过滤可能被静默忽略。
|
|
31
|
+
2. **默认匹配顶层类目** — 用户只表达宽泛品类或未明确点名子类目时,只使用 `parent_id == "0"` 的顶层类目:
|
|
32
|
+
- 构造 `category` 参数时只传 `parent_category_id`,不传 `child_category_id_list`:`[{parent_category_id: "顶层ID"}]`
|
|
33
|
+
- 关键词结果包含对应顶层类目时直接使用;只返回中间层或深层命中项时,再调用一次不带 `keyword`、保持相同 `locale` 与 `category_version` 的 `get_categories` 获取顶层列表,并按命中项的类目归属选择对应顶层
|
|
34
|
+
- 无法从工具结果可靠确认深层命中项所属顶层时,不猜测类目 ID;按下方“WorkBuddy 选项交互”让用户从相关顶层类目中选择
|
|
35
|
+
- 匹配到多个同样合理、无法从用户原话判定的顶层类目时,调用 `AskUserQuestion` 多选;唯一明确匹配时直接继续
|
|
36
|
+
3. **仅按用户明确意图使用子类目** — 只有用户原话明确点名具体子类目时,才允许传 `child_category_id_list`:
|
|
37
|
+
- 子类目必须是所传顶层类目的直接下一级,即子类目的 `parent_id` 等于该顶层类目的 `id`
|
|
38
|
+
- 构造:`[{parent_category_id: "顶层ID", child_category_id_list: ["直接子类ID1"]}]`
|
|
39
|
+
- 用户明确点名的是更深层类目时,将其映射到所属的直接子类目;无法从工具结果可靠完成映射时,回退为只传顶层类目,不猜测或传入深层 ID
|
|
40
|
+
- 仅因关键词查询返回子类目,或没有合适的顶层名称匹配,不视为用户明确指定子类目,不得自动降级使用子类目
|
|
38
41
|
4. 将构造好的 `category` 参数传给 `search_creators`
|
|
39
42
|
|
|
40
|
-
>
|
|
43
|
+
> **核心原则**:默认顶层覆盖;只有用户明确指定子类目时才缩小范围。层级只能到“顶层类目 + 直接子类目”,宁愿回退顶层多搜,也不要猜测或使用深层 ID。
|
|
41
44
|
|
|
42
45
|
调用 MCP 工具 **`search_creators`**,不要写脚本。若已授权可直接调用;未授权时先走 `authorize`。
|
|
43
46
|
|
|
@@ -62,7 +65,7 @@ description: 在 TikTok Shop Creator Marketplace 中按关键词、类目、商
|
|
|
62
65
|
| 参数 | 说明 |
|
|
63
66
|
|------|------|
|
|
64
67
|
| `keyword` | 用户名/昵称搜索(可选) |
|
|
65
|
-
| `category` |
|
|
68
|
+
| `category` | 品类筛选数组(可选)。默认使用顶层模式:`[{parent_category_id: "顶层ID"}]`,其中顶层类目的 `parent_id == "0"`。只有用户明确指定具体子类目时才使用顶层+直接子类目模式:`[{parent_category_id: "顶层ID", child_category_id_list: ["直接子类ID1"]}]`;直接子类目的 `parent_id` 必须等于顶层 ID。多个对象 OR 关系,单个对象内 child_category_id_list AND 关系。类目 ID 必须先通过 `get_categories` 获取,不得猜测或使用深层 ID。 |
|
|
66
69
|
| `gmv_ranges` / `units_sold_ranges` | GMV 与销量档位(可选) |
|
|
67
70
|
| `follower_demographics` | 粉丝数、年龄段、主要性别及最低占比(可选) |
|
|
68
71
|
| `content_performance` | 视频、带货视频、互动率和直播观看表现(可选) |
|