Expand description
Picker accept outcomes – typed effects the source
generator emits on <CR> for the host to apply.
Bounded enum, scoped to “what a picker can ask the host
to do.” Source generators emit one outcome; the host’s
translator (App::apply_picker_outcome) pattern-matches
into the appropriate Effect / App-state mutation.
Plugin sources (Phase 7) emit the same enum over WIT –
the variant set is the trait surface plugin authors
design against.
Enums§
- Fill
Target - YR.3: where a
PickerAcceptOutcome::FillCallerputs its text. - Open
Target - Issue #32 (2026-05-22): where a picker’s file-opening outcome should
land.
<CR>usesDefault;<C-s>/<C-v>/<C-t>override to a split / vsplit / new tab. - Picker
Accept Outcome - Result of
PickerSourceGenerator::accept. The host pattern-matches and runs the corresponding mutation. - Picker
Preview Outcome - MG.54: result of
PickerSourceGenerator::preview, the hook that fires as the SELECTION moves rather than on<CR>.