(host: SlashCommandHost, id: string)
| 461 | } |
| 462 | |
| 463 | async function renderPluginInfo(host: SlashCommandHost, id: string): Promise<void> { |
| 464 | const info = await host.requireSession().getPluginInfo(id); |
| 465 | const panel = new UsagePanelComponent( |
| 466 | () => buildPluginsInfoLines({ info }), |
| 467 | 'primary', |
| 468 | ` ${info.id} `, |
| 469 | ); |
| 470 | host.state.transcriptContainer.addChild(panel); |
| 471 | host.state.ui.requestRender(); |
| 472 | } |
| 473 | |
| 474 | async function installPluginFromSource( |
| 475 | host: SlashCommandHost, |
no test coverage detected