nothumanallowed 9.8.7 → 9.8.8
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": "9.8.
|
|
3
|
+
"version": "9.8.8",
|
|
4
4
|
"description": "NotHumanAllowed — 38 AI agents, 53 tools. Email, calendar, browser automation, screen capture, canvas, cron/heartbeat, GitHub, Notion, Slack, voice chat, 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 = '9.8.
|
|
8
|
+
export const VERSION = '9.8.8';
|
|
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
|
@@ -685,7 +685,7 @@ function copyMsg(i){
|
|
|
685
685
|
function retryMsg(i){
|
|
686
686
|
if(i<1||chatHistory[i].role!=='assistant')return;
|
|
687
687
|
var userMsg=chatHistory[i-1];if(!userMsg||userMsg.role!=='user')return;
|
|
688
|
-
chatHistory.splice(i,1);
|
|
688
|
+
chatHistory.splice(i,1);renderMessages();
|
|
689
689
|
var inp=document.getElementById('chatInput');if(inp){inp.value=userMsg.content;}
|
|
690
690
|
sendChat();
|
|
691
691
|
}
|
|
@@ -693,7 +693,7 @@ function editMsg(i){
|
|
|
693
693
|
if(chatHistory[i].role!=='user')return;
|
|
694
694
|
var inp=document.getElementById('chatInput');if(!inp)return;
|
|
695
695
|
inp.value=chatHistory[i].content;inp.focus();
|
|
696
|
-
chatHistory.splice(i);
|
|
696
|
+
chatHistory.splice(i);renderMessages();
|
|
697
697
|
}
|
|
698
698
|
function sendChat(){
|
|
699
699
|
var inp=document.getElementById('chatInput');if(!inp)return;
|