@filename mention expansion in input line
#7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Inspired by Claude Code's
@-mentionsin the IDE / VS Code extension.What: When the user types
@./path/to/filein their prompt,repl.luaexpands it inline before the broker call. Expansion is a fenced code block:Multiple
@mentions per turn supported. File too large → truncate with a head/tail marker.Why: Today the user has to copy/paste file contents into chat. Saves friction and reduces tokenization noise from manual paste.
Where it lands: Phase 1. REPL-side, no broker change. ~40 LOC.
Source: https://code.claude.com/docs/en/overview (VS Code @-mentions)