Expand description
§Qualia Application Contract
Canonical portable command, context, session, and surface contracts for Storytold applications, Poet, and Webizen OS.
Aligned with POET Implementation Plan ST-E, ST-G, and ST-H.
Copyright (c) 2026 Timothy Charles Holborn. All rights reserved.
Re-exports§
pub use adapter::AppAdapter;pub use catalog::CommandCatalog;pub use delegation::DelegationLifecycle;pub use delegation::DelegationMode;pub use delegation::ResourceBudgets;pub use delegation::TaskDelegation;pub use descriptor::Availability;pub use descriptor::CommandDescriptor;pub use descriptor::TargetKind;pub use effects::CommandEffect;pub use effects::EffectSet;pub use effects::InteractionKind;pub use effects::UndoPolicy;pub use error::ContractError;pub use gesture::GestureCancel;pub use gesture::GestureCommit;pub use gesture::GestureSession;pub use gesture::GestureUpdate;pub use id::validate_finite_f64;pub use id::AppId;pub use id::CommandId;pub use id::DecimalU64;pub use id::JS_MAX_SAFE_INTEGER;pub use request::AppSessionDescriptor;pub use request::CommandReceipt;pub use request::CommandRequest;pub use request::CommandStatus;pub use request::JobDescriptor;pub use request::JobState;pub use request::SurfaceDescriptor;pub use target::CommandTarget;pub use target::InteractionContext;pub use target::PointerHit;pub use target::SelectionKind;pub use qap_package::*;
Modules§
- adapter
- Canonical AppAdapter trait defining the standardized engine boundary.
- catalog
- Deterministic command catalog with alias mapping and collision rejection.
- delegation
- descriptor
- Command descriptor definitions and availability status.
- effects
- Command effect classification, undo policy, and interaction semantics.
- error
- Error types for portable application contracts.
- gesture
- Interactive gesture lifecycle and streaming pointer sample DTOs.
- id
- Identifiers and safe numeric types for application contracts.
- qap_
package - Portable, Multi-Repo Qap Package & Host Lifecycle Contract.
- request
- Command requests, receipts, session descriptors, surfaces, and job DTOs.
- target
- Command target and interaction context definitions.
Functions§
- from_
cbor_ slice - Deserialize a contract data structure from CBOR bytes.
- from_
json_ str - Deserialize a contract data structure from JSON string.
- to_
cbor_ bytes - Serialize a contract data structure to canonical CBOR bytes.
- to_
json_ string - Serialize a contract data structure to deterministic, pretty or compact JSON.