shadok-ai 0.2.69 → 0.2.70
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 +7 -0
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -3802,6 +3802,13 @@
|
|
|
3802
3802
|
t.cwd = msg.cwd || "(server directory)";
|
|
3803
3803
|
if (!t.customName) t.nameEl.textContent = basename(msg.cwd || "") || "agent " + t.id;
|
|
3804
3804
|
t.launchMsg = msg; // remembered so a dropped link can reconnect
|
|
3805
|
+
// Le choix « miroir » voyage dans le message de lancement : le serveur
|
|
3806
|
+
// l'enregistre au `ready`. L'ONGLET doit le savoir aussi, sinon le premier
|
|
3807
|
+
// `persistChannels` repousse sa valeur par défaut (false) et écrase ce que
|
|
3808
|
+
// le serveur vient d'écrire — l'agent n'était alors jamais mirorré, et
|
|
3809
|
+
// seule la bascule du menu marchait. Ici plutôt que chez l'appelant :
|
|
3810
|
+
// launchTab est l'entonnoir de TOUS les chemins de création.
|
|
3811
|
+
if (typeof msg.mirror === "boolean") setMirror(t, msg.mirror, false);
|
|
3805
3812
|
t.closing = false; // set when the user closes the tab (no reconnect then)
|
|
3806
3813
|
t.reconnectAttempts = 0;
|
|
3807
3814
|
openLink(t);
|