Skip to main content

Module export

Module export 

Source
Expand description

Versioned, bounded context inspection and export projections.

The export model is application-owned because artifact storage and redaction belong to the host. It contains context metadata and the selected model projection, never raw provider payloads or unbounded artifact bodies.

Structs§

ContextExport
Versioned export of one selected request and its context ledger.
ExportArtifact
Export-side artifact metadata and optional bounded body.
ExportBudget
Context budget metadata included in an export.
ExportContextItem
Content-free context item details shown by /context and export.
ExportProjectionMessage
One model-visible message included in an export.

Enums§

ContextExportFormat
Output format for a context export.

Constants§

CONTEXT_EXPORT_POLICY_VERSION
Version of the bounded export redaction/cap policy.
CONTEXT_EXPORT_SCHEMA_VERSION
Version of the user-facing context export contract.
EXPORT_FIELD_MAX_BYTES
Maximum bytes in one exported text field after redaction.
EXPORT_PROJECTION_MAX_BYTES
Maximum bytes in the rendered model projection.

Functions§

artifact_from_recovery
Convert an artifact recovery result to export metadata.
export_item
Return the inspection details used by both the table and export.