openrecall 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrecall",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Cross-session memory plugin for OpenCode with full-text search, tagging, and auto-recall",
5
5
  "module": "src/index.ts",
6
6
  "main": "src/index.ts",
package/src/index.ts CHANGED
@@ -184,6 +184,8 @@ export default async function OpenRecallPlugin(
184
184
  "Only call read/Read if memory_file_check returns \"No memory found\" or \"File has been modified\". " +
185
185
  "Calling read on a file after memory_file_check already returned its content is FORBIDDEN — it wastes tokens and time. " +
186
186
  "This rule applies to ALL files, every time, with no exceptions.",
187
+ "MANDATORY SAVE RULE: Before giving your final response to the user, call memory_store to save a concise summary of your key findings, conclusions, or answers. " +
188
+ "This ensures the knowledge is persisted for future sessions. Do this EVERY time you research, explore, or analyze something — not just when the user explicitly asks you to remember.",
187
189
  "When the user asks you to remember, save, store, or note something, you MUST call memory_store immediately.",
188
190
  "Use memory_store to save important findings, decisions, user preferences, and patterns.",
189
191
  ]