@kadoa/mcp 0.3.12-rc.2 → 0.3.12-rc.3

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/index.js +24 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -51158,7 +51158,30 @@ function registerTools(server, ctx) {
51158
51158
  schemaId: exports_external.string().optional().describe("Existing schema ID to reference (mutually exclusive with schemaFields)"),
51159
51159
  schemaFields: exports_external.preprocess(coerceArray(), exports_external.array(exports_external.object(TemplateSchemaFieldShape))).optional().describe("Inline schema fields to create a new schema (mutually exclusive with schemaId)"),
51160
51160
  schemaEntity: exports_external.string().optional().describe("Entity name for the inline schema"),
51161
- dataValidation: exports_external.preprocess(coerceJson(), exports_external.record(exports_external.string(), exports_external.unknown())).optional().describe("Data validation config and rules object — pass-through, validated server-side"),
51161
+ dataValidation: exports_external.preprocess(coerceJson(), exports_external.object({
51162
+ config: exports_external.object({
51163
+ enabled: exports_external.preprocess(coerceBoolean(), exports_external.boolean()).describe("Whether data validation is enabled"),
51164
+ alerting: exports_external.object({
51165
+ system: exports_external.object({
51166
+ enabled: exports_external.preprocess(coerceBoolean(), exports_external.boolean()),
51167
+ threshold: exports_external.preprocess(coerceNumber(), exports_external.number()).optional()
51168
+ }).optional().describe("System alerting configuration"),
51169
+ user: exports_external.object({
51170
+ enabled: exports_external.preprocess(coerceBoolean(), exports_external.boolean()),
51171
+ threshold: exports_external.preprocess(coerceNumber(), exports_external.number()).optional()
51172
+ }).optional().describe("User alerting configuration")
51173
+ }).optional().describe("Alerting configuration")
51174
+ }).optional().describe("Data validation config to copy into workflow.config.dataValidation"),
51175
+ rules: exports_external.preprocess(coerceArray(), exports_external.array(exports_external.object({
51176
+ name: exports_external.string().describe("Rule name"),
51177
+ description: exports_external.string().optional().describe("Rule description"),
51178
+ ruleType: exports_external.enum(["regex", "custom_sql", "llm"]).describe("Type of validation rule"),
51179
+ targetColumns: exports_external.preprocess(coerceArray(), exports_external.array(exports_external.string())).optional().describe("Columns this rule targets"),
51180
+ parameters: exports_external.preprocess(coerceJson(), exports_external.record(exports_external.string(), exports_external.unknown())).describe("Rule parameters (e.g., {sql: '...', pattern: '...'})"),
51181
+ status: exports_external.enum(["preview", "enabled", "disabled"]).optional().describe("Initial rule status (defaults to 'enabled')"),
51182
+ metadata: exports_external.preprocess(coerceJson(), exports_external.record(exports_external.string(), exports_external.unknown())).optional().describe("Additional metadata")
51183
+ }))).optional().describe("Validation rules to clone as data_validation rows")
51184
+ })).optional().describe("Data validation configuration: { config?: { enabled, alerting? }, rules?: [{ name, ruleType, parameters, ... }] }"),
51162
51185
  notifications: exports_external.preprocess(coerceArray(), exports_external.array(exports_external.object({
51163
51186
  eventType: exports_external.string().describe("Notification event type"),
51164
51187
  eventConfiguration: exports_external.preprocess(coerceJson(), exports_external.record(exports_external.string(), exports_external.unknown())).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kadoa/mcp",
3
- "version": "0.3.12-rc.2",
3
+ "version": "0.3.12-rc.3",
4
4
  "description": "Kadoa MCP Server — manage workflows from Claude Desktop, Cursor, and other MCP clients",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",