@happyvertical/smrt-core 0.40.49 → 0.40.51
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/agents/generators.md +32 -0
- package/dist/generators/cli.d.ts +11 -3
- package/dist/generators/cli.d.ts.map +1 -1
- package/dist/generators/cli.js +54 -11
- package/dist/generators/cli.js.map +1 -1
- package/dist/generators/custom-action.d.ts +68 -0
- package/dist/generators/custom-action.d.ts.map +1 -0
- package/dist/generators/custom-action.js +128 -0
- package/dist/generators/custom-action.js.map +1 -0
- package/dist/generators/index.d.ts +1 -0
- package/dist/generators/index.d.ts.map +1 -1
- package/dist/generators/index.js +2 -1
- package/dist/generators/mcp-runtime-template.d.ts +11 -0
- package/dist/generators/mcp-runtime-template.d.ts.map +1 -1
- package/dist/generators/mcp-runtime-template.js +40 -12
- package/dist/generators/mcp-runtime-template.js.map +1 -1
- package/dist/generators/mcp.d.ts +6 -0
- package/dist/generators/mcp.d.ts.map +1 -1
- package/dist/generators/mcp.js +157 -67
- package/dist/generators/mcp.js.map +1 -1
- package/dist/generators/tool-schema.d.ts +3 -1
- package/dist/generators/tool-schema.d.ts.map +1 -1
- package/dist/generators/tool-schema.js +8 -17
- package/dist/generators/tool-schema.js.map +1 -1
- package/dist/generators.js +2 -1
- package/dist/index.js +2 -1
- package/dist/manifest/static-manifest.js +2 -2
- package/dist/manifest/static-manifest.js.map +1 -1
- package/dist/manifest/store.js +1 -1
- package/dist/manifest/test-manifest-stub.d.ts.map +1 -1
- package/dist/manifest/test-manifest-stub.js +405 -581
- package/dist/manifest/test-manifest-stub.js.map +1 -1
- package/dist/manifest.json +2 -2
- package/dist/scanner/manifest-generator.d.ts.map +1 -1
- package/dist/scanner/manifest-generator.js +10 -4
- package/dist/scanner/manifest-generator.js.map +1 -1
- package/dist/smrt-knowledge.json +6 -7
- package/dist/vite-plugin/api-client-entries.d.ts.map +1 -1
- package/dist/vite-plugin/api-client-entries.js +6 -7
- package/dist/vite-plugin/api-client-entries.js.map +1 -1
- package/dist/vite-plugin/index.d.ts +1 -1
- package/dist/vite-plugin/index.d.ts.map +1 -1
- package/dist/vite-plugin/index.js +2 -2
- package/dist/vite-plugin/index.js.map +1 -1
- package/dist/vite-plugin/sveltekit-generator.d.ts.map +1 -1
- package/dist/vite-plugin/sveltekit-generator.js +29 -5
- package/dist/vite-plugin/sveltekit-generator.js.map +1 -1
- package/dist/vite-plugin/web-collections.d.ts.map +1 -1
- package/dist/vite-plugin/web-collections.js +7 -1
- package/dist/vite-plugin/web-collections.js.map +1 -1
- package/dist/vite-plugin.js +2 -2
- package/package.json +4 -5
- package/dist/__tests__/fixtures/advisor-test-classes.d.ts +0 -37
- package/dist/__tests__/fixtures/advisor-test-classes.d.ts.map +0 -1
- package/dist/mcp-advisor/index.d.ts +0 -499
- package/dist/mcp-advisor/index.d.ts.map +0 -1
- package/dist/mcp-advisor/tools/add-ai-methods.d.ts +0 -6
- package/dist/mcp-advisor/tools/add-ai-methods.d.ts.map +0 -1
- package/dist/mcp-advisor/tools/configure-decorators.d.ts +0 -6
- package/dist/mcp-advisor/tools/configure-decorators.d.ts.map +0 -1
- package/dist/mcp-advisor/tools/generate-collection.d.ts +0 -6
- package/dist/mcp-advisor/tools/generate-collection.d.ts.map +0 -1
- package/dist/mcp-advisor/tools/generate-field-definitions.d.ts +0 -6
- package/dist/mcp-advisor/tools/generate-field-definitions.d.ts.map +0 -1
- package/dist/mcp-advisor/tools/generate-smrt-class.d.ts +0 -6
- package/dist/mcp-advisor/tools/generate-smrt-class.d.ts.map +0 -1
- package/dist/mcp-advisor/tools/get-object-config.d.ts +0 -6
- package/dist/mcp-advisor/tools/get-object-config.d.ts.map +0 -1
- package/dist/mcp-advisor/tools/get-object-schema.d.ts +0 -10
- package/dist/mcp-advisor/tools/get-object-schema.d.ts.map +0 -1
- package/dist/mcp-advisor/tools/list-registered-objects.d.ts +0 -9
- package/dist/mcp-advisor/tools/list-registered-objects.d.ts.map +0 -1
- package/dist/mcp-advisor/tools/preview-api-endpoints.d.ts +0 -10
- package/dist/mcp-advisor/tools/preview-api-endpoints.d.ts.map +0 -1
- package/dist/mcp-advisor/tools/preview-mcp-tools.d.ts +0 -9
- package/dist/mcp-advisor/tools/preview-mcp-tools.d.ts.map +0 -1
- package/dist/mcp-advisor/tools/validate-smrt-object.d.ts +0 -6
- package/dist/mcp-advisor/tools/validate-smrt-object.d.ts.map +0 -1
- package/dist/mcp-advisor/types.d.ts +0 -213
- package/dist/mcp-advisor/types.d.ts.map +0 -1
|
@@ -1,499 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
/**
|
|
3
|
-
* SMRT Framework Advisor MCP Server
|
|
4
|
-
*
|
|
5
|
-
* Development-time MCP server that acts as a SMRT framework expert.
|
|
6
|
-
* Provides AI-callable tools for code generation, validation, preview, and discovery.
|
|
7
|
-
*
|
|
8
|
-
* This server integrates with Claude Code to help developers write correct SMRT code.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* MCP tool definitions with JSON schemas
|
|
12
|
-
*
|
|
13
|
-
* Exported so tests can assert the advertised tool surface without spawning the
|
|
14
|
-
* stdio server.
|
|
15
|
-
*/
|
|
16
|
-
export declare const TOOLS: ({
|
|
17
|
-
name: string;
|
|
18
|
-
description: string;
|
|
19
|
-
inputSchema: {
|
|
20
|
-
type: string;
|
|
21
|
-
properties: {
|
|
22
|
-
className: {
|
|
23
|
-
type: string;
|
|
24
|
-
description: string;
|
|
25
|
-
};
|
|
26
|
-
properties: {
|
|
27
|
-
type: string;
|
|
28
|
-
description: string;
|
|
29
|
-
items: {
|
|
30
|
-
type: string;
|
|
31
|
-
properties: {
|
|
32
|
-
name: {
|
|
33
|
-
type: string;
|
|
34
|
-
description: string;
|
|
35
|
-
};
|
|
36
|
-
type: {
|
|
37
|
-
type: string;
|
|
38
|
-
enum: string[];
|
|
39
|
-
description: string;
|
|
40
|
-
};
|
|
41
|
-
required: {
|
|
42
|
-
type: string;
|
|
43
|
-
description: string;
|
|
44
|
-
};
|
|
45
|
-
description: {
|
|
46
|
-
type: string;
|
|
47
|
-
description: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
required: string[];
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
baseClass: {
|
|
54
|
-
type: string;
|
|
55
|
-
enum: string[];
|
|
56
|
-
description: string;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
includeApiConfig: {
|
|
60
|
-
type: string;
|
|
61
|
-
description: string;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
includeMcpConfig: {
|
|
65
|
-
type: string;
|
|
66
|
-
description: string;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
includeCliConfig: {
|
|
70
|
-
type: string;
|
|
71
|
-
description: string;
|
|
72
|
-
default: boolean;
|
|
73
|
-
};
|
|
74
|
-
methods?: undefined;
|
|
75
|
-
filePath?: undefined;
|
|
76
|
-
fields?: undefined;
|
|
77
|
-
collectionName?: undefined;
|
|
78
|
-
itemClassName?: undefined;
|
|
79
|
-
itemClassPath?: undefined;
|
|
80
|
-
includeCustomMethods?: undefined;
|
|
81
|
-
api?: undefined;
|
|
82
|
-
mcp?: undefined;
|
|
83
|
-
cli?: undefined;
|
|
84
|
-
hooks?: undefined;
|
|
85
|
-
strictMode?: undefined;
|
|
86
|
-
basePath?: undefined;
|
|
87
|
-
filter?: undefined;
|
|
88
|
-
format?: undefined;
|
|
89
|
-
};
|
|
90
|
-
required: string[];
|
|
91
|
-
};
|
|
92
|
-
} | {
|
|
93
|
-
name: string;
|
|
94
|
-
description: string;
|
|
95
|
-
inputSchema: {
|
|
96
|
-
type: string;
|
|
97
|
-
properties: {
|
|
98
|
-
className: {
|
|
99
|
-
type: string;
|
|
100
|
-
description: string;
|
|
101
|
-
};
|
|
102
|
-
methods: {
|
|
103
|
-
type: string;
|
|
104
|
-
description: string;
|
|
105
|
-
items: {
|
|
106
|
-
type: string;
|
|
107
|
-
enum: string[];
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
filePath: {
|
|
111
|
-
type: string;
|
|
112
|
-
description: string;
|
|
113
|
-
};
|
|
114
|
-
properties?: undefined;
|
|
115
|
-
baseClass?: undefined;
|
|
116
|
-
includeApiConfig?: undefined;
|
|
117
|
-
includeMcpConfig?: undefined;
|
|
118
|
-
includeCliConfig?: undefined;
|
|
119
|
-
fields?: undefined;
|
|
120
|
-
collectionName?: undefined;
|
|
121
|
-
itemClassName?: undefined;
|
|
122
|
-
itemClassPath?: undefined;
|
|
123
|
-
includeCustomMethods?: undefined;
|
|
124
|
-
api?: undefined;
|
|
125
|
-
mcp?: undefined;
|
|
126
|
-
cli?: undefined;
|
|
127
|
-
hooks?: undefined;
|
|
128
|
-
strictMode?: undefined;
|
|
129
|
-
basePath?: undefined;
|
|
130
|
-
filter?: undefined;
|
|
131
|
-
format?: undefined;
|
|
132
|
-
};
|
|
133
|
-
required: string[];
|
|
134
|
-
};
|
|
135
|
-
} | {
|
|
136
|
-
name: string;
|
|
137
|
-
description: string;
|
|
138
|
-
inputSchema: {
|
|
139
|
-
type: string;
|
|
140
|
-
properties: {
|
|
141
|
-
fields: {
|
|
142
|
-
type: string;
|
|
143
|
-
description: string;
|
|
144
|
-
items: {
|
|
145
|
-
type: string;
|
|
146
|
-
properties: {
|
|
147
|
-
name: {
|
|
148
|
-
type: string;
|
|
149
|
-
description: string;
|
|
150
|
-
};
|
|
151
|
-
type: {
|
|
152
|
-
type: string;
|
|
153
|
-
enum: string[];
|
|
154
|
-
description: string;
|
|
155
|
-
};
|
|
156
|
-
options: {
|
|
157
|
-
type: string;
|
|
158
|
-
description: string;
|
|
159
|
-
additionalProperties: boolean;
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
required: string[];
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
className?: undefined;
|
|
166
|
-
properties?: undefined;
|
|
167
|
-
baseClass?: undefined;
|
|
168
|
-
includeApiConfig?: undefined;
|
|
169
|
-
includeMcpConfig?: undefined;
|
|
170
|
-
includeCliConfig?: undefined;
|
|
171
|
-
methods?: undefined;
|
|
172
|
-
filePath?: undefined;
|
|
173
|
-
collectionName?: undefined;
|
|
174
|
-
itemClassName?: undefined;
|
|
175
|
-
itemClassPath?: undefined;
|
|
176
|
-
includeCustomMethods?: undefined;
|
|
177
|
-
api?: undefined;
|
|
178
|
-
mcp?: undefined;
|
|
179
|
-
cli?: undefined;
|
|
180
|
-
hooks?: undefined;
|
|
181
|
-
strictMode?: undefined;
|
|
182
|
-
basePath?: undefined;
|
|
183
|
-
filter?: undefined;
|
|
184
|
-
format?: undefined;
|
|
185
|
-
};
|
|
186
|
-
required: string[];
|
|
187
|
-
};
|
|
188
|
-
} | {
|
|
189
|
-
name: string;
|
|
190
|
-
description: string;
|
|
191
|
-
inputSchema: {
|
|
192
|
-
type: string;
|
|
193
|
-
properties: {
|
|
194
|
-
collectionName: {
|
|
195
|
-
type: string;
|
|
196
|
-
description: string;
|
|
197
|
-
};
|
|
198
|
-
itemClassName: {
|
|
199
|
-
type: string;
|
|
200
|
-
description: string;
|
|
201
|
-
};
|
|
202
|
-
itemClassPath: {
|
|
203
|
-
type: string;
|
|
204
|
-
description: string;
|
|
205
|
-
};
|
|
206
|
-
includeCustomMethods: {
|
|
207
|
-
type: string;
|
|
208
|
-
description: string;
|
|
209
|
-
default: boolean;
|
|
210
|
-
};
|
|
211
|
-
className?: undefined;
|
|
212
|
-
properties?: undefined;
|
|
213
|
-
baseClass?: undefined;
|
|
214
|
-
includeApiConfig?: undefined;
|
|
215
|
-
includeMcpConfig?: undefined;
|
|
216
|
-
includeCliConfig?: undefined;
|
|
217
|
-
methods?: undefined;
|
|
218
|
-
filePath?: undefined;
|
|
219
|
-
fields?: undefined;
|
|
220
|
-
api?: undefined;
|
|
221
|
-
mcp?: undefined;
|
|
222
|
-
cli?: undefined;
|
|
223
|
-
hooks?: undefined;
|
|
224
|
-
strictMode?: undefined;
|
|
225
|
-
basePath?: undefined;
|
|
226
|
-
filter?: undefined;
|
|
227
|
-
format?: undefined;
|
|
228
|
-
};
|
|
229
|
-
required: string[];
|
|
230
|
-
};
|
|
231
|
-
} | {
|
|
232
|
-
name: string;
|
|
233
|
-
description: string;
|
|
234
|
-
inputSchema: {
|
|
235
|
-
type: string;
|
|
236
|
-
properties: {
|
|
237
|
-
className: {
|
|
238
|
-
type: string;
|
|
239
|
-
description: string;
|
|
240
|
-
};
|
|
241
|
-
api: {
|
|
242
|
-
type: string;
|
|
243
|
-
description: string;
|
|
244
|
-
properties: {
|
|
245
|
-
include: {
|
|
246
|
-
type: string;
|
|
247
|
-
items: {
|
|
248
|
-
type: string;
|
|
249
|
-
};
|
|
250
|
-
description: string;
|
|
251
|
-
};
|
|
252
|
-
exclude: {
|
|
253
|
-
type: string;
|
|
254
|
-
items: {
|
|
255
|
-
type: string;
|
|
256
|
-
};
|
|
257
|
-
description: string;
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
mcp: {
|
|
262
|
-
type: string;
|
|
263
|
-
description: string;
|
|
264
|
-
properties: {
|
|
265
|
-
include: {
|
|
266
|
-
type: string;
|
|
267
|
-
items: {
|
|
268
|
-
type: string;
|
|
269
|
-
};
|
|
270
|
-
description: string;
|
|
271
|
-
};
|
|
272
|
-
exclude: {
|
|
273
|
-
type: string;
|
|
274
|
-
items: {
|
|
275
|
-
type: string;
|
|
276
|
-
};
|
|
277
|
-
description: string;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
cli: {
|
|
282
|
-
type: string;
|
|
283
|
-
description: string;
|
|
284
|
-
};
|
|
285
|
-
hooks: {
|
|
286
|
-
type: string;
|
|
287
|
-
description: string;
|
|
288
|
-
additionalProperties: {
|
|
289
|
-
type: string;
|
|
290
|
-
};
|
|
291
|
-
};
|
|
292
|
-
properties?: undefined;
|
|
293
|
-
baseClass?: undefined;
|
|
294
|
-
includeApiConfig?: undefined;
|
|
295
|
-
includeMcpConfig?: undefined;
|
|
296
|
-
includeCliConfig?: undefined;
|
|
297
|
-
methods?: undefined;
|
|
298
|
-
filePath?: undefined;
|
|
299
|
-
fields?: undefined;
|
|
300
|
-
collectionName?: undefined;
|
|
301
|
-
itemClassName?: undefined;
|
|
302
|
-
itemClassPath?: undefined;
|
|
303
|
-
includeCustomMethods?: undefined;
|
|
304
|
-
strictMode?: undefined;
|
|
305
|
-
basePath?: undefined;
|
|
306
|
-
filter?: undefined;
|
|
307
|
-
format?: undefined;
|
|
308
|
-
};
|
|
309
|
-
required: string[];
|
|
310
|
-
};
|
|
311
|
-
} | {
|
|
312
|
-
name: string;
|
|
313
|
-
description: string;
|
|
314
|
-
inputSchema: {
|
|
315
|
-
type: string;
|
|
316
|
-
properties: {
|
|
317
|
-
filePath: {
|
|
318
|
-
type: string;
|
|
319
|
-
description: string;
|
|
320
|
-
};
|
|
321
|
-
strictMode: {
|
|
322
|
-
type: string;
|
|
323
|
-
description: string;
|
|
324
|
-
default: boolean;
|
|
325
|
-
};
|
|
326
|
-
className?: undefined;
|
|
327
|
-
properties?: undefined;
|
|
328
|
-
baseClass?: undefined;
|
|
329
|
-
includeApiConfig?: undefined;
|
|
330
|
-
includeMcpConfig?: undefined;
|
|
331
|
-
includeCliConfig?: undefined;
|
|
332
|
-
methods?: undefined;
|
|
333
|
-
fields?: undefined;
|
|
334
|
-
collectionName?: undefined;
|
|
335
|
-
itemClassName?: undefined;
|
|
336
|
-
itemClassPath?: undefined;
|
|
337
|
-
includeCustomMethods?: undefined;
|
|
338
|
-
api?: undefined;
|
|
339
|
-
mcp?: undefined;
|
|
340
|
-
cli?: undefined;
|
|
341
|
-
hooks?: undefined;
|
|
342
|
-
basePath?: undefined;
|
|
343
|
-
filter?: undefined;
|
|
344
|
-
format?: undefined;
|
|
345
|
-
};
|
|
346
|
-
required: string[];
|
|
347
|
-
};
|
|
348
|
-
} | {
|
|
349
|
-
name: string;
|
|
350
|
-
description: string;
|
|
351
|
-
inputSchema: {
|
|
352
|
-
type: string;
|
|
353
|
-
properties: {
|
|
354
|
-
className: {
|
|
355
|
-
type: string;
|
|
356
|
-
description: string;
|
|
357
|
-
};
|
|
358
|
-
basePath: {
|
|
359
|
-
type: string;
|
|
360
|
-
description: string;
|
|
361
|
-
default: string;
|
|
362
|
-
};
|
|
363
|
-
properties?: undefined;
|
|
364
|
-
baseClass?: undefined;
|
|
365
|
-
includeApiConfig?: undefined;
|
|
366
|
-
includeMcpConfig?: undefined;
|
|
367
|
-
includeCliConfig?: undefined;
|
|
368
|
-
methods?: undefined;
|
|
369
|
-
filePath?: undefined;
|
|
370
|
-
fields?: undefined;
|
|
371
|
-
collectionName?: undefined;
|
|
372
|
-
itemClassName?: undefined;
|
|
373
|
-
itemClassPath?: undefined;
|
|
374
|
-
includeCustomMethods?: undefined;
|
|
375
|
-
api?: undefined;
|
|
376
|
-
mcp?: undefined;
|
|
377
|
-
cli?: undefined;
|
|
378
|
-
hooks?: undefined;
|
|
379
|
-
strictMode?: undefined;
|
|
380
|
-
filter?: undefined;
|
|
381
|
-
format?: undefined;
|
|
382
|
-
};
|
|
383
|
-
required: string[];
|
|
384
|
-
};
|
|
385
|
-
} | {
|
|
386
|
-
name: string;
|
|
387
|
-
description: string;
|
|
388
|
-
inputSchema: {
|
|
389
|
-
type: string;
|
|
390
|
-
properties: {
|
|
391
|
-
className: {
|
|
392
|
-
type: string;
|
|
393
|
-
description: string;
|
|
394
|
-
};
|
|
395
|
-
properties?: undefined;
|
|
396
|
-
baseClass?: undefined;
|
|
397
|
-
includeApiConfig?: undefined;
|
|
398
|
-
includeMcpConfig?: undefined;
|
|
399
|
-
includeCliConfig?: undefined;
|
|
400
|
-
methods?: undefined;
|
|
401
|
-
filePath?: undefined;
|
|
402
|
-
fields?: undefined;
|
|
403
|
-
collectionName?: undefined;
|
|
404
|
-
itemClassName?: undefined;
|
|
405
|
-
itemClassPath?: undefined;
|
|
406
|
-
includeCustomMethods?: undefined;
|
|
407
|
-
api?: undefined;
|
|
408
|
-
mcp?: undefined;
|
|
409
|
-
cli?: undefined;
|
|
410
|
-
hooks?: undefined;
|
|
411
|
-
strictMode?: undefined;
|
|
412
|
-
basePath?: undefined;
|
|
413
|
-
filter?: undefined;
|
|
414
|
-
format?: undefined;
|
|
415
|
-
};
|
|
416
|
-
required: string[];
|
|
417
|
-
};
|
|
418
|
-
} | {
|
|
419
|
-
name: string;
|
|
420
|
-
description: string;
|
|
421
|
-
inputSchema: {
|
|
422
|
-
type: string;
|
|
423
|
-
properties: {
|
|
424
|
-
filter: {
|
|
425
|
-
type: string;
|
|
426
|
-
enum: string[];
|
|
427
|
-
description: string;
|
|
428
|
-
default: string;
|
|
429
|
-
};
|
|
430
|
-
className?: undefined;
|
|
431
|
-
properties?: undefined;
|
|
432
|
-
baseClass?: undefined;
|
|
433
|
-
includeApiConfig?: undefined;
|
|
434
|
-
includeMcpConfig?: undefined;
|
|
435
|
-
includeCliConfig?: undefined;
|
|
436
|
-
methods?: undefined;
|
|
437
|
-
filePath?: undefined;
|
|
438
|
-
fields?: undefined;
|
|
439
|
-
collectionName?: undefined;
|
|
440
|
-
itemClassName?: undefined;
|
|
441
|
-
itemClassPath?: undefined;
|
|
442
|
-
includeCustomMethods?: undefined;
|
|
443
|
-
api?: undefined;
|
|
444
|
-
mcp?: undefined;
|
|
445
|
-
cli?: undefined;
|
|
446
|
-
hooks?: undefined;
|
|
447
|
-
strictMode?: undefined;
|
|
448
|
-
basePath?: undefined;
|
|
449
|
-
format?: undefined;
|
|
450
|
-
};
|
|
451
|
-
required?: undefined;
|
|
452
|
-
};
|
|
453
|
-
} | {
|
|
454
|
-
name: string;
|
|
455
|
-
description: string;
|
|
456
|
-
inputSchema: {
|
|
457
|
-
type: string;
|
|
458
|
-
properties: {
|
|
459
|
-
className: {
|
|
460
|
-
type: string;
|
|
461
|
-
description: string;
|
|
462
|
-
};
|
|
463
|
-
format: {
|
|
464
|
-
type: string;
|
|
465
|
-
enum: string[];
|
|
466
|
-
description: string;
|
|
467
|
-
default: string;
|
|
468
|
-
};
|
|
469
|
-
properties?: undefined;
|
|
470
|
-
baseClass?: undefined;
|
|
471
|
-
includeApiConfig?: undefined;
|
|
472
|
-
includeMcpConfig?: undefined;
|
|
473
|
-
includeCliConfig?: undefined;
|
|
474
|
-
methods?: undefined;
|
|
475
|
-
filePath?: undefined;
|
|
476
|
-
fields?: undefined;
|
|
477
|
-
collectionName?: undefined;
|
|
478
|
-
itemClassName?: undefined;
|
|
479
|
-
itemClassPath?: undefined;
|
|
480
|
-
includeCustomMethods?: undefined;
|
|
481
|
-
api?: undefined;
|
|
482
|
-
mcp?: undefined;
|
|
483
|
-
cli?: undefined;
|
|
484
|
-
hooks?: undefined;
|
|
485
|
-
strictMode?: undefined;
|
|
486
|
-
basePath?: undefined;
|
|
487
|
-
filter?: undefined;
|
|
488
|
-
};
|
|
489
|
-
required: string[];
|
|
490
|
-
};
|
|
491
|
-
})[];
|
|
492
|
-
/**
|
|
493
|
-
* Route tool calls to appropriate handler functions
|
|
494
|
-
*
|
|
495
|
-
* Exported so the routing switch can be unit-tested in-process (the stdio
|
|
496
|
-
* entrypoint guard below keeps importing this module side-effect free).
|
|
497
|
-
*/
|
|
498
|
-
export declare function handleToolCall(name: string, args: Record<string, unknown>): Promise<unknown>;
|
|
499
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mcp-advisor/index.ts"],"names":[],"mappings":";AACA;;;;;;;GAOG;AA2CH;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqUjB,CAAC;AAEF;;;;;GAKG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC5B,OAAO,CAAC,OAAO,CAAC,CA+BlB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-ai-methods.d.ts","sourceRoot":"","sources":["../../../src/mcp-advisor/tools/add-ai-methods.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEnE;;GAEG;AACH,wBAAsB,YAAY,CAChC,KAAK,EAAE,iBAAiB,GACvB,OAAO,CAAC,YAAY,CAAC,CA0CvB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ConfigureDecoratorsInput, ToolResponse } from '../types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Generate decorator configuration
|
|
4
|
-
*/
|
|
5
|
-
export declare function configureDecorators(input: ConfigureDecoratorsInput): Promise<ToolResponse>;
|
|
6
|
-
//# sourceMappingURL=configure-decorators.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configure-decorators.d.ts","sourceRoot":"","sources":["../../../src/mcp-advisor/tools/configure-decorators.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE1E;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,KAAK,EAAE,wBAAwB,GAC9B,OAAO,CAAC,YAAY,CAAC,CAuFvB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { GenerateCollectionInput, ToolResponse } from '../types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Generate a SmrtCollection subclass
|
|
4
|
-
*/
|
|
5
|
-
export declare function generateCollection(input: GenerateCollectionInput): Promise<ToolResponse>;
|
|
6
|
-
//# sourceMappingURL=generate-collection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-collection.d.ts","sourceRoot":"","sources":["../../../src/mcp-advisor/tools/generate-collection.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEzE;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,KAAK,EAAE,uBAAuB,GAC7B,OAAO,CAAC,YAAY,CAAC,CA6EvB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { GenerateFieldDefinitionsInput, ToolResponse } from '../types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Generate field definitions code using decorators
|
|
4
|
-
*/
|
|
5
|
-
export declare function generateFieldDefinitions(input: GenerateFieldDefinitionsInput): Promise<ToolResponse>;
|
|
6
|
-
//# sourceMappingURL=generate-field-definitions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-field-definitions.d.ts","sourceRoot":"","sources":["../../../src/mcp-advisor/tools/generate-field-definitions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE/E;;GAEG;AACH,wBAAsB,wBAAwB,CAC5C,KAAK,EAAE,6BAA6B,GACnC,OAAO,CAAC,YAAY,CAAC,CA2CvB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { GenerateSmrtClassInput, ToolResponse } from '../types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Generate a complete SMRT class definition
|
|
4
|
-
*/
|
|
5
|
-
export declare function generateSmrtClass(input: GenerateSmrtClassInput): Promise<ToolResponse>;
|
|
6
|
-
//# sourceMappingURL=generate-smrt-class.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-smrt-class.d.ts","sourceRoot":"","sources":["../../../src/mcp-advisor/tools/generate-smrt-class.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAExE;;GAEG;AACH,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,sBAAsB,GAC5B,OAAO,CAAC,YAAY,CAAC,CAkHvB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-object-config.d.ts","sourceRoot":"","sources":["../../../src/mcp-advisor/tools/get-object-config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEtE;;GAEG;AACH,wBAAsB,eAAe,CACnC,KAAK,EAAE,oBAAoB,GAC1B,OAAO,CAAC,YAAY,CAAC,CAuFvB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FieldDefinition, GetObjectSchemaInput } from '../types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Get object schema with field definitions
|
|
4
|
-
*/
|
|
5
|
-
export declare function getObjectSchema(input: GetObjectSchemaInput): Promise<{
|
|
6
|
-
className: string;
|
|
7
|
-
fields: FieldDefinition[];
|
|
8
|
-
format: string;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=get-object-schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-object-schema.d.ts","sourceRoot":"","sources":["../../../src/mcp-advisor/tools/get-object-schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAEzE;;GAEG;AACH,wBAAsB,eAAe,CACnC,KAAK,EAAE,oBAAoB,GAC1B,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,eAAe,EAAE,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAiD3E"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ListRegisteredObjectsInput, RegisteredObjectInfo } from '../types.js';
|
|
2
|
-
/**
|
|
3
|
-
* List registered objects with metadata
|
|
4
|
-
*/
|
|
5
|
-
export declare function listRegisteredObjects(input?: ListRegisteredObjectsInput): Promise<{
|
|
6
|
-
objects: RegisteredObjectInfo[];
|
|
7
|
-
total: number;
|
|
8
|
-
}>;
|
|
9
|
-
//# sourceMappingURL=list-registered-objects.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-registered-objects.d.ts","sourceRoot":"","sources":["../../../src/mcp-advisor/tools/list-registered-objects.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EACV,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAErB;;GAEG;AACH,wBAAsB,qBAAqB,CACzC,KAAK,GAAE,0BAA+B,GACrC,OAAO,CAAC;IAAE,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CA8D7D"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ApiEndpoint, PreviewApiEndpointsInput } from '../types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Preview API endpoints that would be generated for a class
|
|
4
|
-
*/
|
|
5
|
-
export declare function previewApiEndpoints(input: PreviewApiEndpointsInput): Promise<{
|
|
6
|
-
endpoints: ApiEndpoint[];
|
|
7
|
-
basePath: string;
|
|
8
|
-
markdown: string;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=preview-api-endpoints.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preview-api-endpoints.d.ts","sourceRoot":"","sources":["../../../src/mcp-advisor/tools/preview-api-endpoints.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAezE;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,KAAK,EAAE,wBAAwB,GAC9B,OAAO,CAAC;IAAE,SAAS,EAAE,WAAW,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,CAuO3E"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { McpToolDefinition, PreviewMcpToolsInput } from '../types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Preview MCP tools that would be generated for a class
|
|
4
|
-
*/
|
|
5
|
-
export declare function previewMcpTools(input: PreviewMcpToolsInput): Promise<{
|
|
6
|
-
tools: McpToolDefinition[];
|
|
7
|
-
className: string;
|
|
8
|
-
}>;
|
|
9
|
-
//# sourceMappingURL=preview-mcp-tools.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preview-mcp-tools.d.ts","sourceRoot":"","sources":["../../../src/mcp-advisor/tools/preview-mcp-tools.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAE3E;;GAEG;AACH,wBAAsB,eAAe,CACnC,KAAK,EAAE,oBAAoB,GAC1B,OAAO,CAAC;IAAE,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAsC5D"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ValidateSmrtObjectInput, ValidationResult } from '../types.js';
|
|
2
|
-
/**
|
|
3
|
-
* Validate a SMRT object file
|
|
4
|
-
*/
|
|
5
|
-
export declare function validateSmrtObject(input: ValidateSmrtObjectInput): Promise<ValidationResult>;
|
|
6
|
-
//# sourceMappingURL=validate-smrt-object.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-smrt-object.d.ts","sourceRoot":"","sources":["../../../src/mcp-advisor/tools/validate-smrt-object.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE7E;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,KAAK,EAAE,uBAAuB,GAC7B,OAAO,CAAC,gBAAgB,CAAC,CA6I3B"}
|