Reduce reserved compaction tokens, add instructions for AGENTS.md
This commit is contained in:
5
sloptrap
5
sloptrap
@@ -1346,7 +1346,7 @@ ensure_opencode_config() {
|
||||
compaction: {
|
||||
auto: true,
|
||||
prune: true,
|
||||
reserved: 16000
|
||||
reserved: 12000
|
||||
},
|
||||
watcher: {
|
||||
ignore: [
|
||||
@@ -1371,6 +1371,9 @@ ensure_opencode_config() {
|
||||
external_directory: "allow",
|
||||
doom_loop: "ask"
|
||||
}
|
||||
"instructions": [
|
||||
"AGENTS.md"
|
||||
]
|
||||
}' >"$OPENCODE_CONFIG_HOST"; then
|
||||
error "failed to write opencode config '$OPENCODE_CONFIG_HOST'"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user