(host: SlashCommandHost)
| 192 | } |
| 193 | |
| 194 | async function loadRuntimeStatusReport(host: SlashCommandHost): Promise<RuntimeStatusResult> { |
| 195 | try { |
| 196 | return { status: await host.requireSession().getStatus() }; |
| 197 | } catch (error) { |
| 198 | return { error: error instanceof Error ? error.message : String(error) }; |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | async function loadManagedUsageReport(host: SlashCommandHost): Promise<ManagedUsageResult | undefined> { |
| 203 | const alias = host.state.appState.model; |
no test coverage detected