nothumanallowed 6.6.0 → 6.6.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/constants.mjs +1 -1
- package/src/services/web-ui.mjs +3 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.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/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.6.
|
|
8
|
+
export const VERSION = '6.6.1';
|
|
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
|
@@ -314,11 +314,10 @@ function sendChat(){
|
|
|
314
314
|
else if(r&&r.error){chatHistory.push({role:'assistant',content:'Error: '+r.error})}
|
|
315
315
|
else{chatHistory.push({role:'assistant',content:'Error: no response from server'})}
|
|
316
316
|
saveChatToStorage();renderMessages();
|
|
317
|
-
// Refresh data
|
|
318
|
-
if(r&&r.actions&&r.actions.length>0){
|
|
319
|
-
// Clear calendar cache so new events show up
|
|
317
|
+
// Refresh data after any tool execution or calendar/email action
|
|
318
|
+
if(r&&((r.actions&&r.actions.length>0)||(r.toolResults&&r.toolResults.length>0))){
|
|
320
319
|
calEventsCache={};
|
|
321
|
-
loadDash().catch(function(){});
|
|
320
|
+
loadDash().then(function(){if(currentView==='dashboard'||currentView==='calendar'||currentView==='emails')render()}).catch(function(){});
|
|
322
321
|
}
|
|
323
322
|
});
|
|
324
323
|
}
|