Skip to main content

Crate sylphx_apps_api_types

Crate sylphx_apps_api_types 

Source
Expand description

Sylphx Platform wire contract types.

Authority: api/proto/sylphx/app/v1/*.proto via Protobuf + Buf. These types are generated by build.rs (buffa + connectrpc-build) from that SSOT. Do not add hand-written request/response structs for the same payloads elsewhere.

Re-exports§

pub use verified_binding_context::VerifiedBindingContext;
pub use verified_binding_context::VerifiedBindingContextError;
pub use verified_binding_context::VERIFIED_BINDING_CONTEXT_REVISION;
pub use app::v1::*;

Modules§

app
Stable re-export for sylphx_apps_api_types::app::v1..
manifest_protojson
Explicit ProtoJSON helpers for public project manifests (ADR-3927). Explicit ProtoJSON conversion for public project manifests (ADR-3927).
proto
Generated buffa + connectrpc types for sylphx.app.v1.
protojson_wkt
Canonical ProtoJSON well-known types used by generated wire messages. Canonical well-known types for public wire (buffa-types).
verified_binding_context
Exact Rust request-extension type shared by Platform admission middleware and product Connect handlers. Do not define a local lookalike. The one request-extension type for a verified Platform project binding.

Structs§

AgentComputerValidationContext
Runtime evaluation context for freshness-sensitive public values.
AgentComputerValidationError
Aggregated validation failure for an Agent Computer public value.
AgentComputerValidationViolation
One descriptor-owned Protovalidate violation.

Enums§

AgentComputerValueError
Strict ProtoJSON decoding or descriptor validation failure.

Constants§

AGENT_COMPUTER_CONTRACT_IDENTITY_SHA256
SHA-256 identity binding the semantic revision, crate artifact, descriptors, and management-rooted module graph.
AGENT_COMPUTER_DESCRIPTOR_GRAPH_SHA256
SHA-256 identity of the allowlisted management-rooted descriptor graph.
AGENT_COMPUTER_DESCRIPTOR_ROOT_FILE
Canonical aggregate descriptor root for the public management wire.
AGENT_COMPUTER_DESCRIPTOR_ROOT_SHA256
SHA-256 identity of the canonical management root file descriptor.
AGENT_COMPUTER_DESCRIPTOR_SHA256
SHA-256 identity of the Buf descriptor that generated Agent Computer wire types.
AGENT_COMPUTER_VALIDATION_IDENTITY_SHA256
SHA-256 identity of the descriptor-derived Rust validation artifact.
AGENT_COMPUTER_VALIDATION_TARGETS
Fully-qualified public message types covered by local Rust validation.
CONTRACT_PACKAGE
Schema identity for publish/admission evidence.
CONTRACT_REVISION
Human-readable contract revision for this crate release.

Functions§

decode_and_validate_computer_lease_protojson
Strictly decode ProtoJSON and validate the resulting materialized ComputerLease.
decode_and_validate_computer_profile_protojson
Strictly decode ProtoJSON and validate the resulting ComputerProfile.
validate_computer_lease
Validate a materialized ComputerLease (required-field gate; buffa types).
validate_computer_profile
Validate a ComputerProfile (required-field gate; buffa types).