TerminalProfile

data class TerminalProfile(val id: String, val displayName: String, val command: List<String>, val environment: Map<String, String> = emptyMap(), val workingDirectory: Path? = null, val kind: TerminalProfileKind = TerminalProfileKind.classify(id, displayName, command))

Host-neutral terminal launch profile.

A profile describes the process contract for one terminal workspace tab. Product shells such as the standalone app and IntelliJ plugin may choose their own presentation, but should share this process vocabulary to avoid divergent shell discovery behavior.

Constructors

Link copied to clipboard
constructor(id: String, displayName: String, command: List<String>, environment: Map<String, String> = emptyMap(), workingDirectory: Path? = null, kind: TerminalProfileKind = TerminalProfileKind.classify(id, displayName, command))

Properties

Link copied to clipboard

command and arguments passed to the local PTY child process.

Link copied to clipboard

user-facing profile name.

Link copied to clipboard

environment entries layered on top of PTY defaults.

Link copied to clipboard
val id: String

stable profile identifier.

Link copied to clipboard

stable presentation category for host UI icons and menus.

Link copied to clipboard

initial process working directory, or null for the platform/user default.