v0.15.0 - retry in mcp, and upgrade sse to native fastapi#3
Merged
nirvanatikku merged 2 commits intomainfrom Mar 4, 2026
Merged
v0.15.0 - retry in mcp, and upgrade sse to native fastapi#3nirvanatikku merged 2 commits intomainfrom
nirvanatikku merged 2 commits intomainfrom
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
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.
v0.15.0 — Native FastAPI SSE & RFC-0010 Retry MCP Tools
Added
openintent_set_retry_policy(admin) — Configure retry policy for an intent (strategy, max attempts, backoff delays, fallback agent)openintent_get_retry_policy(read) — Retrieve the current retry policy for an intentopenintent_record_failure(write) — Record a failure event with RFC-0010 fields (agent_id, attempt_number, error_code, error_message, retry_scheduled_at)openintent_get_failures(read) — Query failure history for an intentbuild_retry_failure_tools()— New helper in the Python MCP bridge (openintent.mcp) that registers all 4 retry/failure tools forMCPToolExporter, with ISO 8601 datetime conversion and proper delegation to the existing sync/async client methodsChanged
sse-starlettethird-party dependency with FastAPI's built-inEventSourceResponseandServerSentEvent(available since FastAPI 0.135.0). All four SSE subscription endpoints now use native async generator pattern withServerSentEventobjects. Keep-alive pings use SSE comment format per spec.Removed
sse-starlettedependency — No longer required. Server extras now requirefastapi>=0.135.0.Updated
>=0.104.0to>=0.135.0in server extrasFiles Changed
MCP Server (TypeScript)
reference-implementation/mcp-server/src/tools.ts— 4 tool definitions + 4 dispatch handlersreference-implementation/mcp-server/src/client.ts— 4 new HTTP client methodsreference-implementation/mcp-server/src/security.ts— 4 new RBAC tier entriesreference-implementation/mcp-server/README.md— Updated RBAC table and tool categoriesPython SDK
reference-implementation/openintent/mcp.py—build_retry_failure_tools()functionProtocol Server (already implemented)
server/routes.ts— Endpoints already existed (PUT/GET retry-policy, POST/GET failures)shared/schema.ts— Schema already existed (intentRetryPolicies, intentFailures)server/storage.ts— Storage methods already existedDocumentation
reference-implementation/CHANGELOG.mdreference-implementation/docs/changelog.mdreference-implementation/docs/guide/mcp.mdreference-implementation/docs/guide/cost-retry.mdreference-implementation/docs/overrides/home.htmlreference-implementation/mkdocs.ymlclient/src/pages/changelog.tsxclient/src/pages/docs.tsx