Related to #3615 (stays open: hiding/restoring running sessions is separate work).
Merged by judgment after ~49 Codex findings; remaining P2 (Copy Tab name/icon snapshot when host shell is edited after launch) is a cosmetic edge case for a follow-up.
* Add group device type inheritance
* Sync package lock for CI
* Persist group device type setting
* Fix group device type inheritance controls
* Fix device type inheritance with shell transports
* Use resolved hosts for AI executor context
* Reduce device type inheritance diff scope
---------
Co-authored-by: mam15mon <mam15mon@gmail.com>