From f73b36e97f617361ce7b3d0a5f24a4310d74ffa1 Mon Sep 17 00:00:00 2001 From: abrichr Date: Thu, 23 Jul 2026 08:06:17 -0700 Subject: [PATCH] release: openadapt-agent v2.0.1 --- README.md | 2 ++ docs/DISTRIBUTION.md | 2 +- pyproject.toml | 2 +- server.json | 4 ++-- src/openadapt_agent/__init__.py | 2 +- tests/test_distribution.py | 8 ++++++++ 6 files changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 148524b..dd2078d 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ [![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](LICENSE) [![Python 3.10–3.12](https://img.shields.io/badge/python-3.10%E2%80%933.12-blue)](https://www.python.org/downloads/) +`mcp-name: io.github.OpenAdaptAI/openadapt-agent` + The local agent bridge for [`openadapt-flow`](https://github.com/OpenAdaptAI/openadapt-flow). It presents compiled, governed workflows to MCP clients and Agent Skills diff --git a/docs/DISTRIBUTION.md b/docs/DISTRIBUTION.md index fd7d874..94fd8ff 100644 --- a/docs/DISTRIBUTION.md +++ b/docs/DISTRIBUTION.md @@ -55,7 +55,7 @@ and [`../smithery.yaml`](../smithery.yaml). - **Name (reverse-DNS, official registry):** `io.github.OpenAdaptAI/openadapt-agent` - **Display name:** OpenAdapt Agent (openadapt-flow bridge) - **PyPI package:** `openadapt-agent` -- **Version:** `2.0.0` (Beta) +- **Version:** `2.0.1` (Beta) - **Description:** Local Beta bridge for governed openadapt-flow workflows and attended actions. - **Homepage / docs:** https://docs.openadapt.ai - **Repository:** https://github.com/OpenAdaptAI/openadapt-agent diff --git a/pyproject.toml b/pyproject.toml index 0929e05..ff4ec2f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "openadapt-agent" -version = "2.0.0" +version = "2.0.1" description = "Local agent bridge for governed OpenAdapt workflows, attended actions, MCP, and Agent Skills" readme = "README.md" # openadapt-flow pins <3.13 (rapidocr-onnxruntime); this package inherits it. diff --git a/server.json b/server.json index 65250df..c58f8cd 100644 --- a/server.json +++ b/server.json @@ -8,13 +8,13 @@ "url": "https://github.com/OpenAdaptAI/openadapt-agent", "source": "github" }, - "version": "2.0.0", + "version": "2.0.1", "packages": [ { "registryType": "pypi", "registryBaseUrl": "https://pypi.org", "identifier": "openadapt-agent", - "version": "2.0.0", + "version": "2.0.1", "runtimeHint": "uvx", "transport": { "type": "stdio" diff --git a/src/openadapt_agent/__init__.py b/src/openadapt_agent/__init__.py index 0b23e70..ffef8a0 100644 --- a/src/openadapt_agent/__init__.py +++ b/src/openadapt_agent/__init__.py @@ -19,6 +19,6 @@ client in the same data boundary. """ -__version__ = "2.0.0" +__version__ = "2.0.1" __all__ = ["__version__"] diff --git a/tests/test_distribution.py b/tests/test_distribution.py index 5cb7bb4..ce2f574 100644 --- a/tests/test_distribution.py +++ b/tests/test_distribution.py @@ -23,6 +23,7 @@ SMITHERY_YAML = REPO_ROOT / "smithery.yaml" LLMS_TXT = REPO_ROOT / "llms.txt" PYPROJECT = REPO_ROOT / "pyproject.toml" +README = REPO_ROOT / "README.md" RELEASE_WORKFLOW = REPO_ROOT / ".github" / "workflows" / "release.yml" REVERSE_DNS_NAME = "io.github.OpenAdaptAI/openadapt-agent" @@ -63,6 +64,13 @@ def test_version_is_consistent_everywhere() -> None: assert _pyproject_version() == __version__ +def test_pypi_readme_proves_mcp_namespace_ownership() -> None: + """The MCP registry validates the reverse-DNS name through PyPI metadata.""" + assert f"mcp-name: {REVERSE_DNS_NAME}" in README.read_text(encoding="utf-8") + pyproject = PYPROJECT.read_text(encoding="utf-8") + assert re.search(r'(?m)^readme\s*=\s*"README\.md"$', pyproject) + + def test_release_workflow_runs_the_complete_archive_boundary() -> None: """The exact artifacts handed to publishers get both release guards.""" workflow = RELEASE_WORKFLOW.read_text(encoding="utf-8")