@getmikie/cli 1.1.146 → 1.1.147
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/lib/update.mjs +17 -5
- package/package.json +5 -5
package/lib/update.mjs
CHANGED
|
@@ -3299,11 +3299,23 @@ export function createFilesystemAdapter({
|
|
|
3299
3299
|
) {
|
|
3300
3300
|
throw new Error("unsafe Mikie update filesystem path");
|
|
3301
3301
|
}
|
|
3302
|
-
} else
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3302
|
+
} else {
|
|
3303
|
+
// Promotion copies the staged wrapper folder, which may carry its own
|
|
3304
|
+
// nested platform package; Node then resolves that copy. It lives
|
|
3305
|
+
// inside the wrapper root, so rollback restores it with the wrapper.
|
|
3306
|
+
const nestedPlatformRoot = path.join(
|
|
3307
|
+
currentRoots.wrapperRoot,
|
|
3308
|
+
"node_modules",
|
|
3309
|
+
path.basename(path.dirname(currentRoots.platformRoot)),
|
|
3310
|
+
path.basename(currentRoots.platformRoot),
|
|
3311
|
+
);
|
|
3312
|
+
if (
|
|
3313
|
+
!sameExecutablePath(candidateRoots.wrapperRoot, currentRoots.wrapperRoot) ||
|
|
3314
|
+
(!sameExecutablePath(candidateRoots.platformRoot, currentRoots.platformRoot) &&
|
|
3315
|
+
!sameExecutablePath(candidateRoots.platformRoot, nestedPlatformRoot))
|
|
3316
|
+
) {
|
|
3317
|
+
throw new Error("unsafe Mikie update filesystem path");
|
|
3318
|
+
}
|
|
3307
3319
|
}
|
|
3308
3320
|
return candidate;
|
|
3309
3321
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getmikie/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.147",
|
|
4
4
|
"description": "Coding-agent context optimization for Codex and Claude Code with MCP retrieval and usage receipts.",
|
|
5
5
|
"homepage": "https://getmikie.com",
|
|
6
6
|
"keywords": [
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"node": ">=22"
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"@getmikie/darwin-arm64": "1.1.
|
|
35
|
-
"@getmikie/linux-x64-gnu": "1.1.
|
|
36
|
-
"@getmikie/win32-x64": "1.1.
|
|
34
|
+
"@getmikie/darwin-arm64": "1.1.147",
|
|
35
|
+
"@getmikie/linux-x64-gnu": "1.1.147",
|
|
36
|
+
"@getmikie/win32-x64": "1.1.147"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public",
|
|
40
40
|
"registry": "https://registry.npmjs.org"
|
|
41
41
|
},
|
|
42
|
-
"mikieReleaseNote": "
|
|
42
|
+
"mikieReleaseNote": "Fixes mikie update when npm nests the platform package under @getmikie/cli. Devices page shows approximate city and region."
|
|
43
43
|
}
|