source dump of claude code
at main 12 lines 547 B view raw
1export const AGENT_TOOL_NAME = 'Agent' 2// Legacy wire name for backward compat (permission rules, hooks, resumed sessions) 3export const LEGACY_AGENT_TOOL_NAME = 'Task' 4export const VERIFICATION_AGENT_TYPE = 'verification' 5 6// Built-in agents that run once and return a report — the parent never 7// SendMessages back to continue them. Skip the agentId/SendMessage/usage 8// trailer for these to save tokens (~135 chars × 34M Explore runs/week). 9export const ONE_SHOT_BUILTIN_AGENT_TYPES: ReadonlySet<string> = new Set([ 10 'Explore', 11 'Plan', 12])