Skip to main content

Module agent_media

Module agent_media 

Source
Expand description

Exposes optional Architect media extraction adapters and artifact readiness checks. Compatibility exports for Architect-owned media orchestration.

Structs§

MediaArtifactPrepareOptions
Local media artifact inputs that should be copied into the ignored repository artifact root.
MediaExtractRequest
JSON request accepted by pharos-media-helper extract.
MediaExtractResponse
JSON response returned by pharos-media-helper extract.

Enums§

MediaExtractMode
Media extraction modes accepted by the platform media helper.

Functions§

decode_barcode_image_with_platform_helper
Decodes barcodes or QR codes through the platform media helper.
dispatch_media_extract_request
Dispatches one validated request through the platform helper without an in-process engine.
extract_media_with_platform_helper
Extracts text from one media file by invoking the platform media helper when available.
extract_poster_with_platform_helper
Performs bounded poster OCR through the existing platform helper without widening its input roots.
is_audio_input
Detects audio attachments from their declared media type or original extension.
is_image_input
Detects image attachments from their declared media type or original extension.
local_media_artifact_report
Reports the local dependency and artifact state for Rust-native Architect media intelligence.
prepare_media_artifacts
Prepares local Architect media artifact manifests without downloading external assets.