nothumanallowed 6.8.0 → 6.8.1
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/commands/chat.mjs +2 -1
- package/src/commands/ui.mjs +2 -1
- package/src/constants.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "NotHumanAllowed — 38 AI agents for security, code, DevOps, data & daily ops. Per-agent memory, Telegram + Discord auto-responder, proactive intelligence daemon, voice chat, plugin system.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/src/commands/chat.mjs
CHANGED
|
@@ -437,7 +437,8 @@ async function executeTool(action, params, config) {
|
|
|
437
437
|
const gm = await import('../services/google-gmail.mjs');
|
|
438
438
|
if (params.all) {
|
|
439
439
|
const result = await gm.markAllAsRead(config);
|
|
440
|
-
|
|
440
|
+
if (result.count === 0) return 'All emails are already read. No changes needed.';
|
|
441
|
+
return `Success! ${result.count} email${result.count !== 1 ? 's' : ''} marked as read.`;
|
|
441
442
|
}
|
|
442
443
|
if (params.count) {
|
|
443
444
|
const msgs = await gm.listMessages(config, 'is:unread', params.count);
|
package/src/commands/ui.mjs
CHANGED
|
@@ -365,7 +365,8 @@ async function executeTool(action, params, config) {
|
|
|
365
365
|
const cfg = (await import('../config.mjs')).loadConfig();
|
|
366
366
|
if (params.all) {
|
|
367
367
|
const result = await gm.markAllAsRead(cfg);
|
|
368
|
-
|
|
368
|
+
if (result.count === 0) return 'All emails are already read. No changes needed.';
|
|
369
|
+
return `Success! ${result.count} email${result.count !== 1 ? 's' : ''} marked as read.`;
|
|
369
370
|
}
|
|
370
371
|
if (params.count) {
|
|
371
372
|
const msgs = await gm.listMessages(cfg, 'is:unread', params.count);
|
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 = '6.8.
|
|
8
|
+
export const VERSION = '6.8.1';
|
|
9
9
|
export const BASE_URL = 'https://nothumanallowed.com/cli';
|
|
10
10
|
export const API_BASE = 'https://nothumanallowed.com/api/v1';
|
|
11
11
|
|