tycono 0.3.36 → 0.3.37

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.36",
3
+ "version": "0.3.37",
4
4
  "description": "Build an AI company. Watch them work.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -458,16 +458,20 @@ export const CommandMode: React.FC<CommandModeProps> = ({
458
458
  );
459
459
  })()}
460
460
 
461
- {/* Input */}
461
+ {/* Input — TextInput only rendered when active (prevents stdin capture in Panel mode) */}
462
462
  <Box paddingX={0} marginTop={0}>
463
463
  <Text color={quickBarActive ? 'gray' : 'yellow'} bold>&gt; </Text>
464
- <TextInput
465
- value={input}
466
- onChange={(v) => { setInput(v); setAcIndex(0); }}
467
- onSubmit={handleSubmit}
468
- placeholder=""
469
- focus={isActive && !quickBarActive}
470
- />
464
+ {isActive ? (
465
+ <TextInput
466
+ value={input}
467
+ onChange={(v) => { setInput(v); setAcIndex(0); }}
468
+ onSubmit={handleSubmit}
469
+ placeholder=""
470
+ focus={!quickBarActive}
471
+ />
472
+ ) : (
473
+ <Text>{input}</Text>
474
+ )}
471
475
  </Box>
472
476
 
473
477
  {/* Command autocomplete — shown when typing / */}