nothumanallowed 13.5.149 → 13.5.150

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,6 +1,6 @@
1
1
  {
2
2
  "name": "nothumanallowed",
3
- "version": "13.5.149",
3
+ "version": "13.5.150",
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": {
@@ -570,8 +570,9 @@ function formatToolResult(action, params, result) {
570
570
  export async function cmdChat(args) {
571
571
  const config = loadConfig();
572
572
 
573
- if (!config.llm.apiKey) {
574
- fail('No API key configured. Run: nha config set key YOUR_KEY');
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/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.149';
8
+ export const VERSION = '13.5.150';
9
9
  export const BASE_URL = 'https://nothumanallowed.com/cli';
10
10
  export const API_BASE = 'https://nothumanallowed.com/api/v1';
11
11