@centrali-io/centrali-mcp 4.3.0 → 4.4.1

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.
@@ -235,7 +235,7 @@ function registerDescribeTools(server) {
235
235
  "Reference fields create relationships between collections — use 'expand' parameter in queries to join them",
236
236
  "Use create_collection to define new data schemas with typed properties",
237
237
  "Properties array defines the fields — each needs at minimum a name and type",
238
- "Use schemaDiscoveryMode: 'flexible' to auto-add new fields when records are created",
238
+ "Use schemaDiscoveryMode: 'auto-evolving' to auto-add new fields when records are created",
239
239
  "For enum/select behavior, use type 'string' with an 'enum' array — there is no 'select' type",
240
240
  "For multi-line text, use type 'string' with renderAs: 'textarea'",
241
241
  "For JSON blobs, use type 'object' with strictProperties: false",
@@ -145,9 +145,9 @@ function registerCollectionTools(server, sdk) {
145
145
  .describe("Array of property definitions. Each property needs 'name' and 'type' (string|number|boolean|datetime|array|object|reference). Type-specific options go at the top level, NOT inside a 'config' key. Use describe_collections for full schema reference."),
146
146
  enableVersioning: zod_1.z.boolean().optional().describe("Enable record versioning (default: false)"),
147
147
  schemaDiscoveryMode: zod_1.z
148
- .enum(["strict", "flexible"])
148
+ .enum(["strict", "schemaless", "auto-evolving"])
149
149
  .optional()
150
- .describe("Schema discovery mode: 'strict' rejects unknown fields, 'flexible' auto-adds them"),
150
+ .describe("Schema discovery mode: 'strict' rejects unknown fields, 'schemaless' accepts any data, 'auto-evolving' allows extra fields"),
151
151
  tags: zod_1.z.array(zod_1.z.string()).optional().describe("Optional tags for organizing collections"),
152
152
  }, (_a) => __awaiter(this, [_a], void 0, function* ({ name, recordSlug, description, properties, enableVersioning, schemaDiscoveryMode, tags }) {
153
153
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centrali-io/centrali-mcp",
3
- "version": "4.3.0",
3
+ "version": "4.4.1",
4
4
  "description": "Centrali MCP Server - AI assistant integration for Centrali workspaces",
5
5
  "main": "dist/index.js",
6
6
  "type": "commonjs",
@@ -263,7 +263,7 @@ export function registerDescribeTools(server: McpServer) {
263
263
  "Reference fields create relationships between collections — use 'expand' parameter in queries to join them",
264
264
  "Use create_collection to define new data schemas with typed properties",
265
265
  "Properties array defines the fields — each needs at minimum a name and type",
266
- "Use schemaDiscoveryMode: 'flexible' to auto-add new fields when records are created",
266
+ "Use schemaDiscoveryMode: 'auto-evolving' to auto-add new fields when records are created",
267
267
  "For enum/select behavior, use type 'string' with an 'enum' array — there is no 'select' type",
268
268
  "For multi-line text, use type 'string' with renderAs: 'textarea'",
269
269
  "For JSON blobs, use type 'object' with strictProperties: false",
@@ -159,9 +159,9 @@ export function registerCollectionTools(server: McpServer, sdk: CentraliSDK) {
159
159
  ),
160
160
  enableVersioning: z.boolean().optional().describe("Enable record versioning (default: false)"),
161
161
  schemaDiscoveryMode: z
162
- .enum(["strict", "flexible"])
162
+ .enum(["strict", "schemaless", "auto-evolving"])
163
163
  .optional()
164
- .describe("Schema discovery mode: 'strict' rejects unknown fields, 'flexible' auto-adds them"),
164
+ .describe("Schema discovery mode: 'strict' rejects unknown fields, 'schemaless' accepts any data, 'auto-evolving' allows extra fields"),
165
165
  tags: z.array(z.string()).optional().describe("Optional tags for organizing collections"),
166
166
  },
167
167
  async ({ name, recordSlug, description, properties, enableVersioning, schemaDiscoveryMode, tags }) => {