2 Commits

Author SHA1 Message Date
Jari Mustonen
a8fde89a2e
fix(memory): reset memory prompt section on plugin cache clear 2026-03-20 06:37:52 -07:00
Jari Mustonen
02222b93c5
feat(memory): delegate system prompt section to active memory plugin
Add registerMemoryPromptSection to the plugin API so the active memory
plugin provides its own system prompt builder callback. The built-in
memory-core plugin registers the existing Memory Recall section via
this new API.

When no memory plugin is active (or a plugin does not register a
builder), the memory section is simply omitted from the system prompt.
This lets third-party memory plugins inject their own guidance at the
same position in the prompt.
2026-03-20 06:37:23 -07:00