@tsed/cli 7.0.0-beta.5 → 7.0.0-beta.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.
@@ -0,0 +1 @@
1
+ export {};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import "@swc-node/register/esm-register";
2
+ import "./ts-mode.js";
@@ -1,4 +1,4 @@
1
- import { type InitOptions, PlatformType } from "../../../interfaces/index.js";
1
+ import { type InitOptions } from "../../../interfaces/index.js";
2
2
  export interface Feature {
3
3
  name: string;
4
4
  value?: any;
@@ -53,12 +53,6 @@ export declare enum FeatureType {
53
53
  PRETTIER = "linter:prettier"
54
54
  }
55
55
  export declare const FeaturesMap: Record<string, Feature>;
56
- export declare const FrameworksPrompt: {
57
- message: string;
58
- type: string;
59
- name: string;
60
- choices: PlatformType[];
61
- };
62
56
  export declare const FeaturesPrompt: (availableRuntimes: string[], availablePackageManagers: string[]) => ({
63
57
  type: string;
64
58
  name: string;
@@ -0,0 +1 @@
1
+ export declare const initOptionsResource: any;
@@ -1,2 +1,345 @@
1
- declare const _default: any[];
1
+ declare const _default: (import("@tsed/di").FactoryTokenProvider<{
2
+ inputSchema: Record<string, import("zod").AnyZodObject> | undefined;
3
+ outputSchema: Record<string, import("zod").AnyZodObject> | undefined;
4
+ handler(args: import("@tsed/schema").PropsToShape<{
5
+ id: import("@tsed/schema").JsonSchema<string>;
6
+ name: import("@tsed/schema").JsonSchema<string>;
7
+ properties: import("@tsed/schema").JsonSchema<(import("@tsed/schema").PropsToShape<Record<string, import("@tsed/schema").JsonSchema<any>>> & Record<string, unknown>) | undefined>;
8
+ }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
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
+ } | {
104
+ content: never[];
105
+ structuredContent: {
106
+ code: string;
107
+ message: any;
108
+ };
109
+ }>;
110
+ _meta?: Record<string, unknown> | undefined;
111
+ description?: string | undefined;
112
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
113
+ title?: string | undefined;
114
+ token?: import("@tsed/di").TokenProvider;
115
+ name: string;
116
+ }> | import("@tsed/di").FactoryTokenProvider<{
117
+ inputSchema: Record<string, import("zod").AnyZodObject> | undefined;
118
+ outputSchema: Record<string, import("zod").AnyZodObject> | undefined;
119
+ handler(args: import("@tsed/schema").PropsToShape<{
120
+ cwd: import("@tsed/schema").JsonSchema<string>;
121
+ }> & {
122
+ [x: string]: unknown;
123
+ }, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
124
+ [x: string]: unknown;
125
+ content: ({
126
+ type: "text";
127
+ text: 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
+ type: "image";
138
+ data: string;
139
+ mimeType: string;
140
+ annotations?: {
141
+ audience?: ("user" | "assistant")[] | undefined;
142
+ priority?: number | undefined;
143
+ lastModified?: string | undefined;
144
+ } | undefined;
145
+ _meta?: {
146
+ [x: string]: unknown;
147
+ } | undefined;
148
+ } | {
149
+ type: "audio";
150
+ data: string;
151
+ mimeType: string;
152
+ annotations?: {
153
+ audience?: ("user" | "assistant")[] | undefined;
154
+ priority?: number | undefined;
155
+ lastModified?: string | undefined;
156
+ } | undefined;
157
+ _meta?: {
158
+ [x: string]: unknown;
159
+ } | undefined;
160
+ } | {
161
+ uri: string;
162
+ name: string;
163
+ type: "resource_link";
164
+ description?: string | undefined;
165
+ mimeType?: string | undefined;
166
+ annotations?: {
167
+ audience?: ("user" | "assistant")[] | undefined;
168
+ priority?: number | undefined;
169
+ lastModified?: string | undefined;
170
+ } | undefined;
171
+ _meta?: {
172
+ [x: string]: unknown;
173
+ } | undefined;
174
+ icons?: {
175
+ src: string;
176
+ mimeType?: string | undefined;
177
+ sizes?: string[] | undefined;
178
+ theme?: "light" | "dark" | undefined;
179
+ }[] | undefined;
180
+ title?: string | undefined;
181
+ } | {
182
+ type: "resource";
183
+ resource: {
184
+ uri: string;
185
+ text: string;
186
+ mimeType?: string | undefined;
187
+ _meta?: {
188
+ [x: string]: unknown;
189
+ } | undefined;
190
+ } | {
191
+ uri: string;
192
+ blob: string;
193
+ mimeType?: string | undefined;
194
+ _meta?: {
195
+ [x: string]: unknown;
196
+ } | undefined;
197
+ };
198
+ annotations?: {
199
+ audience?: ("user" | "assistant")[] | undefined;
200
+ priority?: number | undefined;
201
+ lastModified?: string | undefined;
202
+ } | undefined;
203
+ _meta?: {
204
+ [x: string]: unknown;
205
+ } | undefined;
206
+ })[];
207
+ _meta?: {
208
+ [x: string]: unknown;
209
+ progressToken?: string | number | undefined;
210
+ "io.modelcontextprotocol/related-task"?: {
211
+ taskId: string;
212
+ } | undefined;
213
+ } | undefined;
214
+ structuredContent?: {
215
+ [x: string]: unknown;
216
+ } | undefined;
217
+ isError?: boolean | undefined;
218
+ } | {
219
+ content: never[];
220
+ structuredContent: {
221
+ code: string;
222
+ message: any;
223
+ };
224
+ }>;
225
+ _meta?: Record<string, unknown> | undefined;
226
+ description?: string | undefined;
227
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
228
+ title?: string | undefined;
229
+ token?: import("@tsed/di").TokenProvider;
230
+ name: string;
231
+ }> | import("@tsed/di").FactoryTokenProvider<{
232
+ inputSchema: Record<string, import("zod").AnyZodObject> | undefined;
233
+ outputSchema: Record<string, import("zod").AnyZodObject> | undefined;
234
+ handler(args: import("@tsed/schema").PropsToShape<{
235
+ search: import("@tsed/schema").JsonSchema<string>;
236
+ }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
237
+ [x: string]: unknown;
238
+ content: ({
239
+ type: "text";
240
+ text: string;
241
+ annotations?: {
242
+ audience?: ("user" | "assistant")[] | undefined;
243
+ priority?: number | undefined;
244
+ lastModified?: string | undefined;
245
+ } | undefined;
246
+ _meta?: {
247
+ [x: string]: unknown;
248
+ } | undefined;
249
+ } | {
250
+ type: "image";
251
+ data: string;
252
+ mimeType: string;
253
+ annotations?: {
254
+ audience?: ("user" | "assistant")[] | undefined;
255
+ priority?: number | undefined;
256
+ lastModified?: string | undefined;
257
+ } | undefined;
258
+ _meta?: {
259
+ [x: string]: unknown;
260
+ } | undefined;
261
+ } | {
262
+ type: "audio";
263
+ data: string;
264
+ mimeType: string;
265
+ annotations?: {
266
+ audience?: ("user" | "assistant")[] | undefined;
267
+ priority?: number | undefined;
268
+ lastModified?: string | undefined;
269
+ } | undefined;
270
+ _meta?: {
271
+ [x: string]: unknown;
272
+ } | undefined;
273
+ } | {
274
+ uri: string;
275
+ name: string;
276
+ type: "resource_link";
277
+ description?: string | undefined;
278
+ mimeType?: string | undefined;
279
+ annotations?: {
280
+ audience?: ("user" | "assistant")[] | undefined;
281
+ priority?: number | undefined;
282
+ lastModified?: string | undefined;
283
+ } | undefined;
284
+ _meta?: {
285
+ [x: string]: unknown;
286
+ } | undefined;
287
+ icons?: {
288
+ src: string;
289
+ mimeType?: string | undefined;
290
+ sizes?: string[] | undefined;
291
+ theme?: "light" | "dark" | undefined;
292
+ }[] | undefined;
293
+ title?: string | undefined;
294
+ } | {
295
+ type: "resource";
296
+ resource: {
297
+ uri: string;
298
+ text: string;
299
+ mimeType?: string | undefined;
300
+ _meta?: {
301
+ [x: string]: unknown;
302
+ } | undefined;
303
+ } | {
304
+ uri: string;
305
+ blob: string;
306
+ mimeType?: string | undefined;
307
+ _meta?: {
308
+ [x: string]: unknown;
309
+ } | undefined;
310
+ };
311
+ annotations?: {
312
+ audience?: ("user" | "assistant")[] | undefined;
313
+ priority?: number | undefined;
314
+ lastModified?: string | undefined;
315
+ } | undefined;
316
+ _meta?: {
317
+ [x: string]: unknown;
318
+ } | undefined;
319
+ })[];
320
+ _meta?: {
321
+ [x: string]: unknown;
322
+ progressToken?: string | number | undefined;
323
+ "io.modelcontextprotocol/related-task"?: {
324
+ taskId: string;
325
+ } | undefined;
326
+ } | undefined;
327
+ structuredContent?: {
328
+ [x: string]: unknown;
329
+ } | undefined;
330
+ isError?: boolean | undefined;
331
+ } | {
332
+ content: never[];
333
+ structuredContent: {
334
+ code: string;
335
+ message: any;
336
+ };
337
+ }>;
338
+ _meta?: Record<string, unknown> | undefined;
339
+ description?: string | undefined;
340
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
341
+ title?: string | undefined;
342
+ token?: import("@tsed/di").TokenProvider;
343
+ name: string;
344
+ }>)[];
2
345
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tsed/cli",
3
3
  "description": "CLI to bootstrap your Ts.ED project",
4
- "version": "7.0.0-beta.5",
4
+ "version": "7.0.0-beta.7",
5
5
  "type": "module",
6
6
  "main": "./lib/esm/index.js",
7
7
  "source": "./src/index.ts",
@@ -47,11 +47,11 @@
47
47
  "dependencies": {
48
48
  "@modelcontextprotocol/sdk": "^1.25.1",
49
49
  "@npmcli/run-script": "9.0.0",
50
- "@swc-node/register": "^1.10.9",
51
- "@swc/core": "1.7.26",
52
- "@swc/helpers": "^0.5.13",
53
- "@tsed/cli-core": "7.0.0-beta.5",
54
- "@tsed/cli-mcp": "7.0.0-beta.5",
50
+ "@swc-node/register": "^1.11.1",
51
+ "@swc/core": "^1.15.7",
52
+ "@swc/helpers": "^0.5.17",
53
+ "@tsed/cli-core": "7.0.0-beta.7",
54
+ "@tsed/cli-mcp": "7.0.0-beta.7",
55
55
  "@tsed/core": ">=8.21.0",
56
56
  "@tsed/di": ">=8.21.0",
57
57
  "@tsed/hooks": ">=8.21.0",
@@ -75,7 +75,7 @@
75
75
  "zod": "3.25.76"
76
76
  },
77
77
  "devDependencies": {
78
- "@tsed/typescript": "7.0.0-beta.5",
78
+ "@tsed/typescript": "7.0.0-beta.7",
79
79
  "@types/change-case": "^2.3.1",
80
80
  "@types/consolidate": "0.14.4",
81
81
  "cross-env": "7.0.3",