@geoly-ai/social-hub-cli 0.2.5 → 0.2.6

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.
@@ -13,15 +13,34 @@ metadata:
13
13
  > **前置条件:** 先阅读 [`../social-hub-shared/SKILL.md`](../social-hub-shared/SKILL.md),
14
14
  > 确认已 `auth login` 并 `context use <team-id>`。
15
15
 
16
- ## Watchlists(只读行业池列表见 `social-hub-subreddit-pools` 或兼容 `industry-pools-list`)
16
+ ## 行业池只读列表(industry-pools-list)
17
+
18
+ ```bash
19
+ social-hub intelligence industry-pools-list [-t <team-id>] [-n 50]
20
+ ```
21
+
22
+ **team 是必需上下文**:未传 `-t` 时按 context.json 的 currentTeamId → config 的
23
+ teamId → `SOCIAL_HUB_TEAM_ID` 依次回退;都没有会报 "Missing team id"。已
24
+ `context use <team-id>` 后可省略 `-t`。运营板块池 CRUD 见 `social-hub-subreddit-pools`。
25
+
26
+ ## Watchlists
17
27
 
18
28
  ```bash
19
29
  social-hub intelligence watchlists-list [--campaign <uuid>]
20
30
  social-hub intelligence watchlists-create -j '{"subreddit":"technology","tags":["core"]}'
21
- social-hub intelligence watchlists-update --id <uuid> -j '{"tags":["updated"]}'
31
+ # 品牌洞察(VOC/SOV)用的监控池:显式绑定品牌 + 指定主行业
32
+ social-hub intelligence watchlists-create -j '{"subreddit":"jewelry","primaryIndustryKey":"industry_pools__jewelry","brandIds":["<brand-uuid>"]}'
33
+ social-hub intelligence watchlists-update --id <uuid> -j '{"tags":["updated"],"brandIds":["<brand-uuid>"]}'
22
34
  social-hub intelligence watchlists-delete --id <uuid>
23
35
  ```
24
36
 
37
+ **行业归类**:列表返回 `industrySource: explicit|inferred|none`——`primaryIndustryKey`
38
+ 显式指定优先;未指定时服务端按行业池目录推断(**排除养号/宠物/persona 运营池**,
39
+ brand 池 > industry 池 > 其他,稳定排序;此前首匹配会把养号宠物池误标成"行业:宠物")。
40
+ **品牌绑定**(`brandIds`,replace 语义):不绑=全局监控池;绑定后仅服务这些品牌——
41
+ 品牌 VOC/SOV 扫描取"全局 + 绑定当前品牌"的池。做品牌洞察(如 Aporro)时创建
42
+ watchlist 须显式传 `brandIds`。
43
+
25
44
  ## 热帖
26
45
 
27
46
  ```bash
@@ -74,7 +74,9 @@ social-hub auth logout --revoke # 同时撤销服务端 CLI token
74
74
 
75
75
  ### Team 上下文
76
76
 
77
- 多数命令需要 `-t <team-uuid>`。先持久化当前 team,示例里可直接引用:
77
+ team 级命令的 `-t <team-uuid>` **可省略**:缺省按 context.json 的 currentTeamId →
78
+ config 的 teamId → `SOCIAL_HUB_TEAM_ID` 回退,都没有才报 "Missing team id"。
79
+ 建议先持久化当前 team,后续命令免传 `-t`(显式传 `-t` 始终优先,跨队操作用):
78
80
 
79
81
  ```bash
80
82
  social-hub context use <team-uuid> [--label "prod-team-a"]