@datarails-ai/dr-appspace-cli 0.10.5 → 0.10.6

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.
Files changed (2) hide show
  1. package/dist/cli.js +8 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import { fileURLToPath as fileURLToPath6 } from "url";
13
13
  // package.json
14
14
  var package_default = {
15
15
  name: "@datarails-ai/dr-appspace-cli",
16
- version: "0.10.5",
16
+ version: "0.10.6",
17
17
  description: "Datarails App Space CLI \u2014 build, try, push and publish App Space apps",
18
18
  type: "module",
19
19
  engines: {
@@ -57,7 +57,7 @@ var package_default = {
57
57
  };
58
58
 
59
59
  // src/buildInfo.ts
60
- var BUILD_TIME = "2026-09-30T14:45:52.678Z";
60
+ var BUILD_TIME = "2026-09-30T16:43:46.444Z";
61
61
  function formatBuildTime(iso) {
62
62
  if (iso === "") return "";
63
63
  const d = new Date(iso);
@@ -6190,9 +6190,13 @@ var EXPECT_EMPTY = "empty";
6190
6190
  var EXPECTATIONS = /* @__PURE__ */ new Set([EXPECT_FIGURE, EXPECT_EMPTY]);
6191
6191
  var FIGURE = {
6192
6192
  series: (body) => Array.isArray(body.series) && body.series.some((entry) => Array.isArray(entry?.values) && entry.values.some(isNumber)),
6193
- breakdown: (body) => Array.isArray(body.items) && body.items.length > 0,
6193
+ // A container of labels with nothing beside them draws no figure either:
6194
+ // seven departments down a variance table with every cell null is the same
6195
+ // blank card as no rows at all (dev-1, 2026-09-30, `actual - budget` where
6196
+ // neither was a measure of the dataset), and it passed here as "rows > 0".
6197
+ breakdown: (body) => Array.isArray(body.items) && body.items.some((item) => isNumber(item?.value)),
6194
6198
  kpi: (body) => isNumber(body.value),
6195
- table: (body) => Array.isArray(body.rows) && body.rows.length > 0,
6199
+ table: (body) => Array.isArray(body.rows) && body.rows.some((row) => isPlainObject2(row) && Object.values(row).some(isNumber)),
6196
6200
  ohlc: (body) => Array.isArray(body.candles) && body.candles.length > 0,
6197
6201
  scatter: (body) => Array.isArray(body.points) && body.points.length > 0,
6198
6202
  // A narrative in AGENT mode has no prose to carry: the words arrive from the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarails-ai/dr-appspace-cli",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "description": "Datarails App Space CLI — build, try, push and publish App Space apps",
5
5
  "type": "module",
6
6
  "engines": {