Initial scaffold: open-memory plugin for OpenCode

- Plugin entry point with hooks: experimental.session.compacting,
  experimental.chat.system.transform, event
- Context tracker: SSE-based token tracking per session with
  green/yellow/red/critical thresholds
- Tools: memory_context, memory_compact, memory_summary,
  memory_sessions, memory_messages, memory_search, memory_plans
- History module: sqlite3 queries + markdown rendering
- Compaction: improved prompt emphasizing self-continuity
- Research docs: ARCHITECTURE.md + opencode-memory reference
This commit is contained in:
glm-5.1 committed 2026-04-20 14:55:20 +00:00
commit 9a42dcfb94
16 files changed
+1296

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
dist/
node_modules/
*.lock
bun.lock
bunfig.toml