Commit Graph
11 Commits
Author SHA1 Message Date
mmintelandClaude Opus 5.5 26531d7299 Kein Geister-Tisch im Cockpit, Lobby wartet auf die Tischzeilen
Live 30.10. 10:47: starting Practice showed "Big Ben 1676813" as a table
although none was open - `jetzt` kept the last decision (10:09) whose
table was long closed. It now follows the same rule as seats: only while
the table is open. The runner then failed to open a practice table: it
read the rows 0.5 s after the tab click (measured: they appear after
~2.5 s) and fell back to a blind "Join". It now polls up to ZEILEN_FRIST
and says so instead of joining blind. Lobby tabs measured read-only in
mock/vorlage/lobby-reiter.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:53:36 +01:00
mmintelandClaude Opus 5.5 9f67abbd64 Formate: Tische je Format im Spielplan, Format je Hand, Vergleich je Format
The user wants to choose what the bot plays (several formats at once) and
learn which works best. Each table now knows its format from roomProperties
(lesen/formate.py: cash, aof, bombpot, turnier, kpoker), every hand records
it, and the stats compare formats with a 95 % span; a "best" verdict only
when one span lies above all others. The plan holds tables per format; the
runner fills per format and never sits at an unchosen one. Lobby tabs other
than Cash/Practice are unmeasured, so those formats are selectable but the
runner says why it opens nothing. All-In or Fold hands now count as AOF in
the stats (they were dropped); the runner still abstains there until the
AoF buttons are measured - spielart_spec's exact reason text is updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:43:23 +01:00
mmintelandClaude Opus 5.5 6da428d456 Web-Oberflaeche entfernt: das Cockpit ist nur noch die Mac-App
The web page (sicht/seite.html) and the floating web bar (sicht/leiste.py,
leiste_mac.js) duplicated what the Swift app already does: panel, ESC
Not-Aus (EscRegel, tested in RegelnSpec), click protection via
cockpit.json. The server keeps /ws, /api/steuern and /foto; "/" is now 404.
start.py always runs server-only, so the app no longer passes --nur-server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:10:18 +01:00
mmintel b3532c9914 Merge main (Profile, Fenster, Spieler-Vorschau) in modi 2026-10-30 10:02:09 +01:00
mmintelandClaude Opus 5.5 ad66b713bc Tischvorschau: Gegner mit Profil je Tisch, aktuelle Hand aus dem Log
Gegnerprofile kamen bei mehreren Tischen vom falschen Platz: spot_from_log
ordnet die hud_stats jetzt ueber die Sitzliste des eigenen Raums zu
(profil.aus_sitzliste). Die Vorschau zeigt alle Plaetze mit Rolle, Stack,
Aktion, Typ und VPIP/PFR/F2B, auch ohne laufenden Laeufer, und keine alten
Karten an Tischen, an denen du nicht sitzt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:01:39 +01:00
mmintelandClaude Opus 5.5 0fcf356c42 Modi: Turnierlage an den Kern, K-Poker setzt aus, Modus in der Ansicht
The tournament lobby was already parsed but never reached the core. Each
tournament table is now linked to its lobby (tourneyLobbyName or
tournamentId) and the request carries `tournament`; a missing price or
rank list makes the turn unclear instead of guessing. K-Poker tables
(roomProperties.isKPoker) abstain until the key table is measured
(mock/vorlage/kpoker-tasten.md). The clone writes the rank list with each
lobby update and the tournament ids where the real log has them; the
view shows level, field and bubble, or menu and clock.

klonmaus appends mock/ to sys.path so mock/turnier.py no longer shadows
lesen/turnier.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 09:50:12 +01:00
mmintel c66be5f98a Auftrag K-Poker und Turnier: Tasten statt Klickstellen (kpokerBetKey), Turnierfelder liegen im Log, Modus in der Oberflaeche 2026-10-30 01:35:03 +01:00
mmintel 2ad34f92b7 Messkript fuer die Eingabe: drei Varianten (aktiviert/global, Hintergrund/pid absolut und relativ) 2026-10-29 23:34:38 +01:00
mmintel ce5c2ec2df Auftrag Eingabe: Strategie statt Maus (cdp/pid/global/Tastatur), Hintergrund als Standard, pid und Kuerzel vorher messen 2026-10-29 23:17:33 +01:00
mmintelandClaude Opus 5.5 5130fd417c Profil-Dialog: erkennen, vor dem Klick schliessen, zweiter Klick; Leiste, Tische anordnen, ESC-Not-Aus
- hand/dialog.py: Wache auf bad_beat_counter im Log (offenes Profil), Kopfzeilen-Signatur im Bild,
  schliessen per ESC (falls gemessen) sonst Kreuz, --messen/--zeigen
- runner: Dialog vor jedem Klick zu; unbestaetigter Klick -> schliessen, nachsehen, zweiter Klick
- Zeiger meidet Sitzschilder (sitzen.SCHILDER)
- Klon: /api/profil, /api/einstellung esc_schliesst, Hover oeffnet Profil, echte Logzeilen
- Cockpit als Leiste (immer oben), Tische nach vorn/anordnen, ESC und Strg+Alt+Umschalt+S als
  Not-Aus, Klickschutz unter der Leiste, neue Seite mit Navigation
- Kette im Klon: Log-Weg, stiller Dialog mit zweitem Klick, Messung (ESC schliesst nicht, Kreuz ja),
  Bild-Weg vor dem Klick - alle gruen

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 17:45:10 +01:00
mmintelandClaude Opus 5.5 1f1a4ab2b7 Cockpit (sicht/): lokale Sicht auf Bot, Tische, Geld und Stil - nur Standardbibliothek
- sicht/quellen.py: liest Schatten, Strom, Zustand, Statistik, Log-Schwanz, Not-Aus, Fenster;
  nur bei Änderung, abgeschnittene Zeilen fallen weg und werden gezählt, fehlt etwas: leer
- sicht/ansicht.py: rein, wirft nie - acht Bereiche (Kopf, Jetzt mit Countdown und Klick-Beleg,
  Wachstum mit bb/100 und 95-%-Intervall, Entscheidungen mit Filterregel, Geld, Sitzen, Stil,
  Ticker), Grund des Kerns im deutschen Klartext; Format in sicht/ANSICHT.md
- sicht/ws.py, server.py, start.py: nur 127.0.0.1, eine WebSocket-Verbindung, schickt nur
  geänderte Bereiche; Host/Origin geprüft
- sicht/steuern.py: Not-Aus, Läufer starten/stoppen (eigene Prozessgruppe, PID-Datei),
  Tische schließen, Übungstisch öffnen, Screenshot je Tisch - mit Rückmeldung
- sicht/seite.html: eine Seite, SVG-Diagramme von Hand, leere Zustände, ?demo
- betrieb/runner.py: Entscheidungen tragen Raum und Hinweis im Schattenlog
- tests/sicht_ansicht_spec.py (23), tests/sicht_ws_spec.py (10)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 14:25:59 +01:00