Versions in this module Expand all Collapse all v0 v0.8.0 Mar 24, 2026 Changes in this version + type AddConfig struct + Application string + Consequence string + Context string + FromFile string + Lesson string + Priority string + Rationale string + Section string + type ArchiveEntry struct + ExcludeDir string + Optional bool + Prefix string + SourcePath string + type BackupResult struct + Archive string + SMBDest string + Scope string + Size int64 + type BlockResponse struct + Decision string + Reason string + type BootstrapOutput struct + ContextDir string + Files []string + NextSteps []string + Rules []string + Warnings []string + type CodeSummary struct + Authors []string + CommitCount int + Dirs []string + LatestMsg string + type Context struct + Dir string + Files []FileInfo + TotalSize int64 + TotalTokens int + func (c *Context) File(name string) *FileInfo + type ContextChange struct + ModTime time.Time + Name string + type DeployParams struct + ListErrKey string + ReadErrKey string + SubDir string + type EntryParams struct + Application string + Consequence string + Content string + Context string + ContextDir string + Lesson string + Priority string + Rationale string + Section string + Type string + type ExportAction int + const ActionLocked + const ActionNew + const ActionRegenerate + const ActionSkip + type ExportOpts struct + All bool + AllProjects bool + DryRun bool + KeepFrontmatter bool + Regenerate bool + Yes bool + func (o ExportOpts) DiscardFrontmatter() bool + type ExportPlan struct + Actions []FileAction + LockedCount int + NewCount int + RegenCount int + RenameOps []RenameOp + SkipCount int + type FileAction struct + Action ExportAction + BaseName string + EndIdx int + Filename string + Messages []Message + Part int + Path string + Session *Session + Slug string + StartIdx int + Title string + TotalParts int + type FileInfo struct + Content []byte + IsEmpty bool + ModTime time.Time + Name string + Path string + Size int64 + Summary string + Tokens int + type FileTokenEntry struct + Name string + Tokens int + type GroupedIndex struct + Entries []JournalEntry + Key string + Popular bool + type HookInput struct + SessionID string + ToolInput ToolInput + type ImportResult struct + Conventions int + Decisions int + Dupes int + Learnings int + Skipped int + Tasks int + func (r ImportResult) Total() int + type JournalEntry struct + Date string + Filename string + KeyFiles []string + Model string + Outcome string + Path string + Project string + SessionID string + Size int64 + Suggestive bool + Summary string + Time string + Title string + TokensIn int + TokensOut int + Topics []string + Type string + type JournalFrontmatter struct + Date string + KeyFiles []string + Model string + Outcome string + Project string + SessionID string + Summary string + Time string + Title string + TokensIn int + TokensOut int + Topics []string + Type string + type KeyFileData struct + Entries []JournalEntry + Path string + Popular bool + func (kf KeyFileData) IsPopular() bool + type MergeParams struct + AutoMerge bool + ConfirmPrompt string + Filename string + Force bool + MarkerEnd string + MarkerStart string + TemplateContent []byte + UpdateTextKey string + type Message struct + ID string + Role string + Text string + Thinking string + Timestamp time.Time + TokensIn int + TokensOut int + ToolResults []ToolResult + ToolUses []ToolUse + func (m *Message) BelongsToAssistant() bool + func (m *Message) BelongsToUser() bool + func (m *Message) Preview(maxLen int) string + func (m *Message) UsesTools() bool + type MessageListEntry struct + Category string + Description string + HasOverride bool + Hook string + TemplateVars []string + Variant string + type PopularSplittable interface + IsPopular func() bool + type RenameOp struct + NewBase string + NumParts int + OldBase string + type Session struct + CWD string + Duration time.Duration + EndTime time.Time + FirstUserMsg string + GitBranch string + HasErrors bool + ID string + Messages []Message + Model string + Project string + Slug string + SourceFile string + StartTime time.Time + Tool string + TotalTokens int + TotalTokensIn int + TotalTokensOut int + TurnCount int + func (s *Session) AllToolUses() []ToolUse + func (s *Session) AssistantMessages() []Message + func (s *Session) UserMessages() []Message + type StaleEntry struct + Days int + Desc string + Path string + ReviewURL string + type Stats struct + Event string + Model string + Pct int + Prompt int + Timestamp string + Tokens int + WindowSize int + type TaskBlock struct + DoneTime *time.Time + EndIndex int + IsArchivable bool + IsCompleted bool + Lines []string + StartIndex int + func (b *TaskBlock) BlockContent() string + func (b *TaskBlock) OlderThan(days int) bool + func (b *TaskBlock) ParentTaskText() string + type TokenInfo struct + Model string + Tokens int + type ToolInput struct + Command string + type ToolResult struct + Content string + IsError bool + ToolUseID string + type ToolUse struct + ID string + Input string + Name string + type TopicData struct + Entries []JournalEntry + Name string + Popular bool + func (t TopicData) IsPopular() bool + type TypeData struct + Entries []JournalEntry + Name string