modality-kit 0.12.17 → 0.12.19

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.js CHANGED
@@ -235,7 +235,7 @@ function formatSuccessResponse(content, meta) {
235
235
  return JSON.stringify({
236
236
  success: true,
237
237
  instructions,
238
- content: restContent,
238
+ content: Object.keys(restContent) ? restContent : undefined,
239
239
  meta
240
240
  });
241
241
  }
@@ -19,7 +19,7 @@ export interface McpErrorResponse {
19
19
  }
20
20
  interface SuccessData extends Record<string, any> {
21
21
  message?: string;
22
- instructions?: string;
22
+ instructions?: string | string[];
23
23
  }
24
24
  /**
25
25
  * Generic error data interface for MCP error responses
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.12.17",
2
+ "version": "0.12.19",
3
3
  "name": "modality-kit",
4
4
  "repository": {
5
5
  "type": "git",