@devries-cameron20 / t3code Mirror · read-only / commits / 7e8b40f57c
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 08:15 UTC

docs(opencode): say where compaction is configured (#27614)

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>

Wagner Rosa committed Nov 1, 2026 at 22:47 UTC 7e8b40f57cf29fdc724d6da4d36d543ae057cba9
1 file changed +9
docs/user/providers-opencode.md
+9
@@ -22,6 +22,15 @@ started on 1.x continue on 2.x.
22
23 Plan mode uses OpenCode's `plan` agent.
24
25 +## Compaction
26 +
27 +OpenCode compacts long conversations itself, and T3 Code has no setting for it. On
28 +OpenCode 2, change it under `compaction` in an OpenCode configuration file, such as
29 +`opencode.json`: `auto` turns
30 +automatic compaction on or off, `buffer` sets the token headroom, and `keep.tokens`
31 +sets how much recent context stays. OpenCode 1.x configures compaction differently.
32 +Send `/compact` to compact a thread yourself.
33 +
34 ## Local or external server
35
36 Leave **Server URL** empty to let T3 Code start OpenCode locally. A password in