Commit graph

116 commits

Author SHA1 Message Date
Tomasz Stefaniak
9946a5c05f fix: mac build issues 2025-05-30 18:38:18 -07:00
uinstinct
0d800fb5e0 remove generic esbuild binary from build 2025-05-06 09:03:55 +05:30
Nate
7f70f17552 generate, include in build, and set in settings.json the schema 2025-04-11 23:15:04 -07:00
Owen W. Taylor
2483abdc7b Reliably trigger VSCode extension rebuild
The code to trigger a rebuild on missing extension.js added in
https://github.com/continuedev/continue/pull/3276
turns out not to be entirely reliable because esbuild sometimes
falls back to full-contents comparison rather than using the modtime.
To fix this, include a buildTimestamp file in the input, and
rewrite that when we want to trigger a rebuild.
2025-02-24 18:10:15 -05:00
Nate Sesti
f82518312d
Merge pull request #4173 from continuedev/dallin/fix-transformers.js
Revert esbuild upgrade to fix transformers.js
2025-02-15 10:09:12 -08:00
Dallin Romney
03ce9d2911 revert esbuild upgrade 2025-02-14 20:39:08 -08:00
Dallin Romney
b5c07654df remove onigasm 2025-02-14 19:42:57 -08:00
tomasz-io
e8387228f4 Revert "Update prepackage.js"
This reverts commit a96de28eb0.
2025-02-12 13:45:57 -08:00
tomasz-io
6e71d92283 Reapply "improv: upgrade esbuild"
This reverts commit 0e7ea0fdb0.
2025-02-12 13:44:04 -08:00
tomasz-io
a96de28eb0 Update prepackage.js 2025-02-12 13:40:37 -08:00
tomasz-io
0e7ea0fdb0 Revert "improv: upgrade esbuild"
This reverts commit 0ef4d66016.
2025-02-12 13:39:04 -08:00
tomasz-io
0ef4d66016 improv: upgrade esbuild 2025-02-12 13:32:16 -08:00
Patrick Erichsen
f4a11e7603 use correct .tar.gz 2025-02-10 18:26:48 -08:00
Patrick Erichsen
20c5c4713c Update prepackage.js 2025-02-09 19:46:13 -08:00
Patrick Erichsen
f3161c1cb8 Update prepackage.js 2025-02-08 19:27:59 -08:00
Patrick Erichsen
88729ee44f Update prepackage.js 2025-02-07 14:08:15 -08:00
Patrick Erichsen
fa017454aa Update prepackage.js 2025-02-07 14:07:58 -08:00
Patrick Erichsen
04e9aaa244 Update prepackage.js 2025-02-07 13:57:41 -08:00
Patrick Erichsen
027732073a feat: use @lancedb/vectordb-win32-arm64-msvc 2025-02-07 12:28:06 -08:00
Fred Bricon
8296cd10ac Add the ability to start Ollama when it's stopped
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-01-10 18:57:27 +01:00
Big Boss
c6002ba2ac
fix: major fixes to getTheme
Remove the built-in themes from the extension since they are not needed.

Since the update to detect the correct color scheme, users have noticed that the `include` logic has been broken causing incorrect styling.

This fix introduces cleaner theme logic since we assume that the vscode extension will have the theme files locally. The include logic now includes nested themes.

It also fixes finding the default themes correctly by comparing both theme ID and theme label.
2024-12-06 09:52:52 -06:00
Dallin Romney
a51d4fc6fc merge dev 2024-10-31 01:22:51 -07:00
Dallin Romney
f425cadcda docs config md part 1 2024-10-28 12:02:31 -07:00
Dallin Romney
680edf3572 provider factories, plugin, and package scripts 2024-10-24 12:20:34 -07:00
Nate
5fa1ebed40 undo unneeded fix for win build 2024-10-16 18:27:12 -07:00
Nate
a88408bf87 solve windows debug build error 2024-10-16 17:47:56 -07:00
Test
9f0f18664f rename welcome.md 2024-09-25 10:30:01 -07:00
Test
625fdb0157 Merge branch 'dev' into pe/docs-sitemap 2024-08-22 19:40:05 -07:00
Test
e5b3e283e8 cleanup 2024-08-22 19:18:31 -07:00
Patrick Erichsen
23fffea2cc copy libs into out 2024-08-21 14:06:11 -07:00
Nate Sesti
d4e7372cc8 rename intellij to jetbrains 2024-08-19 09:44:24 -07:00
Rob Leidle
8a278ff8b4
Enable async encoding for the GPTEncoder (#1946)
This will improve the performance of indexing when using a GPT model.
Also, improved the Async interface to also have an async decode method.

Note: I was only able to test this method with the test I added as I do
not have access to a GPT model.

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-06 16:18:49 -07:00
Rob Leidle
78a4025414 Offload all token counting to worker processes as well as some optimizations to do more token counting in parallel
Adding the workerpool logic broke gui as vite does not support __dirname
or path.join(...). To work around this, moved the gui dependency of
stripImages out of countTokens.ts
2024-07-26 13:10:36 -07:00
Nate Sesti
34b40f4f53
Dev (#1627)
* docs: add docs and schema for "OS" provider (#1536)

* ignore .env

* ✨ use and cache imports for autocomplete (#1456)

* ✨ use and cache imports for autocomplete

* fix tsc

* add voyage rerank-1

* import Handlebars

* feat: open pane on install (#1564)

* feat: open pane on activation

* comment out testing code

* chore: add telemetry for pageviews (#1576)

* feat: update onboarding w/ embeddings model (#1570)

* chore(gui): remove unused pages

* feat: add embeddings step

* feat: update styles

* feat: copy button updates

* fix: correct pull command for embed model

* fix: remove commented code

* fix: remove commented code

* feat: simplify copy btn props

* chore: rename onboarding selection event

* feat: add provider config

* fix: undo msg name

* remove dead code

* fix: invalid mode check

* fix: remove testing logic

* fix: fullscreen gui retains context when hidden, fixed fullscreen focusing (#1582)

* small UI tweaks

* media query

* feat: add best experience onboarding

* small fixes

* feat: add free trial card to onboarding (#1600)

* feat: add free trial card to onboarding

* add import

* chore: add telemetry for full screen toggle (#1618)

* rerank-lite-1

* remove doccs

* basic tests for VS Code extension

* improved testing of VS Code extension

* manually implement stop tokens for hf inference api

* chore: onboarding metrics (#1626)

* fix: pageview tracking

* feat: add onboarding telemetry

* create single `onboardingStatus` type

* improved var naming

* remove console logs

* fix windows performance issue

* rename vscodeExtension.ts

* migration of onboarding variables

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
2024-07-01 21:34:06 -07:00
Nate Sesti
04c08c7159
dev (#1542)
* docs: add docs and schema for "OS" provider (#1536)

* ignore .env

* fix(gui): ctx rendering w/ renderInlineAs: "" (#1541)

* ✨ use and cache imports for autocomplete (#1456)

* ✨ use and cache imports for autocomplete

* fix tsc

* fix codeqwen autocomplete leading space

* add voyage rerank-1

* feat: `--noEmit` for tsc checks in CI (#1559)

* docs: update CustomContextProvider docs (#1557)

* add stop tokens to qwen prompt

* update docs to reflect 3.5 sonnet being best

* docs: comment out unused providers (#1561)

* import Handlebars

* feat: toast notification for config updates (#1560)

* feat: toast notification for config updates

* feat: only trigger toast on config.json save

* displayRawMarkdown option

* feat: open pane on install (#1564)

* feat: open pane on activation

* comment out testing code

* update to reflect 16 stop words limit for deepseek

* feat: only trigger config update toast in vscode (#1571)

* docs(prompt-files): fix typos + clarify (#1575)

* doc: prompt file typo + clarifications

* fix: add back correct docs

* chore: add telemetry for pageviews (#1576)

* feat: update onboarding w/ embeddings model (#1570)

* chore(gui): remove unused pages

* feat: add embeddings step

* feat: update styles

* feat: copy button updates

* fix: correct pull command for embed model

* fix: remove commented code

* fix: remove commented code

* feat: simplify copy btn props

* chore: rename onboarding selection event

* feat: add provider config

* fix: undo msg name

* remove dead code

* fix: invalid mode check

* fix: remove testing logic

* docs(telemetry): add pageviews to tracking list (#1581)

* Add reranker configuration options to codebase embedding docs (#1584)

- Introduce reranker concept
- List available reranker options
- Provide configuration instructions
- Update keywords to include "reranker"

* chore: update pr template with screenshots (#1590)

* Refactor ConfirmationDialog to use SecondaryButton for cancel action (#1586)

* Added instructions for running docs server locally (#1578)

- Added NPM script method
- Added VS Code task method
- Update contributing guidelines

* Update branch policy (#1577)

- Change PR target to `dev` branch
- Update `CONTRIBUTING.md` instructions

* Consolidate example configurations into the main configuration guide (#1579)

- Moved examples to configuration.md
- Deleted the separate examples.md file
- Updated sidebar order and links
- Improved readability and structure in configuration.md

* fix: fullscreen gui retains context when hidden, fixed fullscreen focusing (#1582)

* Update completionProvider.ts (warning tab-autocomplete models) (#1566)

* feat: enhanced IndexingProgressBar with blinking dot feature

- Integrated BlinkingDot component
- Added STATUS_COLORS for various states
- Replaced CircleDiv with BlinkingDot in UI
- Updated status messages and layout

* small UI tweaks

* feat(gui): enhance ModelCard, ModelProviderTag, and Toggle components (#1595)

- add styling and adjustments to ModelCard
- update ModelProviderTag font size
- remove box shadow from Toggle component
- tweak icon styles in ModelCard
- improve alignment and spacing

* media query

* feat: add best experience onboarding

* fix: file rename

* stop movement on button hover by keeping same border thickness

* fix mistake in setting cursor: pointer

* fix when free trial option is shown

* Support Node.js versions below 20 for streaming response handling (#1591)

- Add fallback for Node < 20
- Implement toAsyncIterable for streaming
- Use TextDecoder for manual decoding
- Maintain existing streaming for Node 20+

* small fixes

* feat: add free trial card to onboarding (#1600)

* feat: add free trial card to onboarding

* add import

* fix hasPassedFTL

* fix /edit cancellation from UI

* feat: add `applyCodeBlock` experimental prop (#1601)

* feat: add new model styling improvements (#1609)

* feat: add new model styling improvements

* better gap size

* feat: update bug_report.yml (#1610)

* chore: update bug_report.yml

* typo fix

* feat: add labels to "Add docs" dialog (#1612)

* feat: add labels to "Add docs" dialog

* remove autofocus

* don't double load config

* small fixes

* speed up directory traversal, and use correct native path module

* option not to show config update toast

* merge air-gapped and recommended setup pages

* chore: add telemetry for full screen toggle (#1618)

* Fix headings in codebase-embeddings.md (#1617)

* mention jetbrains

* docs: update changie  (#1619)

* feat: updated changie config

* hide toc and autogenerate

* Update changelog.mdx

* link to deeper explanation of embeddings models

* ensure target="_blank" for all links in sidebar

* fix gif links in intellij README.md

* don't require rust in dependency installation

* chore: fix padding on gh button (#1620)

* chore: adjust button padding

* Update tasks.json

* escape colons in diff path

* smoother lancedb indexing reporting

* smooth progress updates for indexing

* fix tsc err

* rerank-lite-1

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Priyash <38959321+priyashpatil@users.noreply.github.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
Co-authored-by: YohannZe <99359799+YohannZe@users.noreply.github.com>
Co-authored-by: Dan Dascalescu <ddascalescu+github@gmail.com>
2024-06-28 16:21:36 -07:00
Nate Sesti
25dc090cec fix build errors 2024-06-05 11:04:36 -07:00
Nate Sesti
f84177c5ec fix build 2024-06-05 09:16:57 -07:00
Nate Sesti
c68f7988c5 👷 add node_sqlite3 to binary/build 2024-06-05 08:56:17 -07:00
Nate Sesti
e694218541 fix intellij build 2024-06-04 15:15:41 -07:00
Nate Sesti
42e22930a2 fix build 2024-06-04 14:09:40 -07:00
Nate Sesti
0130b83e4d explain the purpose of sign in 2024-06-02 18:48:33 -04:00
Nate Sesti
759ba1281f 🧑‍💻 create gui/dist if it doesn't exist 2024-05-28 08:53:08 -07:00
Justin Milner
645d267376
Build fixes: Remove duplicated code, re-add overwritten commit (#1358)
* readd overwritten commit

* Remove duplicated code
2024-05-26 18:34:26 -07:00
Nate Sesti
53b61288ec
🎨 Refactor core (#1281)
* 🎨 refactor out react context

* 🎨 refactor local storage

* 🎨 refactor IdeMessenger

* 🔥 removing unused files

* 🚚 move scripts

* ✅ setup VSCode integration testing

* 🎨 fix test-related stuff

* 🚧 testing

* 🎨 tweak terminal cmd+L

* 🧑‍💻 install biome in core

* 🎨 run biome check on core

* 🎨 run biome check in vscode

* 🎨 run biome check in binary

* 🧑‍💻 global biome config

* 🎨 run biome check on core

* 🎨 run biome check in vscode

* 🎨 fix a few biome warnings

* 🚧 WIP on protocols

* 🚧 progress, organizing, about to remove webviewCore protocol

* 🚧 now running

* 🚧 move indexing code to core

* 🚧 WIP on JetBrains indexing implementation

* 🎨 finish listDir

* 🚧 gui fixes

* 🏷️ update IMessenger.on return type

* 🐛 fix jetbrains types + IDE detection

* 🧑‍💻 set up debugging for binary with TcpMessenger

* 👷 fix prepackage.js

* 🧑‍💻 turn off debug mode for intellij

* 🐛 merge fixes

* 🐛 fixes after refactor

* 🐛 merge fixes

* 💄 increase font size in JB

* 🔀 merge changes

* 🩹 small fixes

* 🐛 fix jetbrains build

* 🩹 more jetbrains fixes

* 🎨 jetbrains improvements

* 🐛 fix lancedb prob in jetbrains build

* 👷 update jetbrains build process

* ✨ intellij problems context provider

* 👷 add script utils file

* 💚 fix jetbrains build regression

* 🎨 dynamic import transformers.js

* 🩹 small jetbrains updates

* ✨ folder context provider in jetbrains

* 🎨 many more jetbrains improvements

* 🔀 merge fixes

* ⚡️ small improvements

* 🎨 tell users transformers.js not supported

* 🎨 trial updates

* 📝 update jetbrains readmej

* ⚡️ only use smaller context for local autocomplete models

* ⚡️ improve bracket filter

* ✨ global .continue/.prompts folder

* 💄 improved model setup process

* 🥅 display VSCode req errs
2024-05-24 19:38:13 -07:00
Nate Sesti
aed0d86d82 👷 fix version in build post-check 2024-05-21 11:23:31 -07:00
Nate Sesti
baa0c26711 🔥 remove lingering pnpm 2024-05-21 10:53:17 -07:00
Nate Sesti
f3b7c1a352 Merge branch 'main' into preview 2024-05-21 09:43:59 -07:00
Nate Sesti
f6fedfc7c8 📌 pin onnxruntime version to match transformers.js 2024-05-21 09:21:43 -07:00
Nate Sesti
f86e33964a 💚 fix prepackage.js 2024-05-17 21:57:27 -07:00
Nate Sesti
430c6fe001 👷 create out/node_modules in prepackage.js 2024-05-17 21:34:10 -07:00