@vendian/cli 0.0.19 → 0.0.20
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 +4 -2
- 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.20" : 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;
|
|
@@ -37730,10 +37730,12 @@ function reconcileInventoryRunState(agentRunState, agents, timestamp) {
|
|
|
37730
37730
|
disabledReason: stringValue(agent.disabledReason || "System dependency not met locally"),
|
|
37731
37731
|
resolutionHints: Array.isArray(agent.resolutionHints) ? agent.resolutionHints : []
|
|
37732
37732
|
});
|
|
37733
|
-
} else if (agent?.status === "online" &&
|
|
37733
|
+
} else if (agent?.status === "online" && ["preparing", "error", "disabled"].includes(current?.status) && !current?.runId) {
|
|
37734
37734
|
next = setAgentRunState(next, path8, {
|
|
37735
37735
|
status: "ready",
|
|
37736
37736
|
lastEventAt: timestamp || (/* @__PURE__ */ new Date()).toISOString(),
|
|
37737
|
+
progressMessage: null,
|
|
37738
|
+
progressStage: null,
|
|
37737
37739
|
errorMessage: null,
|
|
37738
37740
|
disabledReason: null,
|
|
37739
37741
|
resolutionHints: null
|