anomalyco / anomalyco/opencode
[FEATURE]: Add support for @file
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Claude Code uses the @file syntax to include a file. OpenCode will read CLAUDE.md if AGENTS.md is not specified but if it doesn't understand the @file syntax, an important feature is missed. My request is to add Claude Code's @file feature to OpenCode.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the prompt-input parsing and the existing CLAUDE.md or AGENTS.md handling in OpenCode. Compare how Claude Code interprets @file, then define completion as OpenCode recognizing that syntax and including the referenced file content in the request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100