mirror of
https://github.com/cline/cline.git
synced 2026-10-25 10:26:36 +08:00
`ai` had stayed at 7.0.79 while single `@ai-sdk/*` packages were bumped on their own. Each such bump brought its own `@ai-sdk/provider` / `provider-utils`, whose types no longer unify with the ones `ai` pins, so the hand-off to `ai` needed casts. Bumping `@ai-sdk/openai` alone for #14649 would have added two more. Move `ai` and every `@ai-sdk/*` package to the releases built on `@ai-sdk/provider-utils` 5.0.50 (all published 2026-09-28): ai 7.0.120, gateway 4.0.98, anthropic 4.0.67, google 4.0.84, google-vertex 5.0.97, mistral 4.0.53, openai 4.0.79, openai-compatible 3.0.58, otel 1.0.120, react 4.0.123, provider 4.0.19. Bedrock 5.0.98 is already on this line and stays. One copy of each is left in the lockfile; the only other `ai` is Langfuse's own nested copy, as before. No casts are added. This also fixes #14649: `@ai-sdk/openai` 4.0.79 knows which GPT-6 models can turn reasoning off and drops the setting for the rest, so commit message generation (which always turns reasoning off) and tasks with reasoning set to "none" stop getting a 400 from GPT-6 Astra and 6.1 Sol. GPT-5.x and GPT-6 Sol/Luna still get "none". It fixes #13203 the same way: `@ai-sdk/anthropic` 4.0.67 leaves `thinking` out for Claude models that can't turn thinking off (Fable 5, Opus 5.5) instead of sending `thinking: {type: "disabled"}`, which they reject. Other Claude models still get `disabled`.
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.