nothumanallowed 13.5.181 → 13.5.182

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.181",
3
+ "version": "13.5.182",
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/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.181';
8
+ export const VERSION = '13.5.182';
9
9
  export const BASE_URL = 'https://nothumanallowed.com/cli';
10
10
  export const API_BASE = 'https://nothumanallowed.com/api/v1';
11
11
 
@@ -142,7 +142,7 @@ async function callAgentWithTools(config, agentName, userMessage) {
142
142
  const tz = Intl.DateTimeFormat().resolvedOptions().timeZone;
143
143
  const locale = Intl.DateTimeFormat().resolvedOptions().locale || 'en';
144
144
  const LANG_MAP = { en: 'English', it: 'Italian', es: 'Spanish', fr: 'French', de: 'German', pt: 'Portuguese', nl: 'Dutch', pl: 'Polish', ru: 'Russian', ja: 'Japanese', ko: 'Korean', zh: 'Chinese', ar: 'Arabic', hi: 'Hindi', tr: 'Turkish' };
145
- const language = config?.language || LANG_MAP[locale.split('-')[0]] || 'English';
145
+ const language = config?.profile?.language || config?.language || LANG_MAP[locale.split('-')[0]] || 'English';
146
146
 
147
147
  const systemPrompt = TOOL_DEFINITIONS
148
148
  .replace('{{TODAY}}', today)
@@ -254,7 +254,7 @@ class TelegramResponder {
254
254
  for (const update of data.result) {
255
255
  this.offset = update.update_id + 1;
256
256
 
257
- if (update.message && update.message.text) {
257
+ if (update.message && (update.message.text || update.message.voice || update.message.audio)) {
258
258
  // Fire-and-forget with concurrency guard
259
259
  if (this.pendingRequests < this.maxConcurrent) {
260
260
  this._handleMessage(update.message).catch(err => {