nothumanallowed 13.5.96 → 13.5.97

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nothumanallowed",
3
- "version": "13.5.96",
3
+ "version": "13.5.97",
4
4
  "description": "NotHumanAllowed — 38 AI agents, 80 tools, Studio (visual agentic workflows). Email, calendar, browser automation, screen capture, canvas, cron/heartbeat, Alexandria E2E messaging, GitHub, Notion, Slack, voice chat, free AI (Liara), 28 languages. Zero-dependency CLI.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -6777,11 +6777,11 @@ function renderWebCraft(el) {
6777
6777
  '</div>' +
6778
6778
  '<div data-wc-files style="position:relative;flex:1;min-width:0;background:var(--bg2);border:1px solid var(--border);border-radius:10px;display:flex;flex-direction:column;height:100%;overflow:hidden">' +
6779
6779
  (wcState.repairing ?
6780
- '<div style="position:absolute;inset:0;background:rgba(0,0,0,0.75);backdrop-filter:blur(4px);border-radius:10px;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;animation:wcBubbleIn .3s ease">'
6780
+ '<div id="wcRepairOverlay" style="position:absolute;inset:0;background:rgba(0,0,0,0.75);backdrop-filter:blur(4px);border-radius:10px;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center">'
6781
6781
  +'<div style="font-size:38px;animation:wcRobotBob 1s ease-in-out infinite">&#128295;</div>'
6782
6782
  +'<div style="font-size:13px;font-weight:700;color:#facc15;margin-top:12px">Correzione automatica in corso...</div>'
6783
- +'<div style="font-size:11px;color:var(--dim);margin-top:6px">'+wcState.repairDone+' / '+wcState.repairTotal+' file</div>'
6784
- +(wcState.repairCurrent ? '<div style="font-size:10px;color:#fde68a;font-family:var(--mono);margin-top:4px;max-width:280px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">'+wcEsc(wcState.repairCurrent)+'</div>' : '')
6783
+ +'<div id="wcRepairCounter" style="font-size:11px;color:var(--dim);margin-top:6px">'+wcState.repairDone+' / '+wcState.repairTotal+' file</div>'
6784
+ +'<div id="wcRepairFile" style="font-size:10px;color:#fde68a;font-family:var(--mono);margin-top:4px;max-width:280px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">'+wcEsc(wcState.repairCurrent)+'</div>'
6785
6785
  +'<div style="display:flex;gap:4px;margin-top:16px">'+[0,1,2,3,4].map(function(_,idx){ return '<div style="width:6px;height:6px;border-radius:50%;background:#facc15;animation:wcDot 1.1s ease-in-out infinite '+(idx*0.14)+'s"></div>'; }).join('')+'</div>'
6786
6786
  +'</div>'
6787
6787
  : wcState.running ? (
@@ -8148,7 +8148,7 @@ async function wcAutoRepair(filePlan, sysPreamble) {
8148
8148
  var plan = planMap[broken.name];
8149
8149
  wcState.repairDone = ri;
8150
8150
  wcState.repairCurrent = broken.name;
8151
- renderWebCraft(document.getElementById('content'));
8151
+ wcUpdateRepairOverlay();
8152
8152
 
8153
8153
  await new Promise(function(resolve){ setTimeout(resolve, 2000); });
8154
8154
  try {
@@ -8185,7 +8185,7 @@ async function wcAutoRepair(filePlan, sysPreamble) {
8185
8185
  } catch(e) { /* keep as broken */ }
8186
8186
 
8187
8187
  wcState.repairDone = ri + 1;
8188
- renderWebCraft(document.getElementById('content'));
8188
+ wcUpdateRepairOverlay();
8189
8189
  }
8190
8190
 
8191
8191
  _wcRepairRunning = false;
@@ -8206,6 +8206,13 @@ async function wcAutoRepair(filePlan, sysPreamble) {
8206
8206
  }
8207
8207
 
8208
8208
  // Manual trigger for repair — called from "Correggi tutti" button
8209
+ function wcUpdateRepairOverlay() {
8210
+ var counter = document.getElementById('wcRepairCounter');
8211
+ var fileEl = document.getElementById('wcRepairFile');
8212
+ if (counter) counter.textContent = wcState.repairDone + ' / ' + wcState.repairTotal + ' file';
8213
+ if (fileEl) fileEl.textContent = wcState.repairCurrent;
8214
+ }
8215
+
8209
8216
  function wcTriggerRepair() {
8210
8217
  if (_wcRepairRunning) return;
8211
8218
  wcAutoRepair(_wcLastFilePlan, _wcLastSysPreamble);