Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/cli / / runMemoryPruneHistory

Function: runMemoryPruneHistory()

ts
function runMemoryPruneHistory(options): Promise<MemoryPruneHistoryResult>;

Defined in: packages/cli/src/commands/memory.ts:1160

Stable

graphorin memory prune-history --older-than <duration|date>

  • the supported surface over MemoryStoreExt.pruneHistory. memory_history grows by design (every supersede / quarantine transition appends) and purge() already scrubs sensitive text; this is the storage-cost hygiene lever.

Parameters

ParameterType
optionsMemoryPruneHistoryOptions

Returns

Promise&lt;MemoryPruneHistoryResult&gt;