feat: add compaction prompt plugin

This commit is contained in:
2026-08-01 16:51:37 +05:30
commit 9b70b18295
13 changed files with 543 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
There are two features in progress:
- Preserve everything related to session export feature.
- Do not preserve discussions related to email notifications.
Keep the relevant file line numbers and short code snippets.
+14
View File
@@ -0,0 +1,14 @@
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
[
"opencode-plugin-compaction-prompt",
{
"memoryFile": ".opencode/compaction.md",
"mode": "append",
"prompt": "<Example prompt for compaction>",
"completionMarker": "Custom compaction request honored."
}
]
]
}