memory

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 1 Imported by: 1 module, 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 is the public facade over Recollect's memory engine. It exposes only the types, constants, and constructors that external adapters need. The implementation lives in recollect/internal/memory.

Index

Constants

View Source
const (
	CaptureConsolidationPrompt = internalmemory.CaptureConsolidationPrompt
	CaptureDigestPrompt        = internalmemory.CaptureDigestPrompt
	CaptureOverflowTopic       = internalmemory.CaptureOverflowTopic
	CapturePhaseDigest         = internalmemory.CapturePhaseDigest
	CapturePhaseTyped          = internalmemory.CapturePhaseTyped
	CodeCaptureTimeout         = internalmemory.CodeCaptureTimeout
	CodeDigestNotFound         = internalmemory.CodeDigestNotFound
	CodeDisabled               = internalmemory.CodeDisabled
	CodeFactNotFound           = internalmemory.CodeFactNotFound
	CodeInvalidOperation       = internalmemory.CodeInvalidOperation
	CodeInvalidReply           = internalmemory.CodeInvalidReply
	CodeIO                     = internalmemory.CodeIO
	CodeMissingField           = internalmemory.CodeMissingField
	CodeOldAmbiguous           = internalmemory.CodeOldAmbiguous
	CodeOldNotFound            = internalmemory.CodeOldNotFound
	CodeReasonRequired         = internalmemory.CodeReasonRequired
	CodeSecretRejected         = internalmemory.CodeSecretRejected
	DefaultDigestMaxBytes      = internalmemory.DefaultDigestMaxBytes
	DefaultDigestTTLDays       = internalmemory.DefaultDigestTTLDays
	DefaultMaxDigests          = internalmemory.DefaultMaxDigests
	DefaultPagesInjectBytes    = internalmemory.DefaultPagesInjectBytes
	EvolvePagesPrompt          = internalmemory.EvolvePagesPrompt
	EvolvePrompt               = internalmemory.EvolvePrompt
	FactSceneChat              = internalmemory.FactSceneChat
	FactSceneCoding            = internalmemory.FactSceneCoding
	FactSceneWorking           = internalmemory.FactSceneWorking
	FactTypeExperience         = internalmemory.FactTypeExperience
	FactTypeProject            = internalmemory.FactTypeProject
	IndexLineLimit             = internalmemory.IndexLineLimit
	MemoryInstructions         = internalmemory.MemoryInstructions
	RedactedPlaceholder        = internalmemory.RedactedPlaceholder

	AgentMemoryScopeLine  = internalmemory.AgentMemoryScopeLine
	FactNodeType          = internalmemory.FactNodeType
	MinDigestSummaryBytes = internalmemory.MinDigestSummaryBytes

	ArchiveDigestKeepForTest  = internalmemory.ArchiveDigestKeepForTest
	JournalPrevFileForTest    = internalmemory.JournalPrevFileForTest
	JournalRotateBytesForTest = internalmemory.JournalRotateBytesForTest
	MaxFactLinksForTest       = internalmemory.MaxFactLinksForTest
	MaxFactNameBytesForTest   = internalmemory.MaxFactNameBytesForTest
)

Constants used by tool contracts, capture, and prompt rendering.

Variables

View Source
var (
	AgentMemoriesRoot        = internalmemory.AgentMemoriesRoot
	AgentMemoryPromptSection = internalmemory.AgentMemoryPromptSection
	AgentMemoryRoot          = internalmemory.AgentMemoryRoot
	ApplyCaptureOp           = internalmemory.ApplyCaptureOp
	ArchiveDir               = internalmemory.ArchiveDir
	ArchiveSessionsDir       = internalmemory.ArchiveSessionsDir
	BuildIndex               = internalmemory.BuildIndex
	ChainBackfillCandidates  = internalmemory.ChainBackfillCandidates
	CodeOf                   = internalmemory.CodeOf
	CollapseLine             = internalmemory.CollapseLine
	CountFacts               = internalmemory.CountFacts
	DetectProjectRoot        = internalmemory.DetectProjectRoot
	DigestLine               = internalmemory.DigestLine
	DigestUsable             = internalmemory.DigestUsable
	Errorf                   = internalmemory.Errorf
	FactSlug                 = internalmemory.FactSlug
	FilterEvolveOps          = internalmemory.FilterEvolveOps
	FilterPageDrafts         = internalmemory.FilterPageDrafts
	FormatDigest             = internalmemory.FormatDigest
	FormatFact               = internalmemory.FormatFact
	FormatPage               = internalmemory.FormatPage
	HeadBytes                = internalmemory.HeadBytes
	IndexFile                = internalmemory.IndexFile
	JournalFile              = internalmemory.JournalFile
	MemoryRoot               = internalmemory.MemoryRoot
	NewStore                 = internalmemory.NewStore
	NewReadOnlyStore         = internalmemory.NewReadOnlyStore
	NextKey                  = internalmemory.NextKey
	NormalizeFactType        = internalmemory.NormalizeFactType
	NormalizeNewlines        = internalmemory.NormalizeNewlines
	NormalizeScene           = internalmemory.NormalizeScene
	PageCatalog              = internalmemory.PageCatalog
	PageQuestion             = internalmemory.PageQuestion
	PagesDir                 = internalmemory.PagesDir
	ParseCaptureDigest       = internalmemory.ParseCaptureDigest
	ParseCaptureResult       = internalmemory.ParseCaptureResult
	ParsePageDrafts          = internalmemory.ParsePageDrafts
	ProjectDir               = internalmemory.ProjectDir
	ProjectDirForKey         = internalmemory.ProjectDirForKey
	ProjectKey               = internalmemory.ProjectKey
	ProjectMetaFor           = internalmemory.ProjectMetaFor
	Redact                   = internalmemory.Redact
	SanitizeAgentMemoryKey   = internalmemory.SanitizeAgentMemoryKey
	SecretHoldback           = internalmemory.SecretHoldback
	SecretLike               = internalmemory.SecretLike
	SecretPatterns           = internalmemory.SecretPatterns
	SessionsDir              = internalmemory.SessionsDir
	TailBytes                = internalmemory.TailBytes
	TopicsDir                = internalmemory.TopicsDir
	UserFile                 = internalmemory.UserFile

	ApplyEdit           = internalmemory.ApplyEdit
	CaptureAttemptFile  = internalmemory.CaptureAttemptFile
	CaptureStateFile    = internalmemory.CaptureStateFile
	ChainFile           = internalmemory.ChainFile
	DefaultLimits       = internalmemory.DefaultLimits
	IsFullyPrivate      = internalmemory.IsFullyPrivate
	ParseDigest         = internalmemory.ParseDigest
	ParseFact           = internalmemory.ParseFact
	ParsePage           = internalmemory.ParsePage
	ProjectMetaFile     = internalmemory.ProjectMetaFile
	RenderIndex         = internalmemory.RenderIndex
	RenderManifest      = internalmemory.RenderManifest
	RetainDigests       = internalmemory.RetainDigests
	SearchLines         = internalmemory.SearchLines
	SlugKey             = internalmemory.SlugKey
	StripPrivateContent = internalmemory.StripPrivateContent
	TruncateIndex       = internalmemory.TruncateIndex
	ValidTopicName      = internalmemory.ValidTopicName

	RankFactsForTest         = internalmemory.RankFactsForTest
	PrepareFactForTest       = internalmemory.PrepareFactForTest
	ManifestKindRankForTest  = internalmemory.ManifestKindRankForTest
	ContainPathForTest       = internalmemory.ContainPathForTest
	DecodeJournalLineForTest = internalmemory.DecodeJournalLineForTest
	ExtractJSONObjectForTest = internalmemory.ExtractJSONObjectForTest
	RepairJSONEscapesForTest = internalmemory.RepairJSONEscapesForTest
	SlugifyForTest           = internalmemory.SlugifyForTest
)

Functions forwarded to the implementation. Each is a variable alias so the facade adds no second implementation of any rule.

Functions

This section is empty.

Types

type CaptureAttempt

type CaptureAttempt = internalmemory.CaptureAttempt

Types shared between the engine and its adapters.

type CaptureAttempts

type CaptureAttempts = internalmemory.CaptureAttempts

Types shared between the engine and its adapters.

type CaptureOp

type CaptureOp = internalmemory.CaptureOp

Types shared between the engine and its adapters.

type CapturePhase

type CapturePhase = internalmemory.CapturePhase

Types shared between the engine and its adapters.

type CaptureResult

type CaptureResult = internalmemory.CaptureResult

Types shared between the engine and its adapters.

type CaptureState

type CaptureState = internalmemory.CaptureState

Types shared between the engine and its adapters.

type ChainRevision

type ChainRevision = internalmemory.ChainRevision

Types shared between the engine and its adapters.

type Digest

type Digest = internalmemory.Digest

Types shared between the engine and its adapters.

type DigestRetention

type DigestRetention = internalmemory.DigestRetention

Types shared between the engine and its adapters.

type Error

type Error = internalmemory.Error

Types shared between the engine and its adapters.

type Fact

type Fact = internalmemory.Fact

Types shared between the engine and its adapters.

type FactMatch

type FactMatch = internalmemory.FactMatch

Types shared between the engine and its adapters.

type IndexInput

type IndexInput = internalmemory.IndexInput

Types shared between the engine and its adapters.

type JournalEntry

type JournalEntry = internalmemory.JournalEntry

Types shared between the engine and its adapters.

type Limits

type Limits = internalmemory.Limits

Types shared between the engine and its adapters.

type LinksField

type LinksField = internalmemory.LinksField

Types shared between the engine and its adapters.

type ManifestEntry

type ManifestEntry = internalmemory.ManifestEntry

Types shared between the engine and its adapters.

type Match

type Match = internalmemory.Match

Types shared between the engine and its adapters.

type MigrateResult

type MigrateResult = internalmemory.MigrateResult

Types shared between the engine and its adapters.

type Options

type Options = internalmemory.Options

Types shared between the engine and its adapters.

type Page

type Page = internalmemory.Page

Types shared between the engine and its adapters.

type PageDraft

type PageDraft = internalmemory.PageDraft

Types shared between the engine and its adapters.

type PageDraftResult

type PageDraftResult = internalmemory.PageDraftResult

Types shared between the engine and its adapters.

type PageSpec

type PageSpec = internalmemory.PageSpec

Types shared between the engine and its adapters.

type ProjectMeta

type ProjectMeta = internalmemory.ProjectMeta

Types shared between the engine and its adapters.

type ScoredFactForTest

type ScoredFactForTest = internalmemory.ScoredFactForTest

Types shared between the engine and its adapters.

type Store

type Store = internalmemory.Store

Types shared between the engine and its adapters.

Jump to

Keyboard shortcuts

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