claudecode

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const AgentID = "claude-code"

Variables

This section is empty.

Functions

func LookupPath

func LookupPath(path string) (string, error)

func Version

func Version(ctx context.Context, path string) string

Types

type Agent

type Agent struct {
	Path    string
	Enabled bool
}

func (Agent) Aliases

func (a Agent) Aliases() []string

func (Agent) Available

func (a Agent) Available(ctx context.Context) externalagents.Availability

func (Agent) Capabilities

func (a Agent) Capabilities() externalagents.Capabilities

func (Agent) DisplayName

func (a Agent) DisplayName() string

func (Agent) ID

func (a Agent) ID() string

func (Agent) Models

func (a Agent) Models(context.Context) []string

type Runtime

type Runtime struct {
	Agent
	// contains filtered or unexported fields
}

func NewRuntime

func NewRuntime(opts RuntimeOptions) *Runtime

func (*Runtime) Close

func (r *Runtime) Close() error

func (*Runtime) Interrupt

func (*Runtime) ResumeSession

func (*Runtime) Send

type RuntimeOptions

type RuntimeOptions struct {
	Path    string
	Enabled bool
	Stderr  io.Writer
}

Jump to

Keyboard shortcuts

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