Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New wraps an already-constructed broker in an MCP server. the broker is built by the command layer (see wiring.NewBroker); this adapter stays out of composition and only registers the transport. a schema-construction failure during registration is returned rather than registered half-built.
Types ¶
type AuditCoverageInput ¶ added in v0.1.5
type CollectReviewInput ¶
type CollectReviewOutput ¶
type CollectReviewOutput struct {
// Reviews is the list branch (collect with no review_id); Review is the
// single-review branch. each is omitted when its branch is not the one
// taken, so consumers can tell the branches apart by presence.
Reviews []broker.ReviewSummary `dd:",+omitempty"`
Review *broker.CollectReviewResponse
}
type ErrorOutput ¶
type StartReviewInput ¶
type StartReviewInput struct {
RepoPath string
ChangesetKind string
Paths []string
Rubric string
Qualities []string
QualitiesBlocking bool
}
StartReviewInput is the dd-bound input for start_review. no json tags: dd's snake-case default (or an explicit dd name) owns the field mapping, and the explicit input schema owns discovery and validation.
type StartReviewOutput ¶
type ToolErrorOutput ¶
type ToolErrorOutput struct {
Error ErrorOutput
}
ToolErrorOutput is the dd-bound error envelope returned in a tool result's structured content. its shape is {error: {code, message, details, at?}}.
Click to show internal directories.
Click to hide internal directories.