@tsed/cli 7.0.0-beta.4 → 7.0.0-beta.5
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/lib/esm/commands/init/config/InitSchema.js +1 -1
- package/lib/esm/commands/mcp/schema/InitMCPSchema.js +1 -1
- package/lib/esm/commands/mcp/tools/initProjectTool.js +0 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/types/commands/mcp/tools/generateTool.d.ts +39 -17
- package/lib/types/commands/mcp/tools/getTemplateTool.d.ts +39 -17
- package/lib/types/commands/mcp/tools/initProjectTool.d.ts +39 -17
- package/lib/types/commands/mcp/tools/listTemplatesTool.d.ts +39 -17
- package/lib/types/commands/mcp/tools/setWorkspaceTool.d.ts +39 -17
- package/package.json +7 -6
|
@@ -8,71 +8,93 @@ export declare const generateTool: import("@tsed/cli-core").FactoryTokenProvider
|
|
|
8
8
|
}>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
|
|
9
9
|
[x: string]: unknown;
|
|
10
10
|
content: ({
|
|
11
|
-
[x: string]: unknown;
|
|
12
11
|
type: "text";
|
|
13
12
|
text: string;
|
|
13
|
+
annotations?: {
|
|
14
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
15
|
+
priority?: number | undefined;
|
|
16
|
+
lastModified?: string | undefined;
|
|
17
|
+
} | undefined;
|
|
14
18
|
_meta?: {
|
|
15
19
|
[x: string]: unknown;
|
|
16
20
|
} | undefined;
|
|
17
21
|
} | {
|
|
18
|
-
[x: string]: unknown;
|
|
19
22
|
type: "image";
|
|
20
23
|
data: string;
|
|
21
24
|
mimeType: string;
|
|
25
|
+
annotations?: {
|
|
26
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
27
|
+
priority?: number | undefined;
|
|
28
|
+
lastModified?: string | undefined;
|
|
29
|
+
} | undefined;
|
|
22
30
|
_meta?: {
|
|
23
31
|
[x: string]: unknown;
|
|
24
32
|
} | undefined;
|
|
25
33
|
} | {
|
|
26
|
-
[x: string]: unknown;
|
|
27
34
|
type: "audio";
|
|
28
35
|
data: string;
|
|
29
36
|
mimeType: string;
|
|
37
|
+
annotations?: {
|
|
38
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
39
|
+
priority?: number | undefined;
|
|
40
|
+
lastModified?: string | undefined;
|
|
41
|
+
} | undefined;
|
|
30
42
|
_meta?: {
|
|
31
43
|
[x: string]: unknown;
|
|
32
44
|
} | undefined;
|
|
33
45
|
} | {
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
type: "resource_link";
|
|
36
|
-
name: string;
|
|
37
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;
|
|
38
56
|
_meta?: {
|
|
39
57
|
[x: string]: unknown;
|
|
40
58
|
} | undefined;
|
|
41
|
-
description?: string | undefined;
|
|
42
|
-
mimeType?: string | undefined;
|
|
43
|
-
title?: string | undefined;
|
|
44
59
|
icons?: {
|
|
45
|
-
[x: string]: unknown;
|
|
46
60
|
src: string;
|
|
47
61
|
mimeType?: string | undefined;
|
|
48
62
|
sizes?: string[] | undefined;
|
|
63
|
+
theme?: "light" | "dark" | undefined;
|
|
49
64
|
}[] | undefined;
|
|
65
|
+
title?: string | undefined;
|
|
50
66
|
} | {
|
|
51
|
-
[x: string]: unknown;
|
|
52
67
|
type: "resource";
|
|
53
68
|
resource: {
|
|
54
|
-
[x: string]: unknown;
|
|
55
|
-
text: string;
|
|
56
69
|
uri: string;
|
|
70
|
+
text: string;
|
|
71
|
+
mimeType?: string | undefined;
|
|
57
72
|
_meta?: {
|
|
58
73
|
[x: string]: unknown;
|
|
59
74
|
} | undefined;
|
|
60
|
-
mimeType?: string | undefined;
|
|
61
75
|
} | {
|
|
62
|
-
[x: string]: unknown;
|
|
63
76
|
uri: string;
|
|
64
77
|
blob: string;
|
|
78
|
+
mimeType?: string | undefined;
|
|
65
79
|
_meta?: {
|
|
66
80
|
[x: string]: unknown;
|
|
67
81
|
} | undefined;
|
|
68
|
-
mimeType?: string | undefined;
|
|
69
82
|
};
|
|
83
|
+
annotations?: {
|
|
84
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
85
|
+
priority?: number | undefined;
|
|
86
|
+
lastModified?: string | undefined;
|
|
87
|
+
} | undefined;
|
|
70
88
|
_meta?: {
|
|
71
89
|
[x: string]: unknown;
|
|
72
90
|
} | undefined;
|
|
73
91
|
})[];
|
|
74
92
|
_meta?: {
|
|
75
93
|
[x: string]: unknown;
|
|
94
|
+
progressToken?: string | number | undefined;
|
|
95
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
96
|
+
taskId: string;
|
|
97
|
+
} | undefined;
|
|
76
98
|
} | undefined;
|
|
77
99
|
structuredContent?: {
|
|
78
100
|
[x: string]: unknown;
|
|
@@ -87,8 +109,8 @@ export declare const generateTool: import("@tsed/cli-core").FactoryTokenProvider
|
|
|
87
109
|
}>;
|
|
88
110
|
_meta?: Record<string, unknown> | undefined;
|
|
89
111
|
description?: string | undefined;
|
|
90
|
-
title?: string | undefined;
|
|
91
112
|
annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
|
|
113
|
+
title?: string | undefined;
|
|
92
114
|
token?: import("@tsed/cli-core").TokenProvider;
|
|
93
115
|
name: string;
|
|
94
116
|
}>;
|
|
@@ -6,71 +6,93 @@ export declare const getTemplateTool: import("@tsed/di").FactoryTokenProvider<{
|
|
|
6
6
|
}>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
|
|
7
7
|
[x: string]: unknown;
|
|
8
8
|
content: ({
|
|
9
|
-
[x: string]: unknown;
|
|
10
9
|
type: "text";
|
|
11
10
|
text: string;
|
|
11
|
+
annotations?: {
|
|
12
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
13
|
+
priority?: number | undefined;
|
|
14
|
+
lastModified?: string | undefined;
|
|
15
|
+
} | undefined;
|
|
12
16
|
_meta?: {
|
|
13
17
|
[x: string]: unknown;
|
|
14
18
|
} | undefined;
|
|
15
19
|
} | {
|
|
16
|
-
[x: string]: unknown;
|
|
17
20
|
type: "image";
|
|
18
21
|
data: string;
|
|
19
22
|
mimeType: string;
|
|
23
|
+
annotations?: {
|
|
24
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
25
|
+
priority?: number | undefined;
|
|
26
|
+
lastModified?: string | undefined;
|
|
27
|
+
} | undefined;
|
|
20
28
|
_meta?: {
|
|
21
29
|
[x: string]: unknown;
|
|
22
30
|
} | undefined;
|
|
23
31
|
} | {
|
|
24
|
-
[x: string]: unknown;
|
|
25
32
|
type: "audio";
|
|
26
33
|
data: string;
|
|
27
34
|
mimeType: string;
|
|
35
|
+
annotations?: {
|
|
36
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
37
|
+
priority?: number | undefined;
|
|
38
|
+
lastModified?: string | undefined;
|
|
39
|
+
} | undefined;
|
|
28
40
|
_meta?: {
|
|
29
41
|
[x: string]: unknown;
|
|
30
42
|
} | undefined;
|
|
31
43
|
} | {
|
|
32
|
-
[x: string]: unknown;
|
|
33
|
-
type: "resource_link";
|
|
34
|
-
name: string;
|
|
35
44
|
uri: string;
|
|
45
|
+
name: string;
|
|
46
|
+
type: "resource_link";
|
|
47
|
+
description?: string | undefined;
|
|
48
|
+
mimeType?: string | undefined;
|
|
49
|
+
annotations?: {
|
|
50
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
51
|
+
priority?: number | undefined;
|
|
52
|
+
lastModified?: string | undefined;
|
|
53
|
+
} | undefined;
|
|
36
54
|
_meta?: {
|
|
37
55
|
[x: string]: unknown;
|
|
38
56
|
} | undefined;
|
|
39
|
-
description?: string | undefined;
|
|
40
|
-
mimeType?: string | undefined;
|
|
41
|
-
title?: string | undefined;
|
|
42
57
|
icons?: {
|
|
43
|
-
[x: string]: unknown;
|
|
44
58
|
src: string;
|
|
45
59
|
mimeType?: string | undefined;
|
|
46
60
|
sizes?: string[] | undefined;
|
|
61
|
+
theme?: "light" | "dark" | undefined;
|
|
47
62
|
}[] | undefined;
|
|
63
|
+
title?: string | undefined;
|
|
48
64
|
} | {
|
|
49
|
-
[x: string]: unknown;
|
|
50
65
|
type: "resource";
|
|
51
66
|
resource: {
|
|
52
|
-
[x: string]: unknown;
|
|
53
|
-
text: string;
|
|
54
67
|
uri: string;
|
|
68
|
+
text: string;
|
|
69
|
+
mimeType?: string | undefined;
|
|
55
70
|
_meta?: {
|
|
56
71
|
[x: string]: unknown;
|
|
57
72
|
} | undefined;
|
|
58
|
-
mimeType?: string | undefined;
|
|
59
73
|
} | {
|
|
60
|
-
[x: string]: unknown;
|
|
61
74
|
uri: string;
|
|
62
75
|
blob: string;
|
|
76
|
+
mimeType?: string | undefined;
|
|
63
77
|
_meta?: {
|
|
64
78
|
[x: string]: unknown;
|
|
65
79
|
} | undefined;
|
|
66
|
-
mimeType?: string | undefined;
|
|
67
80
|
};
|
|
81
|
+
annotations?: {
|
|
82
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
83
|
+
priority?: number | undefined;
|
|
84
|
+
lastModified?: string | undefined;
|
|
85
|
+
} | undefined;
|
|
68
86
|
_meta?: {
|
|
69
87
|
[x: string]: unknown;
|
|
70
88
|
} | undefined;
|
|
71
89
|
})[];
|
|
72
90
|
_meta?: {
|
|
73
91
|
[x: string]: unknown;
|
|
92
|
+
progressToken?: string | number | undefined;
|
|
93
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
94
|
+
taskId: string;
|
|
95
|
+
} | undefined;
|
|
74
96
|
} | undefined;
|
|
75
97
|
structuredContent?: {
|
|
76
98
|
[x: string]: unknown;
|
|
@@ -85,8 +107,8 @@ export declare const getTemplateTool: import("@tsed/di").FactoryTokenProvider<{
|
|
|
85
107
|
}>;
|
|
86
108
|
_meta?: Record<string, unknown> | undefined;
|
|
87
109
|
description?: string | undefined;
|
|
88
|
-
title?: string | undefined;
|
|
89
110
|
annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
|
|
111
|
+
title?: string | undefined;
|
|
90
112
|
token?: import("@tsed/di").TokenProvider;
|
|
91
113
|
name: string;
|
|
92
114
|
}>;
|
|
@@ -8,71 +8,93 @@ export declare const initProjectTool: import("@tsed/cli-core").FactoryTokenProvi
|
|
|
8
8
|
}, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
|
|
9
9
|
[x: string]: unknown;
|
|
10
10
|
content: ({
|
|
11
|
-
[x: string]: unknown;
|
|
12
11
|
type: "text";
|
|
13
12
|
text: string;
|
|
13
|
+
annotations?: {
|
|
14
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
15
|
+
priority?: number | undefined;
|
|
16
|
+
lastModified?: string | undefined;
|
|
17
|
+
} | undefined;
|
|
14
18
|
_meta?: {
|
|
15
19
|
[x: string]: unknown;
|
|
16
20
|
} | undefined;
|
|
17
21
|
} | {
|
|
18
|
-
[x: string]: unknown;
|
|
19
22
|
type: "image";
|
|
20
23
|
data: string;
|
|
21
24
|
mimeType: string;
|
|
25
|
+
annotations?: {
|
|
26
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
27
|
+
priority?: number | undefined;
|
|
28
|
+
lastModified?: string | undefined;
|
|
29
|
+
} | undefined;
|
|
22
30
|
_meta?: {
|
|
23
31
|
[x: string]: unknown;
|
|
24
32
|
} | undefined;
|
|
25
33
|
} | {
|
|
26
|
-
[x: string]: unknown;
|
|
27
34
|
type: "audio";
|
|
28
35
|
data: string;
|
|
29
36
|
mimeType: string;
|
|
37
|
+
annotations?: {
|
|
38
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
39
|
+
priority?: number | undefined;
|
|
40
|
+
lastModified?: string | undefined;
|
|
41
|
+
} | undefined;
|
|
30
42
|
_meta?: {
|
|
31
43
|
[x: string]: unknown;
|
|
32
44
|
} | undefined;
|
|
33
45
|
} | {
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
type: "resource_link";
|
|
36
|
-
name: string;
|
|
37
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;
|
|
38
56
|
_meta?: {
|
|
39
57
|
[x: string]: unknown;
|
|
40
58
|
} | undefined;
|
|
41
|
-
description?: string | undefined;
|
|
42
|
-
mimeType?: string | undefined;
|
|
43
|
-
title?: string | undefined;
|
|
44
59
|
icons?: {
|
|
45
|
-
[x: string]: unknown;
|
|
46
60
|
src: string;
|
|
47
61
|
mimeType?: string | undefined;
|
|
48
62
|
sizes?: string[] | undefined;
|
|
63
|
+
theme?: "light" | "dark" | undefined;
|
|
49
64
|
}[] | undefined;
|
|
65
|
+
title?: string | undefined;
|
|
50
66
|
} | {
|
|
51
|
-
[x: string]: unknown;
|
|
52
67
|
type: "resource";
|
|
53
68
|
resource: {
|
|
54
|
-
[x: string]: unknown;
|
|
55
|
-
text: string;
|
|
56
69
|
uri: string;
|
|
70
|
+
text: string;
|
|
71
|
+
mimeType?: string | undefined;
|
|
57
72
|
_meta?: {
|
|
58
73
|
[x: string]: unknown;
|
|
59
74
|
} | undefined;
|
|
60
|
-
mimeType?: string | undefined;
|
|
61
75
|
} | {
|
|
62
|
-
[x: string]: unknown;
|
|
63
76
|
uri: string;
|
|
64
77
|
blob: string;
|
|
78
|
+
mimeType?: string | undefined;
|
|
65
79
|
_meta?: {
|
|
66
80
|
[x: string]: unknown;
|
|
67
81
|
} | undefined;
|
|
68
|
-
mimeType?: string | undefined;
|
|
69
82
|
};
|
|
83
|
+
annotations?: {
|
|
84
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
85
|
+
priority?: number | undefined;
|
|
86
|
+
lastModified?: string | undefined;
|
|
87
|
+
} | undefined;
|
|
70
88
|
_meta?: {
|
|
71
89
|
[x: string]: unknown;
|
|
72
90
|
} | undefined;
|
|
73
91
|
})[];
|
|
74
92
|
_meta?: {
|
|
75
93
|
[x: string]: unknown;
|
|
94
|
+
progressToken?: string | number | undefined;
|
|
95
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
96
|
+
taskId: string;
|
|
97
|
+
} | undefined;
|
|
76
98
|
} | undefined;
|
|
77
99
|
structuredContent?: {
|
|
78
100
|
[x: string]: unknown;
|
|
@@ -87,8 +109,8 @@ export declare const initProjectTool: import("@tsed/cli-core").FactoryTokenProvi
|
|
|
87
109
|
}>;
|
|
88
110
|
_meta?: Record<string, unknown> | undefined;
|
|
89
111
|
description?: string | undefined;
|
|
90
|
-
title?: string | undefined;
|
|
91
112
|
annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
|
|
113
|
+
title?: string | undefined;
|
|
92
114
|
token?: import("@tsed/cli-core").TokenProvider;
|
|
93
115
|
name: string;
|
|
94
116
|
}>;
|
|
@@ -6,71 +6,93 @@ export declare const listTemplatesTool: import("@tsed/di").FactoryTokenProvider<
|
|
|
6
6
|
}>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
|
|
7
7
|
[x: string]: unknown;
|
|
8
8
|
content: ({
|
|
9
|
-
[x: string]: unknown;
|
|
10
9
|
type: "text";
|
|
11
10
|
text: string;
|
|
11
|
+
annotations?: {
|
|
12
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
13
|
+
priority?: number | undefined;
|
|
14
|
+
lastModified?: string | undefined;
|
|
15
|
+
} | undefined;
|
|
12
16
|
_meta?: {
|
|
13
17
|
[x: string]: unknown;
|
|
14
18
|
} | undefined;
|
|
15
19
|
} | {
|
|
16
|
-
[x: string]: unknown;
|
|
17
20
|
type: "image";
|
|
18
21
|
data: string;
|
|
19
22
|
mimeType: string;
|
|
23
|
+
annotations?: {
|
|
24
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
25
|
+
priority?: number | undefined;
|
|
26
|
+
lastModified?: string | undefined;
|
|
27
|
+
} | undefined;
|
|
20
28
|
_meta?: {
|
|
21
29
|
[x: string]: unknown;
|
|
22
30
|
} | undefined;
|
|
23
31
|
} | {
|
|
24
|
-
[x: string]: unknown;
|
|
25
32
|
type: "audio";
|
|
26
33
|
data: string;
|
|
27
34
|
mimeType: string;
|
|
35
|
+
annotations?: {
|
|
36
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
37
|
+
priority?: number | undefined;
|
|
38
|
+
lastModified?: string | undefined;
|
|
39
|
+
} | undefined;
|
|
28
40
|
_meta?: {
|
|
29
41
|
[x: string]: unknown;
|
|
30
42
|
} | undefined;
|
|
31
43
|
} | {
|
|
32
|
-
[x: string]: unknown;
|
|
33
|
-
type: "resource_link";
|
|
34
|
-
name: string;
|
|
35
44
|
uri: string;
|
|
45
|
+
name: string;
|
|
46
|
+
type: "resource_link";
|
|
47
|
+
description?: string | undefined;
|
|
48
|
+
mimeType?: string | undefined;
|
|
49
|
+
annotations?: {
|
|
50
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
51
|
+
priority?: number | undefined;
|
|
52
|
+
lastModified?: string | undefined;
|
|
53
|
+
} | undefined;
|
|
36
54
|
_meta?: {
|
|
37
55
|
[x: string]: unknown;
|
|
38
56
|
} | undefined;
|
|
39
|
-
description?: string | undefined;
|
|
40
|
-
mimeType?: string | undefined;
|
|
41
|
-
title?: string | undefined;
|
|
42
57
|
icons?: {
|
|
43
|
-
[x: string]: unknown;
|
|
44
58
|
src: string;
|
|
45
59
|
mimeType?: string | undefined;
|
|
46
60
|
sizes?: string[] | undefined;
|
|
61
|
+
theme?: "light" | "dark" | undefined;
|
|
47
62
|
}[] | undefined;
|
|
63
|
+
title?: string | undefined;
|
|
48
64
|
} | {
|
|
49
|
-
[x: string]: unknown;
|
|
50
65
|
type: "resource";
|
|
51
66
|
resource: {
|
|
52
|
-
[x: string]: unknown;
|
|
53
|
-
text: string;
|
|
54
67
|
uri: string;
|
|
68
|
+
text: string;
|
|
69
|
+
mimeType?: string | undefined;
|
|
55
70
|
_meta?: {
|
|
56
71
|
[x: string]: unknown;
|
|
57
72
|
} | undefined;
|
|
58
|
-
mimeType?: string | undefined;
|
|
59
73
|
} | {
|
|
60
|
-
[x: string]: unknown;
|
|
61
74
|
uri: string;
|
|
62
75
|
blob: string;
|
|
76
|
+
mimeType?: string | undefined;
|
|
63
77
|
_meta?: {
|
|
64
78
|
[x: string]: unknown;
|
|
65
79
|
} | undefined;
|
|
66
|
-
mimeType?: string | undefined;
|
|
67
80
|
};
|
|
81
|
+
annotations?: {
|
|
82
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
83
|
+
priority?: number | undefined;
|
|
84
|
+
lastModified?: string | undefined;
|
|
85
|
+
} | undefined;
|
|
68
86
|
_meta?: {
|
|
69
87
|
[x: string]: unknown;
|
|
70
88
|
} | undefined;
|
|
71
89
|
})[];
|
|
72
90
|
_meta?: {
|
|
73
91
|
[x: string]: unknown;
|
|
92
|
+
progressToken?: string | number | undefined;
|
|
93
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
94
|
+
taskId: string;
|
|
95
|
+
} | undefined;
|
|
74
96
|
} | undefined;
|
|
75
97
|
structuredContent?: {
|
|
76
98
|
[x: string]: unknown;
|
|
@@ -85,8 +107,8 @@ export declare const listTemplatesTool: import("@tsed/di").FactoryTokenProvider<
|
|
|
85
107
|
}>;
|
|
86
108
|
_meta?: Record<string, unknown> | undefined;
|
|
87
109
|
description?: string | undefined;
|
|
88
|
-
title?: string | undefined;
|
|
89
110
|
annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
|
|
111
|
+
title?: string | undefined;
|
|
90
112
|
token?: import("@tsed/di").TokenProvider;
|
|
91
113
|
name: string;
|
|
92
114
|
}>;
|
|
@@ -11,71 +11,93 @@ export declare const setWorkspaceTool: import("@tsed/cli-core").FactoryTokenProv
|
|
|
11
11
|
}>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
|
|
12
12
|
[x: string]: unknown;
|
|
13
13
|
content: ({
|
|
14
|
-
[x: string]: unknown;
|
|
15
14
|
type: "text";
|
|
16
15
|
text: string;
|
|
16
|
+
annotations?: {
|
|
17
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
18
|
+
priority?: number | undefined;
|
|
19
|
+
lastModified?: string | undefined;
|
|
20
|
+
} | undefined;
|
|
17
21
|
_meta?: {
|
|
18
22
|
[x: string]: unknown;
|
|
19
23
|
} | undefined;
|
|
20
24
|
} | {
|
|
21
|
-
[x: string]: unknown;
|
|
22
25
|
type: "image";
|
|
23
26
|
data: string;
|
|
24
27
|
mimeType: string;
|
|
28
|
+
annotations?: {
|
|
29
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
30
|
+
priority?: number | undefined;
|
|
31
|
+
lastModified?: string | undefined;
|
|
32
|
+
} | undefined;
|
|
25
33
|
_meta?: {
|
|
26
34
|
[x: string]: unknown;
|
|
27
35
|
} | undefined;
|
|
28
36
|
} | {
|
|
29
|
-
[x: string]: unknown;
|
|
30
37
|
type: "audio";
|
|
31
38
|
data: string;
|
|
32
39
|
mimeType: string;
|
|
40
|
+
annotations?: {
|
|
41
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
42
|
+
priority?: number | undefined;
|
|
43
|
+
lastModified?: string | undefined;
|
|
44
|
+
} | undefined;
|
|
33
45
|
_meta?: {
|
|
34
46
|
[x: string]: unknown;
|
|
35
47
|
} | undefined;
|
|
36
48
|
} | {
|
|
37
|
-
[x: string]: unknown;
|
|
38
|
-
type: "resource_link";
|
|
39
|
-
name: string;
|
|
40
49
|
uri: string;
|
|
50
|
+
name: string;
|
|
51
|
+
type: "resource_link";
|
|
52
|
+
description?: string | undefined;
|
|
53
|
+
mimeType?: string | undefined;
|
|
54
|
+
annotations?: {
|
|
55
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
56
|
+
priority?: number | undefined;
|
|
57
|
+
lastModified?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
41
59
|
_meta?: {
|
|
42
60
|
[x: string]: unknown;
|
|
43
61
|
} | undefined;
|
|
44
|
-
description?: string | undefined;
|
|
45
|
-
mimeType?: string | undefined;
|
|
46
|
-
title?: string | undefined;
|
|
47
62
|
icons?: {
|
|
48
|
-
[x: string]: unknown;
|
|
49
63
|
src: string;
|
|
50
64
|
mimeType?: string | undefined;
|
|
51
65
|
sizes?: string[] | undefined;
|
|
66
|
+
theme?: "light" | "dark" | undefined;
|
|
52
67
|
}[] | undefined;
|
|
68
|
+
title?: string | undefined;
|
|
53
69
|
} | {
|
|
54
|
-
[x: string]: unknown;
|
|
55
70
|
type: "resource";
|
|
56
71
|
resource: {
|
|
57
|
-
[x: string]: unknown;
|
|
58
|
-
text: string;
|
|
59
72
|
uri: string;
|
|
73
|
+
text: string;
|
|
74
|
+
mimeType?: string | undefined;
|
|
60
75
|
_meta?: {
|
|
61
76
|
[x: string]: unknown;
|
|
62
77
|
} | undefined;
|
|
63
|
-
mimeType?: string | undefined;
|
|
64
78
|
} | {
|
|
65
|
-
[x: string]: unknown;
|
|
66
79
|
uri: string;
|
|
67
80
|
blob: string;
|
|
81
|
+
mimeType?: string | undefined;
|
|
68
82
|
_meta?: {
|
|
69
83
|
[x: string]: unknown;
|
|
70
84
|
} | undefined;
|
|
71
|
-
mimeType?: string | undefined;
|
|
72
85
|
};
|
|
86
|
+
annotations?: {
|
|
87
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
88
|
+
priority?: number | undefined;
|
|
89
|
+
lastModified?: string | undefined;
|
|
90
|
+
} | undefined;
|
|
73
91
|
_meta?: {
|
|
74
92
|
[x: string]: unknown;
|
|
75
93
|
} | undefined;
|
|
76
94
|
})[];
|
|
77
95
|
_meta?: {
|
|
78
96
|
[x: string]: unknown;
|
|
97
|
+
progressToken?: string | number | undefined;
|
|
98
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
99
|
+
taskId: string;
|
|
100
|
+
} | undefined;
|
|
79
101
|
} | undefined;
|
|
80
102
|
structuredContent?: {
|
|
81
103
|
[x: string]: unknown;
|
|
@@ -90,8 +112,8 @@ export declare const setWorkspaceTool: import("@tsed/cli-core").FactoryTokenProv
|
|
|
90
112
|
}>;
|
|
91
113
|
_meta?: Record<string, unknown> | undefined;
|
|
92
114
|
description?: string | undefined;
|
|
93
|
-
title?: string | undefined;
|
|
94
115
|
annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
|
|
116
|
+
title?: string | undefined;
|
|
95
117
|
token?: import("@tsed/cli-core").TokenProvider;
|
|
96
118
|
name: string;
|
|
97
119
|
}>;
|
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.
|
|
4
|
+
"version": "7.0.0-beta.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"source": "./src/index.ts",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"node": ">=14"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
48
|
+
"@modelcontextprotocol/sdk": "^1.25.1",
|
|
49
49
|
"@npmcli/run-script": "9.0.0",
|
|
50
50
|
"@swc-node/register": "^1.10.9",
|
|
51
51
|
"@swc/core": "1.7.26",
|
|
52
52
|
"@swc/helpers": "^0.5.13",
|
|
53
|
-
"@tsed/cli-core": "7.0.0-beta.
|
|
54
|
-
"@tsed/cli-mcp": "7.0.0-beta.
|
|
53
|
+
"@tsed/cli-core": "7.0.0-beta.5",
|
|
54
|
+
"@tsed/cli-mcp": "7.0.0-beta.5",
|
|
55
55
|
"@tsed/core": ">=8.21.0",
|
|
56
56
|
"@tsed/di": ">=8.21.0",
|
|
57
57
|
"@tsed/hooks": ">=8.21.0",
|
|
@@ -71,10 +71,11 @@
|
|
|
71
71
|
"rxjs": "^7.8.1",
|
|
72
72
|
"semver": "^7.6.3",
|
|
73
73
|
"ts-morph": "27.0.0",
|
|
74
|
-
"tslib": "^2.7.0"
|
|
74
|
+
"tslib": "^2.7.0",
|
|
75
|
+
"zod": "3.25.76"
|
|
75
76
|
},
|
|
76
77
|
"devDependencies": {
|
|
77
|
-
"@tsed/typescript": "7.0.0-beta.
|
|
78
|
+
"@tsed/typescript": "7.0.0-beta.5",
|
|
78
79
|
"@types/change-case": "^2.3.1",
|
|
79
80
|
"@types/consolidate": "0.14.4",
|
|
80
81
|
"cross-env": "7.0.3",
|