@everme/cli 0.32.0 → 0.32.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everme/cli",
3
- "version": "0.32.0",
3
+ "version": "0.32.1",
4
4
  "description": "EverMe CLI — npm wrapper that downloads and runs the platform-native evercli binary on first use.",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
@@ -27,6 +27,7 @@ const NPX_PLATFORMS = new Set(["cursor", "claude-desktop", "codex", "opencode"])
27
27
 
28
28
  const LIST_TIMEOUT_MS = 15000;
29
29
  const REFRESH_TIMEOUT_MS = 60000;
30
+ const DSH_REFRESH_TIMEOUT_MS = 6 * 60 * 1000;
30
31
 
31
32
  function npmCommand() {
32
33
  return process.platform === "win32" ? "npm.cmd" : "npm";
@@ -184,6 +185,25 @@ function refreshRaven(binPath, runner) {
184
185
  });
185
186
  }
186
187
 
188
+ function refreshDSH(binPath, runner) {
189
+ const run = runner || defaultRunner;
190
+ run(binPath, ["plugin", "install", "dsh"], {
191
+ encoding: "utf8",
192
+ timeout: DSH_REFRESH_TIMEOUT_MS,
193
+ stdio: ["ignore", "ignore", "inherit"],
194
+ });
195
+ }
196
+
197
+ function shouldRefreshDSH(host) {
198
+ return Boolean(
199
+ host &&
200
+ host.platform === "dsh" &&
201
+ host.installed === true &&
202
+ host.hasEverMeEntry === true &&
203
+ host.registeredAgent != null
204
+ );
205
+ }
206
+
187
207
  function skipReason(env) {
188
208
  if (env.EVERME_SKIP_PLUGIN_UPGRADE) return "EVERME_SKIP_PLUGIN_UPGRADE is set";
189
209
  if (env.CI) return "CI environment";
@@ -232,6 +252,12 @@ function refreshPlugins(opts) {
232
252
  refreshHermes(binPath, runner);
233
253
  } else if (h.platform === "raven") {
234
254
  refreshRaven(binPath, runner);
255
+ } else if (h.platform === "dsh") {
256
+ if (shouldRefreshDSH(h)) {
257
+ refreshDSH(binPath, runner);
258
+ } else {
259
+ log("[@everme/cli] dsh: refresh skipped (host is not installed or not registered to the current account)");
260
+ }
235
261
  } else if (h.platform === "kimicode") {
236
262
  refreshKimicode(binPath, runner);
237
263
  log("[@everme/cli] kimicode: bundle staged — run `/plugins install ~/.kimi-code/everme` in the Kimi Code TUI to load it");
@@ -259,6 +285,7 @@ module.exports = {
259
285
  NPX_PLATFORMS,
260
286
  LIST_TIMEOUT_MS,
261
287
  REFRESH_TIMEOUT_MS,
288
+ DSH_REFRESH_TIMEOUT_MS,
262
289
  npmCommand,
263
290
  discoverHosts,
264
291
  patchNpxSpec,
@@ -268,6 +295,8 @@ module.exports = {
268
295
  refreshHermes,
269
296
  refreshKimicode,
270
297
  refreshRaven,
298
+ refreshDSH,
299
+ shouldRefreshDSH,
271
300
  skipReason,
272
301
  refreshPlugins,
273
302
  logUnconnectedHosts,
package/sha256sums.txt CHANGED
@@ -1,6 +1,6 @@
1
- 17afdafb037bd89173aa7ff1266a16136715e343e68286e64cb471555b0f447d evercli_darwin_amd64.tar.gz
2
- 20f8864f519a1bd646cb55e15d9ea387e3c433e50441a2a4e67a87370ad4e09b evercli_darwin_arm64.tar.gz
3
- faafc4ce6e46949198a15bc584fd9327b2c5bfbc1b3204aca1f9505ed7c9eda0 evercli_linux_amd64.tar.gz
4
- dc3ed38b34b5742ebc2c49d366ab378206a6c2c395e3cb2dc089229494f24259 evercli_linux_arm64.tar.gz
5
- 72a6606221c80a05d4cc965315769357cdc8e7be2631c9dcfaa8e96b40678222 evercli_windows_amd64.zip
6
- a7682a42d21d775891df995ad8a4f198b8ee076123fe947ad72037b90e17786f evercli_windows_arm64.zip
1
+ 5d347745c611e83b6ebf9db5f158aada9b71b87402f7d5eeefdef43c79d3b134 evercli_darwin_amd64.tar.gz
2
+ 8c83fb8efc662ec7e411e65064ef1adb871209fb9908b2909089dab2d6e9c01d evercli_darwin_arm64.tar.gz
3
+ d7bfa963877adbe10e5cc17f4b020867ded213b84ed5a437c5803e60ea1263d5 evercli_linux_amd64.tar.gz
4
+ 9fa4155157838bd97633a582aa6162a44418a7edb03c85b79a801e98f39b8c66 evercli_linux_arm64.tar.gz
5
+ 9de91e5647b29d579d7f3bba91b9cd2c3394e69d1241c05cc280fe479e07fef6 evercli_windows_amd64.zip
6
+ b0a074a00bb4e499aeed6769340c5f154b7021a39ea6998214fd5515fbbff271 evercli_windows_arm64.zip