Eingebautes Terminal (xterm.js + portable-pty) und Start/Beenden-Button

- Terminal-Fenster als eigener Prozess (--terminal <projekt>) mit eigener PTY,
  startet claude-sync im Projektordner
- Projektliste: ein Button pro Zeile — grün Starten (open_terminal) bzw.
  rot Beenden (stop_project, SIGTERM auf exakte PID / Ghostty-Quit)
- is_running erfasst Ghostty oder laufenden Terminal-Prozess
- Status-Kreis ohne Prozess unsichtbar
This commit is contained in:
marcus.hinz
2026-07-04 10:00:12 +02:00
parent 70e4898259
commit f7473797a9
13 changed files with 724 additions and 22 deletions
+19 -1
View File
@@ -95,13 +95,31 @@ td small {
width: 10px;
height: 10px;
border-radius: 50%;
background: #555;
background: transparent;
}
.dot.on {
background: #3ecf6a;
}
button.start {
background: #2f9e4f;
border-color: #2f9e4f;
}
button.start:hover {
background: #37b85c;
}
button.stop {
background: #c0392b;
border-color: #c0392b;
}
button.stop:hover {
background: #d64434;
}
.error {
color: #ff6b6b;
white-space: pre-wrap;