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

Function makeKimiHome

packages/agent-core/test/plugin/manager.test.ts:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8import { PluginManager } from '../../src/plugin/manager';
9
10async function makeKimiHome(): Promise<string> {
11 return mkdtemp(path.join(tmpdir(), 'kimi-home-'));
12}
13
14async function managedPluginRoot(home: string, id: string): Promise<string> {
15 return realpath(path.join(home, 'plugins', 'managed', id));

Callers 1

manager.test.tsFile · 0.70

Calls 1

mkdtempFunction · 0.85

Tested by

no test coverage detected