Versions in this module Expand all Collapse all v1 v1.91.0 Jun 30, 2026 Changes in this version + const ToolNameExitPlanMode + const ToolNameReadSessionPlan + const ToolNameWriteSessionPlan + var ErrInvalidSessionID = errors.New("invalid session ID") + var ErrPlanNotFound = errors.New("session plan not found") + func CreateToolSet() (tools.ToolSet, error) + func DefaultDir() string + func Path(dir, sessionID string) (string, error) + func ReadContent(dir, sessionID string) (content, path string, err error) + func Sweep(dir string, now time.Time, maxAge time.Duration) error + func WriteContent(dir, sessionID, content string) (string, error) + type ToolSet struct + func New() *ToolSet + func (t *ToolSet) Instructions() string + func (t *ToolSet) Tools(context.Context) ([]tools.Tool, error) + type WriteSessionPlanArgs struct + Content string