@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 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(["quick", "balanced"]).optional().describe("`quick` for low-retrieval / fast answers; `balanced` for full RAG. " + "Default `quick`.")
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: `**Default tool for anything PipesHub-related.** Use this whenever the
52679
- user asks about their documents, files, knowledge base, company
52680
- policies, or anything that could plausibly be answered by content in
52681
- their PipesHub-indexed sources (Drive, Box, Confluence, Slack, Gmail,
52682
- Jira, the org's KB, ...). Do NOT answer those from your own knowledge —
52683
- \`pipeshub_chat\` grounds the answer in the user's actual data and
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\` (NOT search;
52688
- search is only for locating files by name).
52689
- - "Summarize <topic / doc>." → \`pipeshub_chat\`.
52690
- - "What's our policy on Y?" → \`pipeshub_chat\`.
52691
- - "What do we know about Z?" → \`pipeshub_chat\`.
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: `**Default tool for anything PipesHub-related.** Use this whenever the
54083
- user asks about their documents, files, knowledge base, company
54084
- policies, or anything that could plausibly be answered by content in
54085
- their PipesHub-indexed sources (Drive, Box, Confluence, Slack, Gmail,
54086
- Jira, the org's KB, ...). Do NOT answer those from your own knowledge —
54087
- \`pipeshub_chat\` grounds the answer in the user's actual data and
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\` (NOT search;
54092
- search is only for locating files by name).
54093
- - "Summarize <topic / doc>." → \`pipeshub_chat\`.
54094
- - "What's our policy on Y?" → \`pipeshub_chat\`.
54095
- - "What do we know about Z?" → \`pipeshub_chat\`.
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=7826B5469EE4785964756E2164756E21
57780
+ //# debugId=4F54178F9A67222964756E2164756E21
57771
57781
  //# sourceMappingURL=mcp-server.js.map