Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ lock.ts
File
lock.ts
packages/server/src/lock.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Filesystem lock
for
single-instance server enforcement.
3
*
4
* The lock is a small JSON file at `<KIMI_CODE_HOME>/server/lock` (defaults
Callers
nothing calls this directly
Calls
1
resolveKimiHome
Function · 0.90
Tested by
no test coverage detected