diff --git a/.changes/extensions/intellij/0.0.34.md b/.changes/extensions/intellij/0.0.34.md
deleted file mode 100644
index d4dc58b80..000000000
--- a/.changes/extensions/intellij/0.0.34.md
+++ /dev/null
@@ -1,8 +0,0 @@
-## 0.0.34 - 2024-03-03
-### Added
-* diff context provider
-### Changed
-* Allow LLM servers to handle templating
-### Fixed
-* Fix a few context providers / slash commands
-* Fixed issues preventing proper extension startup
diff --git a/.changes/extensions/intellij/0.0.38.md b/.changes/extensions/intellij/0.0.38.md
deleted file mode 100644
index 6c42fc737..000000000
--- a/.changes/extensions/intellij/0.0.38.md
+++ /dev/null
@@ -1,4 +0,0 @@
-## 0.0.38 - 2024-03-15
-### Added
-* Remote config server support
-* Autocomplete support in JetBrains
diff --git a/.changes/extensions/intellij/0.0.42.md b/.changes/extensions/intellij/0.0.42.md
deleted file mode 100644
index dbcdd3fab..000000000
--- a/.changes/extensions/intellij/0.0.42.md
+++ /dev/null
@@ -1,7 +0,0 @@
-## 0.0.42 - 2024-04-12
-### Added
-* Inline cmd/ctrl+I in JetBrains
-### Fixed
-* Fixed character encoding error causing display issues
-* Fixed error causing input to constantly demand focus
-* Fixed automatic reloading of config.json
diff --git a/.changes/extensions/intellij/0.0.53.md b/.changes/extensions/intellij/0.0.53.md
deleted file mode 100644
index bbc3605ec..000000000
--- a/.changes/extensions/intellij/0.0.53.md
+++ /dev/null
@@ -1,8 +0,0 @@
-## 0.0.53 - 2024-07-10
-### Added
-* Support for .prompt files
-* New onboarding experience
-### Fixed
-* Indexing fixes from VS Code versions merged into IntelliJ
-* Improved codebase indexing reliability and testing
-* Fixes for autocomplete text positioning and timing
diff --git a/.changes/extensions/intellij/0.0.54.md b/.changes/extensions/intellij/0.0.54.md
deleted file mode 100644
index 1f0e05f27..000000000
--- a/.changes/extensions/intellij/0.0.54.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## 0.0.54 - 2024-07-13
-### Added
-* Partial autocomplete acceptance
-* Autocomplete status bar spinner
-### Fixed
-* Fixed duplicate completion bug and others
diff --git a/.changes/extensions/intellij/0.0.69.md b/.changes/extensions/intellij/0.0.69.md
deleted file mode 100644
index a4b67ca0c..000000000
--- a/.changes/extensions/intellij/0.0.69.md
+++ /dev/null
@@ -1,7 +0,0 @@
-## 0.0.69 - 2024-09-22
-### Added
-* Support for the "search" context provider
-### Fixed
-* Fixed bug where only first module would be recognized
-* Improved concurrency handling to avoid freezes
-* Made compatible with latest JetBrains versions
diff --git a/.changes/extensions/intellij/0.0.72.md b/.changes/extensions/intellij/0.0.72.md
deleted file mode 100644
index 2e8962e43..000000000
--- a/.changes/extensions/intellij/0.0.72.md
+++ /dev/null
@@ -1,7 +0,0 @@
-## 0.0.72 - 2024-10-04
-### Added
-* Listen for changes to Intellij settings without requiring window reload
-### Changed
-* Updated tutorial file
-### Fixed
-* Fix ability to load config.ts in JetBrains IDEs
diff --git a/.changes/extensions/intellij/0.0.92.md b/.changes/extensions/intellij/0.0.92.md
deleted file mode 100644
index 2d3774eec..000000000
--- a/.changes/extensions/intellij/0.0.92.md
+++ /dev/null
@@ -1,5 +0,0 @@
-## 0.0.92 - 2025-02-26
-### Fixed
-* Off-screen rendering to solve white flash on load and lack of changing cursor type
-* OSR-related fixes for non-Mac users
-* Fixes for inline edit in JetBrains
diff --git a/.changes/extensions/intellij/1.0.0.md b/.changes/extensions/intellij/1.0.0.md
deleted file mode 100644
index 43ea4a0ed..000000000
--- a/.changes/extensions/intellij/1.0.0.md
+++ /dev/null
@@ -1,7 +0,0 @@
-## 1.0.0 - 2025-02-26
-### Added
-* Introduces hub.continue.dev
-* Improved theme matching
-### Fixed
-* Fixes interference between SonarQube and Continue autocomplete
-* Numerous reliability improvements
diff --git a/.changes/extensions/intellij/v0.0.1.md b/.changes/extensions/intellij/v0.0.1.md
deleted file mode 100644
index 8cf2b6b68..000000000
--- a/.changes/extensions/intellij/v0.0.1.md
+++ /dev/null
@@ -1,5 +0,0 @@
-## v0.0.1 - 2023-09-01
-
-### Added
-
-- Initial scaffold created from [IntelliJ Platform Plugin Template](https://github.com/JetBrains/intellij-platform-plugin-template)
diff --git a/.changes/extensions/intellij/v0.0.19.md b/.changes/extensions/intellij/v0.0.19.md
deleted file mode 100644
index 5d76c7d7e..000000000
--- a/.changes/extensions/intellij/v0.0.19.md
+++ /dev/null
@@ -1,5 +0,0 @@
-## v0.0.19 - 2023-11-19
-
-### Changed
-
-- migrated to .json config file format
diff --git a/.changes/extensions/intellij/v0.0.21.md b/.changes/extensions/intellij/v0.0.21.md
deleted file mode 100644
index 7933cd1b4..000000000
--- a/.changes/extensions/intellij/v0.0.21.md
+++ /dev/null
@@ -1,5 +0,0 @@
-## v0.0.21 - 2023-12-05
-
-### Added
-
-- updated to match latest VS Code updates
diff --git a/.changes/extensions/intellij/v0.0.25.md b/.changes/extensions/intellij/v0.0.25.md
deleted file mode 100644
index 67da2d004..000000000
--- a/.changes/extensions/intellij/v0.0.25.md
+++ /dev/null
@@ -1,5 +0,0 @@
-## v0.0.25 - 2023-12-25
-
-### Changed
-
-- Intellij extension no longer relies on the Continue Python server
diff --git a/.changes/extensions/intellij/v0.0.26.md b/.changes/extensions/intellij/v0.0.26.md
deleted file mode 100644
index 1ef77ba62..000000000
--- a/.changes/extensions/intellij/v0.0.26.md
+++ /dev/null
@@ -1,5 +0,0 @@
-## v0.0.26 - 2023-12-28
-### Added
-* auto-reloading of config on save
-### Fixed
-* Fixed /edit bug for versions without Python server
diff --git a/.changes/extensions/vscode/0.8.14.md b/.changes/extensions/vscode/0.8.14.md
deleted file mode 100644
index d42d9640c..000000000
--- a/.changes/extensions/vscode/0.8.14.md
+++ /dev/null
@@ -1,10 +0,0 @@
-## 0.8.14 - 2024-03-03
-### Added
-* Image support
-* Full-text search index for retrieval
-* Docs context provider
-* CodeLlama-70b support
-### Changed
-* config.ts only runs in NodeJS, not browser
-### Fixed
-* Fixed proxy setting in config.json
diff --git a/.changes/extensions/vscode/0.8.15.md b/.changes/extensions/vscode/0.8.15.md
deleted file mode 100644
index 0bee662f3..000000000
--- a/.changes/extensions/vscode/0.8.15.md
+++ /dev/null
@@ -1,3 +0,0 @@
-## 0.8.15 - 2024-03-05
-### Added
-* Tab-autocomplete in beta
diff --git a/.changes/extensions/vscode/0.8.24.md b/.changes/extensions/vscode/0.8.24.md
deleted file mode 100644
index 62c32d5e5..000000000
--- a/.changes/extensions/vscode/0.8.24.md
+++ /dev/null
@@ -1,5 +0,0 @@
-## 0.8.24 - 2024-04-12
-### Added
-* Support for improved retrieval models (Voyage embeddings/reranking)
-* New @code context provider
-* Personal usage analytics
diff --git a/.changes/extensions/vscode/0.8.42.md b/.changes/extensions/vscode/0.8.42.md
deleted file mode 100644
index 52bf46f18..000000000
--- a/.changes/extensions/vscode/0.8.42.md
+++ /dev/null
@@ -1,16 +0,0 @@
-## 0.8.42 - 2024-07-02
-
-### Added
-
-- Support for Gemini 1.5 Pro
-- Link to code in the sidebar when using codebase retrieval
-- Smoother onboarding experience
-- .prompt files, a way of saving and sharing slash commands
-- Support for Claude 3.5 Sonnet, Deepseek Coder v2, and other new models
-- Support for comments in config.json
-- Specify multiple autocomplete models and switch between them
-- Improved bracket matching strategy reduces noisy completions
-
-### Fixed
-
-- Numerous reliability upgrades to codebase indexing
diff --git a/.changes/extensions/vscode/0.8.43.md b/.changes/extensions/vscode/0.8.43.md
deleted file mode 100644
index ca3a4c9c6..000000000
--- a/.changes/extensions/vscode/0.8.43.md
+++ /dev/null
@@ -1,4 +0,0 @@
-## 0.8.43 - 2024-07-08
-### Added
-* Improved indexing reliability and testing
-* Quick Actions: use CodeLens to quickly take common actions like adding docstrings
diff --git a/.changes/extensions/vscode/0.8.45.md b/.changes/extensions/vscode/0.8.45.md
deleted file mode 100644
index bdeb5b698..000000000
--- a/.changes/extensions/vscode/0.8.45.md
+++ /dev/null
@@ -1,12 +0,0 @@
-## 0.8.45 - 2024-08-05
-### Added
-* Support for Llama 3.1 and gpt-4o-mini
-* Support for WatsonX+Granite models
-### Changed
-* Significant improvements to indexing performance
-* Improved @codebase quality by more accurately searching over file names and paths
-* Improved @codebase accuracy
-* Further improvements to indexing performance
-### Fixed
-* Improved docs indexing and management
-* Fixed Gemini embeddings provider
diff --git a/.changes/extensions/vscode/0.8.46.md b/.changes/extensions/vscode/0.8.46.md
deleted file mode 100644
index 176439b9e..000000000
--- a/.changes/extensions/vscode/0.8.46.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## 0.8.46 - 2024-08-11
-### Added
-* new /onboard slash command
-### Fixed
-* Fixed problem loading config.ts
-* Fixed bug causing duplicate indexing work
diff --git a/.changes/extensions/vscode/0.8.47.md b/.changes/extensions/vscode/0.8.47.md
deleted file mode 100644
index 363081c3c..000000000
--- a/.changes/extensions/vscode/0.8.47.md
+++ /dev/null
@@ -1,8 +0,0 @@
-## 0.8.47 - 2024-08-27
-### Added
-* Use headless browser for crawling to get better results
-* TTS support in the chat window
-### Changed
-* Improved support for WatsonX models
-### Fixed
-* Fixed several small indexing bugs
diff --git a/.changes/extensions/vscode/0.8.48.md b/.changes/extensions/vscode/0.8.48.md
deleted file mode 100644
index 93e144168..000000000
--- a/.changes/extensions/vscode/0.8.48.md
+++ /dev/null
@@ -1,8 +0,0 @@
-## 0.8.48 - 2024-09-01
-### Added
-* Improved indexing progress UI
-* Improved @codebase using repomap
-* Repo map context provider
-### Fixed
-* Many small UI improvements
-* Fixes db.search not a function
diff --git a/.changes/extensions/vscode/0.8.49.md b/.changes/extensions/vscode/0.8.49.md
deleted file mode 100644
index b0100f493..000000000
--- a/.changes/extensions/vscode/0.8.49.md
+++ /dev/null
@@ -1,3 +0,0 @@
-## 0.8.49 - 2024-09-01
-### Fixed
-* Hotfix: submenu context providers
diff --git a/.changes/extensions/vscode/0.8.50.md b/.changes/extensions/vscode/0.8.50.md
deleted file mode 100644
index 41abe2817..000000000
--- a/.changes/extensions/vscode/0.8.50.md
+++ /dev/null
@@ -1,3 +0,0 @@
-## 0.8.50 - 2024-09-02
-### Fixed
-* Hotfix for ability to use more than one inline context provider
diff --git a/.changes/extensions/vscode/0.8.51.md b/.changes/extensions/vscode/0.8.51.md
deleted file mode 100644
index 2fbbbeb96..000000000
--- a/.changes/extensions/vscode/0.8.51.md
+++ /dev/null
@@ -1,3 +0,0 @@
-## 0.8.51 - 2024-09-05
-### Fixed
-* Fixed CRLF bug causing diff streams to treat every line as changed on Windows
diff --git a/.changes/extensions/vscode/0.8.52.md b/.changes/extensions/vscode/0.8.52.md
deleted file mode 100644
index 481f5e023..000000000
--- a/.changes/extensions/vscode/0.8.52.md
+++ /dev/null
@@ -1,4 +0,0 @@
-## 0.8.52 - 2024-09-16
-### Changed
-* Use Chromium only as a fallback after asking user
-* Redesigned onboarding flow
diff --git a/.changes/extensions/vscode/0.8.53.md b/.changes/extensions/vscode/0.8.53.md
deleted file mode 100644
index 575a3b91d..000000000
--- a/.changes/extensions/vscode/0.8.53.md
+++ /dev/null
@@ -1,12 +0,0 @@
-## 0.8.53 - 2024-10-11
-### Added
-* Improved loading/accept/reject UI for apply
-* Polished chat sidebar, especially context dropdown
-* Further prompt caching with Anthropic
-### Changed
-* Updated tutorial file
-* Improved styling on "More" page
-### Fixed
-* Continue for teams auth bug fix
-* Fixed a number of apply bugs
-* Fixed autoscrolling behavior
diff --git a/.changes/extensions/vscode/0.8.54.md b/.changes/extensions/vscode/0.8.54.md
deleted file mode 100644
index 90466954c..000000000
--- a/.changes/extensions/vscode/0.8.54.md
+++ /dev/null
@@ -1,3 +0,0 @@
-## 0.8.54 - 2024-10-15
-### Fixed
-* Hotfix: throttle transformers.js embeddings provider
diff --git a/.changes/extensions/vscode/0.8.55.md b/.changes/extensions/vscode/0.8.55.md
deleted file mode 100644
index 4800ad907..000000000
--- a/.changes/extensions/vscode/0.8.55.md
+++ /dev/null
@@ -1,9 +0,0 @@
-## 0.8.55 - 2024-10-25
-### Added
-* Web context provider
-* Cerebras inference provider
-* Automatic descriptions for previous chats
-* Discord context provider
-* Improved full screen UI
-### Changed
-* Easier way to accept/reject/re-prompt after cmd/ctrl+I
diff --git a/.changes/extensions/vscode/0.8.56.md b/.changes/extensions/vscode/0.8.56.md
deleted file mode 100644
index d1c81fd34..000000000
--- a/.changes/extensions/vscode/0.8.56.md
+++ /dev/null
@@ -1,4 +0,0 @@
-## 0.8.56 - 2024-11-08
-### Added
-* New Edit mode in sidebar (cmd/ctrl+I)
-* Significantly faster and more accurate docs crawler by default
diff --git a/.changes/extensions/vscode/0.8.58.md b/.changes/extensions/vscode/0.8.58.md
deleted file mode 100644
index 98c845b97..000000000
--- a/.changes/extensions/vscode/0.8.58.md
+++ /dev/null
@@ -1,25 +0,0 @@
-## 0.8.58 - 2024-11-22
-### Added
-* OpenAI predicted outputs support
-* Improve codebase retrieval with BM25
-* Support for Grok from xAI
-* Chat enhancements including sticking input to bottom
-* New UI for cmd+I in sidebar
-* Support for Nebius LLM provider
-* Support for Ask Sage LLM provider
-* Improved reference for config.json
-* New @web context provider
-* Updates for llama3.2
-* .continuerules file to set system prompt
-* .prompt files v2
-* Dedicated UI for docs indexing
-* Clickable code symbols in chat
-* Use clipboard content as autocomplete context
-### Changed
-* Improved @docs crawler
-* Many improvements to make autocomplete more eager
-* Near complete type definition retrieval for TypeScript autocomplete
-* Remove footer from chat sidebar
-### Fixed
-* Brought back the Apply button for all code blocks
-* Automatically update codebase index on removed files
diff --git a/.changes/extensions/vscode/0.8.59.md b/.changes/extensions/vscode/0.8.59.md
deleted file mode 100644
index 9f6dfbd04..000000000
--- a/.changes/extensions/vscode/0.8.59.md
+++ /dev/null
@@ -1,3 +0,0 @@
-## 0.8.59 - 2024-11-25
-### Fixed
-* Hotfix for Ollama onboarding
diff --git a/.changes/extensions/vscode/0.8.62.md b/.changes/extensions/vscode/0.8.62.md
deleted file mode 100644
index c258fd285..000000000
--- a/.changes/extensions/vscode/0.8.62.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## 0.8.62 - 2024-12-10
-### Added
-* Tool use
-* Support for Model Context Protocol
-### Fixed
-* hotfix: context providers no longer hidden when not in edit mode
diff --git a/.changes/extensions/vscode/0.8.66.md b/.changes/extensions/vscode/0.8.66.md
deleted file mode 100644
index 4a1930978..000000000
--- a/.changes/extensions/vscode/0.8.66.md
+++ /dev/null
@@ -1,9 +0,0 @@
-## 0.8.66 - 2024-12-20
-### Changed
-* Improved autocomplete in untitled files
-### Fixed
-* Display more mid-line completions
-* Restored syntax highlighting
-* Fix tool use bug for models that don't support tools
-* Autodetect mistral API key type
-* Fixes Azure OpenAI regressions
diff --git a/.changes/extensions/vscode/1.0.0.md b/.changes/extensions/vscode/1.0.0.md
deleted file mode 100644
index cea7899ff..000000000
--- a/.changes/extensions/vscode/1.0.0.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## 1.0.0 - 2025-02-26
-### Added
-* Introduces hub.continue.dev
-* Improved apply quality
-### Fixed
-* Numerous reliability improvements
diff --git a/.changes/extensions/vscode/v0.5.0.md b/.changes/extensions/vscode/v0.5.0.md
deleted file mode 100644
index 7df6df9ee..000000000
--- a/.changes/extensions/vscode/v0.5.0.md
+++ /dev/null
@@ -1,9 +0,0 @@
-## v0.5.0 - 2023-11-09
-
-### Added
-
-- Codebase Retrieval: Use /codebase or cmd+enter and Continue will automatically gather the most important context
-
-### Changed
-
-- Switch from Websockets to Socket.io
diff --git a/.changes/extensions/vscode/v0.6.0.md b/.changes/extensions/vscode/v0.6.0.md
deleted file mode 100644
index ee58a295c..000000000
--- a/.changes/extensions/vscode/v0.6.0.md
+++ /dev/null
@@ -1,11 +0,0 @@
-## v0.6.0 - 2023-11-10
-
-### Added
-
-- Full screen mode
-- StackOverflow slash command to augment with web search
-- VS Code context menus: right click to add code to context, debug the terminal, or share your Continue session
-
-### Fixed
-
-- Reliability improvements to JetBrains by bringing up-to-date with the socket.io refactor
diff --git a/.changes/extensions/vscode/v0.6.16.md b/.changes/extensions/vscode/v0.6.16.md
deleted file mode 100644
index e5d7e491e..000000000
--- a/.changes/extensions/vscode/v0.6.16.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## v0.6.16 - 2023-12-25
-
-### Changed
-
-- Context items are now kept around as a part of past messages, instead of staying at the main input
-- No more Python server - Continue runs entirely in Typescript
diff --git a/.changes/extensions/vscode/v0.6.19.md b/.changes/extensions/vscode/v0.6.19.md
deleted file mode 100644
index d338fbf43..000000000
--- a/.changes/extensions/vscode/v0.6.19.md
+++ /dev/null
@@ -1,11 +0,0 @@
-## v0.6.19 - 2024-01-05
-
-### Added
-
-- support for .continuerc.json in root of workspace to override config.json
-- Inline context providers
-- cmd+shift+L with new diff streaming UI for edits
-
-### Changed
-
-- Allow certain LLM servers to handle templating
diff --git a/.changes/extensions/vscode/v0.6.4.md b/.changes/extensions/vscode/v0.6.4.md
deleted file mode 100644
index 9194b537d..000000000
--- a/.changes/extensions/vscode/v0.6.4.md
+++ /dev/null
@@ -1,5 +0,0 @@
-## v0.6.4 - 2023-11-19
-
-### Changed
-
-- migrated to .json config file format
diff --git a/.changes/extensions/vscode/v0.8.1.md b/.changes/extensions/vscode/v0.8.1.md
deleted file mode 100644
index 1a7a061ac..000000000
--- a/.changes/extensions/vscode/v0.8.1.md
+++ /dev/null
@@ -1,9 +0,0 @@
-## v0.8.1 - 2024-01-08
-
-### Added
-
-- disableSessionTitles option in config.json
-
-### Changed
-
-- Use Ollama /chat endpoint instead of raw completions by default, and /show endpoint to gather model parameters like context length and stop tokens
diff --git a/.changes/extensions/vscode/v0.8.2.md b/.changes/extensions/vscode/v0.8.2.md
deleted file mode 100644
index 40ada41a6..000000000
--- a/.changes/extensions/vscode/v0.8.2.md
+++ /dev/null
@@ -1,8 +0,0 @@
-## v0.8.2 - 2024-01-23
-### Added
-* Add codellama and gemini to free trial, using new server
-* Local codebase syncing and embeddings using LanceDB
-* Improved VS Code theme matching
-### Changed
-* Updates to packaging to download native modules for current platform (lancedb, sqlite, onnxruntime, tree-sitter wasms)
-* Context providers now run from the extension side (in Node.js instead of browser javascript)
diff --git a/.changes/header.tpl.md b/.changes/header.tpl.md
deleted file mode 100644
index 811d6f896..000000000
--- a/.changes/header.tpl.md
+++ /dev/null
@@ -1,5 +0,0 @@
-All notable changes to this project will be documented in this file.
-
-The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
-adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
-and is generated by [Changie](https://github.com/miniscruff/changie).
diff --git a/.changes/unreleased/.gitkeep b/.changes/unreleased/.gitkeep
deleted file mode 100644
index e69de29bb..000000000
diff --git a/.changie.yaml b/.changie.yaml
deleted file mode 100644
index 7a11e254d..000000000
--- a/.changie.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-changesDir: .changes
-unreleasedDir: unreleased
-headerPath: header.tpl.md
-changelogPath: CHANGELOG.md
-versionExt: md
-versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}'
-kindFormat: "### {{.Kind}}"
-changeFormat: "* {{.Body}}"
-kinds:
- - label: Added
- auto: minor
- - label: Changed
- auto: major
- - label: Deprecated
- auto: minor
- - label: Removed
- auto: major
- - label: Fixed
- auto: patch
- - label: Security
- auto: patch
-newlines:
- afterChangelogHeader: 1
- beforeChangelogVersion: 1
- endOfVersion: 1
-envPrefix: CHANGIE_
-
-projects:
- - label: extensions/intellij
- key: extensions/intellij
- changelog: extensions/intellij/CHANGELOG.md
-
- - label: extensions/vscode
- key: extensions/vscode
- changelog: extensions/vscode/CHANGELOG.md
diff --git a/.continue/rules/intellij-plugin-test-execution.yaml b/.continue/rules/intellij-plugin-test-execution.yaml
new file mode 100644
index 000000000..386a72a2b
--- /dev/null
+++ b/.continue/rules/intellij-plugin-test-execution.yaml
@@ -0,0 +1,15 @@
+name: IntelliJ Plugin Test Execution
+version: 0.0.1
+schema: v1
+rules:
+ - name: IntelliJ Plugin Test Execution
+ rule: |-
+ Run IntelliJ plugin tests using Gradle with the fully qualified test class or method name:
+ ```bash
+ # Run test class
+ ./gradlew test --tests "com.github.continuedev.continueintellijextension.unit.ApplyToFileHandlerTest"
+
+ # Run specific test method
+ ./gradlew test --tests "com.github.continuedev.continueintellijextension.unit.ApplyToFileHandlerTest.should*"
+ ```
+ globs: extensions/intellij/**/*Test.kt
diff --git a/.continue/rules/intellij-test-standards.yaml b/.continue/rules/intellij-test-standards.yaml
new file mode 100644
index 000000000..f706757e2
--- /dev/null
+++ b/.continue/rules/intellij-test-standards.yaml
@@ -0,0 +1,10 @@
+name: IntelliJ Test Standards
+version: 0.0.1
+schema: v1
+rules:
+ - name: IntelliJ Test Standards
+ rule: When writing tests for the IntelliJ plugin, use the mockk library for
+ mocking. Prefer mockk's idiomatic syntax for creating and verifying mocks.
+ Always structure tests with clear Arrange-Act-Assert patterns and use
+ descriptive test names that indicate the scenario being tested.
+ globs: "**/test/**/*.kt"
diff --git a/.continue/rules/unit-testing-rules.yaml b/.continue/rules/unit-testing-rules.yaml
new file mode 100644
index 000000000..ec22e9467
--- /dev/null
+++ b/.continue/rules/unit-testing-rules.yaml
@@ -0,0 +1,30 @@
+name: unit-testing-rules
+version: 0.0.1
+schema: v1
+rules:
+ - name: unit-testing-rules
+ rule: >-
+ For unit testing in this project:
+
+
+ 1. The project uses Jest as the testing framework
+
+ 2. Run tests using `npm test` from within the specific package/module
+ directory
+
+ 3. Command structure: `cd [directory] && npm test -- [test file path]`
+
+ 4. The test script uses experimental VM modules via NODE_OPTIONS flag
+
+ 5. Test files follow the pattern `*.test.ts`
+
+ 6. Tests must import Jest with `import { jest } from "@jest/globals";`
+
+ 7. Run tests from within the specific package directory (e.g., `cd core`
+ for core module tests)
+
+ 8. Write tests as top-level `test()` functions - DO NOT use `describe()`
+ blocks
+
+ 9. Include the function name being tested in the test description for
+ clarity
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index a005cffd7..2497e28dc 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -12,6 +12,6 @@
[ For visual changes, include screenshots. Screen recordings are particularly helpful, and appreciated! ]
-## Testing instructions
+## Tests
-[ For new or modified features, provide step-by-step testing instructions to validate the intended behavior of the change, including any relevant tests to run. ]
+[ What tests were added or updated to ensure the changes work as expected? ]
diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml
new file mode 100644
index 000000000..f915854d1
--- /dev/null
+++ b/.github/workflows/cla.yaml
@@ -0,0 +1,29 @@
+name: "CLA Assistant"
+on:
+ issue_comment:
+ types: [ created ]
+ pull_request_target:
+ types: [ opened, closed, synchronize ]
+
+permissions:
+ actions: write
+ contents: write
+ pull-requests: write
+ statuses: write
+
+jobs:
+ CLAAssistant:
+ runs-on: ubuntu-latest
+ # Only run this workflow on the main repository (continuedev/continue)
+ if: github.repository == 'continuedev/continue'
+ steps:
+ - name: "CLA Assistant"
+ if: (contains(github.event.comment.body, 'recheck') || contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA')) || github.event_name == 'pull_request_target'
+ uses: contributor-assistant/github-action@v2.6.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ path-to-signatures: "signatures/version1/cla.json"
+ path-to-document: "https://github.com/continuedev/continue/blob/main/docs/docs/CLA.md"
+ branch: cla-signatures
+ allowlist: dependabot[bot]
\ No newline at end of file
diff --git a/.github/workflows/jetbrains-release.yaml b/.github/workflows/jetbrains-release.yaml
index 9f20b8131..8ea3d2ebb 100644
--- a/.github/workflows/jetbrains-release.yaml
+++ b/.github/workflows/jetbrains-release.yaml
@@ -63,7 +63,7 @@ jobs:
- name: Bump version in gradle.properties
run: |
- cd extensions/intelllij
+ cd extensions/intellij
awk '/pluginVersion=/{split($0,a,"="); split(a[2],b,"."); b[3]+=1; printf "%s=%s.%s.%s\n",a[1],b[1],b[2],b[3];next}1' gradle.properties > tmp && mv tmp gradle.properties
rm -rf tmp
NEW_VERSION=$(grep 'pluginVersion=' gradle.properties | cut -d'=' -f2)
@@ -481,7 +481,7 @@ jobs:
# Run Qodana inspections
- name: Qodana - Code Inspection
- uses: JetBrains/qodana-action@v2025.1.0
+ uses: JetBrains/qodana-action@v2025.1.1
with:
cache-default-branch-only: true
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 29965a305..0c300bf17 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -235,7 +235,7 @@ jobs:
- name: Publish to VS Code Marketplace
run: |
cd extensions/vscode
- npx vsce publish --packagePath ../../vsix-artifacts/*.vsix
+ npx @vscode/vsce publish --packagePath ../../vsix-artifacts/*.vsix
env:
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}
diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml
index c490373a0..eec79f4c6 100644
--- a/.github/workflows/pr_checks.yaml
+++ b/.github/workflows/pr_checks.yaml
@@ -235,10 +235,11 @@ jobs:
cd packages/config-yaml
npm run build
- - name: Type check
+ - name: Type check and lint
run: |
cd gui
npx tsc --noEmit
+ npm run lint
binary-checks:
needs: [install-root, install-core, install-config-yaml]
@@ -670,13 +671,6 @@ jobs:
cd extensions/vscode
rm -rf e2e/.test-extensions/continue*
- - name: Upload e2e test screenshots
- if: failure()
- uses: actions/upload-artifact@v4
- with:
- name: e2e-failure-screenshots
- path: extensions/vscode/e2e/storage/screenshots
-
- name: Sanitize test file name
id: sanitize_filename
if: always()
@@ -685,6 +679,13 @@ jobs:
SANITIZED_FILENAME="${FILENAME//\//-}" # Replace / with - using bash parameter expansion
echo "sanitized_test_file=${SANITIZED_FILENAME}" >> $GITHUB_OUTPUT
+ - name: Upload e2e test screenshots
+ if: failure()
+ uses: actions/upload-artifact@v4
+ with:
+ name: e2e-failure-screenshots-${{ steps.sanitize_filename.outputs.sanitized_test_file || 'unknown' }}-${{ matrix.command == 'e2e:ci:run-yaml' && 'yaml' || 'json' }}
+ path: extensions/vscode/e2e/storage/screenshots
+
- name: Find e2e log file
if: always()
run: |
diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml
index 23ea26bf6..19dafeb41 100644
--- a/.github/workflows/preview.yaml
+++ b/.github/workflows/preview.yaml
@@ -232,7 +232,7 @@ jobs:
- name: Publish to VS Code Marketplace
run: |
cd extensions/vscode
- npx vsce publish --pre-release --packagePath ../../vsix-artifacts/*.vsix
+ npx @vscode/vsce publish --pre-release --packagePath ../../vsix-artifacts/*.vsix
env:
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}
diff --git a/.gitignore b/.gitignore
index 2ca914069..95cd177a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -162,5 +162,8 @@ extensions/.continue-debug/
*.vsix
+# intellij module library files
+*.iml
+
.continuerules
**/.continue/assistants/
\ No newline at end of file
diff --git a/.idea/jsLinters/eslint.xml b/.idea/jsLinters/eslint.xml
new file mode 100644
index 000000000..541945bb0
--- /dev/null
+++ b/.idea/jsLinters/eslint.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/prettier.xml b/.idea/prettier.xml
index b0c1c68fb..0c83ac4e8 100644
--- a/.idea/prettier.xml
+++ b/.idea/prettier.xml
@@ -2,5 +2,6 @@
+
\ No newline at end of file
diff --git a/.idea/runConfigurations/config_yaml_tests.xml b/.idea/runConfigurations/config_yaml_tests.xml
new file mode 100644
index 000000000..69aaa8bb3
--- /dev/null
+++ b/.idea/runConfigurations/config_yaml_tests.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/runConfigurations/core_tests.xml b/.idea/runConfigurations/core_tests.xml
new file mode 100644
index 000000000..0fd435646
--- /dev/null
+++ b/.idea/runConfigurations/core_tests.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/runConfigurations/openai_adapters_configuration.xml b/.idea/runConfigurations/openai_adapters_configuration.xml
new file mode 100644
index 000000000..b50fa94c5
--- /dev/null
+++ b/.idea/runConfigurations/openai_adapters_configuration.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index 35eb1ddfb..7ddfc9ed4 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -1,5 +1,11 @@
+
+
+
+
+
+
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 000000000..2b440ff66
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,11 @@
+{
+ "recommendations": [
+ "Continue.continue",
+ "vivaxy.vscode-conventional-commits",
+ "dbaeumer.vscode-eslint",
+ "esbenp.prettier-vscode",
+ "bradlc.vscode-tailwindcss",
+ "YoavBls.pretty-ts-errors",
+ "github.vscode-github-actions"
+ ]
+}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 397937afb..db2967d2e 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -46,5 +46,10 @@
// "sync/**": true
},
"eslint.workingDirectories": ["./core"],
- "typescript.tsdk": "node_modules/typescript/lib"
+ "typescript.tsdk": "node_modules/typescript/lib",
+ "conventionalCommits.showNewVersionNotes": false,
+ "conventionalCommits.promptBody": false,
+ "conventionalCommits.promptFooter": false,
+ "conventionalCommits.promptScopes": true,
+ "conventionalCommits.scopes": ["reg"]
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 268bbe613..000000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Changelog
-
-Separate changelogs are kept for each extension:
-
-- [VS Code Extension](./extensions/vscode/CHANGELOG.md)
-- [JetBrains Extension](./extensions/intellij/CHANGELOG.md)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5b730190a..4f30e3e00 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -3,44 +3,49 @@
## Table of Contents
- [Contributing to Continue](#contributing-to-continue)
- - [Table of Contents](#table-of-contents)
+ - [Table of Contents](#table-of-contents)
- [β€οΈ Ways to Contribute](#οΈ-ways-to-contribute)
- - [π Continue Contribution Ideas](#-continue-contribution-ideas)
- - [π Report Bugs](#-report-bugs)
- - [β¨ Suggest Enhancements](#-suggest-enhancements)
- - [π Updating / Improving Documentation](#-updating--improving-documentation)
- - [Running the Documentation Server Locally](#running-the-documentation-server-locally)
- - [Method 1: NPM Script](#method-1-npm-script)
- - [Method 2: VS Code Task](#method-2-vs-code-task)
- - [π§βπ» Contributing Code](#-contributing-code)
- - [Environment Setup](#environment-setup)
- - [Pre-requisites](#pre-requisites)
- - [Fork the Continue Repository](#fork-the-continue-repository)
- - [VS Code](#vs-code)
- - [Debugging](#debugging)
- - [JetBrains](#jetbrains)
- - [Our Git Workflow](#our-git-workflow)
- - [Development workflow](#development-workflow)
- - [Formatting](#formatting)
- - [Testing](#testing)
- - [Review Process](#review-process)
- - [Getting help](#getting-help)
- - [Contribtuing new LLM Providers/Models](#contribtuing-new-llm-providersmodels)
- - [Adding an LLM Provider](#adding-an-llm-provider)
- - [Adding Models](#adding-models)
- - [π Continue Architecture](#-continue-architecture)
- - [Continue VS Code Extension](#continue-vs-code-extension)
- - [Continue JetBrains Extension](#continue-jetbrains-extension)
+ - [π Continue Contribution Ideas](#-continue-contribution-ideas)
+ - [π Report Bugs](#-report-bugs)
+ - [β¨ Suggest Enhancements](#-suggest-enhancements)
+ - [π Updating / Improving Documentation](#-updating--improving-documentation)
+ - [Running the Documentation Server Locally](#running-the-documentation-server-locally)
+ - [Method 1: NPM Script](#method-1-npm-script)
+ - [Method 2: VS Code Task](#method-2-vs-code-task)
+ - [π§βπ» Contributing Code](#-contributing-code)
+ - [Environment Setup](#environment-setup)
+ - [Pre-requisites](#pre-requisites)
+ - [Fork the Continue Repository](#fork-the-continue-repository)
+ - [VS Code](#vs-code)
+ - [Debugging](#debugging)
+ - [JetBrains](#jetbrains)
+ - [Our Git Workflow](#our-git-workflow)
+ - [Development workflow](#development-workflow)
+ - [Formatting](#formatting)
+ - [Testing](#testing)
+ - [Review Process](#review-process)
+ - [Getting help](#getting-help)
+ - [Contribtuing new LLM Providers/Models](#contribtuing-new-llm-providersmodels)
+ - [Adding an LLM Provider](#adding-an-llm-provider)
+ - [Adding Models](#adding-models)
+ - [π Continue Architecture](#-continue-architecture)
+ - [Continue VS Code Extension](#continue-vs-code-extension)
+ - [Continue JetBrains Extension](#continue-jetbrains-extension)
+ - [Contibutor License Agreement](#contributor-license-agreement-cla)
# β€οΈ Ways to Contribute
## π Continue Contribution Ideas
-[This GitHub project board](https://github.com/orgs/continuedev/projects/2) is a list of ideas for how you can contribute to Continue. These aren't the only ways, but are a great starting point if you are new to the project.
+[This GitHub project board](https://github.com/orgs/continuedev/projects/2) is a list of ideas for how you can
+contribute to Continue. These aren't the only ways, but are a great starting point if you are new to the project. You
+can also browse the list
+of [good first issues](https://github.com/continuedev/continue/issues?q=is:issue%20state:open%20label:good-first-issue).
## π Report Bugs
-If you find a bug, please [create an issue](https://github.com/continuedev/continue/issues) to report it! A great bug report includes:
+If you find a bug, please [create an issue](https://github.com/continuedev/continue/issues) to report it! A great bug
+report includes:
- A description of the bug
- Steps to reproduce
@@ -50,19 +55,22 @@ If you find a bug, please [create an issue](https://github.com/continuedev/conti
## β¨ Suggest Enhancements
-Continue is quickly adding features, and we'd love to hear which are the most important to you. The best ways to suggest an enhancement are:
+Continue is quickly adding features, and we'd love to hear which are the most important to you. The best ways to suggest
+an enhancement are:
- Create an issue
- - First, check whether a similar proposal has already been made
- - If not, [create an issue](https://github.com/continuedev/continue/issues)
- - Please describe the enhancement in as much detail as you can, and why it would be useful
+ - First, check whether a similar proposal has already been made
+ - If not, [create an issue](https://github.com/continuedev/continue/issues)
+ - Please describe the enhancement in as much detail as you can, and why it would be useful
- Join the [Continue Discord](https://discord.gg/NWtdYexhMs) and tell us about your idea in the `#feedback` channel
## π Updating / Improving Documentation
-Continue is continuously improving, but a feature isn't complete until it is reflected in the documentation! If you see something out-of-date or missing, you can help by clicking "Edit this page" at the bottom of any page on [docs.continue.dev](https://docs.continue.dev).
+Continue is continuously improving, but a feature isn't complete until it is reflected in the documentation! If you see
+something out-of-date or missing, you can help by clicking "Edit this page" at the bottom of any page
+on [docs.continue.dev](https://docs.continue.dev).
### Running the Documentation Server Locally
@@ -70,7 +78,8 @@ You can run the documentation server locally using either of the following metho
#### Method 1: NPM Script
-1. Open your terminal and navigate to the `docs` subdirectory of the project. The `docusaurus.config.js` file you'll see there is a sign you're in the right place.
+1. Open your terminal and navigate to the `docs` subdirectory of the project. The `docusaurus.config.js` file you'll see
+ there is a sign you're in the right place.
2. Run the following command to install the necessary dependencies for the documentation server:
@@ -92,17 +101,22 @@ You can run the documentation server locally using either of the following metho
3. Look for the `docs:start` task and select it.
-This will start a local server and you can see the documentation rendered in your default browser, typically accessible at `http://localhost:3000`.
+This will start a local server and you can see the documentation rendered in your default browser, typically accessible
+at `http://localhost:3000`.
## π§βπ» Contributing Code
-We welcome contributions from developers of all experience levels - from first-time contributors to seasoned open source maintainers. While we aim to maintain high standards for reliability and maintainability, our goal is to keep the process as welcoming and straightforward as possible.
+We welcome contributions from developers of all experience levels - from first-time contributors to seasoned open source
+maintainers. While we aim to maintain high standards for reliability and maintainability, our goal is to keep the
+process as welcoming and straightforward as possible.
### Environment Setup
#### Pre-requisites
-You should have Node.js version 20.19.0 (LTS) or higher installed. You can get it on [nodejs.org](https://nodejs.org/en/download) or, if you are using NVM (Node Version Manager), you can set the correct version of Node.js for this project by running the following command in the root of the project:
+You should have Node.js version 20.19.0 (LTS) or higher installed. You can get it
+on [nodejs.org](https://nodejs.org/en/download) or, if you are using NVM (Node Version Manager), you can set the correct
+version of Node.js for this project by running the following command in the root of the project:
```bash
nvm use
@@ -114,32 +128,39 @@ nvm use
2. Clone your forked repository to your local machine. Use: `git clone https://github.com/YOUR_USERNAME/continue.git`
-3. Navigate to the cloned directory and make sure you are on the main branch. Create your feature/fix branch from there, like so: `git checkout -b 123-my-feature-branch`
+3. Navigate to the cloned directory and make sure you are on the main branch. Create your feature/fix branch from there,
+ like so: `git checkout -b 123-my-feature-branch`
4. Send your pull request to the main branch.
#### VS Code
-1. Open the VS Code command pallet (`cmd/ctrl+shift+p`) and select `Tasks: Run Task` and then select `install-all-dependencies`
+1. Open the VS Code command pallet (`cmd/ctrl+shift+p`) and select `Tasks: Run Task` and then select
+ `install-all-dependencies`
2. Start debugging:
- 1. Switch to Run and Debug view
- 2. Select `Launch extension` from drop down
- 3. Hit play button
- 4. This will start the extension in debug mode and open a new VS Code window with it installed
- 1. The new VS Code window with the extension is referred to as the _Host VS Code_
- 2. The window you started debugging from is referred to as the _Main VS Code_
+ 1. Switch to Run and Debug view
+ 2. Select `Launch extension` from drop down
+ 3. Hit play button
+ 4. This will start the extension in debug mode and open a new VS Code window with it installed
+ 1. The new VS Code window with the extension is referred to as the _Host VS Code_
+ 2. The window you started debugging from is referred to as the _Main VS Code_
-3. To package the extension, run `npm run package` in the `extensions/vscode` directory, select `Tasks: Run Task` and then select `vscode-extension:package`. This will generate `extensions/vscode/build/continue-{VERSION}.vsix`, which you can install by right-clicking and selecting "Install Extension VSIX".
+3. To package the extension, run `npm run package` in the `extensions/vscode` directory, select `Tasks: Run Task` and
+ then select `vscode-extension:package`. This will generate `extensions/vscode/build/continue-{VERSION}.vsix`, which
+ you can install by right-clicking and selecting "Install Extension VSIX".
##### Debugging
-**Breakpoints** can be used in both the `core` and `extensions/vscode` folders while debugging, but are not currently supported inside of `gui` code.
+**Breakpoints** can be used in both the `core` and `extensions/vscode` folders while debugging, but are not currently
+supported inside of `gui` code.
-**Hot-reloading** is enabled with Vite, so if you make any changes to the `gui`, they should be automatically reflected without rebuilding. In some cases, you may need to refresh the _Host VS Code_ window to see the changes.
+**Hot-reloading** is enabled with Vite, so if you make any changes to the `gui`, they should be automatically reflected
+without rebuilding. In some cases, you may need to refresh the _Host VS Code_ window to see the changes.
-Similarly, any changes to `core` or `extensions/vscode` will be automatically included by just reloading the _Host VS Code_ window with cmd/ctrl+shift+p "Reload Window".
+Similarly, any changes to `core` or `extensions/vscode` will be automatically included by just reloading the _Host VS
+Code_ window with cmd/ctrl+shift+p "Reload Window".
#### JetBrains
@@ -147,11 +168,20 @@ See [`intellij/CONTRIBUTING.md`](./extensions/intellij/CONTRIBUTING.md) for the
### Our Git Workflow
-We keep a single permanent branch: `main`. When we are ready to create a "pre-release" version, we create a tag on the `main` branch titled `v0.9.x-vscode`, which automatically triggers the workflow in [preview.yaml](./.github/workflows/preview.yaml), which builds and releases a version of the VS Code extension. When a release has been sufficiently tested, we will create a new release titled `v0.8.x-vscode`, triggering a similar workflow in [main.yaml](./.github/workflows/main.yaml), which will build and release a main release of the VS Code extension. Any hotfixes can be made by creating a feature branch from the tag for the release in question. This workflow is well explained by .
+We keep a single permanent branch: `main`. When we are ready to create a "pre-release" version, we create a tag on the
+`main` branch titled `v1.1.x-vscode`, which automatically triggers the workflow
+in [preview.yaml](./.github/workflows/preview.yaml), which builds and releases a version of the VS Code extension. When
+a release has been sufficiently tested, we will create a new release titled `v1.0x-vscode`, triggering a similar
+workflow in [main.yaml](./.github/workflows/main.yaml), which will build and release a main release of the VS Code
+extension. Any hotfixes can be made by creating a feature branch from the tag for the release in question. This workflow
+is well explained by .
-### Development workflow
+### What makes a good PR?
-- Open a new issue or comment on an existing one before writing code. This ensures your proposed changes are aligned with the project direction.
+To keep the Continue codebase clean and maintainable, we expect the following from our own team and all contributors:
+
+- Open a new issue or comment on an existing one before writing code. This ensures your proposed changes are aligned
+ with the project direction
- Keep changes focused. Multiple unrelated fixes should be opened as separate PRs
- Write or update tests for new functionality
- Update relevant documentation in the `docs` folder
@@ -159,18 +189,22 @@ We keep a single permanent branch: `main`. When we are ready to create a "pre-re
### Formatting
-Continue uses [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) to format JavaScript/TypeScript. Please install the Prettier extension in VS Code and enable "Format on Save" in your settings.
+Continue uses [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) to format
+JavaScript/TypeScript. Please install the Prettier extension in VS Code and enable "Format on Save" in your settings.
### Testing
-We have a mix of unit, functional, and e2e test suites, with a primary focus on functional testing. These tests run on each pull request. If your PR causes one of these tests to fail, we will ask that you to resolve the issue before we merge.
+We have a mix of unit, functional, and e2e test suites, with a primary focus on functional testing. These tests run on
+each pull request. If your PR causes one of these tests to fail, we will ask that you to resolve the issue before we
+merge.
When contributing, please update or create the appropriate tests to help verify the correctness of your implementaiton.
### Review Process
- **Initial Review** - A maintainer will be assigned as primary reviewer
-- **Feedback Loop** - The reviewer may request changes. We value your work, but also want to ensure the code is maintainable and follows our patterns.
+- **Feedback Loop** - The reviewer may request changes. We value your work, but also want to ensure the code is
+ maintainable and follows our patterns.
- **Approval & Merge** - Once the PR is approved, it will be merged into the `main` branch.
### Getting help
@@ -181,42 +215,53 @@ Join [#contribute on Discord](https://discord.gg/vapESyrFmJ) to engage with main
### Adding an LLM Provider
-Continue has support for more than a dozen different LLM "providers", making it easy to use models running on OpenAI, Ollama, Together, LM Studio, Msty, and more. You can find all of the existing providers [here](https://github.com/continuedev/continue/tree/main/core/llm/llms), and if you see one missing, you can add it with the following steps:
-
-1. Create a new file in the `core/llm/llms` directory. The name of the file should be the name of the provider, and it should export a class that extends `BaseLLM`. This class should contain the following minimal implementation. We recommend viewing pre-existing providers for more details. The [LlamaCpp Provider](./core/llm/llms/LlamaCpp.ts) is a good simple example.
-
-- `providerName` - the identifier for your provider.
-- At least one of `_streamComplete` or `_streamChat` - This is the function that makes the request to the API and returns the streamed response. You only need to implement one because Continue can automatically convert between "chat" and "raw completion".
+Continue has support for more than a dozen different LLM "providers", making it easy to use models running on OpenAI,
+Ollama, Together, LM Studio, Msty, and more. You can find all of the existing
+providers [here](https://github.com/continuedev/continue/tree/main/core/llm/llms), and if you see one missing, you can
+add it with the following steps:
+1. Create a new file in the `core/llm/llms` directory. The name of the file should be the name of the provider, and it
+ should export a class that extends `BaseLLM`. This class should contain the following minimal implementation. We
+ recommend viewing pre-existing providers for more details. The [LlamaCpp Provider](./core/llm/llms/LlamaCpp.ts) is a
+ good simple example.
2. Add your provider to the `LLMs` array in [core/llm/llms/index.ts](./core/llm/llms/index.ts).
-3. If your provider supports images, add it to the `PROVIDER_SUPPORTS_IMAGES` array in [core/llm/autodetect.ts](./core/llm/autodetect.ts).
-4. Add the necessary JSON Schema types to [`config_schema.json`](./extensions/vscode/config_schema.json). This makes sure that Intellisense shows users what options are available for your provider when they are editing `config.json`.
-5. Add a documentation page for your provider in [`docs/docs/customize/model-providers`](./docs/docs/customize/model-providers). This should show an example of configuring your provider in `config.json` and explain what options are available.
+3. If your provider supports images, add it to the `PROVIDER_SUPPORTS_IMAGES` array
+ in [core/llm/autodetect.ts](./core/llm/autodetect.ts).
+4. Add a documentation page for your provider in [
+ `docs/docs/customize/model-providers/more`](./docs/docs/customize/model-providers/more). This should show an example
+ of configuring your provider in `config.yaml` and explain what options are available.
### Adding Models
-While any model that works with a supported provider can be used with Continue, we keep a list of recommended models that can be automatically configured from the UI or `config.json`. The following files should be updated when adding a model:
+While any model that works with a supported provider can be used with Continue, we keep a list of recommended models
+that can be automatically configured from the UI or `config.json`. The following files should be updated when adding a
+model:
-- [config_schema.json](./extensions/vscode/config_schema.json) - This is the JSON Schema definition that is used to validate `config.json`. You'll notice a number of rules defined in "definitions.ModelDescription.allOf". Here is where you write rules that can specify something like "for the provider 'anthropic', only models 'claude-2' and 'claude-instant-1' are allowed. Look through all of these rules and make sure that your model is included for providers that support it.
-- [AddNewModel page](./gui/src/pages/AddNewModel) - This directory defines which model options are shown in the side bar model selection UI. To add a new model:
- 1. Add a `ModelPackage` entry for the model into [configs/models.ts](./gui/src/pages/AddNewModel/configs/models.ts), following the lead of the many examples near the top of the file
- 2. Add the model within its provider's array to [AddNewModel.tsx](./gui/src/pages/AddNewModel/AddNewModel.tsx) (add provider if needed)
-- [index.d.ts](./core/index.d.ts) - This file defines the TypeScript types used throughout Continue. You'll find a `ModelName` type. Be sure to add the name of your model to this.
-- LLM Providers: Since many providers use their own custom strings to identify models, you'll have to add the translation from Continue's model name (the one you added to `index.d.ts`) and the model string for each of these providers: [Ollama](./core/llm/llms/Ollama.ts), [Together](./core/llm/llms/Together.ts), and [Replicate](./core/llm/llms/Replicate.ts). You can find their full model lists here: [Ollama](https://ollama.ai/library), [Together](https://docs.together.ai/docs/inference-models), [Replicate](https://replicate.com/collections/streaming-language-models).
-- [Prompt Templates](./core/llm/index.ts) - In this file you'll find the `autodetectTemplateType` function. Make sure that for the model name you just added, this function returns the correct template type. This is assuming that the chat template for that model is already built in Continue. If not, you will have to add the template type and corresponding edit and chat templates.
+- [AddNewModel page](./gui/src/pages/AddNewModel/configs/) - This directory defines which model options are shown in the
+ side bar model selection UI. To add a new model:
+ 1. Add a `ModelPackage` entry for the model into [configs/models.ts](./gui/src/pages/AddNewModel/configs/models.ts),
+ following the lead of the many examples near the top of the file
+ 2. Add the model within its provider's array
+ to [configs/providers.ts](./gui/src/pages/AddNewModel/configs/providers.ts) (add provider if needed)
+- LLM Providers: Since many providers use their own custom strings to identify models, you'll have to add the
+ translation from Continue's model name (the one you added to `index.d.ts`) and the model string for each of these
+ providers: [Ollama](./core/llm/llms/Ollama.ts), [Together](./core/llm/llms/Together.ts),
+ and [Replicate](./core/llm/llms/Replicate.ts). You can find their full model lists
+ here: [Ollama](https://ollama.ai/library), [Together](https://docs.together.ai/docs/inference-models), [Replicate](https://replicate.com/collections/streaming-language-models).
+- [Prompt Templates](./core/llm/autodetect.ts) - In this file you'll find the `autodetectTemplateType` function. Make
+ sure that for the model name you just added, this function returns the correct template type. This is assuming that
+ the chat template for that model is already built in Continue. If not, you will have to add the template type and
+ corresponding edit and chat templates.
-## π Continue Architecture
+## Contributor License Agreement (CLA)
-Continue consists of 2 parts that are split so that it can be extended to work in other IDEs as easily as possible:
+We require all contributors to accept the CLA and have made it as easy as commenting on your PR:
-1. **Continue GUI** - The Continue GUI is a React application that gives the user control over Continue. It displays the current chat history, allows the user to ask questions, invoke slash commands, and use context providers. The GUI also handles most state and holds as much of the logic as possible so that it can be reused between IDEs.
+1. Open your pull request.
+2. Paste the following comment (or reply `recheck` if youβve signed before):
-2. **Continue Extension** - The Continue Extension is a plugin for the IDE which implements the [IDE Interface](./core/index.d.ts#L229). This allows the GUI to request information from or actions to be taken within the IDE. This same interface is used regardless of IDE. The first Continue extensions we have built are for VS Code and JetBrains, but we plan to build clients for other IDEs in the future. The IDE Client must 1. implement IDE Interface, as is done [here](./extensions/vscode/src/VsCodeIde.ts) for VS Code and 2. display the Continue GUI in a sidebar, like [here](./extensions/vscode/src/ContinueGUIWebviewViewProvider.ts).
+ ```text
+ I have read the CLA Document and I hereby sign the CLA
+ ```
-### Continue VS Code Extension
-
-The starting point for the VS Code extension is [activate.ts](./extensions/vscode/src/activation/activate.ts). The `activateExtension` function here will register all commands and load the Continue GUI in the sidebar of the IDE as a webview.
-
-### Continue JetBrains Extension
-
-The JetBrains extension is currently in alpha testing. Please reach out on [Discord](https://discord.gg/vapESyrFmJ) if you are interested in contributing to its development.
+3. The CLAβAssistant bot records your signature in the repo and marks the status check as passed.
\ No newline at end of file
diff --git a/README.md b/README.md
index a7a9eabb3..bc5df9c83 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,10 @@
-**[Continue](https://docs.continue.dev) enables developers to create, share, and use custom AI code assistants with our open-source [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension) extensions and [hub of models, rules, prompts, docs, and other building blocks](https://hub.continue.dev)**
+**[Continue](https://docs.continue.dev) enables developers to create, share, and use custom AI code assistants with our
+open-source [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue)
+and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension) extensions
+and [hub of models, rules, prompts, docs, and other building blocks](https://hub.continue.dev)**