Commit graph

16 commits

Author SHA1 Message Date
Nate Sesti
fa8d6fc36a 🚧 full draft of code context provider 2024-03-09 13:54:19 -08:00
Nate Sesti
3c1853bd98 🐛 fix codebase bug returning no results 2024-03-01 19:25:31 -05:00
Nate Sesti
90e76bcd4c 🐛 truncate stop words only for Jan 2024-03-01 16:25:41 -05:00
Nate Sesti
7d80820d73 Merge branch 'nate/merge-preview-to-atwood-p2' into preview 2024-02-23 21:08:08 -05: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
060431e0bb 🚧 dep injection (roughly) in vscode extension 2024-02-13 20:58:29 -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
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
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
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
6d5fc054f4 🎨 run context providers from IDE-side to avoid proxy server 2024-01-19 12:54: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