claudecode

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

Adapter communicates with Claude Code via tmux sessions and JSONL file watching.

func New

func New(cfg runtime.AdapterConfig) *Adapter

New creates a CC adapter.

func (*Adapter) CreateSession

func (a *Adapter) CreateSession(_ context.Context) (string, error)

func (*Adapter) Events

func (a *Adapter) Events() <-chan runtime.Event

func (*Adapter) IsHealthy

func (a *Adapter) IsHealthy(_ context.Context) bool

func (*Adapter) ResumeSession

func (a *Adapter) ResumeSession(_ context.Context, _ string) (string, error)

func (*Adapter) Runtime

func (a *Adapter) Runtime() runtime.Runtime

func (*Adapter) SendMessage

func (a *Adapter) SendMessage(_ context.Context, text string) error

func (*Adapter) Start

func (a *Adapter) Start(_ context.Context) error

func (*Adapter) Stop

func (a *Adapter) Stop(_ context.Context) error

Jump to

Keyboard shortcuts

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