tycono 0.3.16 → 0.3.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 +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tycono",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
4
4
  "description": "Build an AI company. Watch them work.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/tui/app.tsx CHANGED
@@ -634,10 +634,10 @@ export const App: React.FC = () => {
634
634
  setMode('panel');
635
635
  }
636
636
  // Esc in Command Mode → interrupt supervisor (like Claude Code)
637
- if (mode === 'command' && key.escape && focusedWaveId && derivedWaveStatus === 'running') {
638
- stopWave(focusedWaveId).then(() => {
639
- addSystemMessage('\u23F9 Interrupted. Type to continue.', 'yellow');
640
- }).catch(() => {});
637
+ // Only when actually streaming (not idle/done) prevents spam on repeated Esc
638
+ if (mode === 'command' && key.escape && focusedWaveId
639
+ && (sse.streamStatus === 'streaming')) {
640
+ stopWave(focusedWaveId).catch(() => {});
641
641
  }
642
642
  });
643
643