@2api-store/activate 0.4.3 → 0.4.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.
Files changed (2) hide show
  1. package/lib/cmds.mjs +2 -1
  2. package/package.json +1 -1
package/lib/cmds.mjs CHANGED
@@ -529,10 +529,11 @@ async function cmdReconfig(argv) {
529
529
  return 1
530
530
  }
531
531
 
532
- // reconfig: 全选所有配置,不问 CLI 选择
532
+ // reconfig: 全选主 CLI 配置(跳过独立 CLI 如 opencode)
533
533
  const seen = new Set()
534
534
  const selectedItems = []
535
535
  for (const c of osConfigs) {
536
+ if (!isDefaultSelected(c.client_type)) continue
536
537
  const key = `${c.platform}/${c.client_type}`
537
538
  if (seen.has(key)) continue
538
539
  seen.add(key)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2api-store/activate",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "TokenShop CLI 一键激活:配置本地 codex/claude/gemini/grok/opencode 指向 2api.store 中转(彩色输出 + 自动安装 CLI)",
5
5
  "type": "module",
6
6
  "bin": {