Metadata-Version: 2.4
Name: agent-device
Version: 4.0.0
Summary: CMDOP read-only version diagnostic for a separate Agent Device installation
License-Expression: MIT
Project-URL: Documentation, https://github.com/commandoperator/cmdop-sdk
Project-URL: Homepage, https://cmdop.ai
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# CMDOP version diagnostic for Agent Device

This Python distribution is maintained by CMDOP. It provides a read-only
version check for a separately installed Agent Device npm package on a machine
you are authorized to read. It is not the Agent Device CLI, MCP server or
device-control implementation. Obtain the original software and its installation
instructions from [Callstack's Agent Device project](https://github.com/callstack/agent-device).

## Check the remote installed version

Use Python 3.10+ and the official CMDOP Python SDK. The tested version is 3.6.1.
Install the SDK explicitly into your selected Python environment if needed:

```sh
python -m pip install cmdop==3.6.1
```

Configure `CMDOP_URL` and `CMDOP_TOKEN` in your own environment using the
[CMDOP developer quickstart](https://docs.cmdop.ai/start/quickstart-developer).
Grant read access to the target machine.

```sh
cmdop-agent-device-version MY_MACHINE /actual/agent-device/package.json
```

Provide the manifest from the original npm installation, not an arbitrary
file or a CMDOP wrapper's manifest. The command sends one bounded file-read
request, checks the npm name and repository metadata, then returns JSON with
the machine, package name and version. It does not control a device, inspect
an app's screen, verify executable authenticity or check a running service.
A mismatch or unreadable manifest produces a nonzero exit status.

## Upgrading the historical CMDOP launcher

Version 4.0.0 renames the previous CMDOP onboarding command to
`cmdop-agent-device` (help, local doctor, SDK setup preview and guides).
The unqualified `agent-device` entry point is no longer installed by this
distribution, to avoid conflicting with Callstack's executable. This is
an intentional breaking command-name change. Use the upstream project's
instructions for its CLI and `cmdop-agent-device-version` for the diagnostic.

There are no install hooks, bundled upstream code, bundled SDK, automatic
installations, service starts or usage analytics. Only an explicitly
requested version diagnostic connects using the SDK. This distribution
does not assert upstream endorsement.

CMDOP SDK documentation: https://github.com/commandoperator/cmdop-sdk
