1pub mod accounting;
51pub mod actions;
52pub mod block_on;
53pub mod bounds;
54pub mod camera_check;
55pub mod check_image;
56pub mod clock;
57pub mod closing;
58pub mod config;
59pub mod context;
60pub mod decision;
61mod delay;
62pub mod detector;
63pub mod error;
64pub mod events;
65pub mod expiry;
66pub mod filament;
67pub mod gcode_index;
68pub mod inbox;
69pub mod kinds;
70pub mod listing;
71pub mod look;
72pub mod observation;
73pub mod planned;
74pub mod preflight;
75pub mod records;
76pub mod recovery;
77mod resumes;
78pub mod scoring;
79pub mod spools;
80pub mod store;
81pub mod supervisor;
82pub mod toolpath;
83pub mod turn_access;
84pub mod turn_lock;
85pub mod unobserved;
86pub mod upgrade;
87pub mod watch;
88
89pub use accounting::{ChargeRule, UNTRACKED_REASON, charge_rule};
90pub use actions::{ActionOutcome, reported_value};
91pub use block_on::block_on;
92pub use bounds::{Bounds, effective_bounds};
93pub use check_image::{
94 CheckImageRequest, CheckImages, FreshView, ImageUse, PlanPosition, ShownImage,
95};
96pub use clock::{Clock, SystemClock, plus_seconds, seconds_between, unix_seconds};
97pub use config::{
98 CoreConfig, DEFAULT_DETECTOR_RESUME_GRACE, DEFAULT_EXPIRY_POLL, DEFAULT_OBSERVATION_INTERVAL,
99 DEFAULT_RECENT_EVENTS, DEFAULT_SHEETS, MAX_LOOK_WAIT_S, PRINT_ID_PLACEHOLDER, PreflightMode,
100 SheetTable, SpoolPolicy,
101};
102pub use context::{
103 AgentContext, AgentEvent, AgentHeater, AgentPlannedChange, AgentPrint, AgentPrinter,
104 AgentSlicerPlan, PrintContext, Since, UNREAD_EVENT_KINDS, newer_than,
105};
106pub use decision::{DecisionInput, adjustment, changes_the_machine, decide, valid_from};
107pub use error::CoreError;
108pub use events::{PendingTurn, Received, TERMINAL_STATES};
109pub use expiry::{rejection_detail, restoring_action};
110pub use filament::{
111 DEFAULT_DIAMETER_MM, MATERIAL_DENSITIES, MarkClearing, buffer_g, density_for, grams_for_length,
112 marks_cleared_by,
113};
114pub use gcode_index::{
115 BedArea, GcodeIndex, IndexBuilder, PLANNED_CHANGE_REACH_BYTES, PlanFact, PlanMismatch,
116 PlannedChange, PlannedChangeKind, PlannedChanges, PlannedHeads, PlannedSegment, Rise, SetValue,
117 SlicerPlan,
118};
119pub use inbox::{AlertCameraFrame, Arrival, Inboxes};
120pub use kinds::{
121 ActionExecutedPayload, ActionRejectedPayload, ActionRequestedPayload, AgentAssessmentPayload,
122 AgentStopUnactedPayload, BedClearActor, BedClearAssertedPayload, CameraDegradedPayload,
123 CameraLookPayload, CameraRetryPayload, ChargePendedPayload, DetectorHealthChangedPayload,
124 DetectorStatus, FilamentChangePlannedReachedPayload, FilamentChangePlannedResumedPayload,
125 FilamentChangeSignalledPayload, FilamentConsumedPayload, FileTallyRebaselinedPayload,
126 FrameCause, GcodeIndexedPayload, HeatedTool, InterventionExpiredPayload,
127 OperatorAcknowledgementPayload, PeriodicObservationPayload, PlannedChangeTrigger,
128 PortFailurePayload, PortFailureSite, PositionFreshness, PreflightCheckedPayload,
129 PrintEndedPayload, PrintStartedPayload, PrintUntrackedPayload, PrinterConnectionChangedPayload,
130 PrinterResetPayload, RebaselineDisposition, RecoveryExecutedPayload, RecoveryRejectedPayload,
131 RecoveryRequestedPayload, SignalPosition, SpoolAdjustedPayload, SpoolCommandRejectedPayload,
132 SpoolLoadedPayload, SpoolRegisteredPayload, SpoolRetiredPayload, SpoolUnloadedPayload,
133 SpoolUnverifiedPayload, TIMELINE_KINDS, TurnCheckImage, UnaccountedPrintPayload,
134 UnattendedPrinterActivityPayload, agent_source, operator_source, system_source,
135};
136pub use look::{
137 CameraRetry, CheckLook, DEFAULT_CAMERA_RETRIES, DEFAULT_CAMERA_RETRY_BACKOFF, Look,
138};
139pub use observation::Observed;
140pub use preflight::ANALYSIS_POLL;
141pub use records::{
142 AcknowledgementDisposition, ActionId, ActionKind, ActionRecord, ActionRequest, Actor,
143 ActorClass, CAMERA_CHECKED_KIND, CameraCheckId, CameraCheckObjection, CameraCheckStanding,
144 CameraCheckVerdict, ChargeKey, ChargeMethod, ChargedFilament, ClearedMark, DoubtedSpool,
145 EffectiveBounds, ExecutionOutcome, FilePosition, ImageRecord, Intervention, InterventionId,
146 InterventionOutcome, JobManifest, LoadedSpool, ManifestNarrowing, MaterialComparison,
147 MaterialName, MaterialObjection, MaterialResult, PendingCharge, PendingTaken, PolicyDecision,
148 Preflight, PreflightNeed, PreflightObjection, PreflightSegment, PreflightSpool, PreflightTool,
149 PreflightToolResult, PreflightVerdict, PrintAction, PrintOutcome, PrintRecord, PrintSegmentKey,
150 RejectionReason, SafetyEnvelope, SegmentSpool, SheetComparison, SheetId, SheetObjection,
151 SheetResult, ShortSpool, SpoolCommand, SpoolField, SpoolId, SpoolLifecycle, SpoolRecord,
152 SpoolRefusalCause, SpoolTrust, UnanalysedSpool, UncomparedMaterial, UnverifiedMark,
153 UnverifiedMarks, UnverifiedReason, UnverifiedReasonKind,
154};
155pub use records::{
156 ActionAllowance, AwayFromBed, BedTemperature, DEFAULT_CLEARANCE_MARGIN_MM, DEFAULT_MAX_LIFT_MM,
157 LastPrint, PausedPrint, RecoveryAction, RecoveryActionKind, RecoveryConfig, RecoveryDecision,
158 RecoveryField, RecoveryGrants, RecoveryPosition, RecoveryRejection, RecoveryStatus,
159 RecoveryTemperatures, ToolTemperature, ZHome, ZTrust,
160};
161pub use scoring::{EVIDENCE_INTERVALS, ScoringProbe, ScoringRead, ScoringReading};
162pub use spools::SpoolCommandOutcome;
163pub use store::{
164 ActionStore, AuditPage, Charge, ChargeIdentity, ChargeRecord, DEFAULT_HISTORY_WINDOW,
165 EventDraft, EventStore, FilamentStore, FileTally, HistoryQuery, ImageDraft, ImageLookup,
166 ImageStore, MAX_HISTORY_LIMIT, NewSpool, Pend, PrintStore, SessionStore, SettleOutcome,
167 Settlement, SpoolChange, SpoolMutation, SpoolWrite, StoreError, Stores, TimelineQuery,
168 TimelineStore, resolve_history_limit,
169};
170pub use supervisor::{Issued, RecoveryIssued, Supervisor};
171pub use toolpath::{
172 ChangeFact, ExtrusionKind, LayerFacts, LayerProgress, LayerRef, LayerToolpath, ObjectOutline,
173 SpoolError, ToolpathSegment, spool_path,
174};
175pub use turn_access::{OpenedTurn, TurnAuthority};
176pub use turn_lock::{TurnGuard, TurnLocks};
177pub use watch::{
178 ActiveJob, DEFAULT_PRINTER_POLL, DEFAULT_UNATTENDED_WINDOW, DetectorHealth,
179 DetectorHealthStatus, DetectorProbe, HeadPosition, PRINTER_WATCH_KINDS, PUSH_CHANNEL_DOWN,
180 PositionProbe, ScoringVerdict, Watched,
181};