commands

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 7 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 = messages.AgentCommandMsg

type Category

type Category struct {
	Name     string
	Commands []Item
}

Category 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 = messages.CompactSessionMsg

type CopySessionToClipboardMsg

type CopySessionToClipboardMsg = messages.CopySessionToClipboardMsg

type EvalSessionMsg

type EvalSessionMsg = messages.EvalSessionMsg

type Item

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

Item represents a single command in the palette

func BuiltInSessionCommands

func BuiltInSessionCommands() []Item

type MCPPromptMsg added in v1.9.25

type MCPPromptMsg = messages.MCPPromptMsg

type NewSessionMsg

type NewSessionMsg = messages.NewSessionMsg

type OpenURLMsg added in v1.9.6

type OpenURLMsg = messages.OpenURLMsg

type ToggleYoloMsg added in v1.9.14

type ToggleYoloMsg = messages.ToggleYoloMsg

Jump to

Keyboard shortcuts

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