conduyt-mcp 4.105.35 → 4.105.36

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.
@@ -9,7 +9,8 @@ function unwrap(response) {
9
9
  }
10
10
  const UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
11
11
  export function registerWorkflowSandboxTools(server, client) {
12
- server.tool("conduyt_workflow_validate", "Validate a workflow graph WITHOUT saving it. Returns errors and warnings so you can fix issues before creating or publishing. Always call this before conduyt_workflow_promote. An action config key the action does not read, or an unregistered action type, comes back as an error with code `unknown_action_config_key` / `unknown_action_type` and a \"Did you mean\" suggestion." + WEBHOOK_NAME_TAG_DOC, {
12
+ server.tool("conduyt_workflow_validate", "Validate a workflow graph WITHOUT saving it. Returns errors and warnings so you can fix issues before creating or publishing. Always call this before conduyt_workflow_promote. An action config key the action does not read, or an unregistered action type, comes back as an error with code `unknown_action_config_key` / `unknown_action_type` and a \"Did you mean\" suggestion. When the graph is an edit of a saved automation, pass its automationId: a rule tightened after that automation went live (an If/Else on contact.doNotContact, a trigger node's own cancelOnStatusChange, a step's success compared with the text \"true\" / \"false\") is then a WARNING for the instance already in its published graph (same step, same condition) and an error anywhere new, exactly as save and publish judge it." + WEBHOOK_NAME_TAG_DOC, {
13
+ automationId: z.string().regex(UUID_RE, "automationId must be a valid UUID").optional().describe("The saved automation this graph is an edit of (UUID). Its published graph, read by the server, decides which instances of a tightened rule are already live. Omit for a new workflow."),
13
14
  triggerEvent: z.string().describe("Trigger event (e.g. 'contact.created', 'deal.stage_changed', 'tag.added', 'scheduled')"),
14
15
  graph: z.object({
15
16
  nodes: z.array(z.object({
@@ -18,8 +19,9 @@ export function registerWorkflowSandboxTools(server, client) {
18
19
  }).passthrough()).describe("Array of graph nodes"),
19
20
  startNodeId: z.string().describe("ID of the trigger/start node"),
20
21
  }).describe("The workflow graph to validate"),
21
- }, async ({ triggerEvent, graph }) => {
22
+ }, async ({ automationId, triggerEvent, graph }) => {
22
23
  const result = await client.post("/api/v1/automations/validate", {
24
+ ...(automationId !== undefined ? { automationId } : {}),
23
25
  triggerEvent,
24
26
  graph,
25
27
  });
@@ -72,7 +74,9 @@ export function registerWorkflowSandboxTools(server, client) {
72
74
  error: "Automation has no graph or trigger event defined. Save a draft first.",
73
75
  });
74
76
  }
77
+ // (app pubgrandfather55) the automation is named, so the server judges this draft against ITS stored published graph, as publish does
75
78
  const rawValidation = await client.post("/api/v1/automations/validate", {
79
+ automationId,
76
80
  triggerEvent,
77
81
  graph,
78
82
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conduyt-mcp",
3
- "version": "4.105.35",
3
+ "version": "4.105.36",
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,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-11-21T10:13:34.056Z",
2
+ "generatedAt": "2026-11-21T22:18:47.327Z",
3
3
  "toolCount": 446,
4
4
  "totalEndpoints": 1222,
5
5
  "counts": {