srpllm 1.2.2 → 1.2.3
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/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import cac from 'cac';
|
|
3
3
|
import ansis from 'ansis';
|
|
4
|
-
import { i as init, u as uninstall, O as version } from './shared/srpllm.
|
|
4
|
+
import { i as init, u as uninstall, O as version } from './shared/srpllm.DCK4YkNq.mjs';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:os';
|
|
7
7
|
import 'node:process';
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CLAUDE_DIR, b as CLAUDE_SETTINGS_FILE, f as CODEX_AUTH_FILE, e as CODEX_CONFIG_FILE, d as CODEX_DIR, j as CODE_TOOL_ALIASES, k as CODE_TOOL_LABELS, h as CODE_TOOL_TYPES, D as DEFAULT_CODE_TOOL_TYPE, M as MODEL_PREFIX, n as RELAY_PROVIDER_ID, R as RELAY_TOOL_TYPES, L as buildModelsChoices, s as clearClaudeApiConfig, y as clearCodexApiConfig, c as commandExists, B as detectInstalledVersion, t as displayClaudeConfig, z as displayCodexConfig, o as ensureClaudeDir, K as fetchModels, N as filterByPrefix, q as getExistingClaudeApiConfig, v as getExistingCodexConfig, g as getPlatform, i as init, F as installTool, m as isCliTool, l as isCodeToolType, A as isToolInstalled, a as isWindows, p as readClaudeSettings, H as readLocalConfig, r as resolveCodeToolType, E as selectInstallMethod, u as uninstall, G as uninstallTool, J as updateLocalConfig, w as writeClaudeApiConfig, x as writeCodexApiConfig, I as writeLocalConfig } from './shared/srpllm.
|
|
1
|
+
export { C as CLAUDE_DIR, b as CLAUDE_SETTINGS_FILE, f as CODEX_AUTH_FILE, e as CODEX_CONFIG_FILE, d as CODEX_DIR, j as CODE_TOOL_ALIASES, k as CODE_TOOL_LABELS, h as CODE_TOOL_TYPES, D as DEFAULT_CODE_TOOL_TYPE, M as MODEL_PREFIX, n as RELAY_PROVIDER_ID, R as RELAY_TOOL_TYPES, L as buildModelsChoices, s as clearClaudeApiConfig, y as clearCodexApiConfig, c as commandExists, B as detectInstalledVersion, t as displayClaudeConfig, z as displayCodexConfig, o as ensureClaudeDir, K as fetchModels, N as filterByPrefix, q as getExistingClaudeApiConfig, v as getExistingCodexConfig, g as getPlatform, i as init, F as installTool, m as isCliTool, l as isCodeToolType, A as isToolInstalled, a as isWindows, p as readClaudeSettings, H as readLocalConfig, r as resolveCodeToolType, E as selectInstallMethod, u as uninstall, G as uninstallTool, J as updateLocalConfig, w as writeClaudeApiConfig, x as writeCodexApiConfig, I as writeLocalConfig } from './shared/srpllm.DCK4YkNq.mjs';
|
|
2
2
|
import 'node:fs';
|
|
3
3
|
import 'node:os';
|
|
4
4
|
import 'node:process';
|
|
@@ -568,7 +568,7 @@ function filterByPrefix(models, prefix) {
|
|
|
568
568
|
return models.filter((m) => m.id.toLowerCase().startsWith(p));
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
const version = "1.2.
|
|
571
|
+
const version = "1.2.3";
|
|
572
572
|
|
|
573
573
|
function displayBanner(codeTool) {
|
|
574
574
|
const tool = codeTool ? ` ${ansis.gray(`\xB7 ${CODE_TOOL_LABELS[codeTool]}`)}` : "";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "srpllm",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.3",
|
|
5
5
|
"packageManager": "pnpm@10.17.1",
|
|
6
6
|
"description": "SrP-LLM 中转站客户端一键配置工具:安装 Claude Code / Codex 并引导填写 base_url、api_token 与模型",
|
|
7
7
|
"author": {
|
|
@@ -45,21 +45,21 @@
|
|
|
45
45
|
"lint:fix": "eslint --fix"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"ansis": "
|
|
49
|
-
"cac": "
|
|
50
|
-
"inquirer": "
|
|
51
|
-
"ora": "
|
|
52
|
-
"pathe": "
|
|
53
|
-
"tinyexec": "
|
|
48
|
+
"ansis": "^4.1.0",
|
|
49
|
+
"cac": "^6.7.14",
|
|
50
|
+
"inquirer": "^12.9.6",
|
|
51
|
+
"ora": "^9.0.0",
|
|
52
|
+
"pathe": "^2.0.3",
|
|
53
|
+
"tinyexec": "^1.0.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@antfu/eslint-config": "
|
|
57
|
-
"@types/inquirer": "
|
|
58
|
-
"@types/node": "
|
|
59
|
-
"eslint": "
|
|
60
|
-
"eslint-plugin-format": "
|
|
61
|
-
"tsx": "
|
|
62
|
-
"typescript": "
|
|
63
|
-
"unbuild": "
|
|
56
|
+
"@antfu/eslint-config": "^5.4.1",
|
|
57
|
+
"@types/inquirer": "^9.0.9",
|
|
58
|
+
"@types/node": "^22.18.6",
|
|
59
|
+
"eslint": "^9.36.0",
|
|
60
|
+
"eslint-plugin-format": "^1.0.2",
|
|
61
|
+
"tsx": "^4.20.5",
|
|
62
|
+
"typescript": "^5.9.2",
|
|
63
|
+
"unbuild": "^3.6.1"
|
|
64
64
|
}
|
|
65
65
|
}
|