Node.js v20 entered Maintenance LTS six months ago. Update the version
from v20.19.0 (released over a year ago) to v20.20.1, the latest LTS
release this month.
This ensures the project leverages recent Node.js improvements,
including security updates, and stays on a supported LTS track.
fix(registryClient): handle relative file paths more robustly
First attempt to resolve relative paths against current working directory before falling back to rootPath. This provides better flexibility when files are not located relative to rootPath.
* feat(cli): discover .continue/checks/ in cn review
The README and quickstart docs tell users to create check files in
.continue/checks/, but cn review only discovered files from
.continue/agents/. This caused a broken onboarding path where users
following the docs would get zero reviews when testing locally.
resolveFromLocal() now reads from both .continue/agents/ and
.continue/checks/, deduplicating by filename. Files in agents/ take
precedence if the same filename exists in both directories.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(cli): correct readdirSync mock types in resolveReviews tests
Cast mock implementations with `as typeof fs.readdirSync` instead of
returning `as unknown as fs.Dirent[]`. The CI lint step runs
`tsc --noEmit` which caught the type mismatch.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix: add default timeout for terminal command tool execution
Terminal commands with waitForCompletion=true had no timeout, risking
indefinite hangs. Adds a 2-minute default timeout with graceful
SIGTERM -> 5s grace period -> SIGKILL escalation. Both streaming
and non-streaming code paths are covered. The SIGKILL timer is
properly cleared if the process exits during the grace period.
* fix: correct process running check and clear SIGKILL timer
Replace `childProc.killed` with `exitCode === null && signalCode === null`
for accurate process-state detection, and clear sigkillTimeoutId in error
handlers to prevent delayed kills after rejection.
Applied to both streaming and non-streaming paths.
---------
Co-authored-by: amabito <192487536+amabito@users.noreply.github.com>
Co-authored-by: amabito <amabito@local>
* fix: include reasoning_content field for DeepSeek Reasoner models
DeepSeek Reasoner API requires the reasoning_content field on every
assistant message, even when no thinking message precedes it (e.g. in
resumed sessions). Previously, appendReasoningFieldsIfSupported returned
early when prevMessage was missing or not a thinking role, causing 400
"Missing reasoning_content field" errors. Now reasoning_content defaults
to an empty string when no thinking content is available.
Fixes#11285
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: use stripImages instead of typecast for MessageContent
Replace `as string` typecasts with stripImages() which safely handles
both string and MessagePart[] content types.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
When the extension runs in the Local Extension Host on Windows while
connected to a remote workspace (SSH, Dev Container, etc.),
getWorkspaceDirs() returns vscode-remote:// URIs. These cannot be used
as a cwd for child_process.spawn(), causing "spawn cmd.exe ENOENT"
when starting MCP stdio servers.
Fall back to the user's home directory for non-file:// URIs so the
spawn has a valid local working directory.
Fixes#10842
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Local models respond to the existing single-sentence Apply prompt with
prose summaries instead of code. Return ChatMessage[] with explicit
code-only instructions and assistant prefill to force code output.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add Tensorix as an LLM provider
Adds Tensorix (https://tensorix.ai) as a new OpenAI-compatible
provider, giving users access to DeepSeek, Llama 4, Qwen, GLM,
and other models through a single API key.
Changes:
- New LLM class (core/llm/llms/Tensorix.ts)
- Registered in LLM index and config schema
- Added to VS Code extension config schema
- Added to GUI provider selection with AUTODETECT
* Fix missing commas in config_schema.json for tensorix entries
Co-authored-by: openhands <openhands@all-hands.dev>
* feat: address reviewer feedback for Tensorix provider
- Add tensorix to openai-adapters (types.ts + index.ts)
- Add tensorix to PROVIDER_HANDLES_TEMPLATING, PROVIDER_SUPPORTS_IMAGES,
and PARALLEL_PROVIDERS in autodetect.ts
- Add docs page for Tensorix under more providers
- Add tensorix to docs.json navigation
Co-authored-by: openhands <openhands@all-hands.dev>
---------
Co-authored-by: openhands <openhands@all-hands.dev>
The terminal command display hardcoded a `$ ` before every command.
This is a Unix shell convention with no meaning on Windows (PowerShell,
cmd) and doesn't reflect the user's actual shell. Since the command is
already visually distinct inside a labeled Terminal block, the prefix
adds no information and is misleading cross-platform.
Closes#11428
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* refactor: unify AbortError detection with isAbortError utility
AbortError detection was scattered across 3+ patterns (string
comparison, .name check, .code check). Consolidates into a single
isAbortError() utility that handles all known patterns: "cancel"
string, DOMException, Error.name variants, ABORT_ERR code, and
plain objects. Updates call sites in core/llm/index.ts and
core/llm/utils/retry.ts.
* fix: use exact match for AbortError name, add null guard, improve tests
- Changed .includes("AbortError") to === "AbortError" to preserve
original exact-match semantics at L505 and retry.ts call sites
- Added null/undefined early return to prevent TypeError on
"name" in null
- Unified DOMException branch to use exact match consistently
- Tests: removed 4 redundant same-branch duplicates, added 12 new
cases (case sensitivity, empty string, non-string name, partial
name boundary, DOMException negative, plain object code asymmetry,
boolean, frozen object, Error subclass, TypeError)
- Fixed DOMException test skip from expect(true).toBe(true) to
it.skipIf
* fix: replace == null with === null || === undefined (eqeqeq)
---------
Co-authored-by: amabito <192487536+amabito@users.noreply.github.com>
Co-authored-by: amabito <amabito@local>
* fix: terminal URL link detection now captures port numbers in IP addresses
The link regex was designed for domain names and broke on IP:port URLs like
http://192.168.137.1:8081, only linkifying up to the IP without the port.
Simplified the http/https branch to match everything after the protocol
until whitespace.
Closes#11368
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* test: validate link href attributes in terminal URL test
The text-only assertion wouldn't catch a regression where the URL
appears in output but the <a> href is truncated (e.g. missing port).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* style: fix prettier formatting on link regex
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
fix: harden system message tools instructions and wire toolOverrides to system message path
The system message tools path (used when models don't support native tool
calling) had two issues:
1. Weak format instructions - the prefix/suffix used vague prose that local
models often ignored, reverting to XML or JSON tool call formats from
their training priors. Replaced with explicit numbered rules that
prohibit alternative formats.
2. toolOverrides silently ignored - applyToolOverrides() existed and ran on
the native tools path (in BaseLLM.streamChat), but was never called on
the system message path. Config YAML toolOverrides for disabled and
description had no effect when tools were injected via system message.
Fixed by:
- Strengthening systemMessagePrefix/Suffix in toolCodeblocks framework
- Adding toolOverrides to ModelDescription interface and serialization
- Calling applyToolOverrides() in streamNormalInput before both paths
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
fix: docs/package.json & docs/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ORPCCLIENT-15426550
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
* chore(deps): bump systeminformation in /extensions/vscode
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 5.30.6 to 5.30.8.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases)
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v5.30.6...v5.30.8)
---
updated-dependencies:
- dependency-name: systeminformation
dependency-version: 5.30.8
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix package-lock.json sync issues
Add back missing @types/node and undici-types peer dependencies that were
removed by dependabot but are still required by inquirer and vite-node packages.
The original dependabot PR incorrectly removed these peer dependency entries,
causing npm ci to fail in CI with 'Missing from lock file' errors.
Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: RomneyDa <RomneyDa@users.noreply.github.com>
Co-authored-by: Continue <noreply@continue.dev>
fix: guard BASH_SOURCE[0] against unbound variable in CLI install script
Add missing ':-' default value guard to the first BASH_SOURCE[0]
reference on line 327, matching the pattern already used in the
second reference on the same line. Without this guard, piping the
script via 'curl | bash' fails immediately with 'unbound variable'
under set -u.
Fixes#11268
Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
fix: silently hide MCP UI on errors instead of showing broken content
When an MCP UI app can't handle a tool's data (e.g. server tags
non-UI tools with ui/resourceUri), hide the UI rather than showing
confusing error messages. Changes:
- Return null on error instead of rendering red error box
- Wrap sendToolInput/sendToolResult in try/catch
- Hide UI when MCP app reports error/critical via bridge logging
fix: update broken /mission-control/workflows links to /mission-control/beyond-checks
The /mission-control/workflows path redirects away and is not a navigable
page. Update all references to point to /mission-control/beyond-checks,
which is the actual docs page covering agents, triggers, and workflows.
Closes#10641
When VS Code runs on Windows host with a WSL remote workspace, selecting
an agent config from .continue/agents/ fails because localPathOrUriToPath
cannot resolve the vscode-remote:// URI to a local path, causing
fs.existsSync to return false and falling through to the deprecated JSON
config loader.
The fix passes pre-read content (already available in
overrideAssistantFile.content) through the PackageIdentifier, and checks
for it before the fs.existsSync gate. This reuses the content bypass
added to RegistryClient in PR #9739.
Fixes#10450
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
fix: packages/continue-sdk/package.json & packages/continue-sdk/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NESTJSCORE-15365922
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>