Commit 93c1ef3
committed
🤖 Store rawCommand in metadata & remove CompactionBarrier
Changes:
- Renamed 'command' to 'rawCommand' in CmuxFrontendMetadata
- Clarifies this is the user's exact input for faithful display
- Removed CompactionBarrier component
- StreamingBarrier now handles both streaming and compaction
- Reduces code duplication (37 lines removed)
- Updated all references to use rawCommand:
- prepareCompactionMessage() in ChatInput
- StreamingMessageAggregator display logic
- useAutoCompactContinue edit detection
- Integration test
Benefits:
- More semantic field name (rawCommand vs command)
- Single barrier component for both streaming states
- No functional changes - all tests pass1 parent 28415b6 commit 93c1ef3
File tree
6 files changed
+180
-225
lines changed- src
- components
- Messages/ChatBarrier
- hooks
- types
- utils/messages
- tests/ipcMain
6 files changed
+180
-225
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
Lines changed: 0 additions & 36 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
0 commit comments