feat(chat): support first-class /compress and /compact session compression (#1306)

This commit is contained in:
m57
2026-09-27 20:47:59 +03:00
committed by GitHub
parent 3c56026a1c
commit bbfcfada6b
13 changed files with 929 additions and 6 deletions
@@ -73,7 +73,6 @@ object CommandBlocklist {
"/image",
"/quit",
// TUI-only extras (meaningless outside the TUI)
"/compact",
"/logs",
"/mouse",
)
@@ -16,6 +16,7 @@ object WsMethods {
const val SESSION_TITLE = "session.title"
const val SESSION_BRANCH = "session.branch"
const val SESSION_BRANCH_WHOLE = "session.branch_whole"
const val SESSION_COMPRESS = "session.compress"
/** Replay recorded events newer than client's last-seen seq for a session. */
const val SESSION_EVENTS_SINCE = "session.events.since"