Documentation
¶
Index ¶
- func NewCoordinatorAssigningTracker(base task.Tracker, coordinatorAssignee string) task.Tracker
- func NewServer(tracker task.Tracker) (*mcp.Server, error)
- func Run(ctx context.Context, tracker task.Tracker) error
- func RunHTTP(ctx context.Context, tracker task.Tracker, addr string) error
- type HTTPServerResult
- type ToolError
- type ToolOutcome
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCoordinatorAssigningTracker ¶
NewCoordinatorAssigningTracker wraps a tracker so newly created issues are automatically assigned to the configured coordinator assignee.
Types ¶
type HTTPServerResult ¶
type HTTPServerResult struct {
// Addr is the actual listen address (e.g., "127.0.0.1:54321").
Addr string
// Close shuts down the server.
Close func() error
}
HTTPServerResult contains the address and cleanup function for an embedded HTTP server.
func StartHTTPServer ¶
func StartHTTPServer(ctx context.Context, tracker task.Tracker, addr string) (*HTTPServerResult, error)
StartHTTPServer starts an HTTP server on the given address and returns immediately. Use ":0" to let the OS assign a random port. The returned HTTPServerResult contains the actual address and a Close function.
type ToolOutcome ¶
Click to show internal directories.
Click to hide internal directories.