Commit graph

49 commits

Author SHA1 Message Date
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
Jose Vega
ebc02fe093
Update preIndexedDocs.ts (#1292)
Add Bootstrap and Alpine.js as pre indexed docs.
2024-05-20 13:58:15 -07:00
Nate Sesti
89a69576bc 🎨 eslint enforce import extensions 2024-05-12 15:18:23 -07: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
Nate Sesti
808af46182 ⬆️ update package lock files 2024-02-12 12:00:29 -08:00
Nate Sesti
9f7f3fb100 🩹 dynamic import lancedb to contain failures 2024-02-08 13:41:51 -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
b5f96b65aa 🔥 hide docs and image for now 2024-01-22 10:29:08 -08:00
Nate Sesti
b619f9a6cf 💄 small improvements to GitHub docs indexing 2024-01-21 20:45:39 -08:00
Nate Sesti
cfd5426e12 🩹 clean up markdown and crawling for Mintlify, ReadTheDocs 2024-01-21 16:14:43 -08:00
Nate Sesti
e13412f1ad ✨ UI to add docs and more improvements 2024-01-21 11:52:19 -08:00
Nate Sesti
7e075c0e02 🚧 end-to-end docs retrieval 2024-01-20 22:13:05 -08:00
Nate Sesti
74a4539bfa 🚧 Store / retrieve docs with LanceDB 2024-01-20 21:32:26 -08:00
Nate Sesti
25f484fc08 🚧 markdown chunker 2024-01-20 15:23:24 -08:00
Nate Sesti
e47c17157c 🚧 WIP on walking docs sites 2024-01-20 11:17:00 -08:00