{"repo":"Plutarch01/opencode-lcm","free":true,"listed":false,"github":"https://github.com/Plutarch01/opencode-lcm","clone":"git clone https://github.com/Plutarch01/opencode-lcm.git","description":"Long-memory plugin for OpenCode with context-mode interop","language":"TypeScript","stars":65,"topics":["opencode","plugin","sqlite","fts","developer-tools","session-memory"],"license":"MIT","category":"databases-storage","readme_excerpt":"Opencode-lcm (Lossless Context Memory) A transparent long-memory plugin for OpenCode, based on the Lossless Context Memory (LCM) research by Voltropy. It captures older session context outside the active prompt, compresses it into searchable summaries and artifacts, then automatically recalls relevant details back into the prompt when the current turn needs them. The model does not become smarter, but it behaves much better across long, compacted sessions because important prior context stops disappearing. [!NOTE] This is an early community plugin for OpenCode and is not affiliated with or endorsed by the OpenCode project. Behavior, internals, and configuration may change as the project evolves. context-mode opencode-lcm preserves archived conversation context so the assistant can recall earlier decisions without re-reading old files. Pairing it with context-mode reduces tool-output token waste and keeps the active prompt lean. Installation Add to your opencode.json (project or global /.config/opencode/opencode.json ): OpenCode will automatically download the latest version from npm on startup. No manual install needed. From source Then copy or symlink the built plugin into your plugins directory: Local plugins in .opencode/plugins/ or /.config/opencode/plugins/ are loaded automatically by OpenCode at startup. How It Works OpenCode handles compaction normally — when the conversation gets too large, it shrinks the prompt. opencode-lcm works alongside that by saving older detai","default_branch":null,"files":null,"tree":[],"storefront":"/r/Plutarch01","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Plutarch01/opencode-lcm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}