pip install codecraftai-interop-hyperv Copy PIP instructions
The codecraftai-interop-hyperv package is the venue-specific client for Microsoft Hyper-V. The native automation surface for Hyper-V is PowerShell — the Hyper-V module cmdlets plus a small set of related modules — invoked remotely over WinRM. To stay aligned with the suite-wide “one transport per package” rule, this client speaks PowerShell exclusively, executed through an ICommandRunner from codecraftai-foundations; RestClientBase does not apply.
HypervClient — the venue client driving Hyper-V PowerShell cmdlets; host capability and node enumeration.
Switch and disk management — virtual switch management (External / Internal / Private) and virtual disk (VHDX) management.
VM lifecycle — New/Start/Stop/Restart/Shutdown/Remove, hardware configuration (processors, memory, generation, secure boot), and virtual NIC/disk attach-detach. (Template / sysprep-from-VHDX provisioning is out of scope here and lives in codecraftai-provisioning/venues/hyperv.)
Checkpoints — checkpoint (snapshot) management. (Long-running background-job task handles such as import/export are not yet implemented; the current operations are synchronous.)
Aspects-driven transport — transport is ICommandRunner.run(["pwsh", ...]) over WinRM or SSH; the injected ICommandRunner carries the transport authentication, while HypervWinrmCredential describes the WinRM endpoint and auth material for callers that configure the runner; every behaviour-bearing call accepts aspects: AspectsRunner = DEFAULT_HYPERV_ASPECTS. Bounded waits delegate to codecraftai-foundations.
repository-setup/ - Repository homing and setup scripts.
source/packages/ccai/interop/hyperv/ - Package source code.
source/testroots/testbase/ccai/tests/interop/hyperv/ - TestBase test roots.
specs/ - Requirements, design, and task documentation (Kiro-style).
userguide/ - Standards, conventions, and documentation.
./development/setup-agent-container For local development:
./repository-setup/rehome-repository ./development/setup-environment Running Tests source .venv/bin/activate testbase testing run --root ./source/testroots/testbase --includes=testbase.ccai.tests Standards and Conventions Naming conventions: userguide/10-02-naming-conventions.rst
Code organization: userguide/10-01-code-organization.rst
Coding standards: userguide/10-00-coding-standards.rst
User guide entry point: userguide/userguide.rst
All 2 files in this release have provenance metadata.
LicenseRef-CodeCraftAI-Source-Available View SPDX License List
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
All 2 files in this release have been uploaded with provenance metadata.
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.




