nothumanallowed 13.5.149 → 13.5.151
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/chat.mjs +3 -2
- package/src/commands/ui.mjs +10 -6
- 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.151",
|
|
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/chat.mjs
CHANGED
|
@@ -570,8 +570,9 @@ function formatToolResult(action, params, result) {
|
|
|
570
570
|
export async function cmdChat(args) {
|
|
571
571
|
const config = loadConfig();
|
|
572
572
|
|
|
573
|
-
|
|
574
|
-
|
|
573
|
+
const activeProvider = config.llm.provider || 'anthropic';
|
|
574
|
+
if (activeProvider !== 'nha' && !config.llm.apiKey) {
|
|
575
|
+
fail('No API key configured. Run: nha config set key YOUR_KEY\n Or use the free tier: nha config set provider nha');
|
|
575
576
|
process.exit(1);
|
|
576
577
|
}
|
|
577
578
|
|
package/src/commands/ui.mjs
CHANGED
|
@@ -236,7 +236,7 @@ export async function cmdUI(args) {
|
|
|
236
236
|
port = parseInt(arg.split('=')[1], 10) || DEFAULT_PORT;
|
|
237
237
|
} else if (arg === '--no-browser') {
|
|
238
238
|
noBrowser = true;
|
|
239
|
-
} else if (arg === '--lan') {
|
|
239
|
+
} else if (arg === '--lan' || arg === '--host' || arg === '--host=0.0.0.0') {
|
|
240
240
|
lanMode = true;
|
|
241
241
|
}
|
|
242
242
|
}
|
|
@@ -6551,16 +6551,20 @@ CRITICAL WRITING RULES — ENFORCE STRICTLY:
|
|
|
6551
6551
|
console.log('');
|
|
6552
6552
|
console.log(` ${G}Local:${NC} ${localUrl}`);
|
|
6553
6553
|
if (lanUrl) {
|
|
6554
|
-
console.log(` ${G}Network:${NC} ${lanUrl} ${D}(
|
|
6554
|
+
console.log(` ${G}Network:${NC} ${lanUrl} ${D}(VM host, phone, tablet)${NC}`);
|
|
6555
|
+
}
|
|
6556
|
+
const providerLabel = config.llm.provider || 'nha';
|
|
6557
|
+
const providerDisplay = providerLabel === 'nha' ? `${G}nha (Liara — free, no key needed)${NC}` : providerLabel;
|
|
6558
|
+
console.log(` ${D}Provider:${NC} ${providerDisplay}`);
|
|
6559
|
+
if (providerLabel !== 'nha') {
|
|
6560
|
+
console.log(` ${D}API Key:${NC} ${config.llm.apiKey ? config.llm.apiKey.slice(0, 12) + '...' : '\x1b[0;31mnot set — run: nha config set provider nha\x1b[0m'}`);
|
|
6555
6561
|
}
|
|
6556
|
-
console.log(` ${D}Provider:${NC} ${config.llm.provider || 'not set'}`);
|
|
6557
|
-
console.log(` ${D}API Key:${NC} ${config.llm.apiKey ? config.llm.apiKey.slice(0, 12) + '...' : '\x1b[0;31mnot set\x1b[0m'}`);
|
|
6558
6562
|
console.log(` ${D}Agents loaded:${NC} ${agentCards.length}`);
|
|
6559
6563
|
console.log('');
|
|
6560
6564
|
if (lanUrl) {
|
|
6561
|
-
console.log(` ${D}Open ${lanUrl} on your
|
|
6565
|
+
console.log(` ${D}Open ${lanUrl} on your host machine / phone / tablet.${NC}`);
|
|
6562
6566
|
} else {
|
|
6563
|
-
console.log(` ${D}Tip: use --lan to access from phone
|
|
6567
|
+
console.log(` ${D}Tip: use --lan to access from VM host, phone or tablet on same network.${NC}`);
|
|
6564
6568
|
}
|
|
6565
6569
|
console.log(` ${D}Press Ctrl+C to stop${NC}`);
|
|
6566
6570
|
console.log('');
|
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.151';
|
|
9
9
|
export const BASE_URL = 'https://nothumanallowed.com/cli';
|
|
10
10
|
export const API_BASE = 'https://nothumanallowed.com/api/v1';
|
|
11
11
|
|