executor

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2026 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerExecutor added in v0.2.0

type DockerExecutor struct{}

DockerExecutor implements Executor using Docker.

func NewDockerExecutor added in v0.2.0

func NewDockerExecutor() *DockerExecutor

NewDockerExecutor creates a new DockerExecutor.

func (*DockerExecutor) Execute added in v0.2.0

func (e *DockerExecutor) Execute(ctx context.Context, promptContent string, logFile string) error

Execute runs the claude-yolo Docker container with the given prompt content. It blocks until the container exits and returns an error if the exit code is non-zero. Output is streamed to both terminal and the specified log file.

type Executor added in v0.2.0

type Executor interface {
	Execute(ctx context.Context, promptContent string, logFile string) error
}

Executor executes a prompt.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL