repl

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package repl implements Alaska's interactive chat loop. Uses c-bata/go-prompt for live slash-command completion and charmbracelet/huh for interactive model / provider / permission pickers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, s *Session) error

Types

type Session

type Session struct {
	Config      *config.Config
	Provider    provider.Provider
	Model       string
	System      string
	Thinking    string
	Tools       *tool.Registry
	Permissions *permissions.Policy
	History     []provider.Message
	Out         io.Writer
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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