TerminalShellIntegrationCommandMetadata

data class TerminalShellIntegrationCommandMetadata(val recordId: Int, val lifecycle: Int, val commandText: String?, val workingDirectoryUri: String?, val exitCode: Int?, val startedAtEpochMillis: Long, val finishedAtEpochMillis: Long?)

Immutable metadata snapshot for one retained shell command.

Snapshots are intended for event-driven host features such as history persistence. Rendering continues to consume the primitive projection APIs.

Constructors

Link copied to clipboard
constructor(recordId: Int, lifecycle: Int, commandText: String?, workingDirectoryUri: String?, exitCode: Int?, startedAtEpochMillis: Long, finishedAtEpochMillis: Long?)

Properties

Link copied to clipboard

captured command text, or null when unavailable.

Link copied to clipboard

shell exit code, or null when unknown.

Link copied to clipboard

wall-clock completion time, or null while unfinished.

Link copied to clipboard
Link copied to clipboard

session-local command record identifier.

Link copied to clipboard

wall-clock command-start time.

Link copied to clipboard

OSC 7 directory captured at command start, or null.