conduyt-mcp 4.105.10 → 4.105.12

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  MCP server for [Conduyt CRM](https://conduyt.app) — expose your CRM as AI-accessible tools. Covers the core CRM surface (contacts, deals, pipelines, custom fields, automations, messaging, and more); use `conduyt_api_catalog` to discover the full set of 600+ REST endpoints.
4
4
 
5
- ## 393 Tools
5
+ ## 394 Tools
6
6
 
7
7
  ### Discovery
8
8
  | Tool | Description |
package/dist/client.js CHANGED
@@ -36,7 +36,7 @@ const AMBIGUOUS = " The server may have applied it: read the current state befor
36
36
  const ERROR_DETAILS_BOUND = 1000;
37
37
  /** Error-body keys that are the actionable state itself and are always rendered WHOLE: HealthFixRefusal.row (the deal's
38
38
  * current health row, which a caller needs to choose again). The response size cap bounds it. */
39
- const ALWAYS_WHOLE_KEYS = new Set(["row"]);
39
+ const ALWAYS_WHOLE_KEYS = new Set(["row", "metadataConflict"]);
40
40
  /** Bounded scheme for a refusal's error LISTS (the automation write refusals: AutomationActionConfigKeyError.errors, the 422
41
41
  * AutomationPreflightRefusal.data { message, errors[], warnings[] }) when they do not fit ERROR_DETAILS_BOUND: keep the first
42
42
  * MAX_LISTED_ERRORS entries (warnings: MAX_LISTED_WARNINGS) with every string field capped at MAX_FIELD_CHARS, and close the list with
@@ -29,6 +29,7 @@ export const TOOL_ANNOTATIONS = {
29
29
  conduyt_list_duplicate_proposals: ro("List Duplicate Proposals"),
30
30
  conduyt_decide_duplicate_proposal: destroy("Decide Duplicate Proposal"),
31
31
  conduyt_list_import_duplicate_proposals: ro("List Import Duplicate Proposals"),
32
+ conduyt_refingerprint_import: destroy("Confirm Or Discard Parked Import"),
32
33
  conduyt_list_deals: ro("List Deals"),
33
34
  conduyt_pipeline_health: ro("Get Pipeline Health"),
34
35
  conduyt_pipeline_health_fix_deal: update("Fix Deal From Pipeline Health"),
@@ -354,4 +354,14 @@ export function registerContactTools(server, client) {
354
354
  const result = await client.get(`/api/v1/imports/${encodeURIComponent(importId)}/duplicate-proposals` + (qs ? `?${qs}` : ""));
355
355
  return formatResult(result);
356
356
  }));
357
+ // (#1055 follow-up, app batch21) the Import Center wizard's confirm / discard of a job the processor parked with metadata_changed
358
+ strictInput(server.tool("conduyt_refingerprint_import", "Confirm or discard an import job that was parked because the account's fields changed between reading the file and running it (POST /api/v1/imports/{importId}/refingerprint; owner or admin only; needs the same contacts / companies / deals create and edit permissions as processing the job). Without a refingerprintToken the answer is the current diff: 409 code metadata_changed with details.metadataConflict (the field diff and a fresh refingerprintToken), or 200 { status: 'current' } when the job already matches the live fields (then process the job again). To confirm: call once without the token to read the diff, show it, then call again with the SAME metadataFingerprint plus that refingerprintToken: 200 { status: 'confirmed' } rebinds the job to the live fields and you process it again. 422 code import_mapping_unresolved means a mapped field was deleted or changed type: the job never runs, fix the mapping. Pass action 'discard' to end the unstarted job instead (200 { status: 'discarded' }, failed, nothing imported), which releases the account's active-import gates; discard needs no fingerprint. Refusals: 400 import_refingerprint_token_invalid (a token not issued for this job) or a fingerprint that is not the one the job was created with, 404 unknown job, 409 import_already_ended, import_already_started or import_refingerprint_busy, 429 rate limited. Jobs made through the API without a fingerprint (conduyt_import_deals and the other import tools) are never parked this way.", {
359
+ importId: z.string().uuid().describe("Import job UUID"),
360
+ action: z.enum(["confirm", "discard"]).optional().describe("confirm (the default): confirm the field change and rebind the job. discard: end this unstarted job (failed, nothing imported); needs no fingerprint."),
361
+ metadataFingerprint: z.string().max(200000).optional().describe("The import wizard's metadata fingerprint the job was created with. Required to confirm."),
362
+ refingerprintToken: z.string().max(2000).optional().describe("The refingerprintToken of the metadata_changed answer being confirmed. Omit it to read the current diff."),
363
+ }, async ({ importId, action, metadataFingerprint, refingerprintToken }) => {
364
+ const result = await client.post(`/api/v1/imports/${encodeURIComponent(importId)}/refingerprint`, { ...(action !== undefined ? { action } : {}), ...(metadataFingerprint !== undefined ? { metadataFingerprint } : {}), ...(refingerprintToken !== undefined ? { refingerprintToken } : {}) });
365
+ return formatResult(result);
366
+ }));
357
367
  }
@@ -14,7 +14,7 @@ export declare const CHAT_UPLOAD_MAX_BYTES: number;
14
14
  export declare const tooLargeMessage: (size: number, max: number) => string;
15
15
  /** both app finalize routes set maxDuration = 120 (finalize reads the staged object back and rewrites it), above the client's 30 s default */
16
16
  export declare const FINALIZE_TIMEOUT_MS = 120000;
17
- /** finalize retry on 409 upload_in_progress: exactly `attempts` calls; between them the refusal's Retry-After (capped at maxDelayMs)
17
+ /** finalize retry on 409 upload_in_progress: at most `attempts` calls (the loop returns on the first success); between them the refusal's Retry-After (capped at maxDelayMs)
18
18
  * or, when it sent none or an unreadable one, delayMs. `sleep` is module state so tests can spy on the scheduled delay. */
19
19
  export declare const finalizeRetry: {
20
20
  attempts: number;
@@ -21,7 +21,7 @@ const mb = (bytes) => `${Math.round((bytes / 1024 / 1024) * 10) / 10} MB`;
21
21
  export const tooLargeMessage = (size, max) => `File is too large (${mb(size)}). Maximum allowed: ${mb(max)}.`;
22
22
  /** both app finalize routes set maxDuration = 120 (finalize reads the staged object back and rewrites it), above the client's 30 s default */
23
23
  export const FINALIZE_TIMEOUT_MS = 120_000;
24
- /** finalize retry on 409 upload_in_progress: exactly `attempts` calls; between them the refusal's Retry-After (capped at maxDelayMs)
24
+ /** finalize retry on 409 upload_in_progress: at most `attempts` calls (the loop returns on the first success); between them the refusal's Retry-After (capped at maxDelayMs)
25
25
  * or, when it sent none or an unreadable one, delayMs. `sleep` is module state so tests can spy on the scheduled delay. */
26
26
  export const finalizeRetry = {
27
27
  attempts: 4,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conduyt-mcp",
3
- "version": "4.105.10",
3
+ "version": "4.105.12",
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",
@@ -150,6 +150,16 @@
150
150
  "status": "excluded",
151
151
  "reason": "(#599) the single-use pair-code exchange that MINTS the agent's key: the listener's first call (npm CLI `conduyt agent pair` / `listen --pair-code`), never made with an existing key"
152
152
  },
153
+ {
154
+ "match": "PUT /api/v1/chat/channels/:id/linked-record",
155
+ "status": "excluded",
156
+ "reason": "(batch22 link1259) session-only: linking a deal or contact to a general channel is an owner/admin action from a signed-in session; every API key, an AI teammate's included, is refused, so a tool could never succeed"
157
+ },
158
+ {
159
+ "match": "DELETE /api/v1/chat/channels/:id/linked-record",
160
+ "status": "excluded",
161
+ "reason": "(batch22 link1259) session-only: unlinking a general channel's record is an owner/admin action from a signed-in session; every API key, an AI teammate's included, is refused, so a tool could never succeed"
162
+ },
153
163
  {
154
164
  "match": "PATCH /api/v1/chat/channels/:id/agents",
155
165
  "status": "excluded",
@@ -1,10 +1,10 @@
1
1
  {
2
- "generatedAt": "2026-11-09T09:10:13.191Z",
3
- "toolCount": 393,
4
- "totalEndpoints": 1170,
2
+ "generatedAt": "2026-11-09T23:34:57.996Z",
3
+ "toolCount": 394,
4
+ "totalEndpoints": 1176,
5
5
  "counts": {
6
- "covered": 347,
7
- "excluded": 361,
6
+ "covered": 348,
7
+ "excluded": 366,
8
8
  "planned": 462,
9
9
  "uncategorized": 0
10
10
  },
@@ -369,6 +369,10 @@
369
369
  "status": "excluded",
370
370
  "reason": "super-admin platform operations (Conduyt staff only)"
371
371
  },
372
+ "POST /api/v1/admin/external-deletions/:id/confirm-absent": {
373
+ "status": "excluded",
374
+ "reason": "super-admin platform operations (Conduyt staff only)"
375
+ },
372
376
  "POST /api/v1/admin/external-deletions/:id/confirm-mailbox": {
373
377
  "status": "excluded",
374
378
  "reason": "super-admin platform operations (Conduyt staff only)"
@@ -385,6 +389,14 @@
385
389
  "status": "excluded",
386
390
  "reason": "super-admin platform operations (Conduyt staff only)"
387
391
  },
392
+ "POST /api/v1/admin/external-deletions/records/keep": {
393
+ "status": "excluded",
394
+ "reason": "super-admin platform operations (Conduyt staff only)"
395
+ },
396
+ "POST /api/v1/admin/external-deletions/records/release": {
397
+ "status": "excluded",
398
+ "reason": "super-admin platform operations (Conduyt staff only)"
399
+ },
388
400
  "GET /api/v1/admin/external-deletions/recovery": {
389
401
  "status": "excluded",
390
402
  "reason": "super-admin platform operations (Conduyt staff only)"
@@ -1453,6 +1465,14 @@
1453
1465
  "conduyt_get_chat_linked_record"
1454
1466
  ]
1455
1467
  },
1468
+ "PUT /api/v1/chat/channels/:id/linked-record": {
1469
+ "status": "excluded",
1470
+ "reason": "(batch22 link1259) session-only: linking a deal or contact to a general channel is an owner/admin action from a signed-in session; every API key, an AI teammate's included, is refused, so a tool could never succeed"
1471
+ },
1472
+ "DELETE /api/v1/chat/channels/:id/linked-record": {
1473
+ "status": "excluded",
1474
+ "reason": "(batch22 link1259) session-only: unlinking a general channel's record is an owner/admin action from a signed-in session; every API key, an AI teammate's included, is refused, so a tool could never succeed"
1475
+ },
1456
1476
  "POST /api/v1/chat/channels/:id/members": {
1457
1477
  "status": "planned",
1458
1478
  "reason": "team chat read/post for agents"
@@ -3321,6 +3341,12 @@
3321
3341
  "conduyt_import_deals"
3322
3342
  ]
3323
3343
  },
3344
+ "POST /api/v1/imports/:id/refingerprint": {
3345
+ "status": "covered",
3346
+ "tools": [
3347
+ "conduyt_refingerprint_import"
3348
+ ]
3349
+ },
3324
3350
  "POST /api/v1/imports/:id/repair": {
3325
3351
  "status": "planned",
3326
3352
  "reason": "import job monitoring/resubmission (ai-import tool covers creation)"