@@ -242,6 +242,7 @@ function buildSkillStatus(
|
242 | 242 | config?: OpenClawConfig, |
243 | 243 | prefs?: SkillsInstallPreferences, |
244 | 244 | eligibility?: SkillEligibilityContext, |
| 245 | +allowBundled?: string[], |
245 | 246 | agentSkillFilter?: string[], |
246 | 247 | workspaceDir?: string, |
247 | 248 | clawhubLockRead?: ClawHubSkillsLockfileStatusRead, |
@@ -250,7 +251,6 @@ function buildSkillStatus(
|
250 | 251 | const skillKey = indexed.skillKey; |
251 | 252 | const skillConfig = resolveSkillConfig(config, skillKey); |
252 | 253 | const disabled = skillConfig?.enabled === false; |
253 | | -const allowBundled = resolveBundledAllowlist(config); |
254 | 254 | const blockedByAllowlist = !isBundledSkillAllowed(entry, allowBundled); |
255 | 255 | const blockedByAgentFilter = agentSkillFilter !== undefined && !indexed.agentAllowed; |
256 | 256 | const always = entry.metadata?.always === true; |
@@ -339,6 +339,7 @@ export function buildWorkspaceSkillStatus(
|
339 | 339 | bundledSkillsDir: bundledContext.dir, |
340 | 340 | }); |
341 | 341 | const prefs = resolveSkillsInstallPreferences(opts?.config); |
| 342 | +const allowBundled = resolveBundledAllowlist(opts?.config); |
342 | 343 | const clawhubLockRead = readClawHubSkillsLockfileStatusSync(workspaceDir); |
343 | 344 | const skillIndexEntries = buildSkillIndexEntries(skillEntries, { |
344 | 345 | bundledNames: bundledContext.names, |
@@ -355,6 +356,7 @@ export function buildWorkspaceSkillStatus(
|
355 | 356 | opts?.config, |
356 | 357 | prefs, |
357 | 358 | opts?.eligibility, |
| 359 | +allowBundled, |
358 | 360 | agentSkillFilter, |
359 | 361 | workspaceDir, |
360 | 362 | clawhubLockRead, |
|