components

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var COMMANDS = []item{
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
	{/* contains filtered or unexported fields */},
}

Functions

This section is empty.

Types

type Item

type Item struct {
	// contains filtered or unexported fields
}

func NewItem

func NewItem(title, description string) Item

func (Item) Description

func (i Item) Description() string

func (Item) FilterValue

func (i Item) FilterValue() string

func (Item) Title

func (i Item) Title() string

type Model

type Model struct {
	// contains filtered or unexported fields
}

func LaunchSessionList

func LaunchSessionList(items []list.Item) Model

func (Model) Current

func (m Model) Current() int

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) Refresh

func (m *Model) Refresh(items []models.Session)

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() tea.View

type ModelCmdList

type ModelCmdList struct {
	// contains filtered or unexported fields
}

func LaunchCommandList

func LaunchCommandList() ModelCmdList

func (ModelCmdList) Current

func (m ModelCmdList) Current() string

func (*ModelCmdList) Filter

func (m *ModelCmdList) Filter(term string)

func (ModelCmdList) Height

func (m ModelCmdList) Height() int

func (ModelCmdList) Init

func (m ModelCmdList) Init() tea.Cmd

func (ModelCmdList) Reset added in v0.1.15

func (m ModelCmdList) Reset()

func (ModelCmdList) StringView

func (m ModelCmdList) StringView() string

func (ModelCmdList) Update

func (m ModelCmdList) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (ModelCmdList) View

func (m ModelCmdList) View() tea.View

type ModelFileList added in v1.2.3

type ModelFileList struct {
	// contains filtered or unexported fields
}

ModelFileList is the @file mention picker. It mirrors ModelCmdList but ranks entries with fuzzy matching over the file index.

func NewFileList added in v1.2.3

func NewFileList(paths []string) ModelFileList

func (ModelFileList) Current added in v1.2.3

func (m ModelFileList) Current() string

Current returns the highlighted path, or "" if the index is empty.

func (*ModelFileList) Filter added in v1.2.3

func (m *ModelFileList) Filter(term string)

Filter ranks the index against term. An empty term shows everything in index order; otherwise results are fuzzy-ranked.

func (ModelFileList) Height added in v1.2.3

func (m ModelFileList) Height() int

func (ModelFileList) Init added in v1.2.3

func (m ModelFileList) Init() tea.Cmd

func (*ModelFileList) SetItems added in v1.2.3

func (m *ModelFileList) SetItems(paths []string)

SetItems replaces the candidate file index (e.g. after lazily building it).

func (ModelFileList) StringView added in v1.2.3

func (m ModelFileList) StringView() string

func (ModelFileList) Update added in v1.2.3

func (m ModelFileList) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (ModelFileList) View added in v1.2.3

func (m ModelFileList) View() tea.View

type ModelModelsList added in v0.1.8

type ModelModelsList struct {
	// contains filtered or unexported fields
}

func LaunchModelsList added in v0.1.8

func LaunchModelsList() ModelModelsList

func (ModelModelsList) Current added in v0.1.8

func (m ModelModelsList) Current() api.ModelInfo

func (*ModelModelsList) Filter added in v0.1.8

func (m *ModelModelsList) Filter(term string)

func (*ModelModelsList) GetHeight added in v0.1.13

func (m *ModelModelsList) GetHeight() int

func (ModelModelsList) Height added in v0.1.8

func (m ModelModelsList) Height() int

func (ModelModelsList) Init added in v0.1.8

func (m ModelModelsList) Init() tea.Cmd

func (ModelModelsList) NextPage added in v0.1.13

func (m ModelModelsList) NextPage()

func (ModelModelsList) PrevPage added in v0.1.13

func (m ModelModelsList) PrevPage()

func (*ModelModelsList) Refresh added in v0.1.8

func (m *ModelModelsList) Refresh(items []api.ModelInfo)

func (ModelModelsList) StringView added in v0.1.8

func (m ModelModelsList) StringView() string

func (ModelModelsList) Update added in v0.1.8

func (m ModelModelsList) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (ModelModelsList) View added in v0.1.8

func (m ModelModelsList) View() tea.View

type ModelProvidersList added in v1.2.3

type ModelProvidersList struct {
	// contains filtered or unexported fields
}

func LaunchProviderList added in v1.2.3

func LaunchProviderList() ModelProvidersList

func (ModelProvidersList) Current added in v1.2.3

func (m ModelProvidersList) Current() config.Provider

func (*ModelProvidersList) Filter added in v1.2.3

func (m *ModelProvidersList) Filter(term string)

func (ModelProvidersList) Height added in v1.2.3

func (m ModelProvidersList) Height() int

func (ModelProvidersList) Init added in v1.2.3

func (m ModelProvidersList) Init() tea.Cmd

func (ModelProvidersList) NextPage added in v1.2.3

func (m ModelProvidersList) NextPage()

func (ModelProvidersList) PrevPage added in v1.2.3

func (m ModelProvidersList) PrevPage()

func (*ModelProvidersList) Refresh added in v1.2.3

func (m *ModelProvidersList) Refresh(items []config.Provider)

func (ModelProvidersList) StringView added in v1.2.3

func (m ModelProvidersList) StringView() string

func (ModelProvidersList) Update added in v1.2.3

func (m ModelProvidersList) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (ModelProvidersList) View added in v1.2.3

func (m ModelProvidersList) View() tea.View

Jump to

Keyboard shortcuts

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