trading_agent.terminal.screens.extensions_screen
¶
The Extensions page: subagents, MCP servers and installed packages.
It copies the web page's ExtensionsPage.tsx and, like it, only shows them; packages are installed with trading-agent packages install.
Typical usage example:
app.push_screen(ExtensionsScreen('general'))
ExtensionsScreen
¶
Bases: PageScreen
The Extensions page.
Source code in src/trading_agent/terminal/screens/page_screen.py
compose_page
¶
Builds the three tables.
Yields:
| Type | Description |
|---|---|
Widget
|
The sections, in a scroll area. |
Source code in src/trading_agent/terminal/screens/extensions_screen.py
on_mount
¶
Sets up the tables, then reads the extensions.
Source code in src/trading_agent/terminal/screens/extensions_screen.py
refresh_page
async
¶
Reads the subagents, servers and packages.