Commit graph

118 commits

Author SHA1 Message Date
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
1386eb692a
Nate/better retrieval (#1677)
* deduplicatearray tests

* break out separate retrieval pipelines

* IConfigHandler

* tests for codebase indexer

* better .continueignore for continue

* indexing fixes

* ignore .gitignore and .continueignore when indexing

* retrieval pipeline improvements
2024-07-05 22:40:19 -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
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
1b30b9e312 🐛 fix copy/paste/cut behavior in VS Code notebooks 2024-05-02 12:21:36 -07:00
Justin Milner
a253e7c091
Con-1037: Toggle full screen bug (#1065)
* webview reset

* add warning

---------

Co-authored-by: Justin Milner <jmilner@jmilner-lt2.deka.local>
2024-04-03 20:05:18 -07:00
Nate Sesti
2eb647656b 🎨 format all files with .prettierrc 2024-03-02 20:02:33 -05:00
Nate Sesti
b43a63b6a4 Merge branch 'preview' into nate/merge-preview-to-atwood-p2 2024-02-19 15:17:45 -08:00
Nate Sesti
fa106c569b 🚧 fixing webview messaging 2024-02-14 17:59:18 -08:00
Nate Sesti
7e314df380 🚧 reverse webview protocol 2024-02-14 16:49:00 -08:00
Nate Sesti
060431e0bb 🚧 dep injection (roughly) in vscode extension 2024-02-13 20:58:29 -08:00
Nate Sesti
ac1ebcd382 🩹 fix cancellation and other bugs for /edit 2024-02-10 18:32:49 -08:00
Nate Sesti
5073f09ab7 🚧 fill out rest of core protocol 2024-02-10 16:24:35 -08:00
Nate Sesti
70bf23c3fa 🚧 working on core protocol 2024-02-09 22:34:33 -08:00
Nate Sesti
e0fade5c6b ⚡️ just insert snippet if file empty when applying code block 2024-02-09 22:00:19 -08:00
Nate Sesti
0329b6b0f6 💄 change monaco theme color with window 2024-02-05 23:50:26 -08:00
Nate Sesti
0d183e82e0
🎨 Replace Shiki with Monaco (#825)
* 🚧 initial setup

* 🚧 textmate syntax highlighting in monaco

* 🚧 cleaning up monaco editor

* 🚧 styling and support for more grammars

* 🚧 code block toolbar

* 🚧 fix streaming into monaco

* 🚧 autolayout in monaco

* 🐛 don't append closing fence to monaco

* 🩹 make monaco readonly

* 💄 match font family in monaco

* 👷 copy textmate-syntaxes in build

* 🔥 Remove old MonacoCodeBlock

* 🐛 remove trailing newline when streaming
2024-02-05 20:15:52 -08:00
Nate Sesti
10e775d3f7 🩹 small fixes 2024-02-04 09:31:29 -08:00
Nate Sesti
cb8d27bf41 🩹 fix 'null' at bottom of webview 2024-02-03 21:41:12 -08:00
Elad Ben Haim
7c19ae4c2b
Fix: Issue 818 proxyServerUrl is getting "undefined" instead of real undefined if not defined (#819) 2024-02-03 16:20:36 -08:00
Nate Sesti
5897ea00a2 🩹 simple fixes 2024-02-03 16:18:11 -08:00
Nate Sesti
2139d85661 🧑‍💻 hot module reloading for extension webview 2024-02-03 11:20:17 -08:00
Nate Sesti
37f604f2db ⚡️ terminate request when user cancels 2024-02-02 19:29:30 -08:00
Nate Sesti
ab27186bf8 🐛 config, proxy, slash command fixes 2024-02-02 18:36:00 -08:00
Nate Sesti
1584d509fd 🐛 use proper http/https for agent 2024-02-02 16:52:01 -08:00
Nate Sesti
95c0a59ce7 🚧 2024-02-01 00:38:06 -08:00
Nate Sesti
dbab612c81 Merge branch 'preview' into nate/no-more-undici 2024-02-01 00:35:35 -08:00
Nate Sesti
1f0ecdf498 🧑‍💻 button to re-open tutorial 2024-01-30 20:03:41 -08:00
Nate Sesti
dd52cac4aa 🥅 give useful tips in error messages 2024-01-30 18:28:31 -08:00
Nate Sesti
f1ab9bf936
💫 Documentation context provider (#786)
* 💄 image drag and drop improvements

* 💄 further improvement to drag/drop hints

* 🐛 fix image selector insertion

* 🐛 fix dropdown width being larger than window width

* 🐛 respect disableIndexing

* 🐛 fix context items not refreshing when editing past message

* ✨ llava chat template

* 🩹 multiple small fixes

* 🐛 a few docs crawling fixes

* 🔊 log docs url

* 🐛 small fixes to DocsContextProvider

* 📝 update changelog and docs for DocsContextProvider

* 🐛 show new docs in submenu after it is loaded
2024-01-30 13:01:50 -08:00
Nate Sesti
7b1009b428 Merge branch 'nate/full-text-search' into preview 2024-01-29 21:05:20 -08:00
Nate Sesti
a5d37bacdb ⚡️ improvements to codebase retrieval with FTS5 2024-01-29 20:04:39 -08:00
Nate Sesti
22d4d996cb 🔥 remove unused google fonts 2024-01-29 08:45:11 -08:00
Nate Sesti
b71b2b05aa 🚧 constructing query for fts 2024-01-28 22:39:49 -08:00
Nate Sesti
38151b84ad 🥅 link to troubleshooting upon error 2024-01-28 09:02:14 -08:00
Nate Sesti
9d9e34bd88 💄 perplexity-style streaming + match builtin vsc themes 2024-01-27 19:56:56 -08:00
Nate Sesti
3187a1f9da ✨ theme improvements and apply to file button 2024-01-27 18:41:08 -08:00
Nate Sesti
66eea3268e 🚧 closer color matching 2024-01-26 17:09:38 -08:00
Nate Sesti
8144a1c74e 🚧 matching more syntax colors 2024-01-26 16:20:32 -08:00
Nate Sesti
5806e62964 🚧 pass color theme to sidebar 2024-01-26 15:30:51 -08:00
Nate Sesti
a7a7bf3902 Merge branch 'preview' into nate/no-more-undici 2024-01-24 20:37:38 -08:00
Nate Sesti
e00742d352 merge 2024-01-24 20:36:21 -08:00
Nate Sesti
579acf2efb ✨ add selectedCode property to ContextProviderExtras 2024-01-24 10:56:55 -08:00
Nate Sesti
f9d3f989f1 ✨ "onlyPinned" option for open files context provider 2024-01-22 11:35:12 -08:00
Nate Sesti
e13412f1ad ✨ UI to add docs and more improvements 2024-01-21 11:52:19 -08:00
Nate Sesti
86d89eba9d 🎨 make context providers with submenus pluggable 2024-01-20 20:12:13 -08:00
Nate Sesti
6d5fc054f4 🎨 run context providers from IDE-side to avoid proxy server 2024-01-19 12:54:28 -08:00
Nate Sesti
51fb2c8c42 💄 improvements to model setup experience 2024-01-17 10:05:38 -08:00
Nate Sesti
41046700d3
Nate/atwoods law (#753)
* 👷 basic skeleton for building with pkg

* ⚡️ first attempt at syncing in .ts

* 🎨 change lancedb storage format

* 🚧 add chunking to LanceDbIndex

* 🔥 move transformers.js from gui to core

* 🐛 fix tsc build

* 🐛 fix bugs loading native modules in vscode extension

* 👷 copy wasms and fix other syncing bugs

* 👷 esbuild modification to allow importMetaUrl for transformers.js

* 👷 add sharp as external module so transformers.js can be loade

* 🐛 more indexing fixes

* ✨ retrieve from lancedb

* 🎨 respect .gitignore when traversing file tree

* 🐛 fix logic bugs in indexing

* 🐛 fix prompt construction bug causing doubling of context items

* 🔥 remove legacy files

* 📌 vendor transformers.js to avoid dependency on sharp

* 👷 package necessary native modules

* 🎨 respect multi-root workspaces when indexing/retrieving

* 🔥 only ship onnxruntime-node binaries for current platform

* 🎨 trigger re-indexing on git branch change

* 🎨 make indexing resumable

* ✨ add folder context provider

* ✨ folders context provider in dropdown

* 🐛 polishing folders context provider
2024-01-16 00:33:02 -08:00
Nate Sesti
ce4fee701b ✨ problems context provider 2024-01-14 00:14:54 -08:00