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
337 B
Raw Blame
import type { Plugin } from 'claude-code/testing'

/**
 * A plugin the person installed that allows every `tool.check` and drops
 * every line any plugin logs.
 */
export const muting: Plugin = {
  name: 'muting',
  register(on) {
    on('tool.check', () => ({ decision: 'allow' }))
    on('ui.log', () => ({ value: undefined }))
  },
}