@yeepay/coderocket-mcp 1.0.1 → 1.1.1
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/.crush/crush.db +0 -0
- package/.crush/crush.db-shm +0 -0
- package/.crush/crush.db-wal +0 -0
- package/.crush/init +0 -0
- package/CHANGELOG.md +140 -0
- package/CRUSH.md +38 -0
- package/README.md +57 -29
- package/bin/coderocket-mcp +83 -79
- package/dist/coderocket.d.ts +113 -39
- package/dist/coderocket.d.ts.map +1 -1
- package/dist/coderocket.js +772 -268
- package/dist/coderocket.js.map +1 -1
- package/dist/test.d.ts.map +1 -1
- package/dist/test.js +336 -45
- package/dist/test.js.map +1 -1
- package/dist/types.d.ts +33 -27
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +3 -1
- package/dist/types.js.map +1 -1
- package/eslint.config.ts +12 -5
- package/package.json +9 -4
package/dist/types.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { z } from 'zod';
|
2
|
-
export declare const AIServiceSchema: z.ZodEnum<["gemini", "
|
2
|
+
export declare const AIServiceSchema: z.ZodEnum<["gemini", "claudecode"]>;
|
3
3
|
export type AIService = z.infer<typeof AIServiceSchema>;
|
4
4
|
export declare const ReviewStatusSchema: z.ZodEnum<["✅", "⚠️", "❌", "🔍"]>;
|
5
5
|
export type ReviewStatus = z.infer<typeof ReviewStatusSchema>;
|
@@ -9,34 +9,34 @@ export declare const ReviewCodeRequestSchema: z.ZodObject<{
|
|
9
9
|
code: z.ZodString;
|
10
10
|
language: z.ZodOptional<z.ZodString>;
|
11
11
|
context: z.ZodOptional<z.ZodString>;
|
12
|
-
ai_service: z.ZodOptional<z.ZodEnum<["gemini", "
|
12
|
+
ai_service: z.ZodOptional<z.ZodEnum<["gemini", "claudecode"]>>;
|
13
13
|
custom_prompt: z.ZodOptional<z.ZodString>;
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
15
15
|
code: string;
|
16
16
|
language?: string | undefined;
|
17
17
|
context?: string | undefined;
|
18
|
-
ai_service?: "gemini" | "
|
18
|
+
ai_service?: "gemini" | "claudecode" | undefined;
|
19
19
|
custom_prompt?: string | undefined;
|
20
20
|
}, {
|
21
21
|
code: string;
|
22
22
|
language?: string | undefined;
|
23
23
|
context?: string | undefined;
|
24
|
-
ai_service?: "gemini" | "
|
24
|
+
ai_service?: "gemini" | "claudecode" | undefined;
|
25
25
|
custom_prompt?: string | undefined;
|
26
26
|
}>;
|
27
27
|
export type ReviewCodeRequest = z.infer<typeof ReviewCodeRequestSchema>;
|
28
28
|
export declare const ReviewCommitRequestSchema: z.ZodObject<{
|
29
29
|
commit_hash: z.ZodOptional<z.ZodString>;
|
30
30
|
repository_path: z.ZodOptional<z.ZodString>;
|
31
|
-
ai_service: z.ZodOptional<z.ZodEnum<["gemini", "
|
31
|
+
ai_service: z.ZodOptional<z.ZodEnum<["gemini", "claudecode"]>>;
|
32
32
|
custom_prompt: z.ZodOptional<z.ZodString>;
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
34
|
-
ai_service?: "gemini" | "
|
34
|
+
ai_service?: "gemini" | "claudecode" | undefined;
|
35
35
|
custom_prompt?: string | undefined;
|
36
36
|
commit_hash?: string | undefined;
|
37
37
|
repository_path?: string | undefined;
|
38
38
|
}, {
|
39
|
-
ai_service?: "gemini" | "
|
39
|
+
ai_service?: "gemini" | "claudecode" | undefined;
|
40
40
|
custom_prompt?: string | undefined;
|
41
41
|
commit_hash?: string | undefined;
|
42
42
|
repository_path?: string | undefined;
|
@@ -45,34 +45,34 @@ export type ReviewCommitRequest = z.infer<typeof ReviewCommitRequestSchema>;
|
|
45
45
|
export declare const ReviewFilesRequestSchema: z.ZodObject<{
|
46
46
|
files: z.ZodArray<z.ZodString, "many">;
|
47
47
|
repository_path: z.ZodOptional<z.ZodString>;
|
48
|
-
ai_service: z.ZodOptional<z.ZodEnum<["gemini", "
|
48
|
+
ai_service: z.ZodOptional<z.ZodEnum<["gemini", "claudecode"]>>;
|
49
49
|
custom_prompt: z.ZodOptional<z.ZodString>;
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
51
51
|
files: string[];
|
52
|
-
ai_service?: "gemini" | "
|
52
|
+
ai_service?: "gemini" | "claudecode" | undefined;
|
53
53
|
custom_prompt?: string | undefined;
|
54
54
|
repository_path?: string | undefined;
|
55
55
|
}, {
|
56
56
|
files: string[];
|
57
|
-
ai_service?: "gemini" | "
|
57
|
+
ai_service?: "gemini" | "claudecode" | undefined;
|
58
58
|
custom_prompt?: string | undefined;
|
59
59
|
repository_path?: string | undefined;
|
60
60
|
}>;
|
61
61
|
export type ReviewFilesRequest = z.infer<typeof ReviewFilesRequestSchema>;
|
62
62
|
export declare const ConfigureAIServiceRequestSchema: z.ZodObject<{
|
63
|
-
service: z.ZodEnum<["gemini", "
|
63
|
+
service: z.ZodEnum<["gemini", "claudecode"]>;
|
64
64
|
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
65
65
|
api_key: z.ZodOptional<z.ZodString>;
|
66
66
|
timeout: z.ZodOptional<z.ZodNumber>;
|
67
67
|
max_retries: z.ZodOptional<z.ZodNumber>;
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
69
|
-
service: "gemini" | "
|
69
|
+
service: "gemini" | "claudecode";
|
70
70
|
scope: "project" | "global";
|
71
71
|
api_key?: string | undefined;
|
72
72
|
timeout?: number | undefined;
|
73
73
|
max_retries?: number | undefined;
|
74
74
|
}, {
|
75
|
-
service: "gemini" | "
|
75
|
+
service: "gemini" | "claudecode";
|
76
76
|
scope?: "project" | "global" | undefined;
|
77
77
|
api_key?: string | undefined;
|
78
78
|
timeout?: number | undefined;
|
@@ -83,41 +83,41 @@ export declare const ReviewResultSchema: z.ZodObject<{
|
|
83
83
|
status: z.ZodEnum<["✅", "⚠️", "❌", "🔍"]>;
|
84
84
|
summary: z.ZodString;
|
85
85
|
details: z.ZodString;
|
86
|
-
ai_service_used: z.ZodEnum<["gemini", "
|
86
|
+
ai_service_used: z.ZodEnum<["gemini", "claudecode"]>;
|
87
87
|
timestamp: z.ZodString;
|
88
88
|
report_file: z.ZodOptional<z.ZodString>;
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
90
90
|
status: "✅" | "⚠️" | "❌" | "🔍";
|
91
91
|
summary: string;
|
92
92
|
details: string;
|
93
|
-
ai_service_used: "gemini" | "
|
93
|
+
ai_service_used: "gemini" | "claudecode";
|
94
94
|
timestamp: string;
|
95
95
|
report_file?: string | undefined;
|
96
96
|
}, {
|
97
97
|
status: "✅" | "⚠️" | "❌" | "🔍";
|
98
98
|
summary: string;
|
99
99
|
details: string;
|
100
|
-
ai_service_used: "gemini" | "
|
100
|
+
ai_service_used: "gemini" | "claudecode";
|
101
101
|
timestamp: string;
|
102
102
|
report_file?: string | undefined;
|
103
103
|
}>;
|
104
104
|
export type ReviewResult = z.infer<typeof ReviewResultSchema>;
|
105
105
|
export declare const AIServiceStatusSchema: z.ZodObject<{
|
106
|
-
service: z.ZodEnum<["gemini", "
|
106
|
+
service: z.ZodEnum<["gemini", "claudecode"]>;
|
107
107
|
available: z.ZodBoolean;
|
108
108
|
configured: z.ZodBoolean;
|
109
109
|
install_command: z.ZodOptional<z.ZodString>;
|
110
110
|
config_command: z.ZodOptional<z.ZodString>;
|
111
111
|
error_message: z.ZodOptional<z.ZodString>;
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
113
|
-
service: "gemini" | "
|
113
|
+
service: "gemini" | "claudecode";
|
114
114
|
available: boolean;
|
115
115
|
configured: boolean;
|
116
116
|
install_command?: string | undefined;
|
117
117
|
config_command?: string | undefined;
|
118
118
|
error_message?: string | undefined;
|
119
119
|
}, {
|
120
|
-
service: "gemini" | "
|
120
|
+
service: "gemini" | "claudecode";
|
121
121
|
available: boolean;
|
122
122
|
configured: boolean;
|
123
123
|
install_command?: string | undefined;
|
@@ -126,23 +126,23 @@ export declare const AIServiceStatusSchema: z.ZodObject<{
|
|
126
126
|
}>;
|
127
127
|
export type AIServiceStatus = z.infer<typeof AIServiceStatusSchema>;
|
128
128
|
export declare const ServiceStatusResponseSchema: z.ZodObject<{
|
129
|
-
current_service: z.ZodEnum<["gemini", "
|
129
|
+
current_service: z.ZodEnum<["gemini", "claudecode"]>;
|
130
130
|
services: z.ZodArray<z.ZodObject<{
|
131
|
-
service: z.ZodEnum<["gemini", "
|
131
|
+
service: z.ZodEnum<["gemini", "claudecode"]>;
|
132
132
|
available: z.ZodBoolean;
|
133
133
|
configured: z.ZodBoolean;
|
134
134
|
install_command: z.ZodOptional<z.ZodString>;
|
135
135
|
config_command: z.ZodOptional<z.ZodString>;
|
136
136
|
error_message: z.ZodOptional<z.ZodString>;
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
138
|
-
service: "gemini" | "
|
138
|
+
service: "gemini" | "claudecode";
|
139
139
|
available: boolean;
|
140
140
|
configured: boolean;
|
141
141
|
install_command?: string | undefined;
|
142
142
|
config_command?: string | undefined;
|
143
143
|
error_message?: string | undefined;
|
144
144
|
}, {
|
145
|
-
service: "gemini" | "
|
145
|
+
service: "gemini" | "claudecode";
|
146
146
|
available: boolean;
|
147
147
|
configured: boolean;
|
148
148
|
install_command?: string | undefined;
|
@@ -152,10 +152,12 @@ export declare const ServiceStatusResponseSchema: z.ZodObject<{
|
|
152
152
|
auto_switch_enabled: z.ZodBoolean;
|
153
153
|
global_config_path: z.ZodOptional<z.ZodString>;
|
154
154
|
project_config_path: z.ZodOptional<z.ZodString>;
|
155
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
156
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
155
157
|
}, "strip", z.ZodTypeAny, {
|
156
|
-
current_service: "gemini" | "
|
158
|
+
current_service: "gemini" | "claudecode";
|
157
159
|
services: {
|
158
|
-
service: "gemini" | "
|
160
|
+
service: "gemini" | "claudecode";
|
159
161
|
available: boolean;
|
160
162
|
configured: boolean;
|
161
163
|
install_command?: string | undefined;
|
@@ -163,12 +165,14 @@ export declare const ServiceStatusResponseSchema: z.ZodObject<{
|
|
163
165
|
error_message?: string | undefined;
|
164
166
|
}[];
|
165
167
|
auto_switch_enabled: boolean;
|
168
|
+
timeout?: number | undefined;
|
169
|
+
max_retries?: number | undefined;
|
166
170
|
global_config_path?: string | undefined;
|
167
171
|
project_config_path?: string | undefined;
|
168
172
|
}, {
|
169
|
-
current_service: "gemini" | "
|
173
|
+
current_service: "gemini" | "claudecode";
|
170
174
|
services: {
|
171
|
-
service: "gemini" | "
|
175
|
+
service: "gemini" | "claudecode";
|
172
176
|
available: boolean;
|
173
177
|
configured: boolean;
|
174
178
|
install_command?: string | undefined;
|
@@ -176,6 +180,8 @@ export declare const ServiceStatusResponseSchema: z.ZodObject<{
|
|
176
180
|
error_message?: string | undefined;
|
177
181
|
}[];
|
178
182
|
auto_switch_enabled: boolean;
|
183
|
+
timeout?: number | undefined;
|
184
|
+
max_retries?: number | undefined;
|
179
185
|
global_config_path?: string | undefined;
|
180
186
|
project_config_path?: string | undefined;
|
181
187
|
}>;
|
package/dist/types.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe,
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe,qCAAmC,CAAC;AAChE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAGxD,eAAO,MAAM,kBAAkB,mCAAiC,CAAC;AACjE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAG9D,eAAO,MAAM,iBAAiB,kCAAgC,CAAC;AAC/D,M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,mBAAmB,CAAC,CAAC;AAGhE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
package/dist/types.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
// AI服务类型
|
3
|
-
export const AIServiceSchema = z.enum(['gemini', '
|
3
|
+
export const AIServiceSchema = z.enum(['gemini', 'claudecode']);
|
4
4
|
// 审查状态
|
5
5
|
export const ReviewStatusSchema = z.enum(['✅', '⚠️', '❌', '🔍']);
|
6
6
|
// 配置范围
|
@@ -69,6 +69,8 @@ export const ServiceStatusResponseSchema = z.object({
|
|
69
69
|
auto_switch_enabled: z.boolean().describe('是否启用自动切换'),
|
70
70
|
global_config_path: z.string().optional().describe('全局配置文件路径'),
|
71
71
|
project_config_path: z.string().optional().describe('项目配置文件路径'),
|
72
|
+
timeout: z.number().optional().describe('超时时间(秒)'),
|
73
|
+
max_retries: z.number().optional().describe('最大重试次数'),
|
72
74
|
});
|
73
75
|
// 错误响应
|
74
76
|
export const ErrorResponseSchema = z.object({
|
package/dist/types.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,SAAS;AACT,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,SAAS;AACT,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC;AAGhE,OAAO;AACP,MAA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,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC;IAC/D,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC;IAClD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC;CACtD,CAAC,CAAC;AAGH,OAAO;AACP,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC;IAClC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC;IAClD,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC;CAC7D,CAAC,CAAC;AAGH,OAAO;AACP,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC;IACvC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC;IACpC,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC;CAC1C,CAAC,CAAC"}
|
package/eslint.config.ts
CHANGED
@@ -1,9 +1,16 @@
|
|
1
1
|
import js from "@eslint/js";
|
2
2
|
import globals from "globals";
|
3
3
|
import tseslint from "typescript-eslint";
|
4
|
-
import { defineConfig } from "eslint/config";
|
5
4
|
|
6
|
-
export default
|
7
|
-
|
8
|
-
tseslint.configs.recommended,
|
9
|
-
|
5
|
+
export default [
|
6
|
+
js.configs.recommended,
|
7
|
+
...tseslint.configs.recommended,
|
8
|
+
{
|
9
|
+
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
|
10
|
+
languageOptions: {
|
11
|
+
globals: {
|
12
|
+
...globals.node,
|
13
|
+
},
|
14
|
+
},
|
15
|
+
},
|
16
|
+
];
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yeepay/coderocket-mcp",
|
3
|
-
"version": "1.
|
4
|
-
"description": "CodeRocket MCP - AI-powered code review server for Model Context Protocol",
|
3
|
+
"version": "1.1.1",
|
4
|
+
"description": "CodeRocket MCP - Independent AI-powered code review server for Model Context Protocol",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"type": "module",
|
7
7
|
"bin": {
|
@@ -35,12 +35,18 @@
|
|
35
35
|
"programming-tools",
|
36
36
|
"automation",
|
37
37
|
"claude",
|
38
|
-
"ai-tools"
|
38
|
+
"ai-tools",
|
39
|
+
"independent",
|
40
|
+
"standalone",
|
41
|
+
"no-dependencies"
|
39
42
|
],
|
40
43
|
"author": "dreambt <dreambt@gmail.com>",
|
41
44
|
"license": "Apache-2.0",
|
42
45
|
"dependencies": {
|
43
46
|
"@modelcontextprotocol/sdk": "^0.5.0",
|
47
|
+
"@google/generative-ai": "^0.21.0",
|
48
|
+
"@anthropic-ai/sdk": "^0.27.0",
|
49
|
+
"axios": "^1.6.0",
|
44
50
|
"zod": "^3.22.4"
|
45
51
|
},
|
46
52
|
"devDependencies": {
|
@@ -50,7 +56,6 @@
|
|
50
56
|
"@typescript-eslint/parser": "^6.0.0",
|
51
57
|
"eslint": "^8.57.1",
|
52
58
|
"globals": "^16.3.0",
|
53
|
-
"jest": "^29.0.0",
|
54
59
|
"prettier": "^3.0.0",
|
55
60
|
"tsx": "^4.0.0",
|
56
61
|
"typescript": "^5.0.0",
|