diff --git a/packages/core/src/v1/config/config.ts b/packages/core/src/v1/config/config.ts index f24d378d0..f85175cb7 100644 --- a/packages/core/src/v1/config/config.ts +++ b/packages/core/src/v1/config/config.ts @@ -146,7 +146,7 @@ export const Info = Schema.Struct({ description: "Enable automatic compaction when context is full (default: true)", }), prune: Schema.optional(Schema.Boolean).annotate({ - description: "Enable pruning of old tool outputs (default: true)", + description: "Enable pruning of old tool outputs (default: false)", }), tail_turns: Schema.optional(NonNegativeInt).annotate({ description: diff --git a/packages/web/src/content/docs/ar/config.mdx b/packages/web/src/content/docs/ar/config.mdx index 5a1c294bf..8f5b275e5 100644 --- a/packages/web/src/content/docs/ar/config.mdx +++ b/packages/web/src/content/docs/ar/config.mdx @@ -489,13 +489,13 @@ opencode run "Hello world" "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true + "prune": false } } ``` - `auto` - ضغط الجلسة تلقائيًا عند امتلاء السياق (الافتراضي: `true`). -- `prune` - إزالة مخرجات الأدوات القديمة لتوفير الرموز (tokens) (الافتراضي: `true`). +- `prune` - إزالة مخرجات الأدوات القديمة لتوفير الرموز (tokens) (الافتراضي: `false`). - `reserved` - مخزن مؤقت للرموز (tokens) من أجل الضغط. يترك نافذة كافية لتجنب الفيضان أثناء الضغط. --- diff --git a/packages/web/src/content/docs/bs/config.mdx b/packages/web/src/content/docs/bs/config.mdx index 3183a2f92..b37683f02 100644 --- a/packages/web/src/content/docs/bs/config.mdx +++ b/packages/web/src/content/docs/bs/config.mdx @@ -489,14 +489,14 @@ Možete kontrolirati ponašanje sažimanja konteksta putem opcije `compaction`. "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - Automatski sažimanje sesije kada je kontekst pun (podrazumevano: `true`). -- `prune` - Uklonite stare izlaze alata da sačuvate tokene (podrazumevano: `true`). +- `prune` - Uklonite stare izlaze alata da sačuvate tokene (podrazumevano: `false`). - `reserved` - Token buffer za sažimanje. Ostavlja dovoljno prostora da se izbjegne prelijevanje tokom sažimanja --- diff --git a/packages/web/src/content/docs/config.mdx b/packages/web/src/content/docs/config.mdx index 346ce6380..c1a69f5a8 100644 --- a/packages/web/src/content/docs/config.mdx +++ b/packages/web/src/content/docs/config.mdx @@ -729,15 +729,15 @@ You can control context compaction behavior through the `compaction` option. "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - Automatically compact the session when context is full (default: `true`). -- `prune` - Remove old tool outputs to save tokens (default: `true`). -- `reserved` - Token buffer for compaction. Leaves enough window to avoid overflow during compaction +- `prune` - Remove old tool outputs to save tokens (default: `false`). Set to `true` to enable pruning. +- `reserved` - Token buffer for compaction. Leaves enough window to avoid overflow during compaction. --- diff --git a/packages/web/src/content/docs/da/config.mdx b/packages/web/src/content/docs/da/config.mdx index 18b462580..189c7e5d0 100644 --- a/packages/web/src/content/docs/da/config.mdx +++ b/packages/web/src/content/docs/da/config.mdx @@ -491,14 +491,14 @@ Du kan styre kontekstkomprimeringsadfærd gennem indstillingen `compaction`. "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - Komprimer automatisk sessionen, når konteksten er fuld (standard: `true`). -- `prune` - Fjern gamle værktøjsudgange for at gemme tokens (standard: `true`). +- `prune` - Fjern gamle værktøjsudgange for at gemme tokens (standard: `false`). - `reserved` - Tokenbuffer til komprimering. Efterlader nok vindue til at undgå overløb under komprimering --- diff --git a/packages/web/src/content/docs/de/config.mdx b/packages/web/src/content/docs/de/config.mdx index 0a2040be7..15f1d6c6c 100644 --- a/packages/web/src/content/docs/de/config.mdx +++ b/packages/web/src/content/docs/de/config.mdx @@ -490,13 +490,13 @@ Sie können das Verhalten der Kontextkomprimierung über die Option `compaction` "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true + "prune": false } } ``` - `auto` – Die Sitzung wird automatisch komprimieren, wenn der Kontext voll ist (Standard: `true`). -- `prune` – Alte Tool-Ausgaben entfernen, um Token zu sparen (Standard: `true`). +- `prune` – Alte Tool-Ausgaben entfernen, um Token zu sparen (Standard: `false`). --- diff --git a/packages/web/src/content/docs/es/config.mdx b/packages/web/src/content/docs/es/config.mdx index c6142e699..4b0ad5d54 100644 --- a/packages/web/src/content/docs/es/config.mdx +++ b/packages/web/src/content/docs/es/config.mdx @@ -490,13 +490,13 @@ Puede controlar el comportamiento de compactación del contexto a través de la "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true + "prune": false } } ``` - `auto`: compacta automáticamente la sesión cuando el contexto está lleno (predeterminado: `true`). -- `prune`: elimina las salidas de herramientas antiguas para guardar tokens (predeterminado: `true`). +- `prune`: elimina las salidas de herramientas antiguas para guardar tokens (predeterminado: `false`). --- diff --git a/packages/web/src/content/docs/fr/config.mdx b/packages/web/src/content/docs/fr/config.mdx index c576fe2da..f58b97aa5 100644 --- a/packages/web/src/content/docs/fr/config.mdx +++ b/packages/web/src/content/docs/fr/config.mdx @@ -490,14 +490,14 @@ Vous pouvez contrôler le comportement de compactage du contexte via l'option `c "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - Compacte automatiquement la session lorsque le contexte est plein (par défaut : `true`). -- `prune` - Supprimez les anciennes sorties de l'outil pour économiser des tokens (par défaut : `true`). +- `prune` - Supprimez les anciennes sorties de l'outil pour économiser des tokens (par défaut : `false`). - `reserved` - Tampon de jetons pour le compactage. Laisse suffisamment de marge pour éviter le débordement lors du compactage. --- diff --git a/packages/web/src/content/docs/it/config.mdx b/packages/web/src/content/docs/it/config.mdx index 05741e172..1026b870a 100644 --- a/packages/web/src/content/docs/it/config.mdx +++ b/packages/web/src/content/docs/it/config.mdx @@ -489,14 +489,14 @@ Puoi controllare il comportamento di compattazione del contesto tramite l'opzion "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - Compatta automaticamente la sessione quando il contesto e pieno (predefinito: `true`). -- `prune` - Rimuove output vecchi degli strumenti per risparmiare token (predefinito: `true`). +- `prune` - Rimuove output vecchi degli strumenti per risparmiare token (predefinito: `false`). - `reserved` - Token buffer per la compattazione. Lascia abbastanza margine per evitare overflow durante la compattazione --- diff --git a/packages/web/src/content/docs/ja/config.mdx b/packages/web/src/content/docs/ja/config.mdx index 20e29190d..44661009c 100644 --- a/packages/web/src/content/docs/ja/config.mdx +++ b/packages/web/src/content/docs/ja/config.mdx @@ -492,13 +492,13 @@ OpenCode は起動時に新しいアップデートを自動的にダウンロ "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true + "prune": false } } ``` - `auto` - コンテキストがいっぱいのときにセッションを自動的に圧縮します (デフォルト: `true`)。 -- `prune` - 古いツールの出力を削除してトークンを保存します (デフォルト: `true`)。 +- `prune` - 古いツールの出力を削除してトークンを保存します (デフォルト: `false`)。 --- diff --git a/packages/web/src/content/docs/ko/config.mdx b/packages/web/src/content/docs/ko/config.mdx index 2f08824d6..3455b05b5 100644 --- a/packages/web/src/content/docs/ko/config.mdx +++ b/packages/web/src/content/docs/ko/config.mdx @@ -489,14 +489,14 @@ OpenCode는 시작 시 새 업데이트를 자동으로 다운로드합니다. ` "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - context가 가득 찼을 때 세션을 자동 compact합니다(기본값: `true`). -- `prune` - token 절약을 위해 오래된 tool 출력을 제거합니다(기본값: `true`). +- `prune` - token 절약을 위해 오래된 tool 출력을 제거합니다(기본값: `false`). - `reserved` - compaction용 token buffer입니다. compaction 중 overflow가 나지 않도록 충분한 window를 남깁니다. --- diff --git a/packages/web/src/content/docs/nb/config.mdx b/packages/web/src/content/docs/nb/config.mdx index e8b32d5a0..f617c1b8a 100644 --- a/packages/web/src/content/docs/nb/config.mdx +++ b/packages/web/src/content/docs/nb/config.mdx @@ -491,14 +491,14 @@ Du kan styre kontekstkomprimering gjennom alternativet `compaction`. "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - Komprimer økten automatisk når konteksten er full (standard: `true`). -- `prune` - Fjern gamle verktøyutdata for å spare tokens (standard: `true`). +- `prune` - Fjern gamle verktøyutdata for å spare tokens (standard: `false`). - `reserved` - Token-buffer for komprimering. Etterlater nok vindu til å unngå overflyt under komprimering --- diff --git a/packages/web/src/content/docs/pl/config.mdx b/packages/web/src/content/docs/pl/config.mdx index a6a6fb156..176d4ac7d 100644 --- a/packages/web/src/content/docs/pl/config.mdx +++ b/packages/web/src/content/docs/pl/config.mdx @@ -486,13 +486,13 @@ Możesz kontrolować zachowanie kompaktowania kontekstu za pomocą opcji `compac "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true + "prune": false } } ``` - `auto` - Automatycznie kompaktuj, gdy kontekst jest pełny (domyślnie: `true`). -- `prune` - Usuń stare wyniki narzędzi, aby zaoszczędzić tokeny (domyślnie: `true`). +- `prune` - Usuń stare wyniki narzędzi, aby zaoszczędzić tokeny (domyślnie: `false`). --- diff --git a/packages/web/src/content/docs/pt-br/config.mdx b/packages/web/src/content/docs/pt-br/config.mdx index 4684bb199..3dc969a9b 100644 --- a/packages/web/src/content/docs/pt-br/config.mdx +++ b/packages/web/src/content/docs/pt-br/config.mdx @@ -490,14 +490,14 @@ Você pode controlar o comportamento de compactação de contexto através da op "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - Compactar automaticamente a sessão quando o contexto estiver cheio (padrão: `true`). -- `prune` - Remover saídas antigas de ferramentas para economizar tokens (padrão: `true`). +- `prune` - Remover saídas antigas de ferramentas para economizar tokens (padrão: `false`). - `reserved` - Buffer de tokens para compactação. Deixa janela suficiente para evitar estouro durante a compactação --- diff --git a/packages/web/src/content/docs/ru/config.mdx b/packages/web/src/content/docs/ru/config.mdx index 5d91dc5e0..d6177bd59 100644 --- a/packages/web/src/content/docs/ru/config.mdx +++ b/packages/web/src/content/docs/ru/config.mdx @@ -489,14 +489,14 @@ opencode автоматически загрузит все новые обно "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` — автоматически сжимать сеанс при заполнении контекста (по умолчанию: `true`). -- `prune` — удалить старые выходные данные инструмента для сохранения токенов (по умолчанию: `true`). +- `prune` — удалить старые выходные данные инструмента для сохранения токенов (по умолчанию: `false`). - `reserved` — Буфер токенов для сжатия. Оставляет достаточное окно, чтобы избежать переполнения во время сжатия. --- diff --git a/packages/web/src/content/docs/th/config.mdx b/packages/web/src/content/docs/th/config.mdx index c58469c77..e323d8f29 100644 --- a/packages/web/src/content/docs/th/config.mdx +++ b/packages/web/src/content/docs/th/config.mdx @@ -493,14 +493,14 @@ OpenCode จะดาวน์โหลดการอัปเดตใหม "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - ​​กระชับเซสชันโดยอัตโนมัติเมื่อบริบทเต็ม (ค่าเริ่มต้น: `true`) -- `prune` - ​​ลบเอาท์พุตเครื่องมือเก่าเพื่อบันทึก tokens (ค่าเริ่มต้น: `true`) +- `prune` - ​​ลบเอาท์พุตเครื่องมือเก่าเพื่อบันทึก tokens (ค่าเริ่มต้น: `false`) - `reserved` - บัฟเฟอร์โทเค็นสำหรับการบีบอัด ให้หน้าต่างเพียงพอเพื่อหลีกเลี่ยงการล้นระหว่างการบีบอัด --- diff --git a/packages/web/src/content/docs/tr/config.mdx b/packages/web/src/content/docs/tr/config.mdx index 8a769ba69..a30b2ca31 100644 --- a/packages/web/src/content/docs/tr/config.mdx +++ b/packages/web/src/content/docs/tr/config.mdx @@ -491,14 +491,14 @@ Bağlam sıkıştırma davranışını `compaction` seçeneği aracılığıyla "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - Bağlam dolduğunda oturumu otomatik olarak sıkıştırır (varsayılan: `true`). -- `prune` - Belirteçleri kaydetmek için eski araç çıktılarını kaldırın (varsayılan: `true`). +- `prune` - Belirteçleri kaydetmek için eski araç çıktılarını kaldırın (varsayılan: `false`). - `reserved` - Sıkıştırma için belirteç tamponu. Sıkıştırma sırasında taşmayı önlemek için yeterli pencere bırakır. --- diff --git a/packages/web/src/content/docs/zh-cn/config.mdx b/packages/web/src/content/docs/zh-cn/config.mdx index c401bcf12..ffae7966f 100644 --- a/packages/web/src/content/docs/zh-cn/config.mdx +++ b/packages/web/src/content/docs/zh-cn/config.mdx @@ -487,14 +487,14 @@ OpenCode 启动时会自动下载新版本。您可以使用 `autoupdate` 选项 "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - 当上下文已满时自动压缩会话(默认值:`true`)。 -- `prune` - 删除旧的工具输出以节省 Token(默认值:`true`)。 +- `prune` - 删除旧的工具输出以节省 Token(默认值:`false`)。 - `reserved` - 压缩时的 Token 缓冲区。保留足够的窗口以避免压缩过程中溢出。 --- diff --git a/packages/web/src/content/docs/zh-tw/config.mdx b/packages/web/src/content/docs/zh-tw/config.mdx index a694823a6..6a670f2cf 100644 --- a/packages/web/src/content/docs/zh-tw/config.mdx +++ b/packages/web/src/content/docs/zh-tw/config.mdx @@ -491,14 +491,14 @@ OpenCode 啟動時會自動下載新版本。您可以使用 `autoupdate` 選項 "$schema": "https://opencode.ai/config.json", "compaction": { "auto": true, - "prune": true, + "prune": false, "reserved": 10000 } } ``` - `auto` - 當上下文已滿時自動壓縮工作階段(預設值:`true`)。 -- `prune` - 刪除舊的工具輸出以節省 Token(預設值:`true`)。 +- `prune` - 刪除舊的工具輸出以節省 Token(預設值:`false`)。 - `reserved` - 壓縮時的 Token 緩衝區。保留足夠的窗口以避免壓縮過程中溢出。 ---