@pipeshub-ai/mcp 2.4.0 → 2.4.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 +21 -19
- package/bin/mcp-server.js.map +5 -5
- package/esm/mcp-server/instructions.d.ts +1 -1
- package/esm/mcp-server/instructions.d.ts.map +1 -1
- package/esm/mcp-server/instructions.js +6 -4
- package/esm/mcp-server/instructions.js.map +1 -1
- package/esm/mcp-server/tools/pipeshubDownloadRecord.d.ts.map +1 -1
- package/esm/mcp-server/tools/pipeshubDownloadRecord.js +15 -12
- package/esm/mcp-server/tools/pipeshubDownloadRecord.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/qm/sandbox/Dockerfile +1 -1
- package/src/mcp-server/instructions.ts +6 -4
- package/src/mcp-server/tools/pipeshubDownloadRecord.ts +15 -12
- package/src/tool-names.ts +1 -1
package/bin/mcp-server.js
CHANGED
|
@@ -50441,10 +50441,12 @@ the user can verify.
|
|
|
50441
50441
|
- \`pipeshub_search\` — locate a document by name or topic and resolve it
|
|
50442
50442
|
to a \`recordId\`. To read or summarize one specific document, search,
|
|
50443
50443
|
then pass the top hit's \`recordId\` to \`pipeshub_get_record_content\`.
|
|
50444
|
-
- \`pipeshub_download_record\` — when the user wants the
|
|
50445
|
-
|
|
50446
|
-
|
|
50447
|
-
\`
|
|
50444
|
+
- \`pipeshub_download_record\` — when the user wants the file as stored
|
|
50445
|
+
(download, attach, open). Never to read or summarize — that is
|
|
50446
|
+
\`pipeshub_get_record_content\` \`mode:"content"\`, which returns
|
|
50447
|
+
parsed text with a metadata header. Get the \`recordId\` from a chat
|
|
50448
|
+
citation or from \`pipeshub_search\`. \`convertTo\` is only
|
|
50449
|
+
\`application/pdf\`.
|
|
50448
50450
|
- \`pipeshub_get_record_content\` — when you need a record's full parsed
|
|
50449
50451
|
content (returned as a single \`content\` string: metadata header plus
|
|
50450
50452
|
the document's text) without downloading the original file. Prefer this
|
|
@@ -54205,22 +54207,22 @@ var init_pipeshubDownloadRecord = __esm(() => {
|
|
|
54205
54207
|
init__helpers();
|
|
54206
54208
|
args3 = {
|
|
54207
54209
|
recordId: string2().min(1).describe("Record identifier — usually a UUID for connector-sourced records or " + "a 24-character ObjectId for uploaded records. Get it from a chat " + "citation (`citations[*].recordId`) or from a `pipeshub_search` hit."),
|
|
54208
|
-
convertTo: string2().optional().describe("
|
|
54210
|
+
convertTo: string2().optional().describe("The only conversion target connectors honour is `application/pdf` " + "(the MIME type, not `pdf`). A bare `pdf` is ignored and the " + "original file is returned with no error. Omit for the file as " + "stored. Does not parse the document — use " + '`pipeshub_get_record_content` `mode:"content"` for that.')
|
|
54209
54211
|
};
|
|
54210
54212
|
tool$pipeshubDownloadRecord = {
|
|
54211
54213
|
name: "pipeshub_download_record",
|
|
54212
|
-
description: `
|
|
54213
|
-
|
|
54214
|
-
|
|
54215
|
-
|
|
54216
|
-
|
|
54217
|
-
|
|
54218
|
-
|
|
54219
|
-
|
|
54220
|
-
|
|
54221
|
-
|
|
54222
|
-
|
|
54223
|
-
|
|
54214
|
+
description: `Download the file as stored for one record — not PipesHub's parsed
|
|
54215
|
+
content, metadata header, or summary.
|
|
54216
|
+
|
|
54217
|
+
Use this when the user wants the file itself (download, attach, open).
|
|
54218
|
+
Get \`recordId\` from a chat citation or a \`pipeshub_search\` hit.
|
|
54219
|
+
|
|
54220
|
+
Do not use this to read, summarize, or answer "what does this doc
|
|
54221
|
+
say?" regardless of format. That is \`pipeshub_get_record_content\`
|
|
54222
|
+
\`mode:"content"\`. Text formats come back inline; images, audio, and
|
|
54223
|
+
binary as base64.
|
|
54224
|
+
|
|
54225
|
+
\`convertTo\` accepts only \`application/pdf\`; anything else is ignored.`,
|
|
54224
54226
|
scopes: ["read"],
|
|
54225
54227
|
annotations: {
|
|
54226
54228
|
title: "Download a document by record id",
|
|
@@ -55636,7 +55638,7 @@ One record can appear in several hits. Link a record by its \`webUrl\`.`
|
|
|
55636
55638
|
},
|
|
55637
55639
|
{
|
|
55638
55640
|
name: "pipeshub_download_record",
|
|
55639
|
-
description:
|
|
55641
|
+
description: 'Download the file as stored for one record — not PipesHub\'s parsed\ncontent, metadata header, or summary.\n\nUse this when the user wants the file itself (download, attach, open).\nGet `recordId` from a chat citation or a `pipeshub_search` hit.\n\nDo not use this to read, summarize, or answer "what does this doc\nsay?" regardless of format. That is `pipeshub_get_record_content`\n`mode:"content"`. Text formats come back inline; images, audio, and\nbinary as base64.\n\n`convertTo` accepts only `application/pdf`; anything else is ignored.'
|
|
55640
55642
|
},
|
|
55641
55643
|
{
|
|
55642
55644
|
name: "pipeshub_get_record_content",
|
|
@@ -59350,5 +59352,5 @@ export {
|
|
|
59350
59352
|
app
|
|
59351
59353
|
};
|
|
59352
59354
|
|
|
59353
|
-
//# debugId=
|
|
59355
|
+
//# debugId=DDE3715978A747DC64756E2164756E21
|
|
59354
59356
|
//# sourceMappingURL=mcp-server.js.map
|