MCPcopy Create free account
hub / github.com/cortexkit/magic-context / getMagicContextTempDir

Function getMagicContextTempDir

packages/plugin/src/shared/data-path.ts:35–37  ·  view source on GitHub ↗
(harness: HarnessId = getHarness())

Source from the content-addressed store, hash-verified

33 * the helper picks up the boot-time harness automatically.
34 */
35export function getMagicContextTempDir(harness: HarnessId = getHarness()): string {
36 return path.join(os.tmpdir(), harness, "magic-context");
37}
38
39/**
40 * Standard log file path the plugin writes to. Pi and OpenCode write to

Callers 2

getMagicContextLogPathFunction · 0.85

Calls 1

getHarnessFunction · 0.90

Tested by

no test coverage detected