mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-04 02:52:55 +08:00
- Updated the `append` function to include a flag for replacing closing requests, improving request handling. - Refactored the `run_sse_handler` and `bidi_handler` functions to utilize a new tracing mechanism, enhancing observability. - Introduced a new `trace_outcome` function to standardize tracing outcomes for requests. - Removed the `CursorTraceRecorder` in favor of a new `CursorTraceService` for better performance and non-blocking behavior. - Added tests to validate the new tracing functionality and ensure correct behavior during request processing.
14 lines
243 B
Rust
14 lines
243 B
Rust
//! Owns request-ID-scoped upstream ordering and downstream transport.
|
|
|
|
mod handle;
|
|
mod inbox;
|
|
mod lifecycle;
|
|
mod output;
|
|
mod registry;
|
|
|
|
pub use handle::*;
|
|
pub use inbox::*;
|
|
pub(crate) use lifecycle::*;
|
|
pub use output::*;
|
|
pub use registry::*;
|