@burtson-labs/agent-adapters-vscode
v1.0.6
Published
VS Code adapter for the Bandit Agent Framework.
Downloads
53
Readme
@burtson-labs/agent-adapters-vscode
VS Code extension adapter for the Bandit Agent Framework.
Bridges @burtson-labs/agent-core to the VS Code workspace API — filesystem reads/writes via workspace.fs, URI handling via Uri.file, status messages via window.showInformationMessage, and event posting to a webview.
Install
pnpm add @burtson-labs/agent-adapters-vscode @burtson-labs/agent-coreWhat's inside
VscodeLike— minimal structural type for thevscodenamespace so the adapter compiles outside a real extension host (useful in tests)VscodeAdapterFs—workspace.fsshim used by step executors that read/write files- An adapter that streams
AgentEvents throughpostMessageso the webview can render plan + diff + log timelines Bufferimport comes from thebufferpackage so the adapter runs in the extension's Node host without relying on globals
Quick example
import * as vscode from "vscode";
import { createVscodeAdapter } from "@burtson-labs/agent-adapters-vscode";
const adapter = createVscodeAdapter({
vscode,
postMessage: (msg) => webviewPanel.webview.postMessage(msg)
});
const plan = await adapter.plan("Refactor login flow");License
Apache License 2.0 — Copyright 2026 Burtson Labs.
