@optima-chat/optima-agent 0.9.0 → 0.9.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.
@@ -52,7 +52,7 @@ AI 广告官:通过 `~/ads/` 工作目录持续运营用户的付费广告投放
52
52
  (The template directory is at the same path as this SKILL.md file, under `template/user/`.)
53
53
  2. `cd ~/ads && git init && git add -A && git commit -m "init workspace"`
54
54
  3. **对话式引导填 ADS.md**(一次问一个,不要塞 10 个表单):
55
- - "我们要推广什么?" `commerce-cli product list` 列候选商品
55
+ - "我们要推广什么?"(商品、店铺、网站、活动等均可。如果是商品,加载 `product` skill 查询商品信息)
56
56
  - "默认目标受众是谁?(地域 / 年龄 / 设备 / 时段)"
57
57
  - "月度总预算上限多少美元?"
58
58
  - "有什么品牌禁忌或必须避开的词吗?"
@@ -79,7 +79,7 @@ AI 广告官:通过 `~/ads/` 工作目录持续运营用户的付费广告投放
79
79
 
80
80
  **流程**:
81
81
  1. 读 ADS.md 拿整体策略,确认推什么产品、受众、预算
82
- 2. `gen image` 生成多个素材变体到 `~/ads/assets/`
82
+ 2. 加载 `gen` skill 生成多个素材变体到 `~/ads/assets/`
83
83
  3. 构造 CampaignSpec JSON(参考下方"CampaignSpec 结构"),写到 `/tmp/spec.json`
84
84
  4. `ads launch create --spec /tmp/spec.json --reason "..."` — 默认 PAUSED
85
85
  5. **必做**: 创建 `~/ads/campaigns/<slug>/` 子目录:
@@ -182,7 +182,7 @@ AI 广告官:通过 `~/ads/` 工作目录持续运营用户的付费广告投放
182
182
  1. `ads status --include-variants` 看现状
183
183
  2. 读 `~/ads/campaigns/<slug>/CREATIVES.md` 和 `~/ads/LEARNINGS.md`
184
184
  3. 决定要生成什么新变体(几个 prompt、什么风格)
185
- 4. `gen image "<prompt>" -o ~/ads/assets` 多次调用
185
+ 4. 加载 `gen` skill 生成素材到 `~/ads/assets/`
186
186
  5. 写进对应 `campaigns/<slug>/CREATIVES.md`
187
187
  6. 如果要把新变体上线到现有 campaign: `ads optimize replace-variant --campaign <campaign_id> --old-variant <id> --spec /tmp/v.json --reason "..."`
188
188
  7. 如果只是建素材库待用,不上线,也 OK
@@ -234,14 +234,9 @@ AI 广告官:通过 `~/ads/` 工作目录持续运营用户的付费广告投放
234
234
  ## Skill 之间的协作
235
235
 
236
236
  按需加载其它 skill:
237
- - **`gen`** — image/video/tts 生成
237
+ - **`gen`** — image 生成
238
+ - **`video-gen`** — video 生成
238
239
  - **`scout`** / **`shein`** / **`tiktok`** 等 — 竞品研究、关键词发现(在 launch 或 optimize 的策略阶段)
239
240
  - **`sentinel`** — 定时调度 collect / optimize / report
240
241
  - **`browser`** — API 不支持时的兜底
241
242
 
242
- ## 依赖的 CLI
243
-
244
- - `ads`(`@optima-chat/ads-cli`)— 本 skill 的核心后端入口
245
- - `gen`(`@optima-chat/gen-cli`)— 素材生成
246
- - `commerce-cli`(`@optima-chat/commerce-cli`)— 查商家商品
247
- - `git`(系统)— workspace 版本管理
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/optima-agent",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "基于 Claude Agent SDK 的电商运营 AI 助手",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",