Commit graph

21555 commits

Author SHA1 Message Date
Nate
68d2702077 fix(ci): sync vscode lockfile, fix core type error, run prettier
- Regenerate extensions/vscode/package-lock.json so `npm ci` is in sync
  (fixes vscode-checks, vscode-get-test-file-matrix,
  vscode-package-extension-linux, build-and-upload-vsix, jetbrains-tests)
- Replace deprecated fs.rmdirSync(..., {recursive}) with fs.rmSync in core
  test global setup (fixes core-checks tsc TS2554)
- Apply prettier formatting to README.md and core test setup files
  (fixes prettier-check)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 18:04:28 -07:00
Nate
0d6f8ecfe6 docs: remove Checks section and Hub references
- Remove the 'Checks' section from README (continuedev/checks); the
  docs/checks pages and nav were already removed in this branch.
- Drop Continue Hub references from docs:
  - customize/model-roles/edit.mdx: remove 'explore models in the hub' link
  - cli/quickstart.mdx: reword --rule/--mcp/--model/--agent flag docs to
    not reference the hub

Verified docs-site builds (341 static pages) and all nav slugs resolve.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 16:45:24 -07:00
Ty Dunn
3ee10e7eae
code friends 2026-06-06 16:42:53 -07:00
Ty Dunn
efd3a2e2da
no dark stack yet 2026-06-06 16:40:40 -07:00
Ty Dunn
c3213d0be6
style letter to the community 2026-06-06 16:39:44 -07:00
Ty Dunn
0bbfbec87a
shorten documentation sentence 2026-06-06 16:35:01 -07:00
Nate
c21843805e Merge upstream continuedev/continue main into continue-fork
Resolve conflicts preserving the fork's removals (Hub/Mission Control/
control-plane/continue-proxy/MDM) while integrating upstream changes:
- core/llm/toolSupport.ts(.test.ts): drop reintroduced continue-proxy entry
- core/config/ConfigHandler.ts: keep upstream 'configs' file type + Promise.all,
  use fork's LocalProfileLoader signature (no controlPlaneClient)
- core/core.ts: keep upstream models/fetch handler; drop mdm/setLicenseKey
  handler (control-plane/mdm was removed by the fork)
- core/package-lock.json, binary/package-lock.json: regenerated via npm install

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 16:33:24 -07:00
Nate Sesti
672672d0cc
Merge pull request #9 from TyDunn/update-readme 2026-06-06 15:58:28 -07:00
Nate Sesti
0e7cce8772
Update deprecation expiration date to September 2026 2026-06-06 15:36:57 -07:00
Ty Dunn
740e537a3c Update README
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 15:53:21 -07:00
Nate Sesti
cb273098d9
Merge pull request #12156 from RomneyDa/add-mercury-2 2026-04-16 20:27:48 -07:00
Dallin Romney
b576e39998 fix: tighten Inception provider copy and drop redundant comment
Describe Mercury 2 as a diffusion model and scope the provider blurbs
to Mercury 2 specifically rather than a Mercury family.
2026-04-16 18:18:25 -07:00
Dallin Romney
0858623d77 Merge remote-tracking branch 'upstream/main' into add-mercury-2 2026-04-16 18:12:06 -07:00
Dallin Romney
e1d37af825 feat: add Inception Labs mercury-2 model support
Register mercury-2 (128k context, tool-calling) and mercury-edit-2 in
llm-info, add Inception Labs provider to the GUI Add Chat Model form,
and flag mercury-2 as tool-capable in PROVIDER_TOOL_SUPPORT.
2026-04-16 18:12:01 -07:00
Nate Sesti
9f9ded770a
Merge pull request #12046 from RomneyDa/dynamic-model-fetching
feat: fetch provider models dynamically and fix isOpenSource pollution
2026-04-07 22:15:17 -07:00
Dallin Romney
bcd29eb0ec feat: unified dynamic model fetching for all providers 2026-04-05 22:15:28 -07:00
Nate Sesti
a1ead04122
Merge pull request #11991 from RomneyDa/feat/openrouter-headers-core-llm 2026-04-01 20:03:03 -07:00
Dallin Romney
cc4b809787 refactor: export OPENROUTER_HEADERS from openai-adapters and import in core
Deduplicates the header constants by having a single source of truth in
the openai-adapters package.
2026-04-01 12:51:58 -07:00
Dallin Romney
25186c7bcb refactor: use X-OpenRouter-Title and add X-OpenRouter-Categories header
- Replace X-Title with X-OpenRouter-Title (the newer official header)
- Add X-OpenRouter-Categories: ide-extension for marketplace attribution
- Use "Continue" as the title (the product name)
2026-04-01 12:48:14 -07:00
Dallin Romney
43540d058c feat(openrouter): send HTTP-Referer and X-Title headers in core/llm OpenRouter class
Adds the same HTTP-Referer and X-Title headers from the openai-adapters
OpenRouter class (#11857) to the core/llm OpenRouter class, ensuring all
OpenRouter requests are identified as coming from Continue.dev.

Also updates X-Title from "Continue" to "Continue.dev" in both the
openai-adapters and core/llm OpenRouter classes.

User-configured requestOptions.headers take precedence over the defaults.
2026-04-01 12:44:01 -07:00
Dallin Romney
d971363a7e
chore: vs code 1.3.39, jetbrains 1.0.68 (#11939) 2026-03-27 15:01:20 -07:00
Nate Sesti
91dde4e39a
Merge pull request #11938 from continuedev/pr-thingy 2026-03-27 15:00:59 -07:00
Dallin Romney
c9123dbecd fix: remove unnecessary version bump/PR step from prerelease workflow
The version is bumped manually prior to release, so the automated
version bump and PR creation in the publish job is unnecessary and
was causing the workflow to report as failed despite successful publishing.
2026-03-27 14:55:10 -07:00
Dallin Romney
294ba934db
fix: redirect Winston logger to stderr to prevent IPC stream corruption + fix binary tests (#11914) 2026-03-27 14:03:06 -07:00
Nate Sesti
a3dbeb346b
Merge pull request #11935 from continuedev/configs-support 2026-03-27 14:02:49 -07:00
Dallin Romney
8747c5f528 fix: use Promise.all instead of Promise.allSettled to propagate errors 2026-03-27 13:49:10 -07:00
dependabot[bot]
866452f3e4
chore(deps): bump path-to-regexp from 0.1.12 to 0.1.13 in /packages/continue-sdk (#11937)
chore(deps): bump path-to-regexp in /packages/continue-sdk

Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 0.1.12 to 0.1.13.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/v.0.1.13/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.12...v.0.1.13)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-version: 0.1.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 13:47:46 -07:00
dependabot[bot]
66aebe12b8
chore(deps-dev): bump handlebars from 4.7.8 to 4.7.9 in /packages/fetch (#11936)
Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.8 to 4.7.9.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.9/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.8...v4.7.9)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 13:47:44 -07:00
Matt Van Horn
ae32a1b865
feat: filter session history by workspace directory (#11813)
* feat: filter session history by workspace directory

Add optional workspaceDirectory field to ListHistoryOptions so callers
can scope session lists to a specific workspace. Filtering is
case-insensitive and applied before pagination. Omitting the field
preserves the existing behavior of returning all sessions.

Fixes #9936

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address bot review - typeof guard and test coverage

- Use typeof check instead of truthiness for workspaceDirectory to
  handle malformed session metadata safely
- Rename test to match actual coverage (limit only)
- Add separate test for combined limit+offset with workspace filter

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 13:41:29 -07:00
dependabot[bot]
79b8910f5d
chore(deps-dev): bump brace-expansion from 1.1.12 to 1.1.13 in /binary (#11930)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.12 to 1.1.13.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.12...v1.1.13)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 13:38:38 -07:00
dependabot[bot]
8c3f321c51
chore(deps-dev): bump brace-expansion from 1.1.12 to 1.1.13 in /core (#11931)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.12 to 1.1.13.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.12...v1.1.13)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 13:38:06 -07:00
dependabot[bot]
444303d52f
chore(deps-dev): bump handlebars from 4.7.8 to 4.7.9 in /packages/config-yaml (#11913)
chore(deps-dev): bump handlebars in /packages/config-yaml

Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.8 to 4.7.9.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.9/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.8...v4.7.9)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 13:35:32 -07:00
dependabot[bot]
40e2674aae
chore(deps-dev): bump handlebars from 4.7.8 to 4.7.9 in /packages/llm-info (#11912)
chore(deps-dev): bump handlebars in /packages/llm-info

Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.8 to 4.7.9.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.9/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.8...v4.7.9)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 13:35:25 -07:00
dependabot[bot]
0044c9c682
chore(deps): bump handlebars from 4.7.8 to 4.7.9 in /core (#11911)
Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.8 to 4.7.9.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.9/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.8...v4.7.9)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.9
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 13:35:16 -07:00
dependabot[bot]
8f1ebd2c82
chore(deps-dev): bump happy-dom from 20.0.2 to 20.8.9 in /extensions/cli (#11910)
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 20.0.2 to 20.8.9.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v20.0.2...v20.8.9)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-version: 20.8.9
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 13:35:09 -07:00
Dallin Romney
9080d5b5b4 refactor: use Promise.allSettled for parallel config directory loading 2026-03-27 13:02:58 -07:00
Dallin Romney
890fe91d6d feat: add .continue/configs as a third config directory
Add support for loading local profiles from .continue/configs/ alongside
the existing .continue/agents/ and .continue/assistants/ directories.
2026-03-27 12:59:32 -07:00
Patrick Erichsen
8225bff02d Merge remote-tracking branch 'upstream/main'
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 10:25:37 -07:00
Dallin Romney
d220a2e370
chore: jb-67-vs-38 (#11916) 2026-03-26 18:20:04 -07:00
Dallin Romney
fd7ade8f3f
fix: ensure config.yaml exists and is populated when accessed (#11915)
* fix: ensure config.yaml exists and is populated when accessed

- Opening a config profile (gear icon) now creates config.yaml with
  defaults if the file is missing, matching startup behavior
- Empty config.yaml files are detected and populated with default config
  instead of causing parse errors

* refactor: improve readability of config existence check
2026-03-26 18:19:54 -07:00
Patrick Erichsen
b58af57c5c update deprecation banner: info style, scrollable on chat, shown in settings content area
- Change alert from warning (yellow) to info (blue) styling
- Move banner inside chat scroll container so it scrolls away
- Render banner in settings page content area (not above sidebar)
- Make banner dismissable on all pages
- Update text to "v2.0.0", buttons side-by-side with primary export button
- Add "Learn more" secondary button

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 18:01:20 -07:00
Dallin Romney
16a540c337
fix: remove Ollama template-based tool support gate (#11905)
* fix: let explicit capabilities.tools override Ollama template tool detection

The Ollama provider checks the model template from /api/show for a
`.Tools` placeholder to decide whether to pass tools to the API. For
newer models (e.g. qwen3.5) whose templates may not yet include
`.Tools`, this silently strips tools from the request — even when the
user explicitly sets `capabilities: tools: true` in config.yaml.

Use nullish coalescing so an explicit capabilities.tools setting always
wins, with the template heuristic as a fallback.

* remove verbose comments

* remove templateSupportsTools check; trust upstream tool support detection

* fix: remove extra blank line to pass prettier check
2026-03-26 16:52:20 -07:00
Dallin Romney
a067fedfdc
chore: jb-66-vs-37 (#11909) 2026-03-26 16:48:22 -07:00
Patrick Erichsen
0dbc79abee update depreciation banner 2026-03-26 15:42:33 -07:00
Taras Malinovskii
c5490d97ea
fix(intellij): handle square brackets in file paths for autocomplete (#11474)
* fix(intellij): handle square brackets in file paths for autocomplete

Use File.toURI() instead of URI constructor for Windows two-slash
file:// URIs to properly percent-encode special characters like [ ].
Fixes #10978.

* test(intellij): strengthen Windows URI assertions for bracket encoding

Verify that square brackets are percent-encoded and drive letter
and directory structure are preserved in parsed URI path.

* fix(intellij): make Windows bracket test cross-platform

The CI runs on Linux where C: is not a drive letter.
Assert that brackets are encoded and structure is preserved
without platform-specific path assumptions.

* fix: use cross-platform URI constructor instead of File.toURI()

File.toURI() is platform-dependent — on non-Windows hosts it treats
Windows drive paths (e.g. C:/Users/...) as relative paths, producing
corrupted URIs. The multi-arg URI(scheme, host, path, fragment)
constructor is pure RFC 2396 string manipulation and works identically
on all platforms.

Also strengthens the Windows bracket test with exact equality assertions
instead of loose contains/assertFalse checks.

* chore: remove verbose comments for minimal diff

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-03-26 15:12:38 -07:00
Patrick Erichsen
a6499333b0 Merge remote-tracking branch 'upstream/main' 2026-03-26 14:59:45 -07:00
Dallin Romney
afd5e5e18f
fix: chunk large JCEF messages to prevent JetBrains sidebar freezes (#11899)
* fix: chunk large JCEF messages to prevent JetBrains sidebar freezes

When session data exceeds ~1MB (e.g. long conversations with many context
items), sendToWebview embeds the entire JSON payload in a single
executeJavaScript call. JCEF's JS parser/compiler cannot handle source
strings that large and freezes the IDE.

This adds a chunked sending path: payloads over 1MB are base64-encoded,
split into 512KB chunks sent as individual executeJavaScript calls that
each append to a buffer variable, then a final call decodes and dispatches
the reassembled message via window.postMessage. Each individual call is
trivial for JCEF to parse, and V8 handles the string concatenation and
final JSON.parse without issue.

Messages under 1MB (the vast majority) take the existing fast path unchanged.

* chore: trim verbose comments

* fix: clean up partial chunk buffer on failure

* fix: use array join instead of string concat for JCEF chunk reassembly

Replaces O(n²) string concatenation (+=) with O(n) array push + join
for JS-side chunk buffering. Extracts script generation into testable
buildChunkScripts() and adds unit tests for chunking logic.

* perf: increase chunk size from 512KB to 2MB

Reduces IPC round-trips by 4x (e.g. 7 calls instead of 26 for 10MB).
Safe because chunks are trivial JS with pure Base64 string literals.

* fix: decode chunked messages as UTF-8 to prevent mojibake

atob() returns Latin-1, so multi-byte UTF-8 characters (em dashes,
accented letters, CJK, emoji) were mangled. Use TextDecoder to
properly decode UTF-8 bytes after base64 decoding.
2026-03-26 14:59:21 -07:00
Dallin Romney
afb6b2111c
fix: prevent responseListeners memory leak in CoreMessenger (#11901)
Response listeners were only removed when data contained `"done": true`,
but most message types (file events, autocomplete, nextEdit, etc.)
return responses without a `done` field. This caused every fire-and-forget
request to leak its callback lambda permanently in the map.

Over a long session with heavy autocomplete and file navigation, this
could accumulate hundreds of thousands of entries (40-100+ MB).

Fix: invert the removal logic — remove the listener by default, and
only keep it when `done == false` (i.e., a streaming response is still
in progress). This preserves existing streaming behavior while ensuring
all non-streaming responses are cleaned up immediately.
2026-03-26 14:59:09 -07:00
Patrick Erichsen
d335ac1db1 Merge upstream continuedev/continue main (47 commits)
Includes: ClawRouter provider, JetBrains stability fixes, security
vulnerability patches, docs improvements, and dependency bumps.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 14:58:21 -07:00
Nate Sesti
49b7de09ac
Merge pull request #4 from continuedev/nate/cleanup
THX: Eliminate free trial, migrate docs site, document secrets
2026-03-26 14:37:29 -07:00