@tsed/cli 7.0.0-rc.1 → 7.0.0-rc.3

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.
@@ -4,8 +4,9 @@
4
4
  * - If the provided cwd does not exist: do not create anything; return an error suggesting to confirm creation and run init-project.
5
5
  */
6
6
  export declare const setWorkspaceTool: import("@tsed/cli-core").FactoryTokenProvider<{
7
- inputSchema: Record<string, import("zod").AnyZodObject> | undefined;
8
- outputSchema: Record<string, import("zod").AnyZodObject> | undefined;
7
+ name: string | undefined;
8
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
9
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
9
10
  handler(args: import("@tsed/schema").PropsToShape<{
10
11
  cwd: import("@tsed/schema").JsonSchema<string>;
11
12
  }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
@@ -110,10 +111,122 @@ export declare const setWorkspaceTool: import("@tsed/cli-core").FactoryTokenProv
110
111
  message: any;
111
112
  };
112
113
  }>;
114
+ description?: string | undefined;
113
115
  _meta?: Record<string, unknown> | undefined;
116
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
117
+ title?: string | undefined;
118
+ } | {
119
+ name: string | undefined;
120
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
121
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
122
+ handler(args: import("@tsed/schema").PropsToShape<{
123
+ cwd: import("@tsed/schema").JsonSchema<string>;
124
+ }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
125
+ [x: string]: unknown;
126
+ content: ({
127
+ type: "text";
128
+ text: string;
129
+ annotations?: {
130
+ audience?: ("user" | "assistant")[] | undefined;
131
+ priority?: number | undefined;
132
+ lastModified?: string | undefined;
133
+ } | undefined;
134
+ _meta?: {
135
+ [x: string]: unknown;
136
+ } | undefined;
137
+ } | {
138
+ type: "image";
139
+ data: string;
140
+ mimeType: string;
141
+ annotations?: {
142
+ audience?: ("user" | "assistant")[] | undefined;
143
+ priority?: number | undefined;
144
+ lastModified?: string | undefined;
145
+ } | undefined;
146
+ _meta?: {
147
+ [x: string]: unknown;
148
+ } | undefined;
149
+ } | {
150
+ type: "audio";
151
+ data: string;
152
+ mimeType: string;
153
+ annotations?: {
154
+ audience?: ("user" | "assistant")[] | undefined;
155
+ priority?: number | undefined;
156
+ lastModified?: string | undefined;
157
+ } | undefined;
158
+ _meta?: {
159
+ [x: string]: unknown;
160
+ } | undefined;
161
+ } | {
162
+ uri: string;
163
+ name: string;
164
+ type: "resource_link";
165
+ description?: string | undefined;
166
+ mimeType?: string | undefined;
167
+ annotations?: {
168
+ audience?: ("user" | "assistant")[] | undefined;
169
+ priority?: number | undefined;
170
+ lastModified?: string | undefined;
171
+ } | undefined;
172
+ _meta?: {
173
+ [x: string]: unknown;
174
+ } | undefined;
175
+ icons?: {
176
+ src: string;
177
+ mimeType?: string | undefined;
178
+ sizes?: string[] | undefined;
179
+ theme?: "light" | "dark" | undefined;
180
+ }[] | undefined;
181
+ title?: string | undefined;
182
+ } | {
183
+ type: "resource";
184
+ resource: {
185
+ uri: string;
186
+ text: string;
187
+ mimeType?: string | undefined;
188
+ _meta?: {
189
+ [x: string]: unknown;
190
+ } | undefined;
191
+ } | {
192
+ uri: string;
193
+ blob: string;
194
+ mimeType?: string | undefined;
195
+ _meta?: {
196
+ [x: string]: unknown;
197
+ } | undefined;
198
+ };
199
+ annotations?: {
200
+ audience?: ("user" | "assistant")[] | undefined;
201
+ priority?: number | undefined;
202
+ lastModified?: string | undefined;
203
+ } | undefined;
204
+ _meta?: {
205
+ [x: string]: unknown;
206
+ } | undefined;
207
+ })[];
208
+ _meta?: {
209
+ [x: string]: unknown;
210
+ progressToken?: string | number | undefined;
211
+ "io.modelcontextprotocol/related-task"?: {
212
+ taskId: string;
213
+ } | undefined;
214
+ } | undefined;
215
+ structuredContent?: {
216
+ [x: string]: unknown;
217
+ } | undefined;
218
+ isError?: boolean | undefined;
219
+ } | {
220
+ content: never[];
221
+ structuredContent: {
222
+ code: string;
223
+ message: any;
224
+ };
225
+ }>;
114
226
  description?: string | undefined;
115
- annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
227
+ _meta?: Record<string, unknown> | undefined;
228
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
116
229
  title?: string | undefined;
117
- token?: import("@tsed/cli-core").TokenProvider;
118
- name: string;
230
+ token: import("@tsed/cli-core").Type | import("@tsed/cli-core").AbstractType<any>;
231
+ propertyKey: string | symbol;
119
232
  }>;
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-rc.1",
4
+ "version": "7.0.0-rc.3",
5
5
  "type": "module",
6
6
  "main": "./lib/esm/index.js",
7
7
  "source": "./src/index.ts",
@@ -50,10 +50,10 @@
50
50
  "@swc-node/register": "^1.11.1",
51
51
  "@swc/core": "^1.15.7",
52
52
  "@swc/helpers": "^0.5.17",
53
- "@tsed/cli-core": "7.0.0-rc.1",
54
- "@tsed/cli-mcp": "7.0.0-rc.1",
55
- "@tsed/cli-prompts": "7.0.0-rc.1",
56
- "@tsed/cli-tasks": "7.0.0-rc.1",
53
+ "@tsed/cli-core": "7.0.0-rc.3",
54
+ "@tsed/cli-mcp": "7.0.0-rc.3",
55
+ "@tsed/cli-prompts": "7.0.0-rc.3",
56
+ "@tsed/cli-tasks": "7.0.0-rc.3",
57
57
  "@tsed/core": ">=8.21.0",
58
58
  "@tsed/di": ">=8.21.0",
59
59
  "@tsed/hooks": ">=8.21.0",
@@ -77,7 +77,7 @@
77
77
  "zod": "3.25.76"
78
78
  },
79
79
  "devDependencies": {
80
- "@tsed/typescript": "7.0.0-rc.1",
80
+ "@tsed/typescript": "7.0.0-rc.3",
81
81
  "@types/change-case": "^2.3.1",
82
82
  "@types/consolidate": "0.14.4",
83
83
  "cross-env": "7.0.3",