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 / host-ask.ts
GitHub Actions (publish-mods)chore: Update mods/ bf2323b · 10 days ago History
11 lines · 313 BRaw
1import type { EventResult } from 'claude-code'
2
3/**
4 * The engine's verdict in a hosted session when nothing allows or denies
5 * the call: the mode's own ask, which the host answers.
6 */
7export const HOST_ASK: EventResult<'tool.check'> = {
8 decision: 'ask',
9 reason: 'Bash needs approval',
10 decider: 'host',
11}