Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

@ammar-agent ammar-agent commented Dec 20, 2025

Summary

  • Treat /compact muxMetadata.rawCommand as command-line only (no multiline continue payload), eliminating duplicate-looking content in the UI.
  • Centralize edit-text reconstruction so editing a compaction request reliably yields:
    • /compact … + newline + continue text (when present)
  • Make cancel-compaction/edit deterministic without backend changes:
    • Enter edit mode before interrupting
    • Ignore restore-to-input "replace" events while editing (prevents clobbering the edit buffer)

Validation

  • make typecheck
  • make lint
  • Unit tests: bun test src/browser/utils/chatCommands.test.ts src/browser/utils/compaction/handler.test.ts

Generated with mux • Model: openai:gpt-5.2 • Thinking: xhigh

@ammar-agent ammar-agent changed the base branch from main to compaction-2z47 December 20, 2025 21:39
@ammar-agent ammar-agent changed the title 🤖 fix: de-jank /compact + avoid loading hang during compaction 🤖 fix: improve /compact edit-message UX Dec 20, 2025
Base automatically changed from compaction-2z47 to main December 21, 2025 00:42
@ammar-agent ammar-agent force-pushed the compact-wyqm branch 2 times, most recently from 7be9271 to 877278b Compare December 21, 2025 02:55
@ammario ammario merged commit 534ee43 into main Dec 21, 2025
20 checks passed
@ammario ammario deleted the compact-wyqm branch December 21, 2025 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants