fix(ci): hide configured workspace setup candidates · openclaw/openclaw@5edfbca
steipete
·
2026-04-26
·
via Recent Commits to openclaw:main
File tree
src/commands/channel-setup
| Original file line number | Diff line number | Diff line change |
|---|
@@ -5,6 +5,7 @@ import { isChannelVisibleInSetup } from "../../channels/plugins/exposure.js";
|
5 | 5 | import { normalizeChannelMeta } from "../../channels/plugins/meta-normalization.js"; |
6 | 6 | import type { ChannelPlugin } from "../../channels/plugins/types.plugin.js"; |
7 | 7 | import type { ChannelMeta } from "../../channels/plugins/types.public.js"; |
| 8 | +import { isStaticallyChannelConfigured } from "../../config/channel-configured-shared.js"; |
8 | 9 | import { applyPluginAutoEnable } from "../../config/plugin-auto-enable.js"; |
9 | 10 | import type { OpenClawConfig } from "../../config/types.openclaw.js"; |
10 | 11 | import { |
@@ -113,6 +114,7 @@ export function resolveChannelSetupEntries(params: {
|
113 | 114 | (entry) => |
114 | 115 | !installedPluginIds.has(entry.id) && |
115 | 116 | !manifestInstalledIds.has(entry.id as ChannelChoice) && |
| 117 | +!isStaticallyChannelConfigured(params.cfg, entry.id, params.env ?? process.env) && |
116 | 118 | shouldShowChannelInSetup(entry.meta), |
117 | 119 | ) |
118 | 120 | .map((entry) => |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。