Skip to main content

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 only read_file, fix only its issues, 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:

  1. --commandline-tools
  2. DEVECO_SDK_HOME
  3. project config
  4. user config
  5. auto-detect

Commands

  • hmos-precheck run
  • hmos-precheck doctor
  • hmos-precheck init

Validation

python3 -m pytest -q

Metadata

Release files for hmos-precheck 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hmos-precheck 0.1.2
File Size Uploaded Provenance
hmos_precheck-0.1.2.tar.gz 30.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hmos-precheck 0.1.2
File Interpreter ABI Platform
hmos_precheck-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 55.3 kB

Release files / hmos_precheck-0.1.2.tar.gz

Download URL hmos_precheck-0.1.2.tar.gz
Size 30.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c52483a73f0c8d479cbf02de0126ad6eb7d674cb24ebf8c280fed3e9b4713a7a
BLAKE2b-256 checksum
How to use checksums
7fccc4228fbd235a37877053c6082d861fd746ab72579ffb54145aed8437acea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / hmos_precheck-0.1.2-py3-none-any.whl

Download URL hmos_precheck-0.1.2-py3-none-any.whl
Size 24.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4bba7fdf2c58ccaf9a8e3ee2f8143b32e004e6f24e6fe7091d44d7a68db4c6f
BLAKE2b-256 checksum
How to use checksums
a50e6a67883a7d9f475c4ea5f2fc29ce5645d15265935b7fb88b6eec3cedd2eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for hmos-precheck 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page