commands

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentCommandMsg

type AgentCommandMsg struct {
	Command string
}

Agent commands

type Category

type Category struct {
	Name     string
	Commands []Item
}

CommandCategory represents a category of commands

func BuildCommandCategories

func BuildCommandCategories(ctx context.Context, application *app.App) []Category

BuildCommandCategories builds the list of command categories for the command palette

type CompactSessionMsg

type CompactSessionMsg struct{}

Session commands

type CopySessionToClipboardMsg

type CopySessionToClipboardMsg struct{}

Session commands

type EvalSessionMsg

type EvalSessionMsg struct{}

Session commands

type Item

type Item struct {
	ID           string
	Label        string
	Description  string
	Category     string
	SlashCommand string
	Execute      func() tea.Cmd
}

Command represents a single command in the palette

func BuiltInSessionCommands

func BuiltInSessionCommands() []Item

type NewSessionMsg

type NewSessionMsg struct{}

Session commands

Jump to

Keyboard shortcuts

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