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
import type { StampedVerdict } from './stamped-verdict.js'
/**
* The plugin the engine names on a `tool.check` ask, as the hook that made it.
*
* The released declarations this mod is checked against name neither this key
* nor `e.approver` until the next release, so it reads the shape it needs.
*
* @param verdict a verdict
* @returns the plugin, or undefined on an ask no hook made
*/
export const pluginOf = (verdict: StampedVerdict): string | undefined =>
verdict.plugin