conduyt-mcp 4.113.0 → 4.114.0

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/README.md CHANGED
@@ -316,6 +316,7 @@ Team Chat 2.0 publishes thin events (ids and kinds, never message content) on th
316
316
  | Tool | Description |
317
317
  |------|-------------|
318
318
  | `conduyt_list_custom_fields` | List custom field definitions (contact/deal) |
319
+ | `conduyt_get_formula_context` | The day and time zone formula fields are computed with (TODAY(), date-and-time inputs) |
319
320
  | `conduyt_create_custom_field` | Create a custom field (text, number, date, select, etc.) |
320
321
  | `conduyt_update_custom_field` | Update label, options, or required status |
321
322
  | `conduyt_delete_custom_field` | Delete a custom field |
@@ -323,6 +323,7 @@ export const TOOL_ANNOTATIONS = {
323
323
  conduyt_set_chat_notifications: update("Set Chat Notifications"),
324
324
  conduyt_update_team_chat_settings: update("Update Team Chat Settings"),
325
325
  conduyt_list_custom_fields: ro("List Custom Fields"),
326
+ conduyt_get_formula_context: ro("Get Formula Context"),
326
327
  conduyt_create_custom_field: create("Create Custom Field"),
327
328
  conduyt_create_mirror_field: create("Create Deal Mirror Field"),
328
329
  conduyt_update_custom_field: update("Update Custom Field"),
@@ -167,7 +167,7 @@ export function registerAutomationTools(server, client) {
167
167
  : await client.get(`/api/v1/automations/step-logs?${params}`);
168
168
  return formatResult(result);
169
169
  }));
170
- strictInput(server.tool("conduyt_test_automation_node", "Test ONE node of a workflow against a real contact and see what it WOULD do (POST /api/v1/automations/{automationId}/test-node). It is a pure simulation: nothing is sent, no contact or deal is changed and no run is created, so it is read-only and safe to repeat; the ONLY state it touches is the operational per-user rate-limit counter (30 calls a minute, 429 beyond it), which is not CRM data. Only graph (v2) workflows can be tested (422 otherwise; 422 also for a malformed saved graph or one with no trigger occurrence to simulate). nodeId is required (404 when the graph has no such node). contactId names the subject contact (a contact you may not see is 404); triggerNodeId picks which trigger occurrence to simulate; dealId (needed for a deal-triggered occurrence, refused with 400 for one that is not), companyId (company-triggered), previousStageId / previousPipelineId (a simulated deal move's origin), executionId (replay a stored run's payload; owner or admin only) and appointmentId (needs the calendar view permission) complete the occurrence. Answers { automationId, nodeId, contactId, triggerEvent, triggerNodeId, step } where step says the outcome (e.g. would run, would fail, skipped) and why. 409 means the test cannot judge it honestly (the trigger's filter rejects this sample, a find step or a step output decides it, a needed subject is missing); the message says which. Needs the automations view permission; a hidden deal automation is 404. As a POST it needs a write-tier API key (a read-tier key is refused at the scope gate, although the test changes nothing). It never runs the workflow for real." + ANSWER_USERS_DOC, {
170
+ strictInput(server.tool("conduyt_test_automation_node", "Test ONE node of a workflow against a real contact and see what it WOULD do (POST /api/v1/automations/{automationId}/test-node). It is a pure simulation: nothing is sent, no contact or deal is changed and no run is created, so it is read-only and safe to repeat; It changes no CRM data; normal API usage and rate-limit telemetry still update (the per-user rate-limit counter, 30 calls a minute, 429 beyond it, and an API key's last-used time and usage counters). Only graph (v2) workflows can be tested (422 otherwise; 422 also for a malformed saved graph or one with no trigger occurrence to simulate). nodeId is required (404 when the graph has no such node). contactId names the subject contact (a contact you may not see is 404); triggerNodeId picks which trigger occurrence to simulate; dealId (needed for a deal-triggered occurrence, refused with 400 for one that is not), companyId (company-triggered), previousStageId / previousPipelineId (a simulated deal move's origin), executionId (replay a stored run's payload; owner or admin only) and appointmentId (needs the calendar view permission) complete the occurrence. Answers { automationId, nodeId, contactId, triggerEvent, triggerNodeId, step } where step says the outcome (e.g. would run, would fail, skipped) and why. 409 means the test cannot judge it honestly (the trigger's filter rejects this sample, a find step or a step output decides it, a needed subject is missing); the message says which. Needs the automations view permission; a hidden deal automation is 404. As a POST it needs a write-tier API key (a read-tier key is refused at the scope gate, although the test changes nothing). It never runs the workflow for real." + ANSWER_USERS_DOC, {
171
171
  automationId: z.string().uuid().describe("The workflow's UUID"),
172
172
  nodeId: z.string().min(1).max(100).describe("The node to test (its id in the workflow graph)"),
173
173
  contactId: z.string().uuid().optional().describe("The subject contact (UUID)"),
@@ -11,6 +11,14 @@ const SECURE_NOTE = "Secure fields (isSecure): every read, export and outbound p
11
11
  const revealRoles = z.array(z.string().min(1).max(40)).max(10).optional().describe("Roles whose members may reveal a Secure value (max 10, 1 to 40 characters each; a super admin always; an API key never)");
12
12
  const revealGroupIds = z.array(z.string().uuid()).max(20).optional().describe("Team group UUIDs whose members may reveal a Secure value (max 20)");
13
13
  export function registerCustomFieldTools(server, client) {
14
+ // (formulaparity, app batch67 formulaedit67) the day and zone a formula field is computed with; the route refuses any query parameter
15
+ server.tool("conduyt_get_formula_context", "Read the day and time zone this workspace's FORMULA custom fields are computed with (GET /custom-fields/formula-context): answers { today: YYYY-MM-DD, timeZone: an IANA zone }. "
16
+ + "It is the server's own resolver, the one every record read, export and render uses: the workspace's time-zone setting first, then the account's stored zone when it is not the schema default, then the platform default; today is that zone's calendar day now. "
17
+ + "Use it to predict a formula's value: TODAY() is this day, and a date-and-time input counts as its day in this zone (a plain date input is its stored day). "
18
+ + "Read-only, no record data, any signed-in member. It takes no input: the route answers 400 unexpected_query_parameter to any query parameter, and 404 when the account is not found.", {}, async () => {
19
+ const result = await client.get("/api/v1/custom-fields/formula-context");
20
+ return formatResult(result);
21
+ });
14
22
  server.tool("conduyt_list_custom_fields", "List custom field definitions. Filter by entity type (contact, deal, or company) to see available fields. Every row carries optionCount: the ACTIVE rows of a store-backed select (options.optionList \"store\"; its options read { optionList, allowOther }, the list is read with conduyt_search_custom_field_options), the choices count of an inline select / radio / multiselect, null for every other type; a single-definition answer does not carry it.", {
15
23
  entityType: z.enum(["contact", "deal", "company"]).optional().describe("Filter by entity type"),
16
24
  page: z.number().optional().describe("Page number (default 1)"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conduyt-mcp",
3
- "version": "4.113.0",
3
+ "version": "4.114.0",
4
4
  "mcpName": "com.conduyt/mcp",
5
5
  "description": "MCP server for Conduyt CRM — expose CRM operations as AI-accessible tools",
6
6
  "type": "module",
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "generatedAt": "2026-11-27T09:25:44.095Z",
3
- "toolCount": 524,
3
+ "toolCount": 525,
4
4
  "totalEndpoints": 1246,
5
5
  "counts": {
6
- "covered": 470,
6
+ "covered": 471,
7
7
  "excluded": 384,
8
- "planned": 392,
8
+ "planned": 391,
9
9
  "uncategorized": 0
10
10
  },
11
11
  "matrix": {
@@ -2688,8 +2688,10 @@
2688
2688
  "reason": "custom field admin beyond read"
2689
2689
  },
2690
2690
  "GET /api/v1/custom-fields/formula-context": {
2691
- "status": "planned",
2692
- "reason": "custom field admin beyond read"
2691
+ "status": "covered",
2692
+ "tools": [
2693
+ "conduyt_get_formula_context"
2694
+ ]
2693
2695
  },
2694
2696
  "GET /api/v1/dashboard": {
2695
2697
  "status": "covered",