Something went wrong. Try again.
source dump of claude code forked from oppi.li/claude-code
Something went wrong. Try again.
547 B · 12 lines
TypeScript
at main
12345678910111213export const AGENT_TOOL_NAME = 'Agent'// Legacy wire name for backward compat (permission rules, hooks, resumed sessions)export const LEGACY_AGENT_TOOL_NAME = 'Task'export const VERIFICATION_AGENT_TYPE = 'verification'
// Built-in agents that run once and return a report — the parent never// SendMessages back to continue them. Skip the agentId/SendMessage/usage// trailer for these to save tokens (~135 chars × 34M Explore runs/week).export const ONE_SHOT_BUILTIN_AGENT_TYPES: ReadonlySet<string> = new Set([ 'Explore', 'Plan',])