Skip to content

Composer: path completion for absolute (/ and ~/) paths outside the workspace #7633

Description

@alexkli

The workflow

I keep tools and notes outside the thread's workspace, e.g. /kode/aitools. When I want to point an agent at a file there, I type @ in the composer, but the @-mention completion only searches the thread's current project/workspace. For anything elsewhere on my machine I have to type or paste the full absolute path by hand, with no completion.

What happens today

@ + partial name suggests files from the thread's workspace only. Typing an absolute path such as /kode/aitools/... (or ~/...) in the composer gives no suggestions, so long paths are typed manually or copied from a terminal.

What you would expect

  • When the typed token starts with / or ~/ (optionally after @), the composer offers filesystem path completion: directories and files under the typed prefix, like shell tab completion.
  • Works against the thread's host machine (local or remote), since that is where the agent reads the path.
  • Selecting a directory continues completion inside it; selecting a file inserts the absolute path (or the mention chip, same as workspace files).
  • Possibly gated by a setting, or limited to paths the user has access to, if exposing arbitrary filesystem listings is a concern.

Context and alternatives

AGENT GENERATED

Activity

  1. added
    ui
    on Nov 16, 2026
  2. bb-slop-cop commented on Nov 16, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied Type: Feature · Priority: Low · Effort: Medium · Labels: ui. All classifications were missing; no existing values were replaced. Final Type verified as Feature.

    This adds host-filesystem completion beyond workspace suggestions. Manual path entry remains available, making this a convenience enhancement; implementation spans trigger handling, path lookup, and directory navigation.

    No PR: this requests new functionality rather than a reproduced defect, so reproduction-report and fix steps were skipped.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ui

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions