KetraTerm
API · DevelopmentAll versions

TerminalCommandReplay

data class TerminalCommandReplay(val identityDigest: String, val commandLine: String, val profileId: String? = null, val workingDirectoryUri: String? = null)

Positive, policy-approved plaintext command retained solely for replay suggestions.

Counters belong to the opaque TerminalCompletionRankingStats row identified by the same digest and context. Keeping this projection counter-free prevents replay eligibility from becoming a second mutable learning family.

Throws

if the digest is invalid, commandLine is blank, multiline, malformed UTF-16, oversized, or contains a disallowed ISO control.

Constructors

Link copied to clipboard
constructor(identityDigest: String, commandLine: String, profileId: String? = null, workingDirectoryUri: String? = null)

Properties

Link copied to clipboard

exact case- and whitespace-preserved command text shown to the user.

Link copied to clipboard

opaque identity of the matching ranking row.

Link copied to clipboard

optional host profile id associated with the command.

Link copied to clipboard

optional working-directory URI associated with the command.