ATC for Visual Studio Code
VS Code extension for ATC (Agent with Tracked Capabilities). Runs a persistent atc --ide session with an in-process Scala 3 REPL, capture-checked capabilities, classified data isolation, and scoped interactive permission approvals directly inside VS Code.
Features
- Sidebar Chat View (
ATC in the Activity Bar):
- Space-efficient vertical step timeline with full-width user prompt cards, collapsible single-line
Thought for Ns reasoning steps, streaming Markdown with authentic Scala 3 syntax highlighting, neutral inline code chips, and clickable workspace file links (path/to/file.scala:42).
- Collapsible Run execution steps (folded by default after completion,
Ctrl+O to expand all) with full-width syntax-highlighted Scala source (Run / Copy), named texts payloads, live println and command output (Copy + distinct 🔒 Classified strip), and inline colored file diffs.
- Click any modified file in a tool diff to open it at the exact changed line, or click Diff to open VS Code's side-by-side Git diff.
- Inline interactive approval cards for
requestFiles / requestExec / requestNetwork (Allow Once, Allow Session, Always Allow to .atc/config.json, Deny, or Revise…), ask(...) user prompts, createSkill unified diff approvals, tool-call budget continuation, and untrusted project config confirmations.
- First-Use Onboarding: Guides brand-new users seamlessly inside the sidebar — detects missing
atc binaries (with file browser & install command), walks through connecting any built-in provider (Anthropic, OpenAI, ChatGPT browser OAuth, Claude Code, Gemini, Antigravity, DeepSeek, OpenRouter, OpenCode Go) or custom OpenAI/Anthropic-compatible server (Ollama, LM Studio, vLLM), validates credentials & fetches live models, picks a starter model + reasoning effort, and optionally initializes .atc/config.json.
- Floating Bottom Composer Dock: Zero redundant topbar; inline italic ghost predictions (
Tab to accept), + quick-actions menu (@ attach/files, / commands, Ctrl+O expanded view, /cost, /perms), inline searchable Model picker & Reasoning Effort popover (with Session / Project / Global persistence), circular Context % ring, Mode selector (Shift+Tab), ⚙ Configuration sheet, and smart Send (↑) / Stop (■) button.
- Ephemeral Live Tray: Surfaces active Tasks (
◐ 1/3 · current step), Background processes & monitors (● 1p · 1m with floating Kill / Stop sheet), session grants, and queued steers only when active.
- Tabbed Configuration Sheet (
⚙ — General · Providers · Models): Manage providers (add presets or custom servers, update API keys stored owner-only in ~/.atc/keys.properties, sign in with ChatGPT OAuth, toggle providers, shortlist discovered models, add/edit custom models with per-model default effort, context window, and web search), switch & persist default models and effort, adjust live /config settings across Session/Project/Global scopes, or open config.json.
- Hover tooltips explaining all composer, code-block, background, approval, and configuration controls, plus one-click Resume last session on startup and folded
Usage & Context rail disclosures.
- Native Editor & Workbench Integration:
- Status bar item showing sandbox mode (
read-only, local, full), active model, context window usage, and live background processes/monitors.
- Editor context menu commands: Send Selection to Chat, Explain Selection, Fix Diagnostics in File, and Run Selection in ATC Scala REPL (for Scala selections).
- QuickPick commands for switching sandbox mode, model, reasoning effort, classified model (
/classifiedmodel), session/project settings (/config), resuming saved sessions, revoking session grants, managing background processes/monitors, initializing .atc/config.json, and launching ATC in an integrated terminal.
- JSON Schema Validation: IntelliSense and validation for
.atc/config.json (catching unknown keys and invalid values as you edit).
Prerequisites
- JDK 17+ and ATC installed (
atc on PATH or ~/.local/bin/atc), or a local ATC source checkout built with ./mill dist.
- Node.js 22+ to build and package the extension from source.
Installing from GitHub Releases
Every GitHub release attaches a pre-built atc-vscode-<version>.vsix alongside atc.jar and atc-lib.jar:
code --install-extension atc-vscode-<version>.vsix
Or open the Command Palette in VS Code (Cmd+Shift+P / Ctrl+Shift+P), run Extensions: Install from VSIX…, and select the downloaded .vsix file.
Building & Testing
cd vscode
npm install
npm run typecheck
npm run build
npm test
npm test runs both unit tests and a live end-to-end integration test against ../out/dist.dest/atc.jar --ide (when built via ./mill dist at the repo root).
Running in VS Code (Development)
- From the repository root, build the ATC distribution JARs (if not already installed on
PATH):
./mill dist
- Open the
vscode/ folder in VS Code and press F5 (Run Extension).
- In the Extension Development Host window, open any project folder and click the ATC tower icon in the Activity Bar (or press
Cmd+Alt+A / Ctrl+Alt+A).
Packaging & Installing Locally (.vsix)
cd vscode
npm run package
code --install-extension atc-vscode-*.vsix
Settings
| Setting |
Default |
Description |
atc.executablePath |
"" |
Path to atc, start.sh / start.ps1, or atc.jar. Auto-detects checkout start.sh, atc on PATH, ~/.local/bin/atc, or ~/.atc/jars/atc.jar when empty. |
atc.model |
"" |
Initial model override (-m <ref>). |
atc.mode |
"" |
Initial sandbox mode override (readonly, local, full). |
atc.configPath |
"" |
Extra config file merged over ~/.atc/config.json and .atc/config.json (-c). |
atc.jvmMaxHeap |
"" |
JVM max heap size passed to the launcher (e.g. 4g). |
atc.extraArgs |
[] |
Extra CLI arguments passed to ATC. |
atc.autoStart |
true |
Automatically start atc --ide when the ATC Chat view is opened. |
| |