Commit graph

15742 commits

Author SHA1 Message Date
Patrick Erichsen
094c8bb6bf Update package.js 2025-07-28 20:57:23 -07:00
Patrick Erichsen
f141450842 Update pr_checks.yaml 2025-07-28 19:50:45 -07:00
Patrick Erichsen
3c1eb75b6b Update pr_checks.yaml 2025-07-28 19:48:48 -07:00
Patrick Erichsen
32cdead71a update packages script 2025-07-28 19:46:23 -07:00
Patrick Erichsen
1c7bdcf671 updates 2025-07-28 19:29:09 -07:00
Patrick Erichsen
4b9c1ec408 update packages logic 2025-07-28 17:05:23 -07:00
Patrick Erichsen
b248bb6f84 move more logic into actions 2025-07-28 17:00:29 -07:00
Patrick Erichsen
3a64311bdf add action for running e2e tess 2025-07-28 16:52:48 -07:00
Patrick Erichsen
f6699bae06 Update pr_checks.yaml 2025-07-28 16:46:26 -07:00
Patrick Erichsen
78334571d2 Merge latest main changes
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 16:39:41 -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
Patrick Erichsen
b07dd9b7c2 remove macOS build dep 2025-07-28 16:36:56 -07:00
Patrick Erichsen
21b15eb7b4 CI fixes 2025-07-28 16:17:08 -07:00
Patrick Erichsen
982e051981 CI fixes 2025-07-28 16:10:47 -07:00
Patrick Erichsen
502b07dc7e fix checkout logic 2025-07-28 16:06:59 -07:00
Patrick Erichsen
b061f7f047 more CI updates 2025-07-28 15:54:17 -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
Patrick Erichsen
0f582f2002 feat: restore enhanced build system and integrate parallel build script
This PR combines two improvements to the build system:

1. **Restore Enhanced Build System** (reverts PR #6811)
   - Restores commit SHA versioning for VS Code extensions
   - Brings back reusable GitHub Actions workflows
   - Re-enables monorepo build system with local file dependencies
   - Restores enhanced oneper utility with commit SHA support

2. **Integrate Parallel Build Script** (integrates PR #6821)
   - Replaces shell/PowerShell build scripts with JavaScript version
   - Implements parallel package building for 40% faster builds (20s → 12s)
   - Cross-platform compatibility using Node.js instead of platform-specific scripts
   - Enhanced error reporting and build status visibility

## Key Changes
- ✅ Reusable GitHub Actions workflow for VS Code extension builds
- ✅ Commit SHA versioning restored in extension package.json
- ✅ Enhanced oneper utility with full commit SHA support
- ✅ New `scripts/build-packages.js` with parallel execution
- ✅ Removed platform-specific `build-packages.sh` and `build-packages.ps1`
- ✅ Updated all workflows and tasks to use the new build script

## Performance Impact
Build time improvement: **20s → 12s** (40% faster) due to parallel execution

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 14:22:11 -07:00
Patrick Erichsen
81dd2c3112 Reapply "feat: enhance oneper utility and refactor build system for commit SHA versioning" (#6811)
This reverts commit 880786b66f.
2025-07-28 14:15:49 -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
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