Documentation
¶
Index ¶
- Constants
- func BackendPath(value string) string
- func MemoryUnifiedDiff(p, oldText, newText string, maxBytes int) string
- func RecallRequestTimeout(endpoint string) time.Duration
- type ConfigProvider
- type MemoryCardSpec
- type MemoryLintFinding
- type Result
- type Service
- func (svc *Service) Bootstrap(ctx context.Context, args map[string]any) (Result, error)
- func (svc *Service) Maintain(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) MemoryBootstrap(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) MemoryCardCapture(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) MemoryCardWrite(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) MemoryDiff(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) MemoryLint(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) MemoryPatch(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) MemoryRead(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) MemoryUpdateFact(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) NotesCapture(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) NotesSearch(ctx context.Context, args map[string]any) (Result, error)
- func (s *Service) NotesWrite(ctx context.Context, args map[string]any) (Result, error)
- func (svc *Service) PrivateNoteManage(ctx context.Context, args map[string]any) (Result, error)
- func (svc *Service) Read(ctx context.Context, args map[string]any) (Result, error)
- func (svc *Service) Request(ctx context.Context, method, endpoint string, payload any) (Result, error)
- func (svc *Service) Search(ctx context.Context, args map[string]any) (Result, error)
- func (svc *Service) Write(ctx context.Context, args map[string]any) (Result, error)
- type ToolError
Constants ¶
View Source
const ( MaxPrivateNoteSearchResults = maxPrivateNoteSearchResults MaxPrivateNoteReadBytes = maxPrivateNoteReadBytes )
Variables ¶
This section is empty.
Functions ¶
func BackendPath ¶
func MemoryUnifiedDiff ¶
func RecallRequestTimeout ¶
Types ¶
type ConfigProvider ¶
type MemoryCardSpec ¶
type MemoryCardSpec struct {
Title string
Content string
CardType string
Scope string
Project string
Status string
Confidence string
Source string
Evidence string
Tags []string
Boundary string
}
func ParseMemoryCard ¶
type MemoryLintFinding ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(configProvider ConfigProvider) *Service
func (*Service) MemoryBootstrap ¶
func (*Service) MemoryCardCapture ¶
func (*Service) MemoryCardWrite ¶
func (*Service) MemoryDiff ¶
func (*Service) MemoryLint ¶
func (*Service) MemoryPatch ¶
func (*Service) MemoryRead ¶
func (*Service) MemoryUpdateFact ¶
func (*Service) NotesCapture ¶
func (*Service) NotesSearch ¶
func (*Service) NotesWrite ¶
func (*Service) PrivateNoteManage ¶
Click to show internal directories.
Click to hide internal directories.