@everme/cli 0.33.1 → 0.33.3

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 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. The `evercli` shim (`scripts/run.js`) execs that binary with your args
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@everme/cli",
3
- "version": "0.33.1",
4
- "description": "EverMe CLI — npm wrapper that downloads and runs the platform-native evercli binary on first use.",
3
+ "version": "0.33.3",
4
+ "description": "EverMe CLI \u2014 npm wrapper that downloads and runs the platform-native evercli binary on first use.",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
7
7
  "evercli": "scripts/run.js"
@@ -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,52 @@ 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
+ // QwenWork runs a staged copy under ~/.qwenworkcn/everme, same shape as
195
+ // MiniMax Code: bump the global package first so the re-stage copies the new
196
+ // code, then let evercli replace the stage and re-point settings.json at it.
197
+ function refreshQwenWork(binPath, runner) {
198
+ const run = runner || defaultRunner;
199
+ run(npmCommand(), ["install", "-g", "@everme/qwenwork@latest"], {
200
+ encoding: "utf8",
201
+ timeout: REFRESH_TIMEOUT_MS,
202
+ stdio: ["ignore", "ignore", "inherit"],
203
+ });
204
+ run(binPath, ["plugin", "install", "qwenwork"], {
205
+ encoding: "utf8",
206
+ timeout: REFRESH_TIMEOUT_MS,
207
+ stdio: ["ignore", "ignore", "inherit"],
208
+ });
209
+ }
210
+
211
+ // Pi records an unpinned npm source, but installing it again is not its update
212
+ // contract. Use Pi's package-specific update command so the registered package
213
+ // moves to the latest npm version without rewriting EverMe credentials.
214
+ function refreshPi(runner) {
215
+ const run = runner || defaultRunner;
216
+ run("pi", ["update", "npm:@everme/pi"], {
217
+ encoding: "utf8",
218
+ timeout: PI_REFRESH_TIMEOUT_MS,
219
+ stdio: ["ignore", "ignore", "inherit"],
220
+ });
221
+ }
222
+
176
223
  // Raven's Python backend is embedded in the evercli binary, so the freshly
177
224
  // downloaded binary is the new payload — re-running install is what
178
225
  // rewrites ~/.raven/plugins/everme-memory/. Nothing to bump on npm.
@@ -261,6 +308,13 @@ function refreshPlugins(opts) {
261
308
  } else if (h.platform === "kimicode") {
262
309
  refreshKimicode(binPath, runner);
263
310
  log("[@everme/cli] kimicode: bundle staged — run `/plugins install ~/.kimi-code/everme` in the Kimi Code TUI to load it");
311
+ } else if (h.platform === "minimaxcode") {
312
+ refreshMinimaxCode(binPath, runner);
313
+ } else if (h.platform === "pi") {
314
+ refreshPi(runner);
315
+ } else if (h.platform === "qwenwork") {
316
+ refreshQwenWork(binPath, runner);
317
+ log("[@everme/cli] qwenwork: hooks re-staged — restart QwenWork so it re-reads settings.json");
264
318
  }
265
319
  } catch (e) {
266
320
  log(`[@everme/cli] ${h.platform}: refresh failed (continuing): ${e.message}`);
@@ -283,9 +337,11 @@ function logUnconnectedHosts(hosts, log) {
283
337
 
284
338
  module.exports = {
285
339
  NPX_PLATFORMS,
340
+ refreshQwenWork,
286
341
  LIST_TIMEOUT_MS,
287
342
  REFRESH_TIMEOUT_MS,
288
343
  DSH_REFRESH_TIMEOUT_MS,
344
+ PI_REFRESH_TIMEOUT_MS,
289
345
  npmCommand,
290
346
  discoverHosts,
291
347
  patchNpxSpec,
@@ -294,6 +350,8 @@ module.exports = {
294
350
  refreshOpenClaw,
295
351
  refreshHermes,
296
352
  refreshKimicode,
353
+ refreshMinimaxCode,
354
+ refreshPi,
297
355
  refreshRaven,
298
356
  refreshDSH,
299
357
  shouldRefreshDSH,
package/sha256sums.txt CHANGED
@@ -1,6 +1,6 @@
1
- 2ab1931b74f0eceb3c88be8d3bccbd6d20a4553296653bd9d8fd9b5951e7bd24 evercli_darwin_amd64.tar.gz
2
- f1232df4e1a75175247093aa892ea1a963293845dc479e0fc04e4602d747336f evercli_darwin_arm64.tar.gz
3
- e943f1238de7147d3f2f8f93f0f809f367b0c827958d87edeeffc7294541c887 evercli_linux_amd64.tar.gz
4
- 41b5dac0f9aac85e1f650391453c0d12b0c6b844d84a922473df93a364180b8e evercli_linux_arm64.tar.gz
5
- a266d07b654ec2327fe4dfbcd0aaee2be812cddbf894ab6f2172096dee34b98d evercli_windows_amd64.zip
6
- 1853353a258ab421bcf1305834e7f8ffb088472a11cf45a3fa14f46ce7260c98 evercli_windows_arm64.zip
1
+ efe7f074bca2f8ae23028dabfa03e46ade315af45b8b9b3f8556c8b92fc70973 evercli_darwin_amd64.tar.gz
2
+ fa183165cd975259d0bc15d4ac0de22f06aa353f97043c50d3380fc8ad81a8a8 evercli_darwin_arm64.tar.gz
3
+ 6b40cceec8e26276f3490c5d58cae62c6570a215a1c7bfb018aa6a81d8d373ea evercli_linux_amd64.tar.gz
4
+ 75c21d413a6c4c126e5d7934c7c8568a901f271c7086e63d071b40fa57ccda10 evercli_linux_arm64.tar.gz
5
+ 2d278961ac21d473c857efd829296d342be5ebfa2d14b33ca9a3f88b09e1909b evercli_windows_amd64.zip
6
+ 9aff212903d8b7eeb38c9721d653a5a869cf4d53f4750ca4daee119aa63c0a78 evercli_windows_arm64.zip