PluginManagerScreen(
self,
*,
mcp_server_info: Sequence[MCPServerInfo] = (),
loaded_plugin_ids: AbstractSet[strModalScreen[None]| Name | Type | Description |
|---|---|---|
mcp_server_info | Sequence[MCPServerInfo] | Default: () |
loaded_plugin_ids | AbstractSet[str] | None | Default: None |
| Name | Type |
|---|---|
| mcp_server_info | Sequence[MCPServerInfo] |
| loaded_plugin_ids | AbstractSet[str] | None |
Arrow-key navigable plugin manager for /plugins.
When plugin state changed while the manager was open, a reload prompt is
shown after this screen closes offering to apply the changes via /reload;
an unchanged close shows nothing.
Live MCP server metadata from the running session, used to show connection status for plugins that declare MCP servers.
Plugin ids loaded into the current session. Plugins whose enabled state differs from this set (enabled but not loaded, or disabled but still loaded) are shown as pending reload.
Compose the manager screen.
Apply initial render, then load plugin state off the UI thread.
Refit width-sized dividers when the modal resizes.
Gate priority bindings that would otherwise steal Input keystrokes.
/ is enabled only when the plugin filter is visible and not focused,
so it remains typeable in the filter and Add Marketplace source field,
and cannot steal focus while the filter is hidden.
Left/right release to a focused Input once it has at least one character,
so caret movement works while empty-field arrows keep switching tabs.
Focus plugin search when a letter is typed from another control.
Seed the character into the filter before focusing so the input never
paints empty with a caret flash (and so select_on_focus cannot leave
the inserted text selected for the next keypress).
Switch tabs from a mouse click on a tab label.
Clear a query, leave a prompt or details, or close the manager.
Focus the plugin filter when it is visible.
Switch tabs via right arrow when the caret is not editing text.
Switch tabs via left arrow when the caret is not editing text.
Switch tabs or focus the next details option.
Switch tabs or focus the previous details option.
Move the option-list cursor down.
Move the option-list cursor up.
Handle row activation.
Filter the current plugin list as the search query changes.
Activate a search result or start adding a marketplace.