viberadar 0.3.135 → 0.3.137

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.
@@ -4428,8 +4428,6 @@ function renderDocFeatureCards(c) {
4428
4428
  <div class="doc-kpi"><span class="doc-kpi-val" style="color:var(--red)">${doc.missingCount}</span><span class="doc-kpi-lbl">Без доки</span></div>
4429
4429
  <div class="doc-kpi"><span class="doc-kpi-val">${docPct}%</span><span class="doc-kpi-lbl">Задокументировано</span></div>
4430
4430
  <div style="margin-left:auto;display:flex;align-items:center;gap:8px">
4431
- <a href="/api/docs/export/md" download class="doc-agent-btn" style="font-size:13px;padding:6px 14px;text-decoration:none">⬇ .md</a>
4432
- <a href="/api/docs/export/docx" download class="doc-agent-btn" style="font-size:13px;padding:6px 14px;text-decoration:none">⬇ .docx</a>
4433
4431
  <button class="doc-agent-btn" id="deployDocsBtn" style="background:var(--blue);color:#fff;border-color:var(--blue);font-size:13px;padding:6px 16px">▲ Deploy</button>
4434
4432
  </div>
4435
4433
  </div>
@@ -4484,8 +4482,8 @@ function renderDocFeatureCards(c) {
4484
4482
  });
4485
4483
  });
4486
4484
 
4487
- // Agent button clicks
4488
- c.querySelectorAll('.doc-agent-btn').forEach(btn => {
4485
+ // Agent button clicks — only buttons with data-task (not export <a> links)
4486
+ c.querySelectorAll('.doc-agent-btn[data-task]').forEach(btn => {
4489
4487
  btn.addEventListener('click', (e) => {
4490
4488
  e.stopPropagation();
4491
4489
  runAgentTask(btn.dataset.task, btn.dataset.key);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viberadar",
3
- "version": "0.3.135",
3
+ "version": "0.3.137",
4
4
  "description": "Live module map with test coverage for vibecoding projects",
5
5
  "main": "./dist/cli.js",
6
6
  "bin": {