cache

package
v0.0.0-...-f427d29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear() error

Clear removes the cache file

func Save

func Save(c *SetupCache) error

Save writes the cache to disk

Types

type SetupCache

type SetupCache struct {
	AgentsInstalled   bool `json:"agentsInstalled"`
	SkillsInstalled   bool `json:"skillsInstalled"`
	MCPConfigured     bool `json:"mcpConfigured"`
	ExtensionsChecked bool `json:"extensionsChecked"`
}

SetupCache stores the results of one-time setup checks

func Load

func Load() (*SetupCache, error)

Load reads the cache from disk

func (*SetupCache) NeedsSetup

func (c *SetupCache) NeedsSetup() bool

NeedsSetup returns true if any setup step needs to run

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL