mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-16 21:51:13 +01:00
A plugin can send a request it has already rendered, such as the response template function. resolve_send_inputs snapshotted whatever request it was handed, so those versions held rendered values, secrets included, where the user had templates, and a restore would have written the literals back. snapshot_request_for_send now takes a request id and reads the stored row inside its transaction. A request with no id or no stored row gets no version, as a failed snapshot already did. gRPC and WebSocket connect go through the same method, so all three capture the same thing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>