Expand description
GPROXY v3 protocol model.
The operation taxonomy (operation) and the OperationSpec registry
(spec, tables under specs/): every fact about an operation —
ingress paths, wire kinds, settle mode, affinity — declared once and
read by classification, channels, settlement, and console metadata.
Public request, response, and stream-event models live under their wire family and preserve unmodeled fields through each struct’s flattened rest.
Enums are exhaustive under the workspace-internal exhaustive feature
and #[non_exhaustive] otherwise; see Cargo.toml.
Re-exports§
pub use operation::ContentGenerationKind;pub use operation::Operation;pub use operation::OperationGroup;pub use operation::OperationKey;pub use operation::OperationKeyError;pub use operation::OperationKind;pub use operation::WireFamily;pub use spec::Affinity;pub use spec::Ingress;pub use spec::Matched;pub use spec::OperationSpec;pub use spec::PathPattern;pub use spec::Seg;pub use spec::SettleMode;pub use spec::StreamDetect;pub use spec::StreamFraming;pub use spec::default_framing;pub use spec::streaming_sibling;
Modules§
- aws
- claude
- Claude provider wire models.
- gemini
- Gemini wire model types.
- openai
- OpenAI wire models, organized by operation family.
- operation
- Operation taxonomy: what a request is, independent of any provider.
- spec
- The OperationSpec registry: every fact about an operation, declared once.
Macros§
- wire
- Construct an extensible wire struct with familiar named-field syntax.
Structs§
- Wire
Build Error - A required field was omitted while constructing an extensible wire struct.
Functions§
- match_
ingress - Linear scan over every operation’s ingress table. The table is small and static; a hot-path matcher can replace the scan later without the signature changing.
- match_
ingress_ for - Match with a preferred family when identical vendor paths overlap. The first canonical row remains the default for callers without wire-profile evidence; the engine derives a preference from protocol headers.
- match_
path - Match one declared path pattern and return its captures.
- registered_
operations - request_
target - Canonical upstream method/path for a native operation key. Targets derive from the ingress registry so transforms do not carry a second path table.