From 271adc8504aad32075d75d06fd42023877a649ec Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sun, 9 Aug 2026 03:52:58 +0200 Subject: chore: initialize monorepo structure for MeshBay 3-package layout: meshbay-common (shared crypto/protocol), meshbay-hub (FastAPI server), meshbay-node (local daemon). Includes validated POC spikes 1-6 in poc/, architecture drafts v1/v2 in docs/, and CLAUDE.md project conventions. All cryptographic primitives extracted from POC into meshbay_common/crypto.py (GEK wrap/unwrap, chunk key derivation, keystore encryption, chunk signing). Co-Authored-By: Claude Sonnet 4.6 (1M context) --- packages/meshbay-common/pyproject.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packages/meshbay-common/pyproject.toml (limited to 'packages/meshbay-common/pyproject.toml') diff --git a/packages/meshbay-common/pyproject.toml b/packages/meshbay-common/pyproject.toml new file mode 100644 index 0000000..ac7ba08 --- /dev/null +++ b/packages/meshbay-common/pyproject.toml @@ -0,0 +1,25 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "meshbay-common" +version = "0.1.0" +description = "MeshBay shared cryptographic primitives and protocol types" +requires-python = ">=3.12" +dependencies = [ + "cryptography>=43.0", + "PyJWT>=2.9", + "blake3>=1.0", + "msgpack>=1.1", + "zstandard>=0.23", +] + +[project.optional-dependencies] +dev = ["pytest>=8", "pytest-asyncio>=0.24", "ruff>=0.6"] + +[tool.hatch.build.targets.wheel] +packages = ["src/meshbay_common"] + +# RPM/DEB: python3-meshbay-common +# Dependency of both meshbay-hub and meshbay-node -- cgit v1.2.3