mirror of
https://github.com/cline/cline.git
synced 2026-10-30 18:12:49 +08:00
* rename folders * fix examples reorg references * move over files * having agent fixing and validating all examples are still working * fix sidecar paths --------- Co-authored-by: abeatrix <beatrix@cline.bot>
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. - Ensures a compatible owner-scoped RPC sidecar by running
clite 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
clitemust 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 RPC Chat.