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>
The `resolveLsToolDirPath` function incorrectly stripped leading dots
from paths like `.continue/rules`, converting them to `continue/rules`
which doesn't exist. This broke the ls tool for any hidden directory.
Remove the faulty condition that matched paths starting with "." but
not "./" and stripped their first character. The path resolver handles
these paths correctly without preprocessing.
Fixes#10466
Co-authored-by: Claude <noreply@anthropic.com>
When VirtualFile.toUriOrNull() generates unencoded URIs with spaces,
URI() throws. Fall back to File(path).toURI() which properly encodes
the path.
Fixes#10613
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix: binary/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-TAR-15416075
* chore: bump for snyk dep
---------
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
* fix: core/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-TAR-15416075
* chore: dep bump for snyk
---------
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
* fix: add security check to createNewFile tool (CWE-22)
The createNewFile tool was missing the throwIfFileIsSecurityConcern()
check that readFile already has, allowing path traversal to write
sensitive file types (e.g. .env, SSH keys) via prompt injection.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: upgrade tar-fs to patch CVE-2024-12905 and CVE-2025-59343
core/vendor had tar-fs@2.1.2 (via prebuild-install) and tar-fs@3.0.8,
both in vulnerable ranges. npm audit fix upgraded them.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix: extensions/vscode/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-TAR-15416075
* chore: package lock update for snyk bump
---------
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Added npm overrides to force minimatch@^9.0.7 for all dependencies
that use vulnerable versions (<9.0.7). This addresses:
- SNYK-JS-MINIMATCH-15309438: ReDoS (High Severity)
- SNYK-JS-MINIMATCH-15353387: ReDoS (High Severity)
- SNYK-JS-MINIMATCH-15353389: Inefficient Algorithmic Complexity (High Severity)
The vulnerable minimatch@9.0.5 was introduced as a transitive dependency
of @sentry/profiling-node > @sentry/node.
Generated with [Continue](https://continue.dev)
Co-authored-by: Continue Agent <noreply@continue.dev>