mirror of
https://github.com/dtzp555-max/memory-continuity.git
synced 2026-07-19 09:42:42 +00:00
Replace prompt-based skill approach with OpenClaw lifecycle hooks (before_agent_start, agent_end, before_compaction, before_reset). State injection now happens automatically at the hook level, making it model-agnostic and reliable across all providers. - Add index.js with 5 lifecycle hooks - Add openclaw.plugin.json manifest - Rewrite post-install.sh to handle plugin installation - Update README with plugin architecture docs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"id": "memory-continuity",
|
|
"name": "Memory Continuity",
|
|
"description": "Preserves working state across /new, reset, compaction, and gateway restarts via a simple markdown checkpoint file.",
|
|
"version": "2.0.0",
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"maxStateLines": {
|
|
"type": "number",
|
|
"default": 50,
|
|
"description": "Max lines for CURRENT_STATE.md before auto-compress warning"
|
|
},
|
|
"archiveOnNew": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Archive CURRENT_STATE.md to session_archive/ on /new"
|
|
},
|
|
"autoExtract": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Auto-extract working state from conversation at agent_end"
|
|
}
|
|
}
|
|
},
|
|
"uiHints": {
|
|
"maxStateLines": { "label": "Max state file lines", "help": "Keep checkpoint small for fast recovery" },
|
|
"archiveOnNew": { "label": "Archive on /new", "help": "Save a snapshot before session reset" },
|
|
"autoExtract": { "label": "Auto-extract state", "help": "Automatically save working state when conversation ends" }
|
|
}
|
|
}
|