{"id":50975610,"url":"https://github.com/edgelesssys/privatemode-vscode","last_synced_at":"2026-06-19T07:32:34.758Z","repository":{"id":351991989,"uuid":"1072918462","full_name":"edgelesssys/privatemode-vscode","owner":"edgelesssys","description":"A VS Code extension for confidential coding assistance via Privatemode.","archived":false,"fork":false,"pushed_at":"2026-04-17T11:29:21.000Z","size":6725,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-17T12:26:22.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edgelesssys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-09T11:43:11.000Z","updated_at":"2026-04-17T11:29:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/edgelesssys/privatemode-vscode","commit_stats":null,"previous_names":["edgelesssys/privatemode-vscode"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/edgelesssys/privatemode-vscode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgelesssys%2Fprivatemode-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgelesssys%2Fprivatemode-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgelesssys%2Fprivatemode-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgelesssys%2Fprivatemode-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgelesssys","download_url":"https://codeload.github.com/edgelesssys/privatemode-vscode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgelesssys%2Fprivatemode-vscode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34522035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-19T07:32:33.864Z","updated_at":"2026-06-19T07:32:34.742Z","avatar_url":"https://github.com/edgelesssys.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Privatemode AI for GitHub Copilot\n\n![Preview](https://img.shields.io/badge/status-preview-yellow)\n\nEnable confidential AI coding features with [Privatemode](https://www.privatemode.ai) in VS Code's GitHub Copilot Chat. Privatemode uses Confidential Computing to keep your prompts end-to-end encrypted—even Privatemode itself cannot access them in plaintext. Developed by [Edgeless Systems](https://www.edgeless.systems/).\n\n\u003e **⚠️ Preview:** This extension is currently in preview. Features and APIs may change as we gather feedback and improve the extension.\n\n## ⚡ Quick start for developers\n\n1. Clone the repository and open it in VS Code (\u003e= v1.104.0).\n2. Install dependencies and build the extension:\n\n   ```bash\n   npm install\n   npm run compile\n   ```\n\n3. Launch a development host (F5) which starts an Extension Development Host with the extension pre‑loaded.\n4. Ensure the Privatemode Proxy is running locally on `localhost:8080` (see the proxy guide below).\n5. Open the VS Code **Chat** view, select the model picker → **Manage Models…**, and choose **Privatemode** as the provider.\n6. (Optional) Add an API key if your proxy is configured without one.\n\n### Useful scripts\n\n* **`npm run compile`** – Compiles the TypeScript source files into JavaScript (placed in the `out/` directory) using the project’s `tsconfig.json`. Required before running, testing, or packaging the extension.\n* **`npm run watch`** – Starts the TypeScript compiler in watch mode; it automatically recompiles whenever a source file changes, which is handy during active development.\n* **`npm run lint`** – Executes ESLint across the code base, reporting style violations and potential bugs according to the configured linting rules.\n* **`npm run format`** – Formats all source files with Prettier, enforcing a consistent code style throughout the project.\n* **`npm run test`** – First runs `npm run compile`, then launches VS Code in a head‑less test runner (`@vscode/test-cli`) and executes the Mocha test suite located in `src/test/`. The command exits with a non‑zero status if any test fails.\n\n## 🏠 Privatemode Proxy\n\nThe [Privatemode Proxy](https://docs.privatemode.ai/architecture/client-side) is a self‑hosted service that serves as your local API endpoint for the Privatemode API. It handles encryption of prompts, decryption of responses, and verification of the remote Privatemode deployment through attestation.\n\n## 📦 Packaging and installing\n\nTo package the extension and install it in your local VS Code instance:\n\n1. Install the VSCE tool (if you haven't already):\n\n   ```bash\n   npm install -g @vscode/vsce\n   ```\n\n2. Package the extension:\n\n   ```bash\n   npm run package\n   ```\n\n3. Install the packaged extension:\n\n   ```bash\n   npm run install:local\n   ```\n\n4. (Optional) Uninstall the extension:\n\n   ```bash\n   code --uninstall-extension edgeless-systems.privatemode-vscode\n   ```\n\n## 📚 Learn more\n\n* [Privatemode](https://docs.privatemode.ai/)\n* [VS Code Chat Provider API](https://code.visualstudio.com/api/extension-guides/ai/language-model-chat-provider)\n\n## 🤝 Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\nThis extension is based on the [Hugging Face VS Code Chat extension](https://github.com/huggingface/huggingface-vscode-chat).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgelesssys%2Fprivatemode-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgelesssys%2Fprivatemode-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgelesssys%2Fprivatemode-vscode/lists"}