@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 CHANGED
@@ -5514,7 +5514,12 @@ function registerSketchTools(server, state) {
5514
5514
  });
5515
5515
  return {
5516
5516
  content: [
5517
- { type: "image", data: captureResult.previewJpegBase64, mimeType: "image/jpeg" },
5517
+ {
5518
+ type: "image",
5519
+ data: captureResult.previewJpegBase64,
5520
+ mimeType: "image/jpeg",
5521
+ annotations: { audience: ["user", "assistant"] }
5522
+ },
5518
5523
  { type: "text", text: JSON.stringify({
5519
5524
  ...result,
5520
5525
  capture: captureResult.metadata
@@ -6100,7 +6105,12 @@ function registerCaptureTools(server, state) {
6100
6105
  console.error(`[capture_screenshot] jpeg base64 length: ${result.previewJpegBase64.length}`);
6101
6106
  return {
6102
6107
  content: [
6103
- { type: "image", data: result.previewJpegBase64, mimeType: "image/jpeg" },
6108
+ {
6109
+ type: "image",
6110
+ data: result.previewJpegBase64,
6111
+ mimeType: "image/jpeg",
6112
+ annotations: { audience: ["user", "assistant"] }
6113
+ },
6104
6114
  { type: "text", text: JSON.stringify(result.metadata, null, 2) }
6105
6115
  ]
6106
6116
  };
@@ -6130,7 +6140,8 @@ function registerCaptureTools(server, state) {
6130
6140
  content.push({
6131
6141
  type: "image",
6132
6142
  data: item.inlineJpegBase64,
6133
- mimeType: "image/jpeg"
6143
+ mimeType: "image/jpeg",
6144
+ annotations: { audience: ["user", "assistant"] }
6134
6145
  });
6135
6146
  content.push({
6136
6147
  type: "text",