tycono 0.1.96-beta.16 → 0.1.96-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tui/app.tsx +8 -0
package/package.json
CHANGED
package/src/tui/app.tsx
CHANGED
|
@@ -109,6 +109,14 @@ export const App: React.FC = () => {
|
|
|
109
109
|
return waveStatus;
|
|
110
110
|
}, [sse.streamStatus, waveStatus, activeCount]);
|
|
111
111
|
|
|
112
|
+
// Auto-clear waveId when wave completes → next message starts fresh wave
|
|
113
|
+
useEffect(() => {
|
|
114
|
+
if (derivedWaveStatus === 'done' && waveId) {
|
|
115
|
+
setWaveId(null);
|
|
116
|
+
setWaveStatus('idle');
|
|
117
|
+
}
|
|
118
|
+
}, [derivedWaveStatus, waveId]);
|
|
119
|
+
|
|
112
120
|
// Command handler
|
|
113
121
|
const { execute } = useCommand({
|
|
114
122
|
activeWaveId: effectiveWaveId,
|