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 / ceiling-allow.ts
GitHub Actions (publish-mods)chore: Update mods/ 3deb873 · 13 days ago History
10 lines · 286 BRaw
1import type { EventResult } from 'claude-code'
2
3/**
4 * What a plugin's allow reads as for a call an organization caps at ask:
5 * the allow, under the ceiling the engine stamps on it.
6 */
7export const CEILING_ALLOW: EventResult<'tool.check'> = {
8 decision: 'allow',
9 ceiling: 'ask',
10}