@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
@@ -4,7 +4,197 @@ export declare const readElement: (languageServices: import("../..").LikeC4Langu
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
+ }>];
@@ -3,6 +3,196 @@ export declare const readProjectSummary: (languageServices: import("../..").Like
3
3
  inputSchema?: {
4
4
  project: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, import("@likec4/core").ProjectId, string>>>;
5
5
  };
6
- }, (args: {
7
- project: string & import("type-fest/source/tagged").Tag<"ProjectID", never>;
8
- }, 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>];
6
+ }, (args: import("@modelcontextprotocol/sdk/server/zod-compat.js").ShapeOutput<{
7
+ project: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, import("@likec4/core").ProjectId, string>>>;
8
+ }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>) => {
9
+ [x: string]: unknown;
10
+ content: ({
11
+ type: "text";
12
+ text: string;
13
+ annotations?: {
14
+ audience?: ("user" | "assistant")[] | undefined;
15
+ priority?: number | undefined;
16
+ lastModified?: string | undefined;
17
+ } | undefined;
18
+ _meta?: {
19
+ [x: string]: unknown;
20
+ } | undefined;
21
+ } | {
22
+ type: "image";
23
+ data: string;
24
+ mimeType: string;
25
+ annotations?: {
26
+ audience?: ("user" | "assistant")[] | undefined;
27
+ priority?: number | undefined;
28
+ lastModified?: string | undefined;
29
+ } | undefined;
30
+ _meta?: {
31
+ [x: string]: unknown;
32
+ } | undefined;
33
+ } | {
34
+ type: "audio";
35
+ data: string;
36
+ mimeType: string;
37
+ annotations?: {
38
+ audience?: ("user" | "assistant")[] | undefined;
39
+ priority?: number | undefined;
40
+ lastModified?: string | undefined;
41
+ } | undefined;
42
+ _meta?: {
43
+ [x: string]: unknown;
44
+ } | undefined;
45
+ } | {
46
+ uri: string;
47
+ name: string;
48
+ type: "resource_link";
49
+ description?: string | undefined;
50
+ mimeType?: string | undefined;
51
+ annotations?: {
52
+ audience?: ("user" | "assistant")[] | undefined;
53
+ priority?: number | undefined;
54
+ lastModified?: string | undefined;
55
+ } | undefined;
56
+ _meta?: {
57
+ [x: string]: unknown;
58
+ } | undefined;
59
+ icons?: {
60
+ src: string;
61
+ mimeType?: string | undefined;
62
+ sizes?: string[] | undefined;
63
+ theme?: "light" | "dark" | undefined;
64
+ }[] | undefined;
65
+ title?: string | undefined;
66
+ } | {
67
+ type: "resource";
68
+ resource: {
69
+ uri: string;
70
+ text: string;
71
+ mimeType?: string | undefined;
72
+ _meta?: {
73
+ [x: string]: unknown;
74
+ } | undefined;
75
+ } | {
76
+ uri: string;
77
+ blob: string;
78
+ mimeType?: string | undefined;
79
+ _meta?: {
80
+ [x: string]: unknown;
81
+ } | undefined;
82
+ };
83
+ annotations?: {
84
+ audience?: ("user" | "assistant")[] | undefined;
85
+ priority?: number | undefined;
86
+ lastModified?: string | undefined;
87
+ } | undefined;
88
+ _meta?: {
89
+ [x: string]: unknown;
90
+ } | undefined;
91
+ })[];
92
+ _meta?: {
93
+ [x: string]: unknown;
94
+ progressToken?: string | number | undefined;
95
+ "io.modelcontextprotocol/related-task"?: {
96
+ taskId: string;
97
+ } | undefined;
98
+ } | undefined;
99
+ structuredContent?: {
100
+ [x: string]: unknown;
101
+ } | undefined;
102
+ isError?: boolean | undefined;
103
+ } | Promise<{
104
+ [x: string]: unknown;
105
+ content: ({
106
+ type: "text";
107
+ text: string;
108
+ annotations?: {
109
+ audience?: ("user" | "assistant")[] | undefined;
110
+ priority?: number | undefined;
111
+ lastModified?: string | undefined;
112
+ } | undefined;
113
+ _meta?: {
114
+ [x: string]: unknown;
115
+ } | undefined;
116
+ } | {
117
+ type: "image";
118
+ data: string;
119
+ mimeType: string;
120
+ annotations?: {
121
+ audience?: ("user" | "assistant")[] | undefined;
122
+ priority?: number | undefined;
123
+ lastModified?: string | undefined;
124
+ } | undefined;
125
+ _meta?: {
126
+ [x: string]: unknown;
127
+ } | undefined;
128
+ } | {
129
+ type: "audio";
130
+ data: string;
131
+ mimeType: string;
132
+ annotations?: {
133
+ audience?: ("user" | "assistant")[] | undefined;
134
+ priority?: number | undefined;
135
+ lastModified?: string | undefined;
136
+ } | undefined;
137
+ _meta?: {
138
+ [x: string]: unknown;
139
+ } | undefined;
140
+ } | {
141
+ uri: string;
142
+ name: string;
143
+ type: "resource_link";
144
+ description?: string | undefined;
145
+ mimeType?: string | undefined;
146
+ annotations?: {
147
+ audience?: ("user" | "assistant")[] | undefined;
148
+ priority?: number | undefined;
149
+ lastModified?: string | undefined;
150
+ } | undefined;
151
+ _meta?: {
152
+ [x: string]: unknown;
153
+ } | undefined;
154
+ icons?: {
155
+ src: string;
156
+ mimeType?: string | undefined;
157
+ sizes?: string[] | undefined;
158
+ theme?: "light" | "dark" | undefined;
159
+ }[] | undefined;
160
+ title?: string | undefined;
161
+ } | {
162
+ type: "resource";
163
+ resource: {
164
+ uri: string;
165
+ text: string;
166
+ mimeType?: string | undefined;
167
+ _meta?: {
168
+ [x: string]: unknown;
169
+ } | undefined;
170
+ } | {
171
+ uri: string;
172
+ blob: string;
173
+ mimeType?: string | undefined;
174
+ _meta?: {
175
+ [x: string]: unknown;
176
+ } | undefined;
177
+ };
178
+ annotations?: {
179
+ audience?: ("user" | "assistant")[] | undefined;
180
+ priority?: number | undefined;
181
+ lastModified?: string | undefined;
182
+ } | undefined;
183
+ _meta?: {
184
+ [x: string]: unknown;
185
+ } | undefined;
186
+ })[];
187
+ _meta?: {
188
+ [x: string]: unknown;
189
+ progressToken?: string | number | undefined;
190
+ "io.modelcontextprotocol/related-task"?: {
191
+ taskId: string;
192
+ } | undefined;
193
+ } | undefined;
194
+ structuredContent?: {
195
+ [x: string]: unknown;
196
+ } | undefined;
197
+ isError?: boolean | undefined;
198
+ }>];
@@ -4,7 +4,197 @@ export declare const readView: (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
+ }>];