Commit Graph

3 Commits

Author SHA1 Message Date
djuka
3bb8d289af Deadlock u promeni šifre i TERM za PTY
All checks were successful
Tests / unit-tests (push) Successful in 45s
- Ispravljen deadlock: SetPassword zaključa mu pa pozove save() koji
  opet zaključa mu. Razdvojeno u saveLocked() (bez lock-a) i save()
- Vraćeno normalno ponašanje kursora (Claude Code sam upravlja)
- PTY okruženje: TERM=xterm-256color, COLORTERM=truecolor

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 06:14:28 +00:00
djuka
ba801b28ea Kursor ostaje vidljiv dok Claude radi
Some checks failed
Tests / unit-tests (push) Failing after 41s
Strip \e[?25l (hide cursor) iz PTY output-a jer Claude Code Ink TUI
sakrije terminal kursor. xterm.js kursor sad ostaje uvek vidljiv.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 06:10:50 +00:00
djuka
adea7ca28d Zamena chat UI sa pravim terminalom (xterm.js + PTY)
Some checks failed
Tests / unit-tests (push) Failing after 43s
- Dodat creack/pty za pseudo-terminal podršku
- Claude CLI se pokreće u pravom PTY-ju (puni TUI, boje, Shift+Tab)
- xterm.js u browseru renderuje terminal identično konzoli
- WebSocket bridge: tastatura → PTY stdin, PTY stdout → terminal
- Ring buffer (128KB) za replay pri reconnect-u
- Automatski reconnect nakon 2 sekunde
- PTY sesije žive nezavisno od browsera (60min idle timeout)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 05:54:40 +00:00