Problem
Due to the sentinel error bug in v3.1.12 (see #570), I had to upgrade to v3.1.13. However, v3.1.13 removed the /dcp sweep, /dcp decompress, and /dcp recompress slash subcommands, while the new TUI panel only exposes Context view, Stats view, and Manual Mode toggle. There is no user-facing way to manually trigger a sweep or manage decompressions/recompressions — those operations are only available through the LLM-controlled compress tool.
Proposed Solution
Add action buttons to the TUI PanelDialog for:
- Sweep — trigger a manual sweep (optionally with a configurable count / last N tools)
- Decompress — list past compressions and select one to restore
- Recompress — re-apply a previously decompressed entry
These would mirror the functionality that /dcp sweep, /dcp decompress, and /dcp recompress provided in v3.1.12.
Alternatives Considered
Additional Context
- opencode 1.17.9
- DCP 3.1.13
Problem
Due to the sentinel error bug in v3.1.12 (see #570), I had to upgrade to v3.1.13. However, v3.1.13 removed the
/dcp sweep,/dcp decompress, and/dcp recompressslash subcommands, while the new TUI panel only exposes Context view, Stats view, and Manual Mode toggle. There is no user-facing way to manually trigger a sweep or manage decompressions/recompressions — those operations are only available through the LLM-controlled compress tool.Proposed Solution
Add action buttons to the TUI
PanelDialogfor:These would mirror the functionality that
/dcp sweep,/dcp decompress, and/dcp recompressprovided in v3.1.12.Alternatives Considered
/dcpexclusively to the TUI, with separated config commands like/dcp-sweep,/dcp-decompressfor the server-side handlers)Additional Context