WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit c708af4

Browse files
committed
Final tweaks
1 parent 2693344 commit c708af4

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"license": "MIT",
2929
"dependencies": {
3030
"@modelcontextprotocol/sdk": "^1.0.0",
31-
"ag-grid-community": "^34.1.2",
31+
"ag-grid-community": "latest",
3232
"env-paths": "^3.0.0",
3333
"local-pkg": "^1.1.2",
3434
"node-fetch": "^3.3.2",

src/handlers/prompts.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,19 @@ export const listPrompts = (): ListPromptsResult => {
2121
export const handlePrompt = async (
2222
request: GetPromptRequest
2323
): Promise<GetPromptResult> => {
24-
try {
25-
await validateVersionConfig();
26-
} catch (error) {
27-
if (error instanceof VersionValidationError) {
28-
throw new Error(`${error.message}. ${error.suggestion}`);
24+
const { name, arguments: args } = request.params;
25+
26+
if (name !== "quick-start") {
27+
try {
28+
await validateVersionConfig();
29+
} catch (error) {
30+
if (error instanceof VersionValidationError) {
31+
throw new Error(`${error.message}. ${error.suggestion}`);
32+
}
33+
throw error;
2934
}
30-
throw error;
3135
}
3236

33-
const { name, arguments: args } = request.params;
34-
3537
const promptDef = prompts.find((p) => p.name === name);
3638
if (!promptDef) {
3739
throw new Error(

0 commit comments

Comments
 (0)