Skip to content

v1.0.0.dev21: TUI 2.0

Choose a tag to compare

@MatrixEditor MatrixEditor released this 15 Mar 21:15
· 56 commits to master since this release
d4938d9

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.

demo

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 state
    • ip: Display network interface and IP configuration information
    • config: View and modify global configuration settings
    • proto: Manage and inspect protocol modules
    • db: 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

Full Changelog: v1.0.0.dev20...v1.0.0.dev21