tycono 0.3.14-beta.2 → 0.3.14-beta.4

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.14-beta.2",
3
+ "version": "0.3.14-beta.4",
4
4
  "description": "Build an AI company. Watch them work.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -172,13 +172,15 @@ class SupervisorHeartbeat {
172
172
  const waveSessions = listSessions().filter(s => s.waveId === waveId);
173
173
  const ceoSession = waveSessions.find(s => s.roleId === 'ceo') ?? null;
174
174
 
175
- // Read original directive from wave artifact file
175
+ // Read original directive + preset from wave artifact file
176
176
  let originalDirective = '';
177
+ let originalPreset: string | undefined;
177
178
  try {
178
179
  const waveFile = path.join(COMPANY_ROOT, 'operations', 'waves', `${waveId}.json`);
179
180
  if (fs.existsSync(waveFile)) {
180
181
  const waveData = JSON.parse(fs.readFileSync(waveFile, 'utf-8'));
181
182
  originalDirective = waveData.directive ?? '';
183
+ originalPreset = waveData.preset;
182
184
  }
183
185
  } catch { /* ignore */ }
184
186
 
@@ -188,6 +190,7 @@ class SupervisorHeartbeat {
188
190
  waveId,
189
191
  directive: originalDirective || text,
190
192
  continuous: false,
193
+ preset: originalPreset,
191
194
  supervisorSessionId: ceoSession?.id ?? null,
192
195
  executionId: null,
193
196
  status: 'stopped',
package/src/tui/app.tsx CHANGED
@@ -668,6 +668,15 @@ export const App: React.FC = () => {
668
668
  // Command Mode: scrollable terminal (no fullscreen)
669
669
  // Panel Mode: fullscreen (intentional — like vim for inspection)
670
670
  if (mode === 'panel') {
671
+ // OOM debug: minimal Panel Mode to isolate if yoga layout is the cause
672
+ if (process.env.PANEL_MINIMAL) {
673
+ return (
674
+ <Box flexDirection="column">
675
+ <Text color="cyan">Panel Mode (minimal debug)</Text>
676
+ <Text color="gray">Events: {sse.events.length} | Roles: {flatRoleIds.length} | Press Esc to go back</Text>
677
+ </Box>
678
+ );
679
+ }
671
680
  return (
672
681
  <Box flexDirection="column" height={termHeight}>
673
682
  <Box flexGrow={1} flexDirection="column">