@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.cjs CHANGED
@@ -5221,15 +5221,15 @@ function registerSketchTools(server, state) {
5221
5221
  });
5222
5222
  return {
5223
5223
  content: [
5224
+ { type: "text", text: JSON.stringify({
5225
+ ...result,
5226
+ capture: captureResult.metadata
5227
+ }, null, 2) },
5224
5228
  {
5225
5229
  type: "image",
5226
5230
  data: captureResult.previewJpegBase64,
5227
5231
  mimeType: "image/jpeg"
5228
- },
5229
- { type: "text", text: JSON.stringify({
5230
- ...result,
5231
- capture: captureResult.metadata
5232
- }, null, 2) }
5232
+ }
5233
5233
  ]
5234
5234
  };
5235
5235
  } catch (captureErr) {
@@ -5811,12 +5811,12 @@ function registerCaptureTools(server, state) {
5811
5811
  console.error(`[capture_screenshot] jpeg base64 length: ${result.previewJpegBase64.length}`);
5812
5812
  return {
5813
5813
  content: [
5814
+ { type: "text", text: JSON.stringify(result.metadata, null, 2) },
5814
5815
  {
5815
5816
  type: "image",
5816
5817
  data: result.previewJpegBase64,
5817
5818
  mimeType: "image/jpeg"
5818
- },
5819
- { type: "text", text: JSON.stringify(result.metadata, null, 2) }
5819
+ }
5820
5820
  ]
5821
5821
  };
5822
5822
  } catch (e) {