fix: correct $ARGUMENTS token in plugin-compaction-init template

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.
This commit is contained in:
2026-08-11 12:55:37 +05:30
parent 387457ea94
commit 9f549acfde
3 changed files with 9 additions and 5 deletions
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## 0.3.1
- Fix the OpenCode `$ARGUMENTS` token in the `plugin-compaction-init` template so it is properly substituted instead of being written into the memory file.
## 0.3.0
- Auto-register a `/plugin-compaction-init` slash command that scaffolds the compaction memory file with `## Keep` and `## Discard` sections of classification rules. User-supplied arguments are appended to extend the defaults.