Expand description
Versioned, bounded UI boundaries; deployment owns hosting and authorization.
Re-exports§
pub use appcore_capabilities as capabilities;pub use appcore_contracts as contracts;pub use appcore_core as core;
Modules§
- elements
- Function-based element construction, independent of platform rendering. Function-based native elements. Construction stays separate from page validation and behavior.
Structs§
- Command
Request - Existing Runtime API request contracts, unchanged by the UI bridge. Version 1 command request transported to the Runtime host.
- Query
Request - Existing Runtime API request contracts, unchanged by the UI bridge. Version 1 side-effect-free query request.
- UiCaller
- A caller identity constructed by the native/transport adapter, never decoded from UI JSON.
- UiCancellation
- Cooperative cancellation signal shared with a selected handler.
- UiEvent
V1 - One bounded ephemeral UI event, not an application durable outbox record.
- UiGrant
- Authenticated policy context produced by a deployment authorizer.
- UiLimits
- Budgets selected explicitly by the deployment.
- UiNative
Page - Immutable validated page. No rendering, process startup or authority is implicit.
- UiNative
Page V1 - Source-native page definition; use
UiNativePage::newbefore platform rendering. - UiPublish
Report - Delivery report with no event payload or subscriber identity.
- UiRectangle
- Fixed logical rectangle within the initial page viewport.
- UiReply
V1 - One correlated result of a UI V1 action.
- UiRequest
V1 - One versioned frame; host identity and credentials are never client fields.
- UiRuntime
Dispatch - An explicit dispatch integration with already composed Runtime registries.
- UiSurface
- One deployment-created UI surface. It never starts a process, listener or engine.
- UiSurface
Snapshot - Payload-free bounded operational snapshot.
- UiTopic
Binding - Explicit mapping from a notification topic to a declared read capability.
- UiWeb
Asset - Application-owned source asset. Display/script content is not included in Debug.
- UiWeb
Bundle - Application-built web document and its bounded immutable local resource set.
- UiWeb
Resource - Borrowed response from a validated bundle, without allocating another body.
Enums§
- UiAction
V1 - Versioned actions; the page cannot publish events or grant itself capabilities.
- UiConnection
State - Transport-link state, distinct from application or peer health.
- UiError
- Stable wire error codes; errors never contain credentials or application data.
- UiInvocation
V1 - Existing Runtime DTO selected for execution.
- UiNative
Node V1 - Initial native control vocabulary. Application behavior is bound by action identity.
- UiNative
Value - Typed presentation value, without implicit command dispatch or authorization. No Debug implementation exposes editable content.
- UiOutcome
V1 - An exclusive wire result; unknown codes or contradictory envelopes are not inferred.
- UiWeb
Media - Supported opaque resource kinds; media types are never inferred from an extension.
Constants§
- UI_
NATIVE_ PAGE_ V1 - Native page schema, independently versioned from manifests and bridge frames.
- UI_
PROTOCOL_ V1 - Explicit version of this UI wire family, independent of Peer RPC.
Traits§
- UiBackend
- Mandatory deployment authentication/authorization and owning handler integration.
Functions§
- decode_
ui_ request_ v1 - Decodes only UI V1 after checking the complete input budget.
Type Aliases§
- UiBackend
Future - Executor-independent owned/borrowed backend future.
- UiResult
- Result at a UI infrastructure boundary.