diff --git a/CHANGELOG.md b/CHANGELOG.md index 343c3cc..a6ed197 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,10 +16,11 @@ The package has the 17 tools of the hosted MCP server at API 1.20.3. It had 15. - The local guide has the sections `one_time` and `going_live`. - Tool descriptions and annotations follow the hosted server. `cancel_fax` is now marked idempotent. -The SDK dependency is `faxforagents>=0.2.3,<0.7`. It ended below 0.5 and shut out SDK 0.6.0. -The card tools need SDK 0.4.1. The quote options and the list filter need 0.4.0. -With an older SDK those calls answer `sdk_upgrade_required` and send no request. -The tests pass against SDK 0.2.3, 0.4.0, 0.5.0 and 0.6.0. The lock file uses 0.6.0. +The SDK dependency is `faxforagents>=0.11.2,<0.12`, so this release needs SDK 0.11.2 or a later 0.11 release. +0.1.0 accepted only SDK versions below 0.3, which shut out the current SDK. +SDK 0.11.2 has every call and argument the tools use. +If an older SDK is installed anyway, those calls answer `sdk_upgrade_required` and send no request. +The tests pass against SDK 0.11.2, and the lock file uses it. ## 0.1.0 diff --git a/README.md b/README.md index 6e79db6..4e4ece5 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ uv sync The distribution is `faxforagents-haystack`. The import is `faxforagents_haystack`. Python 3.10 or later and Haystack `>=2.31.1,<3` are required. -The SDK dependency is `faxforagents>=0.2.3,<0.7`. +The SDK dependency is `faxforagents>=0.11.2,<0.12`. ## Offline Agent example @@ -194,9 +194,8 @@ A Haystack `Tool` has no annotation field, so the shipped `tool-definitions.json `quote_fax` takes `quality`, `sender_name`, `from_number` and `delete_after_send`. `list_faxes` takes `idempotency_key` as a filter that finds the send made with that key. -Those arguments and the two card tools need a newer SDK than the lowest one this package accepts. -The quote options and the filter need `faxforagents` 0.4.0. The card tools need 0.4.1. -With an older SDK the tool answers `sdk_upgrade_required` and sends no request. +Every SDK version this package accepts has those arguments and the two card calls. +If an older SDK is installed anyway, the tool answers `sdk_upgrade_required` and sends no request. ## Card payment diff --git a/pyproject.toml b/pyproject.toml index 0b876e2..dccb576 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ ] dependencies = [ "haystack-ai>=2.31.1,<3", - "faxforagents>=0.2.3,<0.7", + "faxforagents>=0.11.2,<0.12", "pydantic>=2.7.4,<3", ] diff --git a/uv.lock b/uv.lock index a5652a4..a56b543 100644 --- a/uv.lock +++ b/uv.lock @@ -271,15 +271,15 @@ wheels = [ [[package]] name = "faxforagents" -version = "0.6.0" +version = "0.11.2" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "httpx" }, { name = "pydantic" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/51/f6/8c7d11b1a4a55533da12cb759ea7bc8b2e6dbfc24264c267d913c5b56cc5/faxforagents-0.6.0.tar.gz", hash = "sha256:aa673873ca5d03886a372c595a73c82440b724b80632f89ec9854a1b1e22b478", size = 127141, upload-time = "2026-11-13T11:38:24.289Z" } +sdist = { url = "https://files.pythonhosted.org/packages/03/d3/132ba9e2a5529d074dc1dbcf74339a74693c676cdf6a2e67900540314879/faxforagents-0.11.2.tar.gz", hash = "sha256:f84bd050e7bda6ce1944c7d862c42ed77b97f5044ff526f8e23111485c880055", size = 176811, upload-time = "2026-11-17T09:44:33.717Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/a4/89/3367729a2ad43e10977b0f657b76de9b7dcf4c722340810caa2c0efa4fa2/faxforagents-0.6.0-py3-none-any.whl", hash = "sha256:796eaa308ea2363e1c2b923e38dd51240eff8509a2d06c28ef0573e8fed06b30", size = 62628, upload-time = "2026-11-13T11:38:22.778Z" }, + { url = "https://files.pythonhosted.org/packages/d7/6d/46ea9e14211e9d4097a25d749eeb394de260f47ce2b2bc0451fe2cef8459/faxforagents-0.11.2-py3-none-any.whl", hash = "sha256:5b22d5e06b7a536bbd011560e820972fa0f768369281f999d7d87b7d24467970", size = 78955, upload-time = "2026-11-17T09:44:32.241Z" }, ] [[package]] @@ -303,7 +303,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "faxforagents", specifier = ">=0.2.3,<0.7" }, + { name = "faxforagents", specifier = ">=0.11.2,<0.12" }, { name = "haystack-ai", specifier = ">=2.31.1,<3" }, { name = "pydantic", specifier = ">=2.7.4,<3" }, ]