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

Function getHostPackageRoot

apps/kimi-code/src/cli/version.ts:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37export function getHostPackageRoot(): string {
38 return dirname(getHostPackageJsonPath());
39}
40
41export function getVersion(): string {
42 if (KIMI_BUILD_INFO.version !== undefined) {

Callers 2

version.test.tsFile · 0.90

Calls 1

getHostPackageJsonPathFunction · 0.85

Tested by

no test coverage detected