formlab-mcp 0.6.79 → 0.6.80

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "formlab-mcp",
3
- "version": "0.6.79",
3
+ "version": "0.6.80",
4
4
  "mcpName": "io.github.juliu1980/formlab-mcp",
5
5
  "description": "Read-only Model Context Protocol server for FormLab. Lets Claude and other MCP clients read and analyze your FormLab data, from a local export file or your live cloud workspace.",
6
6
  "homepage": "https://formvix.com/mcp",
package/server.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.juliu1980/formlab-mcp",
4
4
  "description": "Read-only MCP server for FormLab formulation data: a local export file or your live cloud workspace.",
5
- "version": "0.6.79",
5
+ "version": "0.6.80",
6
6
  "websiteUrl": "https://formvix.com/mcp",
7
7
  "packages": [
8
8
  {
9
9
  "registryType": "npm",
10
10
  "identifier": "formlab-mcp",
11
- "version": "0.6.79",
11
+ "version": "0.6.80",
12
12
  "runtimeHint": "npx",
13
13
  "transport": {
14
14
  "type": "stdio"
@@ -685,6 +685,11 @@ function _mcpFlattenReadings(tests, indexes, paramFilter) {
685
685
  if (!parameter) continue;
686
686
  if (paramFilter && !norm(parameter).includes(norm(paramFilter))) continue;
687
687
  const type = _mcpMeasType(m);
688
+ // A reading left blank is not a reading (the app's _taBlankReading, 54e):
689
+ // kept, a blank in the newest report showed as an empty latest cell.
690
+ if (type === 'time_series' ? !(Array.isArray(m.points) && m.points.length)
691
+ : type === 'distribution' ? !(Array.isArray(m.bins) && m.bins.length)
692
+ : String(m.value == null ? '' : m.value).trim() === '') continue;
688
693
  const row = { test: t, sample: samp, formulation, parameter, numeric: _mcpRepNumber(m), value: m.value, unit: m.unit || '', pf: _evalPassFail(m, t.templateId), m,
689
694
  type, rank: type === 'ordinal' ? _mcpRepNumber(m, { ordinal: 'rank' }) : null };
690
695
  const key = (t.id || t.uid) + '|' + parameter + '|' + _mcpCondSig(m);