mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 22:40:26 +00:00
refactor: move memory flush ownership into memory plugin
This commit is contained in:
@@ -1397,6 +1397,10 @@ export type OpenClawPluginApi = {
|
||||
registerMemoryPromptSection: (
|
||||
builder: import("../memory/prompt-section.js").MemoryPromptSectionBuilder,
|
||||
) => void;
|
||||
/** Register the pre-compaction flush plan resolver for this memory plugin (exclusive slot). */
|
||||
registerMemoryFlushPlan: (
|
||||
resolver: import("../memory/flush-plan.js").MemoryFlushPlanResolver,
|
||||
) => void;
|
||||
resolvePath: (input: string) => string;
|
||||
/** Register a lifecycle hook handler */
|
||||
on: <K extends PluginHookName>(
|
||||
|
||||
Reference in New Issue
Block a user