Commit graph

14 commits

Author SHA1 Message Date
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
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
Nate Sesti
90e9933c97 🎨 add getRepoName to IDE, use for indexing 2024-03-27 20:32:52 -07:00
Nate Sesti
224089b74a 🩹 ensure ordering in markComplete 2024-03-19 22:57:41 -07:00
Nate Sesti
fa8d6fc36a 🚧 full draft of code context provider 2024-03-09 13:54:19 -08:00
Nate Sesti
2eb647656b 🎨 format all files with .prettierrc 2024-03-02 20:02:33 -05:00
Lars Pagh
ad219071c9
Fix markComplete removal (#874)
MarkComplete is called for every added, removed or changed item found. Therefore it seems odd (ignoring the performance perspective) that we try to remove all items at once. The other cases also only handle one single item at the time. Nevertheless the "remove" case did not behave as expected and did not remove anything from the tag_catalog.

With the code change we now handle one single item at the time and the item is removed from the tag_catalog as expected.

Co-authored-by: Lars Pagh <lp@airsupport.dk>
2024-02-21 14:01:56 -08:00
Nate Sesti
9a8cd815e8 🐛 small bug fixes 2024-02-03 10:27:37 -08:00
Nate Sesti
1d289383c6 🚧 ChunkCodebaseIndex 2024-01-28 17:47:01 -08:00
Nate Sesti
74a4539bfa 🚧 Store / retrieve docs with LanceDB 2024-01-20 21:32:26 -08:00
Nate Sesti
f480e9eb75 🐛 fix minisearch warning 2024-01-19 09:20:31 -08:00
Nate Sesti
0f5d0ac843 ✨ show the file currently being indexed 2024-01-18 11:17:28 -08:00
Nate Sesti
41046700d3
Nate/atwoods law (#753)
* 👷 basic skeleton for building with pkg

* ⚡️ first attempt at syncing in .ts

* 🎨 change lancedb storage format

* 🚧 add chunking to LanceDbIndex

* 🔥 move transformers.js from gui to core

* 🐛 fix tsc build

* 🐛 fix bugs loading native modules in vscode extension

* 👷 copy wasms and fix other syncing bugs

* 👷 esbuild modification to allow importMetaUrl for transformers.js

* 👷 add sharp as external module so transformers.js can be loade

* 🐛 more indexing fixes

* ✨ retrieve from lancedb

* 🎨 respect .gitignore when traversing file tree

* 🐛 fix logic bugs in indexing

* 🐛 fix prompt construction bug causing doubling of context items

* 🔥 remove legacy files

* 📌 vendor transformers.js to avoid dependency on sharp

* 👷 package necessary native modules

* 🎨 respect multi-root workspaces when indexing/retrieving

* 🔥 only ship onnxruntime-node binaries for current platform

* 🎨 trigger re-indexing on git branch change

* 🎨 make indexing resumable

* ✨ add folder context provider

* ✨ folders context provider in dropdown

* 🐛 polishing folders context provider
2024-01-16 00:33:02 -08:00