srpllm 1.2.1 → 1.2.2

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.BfKOtWGn.mjs';
4
+ import { i as init, u as uninstall, O as version } from './shared/srpllm.DULEAbvf.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.BfKOtWGn.mjs';
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.DULEAbvf.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.1";
571
+ const version = "1.2.2";
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.1",
4
+ "version": "1.2.2",
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": "catalog:cli",
49
- "cac": "catalog:cli",
50
- "inquirer": "catalog:cli",
51
- "ora": "catalog:cli",
52
- "pathe": "catalog:runtime",
53
- "tinyexec": "catalog:runtime"
48
+ "ansis": "catalog:",
49
+ "cac": "catalog:",
50
+ "inquirer": "catalog:",
51
+ "ora": "catalog:",
52
+ "pathe": "catalog:",
53
+ "tinyexec": "catalog:"
54
54
  },
55
55
  "devDependencies": {
56
- "@antfu/eslint-config": "catalog:build",
57
- "@types/inquirer": "catalog:types",
58
- "@types/node": "catalog:types",
59
- "eslint": "catalog:build",
60
- "eslint-plugin-format": "catalog:build",
61
- "tsx": "catalog:build",
62
- "typescript": "catalog:build",
63
- "unbuild": "catalog:build"
56
+ "@antfu/eslint-config": "catalog:",
57
+ "@types/inquirer": "catalog:",
58
+ "@types/node": "catalog:",
59
+ "eslint": "catalog:",
60
+ "eslint-plugin-format": "catalog:",
61
+ "tsx": "catalog:",
62
+ "typescript": "catalog:",
63
+ "unbuild": "catalog:"
64
64
  }
65
65
  }