Add Tharga.Communication.Mcp package#9
Merged
Merged
Conversation
New sibling package exposing Communication runtime data via MCP: - communication://clients — connected clients with metadata - communication://subscriptions — active subscriptions with counts - communication://handlers — registered post/send handlers Required additive APIs in Tharga.Communication: - ClientStateServiceBase.GetConnectionInfosAsync() returning IAsyncEnumerable<IClientConnectionInfo> - IHandlerTypeService.GetAll() returning IReadOnlyCollection<HandlerTypeInfo> GHA pipeline updated to pack both packages. 6 new tests, 115 total pass.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Released as v0.1.5 — https://github.com/Tharga/Communication/releases/tag/0.1.5 |
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.
Summary
New sibling package
Tharga.Communication.Mcpexposing Communication runtime data via MCP (Model Context Protocol) — fulfills the pending request from Neurolito and Eplicta Core.Resources (System scope, read-only)
communication://clientscommunication://subscriptionscommunication://handlersRequired additive APIs in Tharga.Communication
ClientStateServiceBase.GetConnectionInfosAsync()— non-generic enumeration of connected clientsIHandlerTypeService.GetAll()— enumeration of registered handlersBoth are additive — no breaking changes.
Skipped from original request
send messagetool — deferred for safety; LLM-driven sends could trigger unintended handlerslist dead letterstool — Communication is SignalR-only with no message persistencePipeline
GHA workflow updated to pack both packages on the same version (next: 0.1.5).
Usage
Test plan