Repository navigation
tools: read grpcproc/groups from the CLI, MCP and the web UI - #69
Merged
Merged
Conversation
A grpcproc/groups scope answers a groupsv1.Query through WithQuery, so the tools read it through the Inspector's Query, from whichever node they are pointed at, as that node's copy has the groups. - client: Groups lists a scope's groups by prefix, with each one's members on every node and on that one, and the scope's other nodes with their states; GroupMembers lists one group's members. A scope is found by its label, the one named default first; ErrNoGroups for a node that runs none, or none of the name asked. - grpcprocctl groups [group]: --node, --scope, --prefix, --limit, --json. - MCP: process_groups and group_members, both read-only. - Web UI: a Groups page, with a scope picker, a prefix filter, a group's members once picked, and the nodes of the scope by state; /api/groups and /api/group behind it. - Pins tools to grpcproc at d9436f8, which has the package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
The tools half of process groups, after #68. A grpcproc/groups scope answers a
groupsv1.QuerythroughWithQuery, so every tool reads it through the Inspector's existingQueryRPC, as the copy of whichever node it is pointed at has it.tools/client:Groupslists a scope's groups by prefix. Each group comes with its members on every node and on that node, alongside the scope's other nodes and their states.GroupMemberslists one group's members. A scope is found by its label, preferring the one nameddefault, andErrNoGroupsreports a node that runs none.grpcprocctl groups [group], with--node,--scope,--prefix,--limitand--json.process_groupsandgroup_members, both read-only./api/groupsand/api/group.tools/README.md, and the site's grpcprocctl, MCP and web UI guides.Testing
GOWORK=off), as CI runs it: vet, golangci-lint,go test -race ./...../client,./dot,./cli,./mcpserverand./webare at 100%.gofmt -l .is clean and the site type-checks.🤖 Generated with Claude Code