A Codex-style native sidebar chat experience in VS Code for Factory Droid CLI.
Note: This is an unofficial community VS Code extension that connects to your locally installed droid CLI via its native stream-jsonrpc protocol.
Features
Native Sidebar Panel: Drag the Droid view into your Secondary Side Bar right alongside Chat, Claude Code, or Codex.
Codex-Style Conversation Flow:
Streaming Markdown responses with one-click code copy and clickable file links.
Collapsible tool activity rows (已读取文件 / 运行了命令 / 编辑了文件) with inline stdout/stderr inspection and Git Diff jump.
Automatic context compaction notices and live working status indicators.
Full Droid Session Control:
Switch models dynamically from your Droid account's available model list.
Switch autonomy levels (Off / Low / Medium / High) and reasoning effort (Low / Medium / High / Max) inline.
Interactive permission approval cards when running in lower autonomy modes.
Follow-up message queueing and one-click interrupt/stop.
Session history list with resume support per workspace.
VS Code Editor Integration:
Quick-attach active file chip and @ workspace file picker.
Right-click any editor selection (Ctrl+Alt+L / Cmd+Alt+L) to attach code lines directly to Droid.
Prerequisites
Install and authenticate Factory Droid CLI locally so that droid runs in your terminal.
Open any folder/workspace in VS Code.
Extension Settings
droidSidebar.executablePath: Path to the droid CLI binary (default: "droid", auto-detects ~/bin/droid.exe and ~/.local/bin/droid as fallback).
droidSidebar.defaultAutonomyLevel: Default autonomy level for new sessions (off | low | medium | high).
droidSidebar.includeActiveFileContext: Show a quick-attach chip for the active editor file.
Tip: Place Next to Codex / Claude Code
Right-click the Droid icon in the Activity Bar or drag the Droid view title bar into VS Code's Secondary Side Bar (top-right panel) so it sits side-by-side with Chat, Claude Code, and Codex.