Skip to content

fix(tui): scope file autocomplete to session#33458

Merged
thdxr merged 2 commits into
devfrom
session-location
Jun 23, 2026
Merged

fix(tui): scope file autocomplete to session#33458
thdxr merged 2 commits into
devfrom
session-location

Conversation

@thdxr

@thdxr thdxr commented Jun 22, 2026

Copy link
Copy Markdown
Member

Summary

  • add a reactive location context with a top-level undefined default and session override
  • scope file autocomplete and mention paths to the current session location
  • derive path formatting directly from the current location
  • construct autocomplete file parts from the server-resolved directory and MIME type

Testing

  • bun typecheck in packages/tui
  • bun test in packages/tui (175 passed, 1 skipped, 8 existing sync-fixture failures because SyncProvider is mounted without ExitProvider)

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@thdxr thdxr enabled auto-merge (squash) June 22, 2026 22:58
@thdxr thdxr disabled auto-merge June 23, 2026 00:31
@thdxr thdxr merged commit ef23579 into dev Jun 23, 2026
7 of 8 checks passed
@thdxr thdxr deleted the session-location branch June 23, 2026 00:31
markjaquith pushed a commit to markjaquith/opencode that referenced this pull request Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant