refactor(linux): move Linux desktop automation into the managed platform plugin

Merged
TH
1d ago
+3575-2065

Summary

Moves Linux desktop automation and the AT-SPI helper from the packed core into the managed platform plugin @agent-device/linux (packages/platform-linux). Without the plugin, --platform linux answers plugin-not-installed with its install command; unscoped devices and doctor skip the family, and doctor --platform linux reports a failing toolchain row. Commands, process launches and environment reads go through the PlatformHost from setup; atspi-bridge.ts still reads process.platform and the filesystem directly (#4878). Part of #4676. Stacked on #4857. The package stays private (#4866).

Value

metricbasehead
core files importing the Linux package40
AT-SPI helper files in the packed core10

Validation

Head rebased onto #4857 at de014dd8fb (on 0.22 62f24be4fd). Local: build, typecheck, lint, layering, command-docs, daemon-wire-compat, full vitest --project unit-core (20937 passed), check:package with the packed-plugin smoke. Live evidence is the hosted Smoke Tests (linux) lane (X11), which installs the plugin from a packed tarball. Not run: Wayland tools, registry install. Review follow-ups: #4878.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.