Skip to content

feat: Add interactive file selection dropdown with @ symbol - #10

Merged
edenreich merged 3 commits into
mainfrom
claude/issue-3-20250810-1828
Aug 11, 2025
Merged

edenreich merged 3 commits into
mainfrom
claude/issue-3-20250810-1828

Conversation

@edenreich

Copy link
Copy Markdown
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
@edenreich
edenreich deleted the claude/issue-3-20250810-1828 branch August 11, 2025 17:27
inference-gateway-releaser 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)
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

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

1 participant