fogact 1.1.9 → 1.1.10

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.
@@ -8,15 +8,15 @@
8
8
  href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z'%3E%3C/path%3E%3C/svg%3E"
9
9
  />
10
10
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
11
- <title>FogAct 用户中心 | 用量与配额监控</title>
12
- <meta name="description" content="FogAct 用户中心用于查看 API 用量、配额状态、公告和个人配置。" />
11
+ <title>CLIProxy - API 使用监控</title>
12
+ <meta name="description" content="CLIProxy API 使用量监控平台" />
13
13
  <link rel="preconnect" href="https://fonts.googleapis.com" />
14
14
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
15
15
  <link href="https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
16
16
  <script>
17
17
  // 阻塞式主题初始化 — 防止 FOUC + 设置内联背景色
18
18
  ;(function () {
19
- var t = localStorage.getItem('fogact_theme') || 'system'
19
+ var t = localStorage.getItem('yunyi_user_theme') || 'system'
20
20
  var d = t === 'dark' || (t === 'system' && matchMedia('(prefers-color-scheme: dark)').matches)
21
21
  var el = document.documentElement
22
22
  if (d) {
@@ -31,7 +31,7 @@
31
31
  <script type="module" crossorigin src="assets/index-Da98HOxL.js"></script>
32
32
  <link rel="modulepreload" crossorigin href="assets/chart-vendor-CULJE59K.js">
33
33
  <link rel="stylesheet" crossorigin href="assets/index-B8QSyYhS.css">
34
- <link rel="stylesheet" href="/assets/market-ui.css?v=20260619-theme1" />
34
+ <link rel="stylesheet" href="/assets/market-ui.css?v=20260616-upstream2" />
35
35
  </head>
36
36
  <body class="market-user min-h-screen">
37
37
  <span class="market-mouse-light" aria-hidden="true"></span>
@@ -428,31 +428,7 @@ async function selectPlatforms(detectedPlatforms, options = {}) {
428
428
  if (options.platforms) {
429
429
  return getActivationTargets(detectedPlatforms, false, options.platforms);
430
430
  }
431
- if (options.yes || options.auto) {
432
- return getActivationTargets(detectedPlatforms, Boolean(options.all));
433
- }
434
-
435
- const choices = detectedPlatforms.map(({ platform, detection }) => {
436
- const selectable = canSelectPlatform(platform, detection);
437
- return {
438
- title: `${platform.name}(${getStatusLabel(platform, detection)})`,
439
- value: platform.id,
440
- selected: platform.required || detection.installed,
441
- disabled: selectable ? false : "未安装,无法自动配置",
442
- };
443
- });
444
-
445
- const response = await prompts({
446
- type: "multiselect",
447
- name: "platformIds",
448
- message: "请选择要激活的平台",
449
- choices,
450
- min: 1,
451
- hint: "空格选择,回车确认",
452
- }, { onCancel: () => false });
453
-
454
- const selectedIds = response.platformIds || [];
455
- return getActivationTargets(detectedPlatforms, false, selectedIds);
431
+ return getActivationTargets(detectedPlatforms, Boolean(options.all));
456
432
  }
457
433
 
458
434
  async function resolveCodeCredential(options, upstream) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fogact",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "FogAct activation helper for Claude Code and Codex",
5
5
  "keywords": [
6
6
  "fogact",