Commit graph

15735 commits

Author SHA1 Message Date
Nate
f659aa69bb Bump version to 1.1.70 2025-07-28 18:36:22 -07:00
Nate Sesti
07a0e511ef
Merge pull request #6841 from continuedev/nate/sys-msg-tools-by-default
System message tools by default for OpenRouter
2025-07-28 18:35:36 -07:00
Nate
2fc7106c6f test: skip next edit e2e test due to flake 2025-07-28 18:17:25 -07:00
Nate Sesti
35a09386ca
Merge pull request #6836 from continuedev/pe/auto-assign-cleanup
chore: remove unused workflow
2025-07-28 18:12:29 -07:00
Nate
763e5f8736 try to fix tests again 2025-07-28 17:57:31 -07:00
Nate
b9a3901920 remove o1-preview (deprecated) from tests 2025-07-28 17:25:40 -07:00
Nate
bdda704a60 another fix 2025-07-28 17:18:35 -07:00
Nate
ffb8b4bb06 fix: type error 2025-07-28 17:11:43 -07:00
Nate
ec0d7deb54 feat: use system message tools for default for openrouter, except with claude 2025-07-28 16:54:47 -07:00
Nate Sesti
3dfe00dd27
Nate/oneper-main (#6838)
* update oneper to by default download build from man

* republish instead of rebuilding

* deafult to a pr

* undo auto-release for now

* force install in oneper

* update oneper

* don't run on this branch

* feat: setup-cron and remove-cron
2025-07-28 16:38:04 -07:00
Nate Sesti
72b7791b5e
Merge pull request #6723 from continuedev/dallin/system-message-tools
feat: System Message tools
2025-07-28 15:31:20 -07:00
Nate Sesti
d5a4c66605
Merge pull request #6646 from continuedev/nate/continue-sdk-more-routes
Nate/continue-sdk-more-routes
2025-07-28 13:44:30 -07:00
Patrick Erichsen
ae04dec876 chore: remove unused workflow 2025-07-28 13:39:49 -07:00
Nate Sesti
19a2aa40b6
Merge pull request #6614 from continuedev/nate/bring-back-signin-button
Revert "remove accountbutton"
2025-07-28 13:34:51 -07:00
Tomasz Stefaniak
6ca9c60e66
Merge pull request #6573 from continuedev/nate/onboarding-improvements-p1
fix: Onboarding / assistant switcher improvements
2025-07-28 13:27:51 -07:00
Tomasz Stefaniak
3b615634db
Merge pull request #6680 from continuedev/dallin/remove-get-configs
chore: remove getWorkspaceConfigs
2025-07-28 13:21:57 -07:00
Tomasz Stefaniak
fc481a1a2c
Merge pull request #6731 from continuedev/dallin/local-blocks-for-hub-assistants
feat: Support local block loading for hub assistants
2025-07-28 13:18:19 -07:00
Nate Sesti
bbc4133e8c
Merge pull request #6827 from continuedev/nate/ollama-oai-adapter
Add Ollama OpenAI adapter support
2025-07-28 13:08:42 -07:00
Nate
89320f8fc0 fix: don't fail if no usage 2025-07-28 12:58:47 -07:00
Nate
70bc314502 fix: refactor, add comment 2025-07-28 12:52:19 -07:00
Dallin Romney
a521117e8f fix: merge main 2025-07-29 01:57:00 +07:00
Dallin Romney
929e5deb40 merge: main 2025-07-29 01:56:42 +07:00
Dallin Romney
8f8a847ee6 merge: main 2025-07-29 01:50:24 +07:00
Dallin Romney
0c9a238f71
Merge branch 'main' into dallin/system-message-tools 2025-07-29 01:36:05 +07:00
Nate
18f21e3834 Merge branch 'main' into nate/onboarding-improvements-p1 2025-07-28 11:15:09 -07:00
Nate Sesti
3f6eba2947
Merge pull request #6666 from continuedev/nate/fix-fetch-error-parsing
fix: test fix for fetch package and publish version with improved error logging
2025-07-28 11:13:25 -07:00
Tomasz Stefaniak
c9e15ddf5c
Merge pull request #6661 from continuedev/jacob/enhancement/nextedit-perf
Jacob/enhancement/nextedit perf
2025-07-28 10:54:28 -07:00
Nate Sesti
451f43c6f9
Merge pull request #6824 from continuedev/exigow/add-file-tests-and-migrate-platform
fix: Add file tests + migrate to IntelliJ Platform Gradle Plugin v2
2025-07-28 10:42:58 -07:00
Jakub Blach
4ef45d3173 fix formatting 2025-07-28 20:48:20 +02:00
Jakub Blach
5f647afdf2 fix: Add file tests + migrate to IntelliJ Platform Gradle Plugin v2
The tests use fixtures and operate on real files in a temp directory.
This change will allow us to confidently migrate from java.io.File to VFS.

Note: These tests are headless and starts the Continue binary. This gives us many possibilities because we can write fast and valuable tests without runIdeForUiTests.

The IntelliJ Platform plugin already includes classes like BasePlatformTestCase written in JUnit 3, which we should be using for unit testing.
We also have JUnit 5 for e2e testing. As a result, we had two different runners, which caused problems because we couldn’t use classes like UsefulTest since they required a different runner.
In order to fix that, I had to add `org.junit.vintage:junit-vintage-engine` to enable running both JUnit 3 and JUnit 5 tests.

Note: ideally, we should have a sourceSet named testIntegration with its own dependencies for E2E (robot, JUnit 5, video recorder).
That would give us a clean separation between E2E tests and unit tests. That would prevent accidental use of JUnit 5 classes in unit tests. We should do that in the future.

The new platform simplifies plugin config and allows us to remove some of the custom code.
I left the original Qodana and Kover configs, but looking at our workflow, i think it's currently dead code.
If we don’t plan to use them, I think we can remove these dependencies in the future.

Note: along with this migration, I had to bump a wrapper to latest version.

For some reason, we included the Kotlin standard library with the plugin, even though we had a property specifying we didn’t want to.
I saw no objections to removing this dependency, so I decided to do that.

From now on, we rely on older stdlib that's bundled with 2022.3+.

More context: https://github.com/continuedev/continue/pull/6431#issuecomment-3031838189

This proves my point regarding the removal of the standard library dependency.

I added plugin verification against versions 2022.3.3 (oldest) and 2025.1.4 (newest). Everything is working.

Plugin can be verified with `./gradlew verifyPlugin`. We can consider adding this to CI later.

I made a few small improvements that simplify the build scripts:
* Some properties were removed because they duplicated content from `plugin.xml` (e.g., supported version numbers, plugin ID, and similar - all were unnecessarily overridden inside `intellij {}`/`intellijPlatform {}`).
* I replaced `prepareSandbox` with a separate task that is now a dependency of all `runIde` tasks, so there is no need to declare each case individually.
* From now on, properties are read via delegation instead of calling our custom `properties(...)` function. This is type-safe (if a property is not declared, the build will fail).
* I removed the `kotlin("test")` dependency, which we were only using for `assertTrue`.

The e2e Autocomplete tests are very flaky, and unfortunately, I haven’t been able to find a solution yet. I will try to address this in upcoming fixes.
I believe that ultimately we should have max one e2e test describing the happy path, and the rest of the features should be tested with unit tests.
Our e2e tests are very inconvenient, which results in no one running them (because we hijack the input), so they should be kept to a minimum.
The rest of the e2e tests were already disabled (I assume I know why :D), so I didn't touch them.

Fun fact: with the removal of the standard library, we managed to remove all unnecessary dependencies except for Sentry and PostHog (which are included for obvious reasons).
2025-07-28 20:39:44 +02:00
Tomasz Stefaniak
16b642966f
Merge pull request #6653 from uinstinct/hub-double-slash
fix: double slash on opening hub urls
2025-07-28 10:42:16 -07:00
Nate
685ff71a6c Add Ollama OpenAI adapter support 2025-07-28 10:40:43 -07:00
Tomasz Stefaniak
fe4ab26a9b
Merge pull request #6472 from dipfocus/improvement/modernize-download-with-proxy
Modernize downloadFile function with fetch API and proxy support
2025-07-28 10:23:31 -07:00
Jacob Kim
3b200458af refactor: rename renderDeletes to renderDeletions 2025-07-28 10:18:47 -07:00
Patrick Erichsen
076ff3efc1
chore: ignore max-lines-per-function in tests (#6825)
* chore: ignore `max-lines-per-function` in tests

* Update package-lock.json
2025-07-28 09:04:13 -07:00
Tomasz Stefaniak
9b3699ab3e
Merge pull request #6826 from continuedev/tomasz/prerelease-1.1.69
chore: bump version numbers
2025-07-28 08:51:16 -07:00
Tomasz Stefaniak
80d792ff25
Merge pull request #6710 from uinstinct/test-file-codeblock
chore: add unit tests for file click on codeblock
2025-07-28 08:50:48 -07:00
uinstinct
4ee54ae4ca rerun tests 2025-07-28 20:55:12 +05:30
Tomasz Stefaniak
173f9bf5bb chore: bump version numbers 2025-07-28 08:22:58 -07:00
Patrick Erichsen
880786b66f
Revert "feat: enhance oneper utility and refactor build system for commit SHA versioning" (#6811) 2025-07-28 08:07:06 -07:00
uinstinct
2b8f0a386f Merge branch 'main' into test-file-codeblock 2025-07-28 20:33:21 +05:30
Nate Sesti
cab9ce70e0
Merge pull request #6808 from continuedev/tomasz/bump-versions
chore: bump versions for prerelease
2025-07-25 18:36:41 -07:00
Tomasz Stefaniak
05674bf409 chore: bump versions for prerelease 2025-07-25 17:59:21 -07:00
Tomasz Stefaniak
cf9225bf20
Merge pull request #6667 from continuedev/Patrick-Erichsen-patch-5
chore: update bug_report.yml
2025-07-25 16:14:11 -07:00
Tomasz Stefaniak
99edb24619
Merge pull request #6735 from continuedev/pe/mode-alert
feat: clarify mode alert in tools section
2025-07-25 15:52:35 -07:00
Patrick Erichsen
fc6ce50f21
feat: make the reasoning btn solid when active (#6756) 2025-07-25 15:50:17 -07:00
Tomasz Stefaniak
5e96d879c3
Merge pull request #6751 from continuedev/tingwai/test-chunkDocument-maxChunkSize
test: verify chunkDocument filters out chunks exceeding maxChunkSize
2025-07-25 15:49:11 -07:00
Nate Sesti
9c67767973
Merge pull request #6788 from continuedev/pe/oneper-version-change
feat: enhance oneper utility and refactor build system for commit SHA versioning
2025-07-25 15:42:11 -07:00
Jakub Błach
e9558277de
fix: Apply proxy settings on the Continue process using environment variables (solves #5242) (#6752)
* fix: Apply proxy settings on the Continue process using environment variables (solves #5242)

This is a new and simplified implementation for passing proxy config.

It's based on environment variables instead of dedicated message in the protocol, however it has some downsides.

More details:
* This will not work if we use the binary with USE_TCP, because these env vars can only be set for the process.
* The implementation of the process handler has partially changed its behavior. From now on, manual restart (including Continue: Restart Process action) has no artificial delay/it's instant. This was a bug IMO that is fixed now.

To test this in a development environment, you need to remove USE_TCP from the run configuration.
Currently, we only track two proxy settings controls: whether it's enabled and the proxy address along with the port.
To test this, you need to go into the settings, change the state of those controls, then apply. The activity polls their values, and if it detects a change, the service restarts the binary, which reads the new setting on start.
There should always be only one process per IDE, regardless of how quickly the settings are changed or how often the binary is restarted manually.

* fix: misc.xml

* fix
2025-07-25 15:41:24 -07:00
Jakub Błach
5d45c46afe
fix: Add logging of Continue binary IO (#6658)
* fix: Add logging of Continue binary IO

* reformat
2025-07-25 15:27:25 -07:00