(host: SlashCommandHost)
| 573 | } |
| 574 | |
| 575 | export async function showExperimentsPanel(host: SlashCommandHost): Promise<void> { |
| 576 | let features: readonly ExperimentalFeatureState[]; |
| 577 | try { |
| 578 | features = await host.harness.getExperimentalFeatures(); |
| 579 | } catch (error) { |
| 580 | host.showError(`Failed to load experimental features: ${formatErrorMessage(error)}`); |
| 581 | return; |
| 582 | } |
| 583 | mountExperimentsPanel(host, features); |
| 584 | } |
| 585 | |
| 586 | export async function applyExperimentalFeatureChanges( |
| 587 | host: SlashCommandHost, |
no test coverage detected