@bli-cockpit/cli 0.2.92 → 0.2.94
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.
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
*/
|
|
19
19
|
export function renderMemoryUsage(memory, dim) {
|
|
20
20
|
const lines = ["", `MEMORY ${memory.summary ?? "(no summary)"}`];
|
|
21
|
+
if (memory.spend?.line)
|
|
22
|
+
lines.push(dim(` SPEND ${memory.spend.line}`));
|
|
23
|
+
if (memory.spend?.readError)
|
|
24
|
+
lines.push(` memory extract spend not read (${memory.spend.readError})`);
|
|
21
25
|
if (memory.readError) {
|
|
22
26
|
lines.push(` usage could not be read (${memory.readError}); nothing is known about whether anybody is using BLI Memory`);
|
|
23
27
|
return lines;
|
|
@@ -15,7 +15,7 @@ export async function runCockpitCli(argv, io) {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
if (command === "--version" || command === "-V" || command === "version") {
|
|
18
|
-
writeLine(io?.stdout ?? process.stdout, "0.2.
|
|
18
|
+
writeLine(io?.stdout ?? process.stdout, "0.2.94");
|
|
19
19
|
return 0;
|
|
20
20
|
}
|
|
21
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bli-cockpit/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.94",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"test": "node dist/cli.js --help && node ../../scripts/assert-public-cli-routing.mjs && node ../../scripts/assert-public-cli-verb-help.mjs && node ../../scripts/assert-public-cli-runtime-files.mjs && node ../../scripts/assert-public-cli-no-fleet-posts.mjs && node ../../scripts/assert-public-package-pack.mjs --workspace=@bli-cockpit/cli"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@bli-cockpit/memory-mcp": "0.1.
|
|
31
|
-
"@bli-cockpit/mcp": "0.1.
|
|
32
|
-
"@bli-cockpit/telemetry-core": "0.1.
|
|
30
|
+
"@bli-cockpit/memory-mcp": "0.1.24",
|
|
31
|
+
"@bli-cockpit/mcp": "0.1.27",
|
|
32
|
+
"@bli-cockpit/telemetry-core": "0.1.41"
|
|
33
33
|
}
|
|
34
34
|
}
|