@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.
- package/lib/cmds.mjs +2 -1
- 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:
|
|
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)
|