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: {
|
compaction: {
|
||||||
auto: true,
|
auto: true,
|
||||||
prune: true,
|
prune: true,
|
||||||
reserved: 16000
|
reserved: 12000
|
||||||
},
|
},
|
||||||
watcher: {
|
watcher: {
|
||||||
ignore: [
|
ignore: [
|
||||||
@@ -1371,6 +1371,9 @@ ensure_opencode_config() {
|
|||||||
external_directory: "allow",
|
external_directory: "allow",
|
||||||
doom_loop: "ask"
|
doom_loop: "ask"
|
||||||
}
|
}
|
||||||
|
"instructions": [
|
||||||
|
"AGENTS.md"
|
||||||
|
]
|
||||||
}' >"$OPENCODE_CONFIG_HOST"; then
|
}' >"$OPENCODE_CONFIG_HOST"; then
|
||||||
error "failed to write opencode config '$OPENCODE_CONFIG_HOST'"
|
error "failed to write opencode config '$OPENCODE_CONFIG_HOST'"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user