Devora VS Code Extension
Client extension for the Devora AI Code Review platform.
Features
Devora: Push & Analyze
- Runs
git push
- Collects repository, branch, commit SHA, changed files, and diff
- Calls
POST /api/v1/reviews/from-vscode
Devora: Analyze Current Branch
- Uses current branch state without pushing
- Calls the same Devora API endpoint
- Devora side panel in VS Code activity bar with latest queued analysis info
Configuration
Set in VS Code settings:
devora.apiUrl
- Example:
http://135.125.100.150:8000 (current IP mode)
- Later:
https://api.dev-ora.tn
devora.apiToken
- Sent as
X-Devora-Token.
- Must match backend
VSCODE_EXTENSION_API_TOKEN when configured.
devora.projectId (optional)
- Devora project UUID.
- If empty, backend resolves project by
owner/repo.
Backend Requirements
This extension expects backend endpoint:
POST /api/v1/reviews/from-vscode
Auth behavior:
- If
VSCODE_EXTENSION_API_TOKEN is set in backend, extension must send the same token in devora.apiToken.
- If token is not set and backend auth enforcement is off, ingestion still works.
- If token is not set and backend auth enforcement is on, endpoint is blocked by design.
Build
npm install
npm run compile
Optional package:
npm run package
| |