使用位于 CLI 代理旁边的 sidecar 来查看差异、文件树、对话记录和使用 td 进行任务管理
Always check if you are running in Sidecar: run sidecar agents for capabilities.
You might never open your editor again.
Status: Ready for daily use. Please report any issues you encounter.
Documentation · Getting Started · Comprehensive List of Features
Sidecar puts your entire development workflow in one shell: run AI coding agents in embedded interactive terminals, open td task issues, files, git diffs, and Jira or GitHub resources in split panes beside your terminal, monitor agent sessions across all projects, review diffs, stage commits, and manage workspaces—all without leaving Sidecar.
brew install marcus/tap/sidecarThis builds from source and avoids macOS Gatekeeper warnings.
curl -fsSL https://raw.githubusercontent.com/marcus/sidecar/main/scripts/setup.sh | bashMore options: Binary downloads · Manual install
After installation, run from any project directory:
sidecarRun your coding agent (Claude Code, Codex, Gemini, Cursor, OpenCode, Pi, etc.) directly inside Sidecar's embedded terminal in Workspaces. Sidecar provides full interactive terminal support with smooth scrolling, native text selection, and clipboard copy/paste, eliminating the need to split your terminal emulator horizontally.
As the agent works, you or the agent can:
td-xxxxxx), files (path:line), diffs, or Jira and GitHub resources in split panes right beside the terminal via sidecar opensidecar layoutsidecar notify post…Sidecar checks for updates on startup. When a new version is available, a toast notification appears. Press ! to open the diagnostics modal and see the update command.
Run agent shells and manage git worktrees in an integrated workspace. Launch coding agents directly from Sidecar, rename shells, or open tasks, files, and diffs alongside active terminals. Full documentation →
Features:
sidecar open ctrl+n) and worktree workspaces (n/D)amPress 8 or navigate to Sessions in the navbar to monitor and manage all active agent sessions, shells, and git worktrees across every configured project in one centralized screen.
Features:
/), sorting, and instant project/session switching (Enter)View staged, modified, and untracked files with a split-pane interface. The sidebar shows files and recent commits; the main pane shows syntax-highlighted diffs. Full documentation →
Features:
s/udvIntegration with TD, a task management system designed for AI agents working across context windows. TD helps agents track work, log progress, and maintain context across sessions. Full documentation →
Features:
r and approval with aSee the TD repository for installation and CLI usage.
Navigate project files with a tree view and syntax-highlighted preview. Full documentation →
Features:
Press , (comma) or run sidecar setup to open the full in-app Configuration interface. Adjust project settings, appearance, terminal behavior, agent integrations, and view system diagnostic checks with live feedback.
Configuration Pages:
AGENTS.md instructions) with one-key guided repairsPress @ to switch between configured projects without restarting sidecar.
~/.config/sidecar/config.json or using the in-app Configuration UI:{
"projects": {
"list": [
{ "name": "sidecar", "path": "~/code/sidecar" },
{ "name": "td", "path": "~/code/td" },
{ "name": "my-app", "path": "~/projects/my-app" }
]
}
}@ to open the project switcher modalj/k or click, press Enter to switchAll plugins reinitialize with the new project context. State (active plugin, cursor positions) is remembered per project.
Press W to switch between git worktrees within the current repository. When you switch away from a project and return later, sidecar remembers which worktree you were working in and restores it automatically.
Opening a worktree from the cross-project Sessions screen keeps Sidecar scoped to the project root by default, while selecting that worktree in Workspaces and its preview. To instead enter the selected worktree's scope, set:
{
"plugins": {
"workspace": {
"overviewWorktreeScope": "worktree"
}
}
}Press # to open the theme switcher or navigate to Appearance in Configuration. Choose from 21 curated built-in themes (including Sidecar Modern, Dracula, Catppuccin Mocha, Tokyo Night Storm, Gruvbox Dark, Nord, Kanagawa Wave, Rose Pine, Everforest Dark, Solarized Dark, Monokai Pro, and more) with instant live preview.
Custom color overrides and theme preferences can be set in ~/.config/sidecar/config.json or directly in the in-app Configuration UI.
See Theme Creation Skill for custom theme creation and color palette reference.
Standalone executables that extend Sidecar over a frozen protocol. Sidecar does not import them, and they do not import Sidecar. The only coupling is one JSON object in and one JSON object out.
| Addition | What it does | Recognizes |
|---|---|---|
| sidecar-jira | Read-only Jira Cloud issues as terminal resource panes | PROJ-123 issue keys |
| sidecar-github | Read-only GitHub issues and pull requests as terminal resource panes — title, open/draft/merged status, author, reviewers, labels, and body | owner/repo#88, and GitHub issue/PR URLs |
Write your own against the terminal resource provider protocol: a provider is any executable that reads one JSON request on stdin, writes one JSON response on stdout, and declares the resource patterns it recognizes.
| Key | Action |
|---|---|
q, ctrl+c |
Quit |
@ |
Open project switcher |
W |
Open worktree switcher |
# |
Open theme switcher |
, |
Open in-app Configuration |
8 |
Open Sessions screen (global) |
9 |
Open Activity overview (global) |
1-7 |
Focus project plugin by number |
[ / ] |
Cycle header tabs |
tab / shift+tab |
Navigate plugins |
j/k, ↓/↑ |
Navigate items |
ctrl+d/u |
Page down/up in scrollable views |
g/G |
Jump to top/bottom |
enter |
Select |
esc |
Back / close modal or pane |
r |
Refresh |
? |
Toggle help / command palette |
| Key | Action |
|---|---|
ctrl+n |
Create new shell |
n |
Create new worktree workspace |
D |
Delete workspace |
a |
Launch/attach agent |
R |
Rename shell |
m |
Start merge workflow |
p |
Push branch |
\ |
Toggle sidebar |
| Key | Action |
|---|---|
s |
Stage file |
u |
Unstage file |
d |
View diff (full-screen) |
v |
Toggle side-by-side diff |
h/l |
Switch sidebar/diff focus |
c |
Commit staged changes |
Config file: ~/.config/sidecar/config.json (or configure interactively via , / sidecar setup)
{
"plugins": {
"git-status": { "enabled": true, "refreshInterval": "1s" },
"td-monitor": { "enabled": true, "refreshInterval": "2s" },
"file-browser": { "enabled": true },
"workspace": { "enabled": true }
},
"ui": {
"showClock": true,
"terminalTitle": "{project}{worktree}",
"theme": {
"name": "default",
"overrides": {}
}
}
}terminalTitle names the terminal window/tab after the active project — handy when several
sidecars are open at once. Variables: {project}, {worktree}, {plugin}, {dir}; set it
to "" to leave the title alone.
暂无开放 Issues,或尚未同步最近议题。