chat

package
v1.9.16 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FocusedPanel

type FocusedPanel string

FocusedPanel represents which panel is currently focused

const (
	PanelChat   FocusedPanel = "chat"
	PanelEditor FocusedPanel = "editor"
)

type KeyMap

type KeyMap struct {
	Tab    key.Binding
	Cancel key.Binding
}

KeyMap defines key bindings for the chat page

type Page

type Page interface {
	layout.Model
	layout.Sizeable
	layout.Help
	CompactSession() tea.Cmd
	Cleanup()
}

Page represents the main chat page

func New

func New(a *app.App, sessionState *service.SessionState) Page

New creates a new chat page

Jump to

Keyboard shortcuts

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