agent-device
Version:
Open source device layer for AI coding agents: a CLI, MCP server, and typed Node.js API to control mobile, web, TV, and desktop apps on devices and simulators, locally or in the cloud.
1 lines • 487 B
JavaScript
import{n as e}from"./toolchain-probe.js";async function t(){let t=await e(`hdc`,[`-v`]);return t?{id:`toolchain`,status:`pass`,summary:`HarmonyOS toolchain: ${t}.`,evidence:{hdcVersion:t}}:{id:`toolchain`,status:`info`,summary:`HarmonyOS toolchain: hdc not found or version check failed.`,hint:`Install HarmonyOS Command Line Tools, then add sdk/default/openharmony/toolchains to PATH or set HDC_SDK_PATH.`,command:`hdc -v`,evidence:{hdcVersion:null}}}export{t as harmonyToolchainCheck};