Commit graph

24 commits

Author SHA1 Message Date
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
f3b0dbc953 ✨ starcoder2 FIM prompt formatting 2024-03-06 16:34:17 -08:00
Nate Sesti
8187e0d39a 🐛 don't try to calculate AST in non-code files 2024-03-02 21:28:23 -05:00
Nate Sesti
2eb647656b 🎨 format all files with .prettierrc 2024-03-02 20:02:33 -05:00
Nate Sesti
430163fbf8 🚧 getScopeAroundRange 2024-02-29 11:57:52 -05:00
Nate Sesti
3aab78384a ⚡️ only include recently edited snippets above similarity threshold 2024-02-29 11:43:31 -05:00
Nate Sesti
bc7e7d591d ✨ handful of autocomplete edges cases fixed 2024-02-29 11:27:37 -05:00
Nate Sesti
7af502c2f3 ⚡️ fill prompt with highest scoring snippets 2024-02-28 20:20:45 -05:00
Nate Sesti
a7cc1f32e5 🚧 working on fixing up after merging preview to tab-auto 2024-02-27 23:23:37 -05:00
Nate Sesti
4a6ae9d02d Merge branch 'preview' into nate/flight-tab-auto 2024-02-27 23:23:14 -05:00
Nate Sesti
52942824a1 🎨 update LSP usage for autocomplete 2024-02-25 10:10:39 -05:00
Nate Sesti
e147b5abfe ⚡️ deduplicate autocomplete snippets 2024-02-24 23:35:34 -05:00
Nate Sesti
28a8e81cb9 🚧 jaccard similarity to rank snippets 2024-02-24 19:15:07 -05:00
Nate Sesti
7d80820d73 Merge branch 'nate/merge-preview-to-atwood-p2' into preview 2024-02-23 21:08:08 -05:00
Nate Sesti
64a346dcac 🚧 basic ranking by symbol intersection similarity 2024-02-23 10:38:34 -08:00
Nate Sesti
9c98350091 ⚡️ sliding window similarity over recent documents 2024-02-23 08:52:29 -08:00
Nate Sesti
ac2e8056f4 ⚡️ recently edited snippets for autocomplete 2024-02-23 08:12:42 -08:00
Nate Sesti
d2891d2a21 ⚡️ only multiline complete if at start of function body / statement block 2024-02-21 09:40:02 -08:00
Nate Sesti
e8bbdc06a1 🐛 use llama tokenizer for llama-based models 2024-02-19 19:50:01 -08:00
Nate Sesti
fbce8c3080 🐛 small bug fixes 2024-02-13 09:48:45 -08:00
Nate Sesti
18fdab6930 ⚡️ refactor streaming for autocomplete 2024-02-05 21:59:08 -08:00
Nate Sesti
7d50efe8a9 ⚡️ make tab-autocomplete faster and more configurable 2024-02-01 12:09:59 -08:00
Nate Sesti
a72b22649a ⚡️ support for more languages with tab-autocomplete 2024-02-01 11:48:40 -08:00
Nate Sesti
0419da7568
✨ Tab Autocomplete (#758)
* ✨ tab autocomplete attempt 1

* 🚧 WIP autocomplete

* 🚧 wip

* 🔧 config for tab autocomplete

* ⚡️ caching for autocomplete

* 🚧 external snippet formatting

* 🎨 stuff

* stuff

* ⚡️ debouncing and other improvements

* ⚡️ use LSP to get definition during function call

* 💄 status bar for Continue tab-autocomplete

* 🐛 small status bar fix

* 📝 basic docs for tab-autocomplete

* 📝 h2 in docs

* 🚸 Explain how to download Ollama and Deepseek Coder

* 📝 autocomplete troubleshooting
2024-01-31 18:59:18 -08:00