@vendian/cli 0.0.18 → 0.0.19
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/cli-wrapper.mjs +14 -1
- package/package.json +1 -1
package/cli-wrapper.mjs
CHANGED
|
@@ -36794,7 +36794,7 @@ import fs12 from "node:fs";
|
|
|
36794
36794
|
import readlinePromises from "node:readline/promises";
|
|
36795
36795
|
|
|
36796
36796
|
// src/version.js
|
|
36797
|
-
var CLI_VERSION = true ? "0.0.
|
|
36797
|
+
var CLI_VERSION = true ? "0.0.19" : process.env.npm_package_version || "0.0.0-dev";
|
|
36798
36798
|
|
|
36799
36799
|
// src/npm-update.js
|
|
36800
36800
|
var NPM_CHECK_INTERVAL_MS = 30 * 60 * 1e3;
|
|
@@ -37197,6 +37197,19 @@ function applyServeEvent(state, event) {
|
|
|
37197
37197
|
activity: "Daemon registered"
|
|
37198
37198
|
};
|
|
37199
37199
|
}
|
|
37200
|
+
if (event.type === "agent_discovery_started") {
|
|
37201
|
+
return {
|
|
37202
|
+
...next,
|
|
37203
|
+
activity: "Scanning local agents"
|
|
37204
|
+
};
|
|
37205
|
+
}
|
|
37206
|
+
if (event.type === "agent_discovery_completed") {
|
|
37207
|
+
const agentCount = Number(event.agentCount || 0);
|
|
37208
|
+
return {
|
|
37209
|
+
...next,
|
|
37210
|
+
activity: `Discovered ${agentCount} agent${agentCount === 1 ? "" : "s"}`
|
|
37211
|
+
};
|
|
37212
|
+
}
|
|
37200
37213
|
if (event.type === "agent_prepare_plan") {
|
|
37201
37214
|
const agentCount = Number(event.agentCount || 0);
|
|
37202
37215
|
const environmentCount = Number(event.environmentCount || 0);
|