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