lakonai 0.16.2 → 0.16.4
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/package.json +2 -2
- package/src/upgrade.js +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lakonai",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.4",
|
|
4
4
|
"description": "lakonai — save AI context tokens. Filters & compresses CLI output (git, ls, grep, find, test runners, lint/build, docker/kubectl/aws) before it reaches Claude Code, Codex, Cursor, Windsurf, Cline or Gemini — and learns to filter new commands automatically the more you use it.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"author": "bargadev",
|
|
27
|
-
"homepage": "https://github.
|
|
27
|
+
"homepage": "https://bargadev.github.io/lakonai-site",
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|
|
30
30
|
"url": "git+https://github.com/bargadev/lakonai.git"
|
package/src/upgrade.js
CHANGED
|
@@ -27,7 +27,11 @@ function upgradeArgs(pm) {
|
|
|
27
27
|
case 'bun':
|
|
28
28
|
return ['bun', ['add', '-g', 'lakonai@latest']];
|
|
29
29
|
default:
|
|
30
|
-
|
|
30
|
+
// `--prefer-online` forces npm to revalidate cached registry metadata
|
|
31
|
+
// before resolving `latest`. Without it, a stale packument can pin the
|
|
32
|
+
// upgrade to an old version — npm served `latest → 0.16.2` from cache even
|
|
33
|
+
// after 0.16.3 shipped, so `upgrade` silently reinstalled the old build.
|
|
34
|
+
return ['npm', ['install', '-g', 'lakonai@latest', '--prefer-online']];
|
|
31
35
|
}
|
|
32
36
|
}
|
|
33
37
|
|