@gtkx/mcp 0.12.0 → 0.12.1

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.
@@ -6,15 +6,7 @@ export declare const IpcRequestSchema: z.ZodObject<{
6
6
  id: z.ZodString;
7
7
  method: z.ZodString;
8
8
  params: z.ZodOptional<z.ZodUnknown>;
9
- }, "strip", z.ZodTypeAny, {
10
- id: string;
11
- method: string;
12
- params?: unknown;
13
- }, {
14
- id: string;
15
- method: string;
16
- params?: unknown;
17
- }>;
9
+ }, z.core.$strip>;
18
10
  /**
19
11
  * An IPC request message.
20
12
  */
@@ -37,15 +29,7 @@ export declare const IpcErrorSchema: z.ZodObject<{
37
29
  code: z.ZodNumber;
38
30
  message: z.ZodString;
39
31
  data: z.ZodOptional<z.ZodUnknown>;
40
- }, "strip", z.ZodTypeAny, {
41
- code: number;
42
- message: string;
43
- data?: unknown;
44
- }, {
45
- code: number;
46
- message: string;
47
- data?: unknown;
48
- }>;
32
+ }, z.core.$strip>;
49
33
  /**
50
34
  * Zod schema for validating IPC responses.
51
35
  */
@@ -56,32 +40,8 @@ export declare const IpcResponseSchema: z.ZodObject<{
56
40
  code: z.ZodNumber;
57
41
  message: z.ZodString;
58
42
  data: z.ZodOptional<z.ZodUnknown>;
59
- }, "strip", z.ZodTypeAny, {
60
- code: number;
61
- message: string;
62
- data?: unknown;
63
- }, {
64
- code: number;
65
- message: string;
66
- data?: unknown;
67
- }>>;
68
- }, "strip", z.ZodTypeAny, {
69
- id: string;
70
- result?: unknown;
71
- error?: {
72
- code: number;
73
- message: string;
74
- data?: unknown;
75
- } | undefined;
76
- }, {
77
- id: string;
78
- result?: unknown;
79
- error?: {
80
- code: number;
81
- message: string;
82
- data?: unknown;
83
- } | undefined;
84
- }>;
43
+ }, z.core.$strip>>;
44
+ }, z.core.$strip>;
85
45
  /**
86
46
  * An IPC response message.
87
47
  */
@@ -150,13 +110,7 @@ export type QueryOptions = {
150
110
  export declare const RegisterParamsSchema: z.ZodObject<{
151
111
  appId: z.ZodString;
152
112
  pid: z.ZodNumber;
153
- }, "strip", z.ZodTypeAny, {
154
- appId: string;
155
- pid: number;
156
- }, {
157
- appId: string;
158
- pid: number;
159
- }>;
113
+ }, z.core.$strip>;
160
114
  /**
161
115
  * Available IPC methods.
162
116
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gtkx/mcp",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "MCP server for AI-powered interaction with GTKX applications",
5
5
  "keywords": [
6
6
  "gtkx",
@@ -40,8 +40,8 @@
40
40
  "dist"
41
41
  ],
42
42
  "dependencies": {
43
- "@modelcontextprotocol/sdk": "^1.0.0",
44
- "zod": "^3.24.0"
43
+ "@modelcontextprotocol/sdk": "^1.25.1",
44
+ "zod": "^4.3.5"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "tsc -b && cp ../../README.md .",