@everme/cli 0.33.6 → 0.33.8
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
|
@@ -194,6 +194,23 @@ function refreshMinimaxCode(binPath, runner) {
|
|
|
194
194
|
// QwenWork runs a staged copy under ~/.qwenworkcn/everme, same shape as
|
|
195
195
|
// MiniMax Code: bump the global package first so the re-stage copies the new
|
|
196
196
|
// code, then let evercli replace the stage and re-point settings.json at it.
|
|
197
|
+
// WorkBuddy runs a staged copy under ~/.workbuddy/everme, same shape as
|
|
198
|
+
// QwenWork: bump the global package first so the re-stage copies the new code,
|
|
199
|
+
// then let evercli replace the stage and re-point settings.json at it.
|
|
200
|
+
function refreshWorkBuddy(binPath, runner) {
|
|
201
|
+
const run = runner || defaultRunner;
|
|
202
|
+
run(npmCommand(), ["install", "-g", "@everme/workbuddy@latest"], {
|
|
203
|
+
encoding: "utf8",
|
|
204
|
+
timeout: REFRESH_TIMEOUT_MS,
|
|
205
|
+
stdio: ["ignore", "ignore", "inherit"],
|
|
206
|
+
});
|
|
207
|
+
run(binPath, ["plugin", "install", "workbuddy"], {
|
|
208
|
+
encoding: "utf8",
|
|
209
|
+
timeout: REFRESH_TIMEOUT_MS,
|
|
210
|
+
stdio: ["ignore", "ignore", "inherit"],
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
|
|
197
214
|
function refreshQwenWork(binPath, runner) {
|
|
198
215
|
const run = runner || defaultRunner;
|
|
199
216
|
run(npmCommand(), ["install", "-g", "@everme/qwenwork@latest"], {
|
|
@@ -315,6 +332,9 @@ function refreshPlugins(opts) {
|
|
|
315
332
|
} else if (h.platform === "qwenwork") {
|
|
316
333
|
refreshQwenWork(binPath, runner);
|
|
317
334
|
log("[@everme/cli] qwenwork: hooks re-staged — restart QwenWork so it re-reads settings.json");
|
|
335
|
+
} else if (h.platform === "workbuddy") {
|
|
336
|
+
refreshWorkBuddy(binPath, runner);
|
|
337
|
+
log("[@everme/cli] workbuddy: hooks re-staged — quit WorkBuddy completely (Cmd+Q) and reopen it so the engine re-reads settings.json");
|
|
318
338
|
}
|
|
319
339
|
} catch (e) {
|
|
320
340
|
log(`[@everme/cli] ${h.platform}: refresh failed (continuing): ${e.message}`);
|
|
@@ -338,6 +358,7 @@ function logUnconnectedHosts(hosts, log) {
|
|
|
338
358
|
module.exports = {
|
|
339
359
|
NPX_PLATFORMS,
|
|
340
360
|
refreshQwenWork,
|
|
361
|
+
refreshWorkBuddy,
|
|
341
362
|
LIST_TIMEOUT_MS,
|
|
342
363
|
REFRESH_TIMEOUT_MS,
|
|
343
364
|
DSH_REFRESH_TIMEOUT_MS,
|
package/sha256sums.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
819fd370f4cd275fe693064bee36752d699939ca60ccc2fd1078373de289b622 evercli_darwin_amd64.tar.gz
|
|
2
|
+
a4cc2e8f9017c7875c96b54543759f0bf4274cb7180d759d21d756d5fac84509 evercli_darwin_arm64.tar.gz
|
|
3
|
+
2246ae2c0efd4e62d71f87d47afcec6cc9a548eb960ff9865fba4c4ce0377c5b evercli_linux_amd64.tar.gz
|
|
4
|
+
74913919d0e4d9efcd6a3a598b03383b5d49f9fee849dc0c441566ee467366eb evercli_linux_arm64.tar.gz
|
|
5
|
+
8b1e9d1c82b4e7727a7e71fa4a7a63023695b7eabd3eca3573e8781b9223f4a9 evercli_windows_amd64.zip
|
|
6
|
+
b8489a0f57fccb5c2b1dff44172fcf10e55ca0b0011d3d7cbee9e33fb95e4721 evercli_windows_arm64.zip
|