nothumanallowed 13.5.43 → 13.5.44
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/commands/ui.mjs +3 -4
- package/src/constants.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "13.5.
|
|
3
|
+
"version": "13.5.44",
|
|
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/commands/ui.mjs
CHANGED
|
@@ -4052,8 +4052,9 @@ module.exports = { pool, query, transaction };
|
|
|
4052
4052
|
sendLog('✅ npm install completato');
|
|
4053
4053
|
|
|
4054
4054
|
// Find free port
|
|
4055
|
+
const { default: netMod } = await import('net');
|
|
4055
4056
|
const freePort = await new Promise(resolve => {
|
|
4056
|
-
const srv =
|
|
4057
|
+
const srv = netMod.createServer();
|
|
4057
4058
|
srv.listen(0, '127.0.0.1', () => { const p = srv.address().port; srv.close(() => resolve(p)); });
|
|
4058
4059
|
});
|
|
4059
4060
|
|
|
@@ -4080,15 +4081,13 @@ module.exports = { pool, query, transaction };
|
|
|
4080
4081
|
await new Promise((resolve, reject) => {
|
|
4081
4082
|
let attempts = 0;
|
|
4082
4083
|
const tryConnect = () => {
|
|
4083
|
-
|
|
4084
|
-
const s = net.createConnection(freePort, '127.0.0.1');
|
|
4084
|
+
const s = netMod.createConnection(freePort, '127.0.0.1');
|
|
4085
4085
|
s.on('connect', () => { s.destroy(); resolve(); });
|
|
4086
4086
|
s.on('error', () => {
|
|
4087
4087
|
s.destroy();
|
|
4088
4088
|
if (++attempts > 20) reject(new Error('Server non risponde dopo 10s'));
|
|
4089
4089
|
else setTimeout(tryConnect, 500);
|
|
4090
4090
|
});
|
|
4091
|
-
});
|
|
4092
4091
|
};
|
|
4093
4092
|
setTimeout(tryConnect, 1000);
|
|
4094
4093
|
});
|
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.
|
|
8
|
+
export const VERSION = '13.5.44';
|
|
9
9
|
export const BASE_URL = 'https://nothumanallowed.com/cli';
|
|
10
10
|
export const API_BASE = 'https://nothumanallowed.com/api/v1';
|
|
11
11
|
|