Documentation
¶
Overview ¶
The words of the switches of the terminal app: what each word typed after the slash word of a switch makes of the value it holds, the values each takes, and the spinner each busy indicator turns
Index ¶
- Constants
- Variables
- func Density(word, now string) (string, bool)
- func Detail(words string) (level string, session, ok bool)
- func Flag(word string, now bool) (bool, bool)
- func Indicator(word, now string) (string, bool)
- func Level(parts Preset) string
- func Mouse(word, now string) (string, bool)
- func Progress(word, now string) (string, bool)
- func Spinner(indicator string) []string
- func StatusBar(word, now string) (string, bool)
- type Preset
Constants ¶
const ( StatusTop = "top" StatusBottom = "bottom" StatusOff = "off" )
Where the status line of a chat sits: as dials on the bar at the top of the window, on the bottom edge of the chat's own frame, or nowhere
const ( DensityComfortable = "comfortable" DensityCompact = "compact" DensityDense = "dense" )
How close the transcript of a chat is set: a blank row between its parts and inside them, between its parts alone, or none at all
const ( ProgressOff = "off" ProgressNew = "new" ProgressAll = "all" ProgressVerbose = "verbose" )
Which tool calls get a line in a transcript: none, one when the tool changes, every call, or every call open with all it was given and all it answered
const ( DetailMinimal = "minimal" DetailNormal = "normal" DetailDetailed = "detailed" DetailEverything = "everything" DetailCustom = "custom" )
How much of the agent's work a transcript shows, alpha's detail levels: replies alone, each call a folded line, calls and reasoning open, every call with its whole input and output; custom once its parts were set one by one
const ( FoldHidden = "hidden" FoldFolded = "folded" FoldOpen = "open" )
How the reasoning of a transcript shows: not at all, folded to a line, or open
const ( IndicatorUnicode = "unicode" IndicatorEmoji = "emoji" IndicatorASCII = "ascii" )
Busy indicators: the braille wheel of the style worn, the phases of the moon, or plain strokes
const SessionScope = "--session"
Word after /detail that keeps the level to the chat it was typed in rather than the profile's settings
Variables ¶
var Densities = []string{DensityComfortable, DensityCompact, DensityDense}
Densities from the most room to the least
var Details = []string{DetailMinimal, DetailNormal, DetailDetailed, DetailEverything}
Detail levels /detail takes, the least shown first
var Indicators = []string{IndicatorUnicode, IndicatorEmoji, IndicatorASCII}
Busy indicators /indicator takes
var MouseWords = []string{"on", "off", "toggle", "wheel", "buttons", "all"}
Words /mouse offers, in the order its usage names them
var Progresses = []string{ProgressOff, ProgressNew, ProgressAll, ProgressVerbose}
Tool lines in the order /verbose goes through them
var StatusWords = []string{"on", "off", "top", "bottom", "toggle"}
Words /statusbar offers
Functions ¶
func Density ¶
Density the word asks for, as alpha's /density takes it: nothing and toggle go from comfortable to compact and from any other back, on is compact, off comfortable, and a density by its name; false for a word it does not take
func Detail ¶
Level and scope the words after /detail ask for: a level by its name, or none to say the one in force, and --session for this chat alone, in either order; false for any other word or a second level
func Flag ¶
Turns a switch on or off by the word typed after its slash word: nothing and toggle turn it over, on and off say which, as alpha's switches take them; false for any other word
func Indicator ¶
Busy indicator the word asks for: nothing goes on to the next, and one by its name; false for any other word
func Mouse ¶
Tracking of the mouse the word asks for: nothing and toggle turn it off, or to every move when it is off; false for a word /mouse does not take
func Progress ¶
Tool lines the word asks for: nothing goes on to the next of them, after verbose back to off, as alpha's /verbose does, and one by its name; false for a word it does not take