appintents: expose PID and TTY on TerminalEntity

Closed
OC
6mo ago
+43-0

This is a re-submission of #10983. Vouched in #11287.

Add child process PID and TTY device name as queryable properties on
TerminalEntity for App Intents. This enables external applications and
Shortcuts to identify and filter terminals by their PID or TTY device.

Closes #10756

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com