diff --git a/.vscode/settings.json b/.vscode/settings.json index cccaddaac19..25b6895cc7e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,5 +10,6 @@ }, // Turn off tsc task auto detection since we have the necessary tasks as npm scripts "typescript.tsc.autoDetect": "off", - "typescript.tsdk": "node_modules/typescript/lib" + "typescript.tsdk": "node_modules/typescript/lib", + "npm.packageManager": "npm" } diff --git a/webview-ui/package-lock.json b/webview-ui/package-lock.json index fe37713105a..eb8b6201622 100644 --- a/webview-ui/package-lock.json +++ b/webview-ui/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@floating-ui/react": "^0.27.4", "@heroui/react": "^2.8.0-beta.2", - "@nutstore/sso-js": "^0.0.5", + "@nutstore/sso-js": "^0.0.6", "@vscode/webview-ui-toolkit": "^1.4.0", "debounce": "^2.1.1", "dompurify": "^3.2.4", @@ -3367,9 +3367,9 @@ } }, "node_modules/@nutstore/sso-js": { - "version": "0.0.5", - "resolved": "https://npm.pkg.github.com/download/@nutstore/sso-js/0.0.5/1aabc5baebdf69b527cbe9f329b03dc3cb497811", - "integrity": "sha512-UxliZNmCThaLOuaeG57710BgqHEiRsp+tOdTb/1TwwaNHZkAeFv3pma+4g4Ad3ogv4bXJW6KaZ8s2NailnTvjw==" + "version": "0.0.6", + "resolved": "https://npm.pkg.github.com/download/@nutstore/sso-js/0.0.6/2f1fe17944c280ee7e03bca19f4784741dd557e8", + "integrity": "sha512-rDQfkwKivoMPvTFPJrL3j2baxKenLg8qxattDY9dyHa1qOObYGaTdKADz8zkbI0eigfmdmj74/QQt/s5kHEJSg==" }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", diff --git a/webview-ui/package.json b/webview-ui/package.json index b8e3c092aff..c60fe998683 100644 --- a/webview-ui/package.json +++ b/webview-ui/package.json @@ -17,7 +17,7 @@ "dependencies": { "@floating-ui/react": "^0.27.4", "@heroui/react": "^2.8.0-beta.2", - "@nutstore/sso-js": "^0.0.5", + "@nutstore/sso-js": "^0.0.6", "@vscode/webview-ui-toolkit": "^1.4.0", "debounce": "^2.1.1", "dompurify": "^3.2.4", diff --git a/webview-ui/src/components/settings/ApiOptions.tsx b/webview-ui/src/components/settings/ApiOptions.tsx index 95e9efeb464..8695db3c77c 100644 --- a/webview-ui/src/components/settings/ApiOptions.tsx +++ b/webview-ui/src/components/settings/ApiOptions.tsx @@ -61,7 +61,7 @@ import { vscode } from "@/utils/vscode" import { ModelsServiceClient } from "@/services/grpc-client" import { getAsVar, VSC_DESCRIPTION_FOREGROUND } from "@/utils/vscStyles" import VSCodeButtonLink from "@/components/common/VSCodeButtonLink" -import { createOAuthUrl } from "@nutstore/sso-js" +import { createNutOAuthUrl } from "@nutstore/sso-js" import OpenRouterModelPicker, { ModelDescriptionMarkdown, OPENROUTER_MODEL_PICKER_Z_INDEX } from "./OpenRouterModelPicker" import { ClineAccountInfoCard } from "./ClineAccountInfoCard" import RequestyModelPicker from "./RequestyModelPicker" @@ -163,7 +163,7 @@ const ApiOptions = ({ const [reasoningEffortSelected, setReasoningEffortSelected] = useState(!!apiConfiguration?.reasoningEffort) const [nutstoreAuthUrl, setNutstoreAuthUrl] = useState("") - createOAuthUrl({ + createNutOAuthUrl({ // _dont_use_in_prod_createOAuthUrl({ app: `cline-${uriScheme}`, }).then((url) => {