@genart-dev/mcp-server 0.4.10 → 0.4.11

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
@@ -5520,15 +5520,15 @@ function registerSketchTools(server, state) {
5520
5520
  });
5521
5521
  return {
5522
5522
  content: [
5523
+ { type: "text", text: JSON.stringify({
5524
+ ...result,
5525
+ capture: captureResult.metadata
5526
+ }, null, 2) },
5523
5527
  {
5524
5528
  type: "image",
5525
5529
  data: captureResult.previewJpegBase64,
5526
5530
  mimeType: "image/jpeg"
5527
- },
5528
- { type: "text", text: JSON.stringify({
5529
- ...result,
5530
- capture: captureResult.metadata
5531
- }, null, 2) }
5531
+ }
5532
5532
  ]
5533
5533
  };
5534
5534
  } catch (captureErr) {
@@ -6110,12 +6110,12 @@ function registerCaptureTools(server, state) {
6110
6110
  console.error(`[capture_screenshot] jpeg base64 length: ${result.previewJpegBase64.length}`);
6111
6111
  return {
6112
6112
  content: [
6113
+ { type: "text", text: JSON.stringify(result.metadata, null, 2) },
6113
6114
  {
6114
6115
  type: "image",
6115
6116
  data: result.previewJpegBase64,
6116
6117
  mimeType: "image/jpeg"
6117
- },
6118
- { type: "text", text: JSON.stringify(result.metadata, null, 2) }
6118
+ }
6119
6119
  ]
6120
6120
  };
6121
6121
  } catch (e) {