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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tui/app.tsx +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tycono",
3
- "version": "0.1.96-beta.16",
3
+ "version": "0.1.96-beta.17",
4
4
  "description": "Build an AI company. Watch them work.",
5
5
  "type": "module",
6
6
  "bin": {
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,