Interface: ImportMetadata
Makaio Framework / ai-adapters-core / ImportMetadata
Interface: ImportMetadata
Section titled “Interface: ImportMetadata”Defined in: ../../../adapters/core/src/log-importer/types.ts:87
Provenance metadata for imported events.
Added to event payloads under _import key to distinguish
imported events from live events and preserve original context.
Remarks
Section titled “Remarks”This metadata enables:
- Filtering imported vs live events in queries
- Accurate timeline reconstruction with original timestamps
- Debugging import issues by tracing back to source files
NormalizedEvent - Events containing this metadata
Properties
Section titled “Properties”originalTimestamp?
Section titled “originalTimestamp?”
optionaloriginalTimestamp?:string
Defined in: ../../../adapters/core/src/log-importer/types.ts:95
Original timestamp from the external tool’s log record (ISO 8601)
source
Section titled “source”source:
"external"
Defined in: ../../../adapters/core/src/log-importer/types.ts:89
Always ‘external’ to indicate imported (not live) event
streaming
Section titled “streaming”streaming:
false
Defined in: ../../../adapters/core/src/log-importer/types.ts:98
Always false for imported events (they are replayed, not streamed)
tool:
ExternalToolIdentifier
Defined in: ../../../adapters/core/src/log-importer/types.ts:92
Adapter name that produced the original log (e.g., ‘claude-code-cli’)