@cortexkit/magic-context 0.43.0 → 0.43.1

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 +10 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3940,6 +3940,13 @@ function getHarness() {
3940
3940
  }
3941
3941
  var currentHarness = "opencode";
3942
3942
 
3943
+ // ../plugin/src/shared/test-temp-dir.ts
3944
+ var STALE_TEMP_DIR_AGE_MS, registeredTempDirs;
3945
+ var init_test_temp_dir = __esm(() => {
3946
+ STALE_TEMP_DIR_AGE_MS = 60 * 60 * 1000;
3947
+ registeredTempDirs = new Set;
3948
+ });
3949
+
3943
3950
  // ../plugin/src/shared/data-path.ts
3944
3951
  var exports_data_path = {};
3945
3952
  __export(exports_data_path, {
@@ -4018,7 +4025,9 @@ function getMagicContextStorageDir() {
4018
4025
  function getLegacyOpenCodeMagicContextStorageDir() {
4019
4026
  return path.join(getOpenCodeStorageDir(), "plugin", "magic-context");
4020
4027
  }
4021
- var init_data_path = () => {};
4028
+ var init_data_path = __esm(() => {
4029
+ init_test_temp_dir();
4030
+ });
4022
4031
 
4023
4032
  // src/lib/paths.ts
4024
4033
  import { existsSync as existsSync4, readdirSync, statSync as statSync3 } from "node:fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortexkit/magic-context",
3
- "version": "0.43.0",
3
+ "version": "0.43.1",
4
4
  "description": "Unified CLI for Magic Context — setup, doctor, and migration across OpenCode, Pi, and OMP",
5
5
  "keywords": [
6
6
  "opencode",