@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/lib.js CHANGED
@@ -5216,15 +5216,15 @@ function registerSketchTools(server, state) {
5216
5216
  });
5217
5217
  return {
5218
5218
  content: [
5219
+ { type: "text", text: JSON.stringify({
5220
+ ...result,
5221
+ capture: captureResult.metadata
5222
+ }, null, 2) },
5219
5223
  {
5220
5224
  type: "image",
5221
5225
  data: captureResult.previewJpegBase64,
5222
5226
  mimeType: "image/jpeg"
5223
- },
5224
- { type: "text", text: JSON.stringify({
5225
- ...result,
5226
- capture: captureResult.metadata
5227
- }, null, 2) }
5227
+ }
5228
5228
  ]
5229
5229
  };
5230
5230
  } catch (captureErr) {
@@ -5806,12 +5806,12 @@ function registerCaptureTools(server, state) {
5806
5806
  console.error(`[capture_screenshot] jpeg base64 length: ${result.previewJpegBase64.length}`);
5807
5807
  return {
5808
5808
  content: [
5809
+ { type: "text", text: JSON.stringify(result.metadata, null, 2) },
5809
5810
  {
5810
5811
  type: "image",
5811
5812
  data: result.previewJpegBase64,
5812
5813
  mimeType: "image/jpeg"
5813
- },
5814
- { type: "text", text: JSON.stringify(result.metadata, null, 2) }
5814
+ }
5815
5815
  ]
5816
5816
  };
5817
5817
  } catch (e) {