mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-17 05:45:51 +00:00
13 lines
412 B
TypeScript
13 lines
412 B
TypeScript
import { feature } from 'bun:bundle'
|
|
|
|
export function isSkillLearningEnabled(): boolean {
|
|
if (process.env.SKILL_LEARNING_ENABLED === '0') return false
|
|
if (process.env.SKILL_LEARNING_ENABLED === '1') return true
|
|
if (process.env.FEATURE_SKILL_LEARNING === '0') return false
|
|
if (process.env.FEATURE_SKILL_LEARNING === '1') return true
|
|
if (feature('SKILL_LEARNING')) {
|
|
return true
|
|
}
|
|
return false
|
|
}
|