/**
 * Shim for bun:bundle module.
 *
 * When running via tsx (not Bun), feature() returns true only for flags
 * whose implementations exist in this fork. Anthropic-internal features
 * (daemon, bridge, kairos, etc.) remain disabled.
 */
const ENABLED_FEATURES = new Set([
  'TOKEN_BUDGET',
  'DUMP_SYSTEM_PROMPT',
  'HOOK_PROMPTS',
  'FORGE',
])

export function feature(name) {
  return ENABLED_FEATURES.has(name)
}
