shadok-ai 0.2.35 → 0.2.36

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadok-ai",
3
- "version": "0.2.35",
3
+ "version": "0.2.36",
4
4
  "main": "dist/session.js",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test test/*.ts .claude/skills/shadok-ai-agents/test/*.test.mjs",
package/public/index.html CHANGED
@@ -2780,6 +2780,10 @@
2780
2780
  $("chanBarName").title = t.cwd || "";
2781
2781
  sendBtn.disabled = t.status !== "ready" || !!t.pendingChoices;
2782
2782
  thinking.classList.toggle("visible", t.status === "busy");
2783
+ // Afficher/masquer « Shadok is working… » change la hauteur de la zone de
2784
+ // transcript : sans re-coller en bas, le dernier message passe sous le pli
2785
+ // (typiquement « coupé » juste après l'envoi d'un prompt).
2786
+ pinBottom(t);
2783
2787
  screenEl.textContent = t.screenText;
2784
2788
  }
2785
2789
 
@@ -3957,6 +3961,9 @@
3957
3961
  // being sent — whether by clicking its own button or by a fresh submit.
3958
3962
  retirePaceConfirm(t);
3959
3963
  closeActivity(t);
3964
+ // Envoyer = revenir en bas, quoi qu'il arrive (même si on avait scrollé plus
3965
+ // haut) : on veut voir son message et la réponse qui suit.
3966
+ t.transcriptEl._stickBottom = true;
3960
3967
  addTurn(t, "user", "pilot", text, null, Date.now());
3961
3968
  startTurnTimer(t);
3962
3969
  setTabMood(t, "working");