Commit graph

129 commits

Author SHA1 Message Date
Shawn Smith
42ea4b2d7e
fix: 💚 Fix Builds (#6933)
* fix: 💚 Remove clean on build

* fix: 💚 The dist directory was not getting created

* fix: 💚 Install Vite

* fix: 💚 move gui build after core

* fix: ✅ Fix the PromptFile test to be more robust

* fix: 💚 Use the proper github secret

* fix: 💚 Pass github secret correctly to composite workflow

* fix: 💚 More token fixes

* fix: 💚 More secrets fixes

* fix: 💚 Add rimfrafSync cleanup to vscode dist like JetBrains

* build: ⚗️ See what happens if we remove the GUI build step from prepackage.js

* Revert prepackage changes

* Remove pre-package dependencies

* Put back the chdir and build from root gui

* build: 💚 Final cleanup from refactoring

* Remove deprecated isInGitHubActions check

* feat: 🏗️ VsCode Task Improvements

* fix: 🎨 Prettier

* fix: 🎨 Prettier
2025-08-04 10:53:35 -07:00
Patrick Erichsen
fb324f1f8d Update prepackage.js 2025-07-28 21:12:48 -07:00
Patrick Erichsen
bbb1cda07c add timer logs to prepackage 2025-07-28 21:11:40 -07:00
uinstinct
01930c926d skip installations and downloads on extension run 2025-06-19 16:41:16 +05:30
uinstinct
1414aec53b rename install nodemodules to npm-install 2025-06-06 23:17:58 +05:30
uinstinct
1d4a31af22 rename install-copy-sqlite-esbuild to download-copy-sqlite-esbuild 2025-06-06 22:59:39 +05:30
uinstinct
e8e8821134 move install-copy-nodemodule to vscode scripts 2025-06-06 22:58:45 +05:30
uinstinct
9fae1a2f05 refactor utils to child process files 2025-06-06 22:30:40 +05:30
uinstinct
8d48cefc2e correct to copy-nodemodule.js 2025-06-06 21:20:16 +05:30
uinstinct
e98307aafa download using node https over curl 2025-06-06 21:08:33 +05:30
uinstinct
37139c9e11 parallel node sqlite and esbuild downloads 2025-06-06 20:39:03 +05:30
uinstinct
c0700e1634 parallel config yaml generation copying and installing node modules 2025-06-06 19:08:53 +05:30
uinstinct
8194ec700c parallel npm installation of vscode and gui 2025-06-06 18:46:21 +05:30
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