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

Function getKimiWebApi

apps/kimi-web/src/api/index.ts:10–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8let singleton: KimiWebApi | undefined;
9
10export function getKimiWebApi(): KimiWebApi {
11 singleton ??= new DaemonKimiWebApi(readKimiApiConfig());
12 return singleton;
13}

Callers 15

ensureConnectionFunction · 0.90
startFunction · 0.90
closeFunction · 0.90
openMediaPreviewFunction · 0.90
refreshSessionStatusFunction · 0.90
persistSessionProfileFunction · 0.90
connectEventsIfNeededFunction · 0.90
pullSessionWarningsFunction · 0.90
syncSessionFromSnapshotFunction · 0.90
loadSkillsForSessionFunction · 0.90
loadModelsFunction · 0.90

Calls 1

readKimiApiConfigFunction · 0.90

Tested by

no test coverage detected