{ "name": "code-oss-dev", "version": "1.138.0", "distro": "9edcf676f14a3185aebf09cedb58013c8348e31d", "product-label": "positron", "author": { "name": "Posit Software, PBC" }, "license": "MIT", "main": "./out/main.js", "type": "module", "private": true, "scripts": { "ci-lab-reset": "./.devcontainer/ci-arm/reset.sh", "ci-lab-up": "./.devcontainer/ci-arm/ci-lab-up.sh", "test": "node -e \"console.error('Run a test script from the scripts folder, for example: ./scripts/test.sh --run .'); process.exit(1)\"", "test-browser": "npx playwright install && node test/unit/browser/index.js", "test-browser-no-install": "node test/unit/browser/index.js", "test-node": "mocha test/unit/node/index.js --delay --ui=tdd --timeout=5000 --exit", "test-extension": "vscode-test", "test-build-scripts": "cd build && npm run test", "test:positron": "vitest --run", "test:positron:check-ts": "tsc --noEmit -p ./vitest.tsconfig.json --skipLibCheck", "test:core": "./scripts/test.sh", "test:ext-host": "./scripts/test-integration.sh", "test-agent-host-e2e": "node scripts/test-agent-host-e2e.ts", "markdown-editor-package-json-check": "npm --prefix extensions/markdown-language-features run check-markdown-editor-package-json", "test-agent-host-e2e-coverage": "node scripts/agent-host-e2e-coverage.ts", "check-cyclic-dependencies": "node build/lib/checkCyclicDependencies.ts out", "postinstall": "node build/npm/postinstall.ts", "build:ai-lib": "npm --prefix ai-lib run build -w ai-config -w ai-credentials -w ai-provider-bridge", "preinstall": "node build/npm/preinstall.ts", "compile": "npm-run-all2 -lp compile-client compile-copilot", "compile-client": "npm run gulp compile", "compile-copilot": "npm --prefix extensions/copilot run compile", "build-fast": "node build/next/index.ts build-fast", "build-fast-extensions": "npm run gulp copy-codicons compile-extensions compile-extension-media", "typecheck-client": "tsc --project ./src/tsconfig.json --noEmit --skipLibCheck", "codex:gen-protocol": "node build/codex/generate-protocol.mjs", "codex:check-protocol": "node build/codex/check-protocol-sync.ts", "watch": "npm-run-all2 -lp watch-client-transpile watch-client watch-extensions watch-copilot", "watch-transpile": "npm-run-all2 -lp watch-client-transpile watch-extensions watch-copilot", "watchd": "deemon npm run watch", "watch-webd": "deemon npm run watch-web", "kill-watchd": "deemon --kill npm run watch", "kill-watch-webd": "deemon --kill npm run watch-web", "restart-watchd": "deemon --restart npm run watch", "restart-watch-webd": "deemon --restart npm run watch-web", "watch-client": "npm run gulp watch-client", "watch-clientd": "deemon npm run watch-client", "kill-watch-clientd": "deemon --kill npm run watch-client", "transpile-client": "node build/next/index.ts transpile", "bundle-dev-tunnels-web": "node build/next/devTunnelsWeb.ts", "watch-client-transpile": "node build/next/index.ts transpile --watch", "watch-client-transpiled": "deemon npm run watch-client-transpile", "kill-watch-client-transpiled": "deemon --kill npm run watch-client-transpile", "watch-extensions": "npm run gulp watch-extensions watch-extension-media", "watch-extensionsd": "deemon npm run watch-extensions", "kill-watch-extensionsd": "deemon --kill npm run watch-extensions", "watch-copilot": "npm --prefix extensions/copilot run watch", "watch-copilotd": "deemon npm run watch-copilot", "kill-watch-copilotd": "deemon --kill npm run watch-copilot", "precommit": "node --experimental-strip-types build/hygiene.ts", "gulp": "node --experimental-strip-types --max-old-space-size=8192 ./node_modules/gulp/bin/gulp.js", "electron": "node build/lib/electron.ts", "7z": "7z", "demo:record": "node --experimental-strip-types test/e2e/demos/record-demo.ts", "demo:postprocess": "node --experimental-strip-types test/e2e/demos/postprocess-demo-video.ts", "e2e": "npm run e2e-electron", "watch-e2e": "npm run --prefix test/e2e watch", "watch-e2ed": "deemon npm run watch-e2e", "e2e-watch": "npm run watch-e2e", "kill-watch-e2ed": "deemon --kill npm run watch-e2e", "e2e-electron": "npx playwright test --project e2e-electron", "e2e-chromium": "npx playwright test --project e2e-chromium", "e2e-pr": "npx playwright test --project e2e-electron --grep @:critical", "e2e-win": "npx playwright test --project e2e-electron --grep @:win", "e2e-failed": "npx playwright test --last-failed", "e2e-summary": "python test/e2e/create-test-summary.py test/e2e/tests", "e2e-gen-eval-catalog": "npx tsx test/e2e/tests/assistant-eval/_helpers/generate-catalog.ts", "e2e-start-server": "./scripts/e2e-start-server.sh 8080 dev-token", "e2e-ui": "PW_UI_MODE=true npx playwright test --ui", "prelaunch": "node build/lib/preLaunch.ts", "download-quarto": "node build/lib/quarto.ts", "update-grammars": "node build/npm/update-all-grammars.ts", "update-localization-extension": "node build/npm/update-localization-extension.ts", "mixin-telemetry-docs": "node build/npm/mixin-telemetry-docs.ts", "smoketest": "node build/lib/preLaunch.ts && cd test/smoke && npm run compile && node test/index.js", "smoketest-no-compile": "cd test/smoke && node test/index.js", "download-builtin-extensions": "node build/lib/builtInExtensions.ts", "download-builtin-extensions-cg": "node build/lib/builtInExtensionsCG.ts", "monaco-compile-check": "tsc --project src/tsconfig.monaco.json --noEmit", "tsec-compile-check": "node --max-old-space-size=8192 node_modules/tsec/bin/tsec -p src/tsconfig.tsec.json", "vscode-dts-compile-check": "tsc --project src/tsconfig.vscode-dts.json && tsc --project src/tsconfig.vscode-proposed-dts.json", "valid-layers-check": "node build/checker/layersChecker.ts && node build/checker/layersTypeCheck.ts", "define-class-fields-check": "node --max-old-space-size=8192 build/lib/propertyInitOrderChecker.ts && tsc --project src/tsconfig.defineClassFields.json", "update-distro": "node build/npm/update-distro.ts", "export-policy-data": "node build/lib/policies/exportPolicyData.ts", "web": "echo 'npm run web' is replaced by './scripts/code-server' or './scripts/code-web'", "compile-cli": "npm run gulp compile-cli", "compile-web": "npm run gulp compile-web", "serve-out-rspack": "cd build/rspack && npx rspack serve --config rspack.serve-out.config.mts", "watch-web": "npm run gulp watch-web", "watch-cli": "npm run gulp watch-cli", "mock-policy-server": "node --experimental-strip-types scripts/mock-policy-server/server.ts", "mock-update-server": "node --experimental-strip-types scripts/mock-update-server/server.ts", "mock-aws-auth-server": "node --experimental-strip-types scripts/mock-aws-auth-server/server.ts", "eslint": "node --max-old-space-size=8192 build/eslint.ts", "stylelint": "node build/stylelint.ts", "playwright-install": "npm exec playwright install", "compile-build": "npm run gulp compile-build-with-mangling", "compile-extensions-build": "npm run gulp compile-extensions-build", "minify-vscode": "npm run gulp minify-vscode", "minify-vscode-reh": "npm run gulp minify-vscode-reh", "minify-vscode-reh-web": "npm run gulp minify-vscode-reh-web", "minify-vscode-reh-web-pwb": "npm run gulp minify-vscode-reh-web-pwb", "hygiene": "npm run gulp hygiene", "core-ci": "npm run gulp core-ci", "extensions-ci": "npm run gulp extensions-ci", "perf": "node scripts/code-perf.js", "perf:css": "node .github/skills/auto-perf-optimize/scripts/workbench-css-performance.mts", "nuke": ". $NVM_DIR/nvm.sh && nvm use && ./rebuild.sh && npm run prelaunch", "build-ps": "./scripts/build-ps.sh", "build-check": "./scripts/build-check.sh", "build-start": "./scripts/build-start.sh", "build-stop": "./scripts/build-stop.sh", "pwb": "bash docker/environments/wb-local/workbench-local.sh", "arm:start": "bash -c \"cd docker/environments/arm-local && ./run-with-license.sh ubuntu24\"", "arm:start:rocky": "bash -c \"cd docker/environments/arm-local && ./run-with-license.sh rocky8\"", "arm:connect": "bash -c \"cd docker/environments/arm-local && ./connect.sh\"", "arm:stop": "bash -c \"cd docker/environments/arm-local && ./stop-containers.sh ubuntu24\"", "arm:stop:rocky": "bash -c \"cd docker/environments/arm-local && ./stop-containers.sh rocky8\"", "arm:status": "bash -c \"cd docker/environments/arm-local && ./status.sh\"", "connect:start": "bash -c \"cd docker/environments/connect-local && ./with-connect.sh start\"", "connect:stop": "bash -c \"cd docker/environments/connect-local && ./with-connect.sh stop\"", "connect:status": "bash -c \"cd docker/environments/connect-local && ./with-connect.sh status\"", "connect:token": "bash -c \"cd docker/environments/connect-local && ./with-connect.sh token\"", "jupyter:start": "bash -c \"cd docker/environments/jupyter-local && ./run.sh\"", "jupyter:connect": "bash -c \"cd docker/environments/jupyter-local && ./connect.sh\"", "jupyter:connect:ci": "bash -c \"cd docker/environments/jupyter-local && ./connect.sh --ci\"", "jupyter:stop": "bash -c \"cd docker/environments/jupyter-local && ./stop-containers.sh\"", "db:start": "bash -c \"cd docker/environments/db-local && ./start.sh\"", "db:stop": "bash -c \"cd docker/environments/db-local && ./stop.sh\"", "perf:chat": "node scripts/chat-simulation/test-chat-perf-regression.js", "perf:chat-leak": "node scripts/chat-simulation/test-chat-mem-leaks.js", "copilot:setup": "npm --prefix extensions/copilot run setup", "copilot:get_token": "npm --prefix extensions/copilot run get_token", "update-build-ts-version": "npm install -D typescript@npm:@typescript/typescript6@^6.0.2 && npm install -D @typescript/native@npm:typescript@next && (cd build && npm run typecheck)", "install-local-component-explorer": "npm install ../vscode-packages/js-component-explorer/dist/vscode-component-explorer-0.1.0.tgz ../vscode-packages/js-component-explorer/dist/vscode-component-explorer-cli-0.1.0.tgz --no-save && cd build/rspack && npm install ../../../vscode-packages/js-component-explorer/dist/vscode-component-explorer-webpack-plugin-0.1.0.tgz --no-save && cd ../vite && npm install ../../../vscode-packages/js-component-explorer/dist/vscode-component-explorer-vite-plugin-0.1.0.tgz --no-save", "symlink-local-component-explorer": "npm install ../vscode-packages/js-component-explorer/packages/explorer ../vscode-packages/js-component-explorer/packages/cli --no-save && cd build/rspack && npm install ../../../vscode-packages/js-component-explorer/packages/webpack-plugin ../../../vscode-packages/js-component-explorer/packages/explorer --no-save && cd ../vite && npm install ../../../vscode-packages/js-component-explorer/packages/vite-plugin ../../../vscode-packages/js-component-explorer/packages/explorer --no-save", "install-latest-component-explorer": "npm install @vscode/component-explorer@next @vscode/component-explorer-cli@next && cd build/rspack && npm install @vscode/component-explorer-webpack-plugin@next @vscode/component-explorer@next && cd ../vite && npm install @vscode/component-explorer-vite-plugin@next @vscode/component-explorer@next" }, "dependencies": { "@anthropic-ai/sdk": "^0.82.0", "@aws-sdk/client-bedrock": "^3.974.0", "@devcontainers/cli": "0.88.0", "@dnd-kit/core": "^6.3.0", "@dnd-kit/sortable": "^10.0.0", "@dnd-kit/utilities": "^3.2.2", "@github/copilot": "1.0.84-4", "@github/copilot-sdk": "1.0.13", "@microsoft/1ds-core-js": "^3.2.13", "@microsoft/1ds-post-js": "^3.2.13", "@microsoft/dev-tunnels-connections": "^1.3.41", "@microsoft/dev-tunnels-contracts": "^1.3.41", "@microsoft/dev-tunnels-management": "^1.3.41", "@microsoft/dev-tunnels-ssh": "^3.12.22", "@microsoft/dev-tunnels-ssh-tcp": "^3.12.22", "@microsoft/mxc-sdk": "0.8.0", "@parcel/watcher": "^2.5.6", "@types/react": "19.2.9", "@types/react-dom": "19.2.3", "@types/semver": "^7.5.8", "@vscode/codicons": "^0.0.46-39", "@vscode/copilot-api": "^0.5.2", "@vscode/deviceid": "^0.1.1", "@vscode/diff": "0.0.2-7", "@vscode/fs-copyfile": "2.0.0", "@vscode/iconv-lite-umd": "0.7.1", "@vscode/native-watchdog": "^1.4.6", "@vscode/os-proxy-resolver": "^0.4.0", "@vscode/policy-watcher": "^1.4.0", "@vscode/proxy-agent": "^0.45.0", "@vscode/ripgrep-universal": "^1.18.0", "@vscode/sandbox-runtime": "0.0.1", "@vscode/spdlog": "^0.15.8", "@vscode/sqlite3": "5.1.12-vscode", "@vscode/sudo-prompt": "9.3.2", "@vscode/tree-sitter-wasm": "^0.3.1", "@vscode/vscode-languagedetection": "1.0.23", "@vscode/windows-mutex": "^0.5.0", "@vscode/windows-process-tree": "^0.8.0", "@vscode/windows-registry": "^1.2.0", "@xterm/addon-clipboard": "^0.3.0-beta.303", "@xterm/addon-image": "^0.10.0-beta.301", "@xterm/addon-ligatures": "^0.11.0-beta.301", "@xterm/addon-progress": "^0.3.0-beta.301", "@xterm/addon-search": "^0.17.0-beta.301", "@xterm/addon-serialize": "^0.15.0-beta.301", "@xterm/addon-unicode11": "^0.10.0-beta.301", "@xterm/addon-webgl": "^0.20.0-beta.300", "@xterm/headless": "^6.1.0-beta.303", "@xterm/xterm": "^6.1.0-beta.304", "ai-config": "file:./ai-lib/packages/ai-config", "ai-credentials": "file:./ai-lib/packages/ai-credentials", "ai-provider-bridge": "file:./ai-lib/packages/ai-provider-bridge", "chrome-remote-interface": "^0.33.0", "colors": "^1.4.0", "he": "^1.2.0", "http-proxy": "^1.18.1", "detect-libc": "^2.1.2", "foundry-local-sdk": "1.2.3", "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.2", "jschardet": "3.1.4", "katex": "^0.16.22", "kerberos": "2.1.1", "mermaid": "^11.14.0", "minimist": "^1.2.8", "modern-screenshot": "^4.7.0", "native-is-elevated": "0.9.0", "native-keymap": "^3.3.5", "node-addon-api": "^6.0.0", "node-pty": "^1.2.0-beta.15", "open": "^10.1.2", "otpauth": "^9.5.1", "playwright-core": "1.61.0-alpha-2026-06-04", "react": "19.2.4", "react-dom": "19.2.4", "react-window": "^1.8.10", "ssh2": "^1.16.0", "tar": "^7.5.20", "tas-client": "0.4.6", "undici": "^7.29.0", "vscode-oniguruma": "1.7.0", "vscode-regexpp": "^3.1.0", "vscode-textmate": "^9.3.2", "ws": "^8.21.1", "yauzl": "^3.3.1", "yazl": "^2.4.3", "zod": "^4.4.3" }, "devDependencies": { "@anthropic-ai/claude-agent-sdk": "0.3.258", "@eslint/compat": "^2.1.0", "@openai/codex": "0.153.0", "@midleman/github-actions-reporter": "^1.10.1", "@midleman/playwright-reporter": "^0.55.1", "@playwright/cli": "^0.1.20", "@playwright/test": "^1.64.0", "@softwarenerd/deemon-ng": "^1.3.0", "@stylistic/eslint-plugin": "^5.10.0", "@types/chrome-remote-interface": "^0.33.0", "@swc/core": "1.3.62", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.6.1", "@types/cookie": "^0.3.3", "@types/debug": "^4.1.5", "@types/eslint": "^9.6.1", "@types/gulp-svgmin": "^1.2.1", "@types/he": "^1.2.0", "@types/http-proxy": "^1.17.15", "@types/http-proxy-agent": "^2.0.1", "@types/js-yaml": "^4.0.9", "@types/kerberos": "^1.1.2", "@types/minimist": "^1.2.1", "@types/mocha": "^10.0.10", "@types/node": "24.x", "@types/react-window": "^1.8.5", "@types/shell-quote": "^1.7.5", "@types/sinon": "^10.0.2", "@types/sinon-test": "^2.4.2", "@types/source-map-support": "^0.5.10", "@types/ssh2": "^1.15.4", "@types/trusted-types": "^2.0.7", "@types/uuid": "^8.3.4", "@types/vscode-notebook-renderer": "^1.72.0", "@types/wicg-file-system-access": "^2023.10.7", "@types/windows-foreground-love": "^0.3.0", "@types/winreg": "^1.2.30", "@types/ws": "^8.18.1", "@types/yargs": "^17.0.34", "@types/yauzl": "^2.10.0", "@types/yazl": "^2.4.2", "@typescript-eslint/utils": "8.66.0", "@typescript/native": "npm:typescript@^7.0.2", "@vitest/coverage-v8": "^4.1.4", "@vscode/component-explorer": "^0.2.1-140", "@vscode/component-explorer-cli": "^0.2.1-143", "@vscode/gulp-electron": "^1.43.0", "@vscode/l10n-dev": "0.0.35", "@vscode/telemetry-extractor": "^1.20.4", "@vscode/test-cli": "^0.0.6", "@vscode/test-electron": "^2.4.0", "@vscode/test-web": "^0.0.81", "@vscode/v8-heap-parser": "^0.1.0", "@vscode/vscode-perf": "^0.0.19", "@webgpu/types": "^0.1.66", "ansi-colors": "^3.2.3", "asar": "^3.0.3", "c8": "^9.1.0", "chromium-pickle-js": "^0.2.0", "cookie": "^0.7.2", "debounce": "^1.0.0", "eslint": "10.8.0", "eslint-formatter-compact": "^8.40.0", "eslint-plugin-header": "3.1.1", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jest-dom": "^5.5.0", "eslint-plugin-jsdoc": "^63.3.3", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-mocha": "^10.4.3", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-testing-library": "^7.16.2", "event-stream": "3.3.4", "fancy-log": "^1.3.3", "glob": "^5.0.13", "gulp": "^4.0.0", "gulp-azure-storage": "^0.12.1", "gulp-bom": "^3.0.0", "gulp-buffer": "0.0.2", "gulp-filter": "^5.1.0", "gulp-flatmap": "^1.0.2", "gulp-gunzip": "^1.0.0", "gulp-gzip": "^1.4.2", "gulp-json-editor": "^2.5.0", "gulp-plumber": "^1.2.0", "gulp-rename": "^1.2.0", "gulp-replace": "^0.5.4", "gulp-sourcemaps": "^3.0.0", "gulp-svgmin": "^4.1.0", "happy-dom": "^20.9.0", "husky": "^0.13.1", "innosetup": "^6.4.1", "istanbul-lib-coverage": "^3.2.0", "istanbul-lib-instrument": "^6.0.1", "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.1", "istanbul-reports": "^3.1.5", "js-yaml": "^4.2.0", "jsonc-parser": "^3.3.1", "lazy.js": "^0.4.2", "merge-options": "^1.0.1", "mime": "^1.4.1", "minimatch": "^3.1.5", "mocha": "^10.8.2", "mocha-junit-reporter": "^2.2.1", "mocha-multi": "^1.1.7", "mocha-multi-reporters": "^1.5.1", "npm-run-all2": "^8.0.4", "os-browserify": "^0.3.0", "p-all": "^1.0.0", "path-browserify": "^1.0.1", "pngjs": "^7.0.0", "pump": "^1.0.1", "rcedit": "^1.1.0", "rimraf": "^2.2.8", "sinon": "^12.0.1", "sinon-test": "^3.1.3", "source-map": "0.6.1", "source-map-support": "^0.5.21", "ts-loader": "^9.5.1", "ts-node": "^10.9.1", "tsec": "0.2.7", "tslib": "^2.6.3", "typescript": "npm:@typescript/typescript6@^6.0.2", "typescript-eslint": "8.66.0", "undici-types": "^6.20.0", "util": "^0.12.4", "vitest": "^4.1.4", "webpack": "^5.105.0", "webpack-cli": "^5.1.4", "webpack-stream": "^7.0.0", "xml2js": "^0.5.0", "yaserver": "^0.4.0" }, "overrides": { "@typescript-eslint/types": "8.66.0", "node-gyp-build": "4.8.1", "kerberos@2.1.1": { "node-addon-api": "7.1.0" }, "serialize-javascript": "^7.0.3", "yauzl": "^3.3.1" }, "repository": { "type": "git", "url": "https://github.com/microsoft/vscode.git" }, "bugs": { "url": "https://github.com/microsoft/vscode/issues" }, "optionalDependencies": { "windows-foreground-love": "0.6.1" }, "packageManager": "npm@10.9.2", "allowScripts": { "bufferutil@4.1.0": true, "cpu-features": false, "foundry-local-sdk@1.2.3": true, "kerberos@2.1.1": true, "koffi@3.1.2": false, "native-keymap@3.3.9": true, "protobufjs@7.6.5": false, "native-is-elevated@0.9.0": true, "node-pty@1.2.0-beta.15": true, "utf-8-validate@5.0.10": true, "windows-foreground-love@0.6.1": true, "@parcel/watcher@2.5.6": true, "@playwright/browser-chromium@1.61.1": true, "@vscode/fs-copyfile@2.0.0": true, "@vscode/native-watchdog@1.4.6": true, "@vscode/ripgrep@1.17.1": true, "@vscode/deviceid@0.1.5": true, "@vscode/policy-watcher@1.4.0": true, "@vscode/spdlog@0.15.8": true, "@vscode/sqlite3@5.1.12-vscode": true, "@vscode/windows-registry@1.2.0": true, "@vscode/windows-mutex@0.5.3": true, "ssh2": false, "fsevents@2.3.2": true, "fsevents@1.2.13": true, "es5-ext": false, "husky": false, "@vscode/windows-ca-certs@0.3.4": true, "@vscode/windows-process-tree@0.8.0": true } }