Documentation
¶
Overview ¶
Package agentregistryservice stores declared agent configurations — the "bots table" concept (see the mvp core/serverops/store/schema.sql `bots` table this generalizes) reborn as a polymorphic, kind-dispatched resource. Today the only implemented kind is "external_acp" (an agent the runtime spawns/drives as an external ACP peer via runtime/agenthost); "chain" is reserved in the schema and validation below for a future kind where a contenox task chain itself is addressable as an agent, but is not accepted here yet.
This package intentionally mirrors runtime/mcpserverservice's shape (validated CRUD over a runtimetypes store, no HTTP routes) so the two declared-resource registries stay easy to compare.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
Create(ctx context.Context, agent *runtimetypes.Agent) error
Get(ctx context.Context, id string) (*runtimetypes.Agent, error)
GetByName(ctx context.Context, name string) (*runtimetypes.Agent, error)
Update(ctx context.Context, agent *runtimetypes.Agent) error
Delete(ctx context.Context, id string) error
List(ctx context.Context, createdAtCursor *time.Time, limit int) ([]*runtimetypes.Agent, error)
}
Service exposes validated CRUD operations for persisted agent configurations.