mirror of
https://github.com/cline/cline.git
synced 2026-08-30 17:20:20 +08:00
b4fd4ee0cd
* feat(core): tunnel ProtoBus over Host Bridge * fix(core): harden Host Bridge stream lifecycle * fix(core): serialize concurrent chunked responses per request Streaming handlers deliver updates fire-and-forget, so two logical responses for one request_id can be in flight at once. Chunked payloads made forwarding non-atomic: each chunk write is an await, so concurrent forwards could interleave their chunk sequences and the receiver -- which reassembles purely by arrival order -- would splice two payloads into one. Route all forwards for a request through one promise chain; a failed write rejects every later forward so a torn payload is never followed by more chunks. Rename the lock manager's instanceAddress to instanceOwner: it holds an opaque per-spawn instance ID on the token path and a listener address only on the CLI-harness path. Delete the caller-less getInstanceByPort query that interpreted the owner as an address. Also: document message_json as a legal wire encoding for small payloads, close the gRPC client when startup fails, note the intentional discard of the cancellation confirmation, and add the proto's trailing newline. --------- Co-authored-by: Cline Agent <cline-agent@users.noreply.github.com>
The file is empty.