mirror of
https://github.com/bendtherules/opencode-plugin-compaction-prompt.git
synced 2026-08-18 13:42:55 +00:00
OpenCode's argument token is $ARGUMENTS, not $ARGUMENTS$. With the extra dollar sign, OpenCode did not substitute the token, so the LLM ended up writing the literal $ARGUMENTS$ line into the memory file when no arguments were passed.
947 B
947 B
Changelog
0.3.1
- Fix the OpenCode
$ARGUMENTStoken in theplugin-compaction-inittemplate so it is properly substituted instead of being written into the memory file.
0.3.0
- Auto-register a
/plugin-compaction-initslash command that scaffolds the compaction memory file with## Keepand## Discardsections of classification rules. User-supplied arguments are appended to extend the defaults.
0.2.4
- Normalize npm package repository metadata.
0.2.3
- Always ask the model to report whether custom compaction instructions were applied.
0.2.2
- Add explicit markers for applied and skipped custom compaction instructions.
0.2.1
- Add the server entrypoint expected by OpenCode's npm plugin loader.
0.1.2
- Skip compaction prompt changes when no prompt or memory file is provided.
0.1.1
- Publish the standalone plugin from its public GitHub repository.
0.1.0
- Initial standalone release.