Commit graph

52 commits

Author SHA1 Message Date
Test
6d15e14893 error handling for gui messenger 2024-08-27 18:59:17 -07:00
Nate Sesti
3c4f4dea31 extract functions responsible for errors 2024-08-13 18:13:36 -07:00
Nate Sesti
8b401423bb release branch from preview ci 2024-08-07 10:28:38 -04:00
Patrick Erichsen
fe05db541d
fix: handle closed webview on quick edit (#1942) 2024-08-06 13:59:15 -07:00
Nate Sesti
afa582345a
Nate/control plane client (#1691)
* 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

* remove doccs

* basic tests for VS Code extension

* improved testing of VS Code extension

* docs: add docs and schema for "OS" provider (#1536)

* ignore .env

* 🚑 fix constant warnings when onboarding with Ollama

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

* ✨ use and cache imports for autocomplete

* fix tsc

* team analytics

* apply control plane settings

* workos auth

* ide protocol get session info

* UI for auth

* profile switching

* small fixes

* updates

* refresh tokens

* updates

* fix tsc errs

* model select in toolbar to make room for profile selector

* prod client id

* link to prod URL

* internal beta option

* profiles change listener

---------

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-07-08 21:51:53 -07:00
Nate Sesti
58691db662 fix codestral templating 2024-05-29 10:53:36 -07:00
Nate Sesti
9702e6d214 cleaner error message 2024-05-29 10:28:08 -07:00
Nate Sesti
683d53bcc2
Free Trial Auth (#1367)
* 🎨 pass gh auth token to free trial

* 💄 improved onboarding flow

* 🎨 make fewer auth reqs

* 🎨 refactor ordering of vscode deps

* 🐛 resolve confighandler
2024-05-26 11:33:46 -07:00
Nate Sesti
e007efbd63 ⚡️ improved autocomplete stopping 2024-05-24 22:03:49 -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
630e5e9e2f 🚸 improve model setup process 2024-05-18 14:59:28 -07:00
Nate Sesti
7fc6644085 🚸 make it easier to continue past trial 2024-05-18 13:02:32 -07:00
Justin Milner
1de0d8a291
CON-223 Correct diff streaming abort (#1263)
Co-authored-by: Justin Milner <jmilner@jmilner-lt2.deka.local>
2024-05-10 14:19:31 -07:00
Nate Sesti
29bb218aeb ⚡️ make getTerminalContents more accurate 2024-05-08 15:02:53 -07:00
Nate Sesti
4160ca6b50 🔊 log completion options in ~/.continue/sessions 2024-05-06 12:32:39 -07:00
Nate Sesti
3c954dd8ce
Active file default context (#1231)
* 🚸 include currently active file by default

* 🚸 warn if non-autocomplete model being used

* ✨ try hole filling template for gpt

* 💄 ui for no context

* ⚡️ leave out bottom of excessively large files
2024-05-03 22:12:20 -07:00
Nate Sesti
ac0917024c 🎨 use node-fetch everywhere 2024-04-25 19:27:40 -07:00
Nate Sesti
749165183c 🚚 change /docs to docs. 2024-04-25 13:56:58 -07:00
Nate Sesti
9fdbefd889 🐛 stop loading when error 2024-04-24 15:28:07 -07:00
Nate Sesti
646b19c4bf 🚸 improve onboarding 2024-04-24 14:52:04 -07:00
Nate Sesti
70952ebf81
✨ global request options (#1153)
* ✨ global request options

* 🐛 fix jira context provider by injecting fetch

* ✨ request options for embeddings providers
2024-04-23 22:10:21 -07:00
Nate Sesti
49cb06df70
✨ Improved onboarding experience (#1155)
* 🚸 onboarding improvements

* 🧑‍💻 keyboard shortcuts to toggle autocomplete and open config.json

* ⚡️ improve detection of terminal code blocks

* 🚧 onboarding improvements

* 🚧 more onboarding improvements

* 💄 last session button

* 🚸 show more fallback options in dropdown

* 💄 add sectioning to models page

* 💄 clean up delete model button

* 💄 make tooltip look nicer

* 🚸 download Ollama button

* 💄 local LLM onboarding

* 🐛 select correct terminal on "runCommand" message

* 💄 polish onboarding
2024-04-19 17:55:16 -07:00
Nate Sesti
86f6811066 🐛 retry webview requests so that first cmd+L works 2024-04-19 16:28:18 -07:00
Nate Sesti
07f4dff66c 🔊 learn about selection 2024-04-11 12:25:52 -07:00
Nate Sesti
e453ff9768 🚑 fix keep existing config option 2024-04-11 11:59:30 -07:00
Nate Sesti
724c7e1cbf 💄 improved models onboarding for existing users 2024-04-10 16:38:26 -07:00
Nate Sesti
db3c107a08 ✨ new onboarding experience 2024-04-10 10:29:37 -07:00
Nate Sesti
c1af6912b1 ✨ new onboarding experience 2024-04-10 01:43:59 -07:00
Nate Sesti
e893049fcc
✨ customizable rerankers (#1088)
* ✨ customizable rerankers

* 💄 fix early truncation button

* ⚡️ improvements to full text search + reranking

* ⚡️ only use starcoder2 stop words for starcoder2

* ⚡️ crawl code graph for call expressions

* 🚧 starcoder2-7b free trial

* 🚧 free trial client for embeddings and re-ranking

* 🚧 embeddings provider

* ✅ test for presence of files in CI

* 🐛 fixes to reranking
2024-04-09 22:59:42 -07:00
Nate Sesti
7d3a4daa67 🎨 small formatting change 2024-04-01 11:26:06 -07:00
Justin Milner
e928f432b4
Bug Fix: Add ternary operator to prevent nonexistant value error (#1052)
* add terniary operator

* Removing logging

* remove comment

---------

Co-authored-by: Justin Milner <jmilner@jmilner-lt2.deka.local>
Co-authored-by: Nate Sesti <33237525+sestinj@users.noreply.github.com>
2024-04-01 11:12:31 -07:00
Nate Sesti
7d00d13252 🐛 handle next.value being undefined 2024-04-01 10:22:55 -07:00
Nate Sesti
c7bd822634 ✨ insert at cursor button 2024-03-29 11:05:47 -07:00
Nate Sesti
4053f1ad60 🩹 fix chat.jsonl logging 2024-03-28 22:56:26 -07:00
Nate Sesti
5d1c57e317 🔊 log ctx prov name 2024-03-23 10:11:53 -07:00
Nate Sesti
4c13ac753b 🚸 allow errors parsing config.json to be thrown 2024-03-20 19:27:34 -07:00
Nate Sesti
caedc54a1c
📈 Locally track tokens generated and show stats (#987)
* ✨ log tokens generated locally

* 💄 UI for usage stats
2024-03-18 17:27:28 -07:00
commandblock2
d0e735853d Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-10 00:14:25 +08:00
Bjørn Jørgensen
1d14eb46ef
Prefer using nullish coalescing operator (??) instead of a logical or (#922)
* Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.

* index.ts

* more...

* more..

* indenting

* fix indenting
2024-03-08 22:41:04 -08:00
commandblock2
950801b302 Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-04 15:54:18 +08:00
Nate Sesti
eb911d9048 🐛 fix webview request bug 2024-03-03 16:09:49 -05:00
commandblock2
20d4c19e3c Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-03 12:09:25 +08:00
Nate Sesti
2eb647656b 🎨 format all files with .prettierrc 2024-03-02 20:02:33 -05:00
Nate Sesti
818928dff7 ✨ pause indexing 2024-02-27 00:24:17 -05:00
Nate Sesti
e1cfd0d594 💄 button to add context providers 2024-02-23 22:46:45 -05:00
Nate Sesti
0c58fcfb30 🔧 pass selectedCode and config to custom slash commands 2024-02-19 15:45:28 -08:00
Nate Sesti
251c3281f8 🚧 clean up webview protocol 2024-02-17 16:10:07 -08:00
Nate Sesti
3a39b4b28c ✨ streaming 2024-02-14 18:47:29 -08:00
Nate Sesti
cc9f057454 🐛 stop infinite loop of messages between webview and ide 2024-02-14 18:31:00 -08:00
Nate Sesti
fa106c569b 🚧 fixing webview messaging 2024-02-14 17:59:18 -08:00