@optima-chat/optima-agent 0.8.59 → 0.8.61

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.
@@ -45,6 +45,18 @@ growth calendar pending # 查看待发布内容
45
45
  growth calendar update <id> --status published
46
46
  ```
47
47
 
48
+ ## style 字段说明
49
+
50
+ 每个账号的 `style` 字段是该人设的完整内容规范,不仅包含口吻风格,还可以包含:
51
+ - 口吻/语气(口语化、专业、幽默等)
52
+ - 图片风格(色调、构图、比例、数量)
53
+ - 标题格式(字数限制、结构要求)
54
+ - 正文格式(字数、分段、emoji 用法)
55
+ - 标签策略(必选标签、数量)
56
+ - 禁忌事项(禁词、禁止提及的竞品等)
57
+
58
+ **当用户对某个账号提出内容偏好时(如"图片用极客风格""标题不要超过15字""不要用蓝紫色"),必须立即用 `growth accounts update <id> --style "..."` 将新的偏好追加到现有 style 中持久化保存。** 先读取当前 style,合并新偏好,再更新。
59
+
48
60
  ## 工作流程
49
61
 
50
62
  ### 初始设置
@@ -78,7 +90,7 @@ growth config get
78
90
 
79
91
  ### Step 2: 生成内容
80
92
  根据人设风格生成文案和配图:
81
- - 文案按人设 style 撰写
93
+ - **严格遵守账号 style 字段中的所有规范**(口吻、图片风格、标题格式、正文格式、标签策略、禁忌等)
82
94
  - **必须自然植入产品推广**:根据 `growth config get` 返回的 product_name、product_url、product_pitch,在内容中自然提及产品。植入方式因人设而异:
83
95
  - 品牌官方:直接介绍产品功能和优势
84
96
  - 素人卖家:以"我用的是XX"、"后来发现了XX"等个人体验方式提及
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/optima-agent",
3
- "version": "0.8.59",
3
+ "version": "0.8.61",
4
4
  "description": "基于 Claude Agent SDK 的电商运营 AI 助手",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",