Git Overview
xyva.ai includes a fully integrated version control hub that surfaces file changes, diffs, and commit workflows directly inside the studio -- no terminal switching required.
Change Monitoring
The sidebar displays every modified, added, and deleted file in real time. Each entry is colour-coded so you can scan the working tree at a glance:
| Indicator | Meaning |
|---|---|
| Green | Staged for commit |
| Red | Unstaged / modified |
| Grey | Deleted |
| Blue | Newly added (untracked) |
TIP
Click any file row to open the inline diff viewer. Hunks are rendered side-by-side with syntax highlighting for all languages Playwright tests typically touch (TypeScript, JavaScript, JSON, YAML, HTML).
AI Commit Message Generator
When you stage changes, xyva analyses the diff and generates a contextual commit message using your configured AI provider.
- Stage one or more files (checkbox or Stage All).
- Click Generate Message -- xyva sends the diff summary to the AI backend.
- Review and edit the suggested message.
- Press Commit to finalise.
INFO
The generator considers file paths, change types, and test impact. Messages follow the Conventional Commits format (feat:, fix:, chore:, etc.) by default.
Push & Sync
After committing, push directly to your remote from the same panel:
Current Branch: feature/login-tests
Remote: origin (gitlab.example.com)
Ahead: 2 commits
Behind: 0 commits- Push sends local commits to the tracked remote branch.
- Pull fetches and merges upstream changes.
- Sync performs pull then push in one action.
Configuration
Navigate to Settings > Integrations > Git to configure remote access:
| Field | Description |
|---|---|
| GitLab Access Token | Personal or project token with write_repository scope |
| Project ID | Numeric GitLab project identifier |
| Target Branches | Branches available in the branch switcher (comma-separated) |
WARNING
Tokens are stored in the OS keychain via Electron safeStorage. Never commit tokens to your repository.
