skillfree 0.1.62 → 0.1.63
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.
- package/bin/skillfree.js +17 -9
- package/package.json +1 -1
package/bin/skillfree.js
CHANGED
|
@@ -36,15 +36,23 @@ auth
|
|
|
36
36
|
// ── pilot ─────────────────────────────────────────────────────────────────────
|
|
37
37
|
program
|
|
38
38
|
.command('pilot')
|
|
39
|
-
.description('AI 智能调度:chat | image | video | ocr | presentation')
|
|
40
|
-
.option('--type <type>',
|
|
41
|
-
.option('--prompt <text>',
|
|
42
|
-
.option('--file <path>',
|
|
43
|
-
.option('--output <path>',
|
|
44
|
-
.option('--model <model>',
|
|
45
|
-
.option('--size <size>',
|
|
46
|
-
.option('--seconds <sec>',
|
|
47
|
-
.option('--language <lang>',
|
|
39
|
+
.description('AI 智能调度:chat | image | video | ocr | presentation | pharma')
|
|
40
|
+
.option('--type <type>', '调用类型: chat | image | video | ocr | presentation | pharma', 'chat')
|
|
41
|
+
.option('--prompt <text>', '输入提示词')
|
|
42
|
+
.option('--file <path>', '输入文件路径(ocr 用)')
|
|
43
|
+
.option('--output <path>', '输出文件路径')
|
|
44
|
+
.option('--model <model>', '指定模型(可选,不填自动选最优)')
|
|
45
|
+
.option('--size <size>', '图像尺寸 或 视频分辨率(默认 1024x1024 / 1920x1080)')
|
|
46
|
+
.option('--seconds <sec>', '视频时长:4 | 6 | 8(默认 8)', '8')
|
|
47
|
+
.option('--language <lang>', '演示文稿语言(默认 zh-cn)', 'zh-cn')
|
|
48
|
+
.option('--target <target>', '医药查询:靶点(如 STAT6、PD-1)')
|
|
49
|
+
.option('--drug <name>', '医药查询:药品名称')
|
|
50
|
+
.option('--indication <ind>', '医药查询:适应症(如 哮喘、特应性皮炎)')
|
|
51
|
+
.option('--company <company>', '医药查询:研发企业')
|
|
52
|
+
.option('--status <status>', '医药查询:研发阶段(如 Ⅱ期临床、批准上市)')
|
|
53
|
+
.option('--sponsor <sponsor>', '医药查询:申办单位(临床试验用)')
|
|
54
|
+
.option('--keyid <keyid>', '医药查询:药物 keyid(drug-detail 用)')
|
|
55
|
+
.option('--page <page>', '医药查询:页码', '1')
|
|
48
56
|
.action(async (flags) => {
|
|
49
57
|
const { pilot } = require('../scripts/commands/pilot')
|
|
50
58
|
await pilot(flags).catch(e => { console.error('❌', e.message); process.exit(1) })
|