@everme/cli 0.33.2 → 0.33.4
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 +1 -1
- package/scripts/upgrade-plugins.js +21 -0
- package/sha256sums.txt +6 -6
package/package.json
CHANGED
|
@@ -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
|
+
cd69275147f3f1a716b3abf87155405a58382344eeb6a00ed3eaca25662347f1 evercli_darwin_amd64.tar.gz
|
|
2
|
+
aa1ff4a8ecc2e8f0c5562a4197eb3858877e35406257432ab39e5db296a55089 evercli_darwin_arm64.tar.gz
|
|
3
|
+
8eb23f8fabc7a5038ac5a294c84108af06e6c0caa55cc4fcffa16059ce7b8fd1 evercli_linux_amd64.tar.gz
|
|
4
|
+
ac59a5293a66f1a894c6e824c8df29d3dee7e290f7bab18ebf26c5ed1be1afab evercli_linux_arm64.tar.gz
|
|
5
|
+
614f425e2ae6fcf7ddc686c45941313238460af85fb7b8652bdba5e2bd23fc8f evercli_windows_amd64.zip
|
|
6
|
+
a3fd837f53272239dcf4ace30597601040b8182f28022a2636479dc8d7d98482 evercli_windows_arm64.zip
|