Starter Turborepo for building:
- a VS Code extension host bridge,
- a browser/Chrome extension bridge,
- and a reusable
agentlyTypeScript library.
A lightweight bridge client with pluggable transports.
import {
createBridgeClient,
VscodeTransport,
WindowTransport
} from "@agently/bridge";
const client = createBridgeClient([
new VscodeTransport(),
new WindowTransport()
]);
client.notify("prompt.send", { text: "change the background to blue" });A local bridge server + prompt queue panel inside VS Code.
- Starts an HTTP server on
127.0.0.1:<agently.bridgePort>(default43110) - Accepts
POST /agently/promptpayloads from browser integrations - Queues prompts in an Agently panel
- Applies the next queued prompt to the active editor via command
A Manifest V3 content-script extension that enables Shift + left-click prompting on local pages.
- Intercepts
Shift + left-click - Shows an inline prompt panel at cursor location
- Collects clicked element context (
selector,htmlSnippet,pageUrl) - Sends payload to local VS Code bridge endpoint
A simple React dashboard with card components inspired by your reference layout (without complex charts).
- Uses
@agently/bridgein-app - Sends sample
prompt.sendevents from card actions - Works with the Chrome extension + VS Code extension bridge flow
- Start VS Code extension host and run command Agently: Open Prompt Panel.
- Load unpacked extension from
apps/chrome-extensionin Chrome. - Run the demo app (
pnpm --filter demo-react-app dev) and open its local URL. - Hold Shift, left-click an element, enter prompt, click Send.
- In VS Code run Agently: Apply Next Queued Prompt.
{
"text": "change the background to blue",
"source": "chrome-extension",
"context": {
"selector": "#hero",
"pageUrl": "http://localhost:3000/",
"htmlSnippet": "<section id=\"hero\">..."
}
}channel: always"agently"id: unique message idrequestId: set on responses and equals original requestidtype: event type (prompt.send,prompt.result, etc.)payload: event-specific object