conduyt-mcp 4.105.17 → 4.105.18
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 +1 -0
- package/dist/tool-annotations.js +2 -0
- package/dist/tools/chat.js +13 -0
- package/package.json +1 -1
- package/scripts/coverage-matrix.json +10 -4
package/README.md
CHANGED
|
@@ -264,6 +264,7 @@ The Mailchimp OAuth connect and callback are browser-only: connect Mailchimp in
|
|
|
264
264
|
| `conduyt_list_chat_channels` | `GET /chat/channels`: your channels; also CREATES your memberships in the auto channels the first time |
|
|
265
265
|
| `conduyt_get_chat_unread` | `GET /chat/unread`: per channel `{ channelId, unread, soundUnread, newestSeq, latestSeq }`; may list an auto channel you have not opened yet (no membership row) |
|
|
266
266
|
| `conduyt_list_chat_messages` | List a channel's messages, newest first; every message carries `seq` (commit-ordered position in the channel); does not move the read marker; on a 403 "Not a member of this channel" it calls `GET /chat/channels` once and retries once |
|
|
267
|
+
| `conduyt_search_chat_messages` | (#1289) `GET /chat/channels/{id}/messages/search`: the messages whose body contains `query` (2-100 characters, case-insensitive), newest first, `limit` 1-20 (default 10), back to the 90-day window; each hit `{ messageId, threadRootId, seq, time, author, isAI, excerpt }`; no hit is `[]`; then read the thread with `conduyt_get_chat_thread`; on a 403 "Not a member of this channel" it calls `GET /chat/channels` once and retries once |
|
|
267
268
|
| `conduyt_send_chat_message` | Send a message through the canonical audited Team Chat writer; agent keys receive the six-turn human-handoff guard |
|
|
268
269
|
| `conduyt_reply_chat_message` | Reply to a top-level message in its thread through the same audited writer; an agent passes `idempotencyKey` (`reply:<source message id>`) so a retried turn returns the first reply (200, `idempotentReplay: true`) instead of posting twice |
|
|
269
270
|
| `conduyt_react_chat_message` | React to a Team Chat message as the authenticated user/agent; an AI teammate passes `claimToken` (the turn prompt's reply claim token, plus `sourceMessageId` when it reacts to another message of the thread) and the reaction ENDS that turn (outcome reacted); 409 `reaction_stale_claim` / `turn_finished` write nothing |
|
package/dist/tool-annotations.js
CHANGED
|
@@ -200,6 +200,8 @@ export const TOOL_ANNOTATIONS = {
|
|
|
200
200
|
conduyt_list_chat_channels: update("List Chat Channels"),
|
|
201
201
|
conduyt_get_chat_unread: ro("Get Chat Unread Counts"),
|
|
202
202
|
conduyt_list_chat_messages: update("List Chat Messages"),
|
|
203
|
+
// (#1289) recovers a first-use 403 through GET /chat/channels, which creates auto-channel memberships (as conduyt_list_chat_messages)
|
|
204
|
+
conduyt_search_chat_messages: update("Search Chat Messages"),
|
|
203
205
|
conduyt_send_chat_message: create("Send Chat Message"),
|
|
204
206
|
conduyt_reply_chat_message: create("Reply to Chat Message"),
|
|
205
207
|
conduyt_react_chat_message: update("React to Chat Message"),
|
package/dist/tools/chat.js
CHANGED
|
@@ -129,6 +129,19 @@ export function registerChatTools(server, client) {
|
|
|
129
129
|
return formatToolError("This Conduyt server did not apply topLevel: its messages carry no thread summaries (it predates the thread view). Read the channel without topLevel.");
|
|
130
130
|
return formatResult(page);
|
|
131
131
|
}));
|
|
132
|
+
// (#1289) the channel's messages by text: the AI teammates' search_messages, as a REST read (find an older message, then read its thread)
|
|
133
|
+
strictInput(server.tool("conduyt_search_chat_messages", "Search a team chat channel's messages by text (GET /api/v1/chat/channels/{id}/messages/search): the messages whose body contains query (case-insensitive; % and _ match only themselves), newest first, back to the 90-day history window. Each hit is { messageId, threadRootId (the thread it belongs to; itself for a top-level message), seq, time, author (name, with @handle for an AI teammate), isAI, excerpt (300 characters around the first match) }; no hit is an empty list. Then read the whole thread with conduyt_get_chat_thread (threadRootId). The caller must be a channel member (else 403); a deleted message never matches; a key whose scopes do not grant deals never finds a deal card or a deal channel, and a deal mention in a body is matched as it reads to it (\"a deal\"). A 400 search_query_invalid / search_limit_invalid names a bad query or limit. Read-only: nothing is written and no read position moves.", {
|
|
134
|
+
channelId: z.string().uuid().describe("Channel UUID"),
|
|
135
|
+
// (app Codex search1289-r1 P3) counted in Unicode code points, as the app counts them: one emoji is one character
|
|
136
|
+
query: z.string().trim().refine((v) => [...v].length >= 2 && [...v].length <= 100, { message: "query must be 2 to 100 characters" }).describe("The text to find, 2 to 100 characters (Unicode code points, trimmed). Required"),
|
|
137
|
+
limit: z.number().int().min(1).max(20).optional().describe("Hits (1-20, default 10)"),
|
|
138
|
+
}, async ({ channelId, query, limit }) => {
|
|
139
|
+
const params = new URLSearchParams({ q: query });
|
|
140
|
+
if (limit !== undefined)
|
|
141
|
+
params.set("limit", String(limit));
|
|
142
|
+
const result = await withMembershipBootstrap(client, () => client.get(`/api/v1/chat/channels/${channelId}/messages/search?${params}`));
|
|
143
|
+
return formatResult(result);
|
|
144
|
+
}));
|
|
132
145
|
strictInput(server.tool("conduyt_send_chat_message", "Send a Team Chat message as the API key's user (POST /api/v1/chat/channels/{id}/messages). The caller must be a channel member and have the communications:create permission. AI-agent keys are subject to the server's six-consecutive-agent-turn cap; a 409 agent_human_required means no message was sent (markerCreated: true on the refusal that inserted the one human-handoff line, false while the thread stays paused). A 409 agents_muted_in_channel means an admin turned \"agents respond here\" off for this channel: the post was refused, nothing was written, and it must not be retried (same shape as agent_human_required). (#1213) A 409 write_outside_turn means this AI teammate is answering a turn (it holds a running claim): every post must be that turn's reply, in its thread, with conduyt_reply_chat_message and the turn's idempotencyKey + claimToken; nothing was written, do not retry. body is plain Team Chat text (1-10,000 characters).", {
|
|
133
146
|
channelId: z.string().uuid().describe("Channel UUID"),
|
|
134
147
|
body: z.string().trim().min(1).max(10_000).describe("Message text"),
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-11-
|
|
3
|
-
"toolCount":
|
|
4
|
-
"totalEndpoints":
|
|
2
|
+
"generatedAt": "2026-11-11T06:40:40.006Z",
|
|
3
|
+
"toolCount": 416,
|
|
4
|
+
"totalEndpoints": 1194,
|
|
5
5
|
"counts": {
|
|
6
|
-
"covered":
|
|
6
|
+
"covered": 368,
|
|
7
7
|
"excluded": 368,
|
|
8
8
|
"planned": 458,
|
|
9
9
|
"uncategorized": 0
|
|
@@ -1619,6 +1619,12 @@
|
|
|
1619
1619
|
"conduyt_get_chat_thread"
|
|
1620
1620
|
]
|
|
1621
1621
|
},
|
|
1622
|
+
"GET /api/v1/chat/channels/:id/messages/search": {
|
|
1623
|
+
"status": "covered",
|
|
1624
|
+
"tools": [
|
|
1625
|
+
"conduyt_search_chat_messages"
|
|
1626
|
+
]
|
|
1627
|
+
},
|
|
1622
1628
|
"GET /api/v1/chat/channels/:id/notifications": {
|
|
1623
1629
|
"status": "covered",
|
|
1624
1630
|
"tools": [
|