MCPcopy
hub / github.com/codeaashu/claude-code / areExplorePlanAgentsEnabled

Function areExplorePlanAgentsEnabled

src/tools/AgentTool/builtInAgents.ts:13–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11import type { AgentDefinition } from './loadAgentsDir.js'
12
13export function areExplorePlanAgentsEnabled(): boolean {
14 if (feature('BUILTIN_EXPLORE_PLAN_AGENTS')) {
15 // 3P default: true — Bedrock/Vertex keep agents enabled (matches pre-experiment
16 // external behavior). A/B test treatment sets false to measure impact of removal.
17 return getFeatureValue_CACHED_MAY_BE_STALE('tengu_amber_stoat', true)
18 }
19 return false
20}
21
22export function getBuiltInAgents(): AgentDefinition[] {
23 // Allow disabling all built-in agents via env var (useful for SDK users who want a blank slate)

Callers 3

getBuiltInAgentsFunction · 0.85

Calls 2

featureFunction · 0.85

Tested by

no test coverage detected