-
Notifications
You must be signed in to change notification settings - Fork 38
1.0.0 #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UTCP 1.0.0 introduces a modular core with plugin-based communication protocols, new Pydantic data models, and a revamped client architecture. This improves extensibility, testability, and packaging while formalizing auth, variable loading, and post-processing. New Features - Core package with Tool, CallTemplate, UtcpManual, Auth, VariableLoader, and serializers. - Pluggable interfaces: CommunicationProtocol, ConcurrentToolRepository, ToolSearchStrategy, VariableSubstitutor, ToolPostProcessor. - Implementations: UtcpClient, InMemToolRepository (async RW lock), TagAndDescriptionWordMatchStrategy, filter/limit post-processors. - Protocol plugins: utcp-http (HTTP, SSE, streamable HTTP + OpenAPI converter), utcp-cli, utcp-mcp; gql/socket scaffolding. - Packaging split: core (utcp) and per-protocol packages (utcp-http, utcp-cli, utcp-mcp, etc.). - CI runs tests for core and plugins; coverage paths updated. - README: provider_type "http_stream" renamed to "streamable_http". Migration - Replace provider with call_template in manuals and code; use call_template_type (e.g., "http", "sse", "streamable_http", "cli", "mcp"). - Rename "http_stream" to "streamable_http" in configs. - Update imports to new modules (e.g., utcp_http., utcp_cli., utcp_mcp.*) and new interfaces. - Install protocol plugins alongside core (pip install -e core[dev] and desired utcp-xxx packages) to auto-register. (utcp, utcp-xxx for the ones from pip) - If using tag search, switch to TagAndDescriptionWordMatchStrategy. - Variables that are substituted in different call_templates are first namespaced with the name of the manual, with the _ duplicated. So a call template called tool_1_template from the manual manual_1 would be converted to manual__1_tool_1_template. (already part of 0.2.0)
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
40 issues found across 130 files
React with 👍 or 👎 to teach cubic. You can also tag @cubic-dev-ai to give feedback, ask questions, or re-run the review.
core/src/utcp/implementations/post_processors/filter_dict_post_processor.py
Show resolved
Hide resolved
plugins/communication_protocols/http/src/utcp_http/streamable_http_communication_protocol.py
Show resolved
Hide resolved
plugins/communication_protocols/socket/src/utcp_socket/tcp_communication_protocol.py
Show resolved
Hide resolved
plugins/communication_protocols/socket/src/utcp_socket/tcp_communication_protocol.py
Show resolved
Hide resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary by cubic
Release UTCP 1.0.0 with a modular core, plugin-based communication protocols, and a revamped client architecture to improve extensibility, packaging, and tests. This formalizes data models, auth, variable loading, and post-processing, and splits transports into installable plugins.
New Features
Migration