Skip to content

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
330 B
Raw Blame
import type { Args } from 'claude-code'

/**
 * A settings hook's additional context, as the engine is about to hand it to
 * the model.
 */
export const HOOK_NOTE: Args<'prompt.attachment'> = {
  type: 'hook_additional_context',
  text: 'the org hook says: never push to main',
  origin: { kind: 'hook', event: 'PreToolUse' },
}