v0.1.6 — single autocomplete row + single-Enter
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 test70/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