viberadar 0.3.150 → 0.3.151

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.
@@ -6693,10 +6693,10 @@ function connectSSE() {
6693
6693
  const startedPaths = getTaskFilePaths(task, featureKey, filePath, selectedFilePaths);
6694
6694
  startedPaths.forEach(p => { agentQueuedPaths.delete(p); agentRunningPaths.add(p); });
6695
6695
  renderContent();
6696
- // Close previous session (queue case: agent-done not fired between tasks)
6696
+ // Close PREVIOUS session only if it belongs to a different run (queue case: agent-done not fired between tasks)
6697
6697
  if (runningSessionId) {
6698
6698
  const prev = consoleSessions.find(s => s.id === runningSessionId);
6699
- if (prev && prev.status === 'running') updateSessionStatus(runningSessionId, 'ok');
6699
+ if (prev && prev.status === 'running' && prev.runId !== runId) updateSessionStatus(runningSessionId, 'ok');
6700
6700
  }
6701
6701
  const id = runId ? ensureSessionForRun({ runId, title, phase: 'running' }, true) : createSession(title);
6702
6702
  runningSessionId = id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viberadar",
3
- "version": "0.3.150",
3
+ "version": "0.3.151",
4
4
  "description": "Live module map with test coverage for vibecoding projects",
5
5
  "main": "./dist/cli.js",
6
6
  "bin": {