Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeMessageData ¶
func EncodeMessageData(d StoredMessageData) string
func EncodeToDoList ¶
Types ¶
type StoredMessageData ¶
type StoredMessageData struct {
Role string `json:"role"`
Content string `json:"content,omitempty"`
CodeChanges []string `json:"code_changes,omitempty"`
Usage *StoredUsage `json:"usage,omitempty"`
ToolCalls []StoredToolCall `json:"tool_calls,omitempty"`
// Mentions holds workspace-relative paths the user explicitly attached via
// @file mentions in the TUI picker. They are expanded into synthetic
// read_file/list_dir tool-output messages when the chat history is assembled.
Mentions []string `json:"mentions,omitempty"`
}
func DecodeMessageData ¶
func DecodeMessageData(s string) StoredMessageData
type StoredToolCall ¶
type StoredUsage ¶
Click to show internal directories.
Click to hide internal directories.