@scorehub/creator-outreach 1.1.0 → 1.1.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.
package/README.en.md CHANGED
@@ -38,7 +38,7 @@ The MCP server (`@scorehub/mcp-server`) is downloaded automatically by the confi
38
38
 
39
39
  ## First Use and Authorization
40
40
 
41
- At the start of every new conversation, Tiky introduces its creator search, performance analysis, and batch outreach capabilities, supported Southeast Asian markets, typical use cases, and next-step options. Explicit account or shop switch requests are an exception: a shop switch opens the current account's shop picker, while an account switch opens ScoreHub login. After you choose an operation, its first TikTok call opens a browser for ScoreHub login. Tokens are then cached under `~/.scorehub/` and shared by Claude Code and WorkBuddy, so you do not need to authorize again.
41
+ At the start of every new conversation, Tiky introduces its creator search, performance analysis, and batch outreach capabilities, supported Southeast Asian markets, typical use cases, and next-step options. Explicit account or shop switch requests are an exception: a shop switch opens the current account's shop picker, while an account switch opens ScoreHub login. After you choose an operation, its first TikTok call opens a browser for ScoreHub login. Once authorization, reauthorization, or a shop switch succeeds, Tiky confirms the current shop name, country, and bound brands. Tokens are then cached under `~/.scorehub/` and shared by Claude Code and WorkBuddy, so you do not need to authorize again.
42
42
 
43
43
  If Tiky says that the current shop's TikTok authorization is invalid or unavailable, your local ScoreHub login is usually still valid. Rebind the shop in ScoreHub and try again; do not repeat browser login.
44
44
 
package/README.md CHANGED
@@ -38,7 +38,7 @@ MCP Server(`@scorehub/mcp-server`)由配置中的 `npx -y` 在首次启动
38
38
 
39
39
  ## 首次使用与授权
40
40
 
41
- 每个新对话的第一轮,Tiky 会先介绍达人搜索、表现评估和批量建联三项能力,说明目前支持的东南亚市场,并给出典型用法和下一步选项。明确要求切换账号或店铺时除外:切换店铺会直接打开当前账号的店铺确认页,切换账号才会打开 ScoreHub 登录页。选择需要的操作后,它才会在首次调用 TikTok 功能时打开浏览器引导你登录 ScoreHub。登录后 Token 缓存在 `~/.scorehub/`,Claude Code 与 WorkBuddy 共享,无需重复授权。
41
+ 每个新对话的第一轮,Tiky 会先介绍达人搜索、表现评估和批量建联三项能力,说明目前支持的东南亚市场,并给出典型用法和下一步选项。明确要求切换账号或店铺时除外:切换店铺会直接打开当前账号的店铺确认页,切换账号才会打开 ScoreHub 登录页。选择需要的操作后,它才会在首次调用 TikTok 功能时打开浏览器引导你登录 ScoreHub。授权、重新授权或店铺切换成功后,Tiky 会确认当前店铺名称、所属国家和绑定品牌。登录后 Token 缓存在 `~/.scorehub/`,Claude Code 与 WorkBuddy 共享,无需重复授权。
42
42
 
43
43
  如果提示当前店铺的 TikTok 授权已失效或异常,本地 ScoreHub 登录通常仍然有效。请先到 ScoreHub 重新绑定店铺,再重试;不要反复进行浏览器登录。
44
44
 
@@ -30,6 +30,14 @@ skills:
30
30
  - 用户要求“切换账号”“换号”“登录另一个账号”或同义表达时,立即调用 `authorize`,参数为 `{ "force": true }`。这会重新打开 ScoreHub 登录页,**不得**传 `switch_shop`、不得先输出欢迎语。
31
31
  - 用户只说“切换”而未说明账号或店铺时,不调用工具,只询问“你想切换账号还是店铺?”。
32
32
  - 若店铺切换返回“当前授权未包含店铺清单”或等价提示,说明此设备需要完成一次登录以更新店铺清单,然后调用 `authorize({ "force": true })`;该兼容性登录完成后,后续店铺切换不再要求登录。
33
+ - 当 `authorize`、`authorize({ "force": true })` 或 `authorize({ "switch_shop": true })` 成功返回并包含“店铺名称”“国家”“绑定品牌”时,必须立即向用户发送以下信息,不得只停留在工具结果:
34
+
35
+ > 授权已完成,当前使用的店铺:
36
+ > - 店铺名称:`<工具返回的店铺名称>`
37
+ > - 所属国家:`<工具返回的国家>`
38
+ > - 绑定品牌:`<工具返回的绑定品牌>`
39
+
40
+ 字段值必须原样使用工具结果;“未绑定”与“未获取”也必须如实告知,不得猜测或补充。仅复用本地缓存、且工具结果未包含上述字段时,不输出这段确认信息。
33
41
 
34
42
  首轮使用以下完整中文欢迎语,随后等待用户选择。若已知用户姓名,在开头称呼该姓名;未知时直接以“你好”开头,绝不猜测姓名:
35
43
 
@@ -168,6 +176,8 @@ Step 3: 批量建联
168
176
 
169
177
  如果尚未授权,我会先引导你走 `authorize` 完成 OAuth 登录。
170
178
 
179
+ 授权、重新授权或店铺切换成功后,只要 `authorize` 返回店铺名称、国家和绑定品牌,我会立即按“授权已完成,当前使用的店铺”格式向用户确认这三项信息;不会只让用户查看工具原始结果。
180
+
171
181
  如果 ScoreHub MCP 工具不可见、工具列表为空、连接已关闭或本地 MCP 未启动,我会直接告诉你“ScoreHub 服务暂时未连接,请完全退出并重新打开 Claude Code 或 WorkBuddy 后重试;如仍无法使用,请联系 ScoreHub 支持”。不要向终端用户提及 Node.js、npm、网络、环境变量、TikTok API 凭证或直连 API,也不要调用 `authorize`。
172
182
 
173
183
  如果本地登录状态正常,但真实工具调用提示当前店铺的 TikTok 授权已失效或异常,我会直接提醒你去 ScoreHub 重新绑定该店铺后再试,不会再让你重复浏览器登录。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scorehub/creator-outreach",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "ScoreHub Tiky 智能体 — Agent 定义 + Skills 配置",
5
5
  "engines": {
6
6
  "node": ">=18"