memstatus

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 11 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

This file implements the /memory slash command (US-011, FR-20, #484) that prints a colored report describing the persistent memory store and the infinite-context state: entry counts by scope, the current context window and auto-compaction trigger point, current context usage, and checkpoint status.

Unlike /status (which reads everything through cli.Host), /memory takes its inputs explicitly so both the REPL and the TUI can call it with the live memory store, which the Host contract does not expose.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunMemory

func RunMemory(out io.Writer, store *memory.Store, memoryRoot, sessionID string, msgs agentcore.MessageList, contextWindow int, settings compaction.CompactionSettings)

RunMemory prints a colored multi-section report about persistent memory and infinite context to out. store may be nil (persistent memory disabled), in which case the memory-store section reports that state and the checkpoint / context sections still render from msgs and the checkpoint file.

func RunMemoryRecall added in v1.3.7

func RunMemoryRecall(out io.Writer, args string, reminders *runtime.ReminderRegistry) bool

RunMemoryRecall handles `/memory recall [on|off]`. It reports the policy, or persists a change to config.toml and applies it to the running session's providers. handled is false when the argument is not a recall subcommand, so the caller falls through to the full report.

Types

This section is empty.

Jump to

Keyboard shortcuts

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