Documentation
¶
Index ¶
- Constants
- func BackgroundRGB(r, g, b uint8) string
- func ColorizeErrorLines(s string) string
- func ColorizeImgTags(s string) string
- func ColorizeImgTagsReplInput(s string) string
- func Enabled() bool
- func ForegroundRGB(r, g, b uint8) string
- func FormatSystemBlock(message string) string
- func FormatWorkedDuration(secs float64) string
- func Init(opts InitOptions)
- func Plain(s string) string
- func ResetSeq() string
- func SystemMessageText(v any) string
- func ThoughtForSuffix(secs float64) string
- func ToolHeaderLine(toolName, body string) string
- func ToolLine(toolName, body string) string
- func UsageTokensLine(...) string
- func WelcomeUsageTotals(userTok, reasoningTok, responseTok, totalTok int64) string
- func WrapAssistant(s string) string
- func WrapBoldGold(s string) string
- func WrapContext(s string) string
- func WrapEditFileNewString(s string) string
- func WrapEditFileOldString(s string) string
- func WrapImgTag(tag string) string
- func WrapRed(s string) string
- func WrapSystem(s string) string
- func WrapThinking(s string) string
- func WrapTool(s string) string
- func WrapUser(s string) string
- func WrapUserReadline(s string) string
- func WrapWhite(s string) string
- func WriteSystem(w io.Writer, message string)
- type ErrorLineWriter
- type InitOptions
- type ToolLineWriter
Constants ¶
View Source
const SystemBorder = "===SYSTEM==="
Variables ¶
This section is empty.
Functions ¶
func BackgroundRGB ¶
func ColorizeErrorLines ¶ added in v2026.601.0
func ColorizeImgTags ¶
func ForegroundRGB ¶
func FormatSystemBlock ¶
func FormatWorkedDuration ¶
func Init ¶
func Init(opts InitOptions)
func SystemMessageText ¶
func ThoughtForSuffix ¶
func ToolHeaderLine ¶
func UsageTokensLine ¶
func WelcomeUsageTotals ¶
func WrapAssistant ¶
func WrapBoldGold ¶
func WrapContext ¶
func WrapEditFileNewString ¶ added in v2026.602.2
func WrapEditFileOldString ¶ added in v2026.602.2
func WrapImgTag ¶
func WrapSystem ¶
func WrapThinking ¶
func WrapUserReadline ¶
func WriteSystem ¶
Types ¶
type ErrorLineWriter ¶ added in v2026.601.0
func NewErrorLineWriter ¶ added in v2026.601.0
func NewErrorLineWriter(w io.Writer) *ErrorLineWriter
func (*ErrorLineWriter) Flush ¶ added in v2026.601.0
func (w *ErrorLineWriter) Flush() error
type InitOptions ¶
type ToolLineWriter ¶
func NewToolLineWriter ¶
func NewToolLineWriter(w io.Writer) *ToolLineWriter
func (*ToolLineWriter) Flush ¶
func (w *ToolLineWriter) Flush() error
Click to show internal directories.
Click to hide internal directories.