File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 278278 "dev" : " cd webview-ui && npm run dev" ,
279279 "test" : " jest && npm run test:webview" ,
280280 "test:webview" : " cd webview-ui && npm run test" ,
281- "test:integration" : " npm run build && npm run compile:integration && npx dotenvx run -f .env.integration -- vscode- test" ,
281+ "test:integration" : " npm run build && npm run compile:integration && npx dotenvx run -f .env.integration -- node ./out-integration/ test/runTest.js " ,
282282 "prepare" : " husky" ,
283283 "publish:marketplace" : " vsce publish && ovsx publish" ,
284284 "publish" : " npm run build && changeset publish && npm install --package-lock-only" ,
285285 "version-packages" : " changeset version && npm install --package-lock-only" ,
286- "e2e:test" : " npm run build && tsc -p tsconfig.e2e.json && npx dotenvx run -f .env.e2e -- node ./out-e2e/test/runTest.js" ,
287286 "vscode:prepublish" : " npm run package" ,
288287 "vsix" : " rimraf bin && mkdirp bin && npx vsce package --out bin" ,
289288 "watch" : " npm-run-all -p watch:*" ,
Original file line number Diff line number Diff line change @@ -38,9 +38,12 @@ export async function run(): Promise<void> {
3838 ? globalThis . extension . exports
3939 : await globalThis . extension . activate ( )
4040 globalThis . provider = globalThis . api . sidebarProvider
41- globalThis . provider . storeSecret ( "openRouterApiKey" , process . env . OPENROUTER_API_KEY || "sk-or-v1-fake-api-key" )
4241 await globalThis . provider . updateGlobalState ( "apiProvider" , "openrouter" )
4342 await globalThis . provider . updateGlobalState ( "openRouterModelId" , "anthropic/claude-3.5-sonnet" )
43+ await globalThis . provider . storeSecret (
44+ "openRouterApiKey" ,
45+ process . env . OPENROUTER_API_KEY || "sk-or-v1-fake-api-key" ,
46+ )
4447
4548 globalThis . panel = vscode . window . createWebviewPanel (
4649 "roo-cline.SidebarProvider" ,
You can’t perform that action at this time.
0 commit comments