tycono 0.3.12 → 0.3.13-beta.0

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.12",
3
+ "version": "0.3.13-beta.0",
4
4
  "description": "Build an AI company. Watch them work.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -176,7 +176,7 @@ class ExecutionManager {
176
176
  orgTree: ReturnType<typeof buildOrgTree>,
177
177
  ): Promise<void> {
178
178
  try {
179
- const ports = await portRegistry.allocate(execution.id, params.roleId, params.task);
179
+ const ports = await portRegistry.allocate(execution.sessionId || execution.id, params.roleId, params.task);
180
180
  execution.ports = ports;
181
181
  console.log(`[ExecMgr] Allocated ports for ${execution.id} (${params.roleId}): API :${ports.api}, Vite :${ports.vite}`);
182
182
  } catch (err) {
@@ -534,7 +534,7 @@ class ExecutionManager {
534
534
  })
535
535
  .finally(() => {
536
536
  if (execution.ports) {
537
- const released = portRegistry.release(execution.id);
537
+ const released = portRegistry.release(execution.sessionId || execution.id);
538
538
  if (released) {
539
539
  console.log(`[ExecMgr] Released ports for ${execution.id}: API :${execution.ports.api}, Vite :${execution.ports.vite}`);
540
540
  }
@@ -156,7 +156,9 @@ export const PanelMode: React.FC<PanelModeProps> = ({
156
156
  return () => { process.stdout.off('resize', onResize); };
157
157
  }, []);
158
158
 
159
- const separatorStr = useMemo(() => '\u2502\n'.repeat(Math.max(5, termHeight - 8)), [termHeight]);
159
+ // OOM fix: single separator character instead of repeated newlines
160
+ // Previous: '│\n'.repeat(30) created 30 yoga nodes → layout explosion on large terminals
161
+ const separatorStr = '\u2502';
160
162
 
161
163
  const waveScopedStatuses = useMemo(
162
164
  () => getWaveScopedStatuses(allSessions, focusedWaveId),
@@ -379,10 +381,8 @@ export const PanelMode: React.FC<PanelModeProps> = ({
379
381
  )}
380
382
  </Box>
381
383
 
382
- {/* Vertical separator */}
383
- <Box flexDirection="column" marginX={0}>
384
- <Text color="gray">{separatorStr}</Text>
385
- </Box>
384
+ {/* Vertical separator — single character, not repeated newlines */}
385
+ <Text color="gray">{separatorStr}</Text>
386
386
 
387
387
  {/* Right: Tabbed panel */}
388
388
  <Box flexGrow={1} flexDirection="column" overflow="hidden">