Versions in this module Expand all Collapse all v0 v0.1.5 Mar 23, 2026 Changes in this version + type Options struct + Meta session.SessionMetadata + PromptHistPath string + Recipe *recipe.Recipe + RecipeStore *recipestore.Store + SessionID string + SessionPaths session.Paths + type RewindEntry struct + FeedIndex int + FileSnapshots []tools.FileSnapshot + HistoryLengths map[string]int + Prompt string + type RewindResult struct + FeedIndex int + FileMsg string + Note string + type SelectionParams struct + AppliedFiles []string + Prompt string + Rating string + Responses []models.ModelResponse + SelectedModelID string + type Store struct + func New(opts Options) (*Store, error) + func (s *Store) AccumulateCost(modelID string, cost float64) + func (s *Store) ActiveRecipe() *recipe.Recipe + func (s *Store) AppendHistories(panelIDs []string, responses []models.ModelResponse, userPrompt string) map[string]int + func (s *Store) BaseRecipe() *recipe.Recipe + func (s *Store) BuildRecipeSnapshot() *recipestore.RecipeSnapshot + func (s *Store) CanRewind() bool + func (s *Store) CheckpointPath() string + func (s *Store) ClearCheckpoint() + func (s *Store) ClearHistories() + func (s *Store) ClearRewindStack() + func (s *Store) Content() session.SessionContent + func (s *Store) ContentPath() string + func (s *Store) CostPerModel() map[string]float64 + func (s *Store) Histories() map[string][]models.ConversationTurn + func (s *Store) LastActiveTools() []string + func (s *Store) LoadCheckpoint() (*checkpoint.Checkpoint, error) + func (s *Store) Metadata() session.SessionMetadata + func (s *Store) MetadataPath() string + func (s *Store) PersistRunState(lastPrompt string, responses []models.ModelResponse, ...) + func (s *Store) PromptHistory() []string + func (s *Store) PushFileSnapshots(snaps []tools.FileSnapshot) + func (s *Store) PushRewindEntry(entry RewindEntry) + func (s *Store) RecipeHash() string + func (s *Store) RecipeNameLookup() func(string) string + func (s *Store) RecipeStore() *recipestore.Store + func (s *Store) RecipesDir() string + func (s *Store) RecordPrompt(prompt string) bool + func (s *Store) RecordSelection(p SelectionParams) + func (s *Store) Rewind() (RewindResult, error) + func (s *Store) RewindStackLen() int + func (s *Store) SaveInitialMeta() + func (s *Store) SessionID() string + func (s *Store) SessionRecipe() *recipe.Recipe + func (s *Store) SessionRecipePath() string + func (s *Store) SessionsDir() string + func (s *Store) SetHistories(h map[string][]models.ConversationTurn) + func (s *Store) SetLastActiveTools(names []string) + func (s *Store) SetSessionRecipe(r *recipe.Recipe) + func (s *Store) TotalCost() float64 + func (s *Store) TruncateHistories(lengths map[string]int) + func (s *Store) UpdateLastRunNote(note string) v0.1.0 Mar 14, 2026