nothumanallowed 13.5.95 → 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 +1 -1
- package/src/services/web-ui.mjs +18 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "13.5.
|
|
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": {
|
package/src/services/web-ui.mjs
CHANGED
|
@@ -6776,7 +6776,15 @@ function renderWebCraft(el) {
|
|
|
6776
6776
|
: '') +
|
|
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
|
-
(wcState.
|
|
6779
|
+
(wcState.repairing ?
|
|
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
|
+
+'<div style="font-size:38px;animation:wcRobotBob 1s ease-in-out infinite">🔧</div>'
|
|
6782
|
+
+'<div style="font-size:13px;font-weight:700;color:#facc15;margin-top:12px">Correzione automatica in corso...</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
|
+
+'<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
|
+
+'</div>'
|
|
6787
|
+
: wcState.running ? (
|
|
6780
6788
|
_wcOverlayMinimized
|
|
6781
6789
|
// Minimized: small pill in bottom-right corner
|
|
6782
6790
|
? '<div id="wcGenOverlay" onclick="wcOverlayRestore()" style="position:absolute;bottom:12px;right:12px;z-index:50;background:rgba(0,0,0,0.85);border:1px solid var(--green3);border-radius:20px;padding:5px 12px;display:flex;align-items:center;gap:7px;cursor:pointer;animation:wcBubbleIn .2s ease;backdrop-filter:blur(4px)">'
|
|
@@ -8140,7 +8148,7 @@ async function wcAutoRepair(filePlan, sysPreamble) {
|
|
|
8140
8148
|
var plan = planMap[broken.name];
|
|
8141
8149
|
wcState.repairDone = ri;
|
|
8142
8150
|
wcState.repairCurrent = broken.name;
|
|
8143
|
-
|
|
8151
|
+
wcUpdateRepairOverlay();
|
|
8144
8152
|
|
|
8145
8153
|
await new Promise(function(resolve){ setTimeout(resolve, 2000); });
|
|
8146
8154
|
try {
|
|
@@ -8177,7 +8185,7 @@ async function wcAutoRepair(filePlan, sysPreamble) {
|
|
|
8177
8185
|
} catch(e) { /* keep as broken */ }
|
|
8178
8186
|
|
|
8179
8187
|
wcState.repairDone = ri + 1;
|
|
8180
|
-
|
|
8188
|
+
wcUpdateRepairOverlay();
|
|
8181
8189
|
}
|
|
8182
8190
|
|
|
8183
8191
|
_wcRepairRunning = false;
|
|
@@ -8198,6 +8206,13 @@ async function wcAutoRepair(filePlan, sysPreamble) {
|
|
|
8198
8206
|
}
|
|
8199
8207
|
|
|
8200
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
|
+
|
|
8201
8216
|
function wcTriggerRepair() {
|
|
8202
8217
|
if (_wcRepairRunning) return;
|
|
8203
8218
|
wcAutoRepair(_wcLastFilePlan, _wcLastSysPreamble);
|