@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/lib.cjs CHANGED
@@ -5215,7 +5215,12 @@ function registerSketchTools(server, state) {
5215
5215
  });
5216
5216
  return {
5217
5217
  content: [
5218
- { type: "image", data: captureResult.previewJpegBase64, mimeType: "image/jpeg" },
5218
+ {
5219
+ type: "image",
5220
+ data: captureResult.previewJpegBase64,
5221
+ mimeType: "image/jpeg",
5222
+ annotations: { audience: ["user", "assistant"] }
5223
+ },
5219
5224
  { type: "text", text: JSON.stringify({
5220
5225
  ...result,
5221
5226
  capture: captureResult.metadata
@@ -5801,7 +5806,12 @@ function registerCaptureTools(server, state) {
5801
5806
  console.error(`[capture_screenshot] jpeg base64 length: ${result.previewJpegBase64.length}`);
5802
5807
  return {
5803
5808
  content: [
5804
- { type: "image", data: result.previewJpegBase64, mimeType: "image/jpeg" },
5809
+ {
5810
+ type: "image",
5811
+ data: result.previewJpegBase64,
5812
+ mimeType: "image/jpeg",
5813
+ annotations: { audience: ["user", "assistant"] }
5814
+ },
5805
5815
  { type: "text", text: JSON.stringify(result.metadata, null, 2) }
5806
5816
  ]
5807
5817
  };
@@ -5831,7 +5841,8 @@ function registerCaptureTools(server, state) {
5831
5841
  content.push({
5832
5842
  type: "image",
5833
5843
  data: item.inlineJpegBase64,
5834
- mimeType: "image/jpeg"
5844
+ mimeType: "image/jpeg",
5845
+ annotations: { audience: ["user", "assistant"] }
5835
5846
  });
5836
5847
  content.push({
5837
5848
  type: "text",