mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
49a59d1073
Review point: exec is not platform vocabulary. "Platform" in this codebase means device family — apple/android/web — and a finished host command is about the HOST machine. Consumers confirm it: 20 platforms, 8 daemon, 3 utils, 3 tests. Platforms are the loudest consumer, not the owner, and placing the type by who-uses-it rather than what-it-is put it in the wrong domain. `ExecResult` moves to a new `@agent-device/contracts/host` subpath, and the R11 export ratchet records it (33 subpaths). Not the `@agent-device/host` package #1490 rejected: that rejection was about a package absorbing exec/version/project-root POLICY. This is the vocabulary half of the same split — the policy stays in src/utils/exec.ts, which is exactly why the rejection stands.