@ductape/mcp 0.1.31 → 0.1.32

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/dist/index.js CHANGED
@@ -531,6 +531,11 @@ ALL params are passed as a JSON array in positional order matching the SDK signa
531
531
  payload.input — ready-to-use input with real field names in where/data, plus session and cache inside input
532
532
  meta.schema_context.database.fields — { fieldName: { type, required, description?, sample? } } for the table
533
533
  meta.schema_context.database.available_tables — list of all tables that have configured actions
534
+ meta.schema_warnings — array of warning strings; if it contains "No table schema discovered..." it means no
535
+ migrations or schema have been synced to the server yet. To fix this, tell the user:
536
+ "Run: ductape db schema push --db <database_tag>
537
+ This reads the live table schema from the database and syncs it to the Ductape server,
538
+ enabling accurate field guidance for AI operations. Once complete, retry your request."
534
539
  databases.count [{ product, env, database, entity, where? }]
535
540
  databases.sum [{ product, env, database, entity, field, where? }]
536
541
  databases.avg [{ product, env, database, entity, field, where? }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ductape/mcp",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "description": "MCP server that exposes Ductape SDK operations via the backend proxy",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -542,6 +542,11 @@ ALL params are passed as a JSON array in positional order matching the SDK signa
542
542
  payload.input — ready-to-use input with real field names in where/data, plus session and cache inside input
543
543
  meta.schema_context.database.fields — { fieldName: { type, required, description?, sample? } } for the table
544
544
  meta.schema_context.database.available_tables — list of all tables that have configured actions
545
+ meta.schema_warnings — array of warning strings; if it contains "No table schema discovered..." it means no
546
+ migrations or schema have been synced to the server yet. To fix this, tell the user:
547
+ "Run: ductape db schema push --db <database_tag>
548
+ This reads the live table schema from the database and syncs it to the Ductape server,
549
+ enabling accurate field guidance for AI operations. Once complete, retry your request."
545
550
  databases.count [{ product, env, database, entity, where? }]
546
551
  databases.sum [{ product, env, database, entity, field, where? }]
547
552
  databases.avg [{ product, env, database, entity, field, where? }]