Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
let
singleton: KimiWebApi | undefined;
9
10
export
function
getKimiWebApi(): KimiWebApi {
11
singleton ??=
new
DaemonKimiWebApi(readKimiApiConfig());
12
return
singleton;
13
}
Callers
15
ensureConnection
Function · 0.90
start
Function · 0.90
close
Function · 0.90
openMediaPreview
Function · 0.90
refreshSessionStatus
Function · 0.90
persistSessionProfile
Function · 0.90
connectEventsIfNeeded
Function · 0.90
pullSessionWarnings
Function · 0.90
syncSessionFromSnapshot
Function · 0.90
useKimiWebClient.ts
File · 0.90
loadSkillsForSession
Function · 0.90
loadModels
Function · 0.90
Calls
1
readKimiApiConfig
Function · 0.90
Tested by
no test coverage detected