Files
Mason Daugherty 8ee2d6affe refactor(code): move Textual adapter into tui package (#4532)
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.
2026-07-06 17:05:58 -04:00
..