Some checks failed
CI — Test & Build / Test & Build (push) Has been cancelled
- Implemented a status bar item for LexAI with dynamic status updates (ready, processing, notReady). - Created a suggestion panel for displaying and interacting with AI-generated suggestions. - Added functionality for accepting, regenerating, and discarding suggestions within the suggestion zone. - Introduced configuration options for writing style, prompt patterns, personas, and formats. - Integrated progress indicators for long-running tasks and improved user feedback. - Established TypeScript configuration for the vscode package.
1.7 KiB
1.7 KiB
Project memory
Curated long-term knowledge. Hard cap: 60 lines of entries.
Verified facts
- LexAI has two clients: Chrome MV3 (repo root / WXT) and VS Code (
packages/vscode). - Portable core:
src/lib/providers.ts,actions.ts,types.ts. Chrome-only:crypto.ts,messaging.ts. - Providers: OpenAI, Anthropic, Groq, OpenRouter — routed by
callProvider/PROVIDER_SPECS. - VS Code v1: Command Palette + editor context submenu; API key in Secret Storage; prefs
lexai.provider|model|writingStyle. - Selection minimum length for actions:
MIN_SELECTION_LENGTH(10) insrc/lib/actions.ts. - Chrome message listener must
return truefor async replies; snapshot selection beforeawait.
Conventions
- Style Chrome UI with inline styles (Tailwind not wired).
- Prefer encrypted Chrome key path; keep plaintext
apiKeyfallback until migration. - VS Code must not import
@lib/cryptoor@lib/messaging. - Root scripts:
vscode:install,vscode:build,vscode:typecheck,vscode:package.
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 content / background / options / popup | entrypoints/ |
| Shared lib | src/lib/ |
| VS Code extension | packages/vscode/src/extension.ts |
| VS Code bundle | packages/vscode/out/extension.js |
| Model lanes | docs/MODEL_ROUTING.md |
Expiring notes
- None yet.
Consolidation log
| Date | Action | Reason |
|---|---|---|
| 2026-08-13 | Seeded after VS Code v1 | /project-init stubs + port |