/** * ACM - Active Context Management Plugin for OpenCode * * Implements memory management tools (pin, compact, prune, load, etc.) * and a context filter that hides compacted messages from the LLM. * * Zero schema changes to upstream OpenCode. State stored in separate acm.db. * * Hooks used: * - tool: registers all ACM tools * - experimental.chat.messages.transform: filters compacted messages * - experimental.chat.system.transform: injects context status whisper * - event: listens to session events for MKP post-processing */ import type { Plugin } from "@opencode-ai/plugin"; declare const plugin: Plugin; export default plugin; export { plugin as server };