@cortexkit/magic-context 0.30.2 → 0.30.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8448,6 +8448,9 @@ function getMagicContextTempDir(harness = getHarness()) {
8448
8448
  return path.join(os.tmpdir(), harness, "magic-context");
8449
8449
  }
8450
8450
  function getMagicContextLogPath(harness = getHarness()) {
8451
+ const envPath = process.env.MAGIC_CONTEXT_LOG_PATH?.trim();
8452
+ if (envPath)
8453
+ return envPath;
8451
8454
  return path.join(getMagicContextTempDir(harness), "magic-context.log");
8452
8455
  }
8453
8456
  function getMagicContextHistorianDir(harness = getHarness()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortexkit/magic-context",
3
- "version": "0.30.2",
3
+ "version": "0.30.3",
4
4
  "description": "Unified CLI for Magic Context — setup, doctor, and migration across OpenCode and Pi",
5
5
  "keywords": [
6
6
  "opencode",