@genart-dev/mcp-server 0.4.8 → 0.4.9
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.cjs +14 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -3
- package/dist/index.js.map +1 -1
- package/dist/lib.cjs +14 -3
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.js +14 -3
- package/dist/lib.js.map +1 -1
- package/package.json +1 -1
package/dist/lib.js
CHANGED
|
@@ -5210,7 +5210,12 @@ function registerSketchTools(server, state) {
|
|
|
5210
5210
|
});
|
|
5211
5211
|
return {
|
|
5212
5212
|
content: [
|
|
5213
|
-
{
|
|
5213
|
+
{
|
|
5214
|
+
type: "image",
|
|
5215
|
+
data: captureResult.previewJpegBase64,
|
|
5216
|
+
mimeType: "image/jpeg",
|
|
5217
|
+
annotations: { audience: ["user", "assistant"] }
|
|
5218
|
+
},
|
|
5214
5219
|
{ type: "text", text: JSON.stringify({
|
|
5215
5220
|
...result,
|
|
5216
5221
|
capture: captureResult.metadata
|
|
@@ -5796,7 +5801,12 @@ function registerCaptureTools(server, state) {
|
|
|
5796
5801
|
console.error(`[capture_screenshot] jpeg base64 length: ${result.previewJpegBase64.length}`);
|
|
5797
5802
|
return {
|
|
5798
5803
|
content: [
|
|
5799
|
-
{
|
|
5804
|
+
{
|
|
5805
|
+
type: "image",
|
|
5806
|
+
data: result.previewJpegBase64,
|
|
5807
|
+
mimeType: "image/jpeg",
|
|
5808
|
+
annotations: { audience: ["user", "assistant"] }
|
|
5809
|
+
},
|
|
5800
5810
|
{ type: "text", text: JSON.stringify(result.metadata, null, 2) }
|
|
5801
5811
|
]
|
|
5802
5812
|
};
|
|
@@ -5826,7 +5836,8 @@ function registerCaptureTools(server, state) {
|
|
|
5826
5836
|
content.push({
|
|
5827
5837
|
type: "image",
|
|
5828
5838
|
data: item.inlineJpegBase64,
|
|
5829
|
-
mimeType: "image/jpeg"
|
|
5839
|
+
mimeType: "image/jpeg",
|
|
5840
|
+
annotations: { audience: ["user", "assistant"] }
|
|
5830
5841
|
});
|
|
5831
5842
|
content.push({
|
|
5832
5843
|
type: "text",
|