@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.
- package/dist/index.js +10 -1
- 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";
|