You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤖 Rename 'Compact Here' to 'Start Here' and add to Assistant messages (#163)
Renames 'Compact Here' to 'Start Here' and makes it available on both
Plans and final Assistant messages.
## Changes
**Shared utilities (DRY):**
- `src/utils/startHere.ts`: Core logic for replacing chat history
- `src/hooks/useStartHere.ts`: React hook for Start Here button state
- `src/constants/ui.ts`: Shared `COMPACTED_EMOJI` constant (📦)
**Component updates:**
- **ProposePlanToolCall**: Uses shared hook, removes ~30 lines of
duplicate logic
- **AssistantMessage**: Adds Start Here button to final messages
- **MessageWindow**: Adds `disabled` property to `ButtonConfig`
**Behavior:**
- Start Here button disabled when message is already compacted
- Consistent emoji (📦) across compacted badge and Start Here button
- Only shows on final (non-streaming) messages
**Documentation:**
- Updated `docs/context-management.md` to reflect new naming and
availability
## Testing
```bash
make build # ✓ Passes
```
_Generated with `cmux`_
If you've produced a plan, you can opportunistically click "Compact Here" on the plan to use it
17
-
as the entire conversation history. This operation is instant as all of the LLM's work was already
18
-
done when it created the plan.
16
+
Start Here allows you to restart your conversation from a specific point, using that message as the entire conversation history. This is available on:
19
17
20
-

18
+
-**Plans** - Click "🎯 Start Here" on any plan to use it as your conversation starting point
19
+
-**Final Assistant messages** - Click "🎯 Start Here" on any completed assistant response
21
20
22
-
This is a form of "opportunistic compaction" and is special in that you can review the post-compact
23
-
context before the old context is permanently removed.
21
+

22
+
23
+
This is a form of "opportunistic compaction" - the content is already well-structured, so the operation is instant. You can review the new starting point before the old context is permanently removed, making this the only reversible context management approach (use Cmd+Z/Ctrl+Z to undo).
0 commit comments