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 / capped-allowed.ts
10 lines · 306 BRaw
1import type { EventResult } from 'claude-code'
2
3/**
4 * An auto-approve plugin's allow as the chain hands it up for a call of a
5 * tool under an organization's ask ceiling: the engine names the ceiling.
6 */
7export const CAPPED_ALLOWED: EventResult<'tool.check'> = {
8 decision: 'allow',
9 ceiling: 'ask',
10}