Redesign live-to-final assistant replies#3401
Open
franksong2702 wants to merge 2 commits into
Open
Conversation
d33dbce to
a2bf57a
Compare
This was referenced Jun 2, 2026
0cc3ff9 to
c96e741
Compare
c96e741 to
a000b20
Compare
This was referenced Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thinking Path
Refs #3400.
Refs #3014 and supersedes #3015.
What Changed
you may providewordingCompressing contextContext auto-compressedwhile the run continuesCONNECTINGEventSource instancesWhy It Matters
Running agent sessions are where users build trust in Hermes WebUI. The UI should make active work legible without confusing internal lifecycle state for final assistant content. This PR moves the experience closer to mature agent clients such as Codex and Claude Code: progress remains visible while work is happening, lifecycle detail is available when useful, and the final answer remains readable and distinct.
Contract Routing
docs/rfcs/webui-run-state-consistency-contract.md,docs/UIUX-GUIDE.md,DESIGN.md, focused frontend/static tests, run-journal replay tests, and manual 8788 live-session validation.Verification
node --check static/ui.js static/messages.js static/sessions.js static/workspace.js static/panels.js static/i18n.jsgit diff --check origin/masterpython3 scripts/ruff_lint.py --diff origin/masterorigin/masterpython -m pytest -q tests/test_sprint42.py tests/test_auto_compression_card.py tests/test_stale_stream_cleanup.py tests/test_inflight_stream_reuse.py tests/test_run_journal_routes.py tests/test_run_journal_frontend_static.py108 passed, 1 warningpython -m pytest tests/ -q --timeout=60 --shard-id=0 --num-shards=32391 passed, 6 skipped, 2 xpassed, 1 warning; one local failure intests/test_profile_skills_stats.py::test_get_profile_skills_statsfrom the macOS platform fixture assumption, unrelated to this PR's diffCompressing contextandContext auto-compressedas centered live dividersScreenshots
Live running state with prose, muted tool rows, and the centered compression divider:
Compression completion while the run continues:
Dark theme live state with prose, quiet tool row, token/timer footer:
Expanded quiet tool rows remain visually subordinate to assistant prose:
Final settled state keeps the folded L1 Worklog above assistant content:
Risks / Follow-ups
Last-Event-IDsupportModel Used
AI-assisted.