mirror of
https://github.com/langchain-ai/deepagents.git
synced 2026-07-21 17:25:26 -04:00
8ee2d6affe
Continues the dcode package restructure by giving the Textual execution adapter a canonical home under `deepagents_code.tui`. Shared session stats formatting now lives outside the TUI layer so headless and client paths do not need to import Textual-facing code. ## Changes - Moves `TextualUIAdapter` and `execute_task_textual` under the TUI package and updates app, integration, benchmark, and unit-test imports to use the new canonical path. - Keeps `client/non_interactive` and shared command logic independent of `deepagents_code.tui` by moving `print_usage_table` alongside `SessionStats` and `format_token_count`. - Relocates adapter-specific tests under the matching `tests/unit_tests/tui` layout and moves shared session-stat coverage to the existing `_session_stats` test module. - Refreshes threat-model and inline references that described the old flat adapter location.