viberadar 0.3.35 → 0.3.36

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.
@@ -978,17 +978,12 @@ async function reauthAgent() {
978
978
  }
979
979
 
980
980
  async function runAgentTask(task, featureKey, filePath) {
981
- if (agentRunning) {
982
- // Show panel so user sees cancel button
983
- document.getElementById('agentPanel').classList.add('open');
984
- document.getElementById('termBtn').classList.add('term-active');
985
- appendTerminalLine('⚠️ Агент уже запущен. Нажми ⏹ сброс чтобы отменить.', true);
986
- return;
987
- }
988
- document.getElementById('agentTerminal').innerHTML = '';
989
- document.getElementById('agentPanelStatus').textContent = 'запускаю…';
990
981
  document.getElementById('agentPanel').classList.add('open');
991
982
  document.getElementById('termBtn').classList.add('term-active');
983
+ if (!agentRunning) {
984
+ document.getElementById('agentTerminal').innerHTML = '';
985
+ document.getElementById('agentPanelStatus').textContent = 'запускаю…';
986
+ }
992
987
  await fetch('/api/run-agent', {
993
988
  method: 'POST',
994
989
  headers: { 'Content-Type': 'application/json' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viberadar",
3
- "version": "0.3.35",
3
+ "version": "0.3.36",
4
4
  "description": "Live module map with test coverage for vibecoding projects",
5
5
  "main": "./dist/cli.js",
6
6
  "bin": {