Documentation
¶
Overview ¶
Package claude provides an Executor implementation for Claude Code CLI.
Index ¶
- func Register()
- type ClaudeExecutor
- func (e *ClaudeExecutor) Capabilities() []executor.Capability
- func (e *ClaudeExecutor) Close() error
- func (e *ClaudeExecutor) CostModel() *executor.CostModel
- func (e *ClaudeExecutor) Execute(ctx context.Context, task *executor.Task) (*executor.Result, error)
- func (e *ClaudeExecutor) ExecuteStreaming(ctx context.Context, task *executor.Task, handler executor.EventHandler) (*executor.Result, error)
- func (e *ClaudeExecutor) HealthCheck(ctx context.Context) error
- func (e *ClaudeExecutor) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClaudeExecutor ¶
type ClaudeExecutor struct {
// contains filtered or unexported fields
}
ClaudeExecutor executes tasks using Claude Code CLI
func (*ClaudeExecutor) Capabilities ¶
func (e *ClaudeExecutor) Capabilities() []executor.Capability
Capabilities returns the list of features this executor supports
func (*ClaudeExecutor) Close ¶
func (e *ClaudeExecutor) Close() error
Close releases any resources held by the executor
func (*ClaudeExecutor) CostModel ¶
func (e *ClaudeExecutor) CostModel() *executor.CostModel
CostModel returns pricing information for cost calculations
func (*ClaudeExecutor) Execute ¶
func (e *ClaudeExecutor) Execute(ctx context.Context, task *executor.Task) (*executor.Result, error)
Execute runs a task and returns the result
func (*ClaudeExecutor) ExecuteStreaming ¶
func (e *ClaudeExecutor) ExecuteStreaming(ctx context.Context, task *executor.Task, handler executor.EventHandler) (*executor.Result, error)
ExecuteStreaming runs a task with real-time event callbacks
func (*ClaudeExecutor) HealthCheck ¶
func (e *ClaudeExecutor) HealthCheck(ctx context.Context) error
HealthCheck verifies the executor is configured and accessible
func (*ClaudeExecutor) Name ¶
func (e *ClaudeExecutor) Name() string
Name returns the executor identifier
Click to show internal directories.
Click to hide internal directories.