claudecode

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 15 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 CredentialPaths added in v0.2.1

func CredentialPaths() []string

CredentialPaths is where the Claude Code CLI keeps its login.

Types

type Runtime

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

func NewRuntime

func NewRuntime(opts RuntimeOptions) *Runtime

func (*Runtime) Available added in v0.2.0

func (*Runtime) Close

func (r *Runtime) Close() error

func (*Runtime) DisplayName added in v0.2.0

func (r *Runtime) DisplayName() string

func (*Runtime) ID added in v0.2.0

func (r *Runtime) ID() string

func (*Runtime) Interrupt

Interrupt has nothing to do: canceling the turn's context kills the CLI.

func (*Runtime) Models added in v0.2.0

func (r *Runtime) Models(context.Context) []string

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