nothumanallowed 13.2.97 → 13.2.98

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.97",
3
+ "version": "13.2.98",
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.2.97';
8
+ export const VERSION = '13.2.98';
9
9
  export const BASE_URL = 'https://nothumanallowed.com/cli';
10
10
  export const API_BASE = 'https://nothumanallowed.com/api/v1';
11
11
 
@@ -4167,12 +4167,16 @@ async function runStudio() {
4167
4167
  function saveStudioSession(task, nodes, log, result) {
4168
4168
  try {
4169
4169
  var sessions = JSON.parse(localStorage.getItem('nha_studio_sessions') || '[]');
4170
+ // Save parliament block HTML if present (static snapshot — animations not needed on restore)
4171
+ var parlEl = document.getElementById('studioParliamentBlock');
4172
+ var parlHtml = (parlEl && parlEl.style.display !== 'none') ? parlEl.innerHTML : null;
4170
4173
  sessions.unshift({
4171
4174
  id: Date.now(),
4172
4175
  task: task,
4173
4176
  nodes: nodes.map(function(n){return {label:n.label,icon:n.icon,agent:n.agent};}),
4174
4177
  result: result,
4175
4178
  canvas: studioState.canvas || null,
4179
+ parlHtml: parlHtml,
4176
4180
  log: log.map(function(e){return {agent:e.agent,icon:e.icon,text:e.text,type:e.type,time:e.time};}),
4177
4181
  ts: new Date().toLocaleString()
4178
4182
  });
@@ -4221,6 +4225,16 @@ function restoreStudioSession(idx) {
4221
4225
  var ta = document.getElementById('studioTaskInput');
4222
4226
  if (ta) ta.value = s.task;
4223
4227
  renderStudioNodes(); renderStudioLog(); renderStudioResult();
4228
+ // Restore parliament block if present
4229
+ var parlEl = document.getElementById('studioParliamentBlock');
4230
+ if (parlEl) {
4231
+ if (s.parlHtml) {
4232
+ parlEl.innerHTML = s.parlHtml;
4233
+ parlEl.style.display = 'block';
4234
+ } else {
4235
+ parlEl.style.display = 'none';
4236
+ }
4237
+ }
4224
4238
  // Restore canvas if present
4225
4239
  if (s.canvas) {
4226
4240
  var cf = document.getElementById('canvasFrame');