@everme/cli 0.32.0 → 0.33.0

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.33.0",
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
+ 6a7d37f5dac58540f03812d809a6bef00a2a7d7cace27e1028209deecb89b3b0 evercli_darwin_amd64.tar.gz
2
+ a1701f9e38c5f4c5696789c9e0707117f03c112b375a7f5c610a51910ad08002 evercli_darwin_arm64.tar.gz
3
+ 00098788cb62cea1a853fb4641c484bc2e643b953c3e70fffd2aa0e9d706e835 evercli_linux_amd64.tar.gz
4
+ 1e038f65782cfc71914f88fd3be48bd6541daef7398cba24d0d5c3d7ef48e03a evercli_linux_arm64.tar.gz
5
+ 53689c68af240bbf566fdad0a3eb0f7be38f3b2e3e6af355023f4828027179c7 evercli_windows_amd64.zip
6
+ a3b4ccc89ae04a7e4370169dbb7d78ee7379d254da6268ecfb70d3d15c9ad344 evercli_windows_arm64.zip