Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/DISTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions server.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/openadapt_agent/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
client in the same data boundary.
"""

__version__ = "2.0.0"
__version__ = "2.0.1"

__all__ = ["__version__"]
8 changes: 8 additions & 0 deletions tests/test_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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")
Expand Down
Loading