feat: Add file attachment support with @ symbol (Claude Code style)#75
Open
spokV wants to merge 5 commits intosuperagent-ai:mainfrom
Open
feat: Add file attachment support with @ symbol (Claude Code style)#75spokV wants to merge 5 commits intosuperagent-ai:mainfrom
spokV wants to merge 5 commits intosuperagent-ai:mainfrom
Conversation
Implement file picker functionality that allows users to attach files to prompts using the @ symbol: • Type @ to trigger intelligent file picker with fuzzy search • Navigate with arrow keys, select with Tab/Enter • Shows file content to AI while keeping chat history clean • Smart scrolling for long file lists with position indicators • Atomic cursor positioning to ensure proper input flow New components: - FilePicker: Scrollable file selection UI with visual feedback - FileFinder: Efficient file scanning with caching and security checks - Enhanced input hook: Atomic input/cursor positioning method 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Remove emoji icons from file picker display - Show directories with trailing / instead of folder icon - Matches Claude's clean file selector interface 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This reverts commit d9ed2e7.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement file picker functionality that allows users to attach files to prompts using the @ symbol:
• Type @ to trigger intelligent file picker with fuzzy search • Navigate with arrow keys, select with Tab/Enter
• Shows file content to AI while keeping chat history clean • Smart scrolling for long file lists with position indicators • Atomic cursor positioning to ensure proper input flow
New components:
🤖 Generated with Claude Code
What does this PR do?
Describe your changes here.
Fixes #
Checklist