@optima-chat/optima-agent 0.7.3 → 0.7.5

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.
@@ -101,7 +101,8 @@
101
101
  "Bash(git tag:*)",
102
102
  "Bash(/private/tmp/claude/-Users-verypro-optima-agent/68a9ac2c-def2-44e1-b42b-e53bd9022ab6/scratchpad/test-canUseTool.sh)",
103
103
  "Bash(optima --help:*)",
104
- "Bash(npx @optima-chat/ads-cli:*)"
104
+ "Bash(npx @optima-chat/ads-cli:*)",
105
+ "Bash(head:*)"
105
106
  ],
106
107
  "deny": [],
107
108
  "ask": []
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: ads
3
- description: Google Ads 广告投放管理。创建广告系列、广告组、关键词、广告,查看广告效果数据。当用户需要投放广告、管理 Google Ads、分析广告效果时使用此技能。
3
+ description: Google Ads campaign management. Create campaigns, ad groups, keywords, and ads. View performance metrics. Use when user needs to run ads (投放广告/打广告), manage Google Ads (广告系列/广告组), or analyze ad performance (广告效果/点击率/转化).
4
4
  ---
5
5
 
6
6
  # Google Ads CLI - 广告投放管理
@@ -14,9 +14,14 @@ CLI 命令: `google-ads`(或 `ads`)
14
14
  google-ads account check
15
15
  ```
16
16
 
17
- **返回状态**:
18
- - `status: "active"` 已授权,可以开始使用
19
- - `status: "not_linked"` → 用户尚未授权 Google Ads,需引导用户在 Optima 平台完成 Google Ads 账号授权
17
+ **返回状态及处理**:
18
+ | 状态 | 含义 | 处理方式 |
19
+ |------|------|----------|
20
+ | `active` | 已连接,可访问 | 继续操作 |
21
+ | `pending` | 邀请已发送,等待接受 | 告知用户去 Google Ads 后台接受邀请 |
22
+ | `refused` | 用户拒绝了邀请 | 输出:`[重新关联 Google Ads 账号](action://link-google-ads-account)` |
23
+ | `canceled` | 邀请已取消 | 输出:`[关联 Google Ads 账号](action://link-google-ads-account)` |
24
+ | `not_linked` | 未关联 | 输出:`[关联 Google Ads 账号](action://link-google-ads-account)` |
20
25
 
21
26
  ## 典型场景
22
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/optima-agent",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "基于 Claude Agent SDK 的电商运营 AI 助手",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",