MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / loadRuntimeStatusReport

Function loadRuntimeStatusReport

apps/kimi-code/src/tui/commands/info.ts:194–200  ·  view source on GitHub ↗
(host: SlashCommandHost)

Source from the content-addressed store, hash-verified

192}
193
194async 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
202async function loadManagedUsageReport(host: SlashCommandHost): Promise<ManagedUsageResult | undefined> {
203 const alias = host.state.appState.model;

Callers 1

showStatusReportFunction · 0.85

Calls 2

getStatusMethod · 0.65
requireSessionMethod · 0.65

Tested by

no test coverage detected