nothumanallowed 13.5.133 → 13.5.135

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,11 +1,11 @@
1
1
  {
2
2
  "name": "nothumanallowed",
3
- "version": "13.5.133",
3
+ "version": "13.5.135",
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": {
7
- "nha": "./bin/nha",
8
- "nothumanallowed": "./bin/nha"
7
+ "nha": "bin/nha",
8
+ "nothumanallowed": "bin/nha"
9
9
  },
10
10
  "engines": {
11
11
  "node": ">=20.0.0"
@@ -50,7 +50,7 @@
50
50
  "license": "MIT",
51
51
  "repository": {
52
52
  "type": "git",
53
- "url": "https://github.com/adoslabsproject-gif/nothumanallowed"
53
+ "url": "git+https://github.com/adoslabsproject-gif/nothumanallowed.git"
54
54
  },
55
55
  "homepage": "https://nothumanallowed.com",
56
56
  "scripts": {
@@ -4242,6 +4242,7 @@ ${task}
4242
4242
  CRITICAL: Do NOT invent, hallucinate, or add any data not present in the DATA sections below. ONLY use the exact data provided.
4243
4243
  Do NOT output JSON, tool calls, or code blocks. Write in plain text with markdown headers.
4244
4244
  Always apply your analysis specifically to the subject mentioned in the WORKFLOW GOAL.
4245
+ FILTER: If the DATA sections contain content from web pages that is NOT relevant to the WORKFLOW GOAL (e.g. ads, unrelated articles, off-topic blog posts), IGNORE that content entirely. Only extract and present information that directly answers the WORKFLOW GOAL.
4245
4246
 
4246
4247
  ${attachmentText ? `## ATTACHED FILE CONTENT:\n${attachmentText}\n` : ''}${toolData ? `## DATA FROM TOOLS:\n${toolData}\n` : '## DATA: No data was retrieved by this agent.\n'}
4247
4248
  ${contextBlock}
package/src/constants.mjs CHANGED
@@ -5,7 +5,7 @@ import { fileURLToPath } from 'url';
5
5
  const __filename = fileURLToPath(import.meta.url);
6
6
  const __dirname = path.dirname(__filename);
7
7
 
8
- export const VERSION = '13.5.133';
8
+ export const VERSION = '13.5.135';
9
9
  export const BASE_URL = 'https://nothumanallowed.com/cli';
10
10
  export const API_BASE = 'https://nothumanallowed.com/api/v1';
11
11
 
@@ -410,7 +410,7 @@ export async function webSearchDeep(query, fetchCount = 3) {
410
410
  title: content.title || result.title,
411
411
  url: result.url,
412
412
  snippet: result.snippet,
413
- content: content.body,
413
+ content: content.body ? content.body.slice(0, 2000) : '',
414
414
  excerpt: content.excerpt,
415
415
  };
416
416
  }
@@ -8371,7 +8371,7 @@ async function wcTriggerCrashFix(errorMsg) {
8371
8371
  });
8372
8372
  if (wcChatRunning) return;
8373
8373
  }
8374
- var fixMsg = 'AUTO-FIX: ' + errorMsg + String.fromCharCode(10) + 'Il server Express ha crashato con questo errore. Analizza tutti i file del progetto, individua la causa e correggi il codice. Modifica i file necessari usando i tool disponibili.';
8374
+ var fixMsg = 'CRASH FIX RICHIESTO.' + String.fromCharCode(10) + 'ERRORE:' + String.fromCharCode(10) + errorMsg + String.fromCharCode(10) + String.fromCharCode(10) + 'ISTRUZIONI OBBLIGATORIE:' + String.fromCharCode(10) + '1. Leggi i file coinvolti nello stack trace' + String.fromCharCode(10) + '2. Individua la riga esatta del problema' + String.fromCharCode(10) + '3. Usa OBBLIGATORIAMENTE il tool edit_file o write_file per correggere il codice' + String.fromCharCode(10) + '4. NON limitarti a spiegare il problema - DEVI modificare i file' + String.fromCharCode(10) + '5. Dopo aver modificato, il sandbox verrà riavviato automaticamente';
8375
8375
  wcChat.push({ role: 'user', text: '\uD83E\uDD16 Auto-fix crash: ' + errorMsg });
8376
8376
  wcChatRunning = true;
8377
8377
  renderWebCraft(document.getElementById('content'));
@@ -8403,7 +8403,7 @@ async function wcTriggerCrashFix(errorMsg) {
8403
8403
  var ev4 = JSON.parse(line4);
8404
8404
  if (ev4.type === 'text') { agentMsg.text += ev4.token; }
8405
8405
  else if (ev4.type === 'tool') { agentMsg.tools.push({ op: ev4.op, path: ev4.path, result: ev4.result, oldSnippet: ev4.oldSnippet || '', newSnippet: ev4.newSnippet || '' }); }
8406
- else if (ev4.type === 'done') { wcChatRunning = false; if (ev4.changed) { wcReloadProjectFiles(); } }
8406
+ else if (ev4.type === 'done') { wcChatRunning = false; if (ev4.changed) { wcReloadProjectFiles(); } if (agentMsg.tools.length > 0) { setTimeout(function(){ wcStartSandbox(); }, 500); } }
8407
8407
  else if (ev4.type === 'restart_sandbox') { wcStartSandbox(); }
8408
8408
  else if (ev4.type === 'error') { agentMsg.text += String.fromCharCode(10)+'Errore: '+ev4.msg; wcChatRunning = false; }
8409
8409
  } catch(_) {}