nothumanallowed 14.1.33 → 14.1.34
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/server/routes/email.mjs +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "14.1.
|
|
3
|
+
"version": "14.1.34",
|
|
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 = '14.1.
|
|
8
|
+
export const VERSION = '14.1.34';
|
|
9
9
|
export const BASE_URL = 'https://nothumanallowed.com/cli';
|
|
10
10
|
export const API_BASE = 'https://nothumanallowed.com/api/v1';
|
|
11
11
|
|
|
@@ -120,12 +120,16 @@ export function register(router) {
|
|
|
120
120
|
|
|
121
121
|
// If both failed, return clear error
|
|
122
122
|
const msg = providerErr.message || '';
|
|
123
|
+
console.error('[EMAIL READ] Gmail failed:', msg);
|
|
123
124
|
if (msg.includes('Not authenticated') || msg.includes('token') || msg.includes('client ID')) {
|
|
124
125
|
return sendJSON(res, 401, { error: msg, authRequired: true });
|
|
125
126
|
}
|
|
126
127
|
throw providerErr;
|
|
127
128
|
}
|
|
128
|
-
} catch (e) {
|
|
129
|
+
} catch (e) {
|
|
130
|
+
console.error('[EMAIL READ FATAL]', e.message);
|
|
131
|
+
sendError(res, 500, e.message);
|
|
132
|
+
}
|
|
129
133
|
});
|
|
130
134
|
|
|
131
135
|
router.post('/api/email/send', async (req, res) => {
|