RAW SEL JSON DATA INJECTS NEOVIM BUFFER Drag across lines to select text SELECTION LOGIC Raw Vim Input: v_start : 4 v_end : 7 SWAP Normalized: start : 4 end : 7 DATA PAYLOAD { "start_line": 4, "end_line": 7 } TERMINAL $ CLI Command Generated: opencode --start 4 --end 7 > Executing script... Mocked Neovim buffer. Select text to trigger the pipeline. Lua logic normalizes direction. Ensures start_line <= end_line. Structured data payload sent to the background job. Final shell command executed in the environment.