🎺 Overview
VS Code extension for Branch Context. Adds a sidebar with the current branch's context, git changes, templates, and AI session pointers, all scoped to the active branch.
⭐ Features
- Sidebar (activity bar) with four views:
- Branch AI Sessions, indexed Codex / Claude Code / Pi sessions with resume, active state, pinning, grouping, source-file open, and delete actions
- Pi does not store Git branch metadata by default; for branch-scoped Pi sessions, first install the Pi package:
pi install git:github.com/lucasvtiradentes/branch-context
- Branch Git Changes, files and commits on the current branch
- Other Branches, list, checkout, archive, and restore contexts
- Config, mode, current branch, base branch, template, CLI info, and issues
- CodeLens, decorations, and document symbols inside
context.md
- Commands for sync, status, set base, apply template, review diff, and more
🚀 Quick Start
- Install the CLI and run
bctx init in your repo (see main README).
- Install this extension from the VS Code Marketplace or Open VSX.
⚙️ Configuration
Default .bctx/config.json:
{
"default_base_branch": "origin/main",
"sound": true,
"commit_description": false
}
📜 License
MIT
| |