Skip to main content

Code Craft AI Interop - VMware Workstation

The codecraftai-interop-vmworkstation package is a typed, aspect-driven client for VMware Workstation that drives the local vmrun CLI tool. Unlike its sibling codecraftai-interop-vsphere, this package does not build on RestClientBase — Workstation has no REST API. Instead it uses ICommandRunner from codecraftai-foundations to dispatch vmrun argv tuples and parse the textual output.

The package replaces the legacy VMWorkstationAgent that lived under codecraftai-landscaping/services/vmware/.

Highlights

  • VMWorkstationClient — the top-level client that exposes lifecycle, snapshot, and guest-exec operations through a single ICommandRunner-driven dispatcher.

  • Lifecycle: start, stop, suspend, reset — each idempotent via state probes through vmrun list.

  • Snapshots: snapshot_create, snapshot_revert, snapshot_delete, snapshot_list (parses vmrun listSnapshots into SnapshotRecord).

  • Guest exec via VMware Tools: run_program_in_guest, copy_file_to_guest, copy_file_from_guest, tools_state.

  • Inventory: list_running parses vmrun list into a list of open VMX paths.

  • AspectsVMWorkstation extends the generic Aspects with dry_run, elevated, command_timeout, and raise_on_failure.

  • Same package works locally (via LocalCommandRunner) and remotely (via SSHCommandRunner) without any client-side changes.

Repository Structure

  • development/ - Runtime environment scripts.

  • repository-setup/ - Repository homing and setup scripts.

  • source/packages/ccai/interop/vmworkstation/ - Package source code.

  • source/testroots/testbase/ccai/tests/interop/vmworkstation/ - TestBase test roots.

  • specs/ - Requirements, design, and task documentation (Kiro-style).

  • userguide/ - Standards, conventions, and documentation.

Environment Setup

When working in a Codex container:

./development/setup-agent-container

For local development:

./repository-setup/rehome-repository
./development/setup-environment

Running Tests

Activate the virtual environment:

source .venv/bin/activate

Run the test suite:

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

Additional Resources

  • User guide entry point: userguide/userguide.rst

Metadata

Release files for codecraftai-interop-vmworkstation 1.2.1

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

Source distribution (sdist)

Source distribution for codecraftai-interop-vmworkstation 1.2.1
File Size Uploaded Provenance
codecraftai_interop_vmworkstation-1.2.1.tar.gz 16.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for codecraftai-interop-vmworkstation 1.2.1
File Interpreter ABI Platform
codecraftai_interop_vmworkstation-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 37.8 kB

Release files / codecraftai_interop_vmworkstation-1.2.1.tar.gz

Download URL codecraftai_interop_vmworkstation-1.2.1.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
78bb53e03acf043bae1cd0b21e3c744b60353f8edc4494a5c292c9957c7bbe61
BLAKE2b-256 checksum
How to use checksums
03cbb51f084e28bb37caa9824cd6f80a6fc498891fae558da4d4ba478f6c1aa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

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.

Transparency log

Release files / codecraftai_interop_vmworkstation-1.2.1-py3-none-any.whl

Download URL codecraftai_interop_vmworkstation-1.2.1-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88cb4adc4da019e31d6907b5ca314bb08102d94f247fc6da9e0c3dc9b6eee76f
BLAKE2b-256 checksum
How to use checksums
b314238b76ef12885f4cab1e9167e87f00f8417413f83ef89670b4025fae74d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

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.

Transparency log

Security for codecraftai-interop-vmworkstation 1.2.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codecraftai_interop_vmworkstation-1.2.1.tar.gz

PyPI Publish Attestation

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.

Transparency log

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.

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files Full provenance

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