tycono 0.3.1 → 0.3.2

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 +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tycono",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Build an AI company. Watch them work.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/tui/app.tsx CHANGED
@@ -402,6 +402,8 @@ export const App: React.FC = () => {
402
402
  onFocusWave: (waveId) => {
403
403
  setFocusedWaveId(waveId);
404
404
  sse.clearEvents();
405
+ setSystemMessages([]); // Clear old messages
406
+ loadPreviousConversation(waveId);
405
407
  },
406
408
  onQuit: () => exit(),
407
409
  onShowPanel: () => setMode('panel'),
@@ -647,6 +649,8 @@ export const App: React.FC = () => {
647
649
  onFocusWave={(newWaveId) => {
648
650
  setFocusedWaveId(newWaveId);
649
651
  sse.clearEvents();
652
+ setSystemMessages([]);
653
+ loadPreviousConversation(newWaveId);
650
654
  }}
651
655
  />
652
656
  </Box>