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

This commit is contained in:
m57 authored and GitHub committed 2026-09-27 20:47:59 +03:00
1 parent 3c56026a1c
commit bbfcfada6b
13 files changed
+929 -6

No files matched your search

@@ -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"