feat: implement @file mention (#47) #56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature-mention"
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?
Summary
Closes #47 — implements @file mention feature.
Changes
Backend (Go)
Content string→Parts []UserPart(UserTextPart + UserFileMentionPart), with backward-compatible JSONinternal/mentionpackage: parses@path/to/filementions, reads file content, generates structured UserPartsGET /api/fs/tree?session_id=&search=: returns filtered file list using fd → find → Go WalkDir fallback chainFrontend (TS/React)
/api/fs/treebackend endpoint for fuzzy file matchingPrompt format
File contents injected as XML blocks after user text:
Files Changed
20 files, +1624/-65