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

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