Expand description
localPty:attachToProcess - reconnect the workbench to an existing
Mountain-owned PTY after a window reload.
VS Code calls this when the workbench learns that a terminal ID from the
previous session is already live (via localPty:getTerminalLayoutInfo or
localPty:reviveTerminalProcesses). Instead of spawning a new PTY it
attaches to the one that Mountain kept running.
Wire shape: Arguments[0] = id (u64)
Returns { id, pid } on success or null when the id is unknown.