@optima-chat/optima-agent 0.4.23 → 0.4.24

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.
@@ -216,11 +216,18 @@ commerce product create --title "T恤" --price 99 --stock 50 # 确保真实有5
216
216
  ### 示例1:创建单个商品
217
217
  ```bash
218
218
  # 用户说:"创建T恤商品,99美元,库存20"
219
+ # 描述支持 Markdown 格式
219
220
  commerce product create \
220
221
  --title "T恤" \
221
222
  --price 99 \
222
223
  --stock 20 \
223
- --description "100% 纯棉T恤"
224
+ --description "## 产品特点
225
+
226
+ - **材质**:100% 纯棉
227
+ - **特性**:透气舒适,不易起球
228
+ - **适合人群**:日常休闲、运动
229
+
230
+ > 机洗建议:30°C 以下冷水洗涤"
224
231
  ```
225
232
 
226
233
  ### 示例2:上传商品图片
@@ -298,6 +305,7 @@ commerce product get --id prod_123
298
305
 
299
306
  ## 重要提示
300
307
 
308
+ - **商品描述支持 Markdown 格式**,可以使用标题、列表、加粗、链接等排版
301
309
  - 所有命令默认 JSON 输出,便于 AI 解析
302
310
  - 图片需要先上传获取 `media_id`,再关联到商品
303
311
  - 变体的 `attributes` 使用 JSON 格式
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/optima-agent",
3
- "version": "0.4.23",
3
+ "version": "0.4.24",
4
4
  "description": "基于 Claude Agent SDK 的电商运营 AI 助手",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",