fraim 2.0.357-next.6 → 2.0.357-next.7
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.
|
@@ -73,9 +73,9 @@ const CACHE_GENERATIONS_KEPT = ${CACHE_GENERATIONS_KEPT};
|
|
|
73
73
|
const CACHE_MIN_AGE_MS = ${CACHE_MIN_AGE_MS};
|
|
74
74
|
const USER_DIR = process.env.FRAIM_USER_DIR || path.join(os.homedir(), '.fraim');
|
|
75
75
|
const STATE_DIR = path.join(USER_DIR, 'mcp-launcher');
|
|
76
|
-
const STATE_PATH = path.join(STATE_DIR, 'latest.json');
|
|
76
|
+
const STATE_PATH = path.join(STATE_DIR, 'latest-' + DIST_TAG + '.json');
|
|
77
77
|
const CACHE_ROOT = path.join(USER_DIR, 'npm-cache', 'mcp');
|
|
78
|
-
const REFRESH_LOCK = path.join(STATE_DIR, 'refresh.lock');
|
|
78
|
+
const REFRESH_LOCK = path.join(STATE_DIR, 'refresh-' + DIST_TAG + '.lock');
|
|
79
79
|
const REFRESH_LOCK_STALE_MS = 10 * 60 * 1000;
|
|
80
80
|
const launchStartedAt = Date.now();
|
|
81
81
|
const DIST_TAG = (process.env.FRAIM_RELEASE_CHANNEL || '').toUpperCase() === 'PPE' ? 'next' : 'latest';
|