modality-kit 0.12.3 → 0.12.5

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
@@ -123,7 +123,7 @@ class ModalityLogger {
123
123
  }
124
124
  case "warn": {
125
125
  const { message, ...restPayload } = payload;
126
- console.warn(payload);
126
+ console.warn(message);
127
127
  console.dir(restPayload, {
128
128
  depth: null,
129
129
  colors: true,
@@ -17,20 +17,18 @@ export interface McpErrorResponse {
17
17
  reason?: string;
18
18
  meta?: Record<string, any>;
19
19
  }
20
- interface SuccessData {
20
+ interface SuccessData extends Record<string, any> {
21
21
  message?: string;
22
22
  instructions?: string;
23
- [key: string]: any;
24
23
  }
25
24
  /**
26
25
  * Generic error data interface for MCP error responses
27
26
  */
28
- interface ErrorData {
27
+ interface ErrorData extends Record<string, any> {
29
28
  success?: boolean;
30
29
  message: string;
31
30
  code?: string;
32
31
  operation?: string;
33
- [key: string]: any;
34
32
  }
35
33
  /**
36
34
  * Format a successful response for MCP tools
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.12.3",
2
+ "version": "0.12.5",
3
3
  "name": "modality-kit",
4
4
  "repository": {
5
5
  "type": "git",