openclawapi 1.3.2 → 1.3.4
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/cli.js +3 -5
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -15,9 +15,7 @@ const ENDPOINTS = [
|
|
|
15
15
|
{ name: '国内节点2', url: 'https://yunyi.skem.cn' },
|
|
16
16
|
{ name: 'CF国外节点1', url: 'https://yunyi.cfd' },
|
|
17
17
|
{ name: 'CF国外节点2', url: 'https://cdn1.yunyi.cfd' },
|
|
18
|
-
{ name: 'CF国外节点3', url: 'https://cdn2.yunyi.cfd' }
|
|
19
|
-
{ name: '备用节点1', url: 'http://47.99.42.193' },
|
|
20
|
-
{ name: '备用节点2', url: 'http://47.97.100.10' }
|
|
18
|
+
{ name: 'CF国外节点3', url: 'https://cdn2.yunyi.cfd' }
|
|
21
19
|
];
|
|
22
20
|
|
|
23
21
|
// Claude 模型预设
|
|
@@ -184,13 +182,13 @@ async function main() {
|
|
|
184
182
|
type: 'list',
|
|
185
183
|
name: 'action',
|
|
186
184
|
message: '请选择操作:',
|
|
185
|
+
pageSize: 10,
|
|
186
|
+
loop: false,
|
|
187
187
|
choices: [
|
|
188
188
|
{ name: '🔵 选择 Claude 节点', value: 'select_claude' },
|
|
189
189
|
{ name: '🟢 选择 Codex 节点', value: 'select_codex' },
|
|
190
|
-
new inquirer.Separator(),
|
|
191
190
|
{ name: '⚡ 激活 Claude', value: 'activate_claude' },
|
|
192
191
|
{ name: '⚡ 激活 Codex', value: 'activate_codex' },
|
|
193
|
-
new inquirer.Separator(),
|
|
194
192
|
{ name: '📋 查看当前配置', value: 'view_config' },
|
|
195
193
|
{ name: '🔄 恢复默认配置', value: 'restore' },
|
|
196
194
|
{ name: '❌ 退出', value: 'exit' }
|