conduyt-mcp 4.105.30 → 4.105.31
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
|
@@ -149,7 +149,7 @@ Connecting Calendly is browser-only (OAuth 2.0 + PKCE): the user opens `{app}/ap
|
|
|
149
149
|
### Call log search (read-only, dialer:view)
|
|
150
150
|
| Tool | Description |
|
|
151
151
|
|------|-------------|
|
|
152
|
-
| `conduyt_search_dialer_history` | Search and filter the dialer call log for QA (`GET /dialer/history`, 200 per page): `q` (200 characters at most; matches name, number, agent and transcript, not notes), `recordedOnly`, `disposition` (100 characters at most), `userId`, `dateFrom` / `dateTo`, `direction`, `status`, `mine`. Each row carries `match { field, snippet, ranges }` when `q` is given; `meta.incomplete` with `incompleteReason: "number_matches_capped"` means `total` is a lower bound; 400s surfaced verbatim | Also `unmatched` (only calls no contact is linked to) and `line` (only inbound calls to our line).
|
|
152
|
+
| `conduyt_search_dialer_history` | Search and filter the dialer call log for QA (`GET /dialer/history`, 200 per page): `q` (200 characters at most; matches name, number, agent and transcript, not notes), `recordedOnly`, `disposition` (100 characters at most), `userId`, `dateFrom` / `dateTo`, `direction`, `status`, `mine`. Each row carries `match { field, snippet, ranges }` when `q` is given; `meta.incomplete` with `incompleteReason: "number_matches_capped"` means `total` is a lower bound; each row carries `audioDiagnostics` (what the softphone reported about the call's audio: warning / cleared / gap rows, `[]` when nothing; this tool only); 400s surfaced verbatim | Also `unmatched` (only calls no contact is linked to) and `line` (only inbound calls to our line).
|
|
153
153
|
| `conduyt_count_unknown_callers` | The toll-free counter (`GET /calls/unknown-callers`): for a `line` since an ISO `since` (start of day, within 31 days), `total` inbound calls that arrived with no contact and `unmatched` still contact-less; `dialer:view` |
|
|
154
154
|
| `conduyt_link_call` | Link a contact-less call to an existing contact (`POST /calls/{id}/link`, the unknown-caller prompt's Search a contact + Attach): `attachNumber` writes the number into the next free phone slot, `dryRun` previews; refusals `call_already_linked`, `no_free_phone_slot`, `number_on_another_contact`, `number_owner_undecidable`, `contact_not_editable`, `number_unusable`; `dialer:create` (+ `contacts:edit` to attach) |
|
|
155
155
|
| `conduyt_search_dialer_calls` | The recordings / voicemail list with the same search and filters (`GET /dialer/calls`, 100 per page) |
|
|
@@ -401,6 +401,7 @@ Team Chat 2.0 publishes thin events (ids and kinds, never message content) on th
|
|
|
401
401
|
| `conduyt_ai_summarize_contact` | AI summary with sentiment and next steps |
|
|
402
402
|
| `conduyt_ai_chat` | Conversational AI assistant grounded in your CRM (optionally pinned to a record) |
|
|
403
403
|
| `conduyt_ai_improve_email` | Rewrite an email draft for clarity, tone, and persuasiveness |
|
|
404
|
+
| `conduyt_ai_improve_sms` | Rewrite one SMS text (`POST /ai/improve-sms`), checked by the server before it is returned: links, times, prices, opt-out lines and merge fields kept as written; `body` 1-1600 characters, optional `transport` (twilio, project_blue, whatsapp, fromk or null); returns `{ data: { body } }`. An opt-out-only draft is refused 422 `ai_rewrite_rejected` before any AI credit is spent; a rewrite that broke a rule is 502; the refusal message is returned as the server wrote it |
|
|
404
405
|
| `conduyt_ai_deal_insights` | AI risk/momentum analysis and next actions for a single deal |
|
|
405
406
|
| `conduyt_ai_conversation_intelligence` | AI summary/sentiment/objections for a transcribed call |
|
|
406
407
|
| `conduyt_ai_call_disposition` | AI-suggested disposition for a call from its transcript |
|
package/dist/tool-annotations.js
CHANGED
|
@@ -339,6 +339,7 @@ export const TOOL_ANNOTATIONS = {
|
|
|
339
339
|
conduyt_ai_summarize_contact: ro("Summarize Contact With AI"),
|
|
340
340
|
conduyt_ai_chat: ro("Chat With AI Assistant"),
|
|
341
341
|
conduyt_ai_improve_email: ro("Improve Email With AI"),
|
|
342
|
+
conduyt_ai_improve_sms: ro("Improve Text With AI"),
|
|
342
343
|
conduyt_ai_deal_insights: ro("Get AI Deal Insights"),
|
|
343
344
|
conduyt_ai_conversation_intelligence: create("Analyze Conversation With AI"),
|
|
344
345
|
conduyt_ai_call_disposition: ro("Suggest Call Disposition"),
|
|
@@ -106,6 +106,17 @@ export function registerAiExtendedTools(server, client) {
|
|
|
106
106
|
const result = await client.post("/api/v1/ai/improve-email", params);
|
|
107
107
|
return formatResult(result);
|
|
108
108
|
});
|
|
109
|
+
server.tool("conduyt_ai_improve_sms", "Rewrite ONE SMS text with the account's AI (POST /api/v1/ai/improve-sms; the Message check's \"Rewrite with AI\"). Returns { data: { body } }, the rewritten text in data.body. The server checks the answer before returning it: links, times, prices and other protected tokens, opt-out lines (STOP, HELP, unsubscribe and similar) and merge fields are kept as written, the length rule of the transport holds, no new emoji, plain text. A rewrite that breaks a rule is refused 502 ai_rewrite_rejected (no partial result). A draft whose only lines are opt-out lines has nothing to rewrite: the server refuses it 422 ai_rewrite_rejected BEFORE any AI credit is spent; the refusal message is returned as the server wrote it. Nothing is sent or saved.", {
|
|
110
|
+
body: z.string().min(1).max(1600).refine((v) => v.trim() !== "", "must not be blank").describe("The SMS text to rewrite (1-1600 characters, kept as written, not trimmed; it must hold a non-whitespace character)"),
|
|
111
|
+
transport: z
|
|
112
|
+
.enum(["twilio", "project_blue", "whatsapp", "fromk"])
|
|
113
|
+
.nullable()
|
|
114
|
+
.optional()
|
|
115
|
+
.describe("The transport the composer counts with: twilio (SMS, the default when absent or null), project_blue (iMessage, no length cap), whatsapp (up to 4096 characters) or fromk."),
|
|
116
|
+
}, async (params) => {
|
|
117
|
+
const result = await client.post("/api/v1/ai/improve-sms", params);
|
|
118
|
+
return formatResult(result);
|
|
119
|
+
});
|
|
109
120
|
server.tool("conduyt_ai_deal_insights", "AI analysis of a single deal. Returns risk signals, momentum, and recommended next actions based on the deal's stage, activity, and history.", {
|
|
110
121
|
dealId: z.string().describe("Deal UUID to analyze"),
|
|
111
122
|
}, async (params) => {
|
|
@@ -111,7 +111,7 @@ const seg = (teammateId) => encodeURIComponent(teammateId.trim().toLowerCase());
|
|
|
111
111
|
const WHO = "Owners and admins, with a person's API key (the chat scope); an AI teammate's own key is refused (403 agent_route_refused). The teammate must have the provider Grok Bot or OpenClaw (grok or clawdbot; 409 agent_not_webhook_provider otherwise). Answers 404 ai_teammates_off while AI teammates are switched off and 402 plan_required when the workspace is not entitled. Against a server that predates these routes (an HTML 404) the error says so.";
|
|
112
112
|
export function registerAiTeammateConnectTools(server, client) {
|
|
113
113
|
// (#1153, tri-surface parity) the workspace's AI teammates, so an agent can find the one to connect by id or @handle
|
|
114
|
-
strictInput(server.tool("conduyt_list_ai_teammates", "List the workspace's live AI teammates (GET /api/v1/chat/agents; a removed teammate is not listed), oldest first: [{ id, handle, name, provider (claude_code, codex, grok, clawdbot), state (listening, replying, needs_attention (#1213: listening, nothing running, and a turn in the last 24 hours failed or timed out), away), connected (a connector teammate, grok or clawdbot: its connection is stored and live; any other: a listener runs now), connection (a connector teammate's not_connected, waiting_for_hello, listening or not_listening; null otherwise), knowledgeFolders (#1209: how many knowledge folders the teammate's RUNNING listeners reported, the sum over the listeners whose heartbeat beats now, 0 = none; a knowledge folder is a folder on the listener's computer the teammate reads on every turn, whoever asked, read-only, secrets-looking files excluded; it is chosen on that computer with \`conduyt agent listen\` (the start directory, --knowledge <folder> or --no-knowledge), never through Conduyt, and its path never leaves the computer), createdAt }]. Nothing secret is listed. Name a teammate to the connector tools (Grok Bot and OpenClaw) by its id or its @handle. The rows an API key reads carry no webhook object (the Settings session rows do: webhook.noRun and webhook.provider are read there, never through this tool). Owners and admins, with a person's API key (the chat scope; reading is enough); a member's key is refused (403) and an AI teammate's own key too (403 agent_route_refused). Adding a teammate stays in Settings > AI. Answers 404 ai_teammates_off while AI teammates are switched off and 402 plan_required when the workspace is not entitled; a workspace with more than 200 live teammates is refused to an API key (413 agent_list_over_ceiling; Settings > AI lists them all).", {}, async () => {
|
|
114
|
+
strictInput(server.tool("conduyt_list_ai_teammates", "List the workspace's live AI teammates (GET /api/v1/chat/agents; a removed teammate is not listed), oldest first: [{ id, handle, name, provider (claude_code, codex, grok, clawdbot, hermes_plugin = Hermes, a listener teammate like claude_code and codex), state (listening, replying, needs_attention (#1213: listening, nothing running, and a turn in the last 24 hours failed or timed out), away), connected (a connector teammate, grok or clawdbot: its connection is stored and live; any other: a listener runs now), connection (a connector teammate's not_connected, waiting_for_hello, listening or not_listening; null otherwise), knowledgeFolders (#1209: how many knowledge folders the teammate's RUNNING listeners reported, the sum over the listeners whose heartbeat beats now, 0 = none; a knowledge folder is a folder on the listener's computer the teammate reads on every turn, whoever asked, read-only, secrets-looking files excluded; it is chosen on that computer with \`conduyt agent listen\` (the start directory, --knowledge <folder> or --no-knowledge), never through Conduyt, and its path never leaves the computer), createdAt }]. Nothing secret is listed. Name a teammate to the connector tools (Grok Bot and OpenClaw) by its id or its @handle. The rows an API key reads carry no webhook object (the Settings session rows do: webhook.noRun and webhook.provider are read there, never through this tool). Owners and admins, with a person's API key (the chat scope; reading is enough); a member's key is refused (403) and an AI teammate's own key too (403 agent_route_refused). Adding a teammate stays in Settings > AI. Answers 404 ai_teammates_off while AI teammates are switched off and 402 plan_required when the workspace is not entitled; a workspace with more than 200 live teammates is refused to an API key (413 agent_list_over_ceiling; Settings > AI lists them all).", {}, async () => {
|
|
115
115
|
try {
|
|
116
116
|
const res = await client.get("/api/v1/chat/agents");
|
|
117
117
|
return connectResult(unwrap(res), []);
|
package/dist/tools/calls.js
CHANGED
|
@@ -114,7 +114,7 @@ export function registerCallTools(server, client) {
|
|
|
114
114
|
const result = await client.get(`/api/v1/calls?${params}`);
|
|
115
115
|
return formatResult(result);
|
|
116
116
|
});
|
|
117
|
-
server.tool("conduyt_search_dialer_history", "Search and filter the dialer's call log for QA (GET /api/v1/dialer/history, newest first, up to 200 per page): find the recorded calls to review by words, number, disposition, agent and dates. " + SEARCH_ANSWER + " mine=true limits it to the key's own member's calls; the response also carries `stats` { total, inbound, outbound, avgTalkSeconds } for the whole visible log.", {
|
|
117
|
+
server.tool("conduyt_search_dialer_history", "Search and filter the dialer's call log for QA (GET /api/v1/dialer/history, newest first, up to 200 per page): find the recorded calls to review by words, number, disposition, agent and dates. " + SEARCH_ANSWER + " mine=true limits it to the key's own member's calls; the response also carries `stats` { total, inbound, outbound, avgTalkSeconds } for the whole visible log. Each row carries `audioDiagnostics` (this tool only, not conduyt_search_dialer_calls): what the rep's softphone reported about the call's audio, oldest first, as rows of type warning { secondsIntoCall, label, durationSeconds, ended }, cleared { secondsIntoCall, label } or gap { dropped, firstDroppedAt, lastDroppedAt }; [] when nothing was reported. An audit of what was reported, never the call's current state.", {
|
|
118
118
|
...SEARCH_FILTERS,
|
|
119
119
|
mine: z.boolean().optional().describe("true = only the key's own member's calls"),
|
|
120
120
|
unmatched: z.boolean().optional().describe("true = only calls no contact is linked to (the unknown-caller prompt's not-matched calls; sent as unmatched=1)"),
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-11-
|
|
3
|
-
"toolCount":
|
|
4
|
-
"totalEndpoints":
|
|
2
|
+
"generatedAt": "2026-11-15T21:05:27.836Z",
|
|
3
|
+
"toolCount": 442,
|
|
4
|
+
"totalEndpoints": 1215,
|
|
5
5
|
"counts": {
|
|
6
|
-
"covered":
|
|
6
|
+
"covered": 391,
|
|
7
7
|
"excluded": 374,
|
|
8
8
|
"planned": 450,
|
|
9
9
|
"uncategorized": 0
|
|
@@ -551,6 +551,12 @@
|
|
|
551
551
|
"conduyt_ai_improve_email"
|
|
552
552
|
]
|
|
553
553
|
},
|
|
554
|
+
"POST /api/v1/ai/improve-sms": {
|
|
555
|
+
"status": "covered",
|
|
556
|
+
"tools": [
|
|
557
|
+
"conduyt_ai_improve_sms"
|
|
558
|
+
]
|
|
559
|
+
},
|
|
554
560
|
"GET /api/v1/ai/insights": {
|
|
555
561
|
"status": "planned",
|
|
556
562
|
"reason": "AI surfaces beyond chat/insights/tasks tools"
|