shadok-ai 0.19.94 → 0.20.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/public/index.html +3 -3
- package/public/line-icons.js +3 -1
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -3591,7 +3591,7 @@
|
|
|
3591
3591
|
Admins only; kept out of the ⋯ overflow for the same reason as Security. -->
|
|
3592
3592
|
<button id="reportsBtn" class="icon" title="Reports — agents asking an admin for help" aria-label="Reports" hidden><svg viewBox="0 0 24 24" width="15" height="15" style="vertical-align:-2px" aria-hidden="true"><path d="M6 21V4M6 4h11l-2.5 4L17 12H6" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg><span id="reportsBadge" class="sec-badge" hidden></span><span class="ab-txt">Reports</span></button>
|
|
3593
3593
|
<button id="usersBtn" class="icon" title="Users — accounts for this instance" aria-label="Users" hidden><svg viewBox="0 0 24 24" width="15" height="15" style="vertical-align:-2px" aria-hidden="true"><circle cx="9" cy="8.5" r="3.2" fill="none" stroke="currentColor" stroke-width="1.8"/><path d="M3 19a6 6 0 0 1 12 0" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/><path d="M16 6.2a3.2 3.2 0 0 1 0 6.1M17.5 19a6 6 0 0 0-2.2-4.6" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg><span class="ab-txt">Users</span></button>
|
|
3594
|
-
<button id="telegramBtn" class="icon" title="Configure the Telegram bot (token, on/off, allowed chats)"><svg viewBox="0 0 24 24" width="15" height="15" style="vertical-align:-2px" aria-hidden="true"
|
|
3594
|
+
<button id="telegramBtn" class="icon" title="Configure the Telegram bot (token, on/off, allowed chats)"><svg viewBox="0 0 24 24" width="15" height="15" style="vertical-align:-2px" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M16.8 7.4 6 11.7c-.5.2-.5.6 0 .8l3 1 1.1 3.4c.1.4.5.5.8.2l1.6-1.5 2.9 2.1c.4.3.9.1 1-.4l1.4-8.7c.1-.6-.4-1-1-.8z"/><path d="M9 13.5l5.6-3.7"/></svg><span class="ab-txt">Telegram</span></button>
|
|
3595
3595
|
<button id="muteNotif" class="icon" title="Mute the notification sound" aria-label="Notification sound"><svg viewBox="0 0 24 24" width="15" height="15" style="vertical-align:-2px" aria-hidden="true"><path d="M6 16.5h12c-1.3-1.1-2-2.7-2-4.5v-1.2a4 4 0 0 0-8 0v1.2c0 1.8-.7 3.4-2 4.5z" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round"/><path d="M10.4 19a1.7 1.7 0 0 0 3.2 0" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/><line class="mute-slash" x1="4.5" y1="4.5" x2="19.5" y2="19.5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg><span class="ab-txt">Sound</span></button>
|
|
3596
3596
|
<div class="more-wrap">
|
|
3597
3597
|
<button id="moreBtn" class="icon" title="More">⋯</button>
|
|
@@ -5613,8 +5613,8 @@
|
|
|
5613
5613
|
const tg = document.createElement("span");
|
|
5614
5614
|
tg.className = "tg";
|
|
5615
5615
|
tg.hidden = true;
|
|
5616
|
-
// The
|
|
5617
|
-
tg.innerHTML =
|
|
5616
|
+
// The Telegram mark, drawn like the header's (monochrome, theme colour).
|
|
5617
|
+
tg.innerHTML = LineIcons.svg("telegram", 12);
|
|
5618
5618
|
tg.title = "Mirrored to Telegram";
|
|
5619
5619
|
// Shells the agent left running in the background — often a script that will
|
|
5620
5620
|
// wake it later, sometimes one nobody will ever collect. Invisible until now.
|
package/public/line-icons.js
CHANGED
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
users: '<circle cx="9" cy="8.5" r="3.2"/><path d="M3 19a6 6 0 0 1 12 0"/><path d="M16 6.2a3.2 3.2 0 0 1 0 6.1M17.5 19a6 6 0 0 0-2.2-4.6"/>',
|
|
25
25
|
bell: '<path d="M6 16.5h12c-1.3-1.1-2-2.7-2-4.5v-1.2a4 4 0 0 0-8 0v1.2c0 1.8-.7 3.4-2 4.5z"/><path d="M10.4 19a1.7 1.7 0 0 0 3.2 0"/>',
|
|
26
26
|
mute: '<path d="M6 16.5h12c-1.3-1.1-2-2.7-2-4.5v-1.2a4 4 0 0 0-8 0v1.2c0 1.8-.7 3.4-2 4.5z"/><path d="M10.4 19a1.7 1.7 0 0 0 3.2 0"/><path d="M4.5 4.5l15 15"/>',
|
|
27
|
-
|
|
27
|
+
// Telegram's mark (circle + paper plane) redrawn as a line icon, so it
|
|
28
|
+
// follows the theme like the rest instead of carrying the brand blue.
|
|
29
|
+
telegram: '<circle cx="12" cy="12" r="9"/><path d="M16.8 7.4 6 11.7c-.5.2-.5.6 0 .8l3 1 1.1 3.4c.1.4.5.5.8.2l1.6-1.5 2.9 2.1c.4.3.9.1 1-.4l1.4-8.7c.1-.6-.4-1-1-.8z"/><path d="M9 13.5l5.6-3.7"/>',
|
|
28
30
|
gallery: '<rect x="3.5" y="5" width="17" height="14" rx="2"/><circle cx="8.5" cy="9.5" r="1.4" fill="currentColor" stroke="none"/><path d="M5 17l4.5-4.5 3 3 2.5-2.5L19 16"/>',
|
|
29
31
|
schedule: '<circle cx="12" cy="13" r="6.3"/><path d="M12 9.8V13l2.2 1.4"/><path d="M4.8 6.6 7.2 4.6M19.2 6.6 16.8 4.6"/>',
|
|
30
32
|
bolt: '<path d="M13 2.5 5.5 13.5H11l-1 8L18.5 10H13z"/>',
|