v1.0.0.dev21: TUI 2.0
·
56 commits
to master
since this release
TUI 2.0
This release introduces a new Terminal User Interface (TUI) with runtime introspection capabilities, along with various improvements to the codebase structure and tooling.
Major New Features
Terminal User Interface (TUI) with Runtime Introspection
A comprehensive terminal-based interface has been introduced, providing interactive runtime introspection and control capabilities:
-
REPL Commands: Added a full set of commands for runtime inspection and management:
env: Inspect environment variables and runtime stateip: Display network interface and IP configuration informationconfig: View and modify global configuration settingsproto: Manage and inspect protocol modulesdb: Database interaction and query commands with completion support- Service management commands to start/stop services dynamically
-
Interactive Features:
- Inline completion support for enhanced usability
- Command completion for database operations
- Error handling improvements for unexpected runtime issues
-
Runtime Introspection: The TUI enables deep inspection of the running Dementor instance, allowing users to:
- Monitor active services and their status
- Examine protocol configurations in real-time
- Query captured data and credentials
- Adjust settings without restarting
Codebase Improvements
- Protocol Modules: Transitioned to class-style protocol modules for better organization
- Server Architecture: Added async server threads for SMTP and QUIC protocols
- Configuration Management: Moved interface settings into SessionConfig for centralized management
- Comprehensive import cleanup and organization across the codebase
- Updated CLI reference and added comprehensive TUI documentation
What's Changed
- enable all ruff rules with curated ignores and fix violations by @StrongWind1 in #30
- Update pyproject.toml and CI workflows by @StrongWind1 in #29
- [DEV] Better Terminal UI by @MatrixEditor in #31
Full Changelog: v1.0.0.dev20...v1.0.0.dev21