Commit graph

5569 commits

Author SHA1 Message Date
Rob Leidle
331cdb768c
Change treeSitter to cache the Language objects it loads from wasm (#1672)
Without this change, for a repository with 600 typescript files, the
indexer would fail to finish correctly and there would be many of the
following errors in the webview console log:

'Unable to load language for file ${path} RuntimeError: table index is out of bounds'

The following bash will create a repo that reproduces the problem:

current_path="."

for ((i=1; i<=20; i++)); do
    new_folder="folder-$i"
    mkdir -p "$current_path/$new_folder"
    current_path="$current_path/$new_folder"

    for ((a=1; a<=30; a++)); do
      head -c 10000 /dev/urandom | base64 > "$current_path/file-$a.ts"
    done
done

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-07-05 09:56:16 -07:00
Rob Leidle
b6fb45624c
Fix an issue where CMD+K does not clear the terminal when the terminal has focus (#1671)
On MacOS, ⌘+K is bound, by default, to Terminal:Clear. Without this
change ⌘+K does not clear the terminal but instead iniates a chord
sequence and waits for the next stroke of the chord.

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-07-05 09:53:03 -07:00
Nate Sesti
188f4da2f1 quick fix for walk dir 2024-07-04 15:59:07 -07:00
Nate Sesti
d5466532e1 quick input box with history 2024-07-04 14:03:11 -07:00
Nate Sesti
b226eb8d25 refactored quickedit 2024-07-04 11:39:41 -07:00
Nate Sesti
51ac34a3df fix cmd+I follow up range bug 2024-07-04 11:37:07 -07:00
Nate Sesti
e499ea8bd7 Merge branch 'dev' of https://github.com/continuedev/continue into dev 2024-07-04 09:13:09 -07:00
Nate Sesti
b8b8da842e each stop sequence must contain non-whitespace, Bedrock Anthropic 2024-07-04 09:13:04 -07:00
Itamar Schen
3afeb9a8ba
fix handling remote unix paths on Windows over Remote Tunnels (#1659) 2024-07-04 09:08:58 -07:00
Priyash
13f85396b5
add new vs code categories (#1664) 2024-07-04 09:08:20 -07:00
Nate Sesti
45c2ec7eee upsert instead of insert to fts_metadata 2024-07-04 08:46:58 -07:00
Nate Sesti
afaa6659b9
Merge branch 'preview' into dev 2024-07-04 00:07:29 -07:00
Nate Sesti
bf9e689c37 update package.json version 2024-07-04 00:06:50 -07:00
Rob Leidle
57af4d03cf
Add support for the HuggingFace Text Embeddings Inference server (#1657)
Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-07-03 23:50:04 -07:00
Nate Sesti
a84abfae4a update config_schema.json with client cert options 2024-07-03 23:48:36 -07:00
Ten
136bf9e0f0
feat: Client Certificate Options Support (#1658)
* feat: support client certificate authentication options

* docs: support client certificate authentication options

* chore: update package.json

* docs: move clientCertificate to it's own example
2024-07-03 23:44:06 -07:00
Nate Sesti
74020b1052
Tests for indexing + follow all .gitignore syntax (#1661)
* cleaner indexing progress updates messages

* chunking tests

* first round of testing for walkDir in .ts

* few more tests

* swap fs with ide

* clean up dead code

* replace traverseDirectory

* fix listFolders

* smoother indexing updates for chunking

* ide pathSetp

* absolute paths test

* fix path sep error with abs paths on windows

* clean up tests
2024-07-03 23:41:43 -07:00
Nate Sesti
cc900ed9d8 support legacy OpenAI formatted servers 2024-07-03 14:44:59 -07:00
Nate Sesti
aa37f8cbde add content-type header to ollama /api/show req 2024-07-03 14:31:02 -07:00
Patrick Erichsen
6cf0102875
feat: make disabled state a tooltip (#1653) 2024-07-03 09:19:34 -05:00
华丽
73b8caa776
chore: reduce vscode extension bundle size (#1647) 2024-07-03 00:09:31 -07:00
Patrick Erichsen
ee2885549d
Update troubleshooting.md (#1646) 2024-07-02 21:30:30 -05:00
Nate Sesti
d69b830ec7 update version 2024-07-02 19:24:45 -07:00
Nate Sesti
0d3cff2cdf
changelog (#1645)
* 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: 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

* basic tests for VS Code extension

* chore: onboarding metrics (#1626)

* fix: pageview tracking

* feat: add onboarding telemetry

* create single `onboardingStatus` type

* improved var naming

* remove console logs

* fix double adding of context providers

* fix cross-platform build validation

* Update troubleshooting.md (#1637)

* add back skip onboarding button

* fix free trial embeddings error

* Nate/indexing fixes (#1642)

* fix pausing of indexing

* don't send empty array to openai embeddings

* catch embeddings errors without stopping entire indexing process

* update version

* changelog

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
2024-07-02 19:21:24 -07:00
Nate Sesti
2208b14117
Merge branch 'preview' into dev 2024-07-02 19:21:16 -07:00
Nate Sesti
0c407565d6 changelog 2024-07-02 19:19:45 -07:00
Nate Sesti
b2e9bc97eb
Merge branch 'main' into preview 2024-07-02 19:11:25 -07:00
Nate Sesti
a96f7a7484
Dev (#1643)
* 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: 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

* basic tests for VS Code extension

* chore: onboarding metrics (#1626)

* fix: pageview tracking

* feat: add onboarding telemetry

* create single `onboardingStatus` type

* improved var naming

* remove console logs

* fix double adding of context providers

* fix cross-platform build validation

* Update troubleshooting.md (#1637)

* add back skip onboarding button

* fix free trial embeddings error

* Nate/indexing fixes (#1642)

* fix pausing of indexing

* don't send empty array to openai embeddings

* catch embeddings errors without stopping entire indexing process

* update version

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
2024-07-02 18:43:07 -07:00
Nate Sesti
045f0f6b75 update version 2024-07-02 18:42:52 -07:00
Nate Sesti
2d892fab7d Nate/indexing fixes (#1642)
* fix pausing of indexing

* don't send empty array to openai embeddings

* catch embeddings errors without stopping entire indexing process
2024-07-02 18:40:21 -07:00
Nate Sesti
932a51bf44 fix free trial embeddings error 2024-07-02 18:40:21 -07:00
Nate Sesti
7a8335545b add back skip onboarding button 2024-07-02 18:40:21 -07:00
Patrick Erichsen
cd3d04c2f5 Update troubleshooting.md (#1637) 2024-07-02 18:40:21 -07:00
Nate Sesti
3af0482c00 fix cross-platform build validation 2024-07-02 18:40:21 -07:00
Nate Sesti
4ca689acf8 fix double adding of context providers 2024-07-02 18:40:21 -07:00
Patrick Erichsen
8f409e251a chore: onboarding metrics (#1626)
* fix: pageview tracking

* feat: add onboarding telemetry

* create single `onboardingStatus` type

* improved var naming

* remove console logs
2024-07-02 18:39:57 -07:00
Nate Sesti
153263b4a5 basic tests for VS Code extension 2024-07-02 18:39:26 -07:00
Nate Sesti
c8f028249c rerank-lite-1 2024-07-02 18:36:40 -07:00
Patrick Erichsen
11ce4f7bc2 chore: add telemetry for full screen toggle (#1618) 2024-07-02 18:36:40 -07:00
Patrick Erichsen
9bae5a254d feat: add free trial card to onboarding (#1600)
* feat: add free trial card to onboarding

* add import
2024-07-02 18:36:30 -07:00
Nate Sesti
b9dc9ce23c small fixes 2024-07-02 18:36:30 -07:00
Patrick Erichsen
8b305046ef feat: add best experience onboarding 2024-07-02 18:36:30 -07:00
Nate Sesti
366acf4c0e media query 2024-07-02 18:35:48 -07:00
Nate Sesti
d321032b28 small UI tweaks 2024-07-02 18:35:48 -07:00
Jonah Wagner
679e26d4a8 fix: fullscreen gui retains context when hidden, fixed fullscreen focusing (#1582) 2024-07-02 18:35:48 -07:00
Patrick Erichsen
5df81770df fix: remove testing logic 2024-07-02 18:35:48 -07:00
Patrick Erichsen
ed56c8f7f3 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
2024-07-02 18:35:48 -07:00
Nate Sesti
0050d7c34e import Handlebars 2024-07-02 18:35:48 -07:00
Nate Sesti
10b2001edf add voyage rerank-1 2024-07-02 18:35:48 -07:00
Nate Sesti
78488da7f2 ✨ use and cache imports for autocomplete (#1456)
* ✨ use and cache imports for autocomplete

* fix tsc
2024-07-02 18:35:47 -07:00