1000 B
1000 B
apps/examples/vscode (@cline/vscode)
VS Code extension that opens a chat webview and runs Cline sessions over the RPC runtime.
What it does
- Opens a webview panel via
Cline: Open Chat in Editor. - Ensures a compatible owner-scoped RPC sidecar by running
cline rpc ensure --json. - Starts/sends/aborts chat turns using RPC runtime methods (
StartRuntimeSession,SendRuntimeSession,AbortRuntimeSession). - Streams runtime events into the webview for incremental assistant output.
Requirements
clinemust already be installed and available onPATH.- A provider/model should be configured in Cline provider settings.
Development
# Build extension bundle
bun -F @cline/vscode build
# Typecheck
bun -F @cline/vscode typecheck
To run locally in VS Code:
- Build the extension:
bun -F @cline/vscode build. - Open
apps/examples/vscodein VS Code. - Press
F5to launch the Extension Development Host. - Run command
Cline: Open Chat in Editor.