nothumanallowed 9.9.0 → 9.9.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/ui.mjs +2 -2
- package/src/constants.mjs +1 -1
- package/src/services/web-ui.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "9.9.
|
|
3
|
+
"version": "9.9.1",
|
|
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/commands/ui.mjs
CHANGED
|
@@ -1414,8 +1414,8 @@ export async function cmdUI(args) {
|
|
|
1414
1414
|
toolResults.push({ action, result: resultStr });
|
|
1415
1415
|
sendSSE('tool', { action, status: 'done', result: typeof resultStr === 'string' ? resultStr.slice(0, 500) : '' });
|
|
1416
1416
|
|
|
1417
|
-
// Send live browser frame after browser actions — save as thumbnail file for persistence
|
|
1418
|
-
if (action.startsWith('browser_') && action !== 'browser_close') {
|
|
1417
|
+
// Send live browser frame after browser/search/fetch actions — save as thumbnail file for persistence
|
|
1418
|
+
if ((action.startsWith('browser_') && action !== 'browser_close') || action === 'web_search' || action === 'fetch_url') {
|
|
1419
1419
|
try {
|
|
1420
1420
|
const be = await import('../services/browser-engine.mjs');
|
|
1421
1421
|
if (be.isBrowserRunning()) {
|
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.9.
|
|
8
|
+
export const VERSION = '9.9.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
|
@@ -631,7 +631,7 @@ function renderCanvasPanel(){
|
|
|
631
631
|
// Browser tab: gallery of visited page thumbnails
|
|
632
632
|
var d=getConvCanvasData();
|
|
633
633
|
if(d.browsers.length===0){
|
|
634
|
-
doc.open();doc.write('<html><body style="margin:0;background:#111;display:flex;align-items:center;justify-content:center;height:100vh;font-family:monospace;color:#555"><div style="text-align:center"><div style="font-size:48px;margin-bottom:12px">🌐</div><div>No pages visited</div><div style="font-size:11px;margin-top:8px;color:#333">in this conversation</div></div></body></html>');doc.close();
|
|
634
|
+
doc.open();doc.write('<html><body style="margin:0;background:#111;display:flex;align-items:center;justify-content:center;height:100vh;font-family:monospace;color:#555"><div style="text-align:center"><div style="font-size:48px;margin-bottom:12px">🌐</div><div>No pages visited yet</div><div style="font-size:11px;margin-top:8px;color:#333">in this conversation</div><div style="margin-top:16px;font-size:11px;color:#888">Try asking:<br><span style="color:#8ab4f8;cursor:pointer" onclick="parent.document.getElementById(\\x27chatInput\\x27).value=\\x27cerca nothumanallowed\\x27;parent.document.getElementById(\\x27chatInput\\x27).focus()">cerca nothumanallowed</span><br><span style="color:#8ab4f8;cursor:pointer" onclick="parent.document.getElementById(\\x27chatInput\\x27).value=\\x27apri example.com\\x27;parent.document.getElementById(\\x27chatInput\\x27).focus()">apri example.com</span></div></div></body></html>');doc.close();
|
|
635
635
|
} else {
|
|
636
636
|
var apiBase=window.API||'';
|
|
637
637
|
var gallery='<html><head><style>*{margin:0;padding:0;box-sizing:border-box}body{background:#111;padding:12px;font-family:monospace}h3{color:#00ff41;font-size:12px;margin-bottom:12px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.card{background:#1a1a1a;border:1px solid #333;border-radius:8px;overflow:hidden;cursor:pointer;transition:border-color .2s}.card:hover{border-color:#00ff41}.card img{width:100%;height:120px;object-fit:cover;display:block;background:#222}.card .info{padding:6px 8px}.card .url{color:#8ab4f8;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card .time{color:#555;font-size:9px;margin-top:2px}</style></head><body><h3>Pages visited ('+d.browsers.length+')</h3><div class="grid">';
|