Documentation ¶
Index ¶
- Constants
- Variables
- func Find(plugins []config.Plugin, name string) (config.Plugin, error)
- type AI
- func (ai *AI) Cleanup()
- func (ai *AI) ClearCurrent()
- func (ai *AI) CopyLastResponse()
- func (ai *AI) Entries(term string) []util.Entry
- func (ai *AI) General() *config.GeneralModule
- func (ai *AI) Refresh()
- func (ai *AI) ResumeLastMessages()
- func (ai *AI) RunLastMessageInTerminal()
- func (ai *AI) Setup(cfg *config.Config) bool
- func (ai *AI) SetupData(cfg *config.Config)
- func (ai *AI) SpecialFunc(args ...interface{})
- type AnthropicMessage
- type AnthropicRequest
- type AnthropicResponse
- type Application
- type Applications
- func (a *Applications) Cleanup()
- func (a *Applications) Entries(term string) []util.Entry
- func (a *Applications) General() *config.GeneralModule
- func (a *Applications) Refresh()
- func (a *Applications) RunWm()
- func (a *Applications) Setup(cfg *config.Config) bool
- func (a *Applications) SetupData(cfg *config.Config)
- func (a *Applications) Watch()
- type Bookmarks
- func (bookmarks *Bookmarks) Cleanup()
- func (bookmarks *Bookmarks) Entries(term string) []util.Entry
- func (bookmarks *Bookmarks) General() *config.GeneralModule
- func (bookmarks *Bookmarks) Refresh()
- func (bookmarks *Bookmarks) Setup(cfg *config.Config) bool
- func (bookmarks *Bookmarks) SetupData(cfg *config.Config)
- type Calc
- type Commands
- type CustomCommands
- type Dmenu
- func (d *Dmenu) Cleanup()
- func (d Dmenu) Entries(term string) []util.Entry
- func (d *Dmenu) General() *config.GeneralModule
- func (d Dmenu) ListenForReply() bool
- func (d *Dmenu) Refresh()
- func (Dmenu) Reply(res string)
- func (d Dmenu) Send()
- func (d *Dmenu) Setup(cfg *config.Config) bool
- func (d *Dmenu) SetupData(cfg *config.Config)
- func (d *Dmenu) StartListening()
- type EngineInfo
- type Finder
- type Plugin
- type Runner
- type SSH
- type Switcher
- type Websearch
- type Window
- type Workable
- type XdphPicker
- func (x *XdphPicker) Cleanup()
- func (x *XdphPicker) Entries(term string) []util.Entry
- func (x *XdphPicker) General() *config.GeneralModule
- func (x *XdphPicker) Refresh()
- func (x *XdphPicker) Setup(cfg *config.Config) bool
- func (x *XdphPicker) SetupData(cfg *config.Config)
- func (x *XdphPicker) SpecialFunc(args ...interface{})
Constants ¶
View Source
const ( ANTHROPIC_VERSION_HEADER = "anthropic-version" ANTHROPIC_VERSION = "2023-06-01" ANTHROPIC_API_URL = "https://api.anthropic.com/v1/messages" ANTHROPIC_AUTH_HEADER = "x-api-key" ANTHROPIC_API_KEY = "ANTHROPIC_API_KEY" )
View Source
const ApplicationsName = "applications"
Variables ¶
View Source
var ()
Functions ¶
Types ¶
type AI ¶ added in v0.9.0
type AI struct {
// contains filtered or unexported fields
}
func (*AI) ClearCurrent ¶ added in v0.9.7
func (ai *AI) ClearCurrent()
func (*AI) CopyLastResponse ¶ added in v0.9.3
func (ai *AI) CopyLastResponse()
func (*AI) General ¶ added in v0.9.0
func (ai *AI) General() *config.GeneralModule
func (*AI) ResumeLastMessages ¶ added in v0.9.7
func (ai *AI) ResumeLastMessages()
func (*AI) RunLastMessageInTerminal ¶ added in v0.10.4
func (ai *AI) RunLastMessageInTerminal()
func (*AI) SpecialFunc ¶ added in v0.9.0
func (ai *AI) SpecialFunc(args ...interface{})
type AnthropicMessage ¶ added in v0.9.2
type AnthropicRequest ¶ added in v0.9.0
type AnthropicRequest struct { Model string `json:"model"` MaxTokens int `json:"max_tokens"` Temperature float64 `json:"temperature"` System string `json:"system"` Messages []AnthropicMessage `json:"messages"` }
type AnthropicResponse ¶ added in v0.9.0
type AnthropicResponse struct { Id string `json:"id,omitempty"` Type string `json:"type,omitempty"` Role string `json:"role,omitempty"` Model string `json:"model,omitempty"` Content []struct { Type string `json:"type,omitempty"` Text string `json:"text,omitempty"` StopReason string `json:"stop_reason,omitempty"` StopSequence string `json:"stop_sequence,omitempty"` } `json:"content,omitempty"` }
type Application ¶
type Applications ¶
func (*Applications) Cleanup ¶
func (a *Applications) Cleanup()
func (*Applications) General ¶
func (a *Applications) General() *config.GeneralModule
func (*Applications) Refresh ¶
func (a *Applications) Refresh()
func (*Applications) RunWm ¶
func (a *Applications) RunWm()
func (*Applications) SetupData ¶
func (a *Applications) SetupData(cfg *config.Config)
func (*Applications) Watch ¶ added in v0.7.2
func (a *Applications) Watch()
type Bookmarks ¶ added in v0.10.0
type Bookmarks struct {
// contains filtered or unexported fields
}
func (*Bookmarks) General ¶ added in v0.10.0
func (bookmarks *Bookmarks) General() *config.GeneralModule
type Calc ¶ added in v0.7.0
type Calc struct {
// contains filtered or unexported fields
}
func (*Calc) General ¶ added in v0.7.0
func (c *Calc) General() *config.GeneralModule
type Commands ¶
type Commands struct {
// contains filtered or unexported fields
}
func (*Commands) General ¶
func (c *Commands) General() *config.GeneralModule
type CustomCommands ¶
type CustomCommands struct {
// contains filtered or unexported fields
}
func (CustomCommands) Cleanup ¶
func (c CustomCommands) Cleanup()
func (*CustomCommands) General ¶
func (c *CustomCommands) General() *config.GeneralModule
func (*CustomCommands) Refresh ¶
func (c *CustomCommands) Refresh()
func (*CustomCommands) SetupData ¶
func (c *CustomCommands) SetupData(cfg *config.Config)
type Dmenu ¶
type Dmenu struct { // contains filtered or unexported fields }
func (*Dmenu) General ¶
func (d *Dmenu) General() *config.GeneralModule
func (Dmenu) ListenForReply ¶
func (*Dmenu) StartListening ¶
func (d *Dmenu) StartListening()
type EngineInfo ¶
type Finder ¶
type Finder struct { MarkerColor string // contains filtered or unexported fields }
func (*Finder) General ¶
func (f *Finder) General() *config.GeneralModule
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) General ¶
func (r *Runner) General() *config.GeneralModule
type SSH ¶
type SSH struct {
// contains filtered or unexported fields
}
func (*SSH) General ¶
func (s *SSH) General() *config.GeneralModule
type Switcher ¶
type Switcher struct {
// contains filtered or unexported fields
}
func (*Switcher) General ¶
func (s *Switcher) General() *config.GeneralModule
type Websearch ¶
type Websearch struct {
// contains filtered or unexported fields
}
func (*Websearch) General ¶
func (w *Websearch) General() *config.GeneralModule
type XdphPicker ¶ added in v0.11.4
type XdphPicker struct {
// contains filtered or unexported fields
}
func (*XdphPicker) Cleanup ¶ added in v0.11.4
func (x *XdphPicker) Cleanup()
func (*XdphPicker) Entries ¶ added in v0.11.4
func (x *XdphPicker) Entries(term string) []util.Entry
func (*XdphPicker) General ¶ added in v0.11.4
func (x *XdphPicker) General() *config.GeneralModule
func (*XdphPicker) Refresh ¶ added in v0.11.4
func (x *XdphPicker) Refresh()
func (*XdphPicker) SetupData ¶ added in v0.11.4
func (x *XdphPicker) SetupData(cfg *config.Config)
func (*XdphPicker) SpecialFunc ¶ added in v0.11.4
func (x *XdphPicker) SpecialFunc(args ...interface{})
Source Files ¶
Click to show internal directories.
Click to hide internal directories.