@vendian/cli 0.0.21 → 0.0.22
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 +11 -1
- package/package.json +1 -1
package/cli-wrapper.mjs
CHANGED
|
@@ -36804,7 +36804,7 @@ import fs12 from "node:fs";
|
|
|
36804
36804
|
import readlinePromises from "node:readline/promises";
|
|
36805
36805
|
|
|
36806
36806
|
// src/version.js
|
|
36807
|
-
var CLI_VERSION = true ? "0.0.
|
|
36807
|
+
var CLI_VERSION = true ? "0.0.22" : process.env.npm_package_version || "0.0.0-dev";
|
|
36808
36808
|
|
|
36809
36809
|
// src/npm-update.js
|
|
36810
36810
|
var NPM_CHECK_INTERVAL_MS = 30 * 60 * 1e3;
|
|
@@ -38754,6 +38754,7 @@ function ServeScreen({ env: env3, platform: platform2, input, onBack, onState, o
|
|
|
38754
38754
|
const serveRoot = selectedAgentsDir || "./agents";
|
|
38755
38755
|
setAgentsDir(serveRoot);
|
|
38756
38756
|
setPendingAgentsDir(serveRoot);
|
|
38757
|
+
setServeScopeChoice(null);
|
|
38757
38758
|
setStartupError("");
|
|
38758
38759
|
setLoadingWorkspaces(true);
|
|
38759
38760
|
try {
|
|
@@ -38830,9 +38831,18 @@ function ServeScreen({ env: env3, platform: platform2, input, onBack, onState, o
|
|
|
38830
38831
|
setServeScopeChoice(null);
|
|
38831
38832
|
return;
|
|
38832
38833
|
}
|
|
38834
|
+
setServeScopeChoice(null);
|
|
38833
38835
|
chooseWorkspaceThenStart(item.value);
|
|
38834
38836
|
}
|
|
38835
38837
|
}),
|
|
38838
|
+
loadingWorkspaces && h(
|
|
38839
|
+
Box2,
|
|
38840
|
+
null,
|
|
38841
|
+
h(Text2, { color: colors.brand }, " "),
|
|
38842
|
+
h(Spinner2, { type: "dots" }),
|
|
38843
|
+
h(Text2, { color: colors.brand }, " Loading workspaces")
|
|
38844
|
+
),
|
|
38845
|
+
startupError && h(Text2, { color: colors.error }, ` ${fig.cross} ${startupError}`),
|
|
38836
38846
|
h(Text2, null, ""),
|
|
38837
38847
|
h(FooterBar, { items: [
|
|
38838
38848
|
{ key: "\u2191\u2193", label: "Navigate" },
|