Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/cli / / runMemoryPruneHistory

Function: runMemoryPruneHistory()

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

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

graphorin memory prune-history --older-than <duration|date> (W-066)

  • 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;

Stable