Documentation
¶
Index ¶
- Constants
- func DisplayEntry(e Entry) string
- func FormatList(store *Store) string
- func FormatPaths(store *Store) string
- func HandleCommand(store *Store, line string) (string, bool, error)
- func ParseScopedName(raw string) (string, string, error)
- func StartupContext(_ context.Context, store *Store) (string, error)
- func Tools(store *Store) []core.Tool
- func WorkspaceHash(root string) string
- type Entry
- type Plugin
- type Store
- func (s *Store) CappedIndex(scope string, maxBytes int) (string, string, bool, error)
- func (s *Store) Delete(scope, rawName string) (bool, error)
- func (s *Store) Index(scope string) (string, string, error)
- func (s *Store) IndexPath(scope string) (string, error)
- func (s *Store) Read(scope, rawName string) (Entry, error)
- func (s *Store) Root() string
- func (s *Store) ScopeDir(scope string) (string, error)
- func (s *Store) Write(in WriteInput) (Entry, error)
- type WriteInput
Constants ¶
View Source
const ( PluginID = "memory" IndexFileName = "MEMORY.md" )
Variables ¶
This section is empty.
Functions ¶
func DisplayEntry ¶
func FormatList ¶
func FormatPaths ¶
func WorkspaceHash ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CappedIndex ¶
Click to show internal directories.
Click to hide internal directories.