formlab-mcp 0.6.13 → 0.6.14

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.13",
3
+ "version": "0.6.14",
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
  "type": "module",
package/server.json CHANGED
@@ -2,7 +2,7 @@
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 for FormLab — let Claude query your formulation lab. Free reads a local export; Pro connects to your live cloud workspace with a dedicated read-only token.",
5
- "version": "0.6.13",
5
+ "version": "0.6.14",
6
6
  "websiteUrl": "https://formvix.com/mcp",
7
7
  "repository": {
8
8
  "url": "https://github.com/juliu1980/FormLab",
@@ -13,7 +13,7 @@
13
13
  {
14
14
  "registryType": "npm",
15
15
  "identifier": "formlab-mcp",
16
- "version": "0.6.13",
16
+ "version": "0.6.14",
17
17
  "runtimeHint": "npx",
18
18
  "transport": {
19
19
  "type": "stdio"
package/tools/lab.js CHANGED
@@ -189,6 +189,11 @@ const get_batch = {
189
189
  ..._trimBatch(b, indexes.formulationsById),
190
190
  notes: b.notes || '',
191
191
  equipmentUsed: b.equipmentUsed || '',
192
+ // Multi-select equipment: full list [{name, equipmentId}]; falls back to
193
+ // the legacy single equipmentUsed so older batches still report one item.
194
+ equipmentUsedList: (Array.isArray(b.equipmentUsedList) && b.equipmentUsedList.length)
195
+ ? b.equipmentUsedList.filter(e => e && e.name).map(e => ({ name: e.name, equipmentId: e.equipmentId || null }))
196
+ : (b.equipmentUsed ? [{ name: b.equipmentUsed, equipmentId: b.equipmentUsedId || null }] : []),
192
197
  actualCompositionRowCount: Array.isArray(b.actualComposition) ? b.actualComposition.length : 0,
193
198
  hasActualComposition: Array.isArray(b.actualComposition) && b.actualComposition.length > 0,
194
199
  sourceBlendParents: parents,