@everme/cli 0.33.2 → 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/package.json +2 -2
- package/scripts/upgrade-plugins.js +21 -0
- package/sha256sums.txt +6 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everme/cli",
|
|
3
|
-
"version": "0.33.
|
|
4
|
-
"description": "EverMe CLI
|
|
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"
|
|
@@ -191,6 +191,23 @@ function refreshMinimaxCode(binPath, runner) {
|
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
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
|
+
|
|
194
211
|
// Pi records an unpinned npm source, but installing it again is not its update
|
|
195
212
|
// contract. Use Pi's package-specific update command so the registered package
|
|
196
213
|
// moves to the latest npm version without rewriting EverMe credentials.
|
|
@@ -295,6 +312,9 @@ function refreshPlugins(opts) {
|
|
|
295
312
|
refreshMinimaxCode(binPath, runner);
|
|
296
313
|
} else if (h.platform === "pi") {
|
|
297
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");
|
|
298
318
|
}
|
|
299
319
|
} catch (e) {
|
|
300
320
|
log(`[@everme/cli] ${h.platform}: refresh failed (continuing): ${e.message}`);
|
|
@@ -317,6 +337,7 @@ function logUnconnectedHosts(hosts, log) {
|
|
|
317
337
|
|
|
318
338
|
module.exports = {
|
|
319
339
|
NPX_PLATFORMS,
|
|
340
|
+
refreshQwenWork,
|
|
320
341
|
LIST_TIMEOUT_MS,
|
|
321
342
|
REFRESH_TIMEOUT_MS,
|
|
322
343
|
DSH_REFRESH_TIMEOUT_MS,
|
package/sha256sums.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|