From 356295a249c508ce0b74d4487042d021d9933d46 Mon Sep 17 00:00:00 2001 From: caballeto Date: Wed, 6 May 2026 18:00:19 +0200 Subject: [PATCH] chore: bump devhelm SDK floor to >=0.7.2 The 0.6.x and 0.7.0/0.7.1 lines of devhelm don't know about the managedBy field that the API now returns on resource DTOs (status pages, monitors, etc.). Pydantic raises extra_forbidden on every read, breaking real-world MCP tool calls. Floor bumped to 0.7.2, which also brings the new monitor validation contract (frequencySeconds bounds, dynamic region whitelist) and keeps us aligned with the cli/sdk-js v0.7.2 release. Co-authored-by: Cursor --- pyproject.toml | 8 +++++--- uv.lock | 8 ++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f7a4662..445d5e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,9 +19,11 @@ classifiers = [ ] dependencies = [ - # Floor bumped to 0.5.0 for the forensic read resource (timeline / trace / - # evaluations / transitions / policy snapshot) used by tools/forensics.py. - "devhelm>=0.6.0", + # Floor bumped to 0.7.2: required for `managedBy` field on resource DTOs + # and for the new monitor validation contract (frequencySeconds bounds, + # dynamic region whitelist). Older devhelm versions raise Pydantic + # `extra_forbidden` errors when the API returns `managedBy`. + "devhelm>=0.7.2", "fastmcp>=2.0.0", ] diff --git a/uv.lock b/uv.lock index 25a3f98..f16f1f9 100644 --- a/uv.lock +++ b/uv.lock @@ -388,15 +388,15 @@ wheels = [ [[package]] name = "devhelm" -version = "0.7.0" +version = "0.7.2" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "httpx" }, { name = "pydantic", extra = ["email"] }, ] -sdist = { url = "https://files.pythonhosted.org/packages/e5/05/49eb176cf5d31061887bf0ee737bf19e620db31fdc4353f1393840bb51f9/devhelm-0.7.0.tar.gz", hash = "sha256:3d5d243a8ed4dc033d1a1d8d5aba56f391144b9e320e479174ee011c14ae6a4d", size = 243081, upload-time = "2026-05-06T10:58:20.194Z" } +sdist = { url = "https://files.pythonhosted.org/packages/90/5d/b853660ac8f5cfd3662f18b3608fb0c80ce8f7c246a0d66eae6806d0c212/devhelm-0.7.2.tar.gz", hash = "sha256:84e8218a42719799a2166290fcb84b7ed36c0386a41009c028a2c8abf2ff162c", size = 245192, upload-time = "2026-05-06T15:57:36.421Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/88/14/37d09524e3d116ff53149c6012d0fac89118acfe97a79cbfba2cd8252777/devhelm-0.7.0-py3-none-any.whl", hash = "sha256:efeeda6c34f5967913eb23c49b20b01062bfff43903aac60e3ab9b549ce0f8a2", size = 77529, upload-time = "2026-05-06T10:58:19.096Z" }, + { url = "https://files.pythonhosted.org/packages/2c/e6/74b538b202e4ff01293382af9b2951a1cc0ecdf9c5535b42f8ee919781bc/devhelm-0.7.2-py3-none-any.whl", hash = "sha256:63117a0f7722fa8aa6aa63395c4f08925299dfb9b1442bf62cd40a60f9188d94", size = 78306, upload-time = "2026-05-06T15:57:35.114Z" }, ] [[package]] @@ -419,7 +419,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "devhelm", specifier = ">=0.6.0" }, + { name = "devhelm", specifier = ">=0.7.2" }, { name = "fastmcp", specifier = ">=2.0.0" }, ]