@node-in-layers/core-knowledge-mcp 1.15.5 → 1.15.7
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/config.d.ts +359 -43
- package/package.json +4 -3
package/config.d.ts
CHANGED
|
@@ -8,9 +8,8 @@ declare const _default: () => Promise<{
|
|
|
8
8
|
name: "@node-in-layers/mcp-server";
|
|
9
9
|
mcp: typeof import("@node-in-layers/mcp-server/mcp.js");
|
|
10
10
|
McpNamespace: "@node-in-layers/mcp-server";
|
|
11
|
+
isRequestCrossLayerProps: (props: any) => props is import("@node-in-layers/mcp-server").RequestCrossLayerProps;
|
|
11
12
|
isNilAnnotatedFunction: (fn: any) => fn is import("@node-in-layers/core").NilAnnotatedFunction<any, any>;
|
|
12
|
-
zodToJson: (schema: any) => Record<string, any>;
|
|
13
|
-
crossLayerPropsOpenApi: () => any;
|
|
14
13
|
createOpenApiForNonNilAnnotatedFunction: (name: string) => {
|
|
15
14
|
name: string;
|
|
16
15
|
input: {
|
|
@@ -29,82 +28,116 @@ declare const _default: () => Promise<{
|
|
|
29
28
|
additionalProperties: boolean;
|
|
30
29
|
};
|
|
31
30
|
};
|
|
32
|
-
nilAnnotatedFunctionToOpenApi: (name: string, fn: import("@node-in-layers/core").NilAnnotatedFunction<any, any>) => Readonly<{
|
|
33
|
-
name: string;
|
|
34
|
-
description?: string | undefined;
|
|
35
|
-
input: Record<string, import("functional-models/types.js").JsonAble>;
|
|
36
|
-
output: Record<string, import("functional-models/types.js").JsonAble>;
|
|
37
|
-
}>;
|
|
38
31
|
createMcpResponse: <T extends import("functional-models/types.js").JsonAble>(result: T, opts?: {
|
|
39
32
|
isError?: boolean | undefined;
|
|
40
33
|
} | undefined) => {
|
|
41
34
|
[x: string]: unknown;
|
|
42
35
|
content: ({
|
|
43
|
-
[x: string]: unknown;
|
|
44
36
|
type: "text";
|
|
45
37
|
text: string;
|
|
38
|
+
annotations?: {
|
|
39
|
+
audience?: import("zod/v4/core").$InferEnumOutput<{
|
|
40
|
+
user: "user";
|
|
41
|
+
assistant: "assistant";
|
|
42
|
+
}>[] | undefined;
|
|
43
|
+
priority?: number | undefined;
|
|
44
|
+
lastModified?: string | undefined;
|
|
45
|
+
} | undefined;
|
|
46
46
|
_meta?: {
|
|
47
47
|
[x: string]: unknown;
|
|
48
48
|
} | undefined;
|
|
49
49
|
} | {
|
|
50
|
-
[x: string]: unknown;
|
|
51
|
-
data: string;
|
|
52
50
|
type: "image";
|
|
51
|
+
data: string;
|
|
53
52
|
mimeType: string;
|
|
53
|
+
annotations?: {
|
|
54
|
+
audience?: import("zod/v4/core").$InferEnumOutput<{
|
|
55
|
+
user: "user";
|
|
56
|
+
assistant: "assistant";
|
|
57
|
+
}>[] | undefined;
|
|
58
|
+
priority?: number | undefined;
|
|
59
|
+
lastModified?: string | undefined;
|
|
60
|
+
} | undefined;
|
|
54
61
|
_meta?: {
|
|
55
62
|
[x: string]: unknown;
|
|
56
63
|
} | undefined;
|
|
57
64
|
} | {
|
|
58
|
-
[x: string]: unknown;
|
|
59
|
-
data: string;
|
|
60
65
|
type: "audio";
|
|
66
|
+
data: string;
|
|
61
67
|
mimeType: string;
|
|
68
|
+
annotations?: {
|
|
69
|
+
audience?: import("zod/v4/core").$InferEnumOutput<{
|
|
70
|
+
user: "user";
|
|
71
|
+
assistant: "assistant";
|
|
72
|
+
}>[] | undefined;
|
|
73
|
+
priority?: number | undefined;
|
|
74
|
+
lastModified?: string | undefined;
|
|
75
|
+
} | undefined;
|
|
62
76
|
_meta?: {
|
|
63
77
|
[x: string]: unknown;
|
|
64
78
|
} | undefined;
|
|
65
79
|
} | {
|
|
66
|
-
[x: string]: unknown;
|
|
67
|
-
type: "resource_link";
|
|
68
|
-
name: string;
|
|
69
80
|
uri: string;
|
|
81
|
+
name: string;
|
|
82
|
+
type: "resource_link";
|
|
83
|
+
description?: string | undefined;
|
|
84
|
+
mimeType?: string | undefined;
|
|
85
|
+
annotations?: {
|
|
86
|
+
audience?: import("zod/v4/core").$InferEnumOutput<{
|
|
87
|
+
user: "user";
|
|
88
|
+
assistant: "assistant";
|
|
89
|
+
}>[] | undefined;
|
|
90
|
+
priority?: number | undefined;
|
|
91
|
+
lastModified?: string | undefined;
|
|
92
|
+
} | undefined;
|
|
70
93
|
_meta?: {
|
|
71
94
|
[x: string]: unknown;
|
|
72
95
|
} | undefined;
|
|
73
|
-
title?: string | undefined;
|
|
74
|
-
description?: string | undefined;
|
|
75
|
-
mimeType?: string | undefined;
|
|
76
96
|
icons?: {
|
|
77
|
-
[x: string]: unknown;
|
|
78
97
|
src: string;
|
|
79
98
|
mimeType?: string | undefined;
|
|
80
99
|
sizes?: string[] | undefined;
|
|
100
|
+
theme?: import("zod/v4/core").$InferEnumOutput<{
|
|
101
|
+
light: "light";
|
|
102
|
+
dark: "dark";
|
|
103
|
+
}> | undefined;
|
|
81
104
|
}[] | undefined;
|
|
105
|
+
title?: string | undefined;
|
|
82
106
|
} | {
|
|
83
|
-
[x: string]: unknown;
|
|
84
107
|
type: "resource";
|
|
85
108
|
resource: {
|
|
86
|
-
[x: string]: unknown;
|
|
87
|
-
text: string;
|
|
88
109
|
uri: string;
|
|
110
|
+
text: string;
|
|
111
|
+
mimeType?: string | undefined;
|
|
89
112
|
_meta?: {
|
|
90
113
|
[x: string]: unknown;
|
|
91
114
|
} | undefined;
|
|
92
|
-
mimeType?: string | undefined;
|
|
93
115
|
} | {
|
|
94
|
-
[x: string]: unknown;
|
|
95
116
|
uri: string;
|
|
96
117
|
blob: string;
|
|
118
|
+
mimeType?: string | undefined;
|
|
97
119
|
_meta?: {
|
|
98
120
|
[x: string]: unknown;
|
|
99
121
|
} | undefined;
|
|
100
|
-
mimeType?: string | undefined;
|
|
101
122
|
};
|
|
123
|
+
annotations?: {
|
|
124
|
+
audience?: import("zod/v4/core").$InferEnumOutput<{
|
|
125
|
+
user: "user";
|
|
126
|
+
assistant: "assistant";
|
|
127
|
+
}>[] | undefined;
|
|
128
|
+
priority?: number | undefined;
|
|
129
|
+
lastModified?: string | undefined;
|
|
130
|
+
} | undefined;
|
|
102
131
|
_meta?: {
|
|
103
132
|
[x: string]: unknown;
|
|
104
133
|
} | undefined;
|
|
105
134
|
})[];
|
|
106
135
|
_meta?: {
|
|
107
136
|
[x: string]: unknown;
|
|
137
|
+
progressToken?: string | number | undefined;
|
|
138
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
139
|
+
taskId: string;
|
|
140
|
+
} | undefined;
|
|
108
141
|
} | undefined;
|
|
109
142
|
structuredContent?: {
|
|
110
143
|
[x: string]: unknown;
|
|
@@ -151,72 +184,339 @@ declare const _default: () => Promise<{
|
|
|
151
184
|
cause?: Readonly<any> | undefined;
|
|
152
185
|
}>;
|
|
153
186
|
}>;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
187
|
+
doesDomainNotExist: (context: any) => (domain: string) => boolean;
|
|
188
|
+
isDomainHidden: (hiddenPaths: Set<string>, config: Readonly<{
|
|
189
|
+
"@node-in-layers/mcp-server": {
|
|
190
|
+
version?: string | undefined;
|
|
191
|
+
stateful?: boolean | undefined;
|
|
192
|
+
server: {
|
|
193
|
+
connection: ({} & Readonly<{
|
|
194
|
+
type: "http";
|
|
195
|
+
url: string;
|
|
196
|
+
headers?: Readonly<Record<string, string>> | undefined;
|
|
197
|
+
timeout?: number | undefined;
|
|
198
|
+
retry?: Readonly<{
|
|
199
|
+
attempts: number;
|
|
200
|
+
backoff: number;
|
|
201
|
+
}> | undefined;
|
|
202
|
+
}>) | ({
|
|
203
|
+
url?: undefined;
|
|
204
|
+
headers?: undefined;
|
|
205
|
+
timeout?: undefined;
|
|
206
|
+
retry?: undefined;
|
|
207
|
+
} & Readonly<{
|
|
208
|
+
type: "cli";
|
|
209
|
+
}>);
|
|
210
|
+
};
|
|
211
|
+
startHere?: {
|
|
212
|
+
name?: string | undefined;
|
|
213
|
+
description?: string | undefined;
|
|
214
|
+
hideDefaultSystemEntries?: boolean | undefined;
|
|
215
|
+
includeDomains?: boolean | undefined;
|
|
216
|
+
includeFeatures?: boolean | undefined;
|
|
217
|
+
examplesOfUse?: readonly Readonly<{
|
|
218
|
+
name: string;
|
|
219
|
+
description?: string | undefined;
|
|
220
|
+
value?: string | undefined;
|
|
221
|
+
tags?: string[] | undefined;
|
|
222
|
+
details?: string | undefined;
|
|
223
|
+
example?: string | undefined;
|
|
224
|
+
}>[] | undefined;
|
|
225
|
+
} | undefined;
|
|
226
|
+
hiddenPaths?: string[] | undefined;
|
|
227
|
+
hideComponents?: {
|
|
228
|
+
paths?: readonly string[] | undefined;
|
|
229
|
+
domains?: string[] | undefined;
|
|
230
|
+
allModels?: boolean | undefined;
|
|
231
|
+
} | undefined;
|
|
232
|
+
systemDescription?: {
|
|
233
|
+
description?: string | undefined;
|
|
234
|
+
version?: string | undefined;
|
|
235
|
+
} | undefined;
|
|
236
|
+
logging?: {
|
|
237
|
+
requestLogLevel?: LogLevelNames | undefined;
|
|
238
|
+
responseLogLevel?: LogLevelNames | undefined;
|
|
239
|
+
requestLogGetData?: ((req: Request) => Record<string, any>) | undefined;
|
|
240
|
+
responseLogGetData?: ((req: Request) => Record<string, any>) | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
};
|
|
243
|
+
}>) => (domain: string) => boolean | undefined;
|
|
244
|
+
areAllModelsHidden: (hiddenPaths: Set<string>, config: Readonly<{
|
|
245
|
+
"@node-in-layers/mcp-server": {
|
|
246
|
+
version?: string | undefined;
|
|
247
|
+
stateful?: boolean | undefined;
|
|
248
|
+
server: {
|
|
249
|
+
connection: ({} & Readonly<{
|
|
250
|
+
type: "http";
|
|
251
|
+
url: string;
|
|
252
|
+
headers?: Readonly<Record<string, string>> | undefined;
|
|
253
|
+
timeout?: number | undefined;
|
|
254
|
+
retry?: Readonly<{
|
|
255
|
+
attempts: number;
|
|
256
|
+
backoff: number;
|
|
257
|
+
}> | undefined;
|
|
258
|
+
}>) | ({
|
|
259
|
+
url?: undefined;
|
|
260
|
+
headers?: undefined;
|
|
261
|
+
timeout?: undefined;
|
|
262
|
+
retry?: undefined;
|
|
263
|
+
} & Readonly<{
|
|
264
|
+
type: "cli";
|
|
265
|
+
}>);
|
|
266
|
+
};
|
|
267
|
+
startHere?: {
|
|
268
|
+
name?: string | undefined;
|
|
269
|
+
description?: string | undefined;
|
|
270
|
+
hideDefaultSystemEntries?: boolean | undefined;
|
|
271
|
+
includeDomains?: boolean | undefined;
|
|
272
|
+
includeFeatures?: boolean | undefined;
|
|
273
|
+
examplesOfUse?: readonly Readonly<{
|
|
274
|
+
name: string;
|
|
275
|
+
description?: string | undefined;
|
|
276
|
+
value?: string | undefined;
|
|
277
|
+
tags?: string[] | undefined;
|
|
278
|
+
details?: string | undefined;
|
|
279
|
+
example?: string | undefined;
|
|
280
|
+
}>[] | undefined;
|
|
281
|
+
} | undefined;
|
|
282
|
+
hiddenPaths?: string[] | undefined;
|
|
283
|
+
hideComponents?: {
|
|
284
|
+
paths?: readonly string[] | undefined;
|
|
285
|
+
domains?: string[] | undefined;
|
|
286
|
+
allModels?: boolean | undefined;
|
|
287
|
+
} | undefined;
|
|
288
|
+
systemDescription?: {
|
|
289
|
+
description?: string | undefined;
|
|
290
|
+
version?: string | undefined;
|
|
291
|
+
} | undefined;
|
|
292
|
+
logging?: {
|
|
293
|
+
requestLogLevel?: LogLevelNames | undefined;
|
|
294
|
+
responseLogLevel?: LogLevelNames | undefined;
|
|
295
|
+
requestLogGetData?: ((req: Request) => Record<string, any>) | undefined;
|
|
296
|
+
responseLogGetData?: ((req: Request) => Record<string, any>) | undefined;
|
|
297
|
+
} | undefined;
|
|
298
|
+
};
|
|
299
|
+
}>) => (domain: string) => boolean | undefined;
|
|
300
|
+
isFeatureHidden: (hiddenPaths: Set<string>, config: Readonly<{
|
|
301
|
+
"@node-in-layers/mcp-server": {
|
|
302
|
+
version?: string | undefined;
|
|
303
|
+
stateful?: boolean | undefined;
|
|
304
|
+
server: {
|
|
305
|
+
connection: ({} & Readonly<{
|
|
306
|
+
type: "http";
|
|
307
|
+
url: string;
|
|
308
|
+
headers?: Readonly<Record<string, string>> | undefined;
|
|
309
|
+
timeout?: number | undefined;
|
|
310
|
+
retry?: Readonly<{
|
|
311
|
+
attempts: number;
|
|
312
|
+
backoff: number;
|
|
313
|
+
}> | undefined;
|
|
314
|
+
}>) | ({
|
|
315
|
+
url?: undefined;
|
|
316
|
+
headers?: undefined;
|
|
317
|
+
timeout?: undefined;
|
|
318
|
+
retry?: undefined;
|
|
319
|
+
} & Readonly<{
|
|
320
|
+
type: "cli";
|
|
321
|
+
}>);
|
|
322
|
+
};
|
|
323
|
+
startHere?: {
|
|
324
|
+
name?: string | undefined;
|
|
325
|
+
description?: string | undefined;
|
|
326
|
+
hideDefaultSystemEntries?: boolean | undefined;
|
|
327
|
+
includeDomains?: boolean | undefined;
|
|
328
|
+
includeFeatures?: boolean | undefined;
|
|
329
|
+
examplesOfUse?: readonly Readonly<{
|
|
330
|
+
name: string;
|
|
331
|
+
description?: string | undefined;
|
|
332
|
+
value?: string | undefined;
|
|
333
|
+
tags?: string[] | undefined;
|
|
334
|
+
details?: string | undefined;
|
|
335
|
+
example?: string | undefined;
|
|
336
|
+
}>[] | undefined;
|
|
337
|
+
} | undefined;
|
|
338
|
+
hiddenPaths?: string[] | undefined;
|
|
339
|
+
hideComponents?: {
|
|
340
|
+
paths?: readonly string[] | undefined;
|
|
341
|
+
domains?: string[] | undefined;
|
|
342
|
+
allModels?: boolean | undefined;
|
|
343
|
+
} | undefined;
|
|
344
|
+
systemDescription?: {
|
|
345
|
+
description?: string | undefined;
|
|
346
|
+
version?: string | undefined;
|
|
347
|
+
} | undefined;
|
|
348
|
+
logging?: {
|
|
349
|
+
requestLogLevel?: LogLevelNames | undefined;
|
|
350
|
+
responseLogLevel?: LogLevelNames | undefined;
|
|
351
|
+
requestLogGetData?: ((req: Request) => Record<string, any>) | undefined;
|
|
352
|
+
responseLogGetData?: ((req: Request) => Record<string, any>) | undefined;
|
|
353
|
+
} | undefined;
|
|
354
|
+
};
|
|
355
|
+
}>) => (domain: string, featureName: string) => boolean | undefined;
|
|
356
|
+
isModelHidden: (hiddenPaths: Set<string>, config: Readonly<{
|
|
357
|
+
"@node-in-layers/mcp-server": {
|
|
358
|
+
version?: string | undefined;
|
|
359
|
+
stateful?: boolean | undefined;
|
|
360
|
+
server: {
|
|
361
|
+
connection: ({} & Readonly<{
|
|
362
|
+
type: "http";
|
|
363
|
+
url: string;
|
|
364
|
+
headers?: Readonly<Record<string, string>> | undefined;
|
|
365
|
+
timeout?: number | undefined;
|
|
366
|
+
retry?: Readonly<{
|
|
367
|
+
attempts: number;
|
|
368
|
+
backoff: number;
|
|
369
|
+
}> | undefined;
|
|
370
|
+
}>) | ({
|
|
371
|
+
url?: undefined;
|
|
372
|
+
headers?: undefined;
|
|
373
|
+
timeout?: undefined;
|
|
374
|
+
retry?: undefined;
|
|
375
|
+
} & Readonly<{
|
|
376
|
+
type: "cli";
|
|
377
|
+
}>);
|
|
378
|
+
};
|
|
379
|
+
startHere?: {
|
|
380
|
+
name?: string | undefined;
|
|
381
|
+
description?: string | undefined;
|
|
382
|
+
hideDefaultSystemEntries?: boolean | undefined;
|
|
383
|
+
includeDomains?: boolean | undefined;
|
|
384
|
+
includeFeatures?: boolean | undefined;
|
|
385
|
+
examplesOfUse?: readonly Readonly<{
|
|
386
|
+
name: string;
|
|
387
|
+
description?: string | undefined;
|
|
388
|
+
value?: string | undefined;
|
|
389
|
+
tags?: string[] | undefined;
|
|
390
|
+
details?: string | undefined;
|
|
391
|
+
example?: string | undefined;
|
|
392
|
+
}>[] | undefined;
|
|
393
|
+
} | undefined;
|
|
394
|
+
hiddenPaths?: string[] | undefined;
|
|
395
|
+
hideComponents?: {
|
|
396
|
+
paths?: readonly string[] | undefined;
|
|
397
|
+
domains?: string[] | undefined;
|
|
398
|
+
allModels?: boolean | undefined;
|
|
399
|
+
} | undefined;
|
|
400
|
+
systemDescription?: {
|
|
401
|
+
description?: string | undefined;
|
|
402
|
+
version?: string | undefined;
|
|
403
|
+
} | undefined;
|
|
404
|
+
logging?: {
|
|
405
|
+
requestLogLevel?: LogLevelNames | undefined;
|
|
406
|
+
responseLogLevel?: LogLevelNames | undefined;
|
|
407
|
+
requestLogGetData?: ((req: Request) => Record<string, any>) | undefined;
|
|
408
|
+
responseLogGetData?: ((req: Request) => Record<string, any>) | undefined;
|
|
409
|
+
} | undefined;
|
|
410
|
+
};
|
|
411
|
+
}>) => (domain: string, modelName: string) => boolean | undefined;
|
|
158
412
|
commonMcpExecute: (func: (...inputs: any[]) => Promise<any>) => (...inputs: any[]) => Promise<{
|
|
159
413
|
[x: string]: unknown;
|
|
160
414
|
content: ({
|
|
161
|
-
[x: string]: unknown;
|
|
162
415
|
type: "text";
|
|
163
416
|
text: string;
|
|
417
|
+
annotations?: {
|
|
418
|
+
audience?: import("zod/v4/core").$InferEnumOutput<{
|
|
419
|
+
user: "user";
|
|
420
|
+
assistant: "assistant";
|
|
421
|
+
}>[] | undefined;
|
|
422
|
+
priority?: number | undefined;
|
|
423
|
+
lastModified?: string | undefined;
|
|
424
|
+
} | undefined;
|
|
164
425
|
_meta?: {
|
|
165
426
|
[x: string]: unknown;
|
|
166
427
|
} | undefined;
|
|
167
428
|
} | {
|
|
168
|
-
[x: string]: unknown;
|
|
169
429
|
type: "image";
|
|
170
430
|
data: string;
|
|
171
431
|
mimeType: string;
|
|
432
|
+
annotations?: {
|
|
433
|
+
audience?: import("zod/v4/core").$InferEnumOutput<{
|
|
434
|
+
user: "user";
|
|
435
|
+
assistant: "assistant";
|
|
436
|
+
}>[] | undefined;
|
|
437
|
+
priority?: number | undefined;
|
|
438
|
+
lastModified?: string | undefined;
|
|
439
|
+
} | undefined;
|
|
172
440
|
_meta?: {
|
|
173
441
|
[x: string]: unknown;
|
|
174
442
|
} | undefined;
|
|
175
443
|
} | {
|
|
176
|
-
[x: string]: unknown;
|
|
177
444
|
type: "audio";
|
|
178
445
|
data: string;
|
|
179
446
|
mimeType: string;
|
|
447
|
+
annotations?: {
|
|
448
|
+
audience?: import("zod/v4/core").$InferEnumOutput<{
|
|
449
|
+
user: "user";
|
|
450
|
+
assistant: "assistant";
|
|
451
|
+
}>[] | undefined;
|
|
452
|
+
priority?: number | undefined;
|
|
453
|
+
lastModified?: string | undefined;
|
|
454
|
+
} | undefined;
|
|
180
455
|
_meta?: {
|
|
181
456
|
[x: string]: unknown;
|
|
182
457
|
} | undefined;
|
|
183
458
|
} | {
|
|
184
|
-
[x: string]: unknown;
|
|
185
|
-
type: "resource_link";
|
|
186
|
-
name: string;
|
|
187
459
|
uri: string;
|
|
460
|
+
name: string;
|
|
461
|
+
type: "resource_link";
|
|
188
462
|
description?: string | undefined;
|
|
463
|
+
mimeType?: string | undefined;
|
|
464
|
+
annotations?: {
|
|
465
|
+
audience?: import("zod/v4/core").$InferEnumOutput<{
|
|
466
|
+
user: "user";
|
|
467
|
+
assistant: "assistant";
|
|
468
|
+
}>[] | undefined;
|
|
469
|
+
priority?: number | undefined;
|
|
470
|
+
lastModified?: string | undefined;
|
|
471
|
+
} | undefined;
|
|
189
472
|
_meta?: {
|
|
190
473
|
[x: string]: unknown;
|
|
191
474
|
} | undefined;
|
|
192
|
-
|
|
475
|
+
icons?: {
|
|
476
|
+
src: string;
|
|
477
|
+
mimeType?: string | undefined;
|
|
478
|
+
sizes?: string[] | undefined;
|
|
479
|
+
theme?: import("zod/v4/core").$InferEnumOutput<{
|
|
480
|
+
light: "light";
|
|
481
|
+
dark: "dark";
|
|
482
|
+
}> | undefined;
|
|
483
|
+
}[] | undefined;
|
|
193
484
|
title?: string | undefined;
|
|
194
485
|
} | {
|
|
195
|
-
[x: string]: unknown;
|
|
196
486
|
type: "resource";
|
|
197
487
|
resource: {
|
|
198
|
-
[x: string]: unknown;
|
|
199
|
-
text: string;
|
|
200
488
|
uri: string;
|
|
489
|
+
text: string;
|
|
490
|
+
mimeType?: string | undefined;
|
|
201
491
|
_meta?: {
|
|
202
492
|
[x: string]: unknown;
|
|
203
493
|
} | undefined;
|
|
204
|
-
mimeType?: string | undefined;
|
|
205
494
|
} | {
|
|
206
|
-
[x: string]: unknown;
|
|
207
495
|
uri: string;
|
|
208
496
|
blob: string;
|
|
497
|
+
mimeType?: string | undefined;
|
|
209
498
|
_meta?: {
|
|
210
499
|
[x: string]: unknown;
|
|
211
500
|
} | undefined;
|
|
212
|
-
mimeType?: string | undefined;
|
|
213
501
|
};
|
|
502
|
+
annotations?: {
|
|
503
|
+
audience?: import("zod/v4/core").$InferEnumOutput<{
|
|
504
|
+
user: "user";
|
|
505
|
+
assistant: "assistant";
|
|
506
|
+
}>[] | undefined;
|
|
507
|
+
priority?: number | undefined;
|
|
508
|
+
lastModified?: string | undefined;
|
|
509
|
+
} | undefined;
|
|
214
510
|
_meta?: {
|
|
215
511
|
[x: string]: unknown;
|
|
216
512
|
} | undefined;
|
|
217
513
|
})[];
|
|
218
514
|
_meta?: {
|
|
219
515
|
[x: string]: unknown;
|
|
516
|
+
progressToken?: string | number | undefined;
|
|
517
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
518
|
+
taskId: string;
|
|
519
|
+
} | undefined;
|
|
220
520
|
} | undefined;
|
|
221
521
|
structuredContent?: {
|
|
222
522
|
[x: string]: unknown;
|
|
@@ -224,6 +524,22 @@ declare const _default: () => Promise<{
|
|
|
224
524
|
isError?: boolean | undefined;
|
|
225
525
|
}>;
|
|
226
526
|
cleanupSearchQuery: (query: any) => any;
|
|
527
|
+
buildRequestInfoFromExpressRequest: (req: express.Request) => Readonly<{
|
|
528
|
+
headers: Record<string, string>;
|
|
529
|
+
body: Record<string, any>;
|
|
530
|
+
query: Record<string, string>;
|
|
531
|
+
params: Record<string, string>;
|
|
532
|
+
path: string;
|
|
533
|
+
method: string;
|
|
534
|
+
url: string;
|
|
535
|
+
protocol: string;
|
|
536
|
+
}>;
|
|
537
|
+
nilAnnotatedFunctionToOpenApi: (name: string, fn: import("@node-in-layers/core").NilAnnotatedFunction<any, any>) => Readonly<{
|
|
538
|
+
name: string;
|
|
539
|
+
description?: string | undefined;
|
|
540
|
+
input: Record<string, import("functional-models/types.js").JsonAble>;
|
|
541
|
+
output: Record<string, import("functional-models/types.js").JsonAble>;
|
|
542
|
+
}>;
|
|
227
543
|
}, typeof import("./mcp/index.js"), typeof import("./knowledge/index.js")];
|
|
228
544
|
layerOrder: (string | string[])[];
|
|
229
545
|
logging: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-in-layers/core-knowledge-mcp",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.7",
|
|
4
4
|
"description": "A developer MCP server for working with systems using node-in-layers core.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -14,8 +14,9 @@
|
|
|
14
14
|
"nil-core-knowledge-mcp": "./bin/mcp_server.js"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@
|
|
18
|
-
"@node-in-layers/
|
|
17
|
+
"@l4t/mcp-ai": "^1.6.0",
|
|
18
|
+
"@node-in-layers/core": "1.15.7",
|
|
19
|
+
"@node-in-layers/mcp-server": "^2.5.6",
|
|
19
20
|
"argparse": "^2.0.1",
|
|
20
21
|
"es-main": "^1.4.0",
|
|
21
22
|
"lodash": "^4.17.21",
|