diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml index f8b787c..7184515 100644 --- a/.github/workflows/release-candidate.yml +++ b/.github/workflows/release-candidate.yml @@ -88,7 +88,7 @@ jobs: from pathlib import Path import subprocess, sys wheel = next(Path("dist").glob("*.whl")).resolve() - spec = f"contextmesh[mcp] @ {wheel.as_uri()}" + spec = f"contextmesh-graph[mcp] @ {wheel.as_uri()}" subprocess.check_call([sys.executable, "-m", "pip", "install", spec]) PY - name: Exercise installed MCP entry point diff --git a/README.md b/README.md index 8f20e4a..479f43b 100644 --- a/README.md +++ b/README.md @@ -846,7 +846,7 @@ the *only* one. ## MCP — controlled writes, narrow authority ```bash -pip install 'contextmesh[mcp]' +pip install 'contextmesh-graph[mcp]' contextmesh-mcp --demo # a graph rebuilt for this process contextmesh-mcp --session ./session # a graph that outlives it ``` diff --git a/contextmesh_mcp/server.py b/contextmesh_mcp/server.py index 29fe52f..09c80cb 100644 --- a/contextmesh_mcp/server.py +++ b/contextmesh_mcp/server.py @@ -1,6 +1,6 @@ """Context Mesh MCP server — stdio transport. - pip install 'contextmesh[mcp]' + pip install 'contextmesh-graph[mcp]' contextmesh-mcp --demo --rounds 8 --save ./session # write one contextmesh-mcp --session ./session # serve it @@ -31,7 +31,7 @@ except ImportError as exc: # pragma: no cover - depends on the optional extra raise SystemExit( "the MCP SDK is not installed. Install the extra:\n" - " pip install 'contextmesh[mcp]'\n" + " pip install 'contextmesh-graph[mcp]'\n" "It needs Python 3.10 or newer; contextmesh itself supports 3.9.\n" f"(import failed: {exc})" ) from exc diff --git a/docs/release-candidate-v0.1.0.md b/docs/release-candidate-v0.1.0.md index 6dc7f8f..db6b867 100644 --- a/docs/release-candidate-v0.1.0.md +++ b/docs/release-candidate-v0.1.0.md @@ -9,7 +9,11 @@ PR #36 is a release-engineering gate only. It does not authorize tagging or publ - [ ] Built wheel installs in clean Linux and Windows environments. - [ ] Core wheel install does not pull the MCP SDK. - [ ] `contextmesh --help` runs from the installed wheel. -- [ ] `contextmesh[mcp]` installs independently on Linux and Windows. +- [ ] `contextmesh-graph[mcp]` installs independently on Linux and Windows. +- [x] Distribution name `contextmesh-graph` checked against the real PyPI index (not + assumed from the import name): `contextmesh` is already an unrelated published + package, so the distribution is named `contextmesh-graph` while the import + namespace and console scripts stay `contextmesh` / `contextmesh-mcp`. - [ ] `contextmesh-mcp --help` and launcher imports run from the installed wheel. - [ ] Installed MCP launcher can create and restore a persistent session across fresh processes. - [x] Package/repository metadata points to `Deep-Sixed/Context-Mesh`. diff --git a/pyproject.toml b/pyproject.toml index 900b624..cbdb313 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] -name = "contextmesh" +name = "contextmesh-graph" version = "0.1.0" description = "A typed context graph for AI agents: provenance, assumptions, and answers that walk a path you can read." readme = "README.md" diff --git a/tests/test_mcp.py b/tests/test_mcp.py index e654c1b..839538a 100644 --- a/tests/test_mcp.py +++ b/tests/test_mcp.py @@ -476,7 +476,7 @@ def setUp(self): try: import mcp # noqa: F401 except ImportError: - self.skipTest("mcp SDK not installed (pip install 'contextmesh[mcp]')") + self.skipTest("mcp SDK not installed (pip install 'contextmesh-graph[mcp]')") @staticmethod def _registry_entry(name):