@vint.tri/report_gen_mcp 1.7.10 → 1.7.12
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/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAweA;;;;;GAKG;AACH,wBAAsB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,OAAO,CAAC;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAgCjD"}
|
package/dist/index.js
CHANGED
|
@@ -103,7 +103,7 @@ if (process.argv.length === 2) {
|
|
|
103
103
|
// No command specified, run in stdio mode using MCP SDK
|
|
104
104
|
const mcpServer = new McpServer({
|
|
105
105
|
name: "report_gen_mcp",
|
|
106
|
-
version: "1.7.
|
|
106
|
+
version: "1.7.12"
|
|
107
107
|
}, {
|
|
108
108
|
// Disable health check to prevent automatic calls
|
|
109
109
|
capabilities: {
|
|
@@ -398,7 +398,7 @@ FOR THE NEURAL NETWORK: Please present the following information to the user:
|
|
|
398
398
|
// Extract base64 data from the saved file
|
|
399
399
|
const imageData = await fs.readFile(imageResult.filePath);
|
|
400
400
|
const base64Data = imageData.toString('base64');
|
|
401
|
-
// Return result with file path and browser link
|
|
401
|
+
// Return result with file path and browser link only (without image data)
|
|
402
402
|
return {
|
|
403
403
|
content: [
|
|
404
404
|
{
|
|
@@ -407,11 +407,6 @@ FOR THE NEURAL NETWORK: Please present the following information to the user:
|
|
|
407
407
|
|
|
408
408
|
Path to file: ${imageResult.filePath}
|
|
409
409
|
Web browser link: ${imageResult.fileUrl}`
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
type: "image",
|
|
413
|
-
data: base64Data,
|
|
414
|
-
mimeType: "image/jpeg"
|
|
415
410
|
}
|
|
416
411
|
]
|
|
417
412
|
};
|
|
Binary file
|
|
Binary file
|