#![forbid(unsafe_code)]
#![cfg_attr(test, allow(clippy::unwrap_used, clippy::expect_used, clippy::panic))]
#[cfg(doctest)]
#[doc = include_str!("../README.md")]
mod readme {}
pub mod case;
pub mod command;
pub mod effort;
pub mod error;
pub mod event;
pub mod flow;
pub mod hash;
pub mod ids;
pub mod interaction;
pub mod knowledge;
pub mod locale;
pub mod observe;
pub mod operation;
pub mod plan;
pub mod policy;
pub mod prompt;
pub mod read;
pub mod reduce;
pub mod replay;
pub mod response;
pub mod schema;
pub mod target;
pub mod turn;
pub mod understanding;
pub mod prelude {
pub use crate::case::{CaseKey, CaseRef, Versioned};
pub use crate::command::{
AtomicityScope, ClaimMode, CommandBatch, CommandEnvelope, CommandOrigin, CommandPolicy,
ConfirmationPolicy, IdempotencyKey, ResolutionChannel, RiskClass, origin_satisfies,
};
pub use crate::error::{
DomainRejection, ErasedCallError, ErasureError, ErrorClassification, ExecutionError,
HashError, InteractionSpecError, InvariantViolation, OrchestratorError, RejectionCode,
RevisionConflict, StoreError,
};
pub use crate::event::{
Commit, CommittedEvent, EventRedaction, EventRef, ExternalStatus, OperationalReceipt,
ReceiptEvent, ReceiptSeverity, RedactedEvent,
};
pub use crate::flow::{
ErasedExecutor, ErasedObligation, ErasedWorkflow, ErasedWorkflowView,
InteractionRequirement, ObligationId, PhaseOwnership, RegisteredWorkflow,
TypedWorkflowAdapter, ViewOf, WorkflowDefinition, WorkflowExecutor, WorkflowNotice,
WorkflowRegistry, WorkflowRegistryBuilder, WorkflowView, check_erased_view, check_view,
};
pub use crate::hash::Digest;
pub use crate::ids::{
AccountId, AttemptId, BatchId, BlockId, CaseId, CaseRevision, CommandId, ConversationId,
EventId, InteractionId, ModelKey, OperationKey, OptionId, ProviderKey, ReceiptId,
RedactionAuthority, TargetToken, TurnId, UserId, WorkflowKey, WorkflowVersion,
};
pub use crate::interaction::{
AcceptedResponse, ActionClass, FieldValue, FreeformPolicy, Interaction, InteractionKind,
InteractionOption, InteractionPayload, InteractionSpec, InteractionStatus, InteractionView,
ReviewDiffEntry, StoredInteractionAction, TextResolutionPolicy, validate_response,
};
pub use crate::locale::{Locale, LocalizedText};
pub use crate::operation::{ArgumentSpec, OperationCatalog, OperationSpec};
pub use crate::plan::limits::PlanLimits;
pub use crate::plan::{ActAvailability, ActMutability, AnswerBasis, TargetPolicy};
pub use crate::policy::{PolicyDecision, PolicySnapshot};
pub use crate::prompt::{
LoadedPrompt, PromptError, PromptName, PromptRef, PromptSelector, PromptSource,
PromptVersion,
};
pub use crate::reduce::{
AnswerTask, CommandRef, PlannedAct, PlannedActResult, ReductionContext, ReductionPlan,
TurnReducer,
};
pub use crate::response::{AssistantTurn, ResponseBlock, ServerNotice};
pub use crate::schema::schema_for;
pub use crate::target::{ResolvedAct, ResolvedActKind, TargetResolution, TargetTokenMap};
pub use crate::turn::{ActorContext, InteractionResponse, TurnInput, TurnLimits};
pub use crate::understanding::{
ActId, ActStatus, ActTarget, Understanding, UnderstoodAct, UnitId,
};
}