nothumanallowed 13.2.31 → 13.2.33

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.2.31",
3
+ "version": "13.2.33",
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": {
@@ -290,7 +290,7 @@ export async function cmdUI(args) {
290
290
  if (method === 'GET' && pathname.startsWith('/nha-ui.js')) {
291
291
  res.writeHead(200, {
292
292
  'Content-Type': 'application/javascript; charset=utf-8',
293
- 'Cache-Control': 'public, max-age=3600',
293
+ 'Cache-Control': 'no-store, no-cache, must-revalidate',
294
294
  });
295
295
  res.end(jsBundle);
296
296
  logRequest(method, pathname, 200, Date.now() - start);
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.2.31';
8
+ export const VERSION = '13.2.33';
9
9
  export const BASE_URL = 'https://nothumanallowed.com/cli';
10
10
  export const API_BASE = 'https://nothumanallowed.com/api/v1';
11
11
 
@@ -3221,7 +3221,7 @@ function runStudioStep(idx, node, task, context, stepDef, signal) {
3221
3221
  if (!isStatus) {
3222
3222
  var tok = ev.token;
3223
3223
  // Insert space between tokens if missing (Qwen3/Liara emits tokens without separators)
3224
- if (output && tok && !/[\s\n]$/.test(output) && !/^[\s\n.,;:!?)\]}\u2019\u0027"]/.test(tok)) {
3224
+ if (output && tok && !/[\s\n]$/.test(output) && !/^[\s\n.,;:!?)}\]"]/.test(tok) && tok.charCodeAt(0) !== 39 && tok.charCodeAt(0) !== 8217) {
3225
3225
  tok = ' ' + tok;
3226
3226
  }
3227
3227
  output += tok;