Coding agent UI updates v2#2206
Closed
russell-rozenbaum wants to merge 13 commits into
Closed
Conversation
- Agent Context panel shows live program via CompositionView.segment_for_agent_context and ToolResultView; strip duplicate fenced block from text. - Thread CodeWithStatics from scratchpad through ChatView into context_view. - Chat bottom bar: last-response prompt_tokens vs OpenRouter context_length, progress bar, hover fraction; parse context_length on models. - Theme vars --context-meter-track/--context-meter-fill; AgentGlobals.context_length_for_active. - Add .cursor architecture notes and PR merge checklist. Made-with: Cursor
Made-with: Cursor
- Add System(CompactionSummary) and append summary after assistant tail - OpenRouter agent calls use messages_for_openrouter (prompt+dev+suffix from latest summary+context) - Separate summarization request; block sends while compacting; UI banner and notice chunk - Clear compaction state on API errors; persist strips in-flight compaction Made-with: Cursor
- Skip Indentation.shallow_complete_segment for live agent context (it broke Aba tile invariants) - Render Fold projectors as visible ⋱ in Code.view read-only path - Rename sidebar heading to Program View; style fold in agent context Made-with: Cursor
…out) Made-with: Cursor
- Slash menu when typing / (filter, arrows, Enter); /compact forces compaction - ChatSystem slash_menu state; RequestForcedCompaction; method label for slash - Styles for slash popup; PR note on read-only fold ⋱ when shape_map is empty Made-with: Cursor
Add Cursor IDE directory to .gitignore; remove tracked files from index (local copies retained). Made-with: Cursor
…ontent parsing - Add CompactionPrompt.re with long summarizer preamble; wire Agent compaction API - Append live context snapshot (agentEditorView, errors, tests, workbench) like main agent - Parse array-shaped assistant content and optional reasoning in OpenRouter.handle_chat - Move compacting banner to bottom of chat log; refresh PR merge notes Made-with: Cursor
…y dune fmt - Send program snapshot as user message for compaction; broaden OpenRouter assistant content parsing; clearer errors for tool-only compaction replies - Edits Performed panel starts collapsed; include formatter output (dune fmt, @src/fmt) across touched sources and PR notes Made-with: Cursor
Register the "Agent UX" group in haz3ltest: slash commands and slash menu derivation, compaction dialogue slicing, CompactionPrompt assembly, OpenRouter handle_chat shapes, and context meter limit math. Document in PR-merge-to-dev. Made-with: Cursor
Made-with: Cursor
Remove the only tracked file under .cursor/ so the directory stays local-only. Consolidate .cursor/ in .gitignore with a single Cursor IDE entry. Made-with: Cursor
… docs - Scroll chat to bottom on updates only when already pinned to bottom - System prompt and developer notes use full-screen-doc (left-aligned, readable) - Hide edits summary when there are no edit tools in a turn - Wire Agent Tools to tools-view-* CSS (flex row, hover, toggle states) Made-with: Cursor
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #2206 +/- ##
==========================================
- Coverage 50.23% 49.03% -1.21%
==========================================
Files 251 254 +3
Lines 28927 29901 +974
==========================================
+ Hits 14532 14662 +130
- Misses 14395 15239 +844
🚀 New features to boost your workflow:
|
Contributor
Author
|
Closing in favor of #2210 |
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.
System prompt and developer notes use full-screen-doc (left-aligned, readable)
Hide edits summary when there are no edit tools in a turn
Wire Agent Tools to tools-view-* CSS (flex row, hover, toggle states)
Scroll chat to bottom on updates only when already pinned to bottom (still buggy)