Commit graph

92 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
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
991bbc4617 Merge branch 'preview' of https://github.com/continuedev/continue into preview 2024-03-09 00:29:32 -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
Bjørn Jørgensen
1d14eb46ef
Prefer using nullish coalescing operator (??) instead of a logical or (#922)
* Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.

* index.ts

* more...

* more..

* indenting

* fix indenting
2024-03-08 22:41:04 -08:00
Benedict Lee
469cb496ff
Add PAT authentication support in JIRA Provider (#947) 2024-03-08 22:38:56 -08:00
Nate Sesti
4d759d0780 🎨 improvements to docs download 2024-03-07 23:06:04 -08:00
Nate Sesti
96cf27b99f Merge branch 'feat/898-jira-rest-api-v2' of https://github.com/theBenForce/continue into theBenForce-feat/898-jira-rest-api-v2 2024-03-07 12:51:20 -08:00
Ben Force
ecbc1234f7 fix: update adf2md package 2024-03-04 14:23:13 -06:00
Nate Sesti
2eb647656b 🎨 format all files with .prettierrc 2024-03-02 20:02:33 -05:00
Nate Sesti
3c1853bd98 🐛 fix codebase bug returning no results 2024-03-01 19:25:31 -05:00
Ben Force
cc9b96038b fix(Jira Context): add api abstraction 2024-03-01 15:35:38 -06:00
Nate Sesti
90e76bcd4c 🐛 truncate stop words only for Jan 2024-03-01 16:25:41 -05:00
Nate Sesti
21c92103b3 ✅ checkpoint with web-tree-sitter working 2024-02-29 09:45:35 -05:00
Nate Sesti
062e99eb06 Merge branch 'database_provider' of https://github.com/rootedbox/continue into rootedbox-database_provider 2024-02-26 11:25:14 -05:00
Nate Sesti
1b6f199143 Merge branch 'pg-context-provider' of https://github.com/NinjaPerson24119/continue into NinjaPerson24119-pg-context-provider 2024-02-26 01:34:28 -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
8223ba25a8 ✨ update adf2md library 2024-02-21 15:08:52 -08:00
Nate Sesti
136e56d98c Merge branch 'main' into preview 2024-02-21 14:49:15 -08:00
Ben Force
8ba15b1666
feat: add Jira context provider (#860)
* feat: add Jira context provider

* fix: format with prettier

* docs: update context provider documentation

* fix: use adf dist file
2024-02-21 14:47:39 -08:00
restlessronin
73f31f28a7
simpler highlights, faster fit (#873) 2024-02-21 14:03:28 -08:00
Lars Pagh
be04ff01f8
Fix full-text search containg special characters (#876)
Previously the `ftsIndex.retrieve` would fail if any of the search terms contain characters like dots. This would be the case where you use the `folder` context provider searching using a folder containing dots.

Now we wrap each search term in double-quotes before joining them with `OR`.  This forces dots to be considered as part of the literal search term.

Co-authored-by: Lars Pagh <lp@airsupport.dk>
2024-02-21 13:59:20 -08:00
Nate Sesti
b43a63b6a4 Merge branch 'preview' into nate/merge-preview-to-atwood-p2 2024-02-19 15:17:45 -08:00
Jason Jacobs
f5f491dfb6 Add Database Context Provider to have Insite into databases and their tables 2024-02-18 23:44:39 -08:00
Nate Sesti
f8e968c037 ✨ option to configure how context provider is displayed inline 2024-02-15 18:53:20 -08:00
Nicholas Wengel
6d74e6b1fe fix: a bunch of bugs, commit residuals such as npm install pg 2024-02-15 00:40:12 -07:00
Nicholas Wengel
758a81c737 feat: postgres context provider first slice 2024-02-14 22:52:01 -07:00
Nate Sesti
060431e0bb 🚧 dep injection (roughly) in vscode extension 2024-02-13 20:58:29 -08:00
restlessronin
4524c8d1f6
maximize tags that fit in token budget (#849) 2024-02-12 22:01:34 -08:00
Nate Sesti
e776fd1391 📝 rename outlines -> outlines and add to config_schema 2024-02-10 09:08:42 -08:00
restlessronin
00eeb00241
fix: Promise arrays being returned. Added a new definitions-only context provider. fix: typescript tagging. (#835)
* fix async bug, fix import

* added definitions only context provider

* npm bump dependency
2024-02-08 09:49:22 -08:00
Nate Sesti
cb84818b8b 🩹 comment out codehighlights provider (temp) 2024-02-05 22:48:51 -08:00
restlessronin
f825509ca6
switch to new version with input validation (#823) 2024-02-05 00:37:28 -08:00
Nate Sesti
cc139070b1 🔊 log if no workspace directories found 2024-02-04 10:22:54 -08:00
Nate Sesti
fc426e0f53 🐛 fix fts error when input is empty 2024-02-03 09:40:45 -08:00
Nate Sesti
846f14c5ba 🩹 basic improvements to code highlights 2024-02-02 20:25:18 -08:00
Nate Sesti
7261e7dbd8 Merge branch 'nate/no-more-undici' into preview 2024-02-02 19:53:43 -08:00
restlessronin
b3ba9074cb
Code highlights ala Paul Gauthier's repomap technique from Aider Chat (#785)
* finish pop stack merge

* package changes
2024-02-02 19:39:25 -08:00
Nate Sesti
ab27186bf8 🐛 config, proxy, slash command fixes 2024-02-02 18:36:00 -08:00
Nate Sesti
b42e7d64fb 🚧 only pass serialized config to the browser 2024-02-01 23:33:30 -08:00
Nate Sesti
057111ceb9 ⚡️ don't generate session titles ever if parallel generation not supported 2024-01-30 18:53:50 -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
850217cf48 🐛 fix bug in file tree context provider 2024-01-29 09:05:23 -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
f9d3f989f1 ✨ "onlyPinned" option for open files context provider 2024-01-22 11:35:12 -08:00