Commit graph

61 commits

Author SHA1 Message Date
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
casscarpendale
a3f351a584
Update preIndexedDocs.ts (#1527)
Added Godot documentation to preIndexedDocs.ts
2024-06-20 12:30:10 -07:00
Nate Sesti
ecd7a81a6c 🚧 wip icons for context providers 2024-06-11 13:31:39 -07:00
Nate Sesti
e4b12ad5f3 Merge branch 'AddDocIndexingMaxDepth' of https://github.com/justinmilner1/continue into justinmilner1-AddDocIndexingMaxDepth 2024-06-04 16:11:41 -07:00
Nate Sesti
db1457838d ✨ /commit slash command 2024-05-27 10:57:33 -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
Justin Milner
7dd7ccffab Make github crawler find default branch 2024-05-23 09:53:41 -04:00
Justin Milner
e0ecd3a8a7 Fixes for dialog, remove logging, indexing corrections 2024-05-22 18:41:30 -04:00
Justin Milner
78ef735634 Merge remote-tracking branch 'upstream/preview' into AddDocIndexingMaxDepth 2024-05-22 16:12:50 -04:00
Jose Vega
ebc02fe093
Update preIndexedDocs.ts (#1292)
Add Bootstrap and Alpine.js as pre indexed docs.
2024-05-20 13:58:15 -07:00
Justin Milner
36675a84ab small corrections, some todos 2024-05-20 13:15:52 -04:00
Justin Milner
96b7374917 convert to use interface, fix type-related bug, more 2024-05-19 21:18:54 -04:00
Justin Milner
aaff4f2296 Corrections to indexDocs params 2024-05-17 13:30:48 -04:00
Justin Milner
d864111526 Merge branch 'AddDocIndexingMaxDepth' of https://github.com/justinmilner1/continue into AddDocIndexingMaxDepth 2024-05-17 11:41:41 -04:00
Nate Sesti
89a69576bc 🎨 eslint enforce import extensions 2024-05-12 15:18:23 -07:00
Justin Milner
895d91c0e1 Drafted max depth changes 2024-05-12 18:16:06 -04:00
Nate Sesti
2ba12638e4 🎨 refactor indexing state into a single object 2024-05-10 13:48:32 -07:00
Pixel
7f0536607e
add PySide6 docs to preindexed docs (#1236) 2024-05-05 23:28:28 -07:00
Nate Sesti
2ff1b1c769 🐛 don't strip port in URL 2024-05-01 10:56:59 -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
Jose Vega
597ac20442
Update preIndexedDocs.ts (#1154)
Add WordPress and WooCommerce as preIndexedDocs.
2024-04-23 22:49:59 -07:00
Nate Sesti
b43c774101 Merge branch 'fix/jsdom-import' of https://github.com/germankrause/continue into germankrause-fix/jsdom-import 2024-03-21 17:54:09 -07:00
Nate Sesti
c8bdb05d81 Merge branch 'main' into preview 2024-03-21 17:11:55 -07:00
German Swan
942d82b5c5 remove require("jsdom") as it can be imported as usual 2024-03-21 12:34:38 +02:00
German Swan
d74eb71da9 Merge branch 'preview' into fix/jsdom-import 2024-03-21 12:33:21 +02:00
German Swan
f6c8fbec3b remove unnecessary async/await 2024-03-21 12:23:08 +02:00
German Swan
43448b1853 Merge remote-tracking branch 'upstream/preview' into fix/jsdom-import 2024-03-21 12:21:16 +02:00
Nate Sesti
8140600a8c 🐛 copy over xhr-sync-worker for jsdom 2024-03-20 21:43:16 -07:00
Nate Sesti
15fd7ae331 🩹 switch to lowercase for docs lancedb schema 2024-03-20 21:39:08 -07:00
German Swan
0ecac84610 add issue to the comment 2024-03-20 13:10:30 +02:00
German Swan
59b2040faf add warning comment
remove unnecessary async/await
2024-03-20 13:09:12 +02:00
German Swan
9a25999092 jsdom import -> require 2024-03-20 11:39:03 +02:00
Nate Sesti
d87df3f7ea ✨ add pre-indexed langchain 2024-03-19 11:54:53 -07:00
Nate Sesti
3bd9c8996c
💫 Preview (#996)
* feat: add fixed version of the nodejs

* revert accidentally committed files

* add: unified version of the Node.js that is used locally and on Github Actions

* Set itemType for querySubmenuItem

This is necessary before calling props.command the same way we do it for non-query item types. Otherwise we receive an 'Unknow provider...' error message in the 'getContextItems' case in the 'panel.webview.onDidReceiveMessage, callback.

* include @vscode node module folder

we need the @vscode folder containing ripgrep in the distribution.

* Amended path for ripgrep executable

We have to preprend the 'out' folder in order to find the ripgrep executable in the distribution.
Prepending 'out' during development is not necessary. We need a way to distinguish in 'ideProtocol'?

* implemented locals context provider

* normal to submenu(select thread) for the locals provider

* added code context from the call stack

* use parameter for callstack retrieving

* added thread filtering and handle a edge case

* revert accidentally committed file

* temporary fix to use refreshSubmenuItems

* added updateSubmenuItems request

* refactor: changed the interface of threads

* polished format and file reading

* added a little doc

* typo

* revert accidentally committed file

* ✨ UI for JetBrains autocomplete

* 🎨 decouple autocomplete from VS Code extension

* ✨ autocomplete in core protocol

* 🚧 jetbrains autocomplete fixes

* 🐛 successfully get responses for jetbrains autocomplete

* Refactored web crawling code for document indexing. The updated code uses a breadth-first search, filters out specific paths, and ensures that websites are not downloaded twice.

* update hasDocs to use new pattern

* feat: add gitlab context class

* feat: update to work as normal context provider

* fix: add context provider

* feat: add code that comment is based on

* docs: add documentation

* feat: enable comment filtering

* 🐛 fix autocomplete with azure

* ✨ jetbrains multiline completions

* 🐛 fix file reading in autocomplete

* ✨ option to disable jetbrains autocomplete

* 📌 update package-lock files

* 🐛 fix localhost ollama bug with jetbrains binary

* 🔥 disable apply to file in jetbrains for now

* 🚸 fix constant re-rendering of code vision in jetbrains

* 🔖 update package.json versiojn

* 🐛 don't override user temperature value for tab autocomplete model

* Fix chat msg formatting in Output for image models (#971)

* 📝 tweak docs for "locals" ctx provider

* 🩹 small tweak to link filtering logic

* Add more C++ extensions for AST parser (#972)

* 🔥 remove ruby example file

* add claude3 to free trial

* 🐛 fix codelens in tutorial

* 🧱 change server url

* 🐛 don't send image_url if not image type

* 🔧 update config schemas

* 📌 update npm version to v20.11.0

* 📈 Locally track tokens generated and show stats (#987)

* ✨ log tokens generated locally

* 💄 UI for usage stats

* 🔥 delete unused test file

* 🚚 rename core package for publishing on npm

* Remove duplicate itemType property (#986)

* 🔒️ add .env to .gitignore for npm package

* Add SystemContextProvider to context providers so that users can use … (#988)

* Add SystemContextProvider to context providers so that users can use their own system cpu and os for a resource

* change to OSContextProvider

* update descriptor

* 🎨 export transformers.js

* 🐛 fix /edit for anthropic

* 🚑 fix autocomplete by binding function

---------

Co-authored-by: my8bit <mail@my8bit.name>
Co-authored-by: Ihor Pavlenko <my8bit@users.noreply.github.com>
Co-authored-by: Lars Pagh <lp@airsupport.dk>
Co-authored-by: commandblock2 <tony_hu@live.com>
Co-authored-by: Jason Jacobs <nerfnerd@gmail.com>
Co-authored-by: Ben Force <benforce@gmail.com>
Co-authored-by: Peter Zaback <pzaback@gmail.com>
Co-authored-by: SR_team <sr_team@sr.team>
2024-03-19 10:35:28 -07:00
Nate Sesti
b81946d7f8 🩹 small tweak to link filtering logic 2024-03-17 15:40:27 -07:00
Jason Jacobs
ed602f06f6 update hasDocs to use new pattern 2024-03-14 13:39:38 -07:00
Jason Jacobs
e8d126c6ee Refactored web crawling code for document indexing. The updated code uses a breadth-first search, filters out specific paths, and ensures that websites are not downloaded twice. 2024-03-14 13:38:37 -07:00
Jason Jacobs
9c290e9db8
Refactor DB (#960)
* Refactor table creation and SQLite connection initialization. Previously, attempts to create the 'docs' table were made on every interaction with it. Now, table creation is attempted only upon the first interaction. Additionally, the SQLite connection is now initialized just once, enhancing performance.

* no longer need createDocsTable

* library no longer used
2024-03-14 13:24:12 -07:00
Nate Sesti
b421a66920 🚑 dynamic import jsdom 2024-03-10 13:10:12 -07:00
Nate Sesti
8d4196dab8 🐛 fix filepath in docs indexing 2024-03-09 00:29:24 -08:00
Nate Sesti
402ed819a7 ✨ small docs improvements 2024-03-08 23:14:43 -08:00
Nate Sesti
2a17ac0461 🚧 update docs indexing 2024-03-08 22:54:41 -08:00
Nate Sesti
3b4091e2dc ✨ add more docs 2024-03-08 00:59:39 -08:00
Nate Sesti
884ffef0d8 🎨 update ids of embeddings providers 2024-03-07 23:36:05 -08:00
Nate Sesti
4d759d0780 🎨 improvements to docs download 2024-03-07 23:06:04 -08:00
Nate Sesti
763baca099 ⚡️ exponential backoff for embeddings providers 2024-03-07 20:39:41 -08:00
Nate Sesti
632ce0a5a6 ✨ clean up docs indexing 2024-03-07 18:46:13 -08:00
Jason Jacobs
7a08e1ee27 switch indexing docs from markup to document reader 2024-03-05 20:46:36 -08:00
Nate Sesti
2eb647656b 🎨 format all files with .prettierrc 2024-03-02 20:02:33 -05:00