openclaw 2.0.0__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,32 @@
1
+ # Secrets — never commit, even to a private repo.
2
+ # Git history is permanent, and private repos get shared or opened later.
3
+ .env
4
+ .env.*
5
+ !.env.example
6
+ *.pem
7
+ *.key
8
+
9
+ # Python build output
10
+ #
11
+ # NOTE: .archive/ contains __pycache__ files that were committed before this
12
+ # rule existed. They stay tracked despite the pattern below (gitignore does not
13
+ # apply to already-tracked files), so a blanket
14
+ # `find . -name __pycache__ -exec rm -rf {} +` will delete real history.
15
+ # Scope such cleanups to the directory you are working in.
16
+ dist/
17
+ build/
18
+ *.egg-info/
19
+ __pycache__/
20
+ *.py[cod]
21
+ .pytest_cache/
22
+ .venv/
23
+ venv/
24
+
25
+ # Node
26
+ node_modules/
27
+
28
+ # Generated imagery is committed deliberately (see @docs/assets.md), but the
29
+ # raw model output used for review is not.
30
+ *.raw.png
31
+
32
+ .DS_Store
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.5
1
+ Metadata-Version: 2.4
2
2
  Name: openclaw
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: Installer for the cmdop CLI — one binary that runs an AI agent on your machine
5
5
  Project-URL: Homepage, https://cmdop.com
6
6
  Project-URL: Documentation, https://docs.cmdop.com
@@ -30,8 +30,9 @@ Description-Content-Type: text/markdown
30
30
 
31
31
  # openclaw
32
32
 
33
- **Installer for the [cmdop](https://cmdop.com) CLI** — one binary that runs an
34
- AI agent on your machine and connects it to your fleet.
33
+ ![cmdop — messenger for AI agents](https://raw.githubusercontent.com/commandoperator/assets/b72b9ac6c796b958a038f684b323c7be49a49c9d/promo/social.webp)
34
+
35
+ **Installer for the [cmdop](https://cmdop.com) CLI** — one binary that runs an AI agent on your machine and connects it to your fleet.
35
36
 
36
37
  ```bash
37
38
  pip install openclaw
@@ -42,10 +43,23 @@ That's it. `openclaw` detects your platform, downloads the `cmdop` binary,
42
43
  verifies it against the published checksums, installs it, and hands over.
43
44
 
44
45
  > **Not affiliated with the OpenClaw project.** If you are looking for
45
- > [github.com/openclaw/openclaw](https://github.com/openclaw/openclaw), that is
46
- > a different project — this package will not install it. This package is
46
+ > [github.com/openclaw/openclaw](https://github.com/openclaw/openclaw), that
47
+ > is a different project — this package will not install it. This package is
47
48
  > published by CMDOP and installs the `cmdop` CLI.
48
49
 
50
+ CMDOP is a messenger for AI agents: you add one executable to a machine you already own, and that machine becomes something you can reach and talk to.
51
+
52
+ This package is the installer for that executable. It detects your platform, downloads the binary, verifies it against the published checksums, and hands over.
53
+
54
+ **How does CMDOP compare?**
55
+ [CMDOP Skills vs OpenClaw: two approaches to AI agent skills →](https://docs.cmdop.com/blog/cmdop-skills-vs-openclaw)
56
+
57
+ ## Why an installer package at all
58
+
59
+ The binary itself is not written in Python and is not distributed through PyPI. This package exists so that `pip install` is a valid way to get it on a machine that already has Python — which, on most servers, is the shortest path available.
60
+
61
+ It is a thin, auditable wrapper: standard library only, no telemetry, nothing executed until you run the command.
62
+
49
63
  ## What is cmdop
50
64
 
51
65
  One executable that is the agent, the relay, the local server and the web
@@ -122,8 +136,3 @@ binary for the current machine.
122
136
  ## License
123
137
 
124
138
  MIT
125
-
126
- ---
127
-
128
- *OpenClaw is a trademark of its respective owners. This package is not
129
- affiliated with, endorsed by, or connected to the OpenClaw project.*
@@ -1,7 +1,8 @@
1
1
  # openclaw
2
2
 
3
- **Installer for the [cmdop](https://cmdop.com) CLI** — one binary that runs an
4
- AI agent on your machine and connects it to your fleet.
3
+ ![cmdop — messenger for AI agents](https://raw.githubusercontent.com/commandoperator/assets/b72b9ac6c796b958a038f684b323c7be49a49c9d/promo/social.webp)
4
+
5
+ **Installer for the [cmdop](https://cmdop.com) CLI** — one binary that runs an AI agent on your machine and connects it to your fleet.
5
6
 
6
7
  ```bash
7
8
  pip install openclaw
@@ -12,10 +13,23 @@ That's it. `openclaw` detects your platform, downloads the `cmdop` binary,
12
13
  verifies it against the published checksums, installs it, and hands over.
13
14
 
14
15
  > **Not affiliated with the OpenClaw project.** If you are looking for
15
- > [github.com/openclaw/openclaw](https://github.com/openclaw/openclaw), that is
16
- > a different project — this package will not install it. This package is
16
+ > [github.com/openclaw/openclaw](https://github.com/openclaw/openclaw), that
17
+ > is a different project — this package will not install it. This package is
17
18
  > published by CMDOP and installs the `cmdop` CLI.
18
19
 
20
+ CMDOP is a messenger for AI agents: you add one executable to a machine you already own, and that machine becomes something you can reach and talk to.
21
+
22
+ This package is the installer for that executable. It detects your platform, downloads the binary, verifies it against the published checksums, and hands over.
23
+
24
+ **How does CMDOP compare?**
25
+ [CMDOP Skills vs OpenClaw: two approaches to AI agent skills →](https://docs.cmdop.com/blog/cmdop-skills-vs-openclaw)
26
+
27
+ ## Why an installer package at all
28
+
29
+ The binary itself is not written in Python and is not distributed through PyPI. This package exists so that `pip install` is a valid way to get it on a machine that already has Python — which, on most servers, is the shortest path available.
30
+
31
+ It is a thin, auditable wrapper: standard library only, no telemetry, nothing executed until you run the command.
32
+
19
33
  ## What is cmdop
20
34
 
21
35
  One executable that is the agent, the relay, the local server and the web
@@ -92,8 +106,3 @@ binary for the current machine.
92
106
  ## License
93
107
 
94
108
  MIT
95
-
96
- ---
97
-
98
- *OpenClaw is a trademark of its respective owners. This package is not
99
- affiliated with, endorsed by, or connected to the OpenClaw project.*
@@ -1,10 +1,17 @@
1
1
  [build-system]
2
- requires = ["hatchling"]
2
+ # Pinned, and for the same reason this whole fleet needed repairing: a bare
3
+ # `hatchling` floats. On 2026-08-13 it began emitting Metadata-Version 2.5,
4
+ # which `packaging` (and therefore twine's check) does not accept — every
5
+ # build failed validation with "'2.5' is not a valid metadata version".
6
+ #
7
+ # The build backend is a dependency like any other. Raise this deliberately,
8
+ # after checking twine can still read what it produces.
9
+ requires = ["hatchling>=1.21,<1.28"]
3
10
  build-backend = "hatchling.build"
4
11
 
5
12
  [project]
6
13
  name = "openclaw"
7
- version = "2.0.0"
14
+ version = "2.0.2"
8
15
  description = "Installer for the cmdop CLI — one binary that runs an AI agent on your machine"
9
16
  readme = "README.md"
10
17
  license = { text = "MIT" }
@@ -23,7 +23,7 @@ if TYPE_CHECKING: # pragma: no cover — for type checkers and IDE completion o
23
23
  )
24
24
  from .platform import Platform, UnsupportedPlatform, detect
25
25
 
26
- __version__ = "2.0.0"
26
+ __version__ = "2.0.2"
27
27
 
28
28
  __all__ = [
29
29
  "__version__",
@@ -12,6 +12,7 @@ the previous fleet — a published artifact whose contract had drifted.
12
12
  from __future__ import annotations
13
13
 
14
14
  import hashlib
15
+ import re
15
16
  import subprocess
16
17
  import sys
17
18
  import urllib.error
@@ -397,6 +398,48 @@ def test_every_advertised_url_resolves():
397
398
  assert not broken, f"advertised URLs not canonical or not reachable: {broken}"
398
399
 
399
400
 
401
+ def test_readme_images_are_pinned_to_a_commit():
402
+ """Image URLs must name a commit SHA, never a branch.
403
+
404
+ A published release is immutable, but a `main` URL is not: overwriting the
405
+ file in the assets repo would silently change what every already-published
406
+ version displays, including releases whose README no longer matches.
407
+ """
408
+ readme = (Path(__file__).parent.parent / "README.md").read_text("utf-8")
409
+ images = re.findall(r"!\[[^\]]*\]\((https?://[^)]+)\)", readme)
410
+ assert images, "README should carry at least one image"
411
+
412
+ bad = []
413
+ for url in images:
414
+ m = re.match(
415
+ r"https://raw\.githubusercontent\.com/[^/]+/[^/]+/([^/]+)/", url
416
+ )
417
+ if not m:
418
+ bad.append((url, "not a raw.githubusercontent.com URL"))
419
+ elif not re.fullmatch(r"[0-9a-f]{40}", m.group(1)):
420
+ bad.append((url, f"ref {m.group(1)!r} is not a 40-char commit SHA"))
421
+ assert not bad, f"unpinned image URLs: {bad}"
422
+
423
+
424
+ @pytest.mark.live
425
+ def test_readme_images_resolve():
426
+ """Every image in the README must actually load, as an image."""
427
+ import urllib.request
428
+
429
+ readme = (Path(__file__).parent.parent / "README.md").read_text("utf-8")
430
+ broken = []
431
+ for url in re.findall(r"!\[[^\]]*\]\((https?://[^)]+)\)", readme):
432
+ req = urllib.request.Request(url, headers={"User-Agent": "openclaw-tests"})
433
+ try:
434
+ with urllib.request.urlopen(req, timeout=20) as response:
435
+ ctype = response.headers.get("Content-Type", "")
436
+ if response.status != 200 or not ctype.startswith("image/"):
437
+ broken.append((url, response.status, ctype))
438
+ except Exception as exc: # noqa: BLE001
439
+ broken.append((url, repr(exc), ""))
440
+ assert not broken, f"broken README images: {broken}"
441
+
442
+
400
443
  @pytest.mark.live
401
444
  def test_published_manifest_covers_every_platform_we_claim():
402
445
  """Every asset name we can produce must exist in the real SHA256SUMS.
File without changes