Documentation
¶
Index ¶
- func ListRecentSessions(limit int) (sessions []sessionDir, total int, err error)
- func RunExplain(args []string) error
- func RunExplainWithRunner(rawArgs []string, runner Runner) error
- func RunList(args []string) error
- type MatchResult
- type Message
- type Runner
- type RunnerMeta
- type Runtime
- type SessionData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListRecentSessions ¶ added in v0.0.60
ListRecentSessions returns sessions sorted by dirname timestamp descending, limited to at most limit entries, plus the total count before limiting. limit is normalized the same way as the list CLI: <=0 → default 10, cap 100.
func RunExplain ¶
func RunExplainWithRunner ¶
Types ¶
type MatchResult ¶
type MatchResult struct {
SessionDir string
Data SessionData
MatchedCount int
}
type RunnerMeta ¶
type RunnerMeta map[string]json.RawMessage
type SessionData ¶
type SessionData struct {
AgentRunner string `json:"agent_runner"`
Model string `json:"model"`
AgentRunnersMeta RunnerMeta `json:"agent_runners_meta"`
Messages []Message `json:"messages"`
}
Click to show internal directories.
Click to hide internal directories.