launcher

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Launcher

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

Launcher manages the Claude Code process lifecycle.

func New

func New(cfg *config.Config, workDir string) *Launcher

New creates a new Claude Code launcher.

func (*Launcher) Launch

func (l *Launcher) Launch() error

Launch starts Claude Code with MCP configuration.

func (*Launcher) Setup

func (l *Launcher) Setup() (mcpConfigPath string, servers []string, cleanup func(), err error)

Setup generates MCP config and CLAUDE.md without launching Claude. Returns the MCP config path, enabled servers, and a cleanup function.

Jump to

Keyboard shortcuts

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