NewRegistry (registry.go)

agent-orchestrator · ui, ui-registry, capability-mapping, deterministic-iteration, frontend-handlers

Constructs a registry mapping UI capabilities to frontend handlers, sorted for deterministic iteration.

// Source: https://github.com/Untrivial-ai/agent-orchestrator | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package adapters

import (
	"fmt"
	"sort"
)

// Capability identifies a feature an adapter provides, such as running an
// agent or backing an issue tracker.
type Capability string

// Capabilities an adapter can advertise in its Manifest.
const (
	CapabilityAgent        Capability = "agent"
	CapabilityIssueTracker Capability = "issue-tracker"
)

// Manifest is an adapter's self-description: its id, human-facing name and
// description, version, and the capabilities it provides.
type Manifest struct {
	ID           string       `json:"id"`
	Name         string       `json:

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key