Expand description
The adapter protocol client (spec/sync/README.md §5): spawn an adapter
command with args + render_config_flags(config) and the source’s env,
then speak newline-delimited JSON over its stdio — a handshake line, then
id-matched requests and responses with ids from 1, plus the unsolicited
event stream while a watch is live — one {"event":"ready"} once the
adapter’s feed is primed, then {"event":"batch","paths":[…]} lines —
surfaced as WatchEvents; an event outside a live watch is dropped
(§5 “Readiness”, §9). stdout is the protocol; stderr is inherited for logs.
Structs§
- External
Source - A connected adapter.