@pipeshub-ai/mcp 2.0.0 → 2.0.1
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/bin/mcp-server.js +36 -26
- package/bin/mcp-server.js.map +4 -4
- package/esm/mcp-server/tools/pipeshubChat.d.ts +2 -2
- package/esm/mcp-server/tools/pipeshubChat.d.ts.map +1 -1
- package/esm/mcp-server/tools/pipeshubChat.js +26 -14
- package/esm/mcp-server/tools/pipeshubChat.js.map +1 -1
- package/esm/tool-names.js +1 -1
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/mcp-server/tools/pipeshubChat.ts +27 -15
- package/src/tool-names.ts +1 -1
package/bin/mcp-server.js
CHANGED
|
@@ -52671,24 +52671,29 @@ var init_pipeshubChat = __esm(() => {
|
|
|
52671
52671
|
modelKey: string2().optional().describe("Model id to use (from `pipeshub_sources` `models[*].modelKey`). " + "Defaults to the org's default LLM."),
|
|
52672
52672
|
modelName: string2().optional(),
|
|
52673
52673
|
modelFriendlyName: string2().optional(),
|
|
52674
|
-
chatMode: _enum(["
|
|
52674
|
+
chatMode: _enum(["web_search", "internal_search"]).optional().describe("Controls retrieval source. " + "`internal_search` (default) — searches the org's indexed knowledge " + "bases (Drive, Confluence, Slack, Gmail, Jira, Box, etc.) and returns " + "citations. Use this for questions about internal docs, policies, or " + "company data. " + "`web_search` — searches the public web instead of internal sources. " + "Use only when the user explicitly asks about current events, public " + "information, or anything not expected to be in the org's KB. " + "Omit this field (or pass `internal_search`) for all normal queries.")
|
|
52675
52675
|
};
|
|
52676
52676
|
tool$pipeshubChat = {
|
|
52677
52677
|
name: "pipeshub_chat",
|
|
52678
|
-
description: `**
|
|
52679
|
-
|
|
52680
|
-
|
|
52681
|
-
|
|
52682
|
-
|
|
52683
|
-
|
|
52684
|
-
returns citations.
|
|
52678
|
+
description: `**Primary chat tool — handles both internal knowledge queries and web search.**
|
|
52679
|
+
|
|
52680
|
+
**Internal search** (default, \`chatMode: "internal_search"\`): Use whenever
|
|
52681
|
+
the user asks about their documents, files, knowledge base, company policies,
|
|
52682
|
+
or anything that could plausibly be answered by content in their PipesHub-indexed
|
|
52683
|
+
sources (Drive, Box, Confluence, Slack, Gmail, Jira, the org's KB, ...).
|
|
52684
|
+
Grounds the answer in the user's actual data and returns citations.
|
|
52685
|
+
|
|
52686
|
+
**Web search** (\`chatMode: "web_search"\`): Use when the user asks about
|
|
52687
|
+
current events, public information, or anything unlikely to be in the org's
|
|
52688
|
+
internal knowledge base. Pass \`chatMode: "web_search"\` and this tool will
|
|
52689
|
+
search the public web instead.
|
|
52685
52690
|
|
|
52686
52691
|
**When to pick this over other tools:**
|
|
52687
|
-
- "What does <document> say about X?" → \`pipeshub_chat\` (
|
|
52688
|
-
|
|
52689
|
-
- "
|
|
52690
|
-
- "What's
|
|
52691
|
-
- "What
|
|
52692
|
+
- "What does <document> say about X?" → \`pipeshub_chat\` (internal_search)
|
|
52693
|
+
- "Summarize <topic / doc>." → \`pipeshub_chat\` (internal_search)
|
|
52694
|
+
- "What's our policy on Y?" → \`pipeshub_chat\` (internal_search)
|
|
52695
|
+
- "What's in the news about Z?" → \`pipeshub_chat\` (web_search)
|
|
52696
|
+
- "What is the latest version of <library>?" → \`pipeshub_chat\` (web_search)
|
|
52692
52697
|
- "Find / locate the file named X" → \`pipeshub_search\` (then
|
|
52693
52698
|
\`pipeshub_download_record\` if the user wants the bytes).
|
|
52694
52699
|
|
|
@@ -54079,20 +54084,25 @@ var init_tool_names = __esm(() => {
|
|
|
54079
54084
|
},
|
|
54080
54085
|
{
|
|
54081
54086
|
name: "pipeshub_chat",
|
|
54082
|
-
description: `**
|
|
54083
|
-
|
|
54084
|
-
|
|
54085
|
-
|
|
54086
|
-
|
|
54087
|
-
|
|
54088
|
-
returns citations.
|
|
54087
|
+
description: `**Primary chat tool — handles both internal knowledge queries and web search.**
|
|
54088
|
+
|
|
54089
|
+
**Internal search** (default, \`chatMode: "internal_search"\`): Use whenever
|
|
54090
|
+
the user asks about their documents, files, knowledge base, company policies,
|
|
54091
|
+
or anything that could plausibly be answered by content in their PipesHub-indexed
|
|
54092
|
+
sources (Drive, Box, Confluence, Slack, Gmail, Jira, the org's KB, ...).
|
|
54093
|
+
Grounds the answer in the user's actual data and returns citations.
|
|
54094
|
+
|
|
54095
|
+
**Web search** (\`chatMode: "web_search"\`): Use when the user asks about
|
|
54096
|
+
current events, public information, or anything unlikely to be in the org's
|
|
54097
|
+
internal knowledge base. Pass \`chatMode: "web_search"\` and this tool will
|
|
54098
|
+
search the public web instead.
|
|
54089
54099
|
|
|
54090
54100
|
**When to pick this over other tools:**
|
|
54091
|
-
- "What does <document> say about X?" → \`pipeshub_chat\` (
|
|
54092
|
-
|
|
54093
|
-
- "
|
|
54094
|
-
- "What's
|
|
54095
|
-
- "What
|
|
54101
|
+
- "What does <document> say about X?" → \`pipeshub_chat\` (internal_search)
|
|
54102
|
+
- "Summarize <topic / doc>." → \`pipeshub_chat\` (internal_search)
|
|
54103
|
+
- "What's our policy on Y?" → \`pipeshub_chat\` (internal_search)
|
|
54104
|
+
- "What's in the news about Z?" → \`pipeshub_chat\` (web_search)
|
|
54105
|
+
- "What is the latest version of <library>?" → \`pipeshub_chat\` (web_search)
|
|
54096
54106
|
- "Find / locate the file named X" → \`pipeshub_search\` (then
|
|
54097
54107
|
\`pipeshub_download_record\` if the user wants the bytes).
|
|
54098
54108
|
|
|
@@ -57767,5 +57777,5 @@ export {
|
|
|
57767
57777
|
app
|
|
57768
57778
|
};
|
|
57769
57779
|
|
|
57770
|
-
//# debugId=
|
|
57780
|
+
//# debugId=4F54178F9A67222964756E2164756E21
|
|
57771
57781
|
//# sourceMappingURL=mcp-server.js.map
|