Skip to content

v0.1.6 — single autocomplete row + single-Enter

Choose a tag to compare

@jkrandom-sudo jkrandom-sudo released this 09 Aug 08:13
· 26 commits to main since this release
b15e021

Fixes

  • No more duplicate /peers* rows: 0.1.5's instant-execution entry added a second, identical autocomplete row next to the server-defined command. 0.1.6 keeps the menu to a single row while preserving single-Enter execution: instant execution now comes from a high-priority Enter binding in the TUI entry instead of a visible slash entry. When the prompt holds exactly a plugin command — or a prefix that uniquely identifies one (/peers-nam/peers-name) — Enter runs it immediately; any other text falls through to opencode's stock bindings untouched. Arguments (/peers-name foo) still submit normally, and Enter inside dialogs or outside sessions is never intercepted.

Tests

  • npm test 70/70 green (12 TUI-entry tests incl. unique-prefix, ambiguous-prefix fallthrough, dialog/route guards).
  • Real-TUI E2E: exactly one autocomplete row PASS; single-Enter execution from a partial prefix PASS; argument-preserved submit PASS.

Docs

  • README: single-row behavior note replaces the duplicate-row cosmetic caveat.
  • CLAUDE.md: updated TUI-entry architecture notes (binding-fallthrough mechanism replaces the fuzzysort tie-break lever).

Full Changelog: v0.1.5...v0.1.6