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

Function defaultOpenCodeDbPath

packages/cli/src/commands/migrate.ts:171–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169 "Magic Context compacted prior conversation. See <session-history> block for the structured summary.";
170
171function defaultOpenCodeDbPath(): string {
172 return join(homedir(), ".local", "share", "opencode", "opencode.db");
173}
174
175function defaultCortexkitDbPath(): string {
176 return join(getMagicContextStorageDir(), "context.db");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected