Commit graph

101 commits

Author SHA1 Message Date
Nate Sesti
71dc510bbc 🎨 update getRepoName 2024-03-28 20:48:35 -07:00
Nate Sesti
a893e2ab43 🎨 break out ignore defaults into core 2024-03-28 18:13:31 -07:00
Nate Sesti
90e9933c97 🎨 add getRepoName to IDE, use for indexing 2024-03-27 20:32:52 -07:00
Nate Sesti
6beed836be Merge branch 'nate/bootstrap' into preview 2024-03-24 15:08:34 -07:00
Nate Sesti
40364adfb5 🎨 indexing 2024-03-24 15:08:25 -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
6e5d4a4d1b 🐛 fix error loading code context provider first time 2024-03-20 21:57:22 -07: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
e6ddab32a2 ✨ shared indexing 2024-03-19 23:07:28 -07:00
Nate Sesti
224089b74a 🩹 ensure ordering in markComplete 2024-03-19 22:57:41 -07: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
c3e4372076 Merge branch 'main' into preview 2024-03-19 10:33:03 -07:00
Nate Sesti
535b5afffd 🎨 export transformers.js 2024-03-19 10:11:47 -07:00
Nate Sesti
b81946d7f8 🩹 small tweak to link filtering logic 2024-03-17 15:40:27 -07:00
Nate Sesti
c5d687ff19 Merge branch 'feat/exponential_backoff' of https://github.com/Iamshankhadeep/continue into Iamshankhadeep-feat/exponential_backoff 2024-03-17 14:32:15 -07:00
Shankhadeep Dey
12ffa95657 feat: add exponential backoff for API requests 2024-03-15 22:52:35 +05:30
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
debe144234 🚸 show indexing progress immediately 2024-03-13 13:07:57 -07:00
Nate Sesti
7a01d29b1b ✨ polish code context provider 2024-03-12 01:17:06 -07:00
Nate Sesti
b006874353 Merge branch 'nate/code-context-provider' into preview 2024-03-12 00:44:55 -07:00
Nate Sesti
0c6f8d9605 🎨 use new URL everywhere instead of strings 2024-03-12 00:40:12 -07:00
Nate Sesti
b421a66920 🚑 dynamic import jsdom 2024-03-10 13:10:12 -07:00
Nate Sesti
6391d243b0 🥅 catch parser failure when indexing codebase 2024-03-09 20:30:10 -08:00
Nate Sesti
f6633fd157 🎨 more minimal tree-sitter queries for code ctx provider 2024-03-09 20:15:44 -08:00
Nate Sesti
283c7ebcad 🚸 add titles to code context provider 2024-03-09 16:24:52 -08:00
Nate Sesti
4bb20cd557 Merge branch 'preview' into nate/code-context-provider 2024-03-09 13:54:28 -08:00
Nate Sesti
fa8d6fc36a 🚧 full draft of code context provider 2024-03-09 13:54:19 -08: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
Nate Sesti
34e8429f30 Merge branch 'upgrade_doc_indexing' of https://github.com/rootedbox/continue into rootedbox-upgrade_doc_indexing 2024-03-07 18:06:33 -08:00
Nate Sesti
7fea55cb26 ✨ deepinfra context provider 2024-03-05 21:58:47 -08:00
Jason Jacobs
9b13d2ed9a no longer using markdown 2024-03-05 20:47:55 -08:00