Commit graph

5559 commits

Author SHA1 Message Date
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
Nate Sesti
c0698315b0 ignore .env 2024-07-02 18:35:47 -07:00
Patrick Erichsen
b807b8ba7c docs: add docs and schema for "OS" provider (#1536) 2024-07-02 18:35:47 -07:00
Nate Sesti
b770863906 skip new tests for now 2024-07-01 22:31:28 -07:00
Nate Sesti
dc220cd1b1 upgrade package.json version 2024-07-01 21:50:16 -07:00
Nate Sesti
7f5e1eb6be skip tests on linux 2024-07-01 21:45:13 -07:00
Nate Sesti
f602d86b58
Dev (#1629)
* 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

* "stash" instead of "delete" in indexing progress

* fix preview.yaml

* also fix main.yaml

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
2024-07-01 21:40:59 -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
3dd036f76c update package.json version 2024-06-28 16:46:51 -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
Dan Dascalescu
b2c4593b63
Recommend Sonnet 3.5 over Opus in select-model.md (#1611) 2024-06-28 10:52:05 -07:00