shadok-ai 0.17.21 → 0.17.22
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 +9 -15
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -2696,7 +2696,7 @@
|
|
|
2696
2696
|
color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0;
|
|
2697
2697
|
}
|
|
2698
2698
|
.tav .led { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; margin: 0; border: 2px solid var(--bg); }
|
|
2699
|
-
.ab-txt
|
|
2699
|
+
.ab-txt { display: none; }
|
|
2700
2700
|
@media (max-width: 640px) {
|
|
2701
2701
|
/* A phone's single header row has no room for the mark beside the name,
|
|
2702
2702
|
the version and the dials; the favicon carries it there. */
|
|
@@ -2762,11 +2762,10 @@
|
|
|
2762
2762
|
content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--amber);
|
|
2763
2763
|
}
|
|
2764
2764
|
#chanBar .chan-actions { align-self: stretch; }
|
|
2765
|
-
#chanBar .chan-actions
|
|
2766
|
-
#chanBar .chan-actions #chanStop, #chanBar .chan-actions #chanMenu { align-self: center; }
|
|
2765
|
+
#chanBar .chan-actions #chanMenu { align-self: center; }
|
|
2767
2766
|
@media (max-width: 640px) {
|
|
2768
2767
|
#chanBar { min-height: 0; padding: 8px 12px; }
|
|
2769
|
-
#chanBar .tav
|
|
2768
|
+
#chanBar .tav { display: none; }
|
|
2770
2769
|
}
|
|
2771
2770
|
|
|
2772
2771
|
/* Messages: Teams bubbles. */
|
|
@@ -3678,9 +3677,9 @@
|
|
|
3678
3677
|
<span class="chan-actions">
|
|
3679
3678
|
<button id="chanUpdate" class="icon" title="Claude Code updated — reload this agent to apply it" aria-label="Reload to apply update" hidden>↻ update</button>
|
|
3680
3679
|
<button id="chanGallery" class="icon" title="Media gallery — every photo and video in this conversation" aria-label="Media gallery"><svg viewBox="0 0 24 24" width="15" height="15" style="vertical-align:-2px" aria-hidden="true"><rect x="3.5" y="5" width="17" height="14" rx="2" fill="none" stroke="currentColor" stroke-width="1.8"/><circle cx="8.5" cy="9.5" r="1.4" fill="currentColor"/><path d="M5 17l4.5-4.5 3 3 2.5-2.5L19 16" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
|
|
3681
|
-
<button id="chanCron" class="icon" title="Scheduled prompts for this agent (monitoring / reporting)" aria-label="Schedule"><svg viewBox="0 0 24 24" width="15" height="15" style="vertical-align:-2px" aria-hidden="true"><circle cx="12" cy="13" r="6.3" fill="none" stroke="currentColor" stroke-width="1.8"/><path d="M12 9.8V13l2.2 1.4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M4.8 6.6 7.2 4.6M19.2 6.6 16.8 4.6" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg
|
|
3682
|
-
|
|
3683
|
-
<button id="chanTerm" class="icon" title="Terminal — the raw TUI for this agent" aria-label="Terminal"><svg viewBox="0 0 24 24" width="15" height="15" style="vertical-align:-2px" aria-hidden="true"><rect x="2.5" y="4" width="19" height="16" rx="2.5" fill="none" stroke="currentColor" stroke-width="1.8"/><path d="M6 9.5l3 2.5-3 2.5" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M12.5 15h5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg
|
|
3680
|
+
<button id="chanCron" class="icon" title="Scheduled prompts for this agent (monitoring / reporting)" aria-label="Schedule"><svg viewBox="0 0 24 24" width="15" height="15" style="vertical-align:-2px" aria-hidden="true"><circle cx="12" cy="13" r="6.3" fill="none" stroke="currentColor" stroke-width="1.8"/><path d="M12 9.8V13l2.2 1.4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M4.8 6.6 7.2 4.6M19.2 6.6 16.8 4.6" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg></button>
|
|
3681
|
+
<!-- No end-session icon here: "✕ Close agent" lives in the ⋯ menu below. -->
|
|
3682
|
+
<button id="chanTerm" class="icon" title="Terminal — the raw TUI for this agent" aria-label="Terminal"><svg viewBox="0 0 24 24" width="15" height="15" style="vertical-align:-2px" aria-hidden="true"><rect x="2.5" y="4" width="19" height="16" rx="2.5" fill="none" stroke="currentColor" stroke-width="1.8"/><path d="M6 9.5l3 2.5-3 2.5" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M12.5 15h5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg></button>
|
|
3684
3683
|
<!-- The per-agent menu (rename, profile, mirror, report to, close). It's
|
|
3685
3684
|
the same menu a right-click / long-press on a tab opens — but with the
|
|
3686
3685
|
sidebar hidden on a phone there was no way to reach it, so it lives
|
|
@@ -6810,10 +6809,9 @@
|
|
|
6810
6809
|
$("chanBar").hidden = true;
|
|
6811
6810
|
thinking.classList.remove("visible");
|
|
6812
6811
|
screenEl.textContent = "";
|
|
6813
|
-
// Scheduling
|
|
6814
|
-
//
|
|
6812
|
+
// Scheduling has no target: better a dimmed button than a popin talking
|
|
6813
|
+
// about an agent that does not exist.
|
|
6815
6814
|
$("chanCron").disabled = true;
|
|
6816
|
-
$("chanStop").disabled = true;
|
|
6817
6815
|
$("chanGallery").disabled = true;
|
|
6818
6816
|
closeGallery(); // no agent → its media grid is stale; don't leave it up
|
|
6819
6817
|
paintChanUpdate();
|
|
@@ -6827,7 +6825,6 @@
|
|
|
6827
6825
|
$("emptyState").classList.remove("visible");
|
|
6828
6826
|
$("startingState").classList.remove("visible");
|
|
6829
6827
|
$("chanCron").disabled = !t.sessionId;
|
|
6830
|
-
$("chanStop").disabled = false;
|
|
6831
6828
|
$("chanGallery").disabled = !t.sessionId;
|
|
6832
6829
|
paintChanUpdate();
|
|
6833
6830
|
$("led").className = "led " +
|
|
@@ -10110,10 +10107,7 @@
|
|
|
10110
10107
|
});
|
|
10111
10108
|
$("chanUpdate").addEventListener("click", () => { if (active) handleClaudeUpdate(active); });
|
|
10112
10109
|
$("chanCron").addEventListener("click", () => { $("cronOverlay").hidden = false; renderCrons(); });
|
|
10113
|
-
|
|
10114
|
-
if (!active || !confirmEndAgent(active)) return;
|
|
10115
|
-
sendTo(active, { type: "stop" });
|
|
10116
|
-
});
|
|
10110
|
+
// Ending an agent lives only in the ⋯ menu ("✕ Close agent") — no bar icon.
|
|
10117
10111
|
// The per-agent menu, opened from the channel header — the same one a
|
|
10118
10112
|
// right-click / long-press on a tab shows. stopPropagation so the document
|
|
10119
10113
|
// click closer (which runs openTabMenu's own guard) doesn't fire for this
|