shadok-ai 0.2.41 → 0.2.42
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 +5 -7
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -1215,7 +1215,6 @@
|
|
|
1215
1215
|
<button id="toggleDiff">Diff</button>
|
|
1216
1216
|
</div>
|
|
1217
1217
|
</div>
|
|
1218
|
-
<button id="stopBtn" class="icon stop" title="End session">⏹️</button>
|
|
1219
1218
|
</header>
|
|
1220
1219
|
|
|
1221
1220
|
<div id="verMenu" hidden>
|
|
@@ -2759,13 +2758,13 @@
|
|
|
2759
2758
|
// Programmer ou arrêter n'a pas de cible : mieux vaut des boutons éteints
|
|
2760
2759
|
// qu'une popin qui parle d'un agent inexistant.
|
|
2761
2760
|
$("cronBtn").disabled = true;
|
|
2762
|
-
$("
|
|
2761
|
+
$("chanStop").disabled = true;
|
|
2763
2762
|
$("emptyState").classList.add("visible");
|
|
2764
2763
|
return;
|
|
2765
2764
|
}
|
|
2766
2765
|
$("emptyState").classList.remove("visible");
|
|
2767
2766
|
$("cronBtn").disabled = !t.sessionId;
|
|
2768
|
-
$("
|
|
2767
|
+
$("chanStop").disabled = false;
|
|
2769
2768
|
$("led").className = "led " +
|
|
2770
2769
|
({ setup: "", connecting: "busy", ready: "on", busy: "busy", dead: "off" }[t.status]);
|
|
2771
2770
|
$("state").textContent = t.stateText;
|
|
@@ -4168,7 +4167,9 @@
|
|
|
4168
4167
|
syncTerm();
|
|
4169
4168
|
});
|
|
4170
4169
|
$("chanCron").addEventListener("click", () => $("cronBtn").click());
|
|
4171
|
-
$("chanStop").addEventListener("click", () =>
|
|
4170
|
+
$("chanStop").addEventListener("click", () => {
|
|
4171
|
+
sendTo(active, { type: "stop" });
|
|
4172
|
+
});
|
|
4172
4173
|
|
|
4173
4174
|
// "⋯" overflow menu (rarely-used actions, e.g. Diff). stopPropagation on the
|
|
4174
4175
|
// trigger so the same click doesn't immediately hit the document closer; a
|
|
@@ -4262,9 +4263,6 @@
|
|
|
4262
4263
|
if (active && active.ws && active.status === "ready")
|
|
4263
4264
|
sendTo(active, { type: "settle" });
|
|
4264
4265
|
});
|
|
4265
|
-
$("stopBtn").addEventListener("click", () => {
|
|
4266
|
-
sendTo(active, { type: "stop" });
|
|
4267
|
-
});
|
|
4268
4266
|
|
|
4269
4267
|
// ── Secret vault panel (central, global; profiles pick which to inject) ──
|
|
4270
4268
|
let vaultNames = [];
|