Skip to main content

Module suggest

Module suggest 

Source
Expand description

Suggestion ranking and output shaping from parsed cursor state. Suggestion ranking and shaping for completion results.

This module exists to turn parsed cursor context plus a static completion tree into ranked suggestion outputs. It is deliberately separate from tokenization so ranking rules can evolve without changing the parser.

Contract:

  • suggestion ranking lives here
  • this layer may depend on fuzzy matching and provider context helpers
  • it should not own shell parsing or terminal rendering

Structsยง

SuggestionEngine
Generates ranked completion suggestions from a completion tree and cursor analysis.