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