Files
cline/apps/examples/vscode
Tomás BarreiroandSaoud Rizwan 220a21bdcf Move sdk/apps/ to apps/ (#11200)
* Move the apps to the root dir

* Update all references from sdk/apps/ to apps/

* Update dependencies

* Install bun types

* Fix types

* Fix types

* Fix linter

* Ingore apps from vscode

* Fix security warning

* Fix windows install

* Enable windows dev mode

* Revert "Enable windows dev mode"

This reverts commit a46c99282e.

* Revert "Ingore apps from vscode"

This reverts commit 47f7b265d2.

* Revert "Fix windows install"

This reverts commit 1dabba1556.

* update the repo root

* fix root dir

* fix path

* fix other path

* Fix unrelated changes

* fix: address apps move follow-up blockers (#11228)

* fix: update root app command paths

* fix: include moved apps in root checks

* fix: clean up moved app path references

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2026-06-03 01:49:57 +02:00
..
2026-06-03 01:49:57 +02:00
2026-06-03 01:49:57 +02:00
2026-06-03 01:49:57 +02:00
2026-06-03 01:49:57 +02:00
2026-06-03 01:49:57 +02:00

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

  • cline must already be installed and available on PATH.
  • 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:

  1. Build the extension: bun -F @cline/vscode build.
  2. Open apps/examples/vscode in VS Code.
  3. Press F5 to launch the Extension Development Host.
  4. Run command Cline: Open Chat in Editor.