From 1607c15ffe5d20aab65429ffeb37e466b2e549c6 Mon Sep 17 00:00:00 2001 From: "Juan V." <69489757+edujuan@users.noreply.github.com> Date: Wed, 13 Aug 2025 11:56:26 +0200 Subject: [PATCH 1/2] Markdown update Markdown update --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index ccd67af..e86d369 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # Universal Tool Calling Protocol (UTCP) +[![Follow Org](https://img.shields.io/github/followers/universal-tool-calling-protocol?label=Follow%20Org&logo=github)](https://github.com/universal-tool-calling-protocol) +[![PyPI Downloads](https://static.pepy.tech/badge/utcp)](https://pepy.tech/projects/utcp) +[![License](https://img.shields.io/github/license/universal-tool-calling-protocol/python-utcp)](https://github.com/universal-tool-calling-protocol/python-utcp/blob/main/LICENSE) +[![CDTM S23](https://img.shields.io/badge/CDTM-S23-0b84f3)](https://cdtm.com/) + + ## Introduction The Universal Tool Calling Protocol (UTCP) is a modern, flexible, and scalable standard for defining and interacting with tools across a wide variety of communication protocols. It is designed to be easy to use, interoperable, and extensible, making it a powerful choice for building and consuming tool-based services. From 28bda97f24f833e580c6bc2f0e7003cb17a4150d Mon Sep 17 00:00:00 2001 From: Razvan Radulescu <43811028+h3xxit@users.noreply.github.com> Date: Thu, 14 Aug 2025 17:46:58 +0200 Subject: [PATCH 2/2] Revert 0.2.2 as it breaks openapi conversion --- pyproject.toml | 2 +- src/utcp/client/openapi_converter.py | 1 - src/utcp/version.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1b595d5..9f1f5d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "utcp" -version = "0.2.2" +version = "0.2.3" authors = [ { name = "Razvan-Ion Radulescu" }, { name = "Andrei-Stefan Ghiurtu" }, diff --git a/src/utcp/client/openapi_converter.py b/src/utcp/client/openapi_converter.py index 07f875b..026231a 100644 --- a/src/utcp/client/openapi_converter.py +++ b/src/utcp/client/openapi_converter.py @@ -139,7 +139,6 @@ def _resolve_ref(self, ref: str) -> Dict[str, Any]: def _resolve_schema(self, schema: Dict[str, Any]) -> Dict[str, Any]: """Recursively resolves all $refs in a schema object.""" - return schema if isinstance(schema, dict): if "$ref" in schema: resolved_ref = self._resolve_ref(schema["$ref"]) diff --git a/src/utcp/version.py b/src/utcp/version.py index b6d8c53..a2f21ea 100644 --- a/src/utcp/version.py +++ b/src/utcp/version.py @@ -2,7 +2,7 @@ import tomli from pathlib import Path -__version__ = "0.2.2" +__version__ = "0.2.3" try: __version__ = version("utcp") except PackageNotFoundError: