launcher

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package launcher replaces the current process with the selected Claude or Opencode session via syscall.Exec.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Claude

func Claude(sessionID, dir string, opts Options) error

Claude changes to dir and execs `claude --resume sessionID`.

func Opencode

func Opencode(sessionID, dir string, opts Options) error

Opencode changes to dir and execs `opencode -s sessionID`.

Types

type Options

type Options struct {
	NoLaunch    bool
	Verbose     bool
	DangerMode  bool // Claude only
	ClaudeCmd   string
	OpencodeCmd string
}

Options controls launch behavior.

Jump to

Keyboard shortcuts

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