Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
TypeScript
import type { EventResult } from 'claude-code'
/**
* The engine's verdict when an ask rule in some settings file matched the
* call: the ask, its sentence, and the rule as written.
*/
export const RULE_ASK: EventResult<'tool.check'> = {
decision: 'ask',
reason: 'Claude requested permissions to use Bash.',
rule: 'Bash(echo *)',
}