feat(core): run background compaction by default (#64290)

This commit is contained in:
Filip Hejmowski
2026-11-16 21:33:04 +01:00
committed by GitHub
Unverified
parent 7745079647
commit edd88bd3fe
22 changed files with 152 additions and 215 deletions
+4
View File
@@ -15,6 +15,10 @@ export type Percent = typeof Percent.Type
export class Info extends Schema.Class<Info>("Config.Compaction")({
auto: Schema.Boolean.pipe(optional),
background: Schema.Boolean.pipe(optional).annotate({
description:
"Write the summary in the background as the session nears automatic compaction, so it does not wait for one (default: true). A summary that is never used still costs tokens.",
}),
keep: Keep.pipe(optional),
buffer: Schema.Union([Percent, NonNegativeInt]).pipe(optional).annotate({
description:
-2
View File
@@ -9,8 +9,6 @@ export const wildcard = "all"
*/
export const registry = {
todo: "Enable the experimental todowrite tool.",
background_compaction:
"Enable experimental background compaction: summarize the conversation in the background as it nears the compaction threshold, so automatic compaction does not wait for the summary. Background summaries that are never used still cost tokens.",
media_blob: "Store new session media once in a deduplicated blob table instead of inline in every message row.",
schedules: "Enable experimental scheduled tasks that wake a session with a prompt.",
artifacts: "Enable experimental artifacts backed by pluggable providers.",