Functions§
- append_
pending - apply_
context - Convert a resolved
crate::context::EffectiveContextinto the three optional fields that are stamped onto aStreamEventRequest. - drain_
pending - read_
new_ transcript_ lines - resolve_
session_ paths - Resolve the project root and session directory for a stream hook invocation.
- run_
stream - stamp_
agent - Stamp the agent identity onto a request’s
tool+protocol_version. Factored out so the mapping is testable without the network/FS-boundrun_stream.