@likec4/language-server 1.46.4 → 1.47.0

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.
Files changed (48) hide show
  1. package/dist/LikeC4LanguageServices.d.ts +27 -21
  2. package/dist/LikeC4LanguageServices.js +24 -14
  3. package/dist/Rpc.js +7 -1
  4. package/dist/ast.d.ts +1 -1
  5. package/dist/browser.d.ts +0 -1
  6. package/dist/browser.js +0 -1
  7. package/dist/bundled.mjs +3769 -3597
  8. package/dist/filesystem/ChokidarWatcher.d.ts +3 -0
  9. package/dist/filesystem/ChokidarWatcher.js +67 -42
  10. package/dist/filesystem/LikeC4FileSystem.d.ts +1 -1
  11. package/dist/filesystem/LikeC4FileSystem.js +16 -6
  12. package/dist/generated/ast.d.ts +2 -2
  13. package/dist/generated/ast.js +1 -1
  14. package/dist/generated/grammar.js +1 -1
  15. package/dist/index.d.ts +0 -1
  16. package/dist/index.js +0 -1
  17. package/dist/lsp/CodeLensProvider.js +1 -1
  18. package/dist/lsp/CompletionProvider.d.ts +4 -2
  19. package/dist/lsp/CompletionProvider.js +41 -3
  20. package/dist/lsp/DocumentSymbolProvider.js +1 -1
  21. package/dist/lsp/SemanticTokenProvider.d.ts +8 -1
  22. package/dist/lsp/SemanticTokenProvider.js +52 -11
  23. package/dist/mcp/interfaces.d.ts +1 -1
  24. package/dist/mcp/interfaces.js +0 -1
  25. package/dist/mcp/server/StreamableLikeC4MCPServer.js +27 -51
  26. package/dist/mcp/tools/_common.d.ts +2 -2
  27. package/dist/mcp/tools/find-relationships.d.ts +195 -5
  28. package/dist/mcp/tools/list-projects.d.ts +191 -3
  29. package/dist/mcp/tools/open-view.d.ts +194 -4
  30. package/dist/mcp/tools/read-deployment.d.ts +194 -4
  31. package/dist/mcp/tools/read-element.d.ts +194 -4
  32. package/dist/mcp/tools/read-project-summary.d.ts +193 -3
  33. package/dist/mcp/tools/read-view.d.ts +194 -4
  34. package/dist/mcp/tools/search-element.d.ts +193 -3
  35. package/dist/model/model-builder.d.ts +4 -2
  36. package/dist/model/model-builder.js +56 -47
  37. package/dist/model/model-parser.d.ts +6 -6
  38. package/dist/model/parser/Base.js +58 -48
  39. package/dist/model/parser/GlobalsParser.d.ts +3 -3
  40. package/dist/model/parser/ViewsParser.js +2 -2
  41. package/dist/protocol.d.ts +5 -0
  42. package/dist/utils/elementRef.js +10 -4
  43. package/dist/validation/index.d.ts +1 -1
  44. package/dist/workspace/LangiumDocuments.d.ts +4 -0
  45. package/dist/workspace/LangiumDocuments.js +11 -5
  46. package/dist/workspace/ProjectsManager.d.ts +4 -0
  47. package/dist/workspace/ProjectsManager.js +89 -84
  48. package/package.json +16 -15
@@ -1,6 +1,194 @@
1
1
  import * as z from 'zod/v3';
2
2
  export declare const listProjects: (languageServices: import("../..").LikeC4LanguageServices) => [string, {
3
3
  inputSchema?: z.ZodRawShape;
4
- }, (args: {
5
- [x: string]: any;
6
- }, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>) => import("@modelcontextprotocol/sdk/types.js").CallToolResult | Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>];
4
+ }, (args: import("@modelcontextprotocol/sdk/server/zod-compat.js").ShapeOutput<z.ZodRawShape>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>) => {
5
+ [x: string]: unknown;
6
+ content: ({
7
+ type: "text";
8
+ text: string;
9
+ annotations?: {
10
+ audience?: ("user" | "assistant")[] | undefined;
11
+ priority?: number | undefined;
12
+ lastModified?: string | undefined;
13
+ } | undefined;
14
+ _meta?: {
15
+ [x: string]: unknown;
16
+ } | undefined;
17
+ } | {
18
+ type: "image";
19
+ data: string;
20
+ mimeType: string;
21
+ annotations?: {
22
+ audience?: ("user" | "assistant")[] | undefined;
23
+ priority?: number | undefined;
24
+ lastModified?: string | undefined;
25
+ } | undefined;
26
+ _meta?: {
27
+ [x: string]: unknown;
28
+ } | undefined;
29
+ } | {
30
+ type: "audio";
31
+ data: string;
32
+ mimeType: string;
33
+ annotations?: {
34
+ audience?: ("user" | "assistant")[] | undefined;
35
+ priority?: number | undefined;
36
+ lastModified?: string | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ } | {
42
+ uri: string;
43
+ name: string;
44
+ type: "resource_link";
45
+ description?: string | undefined;
46
+ mimeType?: string | undefined;
47
+ annotations?: {
48
+ audience?: ("user" | "assistant")[] | undefined;
49
+ priority?: number | undefined;
50
+ lastModified?: string | undefined;
51
+ } | undefined;
52
+ _meta?: {
53
+ [x: string]: unknown;
54
+ } | undefined;
55
+ icons?: {
56
+ src: string;
57
+ mimeType?: string | undefined;
58
+ sizes?: string[] | undefined;
59
+ theme?: "light" | "dark" | undefined;
60
+ }[] | undefined;
61
+ title?: string | undefined;
62
+ } | {
63
+ type: "resource";
64
+ resource: {
65
+ uri: string;
66
+ text: string;
67
+ mimeType?: string | undefined;
68
+ _meta?: {
69
+ [x: string]: unknown;
70
+ } | undefined;
71
+ } | {
72
+ uri: string;
73
+ blob: string;
74
+ mimeType?: string | undefined;
75
+ _meta?: {
76
+ [x: string]: unknown;
77
+ } | undefined;
78
+ };
79
+ annotations?: {
80
+ audience?: ("user" | "assistant")[] | undefined;
81
+ priority?: number | undefined;
82
+ lastModified?: string | undefined;
83
+ } | undefined;
84
+ _meta?: {
85
+ [x: string]: unknown;
86
+ } | undefined;
87
+ })[];
88
+ _meta?: {
89
+ [x: string]: unknown;
90
+ progressToken?: string | number | undefined;
91
+ "io.modelcontextprotocol/related-task"?: {
92
+ taskId: string;
93
+ } | undefined;
94
+ } | undefined;
95
+ structuredContent?: {
96
+ [x: string]: unknown;
97
+ } | undefined;
98
+ isError?: boolean | undefined;
99
+ } | Promise<{
100
+ [x: string]: unknown;
101
+ content: ({
102
+ type: "text";
103
+ text: string;
104
+ annotations?: {
105
+ audience?: ("user" | "assistant")[] | undefined;
106
+ priority?: number | undefined;
107
+ lastModified?: string | undefined;
108
+ } | undefined;
109
+ _meta?: {
110
+ [x: string]: unknown;
111
+ } | undefined;
112
+ } | {
113
+ type: "image";
114
+ data: string;
115
+ mimeType: string;
116
+ annotations?: {
117
+ audience?: ("user" | "assistant")[] | undefined;
118
+ priority?: number | undefined;
119
+ lastModified?: string | undefined;
120
+ } | undefined;
121
+ _meta?: {
122
+ [x: string]: unknown;
123
+ } | undefined;
124
+ } | {
125
+ type: "audio";
126
+ data: string;
127
+ mimeType: string;
128
+ annotations?: {
129
+ audience?: ("user" | "assistant")[] | undefined;
130
+ priority?: number | undefined;
131
+ lastModified?: string | undefined;
132
+ } | undefined;
133
+ _meta?: {
134
+ [x: string]: unknown;
135
+ } | undefined;
136
+ } | {
137
+ uri: string;
138
+ name: string;
139
+ type: "resource_link";
140
+ description?: string | undefined;
141
+ mimeType?: string | undefined;
142
+ annotations?: {
143
+ audience?: ("user" | "assistant")[] | undefined;
144
+ priority?: number | undefined;
145
+ lastModified?: string | undefined;
146
+ } | undefined;
147
+ _meta?: {
148
+ [x: string]: unknown;
149
+ } | undefined;
150
+ icons?: {
151
+ src: string;
152
+ mimeType?: string | undefined;
153
+ sizes?: string[] | undefined;
154
+ theme?: "light" | "dark" | undefined;
155
+ }[] | undefined;
156
+ title?: string | undefined;
157
+ } | {
158
+ type: "resource";
159
+ resource: {
160
+ uri: string;
161
+ text: string;
162
+ mimeType?: string | undefined;
163
+ _meta?: {
164
+ [x: string]: unknown;
165
+ } | undefined;
166
+ } | {
167
+ uri: string;
168
+ blob: string;
169
+ mimeType?: string | undefined;
170
+ _meta?: {
171
+ [x: string]: unknown;
172
+ } | undefined;
173
+ };
174
+ annotations?: {
175
+ audience?: ("user" | "assistant")[] | undefined;
176
+ priority?: number | undefined;
177
+ lastModified?: string | undefined;
178
+ } | undefined;
179
+ _meta?: {
180
+ [x: string]: unknown;
181
+ } | undefined;
182
+ })[];
183
+ _meta?: {
184
+ [x: string]: unknown;
185
+ progressToken?: string | number | undefined;
186
+ "io.modelcontextprotocol/related-task"?: {
187
+ taskId: string;
188
+ } | undefined;
189
+ } | undefined;
190
+ structuredContent?: {
191
+ [x: string]: unknown;
192
+ } | undefined;
193
+ isError?: boolean | undefined;
194
+ }>];
@@ -4,7 +4,197 @@ export declare const openView: (languageServices: import("../..").LikeC4Language
4
4
  viewId: z.ZodString;
5
5
  project: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, import("@likec4/core").ProjectId, string>>>;
6
6
  };
7
- }, (args: {
8
- project: string & import("type-fest/source/tagged").Tag<"ProjectID", never>;
9
- viewId: string;
10
- }, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>) => import("@modelcontextprotocol/sdk/types.js").CallToolResult | Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>];
7
+ }, (args: import("@modelcontextprotocol/sdk/server/zod-compat.js").ShapeOutput<{
8
+ viewId: z.ZodString;
9
+ project: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, import("@likec4/core").ProjectId, string>>>;
10
+ }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>) => {
11
+ [x: string]: unknown;
12
+ content: ({
13
+ type: "text";
14
+ text: string;
15
+ annotations?: {
16
+ audience?: ("user" | "assistant")[] | undefined;
17
+ priority?: number | undefined;
18
+ lastModified?: string | undefined;
19
+ } | undefined;
20
+ _meta?: {
21
+ [x: string]: unknown;
22
+ } | undefined;
23
+ } | {
24
+ type: "image";
25
+ data: string;
26
+ mimeType: string;
27
+ annotations?: {
28
+ audience?: ("user" | "assistant")[] | undefined;
29
+ priority?: number | undefined;
30
+ lastModified?: string | undefined;
31
+ } | undefined;
32
+ _meta?: {
33
+ [x: string]: unknown;
34
+ } | undefined;
35
+ } | {
36
+ type: "audio";
37
+ data: string;
38
+ mimeType: string;
39
+ annotations?: {
40
+ audience?: ("user" | "assistant")[] | undefined;
41
+ priority?: number | undefined;
42
+ lastModified?: string | undefined;
43
+ } | undefined;
44
+ _meta?: {
45
+ [x: string]: unknown;
46
+ } | undefined;
47
+ } | {
48
+ uri: string;
49
+ name: string;
50
+ type: "resource_link";
51
+ description?: string | undefined;
52
+ mimeType?: string | undefined;
53
+ annotations?: {
54
+ audience?: ("user" | "assistant")[] | undefined;
55
+ priority?: number | undefined;
56
+ lastModified?: string | undefined;
57
+ } | undefined;
58
+ _meta?: {
59
+ [x: string]: unknown;
60
+ } | undefined;
61
+ icons?: {
62
+ src: string;
63
+ mimeType?: string | undefined;
64
+ sizes?: string[] | undefined;
65
+ theme?: "light" | "dark" | undefined;
66
+ }[] | undefined;
67
+ title?: string | undefined;
68
+ } | {
69
+ type: "resource";
70
+ resource: {
71
+ uri: string;
72
+ text: string;
73
+ mimeType?: string | undefined;
74
+ _meta?: {
75
+ [x: string]: unknown;
76
+ } | undefined;
77
+ } | {
78
+ uri: string;
79
+ blob: string;
80
+ mimeType?: string | undefined;
81
+ _meta?: {
82
+ [x: string]: unknown;
83
+ } | undefined;
84
+ };
85
+ annotations?: {
86
+ audience?: ("user" | "assistant")[] | undefined;
87
+ priority?: number | undefined;
88
+ lastModified?: string | undefined;
89
+ } | undefined;
90
+ _meta?: {
91
+ [x: string]: unknown;
92
+ } | undefined;
93
+ })[];
94
+ _meta?: {
95
+ [x: string]: unknown;
96
+ progressToken?: string | number | undefined;
97
+ "io.modelcontextprotocol/related-task"?: {
98
+ taskId: string;
99
+ } | undefined;
100
+ } | undefined;
101
+ structuredContent?: {
102
+ [x: string]: unknown;
103
+ } | undefined;
104
+ isError?: boolean | undefined;
105
+ } | Promise<{
106
+ [x: string]: unknown;
107
+ content: ({
108
+ type: "text";
109
+ text: string;
110
+ annotations?: {
111
+ audience?: ("user" | "assistant")[] | undefined;
112
+ priority?: number | undefined;
113
+ lastModified?: string | undefined;
114
+ } | undefined;
115
+ _meta?: {
116
+ [x: string]: unknown;
117
+ } | undefined;
118
+ } | {
119
+ type: "image";
120
+ data: string;
121
+ mimeType: string;
122
+ annotations?: {
123
+ audience?: ("user" | "assistant")[] | undefined;
124
+ priority?: number | undefined;
125
+ lastModified?: string | undefined;
126
+ } | undefined;
127
+ _meta?: {
128
+ [x: string]: unknown;
129
+ } | undefined;
130
+ } | {
131
+ type: "audio";
132
+ data: string;
133
+ mimeType: string;
134
+ annotations?: {
135
+ audience?: ("user" | "assistant")[] | undefined;
136
+ priority?: number | undefined;
137
+ lastModified?: string | undefined;
138
+ } | undefined;
139
+ _meta?: {
140
+ [x: string]: unknown;
141
+ } | undefined;
142
+ } | {
143
+ uri: string;
144
+ name: string;
145
+ type: "resource_link";
146
+ description?: string | undefined;
147
+ mimeType?: string | undefined;
148
+ annotations?: {
149
+ audience?: ("user" | "assistant")[] | undefined;
150
+ priority?: number | undefined;
151
+ lastModified?: string | undefined;
152
+ } | undefined;
153
+ _meta?: {
154
+ [x: string]: unknown;
155
+ } | undefined;
156
+ icons?: {
157
+ src: string;
158
+ mimeType?: string | undefined;
159
+ sizes?: string[] | undefined;
160
+ theme?: "light" | "dark" | undefined;
161
+ }[] | undefined;
162
+ title?: string | undefined;
163
+ } | {
164
+ type: "resource";
165
+ resource: {
166
+ uri: string;
167
+ text: string;
168
+ mimeType?: string | undefined;
169
+ _meta?: {
170
+ [x: string]: unknown;
171
+ } | undefined;
172
+ } | {
173
+ uri: string;
174
+ blob: string;
175
+ mimeType?: string | undefined;
176
+ _meta?: {
177
+ [x: string]: unknown;
178
+ } | undefined;
179
+ };
180
+ annotations?: {
181
+ audience?: ("user" | "assistant")[] | undefined;
182
+ priority?: number | undefined;
183
+ lastModified?: string | undefined;
184
+ } | undefined;
185
+ _meta?: {
186
+ [x: string]: unknown;
187
+ } | undefined;
188
+ })[];
189
+ _meta?: {
190
+ [x: string]: unknown;
191
+ progressToken?: string | number | undefined;
192
+ "io.modelcontextprotocol/related-task"?: {
193
+ taskId: string;
194
+ } | undefined;
195
+ } | undefined;
196
+ structuredContent?: {
197
+ [x: string]: unknown;
198
+ } | undefined;
199
+ isError?: boolean | undefined;
200
+ }>];
@@ -4,7 +4,197 @@ export declare const readDeployment: (languageServices: import("../..").LikeC4La
4
4
  id: z.ZodString;
5
5
  project: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, import("@likec4/core").ProjectId, string>>>;
6
6
  };
7
- }, (args: {
8
- id: string;
9
- project: string & import("type-fest/source/tagged").Tag<"ProjectID", never>;
10
- }, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>) => import("@modelcontextprotocol/sdk/types.js").CallToolResult | Promise<import("@modelcontextprotocol/sdk/types.js").CallToolResult>];
7
+ }, (args: import("@modelcontextprotocol/sdk/server/zod-compat.js").ShapeOutput<{
8
+ id: z.ZodString;
9
+ project: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, import("@likec4/core").ProjectId, string>>>;
10
+ }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>) => {
11
+ [x: string]: unknown;
12
+ content: ({
13
+ type: "text";
14
+ text: string;
15
+ annotations?: {
16
+ audience?: ("user" | "assistant")[] | undefined;
17
+ priority?: number | undefined;
18
+ lastModified?: string | undefined;
19
+ } | undefined;
20
+ _meta?: {
21
+ [x: string]: unknown;
22
+ } | undefined;
23
+ } | {
24
+ type: "image";
25
+ data: string;
26
+ mimeType: string;
27
+ annotations?: {
28
+ audience?: ("user" | "assistant")[] | undefined;
29
+ priority?: number | undefined;
30
+ lastModified?: string | undefined;
31
+ } | undefined;
32
+ _meta?: {
33
+ [x: string]: unknown;
34
+ } | undefined;
35
+ } | {
36
+ type: "audio";
37
+ data: string;
38
+ mimeType: string;
39
+ annotations?: {
40
+ audience?: ("user" | "assistant")[] | undefined;
41
+ priority?: number | undefined;
42
+ lastModified?: string | undefined;
43
+ } | undefined;
44
+ _meta?: {
45
+ [x: string]: unknown;
46
+ } | undefined;
47
+ } | {
48
+ uri: string;
49
+ name: string;
50
+ type: "resource_link";
51
+ description?: string | undefined;
52
+ mimeType?: string | undefined;
53
+ annotations?: {
54
+ audience?: ("user" | "assistant")[] | undefined;
55
+ priority?: number | undefined;
56
+ lastModified?: string | undefined;
57
+ } | undefined;
58
+ _meta?: {
59
+ [x: string]: unknown;
60
+ } | undefined;
61
+ icons?: {
62
+ src: string;
63
+ mimeType?: string | undefined;
64
+ sizes?: string[] | undefined;
65
+ theme?: "light" | "dark" | undefined;
66
+ }[] | undefined;
67
+ title?: string | undefined;
68
+ } | {
69
+ type: "resource";
70
+ resource: {
71
+ uri: string;
72
+ text: string;
73
+ mimeType?: string | undefined;
74
+ _meta?: {
75
+ [x: string]: unknown;
76
+ } | undefined;
77
+ } | {
78
+ uri: string;
79
+ blob: string;
80
+ mimeType?: string | undefined;
81
+ _meta?: {
82
+ [x: string]: unknown;
83
+ } | undefined;
84
+ };
85
+ annotations?: {
86
+ audience?: ("user" | "assistant")[] | undefined;
87
+ priority?: number | undefined;
88
+ lastModified?: string | undefined;
89
+ } | undefined;
90
+ _meta?: {
91
+ [x: string]: unknown;
92
+ } | undefined;
93
+ })[];
94
+ _meta?: {
95
+ [x: string]: unknown;
96
+ progressToken?: string | number | undefined;
97
+ "io.modelcontextprotocol/related-task"?: {
98
+ taskId: string;
99
+ } | undefined;
100
+ } | undefined;
101
+ structuredContent?: {
102
+ [x: string]: unknown;
103
+ } | undefined;
104
+ isError?: boolean | undefined;
105
+ } | Promise<{
106
+ [x: string]: unknown;
107
+ content: ({
108
+ type: "text";
109
+ text: string;
110
+ annotations?: {
111
+ audience?: ("user" | "assistant")[] | undefined;
112
+ priority?: number | undefined;
113
+ lastModified?: string | undefined;
114
+ } | undefined;
115
+ _meta?: {
116
+ [x: string]: unknown;
117
+ } | undefined;
118
+ } | {
119
+ type: "image";
120
+ data: string;
121
+ mimeType: string;
122
+ annotations?: {
123
+ audience?: ("user" | "assistant")[] | undefined;
124
+ priority?: number | undefined;
125
+ lastModified?: string | undefined;
126
+ } | undefined;
127
+ _meta?: {
128
+ [x: string]: unknown;
129
+ } | undefined;
130
+ } | {
131
+ type: "audio";
132
+ data: string;
133
+ mimeType: string;
134
+ annotations?: {
135
+ audience?: ("user" | "assistant")[] | undefined;
136
+ priority?: number | undefined;
137
+ lastModified?: string | undefined;
138
+ } | undefined;
139
+ _meta?: {
140
+ [x: string]: unknown;
141
+ } | undefined;
142
+ } | {
143
+ uri: string;
144
+ name: string;
145
+ type: "resource_link";
146
+ description?: string | undefined;
147
+ mimeType?: string | undefined;
148
+ annotations?: {
149
+ audience?: ("user" | "assistant")[] | undefined;
150
+ priority?: number | undefined;
151
+ lastModified?: string | undefined;
152
+ } | undefined;
153
+ _meta?: {
154
+ [x: string]: unknown;
155
+ } | undefined;
156
+ icons?: {
157
+ src: string;
158
+ mimeType?: string | undefined;
159
+ sizes?: string[] | undefined;
160
+ theme?: "light" | "dark" | undefined;
161
+ }[] | undefined;
162
+ title?: string | undefined;
163
+ } | {
164
+ type: "resource";
165
+ resource: {
166
+ uri: string;
167
+ text: string;
168
+ mimeType?: string | undefined;
169
+ _meta?: {
170
+ [x: string]: unknown;
171
+ } | undefined;
172
+ } | {
173
+ uri: string;
174
+ blob: string;
175
+ mimeType?: string | undefined;
176
+ _meta?: {
177
+ [x: string]: unknown;
178
+ } | undefined;
179
+ };
180
+ annotations?: {
181
+ audience?: ("user" | "assistant")[] | undefined;
182
+ priority?: number | undefined;
183
+ lastModified?: string | undefined;
184
+ } | undefined;
185
+ _meta?: {
186
+ [x: string]: unknown;
187
+ } | undefined;
188
+ })[];
189
+ _meta?: {
190
+ [x: string]: unknown;
191
+ progressToken?: string | number | undefined;
192
+ "io.modelcontextprotocol/related-task"?: {
193
+ taskId: string;
194
+ } | undefined;
195
+ } | undefined;
196
+ structuredContent?: {
197
+ [x: string]: unknown;
198
+ } | undefined;
199
+ isError?: boolean | undefined;
200
+ }>];