Documentation
¶
Overview ¶
Package claudecode provides a harness.Provider implementation for the Claude Code CLI agent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a Claude Code harness.Provider for the given model.
Claude Code expects bare Claude model IDs (for example "claude-sonnet-4-6"), but callers may provide Anthropic model IDs in the provider/model form used by other CLIs (for example "anthropic/claude-sonnet-4-6"). The anthropic/ prefix is stripped before invoking the Claude Code CLI.
Types ¶
type Event ¶
Event is an alias for harness.Event so callers importing only this package still have access to the type.
Click to show internal directories.
Click to hide internal directories.