Documentation
¶
Overview ¶
Package runtime builds MCP resources and tools from the YAML DSL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// Logger is used for structured logging.
Logger *slog.Logger
// Audit records approval and tool events.
Audit audit.Logger
// Templates provides localized messages.
Templates templates.Renderer
// Cache stores idempotent responses.
Cache *idempotency.Cache
// CacheKeyStrategy selects how cache keys are computed.
CacheKeyStrategy string
// Lang selects approver language.
Lang string
// ApprovalWebhookURL is the callback URL for async approvers.
ApprovalWebhookURL string
// ExecutorWebhookURL is the callback URL for async executors.
ExecutorWebhookURL string
// HTTPApprovals stores pending async approvals.
HTTPApprovals *approverhttp.PendingStore
// HTTPExecutions stores pending async executions.
HTTPExecutions *executor.PendingStore
}
Builder constructs an MCP server from the DSL config.
Click to show internal directories.
Click to hide internal directories.