Some checks failed
CI — Chrome / Chrome — typecheck, test, build (pull_request) Has been cancelled
CI — CLI / CLI — typecheck, build, smoke (pull_request) Has been cancelled
CI — Website / Website — typecheck, build (pull_request) Has been cancelled
CI — VS Code / VS Code — typecheck, build (pull_request) Has been cancelled
- Implemented SiteHeader and SiteFooter components for consistent navigation and footer across the website. - Created CommunityPage and ContributePage to provide information on community involvement and contribution guidelines. - Developed DocsPage to serve as the main documentation hub, detailing features and installation instructions. - Added HomePage to introduce LexAI and its functionalities, highlighting key features and privacy aspects. - Established links.ts for centralized management of external links used throughout the website. - Configured main.tsx for application entry point with React Router for navigation. - Introduced styles.css for consistent styling across the website. - Set up TypeScript configuration files for improved type checking and development experience. - Configured Vite for building and serving the website.
3.9 KiB
3.9 KiB
LexAI for VS Code — Install & Deploy
Installable package (already built)
| Item | Value |
|---|---|
| File | packages/vscode/lexai-vscode-1.0.0.vsix |
| Extension id | JuanKibin.lexai-vscode |
| Rebuild | from repo root: npm run vscode:package |
A. Install from the Marketplace (recommended)
LexAI on the Visual Studio Marketplace — search LexAI or:
code --install-extension JuanKibin.lexai-vscode
B. Install on your machine (sideload)
VS Code
- Rebuild if needed:
npm run vscode:package(repo root). - Open VS Code → Extensions (
Ctrl+Shift+X). …menu (top of Extensions) → Install from VSIX…- Pick
packages/vscode/lexai-vscode-1.0.0.vsix. - Reload when prompted.
- LexAI: Open Settings → set provider + API key.
Cursor
Same flow: Extensions → … → Install from VSIX… → select the .vsix.
CLI (optional)
# VS Code
code --install-extension packages\vscode\lexai-vscode-1.0.0.vsix
# Cursor (if `cursor` CLI is on PATH)
cursor --install-extension packages\vscode\lexai-vscode-1.0.0.vsix
Share with teammates
Send them the .vsix file (email, Drive, Slack, release artifact). They use Install from VSIX… — no Marketplace account required.
B. Publish to the Visual Studio Marketplace (public)
So anyone can install via search: “LexAI”.
1. Create a publisher
- Go to https://marketplace.visualstudio.com/manage
(sign in with a Microsoft account). - Create a publisher whose id matches
package.json→"publisher": "JuanKibin".- The Marketplace publisher id must be exactly
JuanKibin(case-sensitive).
- The Marketplace publisher id must be exactly
- Under the publisher, create a Personal Access Token (Azure DevOps):
- Organization: all accessible / the one tied to Marketplace
- Scopes: Marketplace → Manage
- Copy the token once.
2. Login & publish
cd packages\vscode
npx vsce login JuanKibin
# paste the PAT when prompted
npm run package
npx vsce publish
# or: npx vsce publish patch # bumps 1.0.0 → 1.0.1 and publishes
"private" is false so Marketplace publish is allowed.
3. After publish
- Listing:
https://marketplace.visualstudio.com/items?itemName=JuanKibin.lexai-vscode - Users install from Extensions search, or:
code --install-extension JuanKibin.lexai-vscode
4. Version bumps
Edit version in packages/vscode/package.json (or use vsce publish patch|minor|major), rebuild/package, publish again. Keep README/DEPLOY in sync with the version you ship.
C. Optional: Open VSX (Cursor / VSCodium catalogs)
Some editors prefer Open VSX instead of (or in addition to) the Microsoft Marketplace.
- Create an account at https://open-vsx.org.
- Create an access token in your profile.
- Publish:
cd packages\vscode
npm run package
npx ovsx publish lexai-vscode-1.0.0.vsix -p <OPEN_VSX_TOKEN>
(npx ovsx uses the ovsx CLI; install once with npm i -D ovsx if you prefer.)
D. Checklist before a public release
- Manual smoke: Code Assist + one writing action + API key in Secret Storage
npm run vscode:typecheckandnpm run vscode:packagesucceed- Publisher id is yours and matches
package.json "private": falsefor Marketplace- Add
"repository"URL inpackage.jsonwhen the repo is public (clears the vsce warning) - Confirm LICENSE is correct for your org
Quick reference
| Goal | Command / action |
|---|---|
Build .vsix |
npm run vscode:package (repo root) |
| Install locally | Extensions → Install from VSIX… |
| Publish Marketplace | npx vsce login JuanKibin then npx vsce publish |
| Publish Open VSX | npx ovsx publish <file.vsix> -p <token> |