@everme/cli 0.33.1 → 0.33.2
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/README.md +9 -1
- package/package.json +1 -1
- package/scripts/upgrade-plugins.js +37 -0
- package/sha256sums.txt +6 -6
package/README.md
CHANGED
|
@@ -18,7 +18,15 @@ npx @everme/cli --version
|
|
|
18
18
|
2. Download the matching archive from `https://github.com/EverMind-AI/EverMe/releases/download/v<version>/evercli_<os>_<arch>.{tar.gz|zip}`
|
|
19
19
|
3. Verify SHA-256 against the `sha256sums.txt` shipped inside this npm package
|
|
20
20
|
4. Extract and place the binary under the package's `bin/` directory
|
|
21
|
-
5.
|
|
21
|
+
5. Best-effort refresh every already-connected EverMe integration to its
|
|
22
|
+
latest compatible payload; one host failure is reported but never blocks
|
|
23
|
+
the CLI upgrade
|
|
24
|
+
6. The `evercli` shim (`scripts/run.js`) execs that binary with your args
|
|
25
|
+
|
|
26
|
+
MiniMax Code and Pi refresh automatically. Kimi Code's latest bundle is
|
|
27
|
+
downloaded and staged automatically, but Kimi itself only exposes plugin
|
|
28
|
+
registration in its TUI, so finish with
|
|
29
|
+
`/plugins install ~/.kimi-code/everme` inside Kimi Code when prompted.
|
|
22
30
|
|
|
23
31
|
If `postinstall` was skipped (some `npx` flows, restricted CI), the installer runs lazily on first invocation.
|
|
24
32
|
|
package/package.json
CHANGED
|
@@ -28,6 +28,7 @@ const NPX_PLATFORMS = new Set(["cursor", "claude-desktop", "codex", "opencode"])
|
|
|
28
28
|
const LIST_TIMEOUT_MS = 15000;
|
|
29
29
|
const REFRESH_TIMEOUT_MS = 60000;
|
|
30
30
|
const DSH_REFRESH_TIMEOUT_MS = 6 * 60 * 1000;
|
|
31
|
+
const PI_REFRESH_TIMEOUT_MS = 5 * 60 * 1000;
|
|
31
32
|
|
|
32
33
|
function npmCommand() {
|
|
33
34
|
return process.platform === "win32" ? "npm.cmd" : "npm";
|
|
@@ -173,6 +174,35 @@ function refreshKimicode(binPath, runner) {
|
|
|
173
174
|
});
|
|
174
175
|
}
|
|
175
176
|
|
|
177
|
+
// MiniMax Code runs a staged copy under ~/.minimax/everme. Re-running
|
|
178
|
+
// evercli alone would copy the already-installed global npm package, so force
|
|
179
|
+
// that package to @latest first and then atomically replace the staged copy.
|
|
180
|
+
function refreshMinimaxCode(binPath, runner) {
|
|
181
|
+
const run = runner || defaultRunner;
|
|
182
|
+
run(npmCommand(), ["install", "-g", "@everme/minimaxcode@latest"], {
|
|
183
|
+
encoding: "utf8",
|
|
184
|
+
timeout: REFRESH_TIMEOUT_MS,
|
|
185
|
+
stdio: ["ignore", "ignore", "inherit"],
|
|
186
|
+
});
|
|
187
|
+
run(binPath, ["plugin", "install", "minimaxcode"], {
|
|
188
|
+
encoding: "utf8",
|
|
189
|
+
timeout: REFRESH_TIMEOUT_MS,
|
|
190
|
+
stdio: ["ignore", "ignore", "inherit"],
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// Pi records an unpinned npm source, but installing it again is not its update
|
|
195
|
+
// contract. Use Pi's package-specific update command so the registered package
|
|
196
|
+
// moves to the latest npm version without rewriting EverMe credentials.
|
|
197
|
+
function refreshPi(runner) {
|
|
198
|
+
const run = runner || defaultRunner;
|
|
199
|
+
run("pi", ["update", "npm:@everme/pi"], {
|
|
200
|
+
encoding: "utf8",
|
|
201
|
+
timeout: PI_REFRESH_TIMEOUT_MS,
|
|
202
|
+
stdio: ["ignore", "ignore", "inherit"],
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
|
|
176
206
|
// Raven's Python backend is embedded in the evercli binary, so the freshly
|
|
177
207
|
// downloaded binary is the new payload — re-running install is what
|
|
178
208
|
// rewrites ~/.raven/plugins/everme-memory/. Nothing to bump on npm.
|
|
@@ -261,6 +291,10 @@ function refreshPlugins(opts) {
|
|
|
261
291
|
} else if (h.platform === "kimicode") {
|
|
262
292
|
refreshKimicode(binPath, runner);
|
|
263
293
|
log("[@everme/cli] kimicode: bundle staged — run `/plugins install ~/.kimi-code/everme` in the Kimi Code TUI to load it");
|
|
294
|
+
} else if (h.platform === "minimaxcode") {
|
|
295
|
+
refreshMinimaxCode(binPath, runner);
|
|
296
|
+
} else if (h.platform === "pi") {
|
|
297
|
+
refreshPi(runner);
|
|
264
298
|
}
|
|
265
299
|
} catch (e) {
|
|
266
300
|
log(`[@everme/cli] ${h.platform}: refresh failed (continuing): ${e.message}`);
|
|
@@ -286,6 +320,7 @@ module.exports = {
|
|
|
286
320
|
LIST_TIMEOUT_MS,
|
|
287
321
|
REFRESH_TIMEOUT_MS,
|
|
288
322
|
DSH_REFRESH_TIMEOUT_MS,
|
|
323
|
+
PI_REFRESH_TIMEOUT_MS,
|
|
289
324
|
npmCommand,
|
|
290
325
|
discoverHosts,
|
|
291
326
|
patchNpxSpec,
|
|
@@ -294,6 +329,8 @@ module.exports = {
|
|
|
294
329
|
refreshOpenClaw,
|
|
295
330
|
refreshHermes,
|
|
296
331
|
refreshKimicode,
|
|
332
|
+
refreshMinimaxCode,
|
|
333
|
+
refreshPi,
|
|
297
334
|
refreshRaven,
|
|
298
335
|
refreshDSH,
|
|
299
336
|
shouldRefreshDSH,
|
package/sha256sums.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
79a0ebf782c839adcbafdb72f53c2744e3d56ef376eef8162a72d977d725d3d8 evercli_darwin_amd64.tar.gz
|
|
2
|
+
02aadc912e8861c3565de2b195665cc3fbc7e5aec485f451c9f3036910c46db3 evercli_darwin_arm64.tar.gz
|
|
3
|
+
a6ab41d77e7556c621ed41cc0af337c787e0515c575f32f2bffa9bed70ce3f56 evercli_linux_amd64.tar.gz
|
|
4
|
+
409d7a4f6c944817ad31fbeefe2422ba8264e8eb6de8ebcee697209b925e78be evercli_linux_arm64.tar.gz
|
|
5
|
+
5e3c13b9288a062c63a68aa98fba8efbd73e7f77f328442de7a113a104191968 evercli_windows_amd64.zip
|
|
6
|
+
e255f5d3b947ec882dfe9108ab3311159dd7b81b373d4d1c648efaa08f565772 evercli_windows_arm64.zip
|