@optima-chat/optima-agent 0.8.37 → 0.8.38
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: gen
|
|
3
3
|
description: "生成和编辑图片/视频/语音/虚拟试穿。使用场景:生成图片(generate images/生成图片/画图)、编辑图片(edit images/编辑图片/图生图/风格转换)、生成视频(create videos/图生视频)、文本转语音(TTS/语音合成/朗读)、语音识别(ASR/语音转文字/转录)、虚拟试穿(virtual try-on/试穿/换装/试衣)。"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# AI 内容生成工具
|
|
7
7
|
|
|
8
8
|
## 图片生成
|
|
9
9
|
|
|
@@ -11,21 +11,21 @@ description: "生成和编辑图片/视频/语音/虚拟试穿。使用场景:
|
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
13
|
# 文生图
|
|
14
|
-
|
|
14
|
+
gen image "提示词" -o /home/aiuser/project/result.png
|
|
15
15
|
|
|
16
16
|
# 图片编辑/风格转换
|
|
17
|
-
|
|
17
|
+
gen image "转成水彩风格" -i photo.png -o /home/aiuser/project/result.png
|
|
18
18
|
|
|
19
19
|
# 读取并描述结果
|
|
20
20
|
Read /home/aiuser/project/result.png
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
###
|
|
23
|
+
### gen image 命令
|
|
24
24
|
|
|
25
25
|
统一的图像生成/编辑命令。
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
|
|
28
|
+
gen image <prompt> [options]
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
#### 参数
|
|
@@ -33,8 +33,8 @@ comfy image <prompt> [options]
|
|
|
33
33
|
| 参数 | 说明 |
|
|
34
34
|
|------|------|
|
|
35
35
|
| `-i, --input <path>` | 输入图像(可多次使用,最多 8 张) |
|
|
36
|
-
| `-W, --width <px>` | 输出宽度(默认 1024
|
|
37
|
-
| `-H, --height <px>` | 输出高度(默认 1024
|
|
36
|
+
| `-W, --width <px>` | 输出宽度(默认 1024,最大 2048) |
|
|
37
|
+
| `-H, --height <px>` | 输出高度(默认 1024,最大 2048) |
|
|
38
38
|
| `-o, --output <path>` | 输出目录或完整路径 |
|
|
39
39
|
| `-s, --seed <number>` | 随机种子(可复现结果) |
|
|
40
40
|
| `-f, --format <fmt>` | 输出格式:jpeg \| png |
|
|
@@ -44,14 +44,14 @@ comfy image <prompt> [options]
|
|
|
44
44
|
#### 文生图
|
|
45
45
|
|
|
46
46
|
```bash
|
|
47
|
-
|
|
47
|
+
gen image "a cute fluffy cat sitting on a windowsill, natural lighting" -o /home/aiuser/project/cat.png
|
|
48
48
|
Read /home/aiuser/project/cat.png
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
#### 图片风格转换
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
|
-
|
|
54
|
+
gen image "watercolor painting style, artistic brushstrokes" -i photo.jpg -o /home/aiuser/project/watercolor.png
|
|
55
55
|
Read /home/aiuser/project/watercolor.png
|
|
56
56
|
```
|
|
57
57
|
|
|
@@ -60,7 +60,7 @@ Read /home/aiuser/project/watercolor.png
|
|
|
60
60
|
将第一张图的风格应用到第二张图的内容上:
|
|
61
61
|
|
|
62
62
|
```bash
|
|
63
|
-
|
|
63
|
+
gen image "apply the artistic style from image 1 to the content of image 2" -i style.png -i content.png -o /home/aiuser/project/fusion.png
|
|
64
64
|
Read /home/aiuser/project/fusion.png
|
|
65
65
|
```
|
|
66
66
|
|
|
@@ -69,7 +69,7 @@ Read /home/aiuser/project/fusion.png
|
|
|
69
69
|
从多张图中提取元素组合成新图:
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
|
-
|
|
72
|
+
gen image "The person from image 1 is petting the cat from image 2, in a cozy living room" -i person.jpg -i cat.jpg -o /home/aiuser/project/combined.png
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
#### 精确颜色控制
|
|
@@ -77,13 +77,13 @@ comfy image "The person from image 1 is petting the cat from image 2, in a cozy
|
|
|
77
77
|
使用 hex code 指定精确颜色:
|
|
78
78
|
|
|
79
79
|
```bash
|
|
80
|
-
|
|
80
|
+
gen image "a modern logo with brand color #02eb3c as the primary accent" -o /home/aiuser/project/logo.png
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
#### 产品海报
|
|
84
84
|
|
|
85
85
|
```bash
|
|
86
|
-
|
|
86
|
+
gen image "Disney Pixar style 3D poster, [产品描述], cute character, vibrant gradient background, professional studio lighting" -W 1024 -H 1024 -o /home/aiuser/project/poster.png
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
### 提示词指南(FLUX.2)
|
|
@@ -116,18 +116,18 @@ comfy image "Disney Pixar style 3D poster, [产品描述], cute character, vibra
|
|
|
116
116
|
|
|
117
117
|
```bash
|
|
118
118
|
# 简单
|
|
119
|
-
|
|
119
|
+
gen image "a robot"
|
|
120
120
|
|
|
121
121
|
# 添加风格
|
|
122
|
-
|
|
122
|
+
gen image "a friendly AI robot, cute cartoon style, bright colors, 3D render"
|
|
123
123
|
|
|
124
124
|
# 完整描述
|
|
125
|
-
|
|
125
|
+
gen image "Disney Pixar style 3D animated robot character, friendly cheerful expression, wearing headset, surrounded by floating icons, gradient purple-blue background, professional studio lighting, vibrant colors"
|
|
126
126
|
```
|
|
127
127
|
|
|
128
128
|
### 分辨率选择
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
最大 2048x2048。
|
|
131
131
|
|
|
132
132
|
| 用途 | 分辨率 |
|
|
133
133
|
|------|--------|
|
|
@@ -142,33 +142,29 @@ comfy image "Disney Pixar style 3D animated robot character, friendly cheerful e
|
|
|
142
142
|
- 向用户描述图片内容(颜色、风格、构图、元素)
|
|
143
143
|
- 验证是否符合用户要求
|
|
144
144
|
|
|
145
|
-
#### 尺寸要求
|
|
146
|
-
- 宽高必须是 16 的倍数
|
|
147
|
-
- 最大 4MP,推荐 2MP 内
|
|
148
|
-
|
|
149
145
|
#### 多图参考
|
|
150
146
|
- 最多 8 张输入图
|
|
151
147
|
|
|
152
148
|
## 视频生成
|
|
153
149
|
|
|
154
|
-
从静态图片生成视频(wan2.6-i2v),支持 720P/1080P,5-
|
|
150
|
+
从静态图片生成视频(wan2.6-i2v),支持 720P/1080P,5-10 秒。
|
|
155
151
|
|
|
156
152
|
```bash
|
|
157
|
-
|
|
153
|
+
gen video <图片路径> [options]
|
|
158
154
|
```
|
|
159
155
|
|
|
160
156
|
### 参数
|
|
161
157
|
|
|
162
158
|
| 参数 | 说明 | 默认值 |
|
|
163
159
|
|------|------|--------|
|
|
164
|
-
| `-p, --prompt` |
|
|
165
|
-
| `-n, --negative` |
|
|
160
|
+
| `-p, --prompt` | 运动/内容描述 | - |
|
|
161
|
+
| `-n, --negative` | 负向提示词 | - |
|
|
166
162
|
| `-o, --output <path>` | 输出目录或完整路径 | - |
|
|
167
163
|
| `-r, --resolution` | 720P \| 1080P | 1080P |
|
|
168
|
-
| `-d, --duration` | 5 \| 10
|
|
164
|
+
| `-d, --duration` | 5 \| 10 秒 | 5 |
|
|
169
165
|
| `--shot-type` | single \| multi(多镜头叙事) | single |
|
|
170
166
|
| `--no-audio` | 禁用自动配音 | - |
|
|
171
|
-
| `--audio-url <url>` | 自定义音频 URL
|
|
167
|
+
| `--audio-url <url>` | 自定义音频 URL | - |
|
|
172
168
|
| `--no-prompt-extend` | 禁用智能改写 prompt | - |
|
|
173
169
|
| `--watermark` | 添加 AI 生成水印 | - |
|
|
174
170
|
| `--seed <number>` | 随机种子(可复现) | - |
|
|
@@ -177,46 +173,39 @@ comfy video <图片路径> [options]
|
|
|
177
173
|
|
|
178
174
|
```bash
|
|
179
175
|
# 基础用法
|
|
180
|
-
|
|
176
|
+
gen video portrait.png --prompt "gentle smile, subtle head movement"
|
|
181
177
|
|
|
182
178
|
# 10 秒 1080P 视频
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
# 多镜头叙事(15 秒故事性视频)
|
|
186
|
-
comfy video story.png --shot-type multi -d 15 --prompt "a day in the life"
|
|
179
|
+
gen video scene.png -d 10 -r 1080P --prompt "cinematic camera pan"
|
|
187
180
|
|
|
188
181
|
# 静音视频
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
# 自定义音频(需先上传获取 URL)
|
|
192
|
-
commerce upload file --path "/home/aiuser/music.mp3"
|
|
193
|
-
# 返回 URL 后使用
|
|
194
|
-
comfy video scene.png --audio-url "https://..." -o /home/aiuser/project/with-audio.mp4
|
|
182
|
+
gen video product.png --no-audio --prompt "360 degree rotation"
|
|
195
183
|
|
|
196
184
|
# 指定输出路径
|
|
197
|
-
|
|
185
|
+
gen video scene.png -o /home/aiuser/project/result.mp4 --prompt "camera zoom"
|
|
198
186
|
Read /home/aiuser/project/result.mp4
|
|
199
187
|
```
|
|
200
188
|
|
|
201
189
|
### 注意事项
|
|
202
190
|
|
|
203
|
-
-
|
|
204
|
-
-
|
|
205
|
-
-
|
|
191
|
+
- 输入图片:推荐 1080P 比例,≤10MB
|
|
192
|
+
- 最大时长 10 秒
|
|
193
|
+
- 输出:30fps,MP4 (H.264)
|
|
194
|
+
- 默认保存到 `./gen-output/`
|
|
206
195
|
|
|
207
196
|
## 虚拟试穿 (Virtual Try-On)
|
|
208
197
|
|
|
209
198
|
使用 FASHN AI tryon-v1.6 将服装穿到人物照片上。
|
|
210
199
|
|
|
211
200
|
```bash
|
|
212
|
-
|
|
201
|
+
gen tryon <人物照片> <服装照片> [options]
|
|
213
202
|
```
|
|
214
203
|
|
|
215
204
|
### 参数
|
|
216
205
|
|
|
217
206
|
| 参数 | 说明 | 默认值 |
|
|
218
207
|
|------|------|--------|
|
|
219
|
-
| `-o, --output <path>` | 输出文件路径 | `./
|
|
208
|
+
| `-o, --output <path>` | 输出文件路径 | `./gen-output/tryon_{timestamp}.png` |
|
|
220
209
|
| `-c, --category <type>` | 服装类别:auto \| tops \| bottoms \| one-pieces | auto |
|
|
221
210
|
| `-m, --mode <mode>` | 生成模式:performance \| balanced \| quality | quality |
|
|
222
211
|
| `--garment-type <type>` | 服装照片类型:auto \| flat-lay \| model | auto |
|
|
@@ -227,44 +216,40 @@ comfy tryon <人物照片> <服装照片> [options]
|
|
|
227
216
|
### 示例
|
|
228
217
|
|
|
229
218
|
```bash
|
|
230
|
-
# 基本用法
|
|
231
|
-
|
|
219
|
+
# 基本用法
|
|
220
|
+
gen tryon person.jpg garment.jpg -o /home/aiuser/project/result.png
|
|
232
221
|
Read /home/aiuser/project/result.png
|
|
233
222
|
|
|
234
223
|
# 使用 URL 图片
|
|
235
|
-
|
|
224
|
+
gen tryon https://example.com/model.jpg https://example.com/dress.jpg -o /home/aiuser/project/result.png
|
|
236
225
|
|
|
237
226
|
# 指定服装类别和快速模式
|
|
238
|
-
|
|
227
|
+
gen tryon person.jpg top.jpg -c tops -m performance -o /home/aiuser/project/result.png
|
|
239
228
|
|
|
240
229
|
# 生成多张结果
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
# 使用种子复现结果
|
|
244
|
-
comfy tryon person.jpg garment.jpg --seed 42 -o /home/aiuser/project/result.png
|
|
230
|
+
gen tryon person.jpg dress.jpg -n 4 -c one-pieces -o /home/aiuser/project/result.png
|
|
245
231
|
```
|
|
246
232
|
|
|
247
233
|
### 注意事项
|
|
248
234
|
|
|
249
235
|
- 支持本地图片路径和 URL
|
|
250
236
|
- 服装类别:auto (自动检测), tops (上装), bottoms (下装), one-pieces (连体)
|
|
251
|
-
-
|
|
252
|
-
-
|
|
253
|
-
- 可用 `-o` 指定输出路径,默认保存到 `./comfy-output/`
|
|
237
|
+
- 三种模式:performance (~7s), balanced (~9s), quality (~13s)
|
|
238
|
+
- 默认保存到 `./gen-output/`
|
|
254
239
|
|
|
255
240
|
## 语音合成 (TTS)
|
|
256
241
|
|
|
257
242
|
使用 DashScope qwen3-tts-flash 将文本转为语音。
|
|
258
243
|
|
|
259
244
|
```bash
|
|
260
|
-
|
|
245
|
+
gen tts <文本> [options]
|
|
261
246
|
```
|
|
262
247
|
|
|
263
248
|
### 参数
|
|
264
249
|
|
|
265
250
|
| 参数 | 说明 | 默认值 |
|
|
266
251
|
|------|------|--------|
|
|
267
|
-
| `-o, --output <path>` | 输出文件路径 | `./
|
|
252
|
+
| `-o, --output <path>` | 输出文件路径 | `./gen-output/tts_{timestamp}.wav` |
|
|
268
253
|
| `--voice <name>` | 声音名称 | Cherry |
|
|
269
254
|
| `--voices` | 列出可用声音 | - |
|
|
270
255
|
| `--play` | 生成后自动播放 | - |
|
|
@@ -278,27 +263,28 @@ comfy tts <文本> [options]
|
|
|
278
263
|
|
|
279
264
|
```bash
|
|
280
265
|
# 中文语音合成
|
|
281
|
-
|
|
266
|
+
gen tts "你好,欢迎使用语音合成功能" -o /home/aiuser/project/hello.wav
|
|
282
267
|
|
|
283
268
|
# 指定男声
|
|
284
|
-
|
|
269
|
+
gen tts "Hello, welcome!" --voice Ethan -o /home/aiuser/project/greeting.wav
|
|
285
270
|
|
|
286
271
|
# 生成后播放
|
|
287
|
-
|
|
272
|
+
gen tts "测试语音" --play -o /home/aiuser/project/test.wav
|
|
288
273
|
```
|
|
289
274
|
|
|
290
275
|
### 注意事项
|
|
291
276
|
|
|
292
277
|
- 输出格式为 WAV
|
|
278
|
+
- 最大 5000 字符
|
|
293
279
|
- 支持中、英、日、韩、法、德等 10 种语言(自动检测)
|
|
294
|
-
-
|
|
280
|
+
- 默认保存到 `./gen-output/`
|
|
295
281
|
|
|
296
282
|
## 语音识别 (ASR)
|
|
297
283
|
|
|
298
284
|
使用 Groq Whisper 将语音转为文字。
|
|
299
285
|
|
|
300
286
|
```bash
|
|
301
|
-
|
|
287
|
+
gen asr <音频文件> [options]
|
|
302
288
|
```
|
|
303
289
|
|
|
304
290
|
### 参数
|
|
@@ -312,13 +298,26 @@ comfy asr <音频文件> [options]
|
|
|
312
298
|
|
|
313
299
|
```bash
|
|
314
300
|
# 自动检测语言
|
|
315
|
-
|
|
301
|
+
gen asr /home/aiuser/project/recording.mp3
|
|
316
302
|
|
|
317
303
|
# 指定语言提示(提高准确率)
|
|
318
|
-
|
|
304
|
+
gen asr /home/aiuser/project/recording.wav --language zh
|
|
319
305
|
```
|
|
320
306
|
|
|
321
307
|
### 注意事项
|
|
322
308
|
|
|
323
309
|
- 支持 mp3, wav, m4a, ogg, webm 格式
|
|
324
310
|
- 文件大小限制 25MB
|
|
311
|
+
|
|
312
|
+
## 任务管理
|
|
313
|
+
|
|
314
|
+
所有生成命令会自动等待完成。如需查看历史或管理任务:
|
|
315
|
+
|
|
316
|
+
```bash
|
|
317
|
+
gen task list # 查看所有任务
|
|
318
|
+
gen task list --type image # 按类型过滤
|
|
319
|
+
gen task list --status failed # 按状态过滤
|
|
320
|
+
gen task get <task_id> # 查看任务详情
|
|
321
|
+
gen task cancel <task_id> # 取消任务
|
|
322
|
+
gen task retry <task_id> # 重试失败的任务
|
|
323
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gen.d.ts","sourceRoot":"","sources":["../../bin/gen.ts"],"names":[],"mappings":";AACA,OAAO,sBAAsB,CAAC"}
|
package/dist/bin/gen.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gen.js","sourceRoot":"","sources":["../../bin/gen.ts"],"names":[],"mappings":";AACA,OAAO,sBAAsB,CAAC"}
|
package/dist/src/agent.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare class OptimaAgent {
|
|
|
11
11
|
* @param prompt 用户输入
|
|
12
12
|
* @param chatOptions 选项,包括 streamFormat: 'delta' | 'content'
|
|
13
13
|
*/
|
|
14
|
-
chat(prompt: string, chatOptions?: ChatOptions): AsyncGenerator<import("@anthropic-ai/claude-agent-sdk").SDKUserMessage | import("@anthropic-ai/claude-agent-sdk").SDKAssistantMessage | import("@anthropic-ai/claude-agent-sdk").SDKResultSuccess | import("@anthropic-ai/claude-agent-sdk").SDKResultError | import("@anthropic-ai/claude-agent-sdk").SDKSystemMessage | import("@anthropic-ai/claude-agent-sdk").SDKPartialAssistantMessage | import("@anthropic-ai/claude-agent-sdk").SDKCompactBoundaryMessage | import("@anthropic-ai/claude-agent-sdk").SDKStatusMessage | import("@anthropic-ai/claude-agent-sdk").SDKLocalCommandOutputMessage | import("@anthropic-ai/claude-agent-sdk").SDKHookStartedMessage | import("@anthropic-ai/claude-agent-sdk").SDKHookProgressMessage | import("@anthropic-ai/claude-agent-sdk").SDKHookResponseMessage | import("@anthropic-ai/claude-agent-sdk").SDKToolProgressMessage | import("@anthropic-ai/claude-agent-sdk").SDKAuthStatusMessage | import("@anthropic-ai/claude-agent-sdk").SDKTaskNotificationMessage | import("@anthropic-ai/claude-agent-sdk").SDKTaskStartedMessage | import("@anthropic-ai/claude-agent-sdk").SDKTaskProgressMessage | import("@anthropic-ai/claude-agent-sdk").SDKFilesPersistedEvent | import("@anthropic-ai/claude-agent-sdk").SDKToolUseSummaryMessage | import("@anthropic-ai/claude-agent-sdk").SDKRateLimitEvent | import("@anthropic-ai/claude-agent-sdk").SDKElicitationCompleteMessage | import("@anthropic-ai/claude-agent-sdk").SDKPromptSuggestionMessage | {
|
|
14
|
+
chat(prompt: string, chatOptions?: ChatOptions): AsyncGenerator<import("@anthropic-ai/claude-agent-sdk").SDKUserMessage | import("@anthropic-ai/claude-agent-sdk").SDKAssistantMessage | import("@anthropic-ai/claude-agent-sdk").SDKResultSuccess | import("@anthropic-ai/claude-agent-sdk").SDKResultError | import("@anthropic-ai/claude-agent-sdk").SDKSystemMessage | import("@anthropic-ai/claude-agent-sdk").SDKPartialAssistantMessage | import("@anthropic-ai/claude-agent-sdk").SDKCompactBoundaryMessage | import("@anthropic-ai/claude-agent-sdk").SDKStatusMessage | import("@anthropic-ai/claude-agent-sdk").SDKAPIRetryMessage | import("@anthropic-ai/claude-agent-sdk").SDKLocalCommandOutputMessage | import("@anthropic-ai/claude-agent-sdk").SDKHookStartedMessage | import("@anthropic-ai/claude-agent-sdk").SDKHookProgressMessage | import("@anthropic-ai/claude-agent-sdk").SDKHookResponseMessage | import("@anthropic-ai/claude-agent-sdk").SDKToolProgressMessage | import("@anthropic-ai/claude-agent-sdk").SDKAuthStatusMessage | import("@anthropic-ai/claude-agent-sdk").SDKTaskNotificationMessage | import("@anthropic-ai/claude-agent-sdk").SDKTaskStartedMessage | import("@anthropic-ai/claude-agent-sdk").SDKTaskProgressMessage | import("@anthropic-ai/claude-agent-sdk").SDKFilesPersistedEvent | import("@anthropic-ai/claude-agent-sdk").SDKToolUseSummaryMessage | import("@anthropic-ai/claude-agent-sdk").SDKRateLimitEvent | import("@anthropic-ai/claude-agent-sdk").SDKElicitationCompleteMessage | import("@anthropic-ai/claude-agent-sdk").SDKPromptSuggestionMessage | {
|
|
15
15
|
type: "text_delta";
|
|
16
16
|
delta: {
|
|
17
17
|
text: string;
|
|
@@ -35,7 +35,7 @@ export function getSystemPrompt() {
|
|
|
35
35
|
- **collection** - 商品集合管理(分组、促销专区)
|
|
36
36
|
- **homepage** - 店铺首页配置(Banner、集合展示)
|
|
37
37
|
- **product-page** - 商品详情页配置
|
|
38
|
-
- **
|
|
38
|
+
- **gen** - 图像/视频/语音生成
|
|
39
39
|
- **markdown-pdf** - Markdown 转 PDF(文档导出、报告生成)
|
|
40
40
|
- **ffmpeg** - 音视频处理(格式转换、压缩、提取音频)
|
|
41
41
|
- **ads** - Google Ads 广告投放
|
|
@@ -51,7 +51,7 @@ export function getSystemPrompt() {
|
|
|
51
51
|
示例:
|
|
52
52
|
- 用户:"查看我的店铺信息" - 使用 Skill 工具加载 "merchant"
|
|
53
53
|
- 用户:"帮我创建一个商品" - 使用 Skill 工具加载 "product"
|
|
54
|
-
- 用户:"生成一张产品图片" - 使用 Skill 工具加载 "
|
|
54
|
+
- 用户:"生成一张产品图片" - 使用 Skill 工具加载 "gen"
|
|
55
55
|
- 用户:"包裹到哪了" / "查物流" - 使用 Skill 工具加载 "order"
|
|
56
56
|
- 用户:"连接我的 Shopify 店铺" / "看看 Shopify 商品" - 使用 Skill 工具加载 "shopify"
|
|
57
57
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optima-chat/optima-agent",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.38",
|
|
4
4
|
"description": "基于 Claude Agent SDK 的电商运营 AI 助手",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"optima": "./dist/bin/optima.js",
|
|
10
10
|
"commerce": "./dist/bin/commerce.js",
|
|
11
11
|
"bi-cli": "./dist/bin/bi-cli.js",
|
|
12
|
-
"
|
|
12
|
+
"gen": "./dist/bin/gen.js",
|
|
13
13
|
"google-ads": "./dist/bin/google-ads.js",
|
|
14
14
|
"scout": "./dist/bin/scout.js",
|
|
15
15
|
"sentinel": "./dist/bin/sentinel.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@anthropic-ai/claude-agent-sdk": "^0.2.63",
|
|
49
49
|
"@optima-chat/ads-cli": "latest",
|
|
50
50
|
"@optima-chat/bi-cli": "latest",
|
|
51
|
-
"@optima-chat/
|
|
51
|
+
"@optima-chat/gen-cli": "latest",
|
|
52
52
|
"@optima-chat/commerce-cli": "latest",
|
|
53
53
|
"@optima-chat/scout-cli": "latest",
|
|
54
54
|
"@optima-chat/sentinel-cli": "latest",
|