@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.js CHANGED
@@ -5529,7 +5529,12 @@ function registerSketchTools(server, state) {
5529
5529
  });
5530
5530
  return {
5531
5531
  content: [
5532
- { type: "image", data: captureResult.previewJpegBase64, mimeType: "image/jpeg" },
5532
+ {
5533
+ type: "image",
5534
+ data: captureResult.previewJpegBase64,
5535
+ mimeType: "image/jpeg",
5536
+ annotations: { audience: ["user", "assistant"] }
5537
+ },
5533
5538
  { type: "text", text: JSON.stringify({
5534
5539
  ...result,
5535
5540
  capture: captureResult.metadata
@@ -6115,7 +6120,12 @@ function registerCaptureTools(server, state) {
6115
6120
  console.error(`[capture_screenshot] jpeg base64 length: ${result.previewJpegBase64.length}`);
6116
6121
  return {
6117
6122
  content: [
6118
- { type: "image", data: result.previewJpegBase64, mimeType: "image/jpeg" },
6123
+ {
6124
+ type: "image",
6125
+ data: result.previewJpegBase64,
6126
+ mimeType: "image/jpeg",
6127
+ annotations: { audience: ["user", "assistant"] }
6128
+ },
6119
6129
  { type: "text", text: JSON.stringify(result.metadata, null, 2) }
6120
6130
  ]
6121
6131
  };
@@ -6145,7 +6155,8 @@ function registerCaptureTools(server, state) {
6145
6155
  content.push({
6146
6156
  type: "image",
6147
6157
  data: item.inlineJpegBase64,
6148
- mimeType: "image/jpeg"
6158
+ mimeType: "image/jpeg",
6159
+ annotations: { audience: ["user", "assistant"] }
6149
6160
  });
6150
6161
  content.push({
6151
6162
  type: "text",