Curie Text2SQL Assistant
VS Code sidebar extension frontend for the Curie Text2SQL backend.
Requirements
The FastAPI backend must run separately. From the repository root:
uvicorn backend.main:app --reload
The extension uses http://localhost:8000 by default. You can change this in VS Code with the dbAssistant.backendUrl setting.
Development
Install dependencies and build the extension:
npm install
npm run build
Run the extension from VS Code with the Run VS Code Extension debug configuration in the repository root. Curie appears as an icon in the Activity Bar. You can also run Curie: Open Text2SQL Assistant from the command palette to focus the sidebar.
Packaging
Build an installable VSIX:
npm run package
Install it with:
code --install-extension db-assistant-0.0.1.vsix
Then open the Curie icon in the Activity Bar or run Curie: Open Text2SQL Assistant from the command palette.