nothumanallowed 13.5.139 → 13.5.140

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.139",
3
+ "version": "13.5.140",
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": {
@@ -5145,6 +5145,7 @@ module.exports.notFoundHandler = notFoundHandler;
5145
5145
  // Always overwrite — older shim versions may be missing exports like notFoundHandler
5146
5146
  fs.writeFileSync(path.join(sandboxDir, 'server', 'middleware', 'errors.js'), errorsShim, 'utf8');
5147
5147
 
5148
+
5148
5149
  // Models shim — LLM often generates require('../models/User') etc. that don't exist
5149
5150
  // Create a generic User model shim backed by the in-memory DB shim
5150
5151
  const userModelShim = `
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.139';
8
+ export const VERSION = '13.5.140';
9
9
  export const BASE_URL = 'https://nothumanallowed.com/cli';
10
10
  export const API_BASE = 'https://nothumanallowed.com/api/v1';
11
11
 
@@ -8545,7 +8545,7 @@ function wcDiffPanelHtml() {
8545
8545
  var items = _wcDiffQueue.map(function(d, di) {
8546
8546
  var addedLines = (d.after||'').split(String.fromCharCode(10)).length - (d.before||'').split(String.fromCharCode(10)).length;
8547
8547
  var sign = addedLines >= 0 ? '+' : '';
8548
- return '<details style="border:1px solid var(--border);border-radius:6px;margin-bottom:6px;background:var(--bg3)">' +
8548
+ return '<details open style="border:1px solid var(--border);border-radius:6px;margin-bottom:6px;background:var(--bg3)">' +
8549
8549
  '<summary style="padding:7px 10px;cursor:pointer;font-size:11px;font-family:var(--mono);color:var(--text);list-style:none;display:flex;align-items:center;gap:8px">' +
8550
8550
  '<span style="color:var(--green);font-size:10px">&#9650;</span>' +
8551
8551
  '<span style="flex:1">' + wcEsc(d.file) + '</span>' +