LLM-first low-noise Build@1 guard for HarmonyOS and ArkTS repos.
Project description
hmos-precheck
Agent-first diff checks for HarmonyOS / ArkTS repositories.
This Python package is the primary published implementation of hmos-precheck.
It is designed for LLM or CI gate usage where stdout must stay compact and
self-explanatory.
Install
pip install hmos-precheck
Agent Protocol
Run:
hmos-precheck run --project-root <repo> --output-dir <out>
Interpret stdout JSON only:
{"ok":true}: stop.{"ok":false,"read_file":"..."}: read onlyread_file, fix only itsissues, then re-run once.- If the second run still fails, stop and report the latest
read_file.
warn findings do not block pass and are hidden from compact stdout.
Config Resolution
Resolution order:
--commandline-toolsDEVECO_SDK_HOME- project config
- user config
- auto-detect
Commands
hmos-precheck runhmos-precheck doctorhmos-precheck init
Validation
python3 -m pytest -q
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hmos_precheck-0.1.2.tar.gz.
File metadata
- Download URL: hmos_precheck-0.1.2.tar.gz
- Upload date:
- Size: 30.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c52483a73f0c8d479cbf02de0126ad6eb7d674cb24ebf8c280fed3e9b4713a7a
|
|
| MD5 |
3860a18bc2cea750ae8b962d2cad1b69
|
|
| BLAKE2b-256 |
7fccc4228fbd235a37877053c6082d861fd746ab72579ffb54145aed8437acea
|
File details
Details for the file hmos_precheck-0.1.2-py3-none-any.whl.
File metadata
- Download URL: hmos_precheck-0.1.2-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4bba7fdf2c58ccaf9a8e3ee2f8143b32e004e6f24e6fe7091d44d7a68db4c6f
|
|
| MD5 |
02cf6c3bab42b60147d091b190ab7e75
|
|
| BLAKE2b-256 |
a50e6a67883a7d9f475c4ea5f2fc29ce5645d15265935b7fb88b6eec3cedd2eb
|