1.40.0 (2026-01-31)
Bug Fixes
- account for different tokenizers (b4bc3ae)
- add missing cancelStream call and return for non-retryable errors (c391353)
- also show underlying provider for open github issue (0b7fe48)
- cli: flaky hub loader tests (2fb8830)
- command fixed in contributing file (#9715) (a21eb15)
- compact conversation with dangling tool calls (b33b8a4)
- compaction updates part 2 (d18c6f0)
- core/package.json to reduce vulnerabilities (8ca79b9)
- duplicate tool messages (77a2f12)
- eslint (50adea3)
- eslint import unresolved (ccd0b74)
- linting issue mising parallel count (c0a9309)
- Local setup screen input text is black on dark background (363292b)
- pass GITHUB_TOKEN to vscode e2e tests for ripgrep download (b8586d6)
- pass pre-read content to RegistryClient for WSL compatibility (#9739) (38aae62), closes #6242 #7810
- prevent waiting for the session to load from history (9fcc332)
- Replace console.debug with logger in exit tool (b65f440)
- resolve IDE Extensions tab navigation in docs (7129415)
- resolve MDX parsing error in run-agents-locally guide (7074a50)
- Set isComplete metadata when agents finish execution (65a1e15)
- show full right side gradient border (7f46011)
- simplify config error (e3a8711)
- skip cmd.exe wrapping for MCP servers when Windows host connects to WSL (1219985), closes #9151 #9679
- support object-type arguments in tool call parsing (82f6f69)
- tool permissions for MCP and bash in headless (998cb76)
- update ide-extensions link to point to quick-start page (b73fefe)
- upgrade @c15t/react from 1.8.1 to 1.8.2 (9b192e4)
- upgrade @huggingface/jinja from 0.1.3 to 0.5.3 (e5afc41)
- upgrade @tiptap/extension-mention from 2.26.1 to 2.27.1 (8835b11)
- upgrade @tiptap/extension-paragraph from 2.26.1 to 2.27.1 (43a759d)
- upgrade @tiptap/extension-text from 2.26.1 to 2.27.1 (aeee9b9)
- upgrade posthog-js from 1.297.2 to 1.310.1 (14a5336)
- upgrade react-hook-form from 7.62.0 to 7.69.0 (5e9d88a)
- upgrade systeminformation from 5.27.14 to 5.30.0 (6516b9c)
- upgrade ws from 8.18.0 to 8.19.0 (418fd03)
- upgrade yaml from 2.8.1 to 2.8.2 (810598b)
- use ide.runCommand when Windows host connects to WSL (c565bdc), closes #9661
- use underlying provider name for stream errors (cb83600)
Features
- Add new OVHcloud models (9c2ffde)
- cli: agent skills (3ab5b59)
- cli: detect wsl and spawn appropriate shell (a9ae420)
- Edit documentation (a6e5ef4)
- error for large files with informative message rather than truncating (d87dd57)
- proportional output truncation for read and bash (c754289)
- retry overloaded errors (2fccf3a)