nothumanallowed 16.0.25 → 16.0.26
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/constants.mjs +1 -1
- package/src/server/routes/webcraft.mjs +17 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.26",
|
|
4
4
|
"description": "Local AI assistant: 80 tools (Gmail, Calendar, Drive, GitHub, Slack, browser, code, files), 38 agents, visual workflows (Studio, AWF, WebCraft). Install with `npm i -g nothumanallowed`, run with `nha ui`. Free tier built-in (Liara), no API key required. Your data stays on your PC — OAuth tokens local, no cloud. Open-source MIT.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
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 = '16.0.
|
|
8
|
+
export const VERSION = '16.0.26';
|
|
9
9
|
export const BASE_URL = 'https://nothumanallowed.com/cli';
|
|
10
10
|
export const API_BASE = 'https://nothumanallowed.com/api/v1';
|
|
11
11
|
|
|
@@ -343,9 +343,23 @@ class SandboxManager {
|
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
} else if (missingModules.length > 0 && uniqueMissing.length === 0) {
|
|
346
|
-
// All missing modules are shimmable
|
|
347
|
-
//
|
|
348
|
-
|
|
346
|
+
// All missing modules are shimmable in THIS version of the CLI. If we
|
|
347
|
+
// reached this branch, the user has an OLDER CLI installed that doesn't
|
|
348
|
+
// know about these shims yet. Surface this loudly with the exact upgrade
|
|
349
|
+
// command — DON'T leave the user staring at a generic crash.
|
|
350
|
+
emit({ type: 'error', msg:
|
|
351
|
+
`\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n` +
|
|
352
|
+
`⚠ IL TUO NHA È OBSOLETO — questo crash è già fixato nell'ultima versione.\n` +
|
|
353
|
+
`━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n` +
|
|
354
|
+
`Moduli mancanti che la nuova versione gestisce automaticamente:\n` +
|
|
355
|
+
` → ${missingModules.join(', ')}\n\n` +
|
|
356
|
+
`Aggiorna NHA (3 comandi):\n` +
|
|
357
|
+
` 1. npm install -g nothumanallowed@latest\n` +
|
|
358
|
+
` 2. pkill -f "nha-launcher" ; pkill -f "node.*nha"\n` +
|
|
359
|
+
` 3. nha ui\n\n` +
|
|
360
|
+
`Verifica versione dopo: nha --version (deve essere >= 16.0.25)\n` +
|
|
361
|
+
`━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━`
|
|
362
|
+
});
|
|
349
363
|
}
|
|
350
364
|
|
|
351
365
|
// ── Tier 2: runtime errors that need code fix (require/import mismatch,
|