nothumanallowed 13.5.38 → 13.5.39

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.38",
3
+ "version": "13.5.39",
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.38';
8
+ export const VERSION = '13.5.39';
9
9
  export const BASE_URL = 'https://nothumanallowed.com/cli';
10
10
  export const API_BASE = 'https://nothumanallowed.com/api/v1';
11
11
 
@@ -248,7 +248,10 @@ function switchView(v) {
248
248
  if(spt)spt.textContent=t('nav_'+v)||v;
249
249
  // Toggle content--chat class for proper chat layout (no overflow, flex column)
250
250
  var ct=document.getElementById('content');
251
- if(ct){if(v==='chat'){ct.classList.add('content--chat')}else{ct.classList.remove('content--chat')}}
251
+ if(ct){
252
+ if(v==='chat'){ct.classList.add('content--chat')}else{ct.classList.remove('content--chat')}
253
+ if(v==='webcraft'){ct.classList.add('content--webcraft')}else{ct.classList.remove('content--webcraft')}
254
+ }
252
255
  closeSidebar();
253
256
  // Auto-close floating panels when leaving chat/studio
254
257
  if(v!=='chat'&&v!=='studio'){closeBrowserViewer();closeCanvas();}
@@ -3385,7 +3388,7 @@ var studioAbortController = null;
3385
3388
  var parlActiveAgent = null; // active agent label during parliament streaming
3386
3389
  var parlDoneAgents = {}; // set of completed agent labels during parliament
3387
3390
  var _parlPersistHtml = null; // persists parliament block HTML across tab navigations
3388
- var _PARL_STAMP = '<!--nha-parl-v13.5.38-->';
3391
+ var _PARL_STAMP = '<!--nha-parl-v13.5.39-->';
3389
3392
 
3390
3393
  function stopStudio() {
3391
3394
  if (!studioState.running) return;
@@ -6240,16 +6243,16 @@ function renderWebCraft(el) {
6240
6243
  }).join('');
6241
6244
 
6242
6245
  el.innerHTML =
6243
- '<div style="max-width:1100px;margin:0 auto;padding:0 8px">' +
6244
- '<div style="margin-bottom:18px">' +
6246
+ '<div style="display:flex;flex-direction:column;height:100%;min-height:0;padding:0 4px">' +
6247
+ '<div style="margin-bottom:14px;flex-shrink:0">' +
6245
6248
  '<h2 style="font-size:15px;color:var(--green);margin-bottom:4px">&#128736; '+t('wc_title')+'</h2>' +
6246
6249
  '<p style="font-size:11px;color:var(--dim);line-height:1.5">'+t('wc_subtitle')+'</p>' +
6247
6250
  '</div>' +
6248
6251
 
6249
- '<div style="display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap">' +
6252
+ '<div style="display:flex;gap:14px;align-items:flex-start;flex:1;min-height:0">' +
6250
6253
 
6251
6254
  // LEFT: config panel
6252
- '<div style="width:300px;flex-shrink:0;display:flex;flex-direction:column;gap:12px">' +
6255
+ '<div style="width:280px;flex-shrink:0;display:flex;flex-direction:column;gap:10px;overflow-y:auto;max-height:calc(100vh - 120px)">' +
6253
6256
 
6254
6257
  // Project name + description
6255
6258
  '<div style="background:var(--bg2);border:1px solid var(--border);border-radius:10px;padding:14px">' +
@@ -6292,7 +6295,7 @@ function renderWebCraft(el) {
6292
6295
  '</div>' +
6293
6296
 
6294
6297
  // RIGHT: file viewer
6295
- '<div style="flex:1;min-width:0;background:var(--bg2);border:1px solid var(--border);border-radius:10px;display:flex;flex-direction:column;min-height:520px;overflow:hidden">' +
6298
+ '<div style="flex:1;min-width:0;background:var(--bg2);border:1px solid var(--border);border-radius:10px;display:flex;flex-direction:column;height:calc(100vh - 120px);overflow:hidden">' +
6296
6299
  fileTabsHtml +
6297
6300
  codeHtml +
6298
6301
  '</div>' +
@@ -6498,6 +6501,7 @@ input:focus,textarea:focus{border-color:var(--green3)}
6498
6501
  .nav-item__badge{background:var(--red);color:var(--bright);font-size:9px;padding:1px 5px;border-radius:8px;margin-left:auto}
6499
6502
 
6500
6503
  .content{flex:1;overflow-y:auto;padding:16px;-webkit-overflow-scrolling:touch}
6504
+ .content--webcraft{overflow:hidden;display:flex;flex-direction:column}
6501
6505
 
6502
6506
  /* Mobile burger button */
6503
6507
  #mobileBurger{display:block}