Skip to content

Conversation

@edenreich
Copy link
Contributor

Implements interactive file selection dropdown when typing @ symbol

Changes

  • Add scanProjectFiles() function to recursively scan project files
  • Add selectFileInteractively() with promptui dropdown interface
  • Add handleFileReference() to detect @ patterns and trigger selection
  • Exclude binary files, build dirs, and large files from selection
  • Update help text and documentation for new feature
  • Maintain backward compatibility with existing @filename syntax

Usage

  1. Start chat: infer chat
  2. Type @ alone and press enter
  3. Browse/search files in the dropdown
  4. Select a file to include its contents

Closes #3

Generated with Claude Code

claude bot and others added 3 commits August 10, 2025 18:32
- Add scanProjectFiles() function to recursively scan project files
- Add selectFileInteractively() with promptui dropdown interface  
- Add handleFileReference() to detect "@" patterns and trigger selection
- Exclude binary files, build dirs, and large files from selection
- Update help text and documentation for new feature
- Maintain backward compatibility with existing @filename syntax

Resolves #3

Co-authored-by: Eden Reich <[email protected]>
@edenreich edenreich merged commit 8cabd7d into main Aug 11, 2025
1 check passed
@edenreich edenreich deleted the claude/issue-3-20250810-1828 branch August 11, 2025 17:27
ig-semantic-release-bot bot pushed a commit that referenced this pull request Aug 11, 2025
## [0.4.0](v0.3.3...v0.4.0) (2025-08-11)

### 🚀 Features

* Add interactive file selection dropdown with @ symbol ([#10](#10)) ([8cabd7d](8cabd7d)), closes [#3](#3)
@ig-semantic-release-bot
Copy link

🎉 This PR is included in version 0.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] When typing @ it should show a recursive dropdown of the files

2 participants