undef-engine 2025-05-26
Fix CLI blocking error and restructure into Responsum package
19 files · 1,844+ · 321-

CLI blocking error and server communication fixes

3 files changed
  • rsp_cli.py Fixed BlockingIOError preventing proper CLI-to-server communication
  • main.py Updated server request handling and WebSocket management
  • ws_manager.py Fixed WebSocket connection handling issues
  • Resolved BlockingIOError that was preventing proper CLI-to-server communication remediate behavioral
    1 file
    • rsp_cli.py
  • Fixed WebSocket manager connection handling issues remediate internal
    2 files
    • ws_manager.py
    • main.py

Package restructure and game flow improvements

6 files changed
  • __init__.py New package init establishing src/responsum layout
  • game_logic.py Game logic moved into package structure
  • models.py Data models moved into package structure
  • schemas.py Schemas moved into package structure
  • card_loader.py Card loader moved into package structure
  • __init__.py Server module initialization
  • Restructured project into src/responsum package with proper module hierarchy instantiate architectural
    5 files
    • __init__.py
    • game_logic.py
    • models.py
    • schemas.py
    • card_loader.py
  • Enhanced CLI for improved game flow interaction streamline behavioral
    1 file
    • rsp_cli.py
  • Updated game logic to support additional game state transitions instantiate internal
    1 file
    • game_logic.py

Test and dependency updates

4 files changed
  • test_card_loader.py Unit tests for card loader
  • test_game_logic.py Unit tests for game logic
  • test_models.py Unit tests for data models
  • pyproject.toml Updated project dependencies
  • Added unit tests for card loader, game logic, and models qualify internal
    3 files
    • test_card_loader.py
    • test_game_logic.py
    • test_models.py
  • Improved pyproject.toml dependencies baseline internal
    1 file
    • pyproject.toml