v1.0.0
Added
- LLM-powered rule extraction — on
session.idle, the plugin creates a separate throwaway LLM session to reason about the user's messages and decide which preferences, conventions, or decisions are worth persisting. No keyword matching or regex heuristics. - Persistent rule storage as Markdown files in
.opencode/context/ - Language detection from file extensions (21 languages supported)
- Framework detection for Next.js, React, Vue, Svelte, Astro, Tailwind, Prisma, and Drizzle
/remember <rule>slash command for explicit rule saving/contextslash command for viewing all saved rules- Session compaction injection via
experimental.session.compactinghook - Active language tracking via
tool.execute.afteron file reads - Duplicate rule prevention (both at extraction and storage level)
- Full TypeScript type declarations and source maps
- Programmatic API exports for all core functions
- CI/CD pipeline with GitHub Actions (test, build, publish to npm)
Full Changelog: https://github.com/HarKro753/opencode-agent-context/commits/v1.0.0