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
434 B
Raw Blame
import type { AgentOfferInput, Origin } from 'claude-code'

/**
 * An agent type's offer as the engine asks for it, pinned to who provides
 * the agent.
 *
 * @param agent the agent type
 * @param provider who provides it, as the engine pinned it
 * @returns the `agent.offer` input
 */
export const agentOffered = (
  agent: string,
  provider: Origin,
): AgentOfferInput => ({ agent, description: 'd', source: 'plugin', provider })