spacehub

surshar / claude-code

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.

Built by Anthropic · github.com/anthropics

claude-code / mods / sec-default / tests / fixtures / tool-check / asked.ts
9 lines · 229 BRaw
1import type { EventResult } from 'claude-code'
2
3/**
4 * The engine's verdict when nothing allows or denies the call: ask.
5 */
6export const ASKED: EventResult<'tool.check'> = {
7 decision: 'ask',
8 reason: 'Bash needs approval',
9}