Commit graph

6079 commits

Author SHA1 Message Date
Dallin Romney
a34a2fa0ef
Merge pull request #9012 from Cozmopolit/fix/azure-anthropic-support
fix(anthropic): support Azure-hosted Anthropic endpoints
2025-12-08 10:38:31 -08:00
Nate
454da90e15 fix: save session 2025-12-05 15:28:04 -08:00
Nate
da147f9d0a Add comprehensive cost tracking with OpenAI pricing and session usage display 2025-12-05 15:23:21 -08:00
Dallin Romney
a028617cd2
Merge pull request #9030 from continuedev/dependabot/npm_and_yarn/core/multi-d0f6e8601e
chore(deps): bump jws in /core
2025-12-05 12:22:13 -08:00
continue[bot]
d70bdbbf28
Fix readFileRange Kotlin Int overflow in IntelliJ plugin (#8976)
* Fix readFileRange Kotlin Int overflow in IntelliJ plugin

Replace Number.MAX_SAFE_INTEGER with Int.MAX_VALUE (2147483647) to prevent
JSON deserialization errors in IntelliJ plugins.

The issue occurred because JavaScript's Number.MAX_SAFE_INTEGER (2^53 - 1)
exceeds Kotlin's Int maximum value (2^31 - 1), causing the following error:
'java.lang.NumberFormatException: Expected an int but was 9007199254740991'

This change ensures compatibility with Kotlin's Int type while still reading
to the end of each line as intended.

Fixes #8517

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>

* Trigger CI re-run

The previous CI failure was a flaky test in the CLI extension, unrelated to our changes.

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>

* Extract magic number into MAX_CHAR_POSITION constant

Improve code maintainability by defining the Kotlin Int.MAX_VALUE as a
named constant with clear documentation.

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>

* Trigger CI re-run for flaky tests

Flaky UI tests failing intermittently on macOS (Node 18, 20) but passing
on all other platforms. Tests are unrelated to readFileRange changes.

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>

* Fix flaky CLI UI tests on macOS

Increase timeouts for UI rendering tests on macOS to prevent race conditions.
The tests were failing intermittently on macOS with Node 18/20 due to
insufficient wait times for UI stabilization.

Changes:
- Double timeouts on macOS in TUIChat.fileSearch.test.tsx
- Add extra 100ms wait on macOS in TUIChat.slashCommands.test.tsx
- Tests now pass consistently across all platforms

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>

* fix: revert test changes

---------

Co-authored-by: continue[bot] <continue[bot]@users.noreply.github.com>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-12-05 12:13:39 -08:00
dependabot[bot]
c55fbf96cb
chore(deps): bump jws in /core
Bumps  and [jws](https://github.com/brianloveswords/node-jws). These dependencies needed to be updated together.

Updates `jws` from 3.2.2 to 3.2.3
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianloveswords/node-jws/compare/v3.2.2...v3.2.3)

Updates `jws` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianloveswords/node-jws/compare/v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: jws
  dependency-version: 3.2.3
  dependency-type: indirect
- dependency-name: jws
  dependency-version: 4.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-05 19:04:37 +00:00
Nate Sesti
37b4702d25
Merge pull request #9008 from continuedev/pe/onboarding
feat: simplify hub onboarding
2025-12-04 14:07:35 -08:00
Cozmopolit
9e8bfcd939 fix(anthropic): support Azure-hosted Anthropic endpoints 2025-12-04 22:33:27 +01:00
Aditya Mitra
61f0ba011c
feat: use google/genai sdk for streaming gemini & vertex responses (#8907)
* add @google/genai

* refactor Gemini adapter to use the sdk

* refactor vertexai adapter to use genai sdk

* use openai adapter for gemini and vertex in core

* reinit package-lock

* fix: package lock

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-12-04 13:03:57 -08:00
Dallin Romney
80a33ef162
chore: mcp 1.24.0 (#8974)
* chore: bump mcp

* chore: update mcp

* fix: linting
2025-12-04 12:58:28 -08:00
Patrick Erichsen
e0fa57749d feat: simplify onboarding card 2025-12-04 10:10:40 -08:00
uinstinct
079ad17062 fix tests 2025-12-04 18:36:15 +05:30
uinstinct
4dab4b04ef Merge branch 'main' into find-replace-mismatch 2025-12-04 17:57:20 +05:30
Dallin Romney
c6fc60bd20
Merge pull request #8973 from mcowger/mcowger/fixJSONcontents
fix: handle JSON contents of create_new_file
2025-12-03 14:40:40 -08:00
uinstinct
0086509a4d add tests in findSearchMatches.test 2025-12-03 18:29:38 +05:30
uinstinct
4f5d318194 Merge branch 'main' into find-replace-mismatch 2025-12-03 18:25:24 +05:30
dependabot[bot]
ccce47523c
chore(deps): bump mdast-util-to-hast from 13.2.0 to 13.2.1 in /core
Bumps [mdast-util-to-hast](https://github.com/syntax-tree/mdast-util-to-hast) from 13.2.0 to 13.2.1.
- [Release notes](https://github.com/syntax-tree/mdast-util-to-hast/releases)
- [Commits](https://github.com/syntax-tree/mdast-util-to-hast/compare/13.2.0...13.2.1)

---
updated-dependencies:
- dependency-name: mdast-util-to-hast
  dependency-version: 13.2.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-03 05:29:15 +00:00
Dallin Romney
5908d184ca fix: tool support tests 2025-12-02 13:14:02 -08:00
Dallin Romney
7b036c66a2 chore: sonnet 4.5 preference 2025-12-02 12:35:27 -08:00
Matt Cowger
e04c21f9c8 Address comments from @RomneyDa 2025-12-02 20:28:45 +00:00
Dallin Romney
886c0a4741 merge main 2025-12-02 12:25:02 -08:00
Matt Cowger
a3810024c6 Add tests to match. 2025-12-02 20:15:10 +00:00
Matt Cowger
5f14a2fa66 fix: handle JSON contents of create_new_file
Handle case where JSON content was parsed into an object by the tool call parser.  If the arguments to the tool call are valid JSON (e.g. the model attempts to create a .json file) the earlier call to JSON.parse() will have deeply parsed the returned contents. If that has happened, convert back to string.

Fixes: #8972
2025-12-02 20:08:26 +00:00
uinstinct
c05dcffc2a add tests 2025-12-02 18:52:24 +05:30
uinstinct
ac476cc028 fix: add case insensitive match strategy for find and replace 2025-12-02 18:52:09 +05:30
Dallin Romney
60879a5474
Merge pull request #8956 from continuedev/dallin/pin-vectordb
fix: HOTFIX pin vectordb
2025-12-01 14:55:59 -08:00
Dallin Romney
51a374c4fe fix: pin vectordb 2025-12-01 14:29:44 -08:00
Dallin Romney
814cc205fb fix: unify cwd and add missing case 2025-11-27 02:29:13 -08:00
Aditya Mitra
fc5606cc3a
feat: select org profile on sign in (#8859)
* feat: select org profile on sign in

* reset inside cascade init

* reset only when personl
2025-11-27 01:44:55 -08:00
Aditya Mitra
a20e11227f
Merge pull request #8830 from uinstinct/ripgrep-regex
fix: regular expressions in ripgrep
2025-11-27 01:43:17 -08:00
dependabot[bot]
b5b13bee4e
chore(deps): bump node-forge from 1.3.1 to 1.3.2 in /core
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.3.1 to 1.3.2.
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-version: 1.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-26 23:13:47 +00:00
Dallin Romney
e13c68d2dc Merge branch 'main' of https://github.com/continuedev/continue into uinstinct/gemini-3-support 2025-11-25 22:39:42 -08:00
Dallin Romney
8407c1e1b7
Merge pull request #8867 from continuedev/dallin/terminal-cwd-fix
fix: HOTFIX only set cwd to workspace dir for file URIs
2025-11-25 22:26:46 -08:00
Dallin Romney
ff335487aa merge: main 2025-11-25 20:39:59 -08:00
Dallin Romney
5e55f59c09
Merge pull request #8793 from uinstinct/rule-add-dialog
feat: allow renaming rule before creation
2025-11-25 20:34:44 -08:00
Dallin Romney
b024fa8d70
Merge branch 'main' into gemini-3-support 2025-11-25 12:32:43 -08:00
Dallin Romney
180604ff02
Merge pull request #8865 from uinstinct/gemini-thought-signature
feat: add support for gemini thought signature
2025-11-25 12:06:56 -08:00
Dallin Romney
0fd1594e2b
Merge pull request #8832 from uinstinct/gpt-5.1-support
chore: add support for gpt 5.1
2025-11-25 12:02:28 -08:00
Dallin Romney
3b7b21b45a
Merge pull request #8831 from uinstinct/grok-4.1-support
chore: add support for grok 4.1 fast
2025-11-25 12:01:09 -08:00
dependabot[bot]
22fa102709
chore(deps): bump body-parser from 2.2.0 to 2.2.1 in /core
Bumps [body-parser](https://github.com/expressjs/body-parser) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-version: 2.2.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-25 18:22:18 +00:00
Continue
ed0a6714ed test: add comprehensive tests for isRecommendedAgentModel function
Added tests for Gemini 3 Pro model recognition and other agent models.
Tests cover:
- OpenAI o1/o3/o4 models
- DeepSeek R1/Reasoner models
- Gemini 2.5 and 3.x Pro models (including new gemini-3-pro-preview)
- Claude Sonnet 3.7+ and Opus 4 models
- xAI Grok Code models
- Case insensitivity and edge cases

Co-authored-by: nate <nate@continue.dev>
2025-11-25 13:08:25 +00:00
uinstinct
a8a19625b3 add in cometapi 2025-11-25 18:28:57 +05:30
uinstinct
4717748ca5 add tool support for gemini 3 2025-11-25 18:23:02 +05:30
uinstinct
ba64c1a2dc refactor duplicate condition 2025-11-25 09:19:40 +05:30
uinstinct
450b6470b3 Merge branch 'main' into rule-add-dialog 2025-11-25 09:10:44 +05:30
uinstinct
fc9c49b218 fix types in core gemini llm 2025-11-25 08:59:39 +05:30
Dallin Romney
462e7168bd fix: terminal cwd tests 2025-11-24 15:12:20 -08:00
Continue Agent
857903aa5b Add test coverage for runTerminalCommand cwd handling with non-file URIs
Tests verify that the fix correctly:
- Filters for file:// URIs before calling fileURLToPath
- Falls back to HOME/USERPROFILE/cwd/tmpdir when no file URIs exist
- Handles various workspace configurations (empty, non-file URIs, mixed)
- Works across different remote environments (local, WSL, dev-container)

Co-authored-by: nate <nate@continue.dev>

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
2025-11-24 21:56:19 +00:00
Dallin Romney
4837ef1352 fix: only set cwd to file URI if file uri found 2025-11-24 13:49:29 -08:00
Dallin Romney
7c369e0ac9 fix: only set cwd to file URI if found 2025-11-24 13:49:10 -08:00