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.
2.0 KiB
2.0 KiB
Project memory
Curated long-term knowledge. Hard cap: 60 lines of entries.
Verified facts
- LexAI monorepo:
packages/{chrome,vscode,cli,website}; sharedsrc/lib. - Portable core:
providers.ts,actions.ts,types.ts. Chrome-only:crypto.ts,messaging.ts. - Providers: OpenAI, Anthropic, Groq, OpenRouter —
callProvider/PROVIDER_SPECS. - VS Code: Secret Storage; Code Assist; prefs
lexai.*. - CLI:
lexai prompt;LEXAI_API_KEYrequired; optionalLEXAI_PROVIDER/LEXAI_MODEL;~/.lexai/config.jsonnever holds apiKey. - Chrome entrypoints:
packages/chrome/entrypoints/; build →packages/chrome/.output/chrome-mv3/. - Selection minimum:
MIN_SELECTION_LENGTH(10). ChromeonMessagemustreturn true; snapshot beforeawait.
Conventions
- Style Chrome UI with inline styles (Tailwind not wired).
- Prefer encrypted Chrome key path; keep plaintext
apiKeyfallback until migration. - VS Code / CLI must not import
@lib/cryptoor@lib/messaging. - Root scripts:
install:all,chrome:*,vscode:*,cli:*.
Environment quirks
- Node 22 pinned in CI;
npx wxt preparerequired before Chrome typecheck on fresh clone. - PowerShell may not accept
&&— chain with; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }.
Key paths and entry points
| What | Where |
|---|---|
| Chrome entrypoints | packages/chrome/entrypoints/ |
| Shared lib | src/lib/ |
| VS Code | packages/vscode/ |
| CLI | packages/cli/ |
| Website | packages/website/ (Vite React; Home, Docs, Contribute, Community) |
| OSS meta | root README.md, LICENSE, CONTRIBUTING.md, CODE_OF_CONDUCT.md |
| Issue/PR templates | .gitea/ISSUE_TEMPLATE/, .gitea/PULL_REQUEST_TEMPLATE.md |
| CI workflows | .gitea/workflows/ci-{chrome,vscode,cli,website}.yml (no deploy/release yet) |
Expiring notes
- None yet.
Consolidation log
| Date | Action | Reason |
|---|---|---|
| 2026-08-13 | Seeded after VS Code v1 | /project-init stubs + port |