tycono 0.3.14-beta.5 → 0.3.14-beta.7
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
|
@@ -180,7 +180,7 @@ class ExecutionManager {
|
|
|
180
180
|
|
|
181
181
|
this.executions.set(execId, execution);
|
|
182
182
|
|
|
183
|
-
this.initializeAndRunExecution(execution, params, orgTree);
|
|
183
|
+
this.initializeAndRunExecution(execution, params, orgTree, presetId);
|
|
184
184
|
|
|
185
185
|
return execution;
|
|
186
186
|
}
|
|
@@ -189,6 +189,7 @@ class ExecutionManager {
|
|
|
189
189
|
execution: Execution,
|
|
190
190
|
params: StartExecutionParams,
|
|
191
191
|
orgTree: ReturnType<typeof buildOrgTree>,
|
|
192
|
+
presetId?: string,
|
|
192
193
|
): Promise<void> {
|
|
193
194
|
try {
|
|
194
195
|
const ports = await portRegistry.allocate(execution.sessionId || execution.id, params.roleId, params.task);
|
package/src/tui/app.tsx
CHANGED
|
@@ -677,8 +677,10 @@ export const App: React.FC = () => {
|
|
|
677
677
|
</Box>
|
|
678
678
|
);
|
|
679
679
|
}
|
|
680
|
+
// Cap panel width to prevent yoga OOM on very wide terminals (245+ columns)
|
|
681
|
+
const panelWidth = Math.min(process.stdout.columns || 120, 160);
|
|
680
682
|
return (
|
|
681
|
-
<Box flexDirection="column" height={termHeight}>
|
|
683
|
+
<Box flexDirection="column" height={termHeight} width={panelWidth}>
|
|
682
684
|
<Box flexGrow={1} flexDirection="column">
|
|
683
685
|
<PanelMode
|
|
684
686
|
tree={orgTree}
|