SilkCodex VS Code Extension
This extension loads the local SilkCodex UI inside a VS Code webview (Activity Bar view + command) and wires it to your local query.py.
Quick start
- Open the folder that contains your
bankcodex directory.
- In VS Code, run: SilkCodex: Open UI.
- The SilkCodex view appears in the Activity Bar.
- Ask questions in the webview.
Settings
silkcodex.root: Path to your bankcodex folder (leave empty to auto-detect).
silkcodex.pythonPath: Python executable (default: python).
silkcodex.ollamaUrl: Ollama base URL for model listing.
silkcodex.queryTop: number of evidence chunks returned per query.
Developer run
- Open
bankcodex/vscode-extension in VS Code.
- Press F5 to launch Extension Development Host.
- Run SilkCodex: Open UI.
Notes
- The UI uses your local
bankcodex/scripts/query.py so responses include evidence.
- Model selection is passed via
BANKCODEX_MODEL to query.py.
- Use Attach in the UI to capture the current editor selection as context.
- Click evidence lines to open the source file at the referenced location.
| |