瀏覽代碼

upgrade @modelcontextprotocol/sdk to latest version

(cherry picked from commit f9cc13cb1e0be51ef497897109005a95051977c8)
aheizi 9 月之前
父節點
當前提交
6f5ce14586
共有 3 個文件被更改,包括 43 次插入555 次删除
  1. 8 0
      esbuild.js
  2. 33 554
      package-lock.json
  3. 2 1
      package.json

+ 8 - 0
esbuild.js

@@ -72,6 +72,14 @@ const extensionConfig = {
 		copyWasmFiles,
 		/* add to the end of plugins array */
 		esbuildProblemMatcherPlugin,
+		{
+			name: "alias-plugin",
+			setup(build) {
+				build.onResolve({ filter: /^pkce-challenge$/ }, (args) => {
+					return { path: require.resolve("pkce-challenge/dist/index.browser.js") }
+				})
+			},
+		},
 	],
 	entryPoints: ["src/extension.ts"],
 	format: "cjs",

File diff suppressed because it is too large
+ 33 - 554
package-lock.json


+ 2 - 1
package.json

@@ -318,7 +318,7 @@
 		"@google-cloud/vertexai": "^1.9.3",
 		"@google/generative-ai": "^0.18.0",
 		"@mistralai/mistralai": "^1.3.6",
-		"@modelcontextprotocol/sdk": "1.5.0",
+		"@modelcontextprotocol/sdk": "^1.7.0",
 		"@types/clone-deep": "^4.0.4",
 		"@types/pdf-parse": "^1.1.4",
 		"@types/tmp": "^0.2.6",
@@ -346,6 +346,7 @@
 		"os-name": "^6.0.0",
 		"p-wait-for": "^5.0.2",
 		"pdf-parse": "^1.1.1",
+		"pkce-challenge": "^4.1.0",
 		"posthog-node": "^4.7.0",
 		"pretty-bytes": "^6.1.1",
 		"puppeteer-chromium-resolver": "^23.0.0",

Some files were not shown because too many files changed in this diff