Versions in this module Expand all Collapse all v1 v1.5.0 Oct 12, 2026 Changes in this version + var DefaultPlansDirectory = runtimepath.PlansDir("") + var WordList = []string + func ClearAllPlanSlugs() + func ClearAllStates() + func EnterPlanMode(sessionID types.SessionID, agentID *types.AgentID) + func ExitPlanMode(sessionID types.SessionID) + func GetDisplayPath(planFilePath string) string + func GetPlan(sessionID types.SessionID, agentID *types.AgentID) (string, error) + func GetPlanFilePath(sessionID types.SessionID, agentID *types.AgentID) string + func GetPlanSlug(sessionID types.SessionID) string + func PlanExists(sessionID types.SessionID, agentID *types.AgentID) bool + func SetHasPlanFile(sessionID types.SessionID, v bool) + func SetPlan(sessionID types.SessionID, agentID *types.AgentID, content string) error + func SetPlanSlug(sessionID types.SessionID, slug string) + type ModeCache struct + func NewModeCache[S any](subDir string, newState func() *S) *ModeCache[S] + func (c *ModeCache[S]) ClearAllSlugs() + func (c *ModeCache[S]) ClearAllStates() + func (c *ModeCache[S]) ClearSlug(sessionID types.SessionID) + func (c *ModeCache[S]) GetSlug(sessionID types.SessionID) string + func (c *ModeCache[S]) GetState(sessionID types.SessionID) *S + func (c *ModeCache[S]) SetSlug(sessionID types.SessionID, slug string) + type State struct + HasExitedPlanMode bool + HasPlanFile bool + NeedsPlanModeExitAttachment bool