tycono 0.3.39 → 0.3.41

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tycono",
3
- "version": "0.3.39",
3
+ "version": "0.3.41",
4
4
  "description": "Build an AI company. Watch them work.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/tui/app.tsx CHANGED
@@ -762,7 +762,7 @@ export const App: React.FC = () => {
762
762
  />
763
763
  </Box>
764
764
  )}
765
- {mode !== 'panel' && <Box flexDirection="column">
765
+ <Box display={mode === 'panel' ? 'none' : 'flex'} flexDirection="column">
766
766
  <CommandMode
767
767
  eventLines={eventLines}
768
768
  systemMessages={systemMessages}
@@ -777,7 +777,7 @@ export const App: React.FC = () => {
777
777
  activeSessions={api.activeSessions}
778
778
  focusedWaveId={focusedWaveId}
779
779
  />
780
- </Box>}
780
+ </Box>
781
781
  <StatusBar
782
782
  companyName={api.company?.name ?? 'Loading...'}
783
783
  waveIndex={focusedWaveIndex}
@@ -123,8 +123,7 @@ const PanelModeInner: React.FC<PanelModeProps> = ({
123
123
  useInput((input, key) => {
124
124
  if (key.escape) {
125
125
  if (docsPreview) { setDocsPreview(false); return; }
126
- // Panel→Command mode switch handled by app.tsx global handler
127
- return;
126
+ onEscape(); return;
128
127
  }
129
128
  if (input === 'h' || key.leftArrow) {
130
129
  const tabs: RightTab[] = ['stream', 'docs', 'info'];