Skip to content

[FEATURE]: Pass line numbers/ranges to file attachment argument in opencode run #14193

Closed

Description

@ewired

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

Specify line ranges in the file attachment option for opencode run, e.g. opencode run "Tell me the exact contents of this line range" -f path/to/file.js:59-66

This will make it possible to curate context more efficiently in autonomous editing pipelines.

Closed by #14186

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Feb 18, 2026
  2. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 18, 2026
  3. github-actions commented on Feb 18, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • The "Describe the enhancement you want to request" field is empty. Please provide a detailed description of:
      • What change or feature you want to add
      • Why this feature is needed or what problems it solves
      • Expected behavior and benefits of this enhancement

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.

    If you believe this was flagged incorrectly, please let a maintainer know.

  4. github-actions commented on Feb 18, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

  5. github-actions commented on Feb 18, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

  6. removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Feb 18, 2026
  7. github-actions commented on Apr 20, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions