tycono 0.1.96-beta.42 → 0.1.96-beta.43
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
|
@@ -125,7 +125,7 @@ class WaveMultiplexer {
|
|
|
125
125
|
console.log(`[WaveMux] Replayed ${replayEvents.length} events (${sessionList.length} total sessions, ${recentSessions.length} replayed)`);
|
|
126
126
|
|
|
127
127
|
// Phase 2: Subscribe to live events for active sessions
|
|
128
|
-
for (const
|
|
128
|
+
for (const exec of sessionList) {
|
|
129
129
|
if (exec.status === 'running' || exec.status === 'awaiting_input') {
|
|
130
130
|
this.subscribeSessionToClient(waveId, client, exec, true);
|
|
131
131
|
}
|
|
@@ -145,14 +145,17 @@ export const PanelMode: React.FC<PanelModeProps> = ({
|
|
|
145
145
|
return tree.map(scopeNode);
|
|
146
146
|
}, [tree, waveScopedStatuses]);
|
|
147
147
|
|
|
148
|
-
// Files created in this wave
|
|
149
|
-
const waveFiles = useMemo(() =>
|
|
148
|
+
// Files created in this wave — only compute when Docs tab is active
|
|
149
|
+
const waveFiles = useMemo(() => {
|
|
150
|
+
if (rightTab !== 'docs' && rightTab !== 'info') return [];
|
|
151
|
+
return extractWaveFiles(events);
|
|
152
|
+
}, [rightTab === 'docs' || rightTab === 'info' ? events.length : 0, rightTab]);
|
|
150
153
|
|
|
151
|
-
// File preview
|
|
154
|
+
// File preview — only when Docs tab + file selected
|
|
152
155
|
const selectedFile = waveFiles[docsIndex] ?? null;
|
|
153
156
|
const filePreview = useMemo(() => {
|
|
154
157
|
if (!selectedFile || rightTab !== 'docs') return [];
|
|
155
|
-
return readFilePreview(selectedFile,
|
|
158
|
+
return readFilePreview(selectedFile, 60);
|
|
156
159
|
}, [selectedFile, rightTab]);
|
|
157
160
|
|
|
158
161
|
useInput((input, key) => {
|