@pikecode/api-key-manager 1.0.24 → 1.0.25
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/package.json +1 -1
- package/src/commands/add.js +5 -11
- package/src/commands/switch.js +8 -12
package/package.json
CHANGED
package/src/commands/add.js
CHANGED
|
@@ -625,25 +625,19 @@ class ProviderAdder extends BaseCommand {
|
|
|
625
625
|
{
|
|
626
626
|
name: '--full-auto',
|
|
627
627
|
label: '全自动模式',
|
|
628
|
-
description: '
|
|
628
|
+
description: '自动批准 + 工作区写入沙盒 (与跳过沙盒互斥)',
|
|
629
629
|
checked: false
|
|
630
630
|
},
|
|
631
631
|
{
|
|
632
632
|
name: '--dangerously-bypass-approvals-and-sandbox',
|
|
633
633
|
label: '跳过审批和沙盒',
|
|
634
|
-
description: '危险:跳过所有安全检查',
|
|
634
|
+
description: '危险:跳过所有安全检查 (与全自动互斥)',
|
|
635
635
|
checked: false
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
|
-
name: '--
|
|
639
|
-
label: '
|
|
640
|
-
description: '
|
|
641
|
-
checked: false
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
name: '--quiet',
|
|
645
|
-
label: '静默模式',
|
|
646
|
-
description: '减少输出信息',
|
|
638
|
+
name: '--search',
|
|
639
|
+
label: '启用网页搜索',
|
|
640
|
+
description: '允许模型搜索网页',
|
|
647
641
|
checked: false
|
|
648
642
|
}
|
|
649
643
|
];
|
package/src/commands/switch.js
CHANGED
|
@@ -276,28 +276,24 @@ class EnvSwitcher extends BaseCommand {
|
|
|
276
276
|
|
|
277
277
|
getCodexLaunchArgs() {
|
|
278
278
|
return [
|
|
279
|
-
{
|
|
280
|
-
name: '--continue',
|
|
281
|
-
label: '继续上次对话',
|
|
282
|
-
description: '恢复上次的对话记录',
|
|
283
|
-
checked: false
|
|
284
|
-
},
|
|
285
279
|
{
|
|
286
280
|
name: '--full-auto',
|
|
287
281
|
label: '全自动模式',
|
|
288
|
-
description: '
|
|
289
|
-
checked: false
|
|
282
|
+
description: '自动批准 + 工作区写入沙盒',
|
|
283
|
+
checked: false,
|
|
284
|
+
exclusive: ['--dangerously-bypass-approvals-and-sandbox']
|
|
290
285
|
},
|
|
291
286
|
{
|
|
292
287
|
name: '--dangerously-bypass-approvals-and-sandbox',
|
|
293
288
|
label: '跳过审批和沙盒',
|
|
294
289
|
description: '危险:跳过所有安全检查',
|
|
295
|
-
checked: false
|
|
290
|
+
checked: false,
|
|
291
|
+
exclusive: ['--full-auto']
|
|
296
292
|
},
|
|
297
293
|
{
|
|
298
|
-
name: '--
|
|
299
|
-
label: '
|
|
300
|
-
description: '
|
|
294
|
+
name: '--search',
|
|
295
|
+
label: '启用网页搜索',
|
|
296
|
+
description: '允许模型搜索网页',
|
|
301
297
|
checked: false
|
|
302
298
|
}
|
|
303
299
|
];
|