nothumanallowed 13.2.67 → 13.2.68
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 +1 -1
- package/src/constants.mjs +1 -1
- package/src/services/web-ui.mjs +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.68",
|
|
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.
|
|
8
|
+
export const VERSION = '13.2.68';
|
|
9
9
|
export const BASE_URL = 'https://nothumanallowed.com/cli';
|
|
10
10
|
export const API_BASE = 'https://nothumanallowed.com/api/v1';
|
|
11
11
|
|
package/src/services/web-ui.mjs
CHANGED
|
@@ -3268,14 +3268,14 @@ function studioHandleAttach(file) {
|
|
|
3268
3268
|
if (!file) return;
|
|
3269
3269
|
var name = file.name;
|
|
3270
3270
|
var isPdf = name.toLowerCase().endsWith('.pdf');
|
|
3271
|
-
var isImg =
|
|
3271
|
+
var isImg = new RegExp('[.](png|jpe?g|gif|webp)$', 'i').test(name);
|
|
3272
3272
|
if (!isPdf && !isImg) { alert('Supported: PDF, PNG, JPG, GIF, WEBP'); return; }
|
|
3273
3273
|
|
|
3274
3274
|
var reader = new FileReader();
|
|
3275
3275
|
reader.onload = function(ev) {
|
|
3276
3276
|
var dataUrl = ev.target.result;
|
|
3277
3277
|
studioState.attachmentName = name;
|
|
3278
|
-
studioState.attachmentContext = (isPdf ? '[ATTACHED PDF: ' : '[ATTACHED IMAGE: ') + name + ']
|
|
3278
|
+
studioState.attachmentContext = (isPdf ? '[ATTACHED PDF: ' : '[ATTACHED IMAGE: ') + name + ']' + String.fromCharCode(10) + 'Base64: ' + dataUrl;
|
|
3279
3279
|
// Show badge inline without full re-render
|
|
3280
3280
|
var inputRow = document.querySelector('.studio-input-row');
|
|
3281
3281
|
if (inputRow) {
|