@everme/cli 0.31.2 → 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.31.2",
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
- 54771a695fbc165e9eb8bdcce034eb7e5c7926cc23e7b1fd74959cbf849352a6 evercli_darwin_amd64.tar.gz
2
- 5639f3efc81b5f90d9b7c958595937cd8dfacb87a8bdddbed254aeac74e63560 evercli_darwin_arm64.tar.gz
3
- 6416a58c5b844e222a07a00aa183fa8c8b247d5bbf5f3e1c8778708aec1c7f97 evercli_linux_amd64.tar.gz
4
- 49eb57fad2cf9a0f12f642cbb07996dbb1c741d94c003585f254ec96c22c0e52 evercli_linux_arm64.tar.gz
5
- 33f6121f260337e2e47bfbb619d4c6b42ed10edc9d98238fad6cc5ac32e06a32 evercli_windows_amd64.zip
6
- eab4fce41d034e084018a7332751000bfae1fa929e173cc2c5bcd414b00933a2 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