nothumanallowed 12.5.7 → 12.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/services/web-ui.mjs +11 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.6.1",
|
|
4
4
|
"description": "NotHumanAllowed — 38 AI agents, 80 tools. Email, calendar, browser automation, screen capture, canvas, cron/heartbeat, Alexandria E2E messaging, GitHub, Notion, Slack, voice chat, free AI (Liara), 28 languages. Zero-dependency CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/src/services/web-ui.mjs
CHANGED
|
@@ -65,10 +65,18 @@ input:focus,textarea:focus{border-color:var(--green3)}
|
|
|
65
65
|
|
|
66
66
|
.content{flex:1;overflow-y:auto;padding:16px;-webkit-overflow-scrolling:touch}
|
|
67
67
|
|
|
68
|
+
/* Mobile burger button */
|
|
69
|
+
#mobileBurger{display:block}
|
|
70
|
+
.sidebar__close{position:absolute;top:12px;right:12px;background:none;border:none;color:var(--dim);font-size:20px;cursor:pointer;padding:4px 8px;z-index:10;line-height:1}
|
|
71
|
+
.sidebar__close:hover{color:var(--bright)}
|
|
72
|
+
.sidebar__brand{position:relative}
|
|
73
|
+
|
|
68
74
|
/* ---- DESKTOP: sidebar always visible ---- */
|
|
69
75
|
@media(min-width:901px){
|
|
70
76
|
.app{flex-direction:row}
|
|
71
77
|
.header__burger{display:none}
|
|
78
|
+
#mobileBurger{display:none!important}
|
|
79
|
+
.sidebar__close{display:none}
|
|
72
80
|
.sidebar{display:flex!important;position:static;width:220px;min-width:220px;height:auto;box-shadow:none}
|
|
73
81
|
.sidebar__overlay{display:none!important}
|
|
74
82
|
.content{padding:20px}
|
|
@@ -439,7 +447,7 @@ function renderChat(el){
|
|
|
439
447
|
'</div>'+
|
|
440
448
|
'<div style="flex:1;display:flex;flex-direction:column;min-width:0">'+
|
|
441
449
|
'<div style="padding:6px 12px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:8px">'+
|
|
442
|
-
'<button onclick="toggleConvSidebar()" style="background:
|
|
450
|
+
'<button onclick="toggleConvSidebar()" style="background:var(--bg2);border:1px solid var(--border);border-radius:var(--r);cursor:pointer;font-size:11px;color:var(--green);padding:4px 10px;display:flex;align-items:center;gap:4px;font-family:var(--font)" title="Toggle conversations">💬 <span>Chats</span></button>'+
|
|
443
451
|
'<span id="convTitle" style="flex:1;font-size:12px;color:var(--fg);overflow:hidden;text-overflow:ellipsis;white-space:nowrap">New Chat</span>'+
|
|
444
452
|
'<button onclick="createNewConv()" style="background:none;border:1px solid var(--green);color:var(--green);padding:4px 10px;border-radius:var(--r);cursor:pointer;font-size:10px">+ New</button>'+
|
|
445
453
|
'<button onclick="exportConvMd()" style="background:none;border:1px solid var(--border);color:var(--dim);padding:4px 8px;border-radius:var(--r);cursor:pointer;font-size:10px" title="Export Markdown">Export</button>'+
|
|
@@ -2704,6 +2712,7 @@ init();
|
|
|
2704
2712
|
<div class="app">
|
|
2705
2713
|
<nav class="sidebar" id="sidebar">
|
|
2706
2714
|
<div class="sidebar__brand">
|
|
2715
|
+
<button class="sidebar__close" onclick="closeSidebar()" title="Close menu">×</button>
|
|
2707
2716
|
<div style="display:flex;align-items:center;gap:8px">
|
|
2708
2717
|
<div class="sidebar__brand-name">NHA</div>
|
|
2709
2718
|
<span id="wsIndicator" style="color:var(--dim);font-size:8px" title="Daemon WebSocket">●</span>
|
|
@@ -2757,7 +2766,7 @@ init();
|
|
|
2757
2766
|
<div style="padding:12px 16px;margin-top:auto;border-top:1px solid var(--border);font-size:10px;color:var(--dim)">nothumanallowed.com</div>
|
|
2758
2767
|
</nav>
|
|
2759
2768
|
|
|
2760
|
-
<button onclick="openSidebar()" style="position:fixed;top:
|
|
2769
|
+
<button onclick="openSidebar()" style="position:fixed;top:6px;left:6px;z-index:100;background:var(--bg2);border:1px solid var(--border);border-radius:var(--r);color:var(--green);font-size:16px;padding:4px 8px;cursor:pointer;line-height:1;opacity:0.85" id="mobileBurger">☰</button>
|
|
2761
2770
|
|
|
2762
2771
|
<div class="content" id="content"></div>
|
|
2763
2772
|
|