Skip to content

feat(tui): autocomplete cd directories - #41870

Merged
jlongster merged 9 commits into
v2from
cd-autocomplete
Aug 12, 2026
Merged

feat(tui): autocomplete cd directories#41870
jlongster merged 9 commits into
v2from
cd-autocomplete

Conversation

@jlongster

@jlongster jlongster commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • switch /cd from command completion to directory completion after its argument separator
  • list immediate child directories with shell-style current, home, parent, nested, and absolute path handling
  • persist project-scoped /cd recents and expose them as prioritized supplemental options
  • add generic two-step destructive actions for autocomplete options

Test plan

  • bun typecheck in packages/tui
  • bun typecheck in packages/plugin
  • bun test --timeout 30000 --only-failures in packages/tui (639 pass, 5 skip)
  • bun test test/prompt/autocomplete.test.ts in packages/tui
  • isolated opencode-drive coverage for immediate directory-only listing, nested traversal, /cd persistence, recent ordering, and Ctrl+D removal

@jlongster
jlongster merged commit 7987aed into v2 Aug 12, 2026
5 of 8 checks passed
@jlongster
jlongster deleted the cd-autocomplete branch August 12, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant