Documentation
¶
Overview ¶
Package extensionmcp defines instance-scoped MCP overrides and sticky runtime names.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNameTaken = errors.New("MCP server runtime name is already taken") ErrNotFound = errors.New("extension MCP allocation not found") )
Functions ¶
This section is empty.
Types ¶
type Override ¶
Override contains the editable fields applied over a published declaration.
func (Override) Apply ¶
func (o Override) Apply(server compozyconfig.MCPServer) (compozyconfig.MCPServer, error)
Apply validates the actual transport and auth policy after layering over the declaration.
type Store ¶
type Store interface {
List(context.Context, string, string) ([]Record, error)
ListAll(context.Context) ([]Record, error)
// Reserve allocates a stable runtime name; occupied includes effective registry names and manual definitions.
Reserve(context.Context, Target, string, []string) (Record, error)
Update(context.Context, Target, Override) error
// DeleteTargets atomically releases the specified allocations.
DeleteTargets(context.Context, []Target) error
// DeleteWorkspace releases one installation across its profile projections atomically.
DeleteWorkspace(context.Context, string, string) error
// RetireWorkspace atomically releases allocations and records the completed lifecycle event.
RetireWorkspace(context.Context, string, string, store.EventSummary) error
// RetireTargets atomically releases exact allocations and records the completed scoped removal.
RetireTargets(context.Context, []Target, store.EventSummary) error
DeleteInstance(context.Context, string, string, string) error
}
Store serializes allocation with the persisted names in one scope cell.
Click to show internal directories.
Click to hide internal directories.