Skip to content

Conversation

@h3xxit
Copy link
Member

@h3xxit h3xxit commented Nov 30, 2025

Summary by cubic

Introduce allowed_communication_protocols to UTCP manuals to restrict which tool protocols are allowed, defaulting to only the manual’s own protocol. Enforcement happens at registration and call-time, with clear warnings/errors; packages updated to v1.1.0.

  • New Features

    • Add allowed_communication_protocols to CallTemplate and all protocol templates (http, sse, streamable_http, file, text, cli, direct-call, mcp).
    • UtcpClient filters disallowed tools during registration and blocks calls to disallowed protocols.
    • Auto-register CLI plugin on import.
    • Add tests covering filtering, default behavior, and multi-protocol allowlists.
  • Migration

    • If manuals use cross-protocol tools, set allowed_communication_protocols (e.g., ["http", "cli"]); otherwise those tools are filtered or calls will error.
    • Update dependencies to ^1.1.0.

Written for commit 069a277. Summary will update automatically on new commits.

@h3xxit h3xxit merged commit 1840f28 into main Nov 30, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 22 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant