Skip to content

Add files subcommand for file manipulation - #230

Merged
Davidyz merged 20 commits into
mainfrom
feat/files_subcommand
Jul 1, 2025
Merged

Add files subcommand for file manipulation#230
Davidyz merged 20 commits into
mainfrom
feat/files_subcommand

Conversation

@Davidyz

@DavidyzDavidyz commented Jun 30, 2025

Copy link
Copy Markdown
Owner
  • vectorcode files ls command lists all files in a collection;
  • vectorcode files rm command (followed by file paths) removes embeddings for files from a collection.
  • after rm, remove the collection if it's empty
  • add the files subcommand to the LSP server
  • create codecompanion tools for files_ls and files_rm

@DavidyzDavidyz added enhancement New feature or request feature labels Jun 30, 2025
@codecov

codecovBot commented Jun 30, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.76%. Comparing base (d57bea4) to head (c78170f).

Additional details and impacted files
@@ Coverage Diff @@## main #230 +/- ##
==========================================
+ Coverage 99.75% 99.76% +0.01% 
==========================================
Files 21 24 +3 Lines 1627 1715 +88 ==========================================
+ Hits 1623 1711 +88 
Misses 4 4 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Davidyz
Davidyz marked this pull request as ready for review June 30, 2025 03:52
@rodionlim

Copy link
Copy Markdown

Looks really good, thank you for the changes. Would it be helpful to also have this as a codecompanion tool, so we can list out the files directly in the chat buffer?

@Davidyz

Copy link
Copy Markdown
OwnerAuthor

Looks really good, thank you for the changes. Would it be helpful to also have this as a codecompanion tool, so we can list out the files directly in the chat buffer?

Yes I'll do it, but for a slightly different reason: I want to be able to remove files from the database from within the chat. I'll need to also update the LSP server before adding the new tools.

@Davidyz
Davidyzforce-pushed the feat/files_subcommand branch 3 times, most recently from f7ceee6 to 6d3f45cCompareJune 30, 2025 12:12
@Davidyz
Davidyzforce-pushed the feat/files_subcommand branch from 6d3f45c to b3803b1CompareJune 30, 2025 12:19
@Davidyz
Davidyzforce-pushed the feat/files_subcommand branch from 5e39439 to dfa7291CompareJuly 1, 2025 05:05
@Davidyz
Davidyzforce-pushed the feat/files_subcommand branch from dfa7291 to 4fa068aCompareJuly 1, 2025 05:11
@Davidyz
Davidyz merged commit a9a72b7 into mainJul 1, 2025
@Davidyz
Davidyz deleted the feat/files_subcommand branch July 1, 2025 08:13
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or requestfeature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Davidyz@rodionlim