nothumanallowed 13.5.115 → 13.5.116

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.115",
3
+ "version": "13.5.116",
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.115';
8
+ export const VERSION = '13.5.116';
9
9
  export const BASE_URL = 'https://nothumanallowed.com/cli';
10
10
  export const API_BASE = 'https://nothumanallowed.com/api/v1';
11
11
 
@@ -3194,15 +3194,26 @@ function loadImapAccounts() {
3194
3194
  }
3195
3195
 
3196
3196
  function showAddImapAccount() {
3197
- document.getElementById('imapEditId').value = '';
3198
- document.getElementById('imapFormTitle').textContent = 'Add IMAP Account';
3199
- var fields = ['DisplayName','Email','FromName','ImapHost','ImapPort','SmtpHost','SmtpPort','Username','Password'];
3200
- var defaults = ['','','','993','587','','','',''];
3201
- for (var i = 0; i < fields.length; i++) {
3202
- var el = document.getElementById('imap' + fields[i]);
3203
- if (el) el.value = defaults[i] || '';
3197
+ var form = document.getElementById('imapAccountForm');
3198
+ if (!form) return;
3199
+ var editId = document.getElementById('imapEditId');
3200
+ if (editId) editId.value = '';
3201
+ var title = document.getElementById('imapFormTitle');
3202
+ if (title) title.textContent = 'Add IMAP Account';
3203
+ var fieldDefaults = {
3204
+ imapDisplayName: '', imapEmail: '', imapFromName: '',
3205
+ imapImapHost: '', imapImapPort: '993',
3206
+ imapSmtpHost: '', imapSmtpPort: '587',
3207
+ imapUsername: '', imapPassword: ''
3208
+ };
3209
+ for (var key in fieldDefaults) {
3210
+ var el = document.getElementById(key);
3211
+ if (el) el.value = fieldDefaults[key];
3204
3212
  }
3205
- document.getElementById('imapAccountForm').style.display = 'block';
3213
+ var status = document.getElementById('imapFormStatus');
3214
+ if (status) status.textContent = '';
3215
+ form.style.display = 'block';
3216
+ form.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
3206
3217
  }
3207
3218
 
3208
3219
  function editImapAccount(id) {