@ateam-ai/mcp 0.3.45 → 0.3.47
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/package.json +1 -1
- package/src/agentDoc.js +20 -3
- package/src/tools.js +0 -14
package/package.json
CHANGED
package/src/agentDoc.js
CHANGED
|
@@ -40,10 +40,27 @@ export function renderAgentDocHeader({ solution, skills = [], connectors = [] })
|
|
|
40
40
|
return `- **${s.id}** _(${role})_ — ${oneLine(desc)}`;
|
|
41
41
|
}).join("\n") || "_(no skills defined)_";
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
// Classify connectors by the `source` field on solution.platform_connectors[].
|
|
44
|
+
// Default "platform" for back-compat with older solutions that don't set it.
|
|
45
|
+
// Solution-owned connectors (source:"solution") have source code in
|
|
46
|
+
// connectors/<id>/ inside the repo. See skill-validator schema for the
|
|
47
|
+
// platform_connectors[i].source field. The previous classifier put EVERY
|
|
48
|
+
// platform_connectors entry into the "platform" bucket regardless of
|
|
49
|
+
// ownership, which misclassified solution-owned connectors and bit ada
|
|
50
|
+
// on 2026-05-15.
|
|
51
|
+
const pcs = solution?.platform_connectors || [];
|
|
52
|
+
const platformConnectorIds = pcs
|
|
53
|
+
.filter((c) => (c.source || "platform") === "platform")
|
|
54
|
+
.map((c) => c.id);
|
|
44
55
|
const solutionConnectorIds = [
|
|
45
|
-
...new Set(
|
|
46
|
-
|
|
56
|
+
...new Set([
|
|
57
|
+
// Anything explicitly marked source:"solution"
|
|
58
|
+
...pcs.filter((c) => c.source === "solution").map((c) => c.id),
|
|
59
|
+
// Plus anything in the separately-passed connectors list (live runtime
|
|
60
|
+
// discovery) that isn't already accounted for as platform.
|
|
61
|
+
...connectors.map((c) => c.id).filter(Boolean),
|
|
62
|
+
]),
|
|
63
|
+
].filter((id) => !platformConnectorIds.includes(id));
|
|
47
64
|
const connectorTable = buildConnectorTable({
|
|
48
65
|
platform: platformConnectorIds,
|
|
49
66
|
solution: solutionConnectorIds,
|
package/src/tools.js
CHANGED
|
@@ -1773,20 +1773,6 @@ const handlers = {
|
|
|
1773
1773
|
tool_prefixes: ["docs.corpus.", "docs.ingest.", "docs.search", "docs.file.", "docs.sync.", "docs.stats"],
|
|
1774
1774
|
typical_use: "Index documents from any source (Dropbox, Gmail attachments, uploaded files), answer questions with retrieved chunks + citations. Fed by source connectors (e.g. dropbox-mcp) that call docs.ingest.file.",
|
|
1775
1775
|
},
|
|
1776
|
-
{
|
|
1777
|
-
id: "handoff-controller-mcp",
|
|
1778
|
-
name: "Handoff Controller",
|
|
1779
|
-
purpose: "Live conversation handoffs between skills in a multi-skill solution",
|
|
1780
|
-
tool_prefixes: ["handoff."],
|
|
1781
|
-
typical_use: "Pass a live conversation from one skill to another (e.g. identity-assurance → order-support), carrying grants",
|
|
1782
|
-
},
|
|
1783
|
-
{
|
|
1784
|
-
id: "internal-comm-mcp",
|
|
1785
|
-
name: "Internal Communication",
|
|
1786
|
-
purpose: "Skill-to-skill messaging and voice replies",
|
|
1787
|
-
tool_prefixes: ["comm."],
|
|
1788
|
-
typical_use: "Async message between skills, or send a voice reply back through the Twilio channel",
|
|
1789
|
-
},
|
|
1790
1776
|
{
|
|
1791
1777
|
id: "browser-mcp",
|
|
1792
1778
|
name: "Browser",
|