nothumanallowed 9.4.8 → 9.4.10
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/ui.mjs +2 -0
- package/src/constants.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.10",
|
|
4
4
|
"description": "NotHumanAllowed — 38 AI agents + 58 tools + browser automation + web search. Streaming chat, headless Chrome CDP, multi-conversation, export. Gmail, Calendar, Drive, GitHub, Notion, Slack. Zero-dependency CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/src/commands/ui.mjs
CHANGED
|
@@ -1233,6 +1233,7 @@ export async function cmdUI(args) {
|
|
|
1233
1233
|
const wantsScreenshot = /screenshot|screen\s*shot|schermo|cattura|foto|immagine/i.test(msg);
|
|
1234
1234
|
const wantsSearch = /\b(cerca|search|find|look\s*up|ricerca|cercare)\b/i.test(msg);
|
|
1235
1235
|
|
|
1236
|
+
console.log(` [flow] actions=${actions.length} [${actions.map(a=>a.action).join(',')}] wantsSearch=${wantsSearch} wantsScreenshot=${wantsScreenshot}`);
|
|
1236
1237
|
// If user asked to search but LLM didn't call web_search, force it
|
|
1237
1238
|
if (wantsSearch && !actions.some(a => a.action === 'web_search')) {
|
|
1238
1239
|
// Extract search query from message (remove action words)
|
|
@@ -1306,6 +1307,7 @@ export async function cmdUI(args) {
|
|
|
1306
1307
|
}
|
|
1307
1308
|
|
|
1308
1309
|
// If the tool produced a screenshot (web_search with screenshot=true), send it via SSE
|
|
1310
|
+
console.log(` [debug] action=${action} resultStr.length=${resultStr.length} hasScreenshot=${resultStr.includes('[Screenshot')} last80=${resultStr.slice(-80)}`);
|
|
1309
1311
|
if (resultStr.includes('[Screenshot of results captured')) {
|
|
1310
1312
|
try {
|
|
1311
1313
|
const fileMatch = resultStr.match(/file:(ss-\d+\.jpg)/);
|
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.4.
|
|
8
|
+
export const VERSION = '9.4.10';
|
|
9
9
|
export const BASE_URL = 'https://nothumanallowed.com/cli';
|
|
10
10
|
export const API_BASE = 'https://nothumanallowed.com/api/v1';
|
|
11
11
|
|