memory

package
v1.10.7 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package memory implements the memory skill, contributing 7 MCP tools for project and global memory persistence via the skill interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemorySkill

type MemorySkill struct {
	// contains filtered or unexported fields
}

MemorySkill implements skill.ToolProvider, wrapping MemoryStore as MCP tools.

func (*MemorySkill) Description

func (s *MemorySkill) Description() string

Description returns a human-readable description.

func (*MemorySkill) ExecuteTool

func (s *MemorySkill) ExecuteTool(name string, args map[string]interface{}) (string, error)

ExecuteTool runs a memory tool by name with the given JSON arguments. Returns the tool result as a string.

func (*MemorySkill) Init

func (s *MemorySkill) Init(deps skill.SkillDeps) error

Init creates the underlying MemoryStore from skill dependencies.

func (*MemorySkill) Name

func (s *MemorySkill) Name() string

Name returns the skill identifier.

func (*MemorySkill) Tools

func (s *MemorySkill) Tools() []*mcp.ToolDef

Tools returns the 7 MCP tool definitions for memory CRUD operations.

Jump to

Keyboard shortcuts

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