feat: built-in /compact and compaction rows in the transcript
- /compact is not one of the directory's commands: OpenChamber's own client supplies it and runs POST /api/session/:id/compact. The palette now starts with that local command (压缩), so picking it compacts without the model seeing anything. - A compaction message (status running/completed/failed, reason, summary, tokens) is part of the timeline. It now shows as the official client's row: a scissors glyph and "正在压缩对话" / "对话已压缩", a 显示摘要 toggle, and the summary as Markdown (revealed with the same height animation as the other folds). Failed compactions keep the error block. - Live compaction events are subscribed: started adds the running record (or refreshes the tail when it names no id), delta appends the streaming summary, ended/failed fetch the server's settled record. - Version 0.3.8 (code 308).
This commit is contained in:
1 parent
fbadf6f858
commit
b9433c30cb
7 files changed
+214
-14
No files matched your search
+1
-1
@@ -2,7 +2,7 @@ name: openchamber
|
||||
description: "A lightweight OpenChamber client for phones."
|
||||
publish_to: 'none'
|
||||
|
||||
version: 0.3.7+307
|
||||
version: 0.3.8+308
|
||||
|
||||
environment:
|
||||
sdk: ^3.14.0
|
||||
|
||||
Reference in new issue
Block a user