@burtson-labs/agent-adapters-vscode 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +46 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ <div align="center">
2
+ <a href="https://burtson.ai">
3
+ <picture>
4
+ <img src="https://cdn.burtson.ai/logos/bandit-stealth.png" alt="Bandit Stealth" width="150" style="width: 150px !important; max-width: 150px !important; height: auto; display: inline-block;" />
5
+ </picture>
6
+ </a>
7
+
8
+ # @burtson-labs/agent-adapters-vscode
9
+
10
+ **VS Code extension adapter for the Bandit Agent Framework.**
11
+
12
+ Bridges [`@burtson-labs/agent-core`](https://www.npmjs.com/package/@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.
13
+ </div>
14
+
15
+ ---
16
+
17
+ ## <img src="https://api.iconify.design/lucide/package.svg?color=%23a60ee5&width=22" align="absmiddle"> Install
18
+
19
+ ```bash
20
+ pnpm add @burtson-labs/agent-adapters-vscode @burtson-labs/agent-core
21
+ ```
22
+
23
+ ## <img src="https://api.iconify.design/lucide/puzzle.svg?color=%23a60ee5&width=22" align="absmiddle"> What's inside
24
+
25
+ - `VscodeLike` — minimal structural type for the `vscode` namespace so the adapter compiles outside a real extension host (useful in tests)
26
+ - `VscodeAdapterFs` — `workspace.fs` shim used by step executors that read/write files
27
+ - An adapter that streams `AgentEvent`s through `postMessage` so the webview can render plan + diff + log timelines
28
+ - `Buffer` import comes from the `buffer` package so the adapter runs in the extension's Node host without relying on globals
29
+
30
+ ## <img src="https://api.iconify.design/lucide/zap.svg?color=%23a60ee5&width=22" align="absmiddle"> Quick example
31
+
32
+ ```ts
33
+ import * as vscode from "vscode";
34
+ import { createVscodeAdapter } from "@burtson-labs/agent-adapters-vscode";
35
+
36
+ const adapter = createVscodeAdapter({
37
+ vscode,
38
+ postMessage: (msg) => webviewPanel.webview.postMessage(msg)
39
+ });
40
+
41
+ const plan = await adapter.plan("Refactor login flow");
42
+ ```
43
+
44
+ ## License
45
+
46
+ [Apache License 2.0](LICENSE) — Copyright 2026 Burtson Labs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burtson-labs/agent-adapters-vscode",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "VS Code adapter for the Bandit Agent Framework.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@burtson-labs/agent-core": "1.6.13"
21
+ "@burtson-labs/agent-core": "1.6.14"
22
22
  },
23
23
  "scripts": {
24
24
  "prebuild": "pnpm -C ../../.. --filter @burtson-labs/agent-core build",